PR target/26397
[official-gcc.git] / Makefile.in
blob9b7f632ee95351dfc605077fb6232ce774a4d771
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # First, test for a proper version of make, but only where one is required.
25 @if gcc
26 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
27 $(error GNU make version 3.80 or newer is required.)
28 endif
29 @endif gcc
31 # -------------------------------
32 # Standard Autoconf-set variables
33 # -------------------------------
34 VPATH=@srcdir@
36 build_alias=@build_noncanonical@
37 build_vendor=@build_vendor@
38 build_os=@build_os@
39 build=@build@
40 host_alias=@host_noncanonical@
41 host_vendor=@host_vendor@
42 host_os=@host_os@
43 host=@host@
44 target_alias=@target_noncanonical@
45 target_vendor=@target_vendor@
46 target_os=@target_os@
47 target=@target@
49 program_transform_name = @program_transform_name@
51 prefix = @prefix@
52 exec_prefix = @exec_prefix@
54 srcdir = @srcdir@
56 bindir = @bindir@
57 sbindir = @sbindir@
58 libexecdir = @libexecdir@
59 datadir = @datadir@
60 sysconfdir = @sysconfdir@
61 sharedstatedir = @sharedstatedir@
62 localstatedir = @localstatedir@
63 libdir = @libdir@
64 includedir = @includedir@
65 oldincludedir = @oldincludedir@
66 infodir = @infodir@
67 datarootdir = @datarootdir@
68 docdir = @docdir@
69 pdfdir = @pdfdir@
70 htmldir = @htmldir@
71 mandir = @mandir@
72 man1dir = $(mandir)/man1
73 man2dir = $(mandir)/man2
74 man3dir = $(mandir)/man3
75 man4dir = $(mandir)/man4
76 man5dir = $(mandir)/man5
77 man6dir = $(mandir)/man6
78 man7dir = $(mandir)/man7
79 man8dir = $(mandir)/man8
80 man9dir = $(mandir)/man9
82 INSTALL = @INSTALL@
83 INSTALL_PROGRAM = @INSTALL_PROGRAM@
84 INSTALL_SCRIPT = @INSTALL_SCRIPT@
85 INSTALL_DATA = @INSTALL_DATA@
86 LN = @LN@
87 LN_S = @LN_S@
88 MAINT = @MAINT@
89 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
90 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
92 # -------------------------------------------------
93 # Miscellaneous non-standard autoconf-set variables
94 # -------------------------------------------------
96 # The gcc driver likes to know the arguments it was configured with.
97 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
99 tooldir = @tooldir@
100 build_tooldir = @build_tooldir@
102 GDB_NLM_DEPS =
104 # This is the name of the environment variable used for the path to
105 # the libraries.
106 RPATH_ENVVAR = @RPATH_ENVVAR@
108 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
109 # is used instead of the directory itself to avoid including built
110 # executables in PATH.
111 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
113 # Build programs are put under this directory.
114 BUILD_SUBDIR = @build_subdir@
115 # This is set by the configure script to the arguments to use when configuring
116 # directories built for the build system.
117 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
119 # This is the list of variables to export in the environment when
120 # configuring any subdirectory. It must also be exported whenever
121 # recursing into a build directory in case that directory's Makefile
122 # re-runs configure.
123 BASE_EXPORTS = \
124 FLEX="$(FLEX)"; export FLEX; \
125 LEX="$(LEX)"; export LEX; \
126 BISON="$(BISON)"; export BISON; \
127 YACC="$(YACC)"; export YACC; \
128 M4="$(M4)"; export M4; \
129 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
131 # This is the list of variables to export in the environment when
132 # configuring subdirectories for the build system.
133 BUILD_EXPORTS = \
134 $(BASE_EXPORTS) \
135 AR="$(AR_FOR_BUILD)"; export AR; \
136 AS="$(AS_FOR_BUILD)"; export AS; \
137 CC="$(CC_FOR_BUILD)"; export CC; \
138 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
139 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
140 CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
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_PASS.
155 EXTRA_BUILD_FLAGS = \
156 CFLAGS="$(CFLAGS_FOR_BUILD)" \
157 CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
158 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
160 # This is the list of directories to built for the host system.
161 SUBDIRS = @configdirs@
162 # This is set by the configure script to the arguments to use when configuring
163 # directories built for the host system.
164 HOST_CONFIGARGS = @host_configargs@
165 # Host programs are put under this directory, which is . except if building
166 # with srcdir=..
167 HOST_SUBDIR = @host_subdir@
168 # This is the list of variables to export in the environment when
169 # configuring subdirectories for the host system. We need to pass
170 # some to the GCC configure because of its hybrid host/target nature.
171 HOST_EXPORTS = \
172 $(BASE_EXPORTS) \
173 CC="$(CC)"; export CC; \
174 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
175 CFLAGS="$(CFLAGS)"; export CFLAGS; \
176 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
177 CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \
178 CXX="$(CXX)"; export CXX; \
179 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
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/"; export CC; \
216 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
217 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
218 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
219 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
220 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
222 # Target libraries are put under this directory:
223 TARGET_SUBDIR = @target_subdir@
224 # This is set by the configure script to the arguments to use when configuring
225 # directories built for the target.
226 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
227 # This is the list of variables to export in the environment when
228 # configuring subdirectories for the host system.
229 BASE_TARGET_EXPORTS = \
230 $(BASE_EXPORTS) \
231 AR="$(AR_FOR_TARGET)"; export AR; \
232 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
233 CC="$(CC_FOR_TARGET)"; export CC; \
234 CFLAGS="$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
235 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
236 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
237 CXXFLAGS="$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
238 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
239 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
240 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
241 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
242 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
243 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
244 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
245 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
246 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
247 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
248 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
249 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
250 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
252 RAW_CXX_TARGET_EXPORTS = \
253 $(BASE_TARGET_EXPORTS) \
254 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
255 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
257 NORMAL_TARGET_EXPORTS = \
258 $(BASE_TARGET_EXPORTS) \
259 CXX="$(CXX_FOR_TARGET)"; export CXX;
261 # Where to find GMP
262 HOST_GMPLIBS = @gmplibs@
263 HOST_GMPINC = @gmpinc@
265 # Where to find PPL
266 HOST_PPLLIBS = @ppllibs@
267 HOST_PPLINC = @pplinc@
269 # Where to find CLOOG
270 HOST_CLOOGLIBS = @clooglibs@
271 HOST_CLOOGINC = @clooginc@
273 # ----------------------------------------------
274 # Programs producing files for the BUILD machine
275 # ----------------------------------------------
277 SHELL = @config_shell@
279 # pwd command to use. Allow user to override default by setting PWDCMD in
280 # the environment to account for automounters. The make variable must not
281 # be called PWDCMD, otherwise the value set here is passed to make
282 # subprocesses and overrides the setting from the user's environment.
283 # Don't use PWD since it is a common shell environment variable and we
284 # don't want to corrupt it.
285 PWD_COMMAND = $${PWDCMD-pwd}
287 # compilers to use to create programs which must be run in the build
288 # environment.
289 AR_FOR_BUILD = @AR_FOR_BUILD@
290 AS_FOR_BUILD = @AS_FOR_BUILD@
291 CC_FOR_BUILD = @CC_FOR_BUILD@
292 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
293 CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
294 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
295 CXX_FOR_BUILD = @CXX_FOR_BUILD@
296 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
297 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
298 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
299 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
300 LD_FOR_BUILD = @LD_FOR_BUILD@
301 NM_FOR_BUILD = @NM_FOR_BUILD@
302 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
303 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
304 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
306 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
307 # here so that they can be overridden by Makefile fragments.
308 BUILD_PREFIX = @BUILD_PREFIX@
309 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
311 # Flags to pass to stage2 and later makes. They are defined
312 # here so that they can be overridden by Makefile fragments.
313 BOOT_CFLAGS= -g -O2
314 BOOT_LDFLAGS=
315 BOOT_ADAFLAGS=-gnatpg -gnata
317 BISON = @BISON@
318 YACC = @YACC@
319 FLEX = @FLEX@
320 LEX = @LEX@
321 M4 = @M4@
322 MAKEINFO = @MAKEINFO@
323 EXPECT = @EXPECT@
324 RUNTEST = @RUNTEST@
326 # This just becomes part of the MAKEINFO definition passed down to
327 # sub-makes. It lets flags be given on the command line while still
328 # using the makeinfo from the object tree.
329 # (Default to avoid splitting info files by setting the threshold high.)
330 MAKEINFOFLAGS = --split-size=5000000
332 # ---------------------------------------------
333 # Programs producing files for the HOST machine
334 # ---------------------------------------------
336 AS = @AS@
337 AR = @AR@
338 AR_FLAGS = rc
339 CC = @CC@
340 CXX = @CXX@
341 DLLTOOL = @DLLTOOL@
342 LD = @LD@
343 LIPO = @LIPO@
344 NM = @NM@
345 OBJDUMP = @OBJDUMP@
346 RANLIB = @RANLIB@
347 STRIP = @STRIP@
348 WINDRES = @WINDRES@
349 WINDMC = @WINDMC@
351 GNATBIND = @GNATBIND@
352 GNATMAKE = @GNATMAKE@
354 CFLAGS = @CFLAGS@
355 CPPFLAGS = @CPPFLAGS@
356 LDFLAGS = @LDFLAGS@
357 LIBCFLAGS = $(CFLAGS)
358 CXXFLAGS = @CXXFLAGS@
359 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
361 # Only build the C compiler for stage1, because that is the only one that
362 # we can guarantee will build with the native compiler, and also it is the
363 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
364 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
365 # overrideable (for a bootstrap build stage1 also builds gcc.info).
367 STAGE1_CHECKING=@stage1_checking@
368 STAGE1_LANGUAGES=@stage1_languages@
370 STAGE1_CFLAGS=@stage1_cflags@
371 STAGE2_CFLAGS=$(BOOT_CFLAGS)
372 STAGE3_CFLAGS=$(BOOT_CFLAGS)
373 STAGE4_CFLAGS=$(BOOT_CFLAGS)
375 STAGE1_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
376 STAGE2_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
377 STAGE3_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
378 STAGE4_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
380 do-compare = @do_compare@
381 do-compare3 = $(do-compare)
382 do-compare-debug = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2
384 # -----------------------------------------------
385 # Programs producing files for the TARGET machine
386 # -----------------------------------------------
388 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
390 AR_FOR_TARGET=@AR_FOR_TARGET@
391 AS_FOR_TARGET=@AS_FOR_TARGET@
392 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
394 # If GCC_FOR_TARGET is not overriden on the command line, then this
395 # variable is passed down to the gcc Makefile, where it is used to
396 # build libgcc2.a. We define it here so that it can itself be
397 # overridden on the command line.
398 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
399 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
400 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
401 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
402 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
403 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
404 LD_FOR_TARGET=@LD_FOR_TARGET@
406 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
407 NM_FOR_TARGET=@NM_FOR_TARGET@
408 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
409 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
410 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
411 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
412 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
414 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
415 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
416 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
418 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
419 CPPFLAGS_FOR_TARGET = @CPPFLAGS_FOR_TARGET@
420 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
421 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
422 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
424 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
425 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
426 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
428 # ------------------------------------
429 # Miscellaneous targets and flag lists
430 # ------------------------------------
432 # The first rule in the file had better be this one. Don't put any above it.
433 # This lives here to allow makefile fragments to contain dependencies.
434 all:
436 #### host and target specific makefile fragments come in here.
437 @target_makefile_frag@
438 @alphaieee_frag@
439 @ospace_frag@
440 @host_makefile_frag@
443 # This is the list of directories that may be needed in RPATH_ENVVAR
444 # so that prorgams built for the target machine work.
445 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
447 @if target-libstdc++-v3
448 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
449 @endif target-libstdc++-v3
451 @if target-libmudflap
452 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
453 @endif target-libmudflap
455 @if target-libssp
456 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
457 @endif target-libssp
459 @if target-libgomp
460 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
461 @endif target-libgomp
465 # This is the list of directories that may be needed in RPATH_ENVVAR
466 # so that programs built for the host machine work.
467 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)
469 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
470 @if gcc
471 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
472 @endif gcc
475 @if bfd
476 HOST_LIB_PATH_bfd = \
477 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
478 @endif bfd
480 @if opcodes
481 HOST_LIB_PATH_opcodes = \
482 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
483 @endif opcodes
485 @if gmp
486 HOST_LIB_PATH_gmp = \
487 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
488 @endif gmp
490 @if mpfr
491 HOST_LIB_PATH_mpfr = \
492 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
493 @endif mpfr
495 @if ppl
496 HOST_LIB_PATH_ppl = \
497 $$r/$(HOST_SUBDIR)/ppl/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/.libs:
498 @endif ppl
500 @if cloog
501 HOST_LIB_PATH_cloog = \
502 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
503 @endif cloog
506 # Flags to pass down to all sub-makes.
507 BASE_FLAGS_TO_PASS = \
508 "DESTDIR=$(DESTDIR)" \
509 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
510 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
511 "bindir=$(bindir)" \
512 "datadir=$(datadir)" \
513 "exec_prefix=$(exec_prefix)" \
514 "includedir=$(includedir)" \
515 "datarootdir=$(datarootdir)" \
516 "docdir=$(docdir)" \
517 "infodir=$(infodir)" \
518 "pdfdir=$(pdfdir)" \
519 "htmldir=$(htmldir)" \
520 "libdir=$(libdir)" \
521 "libexecdir=$(libexecdir)" \
522 "lispdir=$(lispdir)" \
523 "localstatedir=$(localstatedir)" \
524 "mandir=$(mandir)" \
525 "oldincludedir=$(oldincludedir)" \
526 "prefix=$(prefix)" \
527 "sbindir=$(sbindir)" \
528 "sharedstatedir=$(sharedstatedir)" \
529 "sysconfdir=$(sysconfdir)" \
530 "tooldir=$(tooldir)" \
531 "build_tooldir=$(build_tooldir)" \
532 "target_alias=$(target_alias)" \
533 "BISON=$(BISON)" \
534 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
535 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
536 "CPPFLAGS_FOR_BUILD=$(CPPFLAGS_FOR_BUILD)" \
537 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
538 "EXPECT=$(EXPECT)" \
539 "FLEX=$(FLEX)" \
540 "INSTALL=$(INSTALL)" \
541 "INSTALL_DATA=$(INSTALL_DATA)" \
542 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
543 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
544 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
545 "LEX=$(LEX)" \
546 "M4=$(M4)" \
547 "MAKE=$(MAKE)" \
548 "RUNTEST=$(RUNTEST)" \
549 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
550 "SHELL=$(SHELL)" \
551 "YACC=$(YACC)" \
552 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
553 "ADA_CFLAGS=$(ADA_CFLAGS)" \
554 "AR_FLAGS=$(AR_FLAGS)" \
555 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
556 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
557 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
558 "CFLAGS=$(CFLAGS)" \
559 "CPPFLAGS=$(CPPFLAGS)" \
560 "CXXFLAGS=$(CXXFLAGS)" \
561 "LDFLAGS=$(LDFLAGS)" \
562 "LIBCFLAGS=$(LIBCFLAGS)" \
563 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
564 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
565 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
566 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
567 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
568 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
569 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
570 "GNATBIND=$(GNATBIND)" \
571 "GNATMAKE=$(GNATMAKE)" \
572 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
573 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
574 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
575 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
576 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
577 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
578 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
579 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
580 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
581 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
582 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
583 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
584 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
585 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
586 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
587 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
588 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
589 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
590 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
591 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
592 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
593 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
594 "LEAN=$(LEAN)" \
595 "CONFIG_SHELL=$(SHELL)" \
596 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
598 # We leave this in just in case, but it is not needed anymore.
599 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
601 # Flags to pass down to most sub-makes, in which we're building with
602 # the host environment.
603 EXTRA_HOST_FLAGS = \
604 'AR=$(AR)' \
605 'AS=$(AS)' \
606 'CC=$(CC)' \
607 'CXX=$(CXX)' \
608 'DLLTOOL=$(DLLTOOL)' \
609 'LD=$(LD)' \
610 'LIPO=$(LIPO)' \
611 'NM=$(NM)' \
612 'OBJDUMP=$(OBJDUMP)' \
613 'RANLIB=$(RANLIB)' \
614 'STRIP=$(STRIP)' \
615 'WINDRES=$(WINDRES)' \
616 'WINDMC=$(WINDMC)'
618 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
620 # Flags that are concerned with the location of the X11 include files
621 # and library files
623 # NOTE: until the top-level is getting the values via autoconf, it only
624 # causes problems to have this top-level Makefile overriding the autoconf-set
625 # values in child directories. Only variables that don't conflict with
626 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
628 X11_FLAGS_TO_PASS = \
629 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
630 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
632 # Flags to pass to stage2 and later makes.
634 POSTSTAGE1_FLAGS_TO_PASS = \
635 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
636 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
637 LDFLAGS="$(BOOT_LDFLAGS)" \
638 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
640 # Flags to pass down to makes which are built with the target environment.
641 # The double $ decreases the length of the command line; those variables
642 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
643 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
644 # so we expand them here.
645 EXTRA_TARGET_FLAGS = \
646 'AR=$$(AR_FOR_TARGET)' \
647 'AS=$(COMPILER_AS_FOR_TARGET)' \
648 'CC=$$(CC_FOR_TARGET)' \
649 'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
650 'CPPFLAGS=$$(CPPFLAGS_FOR_TARGET)' \
651 'CXX=$$(CXX_FOR_TARGET)' \
652 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
653 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
654 'LD=$(COMPILER_LD_FOR_TARGET)' \
655 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
656 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
657 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
658 'NM=$(COMPILER_NM_FOR_TARGET)' \
659 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
660 'RANLIB=$$(RANLIB_FOR_TARGET)' \
661 'WINDRES=$$(WINDRES_FOR_TARGET)' \
662 'WINDMC=$$(WINDMC_FOR_TARGET)'
664 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
666 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
667 # unfortunately needs the native compiler and the target ar and
668 # ranlib.
669 # If any variables are added here, they must be added to do-*, below.
670 # The BUILD_* variables are a special case, which are used for the gcc
671 # cross-building scheme.
672 EXTRA_GCC_FLAGS = \
673 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
674 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
675 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
676 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
677 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
678 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
680 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
682 .PHONY: configure-host
683 configure-host: \
684 maybe-configure-ash \
685 maybe-configure-autoconf \
686 maybe-configure-automake \
687 maybe-configure-bash \
688 maybe-configure-bfd \
689 maybe-configure-opcodes \
690 maybe-configure-binutils \
691 maybe-configure-bison \
692 maybe-configure-byacc \
693 maybe-configure-bzip2 \
694 maybe-configure-dejagnu \
695 maybe-configure-diff \
696 maybe-configure-dosutils \
697 maybe-configure-etc \
698 maybe-configure-fastjar \
699 maybe-configure-fileutils \
700 maybe-configure-findutils \
701 maybe-configure-find \
702 maybe-configure-fixincludes \
703 maybe-configure-flex \
704 maybe-configure-gas \
705 maybe-configure-gcc \
706 maybe-configure-gawk \
707 maybe-configure-gettext \
708 maybe-configure-gmp \
709 maybe-configure-mpfr \
710 maybe-configure-ppl \
711 maybe-configure-cloog \
712 maybe-configure-gnuserv \
713 maybe-configure-gold \
714 maybe-configure-gprof \
715 maybe-configure-gzip \
716 maybe-configure-hello \
717 maybe-configure-indent \
718 maybe-configure-intl \
719 maybe-configure-tcl \
720 maybe-configure-itcl \
721 maybe-configure-ld \
722 maybe-configure-libcpp \
723 maybe-configure-libdecnumber \
724 maybe-configure-libgui \
725 maybe-configure-libiberty \
726 maybe-configure-libtool \
727 maybe-configure-m4 \
728 maybe-configure-make \
729 maybe-configure-mmalloc \
730 maybe-configure-patch \
731 maybe-configure-perl \
732 maybe-configure-prms \
733 maybe-configure-rcs \
734 maybe-configure-readline \
735 maybe-configure-release \
736 maybe-configure-recode \
737 maybe-configure-sed \
738 maybe-configure-send-pr \
739 maybe-configure-shellutils \
740 maybe-configure-sid \
741 maybe-configure-sim \
742 maybe-configure-tar \
743 maybe-configure-texinfo \
744 maybe-configure-textutils \
745 maybe-configure-time \
746 maybe-configure-uudecode \
747 maybe-configure-wdiff \
748 maybe-configure-zip \
749 maybe-configure-zlib \
750 maybe-configure-gdb \
751 maybe-configure-expect \
752 maybe-configure-guile \
753 maybe-configure-tk \
754 maybe-configure-libtermcap \
755 maybe-configure-utils \
756 maybe-configure-gnattools
757 .PHONY: configure-target
758 configure-target: \
759 maybe-configure-target-libstdc++-v3 \
760 maybe-configure-target-libmudflap \
761 maybe-configure-target-libssp \
762 maybe-configure-target-newlib \
763 maybe-configure-target-libgcc \
764 maybe-configure-target-libgfortran \
765 maybe-configure-target-libobjc \
766 maybe-configure-target-libtermcap \
767 maybe-configure-target-winsup \
768 maybe-configure-target-libgloss \
769 maybe-configure-target-libiberty \
770 maybe-configure-target-gperf \
771 maybe-configure-target-examples \
772 maybe-configure-target-libffi \
773 maybe-configure-target-libjava \
774 maybe-configure-target-zlib \
775 maybe-configure-target-boehm-gc \
776 maybe-configure-target-qthreads \
777 maybe-configure-target-rda \
778 maybe-configure-target-libada \
779 maybe-configure-target-libgomp
781 # The target built for a native non-bootstrap build.
782 .PHONY: all
783 all:
784 @if gcc-bootstrap
785 [ -f stage_final ] || echo stage3 > stage_final
786 @r=`${PWD_COMMAND}`; export r; \
787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
788 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
789 @endif gcc-bootstrap
790 @: $(MAKE); $(unstage)
791 @r=`${PWD_COMMAND}`; export r; \
792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
793 if [ -f stage_last ]; then \
794 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
795 else \
796 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
799 .PHONY: all-build
801 all-build: maybe-all-build-libiberty
802 all-build: maybe-all-build-bison
803 all-build: maybe-all-build-byacc
804 all-build: maybe-all-build-flex
805 all-build: maybe-all-build-m4
806 all-build: maybe-all-build-texinfo
807 all-build: maybe-all-build-fixincludes
809 .PHONY: all-host
811 all-host: maybe-all-ash
812 all-host: maybe-all-autoconf
813 all-host: maybe-all-automake
814 all-host: maybe-all-bash
815 @if bfd-no-bootstrap
816 all-host: maybe-all-bfd
817 @endif bfd-no-bootstrap
818 @if opcodes-no-bootstrap
819 all-host: maybe-all-opcodes
820 @endif opcodes-no-bootstrap
821 @if binutils-no-bootstrap
822 all-host: maybe-all-binutils
823 @endif binutils-no-bootstrap
824 all-host: maybe-all-bison
825 all-host: maybe-all-byacc
826 all-host: maybe-all-bzip2
827 all-host: maybe-all-dejagnu
828 all-host: maybe-all-diff
829 all-host: maybe-all-dosutils
830 all-host: maybe-all-etc
831 all-host: maybe-all-fastjar
832 all-host: maybe-all-fileutils
833 all-host: maybe-all-findutils
834 all-host: maybe-all-find
835 all-host: maybe-all-fixincludes
836 all-host: maybe-all-flex
837 @if gas-no-bootstrap
838 all-host: maybe-all-gas
839 @endif gas-no-bootstrap
840 @if gcc-no-bootstrap
841 all-host: maybe-all-gcc
842 @endif gcc-no-bootstrap
843 all-host: maybe-all-gawk
844 all-host: maybe-all-gettext
845 @if gmp-no-bootstrap
846 all-host: maybe-all-gmp
847 @endif gmp-no-bootstrap
848 @if mpfr-no-bootstrap
849 all-host: maybe-all-mpfr
850 @endif mpfr-no-bootstrap
851 @if ppl-no-bootstrap
852 all-host: maybe-all-ppl
853 @endif ppl-no-bootstrap
854 @if cloog-no-bootstrap
855 all-host: maybe-all-cloog
856 @endif cloog-no-bootstrap
857 all-host: maybe-all-gnuserv
858 @if gold-no-bootstrap
859 all-host: maybe-all-gold
860 @endif gold-no-bootstrap
861 all-host: maybe-all-gprof
862 all-host: maybe-all-gzip
863 all-host: maybe-all-hello
864 all-host: maybe-all-indent
865 @if intl-no-bootstrap
866 all-host: maybe-all-intl
867 @endif intl-no-bootstrap
868 all-host: maybe-all-tcl
869 all-host: maybe-all-itcl
870 @if ld-no-bootstrap
871 all-host: maybe-all-ld
872 @endif ld-no-bootstrap
873 @if libcpp-no-bootstrap
874 all-host: maybe-all-libcpp
875 @endif libcpp-no-bootstrap
876 @if libdecnumber-no-bootstrap
877 all-host: maybe-all-libdecnumber
878 @endif libdecnumber-no-bootstrap
879 all-host: maybe-all-libgui
880 @if libiberty-no-bootstrap
881 all-host: maybe-all-libiberty
882 @endif libiberty-no-bootstrap
883 all-host: maybe-all-libtool
884 all-host: maybe-all-m4
885 all-host: maybe-all-make
886 all-host: maybe-all-mmalloc
887 all-host: maybe-all-patch
888 all-host: maybe-all-perl
889 all-host: maybe-all-prms
890 all-host: maybe-all-rcs
891 all-host: maybe-all-readline
892 all-host: maybe-all-release
893 all-host: maybe-all-recode
894 all-host: maybe-all-sed
895 all-host: maybe-all-send-pr
896 all-host: maybe-all-shellutils
897 all-host: maybe-all-sid
898 all-host: maybe-all-sim
899 all-host: maybe-all-tar
900 all-host: maybe-all-texinfo
901 all-host: maybe-all-textutils
902 all-host: maybe-all-time
903 all-host: maybe-all-uudecode
904 all-host: maybe-all-wdiff
905 all-host: maybe-all-zip
906 @if zlib-no-bootstrap
907 all-host: maybe-all-zlib
908 @endif zlib-no-bootstrap
909 all-host: maybe-all-gdb
910 all-host: maybe-all-expect
911 all-host: maybe-all-guile
912 all-host: maybe-all-tk
913 all-host: maybe-all-libtermcap
914 all-host: maybe-all-utils
915 all-host: maybe-all-gnattools
917 .PHONY: all-target
919 all-target: maybe-all-target-libstdc++-v3
920 all-target: maybe-all-target-libmudflap
921 all-target: maybe-all-target-libssp
922 all-target: maybe-all-target-newlib
923 @if target-libgcc-no-bootstrap
924 all-target: maybe-all-target-libgcc
925 @endif target-libgcc-no-bootstrap
926 all-target: maybe-all-target-libgfortran
927 all-target: maybe-all-target-libobjc
928 all-target: maybe-all-target-libtermcap
929 all-target: maybe-all-target-winsup
930 all-target: maybe-all-target-libgloss
931 all-target: maybe-all-target-libiberty
932 all-target: maybe-all-target-gperf
933 all-target: maybe-all-target-examples
934 all-target: maybe-all-target-libffi
935 all-target: maybe-all-target-libjava
936 all-target: maybe-all-target-zlib
937 all-target: maybe-all-target-boehm-gc
938 all-target: maybe-all-target-qthreads
939 all-target: maybe-all-target-rda
940 all-target: maybe-all-target-libada
941 all-target: maybe-all-target-libgomp
943 # Do a target for all the subdirectories. A ``make do-X'' will do a
944 # ``make X'' in all subdirectories (because, in general, there is a
945 # dependency (below) of X upon do-X, a ``make X'' will also do this,
946 # but it may do additional work as well).
948 .PHONY: do-info
949 do-info:
950 @: $(MAKE); $(unstage)
951 @r=`${PWD_COMMAND}`; export r; \
952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
953 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
954 info-target
957 .PHONY: info-host
959 info-host: maybe-info-ash
960 info-host: maybe-info-autoconf
961 info-host: maybe-info-automake
962 info-host: maybe-info-bash
963 info-host: maybe-info-bfd
964 info-host: maybe-info-opcodes
965 info-host: maybe-info-binutils
966 info-host: maybe-info-bison
967 info-host: maybe-info-byacc
968 info-host: maybe-info-bzip2
969 info-host: maybe-info-dejagnu
970 info-host: maybe-info-diff
971 info-host: maybe-info-dosutils
972 info-host: maybe-info-etc
973 info-host: maybe-info-fastjar
974 info-host: maybe-info-fileutils
975 info-host: maybe-info-findutils
976 info-host: maybe-info-find
977 info-host: maybe-info-fixincludes
978 info-host: maybe-info-flex
979 info-host: maybe-info-gas
980 info-host: maybe-info-gcc
981 info-host: maybe-info-gawk
982 info-host: maybe-info-gettext
983 info-host: maybe-info-gmp
984 info-host: maybe-info-mpfr
985 info-host: maybe-info-ppl
986 info-host: maybe-info-cloog
987 info-host: maybe-info-gnuserv
988 info-host: maybe-info-gold
989 info-host: maybe-info-gprof
990 info-host: maybe-info-gzip
991 info-host: maybe-info-hello
992 info-host: maybe-info-indent
993 info-host: maybe-info-intl
994 info-host: maybe-info-tcl
995 info-host: maybe-info-itcl
996 info-host: maybe-info-ld
997 info-host: maybe-info-libcpp
998 info-host: maybe-info-libdecnumber
999 info-host: maybe-info-libgui
1000 info-host: maybe-info-libiberty
1001 info-host: maybe-info-libtool
1002 info-host: maybe-info-m4
1003 info-host: maybe-info-make
1004 info-host: maybe-info-mmalloc
1005 info-host: maybe-info-patch
1006 info-host: maybe-info-perl
1007 info-host: maybe-info-prms
1008 info-host: maybe-info-rcs
1009 info-host: maybe-info-readline
1010 info-host: maybe-info-release
1011 info-host: maybe-info-recode
1012 info-host: maybe-info-sed
1013 info-host: maybe-info-send-pr
1014 info-host: maybe-info-shellutils
1015 info-host: maybe-info-sid
1016 info-host: maybe-info-sim
1017 info-host: maybe-info-tar
1018 info-host: maybe-info-texinfo
1019 info-host: maybe-info-textutils
1020 info-host: maybe-info-time
1021 info-host: maybe-info-uudecode
1022 info-host: maybe-info-wdiff
1023 info-host: maybe-info-zip
1024 info-host: maybe-info-zlib
1025 info-host: maybe-info-gdb
1026 info-host: maybe-info-expect
1027 info-host: maybe-info-guile
1028 info-host: maybe-info-tk
1029 info-host: maybe-info-libtermcap
1030 info-host: maybe-info-utils
1031 info-host: maybe-info-gnattools
1033 .PHONY: info-target
1035 info-target: maybe-info-target-libstdc++-v3
1036 info-target: maybe-info-target-libmudflap
1037 info-target: maybe-info-target-libssp
1038 info-target: maybe-info-target-newlib
1039 info-target: maybe-info-target-libgcc
1040 info-target: maybe-info-target-libgfortran
1041 info-target: maybe-info-target-libobjc
1042 info-target: maybe-info-target-libtermcap
1043 info-target: maybe-info-target-winsup
1044 info-target: maybe-info-target-libgloss
1045 info-target: maybe-info-target-libiberty
1046 info-target: maybe-info-target-gperf
1047 info-target: maybe-info-target-examples
1048 info-target: maybe-info-target-libffi
1049 info-target: maybe-info-target-libjava
1050 info-target: maybe-info-target-zlib
1051 info-target: maybe-info-target-boehm-gc
1052 info-target: maybe-info-target-qthreads
1053 info-target: maybe-info-target-rda
1054 info-target: maybe-info-target-libada
1055 info-target: maybe-info-target-libgomp
1057 .PHONY: do-dvi
1058 do-dvi:
1059 @: $(MAKE); $(unstage)
1060 @r=`${PWD_COMMAND}`; export r; \
1061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1062 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1063 dvi-target
1066 .PHONY: dvi-host
1068 dvi-host: maybe-dvi-ash
1069 dvi-host: maybe-dvi-autoconf
1070 dvi-host: maybe-dvi-automake
1071 dvi-host: maybe-dvi-bash
1072 dvi-host: maybe-dvi-bfd
1073 dvi-host: maybe-dvi-opcodes
1074 dvi-host: maybe-dvi-binutils
1075 dvi-host: maybe-dvi-bison
1076 dvi-host: maybe-dvi-byacc
1077 dvi-host: maybe-dvi-bzip2
1078 dvi-host: maybe-dvi-dejagnu
1079 dvi-host: maybe-dvi-diff
1080 dvi-host: maybe-dvi-dosutils
1081 dvi-host: maybe-dvi-etc
1082 dvi-host: maybe-dvi-fastjar
1083 dvi-host: maybe-dvi-fileutils
1084 dvi-host: maybe-dvi-findutils
1085 dvi-host: maybe-dvi-find
1086 dvi-host: maybe-dvi-fixincludes
1087 dvi-host: maybe-dvi-flex
1088 dvi-host: maybe-dvi-gas
1089 dvi-host: maybe-dvi-gcc
1090 dvi-host: maybe-dvi-gawk
1091 dvi-host: maybe-dvi-gettext
1092 dvi-host: maybe-dvi-gmp
1093 dvi-host: maybe-dvi-mpfr
1094 dvi-host: maybe-dvi-ppl
1095 dvi-host: maybe-dvi-cloog
1096 dvi-host: maybe-dvi-gnuserv
1097 dvi-host: maybe-dvi-gold
1098 dvi-host: maybe-dvi-gprof
1099 dvi-host: maybe-dvi-gzip
1100 dvi-host: maybe-dvi-hello
1101 dvi-host: maybe-dvi-indent
1102 dvi-host: maybe-dvi-intl
1103 dvi-host: maybe-dvi-tcl
1104 dvi-host: maybe-dvi-itcl
1105 dvi-host: maybe-dvi-ld
1106 dvi-host: maybe-dvi-libcpp
1107 dvi-host: maybe-dvi-libdecnumber
1108 dvi-host: maybe-dvi-libgui
1109 dvi-host: maybe-dvi-libiberty
1110 dvi-host: maybe-dvi-libtool
1111 dvi-host: maybe-dvi-m4
1112 dvi-host: maybe-dvi-make
1113 dvi-host: maybe-dvi-mmalloc
1114 dvi-host: maybe-dvi-patch
1115 dvi-host: maybe-dvi-perl
1116 dvi-host: maybe-dvi-prms
1117 dvi-host: maybe-dvi-rcs
1118 dvi-host: maybe-dvi-readline
1119 dvi-host: maybe-dvi-release
1120 dvi-host: maybe-dvi-recode
1121 dvi-host: maybe-dvi-sed
1122 dvi-host: maybe-dvi-send-pr
1123 dvi-host: maybe-dvi-shellutils
1124 dvi-host: maybe-dvi-sid
1125 dvi-host: maybe-dvi-sim
1126 dvi-host: maybe-dvi-tar
1127 dvi-host: maybe-dvi-texinfo
1128 dvi-host: maybe-dvi-textutils
1129 dvi-host: maybe-dvi-time
1130 dvi-host: maybe-dvi-uudecode
1131 dvi-host: maybe-dvi-wdiff
1132 dvi-host: maybe-dvi-zip
1133 dvi-host: maybe-dvi-zlib
1134 dvi-host: maybe-dvi-gdb
1135 dvi-host: maybe-dvi-expect
1136 dvi-host: maybe-dvi-guile
1137 dvi-host: maybe-dvi-tk
1138 dvi-host: maybe-dvi-libtermcap
1139 dvi-host: maybe-dvi-utils
1140 dvi-host: maybe-dvi-gnattools
1142 .PHONY: dvi-target
1144 dvi-target: maybe-dvi-target-libstdc++-v3
1145 dvi-target: maybe-dvi-target-libmudflap
1146 dvi-target: maybe-dvi-target-libssp
1147 dvi-target: maybe-dvi-target-newlib
1148 dvi-target: maybe-dvi-target-libgcc
1149 dvi-target: maybe-dvi-target-libgfortran
1150 dvi-target: maybe-dvi-target-libobjc
1151 dvi-target: maybe-dvi-target-libtermcap
1152 dvi-target: maybe-dvi-target-winsup
1153 dvi-target: maybe-dvi-target-libgloss
1154 dvi-target: maybe-dvi-target-libiberty
1155 dvi-target: maybe-dvi-target-gperf
1156 dvi-target: maybe-dvi-target-examples
1157 dvi-target: maybe-dvi-target-libffi
1158 dvi-target: maybe-dvi-target-libjava
1159 dvi-target: maybe-dvi-target-zlib
1160 dvi-target: maybe-dvi-target-boehm-gc
1161 dvi-target: maybe-dvi-target-qthreads
1162 dvi-target: maybe-dvi-target-rda
1163 dvi-target: maybe-dvi-target-libada
1164 dvi-target: maybe-dvi-target-libgomp
1166 .PHONY: do-pdf
1167 do-pdf:
1168 @: $(MAKE); $(unstage)
1169 @r=`${PWD_COMMAND}`; export r; \
1170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1171 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1172 pdf-target
1175 .PHONY: pdf-host
1177 pdf-host: maybe-pdf-ash
1178 pdf-host: maybe-pdf-autoconf
1179 pdf-host: maybe-pdf-automake
1180 pdf-host: maybe-pdf-bash
1181 pdf-host: maybe-pdf-bfd
1182 pdf-host: maybe-pdf-opcodes
1183 pdf-host: maybe-pdf-binutils
1184 pdf-host: maybe-pdf-bison
1185 pdf-host: maybe-pdf-byacc
1186 pdf-host: maybe-pdf-bzip2
1187 pdf-host: maybe-pdf-dejagnu
1188 pdf-host: maybe-pdf-diff
1189 pdf-host: maybe-pdf-dosutils
1190 pdf-host: maybe-pdf-etc
1191 pdf-host: maybe-pdf-fastjar
1192 pdf-host: maybe-pdf-fileutils
1193 pdf-host: maybe-pdf-findutils
1194 pdf-host: maybe-pdf-find
1195 pdf-host: maybe-pdf-fixincludes
1196 pdf-host: maybe-pdf-flex
1197 pdf-host: maybe-pdf-gas
1198 pdf-host: maybe-pdf-gcc
1199 pdf-host: maybe-pdf-gawk
1200 pdf-host: maybe-pdf-gettext
1201 pdf-host: maybe-pdf-gmp
1202 pdf-host: maybe-pdf-mpfr
1203 pdf-host: maybe-pdf-ppl
1204 pdf-host: maybe-pdf-cloog
1205 pdf-host: maybe-pdf-gnuserv
1206 pdf-host: maybe-pdf-gold
1207 pdf-host: maybe-pdf-gprof
1208 pdf-host: maybe-pdf-gzip
1209 pdf-host: maybe-pdf-hello
1210 pdf-host: maybe-pdf-indent
1211 pdf-host: maybe-pdf-intl
1212 pdf-host: maybe-pdf-tcl
1213 pdf-host: maybe-pdf-itcl
1214 pdf-host: maybe-pdf-ld
1215 pdf-host: maybe-pdf-libcpp
1216 pdf-host: maybe-pdf-libdecnumber
1217 pdf-host: maybe-pdf-libgui
1218 pdf-host: maybe-pdf-libiberty
1219 pdf-host: maybe-pdf-libtool
1220 pdf-host: maybe-pdf-m4
1221 pdf-host: maybe-pdf-make
1222 pdf-host: maybe-pdf-mmalloc
1223 pdf-host: maybe-pdf-patch
1224 pdf-host: maybe-pdf-perl
1225 pdf-host: maybe-pdf-prms
1226 pdf-host: maybe-pdf-rcs
1227 pdf-host: maybe-pdf-readline
1228 pdf-host: maybe-pdf-release
1229 pdf-host: maybe-pdf-recode
1230 pdf-host: maybe-pdf-sed
1231 pdf-host: maybe-pdf-send-pr
1232 pdf-host: maybe-pdf-shellutils
1233 pdf-host: maybe-pdf-sid
1234 pdf-host: maybe-pdf-sim
1235 pdf-host: maybe-pdf-tar
1236 pdf-host: maybe-pdf-texinfo
1237 pdf-host: maybe-pdf-textutils
1238 pdf-host: maybe-pdf-time
1239 pdf-host: maybe-pdf-uudecode
1240 pdf-host: maybe-pdf-wdiff
1241 pdf-host: maybe-pdf-zip
1242 pdf-host: maybe-pdf-zlib
1243 pdf-host: maybe-pdf-gdb
1244 pdf-host: maybe-pdf-expect
1245 pdf-host: maybe-pdf-guile
1246 pdf-host: maybe-pdf-tk
1247 pdf-host: maybe-pdf-libtermcap
1248 pdf-host: maybe-pdf-utils
1249 pdf-host: maybe-pdf-gnattools
1251 .PHONY: pdf-target
1253 pdf-target: maybe-pdf-target-libstdc++-v3
1254 pdf-target: maybe-pdf-target-libmudflap
1255 pdf-target: maybe-pdf-target-libssp
1256 pdf-target: maybe-pdf-target-newlib
1257 pdf-target: maybe-pdf-target-libgcc
1258 pdf-target: maybe-pdf-target-libgfortran
1259 pdf-target: maybe-pdf-target-libobjc
1260 pdf-target: maybe-pdf-target-libtermcap
1261 pdf-target: maybe-pdf-target-winsup
1262 pdf-target: maybe-pdf-target-libgloss
1263 pdf-target: maybe-pdf-target-libiberty
1264 pdf-target: maybe-pdf-target-gperf
1265 pdf-target: maybe-pdf-target-examples
1266 pdf-target: maybe-pdf-target-libffi
1267 pdf-target: maybe-pdf-target-libjava
1268 pdf-target: maybe-pdf-target-zlib
1269 pdf-target: maybe-pdf-target-boehm-gc
1270 pdf-target: maybe-pdf-target-qthreads
1271 pdf-target: maybe-pdf-target-rda
1272 pdf-target: maybe-pdf-target-libada
1273 pdf-target: maybe-pdf-target-libgomp
1275 .PHONY: do-html
1276 do-html:
1277 @: $(MAKE); $(unstage)
1278 @r=`${PWD_COMMAND}`; export r; \
1279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1280 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1281 html-target
1284 .PHONY: html-host
1286 html-host: maybe-html-ash
1287 html-host: maybe-html-autoconf
1288 html-host: maybe-html-automake
1289 html-host: maybe-html-bash
1290 html-host: maybe-html-bfd
1291 html-host: maybe-html-opcodes
1292 html-host: maybe-html-binutils
1293 html-host: maybe-html-bison
1294 html-host: maybe-html-byacc
1295 html-host: maybe-html-bzip2
1296 html-host: maybe-html-dejagnu
1297 html-host: maybe-html-diff
1298 html-host: maybe-html-dosutils
1299 html-host: maybe-html-etc
1300 html-host: maybe-html-fastjar
1301 html-host: maybe-html-fileutils
1302 html-host: maybe-html-findutils
1303 html-host: maybe-html-find
1304 html-host: maybe-html-fixincludes
1305 html-host: maybe-html-flex
1306 html-host: maybe-html-gas
1307 html-host: maybe-html-gcc
1308 html-host: maybe-html-gawk
1309 html-host: maybe-html-gettext
1310 html-host: maybe-html-gmp
1311 html-host: maybe-html-mpfr
1312 html-host: maybe-html-ppl
1313 html-host: maybe-html-cloog
1314 html-host: maybe-html-gnuserv
1315 html-host: maybe-html-gold
1316 html-host: maybe-html-gprof
1317 html-host: maybe-html-gzip
1318 html-host: maybe-html-hello
1319 html-host: maybe-html-indent
1320 html-host: maybe-html-intl
1321 html-host: maybe-html-tcl
1322 html-host: maybe-html-itcl
1323 html-host: maybe-html-ld
1324 html-host: maybe-html-libcpp
1325 html-host: maybe-html-libdecnumber
1326 html-host: maybe-html-libgui
1327 html-host: maybe-html-libiberty
1328 html-host: maybe-html-libtool
1329 html-host: maybe-html-m4
1330 html-host: maybe-html-make
1331 html-host: maybe-html-mmalloc
1332 html-host: maybe-html-patch
1333 html-host: maybe-html-perl
1334 html-host: maybe-html-prms
1335 html-host: maybe-html-rcs
1336 html-host: maybe-html-readline
1337 html-host: maybe-html-release
1338 html-host: maybe-html-recode
1339 html-host: maybe-html-sed
1340 html-host: maybe-html-send-pr
1341 html-host: maybe-html-shellutils
1342 html-host: maybe-html-sid
1343 html-host: maybe-html-sim
1344 html-host: maybe-html-tar
1345 html-host: maybe-html-texinfo
1346 html-host: maybe-html-textutils
1347 html-host: maybe-html-time
1348 html-host: maybe-html-uudecode
1349 html-host: maybe-html-wdiff
1350 html-host: maybe-html-zip
1351 html-host: maybe-html-zlib
1352 html-host: maybe-html-gdb
1353 html-host: maybe-html-expect
1354 html-host: maybe-html-guile
1355 html-host: maybe-html-tk
1356 html-host: maybe-html-libtermcap
1357 html-host: maybe-html-utils
1358 html-host: maybe-html-gnattools
1360 .PHONY: html-target
1362 html-target: maybe-html-target-libstdc++-v3
1363 html-target: maybe-html-target-libmudflap
1364 html-target: maybe-html-target-libssp
1365 html-target: maybe-html-target-newlib
1366 html-target: maybe-html-target-libgcc
1367 html-target: maybe-html-target-libgfortran
1368 html-target: maybe-html-target-libobjc
1369 html-target: maybe-html-target-libtermcap
1370 html-target: maybe-html-target-winsup
1371 html-target: maybe-html-target-libgloss
1372 html-target: maybe-html-target-libiberty
1373 html-target: maybe-html-target-gperf
1374 html-target: maybe-html-target-examples
1375 html-target: maybe-html-target-libffi
1376 html-target: maybe-html-target-libjava
1377 html-target: maybe-html-target-zlib
1378 html-target: maybe-html-target-boehm-gc
1379 html-target: maybe-html-target-qthreads
1380 html-target: maybe-html-target-rda
1381 html-target: maybe-html-target-libada
1382 html-target: maybe-html-target-libgomp
1384 .PHONY: do-TAGS
1385 do-TAGS:
1386 @: $(MAKE); $(unstage)
1387 @r=`${PWD_COMMAND}`; export r; \
1388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1389 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1390 TAGS-target
1393 .PHONY: TAGS-host
1395 TAGS-host: maybe-TAGS-ash
1396 TAGS-host: maybe-TAGS-autoconf
1397 TAGS-host: maybe-TAGS-automake
1398 TAGS-host: maybe-TAGS-bash
1399 TAGS-host: maybe-TAGS-bfd
1400 TAGS-host: maybe-TAGS-opcodes
1401 TAGS-host: maybe-TAGS-binutils
1402 TAGS-host: maybe-TAGS-bison
1403 TAGS-host: maybe-TAGS-byacc
1404 TAGS-host: maybe-TAGS-bzip2
1405 TAGS-host: maybe-TAGS-dejagnu
1406 TAGS-host: maybe-TAGS-diff
1407 TAGS-host: maybe-TAGS-dosutils
1408 TAGS-host: maybe-TAGS-etc
1409 TAGS-host: maybe-TAGS-fastjar
1410 TAGS-host: maybe-TAGS-fileutils
1411 TAGS-host: maybe-TAGS-findutils
1412 TAGS-host: maybe-TAGS-find
1413 TAGS-host: maybe-TAGS-fixincludes
1414 TAGS-host: maybe-TAGS-flex
1415 TAGS-host: maybe-TAGS-gas
1416 TAGS-host: maybe-TAGS-gcc
1417 TAGS-host: maybe-TAGS-gawk
1418 TAGS-host: maybe-TAGS-gettext
1419 TAGS-host: maybe-TAGS-gmp
1420 TAGS-host: maybe-TAGS-mpfr
1421 TAGS-host: maybe-TAGS-ppl
1422 TAGS-host: maybe-TAGS-cloog
1423 TAGS-host: maybe-TAGS-gnuserv
1424 TAGS-host: maybe-TAGS-gold
1425 TAGS-host: maybe-TAGS-gprof
1426 TAGS-host: maybe-TAGS-gzip
1427 TAGS-host: maybe-TAGS-hello
1428 TAGS-host: maybe-TAGS-indent
1429 TAGS-host: maybe-TAGS-intl
1430 TAGS-host: maybe-TAGS-tcl
1431 TAGS-host: maybe-TAGS-itcl
1432 TAGS-host: maybe-TAGS-ld
1433 TAGS-host: maybe-TAGS-libcpp
1434 TAGS-host: maybe-TAGS-libdecnumber
1435 TAGS-host: maybe-TAGS-libgui
1436 TAGS-host: maybe-TAGS-libiberty
1437 TAGS-host: maybe-TAGS-libtool
1438 TAGS-host: maybe-TAGS-m4
1439 TAGS-host: maybe-TAGS-make
1440 TAGS-host: maybe-TAGS-mmalloc
1441 TAGS-host: maybe-TAGS-patch
1442 TAGS-host: maybe-TAGS-perl
1443 TAGS-host: maybe-TAGS-prms
1444 TAGS-host: maybe-TAGS-rcs
1445 TAGS-host: maybe-TAGS-readline
1446 TAGS-host: maybe-TAGS-release
1447 TAGS-host: maybe-TAGS-recode
1448 TAGS-host: maybe-TAGS-sed
1449 TAGS-host: maybe-TAGS-send-pr
1450 TAGS-host: maybe-TAGS-shellutils
1451 TAGS-host: maybe-TAGS-sid
1452 TAGS-host: maybe-TAGS-sim
1453 TAGS-host: maybe-TAGS-tar
1454 TAGS-host: maybe-TAGS-texinfo
1455 TAGS-host: maybe-TAGS-textutils
1456 TAGS-host: maybe-TAGS-time
1457 TAGS-host: maybe-TAGS-uudecode
1458 TAGS-host: maybe-TAGS-wdiff
1459 TAGS-host: maybe-TAGS-zip
1460 TAGS-host: maybe-TAGS-zlib
1461 TAGS-host: maybe-TAGS-gdb
1462 TAGS-host: maybe-TAGS-expect
1463 TAGS-host: maybe-TAGS-guile
1464 TAGS-host: maybe-TAGS-tk
1465 TAGS-host: maybe-TAGS-libtermcap
1466 TAGS-host: maybe-TAGS-utils
1467 TAGS-host: maybe-TAGS-gnattools
1469 .PHONY: TAGS-target
1471 TAGS-target: maybe-TAGS-target-libstdc++-v3
1472 TAGS-target: maybe-TAGS-target-libmudflap
1473 TAGS-target: maybe-TAGS-target-libssp
1474 TAGS-target: maybe-TAGS-target-newlib
1475 TAGS-target: maybe-TAGS-target-libgcc
1476 TAGS-target: maybe-TAGS-target-libgfortran
1477 TAGS-target: maybe-TAGS-target-libobjc
1478 TAGS-target: maybe-TAGS-target-libtermcap
1479 TAGS-target: maybe-TAGS-target-winsup
1480 TAGS-target: maybe-TAGS-target-libgloss
1481 TAGS-target: maybe-TAGS-target-libiberty
1482 TAGS-target: maybe-TAGS-target-gperf
1483 TAGS-target: maybe-TAGS-target-examples
1484 TAGS-target: maybe-TAGS-target-libffi
1485 TAGS-target: maybe-TAGS-target-libjava
1486 TAGS-target: maybe-TAGS-target-zlib
1487 TAGS-target: maybe-TAGS-target-boehm-gc
1488 TAGS-target: maybe-TAGS-target-qthreads
1489 TAGS-target: maybe-TAGS-target-rda
1490 TAGS-target: maybe-TAGS-target-libada
1491 TAGS-target: maybe-TAGS-target-libgomp
1493 .PHONY: do-install-info
1494 do-install-info:
1495 @: $(MAKE); $(unstage)
1496 @r=`${PWD_COMMAND}`; export r; \
1497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1498 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1499 install-info-target
1502 .PHONY: install-info-host
1504 install-info-host: maybe-install-info-ash
1505 install-info-host: maybe-install-info-autoconf
1506 install-info-host: maybe-install-info-automake
1507 install-info-host: maybe-install-info-bash
1508 install-info-host: maybe-install-info-bfd
1509 install-info-host: maybe-install-info-opcodes
1510 install-info-host: maybe-install-info-binutils
1511 install-info-host: maybe-install-info-bison
1512 install-info-host: maybe-install-info-byacc
1513 install-info-host: maybe-install-info-bzip2
1514 install-info-host: maybe-install-info-dejagnu
1515 install-info-host: maybe-install-info-diff
1516 install-info-host: maybe-install-info-dosutils
1517 install-info-host: maybe-install-info-etc
1518 install-info-host: maybe-install-info-fastjar
1519 install-info-host: maybe-install-info-fileutils
1520 install-info-host: maybe-install-info-findutils
1521 install-info-host: maybe-install-info-find
1522 install-info-host: maybe-install-info-fixincludes
1523 install-info-host: maybe-install-info-flex
1524 install-info-host: maybe-install-info-gas
1525 install-info-host: maybe-install-info-gcc
1526 install-info-host: maybe-install-info-gawk
1527 install-info-host: maybe-install-info-gettext
1528 install-info-host: maybe-install-info-gmp
1529 install-info-host: maybe-install-info-mpfr
1530 install-info-host: maybe-install-info-ppl
1531 install-info-host: maybe-install-info-cloog
1532 install-info-host: maybe-install-info-gnuserv
1533 install-info-host: maybe-install-info-gold
1534 install-info-host: maybe-install-info-gprof
1535 install-info-host: maybe-install-info-gzip
1536 install-info-host: maybe-install-info-hello
1537 install-info-host: maybe-install-info-indent
1538 install-info-host: maybe-install-info-intl
1539 install-info-host: maybe-install-info-tcl
1540 install-info-host: maybe-install-info-itcl
1541 install-info-host: maybe-install-info-ld
1542 install-info-host: maybe-install-info-libcpp
1543 install-info-host: maybe-install-info-libdecnumber
1544 install-info-host: maybe-install-info-libgui
1545 install-info-host: maybe-install-info-libiberty
1546 install-info-host: maybe-install-info-libtool
1547 install-info-host: maybe-install-info-m4
1548 install-info-host: maybe-install-info-make
1549 install-info-host: maybe-install-info-mmalloc
1550 install-info-host: maybe-install-info-patch
1551 install-info-host: maybe-install-info-perl
1552 install-info-host: maybe-install-info-prms
1553 install-info-host: maybe-install-info-rcs
1554 install-info-host: maybe-install-info-readline
1555 install-info-host: maybe-install-info-release
1556 install-info-host: maybe-install-info-recode
1557 install-info-host: maybe-install-info-sed
1558 install-info-host: maybe-install-info-send-pr
1559 install-info-host: maybe-install-info-shellutils
1560 install-info-host: maybe-install-info-sid
1561 install-info-host: maybe-install-info-sim
1562 install-info-host: maybe-install-info-tar
1563 install-info-host: maybe-install-info-texinfo
1564 install-info-host: maybe-install-info-textutils
1565 install-info-host: maybe-install-info-time
1566 install-info-host: maybe-install-info-uudecode
1567 install-info-host: maybe-install-info-wdiff
1568 install-info-host: maybe-install-info-zip
1569 install-info-host: maybe-install-info-zlib
1570 install-info-host: maybe-install-info-gdb
1571 install-info-host: maybe-install-info-expect
1572 install-info-host: maybe-install-info-guile
1573 install-info-host: maybe-install-info-tk
1574 install-info-host: maybe-install-info-libtermcap
1575 install-info-host: maybe-install-info-utils
1576 install-info-host: maybe-install-info-gnattools
1578 .PHONY: install-info-target
1580 install-info-target: maybe-install-info-target-libstdc++-v3
1581 install-info-target: maybe-install-info-target-libmudflap
1582 install-info-target: maybe-install-info-target-libssp
1583 install-info-target: maybe-install-info-target-newlib
1584 install-info-target: maybe-install-info-target-libgcc
1585 install-info-target: maybe-install-info-target-libgfortran
1586 install-info-target: maybe-install-info-target-libobjc
1587 install-info-target: maybe-install-info-target-libtermcap
1588 install-info-target: maybe-install-info-target-winsup
1589 install-info-target: maybe-install-info-target-libgloss
1590 install-info-target: maybe-install-info-target-libiberty
1591 install-info-target: maybe-install-info-target-gperf
1592 install-info-target: maybe-install-info-target-examples
1593 install-info-target: maybe-install-info-target-libffi
1594 install-info-target: maybe-install-info-target-libjava
1595 install-info-target: maybe-install-info-target-zlib
1596 install-info-target: maybe-install-info-target-boehm-gc
1597 install-info-target: maybe-install-info-target-qthreads
1598 install-info-target: maybe-install-info-target-rda
1599 install-info-target: maybe-install-info-target-libada
1600 install-info-target: maybe-install-info-target-libgomp
1602 .PHONY: do-install-pdf
1603 do-install-pdf:
1604 @: $(MAKE); $(unstage)
1605 @r=`${PWD_COMMAND}`; export r; \
1606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1607 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1608 install-pdf-target
1611 .PHONY: install-pdf-host
1613 install-pdf-host: maybe-install-pdf-ash
1614 install-pdf-host: maybe-install-pdf-autoconf
1615 install-pdf-host: maybe-install-pdf-automake
1616 install-pdf-host: maybe-install-pdf-bash
1617 install-pdf-host: maybe-install-pdf-bfd
1618 install-pdf-host: maybe-install-pdf-opcodes
1619 install-pdf-host: maybe-install-pdf-binutils
1620 install-pdf-host: maybe-install-pdf-bison
1621 install-pdf-host: maybe-install-pdf-byacc
1622 install-pdf-host: maybe-install-pdf-bzip2
1623 install-pdf-host: maybe-install-pdf-dejagnu
1624 install-pdf-host: maybe-install-pdf-diff
1625 install-pdf-host: maybe-install-pdf-dosutils
1626 install-pdf-host: maybe-install-pdf-etc
1627 install-pdf-host: maybe-install-pdf-fastjar
1628 install-pdf-host: maybe-install-pdf-fileutils
1629 install-pdf-host: maybe-install-pdf-findutils
1630 install-pdf-host: maybe-install-pdf-find
1631 install-pdf-host: maybe-install-pdf-fixincludes
1632 install-pdf-host: maybe-install-pdf-flex
1633 install-pdf-host: maybe-install-pdf-gas
1634 install-pdf-host: maybe-install-pdf-gcc
1635 install-pdf-host: maybe-install-pdf-gawk
1636 install-pdf-host: maybe-install-pdf-gettext
1637 install-pdf-host: maybe-install-pdf-gmp
1638 install-pdf-host: maybe-install-pdf-mpfr
1639 install-pdf-host: maybe-install-pdf-ppl
1640 install-pdf-host: maybe-install-pdf-cloog
1641 install-pdf-host: maybe-install-pdf-gnuserv
1642 install-pdf-host: maybe-install-pdf-gold
1643 install-pdf-host: maybe-install-pdf-gprof
1644 install-pdf-host: maybe-install-pdf-gzip
1645 install-pdf-host: maybe-install-pdf-hello
1646 install-pdf-host: maybe-install-pdf-indent
1647 install-pdf-host: maybe-install-pdf-intl
1648 install-pdf-host: maybe-install-pdf-tcl
1649 install-pdf-host: maybe-install-pdf-itcl
1650 install-pdf-host: maybe-install-pdf-ld
1651 install-pdf-host: maybe-install-pdf-libcpp
1652 install-pdf-host: maybe-install-pdf-libdecnumber
1653 install-pdf-host: maybe-install-pdf-libgui
1654 install-pdf-host: maybe-install-pdf-libiberty
1655 install-pdf-host: maybe-install-pdf-libtool
1656 install-pdf-host: maybe-install-pdf-m4
1657 install-pdf-host: maybe-install-pdf-make
1658 install-pdf-host: maybe-install-pdf-mmalloc
1659 install-pdf-host: maybe-install-pdf-patch
1660 install-pdf-host: maybe-install-pdf-perl
1661 install-pdf-host: maybe-install-pdf-prms
1662 install-pdf-host: maybe-install-pdf-rcs
1663 install-pdf-host: maybe-install-pdf-readline
1664 install-pdf-host: maybe-install-pdf-release
1665 install-pdf-host: maybe-install-pdf-recode
1666 install-pdf-host: maybe-install-pdf-sed
1667 install-pdf-host: maybe-install-pdf-send-pr
1668 install-pdf-host: maybe-install-pdf-shellutils
1669 install-pdf-host: maybe-install-pdf-sid
1670 install-pdf-host: maybe-install-pdf-sim
1671 install-pdf-host: maybe-install-pdf-tar
1672 install-pdf-host: maybe-install-pdf-texinfo
1673 install-pdf-host: maybe-install-pdf-textutils
1674 install-pdf-host: maybe-install-pdf-time
1675 install-pdf-host: maybe-install-pdf-uudecode
1676 install-pdf-host: maybe-install-pdf-wdiff
1677 install-pdf-host: maybe-install-pdf-zip
1678 install-pdf-host: maybe-install-pdf-zlib
1679 install-pdf-host: maybe-install-pdf-gdb
1680 install-pdf-host: maybe-install-pdf-expect
1681 install-pdf-host: maybe-install-pdf-guile
1682 install-pdf-host: maybe-install-pdf-tk
1683 install-pdf-host: maybe-install-pdf-libtermcap
1684 install-pdf-host: maybe-install-pdf-utils
1685 install-pdf-host: maybe-install-pdf-gnattools
1687 .PHONY: install-pdf-target
1689 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1690 install-pdf-target: maybe-install-pdf-target-libmudflap
1691 install-pdf-target: maybe-install-pdf-target-libssp
1692 install-pdf-target: maybe-install-pdf-target-newlib
1693 install-pdf-target: maybe-install-pdf-target-libgcc
1694 install-pdf-target: maybe-install-pdf-target-libgfortran
1695 install-pdf-target: maybe-install-pdf-target-libobjc
1696 install-pdf-target: maybe-install-pdf-target-libtermcap
1697 install-pdf-target: maybe-install-pdf-target-winsup
1698 install-pdf-target: maybe-install-pdf-target-libgloss
1699 install-pdf-target: maybe-install-pdf-target-libiberty
1700 install-pdf-target: maybe-install-pdf-target-gperf
1701 install-pdf-target: maybe-install-pdf-target-examples
1702 install-pdf-target: maybe-install-pdf-target-libffi
1703 install-pdf-target: maybe-install-pdf-target-libjava
1704 install-pdf-target: maybe-install-pdf-target-zlib
1705 install-pdf-target: maybe-install-pdf-target-boehm-gc
1706 install-pdf-target: maybe-install-pdf-target-qthreads
1707 install-pdf-target: maybe-install-pdf-target-rda
1708 install-pdf-target: maybe-install-pdf-target-libada
1709 install-pdf-target: maybe-install-pdf-target-libgomp
1711 .PHONY: do-install-html
1712 do-install-html:
1713 @: $(MAKE); $(unstage)
1714 @r=`${PWD_COMMAND}`; export r; \
1715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1716 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1717 install-html-target
1720 .PHONY: install-html-host
1722 install-html-host: maybe-install-html-ash
1723 install-html-host: maybe-install-html-autoconf
1724 install-html-host: maybe-install-html-automake
1725 install-html-host: maybe-install-html-bash
1726 install-html-host: maybe-install-html-bfd
1727 install-html-host: maybe-install-html-opcodes
1728 install-html-host: maybe-install-html-binutils
1729 install-html-host: maybe-install-html-bison
1730 install-html-host: maybe-install-html-byacc
1731 install-html-host: maybe-install-html-bzip2
1732 install-html-host: maybe-install-html-dejagnu
1733 install-html-host: maybe-install-html-diff
1734 install-html-host: maybe-install-html-dosutils
1735 install-html-host: maybe-install-html-etc
1736 install-html-host: maybe-install-html-fastjar
1737 install-html-host: maybe-install-html-fileutils
1738 install-html-host: maybe-install-html-findutils
1739 install-html-host: maybe-install-html-find
1740 install-html-host: maybe-install-html-fixincludes
1741 install-html-host: maybe-install-html-flex
1742 install-html-host: maybe-install-html-gas
1743 install-html-host: maybe-install-html-gcc
1744 install-html-host: maybe-install-html-gawk
1745 install-html-host: maybe-install-html-gettext
1746 install-html-host: maybe-install-html-gmp
1747 install-html-host: maybe-install-html-mpfr
1748 install-html-host: maybe-install-html-ppl
1749 install-html-host: maybe-install-html-cloog
1750 install-html-host: maybe-install-html-gnuserv
1751 install-html-host: maybe-install-html-gold
1752 install-html-host: maybe-install-html-gprof
1753 install-html-host: maybe-install-html-gzip
1754 install-html-host: maybe-install-html-hello
1755 install-html-host: maybe-install-html-indent
1756 install-html-host: maybe-install-html-intl
1757 install-html-host: maybe-install-html-tcl
1758 install-html-host: maybe-install-html-itcl
1759 install-html-host: maybe-install-html-ld
1760 install-html-host: maybe-install-html-libcpp
1761 install-html-host: maybe-install-html-libdecnumber
1762 install-html-host: maybe-install-html-libgui
1763 install-html-host: maybe-install-html-libiberty
1764 install-html-host: maybe-install-html-libtool
1765 install-html-host: maybe-install-html-m4
1766 install-html-host: maybe-install-html-make
1767 install-html-host: maybe-install-html-mmalloc
1768 install-html-host: maybe-install-html-patch
1769 install-html-host: maybe-install-html-perl
1770 install-html-host: maybe-install-html-prms
1771 install-html-host: maybe-install-html-rcs
1772 install-html-host: maybe-install-html-readline
1773 install-html-host: maybe-install-html-release
1774 install-html-host: maybe-install-html-recode
1775 install-html-host: maybe-install-html-sed
1776 install-html-host: maybe-install-html-send-pr
1777 install-html-host: maybe-install-html-shellutils
1778 install-html-host: maybe-install-html-sid
1779 install-html-host: maybe-install-html-sim
1780 install-html-host: maybe-install-html-tar
1781 install-html-host: maybe-install-html-texinfo
1782 install-html-host: maybe-install-html-textutils
1783 install-html-host: maybe-install-html-time
1784 install-html-host: maybe-install-html-uudecode
1785 install-html-host: maybe-install-html-wdiff
1786 install-html-host: maybe-install-html-zip
1787 install-html-host: maybe-install-html-zlib
1788 install-html-host: maybe-install-html-gdb
1789 install-html-host: maybe-install-html-expect
1790 install-html-host: maybe-install-html-guile
1791 install-html-host: maybe-install-html-tk
1792 install-html-host: maybe-install-html-libtermcap
1793 install-html-host: maybe-install-html-utils
1794 install-html-host: maybe-install-html-gnattools
1796 .PHONY: install-html-target
1798 install-html-target: maybe-install-html-target-libstdc++-v3
1799 install-html-target: maybe-install-html-target-libmudflap
1800 install-html-target: maybe-install-html-target-libssp
1801 install-html-target: maybe-install-html-target-newlib
1802 install-html-target: maybe-install-html-target-libgcc
1803 install-html-target: maybe-install-html-target-libgfortran
1804 install-html-target: maybe-install-html-target-libobjc
1805 install-html-target: maybe-install-html-target-libtermcap
1806 install-html-target: maybe-install-html-target-winsup
1807 install-html-target: maybe-install-html-target-libgloss
1808 install-html-target: maybe-install-html-target-libiberty
1809 install-html-target: maybe-install-html-target-gperf
1810 install-html-target: maybe-install-html-target-examples
1811 install-html-target: maybe-install-html-target-libffi
1812 install-html-target: maybe-install-html-target-libjava
1813 install-html-target: maybe-install-html-target-zlib
1814 install-html-target: maybe-install-html-target-boehm-gc
1815 install-html-target: maybe-install-html-target-qthreads
1816 install-html-target: maybe-install-html-target-rda
1817 install-html-target: maybe-install-html-target-libada
1818 install-html-target: maybe-install-html-target-libgomp
1820 .PHONY: do-installcheck
1821 do-installcheck:
1822 @: $(MAKE); $(unstage)
1823 @r=`${PWD_COMMAND}`; export r; \
1824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1825 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1826 installcheck-target
1829 .PHONY: installcheck-host
1831 installcheck-host: maybe-installcheck-ash
1832 installcheck-host: maybe-installcheck-autoconf
1833 installcheck-host: maybe-installcheck-automake
1834 installcheck-host: maybe-installcheck-bash
1835 installcheck-host: maybe-installcheck-bfd
1836 installcheck-host: maybe-installcheck-opcodes
1837 installcheck-host: maybe-installcheck-binutils
1838 installcheck-host: maybe-installcheck-bison
1839 installcheck-host: maybe-installcheck-byacc
1840 installcheck-host: maybe-installcheck-bzip2
1841 installcheck-host: maybe-installcheck-dejagnu
1842 installcheck-host: maybe-installcheck-diff
1843 installcheck-host: maybe-installcheck-dosutils
1844 installcheck-host: maybe-installcheck-etc
1845 installcheck-host: maybe-installcheck-fastjar
1846 installcheck-host: maybe-installcheck-fileutils
1847 installcheck-host: maybe-installcheck-findutils
1848 installcheck-host: maybe-installcheck-find
1849 installcheck-host: maybe-installcheck-fixincludes
1850 installcheck-host: maybe-installcheck-flex
1851 installcheck-host: maybe-installcheck-gas
1852 installcheck-host: maybe-installcheck-gcc
1853 installcheck-host: maybe-installcheck-gawk
1854 installcheck-host: maybe-installcheck-gettext
1855 installcheck-host: maybe-installcheck-gmp
1856 installcheck-host: maybe-installcheck-mpfr
1857 installcheck-host: maybe-installcheck-ppl
1858 installcheck-host: maybe-installcheck-cloog
1859 installcheck-host: maybe-installcheck-gnuserv
1860 installcheck-host: maybe-installcheck-gold
1861 installcheck-host: maybe-installcheck-gprof
1862 installcheck-host: maybe-installcheck-gzip
1863 installcheck-host: maybe-installcheck-hello
1864 installcheck-host: maybe-installcheck-indent
1865 installcheck-host: maybe-installcheck-intl
1866 installcheck-host: maybe-installcheck-tcl
1867 installcheck-host: maybe-installcheck-itcl
1868 installcheck-host: maybe-installcheck-ld
1869 installcheck-host: maybe-installcheck-libcpp
1870 installcheck-host: maybe-installcheck-libdecnumber
1871 installcheck-host: maybe-installcheck-libgui
1872 installcheck-host: maybe-installcheck-libiberty
1873 installcheck-host: maybe-installcheck-libtool
1874 installcheck-host: maybe-installcheck-m4
1875 installcheck-host: maybe-installcheck-make
1876 installcheck-host: maybe-installcheck-mmalloc
1877 installcheck-host: maybe-installcheck-patch
1878 installcheck-host: maybe-installcheck-perl
1879 installcheck-host: maybe-installcheck-prms
1880 installcheck-host: maybe-installcheck-rcs
1881 installcheck-host: maybe-installcheck-readline
1882 installcheck-host: maybe-installcheck-release
1883 installcheck-host: maybe-installcheck-recode
1884 installcheck-host: maybe-installcheck-sed
1885 installcheck-host: maybe-installcheck-send-pr
1886 installcheck-host: maybe-installcheck-shellutils
1887 installcheck-host: maybe-installcheck-sid
1888 installcheck-host: maybe-installcheck-sim
1889 installcheck-host: maybe-installcheck-tar
1890 installcheck-host: maybe-installcheck-texinfo
1891 installcheck-host: maybe-installcheck-textutils
1892 installcheck-host: maybe-installcheck-time
1893 installcheck-host: maybe-installcheck-uudecode
1894 installcheck-host: maybe-installcheck-wdiff
1895 installcheck-host: maybe-installcheck-zip
1896 installcheck-host: maybe-installcheck-zlib
1897 installcheck-host: maybe-installcheck-gdb
1898 installcheck-host: maybe-installcheck-expect
1899 installcheck-host: maybe-installcheck-guile
1900 installcheck-host: maybe-installcheck-tk
1901 installcheck-host: maybe-installcheck-libtermcap
1902 installcheck-host: maybe-installcheck-utils
1903 installcheck-host: maybe-installcheck-gnattools
1905 .PHONY: installcheck-target
1907 installcheck-target: maybe-installcheck-target-libstdc++-v3
1908 installcheck-target: maybe-installcheck-target-libmudflap
1909 installcheck-target: maybe-installcheck-target-libssp
1910 installcheck-target: maybe-installcheck-target-newlib
1911 installcheck-target: maybe-installcheck-target-libgcc
1912 installcheck-target: maybe-installcheck-target-libgfortran
1913 installcheck-target: maybe-installcheck-target-libobjc
1914 installcheck-target: maybe-installcheck-target-libtermcap
1915 installcheck-target: maybe-installcheck-target-winsup
1916 installcheck-target: maybe-installcheck-target-libgloss
1917 installcheck-target: maybe-installcheck-target-libiberty
1918 installcheck-target: maybe-installcheck-target-gperf
1919 installcheck-target: maybe-installcheck-target-examples
1920 installcheck-target: maybe-installcheck-target-libffi
1921 installcheck-target: maybe-installcheck-target-libjava
1922 installcheck-target: maybe-installcheck-target-zlib
1923 installcheck-target: maybe-installcheck-target-boehm-gc
1924 installcheck-target: maybe-installcheck-target-qthreads
1925 installcheck-target: maybe-installcheck-target-rda
1926 installcheck-target: maybe-installcheck-target-libada
1927 installcheck-target: maybe-installcheck-target-libgomp
1929 .PHONY: do-mostlyclean
1930 do-mostlyclean:
1931 @: $(MAKE); $(unstage)
1932 @r=`${PWD_COMMAND}`; export r; \
1933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1934 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1935 mostlyclean-target
1938 .PHONY: mostlyclean-host
1940 mostlyclean-host: maybe-mostlyclean-ash
1941 mostlyclean-host: maybe-mostlyclean-autoconf
1942 mostlyclean-host: maybe-mostlyclean-automake
1943 mostlyclean-host: maybe-mostlyclean-bash
1944 mostlyclean-host: maybe-mostlyclean-bfd
1945 mostlyclean-host: maybe-mostlyclean-opcodes
1946 mostlyclean-host: maybe-mostlyclean-binutils
1947 mostlyclean-host: maybe-mostlyclean-bison
1948 mostlyclean-host: maybe-mostlyclean-byacc
1949 mostlyclean-host: maybe-mostlyclean-bzip2
1950 mostlyclean-host: maybe-mostlyclean-dejagnu
1951 mostlyclean-host: maybe-mostlyclean-diff
1952 mostlyclean-host: maybe-mostlyclean-dosutils
1953 mostlyclean-host: maybe-mostlyclean-etc
1954 mostlyclean-host: maybe-mostlyclean-fastjar
1955 mostlyclean-host: maybe-mostlyclean-fileutils
1956 mostlyclean-host: maybe-mostlyclean-findutils
1957 mostlyclean-host: maybe-mostlyclean-find
1958 mostlyclean-host: maybe-mostlyclean-fixincludes
1959 mostlyclean-host: maybe-mostlyclean-flex
1960 mostlyclean-host: maybe-mostlyclean-gas
1961 mostlyclean-host: maybe-mostlyclean-gcc
1962 mostlyclean-host: maybe-mostlyclean-gawk
1963 mostlyclean-host: maybe-mostlyclean-gettext
1964 mostlyclean-host: maybe-mostlyclean-gmp
1965 mostlyclean-host: maybe-mostlyclean-mpfr
1966 mostlyclean-host: maybe-mostlyclean-ppl
1967 mostlyclean-host: maybe-mostlyclean-cloog
1968 mostlyclean-host: maybe-mostlyclean-gnuserv
1969 mostlyclean-host: maybe-mostlyclean-gold
1970 mostlyclean-host: maybe-mostlyclean-gprof
1971 mostlyclean-host: maybe-mostlyclean-gzip
1972 mostlyclean-host: maybe-mostlyclean-hello
1973 mostlyclean-host: maybe-mostlyclean-indent
1974 mostlyclean-host: maybe-mostlyclean-intl
1975 mostlyclean-host: maybe-mostlyclean-tcl
1976 mostlyclean-host: maybe-mostlyclean-itcl
1977 mostlyclean-host: maybe-mostlyclean-ld
1978 mostlyclean-host: maybe-mostlyclean-libcpp
1979 mostlyclean-host: maybe-mostlyclean-libdecnumber
1980 mostlyclean-host: maybe-mostlyclean-libgui
1981 mostlyclean-host: maybe-mostlyclean-libiberty
1982 mostlyclean-host: maybe-mostlyclean-libtool
1983 mostlyclean-host: maybe-mostlyclean-m4
1984 mostlyclean-host: maybe-mostlyclean-make
1985 mostlyclean-host: maybe-mostlyclean-mmalloc
1986 mostlyclean-host: maybe-mostlyclean-patch
1987 mostlyclean-host: maybe-mostlyclean-perl
1988 mostlyclean-host: maybe-mostlyclean-prms
1989 mostlyclean-host: maybe-mostlyclean-rcs
1990 mostlyclean-host: maybe-mostlyclean-readline
1991 mostlyclean-host: maybe-mostlyclean-release
1992 mostlyclean-host: maybe-mostlyclean-recode
1993 mostlyclean-host: maybe-mostlyclean-sed
1994 mostlyclean-host: maybe-mostlyclean-send-pr
1995 mostlyclean-host: maybe-mostlyclean-shellutils
1996 mostlyclean-host: maybe-mostlyclean-sid
1997 mostlyclean-host: maybe-mostlyclean-sim
1998 mostlyclean-host: maybe-mostlyclean-tar
1999 mostlyclean-host: maybe-mostlyclean-texinfo
2000 mostlyclean-host: maybe-mostlyclean-textutils
2001 mostlyclean-host: maybe-mostlyclean-time
2002 mostlyclean-host: maybe-mostlyclean-uudecode
2003 mostlyclean-host: maybe-mostlyclean-wdiff
2004 mostlyclean-host: maybe-mostlyclean-zip
2005 mostlyclean-host: maybe-mostlyclean-zlib
2006 mostlyclean-host: maybe-mostlyclean-gdb
2007 mostlyclean-host: maybe-mostlyclean-expect
2008 mostlyclean-host: maybe-mostlyclean-guile
2009 mostlyclean-host: maybe-mostlyclean-tk
2010 mostlyclean-host: maybe-mostlyclean-libtermcap
2011 mostlyclean-host: maybe-mostlyclean-utils
2012 mostlyclean-host: maybe-mostlyclean-gnattools
2014 .PHONY: mostlyclean-target
2016 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2017 mostlyclean-target: maybe-mostlyclean-target-libmudflap
2018 mostlyclean-target: maybe-mostlyclean-target-libssp
2019 mostlyclean-target: maybe-mostlyclean-target-newlib
2020 mostlyclean-target: maybe-mostlyclean-target-libgcc
2021 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2022 mostlyclean-target: maybe-mostlyclean-target-libobjc
2023 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2024 mostlyclean-target: maybe-mostlyclean-target-winsup
2025 mostlyclean-target: maybe-mostlyclean-target-libgloss
2026 mostlyclean-target: maybe-mostlyclean-target-libiberty
2027 mostlyclean-target: maybe-mostlyclean-target-gperf
2028 mostlyclean-target: maybe-mostlyclean-target-examples
2029 mostlyclean-target: maybe-mostlyclean-target-libffi
2030 mostlyclean-target: maybe-mostlyclean-target-libjava
2031 mostlyclean-target: maybe-mostlyclean-target-zlib
2032 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2033 mostlyclean-target: maybe-mostlyclean-target-qthreads
2034 mostlyclean-target: maybe-mostlyclean-target-rda
2035 mostlyclean-target: maybe-mostlyclean-target-libada
2036 mostlyclean-target: maybe-mostlyclean-target-libgomp
2038 .PHONY: do-clean
2039 do-clean:
2040 @: $(MAKE); $(unstage)
2041 @r=`${PWD_COMMAND}`; export r; \
2042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2043 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2044 clean-target
2047 .PHONY: clean-host
2049 clean-host: maybe-clean-ash
2050 clean-host: maybe-clean-autoconf
2051 clean-host: maybe-clean-automake
2052 clean-host: maybe-clean-bash
2053 clean-host: maybe-clean-bfd
2054 clean-host: maybe-clean-opcodes
2055 clean-host: maybe-clean-binutils
2056 clean-host: maybe-clean-bison
2057 clean-host: maybe-clean-byacc
2058 clean-host: maybe-clean-bzip2
2059 clean-host: maybe-clean-dejagnu
2060 clean-host: maybe-clean-diff
2061 clean-host: maybe-clean-dosutils
2062 clean-host: maybe-clean-etc
2063 clean-host: maybe-clean-fastjar
2064 clean-host: maybe-clean-fileutils
2065 clean-host: maybe-clean-findutils
2066 clean-host: maybe-clean-find
2067 clean-host: maybe-clean-fixincludes
2068 clean-host: maybe-clean-flex
2069 clean-host: maybe-clean-gas
2070 clean-host: maybe-clean-gcc
2071 clean-host: maybe-clean-gawk
2072 clean-host: maybe-clean-gettext
2073 clean-host: maybe-clean-gmp
2074 clean-host: maybe-clean-mpfr
2075 clean-host: maybe-clean-ppl
2076 clean-host: maybe-clean-cloog
2077 clean-host: maybe-clean-gnuserv
2078 clean-host: maybe-clean-gold
2079 clean-host: maybe-clean-gprof
2080 clean-host: maybe-clean-gzip
2081 clean-host: maybe-clean-hello
2082 clean-host: maybe-clean-indent
2083 clean-host: maybe-clean-intl
2084 clean-host: maybe-clean-tcl
2085 clean-host: maybe-clean-itcl
2086 clean-host: maybe-clean-ld
2087 clean-host: maybe-clean-libcpp
2088 clean-host: maybe-clean-libdecnumber
2089 clean-host: maybe-clean-libgui
2090 clean-host: maybe-clean-libiberty
2091 clean-host: maybe-clean-libtool
2092 clean-host: maybe-clean-m4
2093 clean-host: maybe-clean-make
2094 clean-host: maybe-clean-mmalloc
2095 clean-host: maybe-clean-patch
2096 clean-host: maybe-clean-perl
2097 clean-host: maybe-clean-prms
2098 clean-host: maybe-clean-rcs
2099 clean-host: maybe-clean-readline
2100 clean-host: maybe-clean-release
2101 clean-host: maybe-clean-recode
2102 clean-host: maybe-clean-sed
2103 clean-host: maybe-clean-send-pr
2104 clean-host: maybe-clean-shellutils
2105 clean-host: maybe-clean-sid
2106 clean-host: maybe-clean-sim
2107 clean-host: maybe-clean-tar
2108 clean-host: maybe-clean-texinfo
2109 clean-host: maybe-clean-textutils
2110 clean-host: maybe-clean-time
2111 clean-host: maybe-clean-uudecode
2112 clean-host: maybe-clean-wdiff
2113 clean-host: maybe-clean-zip
2114 clean-host: maybe-clean-zlib
2115 clean-host: maybe-clean-gdb
2116 clean-host: maybe-clean-expect
2117 clean-host: maybe-clean-guile
2118 clean-host: maybe-clean-tk
2119 clean-host: maybe-clean-libtermcap
2120 clean-host: maybe-clean-utils
2121 clean-host: maybe-clean-gnattools
2123 .PHONY: clean-target
2125 clean-target: maybe-clean-target-libstdc++-v3
2126 clean-target: maybe-clean-target-libmudflap
2127 clean-target: maybe-clean-target-libssp
2128 clean-target: maybe-clean-target-newlib
2129 clean-target: maybe-clean-target-libgcc
2130 clean-target: maybe-clean-target-libgfortran
2131 clean-target: maybe-clean-target-libobjc
2132 clean-target: maybe-clean-target-libtermcap
2133 clean-target: maybe-clean-target-winsup
2134 clean-target: maybe-clean-target-libgloss
2135 clean-target: maybe-clean-target-libiberty
2136 clean-target: maybe-clean-target-gperf
2137 clean-target: maybe-clean-target-examples
2138 clean-target: maybe-clean-target-libffi
2139 clean-target: maybe-clean-target-libjava
2140 clean-target: maybe-clean-target-zlib
2141 clean-target: maybe-clean-target-boehm-gc
2142 clean-target: maybe-clean-target-qthreads
2143 clean-target: maybe-clean-target-rda
2144 clean-target: maybe-clean-target-libada
2145 clean-target: maybe-clean-target-libgomp
2147 .PHONY: do-distclean
2148 do-distclean:
2149 @: $(MAKE); $(unstage)
2150 @r=`${PWD_COMMAND}`; export r; \
2151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2152 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2153 distclean-target
2156 .PHONY: distclean-host
2158 distclean-host: maybe-distclean-ash
2159 distclean-host: maybe-distclean-autoconf
2160 distclean-host: maybe-distclean-automake
2161 distclean-host: maybe-distclean-bash
2162 distclean-host: maybe-distclean-bfd
2163 distclean-host: maybe-distclean-opcodes
2164 distclean-host: maybe-distclean-binutils
2165 distclean-host: maybe-distclean-bison
2166 distclean-host: maybe-distclean-byacc
2167 distclean-host: maybe-distclean-bzip2
2168 distclean-host: maybe-distclean-dejagnu
2169 distclean-host: maybe-distclean-diff
2170 distclean-host: maybe-distclean-dosutils
2171 distclean-host: maybe-distclean-etc
2172 distclean-host: maybe-distclean-fastjar
2173 distclean-host: maybe-distclean-fileutils
2174 distclean-host: maybe-distclean-findutils
2175 distclean-host: maybe-distclean-find
2176 distclean-host: maybe-distclean-fixincludes
2177 distclean-host: maybe-distclean-flex
2178 distclean-host: maybe-distclean-gas
2179 distclean-host: maybe-distclean-gcc
2180 distclean-host: maybe-distclean-gawk
2181 distclean-host: maybe-distclean-gettext
2182 distclean-host: maybe-distclean-gmp
2183 distclean-host: maybe-distclean-mpfr
2184 distclean-host: maybe-distclean-ppl
2185 distclean-host: maybe-distclean-cloog
2186 distclean-host: maybe-distclean-gnuserv
2187 distclean-host: maybe-distclean-gold
2188 distclean-host: maybe-distclean-gprof
2189 distclean-host: maybe-distclean-gzip
2190 distclean-host: maybe-distclean-hello
2191 distclean-host: maybe-distclean-indent
2192 distclean-host: maybe-distclean-intl
2193 distclean-host: maybe-distclean-tcl
2194 distclean-host: maybe-distclean-itcl
2195 distclean-host: maybe-distclean-ld
2196 distclean-host: maybe-distclean-libcpp
2197 distclean-host: maybe-distclean-libdecnumber
2198 distclean-host: maybe-distclean-libgui
2199 distclean-host: maybe-distclean-libiberty
2200 distclean-host: maybe-distclean-libtool
2201 distclean-host: maybe-distclean-m4
2202 distclean-host: maybe-distclean-make
2203 distclean-host: maybe-distclean-mmalloc
2204 distclean-host: maybe-distclean-patch
2205 distclean-host: maybe-distclean-perl
2206 distclean-host: maybe-distclean-prms
2207 distclean-host: maybe-distclean-rcs
2208 distclean-host: maybe-distclean-readline
2209 distclean-host: maybe-distclean-release
2210 distclean-host: maybe-distclean-recode
2211 distclean-host: maybe-distclean-sed
2212 distclean-host: maybe-distclean-send-pr
2213 distclean-host: maybe-distclean-shellutils
2214 distclean-host: maybe-distclean-sid
2215 distclean-host: maybe-distclean-sim
2216 distclean-host: maybe-distclean-tar
2217 distclean-host: maybe-distclean-texinfo
2218 distclean-host: maybe-distclean-textutils
2219 distclean-host: maybe-distclean-time
2220 distclean-host: maybe-distclean-uudecode
2221 distclean-host: maybe-distclean-wdiff
2222 distclean-host: maybe-distclean-zip
2223 distclean-host: maybe-distclean-zlib
2224 distclean-host: maybe-distclean-gdb
2225 distclean-host: maybe-distclean-expect
2226 distclean-host: maybe-distclean-guile
2227 distclean-host: maybe-distclean-tk
2228 distclean-host: maybe-distclean-libtermcap
2229 distclean-host: maybe-distclean-utils
2230 distclean-host: maybe-distclean-gnattools
2232 .PHONY: distclean-target
2234 distclean-target: maybe-distclean-target-libstdc++-v3
2235 distclean-target: maybe-distclean-target-libmudflap
2236 distclean-target: maybe-distclean-target-libssp
2237 distclean-target: maybe-distclean-target-newlib
2238 distclean-target: maybe-distclean-target-libgcc
2239 distclean-target: maybe-distclean-target-libgfortran
2240 distclean-target: maybe-distclean-target-libobjc
2241 distclean-target: maybe-distclean-target-libtermcap
2242 distclean-target: maybe-distclean-target-winsup
2243 distclean-target: maybe-distclean-target-libgloss
2244 distclean-target: maybe-distclean-target-libiberty
2245 distclean-target: maybe-distclean-target-gperf
2246 distclean-target: maybe-distclean-target-examples
2247 distclean-target: maybe-distclean-target-libffi
2248 distclean-target: maybe-distclean-target-libjava
2249 distclean-target: maybe-distclean-target-zlib
2250 distclean-target: maybe-distclean-target-boehm-gc
2251 distclean-target: maybe-distclean-target-qthreads
2252 distclean-target: maybe-distclean-target-rda
2253 distclean-target: maybe-distclean-target-libada
2254 distclean-target: maybe-distclean-target-libgomp
2256 .PHONY: do-maintainer-clean
2257 do-maintainer-clean:
2258 @: $(MAKE); $(unstage)
2259 @r=`${PWD_COMMAND}`; export r; \
2260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2261 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2262 maintainer-clean-target
2265 .PHONY: maintainer-clean-host
2267 maintainer-clean-host: maybe-maintainer-clean-ash
2268 maintainer-clean-host: maybe-maintainer-clean-autoconf
2269 maintainer-clean-host: maybe-maintainer-clean-automake
2270 maintainer-clean-host: maybe-maintainer-clean-bash
2271 maintainer-clean-host: maybe-maintainer-clean-bfd
2272 maintainer-clean-host: maybe-maintainer-clean-opcodes
2273 maintainer-clean-host: maybe-maintainer-clean-binutils
2274 maintainer-clean-host: maybe-maintainer-clean-bison
2275 maintainer-clean-host: maybe-maintainer-clean-byacc
2276 maintainer-clean-host: maybe-maintainer-clean-bzip2
2277 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2278 maintainer-clean-host: maybe-maintainer-clean-diff
2279 maintainer-clean-host: maybe-maintainer-clean-dosutils
2280 maintainer-clean-host: maybe-maintainer-clean-etc
2281 maintainer-clean-host: maybe-maintainer-clean-fastjar
2282 maintainer-clean-host: maybe-maintainer-clean-fileutils
2283 maintainer-clean-host: maybe-maintainer-clean-findutils
2284 maintainer-clean-host: maybe-maintainer-clean-find
2285 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2286 maintainer-clean-host: maybe-maintainer-clean-flex
2287 maintainer-clean-host: maybe-maintainer-clean-gas
2288 maintainer-clean-host: maybe-maintainer-clean-gcc
2289 maintainer-clean-host: maybe-maintainer-clean-gawk
2290 maintainer-clean-host: maybe-maintainer-clean-gettext
2291 maintainer-clean-host: maybe-maintainer-clean-gmp
2292 maintainer-clean-host: maybe-maintainer-clean-mpfr
2293 maintainer-clean-host: maybe-maintainer-clean-ppl
2294 maintainer-clean-host: maybe-maintainer-clean-cloog
2295 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2296 maintainer-clean-host: maybe-maintainer-clean-gold
2297 maintainer-clean-host: maybe-maintainer-clean-gprof
2298 maintainer-clean-host: maybe-maintainer-clean-gzip
2299 maintainer-clean-host: maybe-maintainer-clean-hello
2300 maintainer-clean-host: maybe-maintainer-clean-indent
2301 maintainer-clean-host: maybe-maintainer-clean-intl
2302 maintainer-clean-host: maybe-maintainer-clean-tcl
2303 maintainer-clean-host: maybe-maintainer-clean-itcl
2304 maintainer-clean-host: maybe-maintainer-clean-ld
2305 maintainer-clean-host: maybe-maintainer-clean-libcpp
2306 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2307 maintainer-clean-host: maybe-maintainer-clean-libgui
2308 maintainer-clean-host: maybe-maintainer-clean-libiberty
2309 maintainer-clean-host: maybe-maintainer-clean-libtool
2310 maintainer-clean-host: maybe-maintainer-clean-m4
2311 maintainer-clean-host: maybe-maintainer-clean-make
2312 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2313 maintainer-clean-host: maybe-maintainer-clean-patch
2314 maintainer-clean-host: maybe-maintainer-clean-perl
2315 maintainer-clean-host: maybe-maintainer-clean-prms
2316 maintainer-clean-host: maybe-maintainer-clean-rcs
2317 maintainer-clean-host: maybe-maintainer-clean-readline
2318 maintainer-clean-host: maybe-maintainer-clean-release
2319 maintainer-clean-host: maybe-maintainer-clean-recode
2320 maintainer-clean-host: maybe-maintainer-clean-sed
2321 maintainer-clean-host: maybe-maintainer-clean-send-pr
2322 maintainer-clean-host: maybe-maintainer-clean-shellutils
2323 maintainer-clean-host: maybe-maintainer-clean-sid
2324 maintainer-clean-host: maybe-maintainer-clean-sim
2325 maintainer-clean-host: maybe-maintainer-clean-tar
2326 maintainer-clean-host: maybe-maintainer-clean-texinfo
2327 maintainer-clean-host: maybe-maintainer-clean-textutils
2328 maintainer-clean-host: maybe-maintainer-clean-time
2329 maintainer-clean-host: maybe-maintainer-clean-uudecode
2330 maintainer-clean-host: maybe-maintainer-clean-wdiff
2331 maintainer-clean-host: maybe-maintainer-clean-zip
2332 maintainer-clean-host: maybe-maintainer-clean-zlib
2333 maintainer-clean-host: maybe-maintainer-clean-gdb
2334 maintainer-clean-host: maybe-maintainer-clean-expect
2335 maintainer-clean-host: maybe-maintainer-clean-guile
2336 maintainer-clean-host: maybe-maintainer-clean-tk
2337 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2338 maintainer-clean-host: maybe-maintainer-clean-utils
2339 maintainer-clean-host: maybe-maintainer-clean-gnattools
2341 .PHONY: maintainer-clean-target
2343 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2344 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2345 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2346 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2347 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2348 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2349 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2350 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2351 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2352 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2353 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2354 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2355 maintainer-clean-target: maybe-maintainer-clean-target-examples
2356 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2357 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2358 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2359 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2360 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2361 maintainer-clean-target: maybe-maintainer-clean-target-rda
2362 maintainer-clean-target: maybe-maintainer-clean-target-libada
2363 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2366 # Here are the targets which correspond to the do-X targets.
2368 .PHONY: info installcheck dvi pdf html
2369 .PHONY: install-info install-pdf install-html
2370 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2371 .PHONY: local-clean local-distclean local-maintainer-clean
2372 info: do-info
2373 installcheck: do-installcheck
2374 dvi: do-dvi
2375 pdf: do-pdf
2376 html: do-html
2378 # Make sure makeinfo is built before we do a `make info', if we're
2379 # in fact building texinfo.
2380 do-info: maybe-all-texinfo
2382 install-info: do-install-info dir.info
2383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2384 if [ -f dir.info ] ; then \
2385 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2386 else true ; fi
2388 install-pdf: do-install-pdf
2390 install-html: do-install-html
2392 local-clean:
2393 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2395 local-distclean:
2396 -rm -f Makefile config.status config.cache mh-frag mt-frag
2397 -rm -f maybedep.tmp serdep.tmp
2398 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2399 rm -rf $(TARGET_SUBDIR); \
2400 else true; fi
2401 -rm -rf $(BUILD_SUBDIR)
2402 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2403 rm -rf $(HOST_SUBDIR); \
2404 else true; fi
2405 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2406 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2407 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2408 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2409 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2411 local-maintainer-clean:
2412 @echo "This command is intended for maintainers to use;"
2413 @echo "it deletes files that may require special tools to rebuild."
2415 clean: do-clean local-clean
2416 mostlyclean: do-mostlyclean local-clean
2417 distclean: do-distclean local-clean local-distclean
2418 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2419 maintainer-clean: local-distclean
2420 realclean: maintainer-clean
2422 # Check target.
2424 .PHONY: check do-check
2425 check: do-check
2427 # Only include modules actually being configured and built.
2428 .PHONY: check-host
2429 check-host: \
2430 maybe-check-ash \
2431 maybe-check-autoconf \
2432 maybe-check-automake \
2433 maybe-check-bash \
2434 maybe-check-bfd \
2435 maybe-check-opcodes \
2436 maybe-check-binutils \
2437 maybe-check-bison \
2438 maybe-check-byacc \
2439 maybe-check-bzip2 \
2440 maybe-check-dejagnu \
2441 maybe-check-diff \
2442 maybe-check-dosutils \
2443 maybe-check-etc \
2444 maybe-check-fastjar \
2445 maybe-check-fileutils \
2446 maybe-check-findutils \
2447 maybe-check-find \
2448 maybe-check-fixincludes \
2449 maybe-check-flex \
2450 maybe-check-gas \
2451 maybe-check-gcc \
2452 maybe-check-gawk \
2453 maybe-check-gettext \
2454 maybe-check-gmp \
2455 maybe-check-mpfr \
2456 maybe-check-ppl \
2457 maybe-check-cloog \
2458 maybe-check-gnuserv \
2459 maybe-check-gold \
2460 maybe-check-gprof \
2461 maybe-check-gzip \
2462 maybe-check-hello \
2463 maybe-check-indent \
2464 maybe-check-intl \
2465 maybe-check-tcl \
2466 maybe-check-itcl \
2467 maybe-check-ld \
2468 maybe-check-libcpp \
2469 maybe-check-libdecnumber \
2470 maybe-check-libgui \
2471 maybe-check-libiberty \
2472 maybe-check-libtool \
2473 maybe-check-m4 \
2474 maybe-check-make \
2475 maybe-check-mmalloc \
2476 maybe-check-patch \
2477 maybe-check-perl \
2478 maybe-check-prms \
2479 maybe-check-rcs \
2480 maybe-check-readline \
2481 maybe-check-release \
2482 maybe-check-recode \
2483 maybe-check-sed \
2484 maybe-check-send-pr \
2485 maybe-check-shellutils \
2486 maybe-check-sid \
2487 maybe-check-sim \
2488 maybe-check-tar \
2489 maybe-check-texinfo \
2490 maybe-check-textutils \
2491 maybe-check-time \
2492 maybe-check-uudecode \
2493 maybe-check-wdiff \
2494 maybe-check-zip \
2495 maybe-check-zlib \
2496 maybe-check-gdb \
2497 maybe-check-expect \
2498 maybe-check-guile \
2499 maybe-check-tk \
2500 maybe-check-libtermcap \
2501 maybe-check-utils \
2502 maybe-check-gnattools
2504 .PHONY: check-target
2505 check-target: \
2506 maybe-check-target-libstdc++-v3 \
2507 maybe-check-target-libmudflap \
2508 maybe-check-target-libssp \
2509 maybe-check-target-newlib \
2510 maybe-check-target-libgcc \
2511 maybe-check-target-libgfortran \
2512 maybe-check-target-libobjc \
2513 maybe-check-target-libtermcap \
2514 maybe-check-target-winsup \
2515 maybe-check-target-libgloss \
2516 maybe-check-target-libiberty \
2517 maybe-check-target-gperf \
2518 maybe-check-target-examples \
2519 maybe-check-target-libffi \
2520 maybe-check-target-libjava \
2521 maybe-check-target-zlib \
2522 maybe-check-target-boehm-gc \
2523 maybe-check-target-qthreads \
2524 maybe-check-target-rda \
2525 maybe-check-target-libada \
2526 maybe-check-target-libgomp
2528 do-check:
2529 @: $(MAKE); $(unstage)
2530 @r=`${PWD_COMMAND}`; export r; \
2531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2532 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2534 # Automated reporting of test results.
2536 warning.log: build.log
2537 $(srcdir)/contrib/warn_summary build.log > $@
2539 mail-report.log:
2540 if test x'$(BOOT_CFLAGS)' != x''; then \
2541 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2542 fi; \
2543 $(srcdir)/contrib/test_summary -t >$@
2544 chmod +x $@
2545 echo If you really want to send e-mail, run ./$@ now
2547 mail-report-with-warnings.log: warning.log
2548 if test x'$(BOOT_CFLAGS)' != x''; then \
2549 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2550 fi; \
2551 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2552 chmod +x $@
2553 echo If you really want to send e-mail, run ./$@ now
2555 # Installation targets.
2557 .PHONY: install uninstall
2558 install:
2559 @: $(MAKE); $(unstage)
2560 @r=`${PWD_COMMAND}`; export r; \
2561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2562 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2564 .PHONY: install-host-nogcc
2565 install-host-nogcc: \
2566 maybe-install-ash \
2567 maybe-install-autoconf \
2568 maybe-install-automake \
2569 maybe-install-bash \
2570 maybe-install-bfd \
2571 maybe-install-opcodes \
2572 maybe-install-binutils \
2573 maybe-install-bison \
2574 maybe-install-byacc \
2575 maybe-install-bzip2 \
2576 maybe-install-dejagnu \
2577 maybe-install-diff \
2578 maybe-install-dosutils \
2579 maybe-install-etc \
2580 maybe-install-fastjar \
2581 maybe-install-fileutils \
2582 maybe-install-findutils \
2583 maybe-install-find \
2584 maybe-install-fixincludes \
2585 maybe-install-flex \
2586 maybe-install-gas \
2587 maybe-install-gawk \
2588 maybe-install-gettext \
2589 maybe-install-gmp \
2590 maybe-install-mpfr \
2591 maybe-install-ppl \
2592 maybe-install-cloog \
2593 maybe-install-gnuserv \
2594 maybe-install-gold \
2595 maybe-install-gprof \
2596 maybe-install-gzip \
2597 maybe-install-hello \
2598 maybe-install-indent \
2599 maybe-install-intl \
2600 maybe-install-tcl \
2601 maybe-install-itcl \
2602 maybe-install-ld \
2603 maybe-install-libcpp \
2604 maybe-install-libdecnumber \
2605 maybe-install-libgui \
2606 maybe-install-libiberty \
2607 maybe-install-libtool \
2608 maybe-install-m4 \
2609 maybe-install-make \
2610 maybe-install-mmalloc \
2611 maybe-install-patch \
2612 maybe-install-perl \
2613 maybe-install-prms \
2614 maybe-install-rcs \
2615 maybe-install-readline \
2616 maybe-install-release \
2617 maybe-install-recode \
2618 maybe-install-sed \
2619 maybe-install-send-pr \
2620 maybe-install-shellutils \
2621 maybe-install-sid \
2622 maybe-install-sim \
2623 maybe-install-tar \
2624 maybe-install-texinfo \
2625 maybe-install-textutils \
2626 maybe-install-time \
2627 maybe-install-uudecode \
2628 maybe-install-wdiff \
2629 maybe-install-zip \
2630 maybe-install-zlib \
2631 maybe-install-gdb \
2632 maybe-install-expect \
2633 maybe-install-guile \
2634 maybe-install-tk \
2635 maybe-install-libtermcap \
2636 maybe-install-utils \
2637 maybe-install-gnattools
2639 .PHONY: install-host
2640 install-host: \
2641 maybe-install-ash \
2642 maybe-install-autoconf \
2643 maybe-install-automake \
2644 maybe-install-bash \
2645 maybe-install-bfd \
2646 maybe-install-opcodes \
2647 maybe-install-binutils \
2648 maybe-install-bison \
2649 maybe-install-byacc \
2650 maybe-install-bzip2 \
2651 maybe-install-dejagnu \
2652 maybe-install-diff \
2653 maybe-install-dosutils \
2654 maybe-install-etc \
2655 maybe-install-fastjar \
2656 maybe-install-fileutils \
2657 maybe-install-findutils \
2658 maybe-install-find \
2659 maybe-install-fixincludes \
2660 maybe-install-flex \
2661 maybe-install-gas \
2662 maybe-install-gcc \
2663 maybe-install-gawk \
2664 maybe-install-gettext \
2665 maybe-install-gmp \
2666 maybe-install-mpfr \
2667 maybe-install-ppl \
2668 maybe-install-cloog \
2669 maybe-install-gnuserv \
2670 maybe-install-gold \
2671 maybe-install-gprof \
2672 maybe-install-gzip \
2673 maybe-install-hello \
2674 maybe-install-indent \
2675 maybe-install-intl \
2676 maybe-install-tcl \
2677 maybe-install-itcl \
2678 maybe-install-ld \
2679 maybe-install-libcpp \
2680 maybe-install-libdecnumber \
2681 maybe-install-libgui \
2682 maybe-install-libiberty \
2683 maybe-install-libtool \
2684 maybe-install-m4 \
2685 maybe-install-make \
2686 maybe-install-mmalloc \
2687 maybe-install-patch \
2688 maybe-install-perl \
2689 maybe-install-prms \
2690 maybe-install-rcs \
2691 maybe-install-readline \
2692 maybe-install-release \
2693 maybe-install-recode \
2694 maybe-install-sed \
2695 maybe-install-send-pr \
2696 maybe-install-shellutils \
2697 maybe-install-sid \
2698 maybe-install-sim \
2699 maybe-install-tar \
2700 maybe-install-texinfo \
2701 maybe-install-textutils \
2702 maybe-install-time \
2703 maybe-install-uudecode \
2704 maybe-install-wdiff \
2705 maybe-install-zip \
2706 maybe-install-zlib \
2707 maybe-install-gdb \
2708 maybe-install-expect \
2709 maybe-install-guile \
2710 maybe-install-tk \
2711 maybe-install-libtermcap \
2712 maybe-install-utils \
2713 maybe-install-gnattools
2715 .PHONY: install-target
2716 install-target: \
2717 maybe-install-target-libstdc++-v3 \
2718 maybe-install-target-libmudflap \
2719 maybe-install-target-libssp \
2720 maybe-install-target-newlib \
2721 maybe-install-target-libgcc \
2722 maybe-install-target-libgfortran \
2723 maybe-install-target-libobjc \
2724 maybe-install-target-libtermcap \
2725 maybe-install-target-winsup \
2726 maybe-install-target-libgloss \
2727 maybe-install-target-libiberty \
2728 maybe-install-target-gperf \
2729 maybe-install-target-examples \
2730 maybe-install-target-libffi \
2731 maybe-install-target-libjava \
2732 maybe-install-target-zlib \
2733 maybe-install-target-boehm-gc \
2734 maybe-install-target-qthreads \
2735 maybe-install-target-rda \
2736 maybe-install-target-libada \
2737 maybe-install-target-libgomp
2739 uninstall:
2740 @echo "the uninstall target is not supported in this tree"
2742 .PHONY: install.all
2743 install.all: install-no-fixedincludes
2744 @if [ -f ./gcc/Makefile ] ; then \
2745 r=`${PWD_COMMAND}` ; export r ; \
2746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2747 $(HOST_EXPORTS) \
2748 (cd ./gcc && \
2749 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2750 else \
2751 true ; \
2754 # install-no-fixedincludes is used because Cygnus can not distribute
2755 # the fixed header files.
2756 .PHONY: install-no-fixedincludes
2757 install-no-fixedincludes: installdirs install-host-nogcc \
2758 install-target gcc-no-fixedincludes
2760 ### other supporting targets
2762 MAKEDIRS= \
2763 $(DESTDIR)$(prefix) \
2764 $(DESTDIR)$(exec_prefix)
2765 .PHONY: installdirs
2766 installdirs: mkinstalldirs
2767 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2769 dir.info: do-install-info
2770 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2771 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2772 mv -f dir.info.new dir.info ; \
2773 else true ; \
2776 dist:
2777 @echo "Building a full distribution of this tree isn't done"
2778 @echo "via 'make dist'. Check out the etc/ subdirectory"
2780 etags tags: TAGS
2782 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2783 # ability to use several tags files at once, so there is probably no need
2784 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2785 # (if we felt like it) have this Makefile write a piece of elisp which
2786 # the user could load to tell emacs19 where all the TAGS files we just
2787 # built are.
2788 TAGS: do-TAGS
2790 # ------------------------------------
2791 # Macros for configure and all targets
2792 # ------------------------------------
2798 # --------------------------------------
2799 # Modules which run on the build machine
2800 # --------------------------------------
2803 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2804 maybe-configure-build-libiberty:
2805 @if gcc-bootstrap
2806 configure-build-libiberty: stage_current
2807 @endif gcc-bootstrap
2808 @if build-libiberty
2809 maybe-configure-build-libiberty: configure-build-libiberty
2810 configure-build-libiberty:
2811 @: $(MAKE); $(unstage)
2812 @r=`${PWD_COMMAND}`; export r; \
2813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2814 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2815 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2816 $(BUILD_EXPORTS) \
2817 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2818 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2819 case $(srcdir) in \
2820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2821 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2823 esac; \
2824 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2825 libsrcdir="$$s/libiberty"; \
2826 rm -f no-such-file || : ; \
2827 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2828 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2829 --target=${target_alias} $${srcdiroption} \
2830 || exit 1
2831 @endif build-libiberty
2837 .PHONY: all-build-libiberty maybe-all-build-libiberty
2838 maybe-all-build-libiberty:
2839 @if gcc-bootstrap
2840 all-build-libiberty: stage_current
2841 @endif gcc-bootstrap
2842 @if build-libiberty
2843 TARGET-build-libiberty=all
2844 maybe-all-build-libiberty: all-build-libiberty
2845 all-build-libiberty: configure-build-libiberty
2846 @: $(MAKE); $(unstage)
2847 @r=`${PWD_COMMAND}`; export r; \
2848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2849 $(BUILD_EXPORTS) \
2850 (cd $(BUILD_SUBDIR)/libiberty && \
2851 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2852 $(TARGET-build-libiberty))
2853 @endif build-libiberty
2859 .PHONY: configure-build-bison maybe-configure-build-bison
2860 maybe-configure-build-bison:
2861 @if gcc-bootstrap
2862 configure-build-bison: stage_current
2863 @endif gcc-bootstrap
2864 @if build-bison
2865 maybe-configure-build-bison: configure-build-bison
2866 configure-build-bison:
2867 @: $(MAKE); $(unstage)
2868 @r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2871 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2872 $(BUILD_EXPORTS) \
2873 echo Configuring in $(BUILD_SUBDIR)/bison; \
2874 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2875 case $(srcdir) in \
2876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2877 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2879 esac; \
2880 srcdiroption="--srcdir=$${topdir}/bison"; \
2881 libsrcdir="$$s/bison"; \
2882 rm -f no-such-file || : ; \
2883 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2884 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2885 --target=${target_alias} $${srcdiroption} \
2886 || exit 1
2887 @endif build-bison
2893 .PHONY: all-build-bison maybe-all-build-bison
2894 maybe-all-build-bison:
2895 @if gcc-bootstrap
2896 all-build-bison: stage_current
2897 @endif gcc-bootstrap
2898 @if build-bison
2899 TARGET-build-bison=all
2900 maybe-all-build-bison: all-build-bison
2901 all-build-bison: configure-build-bison
2902 @: $(MAKE); $(unstage)
2903 @r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 $(BUILD_EXPORTS) \
2906 (cd $(BUILD_SUBDIR)/bison && \
2907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2908 $(TARGET-build-bison))
2909 @endif build-bison
2915 .PHONY: configure-build-byacc maybe-configure-build-byacc
2916 maybe-configure-build-byacc:
2917 @if gcc-bootstrap
2918 configure-build-byacc: stage_current
2919 @endif gcc-bootstrap
2920 @if build-byacc
2921 maybe-configure-build-byacc: configure-build-byacc
2922 configure-build-byacc:
2923 @: $(MAKE); $(unstage)
2924 @r=`${PWD_COMMAND}`; export r; \
2925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2926 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2927 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2928 $(BUILD_EXPORTS) \
2929 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2930 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2931 case $(srcdir) in \
2932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2933 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2935 esac; \
2936 srcdiroption="--srcdir=$${topdir}/byacc"; \
2937 libsrcdir="$$s/byacc"; \
2938 rm -f no-such-file || : ; \
2939 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2940 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2941 --target=${target_alias} $${srcdiroption} \
2942 || exit 1
2943 @endif build-byacc
2949 .PHONY: all-build-byacc maybe-all-build-byacc
2950 maybe-all-build-byacc:
2951 @if gcc-bootstrap
2952 all-build-byacc: stage_current
2953 @endif gcc-bootstrap
2954 @if build-byacc
2955 TARGET-build-byacc=all
2956 maybe-all-build-byacc: all-build-byacc
2957 all-build-byacc: configure-build-byacc
2958 @: $(MAKE); $(unstage)
2959 @r=`${PWD_COMMAND}`; export r; \
2960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2961 $(BUILD_EXPORTS) \
2962 (cd $(BUILD_SUBDIR)/byacc && \
2963 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2964 $(TARGET-build-byacc))
2965 @endif build-byacc
2971 .PHONY: configure-build-flex maybe-configure-build-flex
2972 maybe-configure-build-flex:
2973 @if gcc-bootstrap
2974 configure-build-flex: stage_current
2975 @endif gcc-bootstrap
2976 @if build-flex
2977 maybe-configure-build-flex: configure-build-flex
2978 configure-build-flex:
2979 @: $(MAKE); $(unstage)
2980 @r=`${PWD_COMMAND}`; export r; \
2981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2982 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2983 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2984 $(BUILD_EXPORTS) \
2985 echo Configuring in $(BUILD_SUBDIR)/flex; \
2986 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2987 case $(srcdir) in \
2988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2989 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2991 esac; \
2992 srcdiroption="--srcdir=$${topdir}/flex"; \
2993 libsrcdir="$$s/flex"; \
2994 rm -f no-such-file || : ; \
2995 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2996 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2997 --target=${target_alias} $${srcdiroption} \
2998 || exit 1
2999 @endif build-flex
3005 .PHONY: all-build-flex maybe-all-build-flex
3006 maybe-all-build-flex:
3007 @if gcc-bootstrap
3008 all-build-flex: stage_current
3009 @endif gcc-bootstrap
3010 @if build-flex
3011 TARGET-build-flex=all
3012 maybe-all-build-flex: all-build-flex
3013 all-build-flex: configure-build-flex
3014 @: $(MAKE); $(unstage)
3015 @r=`${PWD_COMMAND}`; export r; \
3016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3017 $(BUILD_EXPORTS) \
3018 (cd $(BUILD_SUBDIR)/flex && \
3019 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3020 $(TARGET-build-flex))
3021 @endif build-flex
3027 .PHONY: configure-build-m4 maybe-configure-build-m4
3028 maybe-configure-build-m4:
3029 @if gcc-bootstrap
3030 configure-build-m4: stage_current
3031 @endif gcc-bootstrap
3032 @if build-m4
3033 maybe-configure-build-m4: configure-build-m4
3034 configure-build-m4:
3035 @: $(MAKE); $(unstage)
3036 @r=`${PWD_COMMAND}`; export r; \
3037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3038 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3039 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
3040 $(BUILD_EXPORTS) \
3041 echo Configuring in $(BUILD_SUBDIR)/m4; \
3042 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3043 case $(srcdir) in \
3044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3045 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3047 esac; \
3048 srcdiroption="--srcdir=$${topdir}/m4"; \
3049 libsrcdir="$$s/m4"; \
3050 rm -f no-such-file || : ; \
3051 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3052 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3053 --target=${target_alias} $${srcdiroption} \
3054 || exit 1
3055 @endif build-m4
3061 .PHONY: all-build-m4 maybe-all-build-m4
3062 maybe-all-build-m4:
3063 @if gcc-bootstrap
3064 all-build-m4: stage_current
3065 @endif gcc-bootstrap
3066 @if build-m4
3067 TARGET-build-m4=all
3068 maybe-all-build-m4: all-build-m4
3069 all-build-m4: configure-build-m4
3070 @: $(MAKE); $(unstage)
3071 @r=`${PWD_COMMAND}`; export r; \
3072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3073 $(BUILD_EXPORTS) \
3074 (cd $(BUILD_SUBDIR)/m4 && \
3075 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3076 $(TARGET-build-m4))
3077 @endif build-m4
3083 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3084 maybe-configure-build-texinfo:
3085 @if gcc-bootstrap
3086 configure-build-texinfo: stage_current
3087 @endif gcc-bootstrap
3088 @if build-texinfo
3089 maybe-configure-build-texinfo: configure-build-texinfo
3090 configure-build-texinfo:
3091 @: $(MAKE); $(unstage)
3092 @r=`${PWD_COMMAND}`; export r; \
3093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3094 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3095 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3096 $(BUILD_EXPORTS) \
3097 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3098 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3099 case $(srcdir) in \
3100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3101 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3103 esac; \
3104 srcdiroption="--srcdir=$${topdir}/texinfo"; \
3105 libsrcdir="$$s/texinfo"; \
3106 rm -f no-such-file || : ; \
3107 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3108 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3109 --target=${target_alias} $${srcdiroption} \
3110 || exit 1
3111 @endif build-texinfo
3117 .PHONY: all-build-texinfo maybe-all-build-texinfo
3118 maybe-all-build-texinfo:
3119 @if gcc-bootstrap
3120 all-build-texinfo: stage_current
3121 @endif gcc-bootstrap
3122 @if build-texinfo
3123 TARGET-build-texinfo=all
3124 maybe-all-build-texinfo: all-build-texinfo
3125 all-build-texinfo: configure-build-texinfo
3126 @: $(MAKE); $(unstage)
3127 @r=`${PWD_COMMAND}`; export r; \
3128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3129 $(BUILD_EXPORTS) \
3130 (cd $(BUILD_SUBDIR)/texinfo && \
3131 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3132 $(TARGET-build-texinfo))
3133 @endif build-texinfo
3139 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3140 maybe-configure-build-fixincludes:
3141 @if gcc-bootstrap
3142 configure-build-fixincludes: stage_current
3143 @endif gcc-bootstrap
3144 @if build-fixincludes
3145 maybe-configure-build-fixincludes: configure-build-fixincludes
3146 configure-build-fixincludes:
3147 @: $(MAKE); $(unstage)
3148 @r=`${PWD_COMMAND}`; export r; \
3149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3150 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3151 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3152 $(BUILD_EXPORTS) \
3153 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3154 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3155 case $(srcdir) in \
3156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3157 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3159 esac; \
3160 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3161 libsrcdir="$$s/fixincludes"; \
3162 rm -f no-such-file || : ; \
3163 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3164 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3165 --target=${target_alias} $${srcdiroption} \
3166 || exit 1
3167 @endif build-fixincludes
3173 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3174 maybe-all-build-fixincludes:
3175 @if gcc-bootstrap
3176 all-build-fixincludes: stage_current
3177 @endif gcc-bootstrap
3178 @if build-fixincludes
3179 TARGET-build-fixincludes=all
3180 maybe-all-build-fixincludes: all-build-fixincludes
3181 all-build-fixincludes: configure-build-fixincludes
3182 @: $(MAKE); $(unstage)
3183 @r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 $(BUILD_EXPORTS) \
3186 (cd $(BUILD_SUBDIR)/fixincludes && \
3187 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3188 $(TARGET-build-fixincludes))
3189 @endif build-fixincludes
3195 # --------------------------------------
3196 # Modules which run on the host machine
3197 # --------------------------------------
3200 .PHONY: configure-ash maybe-configure-ash
3201 maybe-configure-ash:
3202 @if gcc-bootstrap
3203 configure-ash: stage_current
3204 @endif gcc-bootstrap
3205 @if ash
3206 maybe-configure-ash: configure-ash
3207 configure-ash:
3208 @: $(MAKE); $(unstage)
3209 @r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3211 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3213 $(HOST_EXPORTS) \
3214 echo Configuring in $(HOST_SUBDIR)/ash; \
3215 cd "$(HOST_SUBDIR)/ash" || exit 1; \
3216 case $(srcdir) in \
3217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3218 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3220 esac; \
3221 srcdiroption="--srcdir=$${topdir}/ash"; \
3222 libsrcdir="$$s/ash"; \
3223 $(SHELL) $${libsrcdir}/configure \
3224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3225 --target=${target_alias} $${srcdiroption} \
3226 || exit 1
3227 @endif ash
3233 .PHONY: all-ash maybe-all-ash
3234 maybe-all-ash:
3235 @if gcc-bootstrap
3236 all-ash: stage_current
3237 @endif gcc-bootstrap
3238 @if ash
3239 TARGET-ash=all
3240 maybe-all-ash: all-ash
3241 all-ash: configure-ash
3242 @: $(MAKE); $(unstage)
3243 @r=`${PWD_COMMAND}`; export r; \
3244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 $(HOST_EXPORTS) \
3246 (cd $(HOST_SUBDIR)/ash && \
3247 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3248 $(TARGET-ash))
3249 @endif ash
3254 .PHONY: check-ash maybe-check-ash
3255 maybe-check-ash:
3256 @if ash
3257 maybe-check-ash: check-ash
3259 check-ash:
3260 @: $(MAKE); $(unstage)
3261 @r=`${PWD_COMMAND}`; export r; \
3262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3263 $(HOST_EXPORTS) \
3264 (cd $(HOST_SUBDIR)/ash && \
3265 $(MAKE) $(FLAGS_TO_PASS) check)
3267 @endif ash
3269 .PHONY: install-ash maybe-install-ash
3270 maybe-install-ash:
3271 @if ash
3272 maybe-install-ash: install-ash
3274 install-ash: installdirs
3275 @: $(MAKE); $(unstage)
3276 @r=`${PWD_COMMAND}`; export r; \
3277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3278 $(HOST_EXPORTS) \
3279 (cd $(HOST_SUBDIR)/ash && \
3280 $(MAKE) $(FLAGS_TO_PASS) install)
3282 @endif ash
3284 # Other targets (info, dvi, pdf, etc.)
3286 .PHONY: maybe-info-ash info-ash
3287 maybe-info-ash:
3288 @if ash
3289 maybe-info-ash: info-ash
3291 info-ash: \
3292 configure-ash
3293 @: $(MAKE); $(unstage)
3294 @[ -f ./ash/Makefile ] || exit 0; \
3295 r=`${PWD_COMMAND}`; export r; \
3296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3297 $(HOST_EXPORTS) \
3298 for flag in $(EXTRA_HOST_FLAGS) ; do \
3299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3300 done; \
3301 echo "Doing info in ash" ; \
3302 (cd $(HOST_SUBDIR)/ash && \
3303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3305 "RANLIB=$${RANLIB}" \
3306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3307 info) \
3308 || exit 1
3310 @endif ash
3312 .PHONY: maybe-dvi-ash dvi-ash
3313 maybe-dvi-ash:
3314 @if ash
3315 maybe-dvi-ash: dvi-ash
3317 dvi-ash: \
3318 configure-ash
3319 @: $(MAKE); $(unstage)
3320 @[ -f ./ash/Makefile ] || exit 0; \
3321 r=`${PWD_COMMAND}`; export r; \
3322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3323 $(HOST_EXPORTS) \
3324 for flag in $(EXTRA_HOST_FLAGS) ; do \
3325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3326 done; \
3327 echo "Doing dvi in ash" ; \
3328 (cd $(HOST_SUBDIR)/ash && \
3329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3331 "RANLIB=$${RANLIB}" \
3332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3333 dvi) \
3334 || exit 1
3336 @endif ash
3338 .PHONY: maybe-pdf-ash pdf-ash
3339 maybe-pdf-ash:
3340 @if ash
3341 maybe-pdf-ash: pdf-ash
3343 pdf-ash: \
3344 configure-ash
3345 @: $(MAKE); $(unstage)
3346 @[ -f ./ash/Makefile ] || exit 0; \
3347 r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349 $(HOST_EXPORTS) \
3350 for flag in $(EXTRA_HOST_FLAGS) ; do \
3351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3352 done; \
3353 echo "Doing pdf in ash" ; \
3354 (cd $(HOST_SUBDIR)/ash && \
3355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3357 "RANLIB=$${RANLIB}" \
3358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3359 pdf) \
3360 || exit 1
3362 @endif ash
3364 .PHONY: maybe-html-ash html-ash
3365 maybe-html-ash:
3366 @if ash
3367 maybe-html-ash: html-ash
3369 html-ash: \
3370 configure-ash
3371 @: $(MAKE); $(unstage)
3372 @[ -f ./ash/Makefile ] || exit 0; \
3373 r=`${PWD_COMMAND}`; export r; \
3374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3375 $(HOST_EXPORTS) \
3376 for flag in $(EXTRA_HOST_FLAGS) ; do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378 done; \
3379 echo "Doing html in ash" ; \
3380 (cd $(HOST_SUBDIR)/ash && \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3385 html) \
3386 || exit 1
3388 @endif ash
3390 .PHONY: maybe-TAGS-ash TAGS-ash
3391 maybe-TAGS-ash:
3392 @if ash
3393 maybe-TAGS-ash: TAGS-ash
3395 TAGS-ash: \
3396 configure-ash
3397 @: $(MAKE); $(unstage)
3398 @[ -f ./ash/Makefile ] || exit 0; \
3399 r=`${PWD_COMMAND}`; export r; \
3400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3401 $(HOST_EXPORTS) \
3402 for flag in $(EXTRA_HOST_FLAGS) ; do \
3403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3404 done; \
3405 echo "Doing TAGS in ash" ; \
3406 (cd $(HOST_SUBDIR)/ash && \
3407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3409 "RANLIB=$${RANLIB}" \
3410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3411 TAGS) \
3412 || exit 1
3414 @endif ash
3416 .PHONY: maybe-install-info-ash install-info-ash
3417 maybe-install-info-ash:
3418 @if ash
3419 maybe-install-info-ash: install-info-ash
3421 install-info-ash: \
3422 configure-ash \
3423 info-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 install-info 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 install-info) \
3439 || exit 1
3441 @endif ash
3443 .PHONY: maybe-install-pdf-ash install-pdf-ash
3444 maybe-install-pdf-ash:
3445 @if ash
3446 maybe-install-pdf-ash: install-pdf-ash
3448 install-pdf-ash: \
3449 configure-ash \
3450 pdf-ash
3451 @: $(MAKE); $(unstage)
3452 @[ -f ./ash/Makefile ] || exit 0; \
3453 r=`${PWD_COMMAND}`; export r; \
3454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455 $(HOST_EXPORTS) \
3456 for flag in $(EXTRA_HOST_FLAGS) ; do \
3457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3458 done; \
3459 echo "Doing install-pdf in ash" ; \
3460 (cd $(HOST_SUBDIR)/ash && \
3461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3463 "RANLIB=$${RANLIB}" \
3464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3465 install-pdf) \
3466 || exit 1
3468 @endif ash
3470 .PHONY: maybe-install-html-ash install-html-ash
3471 maybe-install-html-ash:
3472 @if ash
3473 maybe-install-html-ash: install-html-ash
3475 install-html-ash: \
3476 configure-ash \
3477 html-ash
3478 @: $(MAKE); $(unstage)
3479 @[ -f ./ash/Makefile ] || exit 0; \
3480 r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 $(HOST_EXPORTS) \
3483 for flag in $(EXTRA_HOST_FLAGS) ; do \
3484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3485 done; \
3486 echo "Doing install-html in ash" ; \
3487 (cd $(HOST_SUBDIR)/ash && \
3488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3490 "RANLIB=$${RANLIB}" \
3491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3492 install-html) \
3493 || exit 1
3495 @endif ash
3497 .PHONY: maybe-installcheck-ash installcheck-ash
3498 maybe-installcheck-ash:
3499 @if ash
3500 maybe-installcheck-ash: installcheck-ash
3502 installcheck-ash: \
3503 configure-ash
3504 @: $(MAKE); $(unstage)
3505 @[ -f ./ash/Makefile ] || exit 0; \
3506 r=`${PWD_COMMAND}`; export r; \
3507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3508 $(HOST_EXPORTS) \
3509 for flag in $(EXTRA_HOST_FLAGS) ; do \
3510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3511 done; \
3512 echo "Doing installcheck in ash" ; \
3513 (cd $(HOST_SUBDIR)/ash && \
3514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3516 "RANLIB=$${RANLIB}" \
3517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3518 installcheck) \
3519 || exit 1
3521 @endif ash
3523 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3524 maybe-mostlyclean-ash:
3525 @if ash
3526 maybe-mostlyclean-ash: mostlyclean-ash
3528 mostlyclean-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 mostlyclean 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 mostlyclean) \
3544 || exit 1
3546 @endif ash
3548 .PHONY: maybe-clean-ash clean-ash
3549 maybe-clean-ash:
3550 @if ash
3551 maybe-clean-ash: clean-ash
3553 clean-ash:
3554 @: $(MAKE); $(unstage)
3555 @[ -f ./ash/Makefile ] || exit 0; \
3556 r=`${PWD_COMMAND}`; export r; \
3557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3558 $(HOST_EXPORTS) \
3559 for flag in $(EXTRA_HOST_FLAGS) ; do \
3560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3561 done; \
3562 echo "Doing clean in ash" ; \
3563 (cd $(HOST_SUBDIR)/ash && \
3564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3566 "RANLIB=$${RANLIB}" \
3567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3568 clean) \
3569 || exit 1
3571 @endif ash
3573 .PHONY: maybe-distclean-ash distclean-ash
3574 maybe-distclean-ash:
3575 @if ash
3576 maybe-distclean-ash: distclean-ash
3578 distclean-ash:
3579 @: $(MAKE); $(unstage)
3580 @[ -f ./ash/Makefile ] || exit 0; \
3581 r=`${PWD_COMMAND}`; export r; \
3582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3583 $(HOST_EXPORTS) \
3584 for flag in $(EXTRA_HOST_FLAGS) ; do \
3585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3586 done; \
3587 echo "Doing distclean in ash" ; \
3588 (cd $(HOST_SUBDIR)/ash && \
3589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3591 "RANLIB=$${RANLIB}" \
3592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3593 distclean) \
3594 || exit 1
3596 @endif ash
3598 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3599 maybe-maintainer-clean-ash:
3600 @if ash
3601 maybe-maintainer-clean-ash: maintainer-clean-ash
3603 maintainer-clean-ash:
3604 @: $(MAKE); $(unstage)
3605 @[ -f ./ash/Makefile ] || exit 0; \
3606 r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 $(HOST_EXPORTS) \
3609 for flag in $(EXTRA_HOST_FLAGS) ; do \
3610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3611 done; \
3612 echo "Doing maintainer-clean in ash" ; \
3613 (cd $(HOST_SUBDIR)/ash && \
3614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3616 "RANLIB=$${RANLIB}" \
3617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3618 maintainer-clean) \
3619 || exit 1
3621 @endif ash
3625 .PHONY: configure-autoconf maybe-configure-autoconf
3626 maybe-configure-autoconf:
3627 @if gcc-bootstrap
3628 configure-autoconf: stage_current
3629 @endif gcc-bootstrap
3630 @if autoconf
3631 maybe-configure-autoconf: configure-autoconf
3632 configure-autoconf:
3633 @: $(MAKE); $(unstage)
3634 @r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3638 $(HOST_EXPORTS) \
3639 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3640 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3641 case $(srcdir) in \
3642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3643 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3645 esac; \
3646 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3647 libsrcdir="$$s/autoconf"; \
3648 $(SHELL) $${libsrcdir}/configure \
3649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3650 --target=${target_alias} $${srcdiroption} \
3651 || exit 1
3652 @endif autoconf
3658 .PHONY: all-autoconf maybe-all-autoconf
3659 maybe-all-autoconf:
3660 @if gcc-bootstrap
3661 all-autoconf: stage_current
3662 @endif gcc-bootstrap
3663 @if autoconf
3664 TARGET-autoconf=all
3665 maybe-all-autoconf: all-autoconf
3666 all-autoconf: configure-autoconf
3667 @: $(MAKE); $(unstage)
3668 @r=`${PWD_COMMAND}`; export r; \
3669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3670 $(HOST_EXPORTS) \
3671 (cd $(HOST_SUBDIR)/autoconf && \
3672 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3673 $(TARGET-autoconf))
3674 @endif autoconf
3679 .PHONY: check-autoconf maybe-check-autoconf
3680 maybe-check-autoconf:
3681 @if autoconf
3682 maybe-check-autoconf: check-autoconf
3684 check-autoconf:
3685 @: $(MAKE); $(unstage)
3686 @r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 (cd $(HOST_SUBDIR)/autoconf && \
3690 $(MAKE) $(FLAGS_TO_PASS) check)
3692 @endif autoconf
3694 .PHONY: install-autoconf maybe-install-autoconf
3695 maybe-install-autoconf:
3696 @if autoconf
3697 maybe-install-autoconf: install-autoconf
3699 install-autoconf: installdirs
3700 @: $(MAKE); $(unstage)
3701 @r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 $(HOST_EXPORTS) \
3704 (cd $(HOST_SUBDIR)/autoconf && \
3705 $(MAKE) $(FLAGS_TO_PASS) install)
3707 @endif autoconf
3709 # Other targets (info, dvi, pdf, etc.)
3711 .PHONY: maybe-info-autoconf info-autoconf
3712 maybe-info-autoconf:
3713 @if autoconf
3714 maybe-info-autoconf: info-autoconf
3716 info-autoconf: \
3717 configure-autoconf
3718 @: $(MAKE); $(unstage)
3719 @[ -f ./autoconf/Makefile ] || exit 0; \
3720 r=`${PWD_COMMAND}`; export r; \
3721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3722 $(HOST_EXPORTS) \
3723 for flag in $(EXTRA_HOST_FLAGS) ; do \
3724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3725 done; \
3726 echo "Doing info in autoconf" ; \
3727 (cd $(HOST_SUBDIR)/autoconf && \
3728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3730 "RANLIB=$${RANLIB}" \
3731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3732 info) \
3733 || exit 1
3735 @endif autoconf
3737 .PHONY: maybe-dvi-autoconf dvi-autoconf
3738 maybe-dvi-autoconf:
3739 @if autoconf
3740 maybe-dvi-autoconf: dvi-autoconf
3742 dvi-autoconf: \
3743 configure-autoconf
3744 @: $(MAKE); $(unstage)
3745 @[ -f ./autoconf/Makefile ] || exit 0; \
3746 r=`${PWD_COMMAND}`; export r; \
3747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3748 $(HOST_EXPORTS) \
3749 for flag in $(EXTRA_HOST_FLAGS) ; do \
3750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3751 done; \
3752 echo "Doing dvi in autoconf" ; \
3753 (cd $(HOST_SUBDIR)/autoconf && \
3754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3756 "RANLIB=$${RANLIB}" \
3757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3758 dvi) \
3759 || exit 1
3761 @endif autoconf
3763 .PHONY: maybe-pdf-autoconf pdf-autoconf
3764 maybe-pdf-autoconf:
3765 @if autoconf
3766 maybe-pdf-autoconf: pdf-autoconf
3768 pdf-autoconf: \
3769 configure-autoconf
3770 @: $(MAKE); $(unstage)
3771 @[ -f ./autoconf/Makefile ] || exit 0; \
3772 r=`${PWD_COMMAND}`; export r; \
3773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3774 $(HOST_EXPORTS) \
3775 for flag in $(EXTRA_HOST_FLAGS) ; do \
3776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3777 done; \
3778 echo "Doing pdf in autoconf" ; \
3779 (cd $(HOST_SUBDIR)/autoconf && \
3780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3782 "RANLIB=$${RANLIB}" \
3783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3784 pdf) \
3785 || exit 1
3787 @endif autoconf
3789 .PHONY: maybe-html-autoconf html-autoconf
3790 maybe-html-autoconf:
3791 @if autoconf
3792 maybe-html-autoconf: html-autoconf
3794 html-autoconf: \
3795 configure-autoconf
3796 @: $(MAKE); $(unstage)
3797 @[ -f ./autoconf/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(HOST_EXPORTS) \
3801 for flag in $(EXTRA_HOST_FLAGS) ; do \
3802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 done; \
3804 echo "Doing html in autoconf" ; \
3805 (cd $(HOST_SUBDIR)/autoconf && \
3806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3808 "RANLIB=$${RANLIB}" \
3809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3810 html) \
3811 || exit 1
3813 @endif autoconf
3815 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3816 maybe-TAGS-autoconf:
3817 @if autoconf
3818 maybe-TAGS-autoconf: TAGS-autoconf
3820 TAGS-autoconf: \
3821 configure-autoconf
3822 @: $(MAKE); $(unstage)
3823 @[ -f ./autoconf/Makefile ] || exit 0; \
3824 r=`${PWD_COMMAND}`; export r; \
3825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 $(HOST_EXPORTS) \
3827 for flag in $(EXTRA_HOST_FLAGS) ; do \
3828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3829 done; \
3830 echo "Doing TAGS in autoconf" ; \
3831 (cd $(HOST_SUBDIR)/autoconf && \
3832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3834 "RANLIB=$${RANLIB}" \
3835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3836 TAGS) \
3837 || exit 1
3839 @endif autoconf
3841 .PHONY: maybe-install-info-autoconf install-info-autoconf
3842 maybe-install-info-autoconf:
3843 @if autoconf
3844 maybe-install-info-autoconf: install-info-autoconf
3846 install-info-autoconf: \
3847 configure-autoconf \
3848 info-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 install-info 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 install-info) \
3864 || exit 1
3866 @endif autoconf
3868 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
3869 maybe-install-pdf-autoconf:
3870 @if autoconf
3871 maybe-install-pdf-autoconf: install-pdf-autoconf
3873 install-pdf-autoconf: \
3874 configure-autoconf \
3875 pdf-autoconf
3876 @: $(MAKE); $(unstage)
3877 @[ -f ./autoconf/Makefile ] || exit 0; \
3878 r=`${PWD_COMMAND}`; export r; \
3879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3880 $(HOST_EXPORTS) \
3881 for flag in $(EXTRA_HOST_FLAGS) ; do \
3882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3883 done; \
3884 echo "Doing install-pdf in autoconf" ; \
3885 (cd $(HOST_SUBDIR)/autoconf && \
3886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3888 "RANLIB=$${RANLIB}" \
3889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3890 install-pdf) \
3891 || exit 1
3893 @endif autoconf
3895 .PHONY: maybe-install-html-autoconf install-html-autoconf
3896 maybe-install-html-autoconf:
3897 @if autoconf
3898 maybe-install-html-autoconf: install-html-autoconf
3900 install-html-autoconf: \
3901 configure-autoconf \
3902 html-autoconf
3903 @: $(MAKE); $(unstage)
3904 @[ -f ./autoconf/Makefile ] || exit 0; \
3905 r=`${PWD_COMMAND}`; export r; \
3906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3907 $(HOST_EXPORTS) \
3908 for flag in $(EXTRA_HOST_FLAGS) ; do \
3909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3910 done; \
3911 echo "Doing install-html in autoconf" ; \
3912 (cd $(HOST_SUBDIR)/autoconf && \
3913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3915 "RANLIB=$${RANLIB}" \
3916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3917 install-html) \
3918 || exit 1
3920 @endif autoconf
3922 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3923 maybe-installcheck-autoconf:
3924 @if autoconf
3925 maybe-installcheck-autoconf: installcheck-autoconf
3927 installcheck-autoconf: \
3928 configure-autoconf
3929 @: $(MAKE); $(unstage)
3930 @[ -f ./autoconf/Makefile ] || exit 0; \
3931 r=`${PWD_COMMAND}`; export r; \
3932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3933 $(HOST_EXPORTS) \
3934 for flag in $(EXTRA_HOST_FLAGS) ; do \
3935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3936 done; \
3937 echo "Doing installcheck in autoconf" ; \
3938 (cd $(HOST_SUBDIR)/autoconf && \
3939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3941 "RANLIB=$${RANLIB}" \
3942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3943 installcheck) \
3944 || exit 1
3946 @endif autoconf
3948 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3949 maybe-mostlyclean-autoconf:
3950 @if autoconf
3951 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3953 mostlyclean-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 mostlyclean 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 mostlyclean) \
3969 || exit 1
3971 @endif autoconf
3973 .PHONY: maybe-clean-autoconf clean-autoconf
3974 maybe-clean-autoconf:
3975 @if autoconf
3976 maybe-clean-autoconf: clean-autoconf
3978 clean-autoconf:
3979 @: $(MAKE); $(unstage)
3980 @[ -f ./autoconf/Makefile ] || exit 0; \
3981 r=`${PWD_COMMAND}`; export r; \
3982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3983 $(HOST_EXPORTS) \
3984 for flag in $(EXTRA_HOST_FLAGS) ; do \
3985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3986 done; \
3987 echo "Doing clean in autoconf" ; \
3988 (cd $(HOST_SUBDIR)/autoconf && \
3989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3991 "RANLIB=$${RANLIB}" \
3992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3993 clean) \
3994 || exit 1
3996 @endif autoconf
3998 .PHONY: maybe-distclean-autoconf distclean-autoconf
3999 maybe-distclean-autoconf:
4000 @if autoconf
4001 maybe-distclean-autoconf: distclean-autoconf
4003 distclean-autoconf:
4004 @: $(MAKE); $(unstage)
4005 @[ -f ./autoconf/Makefile ] || exit 0; \
4006 r=`${PWD_COMMAND}`; export r; \
4007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4008 $(HOST_EXPORTS) \
4009 for flag in $(EXTRA_HOST_FLAGS) ; do \
4010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4011 done; \
4012 echo "Doing distclean in autoconf" ; \
4013 (cd $(HOST_SUBDIR)/autoconf && \
4014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4016 "RANLIB=$${RANLIB}" \
4017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4018 distclean) \
4019 || exit 1
4021 @endif autoconf
4023 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
4024 maybe-maintainer-clean-autoconf:
4025 @if autoconf
4026 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
4028 maintainer-clean-autoconf:
4029 @: $(MAKE); $(unstage)
4030 @[ -f ./autoconf/Makefile ] || exit 0; \
4031 r=`${PWD_COMMAND}`; export r; \
4032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4033 $(HOST_EXPORTS) \
4034 for flag in $(EXTRA_HOST_FLAGS) ; do \
4035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4036 done; \
4037 echo "Doing maintainer-clean in autoconf" ; \
4038 (cd $(HOST_SUBDIR)/autoconf && \
4039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4041 "RANLIB=$${RANLIB}" \
4042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4043 maintainer-clean) \
4044 || exit 1
4046 @endif autoconf
4050 .PHONY: configure-automake maybe-configure-automake
4051 maybe-configure-automake:
4052 @if gcc-bootstrap
4053 configure-automake: stage_current
4054 @endif gcc-bootstrap
4055 @if automake
4056 maybe-configure-automake: configure-automake
4057 configure-automake:
4058 @: $(MAKE); $(unstage)
4059 @r=`${PWD_COMMAND}`; export r; \
4060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
4062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
4063 $(HOST_EXPORTS) \
4064 echo Configuring in $(HOST_SUBDIR)/automake; \
4065 cd "$(HOST_SUBDIR)/automake" || exit 1; \
4066 case $(srcdir) in \
4067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4068 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
4069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4070 esac; \
4071 srcdiroption="--srcdir=$${topdir}/automake"; \
4072 libsrcdir="$$s/automake"; \
4073 $(SHELL) $${libsrcdir}/configure \
4074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4075 --target=${target_alias} $${srcdiroption} \
4076 || exit 1
4077 @endif automake
4083 .PHONY: all-automake maybe-all-automake
4084 maybe-all-automake:
4085 @if gcc-bootstrap
4086 all-automake: stage_current
4087 @endif gcc-bootstrap
4088 @if automake
4089 TARGET-automake=all
4090 maybe-all-automake: all-automake
4091 all-automake: configure-automake
4092 @: $(MAKE); $(unstage)
4093 @r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 $(HOST_EXPORTS) \
4096 (cd $(HOST_SUBDIR)/automake && \
4097 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4098 $(TARGET-automake))
4099 @endif automake
4104 .PHONY: check-automake maybe-check-automake
4105 maybe-check-automake:
4106 @if automake
4107 maybe-check-automake: check-automake
4109 check-automake:
4110 @: $(MAKE); $(unstage)
4111 @r=`${PWD_COMMAND}`; export r; \
4112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4113 $(HOST_EXPORTS) \
4114 (cd $(HOST_SUBDIR)/automake && \
4115 $(MAKE) $(FLAGS_TO_PASS) check)
4117 @endif automake
4119 .PHONY: install-automake maybe-install-automake
4120 maybe-install-automake:
4121 @if automake
4122 maybe-install-automake: install-automake
4124 install-automake: installdirs
4125 @: $(MAKE); $(unstage)
4126 @r=`${PWD_COMMAND}`; export r; \
4127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4128 $(HOST_EXPORTS) \
4129 (cd $(HOST_SUBDIR)/automake && \
4130 $(MAKE) $(FLAGS_TO_PASS) install)
4132 @endif automake
4134 # Other targets (info, dvi, pdf, etc.)
4136 .PHONY: maybe-info-automake info-automake
4137 maybe-info-automake:
4138 @if automake
4139 maybe-info-automake: info-automake
4141 info-automake: \
4142 configure-automake
4143 @: $(MAKE); $(unstage)
4144 @[ -f ./automake/Makefile ] || exit 0; \
4145 r=`${PWD_COMMAND}`; export r; \
4146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4147 $(HOST_EXPORTS) \
4148 for flag in $(EXTRA_HOST_FLAGS) ; do \
4149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4150 done; \
4151 echo "Doing info in automake" ; \
4152 (cd $(HOST_SUBDIR)/automake && \
4153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4155 "RANLIB=$${RANLIB}" \
4156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4157 info) \
4158 || exit 1
4160 @endif automake
4162 .PHONY: maybe-dvi-automake dvi-automake
4163 maybe-dvi-automake:
4164 @if automake
4165 maybe-dvi-automake: dvi-automake
4167 dvi-automake: \
4168 configure-automake
4169 @: $(MAKE); $(unstage)
4170 @[ -f ./automake/Makefile ] || exit 0; \
4171 r=`${PWD_COMMAND}`; export r; \
4172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4173 $(HOST_EXPORTS) \
4174 for flag in $(EXTRA_HOST_FLAGS) ; do \
4175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4176 done; \
4177 echo "Doing dvi in automake" ; \
4178 (cd $(HOST_SUBDIR)/automake && \
4179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4181 "RANLIB=$${RANLIB}" \
4182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4183 dvi) \
4184 || exit 1
4186 @endif automake
4188 .PHONY: maybe-pdf-automake pdf-automake
4189 maybe-pdf-automake:
4190 @if automake
4191 maybe-pdf-automake: pdf-automake
4193 pdf-automake: \
4194 configure-automake
4195 @: $(MAKE); $(unstage)
4196 @[ -f ./automake/Makefile ] || exit 0; \
4197 r=`${PWD_COMMAND}`; export r; \
4198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4199 $(HOST_EXPORTS) \
4200 for flag in $(EXTRA_HOST_FLAGS) ; do \
4201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4202 done; \
4203 echo "Doing pdf in automake" ; \
4204 (cd $(HOST_SUBDIR)/automake && \
4205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4207 "RANLIB=$${RANLIB}" \
4208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4209 pdf) \
4210 || exit 1
4212 @endif automake
4214 .PHONY: maybe-html-automake html-automake
4215 maybe-html-automake:
4216 @if automake
4217 maybe-html-automake: html-automake
4219 html-automake: \
4220 configure-automake
4221 @: $(MAKE); $(unstage)
4222 @[ -f ./automake/Makefile ] || exit 0; \
4223 r=`${PWD_COMMAND}`; export r; \
4224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4225 $(HOST_EXPORTS) \
4226 for flag in $(EXTRA_HOST_FLAGS) ; do \
4227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4228 done; \
4229 echo "Doing html in automake" ; \
4230 (cd $(HOST_SUBDIR)/automake && \
4231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4233 "RANLIB=$${RANLIB}" \
4234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4235 html) \
4236 || exit 1
4238 @endif automake
4240 .PHONY: maybe-TAGS-automake TAGS-automake
4241 maybe-TAGS-automake:
4242 @if automake
4243 maybe-TAGS-automake: TAGS-automake
4245 TAGS-automake: \
4246 configure-automake
4247 @: $(MAKE); $(unstage)
4248 @[ -f ./automake/Makefile ] || exit 0; \
4249 r=`${PWD_COMMAND}`; export r; \
4250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4251 $(HOST_EXPORTS) \
4252 for flag in $(EXTRA_HOST_FLAGS) ; do \
4253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4254 done; \
4255 echo "Doing TAGS in automake" ; \
4256 (cd $(HOST_SUBDIR)/automake && \
4257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4259 "RANLIB=$${RANLIB}" \
4260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4261 TAGS) \
4262 || exit 1
4264 @endif automake
4266 .PHONY: maybe-install-info-automake install-info-automake
4267 maybe-install-info-automake:
4268 @if automake
4269 maybe-install-info-automake: install-info-automake
4271 install-info-automake: \
4272 configure-automake \
4273 info-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 install-info 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 install-info) \
4289 || exit 1
4291 @endif automake
4293 .PHONY: maybe-install-pdf-automake install-pdf-automake
4294 maybe-install-pdf-automake:
4295 @if automake
4296 maybe-install-pdf-automake: install-pdf-automake
4298 install-pdf-automake: \
4299 configure-automake \
4300 pdf-automake
4301 @: $(MAKE); $(unstage)
4302 @[ -f ./automake/Makefile ] || exit 0; \
4303 r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4305 $(HOST_EXPORTS) \
4306 for flag in $(EXTRA_HOST_FLAGS) ; do \
4307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4308 done; \
4309 echo "Doing install-pdf in automake" ; \
4310 (cd $(HOST_SUBDIR)/automake && \
4311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4313 "RANLIB=$${RANLIB}" \
4314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4315 install-pdf) \
4316 || exit 1
4318 @endif automake
4320 .PHONY: maybe-install-html-automake install-html-automake
4321 maybe-install-html-automake:
4322 @if automake
4323 maybe-install-html-automake: install-html-automake
4325 install-html-automake: \
4326 configure-automake \
4327 html-automake
4328 @: $(MAKE); $(unstage)
4329 @[ -f ./automake/Makefile ] || exit 0; \
4330 r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 $(HOST_EXPORTS) \
4333 for flag in $(EXTRA_HOST_FLAGS) ; do \
4334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4335 done; \
4336 echo "Doing install-html in automake" ; \
4337 (cd $(HOST_SUBDIR)/automake && \
4338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4340 "RANLIB=$${RANLIB}" \
4341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4342 install-html) \
4343 || exit 1
4345 @endif automake
4347 .PHONY: maybe-installcheck-automake installcheck-automake
4348 maybe-installcheck-automake:
4349 @if automake
4350 maybe-installcheck-automake: installcheck-automake
4352 installcheck-automake: \
4353 configure-automake
4354 @: $(MAKE); $(unstage)
4355 @[ -f ./automake/Makefile ] || exit 0; \
4356 r=`${PWD_COMMAND}`; export r; \
4357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4358 $(HOST_EXPORTS) \
4359 for flag in $(EXTRA_HOST_FLAGS) ; do \
4360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4361 done; \
4362 echo "Doing installcheck in automake" ; \
4363 (cd $(HOST_SUBDIR)/automake && \
4364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4366 "RANLIB=$${RANLIB}" \
4367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4368 installcheck) \
4369 || exit 1
4371 @endif automake
4373 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4374 maybe-mostlyclean-automake:
4375 @if automake
4376 maybe-mostlyclean-automake: mostlyclean-automake
4378 mostlyclean-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 mostlyclean 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 mostlyclean) \
4394 || exit 1
4396 @endif automake
4398 .PHONY: maybe-clean-automake clean-automake
4399 maybe-clean-automake:
4400 @if automake
4401 maybe-clean-automake: clean-automake
4403 clean-automake:
4404 @: $(MAKE); $(unstage)
4405 @[ -f ./automake/Makefile ] || exit 0; \
4406 r=`${PWD_COMMAND}`; export r; \
4407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4408 $(HOST_EXPORTS) \
4409 for flag in $(EXTRA_HOST_FLAGS) ; do \
4410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4411 done; \
4412 echo "Doing clean in automake" ; \
4413 (cd $(HOST_SUBDIR)/automake && \
4414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4416 "RANLIB=$${RANLIB}" \
4417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4418 clean) \
4419 || exit 1
4421 @endif automake
4423 .PHONY: maybe-distclean-automake distclean-automake
4424 maybe-distclean-automake:
4425 @if automake
4426 maybe-distclean-automake: distclean-automake
4428 distclean-automake:
4429 @: $(MAKE); $(unstage)
4430 @[ -f ./automake/Makefile ] || exit 0; \
4431 r=`${PWD_COMMAND}`; export r; \
4432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4433 $(HOST_EXPORTS) \
4434 for flag in $(EXTRA_HOST_FLAGS) ; do \
4435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4436 done; \
4437 echo "Doing distclean in automake" ; \
4438 (cd $(HOST_SUBDIR)/automake && \
4439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4441 "RANLIB=$${RANLIB}" \
4442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4443 distclean) \
4444 || exit 1
4446 @endif automake
4448 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4449 maybe-maintainer-clean-automake:
4450 @if automake
4451 maybe-maintainer-clean-automake: maintainer-clean-automake
4453 maintainer-clean-automake:
4454 @: $(MAKE); $(unstage)
4455 @[ -f ./automake/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 $(HOST_EXPORTS) \
4459 for flag in $(EXTRA_HOST_FLAGS) ; do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 done; \
4462 echo "Doing maintainer-clean in automake" ; \
4463 (cd $(HOST_SUBDIR)/automake && \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4468 maintainer-clean) \
4469 || exit 1
4471 @endif automake
4475 .PHONY: configure-bash maybe-configure-bash
4476 maybe-configure-bash:
4477 @if gcc-bootstrap
4478 configure-bash: stage_current
4479 @endif gcc-bootstrap
4480 @if bash
4481 maybe-configure-bash: configure-bash
4482 configure-bash:
4483 @: $(MAKE); $(unstage)
4484 @r=`${PWD_COMMAND}`; export r; \
4485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4486 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4488 $(HOST_EXPORTS) \
4489 echo Configuring in $(HOST_SUBDIR)/bash; \
4490 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4491 case $(srcdir) in \
4492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4493 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4495 esac; \
4496 srcdiroption="--srcdir=$${topdir}/bash"; \
4497 libsrcdir="$$s/bash"; \
4498 $(SHELL) $${libsrcdir}/configure \
4499 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4500 --target=${target_alias} $${srcdiroption} \
4501 || exit 1
4502 @endif bash
4508 .PHONY: all-bash maybe-all-bash
4509 maybe-all-bash:
4510 @if gcc-bootstrap
4511 all-bash: stage_current
4512 @endif gcc-bootstrap
4513 @if bash
4514 TARGET-bash=all
4515 maybe-all-bash: all-bash
4516 all-bash: configure-bash
4517 @: $(MAKE); $(unstage)
4518 @r=`${PWD_COMMAND}`; export r; \
4519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4520 $(HOST_EXPORTS) \
4521 (cd $(HOST_SUBDIR)/bash && \
4522 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4523 $(TARGET-bash))
4524 @endif bash
4529 .PHONY: check-bash maybe-check-bash
4530 maybe-check-bash:
4531 @if bash
4532 maybe-check-bash: check-bash
4534 check-bash:
4535 @: $(MAKE); $(unstage)
4536 @r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 $(HOST_EXPORTS) \
4539 (cd $(HOST_SUBDIR)/bash && \
4540 $(MAKE) $(FLAGS_TO_PASS) check)
4542 @endif bash
4544 .PHONY: install-bash maybe-install-bash
4545 maybe-install-bash:
4546 @if bash
4547 maybe-install-bash: install-bash
4549 install-bash: installdirs
4550 @: $(MAKE); $(unstage)
4551 @r=`${PWD_COMMAND}`; export r; \
4552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4553 $(HOST_EXPORTS) \
4554 (cd $(HOST_SUBDIR)/bash && \
4555 $(MAKE) $(FLAGS_TO_PASS) install)
4557 @endif bash
4559 # Other targets (info, dvi, pdf, etc.)
4561 .PHONY: maybe-info-bash info-bash
4562 maybe-info-bash:
4563 @if bash
4564 maybe-info-bash: info-bash
4566 info-bash: \
4567 configure-bash
4568 @: $(MAKE); $(unstage)
4569 @[ -f ./bash/Makefile ] || exit 0; \
4570 r=`${PWD_COMMAND}`; export r; \
4571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4572 $(HOST_EXPORTS) \
4573 for flag in $(EXTRA_HOST_FLAGS) ; do \
4574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4575 done; \
4576 echo "Doing info in bash" ; \
4577 (cd $(HOST_SUBDIR)/bash && \
4578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4580 "RANLIB=$${RANLIB}" \
4581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4582 info) \
4583 || exit 1
4585 @endif bash
4587 .PHONY: maybe-dvi-bash dvi-bash
4588 maybe-dvi-bash:
4589 @if bash
4590 maybe-dvi-bash: dvi-bash
4592 dvi-bash: \
4593 configure-bash
4594 @: $(MAKE); $(unstage)
4595 @[ -f ./bash/Makefile ] || exit 0; \
4596 r=`${PWD_COMMAND}`; export r; \
4597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4598 $(HOST_EXPORTS) \
4599 for flag in $(EXTRA_HOST_FLAGS) ; do \
4600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4601 done; \
4602 echo "Doing dvi in bash" ; \
4603 (cd $(HOST_SUBDIR)/bash && \
4604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4606 "RANLIB=$${RANLIB}" \
4607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4608 dvi) \
4609 || exit 1
4611 @endif bash
4613 .PHONY: maybe-pdf-bash pdf-bash
4614 maybe-pdf-bash:
4615 @if bash
4616 maybe-pdf-bash: pdf-bash
4618 pdf-bash: \
4619 configure-bash
4620 @: $(MAKE); $(unstage)
4621 @[ -f ./bash/Makefile ] || exit 0; \
4622 r=`${PWD_COMMAND}`; export r; \
4623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4624 $(HOST_EXPORTS) \
4625 for flag in $(EXTRA_HOST_FLAGS) ; do \
4626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4627 done; \
4628 echo "Doing pdf in bash" ; \
4629 (cd $(HOST_SUBDIR)/bash && \
4630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4632 "RANLIB=$${RANLIB}" \
4633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4634 pdf) \
4635 || exit 1
4637 @endif bash
4639 .PHONY: maybe-html-bash html-bash
4640 maybe-html-bash:
4641 @if bash
4642 maybe-html-bash: html-bash
4644 html-bash: \
4645 configure-bash
4646 @: $(MAKE); $(unstage)
4647 @[ -f ./bash/Makefile ] || exit 0; \
4648 r=`${PWD_COMMAND}`; export r; \
4649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4650 $(HOST_EXPORTS) \
4651 for flag in $(EXTRA_HOST_FLAGS) ; do \
4652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4653 done; \
4654 echo "Doing html in bash" ; \
4655 (cd $(HOST_SUBDIR)/bash && \
4656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4658 "RANLIB=$${RANLIB}" \
4659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4660 html) \
4661 || exit 1
4663 @endif bash
4665 .PHONY: maybe-TAGS-bash TAGS-bash
4666 maybe-TAGS-bash:
4667 @if bash
4668 maybe-TAGS-bash: TAGS-bash
4670 TAGS-bash: \
4671 configure-bash
4672 @: $(MAKE); $(unstage)
4673 @[ -f ./bash/Makefile ] || exit 0; \
4674 r=`${PWD_COMMAND}`; export r; \
4675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 $(HOST_EXPORTS) \
4677 for flag in $(EXTRA_HOST_FLAGS) ; do \
4678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4679 done; \
4680 echo "Doing TAGS in bash" ; \
4681 (cd $(HOST_SUBDIR)/bash && \
4682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4684 "RANLIB=$${RANLIB}" \
4685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4686 TAGS) \
4687 || exit 1
4689 @endif bash
4691 .PHONY: maybe-install-info-bash install-info-bash
4692 maybe-install-info-bash:
4693 @if bash
4694 maybe-install-info-bash: install-info-bash
4696 install-info-bash: \
4697 configure-bash \
4698 info-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 install-info 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 install-info) \
4714 || exit 1
4716 @endif bash
4718 .PHONY: maybe-install-pdf-bash install-pdf-bash
4719 maybe-install-pdf-bash:
4720 @if bash
4721 maybe-install-pdf-bash: install-pdf-bash
4723 install-pdf-bash: \
4724 configure-bash \
4725 pdf-bash
4726 @: $(MAKE); $(unstage)
4727 @[ -f ./bash/Makefile ] || exit 0; \
4728 r=`${PWD_COMMAND}`; export r; \
4729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4730 $(HOST_EXPORTS) \
4731 for flag in $(EXTRA_HOST_FLAGS) ; do \
4732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4733 done; \
4734 echo "Doing install-pdf in bash" ; \
4735 (cd $(HOST_SUBDIR)/bash && \
4736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4738 "RANLIB=$${RANLIB}" \
4739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4740 install-pdf) \
4741 || exit 1
4743 @endif bash
4745 .PHONY: maybe-install-html-bash install-html-bash
4746 maybe-install-html-bash:
4747 @if bash
4748 maybe-install-html-bash: install-html-bash
4750 install-html-bash: \
4751 configure-bash \
4752 html-bash
4753 @: $(MAKE); $(unstage)
4754 @[ -f ./bash/Makefile ] || exit 0; \
4755 r=`${PWD_COMMAND}`; export r; \
4756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4757 $(HOST_EXPORTS) \
4758 for flag in $(EXTRA_HOST_FLAGS) ; do \
4759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4760 done; \
4761 echo "Doing install-html in bash" ; \
4762 (cd $(HOST_SUBDIR)/bash && \
4763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4765 "RANLIB=$${RANLIB}" \
4766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4767 install-html) \
4768 || exit 1
4770 @endif bash
4772 .PHONY: maybe-installcheck-bash installcheck-bash
4773 maybe-installcheck-bash:
4774 @if bash
4775 maybe-installcheck-bash: installcheck-bash
4777 installcheck-bash: \
4778 configure-bash
4779 @: $(MAKE); $(unstage)
4780 @[ -f ./bash/Makefile ] || exit 0; \
4781 r=`${PWD_COMMAND}`; export r; \
4782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4783 $(HOST_EXPORTS) \
4784 for flag in $(EXTRA_HOST_FLAGS) ; do \
4785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4786 done; \
4787 echo "Doing installcheck in bash" ; \
4788 (cd $(HOST_SUBDIR)/bash && \
4789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4791 "RANLIB=$${RANLIB}" \
4792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4793 installcheck) \
4794 || exit 1
4796 @endif bash
4798 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4799 maybe-mostlyclean-bash:
4800 @if bash
4801 maybe-mostlyclean-bash: mostlyclean-bash
4803 mostlyclean-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 mostlyclean 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 mostlyclean) \
4819 || exit 1
4821 @endif bash
4823 .PHONY: maybe-clean-bash clean-bash
4824 maybe-clean-bash:
4825 @if bash
4826 maybe-clean-bash: clean-bash
4828 clean-bash:
4829 @: $(MAKE); $(unstage)
4830 @[ -f ./bash/Makefile ] || exit 0; \
4831 r=`${PWD_COMMAND}`; export r; \
4832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4833 $(HOST_EXPORTS) \
4834 for flag in $(EXTRA_HOST_FLAGS) ; do \
4835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4836 done; \
4837 echo "Doing clean in bash" ; \
4838 (cd $(HOST_SUBDIR)/bash && \
4839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4841 "RANLIB=$${RANLIB}" \
4842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4843 clean) \
4844 || exit 1
4846 @endif bash
4848 .PHONY: maybe-distclean-bash distclean-bash
4849 maybe-distclean-bash:
4850 @if bash
4851 maybe-distclean-bash: distclean-bash
4853 distclean-bash:
4854 @: $(MAKE); $(unstage)
4855 @[ -f ./bash/Makefile ] || exit 0; \
4856 r=`${PWD_COMMAND}`; export r; \
4857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4858 $(HOST_EXPORTS) \
4859 for flag in $(EXTRA_HOST_FLAGS) ; do \
4860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4861 done; \
4862 echo "Doing distclean in bash" ; \
4863 (cd $(HOST_SUBDIR)/bash && \
4864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4866 "RANLIB=$${RANLIB}" \
4867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4868 distclean) \
4869 || exit 1
4871 @endif bash
4873 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4874 maybe-maintainer-clean-bash:
4875 @if bash
4876 maybe-maintainer-clean-bash: maintainer-clean-bash
4878 maintainer-clean-bash:
4879 @: $(MAKE); $(unstage)
4880 @[ -f ./bash/Makefile ] || exit 0; \
4881 r=`${PWD_COMMAND}`; export r; \
4882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883 $(HOST_EXPORTS) \
4884 for flag in $(EXTRA_HOST_FLAGS) ; do \
4885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4886 done; \
4887 echo "Doing maintainer-clean in bash" ; \
4888 (cd $(HOST_SUBDIR)/bash && \
4889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4891 "RANLIB=$${RANLIB}" \
4892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4893 maintainer-clean) \
4894 || exit 1
4896 @endif bash
4900 .PHONY: configure-bfd maybe-configure-bfd
4901 maybe-configure-bfd:
4902 @if gcc-bootstrap
4903 configure-bfd: stage_current
4904 @endif gcc-bootstrap
4905 @if bfd
4906 maybe-configure-bfd: configure-bfd
4907 configure-bfd:
4908 @r=`${PWD_COMMAND}`; export r; \
4909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4910 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4912 $(HOST_EXPORTS) \
4913 echo Configuring in $(HOST_SUBDIR)/bfd; \
4914 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4915 case $(srcdir) in \
4916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4917 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4919 esac; \
4920 srcdiroption="--srcdir=$${topdir}/bfd"; \
4921 libsrcdir="$$s/bfd"; \
4922 $(SHELL) $${libsrcdir}/configure \
4923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4924 --target=${target_alias} $${srcdiroption} \
4925 || exit 1
4926 @endif bfd
4930 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4931 maybe-configure-stage1-bfd:
4932 @if bfd-bootstrap
4933 maybe-configure-stage1-bfd: configure-stage1-bfd
4934 configure-stage1-bfd:
4935 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4937 @r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4940 $(HOST_EXPORTS) \
4941 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4942 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
4943 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4945 cd $(HOST_SUBDIR)/bfd || exit 1; \
4946 case $(srcdir) in \
4947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4948 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4950 esac; \
4951 srcdiroption="--srcdir=$${topdir}/bfd"; \
4952 libsrcdir="$$s/bfd"; \
4953 $(SHELL) $${libsrcdir}/configure \
4954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4955 --target=${target_alias} $${srcdiroption} \
4957 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4958 @endif bfd-bootstrap
4960 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4961 maybe-configure-stage2-bfd:
4962 @if bfd-bootstrap
4963 maybe-configure-stage2-bfd: configure-stage2-bfd
4964 configure-stage2-bfd:
4965 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4967 @r=`${PWD_COMMAND}`; export r; \
4968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4969 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4970 $(HOST_EXPORTS) \
4971 $(POSTSTAGE1_HOST_EXPORTS) \
4972 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4973 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
4974 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4976 cd $(HOST_SUBDIR)/bfd || exit 1; \
4977 case $(srcdir) in \
4978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4979 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4981 esac; \
4982 srcdiroption="--srcdir=$${topdir}/bfd"; \
4983 libsrcdir="$$s/bfd"; \
4984 $(SHELL) $${libsrcdir}/configure \
4985 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4986 --target=${target_alias} $${srcdiroption} \
4987 --with-build-libsubdir=$(HOST_SUBDIR) \
4988 @stage2_werror_flag@
4989 @endif bfd-bootstrap
4991 .PHONY: configure-stageb2g0-bfd maybe-configure-stageb2g0-bfd
4992 maybe-configure-stageb2g0-bfd:
4993 @if bfd-bootstrap
4994 maybe-configure-stageb2g0-bfd: configure-stageb2g0-bfd
4995 configure-stageb2g0-bfd:
4996 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
4997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4998 @r=`${PWD_COMMAND}`; export r; \
4999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5000 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5001 $(HOST_EXPORTS) \
5002 $(POSTSTAGE1_HOST_EXPORTS) \
5003 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
5004 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
5005 echo Configuring stage b2g0 in $(HOST_SUBDIR)/bfd ; \
5006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5007 cd $(HOST_SUBDIR)/bfd || exit 1; \
5008 case $(srcdir) in \
5009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5010 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5012 esac; \
5013 srcdiroption="--srcdir=$${topdir}/bfd"; \
5014 libsrcdir="$$s/bfd"; \
5015 $(SHELL) $${libsrcdir}/configure \
5016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5017 --target=${target_alias} $${srcdiroption} \
5018 --with-build-libsubdir=$(HOST_SUBDIR) \
5019 @stage2_werror_flag@
5020 @endif bfd-bootstrap
5022 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
5023 maybe-configure-stage3-bfd:
5024 @if bfd-bootstrap
5025 maybe-configure-stage3-bfd: configure-stage3-bfd
5026 configure-stage3-bfd:
5027 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5029 @r=`${PWD_COMMAND}`; export r; \
5030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5031 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5032 $(HOST_EXPORTS) \
5033 $(POSTSTAGE1_HOST_EXPORTS) \
5034 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5035 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
5036 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
5037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5038 cd $(HOST_SUBDIR)/bfd || exit 1; \
5039 case $(srcdir) in \
5040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5041 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5043 esac; \
5044 srcdiroption="--srcdir=$${topdir}/bfd"; \
5045 libsrcdir="$$s/bfd"; \
5046 $(SHELL) $${libsrcdir}/configure \
5047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5048 --target=${target_alias} $${srcdiroption} \
5049 --with-build-libsubdir=$(HOST_SUBDIR) \
5050 @stage2_werror_flag@
5051 @endif bfd-bootstrap
5053 .PHONY: configure-stageb3g2-bfd maybe-configure-stageb3g2-bfd
5054 maybe-configure-stageb3g2-bfd:
5055 @if bfd-bootstrap
5056 maybe-configure-stageb3g2-bfd: configure-stageb3g2-bfd
5057 configure-stageb3g2-bfd:
5058 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
5059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5060 @r=`${PWD_COMMAND}`; export r; \
5061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5063 $(HOST_EXPORTS) \
5064 $(POSTSTAGE1_HOST_EXPORTS) \
5065 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
5066 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
5067 echo Configuring stage b3g2 in $(HOST_SUBDIR)/bfd ; \
5068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5069 cd $(HOST_SUBDIR)/bfd || exit 1; \
5070 case $(srcdir) in \
5071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5072 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5074 esac; \
5075 srcdiroption="--srcdir=$${topdir}/bfd"; \
5076 libsrcdir="$$s/bfd"; \
5077 $(SHELL) $${libsrcdir}/configure \
5078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5079 --target=${target_alias} $${srcdiroption} \
5080 --with-build-libsubdir=$(HOST_SUBDIR) \
5081 @stage2_werror_flag@
5082 @endif bfd-bootstrap
5084 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
5085 maybe-configure-stage4-bfd:
5086 @if bfd-bootstrap
5087 maybe-configure-stage4-bfd: configure-stage4-bfd
5088 configure-stage4-bfd:
5089 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5091 @r=`${PWD_COMMAND}`; export r; \
5092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5093 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5094 $(HOST_EXPORTS) \
5095 $(POSTSTAGE1_HOST_EXPORTS) \
5096 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5097 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
5098 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
5099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5100 cd $(HOST_SUBDIR)/bfd || exit 1; \
5101 case $(srcdir) in \
5102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5103 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5105 esac; \
5106 srcdiroption="--srcdir=$${topdir}/bfd"; \
5107 libsrcdir="$$s/bfd"; \
5108 $(SHELL) $${libsrcdir}/configure \
5109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5110 --target=${target_alias} $${srcdiroption} \
5111 --with-build-libsubdir=$(HOST_SUBDIR) \
5112 @stage2_werror_flag@
5113 @endif bfd-bootstrap
5115 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
5116 maybe-configure-stageprofile-bfd:
5117 @if bfd-bootstrap
5118 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
5119 configure-stageprofile-bfd:
5120 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5122 @r=`${PWD_COMMAND}`; export r; \
5123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5124 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5125 $(HOST_EXPORTS) \
5126 $(POSTSTAGE1_HOST_EXPORTS) \
5127 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
5128 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
5129 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
5130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5131 cd $(HOST_SUBDIR)/bfd || exit 1; \
5132 case $(srcdir) in \
5133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5134 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5136 esac; \
5137 srcdiroption="--srcdir=$${topdir}/bfd"; \
5138 libsrcdir="$$s/bfd"; \
5139 $(SHELL) $${libsrcdir}/configure \
5140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5141 --target=${target_alias} $${srcdiroption} \
5142 --with-build-libsubdir=$(HOST_SUBDIR) \
5143 @stage2_werror_flag@
5144 @endif bfd-bootstrap
5146 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
5147 maybe-configure-stagefeedback-bfd:
5148 @if bfd-bootstrap
5149 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
5150 configure-stagefeedback-bfd:
5151 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5152 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5153 @r=`${PWD_COMMAND}`; export r; \
5154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5156 $(HOST_EXPORTS) \
5157 $(POSTSTAGE1_HOST_EXPORTS) \
5158 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
5159 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
5160 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
5161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5162 cd $(HOST_SUBDIR)/bfd || exit 1; \
5163 case $(srcdir) in \
5164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5165 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5167 esac; \
5168 srcdiroption="--srcdir=$${topdir}/bfd"; \
5169 libsrcdir="$$s/bfd"; \
5170 $(SHELL) $${libsrcdir}/configure \
5171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5172 --target=${target_alias} $${srcdiroption} \
5173 --with-build-libsubdir=$(HOST_SUBDIR) \
5174 @stage2_werror_flag@
5175 @endif bfd-bootstrap
5181 .PHONY: all-bfd maybe-all-bfd
5182 maybe-all-bfd:
5183 @if gcc-bootstrap
5184 all-bfd: stage_current
5185 @endif gcc-bootstrap
5186 @if bfd
5187 TARGET-bfd=all
5188 maybe-all-bfd: all-bfd
5189 all-bfd: configure-bfd
5190 @r=`${PWD_COMMAND}`; export r; \
5191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5192 $(HOST_EXPORTS) \
5193 (cd $(HOST_SUBDIR)/bfd && \
5194 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5195 $(TARGET-bfd))
5196 @endif bfd
5200 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
5201 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
5202 maybe-all-stage1-bfd:
5203 maybe-clean-stage1-bfd:
5204 @if bfd-bootstrap
5205 maybe-all-stage1-bfd: all-stage1-bfd
5206 all-stage1: all-stage1-bfd
5207 TARGET-stage1-bfd = $(TARGET-bfd)
5208 all-stage1-bfd: configure-stage1-bfd
5209 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5210 @r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 $(HOST_EXPORTS) \
5213 cd $(HOST_SUBDIR)/bfd && \
5214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5215 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
5216 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
5217 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
5218 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
5219 $(TARGET-stage1-bfd)
5221 maybe-clean-stage1-bfd: clean-stage1-bfd
5222 clean-stage1: clean-stage1-bfd
5223 clean-stage1-bfd:
5224 @if [ $(current_stage) = stage1 ]; then \
5225 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5226 else \
5227 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
5228 $(MAKE) stage1-start; \
5229 fi; \
5230 cd $(HOST_SUBDIR)/bfd && \
5231 $(MAKE) $(EXTRA_HOST_FLAGS) \
5232 clean
5233 @endif bfd-bootstrap
5236 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
5237 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
5238 maybe-all-stage2-bfd:
5239 maybe-clean-stage2-bfd:
5240 @if bfd-bootstrap
5241 maybe-all-stage2-bfd: all-stage2-bfd
5242 all-stage2: all-stage2-bfd
5243 TARGET-stage2-bfd = $(TARGET-bfd)
5244 all-stage2-bfd: configure-stage2-bfd
5245 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5246 @r=`${PWD_COMMAND}`; export r; \
5247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 $(HOST_EXPORTS) \
5249 $(POSTSTAGE1_HOST_EXPORTS) \
5250 cd $(HOST_SUBDIR)/bfd && \
5251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5252 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
5253 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
5254 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
5255 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5256 $(TARGET-stage2-bfd)
5258 maybe-clean-stage2-bfd: clean-stage2-bfd
5259 clean-stage2: clean-stage2-bfd
5260 clean-stage2-bfd:
5261 @if [ $(current_stage) = stage2 ]; then \
5262 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5263 else \
5264 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
5265 $(MAKE) stage2-start; \
5266 fi; \
5267 cd $(HOST_SUBDIR)/bfd && \
5268 $(MAKE) $(EXTRA_HOST_FLAGS) \
5269 $(POSTSTAGE1_FLAGS_TO_PASS) \
5270 clean
5271 @endif bfd-bootstrap
5274 .PHONY: all-stageb2g0-bfd maybe-all-stageb2g0-bfd
5275 .PHONY: clean-stageb2g0-bfd maybe-clean-stageb2g0-bfd
5276 maybe-all-stageb2g0-bfd:
5277 maybe-clean-stageb2g0-bfd:
5278 @if bfd-bootstrap
5279 maybe-all-stageb2g0-bfd: all-stageb2g0-bfd
5280 all-stageb2g0: all-stageb2g0-bfd
5281 TARGET-stageb2g0-bfd = $(TARGET-bfd)
5282 all-stageb2g0-bfd: configure-stageb2g0-bfd
5283 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
5284 @r=`${PWD_COMMAND}`; export r; \
5285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5286 $(HOST_EXPORTS) \
5287 $(POSTSTAGE1_HOST_EXPORTS) \
5288 cd $(HOST_SUBDIR)/bfd && \
5289 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5290 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
5291 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
5292 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
5293 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5294 $(TARGET-stageb2g0-bfd)
5296 maybe-clean-stageb2g0-bfd: clean-stageb2g0-bfd
5297 clean-stageb2g0: clean-stageb2g0-bfd
5298 clean-stageb2g0-bfd:
5299 @if [ $(current_stage) = stageb2g0 ]; then \
5300 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5301 else \
5302 [ -f $(HOST_SUBDIR)/stageb2g0-bfd/Makefile ] || exit 0; \
5303 $(MAKE) stageb2g0-start; \
5304 fi; \
5305 cd $(HOST_SUBDIR)/bfd && \
5306 $(MAKE) $(EXTRA_HOST_FLAGS) \
5307 $(POSTSTAGE1_FLAGS_TO_PASS) \
5308 clean
5309 @endif bfd-bootstrap
5312 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
5313 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
5314 maybe-all-stage3-bfd:
5315 maybe-clean-stage3-bfd:
5316 @if bfd-bootstrap
5317 maybe-all-stage3-bfd: all-stage3-bfd
5318 all-stage3: all-stage3-bfd
5319 TARGET-stage3-bfd = $(TARGET-bfd)
5320 all-stage3-bfd: configure-stage3-bfd
5321 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5322 @r=`${PWD_COMMAND}`; export r; \
5323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5324 $(HOST_EXPORTS) \
5325 $(POSTSTAGE1_HOST_EXPORTS) \
5326 cd $(HOST_SUBDIR)/bfd && \
5327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5328 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
5329 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
5330 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
5331 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5332 $(TARGET-stage3-bfd)
5334 maybe-clean-stage3-bfd: clean-stage3-bfd
5335 clean-stage3: clean-stage3-bfd
5336 clean-stage3-bfd:
5337 @if [ $(current_stage) = stage3 ]; then \
5338 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5339 else \
5340 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
5341 $(MAKE) stage3-start; \
5342 fi; \
5343 cd $(HOST_SUBDIR)/bfd && \
5344 $(MAKE) $(EXTRA_HOST_FLAGS) \
5345 $(POSTSTAGE1_FLAGS_TO_PASS) \
5346 clean
5347 @endif bfd-bootstrap
5350 .PHONY: all-stageb3g2-bfd maybe-all-stageb3g2-bfd
5351 .PHONY: clean-stageb3g2-bfd maybe-clean-stageb3g2-bfd
5352 maybe-all-stageb3g2-bfd:
5353 maybe-clean-stageb3g2-bfd:
5354 @if bfd-bootstrap
5355 maybe-all-stageb3g2-bfd: all-stageb3g2-bfd
5356 all-stageb3g2: all-stageb3g2-bfd
5357 TARGET-stageb3g2-bfd = $(TARGET-bfd)
5358 all-stageb3g2-bfd: configure-stageb3g2-bfd
5359 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
5360 @r=`${PWD_COMMAND}`; export r; \
5361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5362 $(HOST_EXPORTS) \
5363 $(POSTSTAGE1_HOST_EXPORTS) \
5364 cd $(HOST_SUBDIR)/bfd && \
5365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5366 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
5367 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
5368 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
5369 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5370 $(TARGET-stageb3g2-bfd)
5372 maybe-clean-stageb3g2-bfd: clean-stageb3g2-bfd
5373 clean-stageb3g2: clean-stageb3g2-bfd
5374 clean-stageb3g2-bfd:
5375 @if [ $(current_stage) = stageb3g2 ]; then \
5376 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5377 else \
5378 [ -f $(HOST_SUBDIR)/stageb3g2-bfd/Makefile ] || exit 0; \
5379 $(MAKE) stageb3g2-start; \
5380 fi; \
5381 cd $(HOST_SUBDIR)/bfd && \
5382 $(MAKE) $(EXTRA_HOST_FLAGS) \
5383 $(POSTSTAGE1_FLAGS_TO_PASS) \
5384 clean
5385 @endif bfd-bootstrap
5388 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
5389 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
5390 maybe-all-stage4-bfd:
5391 maybe-clean-stage4-bfd:
5392 @if bfd-bootstrap
5393 maybe-all-stage4-bfd: all-stage4-bfd
5394 all-stage4: all-stage4-bfd
5395 TARGET-stage4-bfd = $(TARGET-bfd)
5396 all-stage4-bfd: configure-stage4-bfd
5397 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5398 @r=`${PWD_COMMAND}`; export r; \
5399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5400 $(HOST_EXPORTS) \
5401 $(POSTSTAGE1_HOST_EXPORTS) \
5402 cd $(HOST_SUBDIR)/bfd && \
5403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5404 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
5405 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5406 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
5407 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5408 $(TARGET-stage4-bfd)
5410 maybe-clean-stage4-bfd: clean-stage4-bfd
5411 clean-stage4: clean-stage4-bfd
5412 clean-stage4-bfd:
5413 @if [ $(current_stage) = stage4 ]; then \
5414 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5415 else \
5416 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
5417 $(MAKE) stage4-start; \
5418 fi; \
5419 cd $(HOST_SUBDIR)/bfd && \
5420 $(MAKE) $(EXTRA_HOST_FLAGS) \
5421 $(POSTSTAGE1_FLAGS_TO_PASS) \
5422 clean
5423 @endif bfd-bootstrap
5426 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
5427 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
5428 maybe-all-stageprofile-bfd:
5429 maybe-clean-stageprofile-bfd:
5430 @if bfd-bootstrap
5431 maybe-all-stageprofile-bfd: all-stageprofile-bfd
5432 all-stageprofile: all-stageprofile-bfd
5433 TARGET-stageprofile-bfd = $(TARGET-bfd)
5434 all-stageprofile-bfd: configure-stageprofile-bfd
5435 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5436 @r=`${PWD_COMMAND}`; export r; \
5437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5438 $(HOST_EXPORTS) \
5439 $(POSTSTAGE1_HOST_EXPORTS) \
5440 cd $(HOST_SUBDIR)/bfd && \
5441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5442 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
5443 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
5444 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
5445 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5446 $(TARGET-stageprofile-bfd)
5448 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
5449 clean-stageprofile: clean-stageprofile-bfd
5450 clean-stageprofile-bfd:
5451 @if [ $(current_stage) = stageprofile ]; then \
5452 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5453 else \
5454 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
5455 $(MAKE) stageprofile-start; \
5456 fi; \
5457 cd $(HOST_SUBDIR)/bfd && \
5458 $(MAKE) $(EXTRA_HOST_FLAGS) \
5459 $(POSTSTAGE1_FLAGS_TO_PASS) \
5460 clean
5461 @endif bfd-bootstrap
5464 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
5465 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
5466 maybe-all-stagefeedback-bfd:
5467 maybe-clean-stagefeedback-bfd:
5468 @if bfd-bootstrap
5469 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
5470 all-stagefeedback: all-stagefeedback-bfd
5471 TARGET-stagefeedback-bfd = $(TARGET-bfd)
5472 all-stagefeedback-bfd: configure-stagefeedback-bfd
5473 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5474 @r=`${PWD_COMMAND}`; export r; \
5475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5476 $(HOST_EXPORTS) \
5477 $(POSTSTAGE1_HOST_EXPORTS) \
5478 cd $(HOST_SUBDIR)/bfd && \
5479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5480 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
5481 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
5482 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
5483 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5484 $(TARGET-stagefeedback-bfd)
5486 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
5487 clean-stagefeedback: clean-stagefeedback-bfd
5488 clean-stagefeedback-bfd:
5489 @if [ $(current_stage) = stagefeedback ]; then \
5490 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5491 else \
5492 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
5493 $(MAKE) stagefeedback-start; \
5494 fi; \
5495 cd $(HOST_SUBDIR)/bfd && \
5496 $(MAKE) $(EXTRA_HOST_FLAGS) \
5497 $(POSTSTAGE1_FLAGS_TO_PASS) \
5498 clean
5499 @endif bfd-bootstrap
5505 .PHONY: check-bfd maybe-check-bfd
5506 maybe-check-bfd:
5507 @if bfd
5508 maybe-check-bfd: check-bfd
5510 check-bfd:
5511 @: $(MAKE); $(unstage)
5512 @r=`${PWD_COMMAND}`; export r; \
5513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5514 $(HOST_EXPORTS) \
5515 (cd $(HOST_SUBDIR)/bfd && \
5516 $(MAKE) $(FLAGS_TO_PASS) check)
5518 @endif bfd
5520 .PHONY: install-bfd maybe-install-bfd
5521 maybe-install-bfd:
5522 @if bfd
5523 maybe-install-bfd: install-bfd
5525 install-bfd: installdirs
5526 @: $(MAKE); $(unstage)
5527 @r=`${PWD_COMMAND}`; export r; \
5528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5529 $(HOST_EXPORTS) \
5530 (cd $(HOST_SUBDIR)/bfd && \
5531 $(MAKE) $(FLAGS_TO_PASS) install)
5533 @endif bfd
5535 # Other targets (info, dvi, pdf, etc.)
5537 .PHONY: maybe-info-bfd info-bfd
5538 maybe-info-bfd:
5539 @if bfd
5540 maybe-info-bfd: info-bfd
5542 info-bfd: \
5543 configure-bfd
5544 @[ -f ./bfd/Makefile ] || exit 0; \
5545 r=`${PWD_COMMAND}`; export r; \
5546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5547 $(HOST_EXPORTS) \
5548 for flag in $(EXTRA_HOST_FLAGS) ; do \
5549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5550 done; \
5551 echo "Doing info in bfd" ; \
5552 (cd $(HOST_SUBDIR)/bfd && \
5553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5555 "RANLIB=$${RANLIB}" \
5556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5557 info) \
5558 || exit 1
5560 @endif bfd
5562 .PHONY: maybe-dvi-bfd dvi-bfd
5563 maybe-dvi-bfd:
5564 @if bfd
5565 maybe-dvi-bfd: dvi-bfd
5567 dvi-bfd: \
5568 configure-bfd
5569 @[ -f ./bfd/Makefile ] || exit 0; \
5570 r=`${PWD_COMMAND}`; export r; \
5571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5572 $(HOST_EXPORTS) \
5573 for flag in $(EXTRA_HOST_FLAGS) ; do \
5574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5575 done; \
5576 echo "Doing dvi in bfd" ; \
5577 (cd $(HOST_SUBDIR)/bfd && \
5578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5580 "RANLIB=$${RANLIB}" \
5581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5582 dvi) \
5583 || exit 1
5585 @endif bfd
5587 .PHONY: maybe-pdf-bfd pdf-bfd
5588 maybe-pdf-bfd:
5589 @if bfd
5590 maybe-pdf-bfd: pdf-bfd
5592 pdf-bfd: \
5593 configure-bfd
5594 @[ -f ./bfd/Makefile ] || exit 0; \
5595 r=`${PWD_COMMAND}`; export r; \
5596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5597 $(HOST_EXPORTS) \
5598 for flag in $(EXTRA_HOST_FLAGS) ; do \
5599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5600 done; \
5601 echo "Doing pdf in bfd" ; \
5602 (cd $(HOST_SUBDIR)/bfd && \
5603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5605 "RANLIB=$${RANLIB}" \
5606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5607 pdf) \
5608 || exit 1
5610 @endif bfd
5612 .PHONY: maybe-html-bfd html-bfd
5613 maybe-html-bfd:
5614 @if bfd
5615 maybe-html-bfd: html-bfd
5617 html-bfd: \
5618 configure-bfd
5619 @[ -f ./bfd/Makefile ] || exit 0; \
5620 r=`${PWD_COMMAND}`; export r; \
5621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5622 $(HOST_EXPORTS) \
5623 for flag in $(EXTRA_HOST_FLAGS) ; do \
5624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5625 done; \
5626 echo "Doing html in bfd" ; \
5627 (cd $(HOST_SUBDIR)/bfd && \
5628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5630 "RANLIB=$${RANLIB}" \
5631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5632 html) \
5633 || exit 1
5635 @endif bfd
5637 .PHONY: maybe-TAGS-bfd TAGS-bfd
5638 maybe-TAGS-bfd:
5639 @if bfd
5640 maybe-TAGS-bfd: TAGS-bfd
5642 TAGS-bfd: \
5643 configure-bfd
5644 @[ -f ./bfd/Makefile ] || exit 0; \
5645 r=`${PWD_COMMAND}`; export r; \
5646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5647 $(HOST_EXPORTS) \
5648 for flag in $(EXTRA_HOST_FLAGS) ; do \
5649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5650 done; \
5651 echo "Doing TAGS in bfd" ; \
5652 (cd $(HOST_SUBDIR)/bfd && \
5653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5655 "RANLIB=$${RANLIB}" \
5656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5657 TAGS) \
5658 || exit 1
5660 @endif bfd
5662 .PHONY: maybe-install-info-bfd install-info-bfd
5663 maybe-install-info-bfd:
5664 @if bfd
5665 maybe-install-info-bfd: install-info-bfd
5667 install-info-bfd: \
5668 configure-bfd \
5669 info-bfd
5670 @[ -f ./bfd/Makefile ] || exit 0; \
5671 r=`${PWD_COMMAND}`; export r; \
5672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5673 $(HOST_EXPORTS) \
5674 for flag in $(EXTRA_HOST_FLAGS) ; do \
5675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5676 done; \
5677 echo "Doing install-info in bfd" ; \
5678 (cd $(HOST_SUBDIR)/bfd && \
5679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5681 "RANLIB=$${RANLIB}" \
5682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5683 install-info) \
5684 || exit 1
5686 @endif bfd
5688 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
5689 maybe-install-pdf-bfd:
5690 @if bfd
5691 maybe-install-pdf-bfd: install-pdf-bfd
5693 install-pdf-bfd: \
5694 configure-bfd \
5695 pdf-bfd
5696 @[ -f ./bfd/Makefile ] || exit 0; \
5697 r=`${PWD_COMMAND}`; export r; \
5698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5699 $(HOST_EXPORTS) \
5700 for flag in $(EXTRA_HOST_FLAGS) ; do \
5701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5702 done; \
5703 echo "Doing install-pdf in bfd" ; \
5704 (cd $(HOST_SUBDIR)/bfd && \
5705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5707 "RANLIB=$${RANLIB}" \
5708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5709 install-pdf) \
5710 || exit 1
5712 @endif bfd
5714 .PHONY: maybe-install-html-bfd install-html-bfd
5715 maybe-install-html-bfd:
5716 @if bfd
5717 maybe-install-html-bfd: install-html-bfd
5719 install-html-bfd: \
5720 configure-bfd \
5721 html-bfd
5722 @[ -f ./bfd/Makefile ] || exit 0; \
5723 r=`${PWD_COMMAND}`; export r; \
5724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5725 $(HOST_EXPORTS) \
5726 for flag in $(EXTRA_HOST_FLAGS) ; do \
5727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5728 done; \
5729 echo "Doing install-html in bfd" ; \
5730 (cd $(HOST_SUBDIR)/bfd && \
5731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5733 "RANLIB=$${RANLIB}" \
5734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5735 install-html) \
5736 || exit 1
5738 @endif bfd
5740 .PHONY: maybe-installcheck-bfd installcheck-bfd
5741 maybe-installcheck-bfd:
5742 @if bfd
5743 maybe-installcheck-bfd: installcheck-bfd
5745 installcheck-bfd: \
5746 configure-bfd
5747 @[ -f ./bfd/Makefile ] || exit 0; \
5748 r=`${PWD_COMMAND}`; export r; \
5749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5750 $(HOST_EXPORTS) \
5751 for flag in $(EXTRA_HOST_FLAGS) ; do \
5752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5753 done; \
5754 echo "Doing installcheck in bfd" ; \
5755 (cd $(HOST_SUBDIR)/bfd && \
5756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5758 "RANLIB=$${RANLIB}" \
5759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5760 installcheck) \
5761 || exit 1
5763 @endif bfd
5765 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5766 maybe-mostlyclean-bfd:
5767 @if bfd
5768 maybe-mostlyclean-bfd: mostlyclean-bfd
5770 mostlyclean-bfd:
5771 @[ -f ./bfd/Makefile ] || exit 0; \
5772 r=`${PWD_COMMAND}`; export r; \
5773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774 $(HOST_EXPORTS) \
5775 for flag in $(EXTRA_HOST_FLAGS) ; do \
5776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5777 done; \
5778 echo "Doing mostlyclean in bfd" ; \
5779 (cd $(HOST_SUBDIR)/bfd && \
5780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5782 "RANLIB=$${RANLIB}" \
5783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5784 mostlyclean) \
5785 || exit 1
5787 @endif bfd
5789 .PHONY: maybe-clean-bfd clean-bfd
5790 maybe-clean-bfd:
5791 @if bfd
5792 maybe-clean-bfd: clean-bfd
5794 clean-bfd:
5795 @[ -f ./bfd/Makefile ] || exit 0; \
5796 r=`${PWD_COMMAND}`; export r; \
5797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5798 $(HOST_EXPORTS) \
5799 for flag in $(EXTRA_HOST_FLAGS) ; do \
5800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5801 done; \
5802 echo "Doing clean in bfd" ; \
5803 (cd $(HOST_SUBDIR)/bfd && \
5804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5806 "RANLIB=$${RANLIB}" \
5807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5808 clean) \
5809 || exit 1
5811 @endif bfd
5813 .PHONY: maybe-distclean-bfd distclean-bfd
5814 maybe-distclean-bfd:
5815 @if bfd
5816 maybe-distclean-bfd: distclean-bfd
5818 distclean-bfd:
5819 @[ -f ./bfd/Makefile ] || exit 0; \
5820 r=`${PWD_COMMAND}`; export r; \
5821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5822 $(HOST_EXPORTS) \
5823 for flag in $(EXTRA_HOST_FLAGS) ; do \
5824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5825 done; \
5826 echo "Doing distclean in bfd" ; \
5827 (cd $(HOST_SUBDIR)/bfd && \
5828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5830 "RANLIB=$${RANLIB}" \
5831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5832 distclean) \
5833 || exit 1
5835 @endif bfd
5837 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5838 maybe-maintainer-clean-bfd:
5839 @if bfd
5840 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5842 maintainer-clean-bfd:
5843 @[ -f ./bfd/Makefile ] || exit 0; \
5844 r=`${PWD_COMMAND}`; export r; \
5845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5846 $(HOST_EXPORTS) \
5847 for flag in $(EXTRA_HOST_FLAGS) ; do \
5848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5849 done; \
5850 echo "Doing maintainer-clean in bfd" ; \
5851 (cd $(HOST_SUBDIR)/bfd && \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5854 "RANLIB=$${RANLIB}" \
5855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5856 maintainer-clean) \
5857 || exit 1
5859 @endif bfd
5863 .PHONY: configure-opcodes maybe-configure-opcodes
5864 maybe-configure-opcodes:
5865 @if gcc-bootstrap
5866 configure-opcodes: stage_current
5867 @endif gcc-bootstrap
5868 @if opcodes
5869 maybe-configure-opcodes: configure-opcodes
5870 configure-opcodes:
5871 @r=`${PWD_COMMAND}`; export r; \
5872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5873 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5875 $(HOST_EXPORTS) \
5876 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5877 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5878 case $(srcdir) in \
5879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5880 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5882 esac; \
5883 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5884 libsrcdir="$$s/opcodes"; \
5885 $(SHELL) $${libsrcdir}/configure \
5886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5887 --target=${target_alias} $${srcdiroption} \
5888 || exit 1
5889 @endif opcodes
5893 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5894 maybe-configure-stage1-opcodes:
5895 @if opcodes-bootstrap
5896 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5897 configure-stage1-opcodes:
5898 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5900 @r=`${PWD_COMMAND}`; export r; \
5901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5902 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5903 $(HOST_EXPORTS) \
5904 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5905 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
5906 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5908 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5909 case $(srcdir) in \
5910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5911 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5913 esac; \
5914 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5915 libsrcdir="$$s/opcodes"; \
5916 $(SHELL) $${libsrcdir}/configure \
5917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5918 --target=${target_alias} $${srcdiroption} \
5920 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5921 @endif opcodes-bootstrap
5923 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5924 maybe-configure-stage2-opcodes:
5925 @if opcodes-bootstrap
5926 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5927 configure-stage2-opcodes:
5928 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5930 @r=`${PWD_COMMAND}`; export r; \
5931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5933 $(HOST_EXPORTS) \
5934 $(POSTSTAGE1_HOST_EXPORTS) \
5935 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5936 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
5937 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5939 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5940 case $(srcdir) in \
5941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5942 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5944 esac; \
5945 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5946 libsrcdir="$$s/opcodes"; \
5947 $(SHELL) $${libsrcdir}/configure \
5948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5949 --target=${target_alias} $${srcdiroption} \
5950 --with-build-libsubdir=$(HOST_SUBDIR) \
5951 @stage2_werror_flag@
5952 @endif opcodes-bootstrap
5954 .PHONY: configure-stageb2g0-opcodes maybe-configure-stageb2g0-opcodes
5955 maybe-configure-stageb2g0-opcodes:
5956 @if opcodes-bootstrap
5957 maybe-configure-stageb2g0-opcodes: configure-stageb2g0-opcodes
5958 configure-stageb2g0-opcodes:
5959 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
5960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5961 @r=`${PWD_COMMAND}`; export r; \
5962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5963 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5964 $(HOST_EXPORTS) \
5965 $(POSTSTAGE1_HOST_EXPORTS) \
5966 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
5967 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
5968 echo Configuring stage b2g0 in $(HOST_SUBDIR)/opcodes ; \
5969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5970 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5971 case $(srcdir) in \
5972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5973 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5975 esac; \
5976 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5977 libsrcdir="$$s/opcodes"; \
5978 $(SHELL) $${libsrcdir}/configure \
5979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5980 --target=${target_alias} $${srcdiroption} \
5981 --with-build-libsubdir=$(HOST_SUBDIR) \
5982 @stage2_werror_flag@
5983 @endif opcodes-bootstrap
5985 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5986 maybe-configure-stage3-opcodes:
5987 @if opcodes-bootstrap
5988 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5989 configure-stage3-opcodes:
5990 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5991 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5992 @r=`${PWD_COMMAND}`; export r; \
5993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5994 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5995 $(HOST_EXPORTS) \
5996 $(POSTSTAGE1_HOST_EXPORTS) \
5997 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5998 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
5999 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
6000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6001 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6002 case $(srcdir) in \
6003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6004 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6006 esac; \
6007 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6008 libsrcdir="$$s/opcodes"; \
6009 $(SHELL) $${libsrcdir}/configure \
6010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6011 --target=${target_alias} $${srcdiroption} \
6012 --with-build-libsubdir=$(HOST_SUBDIR) \
6013 @stage2_werror_flag@
6014 @endif opcodes-bootstrap
6016 .PHONY: configure-stageb3g2-opcodes maybe-configure-stageb3g2-opcodes
6017 maybe-configure-stageb3g2-opcodes:
6018 @if opcodes-bootstrap
6019 maybe-configure-stageb3g2-opcodes: configure-stageb3g2-opcodes
6020 configure-stageb3g2-opcodes:
6021 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6023 @r=`${PWD_COMMAND}`; export r; \
6024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6025 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6026 $(HOST_EXPORTS) \
6027 $(POSTSTAGE1_HOST_EXPORTS) \
6028 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
6029 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
6030 echo Configuring stage b3g2 in $(HOST_SUBDIR)/opcodes ; \
6031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6032 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6033 case $(srcdir) in \
6034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6035 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6037 esac; \
6038 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6039 libsrcdir="$$s/opcodes"; \
6040 $(SHELL) $${libsrcdir}/configure \
6041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6042 --target=${target_alias} $${srcdiroption} \
6043 --with-build-libsubdir=$(HOST_SUBDIR) \
6044 @stage2_werror_flag@
6045 @endif opcodes-bootstrap
6047 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
6048 maybe-configure-stage4-opcodes:
6049 @if opcodes-bootstrap
6050 maybe-configure-stage4-opcodes: configure-stage4-opcodes
6051 configure-stage4-opcodes:
6052 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6054 @r=`${PWD_COMMAND}`; export r; \
6055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6057 $(HOST_EXPORTS) \
6058 $(POSTSTAGE1_HOST_EXPORTS) \
6059 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
6060 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
6061 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
6062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6063 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6064 case $(srcdir) in \
6065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6066 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6068 esac; \
6069 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6070 libsrcdir="$$s/opcodes"; \
6071 $(SHELL) $${libsrcdir}/configure \
6072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6073 --target=${target_alias} $${srcdiroption} \
6074 --with-build-libsubdir=$(HOST_SUBDIR) \
6075 @stage2_werror_flag@
6076 @endif opcodes-bootstrap
6078 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
6079 maybe-configure-stageprofile-opcodes:
6080 @if opcodes-bootstrap
6081 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
6082 configure-stageprofile-opcodes:
6083 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6085 @r=`${PWD_COMMAND}`; export r; \
6086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6087 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6088 $(HOST_EXPORTS) \
6089 $(POSTSTAGE1_HOST_EXPORTS) \
6090 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
6091 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
6092 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
6093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6094 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6095 case $(srcdir) in \
6096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6097 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6099 esac; \
6100 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6101 libsrcdir="$$s/opcodes"; \
6102 $(SHELL) $${libsrcdir}/configure \
6103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6104 --target=${target_alias} $${srcdiroption} \
6105 --with-build-libsubdir=$(HOST_SUBDIR) \
6106 @stage2_werror_flag@
6107 @endif opcodes-bootstrap
6109 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
6110 maybe-configure-stagefeedback-opcodes:
6111 @if opcodes-bootstrap
6112 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
6113 configure-stagefeedback-opcodes:
6114 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6116 @r=`${PWD_COMMAND}`; export r; \
6117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6118 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6119 $(HOST_EXPORTS) \
6120 $(POSTSTAGE1_HOST_EXPORTS) \
6121 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
6122 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
6123 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
6124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6125 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6126 case $(srcdir) in \
6127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6128 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6130 esac; \
6131 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6132 libsrcdir="$$s/opcodes"; \
6133 $(SHELL) $${libsrcdir}/configure \
6134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6135 --target=${target_alias} $${srcdiroption} \
6136 --with-build-libsubdir=$(HOST_SUBDIR) \
6137 @stage2_werror_flag@
6138 @endif opcodes-bootstrap
6144 .PHONY: all-opcodes maybe-all-opcodes
6145 maybe-all-opcodes:
6146 @if gcc-bootstrap
6147 all-opcodes: stage_current
6148 @endif gcc-bootstrap
6149 @if opcodes
6150 TARGET-opcodes=all
6151 maybe-all-opcodes: all-opcodes
6152 all-opcodes: configure-opcodes
6153 @r=`${PWD_COMMAND}`; export r; \
6154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6155 $(HOST_EXPORTS) \
6156 (cd $(HOST_SUBDIR)/opcodes && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6158 $(TARGET-opcodes))
6159 @endif opcodes
6163 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
6164 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
6165 maybe-all-stage1-opcodes:
6166 maybe-clean-stage1-opcodes:
6167 @if opcodes-bootstrap
6168 maybe-all-stage1-opcodes: all-stage1-opcodes
6169 all-stage1: all-stage1-opcodes
6170 TARGET-stage1-opcodes = $(TARGET-opcodes)
6171 all-stage1-opcodes: configure-stage1-opcodes
6172 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6173 @r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6175 $(HOST_EXPORTS) \
6176 cd $(HOST_SUBDIR)/opcodes && \
6177 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6178 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
6179 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
6180 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
6181 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
6182 $(TARGET-stage1-opcodes)
6184 maybe-clean-stage1-opcodes: clean-stage1-opcodes
6185 clean-stage1: clean-stage1-opcodes
6186 clean-stage1-opcodes:
6187 @if [ $(current_stage) = stage1 ]; then \
6188 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6189 else \
6190 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
6191 $(MAKE) stage1-start; \
6192 fi; \
6193 cd $(HOST_SUBDIR)/opcodes && \
6194 $(MAKE) $(EXTRA_HOST_FLAGS) \
6195 clean
6196 @endif opcodes-bootstrap
6199 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
6200 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
6201 maybe-all-stage2-opcodes:
6202 maybe-clean-stage2-opcodes:
6203 @if opcodes-bootstrap
6204 maybe-all-stage2-opcodes: all-stage2-opcodes
6205 all-stage2: all-stage2-opcodes
6206 TARGET-stage2-opcodes = $(TARGET-opcodes)
6207 all-stage2-opcodes: configure-stage2-opcodes
6208 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6209 @r=`${PWD_COMMAND}`; export r; \
6210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6211 $(HOST_EXPORTS) \
6212 $(POSTSTAGE1_HOST_EXPORTS) \
6213 cd $(HOST_SUBDIR)/opcodes && \
6214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6215 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
6216 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
6217 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
6218 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6219 $(TARGET-stage2-opcodes)
6221 maybe-clean-stage2-opcodes: clean-stage2-opcodes
6222 clean-stage2: clean-stage2-opcodes
6223 clean-stage2-opcodes:
6224 @if [ $(current_stage) = stage2 ]; then \
6225 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6226 else \
6227 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
6228 $(MAKE) stage2-start; \
6229 fi; \
6230 cd $(HOST_SUBDIR)/opcodes && \
6231 $(MAKE) $(EXTRA_HOST_FLAGS) \
6232 $(POSTSTAGE1_FLAGS_TO_PASS) \
6233 clean
6234 @endif opcodes-bootstrap
6237 .PHONY: all-stageb2g0-opcodes maybe-all-stageb2g0-opcodes
6238 .PHONY: clean-stageb2g0-opcodes maybe-clean-stageb2g0-opcodes
6239 maybe-all-stageb2g0-opcodes:
6240 maybe-clean-stageb2g0-opcodes:
6241 @if opcodes-bootstrap
6242 maybe-all-stageb2g0-opcodes: all-stageb2g0-opcodes
6243 all-stageb2g0: all-stageb2g0-opcodes
6244 TARGET-stageb2g0-opcodes = $(TARGET-opcodes)
6245 all-stageb2g0-opcodes: configure-stageb2g0-opcodes
6246 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
6247 @r=`${PWD_COMMAND}`; export r; \
6248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6249 $(HOST_EXPORTS) \
6250 $(POSTSTAGE1_HOST_EXPORTS) \
6251 cd $(HOST_SUBDIR)/opcodes && \
6252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6253 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
6254 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
6255 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
6256 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6257 $(TARGET-stageb2g0-opcodes)
6259 maybe-clean-stageb2g0-opcodes: clean-stageb2g0-opcodes
6260 clean-stageb2g0: clean-stageb2g0-opcodes
6261 clean-stageb2g0-opcodes:
6262 @if [ $(current_stage) = stageb2g0 ]; then \
6263 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6264 else \
6265 [ -f $(HOST_SUBDIR)/stageb2g0-opcodes/Makefile ] || exit 0; \
6266 $(MAKE) stageb2g0-start; \
6267 fi; \
6268 cd $(HOST_SUBDIR)/opcodes && \
6269 $(MAKE) $(EXTRA_HOST_FLAGS) \
6270 $(POSTSTAGE1_FLAGS_TO_PASS) \
6271 clean
6272 @endif opcodes-bootstrap
6275 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
6276 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
6277 maybe-all-stage3-opcodes:
6278 maybe-clean-stage3-opcodes:
6279 @if opcodes-bootstrap
6280 maybe-all-stage3-opcodes: all-stage3-opcodes
6281 all-stage3: all-stage3-opcodes
6282 TARGET-stage3-opcodes = $(TARGET-opcodes)
6283 all-stage3-opcodes: configure-stage3-opcodes
6284 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6285 @r=`${PWD_COMMAND}`; export r; \
6286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6287 $(HOST_EXPORTS) \
6288 $(POSTSTAGE1_HOST_EXPORTS) \
6289 cd $(HOST_SUBDIR)/opcodes && \
6290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6291 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
6292 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
6293 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
6294 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6295 $(TARGET-stage3-opcodes)
6297 maybe-clean-stage3-opcodes: clean-stage3-opcodes
6298 clean-stage3: clean-stage3-opcodes
6299 clean-stage3-opcodes:
6300 @if [ $(current_stage) = stage3 ]; then \
6301 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6302 else \
6303 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
6304 $(MAKE) stage3-start; \
6305 fi; \
6306 cd $(HOST_SUBDIR)/opcodes && \
6307 $(MAKE) $(EXTRA_HOST_FLAGS) \
6308 $(POSTSTAGE1_FLAGS_TO_PASS) \
6309 clean
6310 @endif opcodes-bootstrap
6313 .PHONY: all-stageb3g2-opcodes maybe-all-stageb3g2-opcodes
6314 .PHONY: clean-stageb3g2-opcodes maybe-clean-stageb3g2-opcodes
6315 maybe-all-stageb3g2-opcodes:
6316 maybe-clean-stageb3g2-opcodes:
6317 @if opcodes-bootstrap
6318 maybe-all-stageb3g2-opcodes: all-stageb3g2-opcodes
6319 all-stageb3g2: all-stageb3g2-opcodes
6320 TARGET-stageb3g2-opcodes = $(TARGET-opcodes)
6321 all-stageb3g2-opcodes: configure-stageb3g2-opcodes
6322 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6323 @r=`${PWD_COMMAND}`; export r; \
6324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6325 $(HOST_EXPORTS) \
6326 $(POSTSTAGE1_HOST_EXPORTS) \
6327 cd $(HOST_SUBDIR)/opcodes && \
6328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6329 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
6330 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
6331 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
6332 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6333 $(TARGET-stageb3g2-opcodes)
6335 maybe-clean-stageb3g2-opcodes: clean-stageb3g2-opcodes
6336 clean-stageb3g2: clean-stageb3g2-opcodes
6337 clean-stageb3g2-opcodes:
6338 @if [ $(current_stage) = stageb3g2 ]; then \
6339 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6340 else \
6341 [ -f $(HOST_SUBDIR)/stageb3g2-opcodes/Makefile ] || exit 0; \
6342 $(MAKE) stageb3g2-start; \
6343 fi; \
6344 cd $(HOST_SUBDIR)/opcodes && \
6345 $(MAKE) $(EXTRA_HOST_FLAGS) \
6346 $(POSTSTAGE1_FLAGS_TO_PASS) \
6347 clean
6348 @endif opcodes-bootstrap
6351 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
6352 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
6353 maybe-all-stage4-opcodes:
6354 maybe-clean-stage4-opcodes:
6355 @if opcodes-bootstrap
6356 maybe-all-stage4-opcodes: all-stage4-opcodes
6357 all-stage4: all-stage4-opcodes
6358 TARGET-stage4-opcodes = $(TARGET-opcodes)
6359 all-stage4-opcodes: configure-stage4-opcodes
6360 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6361 @r=`${PWD_COMMAND}`; export r; \
6362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6363 $(HOST_EXPORTS) \
6364 $(POSTSTAGE1_HOST_EXPORTS) \
6365 cd $(HOST_SUBDIR)/opcodes && \
6366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6367 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
6368 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6369 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
6370 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6371 $(TARGET-stage4-opcodes)
6373 maybe-clean-stage4-opcodes: clean-stage4-opcodes
6374 clean-stage4: clean-stage4-opcodes
6375 clean-stage4-opcodes:
6376 @if [ $(current_stage) = stage4 ]; then \
6377 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6378 else \
6379 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
6380 $(MAKE) stage4-start; \
6381 fi; \
6382 cd $(HOST_SUBDIR)/opcodes && \
6383 $(MAKE) $(EXTRA_HOST_FLAGS) \
6384 $(POSTSTAGE1_FLAGS_TO_PASS) \
6385 clean
6386 @endif opcodes-bootstrap
6389 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
6390 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
6391 maybe-all-stageprofile-opcodes:
6392 maybe-clean-stageprofile-opcodes:
6393 @if opcodes-bootstrap
6394 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
6395 all-stageprofile: all-stageprofile-opcodes
6396 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
6397 all-stageprofile-opcodes: configure-stageprofile-opcodes
6398 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6399 @r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(HOST_EXPORTS) \
6402 $(POSTSTAGE1_HOST_EXPORTS) \
6403 cd $(HOST_SUBDIR)/opcodes && \
6404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6405 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
6406 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
6407 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
6408 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6409 $(TARGET-stageprofile-opcodes)
6411 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
6412 clean-stageprofile: clean-stageprofile-opcodes
6413 clean-stageprofile-opcodes:
6414 @if [ $(current_stage) = stageprofile ]; then \
6415 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6416 else \
6417 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
6418 $(MAKE) stageprofile-start; \
6419 fi; \
6420 cd $(HOST_SUBDIR)/opcodes && \
6421 $(MAKE) $(EXTRA_HOST_FLAGS) \
6422 $(POSTSTAGE1_FLAGS_TO_PASS) \
6423 clean
6424 @endif opcodes-bootstrap
6427 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
6428 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
6429 maybe-all-stagefeedback-opcodes:
6430 maybe-clean-stagefeedback-opcodes:
6431 @if opcodes-bootstrap
6432 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
6433 all-stagefeedback: all-stagefeedback-opcodes
6434 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
6435 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
6436 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6437 @r=`${PWD_COMMAND}`; export r; \
6438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6439 $(HOST_EXPORTS) \
6440 $(POSTSTAGE1_HOST_EXPORTS) \
6441 cd $(HOST_SUBDIR)/opcodes && \
6442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6443 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
6444 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
6445 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
6446 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6447 $(TARGET-stagefeedback-opcodes)
6449 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
6450 clean-stagefeedback: clean-stagefeedback-opcodes
6451 clean-stagefeedback-opcodes:
6452 @if [ $(current_stage) = stagefeedback ]; then \
6453 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6454 else \
6455 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
6456 $(MAKE) stagefeedback-start; \
6457 fi; \
6458 cd $(HOST_SUBDIR)/opcodes && \
6459 $(MAKE) $(EXTRA_HOST_FLAGS) \
6460 $(POSTSTAGE1_FLAGS_TO_PASS) \
6461 clean
6462 @endif opcodes-bootstrap
6468 .PHONY: check-opcodes maybe-check-opcodes
6469 maybe-check-opcodes:
6470 @if opcodes
6471 maybe-check-opcodes: check-opcodes
6473 check-opcodes:
6474 @: $(MAKE); $(unstage)
6475 @r=`${PWD_COMMAND}`; export r; \
6476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6477 $(HOST_EXPORTS) \
6478 (cd $(HOST_SUBDIR)/opcodes && \
6479 $(MAKE) $(FLAGS_TO_PASS) check)
6481 @endif opcodes
6483 .PHONY: install-opcodes maybe-install-opcodes
6484 maybe-install-opcodes:
6485 @if opcodes
6486 maybe-install-opcodes: install-opcodes
6488 install-opcodes: installdirs
6489 @: $(MAKE); $(unstage)
6490 @r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6492 $(HOST_EXPORTS) \
6493 (cd $(HOST_SUBDIR)/opcodes && \
6494 $(MAKE) $(FLAGS_TO_PASS) install)
6496 @endif opcodes
6498 # Other targets (info, dvi, pdf, etc.)
6500 .PHONY: maybe-info-opcodes info-opcodes
6501 maybe-info-opcodes:
6502 @if opcodes
6503 maybe-info-opcodes: info-opcodes
6505 info-opcodes: \
6506 configure-opcodes
6507 @[ -f ./opcodes/Makefile ] || exit 0; \
6508 r=`${PWD_COMMAND}`; export r; \
6509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6510 $(HOST_EXPORTS) \
6511 for flag in $(EXTRA_HOST_FLAGS) ; do \
6512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6513 done; \
6514 echo "Doing info in opcodes" ; \
6515 (cd $(HOST_SUBDIR)/opcodes && \
6516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6518 "RANLIB=$${RANLIB}" \
6519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6520 info) \
6521 || exit 1
6523 @endif opcodes
6525 .PHONY: maybe-dvi-opcodes dvi-opcodes
6526 maybe-dvi-opcodes:
6527 @if opcodes
6528 maybe-dvi-opcodes: dvi-opcodes
6530 dvi-opcodes: \
6531 configure-opcodes
6532 @[ -f ./opcodes/Makefile ] || exit 0; \
6533 r=`${PWD_COMMAND}`; export r; \
6534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6535 $(HOST_EXPORTS) \
6536 for flag in $(EXTRA_HOST_FLAGS) ; do \
6537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6538 done; \
6539 echo "Doing dvi in opcodes" ; \
6540 (cd $(HOST_SUBDIR)/opcodes && \
6541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6543 "RANLIB=$${RANLIB}" \
6544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6545 dvi) \
6546 || exit 1
6548 @endif opcodes
6550 .PHONY: maybe-pdf-opcodes pdf-opcodes
6551 maybe-pdf-opcodes:
6552 @if opcodes
6553 maybe-pdf-opcodes: pdf-opcodes
6555 pdf-opcodes: \
6556 configure-opcodes
6557 @[ -f ./opcodes/Makefile ] || exit 0; \
6558 r=`${PWD_COMMAND}`; export r; \
6559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6560 $(HOST_EXPORTS) \
6561 for flag in $(EXTRA_HOST_FLAGS) ; do \
6562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6563 done; \
6564 echo "Doing pdf in opcodes" ; \
6565 (cd $(HOST_SUBDIR)/opcodes && \
6566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6568 "RANLIB=$${RANLIB}" \
6569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6570 pdf) \
6571 || exit 1
6573 @endif opcodes
6575 .PHONY: maybe-html-opcodes html-opcodes
6576 maybe-html-opcodes:
6577 @if opcodes
6578 maybe-html-opcodes: html-opcodes
6580 html-opcodes: \
6581 configure-opcodes
6582 @[ -f ./opcodes/Makefile ] || exit 0; \
6583 r=`${PWD_COMMAND}`; export r; \
6584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6585 $(HOST_EXPORTS) \
6586 for flag in $(EXTRA_HOST_FLAGS) ; do \
6587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6588 done; \
6589 echo "Doing html in opcodes" ; \
6590 (cd $(HOST_SUBDIR)/opcodes && \
6591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6593 "RANLIB=$${RANLIB}" \
6594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6595 html) \
6596 || exit 1
6598 @endif opcodes
6600 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
6601 maybe-TAGS-opcodes:
6602 @if opcodes
6603 maybe-TAGS-opcodes: TAGS-opcodes
6605 TAGS-opcodes: \
6606 configure-opcodes
6607 @[ -f ./opcodes/Makefile ] || exit 0; \
6608 r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 $(HOST_EXPORTS) \
6611 for flag in $(EXTRA_HOST_FLAGS) ; do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 done; \
6614 echo "Doing TAGS in opcodes" ; \
6615 (cd $(HOST_SUBDIR)/opcodes && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6620 TAGS) \
6621 || exit 1
6623 @endif opcodes
6625 .PHONY: maybe-install-info-opcodes install-info-opcodes
6626 maybe-install-info-opcodes:
6627 @if opcodes
6628 maybe-install-info-opcodes: install-info-opcodes
6630 install-info-opcodes: \
6631 configure-opcodes \
6632 info-opcodes
6633 @[ -f ./opcodes/Makefile ] || exit 0; \
6634 r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636 $(HOST_EXPORTS) \
6637 for flag in $(EXTRA_HOST_FLAGS) ; do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639 done; \
6640 echo "Doing install-info in opcodes" ; \
6641 (cd $(HOST_SUBDIR)/opcodes && \
6642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644 "RANLIB=$${RANLIB}" \
6645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6646 install-info) \
6647 || exit 1
6649 @endif opcodes
6651 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
6652 maybe-install-pdf-opcodes:
6653 @if opcodes
6654 maybe-install-pdf-opcodes: install-pdf-opcodes
6656 install-pdf-opcodes: \
6657 configure-opcodes \
6658 pdf-opcodes
6659 @[ -f ./opcodes/Makefile ] || exit 0; \
6660 r=`${PWD_COMMAND}`; export r; \
6661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6662 $(HOST_EXPORTS) \
6663 for flag in $(EXTRA_HOST_FLAGS) ; do \
6664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6665 done; \
6666 echo "Doing install-pdf in opcodes" ; \
6667 (cd $(HOST_SUBDIR)/opcodes && \
6668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6670 "RANLIB=$${RANLIB}" \
6671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6672 install-pdf) \
6673 || exit 1
6675 @endif opcodes
6677 .PHONY: maybe-install-html-opcodes install-html-opcodes
6678 maybe-install-html-opcodes:
6679 @if opcodes
6680 maybe-install-html-opcodes: install-html-opcodes
6682 install-html-opcodes: \
6683 configure-opcodes \
6684 html-opcodes
6685 @[ -f ./opcodes/Makefile ] || exit 0; \
6686 r=`${PWD_COMMAND}`; export r; \
6687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6688 $(HOST_EXPORTS) \
6689 for flag in $(EXTRA_HOST_FLAGS) ; do \
6690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6691 done; \
6692 echo "Doing install-html in opcodes" ; \
6693 (cd $(HOST_SUBDIR)/opcodes && \
6694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6696 "RANLIB=$${RANLIB}" \
6697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6698 install-html) \
6699 || exit 1
6701 @endif opcodes
6703 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
6704 maybe-installcheck-opcodes:
6705 @if opcodes
6706 maybe-installcheck-opcodes: installcheck-opcodes
6708 installcheck-opcodes: \
6709 configure-opcodes
6710 @[ -f ./opcodes/Makefile ] || exit 0; \
6711 r=`${PWD_COMMAND}`; export r; \
6712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6713 $(HOST_EXPORTS) \
6714 for flag in $(EXTRA_HOST_FLAGS) ; do \
6715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6716 done; \
6717 echo "Doing installcheck in opcodes" ; \
6718 (cd $(HOST_SUBDIR)/opcodes && \
6719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6721 "RANLIB=$${RANLIB}" \
6722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6723 installcheck) \
6724 || exit 1
6726 @endif opcodes
6728 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
6729 maybe-mostlyclean-opcodes:
6730 @if opcodes
6731 maybe-mostlyclean-opcodes: mostlyclean-opcodes
6733 mostlyclean-opcodes:
6734 @[ -f ./opcodes/Makefile ] || exit 0; \
6735 r=`${PWD_COMMAND}`; export r; \
6736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6737 $(HOST_EXPORTS) \
6738 for flag in $(EXTRA_HOST_FLAGS) ; do \
6739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6740 done; \
6741 echo "Doing mostlyclean in opcodes" ; \
6742 (cd $(HOST_SUBDIR)/opcodes && \
6743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6745 "RANLIB=$${RANLIB}" \
6746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6747 mostlyclean) \
6748 || exit 1
6750 @endif opcodes
6752 .PHONY: maybe-clean-opcodes clean-opcodes
6753 maybe-clean-opcodes:
6754 @if opcodes
6755 maybe-clean-opcodes: clean-opcodes
6757 clean-opcodes:
6758 @[ -f ./opcodes/Makefile ] || exit 0; \
6759 r=`${PWD_COMMAND}`; export r; \
6760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6761 $(HOST_EXPORTS) \
6762 for flag in $(EXTRA_HOST_FLAGS) ; do \
6763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6764 done; \
6765 echo "Doing clean in opcodes" ; \
6766 (cd $(HOST_SUBDIR)/opcodes && \
6767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6769 "RANLIB=$${RANLIB}" \
6770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6771 clean) \
6772 || exit 1
6774 @endif opcodes
6776 .PHONY: maybe-distclean-opcodes distclean-opcodes
6777 maybe-distclean-opcodes:
6778 @if opcodes
6779 maybe-distclean-opcodes: distclean-opcodes
6781 distclean-opcodes:
6782 @[ -f ./opcodes/Makefile ] || exit 0; \
6783 r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(HOST_EXPORTS) \
6786 for flag in $(EXTRA_HOST_FLAGS) ; do \
6787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6788 done; \
6789 echo "Doing distclean in opcodes" ; \
6790 (cd $(HOST_SUBDIR)/opcodes && \
6791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6793 "RANLIB=$${RANLIB}" \
6794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6795 distclean) \
6796 || exit 1
6798 @endif opcodes
6800 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6801 maybe-maintainer-clean-opcodes:
6802 @if opcodes
6803 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6805 maintainer-clean-opcodes:
6806 @[ -f ./opcodes/Makefile ] || exit 0; \
6807 r=`${PWD_COMMAND}`; export r; \
6808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 $(HOST_EXPORTS) \
6810 for flag in $(EXTRA_HOST_FLAGS) ; do \
6811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6812 done; \
6813 echo "Doing maintainer-clean in opcodes" ; \
6814 (cd $(HOST_SUBDIR)/opcodes && \
6815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6817 "RANLIB=$${RANLIB}" \
6818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6819 maintainer-clean) \
6820 || exit 1
6822 @endif opcodes
6826 .PHONY: configure-binutils maybe-configure-binutils
6827 maybe-configure-binutils:
6828 @if gcc-bootstrap
6829 configure-binutils: stage_current
6830 @endif gcc-bootstrap
6831 @if binutils
6832 maybe-configure-binutils: configure-binutils
6833 configure-binutils:
6834 @r=`${PWD_COMMAND}`; export r; \
6835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6836 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6838 $(HOST_EXPORTS) \
6839 echo Configuring in $(HOST_SUBDIR)/binutils; \
6840 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6841 case $(srcdir) in \
6842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6843 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6845 esac; \
6846 srcdiroption="--srcdir=$${topdir}/binutils"; \
6847 libsrcdir="$$s/binutils"; \
6848 $(SHELL) $${libsrcdir}/configure \
6849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6850 --target=${target_alias} $${srcdiroption} \
6851 || exit 1
6852 @endif binutils
6856 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6857 maybe-configure-stage1-binutils:
6858 @if binutils-bootstrap
6859 maybe-configure-stage1-binutils: configure-stage1-binutils
6860 configure-stage1-binutils:
6861 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6863 @r=`${PWD_COMMAND}`; export r; \
6864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6865 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6866 $(HOST_EXPORTS) \
6867 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
6868 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
6869 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6871 cd $(HOST_SUBDIR)/binutils || exit 1; \
6872 case $(srcdir) in \
6873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6874 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6876 esac; \
6877 srcdiroption="--srcdir=$${topdir}/binutils"; \
6878 libsrcdir="$$s/binutils"; \
6879 $(SHELL) $${libsrcdir}/configure \
6880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6881 --target=${target_alias} $${srcdiroption} \
6883 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6884 @endif binutils-bootstrap
6886 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6887 maybe-configure-stage2-binutils:
6888 @if binutils-bootstrap
6889 maybe-configure-stage2-binutils: configure-stage2-binutils
6890 configure-stage2-binutils:
6891 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6893 @r=`${PWD_COMMAND}`; export r; \
6894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6895 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6896 $(HOST_EXPORTS) \
6897 $(POSTSTAGE1_HOST_EXPORTS) \
6898 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
6899 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
6900 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6902 cd $(HOST_SUBDIR)/binutils || exit 1; \
6903 case $(srcdir) in \
6904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6905 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6907 esac; \
6908 srcdiroption="--srcdir=$${topdir}/binutils"; \
6909 libsrcdir="$$s/binutils"; \
6910 $(SHELL) $${libsrcdir}/configure \
6911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6912 --target=${target_alias} $${srcdiroption} \
6913 --with-build-libsubdir=$(HOST_SUBDIR) \
6914 @stage2_werror_flag@
6915 @endif binutils-bootstrap
6917 .PHONY: configure-stageb2g0-binutils maybe-configure-stageb2g0-binutils
6918 maybe-configure-stageb2g0-binutils:
6919 @if binutils-bootstrap
6920 maybe-configure-stageb2g0-binutils: configure-stageb2g0-binutils
6921 configure-stageb2g0-binutils:
6922 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
6923 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6924 @r=`${PWD_COMMAND}`; export r; \
6925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6926 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6927 $(HOST_EXPORTS) \
6928 $(POSTSTAGE1_HOST_EXPORTS) \
6929 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
6930 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
6931 echo Configuring stage b2g0 in $(HOST_SUBDIR)/binutils ; \
6932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6933 cd $(HOST_SUBDIR)/binutils || exit 1; \
6934 case $(srcdir) in \
6935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6936 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6938 esac; \
6939 srcdiroption="--srcdir=$${topdir}/binutils"; \
6940 libsrcdir="$$s/binutils"; \
6941 $(SHELL) $${libsrcdir}/configure \
6942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6943 --target=${target_alias} $${srcdiroption} \
6944 --with-build-libsubdir=$(HOST_SUBDIR) \
6945 @stage2_werror_flag@
6946 @endif binutils-bootstrap
6948 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6949 maybe-configure-stage3-binutils:
6950 @if binutils-bootstrap
6951 maybe-configure-stage3-binutils: configure-stage3-binutils
6952 configure-stage3-binutils:
6953 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6955 @r=`${PWD_COMMAND}`; export r; \
6956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6957 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6958 $(HOST_EXPORTS) \
6959 $(POSTSTAGE1_HOST_EXPORTS) \
6960 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
6961 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
6962 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6964 cd $(HOST_SUBDIR)/binutils || exit 1; \
6965 case $(srcdir) in \
6966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6967 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6969 esac; \
6970 srcdiroption="--srcdir=$${topdir}/binutils"; \
6971 libsrcdir="$$s/binutils"; \
6972 $(SHELL) $${libsrcdir}/configure \
6973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6974 --target=${target_alias} $${srcdiroption} \
6975 --with-build-libsubdir=$(HOST_SUBDIR) \
6976 @stage2_werror_flag@
6977 @endif binutils-bootstrap
6979 .PHONY: configure-stageb3g2-binutils maybe-configure-stageb3g2-binutils
6980 maybe-configure-stageb3g2-binutils:
6981 @if binutils-bootstrap
6982 maybe-configure-stageb3g2-binutils: configure-stageb3g2-binutils
6983 configure-stageb3g2-binutils:
6984 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6986 @r=`${PWD_COMMAND}`; export r; \
6987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6988 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6989 $(HOST_EXPORTS) \
6990 $(POSTSTAGE1_HOST_EXPORTS) \
6991 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
6992 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
6993 echo Configuring stage b3g2 in $(HOST_SUBDIR)/binutils ; \
6994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6995 cd $(HOST_SUBDIR)/binutils || exit 1; \
6996 case $(srcdir) in \
6997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6998 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7000 esac; \
7001 srcdiroption="--srcdir=$${topdir}/binutils"; \
7002 libsrcdir="$$s/binutils"; \
7003 $(SHELL) $${libsrcdir}/configure \
7004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7005 --target=${target_alias} $${srcdiroption} \
7006 --with-build-libsubdir=$(HOST_SUBDIR) \
7007 @stage2_werror_flag@
7008 @endif binutils-bootstrap
7010 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
7011 maybe-configure-stage4-binutils:
7012 @if binutils-bootstrap
7013 maybe-configure-stage4-binutils: configure-stage4-binutils
7014 configure-stage4-binutils:
7015 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7017 @r=`${PWD_COMMAND}`; export r; \
7018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7019 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7020 $(HOST_EXPORTS) \
7021 $(POSTSTAGE1_HOST_EXPORTS) \
7022 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7023 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
7024 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
7025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7026 cd $(HOST_SUBDIR)/binutils || exit 1; \
7027 case $(srcdir) in \
7028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7029 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7031 esac; \
7032 srcdiroption="--srcdir=$${topdir}/binutils"; \
7033 libsrcdir="$$s/binutils"; \
7034 $(SHELL) $${libsrcdir}/configure \
7035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7036 --target=${target_alias} $${srcdiroption} \
7037 --with-build-libsubdir=$(HOST_SUBDIR) \
7038 @stage2_werror_flag@
7039 @endif binutils-bootstrap
7041 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
7042 maybe-configure-stageprofile-binutils:
7043 @if binutils-bootstrap
7044 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
7045 configure-stageprofile-binutils:
7046 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7048 @r=`${PWD_COMMAND}`; export r; \
7049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7050 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7051 $(HOST_EXPORTS) \
7052 $(POSTSTAGE1_HOST_EXPORTS) \
7053 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
7054 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
7055 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
7056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7057 cd $(HOST_SUBDIR)/binutils || exit 1; \
7058 case $(srcdir) in \
7059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7060 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7062 esac; \
7063 srcdiroption="--srcdir=$${topdir}/binutils"; \
7064 libsrcdir="$$s/binutils"; \
7065 $(SHELL) $${libsrcdir}/configure \
7066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7067 --target=${target_alias} $${srcdiroption} \
7068 --with-build-libsubdir=$(HOST_SUBDIR) \
7069 @stage2_werror_flag@
7070 @endif binutils-bootstrap
7072 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
7073 maybe-configure-stagefeedback-binutils:
7074 @if binutils-bootstrap
7075 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
7076 configure-stagefeedback-binutils:
7077 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7079 @r=`${PWD_COMMAND}`; export r; \
7080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7081 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7082 $(HOST_EXPORTS) \
7083 $(POSTSTAGE1_HOST_EXPORTS) \
7084 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
7085 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
7086 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
7087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7088 cd $(HOST_SUBDIR)/binutils || exit 1; \
7089 case $(srcdir) in \
7090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7091 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7093 esac; \
7094 srcdiroption="--srcdir=$${topdir}/binutils"; \
7095 libsrcdir="$$s/binutils"; \
7096 $(SHELL) $${libsrcdir}/configure \
7097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7098 --target=${target_alias} $${srcdiroption} \
7099 --with-build-libsubdir=$(HOST_SUBDIR) \
7100 @stage2_werror_flag@
7101 @endif binutils-bootstrap
7107 .PHONY: all-binutils maybe-all-binutils
7108 maybe-all-binutils:
7109 @if gcc-bootstrap
7110 all-binutils: stage_current
7111 @endif gcc-bootstrap
7112 @if binutils
7113 TARGET-binutils=all
7114 maybe-all-binutils: all-binutils
7115 all-binutils: configure-binutils
7116 @r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 $(HOST_EXPORTS) \
7119 (cd $(HOST_SUBDIR)/binutils && \
7120 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7121 $(TARGET-binutils))
7122 @endif binutils
7126 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
7127 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
7128 maybe-all-stage1-binutils:
7129 maybe-clean-stage1-binutils:
7130 @if binutils-bootstrap
7131 maybe-all-stage1-binutils: all-stage1-binutils
7132 all-stage1: all-stage1-binutils
7133 TARGET-stage1-binutils = $(TARGET-binutils)
7134 all-stage1-binutils: configure-stage1-binutils
7135 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7136 @r=`${PWD_COMMAND}`; export r; \
7137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7138 $(HOST_EXPORTS) \
7139 cd $(HOST_SUBDIR)/binutils && \
7140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7141 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
7142 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
7143 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
7144 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
7145 $(TARGET-stage1-binutils)
7147 maybe-clean-stage1-binutils: clean-stage1-binutils
7148 clean-stage1: clean-stage1-binutils
7149 clean-stage1-binutils:
7150 @if [ $(current_stage) = stage1 ]; then \
7151 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7152 else \
7153 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
7154 $(MAKE) stage1-start; \
7155 fi; \
7156 cd $(HOST_SUBDIR)/binutils && \
7157 $(MAKE) $(EXTRA_HOST_FLAGS) \
7158 clean
7159 @endif binutils-bootstrap
7162 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
7163 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
7164 maybe-all-stage2-binutils:
7165 maybe-clean-stage2-binutils:
7166 @if binutils-bootstrap
7167 maybe-all-stage2-binutils: all-stage2-binutils
7168 all-stage2: all-stage2-binutils
7169 TARGET-stage2-binutils = $(TARGET-binutils)
7170 all-stage2-binutils: configure-stage2-binutils
7171 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7172 @r=`${PWD_COMMAND}`; export r; \
7173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7174 $(HOST_EXPORTS) \
7175 $(POSTSTAGE1_HOST_EXPORTS) \
7176 cd $(HOST_SUBDIR)/binutils && \
7177 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7178 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
7179 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
7180 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
7181 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7182 $(TARGET-stage2-binutils)
7184 maybe-clean-stage2-binutils: clean-stage2-binutils
7185 clean-stage2: clean-stage2-binutils
7186 clean-stage2-binutils:
7187 @if [ $(current_stage) = stage2 ]; then \
7188 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7189 else \
7190 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
7191 $(MAKE) stage2-start; \
7192 fi; \
7193 cd $(HOST_SUBDIR)/binutils && \
7194 $(MAKE) $(EXTRA_HOST_FLAGS) \
7195 $(POSTSTAGE1_FLAGS_TO_PASS) \
7196 clean
7197 @endif binutils-bootstrap
7200 .PHONY: all-stageb2g0-binutils maybe-all-stageb2g0-binutils
7201 .PHONY: clean-stageb2g0-binutils maybe-clean-stageb2g0-binutils
7202 maybe-all-stageb2g0-binutils:
7203 maybe-clean-stageb2g0-binutils:
7204 @if binutils-bootstrap
7205 maybe-all-stageb2g0-binutils: all-stageb2g0-binutils
7206 all-stageb2g0: all-stageb2g0-binutils
7207 TARGET-stageb2g0-binutils = $(TARGET-binutils)
7208 all-stageb2g0-binutils: configure-stageb2g0-binutils
7209 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
7210 @r=`${PWD_COMMAND}`; export r; \
7211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7212 $(HOST_EXPORTS) \
7213 $(POSTSTAGE1_HOST_EXPORTS) \
7214 cd $(HOST_SUBDIR)/binutils && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7216 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
7217 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
7218 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
7219 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7220 $(TARGET-stageb2g0-binutils)
7222 maybe-clean-stageb2g0-binutils: clean-stageb2g0-binutils
7223 clean-stageb2g0: clean-stageb2g0-binutils
7224 clean-stageb2g0-binutils:
7225 @if [ $(current_stage) = stageb2g0 ]; then \
7226 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7227 else \
7228 [ -f $(HOST_SUBDIR)/stageb2g0-binutils/Makefile ] || exit 0; \
7229 $(MAKE) stageb2g0-start; \
7230 fi; \
7231 cd $(HOST_SUBDIR)/binutils && \
7232 $(MAKE) $(EXTRA_HOST_FLAGS) \
7233 $(POSTSTAGE1_FLAGS_TO_PASS) \
7234 clean
7235 @endif binutils-bootstrap
7238 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
7239 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
7240 maybe-all-stage3-binutils:
7241 maybe-clean-stage3-binutils:
7242 @if binutils-bootstrap
7243 maybe-all-stage3-binutils: all-stage3-binutils
7244 all-stage3: all-stage3-binutils
7245 TARGET-stage3-binutils = $(TARGET-binutils)
7246 all-stage3-binutils: configure-stage3-binutils
7247 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7248 @r=`${PWD_COMMAND}`; export r; \
7249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7250 $(HOST_EXPORTS) \
7251 $(POSTSTAGE1_HOST_EXPORTS) \
7252 cd $(HOST_SUBDIR)/binutils && \
7253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7254 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
7255 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
7256 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
7257 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7258 $(TARGET-stage3-binutils)
7260 maybe-clean-stage3-binutils: clean-stage3-binutils
7261 clean-stage3: clean-stage3-binutils
7262 clean-stage3-binutils:
7263 @if [ $(current_stage) = stage3 ]; then \
7264 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7265 else \
7266 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
7267 $(MAKE) stage3-start; \
7268 fi; \
7269 cd $(HOST_SUBDIR)/binutils && \
7270 $(MAKE) $(EXTRA_HOST_FLAGS) \
7271 $(POSTSTAGE1_FLAGS_TO_PASS) \
7272 clean
7273 @endif binutils-bootstrap
7276 .PHONY: all-stageb3g2-binutils maybe-all-stageb3g2-binutils
7277 .PHONY: clean-stageb3g2-binutils maybe-clean-stageb3g2-binutils
7278 maybe-all-stageb3g2-binutils:
7279 maybe-clean-stageb3g2-binutils:
7280 @if binutils-bootstrap
7281 maybe-all-stageb3g2-binutils: all-stageb3g2-binutils
7282 all-stageb3g2: all-stageb3g2-binutils
7283 TARGET-stageb3g2-binutils = $(TARGET-binutils)
7284 all-stageb3g2-binutils: configure-stageb3g2-binutils
7285 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
7286 @r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 $(HOST_EXPORTS) \
7289 $(POSTSTAGE1_HOST_EXPORTS) \
7290 cd $(HOST_SUBDIR)/binutils && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7292 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
7293 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
7294 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
7295 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7296 $(TARGET-stageb3g2-binutils)
7298 maybe-clean-stageb3g2-binutils: clean-stageb3g2-binutils
7299 clean-stageb3g2: clean-stageb3g2-binutils
7300 clean-stageb3g2-binutils:
7301 @if [ $(current_stage) = stageb3g2 ]; then \
7302 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7303 else \
7304 [ -f $(HOST_SUBDIR)/stageb3g2-binutils/Makefile ] || exit 0; \
7305 $(MAKE) stageb3g2-start; \
7306 fi; \
7307 cd $(HOST_SUBDIR)/binutils && \
7308 $(MAKE) $(EXTRA_HOST_FLAGS) \
7309 $(POSTSTAGE1_FLAGS_TO_PASS) \
7310 clean
7311 @endif binutils-bootstrap
7314 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
7315 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
7316 maybe-all-stage4-binutils:
7317 maybe-clean-stage4-binutils:
7318 @if binutils-bootstrap
7319 maybe-all-stage4-binutils: all-stage4-binutils
7320 all-stage4: all-stage4-binutils
7321 TARGET-stage4-binutils = $(TARGET-binutils)
7322 all-stage4-binutils: configure-stage4-binutils
7323 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7324 @r=`${PWD_COMMAND}`; export r; \
7325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7326 $(HOST_EXPORTS) \
7327 $(POSTSTAGE1_HOST_EXPORTS) \
7328 cd $(HOST_SUBDIR)/binutils && \
7329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7330 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
7331 LIBCFLAGS="$(STAGE4_CFLAGS)" \
7332 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
7333 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7334 $(TARGET-stage4-binutils)
7336 maybe-clean-stage4-binutils: clean-stage4-binutils
7337 clean-stage4: clean-stage4-binutils
7338 clean-stage4-binutils:
7339 @if [ $(current_stage) = stage4 ]; then \
7340 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7341 else \
7342 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
7343 $(MAKE) stage4-start; \
7344 fi; \
7345 cd $(HOST_SUBDIR)/binutils && \
7346 $(MAKE) $(EXTRA_HOST_FLAGS) \
7347 $(POSTSTAGE1_FLAGS_TO_PASS) \
7348 clean
7349 @endif binutils-bootstrap
7352 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
7353 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
7354 maybe-all-stageprofile-binutils:
7355 maybe-clean-stageprofile-binutils:
7356 @if binutils-bootstrap
7357 maybe-all-stageprofile-binutils: all-stageprofile-binutils
7358 all-stageprofile: all-stageprofile-binutils
7359 TARGET-stageprofile-binutils = $(TARGET-binutils)
7360 all-stageprofile-binutils: configure-stageprofile-binutils
7361 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7362 @r=`${PWD_COMMAND}`; export r; \
7363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7364 $(HOST_EXPORTS) \
7365 $(POSTSTAGE1_HOST_EXPORTS) \
7366 cd $(HOST_SUBDIR)/binutils && \
7367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7368 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
7369 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
7370 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
7371 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7372 $(TARGET-stageprofile-binutils)
7374 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
7375 clean-stageprofile: clean-stageprofile-binutils
7376 clean-stageprofile-binutils:
7377 @if [ $(current_stage) = stageprofile ]; then \
7378 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7379 else \
7380 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
7381 $(MAKE) stageprofile-start; \
7382 fi; \
7383 cd $(HOST_SUBDIR)/binutils && \
7384 $(MAKE) $(EXTRA_HOST_FLAGS) \
7385 $(POSTSTAGE1_FLAGS_TO_PASS) \
7386 clean
7387 @endif binutils-bootstrap
7390 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
7391 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
7392 maybe-all-stagefeedback-binutils:
7393 maybe-clean-stagefeedback-binutils:
7394 @if binutils-bootstrap
7395 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
7396 all-stagefeedback: all-stagefeedback-binutils
7397 TARGET-stagefeedback-binutils = $(TARGET-binutils)
7398 all-stagefeedback-binutils: configure-stagefeedback-binutils
7399 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7400 @r=`${PWD_COMMAND}`; export r; \
7401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402 $(HOST_EXPORTS) \
7403 $(POSTSTAGE1_HOST_EXPORTS) \
7404 cd $(HOST_SUBDIR)/binutils && \
7405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7406 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
7407 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
7408 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
7409 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7410 $(TARGET-stagefeedback-binutils)
7412 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
7413 clean-stagefeedback: clean-stagefeedback-binutils
7414 clean-stagefeedback-binutils:
7415 @if [ $(current_stage) = stagefeedback ]; then \
7416 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7417 else \
7418 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
7419 $(MAKE) stagefeedback-start; \
7420 fi; \
7421 cd $(HOST_SUBDIR)/binutils && \
7422 $(MAKE) $(EXTRA_HOST_FLAGS) \
7423 $(POSTSTAGE1_FLAGS_TO_PASS) \
7424 clean
7425 @endif binutils-bootstrap
7431 .PHONY: check-binutils maybe-check-binutils
7432 maybe-check-binutils:
7433 @if binutils
7434 maybe-check-binutils: check-binutils
7436 check-binutils:
7437 @: $(MAKE); $(unstage)
7438 @r=`${PWD_COMMAND}`; export r; \
7439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7440 $(HOST_EXPORTS) \
7441 (cd $(HOST_SUBDIR)/binutils && \
7442 $(MAKE) $(FLAGS_TO_PASS) check)
7444 @endif binutils
7446 .PHONY: install-binutils maybe-install-binutils
7447 maybe-install-binutils:
7448 @if binutils
7449 maybe-install-binutils: install-binutils
7451 install-binutils: installdirs
7452 @: $(MAKE); $(unstage)
7453 @r=`${PWD_COMMAND}`; export r; \
7454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 $(HOST_EXPORTS) \
7456 (cd $(HOST_SUBDIR)/binutils && \
7457 $(MAKE) $(FLAGS_TO_PASS) install)
7459 @endif binutils
7461 # Other targets (info, dvi, pdf, etc.)
7463 .PHONY: maybe-info-binutils info-binutils
7464 maybe-info-binutils:
7465 @if binutils
7466 maybe-info-binutils: info-binutils
7468 info-binutils: \
7469 configure-binutils
7470 @[ -f ./binutils/Makefile ] || exit 0; \
7471 r=`${PWD_COMMAND}`; export r; \
7472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 $(HOST_EXPORTS) \
7474 for flag in $(EXTRA_HOST_FLAGS) ; do \
7475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7476 done; \
7477 echo "Doing info in binutils" ; \
7478 (cd $(HOST_SUBDIR)/binutils && \
7479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7481 "RANLIB=$${RANLIB}" \
7482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7483 info) \
7484 || exit 1
7486 @endif binutils
7488 .PHONY: maybe-dvi-binutils dvi-binutils
7489 maybe-dvi-binutils:
7490 @if binutils
7491 maybe-dvi-binutils: dvi-binutils
7493 dvi-binutils: \
7494 configure-binutils
7495 @[ -f ./binutils/Makefile ] || exit 0; \
7496 r=`${PWD_COMMAND}`; export r; \
7497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7498 $(HOST_EXPORTS) \
7499 for flag in $(EXTRA_HOST_FLAGS) ; do \
7500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7501 done; \
7502 echo "Doing dvi in binutils" ; \
7503 (cd $(HOST_SUBDIR)/binutils && \
7504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7506 "RANLIB=$${RANLIB}" \
7507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7508 dvi) \
7509 || exit 1
7511 @endif binutils
7513 .PHONY: maybe-pdf-binutils pdf-binutils
7514 maybe-pdf-binutils:
7515 @if binutils
7516 maybe-pdf-binutils: pdf-binutils
7518 pdf-binutils: \
7519 configure-binutils
7520 @[ -f ./binutils/Makefile ] || exit 0; \
7521 r=`${PWD_COMMAND}`; export r; \
7522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7523 $(HOST_EXPORTS) \
7524 for flag in $(EXTRA_HOST_FLAGS) ; do \
7525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7526 done; \
7527 echo "Doing pdf in binutils" ; \
7528 (cd $(HOST_SUBDIR)/binutils && \
7529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7531 "RANLIB=$${RANLIB}" \
7532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7533 pdf) \
7534 || exit 1
7536 @endif binutils
7538 .PHONY: maybe-html-binutils html-binutils
7539 maybe-html-binutils:
7540 @if binutils
7541 maybe-html-binutils: html-binutils
7543 html-binutils: \
7544 configure-binutils
7545 @[ -f ./binutils/Makefile ] || exit 0; \
7546 r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 $(HOST_EXPORTS) \
7549 for flag in $(EXTRA_HOST_FLAGS) ; do \
7550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7551 done; \
7552 echo "Doing html in binutils" ; \
7553 (cd $(HOST_SUBDIR)/binutils && \
7554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7556 "RANLIB=$${RANLIB}" \
7557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7558 html) \
7559 || exit 1
7561 @endif binutils
7563 .PHONY: maybe-TAGS-binutils TAGS-binutils
7564 maybe-TAGS-binutils:
7565 @if binutils
7566 maybe-TAGS-binutils: TAGS-binutils
7568 TAGS-binutils: \
7569 configure-binutils
7570 @[ -f ./binutils/Makefile ] || exit 0; \
7571 r=`${PWD_COMMAND}`; export r; \
7572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7573 $(HOST_EXPORTS) \
7574 for flag in $(EXTRA_HOST_FLAGS) ; do \
7575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7576 done; \
7577 echo "Doing TAGS in binutils" ; \
7578 (cd $(HOST_SUBDIR)/binutils && \
7579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7581 "RANLIB=$${RANLIB}" \
7582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7583 TAGS) \
7584 || exit 1
7586 @endif binutils
7588 .PHONY: maybe-install-info-binutils install-info-binutils
7589 maybe-install-info-binutils:
7590 @if binutils
7591 maybe-install-info-binutils: install-info-binutils
7593 install-info-binutils: \
7594 configure-binutils \
7595 info-binutils
7596 @[ -f ./binutils/Makefile ] || exit 0; \
7597 r=`${PWD_COMMAND}`; export r; \
7598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7599 $(HOST_EXPORTS) \
7600 for flag in $(EXTRA_HOST_FLAGS) ; do \
7601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7602 done; \
7603 echo "Doing install-info in binutils" ; \
7604 (cd $(HOST_SUBDIR)/binutils && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7607 "RANLIB=$${RANLIB}" \
7608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7609 install-info) \
7610 || exit 1
7612 @endif binutils
7614 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
7615 maybe-install-pdf-binutils:
7616 @if binutils
7617 maybe-install-pdf-binutils: install-pdf-binutils
7619 install-pdf-binutils: \
7620 configure-binutils \
7621 pdf-binutils
7622 @[ -f ./binutils/Makefile ] || exit 0; \
7623 r=`${PWD_COMMAND}`; export r; \
7624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7625 $(HOST_EXPORTS) \
7626 for flag in $(EXTRA_HOST_FLAGS) ; do \
7627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7628 done; \
7629 echo "Doing install-pdf in binutils" ; \
7630 (cd $(HOST_SUBDIR)/binutils && \
7631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7633 "RANLIB=$${RANLIB}" \
7634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7635 install-pdf) \
7636 || exit 1
7638 @endif binutils
7640 .PHONY: maybe-install-html-binutils install-html-binutils
7641 maybe-install-html-binutils:
7642 @if binutils
7643 maybe-install-html-binutils: install-html-binutils
7645 install-html-binutils: \
7646 configure-binutils \
7647 html-binutils
7648 @[ -f ./binutils/Makefile ] || exit 0; \
7649 r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 $(HOST_EXPORTS) \
7652 for flag in $(EXTRA_HOST_FLAGS) ; do \
7653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7654 done; \
7655 echo "Doing install-html in binutils" ; \
7656 (cd $(HOST_SUBDIR)/binutils && \
7657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7659 "RANLIB=$${RANLIB}" \
7660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7661 install-html) \
7662 || exit 1
7664 @endif binutils
7666 .PHONY: maybe-installcheck-binutils installcheck-binutils
7667 maybe-installcheck-binutils:
7668 @if binutils
7669 maybe-installcheck-binutils: installcheck-binutils
7671 installcheck-binutils: \
7672 configure-binutils
7673 @[ -f ./binutils/Makefile ] || exit 0; \
7674 r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(HOST_EXPORTS) \
7677 for flag in $(EXTRA_HOST_FLAGS) ; do \
7678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7679 done; \
7680 echo "Doing installcheck in binutils" ; \
7681 (cd $(HOST_SUBDIR)/binutils && \
7682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7684 "RANLIB=$${RANLIB}" \
7685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7686 installcheck) \
7687 || exit 1
7689 @endif binutils
7691 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
7692 maybe-mostlyclean-binutils:
7693 @if binutils
7694 maybe-mostlyclean-binutils: mostlyclean-binutils
7696 mostlyclean-binutils:
7697 @[ -f ./binutils/Makefile ] || exit 0; \
7698 r=`${PWD_COMMAND}`; export r; \
7699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7700 $(HOST_EXPORTS) \
7701 for flag in $(EXTRA_HOST_FLAGS) ; do \
7702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7703 done; \
7704 echo "Doing mostlyclean in binutils" ; \
7705 (cd $(HOST_SUBDIR)/binutils && \
7706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7708 "RANLIB=$${RANLIB}" \
7709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7710 mostlyclean) \
7711 || exit 1
7713 @endif binutils
7715 .PHONY: maybe-clean-binutils clean-binutils
7716 maybe-clean-binutils:
7717 @if binutils
7718 maybe-clean-binutils: clean-binutils
7720 clean-binutils:
7721 @[ -f ./binutils/Makefile ] || exit 0; \
7722 r=`${PWD_COMMAND}`; export r; \
7723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 $(HOST_EXPORTS) \
7725 for flag in $(EXTRA_HOST_FLAGS) ; do \
7726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7727 done; \
7728 echo "Doing clean in binutils" ; \
7729 (cd $(HOST_SUBDIR)/binutils && \
7730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7732 "RANLIB=$${RANLIB}" \
7733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7734 clean) \
7735 || exit 1
7737 @endif binutils
7739 .PHONY: maybe-distclean-binutils distclean-binutils
7740 maybe-distclean-binutils:
7741 @if binutils
7742 maybe-distclean-binutils: distclean-binutils
7744 distclean-binutils:
7745 @[ -f ./binutils/Makefile ] || exit 0; \
7746 r=`${PWD_COMMAND}`; export r; \
7747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7748 $(HOST_EXPORTS) \
7749 for flag in $(EXTRA_HOST_FLAGS) ; do \
7750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7751 done; \
7752 echo "Doing distclean in binutils" ; \
7753 (cd $(HOST_SUBDIR)/binutils && \
7754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7756 "RANLIB=$${RANLIB}" \
7757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7758 distclean) \
7759 || exit 1
7761 @endif binutils
7763 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
7764 maybe-maintainer-clean-binutils:
7765 @if binutils
7766 maybe-maintainer-clean-binutils: maintainer-clean-binutils
7768 maintainer-clean-binutils:
7769 @[ -f ./binutils/Makefile ] || exit 0; \
7770 r=`${PWD_COMMAND}`; export r; \
7771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7772 $(HOST_EXPORTS) \
7773 for flag in $(EXTRA_HOST_FLAGS) ; do \
7774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7775 done; \
7776 echo "Doing maintainer-clean in binutils" ; \
7777 (cd $(HOST_SUBDIR)/binutils && \
7778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7780 "RANLIB=$${RANLIB}" \
7781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7782 maintainer-clean) \
7783 || exit 1
7785 @endif binutils
7789 .PHONY: configure-bison maybe-configure-bison
7790 maybe-configure-bison:
7791 @if gcc-bootstrap
7792 configure-bison: stage_current
7793 @endif gcc-bootstrap
7794 @if bison
7795 maybe-configure-bison: configure-bison
7796 configure-bison:
7797 @: $(MAKE); $(unstage)
7798 @r=`${PWD_COMMAND}`; export r; \
7799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
7801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
7802 $(HOST_EXPORTS) \
7803 echo Configuring in $(HOST_SUBDIR)/bison; \
7804 cd "$(HOST_SUBDIR)/bison" || exit 1; \
7805 case $(srcdir) in \
7806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7807 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
7808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7809 esac; \
7810 srcdiroption="--srcdir=$${topdir}/bison"; \
7811 libsrcdir="$$s/bison"; \
7812 $(SHELL) $${libsrcdir}/configure \
7813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7814 --target=${target_alias} $${srcdiroption} \
7815 || exit 1
7816 @endif bison
7822 .PHONY: all-bison maybe-all-bison
7823 maybe-all-bison:
7824 @if gcc-bootstrap
7825 all-bison: stage_current
7826 @endif gcc-bootstrap
7827 @if bison
7828 TARGET-bison=all
7829 maybe-all-bison: all-bison
7830 all-bison: configure-bison
7831 @: $(MAKE); $(unstage)
7832 @r=`${PWD_COMMAND}`; export r; \
7833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7834 $(HOST_EXPORTS) \
7835 (cd $(HOST_SUBDIR)/bison && \
7836 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7837 $(TARGET-bison))
7838 @endif bison
7843 .PHONY: check-bison maybe-check-bison
7844 maybe-check-bison:
7845 @if bison
7846 maybe-check-bison: check-bison
7848 # This module is only tested in a native toolchain.
7849 check-bison:
7850 @: $(MAKE); $(unstage)
7851 @if [ '$(host)' = '$(target)' ] ; then \
7852 r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854 $(HOST_EXPORTS) \
7855 (cd $(HOST_SUBDIR)/bison && \
7856 $(MAKE) $(FLAGS_TO_PASS) check); \
7859 @endif bison
7861 .PHONY: install-bison maybe-install-bison
7862 maybe-install-bison:
7863 @if bison
7864 maybe-install-bison: install-bison
7866 install-bison: installdirs
7867 @: $(MAKE); $(unstage)
7868 @r=`${PWD_COMMAND}`; export r; \
7869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7870 $(HOST_EXPORTS) \
7871 (cd $(HOST_SUBDIR)/bison && \
7872 $(MAKE) $(FLAGS_TO_PASS) install)
7874 @endif bison
7876 # Other targets (info, dvi, pdf, etc.)
7878 .PHONY: maybe-info-bison info-bison
7879 maybe-info-bison:
7880 @if bison
7881 maybe-info-bison: info-bison
7883 info-bison: \
7884 configure-bison
7885 @: $(MAKE); $(unstage)
7886 @[ -f ./bison/Makefile ] || exit 0; \
7887 r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 $(HOST_EXPORTS) \
7890 for flag in $(EXTRA_HOST_FLAGS) ; do \
7891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7892 done; \
7893 echo "Doing info in bison" ; \
7894 (cd $(HOST_SUBDIR)/bison && \
7895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7897 "RANLIB=$${RANLIB}" \
7898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7899 info) \
7900 || exit 1
7902 @endif bison
7904 .PHONY: maybe-dvi-bison dvi-bison
7905 maybe-dvi-bison:
7906 @if bison
7907 maybe-dvi-bison: dvi-bison
7909 dvi-bison: \
7910 configure-bison
7911 @: $(MAKE); $(unstage)
7912 @[ -f ./bison/Makefile ] || exit 0; \
7913 r=`${PWD_COMMAND}`; export r; \
7914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7915 $(HOST_EXPORTS) \
7916 for flag in $(EXTRA_HOST_FLAGS) ; do \
7917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7918 done; \
7919 echo "Doing dvi in bison" ; \
7920 (cd $(HOST_SUBDIR)/bison && \
7921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7923 "RANLIB=$${RANLIB}" \
7924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7925 dvi) \
7926 || exit 1
7928 @endif bison
7930 .PHONY: maybe-pdf-bison pdf-bison
7931 maybe-pdf-bison:
7932 @if bison
7933 maybe-pdf-bison: pdf-bison
7935 pdf-bison: \
7936 configure-bison
7937 @: $(MAKE); $(unstage)
7938 @[ -f ./bison/Makefile ] || exit 0; \
7939 r=`${PWD_COMMAND}`; export r; \
7940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7941 $(HOST_EXPORTS) \
7942 for flag in $(EXTRA_HOST_FLAGS) ; do \
7943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7944 done; \
7945 echo "Doing pdf in bison" ; \
7946 (cd $(HOST_SUBDIR)/bison && \
7947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7949 "RANLIB=$${RANLIB}" \
7950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7951 pdf) \
7952 || exit 1
7954 @endif bison
7956 .PHONY: maybe-html-bison html-bison
7957 maybe-html-bison:
7958 @if bison
7959 maybe-html-bison: html-bison
7961 html-bison: \
7962 configure-bison
7963 @: $(MAKE); $(unstage)
7964 @[ -f ./bison/Makefile ] || exit 0; \
7965 r=`${PWD_COMMAND}`; export r; \
7966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7967 $(HOST_EXPORTS) \
7968 for flag in $(EXTRA_HOST_FLAGS) ; do \
7969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7970 done; \
7971 echo "Doing html in bison" ; \
7972 (cd $(HOST_SUBDIR)/bison && \
7973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7975 "RANLIB=$${RANLIB}" \
7976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7977 html) \
7978 || exit 1
7980 @endif bison
7982 .PHONY: maybe-TAGS-bison TAGS-bison
7983 maybe-TAGS-bison:
7984 @if bison
7985 maybe-TAGS-bison: TAGS-bison
7987 TAGS-bison: \
7988 configure-bison
7989 @: $(MAKE); $(unstage)
7990 @[ -f ./bison/Makefile ] || exit 0; \
7991 r=`${PWD_COMMAND}`; export r; \
7992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7993 $(HOST_EXPORTS) \
7994 for flag in $(EXTRA_HOST_FLAGS) ; do \
7995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7996 done; \
7997 echo "Doing TAGS in bison" ; \
7998 (cd $(HOST_SUBDIR)/bison && \
7999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8001 "RANLIB=$${RANLIB}" \
8002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8003 TAGS) \
8004 || exit 1
8006 @endif bison
8008 .PHONY: maybe-install-info-bison install-info-bison
8009 maybe-install-info-bison:
8010 @if bison
8011 maybe-install-info-bison: install-info-bison
8013 install-info-bison: \
8014 configure-bison \
8015 info-bison
8016 @: $(MAKE); $(unstage)
8017 @[ -f ./bison/Makefile ] || exit 0; \
8018 r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8020 $(HOST_EXPORTS) \
8021 for flag in $(EXTRA_HOST_FLAGS) ; do \
8022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8023 done; \
8024 echo "Doing install-info in bison" ; \
8025 (cd $(HOST_SUBDIR)/bison && \
8026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8028 "RANLIB=$${RANLIB}" \
8029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8030 install-info) \
8031 || exit 1
8033 @endif bison
8035 .PHONY: maybe-install-pdf-bison install-pdf-bison
8036 maybe-install-pdf-bison:
8037 @if bison
8038 maybe-install-pdf-bison: install-pdf-bison
8040 install-pdf-bison: \
8041 configure-bison \
8042 pdf-bison
8043 @: $(MAKE); $(unstage)
8044 @[ -f ./bison/Makefile ] || exit 0; \
8045 r=`${PWD_COMMAND}`; export r; \
8046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8047 $(HOST_EXPORTS) \
8048 for flag in $(EXTRA_HOST_FLAGS) ; do \
8049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8050 done; \
8051 echo "Doing install-pdf in bison" ; \
8052 (cd $(HOST_SUBDIR)/bison && \
8053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8055 "RANLIB=$${RANLIB}" \
8056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8057 install-pdf) \
8058 || exit 1
8060 @endif bison
8062 .PHONY: maybe-install-html-bison install-html-bison
8063 maybe-install-html-bison:
8064 @if bison
8065 maybe-install-html-bison: install-html-bison
8067 install-html-bison: \
8068 configure-bison \
8069 html-bison
8070 @: $(MAKE); $(unstage)
8071 @[ -f ./bison/Makefile ] || exit 0; \
8072 r=`${PWD_COMMAND}`; export r; \
8073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8074 $(HOST_EXPORTS) \
8075 for flag in $(EXTRA_HOST_FLAGS) ; do \
8076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8077 done; \
8078 echo "Doing install-html in bison" ; \
8079 (cd $(HOST_SUBDIR)/bison && \
8080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8082 "RANLIB=$${RANLIB}" \
8083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8084 install-html) \
8085 || exit 1
8087 @endif bison
8089 .PHONY: maybe-installcheck-bison installcheck-bison
8090 maybe-installcheck-bison:
8091 @if bison
8092 maybe-installcheck-bison: installcheck-bison
8094 installcheck-bison: \
8095 configure-bison
8096 @: $(MAKE); $(unstage)
8097 @[ -f ./bison/Makefile ] || exit 0; \
8098 r=`${PWD_COMMAND}`; export r; \
8099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8100 $(HOST_EXPORTS) \
8101 for flag in $(EXTRA_HOST_FLAGS) ; do \
8102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8103 done; \
8104 echo "Doing installcheck in bison" ; \
8105 (cd $(HOST_SUBDIR)/bison && \
8106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8108 "RANLIB=$${RANLIB}" \
8109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8110 installcheck) \
8111 || exit 1
8113 @endif bison
8115 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
8116 maybe-mostlyclean-bison:
8117 @if bison
8118 maybe-mostlyclean-bison: mostlyclean-bison
8120 mostlyclean-bison:
8121 @: $(MAKE); $(unstage)
8122 @[ -f ./bison/Makefile ] || exit 0; \
8123 r=`${PWD_COMMAND}`; export r; \
8124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8125 $(HOST_EXPORTS) \
8126 for flag in $(EXTRA_HOST_FLAGS) ; do \
8127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8128 done; \
8129 echo "Doing mostlyclean in bison" ; \
8130 (cd $(HOST_SUBDIR)/bison && \
8131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8133 "RANLIB=$${RANLIB}" \
8134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8135 mostlyclean) \
8136 || exit 1
8138 @endif bison
8140 .PHONY: maybe-clean-bison clean-bison
8141 maybe-clean-bison:
8142 @if bison
8143 maybe-clean-bison: clean-bison
8145 clean-bison:
8146 @: $(MAKE); $(unstage)
8147 @[ -f ./bison/Makefile ] || exit 0; \
8148 r=`${PWD_COMMAND}`; export r; \
8149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8150 $(HOST_EXPORTS) \
8151 for flag in $(EXTRA_HOST_FLAGS) ; do \
8152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8153 done; \
8154 echo "Doing clean in bison" ; \
8155 (cd $(HOST_SUBDIR)/bison && \
8156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8158 "RANLIB=$${RANLIB}" \
8159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8160 clean) \
8161 || exit 1
8163 @endif bison
8165 .PHONY: maybe-distclean-bison distclean-bison
8166 maybe-distclean-bison:
8167 @if bison
8168 maybe-distclean-bison: distclean-bison
8170 distclean-bison:
8171 @: $(MAKE); $(unstage)
8172 @[ -f ./bison/Makefile ] || exit 0; \
8173 r=`${PWD_COMMAND}`; export r; \
8174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8175 $(HOST_EXPORTS) \
8176 for flag in $(EXTRA_HOST_FLAGS) ; do \
8177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8178 done; \
8179 echo "Doing distclean in bison" ; \
8180 (cd $(HOST_SUBDIR)/bison && \
8181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8183 "RANLIB=$${RANLIB}" \
8184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8185 distclean) \
8186 || exit 1
8188 @endif bison
8190 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
8191 maybe-maintainer-clean-bison:
8192 @if bison
8193 maybe-maintainer-clean-bison: maintainer-clean-bison
8195 maintainer-clean-bison:
8196 @: $(MAKE); $(unstage)
8197 @[ -f ./bison/Makefile ] || exit 0; \
8198 r=`${PWD_COMMAND}`; export r; \
8199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8200 $(HOST_EXPORTS) \
8201 for flag in $(EXTRA_HOST_FLAGS) ; do \
8202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8203 done; \
8204 echo "Doing maintainer-clean in bison" ; \
8205 (cd $(HOST_SUBDIR)/bison && \
8206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8208 "RANLIB=$${RANLIB}" \
8209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8210 maintainer-clean) \
8211 || exit 1
8213 @endif bison
8217 .PHONY: configure-byacc maybe-configure-byacc
8218 maybe-configure-byacc:
8219 @if gcc-bootstrap
8220 configure-byacc: stage_current
8221 @endif gcc-bootstrap
8222 @if byacc
8223 maybe-configure-byacc: configure-byacc
8224 configure-byacc:
8225 @: $(MAKE); $(unstage)
8226 @r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
8229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
8230 $(HOST_EXPORTS) \
8231 echo Configuring in $(HOST_SUBDIR)/byacc; \
8232 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
8233 case $(srcdir) in \
8234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8235 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
8236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8237 esac; \
8238 srcdiroption="--srcdir=$${topdir}/byacc"; \
8239 libsrcdir="$$s/byacc"; \
8240 $(SHELL) $${libsrcdir}/configure \
8241 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8242 --target=${target_alias} $${srcdiroption} \
8243 || exit 1
8244 @endif byacc
8250 .PHONY: all-byacc maybe-all-byacc
8251 maybe-all-byacc:
8252 @if gcc-bootstrap
8253 all-byacc: stage_current
8254 @endif gcc-bootstrap
8255 @if byacc
8256 TARGET-byacc=all
8257 maybe-all-byacc: all-byacc
8258 all-byacc: configure-byacc
8259 @: $(MAKE); $(unstage)
8260 @r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(HOST_EXPORTS) \
8263 (cd $(HOST_SUBDIR)/byacc && \
8264 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8265 $(TARGET-byacc))
8266 @endif byacc
8271 .PHONY: check-byacc maybe-check-byacc
8272 maybe-check-byacc:
8273 @if byacc
8274 maybe-check-byacc: check-byacc
8276 # This module is only tested in a native toolchain.
8277 check-byacc:
8278 @: $(MAKE); $(unstage)
8279 @if [ '$(host)' = '$(target)' ] ; then \
8280 r=`${PWD_COMMAND}`; export r; \
8281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 $(HOST_EXPORTS) \
8283 (cd $(HOST_SUBDIR)/byacc && \
8284 $(MAKE) $(FLAGS_TO_PASS) check); \
8287 @endif byacc
8289 .PHONY: install-byacc maybe-install-byacc
8290 maybe-install-byacc:
8291 @if byacc
8292 maybe-install-byacc: install-byacc
8294 install-byacc: installdirs
8295 @: $(MAKE); $(unstage)
8296 @r=`${PWD_COMMAND}`; export r; \
8297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8298 $(HOST_EXPORTS) \
8299 (cd $(HOST_SUBDIR)/byacc && \
8300 $(MAKE) $(FLAGS_TO_PASS) install)
8302 @endif byacc
8304 # Other targets (info, dvi, pdf, etc.)
8306 .PHONY: maybe-info-byacc info-byacc
8307 maybe-info-byacc:
8308 @if byacc
8309 maybe-info-byacc: info-byacc
8311 info-byacc: \
8312 configure-byacc
8313 @: $(MAKE); $(unstage)
8314 @[ -f ./byacc/Makefile ] || exit 0; \
8315 r=`${PWD_COMMAND}`; export r; \
8316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8317 $(HOST_EXPORTS) \
8318 for flag in $(EXTRA_HOST_FLAGS) ; do \
8319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8320 done; \
8321 echo "Doing info in byacc" ; \
8322 (cd $(HOST_SUBDIR)/byacc && \
8323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8325 "RANLIB=$${RANLIB}" \
8326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8327 info) \
8328 || exit 1
8330 @endif byacc
8332 .PHONY: maybe-dvi-byacc dvi-byacc
8333 maybe-dvi-byacc:
8334 @if byacc
8335 maybe-dvi-byacc: dvi-byacc
8337 dvi-byacc: \
8338 configure-byacc
8339 @: $(MAKE); $(unstage)
8340 @[ -f ./byacc/Makefile ] || exit 0; \
8341 r=`${PWD_COMMAND}`; export r; \
8342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8343 $(HOST_EXPORTS) \
8344 for flag in $(EXTRA_HOST_FLAGS) ; do \
8345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8346 done; \
8347 echo "Doing dvi in byacc" ; \
8348 (cd $(HOST_SUBDIR)/byacc && \
8349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8351 "RANLIB=$${RANLIB}" \
8352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8353 dvi) \
8354 || exit 1
8356 @endif byacc
8358 .PHONY: maybe-pdf-byacc pdf-byacc
8359 maybe-pdf-byacc:
8360 @if byacc
8361 maybe-pdf-byacc: pdf-byacc
8363 pdf-byacc: \
8364 configure-byacc
8365 @: $(MAKE); $(unstage)
8366 @[ -f ./byacc/Makefile ] || exit 0; \
8367 r=`${PWD_COMMAND}`; export r; \
8368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8369 $(HOST_EXPORTS) \
8370 for flag in $(EXTRA_HOST_FLAGS) ; do \
8371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8372 done; \
8373 echo "Doing pdf in byacc" ; \
8374 (cd $(HOST_SUBDIR)/byacc && \
8375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8377 "RANLIB=$${RANLIB}" \
8378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8379 pdf) \
8380 || exit 1
8382 @endif byacc
8384 .PHONY: maybe-html-byacc html-byacc
8385 maybe-html-byacc:
8386 @if byacc
8387 maybe-html-byacc: html-byacc
8389 html-byacc: \
8390 configure-byacc
8391 @: $(MAKE); $(unstage)
8392 @[ -f ./byacc/Makefile ] || exit 0; \
8393 r=`${PWD_COMMAND}`; export r; \
8394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8395 $(HOST_EXPORTS) \
8396 for flag in $(EXTRA_HOST_FLAGS) ; do \
8397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8398 done; \
8399 echo "Doing html in byacc" ; \
8400 (cd $(HOST_SUBDIR)/byacc && \
8401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8403 "RANLIB=$${RANLIB}" \
8404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8405 html) \
8406 || exit 1
8408 @endif byacc
8410 .PHONY: maybe-TAGS-byacc TAGS-byacc
8411 maybe-TAGS-byacc:
8412 @if byacc
8413 maybe-TAGS-byacc: TAGS-byacc
8415 TAGS-byacc: \
8416 configure-byacc
8417 @: $(MAKE); $(unstage)
8418 @[ -f ./byacc/Makefile ] || exit 0; \
8419 r=`${PWD_COMMAND}`; export r; \
8420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8421 $(HOST_EXPORTS) \
8422 for flag in $(EXTRA_HOST_FLAGS) ; do \
8423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8424 done; \
8425 echo "Doing TAGS in byacc" ; \
8426 (cd $(HOST_SUBDIR)/byacc && \
8427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8429 "RANLIB=$${RANLIB}" \
8430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8431 TAGS) \
8432 || exit 1
8434 @endif byacc
8436 .PHONY: maybe-install-info-byacc install-info-byacc
8437 maybe-install-info-byacc:
8438 @if byacc
8439 maybe-install-info-byacc: install-info-byacc
8441 install-info-byacc: \
8442 configure-byacc \
8443 info-byacc
8444 @: $(MAKE); $(unstage)
8445 @[ -f ./byacc/Makefile ] || exit 0; \
8446 r=`${PWD_COMMAND}`; export r; \
8447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8448 $(HOST_EXPORTS) \
8449 for flag in $(EXTRA_HOST_FLAGS) ; do \
8450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8451 done; \
8452 echo "Doing install-info in byacc" ; \
8453 (cd $(HOST_SUBDIR)/byacc && \
8454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8456 "RANLIB=$${RANLIB}" \
8457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8458 install-info) \
8459 || exit 1
8461 @endif byacc
8463 .PHONY: maybe-install-pdf-byacc install-pdf-byacc
8464 maybe-install-pdf-byacc:
8465 @if byacc
8466 maybe-install-pdf-byacc: install-pdf-byacc
8468 install-pdf-byacc: \
8469 configure-byacc \
8470 pdf-byacc
8471 @: $(MAKE); $(unstage)
8472 @[ -f ./byacc/Makefile ] || exit 0; \
8473 r=`${PWD_COMMAND}`; export r; \
8474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8475 $(HOST_EXPORTS) \
8476 for flag in $(EXTRA_HOST_FLAGS) ; do \
8477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8478 done; \
8479 echo "Doing install-pdf in byacc" ; \
8480 (cd $(HOST_SUBDIR)/byacc && \
8481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8483 "RANLIB=$${RANLIB}" \
8484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8485 install-pdf) \
8486 || exit 1
8488 @endif byacc
8490 .PHONY: maybe-install-html-byacc install-html-byacc
8491 maybe-install-html-byacc:
8492 @if byacc
8493 maybe-install-html-byacc: install-html-byacc
8495 install-html-byacc: \
8496 configure-byacc \
8497 html-byacc
8498 @: $(MAKE); $(unstage)
8499 @[ -f ./byacc/Makefile ] || exit 0; \
8500 r=`${PWD_COMMAND}`; export r; \
8501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8502 $(HOST_EXPORTS) \
8503 for flag in $(EXTRA_HOST_FLAGS) ; do \
8504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8505 done; \
8506 echo "Doing install-html in byacc" ; \
8507 (cd $(HOST_SUBDIR)/byacc && \
8508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8510 "RANLIB=$${RANLIB}" \
8511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8512 install-html) \
8513 || exit 1
8515 @endif byacc
8517 .PHONY: maybe-installcheck-byacc installcheck-byacc
8518 maybe-installcheck-byacc:
8519 @if byacc
8520 maybe-installcheck-byacc: installcheck-byacc
8522 installcheck-byacc: \
8523 configure-byacc
8524 @: $(MAKE); $(unstage)
8525 @[ -f ./byacc/Makefile ] || exit 0; \
8526 r=`${PWD_COMMAND}`; export r; \
8527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8528 $(HOST_EXPORTS) \
8529 for flag in $(EXTRA_HOST_FLAGS) ; do \
8530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8531 done; \
8532 echo "Doing installcheck in byacc" ; \
8533 (cd $(HOST_SUBDIR)/byacc && \
8534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8536 "RANLIB=$${RANLIB}" \
8537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8538 installcheck) \
8539 || exit 1
8541 @endif byacc
8543 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
8544 maybe-mostlyclean-byacc:
8545 @if byacc
8546 maybe-mostlyclean-byacc: mostlyclean-byacc
8548 mostlyclean-byacc:
8549 @: $(MAKE); $(unstage)
8550 @[ -f ./byacc/Makefile ] || exit 0; \
8551 r=`${PWD_COMMAND}`; export r; \
8552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8553 $(HOST_EXPORTS) \
8554 for flag in $(EXTRA_HOST_FLAGS) ; do \
8555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8556 done; \
8557 echo "Doing mostlyclean in byacc" ; \
8558 (cd $(HOST_SUBDIR)/byacc && \
8559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8561 "RANLIB=$${RANLIB}" \
8562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8563 mostlyclean) \
8564 || exit 1
8566 @endif byacc
8568 .PHONY: maybe-clean-byacc clean-byacc
8569 maybe-clean-byacc:
8570 @if byacc
8571 maybe-clean-byacc: clean-byacc
8573 clean-byacc:
8574 @: $(MAKE); $(unstage)
8575 @[ -f ./byacc/Makefile ] || exit 0; \
8576 r=`${PWD_COMMAND}`; export r; \
8577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8578 $(HOST_EXPORTS) \
8579 for flag in $(EXTRA_HOST_FLAGS) ; do \
8580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8581 done; \
8582 echo "Doing clean in byacc" ; \
8583 (cd $(HOST_SUBDIR)/byacc && \
8584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8586 "RANLIB=$${RANLIB}" \
8587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8588 clean) \
8589 || exit 1
8591 @endif byacc
8593 .PHONY: maybe-distclean-byacc distclean-byacc
8594 maybe-distclean-byacc:
8595 @if byacc
8596 maybe-distclean-byacc: distclean-byacc
8598 distclean-byacc:
8599 @: $(MAKE); $(unstage)
8600 @[ -f ./byacc/Makefile ] || exit 0; \
8601 r=`${PWD_COMMAND}`; export r; \
8602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8603 $(HOST_EXPORTS) \
8604 for flag in $(EXTRA_HOST_FLAGS) ; do \
8605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8606 done; \
8607 echo "Doing distclean in byacc" ; \
8608 (cd $(HOST_SUBDIR)/byacc && \
8609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8611 "RANLIB=$${RANLIB}" \
8612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8613 distclean) \
8614 || exit 1
8616 @endif byacc
8618 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
8619 maybe-maintainer-clean-byacc:
8620 @if byacc
8621 maybe-maintainer-clean-byacc: maintainer-clean-byacc
8623 maintainer-clean-byacc:
8624 @: $(MAKE); $(unstage)
8625 @[ -f ./byacc/Makefile ] || exit 0; \
8626 r=`${PWD_COMMAND}`; export r; \
8627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8628 $(HOST_EXPORTS) \
8629 for flag in $(EXTRA_HOST_FLAGS) ; do \
8630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8631 done; \
8632 echo "Doing maintainer-clean in byacc" ; \
8633 (cd $(HOST_SUBDIR)/byacc && \
8634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8636 "RANLIB=$${RANLIB}" \
8637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8638 maintainer-clean) \
8639 || exit 1
8641 @endif byacc
8645 .PHONY: configure-bzip2 maybe-configure-bzip2
8646 maybe-configure-bzip2:
8647 @if gcc-bootstrap
8648 configure-bzip2: stage_current
8649 @endif gcc-bootstrap
8650 @if bzip2
8651 maybe-configure-bzip2: configure-bzip2
8652 configure-bzip2:
8653 @: $(MAKE); $(unstage)
8654 @r=`${PWD_COMMAND}`; export r; \
8655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8656 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
8657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
8658 $(HOST_EXPORTS) \
8659 echo Configuring in $(HOST_SUBDIR)/bzip2; \
8660 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
8661 case $(srcdir) in \
8662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8663 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
8664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8665 esac; \
8666 srcdiroption="--srcdir=$${topdir}/bzip2"; \
8667 libsrcdir="$$s/bzip2"; \
8668 $(SHELL) $${libsrcdir}/configure \
8669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8670 --target=${target_alias} $${srcdiroption} \
8671 || exit 1
8672 @endif bzip2
8678 .PHONY: all-bzip2 maybe-all-bzip2
8679 maybe-all-bzip2:
8680 @if gcc-bootstrap
8681 all-bzip2: stage_current
8682 @endif gcc-bootstrap
8683 @if bzip2
8684 TARGET-bzip2=all
8685 maybe-all-bzip2: all-bzip2
8686 all-bzip2: configure-bzip2
8687 @: $(MAKE); $(unstage)
8688 @r=`${PWD_COMMAND}`; export r; \
8689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8690 $(HOST_EXPORTS) \
8691 (cd $(HOST_SUBDIR)/bzip2 && \
8692 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8693 $(TARGET-bzip2))
8694 @endif bzip2
8699 .PHONY: check-bzip2 maybe-check-bzip2
8700 maybe-check-bzip2:
8701 @if bzip2
8702 maybe-check-bzip2: check-bzip2
8704 check-bzip2:
8705 @: $(MAKE); $(unstage)
8706 @r=`${PWD_COMMAND}`; export r; \
8707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8708 $(HOST_EXPORTS) \
8709 (cd $(HOST_SUBDIR)/bzip2 && \
8710 $(MAKE) $(FLAGS_TO_PASS) check)
8712 @endif bzip2
8714 .PHONY: install-bzip2 maybe-install-bzip2
8715 maybe-install-bzip2:
8716 @if bzip2
8717 maybe-install-bzip2: install-bzip2
8719 install-bzip2: installdirs
8720 @: $(MAKE); $(unstage)
8721 @r=`${PWD_COMMAND}`; export r; \
8722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8723 $(HOST_EXPORTS) \
8724 (cd $(HOST_SUBDIR)/bzip2 && \
8725 $(MAKE) $(FLAGS_TO_PASS) install)
8727 @endif bzip2
8729 # Other targets (info, dvi, pdf, etc.)
8731 .PHONY: maybe-info-bzip2 info-bzip2
8732 maybe-info-bzip2:
8733 @if bzip2
8734 maybe-info-bzip2: info-bzip2
8736 info-bzip2: \
8737 configure-bzip2
8738 @: $(MAKE); $(unstage)
8739 @[ -f ./bzip2/Makefile ] || exit 0; \
8740 r=`${PWD_COMMAND}`; export r; \
8741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8742 $(HOST_EXPORTS) \
8743 for flag in $(EXTRA_HOST_FLAGS) ; do \
8744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8745 done; \
8746 echo "Doing info in bzip2" ; \
8747 (cd $(HOST_SUBDIR)/bzip2 && \
8748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8750 "RANLIB=$${RANLIB}" \
8751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8752 info) \
8753 || exit 1
8755 @endif bzip2
8757 .PHONY: maybe-dvi-bzip2 dvi-bzip2
8758 maybe-dvi-bzip2:
8759 @if bzip2
8760 maybe-dvi-bzip2: dvi-bzip2
8762 dvi-bzip2: \
8763 configure-bzip2
8764 @: $(MAKE); $(unstage)
8765 @[ -f ./bzip2/Makefile ] || exit 0; \
8766 r=`${PWD_COMMAND}`; export r; \
8767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8768 $(HOST_EXPORTS) \
8769 for flag in $(EXTRA_HOST_FLAGS) ; do \
8770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8771 done; \
8772 echo "Doing dvi in bzip2" ; \
8773 (cd $(HOST_SUBDIR)/bzip2 && \
8774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8776 "RANLIB=$${RANLIB}" \
8777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8778 dvi) \
8779 || exit 1
8781 @endif bzip2
8783 .PHONY: maybe-pdf-bzip2 pdf-bzip2
8784 maybe-pdf-bzip2:
8785 @if bzip2
8786 maybe-pdf-bzip2: pdf-bzip2
8788 pdf-bzip2: \
8789 configure-bzip2
8790 @: $(MAKE); $(unstage)
8791 @[ -f ./bzip2/Makefile ] || exit 0; \
8792 r=`${PWD_COMMAND}`; export r; \
8793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8794 $(HOST_EXPORTS) \
8795 for flag in $(EXTRA_HOST_FLAGS) ; do \
8796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8797 done; \
8798 echo "Doing pdf in bzip2" ; \
8799 (cd $(HOST_SUBDIR)/bzip2 && \
8800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8802 "RANLIB=$${RANLIB}" \
8803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8804 pdf) \
8805 || exit 1
8807 @endif bzip2
8809 .PHONY: maybe-html-bzip2 html-bzip2
8810 maybe-html-bzip2:
8811 @if bzip2
8812 maybe-html-bzip2: html-bzip2
8814 html-bzip2: \
8815 configure-bzip2
8816 @: $(MAKE); $(unstage)
8817 @[ -f ./bzip2/Makefile ] || exit 0; \
8818 r=`${PWD_COMMAND}`; export r; \
8819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8820 $(HOST_EXPORTS) \
8821 for flag in $(EXTRA_HOST_FLAGS) ; do \
8822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8823 done; \
8824 echo "Doing html in bzip2" ; \
8825 (cd $(HOST_SUBDIR)/bzip2 && \
8826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8828 "RANLIB=$${RANLIB}" \
8829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8830 html) \
8831 || exit 1
8833 @endif bzip2
8835 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
8836 maybe-TAGS-bzip2:
8837 @if bzip2
8838 maybe-TAGS-bzip2: TAGS-bzip2
8840 TAGS-bzip2: \
8841 configure-bzip2
8842 @: $(MAKE); $(unstage)
8843 @[ -f ./bzip2/Makefile ] || exit 0; \
8844 r=`${PWD_COMMAND}`; export r; \
8845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8846 $(HOST_EXPORTS) \
8847 for flag in $(EXTRA_HOST_FLAGS) ; do \
8848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8849 done; \
8850 echo "Doing TAGS in bzip2" ; \
8851 (cd $(HOST_SUBDIR)/bzip2 && \
8852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8854 "RANLIB=$${RANLIB}" \
8855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8856 TAGS) \
8857 || exit 1
8859 @endif bzip2
8861 .PHONY: maybe-install-info-bzip2 install-info-bzip2
8862 maybe-install-info-bzip2:
8863 @if bzip2
8864 maybe-install-info-bzip2: install-info-bzip2
8866 install-info-bzip2: \
8867 configure-bzip2 \
8868 info-bzip2
8869 @: $(MAKE); $(unstage)
8870 @[ -f ./bzip2/Makefile ] || exit 0; \
8871 r=`${PWD_COMMAND}`; export r; \
8872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8873 $(HOST_EXPORTS) \
8874 for flag in $(EXTRA_HOST_FLAGS) ; do \
8875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8876 done; \
8877 echo "Doing install-info in bzip2" ; \
8878 (cd $(HOST_SUBDIR)/bzip2 && \
8879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8881 "RANLIB=$${RANLIB}" \
8882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8883 install-info) \
8884 || exit 1
8886 @endif bzip2
8888 .PHONY: maybe-install-pdf-bzip2 install-pdf-bzip2
8889 maybe-install-pdf-bzip2:
8890 @if bzip2
8891 maybe-install-pdf-bzip2: install-pdf-bzip2
8893 install-pdf-bzip2: \
8894 configure-bzip2 \
8895 pdf-bzip2
8896 @: $(MAKE); $(unstage)
8897 @[ -f ./bzip2/Makefile ] || exit 0; \
8898 r=`${PWD_COMMAND}`; export r; \
8899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8900 $(HOST_EXPORTS) \
8901 for flag in $(EXTRA_HOST_FLAGS) ; do \
8902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8903 done; \
8904 echo "Doing install-pdf in bzip2" ; \
8905 (cd $(HOST_SUBDIR)/bzip2 && \
8906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8908 "RANLIB=$${RANLIB}" \
8909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8910 install-pdf) \
8911 || exit 1
8913 @endif bzip2
8915 .PHONY: maybe-install-html-bzip2 install-html-bzip2
8916 maybe-install-html-bzip2:
8917 @if bzip2
8918 maybe-install-html-bzip2: install-html-bzip2
8920 install-html-bzip2: \
8921 configure-bzip2 \
8922 html-bzip2
8923 @: $(MAKE); $(unstage)
8924 @[ -f ./bzip2/Makefile ] || exit 0; \
8925 r=`${PWD_COMMAND}`; export r; \
8926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8927 $(HOST_EXPORTS) \
8928 for flag in $(EXTRA_HOST_FLAGS) ; do \
8929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8930 done; \
8931 echo "Doing install-html in bzip2" ; \
8932 (cd $(HOST_SUBDIR)/bzip2 && \
8933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8935 "RANLIB=$${RANLIB}" \
8936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8937 install-html) \
8938 || exit 1
8940 @endif bzip2
8942 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8943 maybe-installcheck-bzip2:
8944 @if bzip2
8945 maybe-installcheck-bzip2: installcheck-bzip2
8947 installcheck-bzip2: \
8948 configure-bzip2
8949 @: $(MAKE); $(unstage)
8950 @[ -f ./bzip2/Makefile ] || exit 0; \
8951 r=`${PWD_COMMAND}`; export r; \
8952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8953 $(HOST_EXPORTS) \
8954 for flag in $(EXTRA_HOST_FLAGS) ; do \
8955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8956 done; \
8957 echo "Doing installcheck in bzip2" ; \
8958 (cd $(HOST_SUBDIR)/bzip2 && \
8959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8961 "RANLIB=$${RANLIB}" \
8962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8963 installcheck) \
8964 || exit 1
8966 @endif bzip2
8968 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
8969 maybe-mostlyclean-bzip2:
8970 @if bzip2
8971 maybe-mostlyclean-bzip2: mostlyclean-bzip2
8973 mostlyclean-bzip2:
8974 @: $(MAKE); $(unstage)
8975 @[ -f ./bzip2/Makefile ] || exit 0; \
8976 r=`${PWD_COMMAND}`; export r; \
8977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8978 $(HOST_EXPORTS) \
8979 for flag in $(EXTRA_HOST_FLAGS) ; do \
8980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8981 done; \
8982 echo "Doing mostlyclean in bzip2" ; \
8983 (cd $(HOST_SUBDIR)/bzip2 && \
8984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8986 "RANLIB=$${RANLIB}" \
8987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8988 mostlyclean) \
8989 || exit 1
8991 @endif bzip2
8993 .PHONY: maybe-clean-bzip2 clean-bzip2
8994 maybe-clean-bzip2:
8995 @if bzip2
8996 maybe-clean-bzip2: clean-bzip2
8998 clean-bzip2:
8999 @: $(MAKE); $(unstage)
9000 @[ -f ./bzip2/Makefile ] || exit 0; \
9001 r=`${PWD_COMMAND}`; export r; \
9002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9003 $(HOST_EXPORTS) \
9004 for flag in $(EXTRA_HOST_FLAGS) ; do \
9005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9006 done; \
9007 echo "Doing clean in bzip2" ; \
9008 (cd $(HOST_SUBDIR)/bzip2 && \
9009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9011 "RANLIB=$${RANLIB}" \
9012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9013 clean) \
9014 || exit 1
9016 @endif bzip2
9018 .PHONY: maybe-distclean-bzip2 distclean-bzip2
9019 maybe-distclean-bzip2:
9020 @if bzip2
9021 maybe-distclean-bzip2: distclean-bzip2
9023 distclean-bzip2:
9024 @: $(MAKE); $(unstage)
9025 @[ -f ./bzip2/Makefile ] || exit 0; \
9026 r=`${PWD_COMMAND}`; export r; \
9027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9028 $(HOST_EXPORTS) \
9029 for flag in $(EXTRA_HOST_FLAGS) ; do \
9030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9031 done; \
9032 echo "Doing distclean in bzip2" ; \
9033 (cd $(HOST_SUBDIR)/bzip2 && \
9034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9036 "RANLIB=$${RANLIB}" \
9037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9038 distclean) \
9039 || exit 1
9041 @endif bzip2
9043 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
9044 maybe-maintainer-clean-bzip2:
9045 @if bzip2
9046 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
9048 maintainer-clean-bzip2:
9049 @: $(MAKE); $(unstage)
9050 @[ -f ./bzip2/Makefile ] || exit 0; \
9051 r=`${PWD_COMMAND}`; export r; \
9052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9053 $(HOST_EXPORTS) \
9054 for flag in $(EXTRA_HOST_FLAGS) ; do \
9055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9056 done; \
9057 echo "Doing maintainer-clean in bzip2" ; \
9058 (cd $(HOST_SUBDIR)/bzip2 && \
9059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9061 "RANLIB=$${RANLIB}" \
9062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9063 maintainer-clean) \
9064 || exit 1
9066 @endif bzip2
9070 .PHONY: configure-dejagnu maybe-configure-dejagnu
9071 maybe-configure-dejagnu:
9072 @if gcc-bootstrap
9073 configure-dejagnu: stage_current
9074 @endif gcc-bootstrap
9075 @if dejagnu
9076 maybe-configure-dejagnu: configure-dejagnu
9077 configure-dejagnu:
9078 @: $(MAKE); $(unstage)
9079 @r=`${PWD_COMMAND}`; export r; \
9080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9081 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
9082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
9083 $(HOST_EXPORTS) \
9084 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
9085 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
9086 case $(srcdir) in \
9087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9088 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
9089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9090 esac; \
9091 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
9092 libsrcdir="$$s/dejagnu"; \
9093 $(SHELL) $${libsrcdir}/configure \
9094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9095 --target=${target_alias} $${srcdiroption} \
9096 || exit 1
9097 @endif dejagnu
9103 .PHONY: all-dejagnu maybe-all-dejagnu
9104 maybe-all-dejagnu:
9105 @if gcc-bootstrap
9106 all-dejagnu: stage_current
9107 @endif gcc-bootstrap
9108 @if dejagnu
9109 TARGET-dejagnu=all
9110 maybe-all-dejagnu: all-dejagnu
9111 all-dejagnu: configure-dejagnu
9112 @: $(MAKE); $(unstage)
9113 @r=`${PWD_COMMAND}`; export r; \
9114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9115 $(HOST_EXPORTS) \
9116 (cd $(HOST_SUBDIR)/dejagnu && \
9117 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9118 $(TARGET-dejagnu))
9119 @endif dejagnu
9124 .PHONY: check-dejagnu maybe-check-dejagnu
9125 maybe-check-dejagnu:
9126 @if dejagnu
9127 maybe-check-dejagnu: check-dejagnu
9129 check-dejagnu:
9130 @: $(MAKE); $(unstage)
9131 @r=`${PWD_COMMAND}`; export r; \
9132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9133 $(HOST_EXPORTS) \
9134 (cd $(HOST_SUBDIR)/dejagnu && \
9135 $(MAKE) $(FLAGS_TO_PASS) check)
9137 @endif dejagnu
9139 .PHONY: install-dejagnu maybe-install-dejagnu
9140 maybe-install-dejagnu:
9141 @if dejagnu
9142 maybe-install-dejagnu: install-dejagnu
9144 install-dejagnu: installdirs
9145 @: $(MAKE); $(unstage)
9146 @r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(HOST_EXPORTS) \
9149 (cd $(HOST_SUBDIR)/dejagnu && \
9150 $(MAKE) $(FLAGS_TO_PASS) install)
9152 @endif dejagnu
9154 # Other targets (info, dvi, pdf, etc.)
9156 .PHONY: maybe-info-dejagnu info-dejagnu
9157 maybe-info-dejagnu:
9158 @if dejagnu
9159 maybe-info-dejagnu: info-dejagnu
9161 info-dejagnu: \
9162 configure-dejagnu
9163 @: $(MAKE); $(unstage)
9164 @[ -f ./dejagnu/Makefile ] || exit 0; \
9165 r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 $(HOST_EXPORTS) \
9168 for flag in $(EXTRA_HOST_FLAGS) ; do \
9169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9170 done; \
9171 echo "Doing info in dejagnu" ; \
9172 (cd $(HOST_SUBDIR)/dejagnu && \
9173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9175 "RANLIB=$${RANLIB}" \
9176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9177 info) \
9178 || exit 1
9180 @endif dejagnu
9182 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
9183 maybe-dvi-dejagnu:
9184 @if dejagnu
9185 maybe-dvi-dejagnu: dvi-dejagnu
9187 dvi-dejagnu: \
9188 configure-dejagnu
9189 @: $(MAKE); $(unstage)
9190 @[ -f ./dejagnu/Makefile ] || exit 0; \
9191 r=`${PWD_COMMAND}`; export r; \
9192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9193 $(HOST_EXPORTS) \
9194 for flag in $(EXTRA_HOST_FLAGS) ; do \
9195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9196 done; \
9197 echo "Doing dvi in dejagnu" ; \
9198 (cd $(HOST_SUBDIR)/dejagnu && \
9199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9201 "RANLIB=$${RANLIB}" \
9202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9203 dvi) \
9204 || exit 1
9206 @endif dejagnu
9208 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
9209 maybe-pdf-dejagnu:
9210 @if dejagnu
9211 maybe-pdf-dejagnu: pdf-dejagnu
9213 pdf-dejagnu: \
9214 configure-dejagnu
9215 @: $(MAKE); $(unstage)
9216 @[ -f ./dejagnu/Makefile ] || exit 0; \
9217 r=`${PWD_COMMAND}`; export r; \
9218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9219 $(HOST_EXPORTS) \
9220 for flag in $(EXTRA_HOST_FLAGS) ; do \
9221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9222 done; \
9223 echo "Doing pdf in dejagnu" ; \
9224 (cd $(HOST_SUBDIR)/dejagnu && \
9225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9227 "RANLIB=$${RANLIB}" \
9228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9229 pdf) \
9230 || exit 1
9232 @endif dejagnu
9234 .PHONY: maybe-html-dejagnu html-dejagnu
9235 maybe-html-dejagnu:
9236 @if dejagnu
9237 maybe-html-dejagnu: html-dejagnu
9239 html-dejagnu: \
9240 configure-dejagnu
9241 @: $(MAKE); $(unstage)
9242 @[ -f ./dejagnu/Makefile ] || exit 0; \
9243 r=`${PWD_COMMAND}`; export r; \
9244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9245 $(HOST_EXPORTS) \
9246 for flag in $(EXTRA_HOST_FLAGS) ; do \
9247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9248 done; \
9249 echo "Doing html in dejagnu" ; \
9250 (cd $(HOST_SUBDIR)/dejagnu && \
9251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9253 "RANLIB=$${RANLIB}" \
9254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9255 html) \
9256 || exit 1
9258 @endif dejagnu
9260 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
9261 maybe-TAGS-dejagnu:
9262 @if dejagnu
9263 maybe-TAGS-dejagnu: TAGS-dejagnu
9265 TAGS-dejagnu: \
9266 configure-dejagnu
9267 @: $(MAKE); $(unstage)
9268 @[ -f ./dejagnu/Makefile ] || exit 0; \
9269 r=`${PWD_COMMAND}`; export r; \
9270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9271 $(HOST_EXPORTS) \
9272 for flag in $(EXTRA_HOST_FLAGS) ; do \
9273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9274 done; \
9275 echo "Doing TAGS in dejagnu" ; \
9276 (cd $(HOST_SUBDIR)/dejagnu && \
9277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9279 "RANLIB=$${RANLIB}" \
9280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9281 TAGS) \
9282 || exit 1
9284 @endif dejagnu
9286 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
9287 maybe-install-info-dejagnu:
9288 @if dejagnu
9289 maybe-install-info-dejagnu: install-info-dejagnu
9291 install-info-dejagnu: \
9292 configure-dejagnu \
9293 info-dejagnu
9294 @: $(MAKE); $(unstage)
9295 @[ -f ./dejagnu/Makefile ] || exit 0; \
9296 r=`${PWD_COMMAND}`; export r; \
9297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9298 $(HOST_EXPORTS) \
9299 for flag in $(EXTRA_HOST_FLAGS) ; do \
9300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9301 done; \
9302 echo "Doing install-info in dejagnu" ; \
9303 (cd $(HOST_SUBDIR)/dejagnu && \
9304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9306 "RANLIB=$${RANLIB}" \
9307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9308 install-info) \
9309 || exit 1
9311 @endif dejagnu
9313 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
9314 maybe-install-pdf-dejagnu:
9315 @if dejagnu
9316 maybe-install-pdf-dejagnu: install-pdf-dejagnu
9318 install-pdf-dejagnu: \
9319 configure-dejagnu \
9320 pdf-dejagnu
9321 @: $(MAKE); $(unstage)
9322 @[ -f ./dejagnu/Makefile ] || exit 0; \
9323 r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9325 $(HOST_EXPORTS) \
9326 for flag in $(EXTRA_HOST_FLAGS) ; do \
9327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9328 done; \
9329 echo "Doing install-pdf in dejagnu" ; \
9330 (cd $(HOST_SUBDIR)/dejagnu && \
9331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9333 "RANLIB=$${RANLIB}" \
9334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9335 install-pdf) \
9336 || exit 1
9338 @endif dejagnu
9340 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
9341 maybe-install-html-dejagnu:
9342 @if dejagnu
9343 maybe-install-html-dejagnu: install-html-dejagnu
9345 install-html-dejagnu: \
9346 configure-dejagnu \
9347 html-dejagnu
9348 @: $(MAKE); $(unstage)
9349 @[ -f ./dejagnu/Makefile ] || exit 0; \
9350 r=`${PWD_COMMAND}`; export r; \
9351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352 $(HOST_EXPORTS) \
9353 for flag in $(EXTRA_HOST_FLAGS) ; do \
9354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9355 done; \
9356 echo "Doing install-html in dejagnu" ; \
9357 (cd $(HOST_SUBDIR)/dejagnu && \
9358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9360 "RANLIB=$${RANLIB}" \
9361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9362 install-html) \
9363 || exit 1
9365 @endif dejagnu
9367 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
9368 maybe-installcheck-dejagnu:
9369 @if dejagnu
9370 maybe-installcheck-dejagnu: installcheck-dejagnu
9372 installcheck-dejagnu: \
9373 configure-dejagnu
9374 @: $(MAKE); $(unstage)
9375 @[ -f ./dejagnu/Makefile ] || exit 0; \
9376 r=`${PWD_COMMAND}`; export r; \
9377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9378 $(HOST_EXPORTS) \
9379 for flag in $(EXTRA_HOST_FLAGS) ; do \
9380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9381 done; \
9382 echo "Doing installcheck in dejagnu" ; \
9383 (cd $(HOST_SUBDIR)/dejagnu && \
9384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9386 "RANLIB=$${RANLIB}" \
9387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9388 installcheck) \
9389 || exit 1
9391 @endif dejagnu
9393 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
9394 maybe-mostlyclean-dejagnu:
9395 @if dejagnu
9396 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
9398 mostlyclean-dejagnu:
9399 @: $(MAKE); $(unstage)
9400 @[ -f ./dejagnu/Makefile ] || exit 0; \
9401 r=`${PWD_COMMAND}`; export r; \
9402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9403 $(HOST_EXPORTS) \
9404 for flag in $(EXTRA_HOST_FLAGS) ; do \
9405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9406 done; \
9407 echo "Doing mostlyclean in dejagnu" ; \
9408 (cd $(HOST_SUBDIR)/dejagnu && \
9409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9411 "RANLIB=$${RANLIB}" \
9412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9413 mostlyclean) \
9414 || exit 1
9416 @endif dejagnu
9418 .PHONY: maybe-clean-dejagnu clean-dejagnu
9419 maybe-clean-dejagnu:
9420 @if dejagnu
9421 maybe-clean-dejagnu: clean-dejagnu
9423 clean-dejagnu:
9424 @: $(MAKE); $(unstage)
9425 @[ -f ./dejagnu/Makefile ] || exit 0; \
9426 r=`${PWD_COMMAND}`; export r; \
9427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9428 $(HOST_EXPORTS) \
9429 for flag in $(EXTRA_HOST_FLAGS) ; do \
9430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9431 done; \
9432 echo "Doing clean in dejagnu" ; \
9433 (cd $(HOST_SUBDIR)/dejagnu && \
9434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9436 "RANLIB=$${RANLIB}" \
9437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9438 clean) \
9439 || exit 1
9441 @endif dejagnu
9443 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
9444 maybe-distclean-dejagnu:
9445 @if dejagnu
9446 maybe-distclean-dejagnu: distclean-dejagnu
9448 distclean-dejagnu:
9449 @: $(MAKE); $(unstage)
9450 @[ -f ./dejagnu/Makefile ] || exit 0; \
9451 r=`${PWD_COMMAND}`; export r; \
9452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9453 $(HOST_EXPORTS) \
9454 for flag in $(EXTRA_HOST_FLAGS) ; do \
9455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9456 done; \
9457 echo "Doing distclean in dejagnu" ; \
9458 (cd $(HOST_SUBDIR)/dejagnu && \
9459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9461 "RANLIB=$${RANLIB}" \
9462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9463 distclean) \
9464 || exit 1
9466 @endif dejagnu
9468 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
9469 maybe-maintainer-clean-dejagnu:
9470 @if dejagnu
9471 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
9473 maintainer-clean-dejagnu:
9474 @: $(MAKE); $(unstage)
9475 @[ -f ./dejagnu/Makefile ] || exit 0; \
9476 r=`${PWD_COMMAND}`; export r; \
9477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9478 $(HOST_EXPORTS) \
9479 for flag in $(EXTRA_HOST_FLAGS) ; do \
9480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9481 done; \
9482 echo "Doing maintainer-clean in dejagnu" ; \
9483 (cd $(HOST_SUBDIR)/dejagnu && \
9484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9486 "RANLIB=$${RANLIB}" \
9487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9488 maintainer-clean) \
9489 || exit 1
9491 @endif dejagnu
9495 .PHONY: configure-diff maybe-configure-diff
9496 maybe-configure-diff:
9497 @if gcc-bootstrap
9498 configure-diff: stage_current
9499 @endif gcc-bootstrap
9500 @if diff
9501 maybe-configure-diff: configure-diff
9502 configure-diff:
9503 @: $(MAKE); $(unstage)
9504 @r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
9507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
9508 $(HOST_EXPORTS) \
9509 echo Configuring in $(HOST_SUBDIR)/diff; \
9510 cd "$(HOST_SUBDIR)/diff" || exit 1; \
9511 case $(srcdir) in \
9512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9513 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
9514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9515 esac; \
9516 srcdiroption="--srcdir=$${topdir}/diff"; \
9517 libsrcdir="$$s/diff"; \
9518 $(SHELL) $${libsrcdir}/configure \
9519 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9520 --target=${target_alias} $${srcdiroption} \
9521 || exit 1
9522 @endif diff
9528 .PHONY: all-diff maybe-all-diff
9529 maybe-all-diff:
9530 @if gcc-bootstrap
9531 all-diff: stage_current
9532 @endif gcc-bootstrap
9533 @if diff
9534 TARGET-diff=all
9535 maybe-all-diff: all-diff
9536 all-diff: configure-diff
9537 @: $(MAKE); $(unstage)
9538 @r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9540 $(HOST_EXPORTS) \
9541 (cd $(HOST_SUBDIR)/diff && \
9542 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9543 $(TARGET-diff))
9544 @endif diff
9549 .PHONY: check-diff maybe-check-diff
9550 maybe-check-diff:
9551 @if diff
9552 maybe-check-diff: check-diff
9554 check-diff:
9555 @: $(MAKE); $(unstage)
9556 @r=`${PWD_COMMAND}`; export r; \
9557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9558 $(HOST_EXPORTS) \
9559 (cd $(HOST_SUBDIR)/diff && \
9560 $(MAKE) $(FLAGS_TO_PASS) check)
9562 @endif diff
9564 .PHONY: install-diff maybe-install-diff
9565 maybe-install-diff:
9566 @if diff
9567 maybe-install-diff: install-diff
9569 install-diff: installdirs
9570 @: $(MAKE); $(unstage)
9571 @r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9573 $(HOST_EXPORTS) \
9574 (cd $(HOST_SUBDIR)/diff && \
9575 $(MAKE) $(FLAGS_TO_PASS) install)
9577 @endif diff
9579 # Other targets (info, dvi, pdf, etc.)
9581 .PHONY: maybe-info-diff info-diff
9582 maybe-info-diff:
9583 @if diff
9584 maybe-info-diff: info-diff
9586 info-diff: \
9587 configure-diff
9588 @: $(MAKE); $(unstage)
9589 @[ -f ./diff/Makefile ] || exit 0; \
9590 r=`${PWD_COMMAND}`; export r; \
9591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9592 $(HOST_EXPORTS) \
9593 for flag in $(EXTRA_HOST_FLAGS) ; do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595 done; \
9596 echo "Doing info in diff" ; \
9597 (cd $(HOST_SUBDIR)/diff && \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9602 info) \
9603 || exit 1
9605 @endif diff
9607 .PHONY: maybe-dvi-diff dvi-diff
9608 maybe-dvi-diff:
9609 @if diff
9610 maybe-dvi-diff: dvi-diff
9612 dvi-diff: \
9613 configure-diff
9614 @: $(MAKE); $(unstage)
9615 @[ -f ./diff/Makefile ] || exit 0; \
9616 r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 $(HOST_EXPORTS) \
9619 for flag in $(EXTRA_HOST_FLAGS) ; do \
9620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9621 done; \
9622 echo "Doing dvi in diff" ; \
9623 (cd $(HOST_SUBDIR)/diff && \
9624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9626 "RANLIB=$${RANLIB}" \
9627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9628 dvi) \
9629 || exit 1
9631 @endif diff
9633 .PHONY: maybe-pdf-diff pdf-diff
9634 maybe-pdf-diff:
9635 @if diff
9636 maybe-pdf-diff: pdf-diff
9638 pdf-diff: \
9639 configure-diff
9640 @: $(MAKE); $(unstage)
9641 @[ -f ./diff/Makefile ] || exit 0; \
9642 r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644 $(HOST_EXPORTS) \
9645 for flag in $(EXTRA_HOST_FLAGS) ; do \
9646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9647 done; \
9648 echo "Doing pdf in diff" ; \
9649 (cd $(HOST_SUBDIR)/diff && \
9650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9652 "RANLIB=$${RANLIB}" \
9653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9654 pdf) \
9655 || exit 1
9657 @endif diff
9659 .PHONY: maybe-html-diff html-diff
9660 maybe-html-diff:
9661 @if diff
9662 maybe-html-diff: html-diff
9664 html-diff: \
9665 configure-diff
9666 @: $(MAKE); $(unstage)
9667 @[ -f ./diff/Makefile ] || exit 0; \
9668 r=`${PWD_COMMAND}`; export r; \
9669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9670 $(HOST_EXPORTS) \
9671 for flag in $(EXTRA_HOST_FLAGS) ; do \
9672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9673 done; \
9674 echo "Doing html in diff" ; \
9675 (cd $(HOST_SUBDIR)/diff && \
9676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9678 "RANLIB=$${RANLIB}" \
9679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9680 html) \
9681 || exit 1
9683 @endif diff
9685 .PHONY: maybe-TAGS-diff TAGS-diff
9686 maybe-TAGS-diff:
9687 @if diff
9688 maybe-TAGS-diff: TAGS-diff
9690 TAGS-diff: \
9691 configure-diff
9692 @: $(MAKE); $(unstage)
9693 @[ -f ./diff/Makefile ] || exit 0; \
9694 r=`${PWD_COMMAND}`; export r; \
9695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9696 $(HOST_EXPORTS) \
9697 for flag in $(EXTRA_HOST_FLAGS) ; do \
9698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9699 done; \
9700 echo "Doing TAGS in diff" ; \
9701 (cd $(HOST_SUBDIR)/diff && \
9702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9704 "RANLIB=$${RANLIB}" \
9705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9706 TAGS) \
9707 || exit 1
9709 @endif diff
9711 .PHONY: maybe-install-info-diff install-info-diff
9712 maybe-install-info-diff:
9713 @if diff
9714 maybe-install-info-diff: install-info-diff
9716 install-info-diff: \
9717 configure-diff \
9718 info-diff
9719 @: $(MAKE); $(unstage)
9720 @[ -f ./diff/Makefile ] || exit 0; \
9721 r=`${PWD_COMMAND}`; export r; \
9722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9723 $(HOST_EXPORTS) \
9724 for flag in $(EXTRA_HOST_FLAGS) ; do \
9725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9726 done; \
9727 echo "Doing install-info in diff" ; \
9728 (cd $(HOST_SUBDIR)/diff && \
9729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9731 "RANLIB=$${RANLIB}" \
9732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9733 install-info) \
9734 || exit 1
9736 @endif diff
9738 .PHONY: maybe-install-pdf-diff install-pdf-diff
9739 maybe-install-pdf-diff:
9740 @if diff
9741 maybe-install-pdf-diff: install-pdf-diff
9743 install-pdf-diff: \
9744 configure-diff \
9745 pdf-diff
9746 @: $(MAKE); $(unstage)
9747 @[ -f ./diff/Makefile ] || exit 0; \
9748 r=`${PWD_COMMAND}`; export r; \
9749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9750 $(HOST_EXPORTS) \
9751 for flag in $(EXTRA_HOST_FLAGS) ; do \
9752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9753 done; \
9754 echo "Doing install-pdf in diff" ; \
9755 (cd $(HOST_SUBDIR)/diff && \
9756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9758 "RANLIB=$${RANLIB}" \
9759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9760 install-pdf) \
9761 || exit 1
9763 @endif diff
9765 .PHONY: maybe-install-html-diff install-html-diff
9766 maybe-install-html-diff:
9767 @if diff
9768 maybe-install-html-diff: install-html-diff
9770 install-html-diff: \
9771 configure-diff \
9772 html-diff
9773 @: $(MAKE); $(unstage)
9774 @[ -f ./diff/Makefile ] || exit 0; \
9775 r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 $(HOST_EXPORTS) \
9778 for flag in $(EXTRA_HOST_FLAGS) ; do \
9779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9780 done; \
9781 echo "Doing install-html in diff" ; \
9782 (cd $(HOST_SUBDIR)/diff && \
9783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9785 "RANLIB=$${RANLIB}" \
9786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9787 install-html) \
9788 || exit 1
9790 @endif diff
9792 .PHONY: maybe-installcheck-diff installcheck-diff
9793 maybe-installcheck-diff:
9794 @if diff
9795 maybe-installcheck-diff: installcheck-diff
9797 installcheck-diff: \
9798 configure-diff
9799 @: $(MAKE); $(unstage)
9800 @[ -f ./diff/Makefile ] || exit 0; \
9801 r=`${PWD_COMMAND}`; export r; \
9802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9803 $(HOST_EXPORTS) \
9804 for flag in $(EXTRA_HOST_FLAGS) ; do \
9805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9806 done; \
9807 echo "Doing installcheck in diff" ; \
9808 (cd $(HOST_SUBDIR)/diff && \
9809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9811 "RANLIB=$${RANLIB}" \
9812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9813 installcheck) \
9814 || exit 1
9816 @endif diff
9818 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
9819 maybe-mostlyclean-diff:
9820 @if diff
9821 maybe-mostlyclean-diff: mostlyclean-diff
9823 mostlyclean-diff:
9824 @: $(MAKE); $(unstage)
9825 @[ -f ./diff/Makefile ] || exit 0; \
9826 r=`${PWD_COMMAND}`; export r; \
9827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9828 $(HOST_EXPORTS) \
9829 for flag in $(EXTRA_HOST_FLAGS) ; do \
9830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9831 done; \
9832 echo "Doing mostlyclean in diff" ; \
9833 (cd $(HOST_SUBDIR)/diff && \
9834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9836 "RANLIB=$${RANLIB}" \
9837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9838 mostlyclean) \
9839 || exit 1
9841 @endif diff
9843 .PHONY: maybe-clean-diff clean-diff
9844 maybe-clean-diff:
9845 @if diff
9846 maybe-clean-diff: clean-diff
9848 clean-diff:
9849 @: $(MAKE); $(unstage)
9850 @[ -f ./diff/Makefile ] || exit 0; \
9851 r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 for flag in $(EXTRA_HOST_FLAGS) ; do \
9855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9856 done; \
9857 echo "Doing clean in diff" ; \
9858 (cd $(HOST_SUBDIR)/diff && \
9859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9861 "RANLIB=$${RANLIB}" \
9862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9863 clean) \
9864 || exit 1
9866 @endif diff
9868 .PHONY: maybe-distclean-diff distclean-diff
9869 maybe-distclean-diff:
9870 @if diff
9871 maybe-distclean-diff: distclean-diff
9873 distclean-diff:
9874 @: $(MAKE); $(unstage)
9875 @[ -f ./diff/Makefile ] || exit 0; \
9876 r=`${PWD_COMMAND}`; export r; \
9877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9878 $(HOST_EXPORTS) \
9879 for flag in $(EXTRA_HOST_FLAGS) ; do \
9880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9881 done; \
9882 echo "Doing distclean in diff" ; \
9883 (cd $(HOST_SUBDIR)/diff && \
9884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9886 "RANLIB=$${RANLIB}" \
9887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9888 distclean) \
9889 || exit 1
9891 @endif diff
9893 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
9894 maybe-maintainer-clean-diff:
9895 @if diff
9896 maybe-maintainer-clean-diff: maintainer-clean-diff
9898 maintainer-clean-diff:
9899 @: $(MAKE); $(unstage)
9900 @[ -f ./diff/Makefile ] || exit 0; \
9901 r=`${PWD_COMMAND}`; export r; \
9902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9903 $(HOST_EXPORTS) \
9904 for flag in $(EXTRA_HOST_FLAGS) ; do \
9905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9906 done; \
9907 echo "Doing maintainer-clean in diff" ; \
9908 (cd $(HOST_SUBDIR)/diff && \
9909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9911 "RANLIB=$${RANLIB}" \
9912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9913 maintainer-clean) \
9914 || exit 1
9916 @endif diff
9920 .PHONY: configure-dosutils maybe-configure-dosutils
9921 maybe-configure-dosutils:
9922 @if gcc-bootstrap
9923 configure-dosutils: stage_current
9924 @endif gcc-bootstrap
9925 @if dosutils
9926 maybe-configure-dosutils: configure-dosutils
9927 configure-dosutils:
9928 @: $(MAKE); $(unstage)
9929 @r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
9932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
9933 $(HOST_EXPORTS) \
9934 echo Configuring in $(HOST_SUBDIR)/dosutils; \
9935 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
9936 case $(srcdir) in \
9937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9938 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
9939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9940 esac; \
9941 srcdiroption="--srcdir=$${topdir}/dosutils"; \
9942 libsrcdir="$$s/dosutils"; \
9943 $(SHELL) $${libsrcdir}/configure \
9944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9945 --target=${target_alias} $${srcdiroption} \
9946 || exit 1
9947 @endif dosutils
9953 .PHONY: all-dosutils maybe-all-dosutils
9954 maybe-all-dosutils:
9955 @if gcc-bootstrap
9956 all-dosutils: stage_current
9957 @endif gcc-bootstrap
9958 @if dosutils
9959 TARGET-dosutils=all
9960 maybe-all-dosutils: all-dosutils
9961 all-dosutils: configure-dosutils
9962 @: $(MAKE); $(unstage)
9963 @r=`${PWD_COMMAND}`; export r; \
9964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9965 $(HOST_EXPORTS) \
9966 (cd $(HOST_SUBDIR)/dosutils && \
9967 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9968 $(TARGET-dosutils))
9969 @endif dosutils
9974 .PHONY: check-dosutils maybe-check-dosutils
9975 maybe-check-dosutils:
9976 @if dosutils
9977 maybe-check-dosutils: check-dosutils
9979 check-dosutils:
9981 @endif dosutils
9983 .PHONY: install-dosutils maybe-install-dosutils
9984 maybe-install-dosutils:
9985 @if dosutils
9986 maybe-install-dosutils: install-dosutils
9988 install-dosutils: installdirs
9989 @: $(MAKE); $(unstage)
9990 @r=`${PWD_COMMAND}`; export r; \
9991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9992 $(HOST_EXPORTS) \
9993 (cd $(HOST_SUBDIR)/dosutils && \
9994 $(MAKE) $(FLAGS_TO_PASS) install)
9996 @endif dosutils
9998 # Other targets (info, dvi, pdf, etc.)
10000 .PHONY: maybe-info-dosutils info-dosutils
10001 maybe-info-dosutils:
10002 @if dosutils
10003 maybe-info-dosutils: info-dosutils
10005 info-dosutils: \
10006 configure-dosutils
10007 @: $(MAKE); $(unstage)
10008 @[ -f ./dosutils/Makefile ] || exit 0; \
10009 r=`${PWD_COMMAND}`; export r; \
10010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10011 $(HOST_EXPORTS) \
10012 for flag in $(EXTRA_HOST_FLAGS) ; do \
10013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10014 done; \
10015 echo "Doing info in dosutils" ; \
10016 (cd $(HOST_SUBDIR)/dosutils && \
10017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10019 "RANLIB=$${RANLIB}" \
10020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10021 info) \
10022 || exit 1
10024 @endif dosutils
10026 .PHONY: maybe-dvi-dosutils dvi-dosutils
10027 maybe-dvi-dosutils:
10028 @if dosutils
10029 maybe-dvi-dosutils: dvi-dosutils
10031 dvi-dosutils: \
10032 configure-dosutils
10033 @: $(MAKE); $(unstage)
10034 @[ -f ./dosutils/Makefile ] || exit 0; \
10035 r=`${PWD_COMMAND}`; export r; \
10036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10037 $(HOST_EXPORTS) \
10038 for flag in $(EXTRA_HOST_FLAGS) ; do \
10039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10040 done; \
10041 echo "Doing dvi in dosutils" ; \
10042 (cd $(HOST_SUBDIR)/dosutils && \
10043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10045 "RANLIB=$${RANLIB}" \
10046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10047 dvi) \
10048 || exit 1
10050 @endif dosutils
10052 .PHONY: maybe-pdf-dosutils pdf-dosutils
10053 maybe-pdf-dosutils:
10054 @if dosutils
10055 maybe-pdf-dosutils: pdf-dosutils
10057 pdf-dosutils: \
10058 configure-dosutils
10059 @: $(MAKE); $(unstage)
10060 @[ -f ./dosutils/Makefile ] || exit 0; \
10061 r=`${PWD_COMMAND}`; export r; \
10062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10063 $(HOST_EXPORTS) \
10064 for flag in $(EXTRA_HOST_FLAGS) ; do \
10065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10066 done; \
10067 echo "Doing pdf in dosutils" ; \
10068 (cd $(HOST_SUBDIR)/dosutils && \
10069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10071 "RANLIB=$${RANLIB}" \
10072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10073 pdf) \
10074 || exit 1
10076 @endif dosutils
10078 .PHONY: maybe-html-dosutils html-dosutils
10079 maybe-html-dosutils:
10080 @if dosutils
10081 maybe-html-dosutils: html-dosutils
10083 html-dosutils: \
10084 configure-dosutils
10085 @: $(MAKE); $(unstage)
10086 @[ -f ./dosutils/Makefile ] || exit 0; \
10087 r=`${PWD_COMMAND}`; export r; \
10088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10089 $(HOST_EXPORTS) \
10090 for flag in $(EXTRA_HOST_FLAGS) ; do \
10091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10092 done; \
10093 echo "Doing html in dosutils" ; \
10094 (cd $(HOST_SUBDIR)/dosutils && \
10095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10097 "RANLIB=$${RANLIB}" \
10098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10099 html) \
10100 || exit 1
10102 @endif dosutils
10104 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
10105 maybe-TAGS-dosutils:
10106 @if dosutils
10107 maybe-TAGS-dosutils: TAGS-dosutils
10109 TAGS-dosutils: \
10110 configure-dosutils
10111 @: $(MAKE); $(unstage)
10112 @[ -f ./dosutils/Makefile ] || exit 0; \
10113 r=`${PWD_COMMAND}`; export r; \
10114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10115 $(HOST_EXPORTS) \
10116 for flag in $(EXTRA_HOST_FLAGS) ; do \
10117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10118 done; \
10119 echo "Doing TAGS in dosutils" ; \
10120 (cd $(HOST_SUBDIR)/dosutils && \
10121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10123 "RANLIB=$${RANLIB}" \
10124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10125 TAGS) \
10126 || exit 1
10128 @endif dosutils
10130 .PHONY: maybe-install-info-dosutils install-info-dosutils
10131 maybe-install-info-dosutils:
10132 @if dosutils
10133 maybe-install-info-dosutils: install-info-dosutils
10135 install-info-dosutils: \
10136 configure-dosutils \
10137 info-dosutils
10138 @: $(MAKE); $(unstage)
10139 @[ -f ./dosutils/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 install-info in dosutils" ; \
10147 (cd $(HOST_SUBDIR)/dosutils && \
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 install-info) \
10153 || exit 1
10155 @endif dosutils
10157 .PHONY: maybe-install-pdf-dosutils install-pdf-dosutils
10158 maybe-install-pdf-dosutils:
10159 @if dosutils
10160 maybe-install-pdf-dosutils: install-pdf-dosutils
10162 install-pdf-dosutils: \
10163 configure-dosutils \
10164 pdf-dosutils
10165 @: $(MAKE); $(unstage)
10166 @[ -f ./dosutils/Makefile ] || exit 0; \
10167 r=`${PWD_COMMAND}`; export r; \
10168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10169 $(HOST_EXPORTS) \
10170 for flag in $(EXTRA_HOST_FLAGS) ; do \
10171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10172 done; \
10173 echo "Doing install-pdf in dosutils" ; \
10174 (cd $(HOST_SUBDIR)/dosutils && \
10175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10177 "RANLIB=$${RANLIB}" \
10178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10179 install-pdf) \
10180 || exit 1
10182 @endif dosutils
10184 .PHONY: maybe-install-html-dosutils install-html-dosutils
10185 maybe-install-html-dosutils:
10186 @if dosutils
10187 maybe-install-html-dosutils: install-html-dosutils
10189 install-html-dosutils: \
10190 configure-dosutils \
10191 html-dosutils
10192 @: $(MAKE); $(unstage)
10193 @[ -f ./dosutils/Makefile ] || exit 0; \
10194 r=`${PWD_COMMAND}`; export r; \
10195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10196 $(HOST_EXPORTS) \
10197 for flag in $(EXTRA_HOST_FLAGS) ; do \
10198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10199 done; \
10200 echo "Doing install-html in dosutils" ; \
10201 (cd $(HOST_SUBDIR)/dosutils && \
10202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10204 "RANLIB=$${RANLIB}" \
10205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10206 install-html) \
10207 || exit 1
10209 @endif dosutils
10211 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
10212 maybe-installcheck-dosutils:
10213 @if dosutils
10214 maybe-installcheck-dosutils: installcheck-dosutils
10216 installcheck-dosutils: \
10217 configure-dosutils
10218 @: $(MAKE); $(unstage)
10219 @[ -f ./dosutils/Makefile ] || exit 0; \
10220 r=`${PWD_COMMAND}`; export r; \
10221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10222 $(HOST_EXPORTS) \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10225 done; \
10226 echo "Doing installcheck in dosutils" ; \
10227 (cd $(HOST_SUBDIR)/dosutils && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10232 installcheck) \
10233 || exit 1
10235 @endif dosutils
10237 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10238 maybe-mostlyclean-dosutils:
10239 @if dosutils
10240 maybe-mostlyclean-dosutils: mostlyclean-dosutils
10242 mostlyclean-dosutils:
10243 @: $(MAKE); $(unstage)
10244 @[ -f ./dosutils/Makefile ] || exit 0; \
10245 r=`${PWD_COMMAND}`; export r; \
10246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10247 $(HOST_EXPORTS) \
10248 for flag in $(EXTRA_HOST_FLAGS) ; do \
10249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 done; \
10251 echo "Doing mostlyclean in dosutils" ; \
10252 (cd $(HOST_SUBDIR)/dosutils && \
10253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10255 "RANLIB=$${RANLIB}" \
10256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10257 mostlyclean) \
10258 || exit 1
10260 @endif dosutils
10262 .PHONY: maybe-clean-dosutils clean-dosutils
10263 maybe-clean-dosutils:
10264 @if dosutils
10265 maybe-clean-dosutils: clean-dosutils
10267 clean-dosutils:
10268 @: $(MAKE); $(unstage)
10269 @[ -f ./dosutils/Makefile ] || exit 0; \
10270 r=`${PWD_COMMAND}`; export r; \
10271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10272 $(HOST_EXPORTS) \
10273 for flag in $(EXTRA_HOST_FLAGS) ; do \
10274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10275 done; \
10276 echo "Doing clean in dosutils" ; \
10277 (cd $(HOST_SUBDIR)/dosutils && \
10278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10280 "RANLIB=$${RANLIB}" \
10281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10282 clean) \
10283 || exit 1
10285 @endif dosutils
10287 .PHONY: maybe-distclean-dosutils distclean-dosutils
10288 maybe-distclean-dosutils:
10289 @if dosutils
10290 maybe-distclean-dosutils: distclean-dosutils
10292 distclean-dosutils:
10293 @: $(MAKE); $(unstage)
10294 @[ -f ./dosutils/Makefile ] || exit 0; \
10295 r=`${PWD_COMMAND}`; export r; \
10296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10297 $(HOST_EXPORTS) \
10298 for flag in $(EXTRA_HOST_FLAGS) ; do \
10299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10300 done; \
10301 echo "Doing distclean in dosutils" ; \
10302 (cd $(HOST_SUBDIR)/dosutils && \
10303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10305 "RANLIB=$${RANLIB}" \
10306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10307 distclean) \
10308 || exit 1
10310 @endif dosutils
10312 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
10313 maybe-maintainer-clean-dosutils:
10314 @if dosutils
10315 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
10317 maintainer-clean-dosutils:
10318 @: $(MAKE); $(unstage)
10319 @[ -f ./dosutils/Makefile ] || exit 0; \
10320 r=`${PWD_COMMAND}`; export r; \
10321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10322 $(HOST_EXPORTS) \
10323 for flag in $(EXTRA_HOST_FLAGS) ; do \
10324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10325 done; \
10326 echo "Doing maintainer-clean in dosutils" ; \
10327 (cd $(HOST_SUBDIR)/dosutils && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10330 "RANLIB=$${RANLIB}" \
10331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10332 maintainer-clean) \
10333 || exit 1
10335 @endif dosutils
10339 .PHONY: configure-etc maybe-configure-etc
10340 maybe-configure-etc:
10341 @if gcc-bootstrap
10342 configure-etc: stage_current
10343 @endif gcc-bootstrap
10344 @if etc
10345 maybe-configure-etc: configure-etc
10346 configure-etc:
10347 @: $(MAKE); $(unstage)
10348 @r=`${PWD_COMMAND}`; export r; \
10349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10350 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
10351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
10352 $(HOST_EXPORTS) \
10353 echo Configuring in $(HOST_SUBDIR)/etc; \
10354 cd "$(HOST_SUBDIR)/etc" || exit 1; \
10355 case $(srcdir) in \
10356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10357 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
10358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10359 esac; \
10360 srcdiroption="--srcdir=$${topdir}/etc"; \
10361 libsrcdir="$$s/etc"; \
10362 $(SHELL) $${libsrcdir}/configure \
10363 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10364 --target=${target_alias} $${srcdiroption} \
10365 || exit 1
10366 @endif etc
10372 .PHONY: all-etc maybe-all-etc
10373 maybe-all-etc:
10374 @if gcc-bootstrap
10375 all-etc: stage_current
10376 @endif gcc-bootstrap
10377 @if etc
10378 TARGET-etc=all
10379 maybe-all-etc: all-etc
10380 all-etc: configure-etc
10381 @: $(MAKE); $(unstage)
10382 @r=`${PWD_COMMAND}`; export r; \
10383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10384 $(HOST_EXPORTS) \
10385 (cd $(HOST_SUBDIR)/etc && \
10386 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10387 $(TARGET-etc))
10388 @endif etc
10393 .PHONY: check-etc maybe-check-etc
10394 maybe-check-etc:
10395 @if etc
10396 maybe-check-etc: check-etc
10398 check-etc:
10399 @: $(MAKE); $(unstage)
10400 @r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 $(HOST_EXPORTS) \
10403 (cd $(HOST_SUBDIR)/etc && \
10404 $(MAKE) $(FLAGS_TO_PASS) check)
10406 @endif etc
10408 .PHONY: install-etc maybe-install-etc
10409 maybe-install-etc:
10410 @if etc
10411 maybe-install-etc: install-etc
10413 install-etc: installdirs
10414 @: $(MAKE); $(unstage)
10415 @r=`${PWD_COMMAND}`; export r; \
10416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10417 $(HOST_EXPORTS) \
10418 (cd $(HOST_SUBDIR)/etc && \
10419 $(MAKE) $(FLAGS_TO_PASS) install)
10421 @endif etc
10423 # Other targets (info, dvi, pdf, etc.)
10425 .PHONY: maybe-info-etc info-etc
10426 maybe-info-etc:
10427 @if etc
10428 maybe-info-etc: info-etc
10430 info-etc: \
10431 configure-etc
10432 @: $(MAKE); $(unstage)
10433 @[ -f ./etc/Makefile ] || exit 0; \
10434 r=`${PWD_COMMAND}`; export r; \
10435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10436 $(HOST_EXPORTS) \
10437 for flag in $(EXTRA_HOST_FLAGS) ; do \
10438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10439 done; \
10440 echo "Doing info in etc" ; \
10441 (cd $(HOST_SUBDIR)/etc && \
10442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10444 "RANLIB=$${RANLIB}" \
10445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10446 info) \
10447 || exit 1
10449 @endif etc
10451 .PHONY: maybe-dvi-etc dvi-etc
10452 maybe-dvi-etc:
10453 @if etc
10454 maybe-dvi-etc: dvi-etc
10456 dvi-etc: \
10457 configure-etc
10458 @: $(MAKE); $(unstage)
10459 @[ -f ./etc/Makefile ] || exit 0; \
10460 r=`${PWD_COMMAND}`; export r; \
10461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 $(HOST_EXPORTS) \
10463 for flag in $(EXTRA_HOST_FLAGS) ; do \
10464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10465 done; \
10466 echo "Doing dvi in etc" ; \
10467 (cd $(HOST_SUBDIR)/etc && \
10468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10470 "RANLIB=$${RANLIB}" \
10471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10472 dvi) \
10473 || exit 1
10475 @endif etc
10477 .PHONY: maybe-pdf-etc pdf-etc
10478 maybe-pdf-etc:
10479 @if etc
10480 maybe-pdf-etc: pdf-etc
10482 pdf-etc: \
10483 configure-etc
10484 @: $(MAKE); $(unstage)
10485 @[ -f ./etc/Makefile ] || exit 0; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(HOST_EXPORTS) \
10489 for flag in $(EXTRA_HOST_FLAGS) ; do \
10490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10491 done; \
10492 echo "Doing pdf in etc" ; \
10493 (cd $(HOST_SUBDIR)/etc && \
10494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10496 "RANLIB=$${RANLIB}" \
10497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10498 pdf) \
10499 || exit 1
10501 @endif etc
10503 .PHONY: maybe-html-etc html-etc
10504 maybe-html-etc:
10505 @if etc
10506 maybe-html-etc: html-etc
10508 html-etc: \
10509 configure-etc
10510 @: $(MAKE); $(unstage)
10511 @[ -f ./etc/Makefile ] || exit 0; \
10512 r=`${PWD_COMMAND}`; export r; \
10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 $(HOST_EXPORTS) \
10515 for flag in $(EXTRA_HOST_FLAGS) ; do \
10516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10517 done; \
10518 echo "Doing html in etc" ; \
10519 (cd $(HOST_SUBDIR)/etc && \
10520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10522 "RANLIB=$${RANLIB}" \
10523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10524 html) \
10525 || exit 1
10527 @endif etc
10529 .PHONY: maybe-TAGS-etc TAGS-etc
10530 maybe-TAGS-etc:
10531 @if etc
10532 maybe-TAGS-etc: TAGS-etc
10534 TAGS-etc: \
10535 configure-etc
10536 @: $(MAKE); $(unstage)
10537 @[ -f ./etc/Makefile ] || exit 0; \
10538 r=`${PWD_COMMAND}`; export r; \
10539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10540 $(HOST_EXPORTS) \
10541 for flag in $(EXTRA_HOST_FLAGS) ; do \
10542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10543 done; \
10544 echo "Doing TAGS in etc" ; \
10545 (cd $(HOST_SUBDIR)/etc && \
10546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10548 "RANLIB=$${RANLIB}" \
10549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10550 TAGS) \
10551 || exit 1
10553 @endif etc
10555 .PHONY: maybe-install-info-etc install-info-etc
10556 maybe-install-info-etc:
10557 @if etc
10558 maybe-install-info-etc: install-info-etc
10560 install-info-etc: \
10561 configure-etc \
10562 info-etc
10563 @: $(MAKE); $(unstage)
10564 @[ -f ./etc/Makefile ] || exit 0; \
10565 r=`${PWD_COMMAND}`; export r; \
10566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10567 $(HOST_EXPORTS) \
10568 for flag in $(EXTRA_HOST_FLAGS) ; do \
10569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10570 done; \
10571 echo "Doing install-info in etc" ; \
10572 (cd $(HOST_SUBDIR)/etc && \
10573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10575 "RANLIB=$${RANLIB}" \
10576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10577 install-info) \
10578 || exit 1
10580 @endif etc
10582 .PHONY: maybe-install-pdf-etc install-pdf-etc
10583 maybe-install-pdf-etc:
10584 @if etc
10585 maybe-install-pdf-etc: install-pdf-etc
10587 install-pdf-etc: \
10588 configure-etc \
10589 pdf-etc
10590 @: $(MAKE); $(unstage)
10591 @[ -f ./etc/Makefile ] || exit 0; \
10592 r=`${PWD_COMMAND}`; export r; \
10593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10594 $(HOST_EXPORTS) \
10595 for flag in $(EXTRA_HOST_FLAGS) ; do \
10596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10597 done; \
10598 echo "Doing install-pdf in etc" ; \
10599 (cd $(HOST_SUBDIR)/etc && \
10600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10602 "RANLIB=$${RANLIB}" \
10603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10604 install-pdf) \
10605 || exit 1
10607 @endif etc
10609 .PHONY: maybe-install-html-etc install-html-etc
10610 maybe-install-html-etc:
10611 @if etc
10612 maybe-install-html-etc: install-html-etc
10614 install-html-etc: \
10615 configure-etc \
10616 html-etc
10617 @: $(MAKE); $(unstage)
10618 @[ -f ./etc/Makefile ] || exit 0; \
10619 r=`${PWD_COMMAND}`; export r; \
10620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10621 $(HOST_EXPORTS) \
10622 for flag in $(EXTRA_HOST_FLAGS) ; do \
10623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10624 done; \
10625 echo "Doing install-html in etc" ; \
10626 (cd $(HOST_SUBDIR)/etc && \
10627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10629 "RANLIB=$${RANLIB}" \
10630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10631 install-html) \
10632 || exit 1
10634 @endif etc
10636 .PHONY: maybe-installcheck-etc installcheck-etc
10637 maybe-installcheck-etc:
10638 @if etc
10639 maybe-installcheck-etc: installcheck-etc
10641 installcheck-etc: \
10642 configure-etc
10643 @: $(MAKE); $(unstage)
10644 @[ -f ./etc/Makefile ] || exit 0; \
10645 r=`${PWD_COMMAND}`; export r; \
10646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10647 $(HOST_EXPORTS) \
10648 for flag in $(EXTRA_HOST_FLAGS) ; do \
10649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10650 done; \
10651 echo "Doing installcheck in etc" ; \
10652 (cd $(HOST_SUBDIR)/etc && \
10653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10655 "RANLIB=$${RANLIB}" \
10656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10657 installcheck) \
10658 || exit 1
10660 @endif etc
10662 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10663 maybe-mostlyclean-etc:
10664 @if etc
10665 maybe-mostlyclean-etc: mostlyclean-etc
10667 mostlyclean-etc:
10668 @: $(MAKE); $(unstage)
10669 @[ -f ./etc/Makefile ] || exit 0; \
10670 r=`${PWD_COMMAND}`; export r; \
10671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10672 $(HOST_EXPORTS) \
10673 for flag in $(EXTRA_HOST_FLAGS) ; do \
10674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10675 done; \
10676 echo "Doing mostlyclean in etc" ; \
10677 (cd $(HOST_SUBDIR)/etc && \
10678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10680 "RANLIB=$${RANLIB}" \
10681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10682 mostlyclean) \
10683 || exit 1
10685 @endif etc
10687 .PHONY: maybe-clean-etc clean-etc
10688 maybe-clean-etc:
10689 @if etc
10690 maybe-clean-etc: clean-etc
10692 clean-etc:
10693 @: $(MAKE); $(unstage)
10694 @[ -f ./etc/Makefile ] || exit 0; \
10695 r=`${PWD_COMMAND}`; export r; \
10696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10697 $(HOST_EXPORTS) \
10698 for flag in $(EXTRA_HOST_FLAGS) ; do \
10699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10700 done; \
10701 echo "Doing clean in etc" ; \
10702 (cd $(HOST_SUBDIR)/etc && \
10703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10705 "RANLIB=$${RANLIB}" \
10706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10707 clean) \
10708 || exit 1
10710 @endif etc
10712 .PHONY: maybe-distclean-etc distclean-etc
10713 maybe-distclean-etc:
10714 @if etc
10715 maybe-distclean-etc: distclean-etc
10717 distclean-etc:
10718 @: $(MAKE); $(unstage)
10719 @[ -f ./etc/Makefile ] || exit 0; \
10720 r=`${PWD_COMMAND}`; export r; \
10721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10722 $(HOST_EXPORTS) \
10723 for flag in $(EXTRA_HOST_FLAGS) ; do \
10724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10725 done; \
10726 echo "Doing distclean in etc" ; \
10727 (cd $(HOST_SUBDIR)/etc && \
10728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10730 "RANLIB=$${RANLIB}" \
10731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10732 distclean) \
10733 || exit 1
10735 @endif etc
10737 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
10738 maybe-maintainer-clean-etc:
10739 @if etc
10740 maybe-maintainer-clean-etc: maintainer-clean-etc
10742 maintainer-clean-etc:
10743 @: $(MAKE); $(unstage)
10744 @[ -f ./etc/Makefile ] || exit 0; \
10745 r=`${PWD_COMMAND}`; export r; \
10746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10747 $(HOST_EXPORTS) \
10748 for flag in $(EXTRA_HOST_FLAGS) ; do \
10749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10750 done; \
10751 echo "Doing maintainer-clean in etc" ; \
10752 (cd $(HOST_SUBDIR)/etc && \
10753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10755 "RANLIB=$${RANLIB}" \
10756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10757 maintainer-clean) \
10758 || exit 1
10760 @endif etc
10764 .PHONY: configure-fastjar maybe-configure-fastjar
10765 maybe-configure-fastjar:
10766 @if gcc-bootstrap
10767 configure-fastjar: stage_current
10768 @endif gcc-bootstrap
10769 @if fastjar
10770 maybe-configure-fastjar: configure-fastjar
10771 configure-fastjar:
10772 @: $(MAKE); $(unstage)
10773 @r=`${PWD_COMMAND}`; export r; \
10774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10775 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
10776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
10777 $(HOST_EXPORTS) \
10778 echo Configuring in $(HOST_SUBDIR)/fastjar; \
10779 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
10780 case $(srcdir) in \
10781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10782 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
10783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10784 esac; \
10785 srcdiroption="--srcdir=$${topdir}/fastjar"; \
10786 libsrcdir="$$s/fastjar"; \
10787 $(SHELL) $${libsrcdir}/configure \
10788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10789 --target=${target_alias} $${srcdiroption} \
10790 || exit 1
10791 @endif fastjar
10797 .PHONY: all-fastjar maybe-all-fastjar
10798 maybe-all-fastjar:
10799 @if gcc-bootstrap
10800 all-fastjar: stage_current
10801 @endif gcc-bootstrap
10802 @if fastjar
10803 TARGET-fastjar=all
10804 maybe-all-fastjar: all-fastjar
10805 all-fastjar: configure-fastjar
10806 @: $(MAKE); $(unstage)
10807 @r=`${PWD_COMMAND}`; export r; \
10808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10809 $(HOST_EXPORTS) \
10810 (cd $(HOST_SUBDIR)/fastjar && \
10811 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10812 $(TARGET-fastjar))
10813 @endif fastjar
10818 .PHONY: check-fastjar maybe-check-fastjar
10819 maybe-check-fastjar:
10820 @if fastjar
10821 maybe-check-fastjar: check-fastjar
10823 # This module is only tested in a native toolchain.
10824 check-fastjar:
10825 @: $(MAKE); $(unstage)
10826 @if [ '$(host)' = '$(target)' ] ; then \
10827 r=`${PWD_COMMAND}`; export r; \
10828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10829 $(HOST_EXPORTS) \
10830 (cd $(HOST_SUBDIR)/fastjar && \
10831 $(MAKE) $(FLAGS_TO_PASS) check); \
10834 @endif fastjar
10836 .PHONY: install-fastjar maybe-install-fastjar
10837 maybe-install-fastjar:
10838 @if fastjar
10839 maybe-install-fastjar: install-fastjar
10841 install-fastjar: installdirs
10842 @: $(MAKE); $(unstage)
10843 @r=`${PWD_COMMAND}`; export r; \
10844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10845 $(HOST_EXPORTS) \
10846 (cd $(HOST_SUBDIR)/fastjar && \
10847 $(MAKE) $(FLAGS_TO_PASS) install)
10849 @endif fastjar
10851 # Other targets (info, dvi, pdf, etc.)
10853 .PHONY: maybe-info-fastjar info-fastjar
10854 maybe-info-fastjar:
10855 @if fastjar
10856 maybe-info-fastjar: info-fastjar
10858 info-fastjar: \
10859 configure-fastjar
10860 @: $(MAKE); $(unstage)
10861 @[ -f ./fastjar/Makefile ] || exit 0; \
10862 r=`${PWD_COMMAND}`; export r; \
10863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10864 $(HOST_EXPORTS) \
10865 for flag in $(EXTRA_HOST_FLAGS) ; do \
10866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10867 done; \
10868 echo "Doing info in fastjar" ; \
10869 (cd $(HOST_SUBDIR)/fastjar && \
10870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10872 "RANLIB=$${RANLIB}" \
10873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10874 info) \
10875 || exit 1
10877 @endif fastjar
10879 .PHONY: maybe-dvi-fastjar dvi-fastjar
10880 maybe-dvi-fastjar:
10881 @if fastjar
10882 maybe-dvi-fastjar: dvi-fastjar
10884 dvi-fastjar: \
10885 configure-fastjar
10886 @: $(MAKE); $(unstage)
10887 @[ -f ./fastjar/Makefile ] || exit 0; \
10888 r=`${PWD_COMMAND}`; export r; \
10889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10890 $(HOST_EXPORTS) \
10891 for flag in $(EXTRA_HOST_FLAGS) ; do \
10892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10893 done; \
10894 echo "Doing dvi in fastjar" ; \
10895 (cd $(HOST_SUBDIR)/fastjar && \
10896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10898 "RANLIB=$${RANLIB}" \
10899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10900 dvi) \
10901 || exit 1
10903 @endif fastjar
10905 .PHONY: maybe-pdf-fastjar pdf-fastjar
10906 maybe-pdf-fastjar:
10907 @if fastjar
10908 maybe-pdf-fastjar: pdf-fastjar
10910 pdf-fastjar: \
10911 configure-fastjar
10912 @: $(MAKE); $(unstage)
10913 @[ -f ./fastjar/Makefile ] || exit 0; \
10914 r=`${PWD_COMMAND}`; export r; \
10915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10916 $(HOST_EXPORTS) \
10917 for flag in $(EXTRA_HOST_FLAGS) ; do \
10918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10919 done; \
10920 echo "Doing pdf in fastjar" ; \
10921 (cd $(HOST_SUBDIR)/fastjar && \
10922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10924 "RANLIB=$${RANLIB}" \
10925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10926 pdf) \
10927 || exit 1
10929 @endif fastjar
10931 .PHONY: maybe-html-fastjar html-fastjar
10932 maybe-html-fastjar:
10933 @if fastjar
10934 maybe-html-fastjar: html-fastjar
10936 html-fastjar: \
10937 configure-fastjar
10938 @: $(MAKE); $(unstage)
10939 @[ -f ./fastjar/Makefile ] || exit 0; \
10940 r=`${PWD_COMMAND}`; export r; \
10941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10942 $(HOST_EXPORTS) \
10943 for flag in $(EXTRA_HOST_FLAGS) ; do \
10944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10945 done; \
10946 echo "Doing html in fastjar" ; \
10947 (cd $(HOST_SUBDIR)/fastjar && \
10948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10950 "RANLIB=$${RANLIB}" \
10951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10952 html) \
10953 || exit 1
10955 @endif fastjar
10957 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
10958 maybe-TAGS-fastjar:
10959 @if fastjar
10960 maybe-TAGS-fastjar: TAGS-fastjar
10962 TAGS-fastjar: \
10963 configure-fastjar
10964 @: $(MAKE); $(unstage)
10965 @[ -f ./fastjar/Makefile ] || exit 0; \
10966 r=`${PWD_COMMAND}`; export r; \
10967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10968 $(HOST_EXPORTS) \
10969 for flag in $(EXTRA_HOST_FLAGS) ; do \
10970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10971 done; \
10972 echo "Doing TAGS in fastjar" ; \
10973 (cd $(HOST_SUBDIR)/fastjar && \
10974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10976 "RANLIB=$${RANLIB}" \
10977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10978 TAGS) \
10979 || exit 1
10981 @endif fastjar
10983 .PHONY: maybe-install-info-fastjar install-info-fastjar
10984 maybe-install-info-fastjar:
10985 @if fastjar
10986 maybe-install-info-fastjar: install-info-fastjar
10988 install-info-fastjar: \
10989 configure-fastjar \
10990 info-fastjar
10991 @: $(MAKE); $(unstage)
10992 @[ -f ./fastjar/Makefile ] || exit 0; \
10993 r=`${PWD_COMMAND}`; export r; \
10994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10995 $(HOST_EXPORTS) \
10996 for flag in $(EXTRA_HOST_FLAGS) ; do \
10997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10998 done; \
10999 echo "Doing install-info in fastjar" ; \
11000 (cd $(HOST_SUBDIR)/fastjar && \
11001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11003 "RANLIB=$${RANLIB}" \
11004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11005 install-info) \
11006 || exit 1
11008 @endif fastjar
11010 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
11011 maybe-install-pdf-fastjar:
11012 @if fastjar
11013 maybe-install-pdf-fastjar: install-pdf-fastjar
11015 install-pdf-fastjar: \
11016 configure-fastjar \
11017 pdf-fastjar
11018 @: $(MAKE); $(unstage)
11019 @[ -f ./fastjar/Makefile ] || exit 0; \
11020 r=`${PWD_COMMAND}`; export r; \
11021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11022 $(HOST_EXPORTS) \
11023 for flag in $(EXTRA_HOST_FLAGS) ; do \
11024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11025 done; \
11026 echo "Doing install-pdf in fastjar" ; \
11027 (cd $(HOST_SUBDIR)/fastjar && \
11028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11030 "RANLIB=$${RANLIB}" \
11031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11032 install-pdf) \
11033 || exit 1
11035 @endif fastjar
11037 .PHONY: maybe-install-html-fastjar install-html-fastjar
11038 maybe-install-html-fastjar:
11039 @if fastjar
11040 maybe-install-html-fastjar: install-html-fastjar
11042 install-html-fastjar: \
11043 configure-fastjar \
11044 html-fastjar
11045 @: $(MAKE); $(unstage)
11046 @[ -f ./fastjar/Makefile ] || exit 0; \
11047 r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11049 $(HOST_EXPORTS) \
11050 for flag in $(EXTRA_HOST_FLAGS) ; do \
11051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11052 done; \
11053 echo "Doing install-html in fastjar" ; \
11054 (cd $(HOST_SUBDIR)/fastjar && \
11055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11057 "RANLIB=$${RANLIB}" \
11058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11059 install-html) \
11060 || exit 1
11062 @endif fastjar
11064 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
11065 maybe-installcheck-fastjar:
11066 @if fastjar
11067 maybe-installcheck-fastjar: installcheck-fastjar
11069 installcheck-fastjar: \
11070 configure-fastjar
11071 @: $(MAKE); $(unstage)
11072 @[ -f ./fastjar/Makefile ] || exit 0; \
11073 r=`${PWD_COMMAND}`; export r; \
11074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11075 $(HOST_EXPORTS) \
11076 for flag in $(EXTRA_HOST_FLAGS) ; do \
11077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11078 done; \
11079 echo "Doing installcheck in fastjar" ; \
11080 (cd $(HOST_SUBDIR)/fastjar && \
11081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11083 "RANLIB=$${RANLIB}" \
11084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11085 installcheck) \
11086 || exit 1
11088 @endif fastjar
11090 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
11091 maybe-mostlyclean-fastjar:
11092 @if fastjar
11093 maybe-mostlyclean-fastjar: mostlyclean-fastjar
11095 mostlyclean-fastjar:
11096 @: $(MAKE); $(unstage)
11097 @[ -f ./fastjar/Makefile ] || exit 0; \
11098 r=`${PWD_COMMAND}`; export r; \
11099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11100 $(HOST_EXPORTS) \
11101 for flag in $(EXTRA_HOST_FLAGS) ; do \
11102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11103 done; \
11104 echo "Doing mostlyclean in fastjar" ; \
11105 (cd $(HOST_SUBDIR)/fastjar && \
11106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11108 "RANLIB=$${RANLIB}" \
11109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11110 mostlyclean) \
11111 || exit 1
11113 @endif fastjar
11115 .PHONY: maybe-clean-fastjar clean-fastjar
11116 maybe-clean-fastjar:
11117 @if fastjar
11118 maybe-clean-fastjar: clean-fastjar
11120 clean-fastjar:
11121 @: $(MAKE); $(unstage)
11122 @[ -f ./fastjar/Makefile ] || exit 0; \
11123 r=`${PWD_COMMAND}`; export r; \
11124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11125 $(HOST_EXPORTS) \
11126 for flag in $(EXTRA_HOST_FLAGS) ; do \
11127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11128 done; \
11129 echo "Doing clean in fastjar" ; \
11130 (cd $(HOST_SUBDIR)/fastjar && \
11131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11133 "RANLIB=$${RANLIB}" \
11134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11135 clean) \
11136 || exit 1
11138 @endif fastjar
11140 .PHONY: maybe-distclean-fastjar distclean-fastjar
11141 maybe-distclean-fastjar:
11142 @if fastjar
11143 maybe-distclean-fastjar: distclean-fastjar
11145 distclean-fastjar:
11146 @: $(MAKE); $(unstage)
11147 @[ -f ./fastjar/Makefile ] || exit 0; \
11148 r=`${PWD_COMMAND}`; export r; \
11149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11150 $(HOST_EXPORTS) \
11151 for flag in $(EXTRA_HOST_FLAGS) ; do \
11152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11153 done; \
11154 echo "Doing distclean in fastjar" ; \
11155 (cd $(HOST_SUBDIR)/fastjar && \
11156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11158 "RANLIB=$${RANLIB}" \
11159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11160 distclean) \
11161 || exit 1
11163 @endif fastjar
11165 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
11166 maybe-maintainer-clean-fastjar:
11167 @if fastjar
11168 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
11170 maintainer-clean-fastjar:
11171 @: $(MAKE); $(unstage)
11172 @[ -f ./fastjar/Makefile ] || exit 0; \
11173 r=`${PWD_COMMAND}`; export r; \
11174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11175 $(HOST_EXPORTS) \
11176 for flag in $(EXTRA_HOST_FLAGS) ; do \
11177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11178 done; \
11179 echo "Doing maintainer-clean in fastjar" ; \
11180 (cd $(HOST_SUBDIR)/fastjar && \
11181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11183 "RANLIB=$${RANLIB}" \
11184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11185 maintainer-clean) \
11186 || exit 1
11188 @endif fastjar
11192 .PHONY: configure-fileutils maybe-configure-fileutils
11193 maybe-configure-fileutils:
11194 @if gcc-bootstrap
11195 configure-fileutils: stage_current
11196 @endif gcc-bootstrap
11197 @if fileutils
11198 maybe-configure-fileutils: configure-fileutils
11199 configure-fileutils:
11200 @: $(MAKE); $(unstage)
11201 @r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
11204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
11205 $(HOST_EXPORTS) \
11206 echo Configuring in $(HOST_SUBDIR)/fileutils; \
11207 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
11208 case $(srcdir) in \
11209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11210 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
11211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11212 esac; \
11213 srcdiroption="--srcdir=$${topdir}/fileutils"; \
11214 libsrcdir="$$s/fileutils"; \
11215 $(SHELL) $${libsrcdir}/configure \
11216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11217 --target=${target_alias} $${srcdiroption} \
11218 || exit 1
11219 @endif fileutils
11225 .PHONY: all-fileutils maybe-all-fileutils
11226 maybe-all-fileutils:
11227 @if gcc-bootstrap
11228 all-fileutils: stage_current
11229 @endif gcc-bootstrap
11230 @if fileutils
11231 TARGET-fileutils=all
11232 maybe-all-fileutils: all-fileutils
11233 all-fileutils: configure-fileutils
11234 @: $(MAKE); $(unstage)
11235 @r=`${PWD_COMMAND}`; export r; \
11236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11237 $(HOST_EXPORTS) \
11238 (cd $(HOST_SUBDIR)/fileutils && \
11239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11240 $(TARGET-fileutils))
11241 @endif fileutils
11246 .PHONY: check-fileutils maybe-check-fileutils
11247 maybe-check-fileutils:
11248 @if fileutils
11249 maybe-check-fileutils: check-fileutils
11251 check-fileutils:
11252 @: $(MAKE); $(unstage)
11253 @r=`${PWD_COMMAND}`; export r; \
11254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255 $(HOST_EXPORTS) \
11256 (cd $(HOST_SUBDIR)/fileutils && \
11257 $(MAKE) $(FLAGS_TO_PASS) check)
11259 @endif fileutils
11261 .PHONY: install-fileutils maybe-install-fileutils
11262 maybe-install-fileutils:
11263 @if fileutils
11264 maybe-install-fileutils: install-fileutils
11266 install-fileutils: installdirs
11267 @: $(MAKE); $(unstage)
11268 @r=`${PWD_COMMAND}`; export r; \
11269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11270 $(HOST_EXPORTS) \
11271 (cd $(HOST_SUBDIR)/fileutils && \
11272 $(MAKE) $(FLAGS_TO_PASS) install)
11274 @endif fileutils
11276 # Other targets (info, dvi, pdf, etc.)
11278 .PHONY: maybe-info-fileutils info-fileutils
11279 maybe-info-fileutils:
11280 @if fileutils
11281 maybe-info-fileutils: info-fileutils
11283 info-fileutils: \
11284 configure-fileutils
11285 @: $(MAKE); $(unstage)
11286 @[ -f ./fileutils/Makefile ] || exit 0; \
11287 r=`${PWD_COMMAND}`; export r; \
11288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11289 $(HOST_EXPORTS) \
11290 for flag in $(EXTRA_HOST_FLAGS) ; do \
11291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11292 done; \
11293 echo "Doing info in fileutils" ; \
11294 (cd $(HOST_SUBDIR)/fileutils && \
11295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11297 "RANLIB=$${RANLIB}" \
11298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11299 info) \
11300 || exit 1
11302 @endif fileutils
11304 .PHONY: maybe-dvi-fileutils dvi-fileutils
11305 maybe-dvi-fileutils:
11306 @if fileutils
11307 maybe-dvi-fileutils: dvi-fileutils
11309 dvi-fileutils: \
11310 configure-fileutils
11311 @: $(MAKE); $(unstage)
11312 @[ -f ./fileutils/Makefile ] || exit 0; \
11313 r=`${PWD_COMMAND}`; export r; \
11314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11315 $(HOST_EXPORTS) \
11316 for flag in $(EXTRA_HOST_FLAGS) ; do \
11317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11318 done; \
11319 echo "Doing dvi in fileutils" ; \
11320 (cd $(HOST_SUBDIR)/fileutils && \
11321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11323 "RANLIB=$${RANLIB}" \
11324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11325 dvi) \
11326 || exit 1
11328 @endif fileutils
11330 .PHONY: maybe-pdf-fileutils pdf-fileutils
11331 maybe-pdf-fileutils:
11332 @if fileutils
11333 maybe-pdf-fileutils: pdf-fileutils
11335 pdf-fileutils: \
11336 configure-fileutils
11337 @: $(MAKE); $(unstage)
11338 @[ -f ./fileutils/Makefile ] || exit 0; \
11339 r=`${PWD_COMMAND}`; export r; \
11340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11341 $(HOST_EXPORTS) \
11342 for flag in $(EXTRA_HOST_FLAGS) ; do \
11343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11344 done; \
11345 echo "Doing pdf in fileutils" ; \
11346 (cd $(HOST_SUBDIR)/fileutils && \
11347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11349 "RANLIB=$${RANLIB}" \
11350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11351 pdf) \
11352 || exit 1
11354 @endif fileutils
11356 .PHONY: maybe-html-fileutils html-fileutils
11357 maybe-html-fileutils:
11358 @if fileutils
11359 maybe-html-fileutils: html-fileutils
11361 html-fileutils: \
11362 configure-fileutils
11363 @: $(MAKE); $(unstage)
11364 @[ -f ./fileutils/Makefile ] || exit 0; \
11365 r=`${PWD_COMMAND}`; export r; \
11366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11367 $(HOST_EXPORTS) \
11368 for flag in $(EXTRA_HOST_FLAGS) ; do \
11369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11370 done; \
11371 echo "Doing html in fileutils" ; \
11372 (cd $(HOST_SUBDIR)/fileutils && \
11373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11375 "RANLIB=$${RANLIB}" \
11376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11377 html) \
11378 || exit 1
11380 @endif fileutils
11382 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
11383 maybe-TAGS-fileutils:
11384 @if fileutils
11385 maybe-TAGS-fileutils: TAGS-fileutils
11387 TAGS-fileutils: \
11388 configure-fileutils
11389 @: $(MAKE); $(unstage)
11390 @[ -f ./fileutils/Makefile ] || exit 0; \
11391 r=`${PWD_COMMAND}`; export r; \
11392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11393 $(HOST_EXPORTS) \
11394 for flag in $(EXTRA_HOST_FLAGS) ; do \
11395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11396 done; \
11397 echo "Doing TAGS in fileutils" ; \
11398 (cd $(HOST_SUBDIR)/fileutils && \
11399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11401 "RANLIB=$${RANLIB}" \
11402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11403 TAGS) \
11404 || exit 1
11406 @endif fileutils
11408 .PHONY: maybe-install-info-fileutils install-info-fileutils
11409 maybe-install-info-fileutils:
11410 @if fileutils
11411 maybe-install-info-fileutils: install-info-fileutils
11413 install-info-fileutils: \
11414 configure-fileutils \
11415 info-fileutils
11416 @: $(MAKE); $(unstage)
11417 @[ -f ./fileutils/Makefile ] || exit 0; \
11418 r=`${PWD_COMMAND}`; export r; \
11419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11420 $(HOST_EXPORTS) \
11421 for flag in $(EXTRA_HOST_FLAGS) ; do \
11422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11423 done; \
11424 echo "Doing install-info in fileutils" ; \
11425 (cd $(HOST_SUBDIR)/fileutils && \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11428 "RANLIB=$${RANLIB}" \
11429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11430 install-info) \
11431 || exit 1
11433 @endif fileutils
11435 .PHONY: maybe-install-pdf-fileutils install-pdf-fileutils
11436 maybe-install-pdf-fileutils:
11437 @if fileutils
11438 maybe-install-pdf-fileutils: install-pdf-fileutils
11440 install-pdf-fileutils: \
11441 configure-fileutils \
11442 pdf-fileutils
11443 @: $(MAKE); $(unstage)
11444 @[ -f ./fileutils/Makefile ] || exit 0; \
11445 r=`${PWD_COMMAND}`; export r; \
11446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11447 $(HOST_EXPORTS) \
11448 for flag in $(EXTRA_HOST_FLAGS) ; do \
11449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11450 done; \
11451 echo "Doing install-pdf in fileutils" ; \
11452 (cd $(HOST_SUBDIR)/fileutils && \
11453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11455 "RANLIB=$${RANLIB}" \
11456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11457 install-pdf) \
11458 || exit 1
11460 @endif fileutils
11462 .PHONY: maybe-install-html-fileutils install-html-fileutils
11463 maybe-install-html-fileutils:
11464 @if fileutils
11465 maybe-install-html-fileutils: install-html-fileutils
11467 install-html-fileutils: \
11468 configure-fileutils \
11469 html-fileutils
11470 @: $(MAKE); $(unstage)
11471 @[ -f ./fileutils/Makefile ] || exit 0; \
11472 r=`${PWD_COMMAND}`; export r; \
11473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11474 $(HOST_EXPORTS) \
11475 for flag in $(EXTRA_HOST_FLAGS) ; do \
11476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11477 done; \
11478 echo "Doing install-html in fileutils" ; \
11479 (cd $(HOST_SUBDIR)/fileutils && \
11480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11482 "RANLIB=$${RANLIB}" \
11483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11484 install-html) \
11485 || exit 1
11487 @endif fileutils
11489 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
11490 maybe-installcheck-fileutils:
11491 @if fileutils
11492 maybe-installcheck-fileutils: installcheck-fileutils
11494 installcheck-fileutils: \
11495 configure-fileutils
11496 @: $(MAKE); $(unstage)
11497 @[ -f ./fileutils/Makefile ] || exit 0; \
11498 r=`${PWD_COMMAND}`; export r; \
11499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11500 $(HOST_EXPORTS) \
11501 for flag in $(EXTRA_HOST_FLAGS) ; do \
11502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11503 done; \
11504 echo "Doing installcheck in fileutils" ; \
11505 (cd $(HOST_SUBDIR)/fileutils && \
11506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11508 "RANLIB=$${RANLIB}" \
11509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11510 installcheck) \
11511 || exit 1
11513 @endif fileutils
11515 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
11516 maybe-mostlyclean-fileutils:
11517 @if fileutils
11518 maybe-mostlyclean-fileutils: mostlyclean-fileutils
11520 mostlyclean-fileutils:
11521 @: $(MAKE); $(unstage)
11522 @[ -f ./fileutils/Makefile ] || exit 0; \
11523 r=`${PWD_COMMAND}`; export r; \
11524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11525 $(HOST_EXPORTS) \
11526 for flag in $(EXTRA_HOST_FLAGS) ; do \
11527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11528 done; \
11529 echo "Doing mostlyclean in fileutils" ; \
11530 (cd $(HOST_SUBDIR)/fileutils && \
11531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11533 "RANLIB=$${RANLIB}" \
11534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11535 mostlyclean) \
11536 || exit 1
11538 @endif fileutils
11540 .PHONY: maybe-clean-fileutils clean-fileutils
11541 maybe-clean-fileutils:
11542 @if fileutils
11543 maybe-clean-fileutils: clean-fileutils
11545 clean-fileutils:
11546 @: $(MAKE); $(unstage)
11547 @[ -f ./fileutils/Makefile ] || exit 0; \
11548 r=`${PWD_COMMAND}`; export r; \
11549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11550 $(HOST_EXPORTS) \
11551 for flag in $(EXTRA_HOST_FLAGS) ; do \
11552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11553 done; \
11554 echo "Doing clean in fileutils" ; \
11555 (cd $(HOST_SUBDIR)/fileutils && \
11556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11558 "RANLIB=$${RANLIB}" \
11559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11560 clean) \
11561 || exit 1
11563 @endif fileutils
11565 .PHONY: maybe-distclean-fileutils distclean-fileutils
11566 maybe-distclean-fileutils:
11567 @if fileutils
11568 maybe-distclean-fileutils: distclean-fileutils
11570 distclean-fileutils:
11571 @: $(MAKE); $(unstage)
11572 @[ -f ./fileutils/Makefile ] || exit 0; \
11573 r=`${PWD_COMMAND}`; export r; \
11574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11575 $(HOST_EXPORTS) \
11576 for flag in $(EXTRA_HOST_FLAGS) ; do \
11577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11578 done; \
11579 echo "Doing distclean in fileutils" ; \
11580 (cd $(HOST_SUBDIR)/fileutils && \
11581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11583 "RANLIB=$${RANLIB}" \
11584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11585 distclean) \
11586 || exit 1
11588 @endif fileutils
11590 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
11591 maybe-maintainer-clean-fileutils:
11592 @if fileutils
11593 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
11595 maintainer-clean-fileutils:
11596 @: $(MAKE); $(unstage)
11597 @[ -f ./fileutils/Makefile ] || exit 0; \
11598 r=`${PWD_COMMAND}`; export r; \
11599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11600 $(HOST_EXPORTS) \
11601 for flag in $(EXTRA_HOST_FLAGS) ; do \
11602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11603 done; \
11604 echo "Doing maintainer-clean in fileutils" ; \
11605 (cd $(HOST_SUBDIR)/fileutils && \
11606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11608 "RANLIB=$${RANLIB}" \
11609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11610 maintainer-clean) \
11611 || exit 1
11613 @endif fileutils
11617 .PHONY: configure-findutils maybe-configure-findutils
11618 maybe-configure-findutils:
11619 @if gcc-bootstrap
11620 configure-findutils: stage_current
11621 @endif gcc-bootstrap
11622 @if findutils
11623 maybe-configure-findutils: configure-findutils
11624 configure-findutils:
11625 @: $(MAKE); $(unstage)
11626 @r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
11629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
11630 $(HOST_EXPORTS) \
11631 echo Configuring in $(HOST_SUBDIR)/findutils; \
11632 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
11633 case $(srcdir) in \
11634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11635 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
11636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11637 esac; \
11638 srcdiroption="--srcdir=$${topdir}/findutils"; \
11639 libsrcdir="$$s/findutils"; \
11640 $(SHELL) $${libsrcdir}/configure \
11641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11642 --target=${target_alias} $${srcdiroption} \
11643 || exit 1
11644 @endif findutils
11650 .PHONY: all-findutils maybe-all-findutils
11651 maybe-all-findutils:
11652 @if gcc-bootstrap
11653 all-findutils: stage_current
11654 @endif gcc-bootstrap
11655 @if findutils
11656 TARGET-findutils=all
11657 maybe-all-findutils: all-findutils
11658 all-findutils: configure-findutils
11659 @: $(MAKE); $(unstage)
11660 @r=`${PWD_COMMAND}`; export r; \
11661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11662 $(HOST_EXPORTS) \
11663 (cd $(HOST_SUBDIR)/findutils && \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11665 $(TARGET-findutils))
11666 @endif findutils
11671 .PHONY: check-findutils maybe-check-findutils
11672 maybe-check-findutils:
11673 @if findutils
11674 maybe-check-findutils: check-findutils
11676 check-findutils:
11677 @: $(MAKE); $(unstage)
11678 @r=`${PWD_COMMAND}`; export r; \
11679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11680 $(HOST_EXPORTS) \
11681 (cd $(HOST_SUBDIR)/findutils && \
11682 $(MAKE) $(FLAGS_TO_PASS) check)
11684 @endif findutils
11686 .PHONY: install-findutils maybe-install-findutils
11687 maybe-install-findutils:
11688 @if findutils
11689 maybe-install-findutils: install-findutils
11691 install-findutils: installdirs
11692 @: $(MAKE); $(unstage)
11693 @r=`${PWD_COMMAND}`; export r; \
11694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11695 $(HOST_EXPORTS) \
11696 (cd $(HOST_SUBDIR)/findutils && \
11697 $(MAKE) $(FLAGS_TO_PASS) install)
11699 @endif findutils
11701 # Other targets (info, dvi, pdf, etc.)
11703 .PHONY: maybe-info-findutils info-findutils
11704 maybe-info-findutils:
11705 @if findutils
11706 maybe-info-findutils: info-findutils
11708 info-findutils: \
11709 configure-findutils
11710 @: $(MAKE); $(unstage)
11711 @[ -f ./findutils/Makefile ] || exit 0; \
11712 r=`${PWD_COMMAND}`; export r; \
11713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11714 $(HOST_EXPORTS) \
11715 for flag in $(EXTRA_HOST_FLAGS) ; do \
11716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11717 done; \
11718 echo "Doing info in findutils" ; \
11719 (cd $(HOST_SUBDIR)/findutils && \
11720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11722 "RANLIB=$${RANLIB}" \
11723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11724 info) \
11725 || exit 1
11727 @endif findutils
11729 .PHONY: maybe-dvi-findutils dvi-findutils
11730 maybe-dvi-findutils:
11731 @if findutils
11732 maybe-dvi-findutils: dvi-findutils
11734 dvi-findutils: \
11735 configure-findutils
11736 @: $(MAKE); $(unstage)
11737 @[ -f ./findutils/Makefile ] || exit 0; \
11738 r=`${PWD_COMMAND}`; export r; \
11739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11740 $(HOST_EXPORTS) \
11741 for flag in $(EXTRA_HOST_FLAGS) ; do \
11742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11743 done; \
11744 echo "Doing dvi in findutils" ; \
11745 (cd $(HOST_SUBDIR)/findutils && \
11746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11748 "RANLIB=$${RANLIB}" \
11749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11750 dvi) \
11751 || exit 1
11753 @endif findutils
11755 .PHONY: maybe-pdf-findutils pdf-findutils
11756 maybe-pdf-findutils:
11757 @if findutils
11758 maybe-pdf-findutils: pdf-findutils
11760 pdf-findutils: \
11761 configure-findutils
11762 @: $(MAKE); $(unstage)
11763 @[ -f ./findutils/Makefile ] || exit 0; \
11764 r=`${PWD_COMMAND}`; export r; \
11765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11766 $(HOST_EXPORTS) \
11767 for flag in $(EXTRA_HOST_FLAGS) ; do \
11768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11769 done; \
11770 echo "Doing pdf in findutils" ; \
11771 (cd $(HOST_SUBDIR)/findutils && \
11772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11774 "RANLIB=$${RANLIB}" \
11775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11776 pdf) \
11777 || exit 1
11779 @endif findutils
11781 .PHONY: maybe-html-findutils html-findutils
11782 maybe-html-findutils:
11783 @if findutils
11784 maybe-html-findutils: html-findutils
11786 html-findutils: \
11787 configure-findutils
11788 @: $(MAKE); $(unstage)
11789 @[ -f ./findutils/Makefile ] || exit 0; \
11790 r=`${PWD_COMMAND}`; export r; \
11791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11792 $(HOST_EXPORTS) \
11793 for flag in $(EXTRA_HOST_FLAGS) ; do \
11794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11795 done; \
11796 echo "Doing html in findutils" ; \
11797 (cd $(HOST_SUBDIR)/findutils && \
11798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11800 "RANLIB=$${RANLIB}" \
11801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11802 html) \
11803 || exit 1
11805 @endif findutils
11807 .PHONY: maybe-TAGS-findutils TAGS-findutils
11808 maybe-TAGS-findutils:
11809 @if findutils
11810 maybe-TAGS-findutils: TAGS-findutils
11812 TAGS-findutils: \
11813 configure-findutils
11814 @: $(MAKE); $(unstage)
11815 @[ -f ./findutils/Makefile ] || exit 0; \
11816 r=`${PWD_COMMAND}`; export r; \
11817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11818 $(HOST_EXPORTS) \
11819 for flag in $(EXTRA_HOST_FLAGS) ; do \
11820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11821 done; \
11822 echo "Doing TAGS in findutils" ; \
11823 (cd $(HOST_SUBDIR)/findutils && \
11824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11826 "RANLIB=$${RANLIB}" \
11827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11828 TAGS) \
11829 || exit 1
11831 @endif findutils
11833 .PHONY: maybe-install-info-findutils install-info-findutils
11834 maybe-install-info-findutils:
11835 @if findutils
11836 maybe-install-info-findutils: install-info-findutils
11838 install-info-findutils: \
11839 configure-findutils \
11840 info-findutils
11841 @: $(MAKE); $(unstage)
11842 @[ -f ./findutils/Makefile ] || exit 0; \
11843 r=`${PWD_COMMAND}`; export r; \
11844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11845 $(HOST_EXPORTS) \
11846 for flag in $(EXTRA_HOST_FLAGS) ; do \
11847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11848 done; \
11849 echo "Doing install-info in findutils" ; \
11850 (cd $(HOST_SUBDIR)/findutils && \
11851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11853 "RANLIB=$${RANLIB}" \
11854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11855 install-info) \
11856 || exit 1
11858 @endif findutils
11860 .PHONY: maybe-install-pdf-findutils install-pdf-findutils
11861 maybe-install-pdf-findutils:
11862 @if findutils
11863 maybe-install-pdf-findutils: install-pdf-findutils
11865 install-pdf-findutils: \
11866 configure-findutils \
11867 pdf-findutils
11868 @: $(MAKE); $(unstage)
11869 @[ -f ./findutils/Makefile ] || exit 0; \
11870 r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872 $(HOST_EXPORTS) \
11873 for flag in $(EXTRA_HOST_FLAGS) ; do \
11874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11875 done; \
11876 echo "Doing install-pdf in findutils" ; \
11877 (cd $(HOST_SUBDIR)/findutils && \
11878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11880 "RANLIB=$${RANLIB}" \
11881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11882 install-pdf) \
11883 || exit 1
11885 @endif findutils
11887 .PHONY: maybe-install-html-findutils install-html-findutils
11888 maybe-install-html-findutils:
11889 @if findutils
11890 maybe-install-html-findutils: install-html-findutils
11892 install-html-findutils: \
11893 configure-findutils \
11894 html-findutils
11895 @: $(MAKE); $(unstage)
11896 @[ -f ./findutils/Makefile ] || exit 0; \
11897 r=`${PWD_COMMAND}`; export r; \
11898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11899 $(HOST_EXPORTS) \
11900 for flag in $(EXTRA_HOST_FLAGS) ; do \
11901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11902 done; \
11903 echo "Doing install-html in findutils" ; \
11904 (cd $(HOST_SUBDIR)/findutils && \
11905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11907 "RANLIB=$${RANLIB}" \
11908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11909 install-html) \
11910 || exit 1
11912 @endif findutils
11914 .PHONY: maybe-installcheck-findutils installcheck-findutils
11915 maybe-installcheck-findutils:
11916 @if findutils
11917 maybe-installcheck-findutils: installcheck-findutils
11919 installcheck-findutils: \
11920 configure-findutils
11921 @: $(MAKE); $(unstage)
11922 @[ -f ./findutils/Makefile ] || exit 0; \
11923 r=`${PWD_COMMAND}`; export r; \
11924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11925 $(HOST_EXPORTS) \
11926 for flag in $(EXTRA_HOST_FLAGS) ; do \
11927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11928 done; \
11929 echo "Doing installcheck in findutils" ; \
11930 (cd $(HOST_SUBDIR)/findutils && \
11931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11933 "RANLIB=$${RANLIB}" \
11934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11935 installcheck) \
11936 || exit 1
11938 @endif findutils
11940 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
11941 maybe-mostlyclean-findutils:
11942 @if findutils
11943 maybe-mostlyclean-findutils: mostlyclean-findutils
11945 mostlyclean-findutils:
11946 @: $(MAKE); $(unstage)
11947 @[ -f ./findutils/Makefile ] || exit 0; \
11948 r=`${PWD_COMMAND}`; export r; \
11949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11950 $(HOST_EXPORTS) \
11951 for flag in $(EXTRA_HOST_FLAGS) ; do \
11952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11953 done; \
11954 echo "Doing mostlyclean in findutils" ; \
11955 (cd $(HOST_SUBDIR)/findutils && \
11956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11958 "RANLIB=$${RANLIB}" \
11959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11960 mostlyclean) \
11961 || exit 1
11963 @endif findutils
11965 .PHONY: maybe-clean-findutils clean-findutils
11966 maybe-clean-findutils:
11967 @if findutils
11968 maybe-clean-findutils: clean-findutils
11970 clean-findutils:
11971 @: $(MAKE); $(unstage)
11972 @[ -f ./findutils/Makefile ] || exit 0; \
11973 r=`${PWD_COMMAND}`; export r; \
11974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11975 $(HOST_EXPORTS) \
11976 for flag in $(EXTRA_HOST_FLAGS) ; do \
11977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11978 done; \
11979 echo "Doing clean in findutils" ; \
11980 (cd $(HOST_SUBDIR)/findutils && \
11981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11983 "RANLIB=$${RANLIB}" \
11984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11985 clean) \
11986 || exit 1
11988 @endif findutils
11990 .PHONY: maybe-distclean-findutils distclean-findutils
11991 maybe-distclean-findutils:
11992 @if findutils
11993 maybe-distclean-findutils: distclean-findutils
11995 distclean-findutils:
11996 @: $(MAKE); $(unstage)
11997 @[ -f ./findutils/Makefile ] || exit 0; \
11998 r=`${PWD_COMMAND}`; export r; \
11999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12000 $(HOST_EXPORTS) \
12001 for flag in $(EXTRA_HOST_FLAGS) ; do \
12002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12003 done; \
12004 echo "Doing distclean in findutils" ; \
12005 (cd $(HOST_SUBDIR)/findutils && \
12006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12008 "RANLIB=$${RANLIB}" \
12009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12010 distclean) \
12011 || exit 1
12013 @endif findutils
12015 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
12016 maybe-maintainer-clean-findutils:
12017 @if findutils
12018 maybe-maintainer-clean-findutils: maintainer-clean-findutils
12020 maintainer-clean-findutils:
12021 @: $(MAKE); $(unstage)
12022 @[ -f ./findutils/Makefile ] || exit 0; \
12023 r=`${PWD_COMMAND}`; export r; \
12024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12025 $(HOST_EXPORTS) \
12026 for flag in $(EXTRA_HOST_FLAGS) ; do \
12027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12028 done; \
12029 echo "Doing maintainer-clean in findutils" ; \
12030 (cd $(HOST_SUBDIR)/findutils && \
12031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12033 "RANLIB=$${RANLIB}" \
12034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12035 maintainer-clean) \
12036 || exit 1
12038 @endif findutils
12042 .PHONY: configure-find maybe-configure-find
12043 maybe-configure-find:
12044 @if gcc-bootstrap
12045 configure-find: stage_current
12046 @endif gcc-bootstrap
12047 @if find
12048 maybe-configure-find: configure-find
12049 configure-find:
12050 @: $(MAKE); $(unstage)
12051 @r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
12054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
12055 $(HOST_EXPORTS) \
12056 echo Configuring in $(HOST_SUBDIR)/find; \
12057 cd "$(HOST_SUBDIR)/find" || exit 1; \
12058 case $(srcdir) in \
12059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12060 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
12061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12062 esac; \
12063 srcdiroption="--srcdir=$${topdir}/find"; \
12064 libsrcdir="$$s/find"; \
12065 $(SHELL) $${libsrcdir}/configure \
12066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12067 --target=${target_alias} $${srcdiroption} \
12068 || exit 1
12069 @endif find
12075 .PHONY: all-find maybe-all-find
12076 maybe-all-find:
12077 @if gcc-bootstrap
12078 all-find: stage_current
12079 @endif gcc-bootstrap
12080 @if find
12081 TARGET-find=all
12082 maybe-all-find: all-find
12083 all-find: configure-find
12084 @: $(MAKE); $(unstage)
12085 @r=`${PWD_COMMAND}`; export r; \
12086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12087 $(HOST_EXPORTS) \
12088 (cd $(HOST_SUBDIR)/find && \
12089 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12090 $(TARGET-find))
12091 @endif find
12096 .PHONY: check-find maybe-check-find
12097 maybe-check-find:
12098 @if find
12099 maybe-check-find: check-find
12101 check-find:
12102 @: $(MAKE); $(unstage)
12103 @r=`${PWD_COMMAND}`; export r; \
12104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12105 $(HOST_EXPORTS) \
12106 (cd $(HOST_SUBDIR)/find && \
12107 $(MAKE) $(FLAGS_TO_PASS) check)
12109 @endif find
12111 .PHONY: install-find maybe-install-find
12112 maybe-install-find:
12113 @if find
12114 maybe-install-find: install-find
12116 install-find: installdirs
12117 @: $(MAKE); $(unstage)
12118 @r=`${PWD_COMMAND}`; export r; \
12119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12120 $(HOST_EXPORTS) \
12121 (cd $(HOST_SUBDIR)/find && \
12122 $(MAKE) $(FLAGS_TO_PASS) install)
12124 @endif find
12126 # Other targets (info, dvi, pdf, etc.)
12128 .PHONY: maybe-info-find info-find
12129 maybe-info-find:
12130 @if find
12131 maybe-info-find: info-find
12133 info-find: \
12134 configure-find
12135 @: $(MAKE); $(unstage)
12136 @[ -f ./find/Makefile ] || exit 0; \
12137 r=`${PWD_COMMAND}`; export r; \
12138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12139 $(HOST_EXPORTS) \
12140 for flag in $(EXTRA_HOST_FLAGS) ; do \
12141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12142 done; \
12143 echo "Doing info in find" ; \
12144 (cd $(HOST_SUBDIR)/find && \
12145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12147 "RANLIB=$${RANLIB}" \
12148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12149 info) \
12150 || exit 1
12152 @endif find
12154 .PHONY: maybe-dvi-find dvi-find
12155 maybe-dvi-find:
12156 @if find
12157 maybe-dvi-find: dvi-find
12159 dvi-find: \
12160 configure-find
12161 @: $(MAKE); $(unstage)
12162 @[ -f ./find/Makefile ] || exit 0; \
12163 r=`${PWD_COMMAND}`; export r; \
12164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12165 $(HOST_EXPORTS) \
12166 for flag in $(EXTRA_HOST_FLAGS) ; do \
12167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12168 done; \
12169 echo "Doing dvi in find" ; \
12170 (cd $(HOST_SUBDIR)/find && \
12171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12173 "RANLIB=$${RANLIB}" \
12174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12175 dvi) \
12176 || exit 1
12178 @endif find
12180 .PHONY: maybe-pdf-find pdf-find
12181 maybe-pdf-find:
12182 @if find
12183 maybe-pdf-find: pdf-find
12185 pdf-find: \
12186 configure-find
12187 @: $(MAKE); $(unstage)
12188 @[ -f ./find/Makefile ] || exit 0; \
12189 r=`${PWD_COMMAND}`; export r; \
12190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12191 $(HOST_EXPORTS) \
12192 for flag in $(EXTRA_HOST_FLAGS) ; do \
12193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12194 done; \
12195 echo "Doing pdf in find" ; \
12196 (cd $(HOST_SUBDIR)/find && \
12197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12199 "RANLIB=$${RANLIB}" \
12200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12201 pdf) \
12202 || exit 1
12204 @endif find
12206 .PHONY: maybe-html-find html-find
12207 maybe-html-find:
12208 @if find
12209 maybe-html-find: html-find
12211 html-find: \
12212 configure-find
12213 @: $(MAKE); $(unstage)
12214 @[ -f ./find/Makefile ] || exit 0; \
12215 r=`${PWD_COMMAND}`; export r; \
12216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12217 $(HOST_EXPORTS) \
12218 for flag in $(EXTRA_HOST_FLAGS) ; do \
12219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12220 done; \
12221 echo "Doing html in find" ; \
12222 (cd $(HOST_SUBDIR)/find && \
12223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12225 "RANLIB=$${RANLIB}" \
12226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12227 html) \
12228 || exit 1
12230 @endif find
12232 .PHONY: maybe-TAGS-find TAGS-find
12233 maybe-TAGS-find:
12234 @if find
12235 maybe-TAGS-find: TAGS-find
12237 TAGS-find: \
12238 configure-find
12239 @: $(MAKE); $(unstage)
12240 @[ -f ./find/Makefile ] || exit 0; \
12241 r=`${PWD_COMMAND}`; export r; \
12242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243 $(HOST_EXPORTS) \
12244 for flag in $(EXTRA_HOST_FLAGS) ; do \
12245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12246 done; \
12247 echo "Doing TAGS in find" ; \
12248 (cd $(HOST_SUBDIR)/find && \
12249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12251 "RANLIB=$${RANLIB}" \
12252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12253 TAGS) \
12254 || exit 1
12256 @endif find
12258 .PHONY: maybe-install-info-find install-info-find
12259 maybe-install-info-find:
12260 @if find
12261 maybe-install-info-find: install-info-find
12263 install-info-find: \
12264 configure-find \
12265 info-find
12266 @: $(MAKE); $(unstage)
12267 @[ -f ./find/Makefile ] || exit 0; \
12268 r=`${PWD_COMMAND}`; export r; \
12269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12270 $(HOST_EXPORTS) \
12271 for flag in $(EXTRA_HOST_FLAGS) ; do \
12272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12273 done; \
12274 echo "Doing install-info in find" ; \
12275 (cd $(HOST_SUBDIR)/find && \
12276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12278 "RANLIB=$${RANLIB}" \
12279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12280 install-info) \
12281 || exit 1
12283 @endif find
12285 .PHONY: maybe-install-pdf-find install-pdf-find
12286 maybe-install-pdf-find:
12287 @if find
12288 maybe-install-pdf-find: install-pdf-find
12290 install-pdf-find: \
12291 configure-find \
12292 pdf-find
12293 @: $(MAKE); $(unstage)
12294 @[ -f ./find/Makefile ] || exit 0; \
12295 r=`${PWD_COMMAND}`; export r; \
12296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12297 $(HOST_EXPORTS) \
12298 for flag in $(EXTRA_HOST_FLAGS) ; do \
12299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12300 done; \
12301 echo "Doing install-pdf in find" ; \
12302 (cd $(HOST_SUBDIR)/find && \
12303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12305 "RANLIB=$${RANLIB}" \
12306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12307 install-pdf) \
12308 || exit 1
12310 @endif find
12312 .PHONY: maybe-install-html-find install-html-find
12313 maybe-install-html-find:
12314 @if find
12315 maybe-install-html-find: install-html-find
12317 install-html-find: \
12318 configure-find \
12319 html-find
12320 @: $(MAKE); $(unstage)
12321 @[ -f ./find/Makefile ] || exit 0; \
12322 r=`${PWD_COMMAND}`; export r; \
12323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12324 $(HOST_EXPORTS) \
12325 for flag in $(EXTRA_HOST_FLAGS) ; do \
12326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12327 done; \
12328 echo "Doing install-html in find" ; \
12329 (cd $(HOST_SUBDIR)/find && \
12330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12332 "RANLIB=$${RANLIB}" \
12333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12334 install-html) \
12335 || exit 1
12337 @endif find
12339 .PHONY: maybe-installcheck-find installcheck-find
12340 maybe-installcheck-find:
12341 @if find
12342 maybe-installcheck-find: installcheck-find
12344 installcheck-find: \
12345 configure-find
12346 @: $(MAKE); $(unstage)
12347 @[ -f ./find/Makefile ] || exit 0; \
12348 r=`${PWD_COMMAND}`; export r; \
12349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12350 $(HOST_EXPORTS) \
12351 for flag in $(EXTRA_HOST_FLAGS) ; do \
12352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12353 done; \
12354 echo "Doing installcheck in find" ; \
12355 (cd $(HOST_SUBDIR)/find && \
12356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12358 "RANLIB=$${RANLIB}" \
12359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12360 installcheck) \
12361 || exit 1
12363 @endif find
12365 .PHONY: maybe-mostlyclean-find mostlyclean-find
12366 maybe-mostlyclean-find:
12367 @if find
12368 maybe-mostlyclean-find: mostlyclean-find
12370 mostlyclean-find:
12371 @: $(MAKE); $(unstage)
12372 @[ -f ./find/Makefile ] || exit 0; \
12373 r=`${PWD_COMMAND}`; export r; \
12374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12375 $(HOST_EXPORTS) \
12376 for flag in $(EXTRA_HOST_FLAGS) ; do \
12377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12378 done; \
12379 echo "Doing mostlyclean in find" ; \
12380 (cd $(HOST_SUBDIR)/find && \
12381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12383 "RANLIB=$${RANLIB}" \
12384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12385 mostlyclean) \
12386 || exit 1
12388 @endif find
12390 .PHONY: maybe-clean-find clean-find
12391 maybe-clean-find:
12392 @if find
12393 maybe-clean-find: clean-find
12395 clean-find:
12396 @: $(MAKE); $(unstage)
12397 @[ -f ./find/Makefile ] || exit 0; \
12398 r=`${PWD_COMMAND}`; export r; \
12399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12400 $(HOST_EXPORTS) \
12401 for flag in $(EXTRA_HOST_FLAGS) ; do \
12402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12403 done; \
12404 echo "Doing clean in find" ; \
12405 (cd $(HOST_SUBDIR)/find && \
12406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12408 "RANLIB=$${RANLIB}" \
12409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12410 clean) \
12411 || exit 1
12413 @endif find
12415 .PHONY: maybe-distclean-find distclean-find
12416 maybe-distclean-find:
12417 @if find
12418 maybe-distclean-find: distclean-find
12420 distclean-find:
12421 @: $(MAKE); $(unstage)
12422 @[ -f ./find/Makefile ] || exit 0; \
12423 r=`${PWD_COMMAND}`; export r; \
12424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12425 $(HOST_EXPORTS) \
12426 for flag in $(EXTRA_HOST_FLAGS) ; do \
12427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12428 done; \
12429 echo "Doing distclean in find" ; \
12430 (cd $(HOST_SUBDIR)/find && \
12431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12433 "RANLIB=$${RANLIB}" \
12434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12435 distclean) \
12436 || exit 1
12438 @endif find
12440 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
12441 maybe-maintainer-clean-find:
12442 @if find
12443 maybe-maintainer-clean-find: maintainer-clean-find
12445 maintainer-clean-find:
12446 @: $(MAKE); $(unstage)
12447 @[ -f ./find/Makefile ] || exit 0; \
12448 r=`${PWD_COMMAND}`; export r; \
12449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12450 $(HOST_EXPORTS) \
12451 for flag in $(EXTRA_HOST_FLAGS) ; do \
12452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12453 done; \
12454 echo "Doing maintainer-clean in find" ; \
12455 (cd $(HOST_SUBDIR)/find && \
12456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12458 "RANLIB=$${RANLIB}" \
12459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12460 maintainer-clean) \
12461 || exit 1
12463 @endif find
12467 .PHONY: configure-fixincludes maybe-configure-fixincludes
12468 maybe-configure-fixincludes:
12469 @if gcc-bootstrap
12470 configure-fixincludes: stage_current
12471 @endif gcc-bootstrap
12472 @if fixincludes
12473 maybe-configure-fixincludes: configure-fixincludes
12474 configure-fixincludes:
12475 @: $(MAKE); $(unstage)
12476 @r=`${PWD_COMMAND}`; export r; \
12477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12478 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
12479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
12480 $(HOST_EXPORTS) \
12481 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
12482 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
12483 case $(srcdir) in \
12484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12485 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
12486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12487 esac; \
12488 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
12489 libsrcdir="$$s/fixincludes"; \
12490 $(SHELL) $${libsrcdir}/configure \
12491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12492 --target=${target_alias} $${srcdiroption} \
12493 || exit 1
12494 @endif fixincludes
12500 .PHONY: all-fixincludes maybe-all-fixincludes
12501 maybe-all-fixincludes:
12502 @if gcc-bootstrap
12503 all-fixincludes: stage_current
12504 @endif gcc-bootstrap
12505 @if fixincludes
12506 TARGET-fixincludes=all
12507 maybe-all-fixincludes: all-fixincludes
12508 all-fixincludes: configure-fixincludes
12509 @: $(MAKE); $(unstage)
12510 @r=`${PWD_COMMAND}`; export r; \
12511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12512 $(HOST_EXPORTS) \
12513 (cd $(HOST_SUBDIR)/fixincludes && \
12514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12515 $(TARGET-fixincludes))
12516 @endif fixincludes
12521 .PHONY: check-fixincludes maybe-check-fixincludes
12522 maybe-check-fixincludes:
12523 @if fixincludes
12524 maybe-check-fixincludes: check-fixincludes
12526 check-fixincludes:
12527 @: $(MAKE); $(unstage)
12528 @r=`${PWD_COMMAND}`; export r; \
12529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12530 $(HOST_EXPORTS) \
12531 (cd $(HOST_SUBDIR)/fixincludes && \
12532 $(MAKE) $(FLAGS_TO_PASS) check)
12534 @endif fixincludes
12536 .PHONY: install-fixincludes maybe-install-fixincludes
12537 maybe-install-fixincludes:
12538 @if fixincludes
12539 maybe-install-fixincludes: install-fixincludes
12541 install-fixincludes: installdirs
12542 @: $(MAKE); $(unstage)
12543 @r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 $(HOST_EXPORTS) \
12546 (cd $(HOST_SUBDIR)/fixincludes && \
12547 $(MAKE) $(FLAGS_TO_PASS) install)
12549 @endif fixincludes
12551 # Other targets (info, dvi, pdf, etc.)
12553 .PHONY: maybe-info-fixincludes info-fixincludes
12554 maybe-info-fixincludes:
12555 @if fixincludes
12556 maybe-info-fixincludes: info-fixincludes
12558 info-fixincludes: \
12559 configure-fixincludes
12560 @: $(MAKE); $(unstage)
12561 @[ -f ./fixincludes/Makefile ] || exit 0; \
12562 r=`${PWD_COMMAND}`; export r; \
12563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12564 $(HOST_EXPORTS) \
12565 for flag in $(EXTRA_HOST_FLAGS) ; do \
12566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12567 done; \
12568 echo "Doing info in fixincludes" ; \
12569 (cd $(HOST_SUBDIR)/fixincludes && \
12570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12572 "RANLIB=$${RANLIB}" \
12573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12574 info) \
12575 || exit 1
12577 @endif fixincludes
12579 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
12580 maybe-dvi-fixincludes:
12581 @if fixincludes
12582 maybe-dvi-fixincludes: dvi-fixincludes
12584 dvi-fixincludes: \
12585 configure-fixincludes
12586 @: $(MAKE); $(unstage)
12587 @[ -f ./fixincludes/Makefile ] || exit 0; \
12588 r=`${PWD_COMMAND}`; export r; \
12589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12590 $(HOST_EXPORTS) \
12591 for flag in $(EXTRA_HOST_FLAGS) ; do \
12592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12593 done; \
12594 echo "Doing dvi in fixincludes" ; \
12595 (cd $(HOST_SUBDIR)/fixincludes && \
12596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12598 "RANLIB=$${RANLIB}" \
12599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12600 dvi) \
12601 || exit 1
12603 @endif fixincludes
12605 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
12606 maybe-pdf-fixincludes:
12607 @if fixincludes
12608 maybe-pdf-fixincludes: pdf-fixincludes
12610 pdf-fixincludes: \
12611 configure-fixincludes
12612 @: $(MAKE); $(unstage)
12613 @[ -f ./fixincludes/Makefile ] || exit 0; \
12614 r=`${PWD_COMMAND}`; export r; \
12615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12616 $(HOST_EXPORTS) \
12617 for flag in $(EXTRA_HOST_FLAGS) ; do \
12618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12619 done; \
12620 echo "Doing pdf in fixincludes" ; \
12621 (cd $(HOST_SUBDIR)/fixincludes && \
12622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12624 "RANLIB=$${RANLIB}" \
12625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12626 pdf) \
12627 || exit 1
12629 @endif fixincludes
12631 .PHONY: maybe-html-fixincludes html-fixincludes
12632 maybe-html-fixincludes:
12633 @if fixincludes
12634 maybe-html-fixincludes: html-fixincludes
12636 html-fixincludes: \
12637 configure-fixincludes
12638 @: $(MAKE); $(unstage)
12639 @[ -f ./fixincludes/Makefile ] || exit 0; \
12640 r=`${PWD_COMMAND}`; export r; \
12641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12642 $(HOST_EXPORTS) \
12643 for flag in $(EXTRA_HOST_FLAGS) ; do \
12644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12645 done; \
12646 echo "Doing html in fixincludes" ; \
12647 (cd $(HOST_SUBDIR)/fixincludes && \
12648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12650 "RANLIB=$${RANLIB}" \
12651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12652 html) \
12653 || exit 1
12655 @endif fixincludes
12657 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
12658 maybe-TAGS-fixincludes:
12659 @if fixincludes
12660 maybe-TAGS-fixincludes: TAGS-fixincludes
12662 # fixincludes doesn't support TAGS.
12663 TAGS-fixincludes:
12665 @endif fixincludes
12667 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
12668 maybe-install-info-fixincludes:
12669 @if fixincludes
12670 maybe-install-info-fixincludes: install-info-fixincludes
12672 install-info-fixincludes: \
12673 configure-fixincludes \
12674 info-fixincludes
12675 @: $(MAKE); $(unstage)
12676 @[ -f ./fixincludes/Makefile ] || exit 0; \
12677 r=`${PWD_COMMAND}`; export r; \
12678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12679 $(HOST_EXPORTS) \
12680 for flag in $(EXTRA_HOST_FLAGS) ; do \
12681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12682 done; \
12683 echo "Doing install-info in fixincludes" ; \
12684 (cd $(HOST_SUBDIR)/fixincludes && \
12685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12687 "RANLIB=$${RANLIB}" \
12688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12689 install-info) \
12690 || exit 1
12692 @endif fixincludes
12694 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
12695 maybe-install-pdf-fixincludes:
12696 @if fixincludes
12697 maybe-install-pdf-fixincludes: install-pdf-fixincludes
12699 install-pdf-fixincludes: \
12700 configure-fixincludes \
12701 pdf-fixincludes
12702 @: $(MAKE); $(unstage)
12703 @[ -f ./fixincludes/Makefile ] || exit 0; \
12704 r=`${PWD_COMMAND}`; export r; \
12705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12706 $(HOST_EXPORTS) \
12707 for flag in $(EXTRA_HOST_FLAGS) ; do \
12708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12709 done; \
12710 echo "Doing install-pdf in fixincludes" ; \
12711 (cd $(HOST_SUBDIR)/fixincludes && \
12712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12714 "RANLIB=$${RANLIB}" \
12715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12716 install-pdf) \
12717 || exit 1
12719 @endif fixincludes
12721 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
12722 maybe-install-html-fixincludes:
12723 @if fixincludes
12724 maybe-install-html-fixincludes: install-html-fixincludes
12726 install-html-fixincludes: \
12727 configure-fixincludes \
12728 html-fixincludes
12729 @: $(MAKE); $(unstage)
12730 @[ -f ./fixincludes/Makefile ] || exit 0; \
12731 r=`${PWD_COMMAND}`; export r; \
12732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12733 $(HOST_EXPORTS) \
12734 for flag in $(EXTRA_HOST_FLAGS) ; do \
12735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12736 done; \
12737 echo "Doing install-html in fixincludes" ; \
12738 (cd $(HOST_SUBDIR)/fixincludes && \
12739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12741 "RANLIB=$${RANLIB}" \
12742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12743 install-html) \
12744 || exit 1
12746 @endif fixincludes
12748 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
12749 maybe-installcheck-fixincludes:
12750 @if fixincludes
12751 maybe-installcheck-fixincludes: installcheck-fixincludes
12753 installcheck-fixincludes: \
12754 configure-fixincludes
12755 @: $(MAKE); $(unstage)
12756 @[ -f ./fixincludes/Makefile ] || exit 0; \
12757 r=`${PWD_COMMAND}`; export r; \
12758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12759 $(HOST_EXPORTS) \
12760 for flag in $(EXTRA_HOST_FLAGS) ; do \
12761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12762 done; \
12763 echo "Doing installcheck in fixincludes" ; \
12764 (cd $(HOST_SUBDIR)/fixincludes && \
12765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12767 "RANLIB=$${RANLIB}" \
12768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12769 installcheck) \
12770 || exit 1
12772 @endif fixincludes
12774 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
12775 maybe-mostlyclean-fixincludes:
12776 @if fixincludes
12777 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
12779 mostlyclean-fixincludes:
12780 @: $(MAKE); $(unstage)
12781 @[ -f ./fixincludes/Makefile ] || exit 0; \
12782 r=`${PWD_COMMAND}`; export r; \
12783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12784 $(HOST_EXPORTS) \
12785 for flag in $(EXTRA_HOST_FLAGS) ; do \
12786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12787 done; \
12788 echo "Doing mostlyclean in fixincludes" ; \
12789 (cd $(HOST_SUBDIR)/fixincludes && \
12790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12792 "RANLIB=$${RANLIB}" \
12793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12794 mostlyclean) \
12795 || exit 1
12797 @endif fixincludes
12799 .PHONY: maybe-clean-fixincludes clean-fixincludes
12800 maybe-clean-fixincludes:
12801 @if fixincludes
12802 maybe-clean-fixincludes: clean-fixincludes
12804 clean-fixincludes:
12805 @: $(MAKE); $(unstage)
12806 @[ -f ./fixincludes/Makefile ] || exit 0; \
12807 r=`${PWD_COMMAND}`; export r; \
12808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12809 $(HOST_EXPORTS) \
12810 for flag in $(EXTRA_HOST_FLAGS) ; do \
12811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12812 done; \
12813 echo "Doing clean in fixincludes" ; \
12814 (cd $(HOST_SUBDIR)/fixincludes && \
12815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12817 "RANLIB=$${RANLIB}" \
12818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12819 clean) \
12820 || exit 1
12822 @endif fixincludes
12824 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
12825 maybe-distclean-fixincludes:
12826 @if fixincludes
12827 maybe-distclean-fixincludes: distclean-fixincludes
12829 distclean-fixincludes:
12830 @: $(MAKE); $(unstage)
12831 @[ -f ./fixincludes/Makefile ] || exit 0; \
12832 r=`${PWD_COMMAND}`; export r; \
12833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 $(HOST_EXPORTS) \
12835 for flag in $(EXTRA_HOST_FLAGS) ; do \
12836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12837 done; \
12838 echo "Doing distclean in fixincludes" ; \
12839 (cd $(HOST_SUBDIR)/fixincludes && \
12840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12842 "RANLIB=$${RANLIB}" \
12843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12844 distclean) \
12845 || exit 1
12847 @endif fixincludes
12849 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
12850 maybe-maintainer-clean-fixincludes:
12851 @if fixincludes
12852 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
12854 maintainer-clean-fixincludes:
12855 @: $(MAKE); $(unstage)
12856 @[ -f ./fixincludes/Makefile ] || exit 0; \
12857 r=`${PWD_COMMAND}`; export r; \
12858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12859 $(HOST_EXPORTS) \
12860 for flag in $(EXTRA_HOST_FLAGS) ; do \
12861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12862 done; \
12863 echo "Doing maintainer-clean in fixincludes" ; \
12864 (cd $(HOST_SUBDIR)/fixincludes && \
12865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12867 "RANLIB=$${RANLIB}" \
12868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12869 maintainer-clean) \
12870 || exit 1
12872 @endif fixincludes
12876 .PHONY: configure-flex maybe-configure-flex
12877 maybe-configure-flex:
12878 @if gcc-bootstrap
12879 configure-flex: stage_current
12880 @endif gcc-bootstrap
12881 @if flex
12882 maybe-configure-flex: configure-flex
12883 configure-flex:
12884 @: $(MAKE); $(unstage)
12885 @r=`${PWD_COMMAND}`; export r; \
12886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12887 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
12888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
12889 $(HOST_EXPORTS) \
12890 echo Configuring in $(HOST_SUBDIR)/flex; \
12891 cd "$(HOST_SUBDIR)/flex" || exit 1; \
12892 case $(srcdir) in \
12893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12894 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
12895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12896 esac; \
12897 srcdiroption="--srcdir=$${topdir}/flex"; \
12898 libsrcdir="$$s/flex"; \
12899 $(SHELL) $${libsrcdir}/configure \
12900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12901 --target=${target_alias} $${srcdiroption} \
12902 || exit 1
12903 @endif flex
12909 .PHONY: all-flex maybe-all-flex
12910 maybe-all-flex:
12911 @if gcc-bootstrap
12912 all-flex: stage_current
12913 @endif gcc-bootstrap
12914 @if flex
12915 TARGET-flex=all
12916 maybe-all-flex: all-flex
12917 all-flex: configure-flex
12918 @: $(MAKE); $(unstage)
12919 @r=`${PWD_COMMAND}`; export r; \
12920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921 $(HOST_EXPORTS) \
12922 (cd $(HOST_SUBDIR)/flex && \
12923 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12924 $(TARGET-flex))
12925 @endif flex
12930 .PHONY: check-flex maybe-check-flex
12931 maybe-check-flex:
12932 @if flex
12933 maybe-check-flex: check-flex
12935 # This module is only tested in a native toolchain.
12936 check-flex:
12937 @: $(MAKE); $(unstage)
12938 @if [ '$(host)' = '$(target)' ] ; then \
12939 r=`${PWD_COMMAND}`; export r; \
12940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12941 $(HOST_EXPORTS) \
12942 (cd $(HOST_SUBDIR)/flex && \
12943 $(MAKE) $(FLAGS_TO_PASS) check); \
12946 @endif flex
12948 .PHONY: install-flex maybe-install-flex
12949 maybe-install-flex:
12950 @if flex
12951 maybe-install-flex: install-flex
12953 install-flex: installdirs
12954 @: $(MAKE); $(unstage)
12955 @r=`${PWD_COMMAND}`; export r; \
12956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 $(HOST_EXPORTS) \
12958 (cd $(HOST_SUBDIR)/flex && \
12959 $(MAKE) $(FLAGS_TO_PASS) install)
12961 @endif flex
12963 # Other targets (info, dvi, pdf, etc.)
12965 .PHONY: maybe-info-flex info-flex
12966 maybe-info-flex:
12967 @if flex
12968 maybe-info-flex: info-flex
12970 info-flex: \
12971 configure-flex
12972 @: $(MAKE); $(unstage)
12973 @[ -f ./flex/Makefile ] || exit 0; \
12974 r=`${PWD_COMMAND}`; export r; \
12975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12976 $(HOST_EXPORTS) \
12977 for flag in $(EXTRA_HOST_FLAGS) ; do \
12978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12979 done; \
12980 echo "Doing info in flex" ; \
12981 (cd $(HOST_SUBDIR)/flex && \
12982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12984 "RANLIB=$${RANLIB}" \
12985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12986 info) \
12987 || exit 1
12989 @endif flex
12991 .PHONY: maybe-dvi-flex dvi-flex
12992 maybe-dvi-flex:
12993 @if flex
12994 maybe-dvi-flex: dvi-flex
12996 dvi-flex: \
12997 configure-flex
12998 @: $(MAKE); $(unstage)
12999 @[ -f ./flex/Makefile ] || exit 0; \
13000 r=`${PWD_COMMAND}`; export r; \
13001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13002 $(HOST_EXPORTS) \
13003 for flag in $(EXTRA_HOST_FLAGS) ; do \
13004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13005 done; \
13006 echo "Doing dvi in flex" ; \
13007 (cd $(HOST_SUBDIR)/flex && \
13008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13010 "RANLIB=$${RANLIB}" \
13011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13012 dvi) \
13013 || exit 1
13015 @endif flex
13017 .PHONY: maybe-pdf-flex pdf-flex
13018 maybe-pdf-flex:
13019 @if flex
13020 maybe-pdf-flex: pdf-flex
13022 pdf-flex: \
13023 configure-flex
13024 @: $(MAKE); $(unstage)
13025 @[ -f ./flex/Makefile ] || exit 0; \
13026 r=`${PWD_COMMAND}`; export r; \
13027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13028 $(HOST_EXPORTS) \
13029 for flag in $(EXTRA_HOST_FLAGS) ; do \
13030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13031 done; \
13032 echo "Doing pdf in flex" ; \
13033 (cd $(HOST_SUBDIR)/flex && \
13034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13036 "RANLIB=$${RANLIB}" \
13037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13038 pdf) \
13039 || exit 1
13041 @endif flex
13043 .PHONY: maybe-html-flex html-flex
13044 maybe-html-flex:
13045 @if flex
13046 maybe-html-flex: html-flex
13048 html-flex: \
13049 configure-flex
13050 @: $(MAKE); $(unstage)
13051 @[ -f ./flex/Makefile ] || exit 0; \
13052 r=`${PWD_COMMAND}`; export r; \
13053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13054 $(HOST_EXPORTS) \
13055 for flag in $(EXTRA_HOST_FLAGS) ; do \
13056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13057 done; \
13058 echo "Doing html in flex" ; \
13059 (cd $(HOST_SUBDIR)/flex && \
13060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13062 "RANLIB=$${RANLIB}" \
13063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13064 html) \
13065 || exit 1
13067 @endif flex
13069 .PHONY: maybe-TAGS-flex TAGS-flex
13070 maybe-TAGS-flex:
13071 @if flex
13072 maybe-TAGS-flex: TAGS-flex
13074 TAGS-flex: \
13075 configure-flex
13076 @: $(MAKE); $(unstage)
13077 @[ -f ./flex/Makefile ] || exit 0; \
13078 r=`${PWD_COMMAND}`; export r; \
13079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13080 $(HOST_EXPORTS) \
13081 for flag in $(EXTRA_HOST_FLAGS) ; do \
13082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13083 done; \
13084 echo "Doing TAGS in flex" ; \
13085 (cd $(HOST_SUBDIR)/flex && \
13086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13088 "RANLIB=$${RANLIB}" \
13089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13090 TAGS) \
13091 || exit 1
13093 @endif flex
13095 .PHONY: maybe-install-info-flex install-info-flex
13096 maybe-install-info-flex:
13097 @if flex
13098 maybe-install-info-flex: install-info-flex
13100 install-info-flex: \
13101 configure-flex \
13102 info-flex
13103 @: $(MAKE); $(unstage)
13104 @[ -f ./flex/Makefile ] || exit 0; \
13105 r=`${PWD_COMMAND}`; export r; \
13106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13107 $(HOST_EXPORTS) \
13108 for flag in $(EXTRA_HOST_FLAGS) ; do \
13109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13110 done; \
13111 echo "Doing install-info in flex" ; \
13112 (cd $(HOST_SUBDIR)/flex && \
13113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13115 "RANLIB=$${RANLIB}" \
13116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13117 install-info) \
13118 || exit 1
13120 @endif flex
13122 .PHONY: maybe-install-pdf-flex install-pdf-flex
13123 maybe-install-pdf-flex:
13124 @if flex
13125 maybe-install-pdf-flex: install-pdf-flex
13127 install-pdf-flex: \
13128 configure-flex \
13129 pdf-flex
13130 @: $(MAKE); $(unstage)
13131 @[ -f ./flex/Makefile ] || exit 0; \
13132 r=`${PWD_COMMAND}`; export r; \
13133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13134 $(HOST_EXPORTS) \
13135 for flag in $(EXTRA_HOST_FLAGS) ; do \
13136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13137 done; \
13138 echo "Doing install-pdf in flex" ; \
13139 (cd $(HOST_SUBDIR)/flex && \
13140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13142 "RANLIB=$${RANLIB}" \
13143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13144 install-pdf) \
13145 || exit 1
13147 @endif flex
13149 .PHONY: maybe-install-html-flex install-html-flex
13150 maybe-install-html-flex:
13151 @if flex
13152 maybe-install-html-flex: install-html-flex
13154 install-html-flex: \
13155 configure-flex \
13156 html-flex
13157 @: $(MAKE); $(unstage)
13158 @[ -f ./flex/Makefile ] || exit 0; \
13159 r=`${PWD_COMMAND}`; export r; \
13160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13161 $(HOST_EXPORTS) \
13162 for flag in $(EXTRA_HOST_FLAGS) ; do \
13163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13164 done; \
13165 echo "Doing install-html in flex" ; \
13166 (cd $(HOST_SUBDIR)/flex && \
13167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13169 "RANLIB=$${RANLIB}" \
13170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13171 install-html) \
13172 || exit 1
13174 @endif flex
13176 .PHONY: maybe-installcheck-flex installcheck-flex
13177 maybe-installcheck-flex:
13178 @if flex
13179 maybe-installcheck-flex: installcheck-flex
13181 installcheck-flex: \
13182 configure-flex
13183 @: $(MAKE); $(unstage)
13184 @[ -f ./flex/Makefile ] || exit 0; \
13185 r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13187 $(HOST_EXPORTS) \
13188 for flag in $(EXTRA_HOST_FLAGS) ; do \
13189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13190 done; \
13191 echo "Doing installcheck in flex" ; \
13192 (cd $(HOST_SUBDIR)/flex && \
13193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13195 "RANLIB=$${RANLIB}" \
13196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13197 installcheck) \
13198 || exit 1
13200 @endif flex
13202 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
13203 maybe-mostlyclean-flex:
13204 @if flex
13205 maybe-mostlyclean-flex: mostlyclean-flex
13207 mostlyclean-flex:
13208 @: $(MAKE); $(unstage)
13209 @[ -f ./flex/Makefile ] || exit 0; \
13210 r=`${PWD_COMMAND}`; export r; \
13211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13212 $(HOST_EXPORTS) \
13213 for flag in $(EXTRA_HOST_FLAGS) ; do \
13214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13215 done; \
13216 echo "Doing mostlyclean in flex" ; \
13217 (cd $(HOST_SUBDIR)/flex && \
13218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13220 "RANLIB=$${RANLIB}" \
13221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13222 mostlyclean) \
13223 || exit 1
13225 @endif flex
13227 .PHONY: maybe-clean-flex clean-flex
13228 maybe-clean-flex:
13229 @if flex
13230 maybe-clean-flex: clean-flex
13232 clean-flex:
13233 @: $(MAKE); $(unstage)
13234 @[ -f ./flex/Makefile ] || exit 0; \
13235 r=`${PWD_COMMAND}`; export r; \
13236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13237 $(HOST_EXPORTS) \
13238 for flag in $(EXTRA_HOST_FLAGS) ; do \
13239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13240 done; \
13241 echo "Doing clean in flex" ; \
13242 (cd $(HOST_SUBDIR)/flex && \
13243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13245 "RANLIB=$${RANLIB}" \
13246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13247 clean) \
13248 || exit 1
13250 @endif flex
13252 .PHONY: maybe-distclean-flex distclean-flex
13253 maybe-distclean-flex:
13254 @if flex
13255 maybe-distclean-flex: distclean-flex
13257 distclean-flex:
13258 @: $(MAKE); $(unstage)
13259 @[ -f ./flex/Makefile ] || exit 0; \
13260 r=`${PWD_COMMAND}`; export r; \
13261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13262 $(HOST_EXPORTS) \
13263 for flag in $(EXTRA_HOST_FLAGS) ; do \
13264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13265 done; \
13266 echo "Doing distclean in flex" ; \
13267 (cd $(HOST_SUBDIR)/flex && \
13268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13270 "RANLIB=$${RANLIB}" \
13271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13272 distclean) \
13273 || exit 1
13275 @endif flex
13277 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
13278 maybe-maintainer-clean-flex:
13279 @if flex
13280 maybe-maintainer-clean-flex: maintainer-clean-flex
13282 maintainer-clean-flex:
13283 @: $(MAKE); $(unstage)
13284 @[ -f ./flex/Makefile ] || exit 0; \
13285 r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287 $(HOST_EXPORTS) \
13288 for flag in $(EXTRA_HOST_FLAGS) ; do \
13289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13290 done; \
13291 echo "Doing maintainer-clean in flex" ; \
13292 (cd $(HOST_SUBDIR)/flex && \
13293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13295 "RANLIB=$${RANLIB}" \
13296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13297 maintainer-clean) \
13298 || exit 1
13300 @endif flex
13304 .PHONY: configure-gas maybe-configure-gas
13305 maybe-configure-gas:
13306 @if gcc-bootstrap
13307 configure-gas: stage_current
13308 @endif gcc-bootstrap
13309 @if gas
13310 maybe-configure-gas: configure-gas
13311 configure-gas:
13312 @r=`${PWD_COMMAND}`; export r; \
13313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13314 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13316 $(HOST_EXPORTS) \
13317 echo Configuring in $(HOST_SUBDIR)/gas; \
13318 cd "$(HOST_SUBDIR)/gas" || exit 1; \
13319 case $(srcdir) in \
13320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13321 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13323 esac; \
13324 srcdiroption="--srcdir=$${topdir}/gas"; \
13325 libsrcdir="$$s/gas"; \
13326 $(SHELL) $${libsrcdir}/configure \
13327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13328 --target=${target_alias} $${srcdiroption} \
13329 || exit 1
13330 @endif gas
13334 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
13335 maybe-configure-stage1-gas:
13336 @if gas-bootstrap
13337 maybe-configure-stage1-gas: configure-stage1-gas
13338 configure-stage1-gas:
13339 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13341 @r=`${PWD_COMMAND}`; export r; \
13342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13343 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13344 $(HOST_EXPORTS) \
13345 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13346 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
13347 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
13348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13349 cd $(HOST_SUBDIR)/gas || exit 1; \
13350 case $(srcdir) in \
13351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13352 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13354 esac; \
13355 srcdiroption="--srcdir=$${topdir}/gas"; \
13356 libsrcdir="$$s/gas"; \
13357 $(SHELL) $${libsrcdir}/configure \
13358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13359 --target=${target_alias} $${srcdiroption} \
13361 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13362 @endif gas-bootstrap
13364 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
13365 maybe-configure-stage2-gas:
13366 @if gas-bootstrap
13367 maybe-configure-stage2-gas: configure-stage2-gas
13368 configure-stage2-gas:
13369 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13371 @r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13373 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13374 $(HOST_EXPORTS) \
13375 $(POSTSTAGE1_HOST_EXPORTS) \
13376 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13377 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
13378 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
13379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13380 cd $(HOST_SUBDIR)/gas || exit 1; \
13381 case $(srcdir) in \
13382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13383 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13385 esac; \
13386 srcdiroption="--srcdir=$${topdir}/gas"; \
13387 libsrcdir="$$s/gas"; \
13388 $(SHELL) $${libsrcdir}/configure \
13389 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13390 --target=${target_alias} $${srcdiroption} \
13391 --with-build-libsubdir=$(HOST_SUBDIR) \
13392 @stage2_werror_flag@
13393 @endif gas-bootstrap
13395 .PHONY: configure-stageb2g0-gas maybe-configure-stageb2g0-gas
13396 maybe-configure-stageb2g0-gas:
13397 @if gas-bootstrap
13398 maybe-configure-stageb2g0-gas: configure-stageb2g0-gas
13399 configure-stageb2g0-gas:
13400 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
13401 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13402 @r=`${PWD_COMMAND}`; export r; \
13403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13404 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13405 $(HOST_EXPORTS) \
13406 $(POSTSTAGE1_HOST_EXPORTS) \
13407 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
13408 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
13409 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gas ; \
13410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13411 cd $(HOST_SUBDIR)/gas || exit 1; \
13412 case $(srcdir) in \
13413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13414 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13416 esac; \
13417 srcdiroption="--srcdir=$${topdir}/gas"; \
13418 libsrcdir="$$s/gas"; \
13419 $(SHELL) $${libsrcdir}/configure \
13420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13421 --target=${target_alias} $${srcdiroption} \
13422 --with-build-libsubdir=$(HOST_SUBDIR) \
13423 @stage2_werror_flag@
13424 @endif gas-bootstrap
13426 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
13427 maybe-configure-stage3-gas:
13428 @if gas-bootstrap
13429 maybe-configure-stage3-gas: configure-stage3-gas
13430 configure-stage3-gas:
13431 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13432 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13433 @r=`${PWD_COMMAND}`; export r; \
13434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13435 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13436 $(HOST_EXPORTS) \
13437 $(POSTSTAGE1_HOST_EXPORTS) \
13438 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13439 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
13440 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
13441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13442 cd $(HOST_SUBDIR)/gas || exit 1; \
13443 case $(srcdir) in \
13444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13445 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13447 esac; \
13448 srcdiroption="--srcdir=$${topdir}/gas"; \
13449 libsrcdir="$$s/gas"; \
13450 $(SHELL) $${libsrcdir}/configure \
13451 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13452 --target=${target_alias} $${srcdiroption} \
13453 --with-build-libsubdir=$(HOST_SUBDIR) \
13454 @stage2_werror_flag@
13455 @endif gas-bootstrap
13457 .PHONY: configure-stageb3g2-gas maybe-configure-stageb3g2-gas
13458 maybe-configure-stageb3g2-gas:
13459 @if gas-bootstrap
13460 maybe-configure-stageb3g2-gas: configure-stageb3g2-gas
13461 configure-stageb3g2-gas:
13462 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
13463 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13464 @r=`${PWD_COMMAND}`; export r; \
13465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13466 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13467 $(HOST_EXPORTS) \
13468 $(POSTSTAGE1_HOST_EXPORTS) \
13469 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
13470 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
13471 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gas ; \
13472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13473 cd $(HOST_SUBDIR)/gas || exit 1; \
13474 case $(srcdir) in \
13475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13476 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13478 esac; \
13479 srcdiroption="--srcdir=$${topdir}/gas"; \
13480 libsrcdir="$$s/gas"; \
13481 $(SHELL) $${libsrcdir}/configure \
13482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13483 --target=${target_alias} $${srcdiroption} \
13484 --with-build-libsubdir=$(HOST_SUBDIR) \
13485 @stage2_werror_flag@
13486 @endif gas-bootstrap
13488 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
13489 maybe-configure-stage4-gas:
13490 @if gas-bootstrap
13491 maybe-configure-stage4-gas: configure-stage4-gas
13492 configure-stage4-gas:
13493 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13494 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13495 @r=`${PWD_COMMAND}`; export r; \
13496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13497 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13498 $(HOST_EXPORTS) \
13499 $(POSTSTAGE1_HOST_EXPORTS) \
13500 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13501 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
13502 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
13503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13504 cd $(HOST_SUBDIR)/gas || exit 1; \
13505 case $(srcdir) in \
13506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13507 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13509 esac; \
13510 srcdiroption="--srcdir=$${topdir}/gas"; \
13511 libsrcdir="$$s/gas"; \
13512 $(SHELL) $${libsrcdir}/configure \
13513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13514 --target=${target_alias} $${srcdiroption} \
13515 --with-build-libsubdir=$(HOST_SUBDIR) \
13516 @stage2_werror_flag@
13517 @endif gas-bootstrap
13519 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
13520 maybe-configure-stageprofile-gas:
13521 @if gas-bootstrap
13522 maybe-configure-stageprofile-gas: configure-stageprofile-gas
13523 configure-stageprofile-gas:
13524 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13525 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13526 @r=`${PWD_COMMAND}`; export r; \
13527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13528 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13529 $(HOST_EXPORTS) \
13530 $(POSTSTAGE1_HOST_EXPORTS) \
13531 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
13532 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
13533 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
13534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13535 cd $(HOST_SUBDIR)/gas || exit 1; \
13536 case $(srcdir) in \
13537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13538 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13540 esac; \
13541 srcdiroption="--srcdir=$${topdir}/gas"; \
13542 libsrcdir="$$s/gas"; \
13543 $(SHELL) $${libsrcdir}/configure \
13544 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13545 --target=${target_alias} $${srcdiroption} \
13546 --with-build-libsubdir=$(HOST_SUBDIR) \
13547 @stage2_werror_flag@
13548 @endif gas-bootstrap
13550 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
13551 maybe-configure-stagefeedback-gas:
13552 @if gas-bootstrap
13553 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
13554 configure-stagefeedback-gas:
13555 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13557 @r=`${PWD_COMMAND}`; export r; \
13558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13559 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13560 $(HOST_EXPORTS) \
13561 $(POSTSTAGE1_HOST_EXPORTS) \
13562 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
13563 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
13564 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
13565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13566 cd $(HOST_SUBDIR)/gas || exit 1; \
13567 case $(srcdir) in \
13568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13569 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13571 esac; \
13572 srcdiroption="--srcdir=$${topdir}/gas"; \
13573 libsrcdir="$$s/gas"; \
13574 $(SHELL) $${libsrcdir}/configure \
13575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13576 --target=${target_alias} $${srcdiroption} \
13577 --with-build-libsubdir=$(HOST_SUBDIR) \
13578 @stage2_werror_flag@
13579 @endif gas-bootstrap
13585 .PHONY: all-gas maybe-all-gas
13586 maybe-all-gas:
13587 @if gcc-bootstrap
13588 all-gas: stage_current
13589 @endif gcc-bootstrap
13590 @if gas
13591 TARGET-gas=all
13592 maybe-all-gas: all-gas
13593 all-gas: configure-gas
13594 @r=`${PWD_COMMAND}`; export r; \
13595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13596 $(HOST_EXPORTS) \
13597 (cd $(HOST_SUBDIR)/gas && \
13598 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13599 $(TARGET-gas))
13600 @endif gas
13604 .PHONY: all-stage1-gas maybe-all-stage1-gas
13605 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
13606 maybe-all-stage1-gas:
13607 maybe-clean-stage1-gas:
13608 @if gas-bootstrap
13609 maybe-all-stage1-gas: all-stage1-gas
13610 all-stage1: all-stage1-gas
13611 TARGET-stage1-gas = $(TARGET-gas)
13612 all-stage1-gas: configure-stage1-gas
13613 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13614 @r=`${PWD_COMMAND}`; export r; \
13615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13616 $(HOST_EXPORTS) \
13617 cd $(HOST_SUBDIR)/gas && \
13618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13619 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
13620 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
13621 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
13622 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
13623 $(TARGET-stage1-gas)
13625 maybe-clean-stage1-gas: clean-stage1-gas
13626 clean-stage1: clean-stage1-gas
13627 clean-stage1-gas:
13628 @if [ $(current_stage) = stage1 ]; then \
13629 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13630 else \
13631 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
13632 $(MAKE) stage1-start; \
13633 fi; \
13634 cd $(HOST_SUBDIR)/gas && \
13635 $(MAKE) $(EXTRA_HOST_FLAGS) \
13636 clean
13637 @endif gas-bootstrap
13640 .PHONY: all-stage2-gas maybe-all-stage2-gas
13641 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
13642 maybe-all-stage2-gas:
13643 maybe-clean-stage2-gas:
13644 @if gas-bootstrap
13645 maybe-all-stage2-gas: all-stage2-gas
13646 all-stage2: all-stage2-gas
13647 TARGET-stage2-gas = $(TARGET-gas)
13648 all-stage2-gas: configure-stage2-gas
13649 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13650 @r=`${PWD_COMMAND}`; export r; \
13651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13652 $(HOST_EXPORTS) \
13653 $(POSTSTAGE1_HOST_EXPORTS) \
13654 cd $(HOST_SUBDIR)/gas && \
13655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13656 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
13657 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
13658 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
13659 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13660 $(TARGET-stage2-gas)
13662 maybe-clean-stage2-gas: clean-stage2-gas
13663 clean-stage2: clean-stage2-gas
13664 clean-stage2-gas:
13665 @if [ $(current_stage) = stage2 ]; then \
13666 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13667 else \
13668 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
13669 $(MAKE) stage2-start; \
13670 fi; \
13671 cd $(HOST_SUBDIR)/gas && \
13672 $(MAKE) $(EXTRA_HOST_FLAGS) \
13673 $(POSTSTAGE1_FLAGS_TO_PASS) \
13674 clean
13675 @endif gas-bootstrap
13678 .PHONY: all-stageb2g0-gas maybe-all-stageb2g0-gas
13679 .PHONY: clean-stageb2g0-gas maybe-clean-stageb2g0-gas
13680 maybe-all-stageb2g0-gas:
13681 maybe-clean-stageb2g0-gas:
13682 @if gas-bootstrap
13683 maybe-all-stageb2g0-gas: all-stageb2g0-gas
13684 all-stageb2g0: all-stageb2g0-gas
13685 TARGET-stageb2g0-gas = $(TARGET-gas)
13686 all-stageb2g0-gas: configure-stageb2g0-gas
13687 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
13688 @r=`${PWD_COMMAND}`; export r; \
13689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13690 $(HOST_EXPORTS) \
13691 $(POSTSTAGE1_HOST_EXPORTS) \
13692 cd $(HOST_SUBDIR)/gas && \
13693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13694 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
13695 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
13696 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
13697 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13698 $(TARGET-stageb2g0-gas)
13700 maybe-clean-stageb2g0-gas: clean-stageb2g0-gas
13701 clean-stageb2g0: clean-stageb2g0-gas
13702 clean-stageb2g0-gas:
13703 @if [ $(current_stage) = stageb2g0 ]; then \
13704 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13705 else \
13706 [ -f $(HOST_SUBDIR)/stageb2g0-gas/Makefile ] || exit 0; \
13707 $(MAKE) stageb2g0-start; \
13708 fi; \
13709 cd $(HOST_SUBDIR)/gas && \
13710 $(MAKE) $(EXTRA_HOST_FLAGS) \
13711 $(POSTSTAGE1_FLAGS_TO_PASS) \
13712 clean
13713 @endif gas-bootstrap
13716 .PHONY: all-stage3-gas maybe-all-stage3-gas
13717 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
13718 maybe-all-stage3-gas:
13719 maybe-clean-stage3-gas:
13720 @if gas-bootstrap
13721 maybe-all-stage3-gas: all-stage3-gas
13722 all-stage3: all-stage3-gas
13723 TARGET-stage3-gas = $(TARGET-gas)
13724 all-stage3-gas: configure-stage3-gas
13725 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13726 @r=`${PWD_COMMAND}`; export r; \
13727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13728 $(HOST_EXPORTS) \
13729 $(POSTSTAGE1_HOST_EXPORTS) \
13730 cd $(HOST_SUBDIR)/gas && \
13731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13732 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
13733 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
13734 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
13735 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13736 $(TARGET-stage3-gas)
13738 maybe-clean-stage3-gas: clean-stage3-gas
13739 clean-stage3: clean-stage3-gas
13740 clean-stage3-gas:
13741 @if [ $(current_stage) = stage3 ]; then \
13742 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13743 else \
13744 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
13745 $(MAKE) stage3-start; \
13746 fi; \
13747 cd $(HOST_SUBDIR)/gas && \
13748 $(MAKE) $(EXTRA_HOST_FLAGS) \
13749 $(POSTSTAGE1_FLAGS_TO_PASS) \
13750 clean
13751 @endif gas-bootstrap
13754 .PHONY: all-stageb3g2-gas maybe-all-stageb3g2-gas
13755 .PHONY: clean-stageb3g2-gas maybe-clean-stageb3g2-gas
13756 maybe-all-stageb3g2-gas:
13757 maybe-clean-stageb3g2-gas:
13758 @if gas-bootstrap
13759 maybe-all-stageb3g2-gas: all-stageb3g2-gas
13760 all-stageb3g2: all-stageb3g2-gas
13761 TARGET-stageb3g2-gas = $(TARGET-gas)
13762 all-stageb3g2-gas: configure-stageb3g2-gas
13763 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
13764 @r=`${PWD_COMMAND}`; export r; \
13765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13766 $(HOST_EXPORTS) \
13767 $(POSTSTAGE1_HOST_EXPORTS) \
13768 cd $(HOST_SUBDIR)/gas && \
13769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13770 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
13771 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
13772 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
13773 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13774 $(TARGET-stageb3g2-gas)
13776 maybe-clean-stageb3g2-gas: clean-stageb3g2-gas
13777 clean-stageb3g2: clean-stageb3g2-gas
13778 clean-stageb3g2-gas:
13779 @if [ $(current_stage) = stageb3g2 ]; then \
13780 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13781 else \
13782 [ -f $(HOST_SUBDIR)/stageb3g2-gas/Makefile ] || exit 0; \
13783 $(MAKE) stageb3g2-start; \
13784 fi; \
13785 cd $(HOST_SUBDIR)/gas && \
13786 $(MAKE) $(EXTRA_HOST_FLAGS) \
13787 $(POSTSTAGE1_FLAGS_TO_PASS) \
13788 clean
13789 @endif gas-bootstrap
13792 .PHONY: all-stage4-gas maybe-all-stage4-gas
13793 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
13794 maybe-all-stage4-gas:
13795 maybe-clean-stage4-gas:
13796 @if gas-bootstrap
13797 maybe-all-stage4-gas: all-stage4-gas
13798 all-stage4: all-stage4-gas
13799 TARGET-stage4-gas = $(TARGET-gas)
13800 all-stage4-gas: configure-stage4-gas
13801 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13802 @r=`${PWD_COMMAND}`; export r; \
13803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13804 $(HOST_EXPORTS) \
13805 $(POSTSTAGE1_HOST_EXPORTS) \
13806 cd $(HOST_SUBDIR)/gas && \
13807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13808 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
13809 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13810 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
13811 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13812 $(TARGET-stage4-gas)
13814 maybe-clean-stage4-gas: clean-stage4-gas
13815 clean-stage4: clean-stage4-gas
13816 clean-stage4-gas:
13817 @if [ $(current_stage) = stage4 ]; then \
13818 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13819 else \
13820 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
13821 $(MAKE) stage4-start; \
13822 fi; \
13823 cd $(HOST_SUBDIR)/gas && \
13824 $(MAKE) $(EXTRA_HOST_FLAGS) \
13825 $(POSTSTAGE1_FLAGS_TO_PASS) \
13826 clean
13827 @endif gas-bootstrap
13830 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
13831 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
13832 maybe-all-stageprofile-gas:
13833 maybe-clean-stageprofile-gas:
13834 @if gas-bootstrap
13835 maybe-all-stageprofile-gas: all-stageprofile-gas
13836 all-stageprofile: all-stageprofile-gas
13837 TARGET-stageprofile-gas = $(TARGET-gas)
13838 all-stageprofile-gas: configure-stageprofile-gas
13839 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13840 @r=`${PWD_COMMAND}`; export r; \
13841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13842 $(HOST_EXPORTS) \
13843 $(POSTSTAGE1_HOST_EXPORTS) \
13844 cd $(HOST_SUBDIR)/gas && \
13845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13846 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
13847 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
13848 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
13849 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13850 $(TARGET-stageprofile-gas)
13852 maybe-clean-stageprofile-gas: clean-stageprofile-gas
13853 clean-stageprofile: clean-stageprofile-gas
13854 clean-stageprofile-gas:
13855 @if [ $(current_stage) = stageprofile ]; then \
13856 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13857 else \
13858 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
13859 $(MAKE) stageprofile-start; \
13860 fi; \
13861 cd $(HOST_SUBDIR)/gas && \
13862 $(MAKE) $(EXTRA_HOST_FLAGS) \
13863 $(POSTSTAGE1_FLAGS_TO_PASS) \
13864 clean
13865 @endif gas-bootstrap
13868 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
13869 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
13870 maybe-all-stagefeedback-gas:
13871 maybe-clean-stagefeedback-gas:
13872 @if gas-bootstrap
13873 maybe-all-stagefeedback-gas: all-stagefeedback-gas
13874 all-stagefeedback: all-stagefeedback-gas
13875 TARGET-stagefeedback-gas = $(TARGET-gas)
13876 all-stagefeedback-gas: configure-stagefeedback-gas
13877 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13878 @r=`${PWD_COMMAND}`; export r; \
13879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13880 $(HOST_EXPORTS) \
13881 $(POSTSTAGE1_HOST_EXPORTS) \
13882 cd $(HOST_SUBDIR)/gas && \
13883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13884 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
13885 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
13886 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
13887 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13888 $(TARGET-stagefeedback-gas)
13890 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
13891 clean-stagefeedback: clean-stagefeedback-gas
13892 clean-stagefeedback-gas:
13893 @if [ $(current_stage) = stagefeedback ]; then \
13894 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13895 else \
13896 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
13897 $(MAKE) stagefeedback-start; \
13898 fi; \
13899 cd $(HOST_SUBDIR)/gas && \
13900 $(MAKE) $(EXTRA_HOST_FLAGS) \
13901 $(POSTSTAGE1_FLAGS_TO_PASS) \
13902 clean
13903 @endif gas-bootstrap
13909 .PHONY: check-gas maybe-check-gas
13910 maybe-check-gas:
13911 @if gas
13912 maybe-check-gas: check-gas
13914 check-gas:
13915 @: $(MAKE); $(unstage)
13916 @r=`${PWD_COMMAND}`; export r; \
13917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13918 $(HOST_EXPORTS) \
13919 (cd $(HOST_SUBDIR)/gas && \
13920 $(MAKE) $(FLAGS_TO_PASS) check)
13922 @endif gas
13924 .PHONY: install-gas maybe-install-gas
13925 maybe-install-gas:
13926 @if gas
13927 maybe-install-gas: install-gas
13929 install-gas: installdirs
13930 @: $(MAKE); $(unstage)
13931 @r=`${PWD_COMMAND}`; export r; \
13932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13933 $(HOST_EXPORTS) \
13934 (cd $(HOST_SUBDIR)/gas && \
13935 $(MAKE) $(FLAGS_TO_PASS) install)
13937 @endif gas
13939 # Other targets (info, dvi, pdf, etc.)
13941 .PHONY: maybe-info-gas info-gas
13942 maybe-info-gas:
13943 @if gas
13944 maybe-info-gas: info-gas
13946 info-gas: \
13947 configure-gas
13948 @[ -f ./gas/Makefile ] || exit 0; \
13949 r=`${PWD_COMMAND}`; export r; \
13950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13951 $(HOST_EXPORTS) \
13952 for flag in $(EXTRA_HOST_FLAGS) ; do \
13953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13954 done; \
13955 echo "Doing info in gas" ; \
13956 (cd $(HOST_SUBDIR)/gas && \
13957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13959 "RANLIB=$${RANLIB}" \
13960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13961 info) \
13962 || exit 1
13964 @endif gas
13966 .PHONY: maybe-dvi-gas dvi-gas
13967 maybe-dvi-gas:
13968 @if gas
13969 maybe-dvi-gas: dvi-gas
13971 dvi-gas: \
13972 configure-gas
13973 @[ -f ./gas/Makefile ] || exit 0; \
13974 r=`${PWD_COMMAND}`; export r; \
13975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13976 $(HOST_EXPORTS) \
13977 for flag in $(EXTRA_HOST_FLAGS) ; do \
13978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13979 done; \
13980 echo "Doing dvi in gas" ; \
13981 (cd $(HOST_SUBDIR)/gas && \
13982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13984 "RANLIB=$${RANLIB}" \
13985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13986 dvi) \
13987 || exit 1
13989 @endif gas
13991 .PHONY: maybe-pdf-gas pdf-gas
13992 maybe-pdf-gas:
13993 @if gas
13994 maybe-pdf-gas: pdf-gas
13996 pdf-gas: \
13997 configure-gas
13998 @[ -f ./gas/Makefile ] || exit 0; \
13999 r=`${PWD_COMMAND}`; export r; \
14000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14001 $(HOST_EXPORTS) \
14002 for flag in $(EXTRA_HOST_FLAGS) ; do \
14003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14004 done; \
14005 echo "Doing pdf in gas" ; \
14006 (cd $(HOST_SUBDIR)/gas && \
14007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14009 "RANLIB=$${RANLIB}" \
14010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14011 pdf) \
14012 || exit 1
14014 @endif gas
14016 .PHONY: maybe-html-gas html-gas
14017 maybe-html-gas:
14018 @if gas
14019 maybe-html-gas: html-gas
14021 html-gas: \
14022 configure-gas
14023 @[ -f ./gas/Makefile ] || exit 0; \
14024 r=`${PWD_COMMAND}`; export r; \
14025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14026 $(HOST_EXPORTS) \
14027 for flag in $(EXTRA_HOST_FLAGS) ; do \
14028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14029 done; \
14030 echo "Doing html in gas" ; \
14031 (cd $(HOST_SUBDIR)/gas && \
14032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14034 "RANLIB=$${RANLIB}" \
14035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14036 html) \
14037 || exit 1
14039 @endif gas
14041 .PHONY: maybe-TAGS-gas TAGS-gas
14042 maybe-TAGS-gas:
14043 @if gas
14044 maybe-TAGS-gas: TAGS-gas
14046 TAGS-gas: \
14047 configure-gas
14048 @[ -f ./gas/Makefile ] || exit 0; \
14049 r=`${PWD_COMMAND}`; export r; \
14050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14051 $(HOST_EXPORTS) \
14052 for flag in $(EXTRA_HOST_FLAGS) ; do \
14053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14054 done; \
14055 echo "Doing TAGS in gas" ; \
14056 (cd $(HOST_SUBDIR)/gas && \
14057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14059 "RANLIB=$${RANLIB}" \
14060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14061 TAGS) \
14062 || exit 1
14064 @endif gas
14066 .PHONY: maybe-install-info-gas install-info-gas
14067 maybe-install-info-gas:
14068 @if gas
14069 maybe-install-info-gas: install-info-gas
14071 install-info-gas: \
14072 configure-gas \
14073 info-gas
14074 @[ -f ./gas/Makefile ] || exit 0; \
14075 r=`${PWD_COMMAND}`; export r; \
14076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077 $(HOST_EXPORTS) \
14078 for flag in $(EXTRA_HOST_FLAGS) ; do \
14079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14080 done; \
14081 echo "Doing install-info in gas" ; \
14082 (cd $(HOST_SUBDIR)/gas && \
14083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14085 "RANLIB=$${RANLIB}" \
14086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14087 install-info) \
14088 || exit 1
14090 @endif gas
14092 .PHONY: maybe-install-pdf-gas install-pdf-gas
14093 maybe-install-pdf-gas:
14094 @if gas
14095 maybe-install-pdf-gas: install-pdf-gas
14097 install-pdf-gas: \
14098 configure-gas \
14099 pdf-gas
14100 @[ -f ./gas/Makefile ] || exit 0; \
14101 r=`${PWD_COMMAND}`; export r; \
14102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14103 $(HOST_EXPORTS) \
14104 for flag in $(EXTRA_HOST_FLAGS) ; do \
14105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14106 done; \
14107 echo "Doing install-pdf in gas" ; \
14108 (cd $(HOST_SUBDIR)/gas && \
14109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14111 "RANLIB=$${RANLIB}" \
14112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14113 install-pdf) \
14114 || exit 1
14116 @endif gas
14118 .PHONY: maybe-install-html-gas install-html-gas
14119 maybe-install-html-gas:
14120 @if gas
14121 maybe-install-html-gas: install-html-gas
14123 install-html-gas: \
14124 configure-gas \
14125 html-gas
14126 @[ -f ./gas/Makefile ] || exit 0; \
14127 r=`${PWD_COMMAND}`; export r; \
14128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 $(HOST_EXPORTS) \
14130 for flag in $(EXTRA_HOST_FLAGS) ; do \
14131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14132 done; \
14133 echo "Doing install-html in gas" ; \
14134 (cd $(HOST_SUBDIR)/gas && \
14135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14137 "RANLIB=$${RANLIB}" \
14138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14139 install-html) \
14140 || exit 1
14142 @endif gas
14144 .PHONY: maybe-installcheck-gas installcheck-gas
14145 maybe-installcheck-gas:
14146 @if gas
14147 maybe-installcheck-gas: installcheck-gas
14149 installcheck-gas: \
14150 configure-gas
14151 @[ -f ./gas/Makefile ] || exit 0; \
14152 r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154 $(HOST_EXPORTS) \
14155 for flag in $(EXTRA_HOST_FLAGS) ; do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157 done; \
14158 echo "Doing installcheck in gas" ; \
14159 (cd $(HOST_SUBDIR)/gas && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14164 installcheck) \
14165 || exit 1
14167 @endif gas
14169 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
14170 maybe-mostlyclean-gas:
14171 @if gas
14172 maybe-mostlyclean-gas: mostlyclean-gas
14174 mostlyclean-gas:
14175 @[ -f ./gas/Makefile ] || exit 0; \
14176 r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 $(HOST_EXPORTS) \
14179 for flag in $(EXTRA_HOST_FLAGS) ; do \
14180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14181 done; \
14182 echo "Doing mostlyclean in gas" ; \
14183 (cd $(HOST_SUBDIR)/gas && \
14184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14186 "RANLIB=$${RANLIB}" \
14187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14188 mostlyclean) \
14189 || exit 1
14191 @endif gas
14193 .PHONY: maybe-clean-gas clean-gas
14194 maybe-clean-gas:
14195 @if gas
14196 maybe-clean-gas: clean-gas
14198 clean-gas:
14199 @[ -f ./gas/Makefile ] || exit 0; \
14200 r=`${PWD_COMMAND}`; export r; \
14201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14202 $(HOST_EXPORTS) \
14203 for flag in $(EXTRA_HOST_FLAGS) ; do \
14204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14205 done; \
14206 echo "Doing clean in gas" ; \
14207 (cd $(HOST_SUBDIR)/gas && \
14208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14210 "RANLIB=$${RANLIB}" \
14211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14212 clean) \
14213 || exit 1
14215 @endif gas
14217 .PHONY: maybe-distclean-gas distclean-gas
14218 maybe-distclean-gas:
14219 @if gas
14220 maybe-distclean-gas: distclean-gas
14222 distclean-gas:
14223 @[ -f ./gas/Makefile ] || exit 0; \
14224 r=`${PWD_COMMAND}`; export r; \
14225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14226 $(HOST_EXPORTS) \
14227 for flag in $(EXTRA_HOST_FLAGS) ; do \
14228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14229 done; \
14230 echo "Doing distclean in gas" ; \
14231 (cd $(HOST_SUBDIR)/gas && \
14232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14234 "RANLIB=$${RANLIB}" \
14235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14236 distclean) \
14237 || exit 1
14239 @endif gas
14241 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
14242 maybe-maintainer-clean-gas:
14243 @if gas
14244 maybe-maintainer-clean-gas: maintainer-clean-gas
14246 maintainer-clean-gas:
14247 @[ -f ./gas/Makefile ] || exit 0; \
14248 r=`${PWD_COMMAND}`; export r; \
14249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14250 $(HOST_EXPORTS) \
14251 for flag in $(EXTRA_HOST_FLAGS) ; do \
14252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14253 done; \
14254 echo "Doing maintainer-clean in gas" ; \
14255 (cd $(HOST_SUBDIR)/gas && \
14256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14258 "RANLIB=$${RANLIB}" \
14259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14260 maintainer-clean) \
14261 || exit 1
14263 @endif gas
14267 .PHONY: configure-gcc maybe-configure-gcc
14268 maybe-configure-gcc:
14269 @if gcc-bootstrap
14270 configure-gcc: stage_current
14271 @endif gcc-bootstrap
14272 @if gcc
14273 maybe-configure-gcc: configure-gcc
14274 configure-gcc:
14275 @r=`${PWD_COMMAND}`; export r; \
14276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14277 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14279 $(HOST_EXPORTS) \
14280 echo Configuring in $(HOST_SUBDIR)/gcc; \
14281 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
14282 case $(srcdir) in \
14283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14284 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14286 esac; \
14287 srcdiroption="--srcdir=$${topdir}/gcc"; \
14288 libsrcdir="$$s/gcc"; \
14289 $(SHELL) $${libsrcdir}/configure \
14290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14291 --target=${target_alias} $${srcdiroption} \
14292 || exit 1
14293 @endif gcc
14297 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
14298 maybe-configure-stage1-gcc:
14299 @if gcc-bootstrap
14300 maybe-configure-stage1-gcc: configure-stage1-gcc
14301 configure-stage1-gcc:
14302 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14304 @r=`${PWD_COMMAND}`; export r; \
14305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14306 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14307 $(HOST_EXPORTS) \
14308 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14309 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
14310 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
14311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14312 cd $(HOST_SUBDIR)/gcc || exit 1; \
14313 case $(srcdir) in \
14314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14315 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14317 esac; \
14318 srcdiroption="--srcdir=$${topdir}/gcc"; \
14319 libsrcdir="$$s/gcc"; \
14320 $(SHELL) $${libsrcdir}/configure \
14321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14322 --target=${target_alias} $${srcdiroption} \
14324 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14325 @endif gcc-bootstrap
14327 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
14328 maybe-configure-stage2-gcc:
14329 @if gcc-bootstrap
14330 maybe-configure-stage2-gcc: configure-stage2-gcc
14331 configure-stage2-gcc:
14332 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14334 @r=`${PWD_COMMAND}`; export r; \
14335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14336 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14337 $(HOST_EXPORTS) \
14338 $(POSTSTAGE1_HOST_EXPORTS) \
14339 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14340 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
14341 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
14342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14343 cd $(HOST_SUBDIR)/gcc || exit 1; \
14344 case $(srcdir) in \
14345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14346 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14348 esac; \
14349 srcdiroption="--srcdir=$${topdir}/gcc"; \
14350 libsrcdir="$$s/gcc"; \
14351 $(SHELL) $${libsrcdir}/configure \
14352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14353 --target=${target_alias} $${srcdiroption} \
14354 --with-build-libsubdir=$(HOST_SUBDIR) \
14355 @stage2_werror_flag@
14356 @endif gcc-bootstrap
14358 .PHONY: configure-stageb2g0-gcc maybe-configure-stageb2g0-gcc
14359 maybe-configure-stageb2g0-gcc:
14360 @if gcc-bootstrap
14361 maybe-configure-stageb2g0-gcc: configure-stageb2g0-gcc
14362 configure-stageb2g0-gcc:
14363 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
14364 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14365 @r=`${PWD_COMMAND}`; export r; \
14366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14367 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14368 $(HOST_EXPORTS) \
14369 $(POSTSTAGE1_HOST_EXPORTS) \
14370 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
14371 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
14372 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gcc ; \
14373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14374 cd $(HOST_SUBDIR)/gcc || exit 1; \
14375 case $(srcdir) in \
14376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14377 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14379 esac; \
14380 srcdiroption="--srcdir=$${topdir}/gcc"; \
14381 libsrcdir="$$s/gcc"; \
14382 $(SHELL) $${libsrcdir}/configure \
14383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14384 --target=${target_alias} $${srcdiroption} \
14385 --with-build-libsubdir=$(HOST_SUBDIR) \
14386 @stage2_werror_flag@
14387 @endif gcc-bootstrap
14389 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
14390 maybe-configure-stage3-gcc:
14391 @if gcc-bootstrap
14392 maybe-configure-stage3-gcc: configure-stage3-gcc
14393 configure-stage3-gcc:
14394 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14395 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14396 @r=`${PWD_COMMAND}`; export r; \
14397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14398 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14399 $(HOST_EXPORTS) \
14400 $(POSTSTAGE1_HOST_EXPORTS) \
14401 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14402 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
14403 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
14404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14405 cd $(HOST_SUBDIR)/gcc || exit 1; \
14406 case $(srcdir) in \
14407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14408 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14410 esac; \
14411 srcdiroption="--srcdir=$${topdir}/gcc"; \
14412 libsrcdir="$$s/gcc"; \
14413 $(SHELL) $${libsrcdir}/configure \
14414 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14415 --target=${target_alias} $${srcdiroption} \
14416 --with-build-libsubdir=$(HOST_SUBDIR) \
14417 @stage2_werror_flag@
14418 @endif gcc-bootstrap
14420 .PHONY: configure-stageb3g2-gcc maybe-configure-stageb3g2-gcc
14421 maybe-configure-stageb3g2-gcc:
14422 @if gcc-bootstrap
14423 maybe-configure-stageb3g2-gcc: configure-stageb3g2-gcc
14424 configure-stageb3g2-gcc:
14425 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
14426 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14427 @r=`${PWD_COMMAND}`; export r; \
14428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14429 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14430 $(HOST_EXPORTS) \
14431 $(POSTSTAGE1_HOST_EXPORTS) \
14432 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
14433 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
14434 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gcc ; \
14435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14436 cd $(HOST_SUBDIR)/gcc || exit 1; \
14437 case $(srcdir) in \
14438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14439 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14441 esac; \
14442 srcdiroption="--srcdir=$${topdir}/gcc"; \
14443 libsrcdir="$$s/gcc"; \
14444 $(SHELL) $${libsrcdir}/configure \
14445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14446 --target=${target_alias} $${srcdiroption} \
14447 --with-build-libsubdir=$(HOST_SUBDIR) \
14448 @stage2_werror_flag@
14449 @endif gcc-bootstrap
14451 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
14452 maybe-configure-stage4-gcc:
14453 @if gcc-bootstrap
14454 maybe-configure-stage4-gcc: configure-stage4-gcc
14455 configure-stage4-gcc:
14456 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14458 @r=`${PWD_COMMAND}`; export r; \
14459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14460 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14461 $(HOST_EXPORTS) \
14462 $(POSTSTAGE1_HOST_EXPORTS) \
14463 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14464 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
14465 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
14466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14467 cd $(HOST_SUBDIR)/gcc || exit 1; \
14468 case $(srcdir) in \
14469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14470 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14472 esac; \
14473 srcdiroption="--srcdir=$${topdir}/gcc"; \
14474 libsrcdir="$$s/gcc"; \
14475 $(SHELL) $${libsrcdir}/configure \
14476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14477 --target=${target_alias} $${srcdiroption} \
14478 --with-build-libsubdir=$(HOST_SUBDIR) \
14479 @stage2_werror_flag@
14480 @endif gcc-bootstrap
14482 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
14483 maybe-configure-stageprofile-gcc:
14484 @if gcc-bootstrap
14485 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
14486 configure-stageprofile-gcc:
14487 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14489 @r=`${PWD_COMMAND}`; export r; \
14490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14491 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14492 $(HOST_EXPORTS) \
14493 $(POSTSTAGE1_HOST_EXPORTS) \
14494 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
14495 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
14496 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
14497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14498 cd $(HOST_SUBDIR)/gcc || exit 1; \
14499 case $(srcdir) in \
14500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14501 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14503 esac; \
14504 srcdiroption="--srcdir=$${topdir}/gcc"; \
14505 libsrcdir="$$s/gcc"; \
14506 $(SHELL) $${libsrcdir}/configure \
14507 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14508 --target=${target_alias} $${srcdiroption} \
14509 --with-build-libsubdir=$(HOST_SUBDIR) \
14510 @stage2_werror_flag@
14511 @endif gcc-bootstrap
14513 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
14514 maybe-configure-stagefeedback-gcc:
14515 @if gcc-bootstrap
14516 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
14517 configure-stagefeedback-gcc:
14518 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14519 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14520 @r=`${PWD_COMMAND}`; export r; \
14521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14522 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14523 $(HOST_EXPORTS) \
14524 $(POSTSTAGE1_HOST_EXPORTS) \
14525 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
14526 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
14527 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
14528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14529 cd $(HOST_SUBDIR)/gcc || exit 1; \
14530 case $(srcdir) in \
14531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14532 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14534 esac; \
14535 srcdiroption="--srcdir=$${topdir}/gcc"; \
14536 libsrcdir="$$s/gcc"; \
14537 $(SHELL) $${libsrcdir}/configure \
14538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14539 --target=${target_alias} $${srcdiroption} \
14540 --with-build-libsubdir=$(HOST_SUBDIR) \
14541 @stage2_werror_flag@
14542 @endif gcc-bootstrap
14548 .PHONY: all-gcc maybe-all-gcc
14549 maybe-all-gcc:
14550 @if gcc-bootstrap
14551 all-gcc: stage_current
14552 @endif gcc-bootstrap
14553 @if gcc
14554 TARGET-gcc=all
14555 maybe-all-gcc: all-gcc
14556 all-gcc: configure-gcc
14557 @r=`${PWD_COMMAND}`; export r; \
14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14559 $(HOST_EXPORTS) \
14560 (cd $(HOST_SUBDIR)/gcc && \
14561 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14562 $(TARGET-gcc))
14563 @endif gcc
14567 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
14568 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
14569 maybe-all-stage1-gcc:
14570 maybe-clean-stage1-gcc:
14571 @if gcc-bootstrap
14572 maybe-all-stage1-gcc: all-stage1-gcc
14573 all-stage1: all-stage1-gcc
14574 TARGET-stage1-gcc = $(TARGET-gcc)
14575 all-stage1-gcc: configure-stage1-gcc
14576 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14577 @r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 $(HOST_EXPORTS) \
14580 cd $(HOST_SUBDIR)/gcc && \
14581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14582 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
14583 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
14584 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
14585 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14586 $(TARGET-stage1-gcc)
14588 maybe-clean-stage1-gcc: clean-stage1-gcc
14589 clean-stage1: clean-stage1-gcc
14590 clean-stage1-gcc:
14591 @if [ $(current_stage) = stage1 ]; then \
14592 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14593 else \
14594 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
14595 $(MAKE) stage1-start; \
14596 fi; \
14597 cd $(HOST_SUBDIR)/gcc && \
14598 $(MAKE) $(EXTRA_HOST_FLAGS) \
14599 $(EXTRA_GCC_FLAGS) clean
14600 @endif gcc-bootstrap
14603 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
14604 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
14605 maybe-all-stage2-gcc:
14606 maybe-clean-stage2-gcc:
14607 @if gcc-bootstrap
14608 maybe-all-stage2-gcc: all-stage2-gcc
14609 all-stage2: all-stage2-gcc
14610 TARGET-stage2-gcc = $(TARGET-gcc)
14611 all-stage2-gcc: configure-stage2-gcc
14612 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14613 @r=`${PWD_COMMAND}`; export r; \
14614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14615 $(HOST_EXPORTS) \
14616 $(POSTSTAGE1_HOST_EXPORTS) \
14617 cd $(HOST_SUBDIR)/gcc && \
14618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14619 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
14620 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
14621 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
14622 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14623 $(TARGET-stage2-gcc)
14625 maybe-clean-stage2-gcc: clean-stage2-gcc
14626 clean-stage2: clean-stage2-gcc
14627 clean-stage2-gcc:
14628 @if [ $(current_stage) = stage2 ]; then \
14629 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14630 else \
14631 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
14632 $(MAKE) stage2-start; \
14633 fi; \
14634 cd $(HOST_SUBDIR)/gcc && \
14635 $(MAKE) $(EXTRA_HOST_FLAGS) \
14636 $(POSTSTAGE1_FLAGS_TO_PASS) \
14637 $(EXTRA_GCC_FLAGS) clean
14638 @endif gcc-bootstrap
14641 .PHONY: all-stageb2g0-gcc maybe-all-stageb2g0-gcc
14642 .PHONY: clean-stageb2g0-gcc maybe-clean-stageb2g0-gcc
14643 maybe-all-stageb2g0-gcc:
14644 maybe-clean-stageb2g0-gcc:
14645 @if gcc-bootstrap
14646 maybe-all-stageb2g0-gcc: all-stageb2g0-gcc
14647 all-stageb2g0: all-stageb2g0-gcc
14648 TARGET-stageb2g0-gcc = $(TARGET-gcc)
14649 all-stageb2g0-gcc: configure-stageb2g0-gcc
14650 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
14651 @r=`${PWD_COMMAND}`; export r; \
14652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14653 $(HOST_EXPORTS) \
14654 $(POSTSTAGE1_HOST_EXPORTS) \
14655 cd $(HOST_SUBDIR)/gcc && \
14656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14657 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
14658 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
14659 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
14660 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14661 $(TARGET-stageb2g0-gcc)
14663 maybe-clean-stageb2g0-gcc: clean-stageb2g0-gcc
14664 clean-stageb2g0: clean-stageb2g0-gcc
14665 clean-stageb2g0-gcc:
14666 @if [ $(current_stage) = stageb2g0 ]; then \
14667 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14668 else \
14669 [ -f $(HOST_SUBDIR)/stageb2g0-gcc/Makefile ] || exit 0; \
14670 $(MAKE) stageb2g0-start; \
14671 fi; \
14672 cd $(HOST_SUBDIR)/gcc && \
14673 $(MAKE) $(EXTRA_HOST_FLAGS) \
14674 $(POSTSTAGE1_FLAGS_TO_PASS) \
14675 $(EXTRA_GCC_FLAGS) clean
14676 @endif gcc-bootstrap
14679 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
14680 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
14681 maybe-all-stage3-gcc:
14682 maybe-clean-stage3-gcc:
14683 @if gcc-bootstrap
14684 maybe-all-stage3-gcc: all-stage3-gcc
14685 all-stage3: all-stage3-gcc
14686 TARGET-stage3-gcc = $(TARGET-gcc)
14687 all-stage3-gcc: configure-stage3-gcc
14688 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14689 @r=`${PWD_COMMAND}`; export r; \
14690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14691 $(HOST_EXPORTS) \
14692 $(POSTSTAGE1_HOST_EXPORTS) \
14693 cd $(HOST_SUBDIR)/gcc && \
14694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14695 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
14696 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
14697 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
14698 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14699 $(TARGET-stage3-gcc)
14701 maybe-clean-stage3-gcc: clean-stage3-gcc
14702 clean-stage3: clean-stage3-gcc
14703 clean-stage3-gcc:
14704 @if [ $(current_stage) = stage3 ]; then \
14705 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14706 else \
14707 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
14708 $(MAKE) stage3-start; \
14709 fi; \
14710 cd $(HOST_SUBDIR)/gcc && \
14711 $(MAKE) $(EXTRA_HOST_FLAGS) \
14712 $(POSTSTAGE1_FLAGS_TO_PASS) \
14713 $(EXTRA_GCC_FLAGS) clean
14714 @endif gcc-bootstrap
14717 .PHONY: all-stageb3g2-gcc maybe-all-stageb3g2-gcc
14718 .PHONY: clean-stageb3g2-gcc maybe-clean-stageb3g2-gcc
14719 maybe-all-stageb3g2-gcc:
14720 maybe-clean-stageb3g2-gcc:
14721 @if gcc-bootstrap
14722 maybe-all-stageb3g2-gcc: all-stageb3g2-gcc
14723 all-stageb3g2: all-stageb3g2-gcc
14724 TARGET-stageb3g2-gcc = $(TARGET-gcc)
14725 all-stageb3g2-gcc: configure-stageb3g2-gcc
14726 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
14727 @r=`${PWD_COMMAND}`; export r; \
14728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14729 $(HOST_EXPORTS) \
14730 $(POSTSTAGE1_HOST_EXPORTS) \
14731 cd $(HOST_SUBDIR)/gcc && \
14732 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14733 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
14734 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
14735 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
14736 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14737 $(TARGET-stageb3g2-gcc)
14739 maybe-clean-stageb3g2-gcc: clean-stageb3g2-gcc
14740 clean-stageb3g2: clean-stageb3g2-gcc
14741 clean-stageb3g2-gcc:
14742 @if [ $(current_stage) = stageb3g2 ]; then \
14743 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14744 else \
14745 [ -f $(HOST_SUBDIR)/stageb3g2-gcc/Makefile ] || exit 0; \
14746 $(MAKE) stageb3g2-start; \
14747 fi; \
14748 cd $(HOST_SUBDIR)/gcc && \
14749 $(MAKE) $(EXTRA_HOST_FLAGS) \
14750 $(POSTSTAGE1_FLAGS_TO_PASS) \
14751 $(EXTRA_GCC_FLAGS) clean
14752 @endif gcc-bootstrap
14755 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
14756 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
14757 maybe-all-stage4-gcc:
14758 maybe-clean-stage4-gcc:
14759 @if gcc-bootstrap
14760 maybe-all-stage4-gcc: all-stage4-gcc
14761 all-stage4: all-stage4-gcc
14762 TARGET-stage4-gcc = $(TARGET-gcc)
14763 all-stage4-gcc: configure-stage4-gcc
14764 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14765 @r=`${PWD_COMMAND}`; export r; \
14766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14767 $(HOST_EXPORTS) \
14768 $(POSTSTAGE1_HOST_EXPORTS) \
14769 cd $(HOST_SUBDIR)/gcc && \
14770 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14771 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
14772 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14773 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
14774 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14775 $(TARGET-stage4-gcc)
14777 maybe-clean-stage4-gcc: clean-stage4-gcc
14778 clean-stage4: clean-stage4-gcc
14779 clean-stage4-gcc:
14780 @if [ $(current_stage) = stage4 ]; then \
14781 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14782 else \
14783 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
14784 $(MAKE) stage4-start; \
14785 fi; \
14786 cd $(HOST_SUBDIR)/gcc && \
14787 $(MAKE) $(EXTRA_HOST_FLAGS) \
14788 $(POSTSTAGE1_FLAGS_TO_PASS) \
14789 $(EXTRA_GCC_FLAGS) clean
14790 @endif gcc-bootstrap
14793 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
14794 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
14795 maybe-all-stageprofile-gcc:
14796 maybe-clean-stageprofile-gcc:
14797 @if gcc-bootstrap
14798 maybe-all-stageprofile-gcc: all-stageprofile-gcc
14799 all-stageprofile: all-stageprofile-gcc
14800 TARGET-stageprofile-gcc = $(TARGET-gcc)
14801 all-stageprofile-gcc: configure-stageprofile-gcc
14802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14803 @r=`${PWD_COMMAND}`; export r; \
14804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14805 $(HOST_EXPORTS) \
14806 $(POSTSTAGE1_HOST_EXPORTS) \
14807 cd $(HOST_SUBDIR)/gcc && \
14808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14809 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
14810 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
14811 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
14812 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14813 $(TARGET-stageprofile-gcc)
14815 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
14816 clean-stageprofile: clean-stageprofile-gcc
14817 clean-stageprofile-gcc:
14818 @if [ $(current_stage) = stageprofile ]; then \
14819 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14820 else \
14821 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
14822 $(MAKE) stageprofile-start; \
14823 fi; \
14824 cd $(HOST_SUBDIR)/gcc && \
14825 $(MAKE) $(EXTRA_HOST_FLAGS) \
14826 $(POSTSTAGE1_FLAGS_TO_PASS) \
14827 $(EXTRA_GCC_FLAGS) clean
14828 @endif gcc-bootstrap
14831 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
14832 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
14833 maybe-all-stagefeedback-gcc:
14834 maybe-clean-stagefeedback-gcc:
14835 @if gcc-bootstrap
14836 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
14837 all-stagefeedback: all-stagefeedback-gcc
14838 TARGET-stagefeedback-gcc = $(TARGET-gcc)
14839 all-stagefeedback-gcc: configure-stagefeedback-gcc
14840 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14841 @r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 $(HOST_EXPORTS) \
14844 $(POSTSTAGE1_HOST_EXPORTS) \
14845 cd $(HOST_SUBDIR)/gcc && \
14846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14847 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
14848 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
14849 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
14850 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14851 $(TARGET-stagefeedback-gcc)
14853 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
14854 clean-stagefeedback: clean-stagefeedback-gcc
14855 clean-stagefeedback-gcc:
14856 @if [ $(current_stage) = stagefeedback ]; then \
14857 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14858 else \
14859 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
14860 $(MAKE) stagefeedback-start; \
14861 fi; \
14862 cd $(HOST_SUBDIR)/gcc && \
14863 $(MAKE) $(EXTRA_HOST_FLAGS) \
14864 $(POSTSTAGE1_FLAGS_TO_PASS) \
14865 $(EXTRA_GCC_FLAGS) clean
14866 @endif gcc-bootstrap
14872 .PHONY: check-gcc maybe-check-gcc
14873 maybe-check-gcc:
14874 @if gcc
14875 maybe-check-gcc: check-gcc
14877 check-gcc:
14878 @: $(MAKE); $(unstage)
14879 @r=`${PWD_COMMAND}`; export r; \
14880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14881 $(HOST_EXPORTS) \
14882 (cd $(HOST_SUBDIR)/gcc && \
14883 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
14885 @endif gcc
14887 .PHONY: install-gcc maybe-install-gcc
14888 maybe-install-gcc:
14889 @if gcc
14890 maybe-install-gcc: install-gcc
14892 install-gcc: installdirs
14893 @: $(MAKE); $(unstage)
14894 @r=`${PWD_COMMAND}`; export r; \
14895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 $(HOST_EXPORTS) \
14897 (cd $(HOST_SUBDIR)/gcc && \
14898 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
14900 @endif gcc
14902 # Other targets (info, dvi, pdf, etc.)
14904 .PHONY: maybe-info-gcc info-gcc
14905 maybe-info-gcc:
14906 @if gcc
14907 maybe-info-gcc: info-gcc
14909 info-gcc: \
14910 configure-gcc
14911 @[ -f ./gcc/Makefile ] || exit 0; \
14912 r=`${PWD_COMMAND}`; export r; \
14913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14914 $(HOST_EXPORTS) \
14915 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14917 done; \
14918 echo "Doing info in gcc" ; \
14919 (cd $(HOST_SUBDIR)/gcc && \
14920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14922 "RANLIB=$${RANLIB}" \
14923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14924 info) \
14925 || exit 1
14927 @endif gcc
14929 .PHONY: maybe-dvi-gcc dvi-gcc
14930 maybe-dvi-gcc:
14931 @if gcc
14932 maybe-dvi-gcc: dvi-gcc
14934 dvi-gcc: \
14935 configure-gcc
14936 @[ -f ./gcc/Makefile ] || exit 0; \
14937 r=`${PWD_COMMAND}`; export r; \
14938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14939 $(HOST_EXPORTS) \
14940 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14942 done; \
14943 echo "Doing dvi in gcc" ; \
14944 (cd $(HOST_SUBDIR)/gcc && \
14945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14947 "RANLIB=$${RANLIB}" \
14948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14949 dvi) \
14950 || exit 1
14952 @endif gcc
14954 .PHONY: maybe-pdf-gcc pdf-gcc
14955 maybe-pdf-gcc:
14956 @if gcc
14957 maybe-pdf-gcc: pdf-gcc
14959 pdf-gcc: \
14960 configure-gcc
14961 @[ -f ./gcc/Makefile ] || exit 0; \
14962 r=`${PWD_COMMAND}`; export r; \
14963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14964 $(HOST_EXPORTS) \
14965 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14967 done; \
14968 echo "Doing pdf in gcc" ; \
14969 (cd $(HOST_SUBDIR)/gcc && \
14970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14972 "RANLIB=$${RANLIB}" \
14973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14974 pdf) \
14975 || exit 1
14977 @endif gcc
14979 .PHONY: maybe-html-gcc html-gcc
14980 maybe-html-gcc:
14981 @if gcc
14982 maybe-html-gcc: html-gcc
14984 html-gcc: \
14985 configure-gcc
14986 @[ -f ./gcc/Makefile ] || exit 0; \
14987 r=`${PWD_COMMAND}`; export r; \
14988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14989 $(HOST_EXPORTS) \
14990 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14992 done; \
14993 echo "Doing html in gcc" ; \
14994 (cd $(HOST_SUBDIR)/gcc && \
14995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14997 "RANLIB=$${RANLIB}" \
14998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14999 html) \
15000 || exit 1
15002 @endif gcc
15004 .PHONY: maybe-TAGS-gcc TAGS-gcc
15005 maybe-TAGS-gcc:
15006 @if gcc
15007 maybe-TAGS-gcc: TAGS-gcc
15009 TAGS-gcc: \
15010 configure-gcc
15011 @[ -f ./gcc/Makefile ] || exit 0; \
15012 r=`${PWD_COMMAND}`; export r; \
15013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15014 $(HOST_EXPORTS) \
15015 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15017 done; \
15018 echo "Doing TAGS in gcc" ; \
15019 (cd $(HOST_SUBDIR)/gcc && \
15020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15022 "RANLIB=$${RANLIB}" \
15023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15024 TAGS) \
15025 || exit 1
15027 @endif gcc
15029 .PHONY: maybe-install-info-gcc install-info-gcc
15030 maybe-install-info-gcc:
15031 @if gcc
15032 maybe-install-info-gcc: install-info-gcc
15034 install-info-gcc: \
15035 configure-gcc \
15036 info-gcc
15037 @[ -f ./gcc/Makefile ] || exit 0; \
15038 r=`${PWD_COMMAND}`; export r; \
15039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15040 $(HOST_EXPORTS) \
15041 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15043 done; \
15044 echo "Doing install-info in gcc" ; \
15045 (cd $(HOST_SUBDIR)/gcc && \
15046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15048 "RANLIB=$${RANLIB}" \
15049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15050 install-info) \
15051 || exit 1
15053 @endif gcc
15055 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
15056 maybe-install-pdf-gcc:
15057 @if gcc
15058 maybe-install-pdf-gcc: install-pdf-gcc
15060 install-pdf-gcc: \
15061 configure-gcc \
15062 pdf-gcc
15063 @[ -f ./gcc/Makefile ] || exit 0; \
15064 r=`${PWD_COMMAND}`; export r; \
15065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15066 $(HOST_EXPORTS) \
15067 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15069 done; \
15070 echo "Doing install-pdf in gcc" ; \
15071 (cd $(HOST_SUBDIR)/gcc && \
15072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15074 "RANLIB=$${RANLIB}" \
15075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15076 install-pdf) \
15077 || exit 1
15079 @endif gcc
15081 .PHONY: maybe-install-html-gcc install-html-gcc
15082 maybe-install-html-gcc:
15083 @if gcc
15084 maybe-install-html-gcc: install-html-gcc
15086 install-html-gcc: \
15087 configure-gcc \
15088 html-gcc
15089 @[ -f ./gcc/Makefile ] || exit 0; \
15090 r=`${PWD_COMMAND}`; export r; \
15091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092 $(HOST_EXPORTS) \
15093 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15095 done; \
15096 echo "Doing install-html in gcc" ; \
15097 (cd $(HOST_SUBDIR)/gcc && \
15098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15100 "RANLIB=$${RANLIB}" \
15101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15102 install-html) \
15103 || exit 1
15105 @endif gcc
15107 .PHONY: maybe-installcheck-gcc installcheck-gcc
15108 maybe-installcheck-gcc:
15109 @if gcc
15110 maybe-installcheck-gcc: installcheck-gcc
15112 installcheck-gcc: \
15113 configure-gcc
15114 @[ -f ./gcc/Makefile ] || exit 0; \
15115 r=`${PWD_COMMAND}`; export r; \
15116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15117 $(HOST_EXPORTS) \
15118 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15120 done; \
15121 echo "Doing installcheck in gcc" ; \
15122 (cd $(HOST_SUBDIR)/gcc && \
15123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15125 "RANLIB=$${RANLIB}" \
15126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15127 installcheck) \
15128 || exit 1
15130 @endif gcc
15132 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
15133 maybe-mostlyclean-gcc:
15134 @if gcc
15135 maybe-mostlyclean-gcc: mostlyclean-gcc
15137 mostlyclean-gcc:
15138 @[ -f ./gcc/Makefile ] || exit 0; \
15139 r=`${PWD_COMMAND}`; export r; \
15140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15141 $(HOST_EXPORTS) \
15142 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15144 done; \
15145 echo "Doing mostlyclean in gcc" ; \
15146 (cd $(HOST_SUBDIR)/gcc && \
15147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15149 "RANLIB=$${RANLIB}" \
15150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15151 mostlyclean) \
15152 || exit 1
15154 @endif gcc
15156 .PHONY: maybe-clean-gcc clean-gcc
15157 maybe-clean-gcc:
15158 @if gcc
15159 maybe-clean-gcc: clean-gcc
15161 clean-gcc:
15162 @[ -f ./gcc/Makefile ] || exit 0; \
15163 r=`${PWD_COMMAND}`; export r; \
15164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15165 $(HOST_EXPORTS) \
15166 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15168 done; \
15169 echo "Doing clean in gcc" ; \
15170 (cd $(HOST_SUBDIR)/gcc && \
15171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15173 "RANLIB=$${RANLIB}" \
15174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15175 clean) \
15176 || exit 1
15178 @endif gcc
15180 .PHONY: maybe-distclean-gcc distclean-gcc
15181 maybe-distclean-gcc:
15182 @if gcc
15183 maybe-distclean-gcc: distclean-gcc
15185 distclean-gcc:
15186 @[ -f ./gcc/Makefile ] || exit 0; \
15187 r=`${PWD_COMMAND}`; export r; \
15188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15189 $(HOST_EXPORTS) \
15190 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15192 done; \
15193 echo "Doing distclean in gcc" ; \
15194 (cd $(HOST_SUBDIR)/gcc && \
15195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15197 "RANLIB=$${RANLIB}" \
15198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15199 distclean) \
15200 || exit 1
15202 @endif gcc
15204 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15205 maybe-maintainer-clean-gcc:
15206 @if gcc
15207 maybe-maintainer-clean-gcc: maintainer-clean-gcc
15209 maintainer-clean-gcc:
15210 @[ -f ./gcc/Makefile ] || exit 0; \
15211 r=`${PWD_COMMAND}`; export r; \
15212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15213 $(HOST_EXPORTS) \
15214 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15216 done; \
15217 echo "Doing maintainer-clean in gcc" ; \
15218 (cd $(HOST_SUBDIR)/gcc && \
15219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15221 "RANLIB=$${RANLIB}" \
15222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15223 maintainer-clean) \
15224 || exit 1
15226 @endif gcc
15230 .PHONY: configure-gawk maybe-configure-gawk
15231 maybe-configure-gawk:
15232 @if gcc-bootstrap
15233 configure-gawk: stage_current
15234 @endif gcc-bootstrap
15235 @if gawk
15236 maybe-configure-gawk: configure-gawk
15237 configure-gawk:
15238 @: $(MAKE); $(unstage)
15239 @r=`${PWD_COMMAND}`; export r; \
15240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15241 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
15242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
15243 $(HOST_EXPORTS) \
15244 echo Configuring in $(HOST_SUBDIR)/gawk; \
15245 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
15246 case $(srcdir) in \
15247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15248 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
15249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15250 esac; \
15251 srcdiroption="--srcdir=$${topdir}/gawk"; \
15252 libsrcdir="$$s/gawk"; \
15253 $(SHELL) $${libsrcdir}/configure \
15254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15255 --target=${target_alias} $${srcdiroption} \
15256 || exit 1
15257 @endif gawk
15263 .PHONY: all-gawk maybe-all-gawk
15264 maybe-all-gawk:
15265 @if gcc-bootstrap
15266 all-gawk: stage_current
15267 @endif gcc-bootstrap
15268 @if gawk
15269 TARGET-gawk=all
15270 maybe-all-gawk: all-gawk
15271 all-gawk: configure-gawk
15272 @: $(MAKE); $(unstage)
15273 @r=`${PWD_COMMAND}`; export r; \
15274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15275 $(HOST_EXPORTS) \
15276 (cd $(HOST_SUBDIR)/gawk && \
15277 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15278 $(TARGET-gawk))
15279 @endif gawk
15284 .PHONY: check-gawk maybe-check-gawk
15285 maybe-check-gawk:
15286 @if gawk
15287 maybe-check-gawk: check-gawk
15289 check-gawk:
15290 @: $(MAKE); $(unstage)
15291 @r=`${PWD_COMMAND}`; export r; \
15292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15293 $(HOST_EXPORTS) \
15294 (cd $(HOST_SUBDIR)/gawk && \
15295 $(MAKE) $(FLAGS_TO_PASS) check)
15297 @endif gawk
15299 .PHONY: install-gawk maybe-install-gawk
15300 maybe-install-gawk:
15301 @if gawk
15302 maybe-install-gawk: install-gawk
15304 install-gawk: installdirs
15305 @: $(MAKE); $(unstage)
15306 @r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 $(HOST_EXPORTS) \
15309 (cd $(HOST_SUBDIR)/gawk && \
15310 $(MAKE) $(FLAGS_TO_PASS) install)
15312 @endif gawk
15314 # Other targets (info, dvi, pdf, etc.)
15316 .PHONY: maybe-info-gawk info-gawk
15317 maybe-info-gawk:
15318 @if gawk
15319 maybe-info-gawk: info-gawk
15321 info-gawk: \
15322 configure-gawk
15323 @: $(MAKE); $(unstage)
15324 @[ -f ./gawk/Makefile ] || exit 0; \
15325 r=`${PWD_COMMAND}`; export r; \
15326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15327 $(HOST_EXPORTS) \
15328 for flag in $(EXTRA_HOST_FLAGS) ; do \
15329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15330 done; \
15331 echo "Doing info in gawk" ; \
15332 (cd $(HOST_SUBDIR)/gawk && \
15333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15335 "RANLIB=$${RANLIB}" \
15336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15337 info) \
15338 || exit 1
15340 @endif gawk
15342 .PHONY: maybe-dvi-gawk dvi-gawk
15343 maybe-dvi-gawk:
15344 @if gawk
15345 maybe-dvi-gawk: dvi-gawk
15347 dvi-gawk: \
15348 configure-gawk
15349 @: $(MAKE); $(unstage)
15350 @[ -f ./gawk/Makefile ] || exit 0; \
15351 r=`${PWD_COMMAND}`; export r; \
15352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15353 $(HOST_EXPORTS) \
15354 for flag in $(EXTRA_HOST_FLAGS) ; do \
15355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15356 done; \
15357 echo "Doing dvi in gawk" ; \
15358 (cd $(HOST_SUBDIR)/gawk && \
15359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15361 "RANLIB=$${RANLIB}" \
15362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15363 dvi) \
15364 || exit 1
15366 @endif gawk
15368 .PHONY: maybe-pdf-gawk pdf-gawk
15369 maybe-pdf-gawk:
15370 @if gawk
15371 maybe-pdf-gawk: pdf-gawk
15373 pdf-gawk: \
15374 configure-gawk
15375 @: $(MAKE); $(unstage)
15376 @[ -f ./gawk/Makefile ] || exit 0; \
15377 r=`${PWD_COMMAND}`; export r; \
15378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15379 $(HOST_EXPORTS) \
15380 for flag in $(EXTRA_HOST_FLAGS) ; do \
15381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15382 done; \
15383 echo "Doing pdf in gawk" ; \
15384 (cd $(HOST_SUBDIR)/gawk && \
15385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15387 "RANLIB=$${RANLIB}" \
15388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15389 pdf) \
15390 || exit 1
15392 @endif gawk
15394 .PHONY: maybe-html-gawk html-gawk
15395 maybe-html-gawk:
15396 @if gawk
15397 maybe-html-gawk: html-gawk
15399 html-gawk: \
15400 configure-gawk
15401 @: $(MAKE); $(unstage)
15402 @[ -f ./gawk/Makefile ] || exit 0; \
15403 r=`${PWD_COMMAND}`; export r; \
15404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15405 $(HOST_EXPORTS) \
15406 for flag in $(EXTRA_HOST_FLAGS) ; do \
15407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15408 done; \
15409 echo "Doing html in gawk" ; \
15410 (cd $(HOST_SUBDIR)/gawk && \
15411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15413 "RANLIB=$${RANLIB}" \
15414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15415 html) \
15416 || exit 1
15418 @endif gawk
15420 .PHONY: maybe-TAGS-gawk TAGS-gawk
15421 maybe-TAGS-gawk:
15422 @if gawk
15423 maybe-TAGS-gawk: TAGS-gawk
15425 TAGS-gawk: \
15426 configure-gawk
15427 @: $(MAKE); $(unstage)
15428 @[ -f ./gawk/Makefile ] || exit 0; \
15429 r=`${PWD_COMMAND}`; export r; \
15430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15431 $(HOST_EXPORTS) \
15432 for flag in $(EXTRA_HOST_FLAGS) ; do \
15433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15434 done; \
15435 echo "Doing TAGS in gawk" ; \
15436 (cd $(HOST_SUBDIR)/gawk && \
15437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15439 "RANLIB=$${RANLIB}" \
15440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15441 TAGS) \
15442 || exit 1
15444 @endif gawk
15446 .PHONY: maybe-install-info-gawk install-info-gawk
15447 maybe-install-info-gawk:
15448 @if gawk
15449 maybe-install-info-gawk: install-info-gawk
15451 install-info-gawk: \
15452 configure-gawk \
15453 info-gawk
15454 @: $(MAKE); $(unstage)
15455 @[ -f ./gawk/Makefile ] || exit 0; \
15456 r=`${PWD_COMMAND}`; export r; \
15457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15458 $(HOST_EXPORTS) \
15459 for flag in $(EXTRA_HOST_FLAGS) ; do \
15460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15461 done; \
15462 echo "Doing install-info in gawk" ; \
15463 (cd $(HOST_SUBDIR)/gawk && \
15464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15466 "RANLIB=$${RANLIB}" \
15467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15468 install-info) \
15469 || exit 1
15471 @endif gawk
15473 .PHONY: maybe-install-pdf-gawk install-pdf-gawk
15474 maybe-install-pdf-gawk:
15475 @if gawk
15476 maybe-install-pdf-gawk: install-pdf-gawk
15478 install-pdf-gawk: \
15479 configure-gawk \
15480 pdf-gawk
15481 @: $(MAKE); $(unstage)
15482 @[ -f ./gawk/Makefile ] || exit 0; \
15483 r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 $(HOST_EXPORTS) \
15486 for flag in $(EXTRA_HOST_FLAGS) ; do \
15487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15488 done; \
15489 echo "Doing install-pdf in gawk" ; \
15490 (cd $(HOST_SUBDIR)/gawk && \
15491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15493 "RANLIB=$${RANLIB}" \
15494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15495 install-pdf) \
15496 || exit 1
15498 @endif gawk
15500 .PHONY: maybe-install-html-gawk install-html-gawk
15501 maybe-install-html-gawk:
15502 @if gawk
15503 maybe-install-html-gawk: install-html-gawk
15505 install-html-gawk: \
15506 configure-gawk \
15507 html-gawk
15508 @: $(MAKE); $(unstage)
15509 @[ -f ./gawk/Makefile ] || exit 0; \
15510 r=`${PWD_COMMAND}`; export r; \
15511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15512 $(HOST_EXPORTS) \
15513 for flag in $(EXTRA_HOST_FLAGS) ; do \
15514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15515 done; \
15516 echo "Doing install-html in gawk" ; \
15517 (cd $(HOST_SUBDIR)/gawk && \
15518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15520 "RANLIB=$${RANLIB}" \
15521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15522 install-html) \
15523 || exit 1
15525 @endif gawk
15527 .PHONY: maybe-installcheck-gawk installcheck-gawk
15528 maybe-installcheck-gawk:
15529 @if gawk
15530 maybe-installcheck-gawk: installcheck-gawk
15532 installcheck-gawk: \
15533 configure-gawk
15534 @: $(MAKE); $(unstage)
15535 @[ -f ./gawk/Makefile ] || exit 0; \
15536 r=`${PWD_COMMAND}`; export r; \
15537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15538 $(HOST_EXPORTS) \
15539 for flag in $(EXTRA_HOST_FLAGS) ; do \
15540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15541 done; \
15542 echo "Doing installcheck in gawk" ; \
15543 (cd $(HOST_SUBDIR)/gawk && \
15544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15546 "RANLIB=$${RANLIB}" \
15547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15548 installcheck) \
15549 || exit 1
15551 @endif gawk
15553 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
15554 maybe-mostlyclean-gawk:
15555 @if gawk
15556 maybe-mostlyclean-gawk: mostlyclean-gawk
15558 mostlyclean-gawk:
15559 @: $(MAKE); $(unstage)
15560 @[ -f ./gawk/Makefile ] || exit 0; \
15561 r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(HOST_EXPORTS) \
15564 for flag in $(EXTRA_HOST_FLAGS) ; do \
15565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15566 done; \
15567 echo "Doing mostlyclean in gawk" ; \
15568 (cd $(HOST_SUBDIR)/gawk && \
15569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15571 "RANLIB=$${RANLIB}" \
15572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15573 mostlyclean) \
15574 || exit 1
15576 @endif gawk
15578 .PHONY: maybe-clean-gawk clean-gawk
15579 maybe-clean-gawk:
15580 @if gawk
15581 maybe-clean-gawk: clean-gawk
15583 clean-gawk:
15584 @: $(MAKE); $(unstage)
15585 @[ -f ./gawk/Makefile ] || exit 0; \
15586 r=`${PWD_COMMAND}`; export r; \
15587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15588 $(HOST_EXPORTS) \
15589 for flag in $(EXTRA_HOST_FLAGS) ; do \
15590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15591 done; \
15592 echo "Doing clean in gawk" ; \
15593 (cd $(HOST_SUBDIR)/gawk && \
15594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15596 "RANLIB=$${RANLIB}" \
15597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15598 clean) \
15599 || exit 1
15601 @endif gawk
15603 .PHONY: maybe-distclean-gawk distclean-gawk
15604 maybe-distclean-gawk:
15605 @if gawk
15606 maybe-distclean-gawk: distclean-gawk
15608 distclean-gawk:
15609 @: $(MAKE); $(unstage)
15610 @[ -f ./gawk/Makefile ] || exit 0; \
15611 r=`${PWD_COMMAND}`; export r; \
15612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15613 $(HOST_EXPORTS) \
15614 for flag in $(EXTRA_HOST_FLAGS) ; do \
15615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15616 done; \
15617 echo "Doing distclean in gawk" ; \
15618 (cd $(HOST_SUBDIR)/gawk && \
15619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15621 "RANLIB=$${RANLIB}" \
15622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15623 distclean) \
15624 || exit 1
15626 @endif gawk
15628 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
15629 maybe-maintainer-clean-gawk:
15630 @if gawk
15631 maybe-maintainer-clean-gawk: maintainer-clean-gawk
15633 maintainer-clean-gawk:
15634 @: $(MAKE); $(unstage)
15635 @[ -f ./gawk/Makefile ] || exit 0; \
15636 r=`${PWD_COMMAND}`; export r; \
15637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15638 $(HOST_EXPORTS) \
15639 for flag in $(EXTRA_HOST_FLAGS) ; do \
15640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15641 done; \
15642 echo "Doing maintainer-clean in gawk" ; \
15643 (cd $(HOST_SUBDIR)/gawk && \
15644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15646 "RANLIB=$${RANLIB}" \
15647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15648 maintainer-clean) \
15649 || exit 1
15651 @endif gawk
15655 .PHONY: configure-gettext maybe-configure-gettext
15656 maybe-configure-gettext:
15657 @if gcc-bootstrap
15658 configure-gettext: stage_current
15659 @endif gcc-bootstrap
15660 @if gettext
15661 maybe-configure-gettext: configure-gettext
15662 configure-gettext:
15663 @: $(MAKE); $(unstage)
15664 @r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
15667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
15668 $(HOST_EXPORTS) \
15669 echo Configuring in $(HOST_SUBDIR)/gettext; \
15670 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
15671 case $(srcdir) in \
15672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15673 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
15674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15675 esac; \
15676 srcdiroption="--srcdir=$${topdir}/gettext"; \
15677 libsrcdir="$$s/gettext"; \
15678 $(SHELL) $${libsrcdir}/configure \
15679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15680 --target=${target_alias} $${srcdiroption} \
15681 || exit 1
15682 @endif gettext
15688 .PHONY: all-gettext maybe-all-gettext
15689 maybe-all-gettext:
15690 @if gcc-bootstrap
15691 all-gettext: stage_current
15692 @endif gcc-bootstrap
15693 @if gettext
15694 TARGET-gettext=all
15695 maybe-all-gettext: all-gettext
15696 all-gettext: configure-gettext
15697 @: $(MAKE); $(unstage)
15698 @r=`${PWD_COMMAND}`; export r; \
15699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15700 $(HOST_EXPORTS) \
15701 (cd $(HOST_SUBDIR)/gettext && \
15702 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15703 $(TARGET-gettext))
15704 @endif gettext
15709 .PHONY: check-gettext maybe-check-gettext
15710 maybe-check-gettext:
15711 @if gettext
15712 maybe-check-gettext: check-gettext
15714 check-gettext:
15715 @: $(MAKE); $(unstage)
15716 @r=`${PWD_COMMAND}`; export r; \
15717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15718 $(HOST_EXPORTS) \
15719 (cd $(HOST_SUBDIR)/gettext && \
15720 $(MAKE) $(FLAGS_TO_PASS) check)
15722 @endif gettext
15724 .PHONY: install-gettext maybe-install-gettext
15725 maybe-install-gettext:
15726 @if gettext
15727 maybe-install-gettext: install-gettext
15729 install-gettext: installdirs
15730 @: $(MAKE); $(unstage)
15731 @r=`${PWD_COMMAND}`; export r; \
15732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15733 $(HOST_EXPORTS) \
15734 (cd $(HOST_SUBDIR)/gettext && \
15735 $(MAKE) $(FLAGS_TO_PASS) install)
15737 @endif gettext
15739 # Other targets (info, dvi, pdf, etc.)
15741 .PHONY: maybe-info-gettext info-gettext
15742 maybe-info-gettext:
15743 @if gettext
15744 maybe-info-gettext: info-gettext
15746 info-gettext: \
15747 configure-gettext
15748 @: $(MAKE); $(unstage)
15749 @[ -f ./gettext/Makefile ] || exit 0; \
15750 r=`${PWD_COMMAND}`; export r; \
15751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15752 $(HOST_EXPORTS) \
15753 for flag in $(EXTRA_HOST_FLAGS) ; do \
15754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15755 done; \
15756 echo "Doing info in gettext" ; \
15757 (cd $(HOST_SUBDIR)/gettext && \
15758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15760 "RANLIB=$${RANLIB}" \
15761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15762 info) \
15763 || exit 1
15765 @endif gettext
15767 .PHONY: maybe-dvi-gettext dvi-gettext
15768 maybe-dvi-gettext:
15769 @if gettext
15770 maybe-dvi-gettext: dvi-gettext
15772 dvi-gettext: \
15773 configure-gettext
15774 @: $(MAKE); $(unstage)
15775 @[ -f ./gettext/Makefile ] || exit 0; \
15776 r=`${PWD_COMMAND}`; export r; \
15777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15778 $(HOST_EXPORTS) \
15779 for flag in $(EXTRA_HOST_FLAGS) ; do \
15780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15781 done; \
15782 echo "Doing dvi in gettext" ; \
15783 (cd $(HOST_SUBDIR)/gettext && \
15784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15786 "RANLIB=$${RANLIB}" \
15787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15788 dvi) \
15789 || exit 1
15791 @endif gettext
15793 .PHONY: maybe-pdf-gettext pdf-gettext
15794 maybe-pdf-gettext:
15795 @if gettext
15796 maybe-pdf-gettext: pdf-gettext
15798 pdf-gettext: \
15799 configure-gettext
15800 @: $(MAKE); $(unstage)
15801 @[ -f ./gettext/Makefile ] || exit 0; \
15802 r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804 $(HOST_EXPORTS) \
15805 for flag in $(EXTRA_HOST_FLAGS) ; do \
15806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15807 done; \
15808 echo "Doing pdf in gettext" ; \
15809 (cd $(HOST_SUBDIR)/gettext && \
15810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15812 "RANLIB=$${RANLIB}" \
15813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15814 pdf) \
15815 || exit 1
15817 @endif gettext
15819 .PHONY: maybe-html-gettext html-gettext
15820 maybe-html-gettext:
15821 @if gettext
15822 maybe-html-gettext: html-gettext
15824 html-gettext: \
15825 configure-gettext
15826 @: $(MAKE); $(unstage)
15827 @[ -f ./gettext/Makefile ] || exit 0; \
15828 r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(HOST_EXPORTS) \
15831 for flag in $(EXTRA_HOST_FLAGS) ; do \
15832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15833 done; \
15834 echo "Doing html in gettext" ; \
15835 (cd $(HOST_SUBDIR)/gettext && \
15836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838 "RANLIB=$${RANLIB}" \
15839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15840 html) \
15841 || exit 1
15843 @endif gettext
15845 .PHONY: maybe-TAGS-gettext TAGS-gettext
15846 maybe-TAGS-gettext:
15847 @if gettext
15848 maybe-TAGS-gettext: TAGS-gettext
15850 TAGS-gettext: \
15851 configure-gettext
15852 @: $(MAKE); $(unstage)
15853 @[ -f ./gettext/Makefile ] || exit 0; \
15854 r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 $(HOST_EXPORTS) \
15857 for flag in $(EXTRA_HOST_FLAGS) ; do \
15858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15859 done; \
15860 echo "Doing TAGS in gettext" ; \
15861 (cd $(HOST_SUBDIR)/gettext && \
15862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15864 "RANLIB=$${RANLIB}" \
15865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15866 TAGS) \
15867 || exit 1
15869 @endif gettext
15871 .PHONY: maybe-install-info-gettext install-info-gettext
15872 maybe-install-info-gettext:
15873 @if gettext
15874 maybe-install-info-gettext: install-info-gettext
15876 install-info-gettext: \
15877 configure-gettext \
15878 info-gettext
15879 @: $(MAKE); $(unstage)
15880 @[ -f ./gettext/Makefile ] || exit 0; \
15881 r=`${PWD_COMMAND}`; export r; \
15882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15883 $(HOST_EXPORTS) \
15884 for flag in $(EXTRA_HOST_FLAGS) ; do \
15885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15886 done; \
15887 echo "Doing install-info in gettext" ; \
15888 (cd $(HOST_SUBDIR)/gettext && \
15889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15891 "RANLIB=$${RANLIB}" \
15892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15893 install-info) \
15894 || exit 1
15896 @endif gettext
15898 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
15899 maybe-install-pdf-gettext:
15900 @if gettext
15901 maybe-install-pdf-gettext: install-pdf-gettext
15903 install-pdf-gettext: \
15904 configure-gettext \
15905 pdf-gettext
15906 @: $(MAKE); $(unstage)
15907 @[ -f ./gettext/Makefile ] || exit 0; \
15908 r=`${PWD_COMMAND}`; export r; \
15909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15910 $(HOST_EXPORTS) \
15911 for flag in $(EXTRA_HOST_FLAGS) ; do \
15912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15913 done; \
15914 echo "Doing install-pdf in gettext" ; \
15915 (cd $(HOST_SUBDIR)/gettext && \
15916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15918 "RANLIB=$${RANLIB}" \
15919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15920 install-pdf) \
15921 || exit 1
15923 @endif gettext
15925 .PHONY: maybe-install-html-gettext install-html-gettext
15926 maybe-install-html-gettext:
15927 @if gettext
15928 maybe-install-html-gettext: install-html-gettext
15930 install-html-gettext: \
15931 configure-gettext \
15932 html-gettext
15933 @: $(MAKE); $(unstage)
15934 @[ -f ./gettext/Makefile ] || exit 0; \
15935 r=`${PWD_COMMAND}`; export r; \
15936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15937 $(HOST_EXPORTS) \
15938 for flag in $(EXTRA_HOST_FLAGS) ; do \
15939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15940 done; \
15941 echo "Doing install-html in gettext" ; \
15942 (cd $(HOST_SUBDIR)/gettext && \
15943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15945 "RANLIB=$${RANLIB}" \
15946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15947 install-html) \
15948 || exit 1
15950 @endif gettext
15952 .PHONY: maybe-installcheck-gettext installcheck-gettext
15953 maybe-installcheck-gettext:
15954 @if gettext
15955 maybe-installcheck-gettext: installcheck-gettext
15957 installcheck-gettext: \
15958 configure-gettext
15959 @: $(MAKE); $(unstage)
15960 @[ -f ./gettext/Makefile ] || exit 0; \
15961 r=`${PWD_COMMAND}`; export r; \
15962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15963 $(HOST_EXPORTS) \
15964 for flag in $(EXTRA_HOST_FLAGS) ; do \
15965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15966 done; \
15967 echo "Doing installcheck in gettext" ; \
15968 (cd $(HOST_SUBDIR)/gettext && \
15969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15971 "RANLIB=$${RANLIB}" \
15972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15973 installcheck) \
15974 || exit 1
15976 @endif gettext
15978 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
15979 maybe-mostlyclean-gettext:
15980 @if gettext
15981 maybe-mostlyclean-gettext: mostlyclean-gettext
15983 mostlyclean-gettext:
15984 @: $(MAKE); $(unstage)
15985 @[ -f ./gettext/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 $(HOST_EXPORTS) \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991 done; \
15992 echo "Doing mostlyclean in gettext" ; \
15993 (cd $(HOST_SUBDIR)/gettext && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15998 mostlyclean) \
15999 || exit 1
16001 @endif gettext
16003 .PHONY: maybe-clean-gettext clean-gettext
16004 maybe-clean-gettext:
16005 @if gettext
16006 maybe-clean-gettext: clean-gettext
16008 clean-gettext:
16009 @: $(MAKE); $(unstage)
16010 @[ -f ./gettext/Makefile ] || exit 0; \
16011 r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(HOST_EXPORTS) \
16014 for flag in $(EXTRA_HOST_FLAGS) ; do \
16015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 done; \
16017 echo "Doing clean in gettext" ; \
16018 (cd $(HOST_SUBDIR)/gettext && \
16019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021 "RANLIB=$${RANLIB}" \
16022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16023 clean) \
16024 || exit 1
16026 @endif gettext
16028 .PHONY: maybe-distclean-gettext distclean-gettext
16029 maybe-distclean-gettext:
16030 @if gettext
16031 maybe-distclean-gettext: distclean-gettext
16033 distclean-gettext:
16034 @: $(MAKE); $(unstage)
16035 @[ -f ./gettext/Makefile ] || exit 0; \
16036 r=`${PWD_COMMAND}`; export r; \
16037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16038 $(HOST_EXPORTS) \
16039 for flag in $(EXTRA_HOST_FLAGS) ; do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 done; \
16042 echo "Doing distclean in gettext" ; \
16043 (cd $(HOST_SUBDIR)/gettext && \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16048 distclean) \
16049 || exit 1
16051 @endif gettext
16053 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16054 maybe-maintainer-clean-gettext:
16055 @if gettext
16056 maybe-maintainer-clean-gettext: maintainer-clean-gettext
16058 maintainer-clean-gettext:
16059 @: $(MAKE); $(unstage)
16060 @[ -f ./gettext/Makefile ] || exit 0; \
16061 r=`${PWD_COMMAND}`; export r; \
16062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 $(HOST_EXPORTS) \
16064 for flag in $(EXTRA_HOST_FLAGS) ; do \
16065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16066 done; \
16067 echo "Doing maintainer-clean in gettext" ; \
16068 (cd $(HOST_SUBDIR)/gettext && \
16069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16071 "RANLIB=$${RANLIB}" \
16072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16073 maintainer-clean) \
16074 || exit 1
16076 @endif gettext
16080 .PHONY: configure-gmp maybe-configure-gmp
16081 maybe-configure-gmp:
16082 @if gcc-bootstrap
16083 configure-gmp: stage_current
16084 @endif gcc-bootstrap
16085 @if gmp
16086 maybe-configure-gmp: configure-gmp
16087 configure-gmp:
16088 @r=`${PWD_COMMAND}`; export r; \
16089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16090 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16092 $(HOST_EXPORTS) \
16093 echo Configuring in $(HOST_SUBDIR)/gmp; \
16094 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
16095 case $(srcdir) in \
16096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16097 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16099 esac; \
16100 srcdiroption="--srcdir=$${topdir}/gmp"; \
16101 libsrcdir="$$s/gmp"; \
16102 $(SHELL) $${libsrcdir}/configure \
16103 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16104 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
16105 || exit 1
16106 @endif gmp
16110 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
16111 maybe-configure-stage1-gmp:
16112 @if gmp-bootstrap
16113 maybe-configure-stage1-gmp: configure-stage1-gmp
16114 configure-stage1-gmp:
16115 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16117 @r=`${PWD_COMMAND}`; export r; \
16118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16119 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16120 $(HOST_EXPORTS) \
16121 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16122 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
16123 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
16124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16125 cd $(HOST_SUBDIR)/gmp || exit 1; \
16126 case $(srcdir) in \
16127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16128 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16130 esac; \
16131 srcdiroption="--srcdir=$${topdir}/gmp"; \
16132 libsrcdir="$$s/gmp"; \
16133 $(SHELL) $${libsrcdir}/configure \
16134 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16135 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16137 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared
16138 @endif gmp-bootstrap
16140 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
16141 maybe-configure-stage2-gmp:
16142 @if gmp-bootstrap
16143 maybe-configure-stage2-gmp: configure-stage2-gmp
16144 configure-stage2-gmp:
16145 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16147 @r=`${PWD_COMMAND}`; export r; \
16148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16150 $(HOST_EXPORTS) \
16151 $(POSTSTAGE1_HOST_EXPORTS) \
16152 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16153 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
16154 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
16155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16156 cd $(HOST_SUBDIR)/gmp || exit 1; \
16157 case $(srcdir) in \
16158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16159 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16161 esac; \
16162 srcdiroption="--srcdir=$${topdir}/gmp"; \
16163 libsrcdir="$$s/gmp"; \
16164 $(SHELL) $${libsrcdir}/configure \
16165 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16166 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16167 --with-build-libsubdir=$(HOST_SUBDIR) \
16168 @stage2_werror_flag@ --disable-shared
16169 @endif gmp-bootstrap
16171 .PHONY: configure-stageb2g0-gmp maybe-configure-stageb2g0-gmp
16172 maybe-configure-stageb2g0-gmp:
16173 @if gmp-bootstrap
16174 maybe-configure-stageb2g0-gmp: configure-stageb2g0-gmp
16175 configure-stageb2g0-gmp:
16176 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
16177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16178 @r=`${PWD_COMMAND}`; export r; \
16179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16180 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16181 $(HOST_EXPORTS) \
16182 $(POSTSTAGE1_HOST_EXPORTS) \
16183 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
16184 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
16185 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gmp ; \
16186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16187 cd $(HOST_SUBDIR)/gmp || exit 1; \
16188 case $(srcdir) in \
16189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16190 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16192 esac; \
16193 srcdiroption="--srcdir=$${topdir}/gmp"; \
16194 libsrcdir="$$s/gmp"; \
16195 $(SHELL) $${libsrcdir}/configure \
16196 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16197 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16198 --with-build-libsubdir=$(HOST_SUBDIR) \
16199 @stage2_werror_flag@ --disable-shared
16200 @endif gmp-bootstrap
16202 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
16203 maybe-configure-stage3-gmp:
16204 @if gmp-bootstrap
16205 maybe-configure-stage3-gmp: configure-stage3-gmp
16206 configure-stage3-gmp:
16207 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16209 @r=`${PWD_COMMAND}`; export r; \
16210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16211 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16212 $(HOST_EXPORTS) \
16213 $(POSTSTAGE1_HOST_EXPORTS) \
16214 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16215 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
16216 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
16217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16218 cd $(HOST_SUBDIR)/gmp || exit 1; \
16219 case $(srcdir) in \
16220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16221 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16223 esac; \
16224 srcdiroption="--srcdir=$${topdir}/gmp"; \
16225 libsrcdir="$$s/gmp"; \
16226 $(SHELL) $${libsrcdir}/configure \
16227 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16228 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16229 --with-build-libsubdir=$(HOST_SUBDIR) \
16230 @stage2_werror_flag@ --disable-shared
16231 @endif gmp-bootstrap
16233 .PHONY: configure-stageb3g2-gmp maybe-configure-stageb3g2-gmp
16234 maybe-configure-stageb3g2-gmp:
16235 @if gmp-bootstrap
16236 maybe-configure-stageb3g2-gmp: configure-stageb3g2-gmp
16237 configure-stageb3g2-gmp:
16238 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
16239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16240 @r=`${PWD_COMMAND}`; export r; \
16241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16242 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16243 $(HOST_EXPORTS) \
16244 $(POSTSTAGE1_HOST_EXPORTS) \
16245 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
16246 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
16247 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gmp ; \
16248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16249 cd $(HOST_SUBDIR)/gmp || exit 1; \
16250 case $(srcdir) in \
16251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16252 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16254 esac; \
16255 srcdiroption="--srcdir=$${topdir}/gmp"; \
16256 libsrcdir="$$s/gmp"; \
16257 $(SHELL) $${libsrcdir}/configure \
16258 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16259 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16260 --with-build-libsubdir=$(HOST_SUBDIR) \
16261 @stage2_werror_flag@ --disable-shared
16262 @endif gmp-bootstrap
16264 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
16265 maybe-configure-stage4-gmp:
16266 @if gmp-bootstrap
16267 maybe-configure-stage4-gmp: configure-stage4-gmp
16268 configure-stage4-gmp:
16269 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16271 @r=`${PWD_COMMAND}`; export r; \
16272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16273 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16274 $(HOST_EXPORTS) \
16275 $(POSTSTAGE1_HOST_EXPORTS) \
16276 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16277 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
16278 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
16279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16280 cd $(HOST_SUBDIR)/gmp || exit 1; \
16281 case $(srcdir) in \
16282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16283 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16285 esac; \
16286 srcdiroption="--srcdir=$${topdir}/gmp"; \
16287 libsrcdir="$$s/gmp"; \
16288 $(SHELL) $${libsrcdir}/configure \
16289 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16290 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16291 --with-build-libsubdir=$(HOST_SUBDIR) \
16292 @stage2_werror_flag@ --disable-shared
16293 @endif gmp-bootstrap
16295 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
16296 maybe-configure-stageprofile-gmp:
16297 @if gmp-bootstrap
16298 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
16299 configure-stageprofile-gmp:
16300 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16302 @r=`${PWD_COMMAND}`; export r; \
16303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16304 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16305 $(HOST_EXPORTS) \
16306 $(POSTSTAGE1_HOST_EXPORTS) \
16307 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
16308 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
16309 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
16310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16311 cd $(HOST_SUBDIR)/gmp || exit 1; \
16312 case $(srcdir) in \
16313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16314 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16316 esac; \
16317 srcdiroption="--srcdir=$${topdir}/gmp"; \
16318 libsrcdir="$$s/gmp"; \
16319 $(SHELL) $${libsrcdir}/configure \
16320 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16321 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16322 --with-build-libsubdir=$(HOST_SUBDIR) \
16323 @stage2_werror_flag@ --disable-shared
16324 @endif gmp-bootstrap
16326 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
16327 maybe-configure-stagefeedback-gmp:
16328 @if gmp-bootstrap
16329 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
16330 configure-stagefeedback-gmp:
16331 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16332 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16333 @r=`${PWD_COMMAND}`; export r; \
16334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16335 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16336 $(HOST_EXPORTS) \
16337 $(POSTSTAGE1_HOST_EXPORTS) \
16338 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
16339 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
16340 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
16341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16342 cd $(HOST_SUBDIR)/gmp || exit 1; \
16343 case $(srcdir) in \
16344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16345 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16347 esac; \
16348 srcdiroption="--srcdir=$${topdir}/gmp"; \
16349 libsrcdir="$$s/gmp"; \
16350 $(SHELL) $${libsrcdir}/configure \
16351 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16352 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16353 --with-build-libsubdir=$(HOST_SUBDIR) \
16354 @stage2_werror_flag@ --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 $(HOST_EXPORTS) \
16393 cd $(HOST_SUBDIR)/gmp && \
16394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16395 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
16396 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
16397 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
16398 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
16399 $(TARGET-stage1-gmp)
16401 maybe-clean-stage1-gmp: clean-stage1-gmp
16402 clean-stage1: clean-stage1-gmp
16403 clean-stage1-gmp:
16404 @if [ $(current_stage) = stage1 ]; then \
16405 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16406 else \
16407 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
16408 $(MAKE) stage1-start; \
16409 fi; \
16410 cd $(HOST_SUBDIR)/gmp && \
16411 $(MAKE) $(EXTRA_HOST_FLAGS) \
16412 clean
16413 @endif gmp-bootstrap
16416 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
16417 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
16418 maybe-all-stage2-gmp:
16419 maybe-clean-stage2-gmp:
16420 @if gmp-bootstrap
16421 maybe-all-stage2-gmp: all-stage2-gmp
16422 all-stage2: all-stage2-gmp
16423 TARGET-stage2-gmp = $(TARGET-gmp)
16424 all-stage2-gmp: configure-stage2-gmp
16425 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16426 @r=`${PWD_COMMAND}`; export r; \
16427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16428 $(HOST_EXPORTS) \
16429 $(POSTSTAGE1_HOST_EXPORTS) \
16430 cd $(HOST_SUBDIR)/gmp && \
16431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16432 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
16433 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
16434 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
16435 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16436 $(TARGET-stage2-gmp)
16438 maybe-clean-stage2-gmp: clean-stage2-gmp
16439 clean-stage2: clean-stage2-gmp
16440 clean-stage2-gmp:
16441 @if [ $(current_stage) = stage2 ]; then \
16442 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16443 else \
16444 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
16445 $(MAKE) stage2-start; \
16446 fi; \
16447 cd $(HOST_SUBDIR)/gmp && \
16448 $(MAKE) $(EXTRA_HOST_FLAGS) \
16449 $(POSTSTAGE1_FLAGS_TO_PASS) \
16450 clean
16451 @endif gmp-bootstrap
16454 .PHONY: all-stageb2g0-gmp maybe-all-stageb2g0-gmp
16455 .PHONY: clean-stageb2g0-gmp maybe-clean-stageb2g0-gmp
16456 maybe-all-stageb2g0-gmp:
16457 maybe-clean-stageb2g0-gmp:
16458 @if gmp-bootstrap
16459 maybe-all-stageb2g0-gmp: all-stageb2g0-gmp
16460 all-stageb2g0: all-stageb2g0-gmp
16461 TARGET-stageb2g0-gmp = $(TARGET-gmp)
16462 all-stageb2g0-gmp: configure-stageb2g0-gmp
16463 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
16464 @r=`${PWD_COMMAND}`; export r; \
16465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16466 $(HOST_EXPORTS) \
16467 $(POSTSTAGE1_HOST_EXPORTS) \
16468 cd $(HOST_SUBDIR)/gmp && \
16469 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16470 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
16471 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
16472 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
16473 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16474 $(TARGET-stageb2g0-gmp)
16476 maybe-clean-stageb2g0-gmp: clean-stageb2g0-gmp
16477 clean-stageb2g0: clean-stageb2g0-gmp
16478 clean-stageb2g0-gmp:
16479 @if [ $(current_stage) = stageb2g0 ]; then \
16480 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16481 else \
16482 [ -f $(HOST_SUBDIR)/stageb2g0-gmp/Makefile ] || exit 0; \
16483 $(MAKE) stageb2g0-start; \
16484 fi; \
16485 cd $(HOST_SUBDIR)/gmp && \
16486 $(MAKE) $(EXTRA_HOST_FLAGS) \
16487 $(POSTSTAGE1_FLAGS_TO_PASS) \
16488 clean
16489 @endif gmp-bootstrap
16492 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
16493 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
16494 maybe-all-stage3-gmp:
16495 maybe-clean-stage3-gmp:
16496 @if gmp-bootstrap
16497 maybe-all-stage3-gmp: all-stage3-gmp
16498 all-stage3: all-stage3-gmp
16499 TARGET-stage3-gmp = $(TARGET-gmp)
16500 all-stage3-gmp: configure-stage3-gmp
16501 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16502 @r=`${PWD_COMMAND}`; export r; \
16503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16504 $(HOST_EXPORTS) \
16505 $(POSTSTAGE1_HOST_EXPORTS) \
16506 cd $(HOST_SUBDIR)/gmp && \
16507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16508 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
16509 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
16510 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
16511 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16512 $(TARGET-stage3-gmp)
16514 maybe-clean-stage3-gmp: clean-stage3-gmp
16515 clean-stage3: clean-stage3-gmp
16516 clean-stage3-gmp:
16517 @if [ $(current_stage) = stage3 ]; then \
16518 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16519 else \
16520 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
16521 $(MAKE) stage3-start; \
16522 fi; \
16523 cd $(HOST_SUBDIR)/gmp && \
16524 $(MAKE) $(EXTRA_HOST_FLAGS) \
16525 $(POSTSTAGE1_FLAGS_TO_PASS) \
16526 clean
16527 @endif gmp-bootstrap
16530 .PHONY: all-stageb3g2-gmp maybe-all-stageb3g2-gmp
16531 .PHONY: clean-stageb3g2-gmp maybe-clean-stageb3g2-gmp
16532 maybe-all-stageb3g2-gmp:
16533 maybe-clean-stageb3g2-gmp:
16534 @if gmp-bootstrap
16535 maybe-all-stageb3g2-gmp: all-stageb3g2-gmp
16536 all-stageb3g2: all-stageb3g2-gmp
16537 TARGET-stageb3g2-gmp = $(TARGET-gmp)
16538 all-stageb3g2-gmp: configure-stageb3g2-gmp
16539 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
16540 @r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(HOST_EXPORTS) \
16543 $(POSTSTAGE1_HOST_EXPORTS) \
16544 cd $(HOST_SUBDIR)/gmp && \
16545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16546 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
16547 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
16548 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
16549 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16550 $(TARGET-stageb3g2-gmp)
16552 maybe-clean-stageb3g2-gmp: clean-stageb3g2-gmp
16553 clean-stageb3g2: clean-stageb3g2-gmp
16554 clean-stageb3g2-gmp:
16555 @if [ $(current_stage) = stageb3g2 ]; then \
16556 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16557 else \
16558 [ -f $(HOST_SUBDIR)/stageb3g2-gmp/Makefile ] || exit 0; \
16559 $(MAKE) stageb3g2-start; \
16560 fi; \
16561 cd $(HOST_SUBDIR)/gmp && \
16562 $(MAKE) $(EXTRA_HOST_FLAGS) \
16563 $(POSTSTAGE1_FLAGS_TO_PASS) \
16564 clean
16565 @endif gmp-bootstrap
16568 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
16569 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
16570 maybe-all-stage4-gmp:
16571 maybe-clean-stage4-gmp:
16572 @if gmp-bootstrap
16573 maybe-all-stage4-gmp: all-stage4-gmp
16574 all-stage4: all-stage4-gmp
16575 TARGET-stage4-gmp = $(TARGET-gmp)
16576 all-stage4-gmp: configure-stage4-gmp
16577 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16578 @r=`${PWD_COMMAND}`; export r; \
16579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16580 $(HOST_EXPORTS) \
16581 $(POSTSTAGE1_HOST_EXPORTS) \
16582 cd $(HOST_SUBDIR)/gmp && \
16583 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16584 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
16585 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16586 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
16587 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16588 $(TARGET-stage4-gmp)
16590 maybe-clean-stage4-gmp: clean-stage4-gmp
16591 clean-stage4: clean-stage4-gmp
16592 clean-stage4-gmp:
16593 @if [ $(current_stage) = stage4 ]; then \
16594 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16595 else \
16596 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
16597 $(MAKE) stage4-start; \
16598 fi; \
16599 cd $(HOST_SUBDIR)/gmp && \
16600 $(MAKE) $(EXTRA_HOST_FLAGS) \
16601 $(POSTSTAGE1_FLAGS_TO_PASS) \
16602 clean
16603 @endif gmp-bootstrap
16606 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
16607 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
16608 maybe-all-stageprofile-gmp:
16609 maybe-clean-stageprofile-gmp:
16610 @if gmp-bootstrap
16611 maybe-all-stageprofile-gmp: all-stageprofile-gmp
16612 all-stageprofile: all-stageprofile-gmp
16613 TARGET-stageprofile-gmp = $(TARGET-gmp)
16614 all-stageprofile-gmp: configure-stageprofile-gmp
16615 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16616 @r=`${PWD_COMMAND}`; export r; \
16617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16618 $(HOST_EXPORTS) \
16619 $(POSTSTAGE1_HOST_EXPORTS) \
16620 cd $(HOST_SUBDIR)/gmp && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16622 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
16623 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
16624 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
16625 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16626 $(TARGET-stageprofile-gmp)
16628 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
16629 clean-stageprofile: clean-stageprofile-gmp
16630 clean-stageprofile-gmp:
16631 @if [ $(current_stage) = stageprofile ]; then \
16632 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16633 else \
16634 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
16635 $(MAKE) stageprofile-start; \
16636 fi; \
16637 cd $(HOST_SUBDIR)/gmp && \
16638 $(MAKE) $(EXTRA_HOST_FLAGS) \
16639 $(POSTSTAGE1_FLAGS_TO_PASS) \
16640 clean
16641 @endif gmp-bootstrap
16644 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
16645 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
16646 maybe-all-stagefeedback-gmp:
16647 maybe-clean-stagefeedback-gmp:
16648 @if gmp-bootstrap
16649 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
16650 all-stagefeedback: all-stagefeedback-gmp
16651 TARGET-stagefeedback-gmp = $(TARGET-gmp)
16652 all-stagefeedback-gmp: configure-stagefeedback-gmp
16653 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16654 @r=`${PWD_COMMAND}`; export r; \
16655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16656 $(HOST_EXPORTS) \
16657 $(POSTSTAGE1_HOST_EXPORTS) \
16658 cd $(HOST_SUBDIR)/gmp && \
16659 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16660 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
16661 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
16662 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
16663 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16664 $(TARGET-stagefeedback-gmp)
16666 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
16667 clean-stagefeedback: clean-stagefeedback-gmp
16668 clean-stagefeedback-gmp:
16669 @if [ $(current_stage) = stagefeedback ]; then \
16670 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16671 else \
16672 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
16673 $(MAKE) stagefeedback-start; \
16674 fi; \
16675 cd $(HOST_SUBDIR)/gmp && \
16676 $(MAKE) $(EXTRA_HOST_FLAGS) \
16677 $(POSTSTAGE1_FLAGS_TO_PASS) \
16678 clean
16679 @endif gmp-bootstrap
16685 .PHONY: check-gmp maybe-check-gmp
16686 maybe-check-gmp:
16687 @if gmp
16688 maybe-check-gmp: check-gmp
16690 check-gmp:
16691 @: $(MAKE); $(unstage)
16692 @r=`${PWD_COMMAND}`; export r; \
16693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16694 $(HOST_EXPORTS) \
16695 (cd $(HOST_SUBDIR)/gmp && \
16696 $(MAKE) $(FLAGS_TO_PASS) check)
16698 @endif gmp
16700 .PHONY: install-gmp maybe-install-gmp
16701 maybe-install-gmp:
16702 @if gmp
16703 maybe-install-gmp: install-gmp
16705 install-gmp:
16707 @endif gmp
16709 # Other targets (info, dvi, pdf, etc.)
16711 .PHONY: maybe-info-gmp info-gmp
16712 maybe-info-gmp:
16713 @if gmp
16714 maybe-info-gmp: info-gmp
16716 info-gmp: \
16717 configure-gmp
16718 @[ -f ./gmp/Makefile ] || exit 0; \
16719 r=`${PWD_COMMAND}`; export r; \
16720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16721 $(HOST_EXPORTS) \
16722 for flag in $(EXTRA_HOST_FLAGS) ; do \
16723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16724 done; \
16725 echo "Doing info in gmp" ; \
16726 (cd $(HOST_SUBDIR)/gmp && \
16727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16729 "RANLIB=$${RANLIB}" \
16730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16731 info) \
16732 || exit 1
16734 @endif gmp
16736 .PHONY: maybe-dvi-gmp dvi-gmp
16737 maybe-dvi-gmp:
16738 @if gmp
16739 maybe-dvi-gmp: dvi-gmp
16741 dvi-gmp: \
16742 configure-gmp
16743 @[ -f ./gmp/Makefile ] || exit 0; \
16744 r=`${PWD_COMMAND}`; export r; \
16745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16746 $(HOST_EXPORTS) \
16747 for flag in $(EXTRA_HOST_FLAGS) ; do \
16748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16749 done; \
16750 echo "Doing dvi in gmp" ; \
16751 (cd $(HOST_SUBDIR)/gmp && \
16752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16754 "RANLIB=$${RANLIB}" \
16755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16756 dvi) \
16757 || exit 1
16759 @endif gmp
16761 .PHONY: maybe-pdf-gmp pdf-gmp
16762 maybe-pdf-gmp:
16763 @if gmp
16764 maybe-pdf-gmp: pdf-gmp
16766 pdf-gmp: \
16767 configure-gmp
16768 @[ -f ./gmp/Makefile ] || exit 0; \
16769 r=`${PWD_COMMAND}`; export r; \
16770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16771 $(HOST_EXPORTS) \
16772 for flag in $(EXTRA_HOST_FLAGS) ; do \
16773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16774 done; \
16775 echo "Doing pdf in gmp" ; \
16776 (cd $(HOST_SUBDIR)/gmp && \
16777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16779 "RANLIB=$${RANLIB}" \
16780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16781 pdf) \
16782 || exit 1
16784 @endif gmp
16786 .PHONY: maybe-html-gmp html-gmp
16787 maybe-html-gmp:
16788 @if gmp
16789 maybe-html-gmp: html-gmp
16791 html-gmp: \
16792 configure-gmp
16793 @[ -f ./gmp/Makefile ] || exit 0; \
16794 r=`${PWD_COMMAND}`; export r; \
16795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16796 $(HOST_EXPORTS) \
16797 for flag in $(EXTRA_HOST_FLAGS) ; do \
16798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16799 done; \
16800 echo "Doing html in gmp" ; \
16801 (cd $(HOST_SUBDIR)/gmp && \
16802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16804 "RANLIB=$${RANLIB}" \
16805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16806 html) \
16807 || exit 1
16809 @endif gmp
16811 .PHONY: maybe-TAGS-gmp TAGS-gmp
16812 maybe-TAGS-gmp:
16813 @if gmp
16814 maybe-TAGS-gmp: TAGS-gmp
16816 TAGS-gmp: \
16817 configure-gmp
16818 @[ -f ./gmp/Makefile ] || exit 0; \
16819 r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16821 $(HOST_EXPORTS) \
16822 for flag in $(EXTRA_HOST_FLAGS) ; do \
16823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16824 done; \
16825 echo "Doing TAGS in gmp" ; \
16826 (cd $(HOST_SUBDIR)/gmp && \
16827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16829 "RANLIB=$${RANLIB}" \
16830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16831 TAGS) \
16832 || exit 1
16834 @endif gmp
16836 .PHONY: maybe-install-info-gmp install-info-gmp
16837 maybe-install-info-gmp:
16838 @if gmp
16839 maybe-install-info-gmp: install-info-gmp
16841 install-info-gmp: \
16842 configure-gmp \
16843 info-gmp
16844 @[ -f ./gmp/Makefile ] || exit 0; \
16845 r=`${PWD_COMMAND}`; export r; \
16846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16847 $(HOST_EXPORTS) \
16848 for flag in $(EXTRA_HOST_FLAGS) ; do \
16849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16850 done; \
16851 echo "Doing install-info in gmp" ; \
16852 (cd $(HOST_SUBDIR)/gmp && \
16853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16855 "RANLIB=$${RANLIB}" \
16856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16857 install-info) \
16858 || exit 1
16860 @endif gmp
16862 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
16863 maybe-install-pdf-gmp:
16864 @if gmp
16865 maybe-install-pdf-gmp: install-pdf-gmp
16867 install-pdf-gmp: \
16868 configure-gmp \
16869 pdf-gmp
16870 @[ -f ./gmp/Makefile ] || exit 0; \
16871 r=`${PWD_COMMAND}`; export r; \
16872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16873 $(HOST_EXPORTS) \
16874 for flag in $(EXTRA_HOST_FLAGS) ; do \
16875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16876 done; \
16877 echo "Doing install-pdf in gmp" ; \
16878 (cd $(HOST_SUBDIR)/gmp && \
16879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16881 "RANLIB=$${RANLIB}" \
16882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16883 install-pdf) \
16884 || exit 1
16886 @endif gmp
16888 .PHONY: maybe-install-html-gmp install-html-gmp
16889 maybe-install-html-gmp:
16890 @if gmp
16891 maybe-install-html-gmp: install-html-gmp
16893 install-html-gmp: \
16894 configure-gmp \
16895 html-gmp
16896 @[ -f ./gmp/Makefile ] || exit 0; \
16897 r=`${PWD_COMMAND}`; export r; \
16898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16899 $(HOST_EXPORTS) \
16900 for flag in $(EXTRA_HOST_FLAGS) ; do \
16901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16902 done; \
16903 echo "Doing install-html in gmp" ; \
16904 (cd $(HOST_SUBDIR)/gmp && \
16905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16907 "RANLIB=$${RANLIB}" \
16908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16909 install-html) \
16910 || exit 1
16912 @endif gmp
16914 .PHONY: maybe-installcheck-gmp installcheck-gmp
16915 maybe-installcheck-gmp:
16916 @if gmp
16917 maybe-installcheck-gmp: installcheck-gmp
16919 installcheck-gmp: \
16920 configure-gmp
16921 @[ -f ./gmp/Makefile ] || exit 0; \
16922 r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(HOST_EXPORTS) \
16925 for flag in $(EXTRA_HOST_FLAGS) ; do \
16926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16927 done; \
16928 echo "Doing installcheck in gmp" ; \
16929 (cd $(HOST_SUBDIR)/gmp && \
16930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16932 "RANLIB=$${RANLIB}" \
16933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16934 installcheck) \
16935 || exit 1
16937 @endif gmp
16939 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
16940 maybe-mostlyclean-gmp:
16941 @if gmp
16942 maybe-mostlyclean-gmp: mostlyclean-gmp
16944 mostlyclean-gmp:
16945 @[ -f ./gmp/Makefile ] || exit 0; \
16946 r=`${PWD_COMMAND}`; export r; \
16947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16948 $(HOST_EXPORTS) \
16949 for flag in $(EXTRA_HOST_FLAGS) ; do \
16950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16951 done; \
16952 echo "Doing mostlyclean in gmp" ; \
16953 (cd $(HOST_SUBDIR)/gmp && \
16954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16956 "RANLIB=$${RANLIB}" \
16957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16958 mostlyclean) \
16959 || exit 1
16961 @endif gmp
16963 .PHONY: maybe-clean-gmp clean-gmp
16964 maybe-clean-gmp:
16965 @if gmp
16966 maybe-clean-gmp: clean-gmp
16968 clean-gmp:
16969 @[ -f ./gmp/Makefile ] || exit 0; \
16970 r=`${PWD_COMMAND}`; export r; \
16971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16972 $(HOST_EXPORTS) \
16973 for flag in $(EXTRA_HOST_FLAGS) ; do \
16974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16975 done; \
16976 echo "Doing clean in gmp" ; \
16977 (cd $(HOST_SUBDIR)/gmp && \
16978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16980 "RANLIB=$${RANLIB}" \
16981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16982 clean) \
16983 || exit 1
16985 @endif gmp
16987 .PHONY: maybe-distclean-gmp distclean-gmp
16988 maybe-distclean-gmp:
16989 @if gmp
16990 maybe-distclean-gmp: distclean-gmp
16992 distclean-gmp:
16993 @[ -f ./gmp/Makefile ] || exit 0; \
16994 r=`${PWD_COMMAND}`; export r; \
16995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16996 $(HOST_EXPORTS) \
16997 for flag in $(EXTRA_HOST_FLAGS) ; do \
16998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16999 done; \
17000 echo "Doing distclean in gmp" ; \
17001 (cd $(HOST_SUBDIR)/gmp && \
17002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17004 "RANLIB=$${RANLIB}" \
17005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17006 distclean) \
17007 || exit 1
17009 @endif gmp
17011 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
17012 maybe-maintainer-clean-gmp:
17013 @if gmp
17014 maybe-maintainer-clean-gmp: maintainer-clean-gmp
17016 maintainer-clean-gmp:
17017 @[ -f ./gmp/Makefile ] || exit 0; \
17018 r=`${PWD_COMMAND}`; export r; \
17019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17020 $(HOST_EXPORTS) \
17021 for flag in $(EXTRA_HOST_FLAGS) ; do \
17022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17023 done; \
17024 echo "Doing maintainer-clean in gmp" ; \
17025 (cd $(HOST_SUBDIR)/gmp && \
17026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17028 "RANLIB=$${RANLIB}" \
17029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17030 maintainer-clean) \
17031 || exit 1
17033 @endif gmp
17037 .PHONY: configure-mpfr maybe-configure-mpfr
17038 maybe-configure-mpfr:
17039 @if gcc-bootstrap
17040 configure-mpfr: stage_current
17041 @endif gcc-bootstrap
17042 @if mpfr
17043 maybe-configure-mpfr: configure-mpfr
17044 configure-mpfr:
17045 @r=`${PWD_COMMAND}`; export r; \
17046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17047 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17049 $(HOST_EXPORTS) \
17050 echo Configuring in $(HOST_SUBDIR)/mpfr; \
17051 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
17052 case $(srcdir) in \
17053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17054 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17056 esac; \
17057 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17058 libsrcdir="$$s/mpfr"; \
17059 $(SHELL) $${libsrcdir}/configure \
17060 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17061 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
17062 || exit 1
17063 @endif mpfr
17067 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
17068 maybe-configure-stage1-mpfr:
17069 @if mpfr-bootstrap
17070 maybe-configure-stage1-mpfr: configure-stage1-mpfr
17071 configure-stage1-mpfr:
17072 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17074 @r=`${PWD_COMMAND}`; export r; \
17075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17076 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17077 $(HOST_EXPORTS) \
17078 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17079 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
17080 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
17081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17082 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17083 case $(srcdir) in \
17084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17085 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17087 esac; \
17088 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17089 libsrcdir="$$s/mpfr"; \
17090 $(SHELL) $${libsrcdir}/configure \
17091 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17092 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17094 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17095 @endif mpfr-bootstrap
17097 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
17098 maybe-configure-stage2-mpfr:
17099 @if mpfr-bootstrap
17100 maybe-configure-stage2-mpfr: configure-stage2-mpfr
17101 configure-stage2-mpfr:
17102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17104 @r=`${PWD_COMMAND}`; export r; \
17105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17106 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17107 $(HOST_EXPORTS) \
17108 $(POSTSTAGE1_HOST_EXPORTS) \
17109 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17110 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
17111 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
17112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17113 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17114 case $(srcdir) in \
17115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17116 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17118 esac; \
17119 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17120 libsrcdir="$$s/mpfr"; \
17121 $(SHELL) $${libsrcdir}/configure \
17122 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17123 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17124 --with-build-libsubdir=$(HOST_SUBDIR) \
17125 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17126 @endif mpfr-bootstrap
17128 .PHONY: configure-stageb2g0-mpfr maybe-configure-stageb2g0-mpfr
17129 maybe-configure-stageb2g0-mpfr:
17130 @if mpfr-bootstrap
17131 maybe-configure-stageb2g0-mpfr: configure-stageb2g0-mpfr
17132 configure-stageb2g0-mpfr:
17133 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
17134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17135 @r=`${PWD_COMMAND}`; export r; \
17136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17137 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17138 $(HOST_EXPORTS) \
17139 $(POSTSTAGE1_HOST_EXPORTS) \
17140 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
17141 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
17142 echo Configuring stage b2g0 in $(HOST_SUBDIR)/mpfr ; \
17143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17144 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17145 case $(srcdir) in \
17146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17147 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17149 esac; \
17150 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17151 libsrcdir="$$s/mpfr"; \
17152 $(SHELL) $${libsrcdir}/configure \
17153 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17154 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17155 --with-build-libsubdir=$(HOST_SUBDIR) \
17156 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17157 @endif mpfr-bootstrap
17159 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
17160 maybe-configure-stage3-mpfr:
17161 @if mpfr-bootstrap
17162 maybe-configure-stage3-mpfr: configure-stage3-mpfr
17163 configure-stage3-mpfr:
17164 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17166 @r=`${PWD_COMMAND}`; export r; \
17167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17168 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17169 $(HOST_EXPORTS) \
17170 $(POSTSTAGE1_HOST_EXPORTS) \
17171 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17172 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
17173 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
17174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17175 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17176 case $(srcdir) in \
17177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17178 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17180 esac; \
17181 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17182 libsrcdir="$$s/mpfr"; \
17183 $(SHELL) $${libsrcdir}/configure \
17184 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17185 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17186 --with-build-libsubdir=$(HOST_SUBDIR) \
17187 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17188 @endif mpfr-bootstrap
17190 .PHONY: configure-stageb3g2-mpfr maybe-configure-stageb3g2-mpfr
17191 maybe-configure-stageb3g2-mpfr:
17192 @if mpfr-bootstrap
17193 maybe-configure-stageb3g2-mpfr: configure-stageb3g2-mpfr
17194 configure-stageb3g2-mpfr:
17195 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
17196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17197 @r=`${PWD_COMMAND}`; export r; \
17198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17199 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17200 $(HOST_EXPORTS) \
17201 $(POSTSTAGE1_HOST_EXPORTS) \
17202 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
17203 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
17204 echo Configuring stage b3g2 in $(HOST_SUBDIR)/mpfr ; \
17205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17206 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17207 case $(srcdir) in \
17208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17209 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17211 esac; \
17212 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17213 libsrcdir="$$s/mpfr"; \
17214 $(SHELL) $${libsrcdir}/configure \
17215 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17216 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17217 --with-build-libsubdir=$(HOST_SUBDIR) \
17218 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17219 @endif mpfr-bootstrap
17221 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
17222 maybe-configure-stage4-mpfr:
17223 @if mpfr-bootstrap
17224 maybe-configure-stage4-mpfr: configure-stage4-mpfr
17225 configure-stage4-mpfr:
17226 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17228 @r=`${PWD_COMMAND}`; export r; \
17229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17230 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17231 $(HOST_EXPORTS) \
17232 $(POSTSTAGE1_HOST_EXPORTS) \
17233 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17234 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
17235 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
17236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17237 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17238 case $(srcdir) in \
17239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17240 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17242 esac; \
17243 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17244 libsrcdir="$$s/mpfr"; \
17245 $(SHELL) $${libsrcdir}/configure \
17246 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17247 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17248 --with-build-libsubdir=$(HOST_SUBDIR) \
17249 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17250 @endif mpfr-bootstrap
17252 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
17253 maybe-configure-stageprofile-mpfr:
17254 @if mpfr-bootstrap
17255 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
17256 configure-stageprofile-mpfr:
17257 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17259 @r=`${PWD_COMMAND}`; export r; \
17260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17261 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17262 $(HOST_EXPORTS) \
17263 $(POSTSTAGE1_HOST_EXPORTS) \
17264 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
17265 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
17266 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
17267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17268 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17269 case $(srcdir) in \
17270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17271 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17273 esac; \
17274 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17275 libsrcdir="$$s/mpfr"; \
17276 $(SHELL) $${libsrcdir}/configure \
17277 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17278 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17279 --with-build-libsubdir=$(HOST_SUBDIR) \
17280 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17281 @endif mpfr-bootstrap
17283 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
17284 maybe-configure-stagefeedback-mpfr:
17285 @if mpfr-bootstrap
17286 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
17287 configure-stagefeedback-mpfr:
17288 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17290 @r=`${PWD_COMMAND}`; export r; \
17291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17292 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17293 $(HOST_EXPORTS) \
17294 $(POSTSTAGE1_HOST_EXPORTS) \
17295 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
17296 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
17297 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
17298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17299 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17300 case $(srcdir) in \
17301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17302 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17304 esac; \
17305 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17306 libsrcdir="$$s/mpfr"; \
17307 $(SHELL) $${libsrcdir}/configure \
17308 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17309 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17310 --with-build-libsubdir=$(HOST_SUBDIR) \
17311 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17312 @endif mpfr-bootstrap
17318 .PHONY: all-mpfr maybe-all-mpfr
17319 maybe-all-mpfr:
17320 @if gcc-bootstrap
17321 all-mpfr: stage_current
17322 @endif gcc-bootstrap
17323 @if mpfr
17324 TARGET-mpfr=all
17325 maybe-all-mpfr: all-mpfr
17326 all-mpfr: configure-mpfr
17327 @r=`${PWD_COMMAND}`; export r; \
17328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17329 $(HOST_EXPORTS) \
17330 (cd $(HOST_SUBDIR)/mpfr && \
17331 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17332 $(TARGET-mpfr))
17333 @endif mpfr
17337 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
17338 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
17339 maybe-all-stage1-mpfr:
17340 maybe-clean-stage1-mpfr:
17341 @if mpfr-bootstrap
17342 maybe-all-stage1-mpfr: all-stage1-mpfr
17343 all-stage1: all-stage1-mpfr
17344 TARGET-stage1-mpfr = $(TARGET-mpfr)
17345 all-stage1-mpfr: configure-stage1-mpfr
17346 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17347 @r=`${PWD_COMMAND}`; export r; \
17348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17349 $(HOST_EXPORTS) \
17350 cd $(HOST_SUBDIR)/mpfr && \
17351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17352 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
17353 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
17354 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
17355 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
17356 $(TARGET-stage1-mpfr)
17358 maybe-clean-stage1-mpfr: clean-stage1-mpfr
17359 clean-stage1: clean-stage1-mpfr
17360 clean-stage1-mpfr:
17361 @if [ $(current_stage) = stage1 ]; then \
17362 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17363 else \
17364 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
17365 $(MAKE) stage1-start; \
17366 fi; \
17367 cd $(HOST_SUBDIR)/mpfr && \
17368 $(MAKE) $(EXTRA_HOST_FLAGS) \
17369 clean
17370 @endif mpfr-bootstrap
17373 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
17374 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
17375 maybe-all-stage2-mpfr:
17376 maybe-clean-stage2-mpfr:
17377 @if mpfr-bootstrap
17378 maybe-all-stage2-mpfr: all-stage2-mpfr
17379 all-stage2: all-stage2-mpfr
17380 TARGET-stage2-mpfr = $(TARGET-mpfr)
17381 all-stage2-mpfr: configure-stage2-mpfr
17382 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17383 @r=`${PWD_COMMAND}`; export r; \
17384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17385 $(HOST_EXPORTS) \
17386 $(POSTSTAGE1_HOST_EXPORTS) \
17387 cd $(HOST_SUBDIR)/mpfr && \
17388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17389 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
17390 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
17391 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
17392 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17393 $(TARGET-stage2-mpfr)
17395 maybe-clean-stage2-mpfr: clean-stage2-mpfr
17396 clean-stage2: clean-stage2-mpfr
17397 clean-stage2-mpfr:
17398 @if [ $(current_stage) = stage2 ]; then \
17399 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17400 else \
17401 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
17402 $(MAKE) stage2-start; \
17403 fi; \
17404 cd $(HOST_SUBDIR)/mpfr && \
17405 $(MAKE) $(EXTRA_HOST_FLAGS) \
17406 $(POSTSTAGE1_FLAGS_TO_PASS) \
17407 clean
17408 @endif mpfr-bootstrap
17411 .PHONY: all-stageb2g0-mpfr maybe-all-stageb2g0-mpfr
17412 .PHONY: clean-stageb2g0-mpfr maybe-clean-stageb2g0-mpfr
17413 maybe-all-stageb2g0-mpfr:
17414 maybe-clean-stageb2g0-mpfr:
17415 @if mpfr-bootstrap
17416 maybe-all-stageb2g0-mpfr: all-stageb2g0-mpfr
17417 all-stageb2g0: all-stageb2g0-mpfr
17418 TARGET-stageb2g0-mpfr = $(TARGET-mpfr)
17419 all-stageb2g0-mpfr: configure-stageb2g0-mpfr
17420 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
17421 @r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 $(HOST_EXPORTS) \
17424 $(POSTSTAGE1_HOST_EXPORTS) \
17425 cd $(HOST_SUBDIR)/mpfr && \
17426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17427 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
17428 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
17429 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
17430 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17431 $(TARGET-stageb2g0-mpfr)
17433 maybe-clean-stageb2g0-mpfr: clean-stageb2g0-mpfr
17434 clean-stageb2g0: clean-stageb2g0-mpfr
17435 clean-stageb2g0-mpfr:
17436 @if [ $(current_stage) = stageb2g0 ]; then \
17437 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17438 else \
17439 [ -f $(HOST_SUBDIR)/stageb2g0-mpfr/Makefile ] || exit 0; \
17440 $(MAKE) stageb2g0-start; \
17441 fi; \
17442 cd $(HOST_SUBDIR)/mpfr && \
17443 $(MAKE) $(EXTRA_HOST_FLAGS) \
17444 $(POSTSTAGE1_FLAGS_TO_PASS) \
17445 clean
17446 @endif mpfr-bootstrap
17449 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
17450 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
17451 maybe-all-stage3-mpfr:
17452 maybe-clean-stage3-mpfr:
17453 @if mpfr-bootstrap
17454 maybe-all-stage3-mpfr: all-stage3-mpfr
17455 all-stage3: all-stage3-mpfr
17456 TARGET-stage3-mpfr = $(TARGET-mpfr)
17457 all-stage3-mpfr: configure-stage3-mpfr
17458 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17459 @r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461 $(HOST_EXPORTS) \
17462 $(POSTSTAGE1_HOST_EXPORTS) \
17463 cd $(HOST_SUBDIR)/mpfr && \
17464 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17465 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
17466 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
17467 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
17468 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17469 $(TARGET-stage3-mpfr)
17471 maybe-clean-stage3-mpfr: clean-stage3-mpfr
17472 clean-stage3: clean-stage3-mpfr
17473 clean-stage3-mpfr:
17474 @if [ $(current_stage) = stage3 ]; then \
17475 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17476 else \
17477 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
17478 $(MAKE) stage3-start; \
17479 fi; \
17480 cd $(HOST_SUBDIR)/mpfr && \
17481 $(MAKE) $(EXTRA_HOST_FLAGS) \
17482 $(POSTSTAGE1_FLAGS_TO_PASS) \
17483 clean
17484 @endif mpfr-bootstrap
17487 .PHONY: all-stageb3g2-mpfr maybe-all-stageb3g2-mpfr
17488 .PHONY: clean-stageb3g2-mpfr maybe-clean-stageb3g2-mpfr
17489 maybe-all-stageb3g2-mpfr:
17490 maybe-clean-stageb3g2-mpfr:
17491 @if mpfr-bootstrap
17492 maybe-all-stageb3g2-mpfr: all-stageb3g2-mpfr
17493 all-stageb3g2: all-stageb3g2-mpfr
17494 TARGET-stageb3g2-mpfr = $(TARGET-mpfr)
17495 all-stageb3g2-mpfr: configure-stageb3g2-mpfr
17496 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
17497 @r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 $(HOST_EXPORTS) \
17500 $(POSTSTAGE1_HOST_EXPORTS) \
17501 cd $(HOST_SUBDIR)/mpfr && \
17502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17503 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
17504 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
17505 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
17506 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17507 $(TARGET-stageb3g2-mpfr)
17509 maybe-clean-stageb3g2-mpfr: clean-stageb3g2-mpfr
17510 clean-stageb3g2: clean-stageb3g2-mpfr
17511 clean-stageb3g2-mpfr:
17512 @if [ $(current_stage) = stageb3g2 ]; then \
17513 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17514 else \
17515 [ -f $(HOST_SUBDIR)/stageb3g2-mpfr/Makefile ] || exit 0; \
17516 $(MAKE) stageb3g2-start; \
17517 fi; \
17518 cd $(HOST_SUBDIR)/mpfr && \
17519 $(MAKE) $(EXTRA_HOST_FLAGS) \
17520 $(POSTSTAGE1_FLAGS_TO_PASS) \
17521 clean
17522 @endif mpfr-bootstrap
17525 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
17526 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
17527 maybe-all-stage4-mpfr:
17528 maybe-clean-stage4-mpfr:
17529 @if mpfr-bootstrap
17530 maybe-all-stage4-mpfr: all-stage4-mpfr
17531 all-stage4: all-stage4-mpfr
17532 TARGET-stage4-mpfr = $(TARGET-mpfr)
17533 all-stage4-mpfr: configure-stage4-mpfr
17534 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17535 @r=`${PWD_COMMAND}`; export r; \
17536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17537 $(HOST_EXPORTS) \
17538 $(POSTSTAGE1_HOST_EXPORTS) \
17539 cd $(HOST_SUBDIR)/mpfr && \
17540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17541 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
17542 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17543 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
17544 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17545 $(TARGET-stage4-mpfr)
17547 maybe-clean-stage4-mpfr: clean-stage4-mpfr
17548 clean-stage4: clean-stage4-mpfr
17549 clean-stage4-mpfr:
17550 @if [ $(current_stage) = stage4 ]; then \
17551 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17552 else \
17553 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
17554 $(MAKE) stage4-start; \
17555 fi; \
17556 cd $(HOST_SUBDIR)/mpfr && \
17557 $(MAKE) $(EXTRA_HOST_FLAGS) \
17558 $(POSTSTAGE1_FLAGS_TO_PASS) \
17559 clean
17560 @endif mpfr-bootstrap
17563 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
17564 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
17565 maybe-all-stageprofile-mpfr:
17566 maybe-clean-stageprofile-mpfr:
17567 @if mpfr-bootstrap
17568 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
17569 all-stageprofile: all-stageprofile-mpfr
17570 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
17571 all-stageprofile-mpfr: configure-stageprofile-mpfr
17572 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17573 @r=`${PWD_COMMAND}`; export r; \
17574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17575 $(HOST_EXPORTS) \
17576 $(POSTSTAGE1_HOST_EXPORTS) \
17577 cd $(HOST_SUBDIR)/mpfr && \
17578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17579 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
17580 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
17581 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
17582 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17583 $(TARGET-stageprofile-mpfr)
17585 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
17586 clean-stageprofile: clean-stageprofile-mpfr
17587 clean-stageprofile-mpfr:
17588 @if [ $(current_stage) = stageprofile ]; then \
17589 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17590 else \
17591 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
17592 $(MAKE) stageprofile-start; \
17593 fi; \
17594 cd $(HOST_SUBDIR)/mpfr && \
17595 $(MAKE) $(EXTRA_HOST_FLAGS) \
17596 $(POSTSTAGE1_FLAGS_TO_PASS) \
17597 clean
17598 @endif mpfr-bootstrap
17601 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
17602 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
17603 maybe-all-stagefeedback-mpfr:
17604 maybe-clean-stagefeedback-mpfr:
17605 @if mpfr-bootstrap
17606 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
17607 all-stagefeedback: all-stagefeedback-mpfr
17608 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
17609 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
17610 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17611 @r=`${PWD_COMMAND}`; export r; \
17612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17613 $(HOST_EXPORTS) \
17614 $(POSTSTAGE1_HOST_EXPORTS) \
17615 cd $(HOST_SUBDIR)/mpfr && \
17616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17617 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
17618 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
17619 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
17620 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17621 $(TARGET-stagefeedback-mpfr)
17623 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
17624 clean-stagefeedback: clean-stagefeedback-mpfr
17625 clean-stagefeedback-mpfr:
17626 @if [ $(current_stage) = stagefeedback ]; then \
17627 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17628 else \
17629 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
17630 $(MAKE) stagefeedback-start; \
17631 fi; \
17632 cd $(HOST_SUBDIR)/mpfr && \
17633 $(MAKE) $(EXTRA_HOST_FLAGS) \
17634 $(POSTSTAGE1_FLAGS_TO_PASS) \
17635 clean
17636 @endif mpfr-bootstrap
17642 .PHONY: check-mpfr maybe-check-mpfr
17643 maybe-check-mpfr:
17644 @if mpfr
17645 maybe-check-mpfr: check-mpfr
17647 check-mpfr:
17648 @: $(MAKE); $(unstage)
17649 @r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17651 $(HOST_EXPORTS) \
17652 (cd $(HOST_SUBDIR)/mpfr && \
17653 $(MAKE) $(FLAGS_TO_PASS) check)
17655 @endif mpfr
17657 .PHONY: install-mpfr maybe-install-mpfr
17658 maybe-install-mpfr:
17659 @if mpfr
17660 maybe-install-mpfr: install-mpfr
17662 install-mpfr:
17664 @endif mpfr
17666 # Other targets (info, dvi, pdf, etc.)
17668 .PHONY: maybe-info-mpfr info-mpfr
17669 maybe-info-mpfr:
17670 @if mpfr
17671 maybe-info-mpfr: info-mpfr
17673 info-mpfr: \
17674 configure-mpfr
17675 @[ -f ./mpfr/Makefile ] || exit 0; \
17676 r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 $(HOST_EXPORTS) \
17679 for flag in $(EXTRA_HOST_FLAGS) ; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 done; \
17682 echo "Doing info in mpfr" ; \
17683 (cd $(HOST_SUBDIR)/mpfr && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17688 info) \
17689 || exit 1
17691 @endif mpfr
17693 .PHONY: maybe-dvi-mpfr dvi-mpfr
17694 maybe-dvi-mpfr:
17695 @if mpfr
17696 maybe-dvi-mpfr: dvi-mpfr
17698 dvi-mpfr: \
17699 configure-mpfr
17700 @[ -f ./mpfr/Makefile ] || exit 0; \
17701 r=`${PWD_COMMAND}`; export r; \
17702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17703 $(HOST_EXPORTS) \
17704 for flag in $(EXTRA_HOST_FLAGS) ; do \
17705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17706 done; \
17707 echo "Doing dvi in mpfr" ; \
17708 (cd $(HOST_SUBDIR)/mpfr && \
17709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17711 "RANLIB=$${RANLIB}" \
17712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17713 dvi) \
17714 || exit 1
17716 @endif mpfr
17718 .PHONY: maybe-pdf-mpfr pdf-mpfr
17719 maybe-pdf-mpfr:
17720 @if mpfr
17721 maybe-pdf-mpfr: pdf-mpfr
17723 pdf-mpfr: \
17724 configure-mpfr
17725 @[ -f ./mpfr/Makefile ] || exit 0; \
17726 r=`${PWD_COMMAND}`; export r; \
17727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17728 $(HOST_EXPORTS) \
17729 for flag in $(EXTRA_HOST_FLAGS) ; do \
17730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17731 done; \
17732 echo "Doing pdf in mpfr" ; \
17733 (cd $(HOST_SUBDIR)/mpfr && \
17734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17736 "RANLIB=$${RANLIB}" \
17737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17738 pdf) \
17739 || exit 1
17741 @endif mpfr
17743 .PHONY: maybe-html-mpfr html-mpfr
17744 maybe-html-mpfr:
17745 @if mpfr
17746 maybe-html-mpfr: html-mpfr
17748 html-mpfr: \
17749 configure-mpfr
17750 @[ -f ./mpfr/Makefile ] || exit 0; \
17751 r=`${PWD_COMMAND}`; export r; \
17752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17753 $(HOST_EXPORTS) \
17754 for flag in $(EXTRA_HOST_FLAGS) ; do \
17755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17756 done; \
17757 echo "Doing html in mpfr" ; \
17758 (cd $(HOST_SUBDIR)/mpfr && \
17759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17761 "RANLIB=$${RANLIB}" \
17762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17763 html) \
17764 || exit 1
17766 @endif mpfr
17768 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
17769 maybe-TAGS-mpfr:
17770 @if mpfr
17771 maybe-TAGS-mpfr: TAGS-mpfr
17773 TAGS-mpfr: \
17774 configure-mpfr
17775 @[ -f ./mpfr/Makefile ] || exit 0; \
17776 r=`${PWD_COMMAND}`; export r; \
17777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17778 $(HOST_EXPORTS) \
17779 for flag in $(EXTRA_HOST_FLAGS) ; do \
17780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17781 done; \
17782 echo "Doing TAGS in mpfr" ; \
17783 (cd $(HOST_SUBDIR)/mpfr && \
17784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17786 "RANLIB=$${RANLIB}" \
17787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17788 TAGS) \
17789 || exit 1
17791 @endif mpfr
17793 .PHONY: maybe-install-info-mpfr install-info-mpfr
17794 maybe-install-info-mpfr:
17795 @if mpfr
17796 maybe-install-info-mpfr: install-info-mpfr
17798 install-info-mpfr: \
17799 configure-mpfr \
17800 info-mpfr
17801 @[ -f ./mpfr/Makefile ] || exit 0; \
17802 r=`${PWD_COMMAND}`; export r; \
17803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17804 $(HOST_EXPORTS) \
17805 for flag in $(EXTRA_HOST_FLAGS) ; do \
17806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17807 done; \
17808 echo "Doing install-info in mpfr" ; \
17809 (cd $(HOST_SUBDIR)/mpfr && \
17810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17812 "RANLIB=$${RANLIB}" \
17813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17814 install-info) \
17815 || exit 1
17817 @endif mpfr
17819 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
17820 maybe-install-pdf-mpfr:
17821 @if mpfr
17822 maybe-install-pdf-mpfr: install-pdf-mpfr
17824 install-pdf-mpfr: \
17825 configure-mpfr \
17826 pdf-mpfr
17827 @[ -f ./mpfr/Makefile ] || exit 0; \
17828 r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 $(HOST_EXPORTS) \
17831 for flag in $(EXTRA_HOST_FLAGS) ; do \
17832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17833 done; \
17834 echo "Doing install-pdf in mpfr" ; \
17835 (cd $(HOST_SUBDIR)/mpfr && \
17836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17838 "RANLIB=$${RANLIB}" \
17839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17840 install-pdf) \
17841 || exit 1
17843 @endif mpfr
17845 .PHONY: maybe-install-html-mpfr install-html-mpfr
17846 maybe-install-html-mpfr:
17847 @if mpfr
17848 maybe-install-html-mpfr: install-html-mpfr
17850 install-html-mpfr: \
17851 configure-mpfr \
17852 html-mpfr
17853 @[ -f ./mpfr/Makefile ] || exit 0; \
17854 r=`${PWD_COMMAND}`; export r; \
17855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17856 $(HOST_EXPORTS) \
17857 for flag in $(EXTRA_HOST_FLAGS) ; do \
17858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17859 done; \
17860 echo "Doing install-html in mpfr" ; \
17861 (cd $(HOST_SUBDIR)/mpfr && \
17862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17864 "RANLIB=$${RANLIB}" \
17865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17866 install-html) \
17867 || exit 1
17869 @endif mpfr
17871 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
17872 maybe-installcheck-mpfr:
17873 @if mpfr
17874 maybe-installcheck-mpfr: installcheck-mpfr
17876 installcheck-mpfr: \
17877 configure-mpfr
17878 @[ -f ./mpfr/Makefile ] || exit 0; \
17879 r=`${PWD_COMMAND}`; export r; \
17880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17881 $(HOST_EXPORTS) \
17882 for flag in $(EXTRA_HOST_FLAGS) ; do \
17883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17884 done; \
17885 echo "Doing installcheck in mpfr" ; \
17886 (cd $(HOST_SUBDIR)/mpfr && \
17887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17889 "RANLIB=$${RANLIB}" \
17890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17891 installcheck) \
17892 || exit 1
17894 @endif mpfr
17896 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
17897 maybe-mostlyclean-mpfr:
17898 @if mpfr
17899 maybe-mostlyclean-mpfr: mostlyclean-mpfr
17901 mostlyclean-mpfr:
17902 @[ -f ./mpfr/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(HOST_EXPORTS) \
17906 for flag in $(EXTRA_HOST_FLAGS) ; do \
17907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17908 done; \
17909 echo "Doing mostlyclean in mpfr" ; \
17910 (cd $(HOST_SUBDIR)/mpfr && \
17911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17913 "RANLIB=$${RANLIB}" \
17914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17915 mostlyclean) \
17916 || exit 1
17918 @endif mpfr
17920 .PHONY: maybe-clean-mpfr clean-mpfr
17921 maybe-clean-mpfr:
17922 @if mpfr
17923 maybe-clean-mpfr: clean-mpfr
17925 clean-mpfr:
17926 @[ -f ./mpfr/Makefile ] || exit 0; \
17927 r=`${PWD_COMMAND}`; export r; \
17928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17929 $(HOST_EXPORTS) \
17930 for flag in $(EXTRA_HOST_FLAGS) ; do \
17931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17932 done; \
17933 echo "Doing clean in mpfr" ; \
17934 (cd $(HOST_SUBDIR)/mpfr && \
17935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17937 "RANLIB=$${RANLIB}" \
17938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17939 clean) \
17940 || exit 1
17942 @endif mpfr
17944 .PHONY: maybe-distclean-mpfr distclean-mpfr
17945 maybe-distclean-mpfr:
17946 @if mpfr
17947 maybe-distclean-mpfr: distclean-mpfr
17949 distclean-mpfr:
17950 @[ -f ./mpfr/Makefile ] || exit 0; \
17951 r=`${PWD_COMMAND}`; export r; \
17952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17953 $(HOST_EXPORTS) \
17954 for flag in $(EXTRA_HOST_FLAGS) ; do \
17955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17956 done; \
17957 echo "Doing distclean in mpfr" ; \
17958 (cd $(HOST_SUBDIR)/mpfr && \
17959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17961 "RANLIB=$${RANLIB}" \
17962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17963 distclean) \
17964 || exit 1
17966 @endif mpfr
17968 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
17969 maybe-maintainer-clean-mpfr:
17970 @if mpfr
17971 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
17973 maintainer-clean-mpfr:
17974 @[ -f ./mpfr/Makefile ] || exit 0; \
17975 r=`${PWD_COMMAND}`; export r; \
17976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17977 $(HOST_EXPORTS) \
17978 for flag in $(EXTRA_HOST_FLAGS) ; do \
17979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17980 done; \
17981 echo "Doing maintainer-clean in mpfr" ; \
17982 (cd $(HOST_SUBDIR)/mpfr && \
17983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17985 "RANLIB=$${RANLIB}" \
17986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17987 maintainer-clean) \
17988 || exit 1
17990 @endif mpfr
17994 .PHONY: configure-ppl maybe-configure-ppl
17995 maybe-configure-ppl:
17996 @if gcc-bootstrap
17997 configure-ppl: stage_current
17998 @endif gcc-bootstrap
17999 @if ppl
18000 maybe-configure-ppl: configure-ppl
18001 configure-ppl:
18002 @r=`${PWD_COMMAND}`; export r; \
18003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18004 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18006 $(HOST_EXPORTS) \
18007 echo Configuring in $(HOST_SUBDIR)/ppl; \
18008 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
18009 case $(srcdir) in \
18010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18011 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18013 esac; \
18014 srcdiroption="--srcdir=$${topdir}/ppl"; \
18015 libsrcdir="$$s/ppl"; \
18016 $(SHELL) $${libsrcdir}/configure \
18017 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18018 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
18019 || exit 1
18020 @endif ppl
18024 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
18025 maybe-configure-stage1-ppl:
18026 @if ppl-bootstrap
18027 maybe-configure-stage1-ppl: configure-stage1-ppl
18028 configure-stage1-ppl:
18029 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18030 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18031 @r=`${PWD_COMMAND}`; export r; \
18032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18033 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18034 $(HOST_EXPORTS) \
18035 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18036 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
18037 echo Configuring stage 1 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} \
18051 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18052 @endif ppl-bootstrap
18054 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
18055 maybe-configure-stage2-ppl:
18056 @if ppl-bootstrap
18057 maybe-configure-stage2-ppl: configure-stage2-ppl
18058 configure-stage2-ppl:
18059 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18061 @r=`${PWD_COMMAND}`; export r; \
18062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18063 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18064 $(HOST_EXPORTS) \
18065 $(POSTSTAGE1_HOST_EXPORTS) \
18066 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18067 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
18068 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
18069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18070 cd $(HOST_SUBDIR)/ppl || exit 1; \
18071 case $(srcdir) in \
18072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18073 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18075 esac; \
18076 srcdiroption="--srcdir=$${topdir}/ppl"; \
18077 libsrcdir="$$s/ppl"; \
18078 $(SHELL) $${libsrcdir}/configure \
18079 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18080 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18081 --with-build-libsubdir=$(HOST_SUBDIR) \
18082 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18083 @endif ppl-bootstrap
18085 .PHONY: configure-stageb2g0-ppl maybe-configure-stageb2g0-ppl
18086 maybe-configure-stageb2g0-ppl:
18087 @if ppl-bootstrap
18088 maybe-configure-stageb2g0-ppl: configure-stageb2g0-ppl
18089 configure-stageb2g0-ppl:
18090 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
18091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18092 @r=`${PWD_COMMAND}`; export r; \
18093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18094 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18095 $(HOST_EXPORTS) \
18096 $(POSTSTAGE1_HOST_EXPORTS) \
18097 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
18098 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
18099 echo Configuring stage b2g0 in $(HOST_SUBDIR)/ppl ; \
18100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18101 cd $(HOST_SUBDIR)/ppl || exit 1; \
18102 case $(srcdir) in \
18103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18104 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18106 esac; \
18107 srcdiroption="--srcdir=$${topdir}/ppl"; \
18108 libsrcdir="$$s/ppl"; \
18109 $(SHELL) $${libsrcdir}/configure \
18110 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18111 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18112 --with-build-libsubdir=$(HOST_SUBDIR) \
18113 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18114 @endif ppl-bootstrap
18116 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
18117 maybe-configure-stage3-ppl:
18118 @if ppl-bootstrap
18119 maybe-configure-stage3-ppl: configure-stage3-ppl
18120 configure-stage3-ppl:
18121 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18123 @r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18125 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18126 $(HOST_EXPORTS) \
18127 $(POSTSTAGE1_HOST_EXPORTS) \
18128 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18129 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
18130 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
18131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18132 cd $(HOST_SUBDIR)/ppl || exit 1; \
18133 case $(srcdir) in \
18134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18135 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18137 esac; \
18138 srcdiroption="--srcdir=$${topdir}/ppl"; \
18139 libsrcdir="$$s/ppl"; \
18140 $(SHELL) $${libsrcdir}/configure \
18141 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18142 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18143 --with-build-libsubdir=$(HOST_SUBDIR) \
18144 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18145 @endif ppl-bootstrap
18147 .PHONY: configure-stageb3g2-ppl maybe-configure-stageb3g2-ppl
18148 maybe-configure-stageb3g2-ppl:
18149 @if ppl-bootstrap
18150 maybe-configure-stageb3g2-ppl: configure-stageb3g2-ppl
18151 configure-stageb3g2-ppl:
18152 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
18153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18154 @r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18157 $(HOST_EXPORTS) \
18158 $(POSTSTAGE1_HOST_EXPORTS) \
18159 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
18160 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
18161 echo Configuring stage b3g2 in $(HOST_SUBDIR)/ppl ; \
18162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18163 cd $(HOST_SUBDIR)/ppl || exit 1; \
18164 case $(srcdir) in \
18165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18166 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18168 esac; \
18169 srcdiroption="--srcdir=$${topdir}/ppl"; \
18170 libsrcdir="$$s/ppl"; \
18171 $(SHELL) $${libsrcdir}/configure \
18172 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18173 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18174 --with-build-libsubdir=$(HOST_SUBDIR) \
18175 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18176 @endif ppl-bootstrap
18178 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
18179 maybe-configure-stage4-ppl:
18180 @if ppl-bootstrap
18181 maybe-configure-stage4-ppl: configure-stage4-ppl
18182 configure-stage4-ppl:
18183 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18184 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18185 @r=`${PWD_COMMAND}`; export r; \
18186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18187 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18188 $(HOST_EXPORTS) \
18189 $(POSTSTAGE1_HOST_EXPORTS) \
18190 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18191 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
18192 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
18193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18194 cd $(HOST_SUBDIR)/ppl || exit 1; \
18195 case $(srcdir) in \
18196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18197 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18199 esac; \
18200 srcdiroption="--srcdir=$${topdir}/ppl"; \
18201 libsrcdir="$$s/ppl"; \
18202 $(SHELL) $${libsrcdir}/configure \
18203 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18204 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18205 --with-build-libsubdir=$(HOST_SUBDIR) \
18206 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18207 @endif ppl-bootstrap
18209 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
18210 maybe-configure-stageprofile-ppl:
18211 @if ppl-bootstrap
18212 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
18213 configure-stageprofile-ppl:
18214 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18216 @r=`${PWD_COMMAND}`; export r; \
18217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18218 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18219 $(HOST_EXPORTS) \
18220 $(POSTSTAGE1_HOST_EXPORTS) \
18221 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
18222 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
18223 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
18224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18225 cd $(HOST_SUBDIR)/ppl || exit 1; \
18226 case $(srcdir) in \
18227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18228 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18230 esac; \
18231 srcdiroption="--srcdir=$${topdir}/ppl"; \
18232 libsrcdir="$$s/ppl"; \
18233 $(SHELL) $${libsrcdir}/configure \
18234 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18235 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18236 --with-build-libsubdir=$(HOST_SUBDIR) \
18237 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18238 @endif ppl-bootstrap
18240 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
18241 maybe-configure-stagefeedback-ppl:
18242 @if ppl-bootstrap
18243 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
18244 configure-stagefeedback-ppl:
18245 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18246 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18247 @r=`${PWD_COMMAND}`; export r; \
18248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18249 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18250 $(HOST_EXPORTS) \
18251 $(POSTSTAGE1_HOST_EXPORTS) \
18252 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
18253 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
18254 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
18255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18256 cd $(HOST_SUBDIR)/ppl || exit 1; \
18257 case $(srcdir) in \
18258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18259 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18261 esac; \
18262 srcdiroption="--srcdir=$${topdir}/ppl"; \
18263 libsrcdir="$$s/ppl"; \
18264 $(SHELL) $${libsrcdir}/configure \
18265 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18266 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
18267 --with-build-libsubdir=$(HOST_SUBDIR) \
18268 @stage2_werror_flag@ --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18269 @endif ppl-bootstrap
18275 .PHONY: all-ppl maybe-all-ppl
18276 maybe-all-ppl:
18277 @if gcc-bootstrap
18278 all-ppl: stage_current
18279 @endif gcc-bootstrap
18280 @if ppl
18281 TARGET-ppl=all
18282 maybe-all-ppl: all-ppl
18283 all-ppl: configure-ppl
18284 @r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 $(HOST_EXPORTS) \
18287 (cd $(HOST_SUBDIR)/ppl && \
18288 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18289 $(TARGET-ppl))
18290 @endif ppl
18294 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
18295 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
18296 maybe-all-stage1-ppl:
18297 maybe-clean-stage1-ppl:
18298 @if ppl-bootstrap
18299 maybe-all-stage1-ppl: all-stage1-ppl
18300 all-stage1: all-stage1-ppl
18301 TARGET-stage1-ppl = $(TARGET-ppl)
18302 all-stage1-ppl: configure-stage1-ppl
18303 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18304 @r=`${PWD_COMMAND}`; export r; \
18305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18306 $(HOST_EXPORTS) \
18307 cd $(HOST_SUBDIR)/ppl && \
18308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18309 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
18310 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
18311 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
18312 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
18313 $(TARGET-stage1-ppl)
18315 maybe-clean-stage1-ppl: clean-stage1-ppl
18316 clean-stage1: clean-stage1-ppl
18317 clean-stage1-ppl:
18318 @if [ $(current_stage) = stage1 ]; then \
18319 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18320 else \
18321 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
18322 $(MAKE) stage1-start; \
18323 fi; \
18324 cd $(HOST_SUBDIR)/ppl && \
18325 $(MAKE) $(EXTRA_HOST_FLAGS) \
18326 clean
18327 @endif ppl-bootstrap
18330 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
18331 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
18332 maybe-all-stage2-ppl:
18333 maybe-clean-stage2-ppl:
18334 @if ppl-bootstrap
18335 maybe-all-stage2-ppl: all-stage2-ppl
18336 all-stage2: all-stage2-ppl
18337 TARGET-stage2-ppl = $(TARGET-ppl)
18338 all-stage2-ppl: configure-stage2-ppl
18339 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18340 @r=`${PWD_COMMAND}`; export r; \
18341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18342 $(HOST_EXPORTS) \
18343 $(POSTSTAGE1_HOST_EXPORTS) \
18344 cd $(HOST_SUBDIR)/ppl && \
18345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18346 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
18347 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
18348 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
18349 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18350 $(TARGET-stage2-ppl)
18352 maybe-clean-stage2-ppl: clean-stage2-ppl
18353 clean-stage2: clean-stage2-ppl
18354 clean-stage2-ppl:
18355 @if [ $(current_stage) = stage2 ]; then \
18356 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18357 else \
18358 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
18359 $(MAKE) stage2-start; \
18360 fi; \
18361 cd $(HOST_SUBDIR)/ppl && \
18362 $(MAKE) $(EXTRA_HOST_FLAGS) \
18363 $(POSTSTAGE1_FLAGS_TO_PASS) \
18364 clean
18365 @endif ppl-bootstrap
18368 .PHONY: all-stageb2g0-ppl maybe-all-stageb2g0-ppl
18369 .PHONY: clean-stageb2g0-ppl maybe-clean-stageb2g0-ppl
18370 maybe-all-stageb2g0-ppl:
18371 maybe-clean-stageb2g0-ppl:
18372 @if ppl-bootstrap
18373 maybe-all-stageb2g0-ppl: all-stageb2g0-ppl
18374 all-stageb2g0: all-stageb2g0-ppl
18375 TARGET-stageb2g0-ppl = $(TARGET-ppl)
18376 all-stageb2g0-ppl: configure-stageb2g0-ppl
18377 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
18378 @r=`${PWD_COMMAND}`; export r; \
18379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18380 $(HOST_EXPORTS) \
18381 $(POSTSTAGE1_HOST_EXPORTS) \
18382 cd $(HOST_SUBDIR)/ppl && \
18383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18384 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
18385 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
18386 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
18387 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18388 $(TARGET-stageb2g0-ppl)
18390 maybe-clean-stageb2g0-ppl: clean-stageb2g0-ppl
18391 clean-stageb2g0: clean-stageb2g0-ppl
18392 clean-stageb2g0-ppl:
18393 @if [ $(current_stage) = stageb2g0 ]; then \
18394 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18395 else \
18396 [ -f $(HOST_SUBDIR)/stageb2g0-ppl/Makefile ] || exit 0; \
18397 $(MAKE) stageb2g0-start; \
18398 fi; \
18399 cd $(HOST_SUBDIR)/ppl && \
18400 $(MAKE) $(EXTRA_HOST_FLAGS) \
18401 $(POSTSTAGE1_FLAGS_TO_PASS) \
18402 clean
18403 @endif ppl-bootstrap
18406 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
18407 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
18408 maybe-all-stage3-ppl:
18409 maybe-clean-stage3-ppl:
18410 @if ppl-bootstrap
18411 maybe-all-stage3-ppl: all-stage3-ppl
18412 all-stage3: all-stage3-ppl
18413 TARGET-stage3-ppl = $(TARGET-ppl)
18414 all-stage3-ppl: configure-stage3-ppl
18415 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18416 @r=`${PWD_COMMAND}`; export r; \
18417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18418 $(HOST_EXPORTS) \
18419 $(POSTSTAGE1_HOST_EXPORTS) \
18420 cd $(HOST_SUBDIR)/ppl && \
18421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18422 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
18423 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
18424 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
18425 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18426 $(TARGET-stage3-ppl)
18428 maybe-clean-stage3-ppl: clean-stage3-ppl
18429 clean-stage3: clean-stage3-ppl
18430 clean-stage3-ppl:
18431 @if [ $(current_stage) = stage3 ]; then \
18432 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18433 else \
18434 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
18435 $(MAKE) stage3-start; \
18436 fi; \
18437 cd $(HOST_SUBDIR)/ppl && \
18438 $(MAKE) $(EXTRA_HOST_FLAGS) \
18439 $(POSTSTAGE1_FLAGS_TO_PASS) \
18440 clean
18441 @endif ppl-bootstrap
18444 .PHONY: all-stageb3g2-ppl maybe-all-stageb3g2-ppl
18445 .PHONY: clean-stageb3g2-ppl maybe-clean-stageb3g2-ppl
18446 maybe-all-stageb3g2-ppl:
18447 maybe-clean-stageb3g2-ppl:
18448 @if ppl-bootstrap
18449 maybe-all-stageb3g2-ppl: all-stageb3g2-ppl
18450 all-stageb3g2: all-stageb3g2-ppl
18451 TARGET-stageb3g2-ppl = $(TARGET-ppl)
18452 all-stageb3g2-ppl: configure-stageb3g2-ppl
18453 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
18454 @r=`${PWD_COMMAND}`; export r; \
18455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18456 $(HOST_EXPORTS) \
18457 $(POSTSTAGE1_HOST_EXPORTS) \
18458 cd $(HOST_SUBDIR)/ppl && \
18459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18460 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
18461 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
18462 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
18463 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18464 $(TARGET-stageb3g2-ppl)
18466 maybe-clean-stageb3g2-ppl: clean-stageb3g2-ppl
18467 clean-stageb3g2: clean-stageb3g2-ppl
18468 clean-stageb3g2-ppl:
18469 @if [ $(current_stage) = stageb3g2 ]; then \
18470 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18471 else \
18472 [ -f $(HOST_SUBDIR)/stageb3g2-ppl/Makefile ] || exit 0; \
18473 $(MAKE) stageb3g2-start; \
18474 fi; \
18475 cd $(HOST_SUBDIR)/ppl && \
18476 $(MAKE) $(EXTRA_HOST_FLAGS) \
18477 $(POSTSTAGE1_FLAGS_TO_PASS) \
18478 clean
18479 @endif ppl-bootstrap
18482 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
18483 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
18484 maybe-all-stage4-ppl:
18485 maybe-clean-stage4-ppl:
18486 @if ppl-bootstrap
18487 maybe-all-stage4-ppl: all-stage4-ppl
18488 all-stage4: all-stage4-ppl
18489 TARGET-stage4-ppl = $(TARGET-ppl)
18490 all-stage4-ppl: configure-stage4-ppl
18491 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18492 @r=`${PWD_COMMAND}`; export r; \
18493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18494 $(HOST_EXPORTS) \
18495 $(POSTSTAGE1_HOST_EXPORTS) \
18496 cd $(HOST_SUBDIR)/ppl && \
18497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18498 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
18499 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18500 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
18501 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18502 $(TARGET-stage4-ppl)
18504 maybe-clean-stage4-ppl: clean-stage4-ppl
18505 clean-stage4: clean-stage4-ppl
18506 clean-stage4-ppl:
18507 @if [ $(current_stage) = stage4 ]; then \
18508 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18509 else \
18510 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
18511 $(MAKE) stage4-start; \
18512 fi; \
18513 cd $(HOST_SUBDIR)/ppl && \
18514 $(MAKE) $(EXTRA_HOST_FLAGS) \
18515 $(POSTSTAGE1_FLAGS_TO_PASS) \
18516 clean
18517 @endif ppl-bootstrap
18520 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
18521 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
18522 maybe-all-stageprofile-ppl:
18523 maybe-clean-stageprofile-ppl:
18524 @if ppl-bootstrap
18525 maybe-all-stageprofile-ppl: all-stageprofile-ppl
18526 all-stageprofile: all-stageprofile-ppl
18527 TARGET-stageprofile-ppl = $(TARGET-ppl)
18528 all-stageprofile-ppl: configure-stageprofile-ppl
18529 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18530 @r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532 $(HOST_EXPORTS) \
18533 $(POSTSTAGE1_HOST_EXPORTS) \
18534 cd $(HOST_SUBDIR)/ppl && \
18535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18536 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
18537 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
18538 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
18539 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18540 $(TARGET-stageprofile-ppl)
18542 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
18543 clean-stageprofile: clean-stageprofile-ppl
18544 clean-stageprofile-ppl:
18545 @if [ $(current_stage) = stageprofile ]; then \
18546 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18547 else \
18548 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
18549 $(MAKE) stageprofile-start; \
18550 fi; \
18551 cd $(HOST_SUBDIR)/ppl && \
18552 $(MAKE) $(EXTRA_HOST_FLAGS) \
18553 $(POSTSTAGE1_FLAGS_TO_PASS) \
18554 clean
18555 @endif ppl-bootstrap
18558 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
18559 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
18560 maybe-all-stagefeedback-ppl:
18561 maybe-clean-stagefeedback-ppl:
18562 @if ppl-bootstrap
18563 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
18564 all-stagefeedback: all-stagefeedback-ppl
18565 TARGET-stagefeedback-ppl = $(TARGET-ppl)
18566 all-stagefeedback-ppl: configure-stagefeedback-ppl
18567 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18568 @r=`${PWD_COMMAND}`; export r; \
18569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18570 $(HOST_EXPORTS) \
18571 $(POSTSTAGE1_HOST_EXPORTS) \
18572 cd $(HOST_SUBDIR)/ppl && \
18573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18574 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
18575 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
18576 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
18577 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18578 $(TARGET-stagefeedback-ppl)
18580 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
18581 clean-stagefeedback: clean-stagefeedback-ppl
18582 clean-stagefeedback-ppl:
18583 @if [ $(current_stage) = stagefeedback ]; then \
18584 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
18585 else \
18586 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
18587 $(MAKE) stagefeedback-start; \
18588 fi; \
18589 cd $(HOST_SUBDIR)/ppl && \
18590 $(MAKE) $(EXTRA_HOST_FLAGS) \
18591 $(POSTSTAGE1_FLAGS_TO_PASS) \
18592 clean
18593 @endif ppl-bootstrap
18599 .PHONY: check-ppl maybe-check-ppl
18600 maybe-check-ppl:
18601 @if ppl
18602 maybe-check-ppl: check-ppl
18604 check-ppl:
18605 @: $(MAKE); $(unstage)
18606 @r=`${PWD_COMMAND}`; export r; \
18607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18608 $(HOST_EXPORTS) \
18609 (cd $(HOST_SUBDIR)/ppl && \
18610 $(MAKE) $(FLAGS_TO_PASS) check)
18612 @endif ppl
18614 .PHONY: install-ppl maybe-install-ppl
18615 maybe-install-ppl:
18616 @if ppl
18617 maybe-install-ppl: install-ppl
18619 install-ppl:
18621 @endif ppl
18623 # Other targets (info, dvi, pdf, etc.)
18625 .PHONY: maybe-info-ppl info-ppl
18626 maybe-info-ppl:
18627 @if ppl
18628 maybe-info-ppl: info-ppl
18630 info-ppl: \
18631 configure-ppl
18632 @[ -f ./ppl/Makefile ] || exit 0; \
18633 r=`${PWD_COMMAND}`; export r; \
18634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18635 $(HOST_EXPORTS) \
18636 for flag in $(EXTRA_HOST_FLAGS) ; do \
18637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18638 done; \
18639 echo "Doing info in ppl" ; \
18640 (cd $(HOST_SUBDIR)/ppl && \
18641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18643 "RANLIB=$${RANLIB}" \
18644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18645 info) \
18646 || exit 1
18648 @endif ppl
18650 .PHONY: maybe-dvi-ppl dvi-ppl
18651 maybe-dvi-ppl:
18652 @if ppl
18653 maybe-dvi-ppl: dvi-ppl
18655 dvi-ppl: \
18656 configure-ppl
18657 @[ -f ./ppl/Makefile ] || exit 0; \
18658 r=`${PWD_COMMAND}`; export r; \
18659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18660 $(HOST_EXPORTS) \
18661 for flag in $(EXTRA_HOST_FLAGS) ; do \
18662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18663 done; \
18664 echo "Doing dvi in ppl" ; \
18665 (cd $(HOST_SUBDIR)/ppl && \
18666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18668 "RANLIB=$${RANLIB}" \
18669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18670 dvi) \
18671 || exit 1
18673 @endif ppl
18675 .PHONY: maybe-pdf-ppl pdf-ppl
18676 maybe-pdf-ppl:
18677 @if ppl
18678 maybe-pdf-ppl: pdf-ppl
18680 pdf-ppl: \
18681 configure-ppl
18682 @[ -f ./ppl/Makefile ] || exit 0; \
18683 r=`${PWD_COMMAND}`; export r; \
18684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18685 $(HOST_EXPORTS) \
18686 for flag in $(EXTRA_HOST_FLAGS) ; do \
18687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18688 done; \
18689 echo "Doing pdf in ppl" ; \
18690 (cd $(HOST_SUBDIR)/ppl && \
18691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18693 "RANLIB=$${RANLIB}" \
18694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18695 pdf) \
18696 || exit 1
18698 @endif ppl
18700 .PHONY: maybe-html-ppl html-ppl
18701 maybe-html-ppl:
18702 @if ppl
18703 maybe-html-ppl: html-ppl
18705 html-ppl: \
18706 configure-ppl
18707 @[ -f ./ppl/Makefile ] || exit 0; \
18708 r=`${PWD_COMMAND}`; export r; \
18709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18710 $(HOST_EXPORTS) \
18711 for flag in $(EXTRA_HOST_FLAGS) ; do \
18712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18713 done; \
18714 echo "Doing html in ppl" ; \
18715 (cd $(HOST_SUBDIR)/ppl && \
18716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18718 "RANLIB=$${RANLIB}" \
18719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18720 html) \
18721 || exit 1
18723 @endif ppl
18725 .PHONY: maybe-TAGS-ppl TAGS-ppl
18726 maybe-TAGS-ppl:
18727 @if ppl
18728 maybe-TAGS-ppl: TAGS-ppl
18730 TAGS-ppl: \
18731 configure-ppl
18732 @[ -f ./ppl/Makefile ] || exit 0; \
18733 r=`${PWD_COMMAND}`; export r; \
18734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18735 $(HOST_EXPORTS) \
18736 for flag in $(EXTRA_HOST_FLAGS) ; do \
18737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18738 done; \
18739 echo "Doing TAGS in ppl" ; \
18740 (cd $(HOST_SUBDIR)/ppl && \
18741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18743 "RANLIB=$${RANLIB}" \
18744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18745 TAGS) \
18746 || exit 1
18748 @endif ppl
18750 .PHONY: maybe-install-info-ppl install-info-ppl
18751 maybe-install-info-ppl:
18752 @if ppl
18753 maybe-install-info-ppl: install-info-ppl
18755 install-info-ppl: \
18756 configure-ppl \
18757 info-ppl
18758 @[ -f ./ppl/Makefile ] || exit 0; \
18759 r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 $(HOST_EXPORTS) \
18762 for flag in $(EXTRA_HOST_FLAGS) ; do \
18763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18764 done; \
18765 echo "Doing install-info in ppl" ; \
18766 (cd $(HOST_SUBDIR)/ppl && \
18767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18769 "RANLIB=$${RANLIB}" \
18770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18771 install-info) \
18772 || exit 1
18774 @endif ppl
18776 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
18777 maybe-install-pdf-ppl:
18778 @if ppl
18779 maybe-install-pdf-ppl: install-pdf-ppl
18781 install-pdf-ppl: \
18782 configure-ppl \
18783 pdf-ppl
18784 @[ -f ./ppl/Makefile ] || exit 0; \
18785 r=`${PWD_COMMAND}`; export r; \
18786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18787 $(HOST_EXPORTS) \
18788 for flag in $(EXTRA_HOST_FLAGS) ; do \
18789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18790 done; \
18791 echo "Doing install-pdf in ppl" ; \
18792 (cd $(HOST_SUBDIR)/ppl && \
18793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18795 "RANLIB=$${RANLIB}" \
18796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18797 install-pdf) \
18798 || exit 1
18800 @endif ppl
18802 .PHONY: maybe-install-html-ppl install-html-ppl
18803 maybe-install-html-ppl:
18804 @if ppl
18805 maybe-install-html-ppl: install-html-ppl
18807 install-html-ppl: \
18808 configure-ppl \
18809 html-ppl
18810 @[ -f ./ppl/Makefile ] || exit 0; \
18811 r=`${PWD_COMMAND}`; export r; \
18812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18813 $(HOST_EXPORTS) \
18814 for flag in $(EXTRA_HOST_FLAGS) ; do \
18815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18816 done; \
18817 echo "Doing install-html in ppl" ; \
18818 (cd $(HOST_SUBDIR)/ppl && \
18819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18821 "RANLIB=$${RANLIB}" \
18822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18823 install-html) \
18824 || exit 1
18826 @endif ppl
18828 .PHONY: maybe-installcheck-ppl installcheck-ppl
18829 maybe-installcheck-ppl:
18830 @if ppl
18831 maybe-installcheck-ppl: installcheck-ppl
18833 installcheck-ppl: \
18834 configure-ppl
18835 @[ -f ./ppl/Makefile ] || exit 0; \
18836 r=`${PWD_COMMAND}`; export r; \
18837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18838 $(HOST_EXPORTS) \
18839 for flag in $(EXTRA_HOST_FLAGS) ; do \
18840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18841 done; \
18842 echo "Doing installcheck in ppl" ; \
18843 (cd $(HOST_SUBDIR)/ppl && \
18844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18846 "RANLIB=$${RANLIB}" \
18847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18848 installcheck) \
18849 || exit 1
18851 @endif ppl
18853 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
18854 maybe-mostlyclean-ppl:
18855 @if ppl
18856 maybe-mostlyclean-ppl: mostlyclean-ppl
18858 mostlyclean-ppl:
18859 @[ -f ./ppl/Makefile ] || exit 0; \
18860 r=`${PWD_COMMAND}`; export r; \
18861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18862 $(HOST_EXPORTS) \
18863 for flag in $(EXTRA_HOST_FLAGS) ; do \
18864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18865 done; \
18866 echo "Doing mostlyclean in ppl" ; \
18867 (cd $(HOST_SUBDIR)/ppl && \
18868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18870 "RANLIB=$${RANLIB}" \
18871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18872 mostlyclean) \
18873 || exit 1
18875 @endif ppl
18877 .PHONY: maybe-clean-ppl clean-ppl
18878 maybe-clean-ppl:
18879 @if ppl
18880 maybe-clean-ppl: clean-ppl
18882 clean-ppl:
18883 @[ -f ./ppl/Makefile ] || exit 0; \
18884 r=`${PWD_COMMAND}`; export r; \
18885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18886 $(HOST_EXPORTS) \
18887 for flag in $(EXTRA_HOST_FLAGS) ; do \
18888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18889 done; \
18890 echo "Doing clean in ppl" ; \
18891 (cd $(HOST_SUBDIR)/ppl && \
18892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18894 "RANLIB=$${RANLIB}" \
18895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18896 clean) \
18897 || exit 1
18899 @endif ppl
18901 .PHONY: maybe-distclean-ppl distclean-ppl
18902 maybe-distclean-ppl:
18903 @if ppl
18904 maybe-distclean-ppl: distclean-ppl
18906 distclean-ppl:
18907 @[ -f ./ppl/Makefile ] || exit 0; \
18908 r=`${PWD_COMMAND}`; export r; \
18909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18910 $(HOST_EXPORTS) \
18911 for flag in $(EXTRA_HOST_FLAGS) ; do \
18912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18913 done; \
18914 echo "Doing distclean in ppl" ; \
18915 (cd $(HOST_SUBDIR)/ppl && \
18916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18918 "RANLIB=$${RANLIB}" \
18919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18920 distclean) \
18921 || exit 1
18923 @endif ppl
18925 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
18926 maybe-maintainer-clean-ppl:
18927 @if ppl
18928 maybe-maintainer-clean-ppl: maintainer-clean-ppl
18930 maintainer-clean-ppl:
18931 @[ -f ./ppl/Makefile ] || exit 0; \
18932 r=`${PWD_COMMAND}`; export r; \
18933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18934 $(HOST_EXPORTS) \
18935 for flag in $(EXTRA_HOST_FLAGS) ; do \
18936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18937 done; \
18938 echo "Doing maintainer-clean in ppl" ; \
18939 (cd $(HOST_SUBDIR)/ppl && \
18940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18942 "RANLIB=$${RANLIB}" \
18943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18944 maintainer-clean) \
18945 || exit 1
18947 @endif ppl
18951 .PHONY: configure-cloog maybe-configure-cloog
18952 maybe-configure-cloog:
18953 @if gcc-bootstrap
18954 configure-cloog: stage_current
18955 @endif gcc-bootstrap
18956 @if cloog
18957 maybe-configure-cloog: configure-cloog
18958 configure-cloog:
18959 @r=`${PWD_COMMAND}`; export r; \
18960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18961 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18963 $(HOST_EXPORTS) \
18964 echo Configuring in $(HOST_SUBDIR)/cloog; \
18965 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
18966 case $(srcdir) in \
18967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18968 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
18969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18970 esac; \
18971 srcdiroption="--srcdir=$${topdir}/cloog"; \
18972 libsrcdir="$$s/cloog"; \
18973 $(SHELL) $${libsrcdir}/configure \
18974 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
18975 --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 \
18976 || exit 1
18977 @endif cloog
18981 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
18982 maybe-configure-stage1-cloog:
18983 @if cloog-bootstrap
18984 maybe-configure-stage1-cloog: configure-stage1-cloog
18985 configure-stage1-cloog:
18986 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
18988 @r=`${PWD_COMMAND}`; export r; \
18989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
18991 $(HOST_EXPORTS) \
18992 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18993 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
18994 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
18995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
18996 cd $(HOST_SUBDIR)/cloog || exit 1; \
18997 case $(srcdir) in \
18998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18999 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19001 esac; \
19002 srcdiroption="--srcdir=$${topdir}/cloog"; \
19003 libsrcdir="$$s/cloog"; \
19004 $(SHELL) $${libsrcdir}/configure \
19005 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19006 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19008 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19009 @endif cloog-bootstrap
19011 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
19012 maybe-configure-stage2-cloog:
19013 @if cloog-bootstrap
19014 maybe-configure-stage2-cloog: configure-stage2-cloog
19015 configure-stage2-cloog:
19016 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19018 @r=`${PWD_COMMAND}`; export r; \
19019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19020 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19021 $(HOST_EXPORTS) \
19022 $(POSTSTAGE1_HOST_EXPORTS) \
19023 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19024 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
19025 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
19026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19027 cd $(HOST_SUBDIR)/cloog || exit 1; \
19028 case $(srcdir) in \
19029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19030 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19032 esac; \
19033 srcdiroption="--srcdir=$${topdir}/cloog"; \
19034 libsrcdir="$$s/cloog"; \
19035 $(SHELL) $${libsrcdir}/configure \
19036 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19037 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19038 --with-build-libsubdir=$(HOST_SUBDIR) \
19039 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19040 @endif cloog-bootstrap
19042 .PHONY: configure-stageb2g0-cloog maybe-configure-stageb2g0-cloog
19043 maybe-configure-stageb2g0-cloog:
19044 @if cloog-bootstrap
19045 maybe-configure-stageb2g0-cloog: configure-stageb2g0-cloog
19046 configure-stageb2g0-cloog:
19047 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
19048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19049 @r=`${PWD_COMMAND}`; export r; \
19050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19051 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19052 $(HOST_EXPORTS) \
19053 $(POSTSTAGE1_HOST_EXPORTS) \
19054 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
19055 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
19056 echo Configuring stage b2g0 in $(HOST_SUBDIR)/cloog ; \
19057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19058 cd $(HOST_SUBDIR)/cloog || exit 1; \
19059 case $(srcdir) in \
19060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19061 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19063 esac; \
19064 srcdiroption="--srcdir=$${topdir}/cloog"; \
19065 libsrcdir="$$s/cloog"; \
19066 $(SHELL) $${libsrcdir}/configure \
19067 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19068 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19069 --with-build-libsubdir=$(HOST_SUBDIR) \
19070 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19071 @endif cloog-bootstrap
19073 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
19074 maybe-configure-stage3-cloog:
19075 @if cloog-bootstrap
19076 maybe-configure-stage3-cloog: configure-stage3-cloog
19077 configure-stage3-cloog:
19078 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19080 @r=`${PWD_COMMAND}`; export r; \
19081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19082 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19083 $(HOST_EXPORTS) \
19084 $(POSTSTAGE1_HOST_EXPORTS) \
19085 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19086 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
19087 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
19088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19089 cd $(HOST_SUBDIR)/cloog || exit 1; \
19090 case $(srcdir) in \
19091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19092 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19094 esac; \
19095 srcdiroption="--srcdir=$${topdir}/cloog"; \
19096 libsrcdir="$$s/cloog"; \
19097 $(SHELL) $${libsrcdir}/configure \
19098 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19099 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19100 --with-build-libsubdir=$(HOST_SUBDIR) \
19101 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19102 @endif cloog-bootstrap
19104 .PHONY: configure-stageb3g2-cloog maybe-configure-stageb3g2-cloog
19105 maybe-configure-stageb3g2-cloog:
19106 @if cloog-bootstrap
19107 maybe-configure-stageb3g2-cloog: configure-stageb3g2-cloog
19108 configure-stageb3g2-cloog:
19109 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
19110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19111 @r=`${PWD_COMMAND}`; export r; \
19112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19113 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19114 $(HOST_EXPORTS) \
19115 $(POSTSTAGE1_HOST_EXPORTS) \
19116 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
19117 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
19118 echo Configuring stage b3g2 in $(HOST_SUBDIR)/cloog ; \
19119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19120 cd $(HOST_SUBDIR)/cloog || exit 1; \
19121 case $(srcdir) in \
19122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19123 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19125 esac; \
19126 srcdiroption="--srcdir=$${topdir}/cloog"; \
19127 libsrcdir="$$s/cloog"; \
19128 $(SHELL) $${libsrcdir}/configure \
19129 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19130 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19131 --with-build-libsubdir=$(HOST_SUBDIR) \
19132 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19133 @endif cloog-bootstrap
19135 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
19136 maybe-configure-stage4-cloog:
19137 @if cloog-bootstrap
19138 maybe-configure-stage4-cloog: configure-stage4-cloog
19139 configure-stage4-cloog:
19140 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19142 @r=`${PWD_COMMAND}`; export r; \
19143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19144 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19145 $(HOST_EXPORTS) \
19146 $(POSTSTAGE1_HOST_EXPORTS) \
19147 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19148 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
19149 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
19150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19151 cd $(HOST_SUBDIR)/cloog || exit 1; \
19152 case $(srcdir) in \
19153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19154 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19156 esac; \
19157 srcdiroption="--srcdir=$${topdir}/cloog"; \
19158 libsrcdir="$$s/cloog"; \
19159 $(SHELL) $${libsrcdir}/configure \
19160 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19161 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19162 --with-build-libsubdir=$(HOST_SUBDIR) \
19163 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19164 @endif cloog-bootstrap
19166 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
19167 maybe-configure-stageprofile-cloog:
19168 @if cloog-bootstrap
19169 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
19170 configure-stageprofile-cloog:
19171 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19173 @r=`${PWD_COMMAND}`; export r; \
19174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19175 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19176 $(HOST_EXPORTS) \
19177 $(POSTSTAGE1_HOST_EXPORTS) \
19178 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
19179 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
19180 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
19181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19182 cd $(HOST_SUBDIR)/cloog || exit 1; \
19183 case $(srcdir) in \
19184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19185 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19187 esac; \
19188 srcdiroption="--srcdir=$${topdir}/cloog"; \
19189 libsrcdir="$$s/cloog"; \
19190 $(SHELL) $${libsrcdir}/configure \
19191 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19192 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19193 --with-build-libsubdir=$(HOST_SUBDIR) \
19194 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19195 @endif cloog-bootstrap
19197 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
19198 maybe-configure-stagefeedback-cloog:
19199 @if cloog-bootstrap
19200 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
19201 configure-stagefeedback-cloog:
19202 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19204 @r=`${PWD_COMMAND}`; export r; \
19205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19206 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19207 $(HOST_EXPORTS) \
19208 $(POSTSTAGE1_HOST_EXPORTS) \
19209 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
19210 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
19211 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
19212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19213 cd $(HOST_SUBDIR)/cloog || exit 1; \
19214 case $(srcdir) in \
19215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19216 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19218 esac; \
19219 srcdiroption="--srcdir=$${topdir}/cloog"; \
19220 libsrcdir="$$s/cloog"; \
19221 $(SHELL) $${libsrcdir}/configure \
19222 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
19223 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
19224 --with-build-libsubdir=$(HOST_SUBDIR) \
19225 @stage2_werror_flag@ --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp
19226 @endif cloog-bootstrap
19232 .PHONY: all-cloog maybe-all-cloog
19233 maybe-all-cloog:
19234 @if gcc-bootstrap
19235 all-cloog: stage_current
19236 @endif gcc-bootstrap
19237 @if cloog
19238 TARGET-cloog=all
19239 maybe-all-cloog: all-cloog
19240 all-cloog: configure-cloog
19241 @r=`${PWD_COMMAND}`; export r; \
19242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19243 $(HOST_EXPORTS) \
19244 (cd $(HOST_SUBDIR)/cloog && \
19245 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19246 $(TARGET-cloog))
19247 @endif cloog
19251 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
19252 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
19253 maybe-all-stage1-cloog:
19254 maybe-clean-stage1-cloog:
19255 @if cloog-bootstrap
19256 maybe-all-stage1-cloog: all-stage1-cloog
19257 all-stage1: all-stage1-cloog
19258 TARGET-stage1-cloog = $(TARGET-cloog)
19259 all-stage1-cloog: configure-stage1-cloog
19260 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19261 @r=`${PWD_COMMAND}`; export r; \
19262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19263 $(HOST_EXPORTS) \
19264 cd $(HOST_SUBDIR)/cloog && \
19265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19266 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
19267 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
19268 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
19269 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
19270 $(TARGET-stage1-cloog)
19272 maybe-clean-stage1-cloog: clean-stage1-cloog
19273 clean-stage1: clean-stage1-cloog
19274 clean-stage1-cloog:
19275 @if [ $(current_stage) = stage1 ]; then \
19276 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19277 else \
19278 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
19279 $(MAKE) stage1-start; \
19280 fi; \
19281 cd $(HOST_SUBDIR)/cloog && \
19282 $(MAKE) $(EXTRA_HOST_FLAGS) \
19283 clean
19284 @endif cloog-bootstrap
19287 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
19288 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
19289 maybe-all-stage2-cloog:
19290 maybe-clean-stage2-cloog:
19291 @if cloog-bootstrap
19292 maybe-all-stage2-cloog: all-stage2-cloog
19293 all-stage2: all-stage2-cloog
19294 TARGET-stage2-cloog = $(TARGET-cloog)
19295 all-stage2-cloog: configure-stage2-cloog
19296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19297 @r=`${PWD_COMMAND}`; export r; \
19298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 $(HOST_EXPORTS) \
19300 $(POSTSTAGE1_HOST_EXPORTS) \
19301 cd $(HOST_SUBDIR)/cloog && \
19302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19303 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
19304 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
19305 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
19306 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19307 $(TARGET-stage2-cloog)
19309 maybe-clean-stage2-cloog: clean-stage2-cloog
19310 clean-stage2: clean-stage2-cloog
19311 clean-stage2-cloog:
19312 @if [ $(current_stage) = stage2 ]; then \
19313 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19314 else \
19315 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
19316 $(MAKE) stage2-start; \
19317 fi; \
19318 cd $(HOST_SUBDIR)/cloog && \
19319 $(MAKE) $(EXTRA_HOST_FLAGS) \
19320 $(POSTSTAGE1_FLAGS_TO_PASS) \
19321 clean
19322 @endif cloog-bootstrap
19325 .PHONY: all-stageb2g0-cloog maybe-all-stageb2g0-cloog
19326 .PHONY: clean-stageb2g0-cloog maybe-clean-stageb2g0-cloog
19327 maybe-all-stageb2g0-cloog:
19328 maybe-clean-stageb2g0-cloog:
19329 @if cloog-bootstrap
19330 maybe-all-stageb2g0-cloog: all-stageb2g0-cloog
19331 all-stageb2g0: all-stageb2g0-cloog
19332 TARGET-stageb2g0-cloog = $(TARGET-cloog)
19333 all-stageb2g0-cloog: configure-stageb2g0-cloog
19334 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
19335 @r=`${PWD_COMMAND}`; export r; \
19336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19337 $(HOST_EXPORTS) \
19338 $(POSTSTAGE1_HOST_EXPORTS) \
19339 cd $(HOST_SUBDIR)/cloog && \
19340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19341 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
19342 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
19343 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
19344 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19345 $(TARGET-stageb2g0-cloog)
19347 maybe-clean-stageb2g0-cloog: clean-stageb2g0-cloog
19348 clean-stageb2g0: clean-stageb2g0-cloog
19349 clean-stageb2g0-cloog:
19350 @if [ $(current_stage) = stageb2g0 ]; then \
19351 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19352 else \
19353 [ -f $(HOST_SUBDIR)/stageb2g0-cloog/Makefile ] || exit 0; \
19354 $(MAKE) stageb2g0-start; \
19355 fi; \
19356 cd $(HOST_SUBDIR)/cloog && \
19357 $(MAKE) $(EXTRA_HOST_FLAGS) \
19358 $(POSTSTAGE1_FLAGS_TO_PASS) \
19359 clean
19360 @endif cloog-bootstrap
19363 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
19364 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
19365 maybe-all-stage3-cloog:
19366 maybe-clean-stage3-cloog:
19367 @if cloog-bootstrap
19368 maybe-all-stage3-cloog: all-stage3-cloog
19369 all-stage3: all-stage3-cloog
19370 TARGET-stage3-cloog = $(TARGET-cloog)
19371 all-stage3-cloog: configure-stage3-cloog
19372 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19373 @r=`${PWD_COMMAND}`; export r; \
19374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19375 $(HOST_EXPORTS) \
19376 $(POSTSTAGE1_HOST_EXPORTS) \
19377 cd $(HOST_SUBDIR)/cloog && \
19378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19379 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
19380 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
19381 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
19382 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19383 $(TARGET-stage3-cloog)
19385 maybe-clean-stage3-cloog: clean-stage3-cloog
19386 clean-stage3: clean-stage3-cloog
19387 clean-stage3-cloog:
19388 @if [ $(current_stage) = stage3 ]; then \
19389 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19390 else \
19391 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
19392 $(MAKE) stage3-start; \
19393 fi; \
19394 cd $(HOST_SUBDIR)/cloog && \
19395 $(MAKE) $(EXTRA_HOST_FLAGS) \
19396 $(POSTSTAGE1_FLAGS_TO_PASS) \
19397 clean
19398 @endif cloog-bootstrap
19401 .PHONY: all-stageb3g2-cloog maybe-all-stageb3g2-cloog
19402 .PHONY: clean-stageb3g2-cloog maybe-clean-stageb3g2-cloog
19403 maybe-all-stageb3g2-cloog:
19404 maybe-clean-stageb3g2-cloog:
19405 @if cloog-bootstrap
19406 maybe-all-stageb3g2-cloog: all-stageb3g2-cloog
19407 all-stageb3g2: all-stageb3g2-cloog
19408 TARGET-stageb3g2-cloog = $(TARGET-cloog)
19409 all-stageb3g2-cloog: configure-stageb3g2-cloog
19410 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
19411 @r=`${PWD_COMMAND}`; export r; \
19412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19413 $(HOST_EXPORTS) \
19414 $(POSTSTAGE1_HOST_EXPORTS) \
19415 cd $(HOST_SUBDIR)/cloog && \
19416 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19417 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
19418 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
19419 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
19420 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19421 $(TARGET-stageb3g2-cloog)
19423 maybe-clean-stageb3g2-cloog: clean-stageb3g2-cloog
19424 clean-stageb3g2: clean-stageb3g2-cloog
19425 clean-stageb3g2-cloog:
19426 @if [ $(current_stage) = stageb3g2 ]; then \
19427 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19428 else \
19429 [ -f $(HOST_SUBDIR)/stageb3g2-cloog/Makefile ] || exit 0; \
19430 $(MAKE) stageb3g2-start; \
19431 fi; \
19432 cd $(HOST_SUBDIR)/cloog && \
19433 $(MAKE) $(EXTRA_HOST_FLAGS) \
19434 $(POSTSTAGE1_FLAGS_TO_PASS) \
19435 clean
19436 @endif cloog-bootstrap
19439 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
19440 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
19441 maybe-all-stage4-cloog:
19442 maybe-clean-stage4-cloog:
19443 @if cloog-bootstrap
19444 maybe-all-stage4-cloog: all-stage4-cloog
19445 all-stage4: all-stage4-cloog
19446 TARGET-stage4-cloog = $(TARGET-cloog)
19447 all-stage4-cloog: configure-stage4-cloog
19448 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19449 @r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19451 $(HOST_EXPORTS) \
19452 $(POSTSTAGE1_HOST_EXPORTS) \
19453 cd $(HOST_SUBDIR)/cloog && \
19454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19455 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
19456 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19457 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
19458 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19459 $(TARGET-stage4-cloog)
19461 maybe-clean-stage4-cloog: clean-stage4-cloog
19462 clean-stage4: clean-stage4-cloog
19463 clean-stage4-cloog:
19464 @if [ $(current_stage) = stage4 ]; then \
19465 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19466 else \
19467 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
19468 $(MAKE) stage4-start; \
19469 fi; \
19470 cd $(HOST_SUBDIR)/cloog && \
19471 $(MAKE) $(EXTRA_HOST_FLAGS) \
19472 $(POSTSTAGE1_FLAGS_TO_PASS) \
19473 clean
19474 @endif cloog-bootstrap
19477 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
19478 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
19479 maybe-all-stageprofile-cloog:
19480 maybe-clean-stageprofile-cloog:
19481 @if cloog-bootstrap
19482 maybe-all-stageprofile-cloog: all-stageprofile-cloog
19483 all-stageprofile: all-stageprofile-cloog
19484 TARGET-stageprofile-cloog = $(TARGET-cloog)
19485 all-stageprofile-cloog: configure-stageprofile-cloog
19486 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19487 @r=`${PWD_COMMAND}`; export r; \
19488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19489 $(HOST_EXPORTS) \
19490 $(POSTSTAGE1_HOST_EXPORTS) \
19491 cd $(HOST_SUBDIR)/cloog && \
19492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19493 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
19494 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
19495 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
19496 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19497 $(TARGET-stageprofile-cloog)
19499 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
19500 clean-stageprofile: clean-stageprofile-cloog
19501 clean-stageprofile-cloog:
19502 @if [ $(current_stage) = stageprofile ]; then \
19503 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19504 else \
19505 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
19506 $(MAKE) stageprofile-start; \
19507 fi; \
19508 cd $(HOST_SUBDIR)/cloog && \
19509 $(MAKE) $(EXTRA_HOST_FLAGS) \
19510 $(POSTSTAGE1_FLAGS_TO_PASS) \
19511 clean
19512 @endif cloog-bootstrap
19515 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
19516 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
19517 maybe-all-stagefeedback-cloog:
19518 maybe-clean-stagefeedback-cloog:
19519 @if cloog-bootstrap
19520 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
19521 all-stagefeedback: all-stagefeedback-cloog
19522 TARGET-stagefeedback-cloog = $(TARGET-cloog)
19523 all-stagefeedback-cloog: configure-stagefeedback-cloog
19524 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19525 @r=`${PWD_COMMAND}`; export r; \
19526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19527 $(HOST_EXPORTS) \
19528 $(POSTSTAGE1_HOST_EXPORTS) \
19529 cd $(HOST_SUBDIR)/cloog && \
19530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19531 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
19532 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
19533 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
19534 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19535 $(TARGET-stagefeedback-cloog)
19537 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
19538 clean-stagefeedback: clean-stagefeedback-cloog
19539 clean-stagefeedback-cloog:
19540 @if [ $(current_stage) = stagefeedback ]; then \
19541 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
19542 else \
19543 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
19544 $(MAKE) stagefeedback-start; \
19545 fi; \
19546 cd $(HOST_SUBDIR)/cloog && \
19547 $(MAKE) $(EXTRA_HOST_FLAGS) \
19548 $(POSTSTAGE1_FLAGS_TO_PASS) \
19549 clean
19550 @endif cloog-bootstrap
19556 .PHONY: check-cloog maybe-check-cloog
19557 maybe-check-cloog:
19558 @if cloog
19559 maybe-check-cloog: check-cloog
19561 check-cloog:
19562 @: $(MAKE); $(unstage)
19563 @r=`${PWD_COMMAND}`; export r; \
19564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565 $(HOST_EXPORTS) \
19566 (cd $(HOST_SUBDIR)/cloog && \
19567 $(MAKE) $(FLAGS_TO_PASS) check)
19569 @endif cloog
19571 .PHONY: install-cloog maybe-install-cloog
19572 maybe-install-cloog:
19573 @if cloog
19574 maybe-install-cloog: install-cloog
19576 install-cloog:
19578 @endif cloog
19580 # Other targets (info, dvi, pdf, etc.)
19582 .PHONY: maybe-info-cloog info-cloog
19583 maybe-info-cloog:
19584 @if cloog
19585 maybe-info-cloog: info-cloog
19587 info-cloog: \
19588 configure-cloog
19589 @[ -f ./cloog/Makefile ] || exit 0; \
19590 r=`${PWD_COMMAND}`; export r; \
19591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19592 $(HOST_EXPORTS) \
19593 for flag in $(EXTRA_HOST_FLAGS) ; do \
19594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19595 done; \
19596 echo "Doing info in cloog" ; \
19597 (cd $(HOST_SUBDIR)/cloog && \
19598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19600 "RANLIB=$${RANLIB}" \
19601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19602 info) \
19603 || exit 1
19605 @endif cloog
19607 .PHONY: maybe-dvi-cloog dvi-cloog
19608 maybe-dvi-cloog:
19609 @if cloog
19610 maybe-dvi-cloog: dvi-cloog
19612 dvi-cloog: \
19613 configure-cloog
19614 @[ -f ./cloog/Makefile ] || exit 0; \
19615 r=`${PWD_COMMAND}`; export r; \
19616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19617 $(HOST_EXPORTS) \
19618 for flag in $(EXTRA_HOST_FLAGS) ; do \
19619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19620 done; \
19621 echo "Doing dvi in cloog" ; \
19622 (cd $(HOST_SUBDIR)/cloog && \
19623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19625 "RANLIB=$${RANLIB}" \
19626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19627 dvi) \
19628 || exit 1
19630 @endif cloog
19632 .PHONY: maybe-pdf-cloog pdf-cloog
19633 maybe-pdf-cloog:
19634 @if cloog
19635 maybe-pdf-cloog: pdf-cloog
19637 pdf-cloog: \
19638 configure-cloog
19639 @[ -f ./cloog/Makefile ] || exit 0; \
19640 r=`${PWD_COMMAND}`; export r; \
19641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19642 $(HOST_EXPORTS) \
19643 for flag in $(EXTRA_HOST_FLAGS) ; do \
19644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19645 done; \
19646 echo "Doing pdf in cloog" ; \
19647 (cd $(HOST_SUBDIR)/cloog && \
19648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19650 "RANLIB=$${RANLIB}" \
19651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19652 pdf) \
19653 || exit 1
19655 @endif cloog
19657 .PHONY: maybe-html-cloog html-cloog
19658 maybe-html-cloog:
19659 @if cloog
19660 maybe-html-cloog: html-cloog
19662 html-cloog: \
19663 configure-cloog
19664 @[ -f ./cloog/Makefile ] || exit 0; \
19665 r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667 $(HOST_EXPORTS) \
19668 for flag in $(EXTRA_HOST_FLAGS) ; do \
19669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19670 done; \
19671 echo "Doing html in cloog" ; \
19672 (cd $(HOST_SUBDIR)/cloog && \
19673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19675 "RANLIB=$${RANLIB}" \
19676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19677 html) \
19678 || exit 1
19680 @endif cloog
19682 .PHONY: maybe-TAGS-cloog TAGS-cloog
19683 maybe-TAGS-cloog:
19684 @if cloog
19685 maybe-TAGS-cloog: TAGS-cloog
19687 TAGS-cloog: \
19688 configure-cloog
19689 @[ -f ./cloog/Makefile ] || exit 0; \
19690 r=`${PWD_COMMAND}`; export r; \
19691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19692 $(HOST_EXPORTS) \
19693 for flag in $(EXTRA_HOST_FLAGS) ; do \
19694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19695 done; \
19696 echo "Doing TAGS in cloog" ; \
19697 (cd $(HOST_SUBDIR)/cloog && \
19698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19700 "RANLIB=$${RANLIB}" \
19701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19702 TAGS) \
19703 || exit 1
19705 @endif cloog
19707 .PHONY: maybe-install-info-cloog install-info-cloog
19708 maybe-install-info-cloog:
19709 @if cloog
19710 maybe-install-info-cloog: install-info-cloog
19712 install-info-cloog: \
19713 configure-cloog \
19714 info-cloog
19715 @[ -f ./cloog/Makefile ] || exit 0; \
19716 r=`${PWD_COMMAND}`; export r; \
19717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19718 $(HOST_EXPORTS) \
19719 for flag in $(EXTRA_HOST_FLAGS) ; do \
19720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19721 done; \
19722 echo "Doing install-info in cloog" ; \
19723 (cd $(HOST_SUBDIR)/cloog && \
19724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19726 "RANLIB=$${RANLIB}" \
19727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19728 install-info) \
19729 || exit 1
19731 @endif cloog
19733 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
19734 maybe-install-pdf-cloog:
19735 @if cloog
19736 maybe-install-pdf-cloog: install-pdf-cloog
19738 install-pdf-cloog: \
19739 configure-cloog \
19740 pdf-cloog
19741 @[ -f ./cloog/Makefile ] || exit 0; \
19742 r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 $(HOST_EXPORTS) \
19745 for flag in $(EXTRA_HOST_FLAGS) ; do \
19746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19747 done; \
19748 echo "Doing install-pdf in cloog" ; \
19749 (cd $(HOST_SUBDIR)/cloog && \
19750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19752 "RANLIB=$${RANLIB}" \
19753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19754 install-pdf) \
19755 || exit 1
19757 @endif cloog
19759 .PHONY: maybe-install-html-cloog install-html-cloog
19760 maybe-install-html-cloog:
19761 @if cloog
19762 maybe-install-html-cloog: install-html-cloog
19764 install-html-cloog: \
19765 configure-cloog \
19766 html-cloog
19767 @[ -f ./cloog/Makefile ] || exit 0; \
19768 r=`${PWD_COMMAND}`; export r; \
19769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19770 $(HOST_EXPORTS) \
19771 for flag in $(EXTRA_HOST_FLAGS) ; do \
19772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19773 done; \
19774 echo "Doing install-html in cloog" ; \
19775 (cd $(HOST_SUBDIR)/cloog && \
19776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19778 "RANLIB=$${RANLIB}" \
19779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19780 install-html) \
19781 || exit 1
19783 @endif cloog
19785 .PHONY: maybe-installcheck-cloog installcheck-cloog
19786 maybe-installcheck-cloog:
19787 @if cloog
19788 maybe-installcheck-cloog: installcheck-cloog
19790 installcheck-cloog: \
19791 configure-cloog
19792 @[ -f ./cloog/Makefile ] || exit 0; \
19793 r=`${PWD_COMMAND}`; export r; \
19794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19795 $(HOST_EXPORTS) \
19796 for flag in $(EXTRA_HOST_FLAGS) ; do \
19797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19798 done; \
19799 echo "Doing installcheck in cloog" ; \
19800 (cd $(HOST_SUBDIR)/cloog && \
19801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19803 "RANLIB=$${RANLIB}" \
19804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19805 installcheck) \
19806 || exit 1
19808 @endif cloog
19810 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
19811 maybe-mostlyclean-cloog:
19812 @if cloog
19813 maybe-mostlyclean-cloog: mostlyclean-cloog
19815 mostlyclean-cloog:
19816 @[ -f ./cloog/Makefile ] || exit 0; \
19817 r=`${PWD_COMMAND}`; export r; \
19818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19819 $(HOST_EXPORTS) \
19820 for flag in $(EXTRA_HOST_FLAGS) ; do \
19821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19822 done; \
19823 echo "Doing mostlyclean in cloog" ; \
19824 (cd $(HOST_SUBDIR)/cloog && \
19825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19827 "RANLIB=$${RANLIB}" \
19828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19829 mostlyclean) \
19830 || exit 1
19832 @endif cloog
19834 .PHONY: maybe-clean-cloog clean-cloog
19835 maybe-clean-cloog:
19836 @if cloog
19837 maybe-clean-cloog: clean-cloog
19839 clean-cloog:
19840 @[ -f ./cloog/Makefile ] || exit 0; \
19841 r=`${PWD_COMMAND}`; export r; \
19842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19843 $(HOST_EXPORTS) \
19844 for flag in $(EXTRA_HOST_FLAGS) ; do \
19845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19846 done; \
19847 echo "Doing clean in cloog" ; \
19848 (cd $(HOST_SUBDIR)/cloog && \
19849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19851 "RANLIB=$${RANLIB}" \
19852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19853 clean) \
19854 || exit 1
19856 @endif cloog
19858 .PHONY: maybe-distclean-cloog distclean-cloog
19859 maybe-distclean-cloog:
19860 @if cloog
19861 maybe-distclean-cloog: distclean-cloog
19863 distclean-cloog:
19864 @[ -f ./cloog/Makefile ] || exit 0; \
19865 r=`${PWD_COMMAND}`; export r; \
19866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19867 $(HOST_EXPORTS) \
19868 for flag in $(EXTRA_HOST_FLAGS) ; do \
19869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19870 done; \
19871 echo "Doing distclean in cloog" ; \
19872 (cd $(HOST_SUBDIR)/cloog && \
19873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19875 "RANLIB=$${RANLIB}" \
19876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19877 distclean) \
19878 || exit 1
19880 @endif cloog
19882 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
19883 maybe-maintainer-clean-cloog:
19884 @if cloog
19885 maybe-maintainer-clean-cloog: maintainer-clean-cloog
19887 maintainer-clean-cloog:
19888 @[ -f ./cloog/Makefile ] || exit 0; \
19889 r=`${PWD_COMMAND}`; export r; \
19890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19891 $(HOST_EXPORTS) \
19892 for flag in $(EXTRA_HOST_FLAGS) ; do \
19893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19894 done; \
19895 echo "Doing maintainer-clean in cloog" ; \
19896 (cd $(HOST_SUBDIR)/cloog && \
19897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19899 "RANLIB=$${RANLIB}" \
19900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19901 maintainer-clean) \
19902 || exit 1
19904 @endif cloog
19908 .PHONY: configure-gnuserv maybe-configure-gnuserv
19909 maybe-configure-gnuserv:
19910 @if gcc-bootstrap
19911 configure-gnuserv: stage_current
19912 @endif gcc-bootstrap
19913 @if gnuserv
19914 maybe-configure-gnuserv: configure-gnuserv
19915 configure-gnuserv:
19916 @: $(MAKE); $(unstage)
19917 @r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
19920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
19921 $(HOST_EXPORTS) \
19922 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
19923 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
19924 case $(srcdir) in \
19925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19926 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
19927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19928 esac; \
19929 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
19930 libsrcdir="$$s/gnuserv"; \
19931 $(SHELL) $${libsrcdir}/configure \
19932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19933 --target=${target_alias} $${srcdiroption} \
19934 || exit 1
19935 @endif gnuserv
19941 .PHONY: all-gnuserv maybe-all-gnuserv
19942 maybe-all-gnuserv:
19943 @if gcc-bootstrap
19944 all-gnuserv: stage_current
19945 @endif gcc-bootstrap
19946 @if gnuserv
19947 TARGET-gnuserv=all
19948 maybe-all-gnuserv: all-gnuserv
19949 all-gnuserv: configure-gnuserv
19950 @: $(MAKE); $(unstage)
19951 @r=`${PWD_COMMAND}`; export r; \
19952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953 $(HOST_EXPORTS) \
19954 (cd $(HOST_SUBDIR)/gnuserv && \
19955 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19956 $(TARGET-gnuserv))
19957 @endif gnuserv
19962 .PHONY: check-gnuserv maybe-check-gnuserv
19963 maybe-check-gnuserv:
19964 @if gnuserv
19965 maybe-check-gnuserv: check-gnuserv
19967 check-gnuserv:
19968 @: $(MAKE); $(unstage)
19969 @r=`${PWD_COMMAND}`; export r; \
19970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19971 $(HOST_EXPORTS) \
19972 (cd $(HOST_SUBDIR)/gnuserv && \
19973 $(MAKE) $(FLAGS_TO_PASS) check)
19975 @endif gnuserv
19977 .PHONY: install-gnuserv maybe-install-gnuserv
19978 maybe-install-gnuserv:
19979 @if gnuserv
19980 maybe-install-gnuserv: install-gnuserv
19982 install-gnuserv: installdirs
19983 @: $(MAKE); $(unstage)
19984 @r=`${PWD_COMMAND}`; export r; \
19985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19986 $(HOST_EXPORTS) \
19987 (cd $(HOST_SUBDIR)/gnuserv && \
19988 $(MAKE) $(FLAGS_TO_PASS) install)
19990 @endif gnuserv
19992 # Other targets (info, dvi, pdf, etc.)
19994 .PHONY: maybe-info-gnuserv info-gnuserv
19995 maybe-info-gnuserv:
19996 @if gnuserv
19997 maybe-info-gnuserv: info-gnuserv
19999 info-gnuserv: \
20000 configure-gnuserv
20001 @: $(MAKE); $(unstage)
20002 @[ -f ./gnuserv/Makefile ] || exit 0; \
20003 r=`${PWD_COMMAND}`; export r; \
20004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20005 $(HOST_EXPORTS) \
20006 for flag in $(EXTRA_HOST_FLAGS) ; do \
20007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20008 done; \
20009 echo "Doing info in gnuserv" ; \
20010 (cd $(HOST_SUBDIR)/gnuserv && \
20011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20013 "RANLIB=$${RANLIB}" \
20014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20015 info) \
20016 || exit 1
20018 @endif gnuserv
20020 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
20021 maybe-dvi-gnuserv:
20022 @if gnuserv
20023 maybe-dvi-gnuserv: dvi-gnuserv
20025 dvi-gnuserv: \
20026 configure-gnuserv
20027 @: $(MAKE); $(unstage)
20028 @[ -f ./gnuserv/Makefile ] || exit 0; \
20029 r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 $(HOST_EXPORTS) \
20032 for flag in $(EXTRA_HOST_FLAGS) ; do \
20033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20034 done; \
20035 echo "Doing dvi in gnuserv" ; \
20036 (cd $(HOST_SUBDIR)/gnuserv && \
20037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20039 "RANLIB=$${RANLIB}" \
20040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20041 dvi) \
20042 || exit 1
20044 @endif gnuserv
20046 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
20047 maybe-pdf-gnuserv:
20048 @if gnuserv
20049 maybe-pdf-gnuserv: pdf-gnuserv
20051 pdf-gnuserv: \
20052 configure-gnuserv
20053 @: $(MAKE); $(unstage)
20054 @[ -f ./gnuserv/Makefile ] || exit 0; \
20055 r=`${PWD_COMMAND}`; export r; \
20056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057 $(HOST_EXPORTS) \
20058 for flag in $(EXTRA_HOST_FLAGS) ; do \
20059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20060 done; \
20061 echo "Doing pdf in gnuserv" ; \
20062 (cd $(HOST_SUBDIR)/gnuserv && \
20063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20065 "RANLIB=$${RANLIB}" \
20066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20067 pdf) \
20068 || exit 1
20070 @endif gnuserv
20072 .PHONY: maybe-html-gnuserv html-gnuserv
20073 maybe-html-gnuserv:
20074 @if gnuserv
20075 maybe-html-gnuserv: html-gnuserv
20077 html-gnuserv: \
20078 configure-gnuserv
20079 @: $(MAKE); $(unstage)
20080 @[ -f ./gnuserv/Makefile ] || exit 0; \
20081 r=`${PWD_COMMAND}`; export r; \
20082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20083 $(HOST_EXPORTS) \
20084 for flag in $(EXTRA_HOST_FLAGS) ; do \
20085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20086 done; \
20087 echo "Doing html in gnuserv" ; \
20088 (cd $(HOST_SUBDIR)/gnuserv && \
20089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20091 "RANLIB=$${RANLIB}" \
20092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20093 html) \
20094 || exit 1
20096 @endif gnuserv
20098 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
20099 maybe-TAGS-gnuserv:
20100 @if gnuserv
20101 maybe-TAGS-gnuserv: TAGS-gnuserv
20103 TAGS-gnuserv: \
20104 configure-gnuserv
20105 @: $(MAKE); $(unstage)
20106 @[ -f ./gnuserv/Makefile ] || exit 0; \
20107 r=`${PWD_COMMAND}`; export r; \
20108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20109 $(HOST_EXPORTS) \
20110 for flag in $(EXTRA_HOST_FLAGS) ; do \
20111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20112 done; \
20113 echo "Doing TAGS in gnuserv" ; \
20114 (cd $(HOST_SUBDIR)/gnuserv && \
20115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20117 "RANLIB=$${RANLIB}" \
20118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20119 TAGS) \
20120 || exit 1
20122 @endif gnuserv
20124 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
20125 maybe-install-info-gnuserv:
20126 @if gnuserv
20127 maybe-install-info-gnuserv: install-info-gnuserv
20129 install-info-gnuserv: \
20130 configure-gnuserv \
20131 info-gnuserv
20132 @: $(MAKE); $(unstage)
20133 @[ -f ./gnuserv/Makefile ] || exit 0; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 $(HOST_EXPORTS) \
20137 for flag in $(EXTRA_HOST_FLAGS) ; do \
20138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20139 done; \
20140 echo "Doing install-info in gnuserv" ; \
20141 (cd $(HOST_SUBDIR)/gnuserv && \
20142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20144 "RANLIB=$${RANLIB}" \
20145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20146 install-info) \
20147 || exit 1
20149 @endif gnuserv
20151 .PHONY: maybe-install-pdf-gnuserv install-pdf-gnuserv
20152 maybe-install-pdf-gnuserv:
20153 @if gnuserv
20154 maybe-install-pdf-gnuserv: install-pdf-gnuserv
20156 install-pdf-gnuserv: \
20157 configure-gnuserv \
20158 pdf-gnuserv
20159 @: $(MAKE); $(unstage)
20160 @[ -f ./gnuserv/Makefile ] || exit 0; \
20161 r=`${PWD_COMMAND}`; export r; \
20162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20163 $(HOST_EXPORTS) \
20164 for flag in $(EXTRA_HOST_FLAGS) ; do \
20165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20166 done; \
20167 echo "Doing install-pdf in gnuserv" ; \
20168 (cd $(HOST_SUBDIR)/gnuserv && \
20169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20171 "RANLIB=$${RANLIB}" \
20172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20173 install-pdf) \
20174 || exit 1
20176 @endif gnuserv
20178 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
20179 maybe-install-html-gnuserv:
20180 @if gnuserv
20181 maybe-install-html-gnuserv: install-html-gnuserv
20183 install-html-gnuserv: \
20184 configure-gnuserv \
20185 html-gnuserv
20186 @: $(MAKE); $(unstage)
20187 @[ -f ./gnuserv/Makefile ] || exit 0; \
20188 r=`${PWD_COMMAND}`; export r; \
20189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20190 $(HOST_EXPORTS) \
20191 for flag in $(EXTRA_HOST_FLAGS) ; do \
20192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20193 done; \
20194 echo "Doing install-html in gnuserv" ; \
20195 (cd $(HOST_SUBDIR)/gnuserv && \
20196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20198 "RANLIB=$${RANLIB}" \
20199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20200 install-html) \
20201 || exit 1
20203 @endif gnuserv
20205 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
20206 maybe-installcheck-gnuserv:
20207 @if gnuserv
20208 maybe-installcheck-gnuserv: installcheck-gnuserv
20210 installcheck-gnuserv: \
20211 configure-gnuserv
20212 @: $(MAKE); $(unstage)
20213 @[ -f ./gnuserv/Makefile ] || exit 0; \
20214 r=`${PWD_COMMAND}`; export r; \
20215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20216 $(HOST_EXPORTS) \
20217 for flag in $(EXTRA_HOST_FLAGS) ; do \
20218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20219 done; \
20220 echo "Doing installcheck in gnuserv" ; \
20221 (cd $(HOST_SUBDIR)/gnuserv && \
20222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20224 "RANLIB=$${RANLIB}" \
20225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20226 installcheck) \
20227 || exit 1
20229 @endif gnuserv
20231 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
20232 maybe-mostlyclean-gnuserv:
20233 @if gnuserv
20234 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
20236 mostlyclean-gnuserv:
20237 @: $(MAKE); $(unstage)
20238 @[ -f ./gnuserv/Makefile ] || exit 0; \
20239 r=`${PWD_COMMAND}`; export r; \
20240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20241 $(HOST_EXPORTS) \
20242 for flag in $(EXTRA_HOST_FLAGS) ; do \
20243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20244 done; \
20245 echo "Doing mostlyclean in gnuserv" ; \
20246 (cd $(HOST_SUBDIR)/gnuserv && \
20247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20249 "RANLIB=$${RANLIB}" \
20250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20251 mostlyclean) \
20252 || exit 1
20254 @endif gnuserv
20256 .PHONY: maybe-clean-gnuserv clean-gnuserv
20257 maybe-clean-gnuserv:
20258 @if gnuserv
20259 maybe-clean-gnuserv: clean-gnuserv
20261 clean-gnuserv:
20262 @: $(MAKE); $(unstage)
20263 @[ -f ./gnuserv/Makefile ] || exit 0; \
20264 r=`${PWD_COMMAND}`; export r; \
20265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20266 $(HOST_EXPORTS) \
20267 for flag in $(EXTRA_HOST_FLAGS) ; do \
20268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20269 done; \
20270 echo "Doing clean in gnuserv" ; \
20271 (cd $(HOST_SUBDIR)/gnuserv && \
20272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20274 "RANLIB=$${RANLIB}" \
20275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20276 clean) \
20277 || exit 1
20279 @endif gnuserv
20281 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
20282 maybe-distclean-gnuserv:
20283 @if gnuserv
20284 maybe-distclean-gnuserv: distclean-gnuserv
20286 distclean-gnuserv:
20287 @: $(MAKE); $(unstage)
20288 @[ -f ./gnuserv/Makefile ] || exit 0; \
20289 r=`${PWD_COMMAND}`; export r; \
20290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20291 $(HOST_EXPORTS) \
20292 for flag in $(EXTRA_HOST_FLAGS) ; do \
20293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20294 done; \
20295 echo "Doing distclean in gnuserv" ; \
20296 (cd $(HOST_SUBDIR)/gnuserv && \
20297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20299 "RANLIB=$${RANLIB}" \
20300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20301 distclean) \
20302 || exit 1
20304 @endif gnuserv
20306 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
20307 maybe-maintainer-clean-gnuserv:
20308 @if gnuserv
20309 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
20311 maintainer-clean-gnuserv:
20312 @: $(MAKE); $(unstage)
20313 @[ -f ./gnuserv/Makefile ] || exit 0; \
20314 r=`${PWD_COMMAND}`; export r; \
20315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20316 $(HOST_EXPORTS) \
20317 for flag in $(EXTRA_HOST_FLAGS) ; do \
20318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20319 done; \
20320 echo "Doing maintainer-clean in gnuserv" ; \
20321 (cd $(HOST_SUBDIR)/gnuserv && \
20322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20324 "RANLIB=$${RANLIB}" \
20325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20326 maintainer-clean) \
20327 || exit 1
20329 @endif gnuserv
20333 .PHONY: configure-gold maybe-configure-gold
20334 maybe-configure-gold:
20335 @if gcc-bootstrap
20336 configure-gold: stage_current
20337 @endif gcc-bootstrap
20338 @if gold
20339 maybe-configure-gold: configure-gold
20340 configure-gold:
20341 @r=`${PWD_COMMAND}`; export r; \
20342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20343 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20345 $(HOST_EXPORTS) \
20346 echo Configuring in $(HOST_SUBDIR)/gold; \
20347 cd "$(HOST_SUBDIR)/gold" || exit 1; \
20348 case $(srcdir) in \
20349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20350 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20352 esac; \
20353 srcdiroption="--srcdir=$${topdir}/gold"; \
20354 libsrcdir="$$s/gold"; \
20355 $(SHELL) $${libsrcdir}/configure \
20356 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20357 --target=${target_alias} $${srcdiroption} \
20358 || exit 1
20359 @endif gold
20363 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
20364 maybe-configure-stage1-gold:
20365 @if gold-bootstrap
20366 maybe-configure-stage1-gold: configure-stage1-gold
20367 configure-stage1-gold:
20368 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20370 @r=`${PWD_COMMAND}`; export r; \
20371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20372 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20373 $(HOST_EXPORTS) \
20374 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20375 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
20376 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
20377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20378 cd $(HOST_SUBDIR)/gold || exit 1; \
20379 case $(srcdir) in \
20380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20381 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20383 esac; \
20384 srcdiroption="--srcdir=$${topdir}/gold"; \
20385 libsrcdir="$$s/gold"; \
20386 $(SHELL) $${libsrcdir}/configure \
20387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20388 --target=${target_alias} $${srcdiroption} \
20390 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20391 @endif gold-bootstrap
20393 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
20394 maybe-configure-stage2-gold:
20395 @if gold-bootstrap
20396 maybe-configure-stage2-gold: configure-stage2-gold
20397 configure-stage2-gold:
20398 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20400 @r=`${PWD_COMMAND}`; export r; \
20401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20402 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20403 $(HOST_EXPORTS) \
20404 $(POSTSTAGE1_HOST_EXPORTS) \
20405 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20406 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
20407 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
20408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20409 cd $(HOST_SUBDIR)/gold || exit 1; \
20410 case $(srcdir) in \
20411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20412 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20414 esac; \
20415 srcdiroption="--srcdir=$${topdir}/gold"; \
20416 libsrcdir="$$s/gold"; \
20417 $(SHELL) $${libsrcdir}/configure \
20418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20419 --target=${target_alias} $${srcdiroption} \
20420 --with-build-libsubdir=$(HOST_SUBDIR) \
20421 @stage2_werror_flag@
20422 @endif gold-bootstrap
20424 .PHONY: configure-stageb2g0-gold maybe-configure-stageb2g0-gold
20425 maybe-configure-stageb2g0-gold:
20426 @if gold-bootstrap
20427 maybe-configure-stageb2g0-gold: configure-stageb2g0-gold
20428 configure-stageb2g0-gold:
20429 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
20430 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20431 @r=`${PWD_COMMAND}`; export r; \
20432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20433 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20434 $(HOST_EXPORTS) \
20435 $(POSTSTAGE1_HOST_EXPORTS) \
20436 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
20437 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
20438 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gold ; \
20439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20440 cd $(HOST_SUBDIR)/gold || exit 1; \
20441 case $(srcdir) in \
20442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20443 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20445 esac; \
20446 srcdiroption="--srcdir=$${topdir}/gold"; \
20447 libsrcdir="$$s/gold"; \
20448 $(SHELL) $${libsrcdir}/configure \
20449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20450 --target=${target_alias} $${srcdiroption} \
20451 --with-build-libsubdir=$(HOST_SUBDIR) \
20452 @stage2_werror_flag@
20453 @endif gold-bootstrap
20455 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
20456 maybe-configure-stage3-gold:
20457 @if gold-bootstrap
20458 maybe-configure-stage3-gold: configure-stage3-gold
20459 configure-stage3-gold:
20460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20461 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20462 @r=`${PWD_COMMAND}`; export r; \
20463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20464 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20465 $(HOST_EXPORTS) \
20466 $(POSTSTAGE1_HOST_EXPORTS) \
20467 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20468 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
20469 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
20470 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20471 cd $(HOST_SUBDIR)/gold || exit 1; \
20472 case $(srcdir) in \
20473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20474 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20476 esac; \
20477 srcdiroption="--srcdir=$${topdir}/gold"; \
20478 libsrcdir="$$s/gold"; \
20479 $(SHELL) $${libsrcdir}/configure \
20480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20481 --target=${target_alias} $${srcdiroption} \
20482 --with-build-libsubdir=$(HOST_SUBDIR) \
20483 @stage2_werror_flag@
20484 @endif gold-bootstrap
20486 .PHONY: configure-stageb3g2-gold maybe-configure-stageb3g2-gold
20487 maybe-configure-stageb3g2-gold:
20488 @if gold-bootstrap
20489 maybe-configure-stageb3g2-gold: configure-stageb3g2-gold
20490 configure-stageb3g2-gold:
20491 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
20492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20493 @r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20496 $(HOST_EXPORTS) \
20497 $(POSTSTAGE1_HOST_EXPORTS) \
20498 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
20499 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
20500 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gold ; \
20501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20502 cd $(HOST_SUBDIR)/gold || exit 1; \
20503 case $(srcdir) in \
20504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20505 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20507 esac; \
20508 srcdiroption="--srcdir=$${topdir}/gold"; \
20509 libsrcdir="$$s/gold"; \
20510 $(SHELL) $${libsrcdir}/configure \
20511 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20512 --target=${target_alias} $${srcdiroption} \
20513 --with-build-libsubdir=$(HOST_SUBDIR) \
20514 @stage2_werror_flag@
20515 @endif gold-bootstrap
20517 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
20518 maybe-configure-stage4-gold:
20519 @if gold-bootstrap
20520 maybe-configure-stage4-gold: configure-stage4-gold
20521 configure-stage4-gold:
20522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20524 @r=`${PWD_COMMAND}`; export r; \
20525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20526 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20527 $(HOST_EXPORTS) \
20528 $(POSTSTAGE1_HOST_EXPORTS) \
20529 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20530 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
20531 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
20532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20533 cd $(HOST_SUBDIR)/gold || exit 1; \
20534 case $(srcdir) in \
20535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20536 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20538 esac; \
20539 srcdiroption="--srcdir=$${topdir}/gold"; \
20540 libsrcdir="$$s/gold"; \
20541 $(SHELL) $${libsrcdir}/configure \
20542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20543 --target=${target_alias} $${srcdiroption} \
20544 --with-build-libsubdir=$(HOST_SUBDIR) \
20545 @stage2_werror_flag@
20546 @endif gold-bootstrap
20548 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
20549 maybe-configure-stageprofile-gold:
20550 @if gold-bootstrap
20551 maybe-configure-stageprofile-gold: configure-stageprofile-gold
20552 configure-stageprofile-gold:
20553 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20555 @r=`${PWD_COMMAND}`; export r; \
20556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20557 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20558 $(HOST_EXPORTS) \
20559 $(POSTSTAGE1_HOST_EXPORTS) \
20560 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
20561 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
20562 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
20563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20564 cd $(HOST_SUBDIR)/gold || exit 1; \
20565 case $(srcdir) in \
20566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20567 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20569 esac; \
20570 srcdiroption="--srcdir=$${topdir}/gold"; \
20571 libsrcdir="$$s/gold"; \
20572 $(SHELL) $${libsrcdir}/configure \
20573 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20574 --target=${target_alias} $${srcdiroption} \
20575 --with-build-libsubdir=$(HOST_SUBDIR) \
20576 @stage2_werror_flag@
20577 @endif gold-bootstrap
20579 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
20580 maybe-configure-stagefeedback-gold:
20581 @if gold-bootstrap
20582 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
20583 configure-stagefeedback-gold:
20584 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20585 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
20586 @r=`${PWD_COMMAND}`; export r; \
20587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20588 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
20589 $(HOST_EXPORTS) \
20590 $(POSTSTAGE1_HOST_EXPORTS) \
20591 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
20592 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
20593 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
20594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
20595 cd $(HOST_SUBDIR)/gold || exit 1; \
20596 case $(srcdir) in \
20597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20598 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
20599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20600 esac; \
20601 srcdiroption="--srcdir=$${topdir}/gold"; \
20602 libsrcdir="$$s/gold"; \
20603 $(SHELL) $${libsrcdir}/configure \
20604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20605 --target=${target_alias} $${srcdiroption} \
20606 --with-build-libsubdir=$(HOST_SUBDIR) \
20607 @stage2_werror_flag@
20608 @endif gold-bootstrap
20614 .PHONY: all-gold maybe-all-gold
20615 maybe-all-gold:
20616 @if gcc-bootstrap
20617 all-gold: stage_current
20618 @endif gcc-bootstrap
20619 @if gold
20620 TARGET-gold=all
20621 maybe-all-gold: all-gold
20622 all-gold: configure-gold
20623 @r=`${PWD_COMMAND}`; export r; \
20624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20625 $(HOST_EXPORTS) \
20626 (cd $(HOST_SUBDIR)/gold && \
20627 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20628 $(TARGET-gold))
20629 @endif gold
20633 .PHONY: all-stage1-gold maybe-all-stage1-gold
20634 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
20635 maybe-all-stage1-gold:
20636 maybe-clean-stage1-gold:
20637 @if gold-bootstrap
20638 maybe-all-stage1-gold: all-stage1-gold
20639 all-stage1: all-stage1-gold
20640 TARGET-stage1-gold = $(TARGET-gold)
20641 all-stage1-gold: configure-stage1-gold
20642 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20643 @r=`${PWD_COMMAND}`; export r; \
20644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 $(HOST_EXPORTS) \
20646 cd $(HOST_SUBDIR)/gold && \
20647 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20648 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
20649 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
20650 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
20651 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
20652 $(TARGET-stage1-gold)
20654 maybe-clean-stage1-gold: clean-stage1-gold
20655 clean-stage1: clean-stage1-gold
20656 clean-stage1-gold:
20657 @if [ $(current_stage) = stage1 ]; then \
20658 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20659 else \
20660 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
20661 $(MAKE) stage1-start; \
20662 fi; \
20663 cd $(HOST_SUBDIR)/gold && \
20664 $(MAKE) $(EXTRA_HOST_FLAGS) \
20665 clean
20666 @endif gold-bootstrap
20669 .PHONY: all-stage2-gold maybe-all-stage2-gold
20670 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
20671 maybe-all-stage2-gold:
20672 maybe-clean-stage2-gold:
20673 @if gold-bootstrap
20674 maybe-all-stage2-gold: all-stage2-gold
20675 all-stage2: all-stage2-gold
20676 TARGET-stage2-gold = $(TARGET-gold)
20677 all-stage2-gold: configure-stage2-gold
20678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20679 @r=`${PWD_COMMAND}`; export r; \
20680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20681 $(HOST_EXPORTS) \
20682 $(POSTSTAGE1_HOST_EXPORTS) \
20683 cd $(HOST_SUBDIR)/gold && \
20684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20685 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
20686 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
20687 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
20688 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20689 $(TARGET-stage2-gold)
20691 maybe-clean-stage2-gold: clean-stage2-gold
20692 clean-stage2: clean-stage2-gold
20693 clean-stage2-gold:
20694 @if [ $(current_stage) = stage2 ]; then \
20695 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20696 else \
20697 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
20698 $(MAKE) stage2-start; \
20699 fi; \
20700 cd $(HOST_SUBDIR)/gold && \
20701 $(MAKE) $(EXTRA_HOST_FLAGS) \
20702 $(POSTSTAGE1_FLAGS_TO_PASS) \
20703 clean
20704 @endif gold-bootstrap
20707 .PHONY: all-stageb2g0-gold maybe-all-stageb2g0-gold
20708 .PHONY: clean-stageb2g0-gold maybe-clean-stageb2g0-gold
20709 maybe-all-stageb2g0-gold:
20710 maybe-clean-stageb2g0-gold:
20711 @if gold-bootstrap
20712 maybe-all-stageb2g0-gold: all-stageb2g0-gold
20713 all-stageb2g0: all-stageb2g0-gold
20714 TARGET-stageb2g0-gold = $(TARGET-gold)
20715 all-stageb2g0-gold: configure-stageb2g0-gold
20716 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
20717 @r=`${PWD_COMMAND}`; export r; \
20718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20719 $(HOST_EXPORTS) \
20720 $(POSTSTAGE1_HOST_EXPORTS) \
20721 cd $(HOST_SUBDIR)/gold && \
20722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20723 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
20724 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
20725 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
20726 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20727 $(TARGET-stageb2g0-gold)
20729 maybe-clean-stageb2g0-gold: clean-stageb2g0-gold
20730 clean-stageb2g0: clean-stageb2g0-gold
20731 clean-stageb2g0-gold:
20732 @if [ $(current_stage) = stageb2g0 ]; then \
20733 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20734 else \
20735 [ -f $(HOST_SUBDIR)/stageb2g0-gold/Makefile ] || exit 0; \
20736 $(MAKE) stageb2g0-start; \
20737 fi; \
20738 cd $(HOST_SUBDIR)/gold && \
20739 $(MAKE) $(EXTRA_HOST_FLAGS) \
20740 $(POSTSTAGE1_FLAGS_TO_PASS) \
20741 clean
20742 @endif gold-bootstrap
20745 .PHONY: all-stage3-gold maybe-all-stage3-gold
20746 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
20747 maybe-all-stage3-gold:
20748 maybe-clean-stage3-gold:
20749 @if gold-bootstrap
20750 maybe-all-stage3-gold: all-stage3-gold
20751 all-stage3: all-stage3-gold
20752 TARGET-stage3-gold = $(TARGET-gold)
20753 all-stage3-gold: configure-stage3-gold
20754 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20755 @r=`${PWD_COMMAND}`; export r; \
20756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20757 $(HOST_EXPORTS) \
20758 $(POSTSTAGE1_HOST_EXPORTS) \
20759 cd $(HOST_SUBDIR)/gold && \
20760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20761 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
20762 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
20763 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
20764 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20765 $(TARGET-stage3-gold)
20767 maybe-clean-stage3-gold: clean-stage3-gold
20768 clean-stage3: clean-stage3-gold
20769 clean-stage3-gold:
20770 @if [ $(current_stage) = stage3 ]; then \
20771 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20772 else \
20773 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
20774 $(MAKE) stage3-start; \
20775 fi; \
20776 cd $(HOST_SUBDIR)/gold && \
20777 $(MAKE) $(EXTRA_HOST_FLAGS) \
20778 $(POSTSTAGE1_FLAGS_TO_PASS) \
20779 clean
20780 @endif gold-bootstrap
20783 .PHONY: all-stageb3g2-gold maybe-all-stageb3g2-gold
20784 .PHONY: clean-stageb3g2-gold maybe-clean-stageb3g2-gold
20785 maybe-all-stageb3g2-gold:
20786 maybe-clean-stageb3g2-gold:
20787 @if gold-bootstrap
20788 maybe-all-stageb3g2-gold: all-stageb3g2-gold
20789 all-stageb3g2: all-stageb3g2-gold
20790 TARGET-stageb3g2-gold = $(TARGET-gold)
20791 all-stageb3g2-gold: configure-stageb3g2-gold
20792 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
20793 @r=`${PWD_COMMAND}`; export r; \
20794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20795 $(HOST_EXPORTS) \
20796 $(POSTSTAGE1_HOST_EXPORTS) \
20797 cd $(HOST_SUBDIR)/gold && \
20798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20799 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
20800 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
20801 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
20802 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20803 $(TARGET-stageb3g2-gold)
20805 maybe-clean-stageb3g2-gold: clean-stageb3g2-gold
20806 clean-stageb3g2: clean-stageb3g2-gold
20807 clean-stageb3g2-gold:
20808 @if [ $(current_stage) = stageb3g2 ]; then \
20809 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20810 else \
20811 [ -f $(HOST_SUBDIR)/stageb3g2-gold/Makefile ] || exit 0; \
20812 $(MAKE) stageb3g2-start; \
20813 fi; \
20814 cd $(HOST_SUBDIR)/gold && \
20815 $(MAKE) $(EXTRA_HOST_FLAGS) \
20816 $(POSTSTAGE1_FLAGS_TO_PASS) \
20817 clean
20818 @endif gold-bootstrap
20821 .PHONY: all-stage4-gold maybe-all-stage4-gold
20822 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
20823 maybe-all-stage4-gold:
20824 maybe-clean-stage4-gold:
20825 @if gold-bootstrap
20826 maybe-all-stage4-gold: all-stage4-gold
20827 all-stage4: all-stage4-gold
20828 TARGET-stage4-gold = $(TARGET-gold)
20829 all-stage4-gold: configure-stage4-gold
20830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20831 @r=`${PWD_COMMAND}`; export r; \
20832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20833 $(HOST_EXPORTS) \
20834 $(POSTSTAGE1_HOST_EXPORTS) \
20835 cd $(HOST_SUBDIR)/gold && \
20836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20837 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
20838 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20839 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
20840 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20841 $(TARGET-stage4-gold)
20843 maybe-clean-stage4-gold: clean-stage4-gold
20844 clean-stage4: clean-stage4-gold
20845 clean-stage4-gold:
20846 @if [ $(current_stage) = stage4 ]; then \
20847 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20848 else \
20849 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
20850 $(MAKE) stage4-start; \
20851 fi; \
20852 cd $(HOST_SUBDIR)/gold && \
20853 $(MAKE) $(EXTRA_HOST_FLAGS) \
20854 $(POSTSTAGE1_FLAGS_TO_PASS) \
20855 clean
20856 @endif gold-bootstrap
20859 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
20860 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
20861 maybe-all-stageprofile-gold:
20862 maybe-clean-stageprofile-gold:
20863 @if gold-bootstrap
20864 maybe-all-stageprofile-gold: all-stageprofile-gold
20865 all-stageprofile: all-stageprofile-gold
20866 TARGET-stageprofile-gold = $(TARGET-gold)
20867 all-stageprofile-gold: configure-stageprofile-gold
20868 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20869 @r=`${PWD_COMMAND}`; export r; \
20870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20871 $(HOST_EXPORTS) \
20872 $(POSTSTAGE1_HOST_EXPORTS) \
20873 cd $(HOST_SUBDIR)/gold && \
20874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20875 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
20876 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
20877 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
20878 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20879 $(TARGET-stageprofile-gold)
20881 maybe-clean-stageprofile-gold: clean-stageprofile-gold
20882 clean-stageprofile: clean-stageprofile-gold
20883 clean-stageprofile-gold:
20884 @if [ $(current_stage) = stageprofile ]; then \
20885 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20886 else \
20887 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
20888 $(MAKE) stageprofile-start; \
20889 fi; \
20890 cd $(HOST_SUBDIR)/gold && \
20891 $(MAKE) $(EXTRA_HOST_FLAGS) \
20892 $(POSTSTAGE1_FLAGS_TO_PASS) \
20893 clean
20894 @endif gold-bootstrap
20897 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
20898 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
20899 maybe-all-stagefeedback-gold:
20900 maybe-clean-stagefeedback-gold:
20901 @if gold-bootstrap
20902 maybe-all-stagefeedback-gold: all-stagefeedback-gold
20903 all-stagefeedback: all-stagefeedback-gold
20904 TARGET-stagefeedback-gold = $(TARGET-gold)
20905 all-stagefeedback-gold: configure-stagefeedback-gold
20906 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20907 @r=`${PWD_COMMAND}`; export r; \
20908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20909 $(HOST_EXPORTS) \
20910 $(POSTSTAGE1_HOST_EXPORTS) \
20911 cd $(HOST_SUBDIR)/gold && \
20912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20913 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
20914 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
20915 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
20916 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20917 $(TARGET-stagefeedback-gold)
20919 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
20920 clean-stagefeedback: clean-stagefeedback-gold
20921 clean-stagefeedback-gold:
20922 @if [ $(current_stage) = stagefeedback ]; then \
20923 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
20924 else \
20925 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
20926 $(MAKE) stagefeedback-start; \
20927 fi; \
20928 cd $(HOST_SUBDIR)/gold && \
20929 $(MAKE) $(EXTRA_HOST_FLAGS) \
20930 $(POSTSTAGE1_FLAGS_TO_PASS) \
20931 clean
20932 @endif gold-bootstrap
20938 .PHONY: check-gold maybe-check-gold
20939 maybe-check-gold:
20940 @if gold
20941 maybe-check-gold: check-gold
20943 check-gold:
20944 @: $(MAKE); $(unstage)
20945 @r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20947 $(HOST_EXPORTS) \
20948 (cd $(HOST_SUBDIR)/gold && \
20949 $(MAKE) $(FLAGS_TO_PASS) check)
20951 @endif gold
20953 .PHONY: install-gold maybe-install-gold
20954 maybe-install-gold:
20955 @if gold
20956 maybe-install-gold: install-gold
20958 install-gold: installdirs
20959 @: $(MAKE); $(unstage)
20960 @r=`${PWD_COMMAND}`; export r; \
20961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20962 $(HOST_EXPORTS) \
20963 (cd $(HOST_SUBDIR)/gold && \
20964 $(MAKE) $(FLAGS_TO_PASS) install)
20966 @endif gold
20968 # Other targets (info, dvi, pdf, etc.)
20970 .PHONY: maybe-info-gold info-gold
20971 maybe-info-gold:
20972 @if gold
20973 maybe-info-gold: info-gold
20975 info-gold: \
20976 configure-gold
20977 @[ -f ./gold/Makefile ] || exit 0; \
20978 r=`${PWD_COMMAND}`; export r; \
20979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20980 $(HOST_EXPORTS) \
20981 for flag in $(EXTRA_HOST_FLAGS) ; do \
20982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20983 done; \
20984 echo "Doing info in gold" ; \
20985 (cd $(HOST_SUBDIR)/gold && \
20986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20988 "RANLIB=$${RANLIB}" \
20989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20990 info) \
20991 || exit 1
20993 @endif gold
20995 .PHONY: maybe-dvi-gold dvi-gold
20996 maybe-dvi-gold:
20997 @if gold
20998 maybe-dvi-gold: dvi-gold
21000 dvi-gold: \
21001 configure-gold
21002 @[ -f ./gold/Makefile ] || exit 0; \
21003 r=`${PWD_COMMAND}`; export r; \
21004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21005 $(HOST_EXPORTS) \
21006 for flag in $(EXTRA_HOST_FLAGS) ; do \
21007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21008 done; \
21009 echo "Doing dvi in gold" ; \
21010 (cd $(HOST_SUBDIR)/gold && \
21011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21013 "RANLIB=$${RANLIB}" \
21014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21015 dvi) \
21016 || exit 1
21018 @endif gold
21020 .PHONY: maybe-pdf-gold pdf-gold
21021 maybe-pdf-gold:
21022 @if gold
21023 maybe-pdf-gold: pdf-gold
21025 pdf-gold: \
21026 configure-gold
21027 @[ -f ./gold/Makefile ] || exit 0; \
21028 r=`${PWD_COMMAND}`; export r; \
21029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21030 $(HOST_EXPORTS) \
21031 for flag in $(EXTRA_HOST_FLAGS) ; do \
21032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21033 done; \
21034 echo "Doing pdf in gold" ; \
21035 (cd $(HOST_SUBDIR)/gold && \
21036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21038 "RANLIB=$${RANLIB}" \
21039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21040 pdf) \
21041 || exit 1
21043 @endif gold
21045 .PHONY: maybe-html-gold html-gold
21046 maybe-html-gold:
21047 @if gold
21048 maybe-html-gold: html-gold
21050 html-gold: \
21051 configure-gold
21052 @[ -f ./gold/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 gold" ; \
21060 (cd $(HOST_SUBDIR)/gold && \
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 gold
21070 .PHONY: maybe-TAGS-gold TAGS-gold
21071 maybe-TAGS-gold:
21072 @if gold
21073 maybe-TAGS-gold: TAGS-gold
21075 TAGS-gold: \
21076 configure-gold
21077 @[ -f ./gold/Makefile ] || exit 0; \
21078 r=`${PWD_COMMAND}`; export r; \
21079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 $(HOST_EXPORTS) \
21081 for flag in $(EXTRA_HOST_FLAGS) ; do \
21082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21083 done; \
21084 echo "Doing TAGS in gold" ; \
21085 (cd $(HOST_SUBDIR)/gold && \
21086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21088 "RANLIB=$${RANLIB}" \
21089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21090 TAGS) \
21091 || exit 1
21093 @endif gold
21095 .PHONY: maybe-install-info-gold install-info-gold
21096 maybe-install-info-gold:
21097 @if gold
21098 maybe-install-info-gold: install-info-gold
21100 install-info-gold: \
21101 configure-gold \
21102 info-gold
21103 @[ -f ./gold/Makefile ] || exit 0; \
21104 r=`${PWD_COMMAND}`; export r; \
21105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21106 $(HOST_EXPORTS) \
21107 for flag in $(EXTRA_HOST_FLAGS) ; do \
21108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21109 done; \
21110 echo "Doing install-info in gold" ; \
21111 (cd $(HOST_SUBDIR)/gold && \
21112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21114 "RANLIB=$${RANLIB}" \
21115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21116 install-info) \
21117 || exit 1
21119 @endif gold
21121 .PHONY: maybe-install-pdf-gold install-pdf-gold
21122 maybe-install-pdf-gold:
21123 @if gold
21124 maybe-install-pdf-gold: install-pdf-gold
21126 install-pdf-gold: \
21127 configure-gold \
21128 pdf-gold
21129 @[ -f ./gold/Makefile ] || exit 0; \
21130 r=`${PWD_COMMAND}`; export r; \
21131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21132 $(HOST_EXPORTS) \
21133 for flag in $(EXTRA_HOST_FLAGS) ; do \
21134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21135 done; \
21136 echo "Doing install-pdf in gold" ; \
21137 (cd $(HOST_SUBDIR)/gold && \
21138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21140 "RANLIB=$${RANLIB}" \
21141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21142 install-pdf) \
21143 || exit 1
21145 @endif gold
21147 .PHONY: maybe-install-html-gold install-html-gold
21148 maybe-install-html-gold:
21149 @if gold
21150 maybe-install-html-gold: install-html-gold
21152 install-html-gold: \
21153 configure-gold \
21154 html-gold
21155 @[ -f ./gold/Makefile ] || exit 0; \
21156 r=`${PWD_COMMAND}`; export r; \
21157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21158 $(HOST_EXPORTS) \
21159 for flag in $(EXTRA_HOST_FLAGS) ; do \
21160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21161 done; \
21162 echo "Doing install-html in gold" ; \
21163 (cd $(HOST_SUBDIR)/gold && \
21164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21166 "RANLIB=$${RANLIB}" \
21167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21168 install-html) \
21169 || exit 1
21171 @endif gold
21173 .PHONY: maybe-installcheck-gold installcheck-gold
21174 maybe-installcheck-gold:
21175 @if gold
21176 maybe-installcheck-gold: installcheck-gold
21178 installcheck-gold: \
21179 configure-gold
21180 @[ -f ./gold/Makefile ] || exit 0; \
21181 r=`${PWD_COMMAND}`; export r; \
21182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21183 $(HOST_EXPORTS) \
21184 for flag in $(EXTRA_HOST_FLAGS) ; do \
21185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21186 done; \
21187 echo "Doing installcheck in gold" ; \
21188 (cd $(HOST_SUBDIR)/gold && \
21189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21191 "RANLIB=$${RANLIB}" \
21192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21193 installcheck) \
21194 || exit 1
21196 @endif gold
21198 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
21199 maybe-mostlyclean-gold:
21200 @if gold
21201 maybe-mostlyclean-gold: mostlyclean-gold
21203 mostlyclean-gold:
21204 @[ -f ./gold/Makefile ] || exit 0; \
21205 r=`${PWD_COMMAND}`; export r; \
21206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21207 $(HOST_EXPORTS) \
21208 for flag in $(EXTRA_HOST_FLAGS) ; do \
21209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21210 done; \
21211 echo "Doing mostlyclean in gold" ; \
21212 (cd $(HOST_SUBDIR)/gold && \
21213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21215 "RANLIB=$${RANLIB}" \
21216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21217 mostlyclean) \
21218 || exit 1
21220 @endif gold
21222 .PHONY: maybe-clean-gold clean-gold
21223 maybe-clean-gold:
21224 @if gold
21225 maybe-clean-gold: clean-gold
21227 clean-gold:
21228 @[ -f ./gold/Makefile ] || exit 0; \
21229 r=`${PWD_COMMAND}`; export r; \
21230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21231 $(HOST_EXPORTS) \
21232 for flag in $(EXTRA_HOST_FLAGS) ; do \
21233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21234 done; \
21235 echo "Doing clean in gold" ; \
21236 (cd $(HOST_SUBDIR)/gold && \
21237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21239 "RANLIB=$${RANLIB}" \
21240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21241 clean) \
21242 || exit 1
21244 @endif gold
21246 .PHONY: maybe-distclean-gold distclean-gold
21247 maybe-distclean-gold:
21248 @if gold
21249 maybe-distclean-gold: distclean-gold
21251 distclean-gold:
21252 @[ -f ./gold/Makefile ] || exit 0; \
21253 r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255 $(HOST_EXPORTS) \
21256 for flag in $(EXTRA_HOST_FLAGS) ; do \
21257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21258 done; \
21259 echo "Doing distclean in gold" ; \
21260 (cd $(HOST_SUBDIR)/gold && \
21261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21263 "RANLIB=$${RANLIB}" \
21264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21265 distclean) \
21266 || exit 1
21268 @endif gold
21270 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
21271 maybe-maintainer-clean-gold:
21272 @if gold
21273 maybe-maintainer-clean-gold: maintainer-clean-gold
21275 maintainer-clean-gold:
21276 @[ -f ./gold/Makefile ] || exit 0; \
21277 r=`${PWD_COMMAND}`; export r; \
21278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21279 $(HOST_EXPORTS) \
21280 for flag in $(EXTRA_HOST_FLAGS) ; do \
21281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21282 done; \
21283 echo "Doing maintainer-clean in gold" ; \
21284 (cd $(HOST_SUBDIR)/gold && \
21285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21287 "RANLIB=$${RANLIB}" \
21288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21289 maintainer-clean) \
21290 || exit 1
21292 @endif gold
21296 .PHONY: configure-gprof maybe-configure-gprof
21297 maybe-configure-gprof:
21298 @if gcc-bootstrap
21299 configure-gprof: stage_current
21300 @endif gcc-bootstrap
21301 @if gprof
21302 maybe-configure-gprof: configure-gprof
21303 configure-gprof:
21304 @: $(MAKE); $(unstage)
21305 @r=`${PWD_COMMAND}`; export r; \
21306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21307 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
21308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
21309 $(HOST_EXPORTS) \
21310 echo Configuring in $(HOST_SUBDIR)/gprof; \
21311 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
21312 case $(srcdir) in \
21313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21314 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
21315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21316 esac; \
21317 srcdiroption="--srcdir=$${topdir}/gprof"; \
21318 libsrcdir="$$s/gprof"; \
21319 $(SHELL) $${libsrcdir}/configure \
21320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21321 --target=${target_alias} $${srcdiroption} \
21322 || exit 1
21323 @endif gprof
21329 .PHONY: all-gprof maybe-all-gprof
21330 maybe-all-gprof:
21331 @if gcc-bootstrap
21332 all-gprof: stage_current
21333 @endif gcc-bootstrap
21334 @if gprof
21335 TARGET-gprof=all
21336 maybe-all-gprof: all-gprof
21337 all-gprof: configure-gprof
21338 @: $(MAKE); $(unstage)
21339 @r=`${PWD_COMMAND}`; export r; \
21340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21341 $(HOST_EXPORTS) \
21342 (cd $(HOST_SUBDIR)/gprof && \
21343 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21344 $(TARGET-gprof))
21345 @endif gprof
21350 .PHONY: check-gprof maybe-check-gprof
21351 maybe-check-gprof:
21352 @if gprof
21353 maybe-check-gprof: check-gprof
21355 check-gprof:
21356 @: $(MAKE); $(unstage)
21357 @r=`${PWD_COMMAND}`; export r; \
21358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21359 $(HOST_EXPORTS) \
21360 (cd $(HOST_SUBDIR)/gprof && \
21361 $(MAKE) $(FLAGS_TO_PASS) check)
21363 @endif gprof
21365 .PHONY: install-gprof maybe-install-gprof
21366 maybe-install-gprof:
21367 @if gprof
21368 maybe-install-gprof: install-gprof
21370 install-gprof: installdirs
21371 @: $(MAKE); $(unstage)
21372 @r=`${PWD_COMMAND}`; export r; \
21373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21374 $(HOST_EXPORTS) \
21375 (cd $(HOST_SUBDIR)/gprof && \
21376 $(MAKE) $(FLAGS_TO_PASS) install)
21378 @endif gprof
21380 # Other targets (info, dvi, pdf, etc.)
21382 .PHONY: maybe-info-gprof info-gprof
21383 maybe-info-gprof:
21384 @if gprof
21385 maybe-info-gprof: info-gprof
21387 info-gprof: \
21388 configure-gprof
21389 @: $(MAKE); $(unstage)
21390 @[ -f ./gprof/Makefile ] || exit 0; \
21391 r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393 $(HOST_EXPORTS) \
21394 for flag in $(EXTRA_HOST_FLAGS) ; do \
21395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21396 done; \
21397 echo "Doing info in gprof" ; \
21398 (cd $(HOST_SUBDIR)/gprof && \
21399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21401 "RANLIB=$${RANLIB}" \
21402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21403 info) \
21404 || exit 1
21406 @endif gprof
21408 .PHONY: maybe-dvi-gprof dvi-gprof
21409 maybe-dvi-gprof:
21410 @if gprof
21411 maybe-dvi-gprof: dvi-gprof
21413 dvi-gprof: \
21414 configure-gprof
21415 @: $(MAKE); $(unstage)
21416 @[ -f ./gprof/Makefile ] || exit 0; \
21417 r=`${PWD_COMMAND}`; export r; \
21418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21419 $(HOST_EXPORTS) \
21420 for flag in $(EXTRA_HOST_FLAGS) ; do \
21421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21422 done; \
21423 echo "Doing dvi in gprof" ; \
21424 (cd $(HOST_SUBDIR)/gprof && \
21425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21427 "RANLIB=$${RANLIB}" \
21428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21429 dvi) \
21430 || exit 1
21432 @endif gprof
21434 .PHONY: maybe-pdf-gprof pdf-gprof
21435 maybe-pdf-gprof:
21436 @if gprof
21437 maybe-pdf-gprof: pdf-gprof
21439 pdf-gprof: \
21440 configure-gprof
21441 @: $(MAKE); $(unstage)
21442 @[ -f ./gprof/Makefile ] || exit 0; \
21443 r=`${PWD_COMMAND}`; export r; \
21444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21445 $(HOST_EXPORTS) \
21446 for flag in $(EXTRA_HOST_FLAGS) ; do \
21447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21448 done; \
21449 echo "Doing pdf in gprof" ; \
21450 (cd $(HOST_SUBDIR)/gprof && \
21451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21453 "RANLIB=$${RANLIB}" \
21454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21455 pdf) \
21456 || exit 1
21458 @endif gprof
21460 .PHONY: maybe-html-gprof html-gprof
21461 maybe-html-gprof:
21462 @if gprof
21463 maybe-html-gprof: html-gprof
21465 html-gprof: \
21466 configure-gprof
21467 @: $(MAKE); $(unstage)
21468 @[ -f ./gprof/Makefile ] || exit 0; \
21469 r=`${PWD_COMMAND}`; export r; \
21470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21471 $(HOST_EXPORTS) \
21472 for flag in $(EXTRA_HOST_FLAGS) ; do \
21473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21474 done; \
21475 echo "Doing html in gprof" ; \
21476 (cd $(HOST_SUBDIR)/gprof && \
21477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21479 "RANLIB=$${RANLIB}" \
21480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21481 html) \
21482 || exit 1
21484 @endif gprof
21486 .PHONY: maybe-TAGS-gprof TAGS-gprof
21487 maybe-TAGS-gprof:
21488 @if gprof
21489 maybe-TAGS-gprof: TAGS-gprof
21491 TAGS-gprof: \
21492 configure-gprof
21493 @: $(MAKE); $(unstage)
21494 @[ -f ./gprof/Makefile ] || exit 0; \
21495 r=`${PWD_COMMAND}`; export r; \
21496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21497 $(HOST_EXPORTS) \
21498 for flag in $(EXTRA_HOST_FLAGS) ; do \
21499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21500 done; \
21501 echo "Doing TAGS in gprof" ; \
21502 (cd $(HOST_SUBDIR)/gprof && \
21503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21505 "RANLIB=$${RANLIB}" \
21506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21507 TAGS) \
21508 || exit 1
21510 @endif gprof
21512 .PHONY: maybe-install-info-gprof install-info-gprof
21513 maybe-install-info-gprof:
21514 @if gprof
21515 maybe-install-info-gprof: install-info-gprof
21517 install-info-gprof: \
21518 configure-gprof \
21519 info-gprof
21520 @: $(MAKE); $(unstage)
21521 @[ -f ./gprof/Makefile ] || exit 0; \
21522 r=`${PWD_COMMAND}`; export r; \
21523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21524 $(HOST_EXPORTS) \
21525 for flag in $(EXTRA_HOST_FLAGS) ; do \
21526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21527 done; \
21528 echo "Doing install-info in gprof" ; \
21529 (cd $(HOST_SUBDIR)/gprof && \
21530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21532 "RANLIB=$${RANLIB}" \
21533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21534 install-info) \
21535 || exit 1
21537 @endif gprof
21539 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
21540 maybe-install-pdf-gprof:
21541 @if gprof
21542 maybe-install-pdf-gprof: install-pdf-gprof
21544 install-pdf-gprof: \
21545 configure-gprof \
21546 pdf-gprof
21547 @: $(MAKE); $(unstage)
21548 @[ -f ./gprof/Makefile ] || exit 0; \
21549 r=`${PWD_COMMAND}`; export r; \
21550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21551 $(HOST_EXPORTS) \
21552 for flag in $(EXTRA_HOST_FLAGS) ; do \
21553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21554 done; \
21555 echo "Doing install-pdf in gprof" ; \
21556 (cd $(HOST_SUBDIR)/gprof && \
21557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21559 "RANLIB=$${RANLIB}" \
21560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21561 install-pdf) \
21562 || exit 1
21564 @endif gprof
21566 .PHONY: maybe-install-html-gprof install-html-gprof
21567 maybe-install-html-gprof:
21568 @if gprof
21569 maybe-install-html-gprof: install-html-gprof
21571 install-html-gprof: \
21572 configure-gprof \
21573 html-gprof
21574 @: $(MAKE); $(unstage)
21575 @[ -f ./gprof/Makefile ] || exit 0; \
21576 r=`${PWD_COMMAND}`; export r; \
21577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21578 $(HOST_EXPORTS) \
21579 for flag in $(EXTRA_HOST_FLAGS) ; do \
21580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21581 done; \
21582 echo "Doing install-html in gprof" ; \
21583 (cd $(HOST_SUBDIR)/gprof && \
21584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21586 "RANLIB=$${RANLIB}" \
21587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21588 install-html) \
21589 || exit 1
21591 @endif gprof
21593 .PHONY: maybe-installcheck-gprof installcheck-gprof
21594 maybe-installcheck-gprof:
21595 @if gprof
21596 maybe-installcheck-gprof: installcheck-gprof
21598 installcheck-gprof: \
21599 configure-gprof
21600 @: $(MAKE); $(unstage)
21601 @[ -f ./gprof/Makefile ] || exit 0; \
21602 r=`${PWD_COMMAND}`; export r; \
21603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21604 $(HOST_EXPORTS) \
21605 for flag in $(EXTRA_HOST_FLAGS) ; do \
21606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21607 done; \
21608 echo "Doing installcheck in gprof" ; \
21609 (cd $(HOST_SUBDIR)/gprof && \
21610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21612 "RANLIB=$${RANLIB}" \
21613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21614 installcheck) \
21615 || exit 1
21617 @endif gprof
21619 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
21620 maybe-mostlyclean-gprof:
21621 @if gprof
21622 maybe-mostlyclean-gprof: mostlyclean-gprof
21624 mostlyclean-gprof:
21625 @: $(MAKE); $(unstage)
21626 @[ -f ./gprof/Makefile ] || exit 0; \
21627 r=`${PWD_COMMAND}`; export r; \
21628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21629 $(HOST_EXPORTS) \
21630 for flag in $(EXTRA_HOST_FLAGS) ; do \
21631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21632 done; \
21633 echo "Doing mostlyclean in gprof" ; \
21634 (cd $(HOST_SUBDIR)/gprof && \
21635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21637 "RANLIB=$${RANLIB}" \
21638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21639 mostlyclean) \
21640 || exit 1
21642 @endif gprof
21644 .PHONY: maybe-clean-gprof clean-gprof
21645 maybe-clean-gprof:
21646 @if gprof
21647 maybe-clean-gprof: clean-gprof
21649 clean-gprof:
21650 @: $(MAKE); $(unstage)
21651 @[ -f ./gprof/Makefile ] || exit 0; \
21652 r=`${PWD_COMMAND}`; export r; \
21653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21654 $(HOST_EXPORTS) \
21655 for flag in $(EXTRA_HOST_FLAGS) ; do \
21656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21657 done; \
21658 echo "Doing clean in gprof" ; \
21659 (cd $(HOST_SUBDIR)/gprof && \
21660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21662 "RANLIB=$${RANLIB}" \
21663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21664 clean) \
21665 || exit 1
21667 @endif gprof
21669 .PHONY: maybe-distclean-gprof distclean-gprof
21670 maybe-distclean-gprof:
21671 @if gprof
21672 maybe-distclean-gprof: distclean-gprof
21674 distclean-gprof:
21675 @: $(MAKE); $(unstage)
21676 @[ -f ./gprof/Makefile ] || exit 0; \
21677 r=`${PWD_COMMAND}`; export r; \
21678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21679 $(HOST_EXPORTS) \
21680 for flag in $(EXTRA_HOST_FLAGS) ; do \
21681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21682 done; \
21683 echo "Doing distclean in gprof" ; \
21684 (cd $(HOST_SUBDIR)/gprof && \
21685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21687 "RANLIB=$${RANLIB}" \
21688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21689 distclean) \
21690 || exit 1
21692 @endif gprof
21694 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
21695 maybe-maintainer-clean-gprof:
21696 @if gprof
21697 maybe-maintainer-clean-gprof: maintainer-clean-gprof
21699 maintainer-clean-gprof:
21700 @: $(MAKE); $(unstage)
21701 @[ -f ./gprof/Makefile ] || exit 0; \
21702 r=`${PWD_COMMAND}`; export r; \
21703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 $(HOST_EXPORTS) \
21705 for flag in $(EXTRA_HOST_FLAGS) ; do \
21706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21707 done; \
21708 echo "Doing maintainer-clean in gprof" ; \
21709 (cd $(HOST_SUBDIR)/gprof && \
21710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21712 "RANLIB=$${RANLIB}" \
21713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21714 maintainer-clean) \
21715 || exit 1
21717 @endif gprof
21721 .PHONY: configure-gzip maybe-configure-gzip
21722 maybe-configure-gzip:
21723 @if gcc-bootstrap
21724 configure-gzip: stage_current
21725 @endif gcc-bootstrap
21726 @if gzip
21727 maybe-configure-gzip: configure-gzip
21728 configure-gzip:
21729 @: $(MAKE); $(unstage)
21730 @r=`${PWD_COMMAND}`; export r; \
21731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21732 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
21733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
21734 $(HOST_EXPORTS) \
21735 echo Configuring in $(HOST_SUBDIR)/gzip; \
21736 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
21737 case $(srcdir) in \
21738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21739 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
21740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21741 esac; \
21742 srcdiroption="--srcdir=$${topdir}/gzip"; \
21743 libsrcdir="$$s/gzip"; \
21744 $(SHELL) $${libsrcdir}/configure \
21745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21746 --target=${target_alias} $${srcdiroption} \
21747 || exit 1
21748 @endif gzip
21754 .PHONY: all-gzip maybe-all-gzip
21755 maybe-all-gzip:
21756 @if gcc-bootstrap
21757 all-gzip: stage_current
21758 @endif gcc-bootstrap
21759 @if gzip
21760 TARGET-gzip=all
21761 maybe-all-gzip: all-gzip
21762 all-gzip: configure-gzip
21763 @: $(MAKE); $(unstage)
21764 @r=`${PWD_COMMAND}`; export r; \
21765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21766 $(HOST_EXPORTS) \
21767 (cd $(HOST_SUBDIR)/gzip && \
21768 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21769 $(TARGET-gzip))
21770 @endif gzip
21775 .PHONY: check-gzip maybe-check-gzip
21776 maybe-check-gzip:
21777 @if gzip
21778 maybe-check-gzip: check-gzip
21780 check-gzip:
21781 @: $(MAKE); $(unstage)
21782 @r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 $(HOST_EXPORTS) \
21785 (cd $(HOST_SUBDIR)/gzip && \
21786 $(MAKE) $(FLAGS_TO_PASS) check)
21788 @endif gzip
21790 .PHONY: install-gzip maybe-install-gzip
21791 maybe-install-gzip:
21792 @if gzip
21793 maybe-install-gzip: install-gzip
21795 install-gzip: installdirs
21796 @: $(MAKE); $(unstage)
21797 @r=`${PWD_COMMAND}`; export r; \
21798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21799 $(HOST_EXPORTS) \
21800 (cd $(HOST_SUBDIR)/gzip && \
21801 $(MAKE) $(FLAGS_TO_PASS) install)
21803 @endif gzip
21805 # Other targets (info, dvi, pdf, etc.)
21807 .PHONY: maybe-info-gzip info-gzip
21808 maybe-info-gzip:
21809 @if gzip
21810 maybe-info-gzip: info-gzip
21812 info-gzip: \
21813 configure-gzip
21814 @: $(MAKE); $(unstage)
21815 @[ -f ./gzip/Makefile ] || exit 0; \
21816 r=`${PWD_COMMAND}`; export r; \
21817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21818 $(HOST_EXPORTS) \
21819 for flag in $(EXTRA_HOST_FLAGS) ; do \
21820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21821 done; \
21822 echo "Doing info in gzip" ; \
21823 (cd $(HOST_SUBDIR)/gzip && \
21824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21826 "RANLIB=$${RANLIB}" \
21827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21828 info) \
21829 || exit 1
21831 @endif gzip
21833 .PHONY: maybe-dvi-gzip dvi-gzip
21834 maybe-dvi-gzip:
21835 @if gzip
21836 maybe-dvi-gzip: dvi-gzip
21838 dvi-gzip: \
21839 configure-gzip
21840 @: $(MAKE); $(unstage)
21841 @[ -f ./gzip/Makefile ] || exit 0; \
21842 r=`${PWD_COMMAND}`; export r; \
21843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21844 $(HOST_EXPORTS) \
21845 for flag in $(EXTRA_HOST_FLAGS) ; do \
21846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21847 done; \
21848 echo "Doing dvi in gzip" ; \
21849 (cd $(HOST_SUBDIR)/gzip && \
21850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21852 "RANLIB=$${RANLIB}" \
21853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21854 dvi) \
21855 || exit 1
21857 @endif gzip
21859 .PHONY: maybe-pdf-gzip pdf-gzip
21860 maybe-pdf-gzip:
21861 @if gzip
21862 maybe-pdf-gzip: pdf-gzip
21864 pdf-gzip: \
21865 configure-gzip
21866 @: $(MAKE); $(unstage)
21867 @[ -f ./gzip/Makefile ] || exit 0; \
21868 r=`${PWD_COMMAND}`; export r; \
21869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21870 $(HOST_EXPORTS) \
21871 for flag in $(EXTRA_HOST_FLAGS) ; do \
21872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21873 done; \
21874 echo "Doing pdf in gzip" ; \
21875 (cd $(HOST_SUBDIR)/gzip && \
21876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21878 "RANLIB=$${RANLIB}" \
21879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21880 pdf) \
21881 || exit 1
21883 @endif gzip
21885 .PHONY: maybe-html-gzip html-gzip
21886 maybe-html-gzip:
21887 @if gzip
21888 maybe-html-gzip: html-gzip
21890 html-gzip: \
21891 configure-gzip
21892 @: $(MAKE); $(unstage)
21893 @[ -f ./gzip/Makefile ] || exit 0; \
21894 r=`${PWD_COMMAND}`; export r; \
21895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21896 $(HOST_EXPORTS) \
21897 for flag in $(EXTRA_HOST_FLAGS) ; do \
21898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21899 done; \
21900 echo "Doing html in gzip" ; \
21901 (cd $(HOST_SUBDIR)/gzip && \
21902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21904 "RANLIB=$${RANLIB}" \
21905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21906 html) \
21907 || exit 1
21909 @endif gzip
21911 .PHONY: maybe-TAGS-gzip TAGS-gzip
21912 maybe-TAGS-gzip:
21913 @if gzip
21914 maybe-TAGS-gzip: TAGS-gzip
21916 TAGS-gzip: \
21917 configure-gzip
21918 @: $(MAKE); $(unstage)
21919 @[ -f ./gzip/Makefile ] || exit 0; \
21920 r=`${PWD_COMMAND}`; export r; \
21921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21922 $(HOST_EXPORTS) \
21923 for flag in $(EXTRA_HOST_FLAGS) ; do \
21924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21925 done; \
21926 echo "Doing TAGS in gzip" ; \
21927 (cd $(HOST_SUBDIR)/gzip && \
21928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21930 "RANLIB=$${RANLIB}" \
21931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21932 TAGS) \
21933 || exit 1
21935 @endif gzip
21937 .PHONY: maybe-install-info-gzip install-info-gzip
21938 maybe-install-info-gzip:
21939 @if gzip
21940 maybe-install-info-gzip: install-info-gzip
21942 install-info-gzip: \
21943 configure-gzip \
21944 info-gzip
21945 @: $(MAKE); $(unstage)
21946 @[ -f ./gzip/Makefile ] || exit 0; \
21947 r=`${PWD_COMMAND}`; export r; \
21948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21949 $(HOST_EXPORTS) \
21950 for flag in $(EXTRA_HOST_FLAGS) ; do \
21951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21952 done; \
21953 echo "Doing install-info in gzip" ; \
21954 (cd $(HOST_SUBDIR)/gzip && \
21955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21957 "RANLIB=$${RANLIB}" \
21958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21959 install-info) \
21960 || exit 1
21962 @endif gzip
21964 .PHONY: maybe-install-pdf-gzip install-pdf-gzip
21965 maybe-install-pdf-gzip:
21966 @if gzip
21967 maybe-install-pdf-gzip: install-pdf-gzip
21969 install-pdf-gzip: \
21970 configure-gzip \
21971 pdf-gzip
21972 @: $(MAKE); $(unstage)
21973 @[ -f ./gzip/Makefile ] || exit 0; \
21974 r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21976 $(HOST_EXPORTS) \
21977 for flag in $(EXTRA_HOST_FLAGS) ; do \
21978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21979 done; \
21980 echo "Doing install-pdf in gzip" ; \
21981 (cd $(HOST_SUBDIR)/gzip && \
21982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21984 "RANLIB=$${RANLIB}" \
21985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21986 install-pdf) \
21987 || exit 1
21989 @endif gzip
21991 .PHONY: maybe-install-html-gzip install-html-gzip
21992 maybe-install-html-gzip:
21993 @if gzip
21994 maybe-install-html-gzip: install-html-gzip
21996 install-html-gzip: \
21997 configure-gzip \
21998 html-gzip
21999 @: $(MAKE); $(unstage)
22000 @[ -f ./gzip/Makefile ] || exit 0; \
22001 r=`${PWD_COMMAND}`; export r; \
22002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22003 $(HOST_EXPORTS) \
22004 for flag in $(EXTRA_HOST_FLAGS) ; do \
22005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22006 done; \
22007 echo "Doing install-html in gzip" ; \
22008 (cd $(HOST_SUBDIR)/gzip && \
22009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22011 "RANLIB=$${RANLIB}" \
22012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22013 install-html) \
22014 || exit 1
22016 @endif gzip
22018 .PHONY: maybe-installcheck-gzip installcheck-gzip
22019 maybe-installcheck-gzip:
22020 @if gzip
22021 maybe-installcheck-gzip: installcheck-gzip
22023 installcheck-gzip: \
22024 configure-gzip
22025 @: $(MAKE); $(unstage)
22026 @[ -f ./gzip/Makefile ] || exit 0; \
22027 r=`${PWD_COMMAND}`; export r; \
22028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22029 $(HOST_EXPORTS) \
22030 for flag in $(EXTRA_HOST_FLAGS) ; do \
22031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22032 done; \
22033 echo "Doing installcheck in gzip" ; \
22034 (cd $(HOST_SUBDIR)/gzip && \
22035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22037 "RANLIB=$${RANLIB}" \
22038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22039 installcheck) \
22040 || exit 1
22042 @endif gzip
22044 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
22045 maybe-mostlyclean-gzip:
22046 @if gzip
22047 maybe-mostlyclean-gzip: mostlyclean-gzip
22049 mostlyclean-gzip:
22050 @: $(MAKE); $(unstage)
22051 @[ -f ./gzip/Makefile ] || exit 0; \
22052 r=`${PWD_COMMAND}`; export r; \
22053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22054 $(HOST_EXPORTS) \
22055 for flag in $(EXTRA_HOST_FLAGS) ; do \
22056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22057 done; \
22058 echo "Doing mostlyclean in gzip" ; \
22059 (cd $(HOST_SUBDIR)/gzip && \
22060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22062 "RANLIB=$${RANLIB}" \
22063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22064 mostlyclean) \
22065 || exit 1
22067 @endif gzip
22069 .PHONY: maybe-clean-gzip clean-gzip
22070 maybe-clean-gzip:
22071 @if gzip
22072 maybe-clean-gzip: clean-gzip
22074 clean-gzip:
22075 @: $(MAKE); $(unstage)
22076 @[ -f ./gzip/Makefile ] || exit 0; \
22077 r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 $(HOST_EXPORTS) \
22080 for flag in $(EXTRA_HOST_FLAGS) ; do \
22081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22082 done; \
22083 echo "Doing clean in gzip" ; \
22084 (cd $(HOST_SUBDIR)/gzip && \
22085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22087 "RANLIB=$${RANLIB}" \
22088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22089 clean) \
22090 || exit 1
22092 @endif gzip
22094 .PHONY: maybe-distclean-gzip distclean-gzip
22095 maybe-distclean-gzip:
22096 @if gzip
22097 maybe-distclean-gzip: distclean-gzip
22099 distclean-gzip:
22100 @: $(MAKE); $(unstage)
22101 @[ -f ./gzip/Makefile ] || exit 0; \
22102 r=`${PWD_COMMAND}`; export r; \
22103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22104 $(HOST_EXPORTS) \
22105 for flag in $(EXTRA_HOST_FLAGS) ; do \
22106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22107 done; \
22108 echo "Doing distclean in gzip" ; \
22109 (cd $(HOST_SUBDIR)/gzip && \
22110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22112 "RANLIB=$${RANLIB}" \
22113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22114 distclean) \
22115 || exit 1
22117 @endif gzip
22119 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
22120 maybe-maintainer-clean-gzip:
22121 @if gzip
22122 maybe-maintainer-clean-gzip: maintainer-clean-gzip
22124 maintainer-clean-gzip:
22125 @: $(MAKE); $(unstage)
22126 @[ -f ./gzip/Makefile ] || exit 0; \
22127 r=`${PWD_COMMAND}`; export r; \
22128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 $(HOST_EXPORTS) \
22130 for flag in $(EXTRA_HOST_FLAGS) ; do \
22131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22132 done; \
22133 echo "Doing maintainer-clean in gzip" ; \
22134 (cd $(HOST_SUBDIR)/gzip && \
22135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22137 "RANLIB=$${RANLIB}" \
22138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22139 maintainer-clean) \
22140 || exit 1
22142 @endif gzip
22146 .PHONY: configure-hello maybe-configure-hello
22147 maybe-configure-hello:
22148 @if gcc-bootstrap
22149 configure-hello: stage_current
22150 @endif gcc-bootstrap
22151 @if hello
22152 maybe-configure-hello: configure-hello
22153 configure-hello:
22154 @: $(MAKE); $(unstage)
22155 @r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
22158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
22159 $(HOST_EXPORTS) \
22160 echo Configuring in $(HOST_SUBDIR)/hello; \
22161 cd "$(HOST_SUBDIR)/hello" || exit 1; \
22162 case $(srcdir) in \
22163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22164 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
22165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22166 esac; \
22167 srcdiroption="--srcdir=$${topdir}/hello"; \
22168 libsrcdir="$$s/hello"; \
22169 $(SHELL) $${libsrcdir}/configure \
22170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22171 --target=${target_alias} $${srcdiroption} \
22172 || exit 1
22173 @endif hello
22179 .PHONY: all-hello maybe-all-hello
22180 maybe-all-hello:
22181 @if gcc-bootstrap
22182 all-hello: stage_current
22183 @endif gcc-bootstrap
22184 @if hello
22185 TARGET-hello=all
22186 maybe-all-hello: all-hello
22187 all-hello: configure-hello
22188 @: $(MAKE); $(unstage)
22189 @r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 $(HOST_EXPORTS) \
22192 (cd $(HOST_SUBDIR)/hello && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22194 $(TARGET-hello))
22195 @endif hello
22200 .PHONY: check-hello maybe-check-hello
22201 maybe-check-hello:
22202 @if hello
22203 maybe-check-hello: check-hello
22205 check-hello:
22206 @: $(MAKE); $(unstage)
22207 @r=`${PWD_COMMAND}`; export r; \
22208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209 $(HOST_EXPORTS) \
22210 (cd $(HOST_SUBDIR)/hello && \
22211 $(MAKE) $(FLAGS_TO_PASS) check)
22213 @endif hello
22215 .PHONY: install-hello maybe-install-hello
22216 maybe-install-hello:
22217 @if hello
22218 maybe-install-hello: install-hello
22220 install-hello: installdirs
22221 @: $(MAKE); $(unstage)
22222 @r=`${PWD_COMMAND}`; export r; \
22223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22224 $(HOST_EXPORTS) \
22225 (cd $(HOST_SUBDIR)/hello && \
22226 $(MAKE) $(FLAGS_TO_PASS) install)
22228 @endif hello
22230 # Other targets (info, dvi, pdf, etc.)
22232 .PHONY: maybe-info-hello info-hello
22233 maybe-info-hello:
22234 @if hello
22235 maybe-info-hello: info-hello
22237 info-hello: \
22238 configure-hello
22239 @: $(MAKE); $(unstage)
22240 @[ -f ./hello/Makefile ] || exit 0; \
22241 r=`${PWD_COMMAND}`; export r; \
22242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22243 $(HOST_EXPORTS) \
22244 for flag in $(EXTRA_HOST_FLAGS) ; do \
22245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22246 done; \
22247 echo "Doing info in hello" ; \
22248 (cd $(HOST_SUBDIR)/hello && \
22249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22251 "RANLIB=$${RANLIB}" \
22252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22253 info) \
22254 || exit 1
22256 @endif hello
22258 .PHONY: maybe-dvi-hello dvi-hello
22259 maybe-dvi-hello:
22260 @if hello
22261 maybe-dvi-hello: dvi-hello
22263 dvi-hello: \
22264 configure-hello
22265 @: $(MAKE); $(unstage)
22266 @[ -f ./hello/Makefile ] || exit 0; \
22267 r=`${PWD_COMMAND}`; export r; \
22268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22269 $(HOST_EXPORTS) \
22270 for flag in $(EXTRA_HOST_FLAGS) ; do \
22271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22272 done; \
22273 echo "Doing dvi in hello" ; \
22274 (cd $(HOST_SUBDIR)/hello && \
22275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22277 "RANLIB=$${RANLIB}" \
22278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22279 dvi) \
22280 || exit 1
22282 @endif hello
22284 .PHONY: maybe-pdf-hello pdf-hello
22285 maybe-pdf-hello:
22286 @if hello
22287 maybe-pdf-hello: pdf-hello
22289 pdf-hello: \
22290 configure-hello
22291 @: $(MAKE); $(unstage)
22292 @[ -f ./hello/Makefile ] || exit 0; \
22293 r=`${PWD_COMMAND}`; export r; \
22294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22295 $(HOST_EXPORTS) \
22296 for flag in $(EXTRA_HOST_FLAGS) ; do \
22297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22298 done; \
22299 echo "Doing pdf in hello" ; \
22300 (cd $(HOST_SUBDIR)/hello && \
22301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22303 "RANLIB=$${RANLIB}" \
22304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22305 pdf) \
22306 || exit 1
22308 @endif hello
22310 .PHONY: maybe-html-hello html-hello
22311 maybe-html-hello:
22312 @if hello
22313 maybe-html-hello: html-hello
22315 html-hello: \
22316 configure-hello
22317 @: $(MAKE); $(unstage)
22318 @[ -f ./hello/Makefile ] || exit 0; \
22319 r=`${PWD_COMMAND}`; export r; \
22320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22321 $(HOST_EXPORTS) \
22322 for flag in $(EXTRA_HOST_FLAGS) ; do \
22323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22324 done; \
22325 echo "Doing html in hello" ; \
22326 (cd $(HOST_SUBDIR)/hello && \
22327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22329 "RANLIB=$${RANLIB}" \
22330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22331 html) \
22332 || exit 1
22334 @endif hello
22336 .PHONY: maybe-TAGS-hello TAGS-hello
22337 maybe-TAGS-hello:
22338 @if hello
22339 maybe-TAGS-hello: TAGS-hello
22341 TAGS-hello: \
22342 configure-hello
22343 @: $(MAKE); $(unstage)
22344 @[ -f ./hello/Makefile ] || exit 0; \
22345 r=`${PWD_COMMAND}`; export r; \
22346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22347 $(HOST_EXPORTS) \
22348 for flag in $(EXTRA_HOST_FLAGS) ; do \
22349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22350 done; \
22351 echo "Doing TAGS in hello" ; \
22352 (cd $(HOST_SUBDIR)/hello && \
22353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22355 "RANLIB=$${RANLIB}" \
22356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22357 TAGS) \
22358 || exit 1
22360 @endif hello
22362 .PHONY: maybe-install-info-hello install-info-hello
22363 maybe-install-info-hello:
22364 @if hello
22365 maybe-install-info-hello: install-info-hello
22367 install-info-hello: \
22368 configure-hello \
22369 info-hello
22370 @: $(MAKE); $(unstage)
22371 @[ -f ./hello/Makefile ] || exit 0; \
22372 r=`${PWD_COMMAND}`; export r; \
22373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22374 $(HOST_EXPORTS) \
22375 for flag in $(EXTRA_HOST_FLAGS) ; do \
22376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22377 done; \
22378 echo "Doing install-info in hello" ; \
22379 (cd $(HOST_SUBDIR)/hello && \
22380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22382 "RANLIB=$${RANLIB}" \
22383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22384 install-info) \
22385 || exit 1
22387 @endif hello
22389 .PHONY: maybe-install-pdf-hello install-pdf-hello
22390 maybe-install-pdf-hello:
22391 @if hello
22392 maybe-install-pdf-hello: install-pdf-hello
22394 install-pdf-hello: \
22395 configure-hello \
22396 pdf-hello
22397 @: $(MAKE); $(unstage)
22398 @[ -f ./hello/Makefile ] || exit 0; \
22399 r=`${PWD_COMMAND}`; export r; \
22400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22401 $(HOST_EXPORTS) \
22402 for flag in $(EXTRA_HOST_FLAGS) ; do \
22403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22404 done; \
22405 echo "Doing install-pdf in hello" ; \
22406 (cd $(HOST_SUBDIR)/hello && \
22407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22409 "RANLIB=$${RANLIB}" \
22410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22411 install-pdf) \
22412 || exit 1
22414 @endif hello
22416 .PHONY: maybe-install-html-hello install-html-hello
22417 maybe-install-html-hello:
22418 @if hello
22419 maybe-install-html-hello: install-html-hello
22421 install-html-hello: \
22422 configure-hello \
22423 html-hello
22424 @: $(MAKE); $(unstage)
22425 @[ -f ./hello/Makefile ] || exit 0; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 $(HOST_EXPORTS) \
22429 for flag in $(EXTRA_HOST_FLAGS) ; do \
22430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22431 done; \
22432 echo "Doing install-html in hello" ; \
22433 (cd $(HOST_SUBDIR)/hello && \
22434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436 "RANLIB=$${RANLIB}" \
22437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22438 install-html) \
22439 || exit 1
22441 @endif hello
22443 .PHONY: maybe-installcheck-hello installcheck-hello
22444 maybe-installcheck-hello:
22445 @if hello
22446 maybe-installcheck-hello: installcheck-hello
22448 installcheck-hello: \
22449 configure-hello
22450 @: $(MAKE); $(unstage)
22451 @[ -f ./hello/Makefile ] || exit 0; \
22452 r=`${PWD_COMMAND}`; export r; \
22453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22454 $(HOST_EXPORTS) \
22455 for flag in $(EXTRA_HOST_FLAGS) ; do \
22456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22457 done; \
22458 echo "Doing installcheck in hello" ; \
22459 (cd $(HOST_SUBDIR)/hello && \
22460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22462 "RANLIB=$${RANLIB}" \
22463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22464 installcheck) \
22465 || exit 1
22467 @endif hello
22469 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
22470 maybe-mostlyclean-hello:
22471 @if hello
22472 maybe-mostlyclean-hello: mostlyclean-hello
22474 mostlyclean-hello:
22475 @: $(MAKE); $(unstage)
22476 @[ -f ./hello/Makefile ] || exit 0; \
22477 r=`${PWD_COMMAND}`; export r; \
22478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22479 $(HOST_EXPORTS) \
22480 for flag in $(EXTRA_HOST_FLAGS) ; do \
22481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22482 done; \
22483 echo "Doing mostlyclean in hello" ; \
22484 (cd $(HOST_SUBDIR)/hello && \
22485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22487 "RANLIB=$${RANLIB}" \
22488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22489 mostlyclean) \
22490 || exit 1
22492 @endif hello
22494 .PHONY: maybe-clean-hello clean-hello
22495 maybe-clean-hello:
22496 @if hello
22497 maybe-clean-hello: clean-hello
22499 clean-hello:
22500 @: $(MAKE); $(unstage)
22501 @[ -f ./hello/Makefile ] || exit 0; \
22502 r=`${PWD_COMMAND}`; export r; \
22503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22504 $(HOST_EXPORTS) \
22505 for flag in $(EXTRA_HOST_FLAGS) ; do \
22506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22507 done; \
22508 echo "Doing clean in hello" ; \
22509 (cd $(HOST_SUBDIR)/hello && \
22510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22512 "RANLIB=$${RANLIB}" \
22513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22514 clean) \
22515 || exit 1
22517 @endif hello
22519 .PHONY: maybe-distclean-hello distclean-hello
22520 maybe-distclean-hello:
22521 @if hello
22522 maybe-distclean-hello: distclean-hello
22524 distclean-hello:
22525 @: $(MAKE); $(unstage)
22526 @[ -f ./hello/Makefile ] || exit 0; \
22527 r=`${PWD_COMMAND}`; export r; \
22528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22529 $(HOST_EXPORTS) \
22530 for flag in $(EXTRA_HOST_FLAGS) ; do \
22531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22532 done; \
22533 echo "Doing distclean in hello" ; \
22534 (cd $(HOST_SUBDIR)/hello && \
22535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22537 "RANLIB=$${RANLIB}" \
22538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22539 distclean) \
22540 || exit 1
22542 @endif hello
22544 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
22545 maybe-maintainer-clean-hello:
22546 @if hello
22547 maybe-maintainer-clean-hello: maintainer-clean-hello
22549 maintainer-clean-hello:
22550 @: $(MAKE); $(unstage)
22551 @[ -f ./hello/Makefile ] || exit 0; \
22552 r=`${PWD_COMMAND}`; export r; \
22553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22554 $(HOST_EXPORTS) \
22555 for flag in $(EXTRA_HOST_FLAGS) ; do \
22556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22557 done; \
22558 echo "Doing maintainer-clean in hello" ; \
22559 (cd $(HOST_SUBDIR)/hello && \
22560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22562 "RANLIB=$${RANLIB}" \
22563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22564 maintainer-clean) \
22565 || exit 1
22567 @endif hello
22571 .PHONY: configure-indent maybe-configure-indent
22572 maybe-configure-indent:
22573 @if gcc-bootstrap
22574 configure-indent: stage_current
22575 @endif gcc-bootstrap
22576 @if indent
22577 maybe-configure-indent: configure-indent
22578 configure-indent:
22579 @: $(MAKE); $(unstage)
22580 @r=`${PWD_COMMAND}`; export r; \
22581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22582 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
22583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
22584 $(HOST_EXPORTS) \
22585 echo Configuring in $(HOST_SUBDIR)/indent; \
22586 cd "$(HOST_SUBDIR)/indent" || exit 1; \
22587 case $(srcdir) in \
22588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22589 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
22590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22591 esac; \
22592 srcdiroption="--srcdir=$${topdir}/indent"; \
22593 libsrcdir="$$s/indent"; \
22594 $(SHELL) $${libsrcdir}/configure \
22595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22596 --target=${target_alias} $${srcdiroption} \
22597 || exit 1
22598 @endif indent
22604 .PHONY: all-indent maybe-all-indent
22605 maybe-all-indent:
22606 @if gcc-bootstrap
22607 all-indent: stage_current
22608 @endif gcc-bootstrap
22609 @if indent
22610 TARGET-indent=all
22611 maybe-all-indent: all-indent
22612 all-indent: configure-indent
22613 @: $(MAKE); $(unstage)
22614 @r=`${PWD_COMMAND}`; export r; \
22615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22616 $(HOST_EXPORTS) \
22617 (cd $(HOST_SUBDIR)/indent && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22619 $(TARGET-indent))
22620 @endif indent
22625 .PHONY: check-indent maybe-check-indent
22626 maybe-check-indent:
22627 @if indent
22628 maybe-check-indent: check-indent
22630 check-indent:
22631 @: $(MAKE); $(unstage)
22632 @r=`${PWD_COMMAND}`; export r; \
22633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22634 $(HOST_EXPORTS) \
22635 (cd $(HOST_SUBDIR)/indent && \
22636 $(MAKE) $(FLAGS_TO_PASS) check)
22638 @endif indent
22640 .PHONY: install-indent maybe-install-indent
22641 maybe-install-indent:
22642 @if indent
22643 maybe-install-indent: install-indent
22645 install-indent: installdirs
22646 @: $(MAKE); $(unstage)
22647 @r=`${PWD_COMMAND}`; export r; \
22648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649 $(HOST_EXPORTS) \
22650 (cd $(HOST_SUBDIR)/indent && \
22651 $(MAKE) $(FLAGS_TO_PASS) install)
22653 @endif indent
22655 # Other targets (info, dvi, pdf, etc.)
22657 .PHONY: maybe-info-indent info-indent
22658 maybe-info-indent:
22659 @if indent
22660 maybe-info-indent: info-indent
22662 info-indent: \
22663 configure-indent
22664 @: $(MAKE); $(unstage)
22665 @[ -f ./indent/Makefile ] || exit 0; \
22666 r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22668 $(HOST_EXPORTS) \
22669 for flag in $(EXTRA_HOST_FLAGS) ; do \
22670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22671 done; \
22672 echo "Doing info in indent" ; \
22673 (cd $(HOST_SUBDIR)/indent && \
22674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22676 "RANLIB=$${RANLIB}" \
22677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22678 info) \
22679 || exit 1
22681 @endif indent
22683 .PHONY: maybe-dvi-indent dvi-indent
22684 maybe-dvi-indent:
22685 @if indent
22686 maybe-dvi-indent: dvi-indent
22688 dvi-indent: \
22689 configure-indent
22690 @: $(MAKE); $(unstage)
22691 @[ -f ./indent/Makefile ] || exit 0; \
22692 r=`${PWD_COMMAND}`; export r; \
22693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22694 $(HOST_EXPORTS) \
22695 for flag in $(EXTRA_HOST_FLAGS) ; do \
22696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22697 done; \
22698 echo "Doing dvi in indent" ; \
22699 (cd $(HOST_SUBDIR)/indent && \
22700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22702 "RANLIB=$${RANLIB}" \
22703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22704 dvi) \
22705 || exit 1
22707 @endif indent
22709 .PHONY: maybe-pdf-indent pdf-indent
22710 maybe-pdf-indent:
22711 @if indent
22712 maybe-pdf-indent: pdf-indent
22714 pdf-indent: \
22715 configure-indent
22716 @: $(MAKE); $(unstage)
22717 @[ -f ./indent/Makefile ] || exit 0; \
22718 r=`${PWD_COMMAND}`; export r; \
22719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720 $(HOST_EXPORTS) \
22721 for flag in $(EXTRA_HOST_FLAGS) ; do \
22722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22723 done; \
22724 echo "Doing pdf in indent" ; \
22725 (cd $(HOST_SUBDIR)/indent && \
22726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22728 "RANLIB=$${RANLIB}" \
22729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22730 pdf) \
22731 || exit 1
22733 @endif indent
22735 .PHONY: maybe-html-indent html-indent
22736 maybe-html-indent:
22737 @if indent
22738 maybe-html-indent: html-indent
22740 html-indent: \
22741 configure-indent
22742 @: $(MAKE); $(unstage)
22743 @[ -f ./indent/Makefile ] || exit 0; \
22744 r=`${PWD_COMMAND}`; export r; \
22745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22746 $(HOST_EXPORTS) \
22747 for flag in $(EXTRA_HOST_FLAGS) ; do \
22748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22749 done; \
22750 echo "Doing html in indent" ; \
22751 (cd $(HOST_SUBDIR)/indent && \
22752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22754 "RANLIB=$${RANLIB}" \
22755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22756 html) \
22757 || exit 1
22759 @endif indent
22761 .PHONY: maybe-TAGS-indent TAGS-indent
22762 maybe-TAGS-indent:
22763 @if indent
22764 maybe-TAGS-indent: TAGS-indent
22766 TAGS-indent: \
22767 configure-indent
22768 @: $(MAKE); $(unstage)
22769 @[ -f ./indent/Makefile ] || exit 0; \
22770 r=`${PWD_COMMAND}`; export r; \
22771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22772 $(HOST_EXPORTS) \
22773 for flag in $(EXTRA_HOST_FLAGS) ; do \
22774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22775 done; \
22776 echo "Doing TAGS in indent" ; \
22777 (cd $(HOST_SUBDIR)/indent && \
22778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22780 "RANLIB=$${RANLIB}" \
22781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22782 TAGS) \
22783 || exit 1
22785 @endif indent
22787 .PHONY: maybe-install-info-indent install-info-indent
22788 maybe-install-info-indent:
22789 @if indent
22790 maybe-install-info-indent: install-info-indent
22792 install-info-indent: \
22793 configure-indent \
22794 info-indent
22795 @: $(MAKE); $(unstage)
22796 @[ -f ./indent/Makefile ] || exit 0; \
22797 r=`${PWD_COMMAND}`; export r; \
22798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22799 $(HOST_EXPORTS) \
22800 for flag in $(EXTRA_HOST_FLAGS) ; do \
22801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22802 done; \
22803 echo "Doing install-info in indent" ; \
22804 (cd $(HOST_SUBDIR)/indent && \
22805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22807 "RANLIB=$${RANLIB}" \
22808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22809 install-info) \
22810 || exit 1
22812 @endif indent
22814 .PHONY: maybe-install-pdf-indent install-pdf-indent
22815 maybe-install-pdf-indent:
22816 @if indent
22817 maybe-install-pdf-indent: install-pdf-indent
22819 install-pdf-indent: \
22820 configure-indent \
22821 pdf-indent
22822 @: $(MAKE); $(unstage)
22823 @[ -f ./indent/Makefile ] || exit 0; \
22824 r=`${PWD_COMMAND}`; export r; \
22825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22826 $(HOST_EXPORTS) \
22827 for flag in $(EXTRA_HOST_FLAGS) ; do \
22828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22829 done; \
22830 echo "Doing install-pdf in indent" ; \
22831 (cd $(HOST_SUBDIR)/indent && \
22832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22834 "RANLIB=$${RANLIB}" \
22835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22836 install-pdf) \
22837 || exit 1
22839 @endif indent
22841 .PHONY: maybe-install-html-indent install-html-indent
22842 maybe-install-html-indent:
22843 @if indent
22844 maybe-install-html-indent: install-html-indent
22846 install-html-indent: \
22847 configure-indent \
22848 html-indent
22849 @: $(MAKE); $(unstage)
22850 @[ -f ./indent/Makefile ] || exit 0; \
22851 r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 for flag in $(EXTRA_HOST_FLAGS) ; do \
22855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 done; \
22857 echo "Doing install-html in indent" ; \
22858 (cd $(HOST_SUBDIR)/indent && \
22859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22861 "RANLIB=$${RANLIB}" \
22862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22863 install-html) \
22864 || exit 1
22866 @endif indent
22868 .PHONY: maybe-installcheck-indent installcheck-indent
22869 maybe-installcheck-indent:
22870 @if indent
22871 maybe-installcheck-indent: installcheck-indent
22873 installcheck-indent: \
22874 configure-indent
22875 @: $(MAKE); $(unstage)
22876 @[ -f ./indent/Makefile ] || exit 0; \
22877 r=`${PWD_COMMAND}`; export r; \
22878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22879 $(HOST_EXPORTS) \
22880 for flag in $(EXTRA_HOST_FLAGS) ; do \
22881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22882 done; \
22883 echo "Doing installcheck in indent" ; \
22884 (cd $(HOST_SUBDIR)/indent && \
22885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22887 "RANLIB=$${RANLIB}" \
22888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22889 installcheck) \
22890 || exit 1
22892 @endif indent
22894 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
22895 maybe-mostlyclean-indent:
22896 @if indent
22897 maybe-mostlyclean-indent: mostlyclean-indent
22899 mostlyclean-indent:
22900 @: $(MAKE); $(unstage)
22901 @[ -f ./indent/Makefile ] || exit 0; \
22902 r=`${PWD_COMMAND}`; export r; \
22903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22904 $(HOST_EXPORTS) \
22905 for flag in $(EXTRA_HOST_FLAGS) ; do \
22906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22907 done; \
22908 echo "Doing mostlyclean in indent" ; \
22909 (cd $(HOST_SUBDIR)/indent && \
22910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22912 "RANLIB=$${RANLIB}" \
22913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22914 mostlyclean) \
22915 || exit 1
22917 @endif indent
22919 .PHONY: maybe-clean-indent clean-indent
22920 maybe-clean-indent:
22921 @if indent
22922 maybe-clean-indent: clean-indent
22924 clean-indent:
22925 @: $(MAKE); $(unstage)
22926 @[ -f ./indent/Makefile ] || exit 0; \
22927 r=`${PWD_COMMAND}`; export r; \
22928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22929 $(HOST_EXPORTS) \
22930 for flag in $(EXTRA_HOST_FLAGS) ; do \
22931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22932 done; \
22933 echo "Doing clean in indent" ; \
22934 (cd $(HOST_SUBDIR)/indent && \
22935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22937 "RANLIB=$${RANLIB}" \
22938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22939 clean) \
22940 || exit 1
22942 @endif indent
22944 .PHONY: maybe-distclean-indent distclean-indent
22945 maybe-distclean-indent:
22946 @if indent
22947 maybe-distclean-indent: distclean-indent
22949 distclean-indent:
22950 @: $(MAKE); $(unstage)
22951 @[ -f ./indent/Makefile ] || exit 0; \
22952 r=`${PWD_COMMAND}`; export r; \
22953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22954 $(HOST_EXPORTS) \
22955 for flag in $(EXTRA_HOST_FLAGS) ; do \
22956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22957 done; \
22958 echo "Doing distclean in indent" ; \
22959 (cd $(HOST_SUBDIR)/indent && \
22960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22962 "RANLIB=$${RANLIB}" \
22963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22964 distclean) \
22965 || exit 1
22967 @endif indent
22969 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
22970 maybe-maintainer-clean-indent:
22971 @if indent
22972 maybe-maintainer-clean-indent: maintainer-clean-indent
22974 maintainer-clean-indent:
22975 @: $(MAKE); $(unstage)
22976 @[ -f ./indent/Makefile ] || exit 0; \
22977 r=`${PWD_COMMAND}`; export r; \
22978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22979 $(HOST_EXPORTS) \
22980 for flag in $(EXTRA_HOST_FLAGS) ; do \
22981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22982 done; \
22983 echo "Doing maintainer-clean in indent" ; \
22984 (cd $(HOST_SUBDIR)/indent && \
22985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22987 "RANLIB=$${RANLIB}" \
22988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22989 maintainer-clean) \
22990 || exit 1
22992 @endif indent
22996 .PHONY: configure-intl maybe-configure-intl
22997 maybe-configure-intl:
22998 @if gcc-bootstrap
22999 configure-intl: stage_current
23000 @endif gcc-bootstrap
23001 @if intl
23002 maybe-configure-intl: configure-intl
23003 configure-intl:
23004 @r=`${PWD_COMMAND}`; export r; \
23005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23006 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23008 $(HOST_EXPORTS) \
23009 echo Configuring in $(HOST_SUBDIR)/intl; \
23010 cd "$(HOST_SUBDIR)/intl" || exit 1; \
23011 case $(srcdir) in \
23012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23013 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23015 esac; \
23016 srcdiroption="--srcdir=$${topdir}/intl"; \
23017 libsrcdir="$$s/intl"; \
23018 $(SHELL) $${libsrcdir}/configure \
23019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23020 --target=${target_alias} $${srcdiroption} \
23021 || exit 1
23022 @endif intl
23026 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
23027 maybe-configure-stage1-intl:
23028 @if intl-bootstrap
23029 maybe-configure-stage1-intl: configure-stage1-intl
23030 configure-stage1-intl:
23031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23033 @r=`${PWD_COMMAND}`; export r; \
23034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23035 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23036 $(HOST_EXPORTS) \
23037 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23038 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
23039 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
23040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23041 cd $(HOST_SUBDIR)/intl || exit 1; \
23042 case $(srcdir) in \
23043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23044 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23046 esac; \
23047 srcdiroption="--srcdir=$${topdir}/intl"; \
23048 libsrcdir="$$s/intl"; \
23049 $(SHELL) $${libsrcdir}/configure \
23050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23051 --target=${target_alias} $${srcdiroption} \
23053 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
23054 @endif intl-bootstrap
23056 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
23057 maybe-configure-stage2-intl:
23058 @if intl-bootstrap
23059 maybe-configure-stage2-intl: configure-stage2-intl
23060 configure-stage2-intl:
23061 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23063 @r=`${PWD_COMMAND}`; export r; \
23064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23066 $(HOST_EXPORTS) \
23067 $(POSTSTAGE1_HOST_EXPORTS) \
23068 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23069 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
23070 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
23071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23072 cd $(HOST_SUBDIR)/intl || exit 1; \
23073 case $(srcdir) in \
23074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23075 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23077 esac; \
23078 srcdiroption="--srcdir=$${topdir}/intl"; \
23079 libsrcdir="$$s/intl"; \
23080 $(SHELL) $${libsrcdir}/configure \
23081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23082 --target=${target_alias} $${srcdiroption} \
23083 --with-build-libsubdir=$(HOST_SUBDIR) \
23084 @stage2_werror_flag@
23085 @endif intl-bootstrap
23087 .PHONY: configure-stageb2g0-intl maybe-configure-stageb2g0-intl
23088 maybe-configure-stageb2g0-intl:
23089 @if intl-bootstrap
23090 maybe-configure-stageb2g0-intl: configure-stageb2g0-intl
23091 configure-stageb2g0-intl:
23092 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
23093 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23094 @r=`${PWD_COMMAND}`; export r; \
23095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23096 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23097 $(HOST_EXPORTS) \
23098 $(POSTSTAGE1_HOST_EXPORTS) \
23099 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
23100 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
23101 echo Configuring stage b2g0 in $(HOST_SUBDIR)/intl ; \
23102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23103 cd $(HOST_SUBDIR)/intl || exit 1; \
23104 case $(srcdir) in \
23105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23106 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23108 esac; \
23109 srcdiroption="--srcdir=$${topdir}/intl"; \
23110 libsrcdir="$$s/intl"; \
23111 $(SHELL) $${libsrcdir}/configure \
23112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23113 --target=${target_alias} $${srcdiroption} \
23114 --with-build-libsubdir=$(HOST_SUBDIR) \
23115 @stage2_werror_flag@
23116 @endif intl-bootstrap
23118 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
23119 maybe-configure-stage3-intl:
23120 @if intl-bootstrap
23121 maybe-configure-stage3-intl: configure-stage3-intl
23122 configure-stage3-intl:
23123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23125 @r=`${PWD_COMMAND}`; export r; \
23126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23127 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23128 $(HOST_EXPORTS) \
23129 $(POSTSTAGE1_HOST_EXPORTS) \
23130 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23131 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
23132 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
23133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23134 cd $(HOST_SUBDIR)/intl || exit 1; \
23135 case $(srcdir) in \
23136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23137 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23139 esac; \
23140 srcdiroption="--srcdir=$${topdir}/intl"; \
23141 libsrcdir="$$s/intl"; \
23142 $(SHELL) $${libsrcdir}/configure \
23143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23144 --target=${target_alias} $${srcdiroption} \
23145 --with-build-libsubdir=$(HOST_SUBDIR) \
23146 @stage2_werror_flag@
23147 @endif intl-bootstrap
23149 .PHONY: configure-stageb3g2-intl maybe-configure-stageb3g2-intl
23150 maybe-configure-stageb3g2-intl:
23151 @if intl-bootstrap
23152 maybe-configure-stageb3g2-intl: configure-stageb3g2-intl
23153 configure-stageb3g2-intl:
23154 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
23155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23156 @r=`${PWD_COMMAND}`; export r; \
23157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23158 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23159 $(HOST_EXPORTS) \
23160 $(POSTSTAGE1_HOST_EXPORTS) \
23161 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
23162 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
23163 echo Configuring stage b3g2 in $(HOST_SUBDIR)/intl ; \
23164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23165 cd $(HOST_SUBDIR)/intl || exit 1; \
23166 case $(srcdir) in \
23167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23168 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23170 esac; \
23171 srcdiroption="--srcdir=$${topdir}/intl"; \
23172 libsrcdir="$$s/intl"; \
23173 $(SHELL) $${libsrcdir}/configure \
23174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23175 --target=${target_alias} $${srcdiroption} \
23176 --with-build-libsubdir=$(HOST_SUBDIR) \
23177 @stage2_werror_flag@
23178 @endif intl-bootstrap
23180 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
23181 maybe-configure-stage4-intl:
23182 @if intl-bootstrap
23183 maybe-configure-stage4-intl: configure-stage4-intl
23184 configure-stage4-intl:
23185 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23187 @r=`${PWD_COMMAND}`; export r; \
23188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23189 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23190 $(HOST_EXPORTS) \
23191 $(POSTSTAGE1_HOST_EXPORTS) \
23192 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23193 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
23194 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
23195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23196 cd $(HOST_SUBDIR)/intl || exit 1; \
23197 case $(srcdir) in \
23198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23199 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23201 esac; \
23202 srcdiroption="--srcdir=$${topdir}/intl"; \
23203 libsrcdir="$$s/intl"; \
23204 $(SHELL) $${libsrcdir}/configure \
23205 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23206 --target=${target_alias} $${srcdiroption} \
23207 --with-build-libsubdir=$(HOST_SUBDIR) \
23208 @stage2_werror_flag@
23209 @endif intl-bootstrap
23211 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
23212 maybe-configure-stageprofile-intl:
23213 @if intl-bootstrap
23214 maybe-configure-stageprofile-intl: configure-stageprofile-intl
23215 configure-stageprofile-intl:
23216 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23218 @r=`${PWD_COMMAND}`; export r; \
23219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23220 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23221 $(HOST_EXPORTS) \
23222 $(POSTSTAGE1_HOST_EXPORTS) \
23223 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
23224 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
23225 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
23226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23227 cd $(HOST_SUBDIR)/intl || exit 1; \
23228 case $(srcdir) in \
23229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23230 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23232 esac; \
23233 srcdiroption="--srcdir=$${topdir}/intl"; \
23234 libsrcdir="$$s/intl"; \
23235 $(SHELL) $${libsrcdir}/configure \
23236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23237 --target=${target_alias} $${srcdiroption} \
23238 --with-build-libsubdir=$(HOST_SUBDIR) \
23239 @stage2_werror_flag@
23240 @endif intl-bootstrap
23242 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
23243 maybe-configure-stagefeedback-intl:
23244 @if intl-bootstrap
23245 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
23246 configure-stagefeedback-intl:
23247 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
23249 @r=`${PWD_COMMAND}`; export r; \
23250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23251 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
23252 $(HOST_EXPORTS) \
23253 $(POSTSTAGE1_HOST_EXPORTS) \
23254 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
23255 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
23256 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
23257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
23258 cd $(HOST_SUBDIR)/intl || exit 1; \
23259 case $(srcdir) in \
23260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23261 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
23262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23263 esac; \
23264 srcdiroption="--srcdir=$${topdir}/intl"; \
23265 libsrcdir="$$s/intl"; \
23266 $(SHELL) $${libsrcdir}/configure \
23267 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23268 --target=${target_alias} $${srcdiroption} \
23269 --with-build-libsubdir=$(HOST_SUBDIR) \
23270 @stage2_werror_flag@
23271 @endif intl-bootstrap
23277 .PHONY: all-intl maybe-all-intl
23278 maybe-all-intl:
23279 @if gcc-bootstrap
23280 all-intl: stage_current
23281 @endif gcc-bootstrap
23282 @if intl
23283 TARGET-intl=all
23284 maybe-all-intl: all-intl
23285 all-intl: configure-intl
23286 @r=`${PWD_COMMAND}`; export r; \
23287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23288 $(HOST_EXPORTS) \
23289 (cd $(HOST_SUBDIR)/intl && \
23290 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23291 $(TARGET-intl))
23292 @endif intl
23296 .PHONY: all-stage1-intl maybe-all-stage1-intl
23297 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
23298 maybe-all-stage1-intl:
23299 maybe-clean-stage1-intl:
23300 @if intl-bootstrap
23301 maybe-all-stage1-intl: all-stage1-intl
23302 all-stage1: all-stage1-intl
23303 TARGET-stage1-intl = $(TARGET-intl)
23304 all-stage1-intl: configure-stage1-intl
23305 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23306 @r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 $(HOST_EXPORTS) \
23309 cd $(HOST_SUBDIR)/intl && \
23310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23311 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
23312 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
23313 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
23314 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
23315 $(TARGET-stage1-intl)
23317 maybe-clean-stage1-intl: clean-stage1-intl
23318 clean-stage1: clean-stage1-intl
23319 clean-stage1-intl:
23320 @if [ $(current_stage) = stage1 ]; then \
23321 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23322 else \
23323 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
23324 $(MAKE) stage1-start; \
23325 fi; \
23326 cd $(HOST_SUBDIR)/intl && \
23327 $(MAKE) $(EXTRA_HOST_FLAGS) \
23328 clean
23329 @endif intl-bootstrap
23332 .PHONY: all-stage2-intl maybe-all-stage2-intl
23333 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
23334 maybe-all-stage2-intl:
23335 maybe-clean-stage2-intl:
23336 @if intl-bootstrap
23337 maybe-all-stage2-intl: all-stage2-intl
23338 all-stage2: all-stage2-intl
23339 TARGET-stage2-intl = $(TARGET-intl)
23340 all-stage2-intl: configure-stage2-intl
23341 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23342 @r=`${PWD_COMMAND}`; export r; \
23343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23344 $(HOST_EXPORTS) \
23345 $(POSTSTAGE1_HOST_EXPORTS) \
23346 cd $(HOST_SUBDIR)/intl && \
23347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23348 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
23349 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
23350 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
23351 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23352 $(TARGET-stage2-intl)
23354 maybe-clean-stage2-intl: clean-stage2-intl
23355 clean-stage2: clean-stage2-intl
23356 clean-stage2-intl:
23357 @if [ $(current_stage) = stage2 ]; then \
23358 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23359 else \
23360 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
23361 $(MAKE) stage2-start; \
23362 fi; \
23363 cd $(HOST_SUBDIR)/intl && \
23364 $(MAKE) $(EXTRA_HOST_FLAGS) \
23365 $(POSTSTAGE1_FLAGS_TO_PASS) \
23366 clean
23367 @endif intl-bootstrap
23370 .PHONY: all-stageb2g0-intl maybe-all-stageb2g0-intl
23371 .PHONY: clean-stageb2g0-intl maybe-clean-stageb2g0-intl
23372 maybe-all-stageb2g0-intl:
23373 maybe-clean-stageb2g0-intl:
23374 @if intl-bootstrap
23375 maybe-all-stageb2g0-intl: all-stageb2g0-intl
23376 all-stageb2g0: all-stageb2g0-intl
23377 TARGET-stageb2g0-intl = $(TARGET-intl)
23378 all-stageb2g0-intl: configure-stageb2g0-intl
23379 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
23380 @r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382 $(HOST_EXPORTS) \
23383 $(POSTSTAGE1_HOST_EXPORTS) \
23384 cd $(HOST_SUBDIR)/intl && \
23385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23386 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
23387 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
23388 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
23389 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23390 $(TARGET-stageb2g0-intl)
23392 maybe-clean-stageb2g0-intl: clean-stageb2g0-intl
23393 clean-stageb2g0: clean-stageb2g0-intl
23394 clean-stageb2g0-intl:
23395 @if [ $(current_stage) = stageb2g0 ]; then \
23396 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23397 else \
23398 [ -f $(HOST_SUBDIR)/stageb2g0-intl/Makefile ] || exit 0; \
23399 $(MAKE) stageb2g0-start; \
23400 fi; \
23401 cd $(HOST_SUBDIR)/intl && \
23402 $(MAKE) $(EXTRA_HOST_FLAGS) \
23403 $(POSTSTAGE1_FLAGS_TO_PASS) \
23404 clean
23405 @endif intl-bootstrap
23408 .PHONY: all-stage3-intl maybe-all-stage3-intl
23409 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
23410 maybe-all-stage3-intl:
23411 maybe-clean-stage3-intl:
23412 @if intl-bootstrap
23413 maybe-all-stage3-intl: all-stage3-intl
23414 all-stage3: all-stage3-intl
23415 TARGET-stage3-intl = $(TARGET-intl)
23416 all-stage3-intl: configure-stage3-intl
23417 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23418 @r=`${PWD_COMMAND}`; export r; \
23419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23420 $(HOST_EXPORTS) \
23421 $(POSTSTAGE1_HOST_EXPORTS) \
23422 cd $(HOST_SUBDIR)/intl && \
23423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23424 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
23425 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
23426 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
23427 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23428 $(TARGET-stage3-intl)
23430 maybe-clean-stage3-intl: clean-stage3-intl
23431 clean-stage3: clean-stage3-intl
23432 clean-stage3-intl:
23433 @if [ $(current_stage) = stage3 ]; then \
23434 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23435 else \
23436 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
23437 $(MAKE) stage3-start; \
23438 fi; \
23439 cd $(HOST_SUBDIR)/intl && \
23440 $(MAKE) $(EXTRA_HOST_FLAGS) \
23441 $(POSTSTAGE1_FLAGS_TO_PASS) \
23442 clean
23443 @endif intl-bootstrap
23446 .PHONY: all-stageb3g2-intl maybe-all-stageb3g2-intl
23447 .PHONY: clean-stageb3g2-intl maybe-clean-stageb3g2-intl
23448 maybe-all-stageb3g2-intl:
23449 maybe-clean-stageb3g2-intl:
23450 @if intl-bootstrap
23451 maybe-all-stageb3g2-intl: all-stageb3g2-intl
23452 all-stageb3g2: all-stageb3g2-intl
23453 TARGET-stageb3g2-intl = $(TARGET-intl)
23454 all-stageb3g2-intl: configure-stageb3g2-intl
23455 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
23456 @r=`${PWD_COMMAND}`; export r; \
23457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23458 $(HOST_EXPORTS) \
23459 $(POSTSTAGE1_HOST_EXPORTS) \
23460 cd $(HOST_SUBDIR)/intl && \
23461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23462 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
23463 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
23464 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
23465 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23466 $(TARGET-stageb3g2-intl)
23468 maybe-clean-stageb3g2-intl: clean-stageb3g2-intl
23469 clean-stageb3g2: clean-stageb3g2-intl
23470 clean-stageb3g2-intl:
23471 @if [ $(current_stage) = stageb3g2 ]; then \
23472 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23473 else \
23474 [ -f $(HOST_SUBDIR)/stageb3g2-intl/Makefile ] || exit 0; \
23475 $(MAKE) stageb3g2-start; \
23476 fi; \
23477 cd $(HOST_SUBDIR)/intl && \
23478 $(MAKE) $(EXTRA_HOST_FLAGS) \
23479 $(POSTSTAGE1_FLAGS_TO_PASS) \
23480 clean
23481 @endif intl-bootstrap
23484 .PHONY: all-stage4-intl maybe-all-stage4-intl
23485 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
23486 maybe-all-stage4-intl:
23487 maybe-clean-stage4-intl:
23488 @if intl-bootstrap
23489 maybe-all-stage4-intl: all-stage4-intl
23490 all-stage4: all-stage4-intl
23491 TARGET-stage4-intl = $(TARGET-intl)
23492 all-stage4-intl: configure-stage4-intl
23493 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23494 @r=`${PWD_COMMAND}`; export r; \
23495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23496 $(HOST_EXPORTS) \
23497 $(POSTSTAGE1_HOST_EXPORTS) \
23498 cd $(HOST_SUBDIR)/intl && \
23499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23500 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
23501 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23502 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
23503 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23504 $(TARGET-stage4-intl)
23506 maybe-clean-stage4-intl: clean-stage4-intl
23507 clean-stage4: clean-stage4-intl
23508 clean-stage4-intl:
23509 @if [ $(current_stage) = stage4 ]; then \
23510 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23511 else \
23512 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
23513 $(MAKE) stage4-start; \
23514 fi; \
23515 cd $(HOST_SUBDIR)/intl && \
23516 $(MAKE) $(EXTRA_HOST_FLAGS) \
23517 $(POSTSTAGE1_FLAGS_TO_PASS) \
23518 clean
23519 @endif intl-bootstrap
23522 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
23523 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
23524 maybe-all-stageprofile-intl:
23525 maybe-clean-stageprofile-intl:
23526 @if intl-bootstrap
23527 maybe-all-stageprofile-intl: all-stageprofile-intl
23528 all-stageprofile: all-stageprofile-intl
23529 TARGET-stageprofile-intl = $(TARGET-intl)
23530 all-stageprofile-intl: configure-stageprofile-intl
23531 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23532 @r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534 $(HOST_EXPORTS) \
23535 $(POSTSTAGE1_HOST_EXPORTS) \
23536 cd $(HOST_SUBDIR)/intl && \
23537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23538 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
23539 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
23540 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
23541 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23542 $(TARGET-stageprofile-intl)
23544 maybe-clean-stageprofile-intl: clean-stageprofile-intl
23545 clean-stageprofile: clean-stageprofile-intl
23546 clean-stageprofile-intl:
23547 @if [ $(current_stage) = stageprofile ]; then \
23548 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23549 else \
23550 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
23551 $(MAKE) stageprofile-start; \
23552 fi; \
23553 cd $(HOST_SUBDIR)/intl && \
23554 $(MAKE) $(EXTRA_HOST_FLAGS) \
23555 $(POSTSTAGE1_FLAGS_TO_PASS) \
23556 clean
23557 @endif intl-bootstrap
23560 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
23561 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
23562 maybe-all-stagefeedback-intl:
23563 maybe-clean-stagefeedback-intl:
23564 @if intl-bootstrap
23565 maybe-all-stagefeedback-intl: all-stagefeedback-intl
23566 all-stagefeedback: all-stagefeedback-intl
23567 TARGET-stagefeedback-intl = $(TARGET-intl)
23568 all-stagefeedback-intl: configure-stagefeedback-intl
23569 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23570 @r=`${PWD_COMMAND}`; export r; \
23571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23572 $(HOST_EXPORTS) \
23573 $(POSTSTAGE1_HOST_EXPORTS) \
23574 cd $(HOST_SUBDIR)/intl && \
23575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23576 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
23577 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
23578 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
23579 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23580 $(TARGET-stagefeedback-intl)
23582 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
23583 clean-stagefeedback: clean-stagefeedback-intl
23584 clean-stagefeedback-intl:
23585 @if [ $(current_stage) = stagefeedback ]; then \
23586 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
23587 else \
23588 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
23589 $(MAKE) stagefeedback-start; \
23590 fi; \
23591 cd $(HOST_SUBDIR)/intl && \
23592 $(MAKE) $(EXTRA_HOST_FLAGS) \
23593 $(POSTSTAGE1_FLAGS_TO_PASS) \
23594 clean
23595 @endif intl-bootstrap
23601 .PHONY: check-intl maybe-check-intl
23602 maybe-check-intl:
23603 @if intl
23604 maybe-check-intl: check-intl
23606 check-intl:
23607 @: $(MAKE); $(unstage)
23608 @r=`${PWD_COMMAND}`; export r; \
23609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23610 $(HOST_EXPORTS) \
23611 (cd $(HOST_SUBDIR)/intl && \
23612 $(MAKE) $(FLAGS_TO_PASS) check)
23614 @endif intl
23616 .PHONY: install-intl maybe-install-intl
23617 maybe-install-intl:
23618 @if intl
23619 maybe-install-intl: install-intl
23621 install-intl: installdirs
23622 @: $(MAKE); $(unstage)
23623 @r=`${PWD_COMMAND}`; export r; \
23624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23625 $(HOST_EXPORTS) \
23626 (cd $(HOST_SUBDIR)/intl && \
23627 $(MAKE) $(FLAGS_TO_PASS) install)
23629 @endif intl
23631 # Other targets (info, dvi, pdf, etc.)
23633 .PHONY: maybe-info-intl info-intl
23634 maybe-info-intl:
23635 @if intl
23636 maybe-info-intl: info-intl
23638 info-intl: \
23639 configure-intl
23640 @[ -f ./intl/Makefile ] || exit 0; \
23641 r=`${PWD_COMMAND}`; export r; \
23642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23643 $(HOST_EXPORTS) \
23644 for flag in $(EXTRA_HOST_FLAGS) ; do \
23645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23646 done; \
23647 echo "Doing info in intl" ; \
23648 (cd $(HOST_SUBDIR)/intl && \
23649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23651 "RANLIB=$${RANLIB}" \
23652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23653 info) \
23654 || exit 1
23656 @endif intl
23658 .PHONY: maybe-dvi-intl dvi-intl
23659 maybe-dvi-intl:
23660 @if intl
23661 maybe-dvi-intl: dvi-intl
23663 dvi-intl: \
23664 configure-intl
23665 @[ -f ./intl/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing dvi in intl" ; \
23673 (cd $(HOST_SUBDIR)/intl && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23678 dvi) \
23679 || exit 1
23681 @endif intl
23683 .PHONY: maybe-pdf-intl pdf-intl
23684 maybe-pdf-intl:
23685 @if intl
23686 maybe-pdf-intl: pdf-intl
23688 pdf-intl: \
23689 configure-intl
23690 @[ -f ./intl/Makefile ] || exit 0; \
23691 r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 $(HOST_EXPORTS) \
23694 for flag in $(EXTRA_HOST_FLAGS) ; do \
23695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23696 done; \
23697 echo "Doing pdf in intl" ; \
23698 (cd $(HOST_SUBDIR)/intl && \
23699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23701 "RANLIB=$${RANLIB}" \
23702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23703 pdf) \
23704 || exit 1
23706 @endif intl
23708 .PHONY: maybe-html-intl html-intl
23709 maybe-html-intl:
23710 @if intl
23711 maybe-html-intl: html-intl
23713 html-intl: \
23714 configure-intl
23715 @[ -f ./intl/Makefile ] || exit 0; \
23716 r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23718 $(HOST_EXPORTS) \
23719 for flag in $(EXTRA_HOST_FLAGS) ; do \
23720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23721 done; \
23722 echo "Doing html in intl" ; \
23723 (cd $(HOST_SUBDIR)/intl && \
23724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23726 "RANLIB=$${RANLIB}" \
23727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23728 html) \
23729 || exit 1
23731 @endif intl
23733 .PHONY: maybe-TAGS-intl TAGS-intl
23734 maybe-TAGS-intl:
23735 @if intl
23736 maybe-TAGS-intl: TAGS-intl
23738 TAGS-intl: \
23739 configure-intl
23740 @[ -f ./intl/Makefile ] || exit 0; \
23741 r=`${PWD_COMMAND}`; export r; \
23742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23743 $(HOST_EXPORTS) \
23744 for flag in $(EXTRA_HOST_FLAGS) ; do \
23745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23746 done; \
23747 echo "Doing TAGS in intl" ; \
23748 (cd $(HOST_SUBDIR)/intl && \
23749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23751 "RANLIB=$${RANLIB}" \
23752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23753 TAGS) \
23754 || exit 1
23756 @endif intl
23758 .PHONY: maybe-install-info-intl install-info-intl
23759 maybe-install-info-intl:
23760 @if intl
23761 maybe-install-info-intl: install-info-intl
23763 install-info-intl: \
23764 configure-intl \
23765 info-intl
23766 @[ -f ./intl/Makefile ] || exit 0; \
23767 r=`${PWD_COMMAND}`; export r; \
23768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23769 $(HOST_EXPORTS) \
23770 for flag in $(EXTRA_HOST_FLAGS) ; do \
23771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23772 done; \
23773 echo "Doing install-info in intl" ; \
23774 (cd $(HOST_SUBDIR)/intl && \
23775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23777 "RANLIB=$${RANLIB}" \
23778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23779 install-info) \
23780 || exit 1
23782 @endif intl
23784 .PHONY: maybe-install-pdf-intl install-pdf-intl
23785 maybe-install-pdf-intl:
23786 @if intl
23787 maybe-install-pdf-intl: install-pdf-intl
23789 install-pdf-intl: \
23790 configure-intl \
23791 pdf-intl
23792 @[ -f ./intl/Makefile ] || exit 0; \
23793 r=`${PWD_COMMAND}`; export r; \
23794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23795 $(HOST_EXPORTS) \
23796 for flag in $(EXTRA_HOST_FLAGS) ; do \
23797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23798 done; \
23799 echo "Doing install-pdf in intl" ; \
23800 (cd $(HOST_SUBDIR)/intl && \
23801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23803 "RANLIB=$${RANLIB}" \
23804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23805 install-pdf) \
23806 || exit 1
23808 @endif intl
23810 .PHONY: maybe-install-html-intl install-html-intl
23811 maybe-install-html-intl:
23812 @if intl
23813 maybe-install-html-intl: install-html-intl
23815 install-html-intl: \
23816 configure-intl \
23817 html-intl
23818 @[ -f ./intl/Makefile ] || exit 0; \
23819 r=`${PWD_COMMAND}`; export r; \
23820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23821 $(HOST_EXPORTS) \
23822 for flag in $(EXTRA_HOST_FLAGS) ; do \
23823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23824 done; \
23825 echo "Doing install-html in intl" ; \
23826 (cd $(HOST_SUBDIR)/intl && \
23827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23829 "RANLIB=$${RANLIB}" \
23830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23831 install-html) \
23832 || exit 1
23834 @endif intl
23836 .PHONY: maybe-installcheck-intl installcheck-intl
23837 maybe-installcheck-intl:
23838 @if intl
23839 maybe-installcheck-intl: installcheck-intl
23841 installcheck-intl: \
23842 configure-intl
23843 @[ -f ./intl/Makefile ] || exit 0; \
23844 r=`${PWD_COMMAND}`; export r; \
23845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23846 $(HOST_EXPORTS) \
23847 for flag in $(EXTRA_HOST_FLAGS) ; do \
23848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23849 done; \
23850 echo "Doing installcheck in intl" ; \
23851 (cd $(HOST_SUBDIR)/intl && \
23852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23854 "RANLIB=$${RANLIB}" \
23855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23856 installcheck) \
23857 || exit 1
23859 @endif intl
23861 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
23862 maybe-mostlyclean-intl:
23863 @if intl
23864 maybe-mostlyclean-intl: mostlyclean-intl
23866 mostlyclean-intl:
23867 @[ -f ./intl/Makefile ] || exit 0; \
23868 r=`${PWD_COMMAND}`; export r; \
23869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23870 $(HOST_EXPORTS) \
23871 for flag in $(EXTRA_HOST_FLAGS) ; do \
23872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23873 done; \
23874 echo "Doing mostlyclean in intl" ; \
23875 (cd $(HOST_SUBDIR)/intl && \
23876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23878 "RANLIB=$${RANLIB}" \
23879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23880 mostlyclean) \
23881 || exit 1
23883 @endif intl
23885 .PHONY: maybe-clean-intl clean-intl
23886 maybe-clean-intl:
23887 @if intl
23888 maybe-clean-intl: clean-intl
23890 clean-intl:
23891 @[ -f ./intl/Makefile ] || exit 0; \
23892 r=`${PWD_COMMAND}`; export r; \
23893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23894 $(HOST_EXPORTS) \
23895 for flag in $(EXTRA_HOST_FLAGS) ; do \
23896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23897 done; \
23898 echo "Doing clean in intl" ; \
23899 (cd $(HOST_SUBDIR)/intl && \
23900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23902 "RANLIB=$${RANLIB}" \
23903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23904 clean) \
23905 || exit 1
23907 @endif intl
23909 .PHONY: maybe-distclean-intl distclean-intl
23910 maybe-distclean-intl:
23911 @if intl
23912 maybe-distclean-intl: distclean-intl
23914 distclean-intl:
23915 @[ -f ./intl/Makefile ] || exit 0; \
23916 r=`${PWD_COMMAND}`; export r; \
23917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23918 $(HOST_EXPORTS) \
23919 for flag in $(EXTRA_HOST_FLAGS) ; do \
23920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23921 done; \
23922 echo "Doing distclean in intl" ; \
23923 (cd $(HOST_SUBDIR)/intl && \
23924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23926 "RANLIB=$${RANLIB}" \
23927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23928 distclean) \
23929 || exit 1
23931 @endif intl
23933 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
23934 maybe-maintainer-clean-intl:
23935 @if intl
23936 maybe-maintainer-clean-intl: maintainer-clean-intl
23938 maintainer-clean-intl:
23939 @[ -f ./intl/Makefile ] || exit 0; \
23940 r=`${PWD_COMMAND}`; export r; \
23941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23942 $(HOST_EXPORTS) \
23943 for flag in $(EXTRA_HOST_FLAGS) ; do \
23944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23945 done; \
23946 echo "Doing maintainer-clean in intl" ; \
23947 (cd $(HOST_SUBDIR)/intl && \
23948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23950 "RANLIB=$${RANLIB}" \
23951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23952 maintainer-clean) \
23953 || exit 1
23955 @endif intl
23959 .PHONY: configure-tcl maybe-configure-tcl
23960 maybe-configure-tcl:
23961 @if gcc-bootstrap
23962 configure-tcl: stage_current
23963 @endif gcc-bootstrap
23964 @if tcl
23965 maybe-configure-tcl: configure-tcl
23966 configure-tcl:
23967 @: $(MAKE); $(unstage)
23968 @r=`${PWD_COMMAND}`; export r; \
23969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23970 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
23971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
23972 $(HOST_EXPORTS) \
23973 echo Configuring in $(HOST_SUBDIR)/tcl; \
23974 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
23975 case $(srcdir) in \
23976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23977 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
23978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23979 esac; \
23980 srcdiroption="--srcdir=$${topdir}/tcl"; \
23981 libsrcdir="$$s/tcl"; \
23982 $(SHELL) $${libsrcdir}/configure \
23983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23984 --target=${target_alias} $${srcdiroption} \
23985 || exit 1
23986 @endif tcl
23992 .PHONY: all-tcl maybe-all-tcl
23993 maybe-all-tcl:
23994 @if gcc-bootstrap
23995 all-tcl: stage_current
23996 @endif gcc-bootstrap
23997 @if tcl
23998 TARGET-tcl=all
23999 maybe-all-tcl: all-tcl
24000 all-tcl: configure-tcl
24001 @: $(MAKE); $(unstage)
24002 @r=`${PWD_COMMAND}`; export r; \
24003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004 $(HOST_EXPORTS) \
24005 (cd $(HOST_SUBDIR)/tcl && \
24006 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24007 $(TARGET-tcl))
24008 @endif tcl
24013 .PHONY: check-tcl maybe-check-tcl
24014 maybe-check-tcl:
24015 @if tcl
24016 maybe-check-tcl: check-tcl
24018 check-tcl:
24019 @: $(MAKE); $(unstage)
24020 @r=`${PWD_COMMAND}`; export r; \
24021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24022 $(HOST_EXPORTS) \
24023 (cd $(HOST_SUBDIR)/tcl && \
24024 $(MAKE) $(FLAGS_TO_PASS) check)
24026 @endif tcl
24028 .PHONY: install-tcl maybe-install-tcl
24029 maybe-install-tcl:
24030 @if tcl
24031 maybe-install-tcl: install-tcl
24033 install-tcl: installdirs
24034 @: $(MAKE); $(unstage)
24035 @r=`${PWD_COMMAND}`; export r; \
24036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24037 $(HOST_EXPORTS) \
24038 (cd $(HOST_SUBDIR)/tcl && \
24039 $(MAKE) $(FLAGS_TO_PASS) install)
24041 @endif tcl
24043 # Other targets (info, dvi, pdf, etc.)
24045 .PHONY: maybe-info-tcl info-tcl
24046 maybe-info-tcl:
24047 @if tcl
24048 maybe-info-tcl: info-tcl
24050 info-tcl: \
24051 configure-tcl
24052 @: $(MAKE); $(unstage)
24053 @[ -f ./tcl/Makefile ] || exit 0; \
24054 r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 $(HOST_EXPORTS) \
24057 for flag in $(EXTRA_HOST_FLAGS) ; do \
24058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24059 done; \
24060 echo "Doing info in tcl" ; \
24061 (cd $(HOST_SUBDIR)/tcl && \
24062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064 "RANLIB=$${RANLIB}" \
24065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24066 info) \
24067 || exit 1
24069 @endif tcl
24071 .PHONY: maybe-dvi-tcl dvi-tcl
24072 maybe-dvi-tcl:
24073 @if tcl
24074 maybe-dvi-tcl: dvi-tcl
24076 dvi-tcl: \
24077 configure-tcl
24078 @: $(MAKE); $(unstage)
24079 @[ -f ./tcl/Makefile ] || exit 0; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(HOST_EXPORTS) \
24083 for flag in $(EXTRA_HOST_FLAGS) ; do \
24084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24085 done; \
24086 echo "Doing dvi in tcl" ; \
24087 (cd $(HOST_SUBDIR)/tcl && \
24088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24090 "RANLIB=$${RANLIB}" \
24091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24092 dvi) \
24093 || exit 1
24095 @endif tcl
24097 .PHONY: maybe-pdf-tcl pdf-tcl
24098 maybe-pdf-tcl:
24099 @if tcl
24100 maybe-pdf-tcl: pdf-tcl
24102 pdf-tcl: \
24103 configure-tcl
24104 @: $(MAKE); $(unstage)
24105 @[ -f ./tcl/Makefile ] || exit 0; \
24106 r=`${PWD_COMMAND}`; export r; \
24107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24108 $(HOST_EXPORTS) \
24109 for flag in $(EXTRA_HOST_FLAGS) ; do \
24110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24111 done; \
24112 echo "Doing pdf in tcl" ; \
24113 (cd $(HOST_SUBDIR)/tcl && \
24114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24116 "RANLIB=$${RANLIB}" \
24117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24118 pdf) \
24119 || exit 1
24121 @endif tcl
24123 .PHONY: maybe-html-tcl html-tcl
24124 maybe-html-tcl:
24125 @if tcl
24126 maybe-html-tcl: html-tcl
24128 html-tcl: \
24129 configure-tcl
24130 @: $(MAKE); $(unstage)
24131 @[ -f ./tcl/Makefile ] || exit 0; \
24132 r=`${PWD_COMMAND}`; export r; \
24133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24134 $(HOST_EXPORTS) \
24135 for flag in $(EXTRA_HOST_FLAGS) ; do \
24136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24137 done; \
24138 echo "Doing html in tcl" ; \
24139 (cd $(HOST_SUBDIR)/tcl && \
24140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24142 "RANLIB=$${RANLIB}" \
24143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24144 html) \
24145 || exit 1
24147 @endif tcl
24149 .PHONY: maybe-TAGS-tcl TAGS-tcl
24150 maybe-TAGS-tcl:
24151 @if tcl
24152 maybe-TAGS-tcl: TAGS-tcl
24154 TAGS-tcl: \
24155 configure-tcl
24156 @: $(MAKE); $(unstage)
24157 @[ -f ./tcl/Makefile ] || exit 0; \
24158 r=`${PWD_COMMAND}`; export r; \
24159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24160 $(HOST_EXPORTS) \
24161 for flag in $(EXTRA_HOST_FLAGS) ; do \
24162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24163 done; \
24164 echo "Doing TAGS in tcl" ; \
24165 (cd $(HOST_SUBDIR)/tcl && \
24166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24168 "RANLIB=$${RANLIB}" \
24169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24170 TAGS) \
24171 || exit 1
24173 @endif tcl
24175 .PHONY: maybe-install-info-tcl install-info-tcl
24176 maybe-install-info-tcl:
24177 @if tcl
24178 maybe-install-info-tcl: install-info-tcl
24180 install-info-tcl: \
24181 configure-tcl \
24182 info-tcl
24183 @: $(MAKE); $(unstage)
24184 @[ -f ./tcl/Makefile ] || exit 0; \
24185 r=`${PWD_COMMAND}`; export r; \
24186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 $(HOST_EXPORTS) \
24188 for flag in $(EXTRA_HOST_FLAGS) ; do \
24189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24190 done; \
24191 echo "Doing install-info in tcl" ; \
24192 (cd $(HOST_SUBDIR)/tcl && \
24193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24195 "RANLIB=$${RANLIB}" \
24196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24197 install-info) \
24198 || exit 1
24200 @endif tcl
24202 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
24203 maybe-install-pdf-tcl:
24204 @if tcl
24205 maybe-install-pdf-tcl: install-pdf-tcl
24207 install-pdf-tcl: \
24208 configure-tcl \
24209 pdf-tcl
24210 @: $(MAKE); $(unstage)
24211 @[ -f ./tcl/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 install-pdf in tcl" ; \
24219 (cd $(HOST_SUBDIR)/tcl && \
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 install-pdf) \
24225 || exit 1
24227 @endif tcl
24229 .PHONY: maybe-install-html-tcl install-html-tcl
24230 maybe-install-html-tcl:
24231 @if tcl
24232 maybe-install-html-tcl: install-html-tcl
24234 install-html-tcl: \
24235 configure-tcl \
24236 html-tcl
24237 @: $(MAKE); $(unstage)
24238 @[ -f ./tcl/Makefile ] || exit 0; \
24239 r=`${PWD_COMMAND}`; export r; \
24240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24241 $(HOST_EXPORTS) \
24242 for flag in $(EXTRA_HOST_FLAGS) ; do \
24243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24244 done; \
24245 echo "Doing install-html in tcl" ; \
24246 (cd $(HOST_SUBDIR)/tcl && \
24247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24249 "RANLIB=$${RANLIB}" \
24250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24251 install-html) \
24252 || exit 1
24254 @endif tcl
24256 .PHONY: maybe-installcheck-tcl installcheck-tcl
24257 maybe-installcheck-tcl:
24258 @if tcl
24259 maybe-installcheck-tcl: installcheck-tcl
24261 installcheck-tcl: \
24262 configure-tcl
24263 @: $(MAKE); $(unstage)
24264 @[ -f ./tcl/Makefile ] || exit 0; \
24265 r=`${PWD_COMMAND}`; export r; \
24266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24267 $(HOST_EXPORTS) \
24268 for flag in $(EXTRA_HOST_FLAGS) ; do \
24269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24270 done; \
24271 echo "Doing installcheck in tcl" ; \
24272 (cd $(HOST_SUBDIR)/tcl && \
24273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24275 "RANLIB=$${RANLIB}" \
24276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24277 installcheck) \
24278 || exit 1
24280 @endif tcl
24282 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
24283 maybe-mostlyclean-tcl:
24284 @if tcl
24285 maybe-mostlyclean-tcl: mostlyclean-tcl
24287 # tcl doesn't support mostlyclean.
24288 mostlyclean-tcl:
24290 @endif tcl
24292 .PHONY: maybe-clean-tcl clean-tcl
24293 maybe-clean-tcl:
24294 @if tcl
24295 maybe-clean-tcl: clean-tcl
24297 clean-tcl:
24298 @: $(MAKE); $(unstage)
24299 @[ -f ./tcl/Makefile ] || exit 0; \
24300 r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 $(HOST_EXPORTS) \
24303 for flag in $(EXTRA_HOST_FLAGS) ; do \
24304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24305 done; \
24306 echo "Doing clean in tcl" ; \
24307 (cd $(HOST_SUBDIR)/tcl && \
24308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24310 "RANLIB=$${RANLIB}" \
24311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24312 clean) \
24313 || exit 1
24315 @endif tcl
24317 .PHONY: maybe-distclean-tcl distclean-tcl
24318 maybe-distclean-tcl:
24319 @if tcl
24320 maybe-distclean-tcl: distclean-tcl
24322 distclean-tcl:
24323 @: $(MAKE); $(unstage)
24324 @[ -f ./tcl/Makefile ] || exit 0; \
24325 r=`${PWD_COMMAND}`; export r; \
24326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24327 $(HOST_EXPORTS) \
24328 for flag in $(EXTRA_HOST_FLAGS) ; do \
24329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24330 done; \
24331 echo "Doing distclean in tcl" ; \
24332 (cd $(HOST_SUBDIR)/tcl && \
24333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24335 "RANLIB=$${RANLIB}" \
24336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24337 distclean) \
24338 || exit 1
24340 @endif tcl
24342 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
24343 maybe-maintainer-clean-tcl:
24344 @if tcl
24345 maybe-maintainer-clean-tcl: maintainer-clean-tcl
24347 maintainer-clean-tcl:
24348 @: $(MAKE); $(unstage)
24349 @[ -f ./tcl/Makefile ] || exit 0; \
24350 r=`${PWD_COMMAND}`; export r; \
24351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24352 $(HOST_EXPORTS) \
24353 for flag in $(EXTRA_HOST_FLAGS) ; do \
24354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24355 done; \
24356 echo "Doing maintainer-clean in tcl" ; \
24357 (cd $(HOST_SUBDIR)/tcl && \
24358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24360 "RANLIB=$${RANLIB}" \
24361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24362 maintainer-clean) \
24363 || exit 1
24365 @endif tcl
24369 .PHONY: configure-itcl maybe-configure-itcl
24370 maybe-configure-itcl:
24371 @if gcc-bootstrap
24372 configure-itcl: stage_current
24373 @endif gcc-bootstrap
24374 @if itcl
24375 maybe-configure-itcl: configure-itcl
24376 configure-itcl:
24377 @: $(MAKE); $(unstage)
24378 @r=`${PWD_COMMAND}`; export r; \
24379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24380 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
24381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
24382 $(HOST_EXPORTS) \
24383 echo Configuring in $(HOST_SUBDIR)/itcl; \
24384 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
24385 case $(srcdir) in \
24386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24387 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
24388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24389 esac; \
24390 srcdiroption="--srcdir=$${topdir}/itcl"; \
24391 libsrcdir="$$s/itcl"; \
24392 $(SHELL) $${libsrcdir}/configure \
24393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24394 --target=${target_alias} $${srcdiroption} \
24395 || exit 1
24396 @endif itcl
24402 .PHONY: all-itcl maybe-all-itcl
24403 maybe-all-itcl:
24404 @if gcc-bootstrap
24405 all-itcl: stage_current
24406 @endif gcc-bootstrap
24407 @if itcl
24408 TARGET-itcl=all
24409 maybe-all-itcl: all-itcl
24410 all-itcl: configure-itcl
24411 @: $(MAKE); $(unstage)
24412 @r=`${PWD_COMMAND}`; export r; \
24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 $(HOST_EXPORTS) \
24415 (cd $(HOST_SUBDIR)/itcl && \
24416 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24417 $(TARGET-itcl))
24418 @endif itcl
24423 .PHONY: check-itcl maybe-check-itcl
24424 maybe-check-itcl:
24425 @if itcl
24426 maybe-check-itcl: check-itcl
24428 check-itcl:
24429 @: $(MAKE); $(unstage)
24430 @r=`${PWD_COMMAND}`; export r; \
24431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24432 $(HOST_EXPORTS) \
24433 (cd $(HOST_SUBDIR)/itcl && \
24434 $(MAKE) $(FLAGS_TO_PASS) check)
24436 @endif itcl
24438 .PHONY: install-itcl maybe-install-itcl
24439 maybe-install-itcl:
24440 @if itcl
24441 maybe-install-itcl: install-itcl
24443 install-itcl: installdirs
24444 @: $(MAKE); $(unstage)
24445 @r=`${PWD_COMMAND}`; export r; \
24446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24447 $(HOST_EXPORTS) \
24448 (cd $(HOST_SUBDIR)/itcl && \
24449 $(MAKE) $(FLAGS_TO_PASS) install)
24451 @endif itcl
24453 # Other targets (info, dvi, pdf, etc.)
24455 .PHONY: maybe-info-itcl info-itcl
24456 maybe-info-itcl:
24457 @if itcl
24458 maybe-info-itcl: info-itcl
24460 info-itcl: \
24461 configure-itcl
24462 @: $(MAKE); $(unstage)
24463 @[ -f ./itcl/Makefile ] || exit 0; \
24464 r=`${PWD_COMMAND}`; export r; \
24465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24466 $(HOST_EXPORTS) \
24467 for flag in $(EXTRA_HOST_FLAGS) ; do \
24468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24469 done; \
24470 echo "Doing info in itcl" ; \
24471 (cd $(HOST_SUBDIR)/itcl && \
24472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24474 "RANLIB=$${RANLIB}" \
24475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24476 info) \
24477 || exit 1
24479 @endif itcl
24481 .PHONY: maybe-dvi-itcl dvi-itcl
24482 maybe-dvi-itcl:
24483 @if itcl
24484 maybe-dvi-itcl: dvi-itcl
24486 dvi-itcl: \
24487 configure-itcl
24488 @: $(MAKE); $(unstage)
24489 @[ -f ./itcl/Makefile ] || exit 0; \
24490 r=`${PWD_COMMAND}`; export r; \
24491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24492 $(HOST_EXPORTS) \
24493 for flag in $(EXTRA_HOST_FLAGS) ; do \
24494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24495 done; \
24496 echo "Doing dvi in itcl" ; \
24497 (cd $(HOST_SUBDIR)/itcl && \
24498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24500 "RANLIB=$${RANLIB}" \
24501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24502 dvi) \
24503 || exit 1
24505 @endif itcl
24507 .PHONY: maybe-pdf-itcl pdf-itcl
24508 maybe-pdf-itcl:
24509 @if itcl
24510 maybe-pdf-itcl: pdf-itcl
24512 pdf-itcl: \
24513 configure-itcl
24514 @: $(MAKE); $(unstage)
24515 @[ -f ./itcl/Makefile ] || exit 0; \
24516 r=`${PWD_COMMAND}`; export r; \
24517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24518 $(HOST_EXPORTS) \
24519 for flag in $(EXTRA_HOST_FLAGS) ; do \
24520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24521 done; \
24522 echo "Doing pdf in itcl" ; \
24523 (cd $(HOST_SUBDIR)/itcl && \
24524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24526 "RANLIB=$${RANLIB}" \
24527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24528 pdf) \
24529 || exit 1
24531 @endif itcl
24533 .PHONY: maybe-html-itcl html-itcl
24534 maybe-html-itcl:
24535 @if itcl
24536 maybe-html-itcl: html-itcl
24538 html-itcl: \
24539 configure-itcl
24540 @: $(MAKE); $(unstage)
24541 @[ -f ./itcl/Makefile ] || exit 0; \
24542 r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24544 $(HOST_EXPORTS) \
24545 for flag in $(EXTRA_HOST_FLAGS) ; do \
24546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24547 done; \
24548 echo "Doing html in itcl" ; \
24549 (cd $(HOST_SUBDIR)/itcl && \
24550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24552 "RANLIB=$${RANLIB}" \
24553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24554 html) \
24555 || exit 1
24557 @endif itcl
24559 .PHONY: maybe-TAGS-itcl TAGS-itcl
24560 maybe-TAGS-itcl:
24561 @if itcl
24562 maybe-TAGS-itcl: TAGS-itcl
24564 TAGS-itcl: \
24565 configure-itcl
24566 @: $(MAKE); $(unstage)
24567 @[ -f ./itcl/Makefile ] || exit 0; \
24568 r=`${PWD_COMMAND}`; export r; \
24569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24570 $(HOST_EXPORTS) \
24571 for flag in $(EXTRA_HOST_FLAGS) ; do \
24572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24573 done; \
24574 echo "Doing TAGS in itcl" ; \
24575 (cd $(HOST_SUBDIR)/itcl && \
24576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24578 "RANLIB=$${RANLIB}" \
24579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24580 TAGS) \
24581 || exit 1
24583 @endif itcl
24585 .PHONY: maybe-install-info-itcl install-info-itcl
24586 maybe-install-info-itcl:
24587 @if itcl
24588 maybe-install-info-itcl: install-info-itcl
24590 install-info-itcl: \
24591 configure-itcl \
24592 info-itcl
24593 @: $(MAKE); $(unstage)
24594 @[ -f ./itcl/Makefile ] || exit 0; \
24595 r=`${PWD_COMMAND}`; export r; \
24596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24597 $(HOST_EXPORTS) \
24598 for flag in $(EXTRA_HOST_FLAGS) ; do \
24599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24600 done; \
24601 echo "Doing install-info in itcl" ; \
24602 (cd $(HOST_SUBDIR)/itcl && \
24603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24605 "RANLIB=$${RANLIB}" \
24606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24607 install-info) \
24608 || exit 1
24610 @endif itcl
24612 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
24613 maybe-install-pdf-itcl:
24614 @if itcl
24615 maybe-install-pdf-itcl: install-pdf-itcl
24617 install-pdf-itcl: \
24618 configure-itcl \
24619 pdf-itcl
24620 @: $(MAKE); $(unstage)
24621 @[ -f ./itcl/Makefile ] || exit 0; \
24622 r=`${PWD_COMMAND}`; export r; \
24623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24624 $(HOST_EXPORTS) \
24625 for flag in $(EXTRA_HOST_FLAGS) ; do \
24626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24627 done; \
24628 echo "Doing install-pdf in itcl" ; \
24629 (cd $(HOST_SUBDIR)/itcl && \
24630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24632 "RANLIB=$${RANLIB}" \
24633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24634 install-pdf) \
24635 || exit 1
24637 @endif itcl
24639 .PHONY: maybe-install-html-itcl install-html-itcl
24640 maybe-install-html-itcl:
24641 @if itcl
24642 maybe-install-html-itcl: install-html-itcl
24644 install-html-itcl: \
24645 configure-itcl \
24646 html-itcl
24647 @: $(MAKE); $(unstage)
24648 @[ -f ./itcl/Makefile ] || exit 0; \
24649 r=`${PWD_COMMAND}`; export r; \
24650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24651 $(HOST_EXPORTS) \
24652 for flag in $(EXTRA_HOST_FLAGS) ; do \
24653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24654 done; \
24655 echo "Doing install-html in itcl" ; \
24656 (cd $(HOST_SUBDIR)/itcl && \
24657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24659 "RANLIB=$${RANLIB}" \
24660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24661 install-html) \
24662 || exit 1
24664 @endif itcl
24666 .PHONY: maybe-installcheck-itcl installcheck-itcl
24667 maybe-installcheck-itcl:
24668 @if itcl
24669 maybe-installcheck-itcl: installcheck-itcl
24671 installcheck-itcl: \
24672 configure-itcl
24673 @: $(MAKE); $(unstage)
24674 @[ -f ./itcl/Makefile ] || exit 0; \
24675 r=`${PWD_COMMAND}`; export r; \
24676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24677 $(HOST_EXPORTS) \
24678 for flag in $(EXTRA_HOST_FLAGS) ; do \
24679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24680 done; \
24681 echo "Doing installcheck in itcl" ; \
24682 (cd $(HOST_SUBDIR)/itcl && \
24683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24685 "RANLIB=$${RANLIB}" \
24686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24687 installcheck) \
24688 || exit 1
24690 @endif itcl
24692 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
24693 maybe-mostlyclean-itcl:
24694 @if itcl
24695 maybe-mostlyclean-itcl: mostlyclean-itcl
24697 mostlyclean-itcl:
24698 @: $(MAKE); $(unstage)
24699 @[ -f ./itcl/Makefile ] || exit 0; \
24700 r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 for flag in $(EXTRA_HOST_FLAGS) ; do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 echo "Doing mostlyclean in itcl" ; \
24707 (cd $(HOST_SUBDIR)/itcl && \
24708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24710 "RANLIB=$${RANLIB}" \
24711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24712 mostlyclean) \
24713 || exit 1
24715 @endif itcl
24717 .PHONY: maybe-clean-itcl clean-itcl
24718 maybe-clean-itcl:
24719 @if itcl
24720 maybe-clean-itcl: clean-itcl
24722 clean-itcl:
24723 @: $(MAKE); $(unstage)
24724 @[ -f ./itcl/Makefile ] || exit 0; \
24725 r=`${PWD_COMMAND}`; export r; \
24726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24727 $(HOST_EXPORTS) \
24728 for flag in $(EXTRA_HOST_FLAGS) ; do \
24729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24730 done; \
24731 echo "Doing clean in itcl" ; \
24732 (cd $(HOST_SUBDIR)/itcl && \
24733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24735 "RANLIB=$${RANLIB}" \
24736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24737 clean) \
24738 || exit 1
24740 @endif itcl
24742 .PHONY: maybe-distclean-itcl distclean-itcl
24743 maybe-distclean-itcl:
24744 @if itcl
24745 maybe-distclean-itcl: distclean-itcl
24747 distclean-itcl:
24748 @: $(MAKE); $(unstage)
24749 @[ -f ./itcl/Makefile ] || exit 0; \
24750 r=`${PWD_COMMAND}`; export r; \
24751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24752 $(HOST_EXPORTS) \
24753 for flag in $(EXTRA_HOST_FLAGS) ; do \
24754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24755 done; \
24756 echo "Doing distclean in itcl" ; \
24757 (cd $(HOST_SUBDIR)/itcl && \
24758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24760 "RANLIB=$${RANLIB}" \
24761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24762 distclean) \
24763 || exit 1
24765 @endif itcl
24767 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
24768 maybe-maintainer-clean-itcl:
24769 @if itcl
24770 maybe-maintainer-clean-itcl: maintainer-clean-itcl
24772 maintainer-clean-itcl:
24773 @: $(MAKE); $(unstage)
24774 @[ -f ./itcl/Makefile ] || exit 0; \
24775 r=`${PWD_COMMAND}`; export r; \
24776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24777 $(HOST_EXPORTS) \
24778 for flag in $(EXTRA_HOST_FLAGS) ; do \
24779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24780 done; \
24781 echo "Doing maintainer-clean in itcl" ; \
24782 (cd $(HOST_SUBDIR)/itcl && \
24783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24785 "RANLIB=$${RANLIB}" \
24786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24787 maintainer-clean) \
24788 || exit 1
24790 @endif itcl
24794 .PHONY: configure-ld maybe-configure-ld
24795 maybe-configure-ld:
24796 @if gcc-bootstrap
24797 configure-ld: stage_current
24798 @endif gcc-bootstrap
24799 @if ld
24800 maybe-configure-ld: configure-ld
24801 configure-ld:
24802 @r=`${PWD_COMMAND}`; export r; \
24803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24804 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24806 $(HOST_EXPORTS) \
24807 echo Configuring in $(HOST_SUBDIR)/ld; \
24808 cd "$(HOST_SUBDIR)/ld" || exit 1; \
24809 case $(srcdir) in \
24810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24811 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24813 esac; \
24814 srcdiroption="--srcdir=$${topdir}/ld"; \
24815 libsrcdir="$$s/ld"; \
24816 $(SHELL) $${libsrcdir}/configure \
24817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24818 --target=${target_alias} $${srcdiroption} \
24819 || exit 1
24820 @endif ld
24824 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
24825 maybe-configure-stage1-ld:
24826 @if ld-bootstrap
24827 maybe-configure-stage1-ld: configure-stage1-ld
24828 configure-stage1-ld:
24829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24831 @r=`${PWD_COMMAND}`; export r; \
24832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24833 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24834 $(HOST_EXPORTS) \
24835 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24836 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
24837 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
24838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24839 cd $(HOST_SUBDIR)/ld || exit 1; \
24840 case $(srcdir) in \
24841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24842 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24844 esac; \
24845 srcdiroption="--srcdir=$${topdir}/ld"; \
24846 libsrcdir="$$s/ld"; \
24847 $(SHELL) $${libsrcdir}/configure \
24848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24849 --target=${target_alias} $${srcdiroption} \
24851 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24852 @endif ld-bootstrap
24854 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
24855 maybe-configure-stage2-ld:
24856 @if ld-bootstrap
24857 maybe-configure-stage2-ld: configure-stage2-ld
24858 configure-stage2-ld:
24859 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24861 @r=`${PWD_COMMAND}`; export r; \
24862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24863 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24864 $(HOST_EXPORTS) \
24865 $(POSTSTAGE1_HOST_EXPORTS) \
24866 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24867 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
24868 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
24869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24870 cd $(HOST_SUBDIR)/ld || exit 1; \
24871 case $(srcdir) in \
24872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24873 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24875 esac; \
24876 srcdiroption="--srcdir=$${topdir}/ld"; \
24877 libsrcdir="$$s/ld"; \
24878 $(SHELL) $${libsrcdir}/configure \
24879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24880 --target=${target_alias} $${srcdiroption} \
24881 --with-build-libsubdir=$(HOST_SUBDIR) \
24882 @stage2_werror_flag@
24883 @endif ld-bootstrap
24885 .PHONY: configure-stageb2g0-ld maybe-configure-stageb2g0-ld
24886 maybe-configure-stageb2g0-ld:
24887 @if ld-bootstrap
24888 maybe-configure-stageb2g0-ld: configure-stageb2g0-ld
24889 configure-stageb2g0-ld:
24890 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
24891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24892 @r=`${PWD_COMMAND}`; export r; \
24893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24894 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24895 $(HOST_EXPORTS) \
24896 $(POSTSTAGE1_HOST_EXPORTS) \
24897 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
24898 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
24899 echo Configuring stage b2g0 in $(HOST_SUBDIR)/ld ; \
24900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24901 cd $(HOST_SUBDIR)/ld || exit 1; \
24902 case $(srcdir) in \
24903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24904 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24906 esac; \
24907 srcdiroption="--srcdir=$${topdir}/ld"; \
24908 libsrcdir="$$s/ld"; \
24909 $(SHELL) $${libsrcdir}/configure \
24910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24911 --target=${target_alias} $${srcdiroption} \
24912 --with-build-libsubdir=$(HOST_SUBDIR) \
24913 @stage2_werror_flag@
24914 @endif ld-bootstrap
24916 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
24917 maybe-configure-stage3-ld:
24918 @if ld-bootstrap
24919 maybe-configure-stage3-ld: configure-stage3-ld
24920 configure-stage3-ld:
24921 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24923 @r=`${PWD_COMMAND}`; export r; \
24924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24925 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24926 $(HOST_EXPORTS) \
24927 $(POSTSTAGE1_HOST_EXPORTS) \
24928 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24929 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
24930 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
24931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24932 cd $(HOST_SUBDIR)/ld || exit 1; \
24933 case $(srcdir) in \
24934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24935 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24937 esac; \
24938 srcdiroption="--srcdir=$${topdir}/ld"; \
24939 libsrcdir="$$s/ld"; \
24940 $(SHELL) $${libsrcdir}/configure \
24941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24942 --target=${target_alias} $${srcdiroption} \
24943 --with-build-libsubdir=$(HOST_SUBDIR) \
24944 @stage2_werror_flag@
24945 @endif ld-bootstrap
24947 .PHONY: configure-stageb3g2-ld maybe-configure-stageb3g2-ld
24948 maybe-configure-stageb3g2-ld:
24949 @if ld-bootstrap
24950 maybe-configure-stageb3g2-ld: configure-stageb3g2-ld
24951 configure-stageb3g2-ld:
24952 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
24953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24954 @r=`${PWD_COMMAND}`; export r; \
24955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24956 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24957 $(HOST_EXPORTS) \
24958 $(POSTSTAGE1_HOST_EXPORTS) \
24959 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
24960 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
24961 echo Configuring stage b3g2 in $(HOST_SUBDIR)/ld ; \
24962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24963 cd $(HOST_SUBDIR)/ld || exit 1; \
24964 case $(srcdir) in \
24965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24966 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24968 esac; \
24969 srcdiroption="--srcdir=$${topdir}/ld"; \
24970 libsrcdir="$$s/ld"; \
24971 $(SHELL) $${libsrcdir}/configure \
24972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24973 --target=${target_alias} $${srcdiroption} \
24974 --with-build-libsubdir=$(HOST_SUBDIR) \
24975 @stage2_werror_flag@
24976 @endif ld-bootstrap
24978 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
24979 maybe-configure-stage4-ld:
24980 @if ld-bootstrap
24981 maybe-configure-stage4-ld: configure-stage4-ld
24982 configure-stage4-ld:
24983 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
24985 @r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
24988 $(HOST_EXPORTS) \
24989 $(POSTSTAGE1_HOST_EXPORTS) \
24990 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24991 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
24992 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
24993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
24994 cd $(HOST_SUBDIR)/ld || exit 1; \
24995 case $(srcdir) in \
24996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24997 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
24998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24999 esac; \
25000 srcdiroption="--srcdir=$${topdir}/ld"; \
25001 libsrcdir="$$s/ld"; \
25002 $(SHELL) $${libsrcdir}/configure \
25003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25004 --target=${target_alias} $${srcdiroption} \
25005 --with-build-libsubdir=$(HOST_SUBDIR) \
25006 @stage2_werror_flag@
25007 @endif ld-bootstrap
25009 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
25010 maybe-configure-stageprofile-ld:
25011 @if ld-bootstrap
25012 maybe-configure-stageprofile-ld: configure-stageprofile-ld
25013 configure-stageprofile-ld:
25014 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
25016 @r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25018 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
25019 $(HOST_EXPORTS) \
25020 $(POSTSTAGE1_HOST_EXPORTS) \
25021 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
25022 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
25023 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
25024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
25025 cd $(HOST_SUBDIR)/ld || exit 1; \
25026 case $(srcdir) in \
25027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25028 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
25029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25030 esac; \
25031 srcdiroption="--srcdir=$${topdir}/ld"; \
25032 libsrcdir="$$s/ld"; \
25033 $(SHELL) $${libsrcdir}/configure \
25034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25035 --target=${target_alias} $${srcdiroption} \
25036 --with-build-libsubdir=$(HOST_SUBDIR) \
25037 @stage2_werror_flag@
25038 @endif ld-bootstrap
25040 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
25041 maybe-configure-stagefeedback-ld:
25042 @if ld-bootstrap
25043 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
25044 configure-stagefeedback-ld:
25045 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
25047 @r=`${PWD_COMMAND}`; export r; \
25048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25049 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
25050 $(HOST_EXPORTS) \
25051 $(POSTSTAGE1_HOST_EXPORTS) \
25052 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
25053 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
25054 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
25055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
25056 cd $(HOST_SUBDIR)/ld || exit 1; \
25057 case $(srcdir) in \
25058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25059 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
25060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25061 esac; \
25062 srcdiroption="--srcdir=$${topdir}/ld"; \
25063 libsrcdir="$$s/ld"; \
25064 $(SHELL) $${libsrcdir}/configure \
25065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25066 --target=${target_alias} $${srcdiroption} \
25067 --with-build-libsubdir=$(HOST_SUBDIR) \
25068 @stage2_werror_flag@
25069 @endif ld-bootstrap
25075 .PHONY: all-ld maybe-all-ld
25076 maybe-all-ld:
25077 @if gcc-bootstrap
25078 all-ld: stage_current
25079 @endif gcc-bootstrap
25080 @if ld
25081 TARGET-ld=all
25082 maybe-all-ld: all-ld
25083 all-ld: configure-ld
25084 @r=`${PWD_COMMAND}`; export r; \
25085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25086 $(HOST_EXPORTS) \
25087 (cd $(HOST_SUBDIR)/ld && \
25088 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25089 $(TARGET-ld))
25090 @endif ld
25094 .PHONY: all-stage1-ld maybe-all-stage1-ld
25095 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
25096 maybe-all-stage1-ld:
25097 maybe-clean-stage1-ld:
25098 @if ld-bootstrap
25099 maybe-all-stage1-ld: all-stage1-ld
25100 all-stage1: all-stage1-ld
25101 TARGET-stage1-ld = $(TARGET-ld)
25102 all-stage1-ld: configure-stage1-ld
25103 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25104 @r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106 $(HOST_EXPORTS) \
25107 cd $(HOST_SUBDIR)/ld && \
25108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25109 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
25110 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
25111 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
25112 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
25113 $(TARGET-stage1-ld)
25115 maybe-clean-stage1-ld: clean-stage1-ld
25116 clean-stage1: clean-stage1-ld
25117 clean-stage1-ld:
25118 @if [ $(current_stage) = stage1 ]; then \
25119 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25120 else \
25121 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
25122 $(MAKE) stage1-start; \
25123 fi; \
25124 cd $(HOST_SUBDIR)/ld && \
25125 $(MAKE) $(EXTRA_HOST_FLAGS) \
25126 clean
25127 @endif ld-bootstrap
25130 .PHONY: all-stage2-ld maybe-all-stage2-ld
25131 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
25132 maybe-all-stage2-ld:
25133 maybe-clean-stage2-ld:
25134 @if ld-bootstrap
25135 maybe-all-stage2-ld: all-stage2-ld
25136 all-stage2: all-stage2-ld
25137 TARGET-stage2-ld = $(TARGET-ld)
25138 all-stage2-ld: configure-stage2-ld
25139 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25140 @r=`${PWD_COMMAND}`; export r; \
25141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25142 $(HOST_EXPORTS) \
25143 $(POSTSTAGE1_HOST_EXPORTS) \
25144 cd $(HOST_SUBDIR)/ld && \
25145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25146 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
25147 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
25148 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
25149 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25150 $(TARGET-stage2-ld)
25152 maybe-clean-stage2-ld: clean-stage2-ld
25153 clean-stage2: clean-stage2-ld
25154 clean-stage2-ld:
25155 @if [ $(current_stage) = stage2 ]; then \
25156 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25157 else \
25158 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
25159 $(MAKE) stage2-start; \
25160 fi; \
25161 cd $(HOST_SUBDIR)/ld && \
25162 $(MAKE) $(EXTRA_HOST_FLAGS) \
25163 $(POSTSTAGE1_FLAGS_TO_PASS) \
25164 clean
25165 @endif ld-bootstrap
25168 .PHONY: all-stageb2g0-ld maybe-all-stageb2g0-ld
25169 .PHONY: clean-stageb2g0-ld maybe-clean-stageb2g0-ld
25170 maybe-all-stageb2g0-ld:
25171 maybe-clean-stageb2g0-ld:
25172 @if ld-bootstrap
25173 maybe-all-stageb2g0-ld: all-stageb2g0-ld
25174 all-stageb2g0: all-stageb2g0-ld
25175 TARGET-stageb2g0-ld = $(TARGET-ld)
25176 all-stageb2g0-ld: configure-stageb2g0-ld
25177 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
25178 @r=`${PWD_COMMAND}`; export r; \
25179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25180 $(HOST_EXPORTS) \
25181 $(POSTSTAGE1_HOST_EXPORTS) \
25182 cd $(HOST_SUBDIR)/ld && \
25183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25184 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
25185 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
25186 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
25187 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25188 $(TARGET-stageb2g0-ld)
25190 maybe-clean-stageb2g0-ld: clean-stageb2g0-ld
25191 clean-stageb2g0: clean-stageb2g0-ld
25192 clean-stageb2g0-ld:
25193 @if [ $(current_stage) = stageb2g0 ]; then \
25194 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25195 else \
25196 [ -f $(HOST_SUBDIR)/stageb2g0-ld/Makefile ] || exit 0; \
25197 $(MAKE) stageb2g0-start; \
25198 fi; \
25199 cd $(HOST_SUBDIR)/ld && \
25200 $(MAKE) $(EXTRA_HOST_FLAGS) \
25201 $(POSTSTAGE1_FLAGS_TO_PASS) \
25202 clean
25203 @endif ld-bootstrap
25206 .PHONY: all-stage3-ld maybe-all-stage3-ld
25207 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
25208 maybe-all-stage3-ld:
25209 maybe-clean-stage3-ld:
25210 @if ld-bootstrap
25211 maybe-all-stage3-ld: all-stage3-ld
25212 all-stage3: all-stage3-ld
25213 TARGET-stage3-ld = $(TARGET-ld)
25214 all-stage3-ld: configure-stage3-ld
25215 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25216 @r=`${PWD_COMMAND}`; export r; \
25217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25218 $(HOST_EXPORTS) \
25219 $(POSTSTAGE1_HOST_EXPORTS) \
25220 cd $(HOST_SUBDIR)/ld && \
25221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25222 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
25223 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
25224 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
25225 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25226 $(TARGET-stage3-ld)
25228 maybe-clean-stage3-ld: clean-stage3-ld
25229 clean-stage3: clean-stage3-ld
25230 clean-stage3-ld:
25231 @if [ $(current_stage) = stage3 ]; then \
25232 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25233 else \
25234 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
25235 $(MAKE) stage3-start; \
25236 fi; \
25237 cd $(HOST_SUBDIR)/ld && \
25238 $(MAKE) $(EXTRA_HOST_FLAGS) \
25239 $(POSTSTAGE1_FLAGS_TO_PASS) \
25240 clean
25241 @endif ld-bootstrap
25244 .PHONY: all-stageb3g2-ld maybe-all-stageb3g2-ld
25245 .PHONY: clean-stageb3g2-ld maybe-clean-stageb3g2-ld
25246 maybe-all-stageb3g2-ld:
25247 maybe-clean-stageb3g2-ld:
25248 @if ld-bootstrap
25249 maybe-all-stageb3g2-ld: all-stageb3g2-ld
25250 all-stageb3g2: all-stageb3g2-ld
25251 TARGET-stageb3g2-ld = $(TARGET-ld)
25252 all-stageb3g2-ld: configure-stageb3g2-ld
25253 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
25254 @r=`${PWD_COMMAND}`; export r; \
25255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25256 $(HOST_EXPORTS) \
25257 $(POSTSTAGE1_HOST_EXPORTS) \
25258 cd $(HOST_SUBDIR)/ld && \
25259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25260 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
25261 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
25262 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
25263 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25264 $(TARGET-stageb3g2-ld)
25266 maybe-clean-stageb3g2-ld: clean-stageb3g2-ld
25267 clean-stageb3g2: clean-stageb3g2-ld
25268 clean-stageb3g2-ld:
25269 @if [ $(current_stage) = stageb3g2 ]; then \
25270 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25271 else \
25272 [ -f $(HOST_SUBDIR)/stageb3g2-ld/Makefile ] || exit 0; \
25273 $(MAKE) stageb3g2-start; \
25274 fi; \
25275 cd $(HOST_SUBDIR)/ld && \
25276 $(MAKE) $(EXTRA_HOST_FLAGS) \
25277 $(POSTSTAGE1_FLAGS_TO_PASS) \
25278 clean
25279 @endif ld-bootstrap
25282 .PHONY: all-stage4-ld maybe-all-stage4-ld
25283 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
25284 maybe-all-stage4-ld:
25285 maybe-clean-stage4-ld:
25286 @if ld-bootstrap
25287 maybe-all-stage4-ld: all-stage4-ld
25288 all-stage4: all-stage4-ld
25289 TARGET-stage4-ld = $(TARGET-ld)
25290 all-stage4-ld: configure-stage4-ld
25291 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25292 @r=`${PWD_COMMAND}`; export r; \
25293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25294 $(HOST_EXPORTS) \
25295 $(POSTSTAGE1_HOST_EXPORTS) \
25296 cd $(HOST_SUBDIR)/ld && \
25297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25298 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
25299 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25300 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
25301 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25302 $(TARGET-stage4-ld)
25304 maybe-clean-stage4-ld: clean-stage4-ld
25305 clean-stage4: clean-stage4-ld
25306 clean-stage4-ld:
25307 @if [ $(current_stage) = stage4 ]; then \
25308 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25309 else \
25310 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
25311 $(MAKE) stage4-start; \
25312 fi; \
25313 cd $(HOST_SUBDIR)/ld && \
25314 $(MAKE) $(EXTRA_HOST_FLAGS) \
25315 $(POSTSTAGE1_FLAGS_TO_PASS) \
25316 clean
25317 @endif ld-bootstrap
25320 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
25321 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
25322 maybe-all-stageprofile-ld:
25323 maybe-clean-stageprofile-ld:
25324 @if ld-bootstrap
25325 maybe-all-stageprofile-ld: all-stageprofile-ld
25326 all-stageprofile: all-stageprofile-ld
25327 TARGET-stageprofile-ld = $(TARGET-ld)
25328 all-stageprofile-ld: configure-stageprofile-ld
25329 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25330 @r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(HOST_EXPORTS) \
25333 $(POSTSTAGE1_HOST_EXPORTS) \
25334 cd $(HOST_SUBDIR)/ld && \
25335 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25336 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
25337 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
25338 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
25339 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25340 $(TARGET-stageprofile-ld)
25342 maybe-clean-stageprofile-ld: clean-stageprofile-ld
25343 clean-stageprofile: clean-stageprofile-ld
25344 clean-stageprofile-ld:
25345 @if [ $(current_stage) = stageprofile ]; then \
25346 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25347 else \
25348 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
25349 $(MAKE) stageprofile-start; \
25350 fi; \
25351 cd $(HOST_SUBDIR)/ld && \
25352 $(MAKE) $(EXTRA_HOST_FLAGS) \
25353 $(POSTSTAGE1_FLAGS_TO_PASS) \
25354 clean
25355 @endif ld-bootstrap
25358 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
25359 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
25360 maybe-all-stagefeedback-ld:
25361 maybe-clean-stagefeedback-ld:
25362 @if ld-bootstrap
25363 maybe-all-stagefeedback-ld: all-stagefeedback-ld
25364 all-stagefeedback: all-stagefeedback-ld
25365 TARGET-stagefeedback-ld = $(TARGET-ld)
25366 all-stagefeedback-ld: configure-stagefeedback-ld
25367 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25368 @r=`${PWD_COMMAND}`; export r; \
25369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25370 $(HOST_EXPORTS) \
25371 $(POSTSTAGE1_HOST_EXPORTS) \
25372 cd $(HOST_SUBDIR)/ld && \
25373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25374 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
25375 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
25376 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
25377 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25378 $(TARGET-stagefeedback-ld)
25380 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
25381 clean-stagefeedback: clean-stagefeedback-ld
25382 clean-stagefeedback-ld:
25383 @if [ $(current_stage) = stagefeedback ]; then \
25384 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
25385 else \
25386 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
25387 $(MAKE) stagefeedback-start; \
25388 fi; \
25389 cd $(HOST_SUBDIR)/ld && \
25390 $(MAKE) $(EXTRA_HOST_FLAGS) \
25391 $(POSTSTAGE1_FLAGS_TO_PASS) \
25392 clean
25393 @endif ld-bootstrap
25399 .PHONY: check-ld maybe-check-ld
25400 maybe-check-ld:
25401 @if ld
25402 maybe-check-ld: check-ld
25404 check-ld:
25405 @: $(MAKE); $(unstage)
25406 @r=`${PWD_COMMAND}`; export r; \
25407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25408 $(HOST_EXPORTS) \
25409 (cd $(HOST_SUBDIR)/ld && \
25410 $(MAKE) $(FLAGS_TO_PASS) check)
25412 @endif ld
25414 .PHONY: install-ld maybe-install-ld
25415 maybe-install-ld:
25416 @if ld
25417 maybe-install-ld: install-ld
25419 install-ld: installdirs
25420 @: $(MAKE); $(unstage)
25421 @r=`${PWD_COMMAND}`; export r; \
25422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25423 $(HOST_EXPORTS) \
25424 (cd $(HOST_SUBDIR)/ld && \
25425 $(MAKE) $(FLAGS_TO_PASS) install)
25427 @endif ld
25429 # Other targets (info, dvi, pdf, etc.)
25431 .PHONY: maybe-info-ld info-ld
25432 maybe-info-ld:
25433 @if ld
25434 maybe-info-ld: info-ld
25436 info-ld: \
25437 configure-ld
25438 @[ -f ./ld/Makefile ] || exit 0; \
25439 r=`${PWD_COMMAND}`; export r; \
25440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25441 $(HOST_EXPORTS) \
25442 for flag in $(EXTRA_HOST_FLAGS) ; do \
25443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25444 done; \
25445 echo "Doing info in ld" ; \
25446 (cd $(HOST_SUBDIR)/ld && \
25447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25449 "RANLIB=$${RANLIB}" \
25450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25451 info) \
25452 || exit 1
25454 @endif ld
25456 .PHONY: maybe-dvi-ld dvi-ld
25457 maybe-dvi-ld:
25458 @if ld
25459 maybe-dvi-ld: dvi-ld
25461 dvi-ld: \
25462 configure-ld
25463 @[ -f ./ld/Makefile ] || exit 0; \
25464 r=`${PWD_COMMAND}`; export r; \
25465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25466 $(HOST_EXPORTS) \
25467 for flag in $(EXTRA_HOST_FLAGS) ; do \
25468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25469 done; \
25470 echo "Doing dvi in ld" ; \
25471 (cd $(HOST_SUBDIR)/ld && \
25472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25474 "RANLIB=$${RANLIB}" \
25475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25476 dvi) \
25477 || exit 1
25479 @endif ld
25481 .PHONY: maybe-pdf-ld pdf-ld
25482 maybe-pdf-ld:
25483 @if ld
25484 maybe-pdf-ld: pdf-ld
25486 pdf-ld: \
25487 configure-ld
25488 @[ -f ./ld/Makefile ] || exit 0; \
25489 r=`${PWD_COMMAND}`; export r; \
25490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25491 $(HOST_EXPORTS) \
25492 for flag in $(EXTRA_HOST_FLAGS) ; do \
25493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25494 done; \
25495 echo "Doing pdf in ld" ; \
25496 (cd $(HOST_SUBDIR)/ld && \
25497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25499 "RANLIB=$${RANLIB}" \
25500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25501 pdf) \
25502 || exit 1
25504 @endif ld
25506 .PHONY: maybe-html-ld html-ld
25507 maybe-html-ld:
25508 @if ld
25509 maybe-html-ld: html-ld
25511 html-ld: \
25512 configure-ld
25513 @[ -f ./ld/Makefile ] || exit 0; \
25514 r=`${PWD_COMMAND}`; export r; \
25515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25516 $(HOST_EXPORTS) \
25517 for flag in $(EXTRA_HOST_FLAGS) ; do \
25518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25519 done; \
25520 echo "Doing html in ld" ; \
25521 (cd $(HOST_SUBDIR)/ld && \
25522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25524 "RANLIB=$${RANLIB}" \
25525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25526 html) \
25527 || exit 1
25529 @endif ld
25531 .PHONY: maybe-TAGS-ld TAGS-ld
25532 maybe-TAGS-ld:
25533 @if ld
25534 maybe-TAGS-ld: TAGS-ld
25536 TAGS-ld: \
25537 configure-ld
25538 @[ -f ./ld/Makefile ] || exit 0; \
25539 r=`${PWD_COMMAND}`; export r; \
25540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25541 $(HOST_EXPORTS) \
25542 for flag in $(EXTRA_HOST_FLAGS) ; do \
25543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25544 done; \
25545 echo "Doing TAGS in ld" ; \
25546 (cd $(HOST_SUBDIR)/ld && \
25547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25549 "RANLIB=$${RANLIB}" \
25550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25551 TAGS) \
25552 || exit 1
25554 @endif ld
25556 .PHONY: maybe-install-info-ld install-info-ld
25557 maybe-install-info-ld:
25558 @if ld
25559 maybe-install-info-ld: install-info-ld
25561 install-info-ld: \
25562 configure-ld \
25563 info-ld
25564 @[ -f ./ld/Makefile ] || exit 0; \
25565 r=`${PWD_COMMAND}`; export r; \
25566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25567 $(HOST_EXPORTS) \
25568 for flag in $(EXTRA_HOST_FLAGS) ; do \
25569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25570 done; \
25571 echo "Doing install-info in ld" ; \
25572 (cd $(HOST_SUBDIR)/ld && \
25573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25575 "RANLIB=$${RANLIB}" \
25576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25577 install-info) \
25578 || exit 1
25580 @endif ld
25582 .PHONY: maybe-install-pdf-ld install-pdf-ld
25583 maybe-install-pdf-ld:
25584 @if ld
25585 maybe-install-pdf-ld: install-pdf-ld
25587 install-pdf-ld: \
25588 configure-ld \
25589 pdf-ld
25590 @[ -f ./ld/Makefile ] || exit 0; \
25591 r=`${PWD_COMMAND}`; export r; \
25592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25593 $(HOST_EXPORTS) \
25594 for flag in $(EXTRA_HOST_FLAGS) ; do \
25595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25596 done; \
25597 echo "Doing install-pdf in ld" ; \
25598 (cd $(HOST_SUBDIR)/ld && \
25599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25601 "RANLIB=$${RANLIB}" \
25602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25603 install-pdf) \
25604 || exit 1
25606 @endif ld
25608 .PHONY: maybe-install-html-ld install-html-ld
25609 maybe-install-html-ld:
25610 @if ld
25611 maybe-install-html-ld: install-html-ld
25613 install-html-ld: \
25614 configure-ld \
25615 html-ld
25616 @[ -f ./ld/Makefile ] || exit 0; \
25617 r=`${PWD_COMMAND}`; export r; \
25618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25619 $(HOST_EXPORTS) \
25620 for flag in $(EXTRA_HOST_FLAGS) ; do \
25621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25622 done; \
25623 echo "Doing install-html in ld" ; \
25624 (cd $(HOST_SUBDIR)/ld && \
25625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25627 "RANLIB=$${RANLIB}" \
25628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25629 install-html) \
25630 || exit 1
25632 @endif ld
25634 .PHONY: maybe-installcheck-ld installcheck-ld
25635 maybe-installcheck-ld:
25636 @if ld
25637 maybe-installcheck-ld: installcheck-ld
25639 installcheck-ld: \
25640 configure-ld
25641 @[ -f ./ld/Makefile ] || exit 0; \
25642 r=`${PWD_COMMAND}`; export r; \
25643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25644 $(HOST_EXPORTS) \
25645 for flag in $(EXTRA_HOST_FLAGS) ; do \
25646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25647 done; \
25648 echo "Doing installcheck in ld" ; \
25649 (cd $(HOST_SUBDIR)/ld && \
25650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25652 "RANLIB=$${RANLIB}" \
25653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25654 installcheck) \
25655 || exit 1
25657 @endif ld
25659 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
25660 maybe-mostlyclean-ld:
25661 @if ld
25662 maybe-mostlyclean-ld: mostlyclean-ld
25664 mostlyclean-ld:
25665 @[ -f ./ld/Makefile ] || exit 0; \
25666 r=`${PWD_COMMAND}`; export r; \
25667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25668 $(HOST_EXPORTS) \
25669 for flag in $(EXTRA_HOST_FLAGS) ; do \
25670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25671 done; \
25672 echo "Doing mostlyclean in ld" ; \
25673 (cd $(HOST_SUBDIR)/ld && \
25674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25676 "RANLIB=$${RANLIB}" \
25677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25678 mostlyclean) \
25679 || exit 1
25681 @endif ld
25683 .PHONY: maybe-clean-ld clean-ld
25684 maybe-clean-ld:
25685 @if ld
25686 maybe-clean-ld: clean-ld
25688 clean-ld:
25689 @[ -f ./ld/Makefile ] || exit 0; \
25690 r=`${PWD_COMMAND}`; export r; \
25691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25692 $(HOST_EXPORTS) \
25693 for flag in $(EXTRA_HOST_FLAGS) ; do \
25694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25695 done; \
25696 echo "Doing clean in ld" ; \
25697 (cd $(HOST_SUBDIR)/ld && \
25698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25700 "RANLIB=$${RANLIB}" \
25701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25702 clean) \
25703 || exit 1
25705 @endif ld
25707 .PHONY: maybe-distclean-ld distclean-ld
25708 maybe-distclean-ld:
25709 @if ld
25710 maybe-distclean-ld: distclean-ld
25712 distclean-ld:
25713 @[ -f ./ld/Makefile ] || exit 0; \
25714 r=`${PWD_COMMAND}`; export r; \
25715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25716 $(HOST_EXPORTS) \
25717 for flag in $(EXTRA_HOST_FLAGS) ; do \
25718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25719 done; \
25720 echo "Doing distclean in ld" ; \
25721 (cd $(HOST_SUBDIR)/ld && \
25722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25724 "RANLIB=$${RANLIB}" \
25725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25726 distclean) \
25727 || exit 1
25729 @endif ld
25731 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
25732 maybe-maintainer-clean-ld:
25733 @if ld
25734 maybe-maintainer-clean-ld: maintainer-clean-ld
25736 maintainer-clean-ld:
25737 @[ -f ./ld/Makefile ] || exit 0; \
25738 r=`${PWD_COMMAND}`; export r; \
25739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25740 $(HOST_EXPORTS) \
25741 for flag in $(EXTRA_HOST_FLAGS) ; do \
25742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25743 done; \
25744 echo "Doing maintainer-clean in ld" ; \
25745 (cd $(HOST_SUBDIR)/ld && \
25746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25748 "RANLIB=$${RANLIB}" \
25749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25750 maintainer-clean) \
25751 || exit 1
25753 @endif ld
25757 .PHONY: configure-libcpp maybe-configure-libcpp
25758 maybe-configure-libcpp:
25759 @if gcc-bootstrap
25760 configure-libcpp: stage_current
25761 @endif gcc-bootstrap
25762 @if libcpp
25763 maybe-configure-libcpp: configure-libcpp
25764 configure-libcpp:
25765 @r=`${PWD_COMMAND}`; export r; \
25766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25767 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25769 $(HOST_EXPORTS) \
25770 echo Configuring in $(HOST_SUBDIR)/libcpp; \
25771 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
25772 case $(srcdir) in \
25773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25774 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25776 esac; \
25777 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25778 libsrcdir="$$s/libcpp"; \
25779 $(SHELL) $${libsrcdir}/configure \
25780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25781 --target=${target_alias} $${srcdiroption} \
25782 || exit 1
25783 @endif libcpp
25787 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
25788 maybe-configure-stage1-libcpp:
25789 @if libcpp-bootstrap
25790 maybe-configure-stage1-libcpp: configure-stage1-libcpp
25791 configure-stage1-libcpp:
25792 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25793 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25794 @r=`${PWD_COMMAND}`; export r; \
25795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25796 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25797 $(HOST_EXPORTS) \
25798 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25799 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
25800 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
25801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25802 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25803 case $(srcdir) in \
25804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25805 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25807 esac; \
25808 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25809 libsrcdir="$$s/libcpp"; \
25810 $(SHELL) $${libsrcdir}/configure \
25811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25812 --target=${target_alias} $${srcdiroption} \
25814 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25815 @endif libcpp-bootstrap
25817 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
25818 maybe-configure-stage2-libcpp:
25819 @if libcpp-bootstrap
25820 maybe-configure-stage2-libcpp: configure-stage2-libcpp
25821 configure-stage2-libcpp:
25822 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25824 @r=`${PWD_COMMAND}`; export r; \
25825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25826 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25827 $(HOST_EXPORTS) \
25828 $(POSTSTAGE1_HOST_EXPORTS) \
25829 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25830 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
25831 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
25832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25833 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25834 case $(srcdir) in \
25835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25836 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25838 esac; \
25839 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25840 libsrcdir="$$s/libcpp"; \
25841 $(SHELL) $${libsrcdir}/configure \
25842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25843 --target=${target_alias} $${srcdiroption} \
25844 --with-build-libsubdir=$(HOST_SUBDIR) \
25845 @stage2_werror_flag@
25846 @endif libcpp-bootstrap
25848 .PHONY: configure-stageb2g0-libcpp maybe-configure-stageb2g0-libcpp
25849 maybe-configure-stageb2g0-libcpp:
25850 @if libcpp-bootstrap
25851 maybe-configure-stageb2g0-libcpp: configure-stageb2g0-libcpp
25852 configure-stageb2g0-libcpp:
25853 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
25854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25855 @r=`${PWD_COMMAND}`; export r; \
25856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25857 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25858 $(HOST_EXPORTS) \
25859 $(POSTSTAGE1_HOST_EXPORTS) \
25860 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
25861 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
25862 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libcpp ; \
25863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25864 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25865 case $(srcdir) in \
25866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25867 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25869 esac; \
25870 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25871 libsrcdir="$$s/libcpp"; \
25872 $(SHELL) $${libsrcdir}/configure \
25873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25874 --target=${target_alias} $${srcdiroption} \
25875 --with-build-libsubdir=$(HOST_SUBDIR) \
25876 @stage2_werror_flag@
25877 @endif libcpp-bootstrap
25879 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
25880 maybe-configure-stage3-libcpp:
25881 @if libcpp-bootstrap
25882 maybe-configure-stage3-libcpp: configure-stage3-libcpp
25883 configure-stage3-libcpp:
25884 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25886 @r=`${PWD_COMMAND}`; export r; \
25887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25889 $(HOST_EXPORTS) \
25890 $(POSTSTAGE1_HOST_EXPORTS) \
25891 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25892 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
25893 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
25894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25895 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25896 case $(srcdir) in \
25897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25898 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25900 esac; \
25901 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25902 libsrcdir="$$s/libcpp"; \
25903 $(SHELL) $${libsrcdir}/configure \
25904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25905 --target=${target_alias} $${srcdiroption} \
25906 --with-build-libsubdir=$(HOST_SUBDIR) \
25907 @stage2_werror_flag@
25908 @endif libcpp-bootstrap
25910 .PHONY: configure-stageb3g2-libcpp maybe-configure-stageb3g2-libcpp
25911 maybe-configure-stageb3g2-libcpp:
25912 @if libcpp-bootstrap
25913 maybe-configure-stageb3g2-libcpp: configure-stageb3g2-libcpp
25914 configure-stageb3g2-libcpp:
25915 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
25916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25917 @r=`${PWD_COMMAND}`; export r; \
25918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25919 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25920 $(HOST_EXPORTS) \
25921 $(POSTSTAGE1_HOST_EXPORTS) \
25922 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
25923 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
25924 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libcpp ; \
25925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25926 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25927 case $(srcdir) in \
25928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25929 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25931 esac; \
25932 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25933 libsrcdir="$$s/libcpp"; \
25934 $(SHELL) $${libsrcdir}/configure \
25935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25936 --target=${target_alias} $${srcdiroption} \
25937 --with-build-libsubdir=$(HOST_SUBDIR) \
25938 @stage2_werror_flag@
25939 @endif libcpp-bootstrap
25941 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
25942 maybe-configure-stage4-libcpp:
25943 @if libcpp-bootstrap
25944 maybe-configure-stage4-libcpp: configure-stage4-libcpp
25945 configure-stage4-libcpp:
25946 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25948 @r=`${PWD_COMMAND}`; export r; \
25949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25950 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25951 $(HOST_EXPORTS) \
25952 $(POSTSTAGE1_HOST_EXPORTS) \
25953 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25954 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
25955 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
25956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25957 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25958 case $(srcdir) in \
25959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25960 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25962 esac; \
25963 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25964 libsrcdir="$$s/libcpp"; \
25965 $(SHELL) $${libsrcdir}/configure \
25966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25967 --target=${target_alias} $${srcdiroption} \
25968 --with-build-libsubdir=$(HOST_SUBDIR) \
25969 @stage2_werror_flag@
25970 @endif libcpp-bootstrap
25972 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
25973 maybe-configure-stageprofile-libcpp:
25974 @if libcpp-bootstrap
25975 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
25976 configure-stageprofile-libcpp:
25977 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25979 @r=`${PWD_COMMAND}`; export r; \
25980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25981 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25982 $(HOST_EXPORTS) \
25983 $(POSTSTAGE1_HOST_EXPORTS) \
25984 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
25985 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
25986 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
25987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
25988 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25989 case $(srcdir) in \
25990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25991 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25993 esac; \
25994 srcdiroption="--srcdir=$${topdir}/libcpp"; \
25995 libsrcdir="$$s/libcpp"; \
25996 $(SHELL) $${libsrcdir}/configure \
25997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25998 --target=${target_alias} $${srcdiroption} \
25999 --with-build-libsubdir=$(HOST_SUBDIR) \
26000 @stage2_werror_flag@
26001 @endif libcpp-bootstrap
26003 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
26004 maybe-configure-stagefeedback-libcpp:
26005 @if libcpp-bootstrap
26006 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
26007 configure-stagefeedback-libcpp:
26008 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
26010 @r=`${PWD_COMMAND}`; export r; \
26011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
26013 $(HOST_EXPORTS) \
26014 $(POSTSTAGE1_HOST_EXPORTS) \
26015 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
26016 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
26017 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
26018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
26019 cd $(HOST_SUBDIR)/libcpp || exit 1; \
26020 case $(srcdir) in \
26021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26022 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
26023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26024 esac; \
26025 srcdiroption="--srcdir=$${topdir}/libcpp"; \
26026 libsrcdir="$$s/libcpp"; \
26027 $(SHELL) $${libsrcdir}/configure \
26028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26029 --target=${target_alias} $${srcdiroption} \
26030 --with-build-libsubdir=$(HOST_SUBDIR) \
26031 @stage2_werror_flag@
26032 @endif libcpp-bootstrap
26038 .PHONY: all-libcpp maybe-all-libcpp
26039 maybe-all-libcpp:
26040 @if gcc-bootstrap
26041 all-libcpp: stage_current
26042 @endif gcc-bootstrap
26043 @if libcpp
26044 TARGET-libcpp=all
26045 maybe-all-libcpp: all-libcpp
26046 all-libcpp: configure-libcpp
26047 @r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049 $(HOST_EXPORTS) \
26050 (cd $(HOST_SUBDIR)/libcpp && \
26051 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26052 $(TARGET-libcpp))
26053 @endif libcpp
26057 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
26058 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
26059 maybe-all-stage1-libcpp:
26060 maybe-clean-stage1-libcpp:
26061 @if libcpp-bootstrap
26062 maybe-all-stage1-libcpp: all-stage1-libcpp
26063 all-stage1: all-stage1-libcpp
26064 TARGET-stage1-libcpp = $(TARGET-libcpp)
26065 all-stage1-libcpp: configure-stage1-libcpp
26066 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26067 @r=`${PWD_COMMAND}`; export r; \
26068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26069 $(HOST_EXPORTS) \
26070 cd $(HOST_SUBDIR)/libcpp && \
26071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26072 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
26073 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
26074 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
26075 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
26076 $(TARGET-stage1-libcpp)
26078 maybe-clean-stage1-libcpp: clean-stage1-libcpp
26079 clean-stage1: clean-stage1-libcpp
26080 clean-stage1-libcpp:
26081 @if [ $(current_stage) = stage1 ]; then \
26082 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26083 else \
26084 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
26085 $(MAKE) stage1-start; \
26086 fi; \
26087 cd $(HOST_SUBDIR)/libcpp && \
26088 $(MAKE) $(EXTRA_HOST_FLAGS) \
26089 clean
26090 @endif libcpp-bootstrap
26093 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
26094 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
26095 maybe-all-stage2-libcpp:
26096 maybe-clean-stage2-libcpp:
26097 @if libcpp-bootstrap
26098 maybe-all-stage2-libcpp: all-stage2-libcpp
26099 all-stage2: all-stage2-libcpp
26100 TARGET-stage2-libcpp = $(TARGET-libcpp)
26101 all-stage2-libcpp: configure-stage2-libcpp
26102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26103 @r=`${PWD_COMMAND}`; export r; \
26104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26105 $(HOST_EXPORTS) \
26106 $(POSTSTAGE1_HOST_EXPORTS) \
26107 cd $(HOST_SUBDIR)/libcpp && \
26108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26109 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
26110 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
26111 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
26112 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26113 $(TARGET-stage2-libcpp)
26115 maybe-clean-stage2-libcpp: clean-stage2-libcpp
26116 clean-stage2: clean-stage2-libcpp
26117 clean-stage2-libcpp:
26118 @if [ $(current_stage) = stage2 ]; then \
26119 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26120 else \
26121 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
26122 $(MAKE) stage2-start; \
26123 fi; \
26124 cd $(HOST_SUBDIR)/libcpp && \
26125 $(MAKE) $(EXTRA_HOST_FLAGS) \
26126 $(POSTSTAGE1_FLAGS_TO_PASS) \
26127 clean
26128 @endif libcpp-bootstrap
26131 .PHONY: all-stageb2g0-libcpp maybe-all-stageb2g0-libcpp
26132 .PHONY: clean-stageb2g0-libcpp maybe-clean-stageb2g0-libcpp
26133 maybe-all-stageb2g0-libcpp:
26134 maybe-clean-stageb2g0-libcpp:
26135 @if libcpp-bootstrap
26136 maybe-all-stageb2g0-libcpp: all-stageb2g0-libcpp
26137 all-stageb2g0: all-stageb2g0-libcpp
26138 TARGET-stageb2g0-libcpp = $(TARGET-libcpp)
26139 all-stageb2g0-libcpp: configure-stageb2g0-libcpp
26140 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
26141 @r=`${PWD_COMMAND}`; export r; \
26142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(HOST_EXPORTS) \
26144 $(POSTSTAGE1_HOST_EXPORTS) \
26145 cd $(HOST_SUBDIR)/libcpp && \
26146 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26147 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
26148 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
26149 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
26150 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26151 $(TARGET-stageb2g0-libcpp)
26153 maybe-clean-stageb2g0-libcpp: clean-stageb2g0-libcpp
26154 clean-stageb2g0: clean-stageb2g0-libcpp
26155 clean-stageb2g0-libcpp:
26156 @if [ $(current_stage) = stageb2g0 ]; then \
26157 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26158 else \
26159 [ -f $(HOST_SUBDIR)/stageb2g0-libcpp/Makefile ] || exit 0; \
26160 $(MAKE) stageb2g0-start; \
26161 fi; \
26162 cd $(HOST_SUBDIR)/libcpp && \
26163 $(MAKE) $(EXTRA_HOST_FLAGS) \
26164 $(POSTSTAGE1_FLAGS_TO_PASS) \
26165 clean
26166 @endif libcpp-bootstrap
26169 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
26170 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
26171 maybe-all-stage3-libcpp:
26172 maybe-clean-stage3-libcpp:
26173 @if libcpp-bootstrap
26174 maybe-all-stage3-libcpp: all-stage3-libcpp
26175 all-stage3: all-stage3-libcpp
26176 TARGET-stage3-libcpp = $(TARGET-libcpp)
26177 all-stage3-libcpp: configure-stage3-libcpp
26178 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26179 @r=`${PWD_COMMAND}`; export r; \
26180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26181 $(HOST_EXPORTS) \
26182 $(POSTSTAGE1_HOST_EXPORTS) \
26183 cd $(HOST_SUBDIR)/libcpp && \
26184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26185 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
26186 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
26187 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
26188 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26189 $(TARGET-stage3-libcpp)
26191 maybe-clean-stage3-libcpp: clean-stage3-libcpp
26192 clean-stage3: clean-stage3-libcpp
26193 clean-stage3-libcpp:
26194 @if [ $(current_stage) = stage3 ]; then \
26195 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26196 else \
26197 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
26198 $(MAKE) stage3-start; \
26199 fi; \
26200 cd $(HOST_SUBDIR)/libcpp && \
26201 $(MAKE) $(EXTRA_HOST_FLAGS) \
26202 $(POSTSTAGE1_FLAGS_TO_PASS) \
26203 clean
26204 @endif libcpp-bootstrap
26207 .PHONY: all-stageb3g2-libcpp maybe-all-stageb3g2-libcpp
26208 .PHONY: clean-stageb3g2-libcpp maybe-clean-stageb3g2-libcpp
26209 maybe-all-stageb3g2-libcpp:
26210 maybe-clean-stageb3g2-libcpp:
26211 @if libcpp-bootstrap
26212 maybe-all-stageb3g2-libcpp: all-stageb3g2-libcpp
26213 all-stageb3g2: all-stageb3g2-libcpp
26214 TARGET-stageb3g2-libcpp = $(TARGET-libcpp)
26215 all-stageb3g2-libcpp: configure-stageb3g2-libcpp
26216 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
26217 @r=`${PWD_COMMAND}`; export r; \
26218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26219 $(HOST_EXPORTS) \
26220 $(POSTSTAGE1_HOST_EXPORTS) \
26221 cd $(HOST_SUBDIR)/libcpp && \
26222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26223 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
26224 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
26225 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
26226 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26227 $(TARGET-stageb3g2-libcpp)
26229 maybe-clean-stageb3g2-libcpp: clean-stageb3g2-libcpp
26230 clean-stageb3g2: clean-stageb3g2-libcpp
26231 clean-stageb3g2-libcpp:
26232 @if [ $(current_stage) = stageb3g2 ]; then \
26233 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26234 else \
26235 [ -f $(HOST_SUBDIR)/stageb3g2-libcpp/Makefile ] || exit 0; \
26236 $(MAKE) stageb3g2-start; \
26237 fi; \
26238 cd $(HOST_SUBDIR)/libcpp && \
26239 $(MAKE) $(EXTRA_HOST_FLAGS) \
26240 $(POSTSTAGE1_FLAGS_TO_PASS) \
26241 clean
26242 @endif libcpp-bootstrap
26245 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
26246 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
26247 maybe-all-stage4-libcpp:
26248 maybe-clean-stage4-libcpp:
26249 @if libcpp-bootstrap
26250 maybe-all-stage4-libcpp: all-stage4-libcpp
26251 all-stage4: all-stage4-libcpp
26252 TARGET-stage4-libcpp = $(TARGET-libcpp)
26253 all-stage4-libcpp: configure-stage4-libcpp
26254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26255 @r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(HOST_EXPORTS) \
26258 $(POSTSTAGE1_HOST_EXPORTS) \
26259 cd $(HOST_SUBDIR)/libcpp && \
26260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26261 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
26262 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26263 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
26264 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26265 $(TARGET-stage4-libcpp)
26267 maybe-clean-stage4-libcpp: clean-stage4-libcpp
26268 clean-stage4: clean-stage4-libcpp
26269 clean-stage4-libcpp:
26270 @if [ $(current_stage) = stage4 ]; then \
26271 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26272 else \
26273 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
26274 $(MAKE) stage4-start; \
26275 fi; \
26276 cd $(HOST_SUBDIR)/libcpp && \
26277 $(MAKE) $(EXTRA_HOST_FLAGS) \
26278 $(POSTSTAGE1_FLAGS_TO_PASS) \
26279 clean
26280 @endif libcpp-bootstrap
26283 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
26284 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
26285 maybe-all-stageprofile-libcpp:
26286 maybe-clean-stageprofile-libcpp:
26287 @if libcpp-bootstrap
26288 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
26289 all-stageprofile: all-stageprofile-libcpp
26290 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
26291 all-stageprofile-libcpp: configure-stageprofile-libcpp
26292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26293 @r=`${PWD_COMMAND}`; export r; \
26294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26295 $(HOST_EXPORTS) \
26296 $(POSTSTAGE1_HOST_EXPORTS) \
26297 cd $(HOST_SUBDIR)/libcpp && \
26298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26299 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
26300 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
26301 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
26302 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26303 $(TARGET-stageprofile-libcpp)
26305 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
26306 clean-stageprofile: clean-stageprofile-libcpp
26307 clean-stageprofile-libcpp:
26308 @if [ $(current_stage) = stageprofile ]; then \
26309 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26310 else \
26311 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
26312 $(MAKE) stageprofile-start; \
26313 fi; \
26314 cd $(HOST_SUBDIR)/libcpp && \
26315 $(MAKE) $(EXTRA_HOST_FLAGS) \
26316 $(POSTSTAGE1_FLAGS_TO_PASS) \
26317 clean
26318 @endif libcpp-bootstrap
26321 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
26322 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
26323 maybe-all-stagefeedback-libcpp:
26324 maybe-clean-stagefeedback-libcpp:
26325 @if libcpp-bootstrap
26326 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
26327 all-stagefeedback: all-stagefeedback-libcpp
26328 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
26329 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
26330 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26331 @r=`${PWD_COMMAND}`; export r; \
26332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26333 $(HOST_EXPORTS) \
26334 $(POSTSTAGE1_HOST_EXPORTS) \
26335 cd $(HOST_SUBDIR)/libcpp && \
26336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26337 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
26338 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
26339 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
26340 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26341 $(TARGET-stagefeedback-libcpp)
26343 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
26344 clean-stagefeedback: clean-stagefeedback-libcpp
26345 clean-stagefeedback-libcpp:
26346 @if [ $(current_stage) = stagefeedback ]; then \
26347 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
26348 else \
26349 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
26350 $(MAKE) stagefeedback-start; \
26351 fi; \
26352 cd $(HOST_SUBDIR)/libcpp && \
26353 $(MAKE) $(EXTRA_HOST_FLAGS) \
26354 $(POSTSTAGE1_FLAGS_TO_PASS) \
26355 clean
26356 @endif libcpp-bootstrap
26362 .PHONY: check-libcpp maybe-check-libcpp
26363 maybe-check-libcpp:
26364 @if libcpp
26365 maybe-check-libcpp: check-libcpp
26367 check-libcpp:
26368 @: $(MAKE); $(unstage)
26369 @r=`${PWD_COMMAND}`; export r; \
26370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26371 $(HOST_EXPORTS) \
26372 (cd $(HOST_SUBDIR)/libcpp && \
26373 $(MAKE) $(FLAGS_TO_PASS) check)
26375 @endif libcpp
26377 .PHONY: install-libcpp maybe-install-libcpp
26378 maybe-install-libcpp:
26379 @if libcpp
26380 maybe-install-libcpp: install-libcpp
26382 install-libcpp: installdirs
26383 @: $(MAKE); $(unstage)
26384 @r=`${PWD_COMMAND}`; export r; \
26385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26386 $(HOST_EXPORTS) \
26387 (cd $(HOST_SUBDIR)/libcpp && \
26388 $(MAKE) $(FLAGS_TO_PASS) install)
26390 @endif libcpp
26392 # Other targets (info, dvi, pdf, etc.)
26394 .PHONY: maybe-info-libcpp info-libcpp
26395 maybe-info-libcpp:
26396 @if libcpp
26397 maybe-info-libcpp: info-libcpp
26399 info-libcpp: \
26400 configure-libcpp
26401 @[ -f ./libcpp/Makefile ] || exit 0; \
26402 r=`${PWD_COMMAND}`; export r; \
26403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26404 $(HOST_EXPORTS) \
26405 for flag in $(EXTRA_HOST_FLAGS) ; do \
26406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26407 done; \
26408 echo "Doing info in libcpp" ; \
26409 (cd $(HOST_SUBDIR)/libcpp && \
26410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26412 "RANLIB=$${RANLIB}" \
26413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26414 info) \
26415 || exit 1
26417 @endif libcpp
26419 .PHONY: maybe-dvi-libcpp dvi-libcpp
26420 maybe-dvi-libcpp:
26421 @if libcpp
26422 maybe-dvi-libcpp: dvi-libcpp
26424 dvi-libcpp: \
26425 configure-libcpp
26426 @[ -f ./libcpp/Makefile ] || exit 0; \
26427 r=`${PWD_COMMAND}`; export r; \
26428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26429 $(HOST_EXPORTS) \
26430 for flag in $(EXTRA_HOST_FLAGS) ; do \
26431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26432 done; \
26433 echo "Doing dvi in libcpp" ; \
26434 (cd $(HOST_SUBDIR)/libcpp && \
26435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26437 "RANLIB=$${RANLIB}" \
26438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26439 dvi) \
26440 || exit 1
26442 @endif libcpp
26444 .PHONY: maybe-pdf-libcpp pdf-libcpp
26445 maybe-pdf-libcpp:
26446 @if libcpp
26447 maybe-pdf-libcpp: pdf-libcpp
26449 pdf-libcpp: \
26450 configure-libcpp
26451 @[ -f ./libcpp/Makefile ] || exit 0; \
26452 r=`${PWD_COMMAND}`; export r; \
26453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26454 $(HOST_EXPORTS) \
26455 for flag in $(EXTRA_HOST_FLAGS) ; do \
26456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26457 done; \
26458 echo "Doing pdf in libcpp" ; \
26459 (cd $(HOST_SUBDIR)/libcpp && \
26460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26462 "RANLIB=$${RANLIB}" \
26463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26464 pdf) \
26465 || exit 1
26467 @endif libcpp
26469 .PHONY: maybe-html-libcpp html-libcpp
26470 maybe-html-libcpp:
26471 @if libcpp
26472 maybe-html-libcpp: html-libcpp
26474 html-libcpp: \
26475 configure-libcpp
26476 @[ -f ./libcpp/Makefile ] || exit 0; \
26477 r=`${PWD_COMMAND}`; export r; \
26478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26479 $(HOST_EXPORTS) \
26480 for flag in $(EXTRA_HOST_FLAGS) ; do \
26481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26482 done; \
26483 echo "Doing html in libcpp" ; \
26484 (cd $(HOST_SUBDIR)/libcpp && \
26485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26487 "RANLIB=$${RANLIB}" \
26488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26489 html) \
26490 || exit 1
26492 @endif libcpp
26494 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
26495 maybe-TAGS-libcpp:
26496 @if libcpp
26497 maybe-TAGS-libcpp: TAGS-libcpp
26499 TAGS-libcpp: \
26500 configure-libcpp
26501 @[ -f ./libcpp/Makefile ] || exit 0; \
26502 r=`${PWD_COMMAND}`; export r; \
26503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26504 $(HOST_EXPORTS) \
26505 for flag in $(EXTRA_HOST_FLAGS) ; do \
26506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26507 done; \
26508 echo "Doing TAGS in libcpp" ; \
26509 (cd $(HOST_SUBDIR)/libcpp && \
26510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26512 "RANLIB=$${RANLIB}" \
26513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26514 TAGS) \
26515 || exit 1
26517 @endif libcpp
26519 .PHONY: maybe-install-info-libcpp install-info-libcpp
26520 maybe-install-info-libcpp:
26521 @if libcpp
26522 maybe-install-info-libcpp: install-info-libcpp
26524 install-info-libcpp: \
26525 configure-libcpp \
26526 info-libcpp
26527 @[ -f ./libcpp/Makefile ] || exit 0; \
26528 r=`${PWD_COMMAND}`; export r; \
26529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26530 $(HOST_EXPORTS) \
26531 for flag in $(EXTRA_HOST_FLAGS) ; do \
26532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26533 done; \
26534 echo "Doing install-info in libcpp" ; \
26535 (cd $(HOST_SUBDIR)/libcpp && \
26536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26538 "RANLIB=$${RANLIB}" \
26539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26540 install-info) \
26541 || exit 1
26543 @endif libcpp
26545 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
26546 maybe-install-pdf-libcpp:
26547 @if libcpp
26548 maybe-install-pdf-libcpp: install-pdf-libcpp
26550 install-pdf-libcpp: \
26551 configure-libcpp \
26552 pdf-libcpp
26553 @[ -f ./libcpp/Makefile ] || exit 0; \
26554 r=`${PWD_COMMAND}`; export r; \
26555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26556 $(HOST_EXPORTS) \
26557 for flag in $(EXTRA_HOST_FLAGS) ; do \
26558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26559 done; \
26560 echo "Doing install-pdf in libcpp" ; \
26561 (cd $(HOST_SUBDIR)/libcpp && \
26562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26564 "RANLIB=$${RANLIB}" \
26565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26566 install-pdf) \
26567 || exit 1
26569 @endif libcpp
26571 .PHONY: maybe-install-html-libcpp install-html-libcpp
26572 maybe-install-html-libcpp:
26573 @if libcpp
26574 maybe-install-html-libcpp: install-html-libcpp
26576 install-html-libcpp: \
26577 configure-libcpp \
26578 html-libcpp
26579 @[ -f ./libcpp/Makefile ] || exit 0; \
26580 r=`${PWD_COMMAND}`; export r; \
26581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26582 $(HOST_EXPORTS) \
26583 for flag in $(EXTRA_HOST_FLAGS) ; do \
26584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26585 done; \
26586 echo "Doing install-html in libcpp" ; \
26587 (cd $(HOST_SUBDIR)/libcpp && \
26588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26590 "RANLIB=$${RANLIB}" \
26591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26592 install-html) \
26593 || exit 1
26595 @endif libcpp
26597 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
26598 maybe-installcheck-libcpp:
26599 @if libcpp
26600 maybe-installcheck-libcpp: installcheck-libcpp
26602 installcheck-libcpp: \
26603 configure-libcpp
26604 @[ -f ./libcpp/Makefile ] || exit 0; \
26605 r=`${PWD_COMMAND}`; export r; \
26606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26607 $(HOST_EXPORTS) \
26608 for flag in $(EXTRA_HOST_FLAGS) ; do \
26609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26610 done; \
26611 echo "Doing installcheck in libcpp" ; \
26612 (cd $(HOST_SUBDIR)/libcpp && \
26613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26615 "RANLIB=$${RANLIB}" \
26616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26617 installcheck) \
26618 || exit 1
26620 @endif libcpp
26622 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
26623 maybe-mostlyclean-libcpp:
26624 @if libcpp
26625 maybe-mostlyclean-libcpp: mostlyclean-libcpp
26627 mostlyclean-libcpp:
26628 @[ -f ./libcpp/Makefile ] || exit 0; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631 $(HOST_EXPORTS) \
26632 for flag in $(EXTRA_HOST_FLAGS) ; do \
26633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26634 done; \
26635 echo "Doing mostlyclean in libcpp" ; \
26636 (cd $(HOST_SUBDIR)/libcpp && \
26637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26639 "RANLIB=$${RANLIB}" \
26640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26641 mostlyclean) \
26642 || exit 1
26644 @endif libcpp
26646 .PHONY: maybe-clean-libcpp clean-libcpp
26647 maybe-clean-libcpp:
26648 @if libcpp
26649 maybe-clean-libcpp: clean-libcpp
26651 clean-libcpp:
26652 @[ -f ./libcpp/Makefile ] || exit 0; \
26653 r=`${PWD_COMMAND}`; export r; \
26654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26655 $(HOST_EXPORTS) \
26656 for flag in $(EXTRA_HOST_FLAGS) ; do \
26657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26658 done; \
26659 echo "Doing clean in libcpp" ; \
26660 (cd $(HOST_SUBDIR)/libcpp && \
26661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26663 "RANLIB=$${RANLIB}" \
26664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26665 clean) \
26666 || exit 1
26668 @endif libcpp
26670 .PHONY: maybe-distclean-libcpp distclean-libcpp
26671 maybe-distclean-libcpp:
26672 @if libcpp
26673 maybe-distclean-libcpp: distclean-libcpp
26675 distclean-libcpp:
26676 @[ -f ./libcpp/Makefile ] || exit 0; \
26677 r=`${PWD_COMMAND}`; export r; \
26678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26679 $(HOST_EXPORTS) \
26680 for flag in $(EXTRA_HOST_FLAGS) ; do \
26681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26682 done; \
26683 echo "Doing distclean in libcpp" ; \
26684 (cd $(HOST_SUBDIR)/libcpp && \
26685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26687 "RANLIB=$${RANLIB}" \
26688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26689 distclean) \
26690 || exit 1
26692 @endif libcpp
26694 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
26695 maybe-maintainer-clean-libcpp:
26696 @if libcpp
26697 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
26699 maintainer-clean-libcpp:
26700 @[ -f ./libcpp/Makefile ] || exit 0; \
26701 r=`${PWD_COMMAND}`; export r; \
26702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26703 $(HOST_EXPORTS) \
26704 for flag in $(EXTRA_HOST_FLAGS) ; do \
26705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26706 done; \
26707 echo "Doing maintainer-clean in libcpp" ; \
26708 (cd $(HOST_SUBDIR)/libcpp && \
26709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26711 "RANLIB=$${RANLIB}" \
26712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26713 maintainer-clean) \
26714 || exit 1
26716 @endif libcpp
26720 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
26721 maybe-configure-libdecnumber:
26722 @if gcc-bootstrap
26723 configure-libdecnumber: stage_current
26724 @endif gcc-bootstrap
26725 @if libdecnumber
26726 maybe-configure-libdecnumber: configure-libdecnumber
26727 configure-libdecnumber:
26728 @r=`${PWD_COMMAND}`; export r; \
26729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26730 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26732 $(HOST_EXPORTS) \
26733 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
26734 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
26735 case $(srcdir) in \
26736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26737 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26739 esac; \
26740 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26741 libsrcdir="$$s/libdecnumber"; \
26742 $(SHELL) $${libsrcdir}/configure \
26743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26744 --target=${target_alias} $${srcdiroption} \
26745 || exit 1
26746 @endif libdecnumber
26750 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
26751 maybe-configure-stage1-libdecnumber:
26752 @if libdecnumber-bootstrap
26753 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
26754 configure-stage1-libdecnumber:
26755 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26757 @r=`${PWD_COMMAND}`; export r; \
26758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26760 $(HOST_EXPORTS) \
26761 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26762 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
26763 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
26764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26765 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26766 case $(srcdir) in \
26767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26768 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26770 esac; \
26771 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26772 libsrcdir="$$s/libdecnumber"; \
26773 $(SHELL) $${libsrcdir}/configure \
26774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26775 --target=${target_alias} $${srcdiroption} \
26777 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26778 @endif libdecnumber-bootstrap
26780 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
26781 maybe-configure-stage2-libdecnumber:
26782 @if libdecnumber-bootstrap
26783 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
26784 configure-stage2-libdecnumber:
26785 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26787 @r=`${PWD_COMMAND}`; export r; \
26788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26789 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26790 $(HOST_EXPORTS) \
26791 $(POSTSTAGE1_HOST_EXPORTS) \
26792 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26793 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
26794 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
26795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26796 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26797 case $(srcdir) in \
26798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26799 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26801 esac; \
26802 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26803 libsrcdir="$$s/libdecnumber"; \
26804 $(SHELL) $${libsrcdir}/configure \
26805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26806 --target=${target_alias} $${srcdiroption} \
26807 --with-build-libsubdir=$(HOST_SUBDIR) \
26808 @stage2_werror_flag@
26809 @endif libdecnumber-bootstrap
26811 .PHONY: configure-stageb2g0-libdecnumber maybe-configure-stageb2g0-libdecnumber
26812 maybe-configure-stageb2g0-libdecnumber:
26813 @if libdecnumber-bootstrap
26814 maybe-configure-stageb2g0-libdecnumber: configure-stageb2g0-libdecnumber
26815 configure-stageb2g0-libdecnumber:
26816 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
26817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26818 @r=`${PWD_COMMAND}`; export r; \
26819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26820 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26821 $(HOST_EXPORTS) \
26822 $(POSTSTAGE1_HOST_EXPORTS) \
26823 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
26824 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
26825 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libdecnumber ; \
26826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26827 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26828 case $(srcdir) in \
26829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26830 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26832 esac; \
26833 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26834 libsrcdir="$$s/libdecnumber"; \
26835 $(SHELL) $${libsrcdir}/configure \
26836 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26837 --target=${target_alias} $${srcdiroption} \
26838 --with-build-libsubdir=$(HOST_SUBDIR) \
26839 @stage2_werror_flag@
26840 @endif libdecnumber-bootstrap
26842 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
26843 maybe-configure-stage3-libdecnumber:
26844 @if libdecnumber-bootstrap
26845 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
26846 configure-stage3-libdecnumber:
26847 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26849 @r=`${PWD_COMMAND}`; export r; \
26850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26851 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26852 $(HOST_EXPORTS) \
26853 $(POSTSTAGE1_HOST_EXPORTS) \
26854 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26855 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
26856 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
26857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26858 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26859 case $(srcdir) in \
26860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26861 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26863 esac; \
26864 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26865 libsrcdir="$$s/libdecnumber"; \
26866 $(SHELL) $${libsrcdir}/configure \
26867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26868 --target=${target_alias} $${srcdiroption} \
26869 --with-build-libsubdir=$(HOST_SUBDIR) \
26870 @stage2_werror_flag@
26871 @endif libdecnumber-bootstrap
26873 .PHONY: configure-stageb3g2-libdecnumber maybe-configure-stageb3g2-libdecnumber
26874 maybe-configure-stageb3g2-libdecnumber:
26875 @if libdecnumber-bootstrap
26876 maybe-configure-stageb3g2-libdecnumber: configure-stageb3g2-libdecnumber
26877 configure-stageb3g2-libdecnumber:
26878 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
26879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26880 @r=`${PWD_COMMAND}`; export r; \
26881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26882 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26883 $(HOST_EXPORTS) \
26884 $(POSTSTAGE1_HOST_EXPORTS) \
26885 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
26886 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
26887 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libdecnumber ; \
26888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26889 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26890 case $(srcdir) in \
26891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26892 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26894 esac; \
26895 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26896 libsrcdir="$$s/libdecnumber"; \
26897 $(SHELL) $${libsrcdir}/configure \
26898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26899 --target=${target_alias} $${srcdiroption} \
26900 --with-build-libsubdir=$(HOST_SUBDIR) \
26901 @stage2_werror_flag@
26902 @endif libdecnumber-bootstrap
26904 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
26905 maybe-configure-stage4-libdecnumber:
26906 @if libdecnumber-bootstrap
26907 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
26908 configure-stage4-libdecnumber:
26909 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26911 @r=`${PWD_COMMAND}`; export r; \
26912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26913 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26914 $(HOST_EXPORTS) \
26915 $(POSTSTAGE1_HOST_EXPORTS) \
26916 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26917 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
26918 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
26919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26920 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26921 case $(srcdir) in \
26922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26923 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26925 esac; \
26926 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26927 libsrcdir="$$s/libdecnumber"; \
26928 $(SHELL) $${libsrcdir}/configure \
26929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26930 --target=${target_alias} $${srcdiroption} \
26931 --with-build-libsubdir=$(HOST_SUBDIR) \
26932 @stage2_werror_flag@
26933 @endif libdecnumber-bootstrap
26935 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
26936 maybe-configure-stageprofile-libdecnumber:
26937 @if libdecnumber-bootstrap
26938 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
26939 configure-stageprofile-libdecnumber:
26940 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26942 @r=`${PWD_COMMAND}`; export r; \
26943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26944 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26945 $(HOST_EXPORTS) \
26946 $(POSTSTAGE1_HOST_EXPORTS) \
26947 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
26948 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
26949 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
26950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26951 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26952 case $(srcdir) in \
26953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26954 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26956 esac; \
26957 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26958 libsrcdir="$$s/libdecnumber"; \
26959 $(SHELL) $${libsrcdir}/configure \
26960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26961 --target=${target_alias} $${srcdiroption} \
26962 --with-build-libsubdir=$(HOST_SUBDIR) \
26963 @stage2_werror_flag@
26964 @endif libdecnumber-bootstrap
26966 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
26967 maybe-configure-stagefeedback-libdecnumber:
26968 @if libdecnumber-bootstrap
26969 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
26970 configure-stagefeedback-libdecnumber:
26971 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26973 @r=`${PWD_COMMAND}`; export r; \
26974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26975 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26976 $(HOST_EXPORTS) \
26977 $(POSTSTAGE1_HOST_EXPORTS) \
26978 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
26979 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
26980 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
26981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
26982 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26983 case $(srcdir) in \
26984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26985 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26987 esac; \
26988 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
26989 libsrcdir="$$s/libdecnumber"; \
26990 $(SHELL) $${libsrcdir}/configure \
26991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26992 --target=${target_alias} $${srcdiroption} \
26993 --with-build-libsubdir=$(HOST_SUBDIR) \
26994 @stage2_werror_flag@
26995 @endif libdecnumber-bootstrap
27001 .PHONY: all-libdecnumber maybe-all-libdecnumber
27002 maybe-all-libdecnumber:
27003 @if gcc-bootstrap
27004 all-libdecnumber: stage_current
27005 @endif gcc-bootstrap
27006 @if libdecnumber
27007 TARGET-libdecnumber=all
27008 maybe-all-libdecnumber: all-libdecnumber
27009 all-libdecnumber: configure-libdecnumber
27010 @r=`${PWD_COMMAND}`; export r; \
27011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27012 $(HOST_EXPORTS) \
27013 (cd $(HOST_SUBDIR)/libdecnumber && \
27014 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27015 $(TARGET-libdecnumber))
27016 @endif libdecnumber
27020 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
27021 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
27022 maybe-all-stage1-libdecnumber:
27023 maybe-clean-stage1-libdecnumber:
27024 @if libdecnumber-bootstrap
27025 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
27026 all-stage1: all-stage1-libdecnumber
27027 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
27028 all-stage1-libdecnumber: configure-stage1-libdecnumber
27029 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27030 @r=`${PWD_COMMAND}`; export r; \
27031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27032 $(HOST_EXPORTS) \
27033 cd $(HOST_SUBDIR)/libdecnumber && \
27034 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27035 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
27036 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
27037 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
27038 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
27039 $(TARGET-stage1-libdecnumber)
27041 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
27042 clean-stage1: clean-stage1-libdecnumber
27043 clean-stage1-libdecnumber:
27044 @if [ $(current_stage) = stage1 ]; then \
27045 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27046 else \
27047 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
27048 $(MAKE) stage1-start; \
27049 fi; \
27050 cd $(HOST_SUBDIR)/libdecnumber && \
27051 $(MAKE) $(EXTRA_HOST_FLAGS) \
27052 clean
27053 @endif libdecnumber-bootstrap
27056 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
27057 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
27058 maybe-all-stage2-libdecnumber:
27059 maybe-clean-stage2-libdecnumber:
27060 @if libdecnumber-bootstrap
27061 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
27062 all-stage2: all-stage2-libdecnumber
27063 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
27064 all-stage2-libdecnumber: configure-stage2-libdecnumber
27065 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27066 @r=`${PWD_COMMAND}`; export r; \
27067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27068 $(HOST_EXPORTS) \
27069 $(POSTSTAGE1_HOST_EXPORTS) \
27070 cd $(HOST_SUBDIR)/libdecnumber && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27072 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
27073 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
27074 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
27075 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27076 $(TARGET-stage2-libdecnumber)
27078 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
27079 clean-stage2: clean-stage2-libdecnumber
27080 clean-stage2-libdecnumber:
27081 @if [ $(current_stage) = stage2 ]; then \
27082 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27083 else \
27084 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
27085 $(MAKE) stage2-start; \
27086 fi; \
27087 cd $(HOST_SUBDIR)/libdecnumber && \
27088 $(MAKE) $(EXTRA_HOST_FLAGS) \
27089 $(POSTSTAGE1_FLAGS_TO_PASS) \
27090 clean
27091 @endif libdecnumber-bootstrap
27094 .PHONY: all-stageb2g0-libdecnumber maybe-all-stageb2g0-libdecnumber
27095 .PHONY: clean-stageb2g0-libdecnumber maybe-clean-stageb2g0-libdecnumber
27096 maybe-all-stageb2g0-libdecnumber:
27097 maybe-clean-stageb2g0-libdecnumber:
27098 @if libdecnumber-bootstrap
27099 maybe-all-stageb2g0-libdecnumber: all-stageb2g0-libdecnumber
27100 all-stageb2g0: all-stageb2g0-libdecnumber
27101 TARGET-stageb2g0-libdecnumber = $(TARGET-libdecnumber)
27102 all-stageb2g0-libdecnumber: configure-stageb2g0-libdecnumber
27103 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
27104 @r=`${PWD_COMMAND}`; export r; \
27105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27106 $(HOST_EXPORTS) \
27107 $(POSTSTAGE1_HOST_EXPORTS) \
27108 cd $(HOST_SUBDIR)/libdecnumber && \
27109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27110 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
27111 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
27112 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
27113 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27114 $(TARGET-stageb2g0-libdecnumber)
27116 maybe-clean-stageb2g0-libdecnumber: clean-stageb2g0-libdecnumber
27117 clean-stageb2g0: clean-stageb2g0-libdecnumber
27118 clean-stageb2g0-libdecnumber:
27119 @if [ $(current_stage) = stageb2g0 ]; then \
27120 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27121 else \
27122 [ -f $(HOST_SUBDIR)/stageb2g0-libdecnumber/Makefile ] || exit 0; \
27123 $(MAKE) stageb2g0-start; \
27124 fi; \
27125 cd $(HOST_SUBDIR)/libdecnumber && \
27126 $(MAKE) $(EXTRA_HOST_FLAGS) \
27127 $(POSTSTAGE1_FLAGS_TO_PASS) \
27128 clean
27129 @endif libdecnumber-bootstrap
27132 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
27133 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
27134 maybe-all-stage3-libdecnumber:
27135 maybe-clean-stage3-libdecnumber:
27136 @if libdecnumber-bootstrap
27137 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
27138 all-stage3: all-stage3-libdecnumber
27139 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
27140 all-stage3-libdecnumber: configure-stage3-libdecnumber
27141 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27142 @r=`${PWD_COMMAND}`; export r; \
27143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27144 $(HOST_EXPORTS) \
27145 $(POSTSTAGE1_HOST_EXPORTS) \
27146 cd $(HOST_SUBDIR)/libdecnumber && \
27147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27148 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
27149 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
27150 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
27151 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27152 $(TARGET-stage3-libdecnumber)
27154 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
27155 clean-stage3: clean-stage3-libdecnumber
27156 clean-stage3-libdecnumber:
27157 @if [ $(current_stage) = stage3 ]; then \
27158 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27159 else \
27160 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
27161 $(MAKE) stage3-start; \
27162 fi; \
27163 cd $(HOST_SUBDIR)/libdecnumber && \
27164 $(MAKE) $(EXTRA_HOST_FLAGS) \
27165 $(POSTSTAGE1_FLAGS_TO_PASS) \
27166 clean
27167 @endif libdecnumber-bootstrap
27170 .PHONY: all-stageb3g2-libdecnumber maybe-all-stageb3g2-libdecnumber
27171 .PHONY: clean-stageb3g2-libdecnumber maybe-clean-stageb3g2-libdecnumber
27172 maybe-all-stageb3g2-libdecnumber:
27173 maybe-clean-stageb3g2-libdecnumber:
27174 @if libdecnumber-bootstrap
27175 maybe-all-stageb3g2-libdecnumber: all-stageb3g2-libdecnumber
27176 all-stageb3g2: all-stageb3g2-libdecnumber
27177 TARGET-stageb3g2-libdecnumber = $(TARGET-libdecnumber)
27178 all-stageb3g2-libdecnumber: configure-stageb3g2-libdecnumber
27179 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
27180 @r=`${PWD_COMMAND}`; export r; \
27181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 $(HOST_EXPORTS) \
27183 $(POSTSTAGE1_HOST_EXPORTS) \
27184 cd $(HOST_SUBDIR)/libdecnumber && \
27185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27186 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
27187 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
27188 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
27189 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27190 $(TARGET-stageb3g2-libdecnumber)
27192 maybe-clean-stageb3g2-libdecnumber: clean-stageb3g2-libdecnumber
27193 clean-stageb3g2: clean-stageb3g2-libdecnumber
27194 clean-stageb3g2-libdecnumber:
27195 @if [ $(current_stage) = stageb3g2 ]; then \
27196 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27197 else \
27198 [ -f $(HOST_SUBDIR)/stageb3g2-libdecnumber/Makefile ] || exit 0; \
27199 $(MAKE) stageb3g2-start; \
27200 fi; \
27201 cd $(HOST_SUBDIR)/libdecnumber && \
27202 $(MAKE) $(EXTRA_HOST_FLAGS) \
27203 $(POSTSTAGE1_FLAGS_TO_PASS) \
27204 clean
27205 @endif libdecnumber-bootstrap
27208 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
27209 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
27210 maybe-all-stage4-libdecnumber:
27211 maybe-clean-stage4-libdecnumber:
27212 @if libdecnumber-bootstrap
27213 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
27214 all-stage4: all-stage4-libdecnumber
27215 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
27216 all-stage4-libdecnumber: configure-stage4-libdecnumber
27217 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27218 @r=`${PWD_COMMAND}`; export r; \
27219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27220 $(HOST_EXPORTS) \
27221 $(POSTSTAGE1_HOST_EXPORTS) \
27222 cd $(HOST_SUBDIR)/libdecnumber && \
27223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27224 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
27225 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27226 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
27227 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27228 $(TARGET-stage4-libdecnumber)
27230 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
27231 clean-stage4: clean-stage4-libdecnumber
27232 clean-stage4-libdecnumber:
27233 @if [ $(current_stage) = stage4 ]; then \
27234 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27235 else \
27236 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
27237 $(MAKE) stage4-start; \
27238 fi; \
27239 cd $(HOST_SUBDIR)/libdecnumber && \
27240 $(MAKE) $(EXTRA_HOST_FLAGS) \
27241 $(POSTSTAGE1_FLAGS_TO_PASS) \
27242 clean
27243 @endif libdecnumber-bootstrap
27246 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
27247 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
27248 maybe-all-stageprofile-libdecnumber:
27249 maybe-clean-stageprofile-libdecnumber:
27250 @if libdecnumber-bootstrap
27251 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
27252 all-stageprofile: all-stageprofile-libdecnumber
27253 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
27254 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
27255 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27256 @r=`${PWD_COMMAND}`; export r; \
27257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27258 $(HOST_EXPORTS) \
27259 $(POSTSTAGE1_HOST_EXPORTS) \
27260 cd $(HOST_SUBDIR)/libdecnumber && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27262 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
27263 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
27264 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
27265 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27266 $(TARGET-stageprofile-libdecnumber)
27268 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
27269 clean-stageprofile: clean-stageprofile-libdecnumber
27270 clean-stageprofile-libdecnumber:
27271 @if [ $(current_stage) = stageprofile ]; then \
27272 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27273 else \
27274 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
27275 $(MAKE) stageprofile-start; \
27276 fi; \
27277 cd $(HOST_SUBDIR)/libdecnumber && \
27278 $(MAKE) $(EXTRA_HOST_FLAGS) \
27279 $(POSTSTAGE1_FLAGS_TO_PASS) \
27280 clean
27281 @endif libdecnumber-bootstrap
27284 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
27285 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
27286 maybe-all-stagefeedback-libdecnumber:
27287 maybe-clean-stagefeedback-libdecnumber:
27288 @if libdecnumber-bootstrap
27289 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
27290 all-stagefeedback: all-stagefeedback-libdecnumber
27291 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
27292 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
27293 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27294 @r=`${PWD_COMMAND}`; export r; \
27295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27296 $(HOST_EXPORTS) \
27297 $(POSTSTAGE1_HOST_EXPORTS) \
27298 cd $(HOST_SUBDIR)/libdecnumber && \
27299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27300 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
27301 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
27302 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
27303 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27304 $(TARGET-stagefeedback-libdecnumber)
27306 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
27307 clean-stagefeedback: clean-stagefeedback-libdecnumber
27308 clean-stagefeedback-libdecnumber:
27309 @if [ $(current_stage) = stagefeedback ]; then \
27310 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27311 else \
27312 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
27313 $(MAKE) stagefeedback-start; \
27314 fi; \
27315 cd $(HOST_SUBDIR)/libdecnumber && \
27316 $(MAKE) $(EXTRA_HOST_FLAGS) \
27317 $(POSTSTAGE1_FLAGS_TO_PASS) \
27318 clean
27319 @endif libdecnumber-bootstrap
27325 .PHONY: check-libdecnumber maybe-check-libdecnumber
27326 maybe-check-libdecnumber:
27327 @if libdecnumber
27328 maybe-check-libdecnumber: check-libdecnumber
27330 check-libdecnumber:
27331 @: $(MAKE); $(unstage)
27332 @r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 $(HOST_EXPORTS) \
27335 (cd $(HOST_SUBDIR)/libdecnumber && \
27336 $(MAKE) $(FLAGS_TO_PASS) check)
27338 @endif libdecnumber
27340 .PHONY: install-libdecnumber maybe-install-libdecnumber
27341 maybe-install-libdecnumber:
27342 @if libdecnumber
27343 maybe-install-libdecnumber: install-libdecnumber
27345 install-libdecnumber: installdirs
27346 @: $(MAKE); $(unstage)
27347 @r=`${PWD_COMMAND}`; export r; \
27348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27349 $(HOST_EXPORTS) \
27350 (cd $(HOST_SUBDIR)/libdecnumber && \
27351 $(MAKE) $(FLAGS_TO_PASS) install)
27353 @endif libdecnumber
27355 # Other targets (info, dvi, pdf, etc.)
27357 .PHONY: maybe-info-libdecnumber info-libdecnumber
27358 maybe-info-libdecnumber:
27359 @if libdecnumber
27360 maybe-info-libdecnumber: info-libdecnumber
27362 info-libdecnumber: \
27363 configure-libdecnumber
27364 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27365 r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 $(HOST_EXPORTS) \
27368 for flag in $(EXTRA_HOST_FLAGS) ; do \
27369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27370 done; \
27371 echo "Doing info in libdecnumber" ; \
27372 (cd $(HOST_SUBDIR)/libdecnumber && \
27373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27375 "RANLIB=$${RANLIB}" \
27376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27377 info) \
27378 || exit 1
27380 @endif libdecnumber
27382 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
27383 maybe-dvi-libdecnumber:
27384 @if libdecnumber
27385 maybe-dvi-libdecnumber: dvi-libdecnumber
27387 dvi-libdecnumber: \
27388 configure-libdecnumber
27389 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27390 r=`${PWD_COMMAND}`; export r; \
27391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27392 $(HOST_EXPORTS) \
27393 for flag in $(EXTRA_HOST_FLAGS) ; do \
27394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27395 done; \
27396 echo "Doing dvi in libdecnumber" ; \
27397 (cd $(HOST_SUBDIR)/libdecnumber && \
27398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27400 "RANLIB=$${RANLIB}" \
27401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27402 dvi) \
27403 || exit 1
27405 @endif libdecnumber
27407 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
27408 maybe-pdf-libdecnumber:
27409 @if libdecnumber
27410 maybe-pdf-libdecnumber: pdf-libdecnumber
27412 pdf-libdecnumber: \
27413 configure-libdecnumber
27414 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27415 r=`${PWD_COMMAND}`; export r; \
27416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27417 $(HOST_EXPORTS) \
27418 for flag in $(EXTRA_HOST_FLAGS) ; do \
27419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27420 done; \
27421 echo "Doing pdf in libdecnumber" ; \
27422 (cd $(HOST_SUBDIR)/libdecnumber && \
27423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27425 "RANLIB=$${RANLIB}" \
27426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27427 pdf) \
27428 || exit 1
27430 @endif libdecnumber
27432 .PHONY: maybe-html-libdecnumber html-libdecnumber
27433 maybe-html-libdecnumber:
27434 @if libdecnumber
27435 maybe-html-libdecnumber: html-libdecnumber
27437 html-libdecnumber: \
27438 configure-libdecnumber
27439 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27440 r=`${PWD_COMMAND}`; export r; \
27441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27442 $(HOST_EXPORTS) \
27443 for flag in $(EXTRA_HOST_FLAGS) ; do \
27444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27445 done; \
27446 echo "Doing html in libdecnumber" ; \
27447 (cd $(HOST_SUBDIR)/libdecnumber && \
27448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27450 "RANLIB=$${RANLIB}" \
27451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27452 html) \
27453 || exit 1
27455 @endif libdecnumber
27457 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
27458 maybe-TAGS-libdecnumber:
27459 @if libdecnumber
27460 maybe-TAGS-libdecnumber: TAGS-libdecnumber
27462 TAGS-libdecnumber: \
27463 configure-libdecnumber
27464 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27465 r=`${PWD_COMMAND}`; export r; \
27466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27467 $(HOST_EXPORTS) \
27468 for flag in $(EXTRA_HOST_FLAGS) ; do \
27469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27470 done; \
27471 echo "Doing TAGS in libdecnumber" ; \
27472 (cd $(HOST_SUBDIR)/libdecnumber && \
27473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27475 "RANLIB=$${RANLIB}" \
27476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27477 TAGS) \
27478 || exit 1
27480 @endif libdecnumber
27482 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
27483 maybe-install-info-libdecnumber:
27484 @if libdecnumber
27485 maybe-install-info-libdecnumber: install-info-libdecnumber
27487 install-info-libdecnumber: \
27488 configure-libdecnumber \
27489 info-libdecnumber
27490 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27491 r=`${PWD_COMMAND}`; export r; \
27492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27493 $(HOST_EXPORTS) \
27494 for flag in $(EXTRA_HOST_FLAGS) ; do \
27495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27496 done; \
27497 echo "Doing install-info in libdecnumber" ; \
27498 (cd $(HOST_SUBDIR)/libdecnumber && \
27499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27501 "RANLIB=$${RANLIB}" \
27502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27503 install-info) \
27504 || exit 1
27506 @endif libdecnumber
27508 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
27509 maybe-install-pdf-libdecnumber:
27510 @if libdecnumber
27511 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
27513 install-pdf-libdecnumber: \
27514 configure-libdecnumber \
27515 pdf-libdecnumber
27516 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27517 r=`${PWD_COMMAND}`; export r; \
27518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27519 $(HOST_EXPORTS) \
27520 for flag in $(EXTRA_HOST_FLAGS) ; do \
27521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27522 done; \
27523 echo "Doing install-pdf in libdecnumber" ; \
27524 (cd $(HOST_SUBDIR)/libdecnumber && \
27525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27527 "RANLIB=$${RANLIB}" \
27528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27529 install-pdf) \
27530 || exit 1
27532 @endif libdecnumber
27534 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
27535 maybe-install-html-libdecnumber:
27536 @if libdecnumber
27537 maybe-install-html-libdecnumber: install-html-libdecnumber
27539 install-html-libdecnumber: \
27540 configure-libdecnumber \
27541 html-libdecnumber
27542 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27543 r=`${PWD_COMMAND}`; export r; \
27544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27545 $(HOST_EXPORTS) \
27546 for flag in $(EXTRA_HOST_FLAGS) ; do \
27547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27548 done; \
27549 echo "Doing install-html in libdecnumber" ; \
27550 (cd $(HOST_SUBDIR)/libdecnumber && \
27551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27553 "RANLIB=$${RANLIB}" \
27554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27555 install-html) \
27556 || exit 1
27558 @endif libdecnumber
27560 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
27561 maybe-installcheck-libdecnumber:
27562 @if libdecnumber
27563 maybe-installcheck-libdecnumber: installcheck-libdecnumber
27565 installcheck-libdecnumber: \
27566 configure-libdecnumber
27567 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27568 r=`${PWD_COMMAND}`; export r; \
27569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27570 $(HOST_EXPORTS) \
27571 for flag in $(EXTRA_HOST_FLAGS) ; do \
27572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27573 done; \
27574 echo "Doing installcheck in libdecnumber" ; \
27575 (cd $(HOST_SUBDIR)/libdecnumber && \
27576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27578 "RANLIB=$${RANLIB}" \
27579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27580 installcheck) \
27581 || exit 1
27583 @endif libdecnumber
27585 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
27586 maybe-mostlyclean-libdecnumber:
27587 @if libdecnumber
27588 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
27590 mostlyclean-libdecnumber:
27591 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27592 r=`${PWD_COMMAND}`; export r; \
27593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27594 $(HOST_EXPORTS) \
27595 for flag in $(EXTRA_HOST_FLAGS) ; do \
27596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27597 done; \
27598 echo "Doing mostlyclean in libdecnumber" ; \
27599 (cd $(HOST_SUBDIR)/libdecnumber && \
27600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27602 "RANLIB=$${RANLIB}" \
27603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27604 mostlyclean) \
27605 || exit 1
27607 @endif libdecnumber
27609 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
27610 maybe-clean-libdecnumber:
27611 @if libdecnumber
27612 maybe-clean-libdecnumber: clean-libdecnumber
27614 clean-libdecnumber:
27615 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27616 r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(HOST_EXPORTS) \
27619 for flag in $(EXTRA_HOST_FLAGS) ; do \
27620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27621 done; \
27622 echo "Doing clean in libdecnumber" ; \
27623 (cd $(HOST_SUBDIR)/libdecnumber && \
27624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27626 "RANLIB=$${RANLIB}" \
27627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27628 clean) \
27629 || exit 1
27631 @endif libdecnumber
27633 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
27634 maybe-distclean-libdecnumber:
27635 @if libdecnumber
27636 maybe-distclean-libdecnumber: distclean-libdecnumber
27638 distclean-libdecnumber:
27639 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27640 r=`${PWD_COMMAND}`; export r; \
27641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27642 $(HOST_EXPORTS) \
27643 for flag in $(EXTRA_HOST_FLAGS) ; do \
27644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27645 done; \
27646 echo "Doing distclean in libdecnumber" ; \
27647 (cd $(HOST_SUBDIR)/libdecnumber && \
27648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27650 "RANLIB=$${RANLIB}" \
27651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27652 distclean) \
27653 || exit 1
27655 @endif libdecnumber
27657 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
27658 maybe-maintainer-clean-libdecnumber:
27659 @if libdecnumber
27660 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
27662 maintainer-clean-libdecnumber:
27663 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27664 r=`${PWD_COMMAND}`; export r; \
27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27666 $(HOST_EXPORTS) \
27667 for flag in $(EXTRA_HOST_FLAGS) ; do \
27668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27669 done; \
27670 echo "Doing maintainer-clean in libdecnumber" ; \
27671 (cd $(HOST_SUBDIR)/libdecnumber && \
27672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27674 "RANLIB=$${RANLIB}" \
27675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27676 maintainer-clean) \
27677 || exit 1
27679 @endif libdecnumber
27683 .PHONY: configure-libgui maybe-configure-libgui
27684 maybe-configure-libgui:
27685 @if gcc-bootstrap
27686 configure-libgui: stage_current
27687 @endif gcc-bootstrap
27688 @if libgui
27689 maybe-configure-libgui: configure-libgui
27690 configure-libgui:
27691 @: $(MAKE); $(unstage)
27692 @r=`${PWD_COMMAND}`; export r; \
27693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27694 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
27695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
27696 $(HOST_EXPORTS) \
27697 echo Configuring in $(HOST_SUBDIR)/libgui; \
27698 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
27699 case $(srcdir) in \
27700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27701 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
27702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27703 esac; \
27704 srcdiroption="--srcdir=$${topdir}/libgui"; \
27705 libsrcdir="$$s/libgui"; \
27706 $(SHELL) $${libsrcdir}/configure \
27707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27708 --target=${target_alias} $${srcdiroption} \
27709 || exit 1
27710 @endif libgui
27716 .PHONY: all-libgui maybe-all-libgui
27717 maybe-all-libgui:
27718 @if gcc-bootstrap
27719 all-libgui: stage_current
27720 @endif gcc-bootstrap
27721 @if libgui
27722 TARGET-libgui=all
27723 maybe-all-libgui: all-libgui
27724 all-libgui: configure-libgui
27725 @: $(MAKE); $(unstage)
27726 @r=`${PWD_COMMAND}`; export r; \
27727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27728 $(HOST_EXPORTS) \
27729 (cd $(HOST_SUBDIR)/libgui && \
27730 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27731 $(TARGET-libgui))
27732 @endif libgui
27737 .PHONY: check-libgui maybe-check-libgui
27738 maybe-check-libgui:
27739 @if libgui
27740 maybe-check-libgui: check-libgui
27742 check-libgui:
27743 @: $(MAKE); $(unstage)
27744 @r=`${PWD_COMMAND}`; export r; \
27745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27746 $(HOST_EXPORTS) \
27747 (cd $(HOST_SUBDIR)/libgui && \
27748 $(MAKE) $(FLAGS_TO_PASS) check)
27750 @endif libgui
27752 .PHONY: install-libgui maybe-install-libgui
27753 maybe-install-libgui:
27754 @if libgui
27755 maybe-install-libgui: install-libgui
27757 install-libgui: installdirs
27758 @: $(MAKE); $(unstage)
27759 @r=`${PWD_COMMAND}`; export r; \
27760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27761 $(HOST_EXPORTS) \
27762 (cd $(HOST_SUBDIR)/libgui && \
27763 $(MAKE) $(FLAGS_TO_PASS) install)
27765 @endif libgui
27767 # Other targets (info, dvi, pdf, etc.)
27769 .PHONY: maybe-info-libgui info-libgui
27770 maybe-info-libgui:
27771 @if libgui
27772 maybe-info-libgui: info-libgui
27774 info-libgui: \
27775 configure-libgui
27776 @: $(MAKE); $(unstage)
27777 @[ -f ./libgui/Makefile ] || exit 0; \
27778 r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 $(HOST_EXPORTS) \
27781 for flag in $(EXTRA_HOST_FLAGS) ; do \
27782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27783 done; \
27784 echo "Doing info in libgui" ; \
27785 (cd $(HOST_SUBDIR)/libgui && \
27786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27788 "RANLIB=$${RANLIB}" \
27789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27790 info) \
27791 || exit 1
27793 @endif libgui
27795 .PHONY: maybe-dvi-libgui dvi-libgui
27796 maybe-dvi-libgui:
27797 @if libgui
27798 maybe-dvi-libgui: dvi-libgui
27800 dvi-libgui: \
27801 configure-libgui
27802 @: $(MAKE); $(unstage)
27803 @[ -f ./libgui/Makefile ] || exit 0; \
27804 r=`${PWD_COMMAND}`; export r; \
27805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27806 $(HOST_EXPORTS) \
27807 for flag in $(EXTRA_HOST_FLAGS) ; do \
27808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27809 done; \
27810 echo "Doing dvi in libgui" ; \
27811 (cd $(HOST_SUBDIR)/libgui && \
27812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27814 "RANLIB=$${RANLIB}" \
27815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27816 dvi) \
27817 || exit 1
27819 @endif libgui
27821 .PHONY: maybe-pdf-libgui pdf-libgui
27822 maybe-pdf-libgui:
27823 @if libgui
27824 maybe-pdf-libgui: pdf-libgui
27826 pdf-libgui: \
27827 configure-libgui
27828 @: $(MAKE); $(unstage)
27829 @[ -f ./libgui/Makefile ] || exit 0; \
27830 r=`${PWD_COMMAND}`; export r; \
27831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27832 $(HOST_EXPORTS) \
27833 for flag in $(EXTRA_HOST_FLAGS) ; do \
27834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27835 done; \
27836 echo "Doing pdf in libgui" ; \
27837 (cd $(HOST_SUBDIR)/libgui && \
27838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27840 "RANLIB=$${RANLIB}" \
27841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27842 pdf) \
27843 || exit 1
27845 @endif libgui
27847 .PHONY: maybe-html-libgui html-libgui
27848 maybe-html-libgui:
27849 @if libgui
27850 maybe-html-libgui: html-libgui
27852 html-libgui: \
27853 configure-libgui
27854 @: $(MAKE); $(unstage)
27855 @[ -f ./libgui/Makefile ] || exit 0; \
27856 r=`${PWD_COMMAND}`; export r; \
27857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27858 $(HOST_EXPORTS) \
27859 for flag in $(EXTRA_HOST_FLAGS) ; do \
27860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27861 done; \
27862 echo "Doing html in libgui" ; \
27863 (cd $(HOST_SUBDIR)/libgui && \
27864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27866 "RANLIB=$${RANLIB}" \
27867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27868 html) \
27869 || exit 1
27871 @endif libgui
27873 .PHONY: maybe-TAGS-libgui TAGS-libgui
27874 maybe-TAGS-libgui:
27875 @if libgui
27876 maybe-TAGS-libgui: TAGS-libgui
27878 TAGS-libgui: \
27879 configure-libgui
27880 @: $(MAKE); $(unstage)
27881 @[ -f ./libgui/Makefile ] || exit 0; \
27882 r=`${PWD_COMMAND}`; export r; \
27883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27884 $(HOST_EXPORTS) \
27885 for flag in $(EXTRA_HOST_FLAGS) ; do \
27886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27887 done; \
27888 echo "Doing TAGS in libgui" ; \
27889 (cd $(HOST_SUBDIR)/libgui && \
27890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27892 "RANLIB=$${RANLIB}" \
27893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27894 TAGS) \
27895 || exit 1
27897 @endif libgui
27899 .PHONY: maybe-install-info-libgui install-info-libgui
27900 maybe-install-info-libgui:
27901 @if libgui
27902 maybe-install-info-libgui: install-info-libgui
27904 install-info-libgui: \
27905 configure-libgui \
27906 info-libgui
27907 @: $(MAKE); $(unstage)
27908 @[ -f ./libgui/Makefile ] || exit 0; \
27909 r=`${PWD_COMMAND}`; export r; \
27910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27911 $(HOST_EXPORTS) \
27912 for flag in $(EXTRA_HOST_FLAGS) ; do \
27913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27914 done; \
27915 echo "Doing install-info in libgui" ; \
27916 (cd $(HOST_SUBDIR)/libgui && \
27917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27919 "RANLIB=$${RANLIB}" \
27920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27921 install-info) \
27922 || exit 1
27924 @endif libgui
27926 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
27927 maybe-install-pdf-libgui:
27928 @if libgui
27929 maybe-install-pdf-libgui: install-pdf-libgui
27931 install-pdf-libgui: \
27932 configure-libgui \
27933 pdf-libgui
27934 @: $(MAKE); $(unstage)
27935 @[ -f ./libgui/Makefile ] || exit 0; \
27936 r=`${PWD_COMMAND}`; export r; \
27937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27938 $(HOST_EXPORTS) \
27939 for flag in $(EXTRA_HOST_FLAGS) ; do \
27940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27941 done; \
27942 echo "Doing install-pdf in libgui" ; \
27943 (cd $(HOST_SUBDIR)/libgui && \
27944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27946 "RANLIB=$${RANLIB}" \
27947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27948 install-pdf) \
27949 || exit 1
27951 @endif libgui
27953 .PHONY: maybe-install-html-libgui install-html-libgui
27954 maybe-install-html-libgui:
27955 @if libgui
27956 maybe-install-html-libgui: install-html-libgui
27958 install-html-libgui: \
27959 configure-libgui \
27960 html-libgui
27961 @: $(MAKE); $(unstage)
27962 @[ -f ./libgui/Makefile ] || exit 0; \
27963 r=`${PWD_COMMAND}`; export r; \
27964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27965 $(HOST_EXPORTS) \
27966 for flag in $(EXTRA_HOST_FLAGS) ; do \
27967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27968 done; \
27969 echo "Doing install-html in libgui" ; \
27970 (cd $(HOST_SUBDIR)/libgui && \
27971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27973 "RANLIB=$${RANLIB}" \
27974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27975 install-html) \
27976 || exit 1
27978 @endif libgui
27980 .PHONY: maybe-installcheck-libgui installcheck-libgui
27981 maybe-installcheck-libgui:
27982 @if libgui
27983 maybe-installcheck-libgui: installcheck-libgui
27985 installcheck-libgui: \
27986 configure-libgui
27987 @: $(MAKE); $(unstage)
27988 @[ -f ./libgui/Makefile ] || exit 0; \
27989 r=`${PWD_COMMAND}`; export r; \
27990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27991 $(HOST_EXPORTS) \
27992 for flag in $(EXTRA_HOST_FLAGS) ; do \
27993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27994 done; \
27995 echo "Doing installcheck in libgui" ; \
27996 (cd $(HOST_SUBDIR)/libgui && \
27997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27999 "RANLIB=$${RANLIB}" \
28000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28001 installcheck) \
28002 || exit 1
28004 @endif libgui
28006 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
28007 maybe-mostlyclean-libgui:
28008 @if libgui
28009 maybe-mostlyclean-libgui: mostlyclean-libgui
28011 mostlyclean-libgui:
28012 @: $(MAKE); $(unstage)
28013 @[ -f ./libgui/Makefile ] || exit 0; \
28014 r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016 $(HOST_EXPORTS) \
28017 for flag in $(EXTRA_HOST_FLAGS) ; do \
28018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28019 done; \
28020 echo "Doing mostlyclean in libgui" ; \
28021 (cd $(HOST_SUBDIR)/libgui && \
28022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28024 "RANLIB=$${RANLIB}" \
28025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28026 mostlyclean) \
28027 || exit 1
28029 @endif libgui
28031 .PHONY: maybe-clean-libgui clean-libgui
28032 maybe-clean-libgui:
28033 @if libgui
28034 maybe-clean-libgui: clean-libgui
28036 clean-libgui:
28037 @: $(MAKE); $(unstage)
28038 @[ -f ./libgui/Makefile ] || exit 0; \
28039 r=`${PWD_COMMAND}`; export r; \
28040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28041 $(HOST_EXPORTS) \
28042 for flag in $(EXTRA_HOST_FLAGS) ; do \
28043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28044 done; \
28045 echo "Doing clean in libgui" ; \
28046 (cd $(HOST_SUBDIR)/libgui && \
28047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28049 "RANLIB=$${RANLIB}" \
28050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28051 clean) \
28052 || exit 1
28054 @endif libgui
28056 .PHONY: maybe-distclean-libgui distclean-libgui
28057 maybe-distclean-libgui:
28058 @if libgui
28059 maybe-distclean-libgui: distclean-libgui
28061 distclean-libgui:
28062 @: $(MAKE); $(unstage)
28063 @[ -f ./libgui/Makefile ] || exit 0; \
28064 r=`${PWD_COMMAND}`; export r; \
28065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28066 $(HOST_EXPORTS) \
28067 for flag in $(EXTRA_HOST_FLAGS) ; do \
28068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28069 done; \
28070 echo "Doing distclean in libgui" ; \
28071 (cd $(HOST_SUBDIR)/libgui && \
28072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28074 "RANLIB=$${RANLIB}" \
28075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28076 distclean) \
28077 || exit 1
28079 @endif libgui
28081 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
28082 maybe-maintainer-clean-libgui:
28083 @if libgui
28084 maybe-maintainer-clean-libgui: maintainer-clean-libgui
28086 maintainer-clean-libgui:
28087 @: $(MAKE); $(unstage)
28088 @[ -f ./libgui/Makefile ] || exit 0; \
28089 r=`${PWD_COMMAND}`; export r; \
28090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28091 $(HOST_EXPORTS) \
28092 for flag in $(EXTRA_HOST_FLAGS) ; do \
28093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28094 done; \
28095 echo "Doing maintainer-clean in libgui" ; \
28096 (cd $(HOST_SUBDIR)/libgui && \
28097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28099 "RANLIB=$${RANLIB}" \
28100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28101 maintainer-clean) \
28102 || exit 1
28104 @endif libgui
28108 .PHONY: configure-libiberty maybe-configure-libiberty
28109 maybe-configure-libiberty:
28110 @if gcc-bootstrap
28111 configure-libiberty: stage_current
28112 @endif gcc-bootstrap
28113 @if libiberty
28114 maybe-configure-libiberty: configure-libiberty
28115 configure-libiberty:
28116 @r=`${PWD_COMMAND}`; export r; \
28117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28118 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28120 $(HOST_EXPORTS) \
28121 echo Configuring in $(HOST_SUBDIR)/libiberty; \
28122 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
28123 case $(srcdir) in \
28124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28125 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28127 esac; \
28128 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28129 libsrcdir="$$s/libiberty"; \
28130 $(SHELL) $${libsrcdir}/configure \
28131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28132 --target=${target_alias} $${srcdiroption} \
28133 || exit 1
28134 @endif libiberty
28138 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28139 maybe-configure-stage1-libiberty:
28140 @if libiberty-bootstrap
28141 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28142 configure-stage1-libiberty:
28143 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28145 @r=`${PWD_COMMAND}`; export r; \
28146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28147 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28148 $(HOST_EXPORTS) \
28149 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28150 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
28151 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
28152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28153 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28154 case $(srcdir) in \
28155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28156 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28158 esac; \
28159 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28160 libsrcdir="$$s/libiberty"; \
28161 $(SHELL) $${libsrcdir}/configure \
28162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28163 --target=${target_alias} $${srcdiroption} \
28165 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28166 @endif libiberty-bootstrap
28168 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
28169 maybe-configure-stage2-libiberty:
28170 @if libiberty-bootstrap
28171 maybe-configure-stage2-libiberty: configure-stage2-libiberty
28172 configure-stage2-libiberty:
28173 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28175 @r=`${PWD_COMMAND}`; export r; \
28176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28177 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28178 $(HOST_EXPORTS) \
28179 $(POSTSTAGE1_HOST_EXPORTS) \
28180 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28181 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
28182 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
28183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28184 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28185 case $(srcdir) in \
28186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28187 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28189 esac; \
28190 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28191 libsrcdir="$$s/libiberty"; \
28192 $(SHELL) $${libsrcdir}/configure \
28193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28194 --target=${target_alias} $${srcdiroption} \
28195 --with-build-libsubdir=$(HOST_SUBDIR) \
28196 @stage2_werror_flag@
28197 @endif libiberty-bootstrap
28199 .PHONY: configure-stageb2g0-libiberty maybe-configure-stageb2g0-libiberty
28200 maybe-configure-stageb2g0-libiberty:
28201 @if libiberty-bootstrap
28202 maybe-configure-stageb2g0-libiberty: configure-stageb2g0-libiberty
28203 configure-stageb2g0-libiberty:
28204 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
28205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28206 @r=`${PWD_COMMAND}`; export r; \
28207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28208 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28209 $(HOST_EXPORTS) \
28210 $(POSTSTAGE1_HOST_EXPORTS) \
28211 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
28212 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
28213 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libiberty ; \
28214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28215 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28216 case $(srcdir) in \
28217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28218 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28220 esac; \
28221 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28222 libsrcdir="$$s/libiberty"; \
28223 $(SHELL) $${libsrcdir}/configure \
28224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28225 --target=${target_alias} $${srcdiroption} \
28226 --with-build-libsubdir=$(HOST_SUBDIR) \
28227 @stage2_werror_flag@
28228 @endif libiberty-bootstrap
28230 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
28231 maybe-configure-stage3-libiberty:
28232 @if libiberty-bootstrap
28233 maybe-configure-stage3-libiberty: configure-stage3-libiberty
28234 configure-stage3-libiberty:
28235 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28237 @r=`${PWD_COMMAND}`; export r; \
28238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28239 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28240 $(HOST_EXPORTS) \
28241 $(POSTSTAGE1_HOST_EXPORTS) \
28242 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28243 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
28244 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
28245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28246 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28247 case $(srcdir) in \
28248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28249 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28251 esac; \
28252 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28253 libsrcdir="$$s/libiberty"; \
28254 $(SHELL) $${libsrcdir}/configure \
28255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28256 --target=${target_alias} $${srcdiroption} \
28257 --with-build-libsubdir=$(HOST_SUBDIR) \
28258 @stage2_werror_flag@
28259 @endif libiberty-bootstrap
28261 .PHONY: configure-stageb3g2-libiberty maybe-configure-stageb3g2-libiberty
28262 maybe-configure-stageb3g2-libiberty:
28263 @if libiberty-bootstrap
28264 maybe-configure-stageb3g2-libiberty: configure-stageb3g2-libiberty
28265 configure-stageb3g2-libiberty:
28266 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
28267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28268 @r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28270 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28271 $(HOST_EXPORTS) \
28272 $(POSTSTAGE1_HOST_EXPORTS) \
28273 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
28274 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
28275 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libiberty ; \
28276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28277 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28278 case $(srcdir) in \
28279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28280 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28282 esac; \
28283 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28284 libsrcdir="$$s/libiberty"; \
28285 $(SHELL) $${libsrcdir}/configure \
28286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28287 --target=${target_alias} $${srcdiroption} \
28288 --with-build-libsubdir=$(HOST_SUBDIR) \
28289 @stage2_werror_flag@
28290 @endif libiberty-bootstrap
28292 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
28293 maybe-configure-stage4-libiberty:
28294 @if libiberty-bootstrap
28295 maybe-configure-stage4-libiberty: configure-stage4-libiberty
28296 configure-stage4-libiberty:
28297 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28299 @r=`${PWD_COMMAND}`; export r; \
28300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28301 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28302 $(HOST_EXPORTS) \
28303 $(POSTSTAGE1_HOST_EXPORTS) \
28304 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28305 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
28306 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
28307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28308 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28309 case $(srcdir) in \
28310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28311 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28313 esac; \
28314 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28315 libsrcdir="$$s/libiberty"; \
28316 $(SHELL) $${libsrcdir}/configure \
28317 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28318 --target=${target_alias} $${srcdiroption} \
28319 --with-build-libsubdir=$(HOST_SUBDIR) \
28320 @stage2_werror_flag@
28321 @endif libiberty-bootstrap
28323 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
28324 maybe-configure-stageprofile-libiberty:
28325 @if libiberty-bootstrap
28326 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
28327 configure-stageprofile-libiberty:
28328 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28330 @r=`${PWD_COMMAND}`; export r; \
28331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28332 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28333 $(HOST_EXPORTS) \
28334 $(POSTSTAGE1_HOST_EXPORTS) \
28335 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
28336 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
28337 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
28338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28339 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28340 case $(srcdir) in \
28341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28342 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28344 esac; \
28345 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28346 libsrcdir="$$s/libiberty"; \
28347 $(SHELL) $${libsrcdir}/configure \
28348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28349 --target=${target_alias} $${srcdiroption} \
28350 --with-build-libsubdir=$(HOST_SUBDIR) \
28351 @stage2_werror_flag@
28352 @endif libiberty-bootstrap
28354 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
28355 maybe-configure-stagefeedback-libiberty:
28356 @if libiberty-bootstrap
28357 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
28358 configure-stagefeedback-libiberty:
28359 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28360 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28361 @r=`${PWD_COMMAND}`; export r; \
28362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28363 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28364 $(HOST_EXPORTS) \
28365 $(POSTSTAGE1_HOST_EXPORTS) \
28366 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
28367 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
28368 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
28369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
28370 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28371 case $(srcdir) in \
28372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28373 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28375 esac; \
28376 srcdiroption="--srcdir=$${topdir}/libiberty"; \
28377 libsrcdir="$$s/libiberty"; \
28378 $(SHELL) $${libsrcdir}/configure \
28379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28380 --target=${target_alias} $${srcdiroption} \
28381 --with-build-libsubdir=$(HOST_SUBDIR) \
28382 @stage2_werror_flag@
28383 @endif libiberty-bootstrap
28389 .PHONY: all-libiberty maybe-all-libiberty
28390 maybe-all-libiberty:
28391 @if gcc-bootstrap
28392 all-libiberty: stage_current
28393 @endif gcc-bootstrap
28394 @if libiberty
28395 TARGET-libiberty=all
28396 maybe-all-libiberty: all-libiberty
28397 all-libiberty: configure-libiberty
28398 @r=`${PWD_COMMAND}`; export r; \
28399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28400 $(HOST_EXPORTS) \
28401 (cd $(HOST_SUBDIR)/libiberty && \
28402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28403 $(TARGET-libiberty))
28404 @endif libiberty
28408 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28409 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28410 maybe-all-stage1-libiberty:
28411 maybe-clean-stage1-libiberty:
28412 @if libiberty-bootstrap
28413 maybe-all-stage1-libiberty: all-stage1-libiberty
28414 all-stage1: all-stage1-libiberty
28415 TARGET-stage1-libiberty = $(TARGET-libiberty)
28416 all-stage1-libiberty: configure-stage1-libiberty
28417 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28418 @r=`${PWD_COMMAND}`; export r; \
28419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28420 $(HOST_EXPORTS) \
28421 cd $(HOST_SUBDIR)/libiberty && \
28422 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28423 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
28424 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
28425 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
28426 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
28427 $(TARGET-stage1-libiberty)
28429 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28430 clean-stage1: clean-stage1-libiberty
28431 clean-stage1-libiberty:
28432 @if [ $(current_stage) = stage1 ]; then \
28433 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28434 else \
28435 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
28436 $(MAKE) stage1-start; \
28437 fi; \
28438 cd $(HOST_SUBDIR)/libiberty && \
28439 $(MAKE) $(EXTRA_HOST_FLAGS) \
28440 clean
28441 @endif libiberty-bootstrap
28444 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
28445 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
28446 maybe-all-stage2-libiberty:
28447 maybe-clean-stage2-libiberty:
28448 @if libiberty-bootstrap
28449 maybe-all-stage2-libiberty: all-stage2-libiberty
28450 all-stage2: all-stage2-libiberty
28451 TARGET-stage2-libiberty = $(TARGET-libiberty)
28452 all-stage2-libiberty: configure-stage2-libiberty
28453 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28454 @r=`${PWD_COMMAND}`; export r; \
28455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28456 $(HOST_EXPORTS) \
28457 $(POSTSTAGE1_HOST_EXPORTS) \
28458 cd $(HOST_SUBDIR)/libiberty && \
28459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28460 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
28461 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
28462 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
28463 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28464 $(TARGET-stage2-libiberty)
28466 maybe-clean-stage2-libiberty: clean-stage2-libiberty
28467 clean-stage2: clean-stage2-libiberty
28468 clean-stage2-libiberty:
28469 @if [ $(current_stage) = stage2 ]; then \
28470 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28471 else \
28472 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
28473 $(MAKE) stage2-start; \
28474 fi; \
28475 cd $(HOST_SUBDIR)/libiberty && \
28476 $(MAKE) $(EXTRA_HOST_FLAGS) \
28477 $(POSTSTAGE1_FLAGS_TO_PASS) \
28478 clean
28479 @endif libiberty-bootstrap
28482 .PHONY: all-stageb2g0-libiberty maybe-all-stageb2g0-libiberty
28483 .PHONY: clean-stageb2g0-libiberty maybe-clean-stageb2g0-libiberty
28484 maybe-all-stageb2g0-libiberty:
28485 maybe-clean-stageb2g0-libiberty:
28486 @if libiberty-bootstrap
28487 maybe-all-stageb2g0-libiberty: all-stageb2g0-libiberty
28488 all-stageb2g0: all-stageb2g0-libiberty
28489 TARGET-stageb2g0-libiberty = $(TARGET-libiberty)
28490 all-stageb2g0-libiberty: configure-stageb2g0-libiberty
28491 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
28492 @r=`${PWD_COMMAND}`; export r; \
28493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28494 $(HOST_EXPORTS) \
28495 $(POSTSTAGE1_HOST_EXPORTS) \
28496 cd $(HOST_SUBDIR)/libiberty && \
28497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28498 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
28499 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
28500 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
28501 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28502 $(TARGET-stageb2g0-libiberty)
28504 maybe-clean-stageb2g0-libiberty: clean-stageb2g0-libiberty
28505 clean-stageb2g0: clean-stageb2g0-libiberty
28506 clean-stageb2g0-libiberty:
28507 @if [ $(current_stage) = stageb2g0 ]; then \
28508 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28509 else \
28510 [ -f $(HOST_SUBDIR)/stageb2g0-libiberty/Makefile ] || exit 0; \
28511 $(MAKE) stageb2g0-start; \
28512 fi; \
28513 cd $(HOST_SUBDIR)/libiberty && \
28514 $(MAKE) $(EXTRA_HOST_FLAGS) \
28515 $(POSTSTAGE1_FLAGS_TO_PASS) \
28516 clean
28517 @endif libiberty-bootstrap
28520 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
28521 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
28522 maybe-all-stage3-libiberty:
28523 maybe-clean-stage3-libiberty:
28524 @if libiberty-bootstrap
28525 maybe-all-stage3-libiberty: all-stage3-libiberty
28526 all-stage3: all-stage3-libiberty
28527 TARGET-stage3-libiberty = $(TARGET-libiberty)
28528 all-stage3-libiberty: configure-stage3-libiberty
28529 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28530 @r=`${PWD_COMMAND}`; export r; \
28531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28532 $(HOST_EXPORTS) \
28533 $(POSTSTAGE1_HOST_EXPORTS) \
28534 cd $(HOST_SUBDIR)/libiberty && \
28535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28536 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
28537 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
28538 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
28539 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28540 $(TARGET-stage3-libiberty)
28542 maybe-clean-stage3-libiberty: clean-stage3-libiberty
28543 clean-stage3: clean-stage3-libiberty
28544 clean-stage3-libiberty:
28545 @if [ $(current_stage) = stage3 ]; then \
28546 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28547 else \
28548 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
28549 $(MAKE) stage3-start; \
28550 fi; \
28551 cd $(HOST_SUBDIR)/libiberty && \
28552 $(MAKE) $(EXTRA_HOST_FLAGS) \
28553 $(POSTSTAGE1_FLAGS_TO_PASS) \
28554 clean
28555 @endif libiberty-bootstrap
28558 .PHONY: all-stageb3g2-libiberty maybe-all-stageb3g2-libiberty
28559 .PHONY: clean-stageb3g2-libiberty maybe-clean-stageb3g2-libiberty
28560 maybe-all-stageb3g2-libiberty:
28561 maybe-clean-stageb3g2-libiberty:
28562 @if libiberty-bootstrap
28563 maybe-all-stageb3g2-libiberty: all-stageb3g2-libiberty
28564 all-stageb3g2: all-stageb3g2-libiberty
28565 TARGET-stageb3g2-libiberty = $(TARGET-libiberty)
28566 all-stageb3g2-libiberty: configure-stageb3g2-libiberty
28567 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
28568 @r=`${PWD_COMMAND}`; export r; \
28569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28570 $(HOST_EXPORTS) \
28571 $(POSTSTAGE1_HOST_EXPORTS) \
28572 cd $(HOST_SUBDIR)/libiberty && \
28573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28574 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
28575 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
28576 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
28577 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28578 $(TARGET-stageb3g2-libiberty)
28580 maybe-clean-stageb3g2-libiberty: clean-stageb3g2-libiberty
28581 clean-stageb3g2: clean-stageb3g2-libiberty
28582 clean-stageb3g2-libiberty:
28583 @if [ $(current_stage) = stageb3g2 ]; then \
28584 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28585 else \
28586 [ -f $(HOST_SUBDIR)/stageb3g2-libiberty/Makefile ] || exit 0; \
28587 $(MAKE) stageb3g2-start; \
28588 fi; \
28589 cd $(HOST_SUBDIR)/libiberty && \
28590 $(MAKE) $(EXTRA_HOST_FLAGS) \
28591 $(POSTSTAGE1_FLAGS_TO_PASS) \
28592 clean
28593 @endif libiberty-bootstrap
28596 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
28597 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
28598 maybe-all-stage4-libiberty:
28599 maybe-clean-stage4-libiberty:
28600 @if libiberty-bootstrap
28601 maybe-all-stage4-libiberty: all-stage4-libiberty
28602 all-stage4: all-stage4-libiberty
28603 TARGET-stage4-libiberty = $(TARGET-libiberty)
28604 all-stage4-libiberty: configure-stage4-libiberty
28605 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28606 @r=`${PWD_COMMAND}`; export r; \
28607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28608 $(HOST_EXPORTS) \
28609 $(POSTSTAGE1_HOST_EXPORTS) \
28610 cd $(HOST_SUBDIR)/libiberty && \
28611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28612 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
28613 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28614 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
28615 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28616 $(TARGET-stage4-libiberty)
28618 maybe-clean-stage4-libiberty: clean-stage4-libiberty
28619 clean-stage4: clean-stage4-libiberty
28620 clean-stage4-libiberty:
28621 @if [ $(current_stage) = stage4 ]; then \
28622 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28623 else \
28624 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
28625 $(MAKE) stage4-start; \
28626 fi; \
28627 cd $(HOST_SUBDIR)/libiberty && \
28628 $(MAKE) $(EXTRA_HOST_FLAGS) \
28629 $(POSTSTAGE1_FLAGS_TO_PASS) \
28630 clean
28631 @endif libiberty-bootstrap
28634 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
28635 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
28636 maybe-all-stageprofile-libiberty:
28637 maybe-clean-stageprofile-libiberty:
28638 @if libiberty-bootstrap
28639 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
28640 all-stageprofile: all-stageprofile-libiberty
28641 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
28642 all-stageprofile-libiberty: configure-stageprofile-libiberty
28643 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28644 @r=`${PWD_COMMAND}`; export r; \
28645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28646 $(HOST_EXPORTS) \
28647 $(POSTSTAGE1_HOST_EXPORTS) \
28648 cd $(HOST_SUBDIR)/libiberty && \
28649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28650 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
28651 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
28652 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
28653 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28654 $(TARGET-stageprofile-libiberty)
28656 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
28657 clean-stageprofile: clean-stageprofile-libiberty
28658 clean-stageprofile-libiberty:
28659 @if [ $(current_stage) = stageprofile ]; then \
28660 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28661 else \
28662 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
28663 $(MAKE) stageprofile-start; \
28664 fi; \
28665 cd $(HOST_SUBDIR)/libiberty && \
28666 $(MAKE) $(EXTRA_HOST_FLAGS) \
28667 $(POSTSTAGE1_FLAGS_TO_PASS) \
28668 clean
28669 @endif libiberty-bootstrap
28672 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
28673 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
28674 maybe-all-stagefeedback-libiberty:
28675 maybe-clean-stagefeedback-libiberty:
28676 @if libiberty-bootstrap
28677 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
28678 all-stagefeedback: all-stagefeedback-libiberty
28679 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
28680 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
28681 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28682 @r=`${PWD_COMMAND}`; export r; \
28683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28684 $(HOST_EXPORTS) \
28685 $(POSTSTAGE1_HOST_EXPORTS) \
28686 cd $(HOST_SUBDIR)/libiberty && \
28687 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28688 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
28689 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
28690 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
28691 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28692 $(TARGET-stagefeedback-libiberty)
28694 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
28695 clean-stagefeedback: clean-stagefeedback-libiberty
28696 clean-stagefeedback-libiberty:
28697 @if [ $(current_stage) = stagefeedback ]; then \
28698 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28699 else \
28700 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
28701 $(MAKE) stagefeedback-start; \
28702 fi; \
28703 cd $(HOST_SUBDIR)/libiberty && \
28704 $(MAKE) $(EXTRA_HOST_FLAGS) \
28705 $(POSTSTAGE1_FLAGS_TO_PASS) \
28706 clean
28707 @endif libiberty-bootstrap
28713 .PHONY: check-libiberty maybe-check-libiberty
28714 maybe-check-libiberty:
28715 @if libiberty
28716 maybe-check-libiberty: check-libiberty
28718 check-libiberty:
28719 @: $(MAKE); $(unstage)
28720 @r=`${PWD_COMMAND}`; export r; \
28721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28722 $(HOST_EXPORTS) \
28723 (cd $(HOST_SUBDIR)/libiberty && \
28724 $(MAKE) $(FLAGS_TO_PASS) check)
28726 @endif libiberty
28728 .PHONY: install-libiberty maybe-install-libiberty
28729 maybe-install-libiberty:
28730 @if libiberty
28731 maybe-install-libiberty: install-libiberty
28733 install-libiberty: installdirs
28734 @: $(MAKE); $(unstage)
28735 @r=`${PWD_COMMAND}`; export r; \
28736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28737 $(HOST_EXPORTS) \
28738 (cd $(HOST_SUBDIR)/libiberty && \
28739 $(MAKE) $(FLAGS_TO_PASS) install)
28741 @endif libiberty
28743 # Other targets (info, dvi, pdf, etc.)
28745 .PHONY: maybe-info-libiberty info-libiberty
28746 maybe-info-libiberty:
28747 @if libiberty
28748 maybe-info-libiberty: info-libiberty
28750 info-libiberty: \
28751 configure-libiberty
28752 @[ -f ./libiberty/Makefile ] || exit 0; \
28753 r=`${PWD_COMMAND}`; export r; \
28754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28755 $(HOST_EXPORTS) \
28756 for flag in $(EXTRA_HOST_FLAGS) ; do \
28757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28758 done; \
28759 echo "Doing info in libiberty" ; \
28760 (cd $(HOST_SUBDIR)/libiberty && \
28761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28763 "RANLIB=$${RANLIB}" \
28764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28765 info) \
28766 || exit 1
28768 @endif libiberty
28770 .PHONY: maybe-dvi-libiberty dvi-libiberty
28771 maybe-dvi-libiberty:
28772 @if libiberty
28773 maybe-dvi-libiberty: dvi-libiberty
28775 dvi-libiberty: \
28776 configure-libiberty
28777 @[ -f ./libiberty/Makefile ] || exit 0; \
28778 r=`${PWD_COMMAND}`; export r; \
28779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28780 $(HOST_EXPORTS) \
28781 for flag in $(EXTRA_HOST_FLAGS) ; do \
28782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28783 done; \
28784 echo "Doing dvi in libiberty" ; \
28785 (cd $(HOST_SUBDIR)/libiberty && \
28786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28788 "RANLIB=$${RANLIB}" \
28789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28790 dvi) \
28791 || exit 1
28793 @endif libiberty
28795 .PHONY: maybe-pdf-libiberty pdf-libiberty
28796 maybe-pdf-libiberty:
28797 @if libiberty
28798 maybe-pdf-libiberty: pdf-libiberty
28800 pdf-libiberty: \
28801 configure-libiberty
28802 @[ -f ./libiberty/Makefile ] || exit 0; \
28803 r=`${PWD_COMMAND}`; export r; \
28804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28805 $(HOST_EXPORTS) \
28806 for flag in $(EXTRA_HOST_FLAGS) ; do \
28807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28808 done; \
28809 echo "Doing pdf in libiberty" ; \
28810 (cd $(HOST_SUBDIR)/libiberty && \
28811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28813 "RANLIB=$${RANLIB}" \
28814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28815 pdf) \
28816 || exit 1
28818 @endif libiberty
28820 .PHONY: maybe-html-libiberty html-libiberty
28821 maybe-html-libiberty:
28822 @if libiberty
28823 maybe-html-libiberty: html-libiberty
28825 html-libiberty: \
28826 configure-libiberty
28827 @[ -f ./libiberty/Makefile ] || exit 0; \
28828 r=`${PWD_COMMAND}`; export r; \
28829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28830 $(HOST_EXPORTS) \
28831 for flag in $(EXTRA_HOST_FLAGS) ; do \
28832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28833 done; \
28834 echo "Doing html in libiberty" ; \
28835 (cd $(HOST_SUBDIR)/libiberty && \
28836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28838 "RANLIB=$${RANLIB}" \
28839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28840 html) \
28841 || exit 1
28843 @endif libiberty
28845 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
28846 maybe-TAGS-libiberty:
28847 @if libiberty
28848 maybe-TAGS-libiberty: TAGS-libiberty
28850 TAGS-libiberty: \
28851 configure-libiberty
28852 @[ -f ./libiberty/Makefile ] || exit 0; \
28853 r=`${PWD_COMMAND}`; export r; \
28854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28855 $(HOST_EXPORTS) \
28856 for flag in $(EXTRA_HOST_FLAGS) ; do \
28857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28858 done; \
28859 echo "Doing TAGS in libiberty" ; \
28860 (cd $(HOST_SUBDIR)/libiberty && \
28861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28863 "RANLIB=$${RANLIB}" \
28864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28865 TAGS) \
28866 || exit 1
28868 @endif libiberty
28870 .PHONY: maybe-install-info-libiberty install-info-libiberty
28871 maybe-install-info-libiberty:
28872 @if libiberty
28873 maybe-install-info-libiberty: install-info-libiberty
28875 install-info-libiberty: \
28876 configure-libiberty \
28877 info-libiberty
28878 @[ -f ./libiberty/Makefile ] || exit 0; \
28879 r=`${PWD_COMMAND}`; export r; \
28880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28881 $(HOST_EXPORTS) \
28882 for flag in $(EXTRA_HOST_FLAGS) ; do \
28883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28884 done; \
28885 echo "Doing install-info in libiberty" ; \
28886 (cd $(HOST_SUBDIR)/libiberty && \
28887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28889 "RANLIB=$${RANLIB}" \
28890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28891 install-info) \
28892 || exit 1
28894 @endif libiberty
28896 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
28897 maybe-install-pdf-libiberty:
28898 @if libiberty
28899 maybe-install-pdf-libiberty: install-pdf-libiberty
28901 install-pdf-libiberty: \
28902 configure-libiberty \
28903 pdf-libiberty
28904 @[ -f ./libiberty/Makefile ] || exit 0; \
28905 r=`${PWD_COMMAND}`; export r; \
28906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28907 $(HOST_EXPORTS) \
28908 for flag in $(EXTRA_HOST_FLAGS) ; do \
28909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28910 done; \
28911 echo "Doing install-pdf in libiberty" ; \
28912 (cd $(HOST_SUBDIR)/libiberty && \
28913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28915 "RANLIB=$${RANLIB}" \
28916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28917 install-pdf) \
28918 || exit 1
28920 @endif libiberty
28922 .PHONY: maybe-install-html-libiberty install-html-libiberty
28923 maybe-install-html-libiberty:
28924 @if libiberty
28925 maybe-install-html-libiberty: install-html-libiberty
28927 install-html-libiberty: \
28928 configure-libiberty \
28929 html-libiberty
28930 @[ -f ./libiberty/Makefile ] || exit 0; \
28931 r=`${PWD_COMMAND}`; export r; \
28932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28933 $(HOST_EXPORTS) \
28934 for flag in $(EXTRA_HOST_FLAGS) ; do \
28935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28936 done; \
28937 echo "Doing install-html in libiberty" ; \
28938 (cd $(HOST_SUBDIR)/libiberty && \
28939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28941 "RANLIB=$${RANLIB}" \
28942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28943 install-html) \
28944 || exit 1
28946 @endif libiberty
28948 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
28949 maybe-installcheck-libiberty:
28950 @if libiberty
28951 maybe-installcheck-libiberty: installcheck-libiberty
28953 installcheck-libiberty: \
28954 configure-libiberty
28955 @[ -f ./libiberty/Makefile ] || exit 0; \
28956 r=`${PWD_COMMAND}`; export r; \
28957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28958 $(HOST_EXPORTS) \
28959 for flag in $(EXTRA_HOST_FLAGS) ; do \
28960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28961 done; \
28962 echo "Doing installcheck in libiberty" ; \
28963 (cd $(HOST_SUBDIR)/libiberty && \
28964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28966 "RANLIB=$${RANLIB}" \
28967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28968 installcheck) \
28969 || exit 1
28971 @endif libiberty
28973 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
28974 maybe-mostlyclean-libiberty:
28975 @if libiberty
28976 maybe-mostlyclean-libiberty: mostlyclean-libiberty
28978 mostlyclean-libiberty:
28979 @[ -f ./libiberty/Makefile ] || exit 0; \
28980 r=`${PWD_COMMAND}`; export r; \
28981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28982 $(HOST_EXPORTS) \
28983 for flag in $(EXTRA_HOST_FLAGS) ; do \
28984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28985 done; \
28986 echo "Doing mostlyclean in libiberty" ; \
28987 (cd $(HOST_SUBDIR)/libiberty && \
28988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28990 "RANLIB=$${RANLIB}" \
28991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28992 mostlyclean) \
28993 || exit 1
28995 @endif libiberty
28997 .PHONY: maybe-clean-libiberty clean-libiberty
28998 maybe-clean-libiberty:
28999 @if libiberty
29000 maybe-clean-libiberty: clean-libiberty
29002 clean-libiberty:
29003 @[ -f ./libiberty/Makefile ] || exit 0; \
29004 r=`${PWD_COMMAND}`; export r; \
29005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29006 $(HOST_EXPORTS) \
29007 for flag in $(EXTRA_HOST_FLAGS) ; do \
29008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29009 done; \
29010 echo "Doing clean in libiberty" ; \
29011 (cd $(HOST_SUBDIR)/libiberty && \
29012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29014 "RANLIB=$${RANLIB}" \
29015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29016 clean) \
29017 || exit 1
29019 @endif libiberty
29021 .PHONY: maybe-distclean-libiberty distclean-libiberty
29022 maybe-distclean-libiberty:
29023 @if libiberty
29024 maybe-distclean-libiberty: distclean-libiberty
29026 distclean-libiberty:
29027 @[ -f ./libiberty/Makefile ] || exit 0; \
29028 r=`${PWD_COMMAND}`; export r; \
29029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29030 $(HOST_EXPORTS) \
29031 for flag in $(EXTRA_HOST_FLAGS) ; do \
29032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29033 done; \
29034 echo "Doing distclean in libiberty" ; \
29035 (cd $(HOST_SUBDIR)/libiberty && \
29036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29038 "RANLIB=$${RANLIB}" \
29039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29040 distclean) \
29041 || exit 1
29043 @endif libiberty
29045 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
29046 maybe-maintainer-clean-libiberty:
29047 @if libiberty
29048 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
29050 maintainer-clean-libiberty:
29051 @[ -f ./libiberty/Makefile ] || exit 0; \
29052 r=`${PWD_COMMAND}`; export r; \
29053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29054 $(HOST_EXPORTS) \
29055 for flag in $(EXTRA_HOST_FLAGS) ; do \
29056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29057 done; \
29058 echo "Doing maintainer-clean in libiberty" ; \
29059 (cd $(HOST_SUBDIR)/libiberty && \
29060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29062 "RANLIB=$${RANLIB}" \
29063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29064 maintainer-clean) \
29065 || exit 1
29067 @endif libiberty
29071 .PHONY: configure-libtool maybe-configure-libtool
29072 maybe-configure-libtool:
29073 @if gcc-bootstrap
29074 configure-libtool: stage_current
29075 @endif gcc-bootstrap
29076 @if libtool
29077 maybe-configure-libtool: configure-libtool
29078 configure-libtool:
29079 @: $(MAKE); $(unstage)
29080 @r=`${PWD_COMMAND}`; export r; \
29081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29082 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
29083 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
29084 $(HOST_EXPORTS) \
29085 echo Configuring in $(HOST_SUBDIR)/libtool; \
29086 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
29087 case $(srcdir) in \
29088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29089 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
29090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29091 esac; \
29092 srcdiroption="--srcdir=$${topdir}/libtool"; \
29093 libsrcdir="$$s/libtool"; \
29094 $(SHELL) $${libsrcdir}/configure \
29095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29096 --target=${target_alias} $${srcdiroption} \
29097 || exit 1
29098 @endif libtool
29104 .PHONY: all-libtool maybe-all-libtool
29105 maybe-all-libtool:
29106 @if gcc-bootstrap
29107 all-libtool: stage_current
29108 @endif gcc-bootstrap
29109 @if libtool
29110 TARGET-libtool=all
29111 maybe-all-libtool: all-libtool
29112 all-libtool: configure-libtool
29113 @: $(MAKE); $(unstage)
29114 @r=`${PWD_COMMAND}`; export r; \
29115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29116 $(HOST_EXPORTS) \
29117 (cd $(HOST_SUBDIR)/libtool && \
29118 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29119 $(TARGET-libtool))
29120 @endif libtool
29125 .PHONY: check-libtool maybe-check-libtool
29126 maybe-check-libtool:
29127 @if libtool
29128 maybe-check-libtool: check-libtool
29130 check-libtool:
29131 @: $(MAKE); $(unstage)
29132 @r=`${PWD_COMMAND}`; export r; \
29133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29134 $(HOST_EXPORTS) \
29135 (cd $(HOST_SUBDIR)/libtool && \
29136 $(MAKE) $(FLAGS_TO_PASS) check)
29138 @endif libtool
29140 .PHONY: install-libtool maybe-install-libtool
29141 maybe-install-libtool:
29142 @if libtool
29143 maybe-install-libtool: install-libtool
29145 install-libtool: installdirs
29146 @: $(MAKE); $(unstage)
29147 @r=`${PWD_COMMAND}`; export r; \
29148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29149 $(HOST_EXPORTS) \
29150 (cd $(HOST_SUBDIR)/libtool && \
29151 $(MAKE) $(FLAGS_TO_PASS) install)
29153 @endif libtool
29155 # Other targets (info, dvi, pdf, etc.)
29157 .PHONY: maybe-info-libtool info-libtool
29158 maybe-info-libtool:
29159 @if libtool
29160 maybe-info-libtool: info-libtool
29162 info-libtool: \
29163 configure-libtool
29164 @: $(MAKE); $(unstage)
29165 @[ -f ./libtool/Makefile ] || exit 0; \
29166 r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 $(HOST_EXPORTS) \
29169 for flag in $(EXTRA_HOST_FLAGS) ; do \
29170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29171 done; \
29172 echo "Doing info in libtool" ; \
29173 (cd $(HOST_SUBDIR)/libtool && \
29174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176 "RANLIB=$${RANLIB}" \
29177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29178 info) \
29179 || exit 1
29181 @endif libtool
29183 .PHONY: maybe-dvi-libtool dvi-libtool
29184 maybe-dvi-libtool:
29185 @if libtool
29186 maybe-dvi-libtool: dvi-libtool
29188 dvi-libtool: \
29189 configure-libtool
29190 @: $(MAKE); $(unstage)
29191 @[ -f ./libtool/Makefile ] || exit 0; \
29192 r=`${PWD_COMMAND}`; export r; \
29193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29194 $(HOST_EXPORTS) \
29195 for flag in $(EXTRA_HOST_FLAGS) ; do \
29196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29197 done; \
29198 echo "Doing dvi in libtool" ; \
29199 (cd $(HOST_SUBDIR)/libtool && \
29200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29202 "RANLIB=$${RANLIB}" \
29203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29204 dvi) \
29205 || exit 1
29207 @endif libtool
29209 .PHONY: maybe-pdf-libtool pdf-libtool
29210 maybe-pdf-libtool:
29211 @if libtool
29212 maybe-pdf-libtool: pdf-libtool
29214 pdf-libtool: \
29215 configure-libtool
29216 @: $(MAKE); $(unstage)
29217 @[ -f ./libtool/Makefile ] || exit 0; \
29218 r=`${PWD_COMMAND}`; export r; \
29219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29220 $(HOST_EXPORTS) \
29221 for flag in $(EXTRA_HOST_FLAGS) ; do \
29222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29223 done; \
29224 echo "Doing pdf in libtool" ; \
29225 (cd $(HOST_SUBDIR)/libtool && \
29226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29228 "RANLIB=$${RANLIB}" \
29229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29230 pdf) \
29231 || exit 1
29233 @endif libtool
29235 .PHONY: maybe-html-libtool html-libtool
29236 maybe-html-libtool:
29237 @if libtool
29238 maybe-html-libtool: html-libtool
29240 html-libtool: \
29241 configure-libtool
29242 @: $(MAKE); $(unstage)
29243 @[ -f ./libtool/Makefile ] || exit 0; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(HOST_EXPORTS) \
29247 for flag in $(EXTRA_HOST_FLAGS) ; do \
29248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29249 done; \
29250 echo "Doing html in libtool" ; \
29251 (cd $(HOST_SUBDIR)/libtool && \
29252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29254 "RANLIB=$${RANLIB}" \
29255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29256 html) \
29257 || exit 1
29259 @endif libtool
29261 .PHONY: maybe-TAGS-libtool TAGS-libtool
29262 maybe-TAGS-libtool:
29263 @if libtool
29264 maybe-TAGS-libtool: TAGS-libtool
29266 TAGS-libtool: \
29267 configure-libtool
29268 @: $(MAKE); $(unstage)
29269 @[ -f ./libtool/Makefile ] || exit 0; \
29270 r=`${PWD_COMMAND}`; export r; \
29271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29272 $(HOST_EXPORTS) \
29273 for flag in $(EXTRA_HOST_FLAGS) ; do \
29274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29275 done; \
29276 echo "Doing TAGS in libtool" ; \
29277 (cd $(HOST_SUBDIR)/libtool && \
29278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29280 "RANLIB=$${RANLIB}" \
29281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29282 TAGS) \
29283 || exit 1
29285 @endif libtool
29287 .PHONY: maybe-install-info-libtool install-info-libtool
29288 maybe-install-info-libtool:
29289 @if libtool
29290 maybe-install-info-libtool: install-info-libtool
29292 install-info-libtool: \
29293 configure-libtool \
29294 info-libtool
29295 @: $(MAKE); $(unstage)
29296 @[ -f ./libtool/Makefile ] || exit 0; \
29297 r=`${PWD_COMMAND}`; export r; \
29298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29299 $(HOST_EXPORTS) \
29300 for flag in $(EXTRA_HOST_FLAGS) ; do \
29301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29302 done; \
29303 echo "Doing install-info in libtool" ; \
29304 (cd $(HOST_SUBDIR)/libtool && \
29305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29307 "RANLIB=$${RANLIB}" \
29308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29309 install-info) \
29310 || exit 1
29312 @endif libtool
29314 .PHONY: maybe-install-pdf-libtool install-pdf-libtool
29315 maybe-install-pdf-libtool:
29316 @if libtool
29317 maybe-install-pdf-libtool: install-pdf-libtool
29319 install-pdf-libtool: \
29320 configure-libtool \
29321 pdf-libtool
29322 @: $(MAKE); $(unstage)
29323 @[ -f ./libtool/Makefile ] || exit 0; \
29324 r=`${PWD_COMMAND}`; export r; \
29325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29326 $(HOST_EXPORTS) \
29327 for flag in $(EXTRA_HOST_FLAGS) ; do \
29328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29329 done; \
29330 echo "Doing install-pdf in libtool" ; \
29331 (cd $(HOST_SUBDIR)/libtool && \
29332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29334 "RANLIB=$${RANLIB}" \
29335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29336 install-pdf) \
29337 || exit 1
29339 @endif libtool
29341 .PHONY: maybe-install-html-libtool install-html-libtool
29342 maybe-install-html-libtool:
29343 @if libtool
29344 maybe-install-html-libtool: install-html-libtool
29346 install-html-libtool: \
29347 configure-libtool \
29348 html-libtool
29349 @: $(MAKE); $(unstage)
29350 @[ -f ./libtool/Makefile ] || exit 0; \
29351 r=`${PWD_COMMAND}`; export r; \
29352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29353 $(HOST_EXPORTS) \
29354 for flag in $(EXTRA_HOST_FLAGS) ; do \
29355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29356 done; \
29357 echo "Doing install-html in libtool" ; \
29358 (cd $(HOST_SUBDIR)/libtool && \
29359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29361 "RANLIB=$${RANLIB}" \
29362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29363 install-html) \
29364 || exit 1
29366 @endif libtool
29368 .PHONY: maybe-installcheck-libtool installcheck-libtool
29369 maybe-installcheck-libtool:
29370 @if libtool
29371 maybe-installcheck-libtool: installcheck-libtool
29373 installcheck-libtool: \
29374 configure-libtool
29375 @: $(MAKE); $(unstage)
29376 @[ -f ./libtool/Makefile ] || exit 0; \
29377 r=`${PWD_COMMAND}`; export r; \
29378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29379 $(HOST_EXPORTS) \
29380 for flag in $(EXTRA_HOST_FLAGS) ; do \
29381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29382 done; \
29383 echo "Doing installcheck in libtool" ; \
29384 (cd $(HOST_SUBDIR)/libtool && \
29385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29387 "RANLIB=$${RANLIB}" \
29388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29389 installcheck) \
29390 || exit 1
29392 @endif libtool
29394 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
29395 maybe-mostlyclean-libtool:
29396 @if libtool
29397 maybe-mostlyclean-libtool: mostlyclean-libtool
29399 mostlyclean-libtool:
29400 @: $(MAKE); $(unstage)
29401 @[ -f ./libtool/Makefile ] || exit 0; \
29402 r=`${PWD_COMMAND}`; export r; \
29403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29404 $(HOST_EXPORTS) \
29405 for flag in $(EXTRA_HOST_FLAGS) ; do \
29406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29407 done; \
29408 echo "Doing mostlyclean in libtool" ; \
29409 (cd $(HOST_SUBDIR)/libtool && \
29410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29412 "RANLIB=$${RANLIB}" \
29413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29414 mostlyclean) \
29415 || exit 1
29417 @endif libtool
29419 .PHONY: maybe-clean-libtool clean-libtool
29420 maybe-clean-libtool:
29421 @if libtool
29422 maybe-clean-libtool: clean-libtool
29424 clean-libtool:
29425 @: $(MAKE); $(unstage)
29426 @[ -f ./libtool/Makefile ] || exit 0; \
29427 r=`${PWD_COMMAND}`; export r; \
29428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29429 $(HOST_EXPORTS) \
29430 for flag in $(EXTRA_HOST_FLAGS) ; do \
29431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29432 done; \
29433 echo "Doing clean in libtool" ; \
29434 (cd $(HOST_SUBDIR)/libtool && \
29435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29437 "RANLIB=$${RANLIB}" \
29438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29439 clean) \
29440 || exit 1
29442 @endif libtool
29444 .PHONY: maybe-distclean-libtool distclean-libtool
29445 maybe-distclean-libtool:
29446 @if libtool
29447 maybe-distclean-libtool: distclean-libtool
29449 distclean-libtool:
29450 @: $(MAKE); $(unstage)
29451 @[ -f ./libtool/Makefile ] || exit 0; \
29452 r=`${PWD_COMMAND}`; export r; \
29453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29454 $(HOST_EXPORTS) \
29455 for flag in $(EXTRA_HOST_FLAGS) ; do \
29456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29457 done; \
29458 echo "Doing distclean in libtool" ; \
29459 (cd $(HOST_SUBDIR)/libtool && \
29460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29462 "RANLIB=$${RANLIB}" \
29463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29464 distclean) \
29465 || exit 1
29467 @endif libtool
29469 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
29470 maybe-maintainer-clean-libtool:
29471 @if libtool
29472 maybe-maintainer-clean-libtool: maintainer-clean-libtool
29474 maintainer-clean-libtool:
29475 @: $(MAKE); $(unstage)
29476 @[ -f ./libtool/Makefile ] || exit 0; \
29477 r=`${PWD_COMMAND}`; export r; \
29478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29479 $(HOST_EXPORTS) \
29480 for flag in $(EXTRA_HOST_FLAGS) ; do \
29481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29482 done; \
29483 echo "Doing maintainer-clean in libtool" ; \
29484 (cd $(HOST_SUBDIR)/libtool && \
29485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29487 "RANLIB=$${RANLIB}" \
29488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29489 maintainer-clean) \
29490 || exit 1
29492 @endif libtool
29496 .PHONY: configure-m4 maybe-configure-m4
29497 maybe-configure-m4:
29498 @if gcc-bootstrap
29499 configure-m4: stage_current
29500 @endif gcc-bootstrap
29501 @if m4
29502 maybe-configure-m4: configure-m4
29503 configure-m4:
29504 @: $(MAKE); $(unstage)
29505 @r=`${PWD_COMMAND}`; export r; \
29506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29507 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
29509 $(HOST_EXPORTS) \
29510 echo Configuring in $(HOST_SUBDIR)/m4; \
29511 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29512 case $(srcdir) in \
29513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29514 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29516 esac; \
29517 srcdiroption="--srcdir=$${topdir}/m4"; \
29518 libsrcdir="$$s/m4"; \
29519 $(SHELL) $${libsrcdir}/configure \
29520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29521 --target=${target_alias} $${srcdiroption} \
29522 || exit 1
29523 @endif m4
29529 .PHONY: all-m4 maybe-all-m4
29530 maybe-all-m4:
29531 @if gcc-bootstrap
29532 all-m4: stage_current
29533 @endif gcc-bootstrap
29534 @if m4
29535 TARGET-m4=all
29536 maybe-all-m4: all-m4
29537 all-m4: configure-m4
29538 @: $(MAKE); $(unstage)
29539 @r=`${PWD_COMMAND}`; export r; \
29540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29541 $(HOST_EXPORTS) \
29542 (cd $(HOST_SUBDIR)/m4 && \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29544 $(TARGET-m4))
29545 @endif m4
29550 .PHONY: check-m4 maybe-check-m4
29551 maybe-check-m4:
29552 @if m4
29553 maybe-check-m4: check-m4
29555 check-m4:
29556 @: $(MAKE); $(unstage)
29557 @r=`${PWD_COMMAND}`; export r; \
29558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29559 $(HOST_EXPORTS) \
29560 (cd $(HOST_SUBDIR)/m4 && \
29561 $(MAKE) $(FLAGS_TO_PASS) check)
29563 @endif m4
29565 .PHONY: install-m4 maybe-install-m4
29566 maybe-install-m4:
29567 @if m4
29568 maybe-install-m4: install-m4
29570 install-m4: installdirs
29571 @: $(MAKE); $(unstage)
29572 @r=`${PWD_COMMAND}`; export r; \
29573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29574 $(HOST_EXPORTS) \
29575 (cd $(HOST_SUBDIR)/m4 && \
29576 $(MAKE) $(FLAGS_TO_PASS) install)
29578 @endif m4
29580 # Other targets (info, dvi, pdf, etc.)
29582 .PHONY: maybe-info-m4 info-m4
29583 maybe-info-m4:
29584 @if m4
29585 maybe-info-m4: info-m4
29587 info-m4: \
29588 configure-m4
29589 @: $(MAKE); $(unstage)
29590 @[ -f ./m4/Makefile ] || exit 0; \
29591 r=`${PWD_COMMAND}`; export r; \
29592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29593 $(HOST_EXPORTS) \
29594 for flag in $(EXTRA_HOST_FLAGS) ; do \
29595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29596 done; \
29597 echo "Doing info in m4" ; \
29598 (cd $(HOST_SUBDIR)/m4 && \
29599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29601 "RANLIB=$${RANLIB}" \
29602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29603 info) \
29604 || exit 1
29606 @endif m4
29608 .PHONY: maybe-dvi-m4 dvi-m4
29609 maybe-dvi-m4:
29610 @if m4
29611 maybe-dvi-m4: dvi-m4
29613 dvi-m4: \
29614 configure-m4
29615 @: $(MAKE); $(unstage)
29616 @[ -f ./m4/Makefile ] || exit 0; \
29617 r=`${PWD_COMMAND}`; export r; \
29618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29619 $(HOST_EXPORTS) \
29620 for flag in $(EXTRA_HOST_FLAGS) ; do \
29621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29622 done; \
29623 echo "Doing dvi in m4" ; \
29624 (cd $(HOST_SUBDIR)/m4 && \
29625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29627 "RANLIB=$${RANLIB}" \
29628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29629 dvi) \
29630 || exit 1
29632 @endif m4
29634 .PHONY: maybe-pdf-m4 pdf-m4
29635 maybe-pdf-m4:
29636 @if m4
29637 maybe-pdf-m4: pdf-m4
29639 pdf-m4: \
29640 configure-m4
29641 @: $(MAKE); $(unstage)
29642 @[ -f ./m4/Makefile ] || exit 0; \
29643 r=`${PWD_COMMAND}`; export r; \
29644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29645 $(HOST_EXPORTS) \
29646 for flag in $(EXTRA_HOST_FLAGS) ; do \
29647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29648 done; \
29649 echo "Doing pdf in m4" ; \
29650 (cd $(HOST_SUBDIR)/m4 && \
29651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29653 "RANLIB=$${RANLIB}" \
29654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29655 pdf) \
29656 || exit 1
29658 @endif m4
29660 .PHONY: maybe-html-m4 html-m4
29661 maybe-html-m4:
29662 @if m4
29663 maybe-html-m4: html-m4
29665 html-m4: \
29666 configure-m4
29667 @: $(MAKE); $(unstage)
29668 @[ -f ./m4/Makefile ] || exit 0; \
29669 r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 $(HOST_EXPORTS) \
29672 for flag in $(EXTRA_HOST_FLAGS) ; do \
29673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29674 done; \
29675 echo "Doing html in m4" ; \
29676 (cd $(HOST_SUBDIR)/m4 && \
29677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29679 "RANLIB=$${RANLIB}" \
29680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29681 html) \
29682 || exit 1
29684 @endif m4
29686 .PHONY: maybe-TAGS-m4 TAGS-m4
29687 maybe-TAGS-m4:
29688 @if m4
29689 maybe-TAGS-m4: TAGS-m4
29691 TAGS-m4: \
29692 configure-m4
29693 @: $(MAKE); $(unstage)
29694 @[ -f ./m4/Makefile ] || exit 0; \
29695 r=`${PWD_COMMAND}`; export r; \
29696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29697 $(HOST_EXPORTS) \
29698 for flag in $(EXTRA_HOST_FLAGS) ; do \
29699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29700 done; \
29701 echo "Doing TAGS in m4" ; \
29702 (cd $(HOST_SUBDIR)/m4 && \
29703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29705 "RANLIB=$${RANLIB}" \
29706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29707 TAGS) \
29708 || exit 1
29710 @endif m4
29712 .PHONY: maybe-install-info-m4 install-info-m4
29713 maybe-install-info-m4:
29714 @if m4
29715 maybe-install-info-m4: install-info-m4
29717 install-info-m4: \
29718 configure-m4 \
29719 info-m4
29720 @: $(MAKE); $(unstage)
29721 @[ -f ./m4/Makefile ] || exit 0; \
29722 r=`${PWD_COMMAND}`; export r; \
29723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29724 $(HOST_EXPORTS) \
29725 for flag in $(EXTRA_HOST_FLAGS) ; do \
29726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29727 done; \
29728 echo "Doing install-info in m4" ; \
29729 (cd $(HOST_SUBDIR)/m4 && \
29730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29732 "RANLIB=$${RANLIB}" \
29733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29734 install-info) \
29735 || exit 1
29737 @endif m4
29739 .PHONY: maybe-install-pdf-m4 install-pdf-m4
29740 maybe-install-pdf-m4:
29741 @if m4
29742 maybe-install-pdf-m4: install-pdf-m4
29744 install-pdf-m4: \
29745 configure-m4 \
29746 pdf-m4
29747 @: $(MAKE); $(unstage)
29748 @[ -f ./m4/Makefile ] || exit 0; \
29749 r=`${PWD_COMMAND}`; export r; \
29750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29751 $(HOST_EXPORTS) \
29752 for flag in $(EXTRA_HOST_FLAGS) ; do \
29753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29754 done; \
29755 echo "Doing install-pdf in m4" ; \
29756 (cd $(HOST_SUBDIR)/m4 && \
29757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29759 "RANLIB=$${RANLIB}" \
29760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29761 install-pdf) \
29762 || exit 1
29764 @endif m4
29766 .PHONY: maybe-install-html-m4 install-html-m4
29767 maybe-install-html-m4:
29768 @if m4
29769 maybe-install-html-m4: install-html-m4
29771 install-html-m4: \
29772 configure-m4 \
29773 html-m4
29774 @: $(MAKE); $(unstage)
29775 @[ -f ./m4/Makefile ] || exit 0; \
29776 r=`${PWD_COMMAND}`; export r; \
29777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29778 $(HOST_EXPORTS) \
29779 for flag in $(EXTRA_HOST_FLAGS) ; do \
29780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29781 done; \
29782 echo "Doing install-html in m4" ; \
29783 (cd $(HOST_SUBDIR)/m4 && \
29784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29786 "RANLIB=$${RANLIB}" \
29787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29788 install-html) \
29789 || exit 1
29791 @endif m4
29793 .PHONY: maybe-installcheck-m4 installcheck-m4
29794 maybe-installcheck-m4:
29795 @if m4
29796 maybe-installcheck-m4: installcheck-m4
29798 installcheck-m4: \
29799 configure-m4
29800 @: $(MAKE); $(unstage)
29801 @[ -f ./m4/Makefile ] || exit 0; \
29802 r=`${PWD_COMMAND}`; export r; \
29803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29804 $(HOST_EXPORTS) \
29805 for flag in $(EXTRA_HOST_FLAGS) ; do \
29806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29807 done; \
29808 echo "Doing installcheck in m4" ; \
29809 (cd $(HOST_SUBDIR)/m4 && \
29810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29812 "RANLIB=$${RANLIB}" \
29813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29814 installcheck) \
29815 || exit 1
29817 @endif m4
29819 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
29820 maybe-mostlyclean-m4:
29821 @if m4
29822 maybe-mostlyclean-m4: mostlyclean-m4
29824 mostlyclean-m4:
29825 @: $(MAKE); $(unstage)
29826 @[ -f ./m4/Makefile ] || exit 0; \
29827 r=`${PWD_COMMAND}`; export r; \
29828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29829 $(HOST_EXPORTS) \
29830 for flag in $(EXTRA_HOST_FLAGS) ; do \
29831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29832 done; \
29833 echo "Doing mostlyclean in m4" ; \
29834 (cd $(HOST_SUBDIR)/m4 && \
29835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29837 "RANLIB=$${RANLIB}" \
29838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29839 mostlyclean) \
29840 || exit 1
29842 @endif m4
29844 .PHONY: maybe-clean-m4 clean-m4
29845 maybe-clean-m4:
29846 @if m4
29847 maybe-clean-m4: clean-m4
29849 clean-m4:
29850 @: $(MAKE); $(unstage)
29851 @[ -f ./m4/Makefile ] || exit 0; \
29852 r=`${PWD_COMMAND}`; export r; \
29853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29854 $(HOST_EXPORTS) \
29855 for flag in $(EXTRA_HOST_FLAGS) ; do \
29856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29857 done; \
29858 echo "Doing clean in m4" ; \
29859 (cd $(HOST_SUBDIR)/m4 && \
29860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29862 "RANLIB=$${RANLIB}" \
29863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29864 clean) \
29865 || exit 1
29867 @endif m4
29869 .PHONY: maybe-distclean-m4 distclean-m4
29870 maybe-distclean-m4:
29871 @if m4
29872 maybe-distclean-m4: distclean-m4
29874 distclean-m4:
29875 @: $(MAKE); $(unstage)
29876 @[ -f ./m4/Makefile ] || exit 0; \
29877 r=`${PWD_COMMAND}`; export r; \
29878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29879 $(HOST_EXPORTS) \
29880 for flag in $(EXTRA_HOST_FLAGS) ; do \
29881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29882 done; \
29883 echo "Doing distclean in m4" ; \
29884 (cd $(HOST_SUBDIR)/m4 && \
29885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29887 "RANLIB=$${RANLIB}" \
29888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29889 distclean) \
29890 || exit 1
29892 @endif m4
29894 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
29895 maybe-maintainer-clean-m4:
29896 @if m4
29897 maybe-maintainer-clean-m4: maintainer-clean-m4
29899 maintainer-clean-m4:
29900 @: $(MAKE); $(unstage)
29901 @[ -f ./m4/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 maintainer-clean in m4" ; \
29909 (cd $(HOST_SUBDIR)/m4 && \
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 maintainer-clean) \
29915 || exit 1
29917 @endif m4
29921 .PHONY: configure-make maybe-configure-make
29922 maybe-configure-make:
29923 @if gcc-bootstrap
29924 configure-make: stage_current
29925 @endif gcc-bootstrap
29926 @if make
29927 maybe-configure-make: configure-make
29928 configure-make:
29929 @: $(MAKE); $(unstage)
29930 @r=`${PWD_COMMAND}`; export r; \
29931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29932 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
29933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
29934 $(HOST_EXPORTS) \
29935 echo Configuring in $(HOST_SUBDIR)/make; \
29936 cd "$(HOST_SUBDIR)/make" || exit 1; \
29937 case $(srcdir) in \
29938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29939 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
29940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29941 esac; \
29942 srcdiroption="--srcdir=$${topdir}/make"; \
29943 libsrcdir="$$s/make"; \
29944 $(SHELL) $${libsrcdir}/configure \
29945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29946 --target=${target_alias} $${srcdiroption} \
29947 || exit 1
29948 @endif make
29954 .PHONY: all-make maybe-all-make
29955 maybe-all-make:
29956 @if gcc-bootstrap
29957 all-make: stage_current
29958 @endif gcc-bootstrap
29959 @if make
29960 TARGET-make=all
29961 maybe-all-make: all-make
29962 all-make: configure-make
29963 @: $(MAKE); $(unstage)
29964 @r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(HOST_EXPORTS) \
29967 (cd $(HOST_SUBDIR)/make && \
29968 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29969 $(TARGET-make))
29970 @endif make
29975 .PHONY: check-make maybe-check-make
29976 maybe-check-make:
29977 @if make
29978 maybe-check-make: check-make
29980 check-make:
29981 @: $(MAKE); $(unstage)
29982 @r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29984 $(HOST_EXPORTS) \
29985 (cd $(HOST_SUBDIR)/make && \
29986 $(MAKE) $(FLAGS_TO_PASS) check)
29988 @endif make
29990 .PHONY: install-make maybe-install-make
29991 maybe-install-make:
29992 @if make
29993 maybe-install-make: install-make
29995 install-make: installdirs
29996 @: $(MAKE); $(unstage)
29997 @r=`${PWD_COMMAND}`; export r; \
29998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29999 $(HOST_EXPORTS) \
30000 (cd $(HOST_SUBDIR)/make && \
30001 $(MAKE) $(FLAGS_TO_PASS) install)
30003 @endif make
30005 # Other targets (info, dvi, pdf, etc.)
30007 .PHONY: maybe-info-make info-make
30008 maybe-info-make:
30009 @if make
30010 maybe-info-make: info-make
30012 info-make: \
30013 configure-make
30014 @: $(MAKE); $(unstage)
30015 @[ -f ./make/Makefile ] || exit 0; \
30016 r=`${PWD_COMMAND}`; export r; \
30017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30018 $(HOST_EXPORTS) \
30019 for flag in $(EXTRA_HOST_FLAGS) ; do \
30020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30021 done; \
30022 echo "Doing info in make" ; \
30023 (cd $(HOST_SUBDIR)/make && \
30024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30026 "RANLIB=$${RANLIB}" \
30027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30028 info) \
30029 || exit 1
30031 @endif make
30033 .PHONY: maybe-dvi-make dvi-make
30034 maybe-dvi-make:
30035 @if make
30036 maybe-dvi-make: dvi-make
30038 dvi-make: \
30039 configure-make
30040 @: $(MAKE); $(unstage)
30041 @[ -f ./make/Makefile ] || exit 0; \
30042 r=`${PWD_COMMAND}`; export r; \
30043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30044 $(HOST_EXPORTS) \
30045 for flag in $(EXTRA_HOST_FLAGS) ; do \
30046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30047 done; \
30048 echo "Doing dvi in make" ; \
30049 (cd $(HOST_SUBDIR)/make && \
30050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30052 "RANLIB=$${RANLIB}" \
30053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30054 dvi) \
30055 || exit 1
30057 @endif make
30059 .PHONY: maybe-pdf-make pdf-make
30060 maybe-pdf-make:
30061 @if make
30062 maybe-pdf-make: pdf-make
30064 pdf-make: \
30065 configure-make
30066 @: $(MAKE); $(unstage)
30067 @[ -f ./make/Makefile ] || exit 0; \
30068 r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30070 $(HOST_EXPORTS) \
30071 for flag in $(EXTRA_HOST_FLAGS) ; do \
30072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30073 done; \
30074 echo "Doing pdf in make" ; \
30075 (cd $(HOST_SUBDIR)/make && \
30076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30078 "RANLIB=$${RANLIB}" \
30079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30080 pdf) \
30081 || exit 1
30083 @endif make
30085 .PHONY: maybe-html-make html-make
30086 maybe-html-make:
30087 @if make
30088 maybe-html-make: html-make
30090 html-make: \
30091 configure-make
30092 @: $(MAKE); $(unstage)
30093 @[ -f ./make/Makefile ] || exit 0; \
30094 r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 $(HOST_EXPORTS) \
30097 for flag in $(EXTRA_HOST_FLAGS) ; do \
30098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30099 done; \
30100 echo "Doing html in make" ; \
30101 (cd $(HOST_SUBDIR)/make && \
30102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30104 "RANLIB=$${RANLIB}" \
30105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30106 html) \
30107 || exit 1
30109 @endif make
30111 .PHONY: maybe-TAGS-make TAGS-make
30112 maybe-TAGS-make:
30113 @if make
30114 maybe-TAGS-make: TAGS-make
30116 TAGS-make: \
30117 configure-make
30118 @: $(MAKE); $(unstage)
30119 @[ -f ./make/Makefile ] || exit 0; \
30120 r=`${PWD_COMMAND}`; export r; \
30121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30122 $(HOST_EXPORTS) \
30123 for flag in $(EXTRA_HOST_FLAGS) ; do \
30124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30125 done; \
30126 echo "Doing TAGS in make" ; \
30127 (cd $(HOST_SUBDIR)/make && \
30128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30130 "RANLIB=$${RANLIB}" \
30131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30132 TAGS) \
30133 || exit 1
30135 @endif make
30137 .PHONY: maybe-install-info-make install-info-make
30138 maybe-install-info-make:
30139 @if make
30140 maybe-install-info-make: install-info-make
30142 install-info-make: \
30143 configure-make \
30144 info-make
30145 @: $(MAKE); $(unstage)
30146 @[ -f ./make/Makefile ] || exit 0; \
30147 r=`${PWD_COMMAND}`; export r; \
30148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30149 $(HOST_EXPORTS) \
30150 for flag in $(EXTRA_HOST_FLAGS) ; do \
30151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30152 done; \
30153 echo "Doing install-info in make" ; \
30154 (cd $(HOST_SUBDIR)/make && \
30155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30157 "RANLIB=$${RANLIB}" \
30158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30159 install-info) \
30160 || exit 1
30162 @endif make
30164 .PHONY: maybe-install-pdf-make install-pdf-make
30165 maybe-install-pdf-make:
30166 @if make
30167 maybe-install-pdf-make: install-pdf-make
30169 install-pdf-make: \
30170 configure-make \
30171 pdf-make
30172 @: $(MAKE); $(unstage)
30173 @[ -f ./make/Makefile ] || exit 0; \
30174 r=`${PWD_COMMAND}`; export r; \
30175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30176 $(HOST_EXPORTS) \
30177 for flag in $(EXTRA_HOST_FLAGS) ; do \
30178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30179 done; \
30180 echo "Doing install-pdf in make" ; \
30181 (cd $(HOST_SUBDIR)/make && \
30182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30184 "RANLIB=$${RANLIB}" \
30185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30186 install-pdf) \
30187 || exit 1
30189 @endif make
30191 .PHONY: maybe-install-html-make install-html-make
30192 maybe-install-html-make:
30193 @if make
30194 maybe-install-html-make: install-html-make
30196 install-html-make: \
30197 configure-make \
30198 html-make
30199 @: $(MAKE); $(unstage)
30200 @[ -f ./make/Makefile ] || exit 0; \
30201 r=`${PWD_COMMAND}`; export r; \
30202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30203 $(HOST_EXPORTS) \
30204 for flag in $(EXTRA_HOST_FLAGS) ; do \
30205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30206 done; \
30207 echo "Doing install-html in make" ; \
30208 (cd $(HOST_SUBDIR)/make && \
30209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30211 "RANLIB=$${RANLIB}" \
30212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30213 install-html) \
30214 || exit 1
30216 @endif make
30218 .PHONY: maybe-installcheck-make installcheck-make
30219 maybe-installcheck-make:
30220 @if make
30221 maybe-installcheck-make: installcheck-make
30223 installcheck-make: \
30224 configure-make
30225 @: $(MAKE); $(unstage)
30226 @[ -f ./make/Makefile ] || exit 0; \
30227 r=`${PWD_COMMAND}`; export r; \
30228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30229 $(HOST_EXPORTS) \
30230 for flag in $(EXTRA_HOST_FLAGS) ; do \
30231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30232 done; \
30233 echo "Doing installcheck in make" ; \
30234 (cd $(HOST_SUBDIR)/make && \
30235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30237 "RANLIB=$${RANLIB}" \
30238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30239 installcheck) \
30240 || exit 1
30242 @endif make
30244 .PHONY: maybe-mostlyclean-make mostlyclean-make
30245 maybe-mostlyclean-make:
30246 @if make
30247 maybe-mostlyclean-make: mostlyclean-make
30249 mostlyclean-make:
30250 @: $(MAKE); $(unstage)
30251 @[ -f ./make/Makefile ] || exit 0; \
30252 r=`${PWD_COMMAND}`; export r; \
30253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30254 $(HOST_EXPORTS) \
30255 for flag in $(EXTRA_HOST_FLAGS) ; do \
30256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30257 done; \
30258 echo "Doing mostlyclean in make" ; \
30259 (cd $(HOST_SUBDIR)/make && \
30260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30262 "RANLIB=$${RANLIB}" \
30263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30264 mostlyclean) \
30265 || exit 1
30267 @endif make
30269 .PHONY: maybe-clean-make clean-make
30270 maybe-clean-make:
30271 @if make
30272 maybe-clean-make: clean-make
30274 clean-make:
30275 @: $(MAKE); $(unstage)
30276 @[ -f ./make/Makefile ] || exit 0; \
30277 r=`${PWD_COMMAND}`; export r; \
30278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30279 $(HOST_EXPORTS) \
30280 for flag in $(EXTRA_HOST_FLAGS) ; do \
30281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30282 done; \
30283 echo "Doing clean in make" ; \
30284 (cd $(HOST_SUBDIR)/make && \
30285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30287 "RANLIB=$${RANLIB}" \
30288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30289 clean) \
30290 || exit 1
30292 @endif make
30294 .PHONY: maybe-distclean-make distclean-make
30295 maybe-distclean-make:
30296 @if make
30297 maybe-distclean-make: distclean-make
30299 distclean-make:
30300 @: $(MAKE); $(unstage)
30301 @[ -f ./make/Makefile ] || exit 0; \
30302 r=`${PWD_COMMAND}`; export r; \
30303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30304 $(HOST_EXPORTS) \
30305 for flag in $(EXTRA_HOST_FLAGS) ; do \
30306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30307 done; \
30308 echo "Doing distclean in make" ; \
30309 (cd $(HOST_SUBDIR)/make && \
30310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30312 "RANLIB=$${RANLIB}" \
30313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30314 distclean) \
30315 || exit 1
30317 @endif make
30319 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
30320 maybe-maintainer-clean-make:
30321 @if make
30322 maybe-maintainer-clean-make: maintainer-clean-make
30324 maintainer-clean-make:
30325 @: $(MAKE); $(unstage)
30326 @[ -f ./make/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 maintainer-clean in make" ; \
30334 (cd $(HOST_SUBDIR)/make && \
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 maintainer-clean) \
30340 || exit 1
30342 @endif make
30346 .PHONY: configure-mmalloc maybe-configure-mmalloc
30347 maybe-configure-mmalloc:
30348 @if gcc-bootstrap
30349 configure-mmalloc: stage_current
30350 @endif gcc-bootstrap
30351 @if mmalloc
30352 maybe-configure-mmalloc: configure-mmalloc
30353 configure-mmalloc:
30354 @: $(MAKE); $(unstage)
30355 @r=`${PWD_COMMAND}`; export r; \
30356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30357 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
30358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
30359 $(HOST_EXPORTS) \
30360 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
30361 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
30362 case $(srcdir) in \
30363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30364 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
30365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30366 esac; \
30367 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
30368 libsrcdir="$$s/mmalloc"; \
30369 $(SHELL) $${libsrcdir}/configure \
30370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30371 --target=${target_alias} $${srcdiroption} \
30372 || exit 1
30373 @endif mmalloc
30379 .PHONY: all-mmalloc maybe-all-mmalloc
30380 maybe-all-mmalloc:
30381 @if gcc-bootstrap
30382 all-mmalloc: stage_current
30383 @endif gcc-bootstrap
30384 @if mmalloc
30385 TARGET-mmalloc=all
30386 maybe-all-mmalloc: all-mmalloc
30387 all-mmalloc: configure-mmalloc
30388 @: $(MAKE); $(unstage)
30389 @r=`${PWD_COMMAND}`; export r; \
30390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30391 $(HOST_EXPORTS) \
30392 (cd $(HOST_SUBDIR)/mmalloc && \
30393 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30394 $(TARGET-mmalloc))
30395 @endif mmalloc
30400 .PHONY: check-mmalloc maybe-check-mmalloc
30401 maybe-check-mmalloc:
30402 @if mmalloc
30403 maybe-check-mmalloc: check-mmalloc
30405 check-mmalloc:
30407 @endif mmalloc
30409 .PHONY: install-mmalloc maybe-install-mmalloc
30410 maybe-install-mmalloc:
30411 @if mmalloc
30412 maybe-install-mmalloc: install-mmalloc
30414 install-mmalloc: installdirs
30415 @: $(MAKE); $(unstage)
30416 @r=`${PWD_COMMAND}`; export r; \
30417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30418 $(HOST_EXPORTS) \
30419 (cd $(HOST_SUBDIR)/mmalloc && \
30420 $(MAKE) $(FLAGS_TO_PASS) install)
30422 @endif mmalloc
30424 # Other targets (info, dvi, pdf, etc.)
30426 .PHONY: maybe-info-mmalloc info-mmalloc
30427 maybe-info-mmalloc:
30428 @if mmalloc
30429 maybe-info-mmalloc: info-mmalloc
30431 info-mmalloc: \
30432 configure-mmalloc
30433 @: $(MAKE); $(unstage)
30434 @[ -f ./mmalloc/Makefile ] || exit 0; \
30435 r=`${PWD_COMMAND}`; export r; \
30436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30437 $(HOST_EXPORTS) \
30438 for flag in $(EXTRA_HOST_FLAGS) ; do \
30439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30440 done; \
30441 echo "Doing info in mmalloc" ; \
30442 (cd $(HOST_SUBDIR)/mmalloc && \
30443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30445 "RANLIB=$${RANLIB}" \
30446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30447 info) \
30448 || exit 1
30450 @endif mmalloc
30452 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
30453 maybe-dvi-mmalloc:
30454 @if mmalloc
30455 maybe-dvi-mmalloc: dvi-mmalloc
30457 dvi-mmalloc: \
30458 configure-mmalloc
30459 @: $(MAKE); $(unstage)
30460 @[ -f ./mmalloc/Makefile ] || exit 0; \
30461 r=`${PWD_COMMAND}`; export r; \
30462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30463 $(HOST_EXPORTS) \
30464 for flag in $(EXTRA_HOST_FLAGS) ; do \
30465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30466 done; \
30467 echo "Doing dvi in mmalloc" ; \
30468 (cd $(HOST_SUBDIR)/mmalloc && \
30469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30471 "RANLIB=$${RANLIB}" \
30472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30473 dvi) \
30474 || exit 1
30476 @endif mmalloc
30478 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
30479 maybe-pdf-mmalloc:
30480 @if mmalloc
30481 maybe-pdf-mmalloc: pdf-mmalloc
30483 pdf-mmalloc: \
30484 configure-mmalloc
30485 @: $(MAKE); $(unstage)
30486 @[ -f ./mmalloc/Makefile ] || exit 0; \
30487 r=`${PWD_COMMAND}`; export r; \
30488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30489 $(HOST_EXPORTS) \
30490 for flag in $(EXTRA_HOST_FLAGS) ; do \
30491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30492 done; \
30493 echo "Doing pdf in mmalloc" ; \
30494 (cd $(HOST_SUBDIR)/mmalloc && \
30495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30497 "RANLIB=$${RANLIB}" \
30498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30499 pdf) \
30500 || exit 1
30502 @endif mmalloc
30504 .PHONY: maybe-html-mmalloc html-mmalloc
30505 maybe-html-mmalloc:
30506 @if mmalloc
30507 maybe-html-mmalloc: html-mmalloc
30509 html-mmalloc: \
30510 configure-mmalloc
30511 @: $(MAKE); $(unstage)
30512 @[ -f ./mmalloc/Makefile ] || exit 0; \
30513 r=`${PWD_COMMAND}`; export r; \
30514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30515 $(HOST_EXPORTS) \
30516 for flag in $(EXTRA_HOST_FLAGS) ; do \
30517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30518 done; \
30519 echo "Doing html in mmalloc" ; \
30520 (cd $(HOST_SUBDIR)/mmalloc && \
30521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30523 "RANLIB=$${RANLIB}" \
30524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30525 html) \
30526 || exit 1
30528 @endif mmalloc
30530 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
30531 maybe-TAGS-mmalloc:
30532 @if mmalloc
30533 maybe-TAGS-mmalloc: TAGS-mmalloc
30535 TAGS-mmalloc: \
30536 configure-mmalloc
30537 @: $(MAKE); $(unstage)
30538 @[ -f ./mmalloc/Makefile ] || exit 0; \
30539 r=`${PWD_COMMAND}`; export r; \
30540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30541 $(HOST_EXPORTS) \
30542 for flag in $(EXTRA_HOST_FLAGS) ; do \
30543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30544 done; \
30545 echo "Doing TAGS in mmalloc" ; \
30546 (cd $(HOST_SUBDIR)/mmalloc && \
30547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30549 "RANLIB=$${RANLIB}" \
30550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30551 TAGS) \
30552 || exit 1
30554 @endif mmalloc
30556 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
30557 maybe-install-info-mmalloc:
30558 @if mmalloc
30559 maybe-install-info-mmalloc: install-info-mmalloc
30561 install-info-mmalloc: \
30562 configure-mmalloc \
30563 info-mmalloc
30564 @: $(MAKE); $(unstage)
30565 @[ -f ./mmalloc/Makefile ] || exit 0; \
30566 r=`${PWD_COMMAND}`; export r; \
30567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30568 $(HOST_EXPORTS) \
30569 for flag in $(EXTRA_HOST_FLAGS) ; do \
30570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30571 done; \
30572 echo "Doing install-info in mmalloc" ; \
30573 (cd $(HOST_SUBDIR)/mmalloc && \
30574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30576 "RANLIB=$${RANLIB}" \
30577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30578 install-info) \
30579 || exit 1
30581 @endif mmalloc
30583 .PHONY: maybe-install-pdf-mmalloc install-pdf-mmalloc
30584 maybe-install-pdf-mmalloc:
30585 @if mmalloc
30586 maybe-install-pdf-mmalloc: install-pdf-mmalloc
30588 install-pdf-mmalloc: \
30589 configure-mmalloc \
30590 pdf-mmalloc
30591 @: $(MAKE); $(unstage)
30592 @[ -f ./mmalloc/Makefile ] || exit 0; \
30593 r=`${PWD_COMMAND}`; export r; \
30594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30595 $(HOST_EXPORTS) \
30596 for flag in $(EXTRA_HOST_FLAGS) ; do \
30597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30598 done; \
30599 echo "Doing install-pdf in mmalloc" ; \
30600 (cd $(HOST_SUBDIR)/mmalloc && \
30601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30603 "RANLIB=$${RANLIB}" \
30604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30605 install-pdf) \
30606 || exit 1
30608 @endif mmalloc
30610 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
30611 maybe-install-html-mmalloc:
30612 @if mmalloc
30613 maybe-install-html-mmalloc: install-html-mmalloc
30615 install-html-mmalloc: \
30616 configure-mmalloc \
30617 html-mmalloc
30618 @: $(MAKE); $(unstage)
30619 @[ -f ./mmalloc/Makefile ] || exit 0; \
30620 r=`${PWD_COMMAND}`; export r; \
30621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30622 $(HOST_EXPORTS) \
30623 for flag in $(EXTRA_HOST_FLAGS) ; do \
30624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30625 done; \
30626 echo "Doing install-html in mmalloc" ; \
30627 (cd $(HOST_SUBDIR)/mmalloc && \
30628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30630 "RANLIB=$${RANLIB}" \
30631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30632 install-html) \
30633 || exit 1
30635 @endif mmalloc
30637 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
30638 maybe-installcheck-mmalloc:
30639 @if mmalloc
30640 maybe-installcheck-mmalloc: installcheck-mmalloc
30642 installcheck-mmalloc: \
30643 configure-mmalloc
30644 @: $(MAKE); $(unstage)
30645 @[ -f ./mmalloc/Makefile ] || exit 0; \
30646 r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(HOST_EXPORTS) \
30649 for flag in $(EXTRA_HOST_FLAGS) ; do \
30650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30651 done; \
30652 echo "Doing installcheck in mmalloc" ; \
30653 (cd $(HOST_SUBDIR)/mmalloc && \
30654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30656 "RANLIB=$${RANLIB}" \
30657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30658 installcheck) \
30659 || exit 1
30661 @endif mmalloc
30663 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
30664 maybe-mostlyclean-mmalloc:
30665 @if mmalloc
30666 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
30668 mostlyclean-mmalloc:
30669 @: $(MAKE); $(unstage)
30670 @[ -f ./mmalloc/Makefile ] || exit 0; \
30671 r=`${PWD_COMMAND}`; export r; \
30672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30673 $(HOST_EXPORTS) \
30674 for flag in $(EXTRA_HOST_FLAGS) ; do \
30675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30676 done; \
30677 echo "Doing mostlyclean in mmalloc" ; \
30678 (cd $(HOST_SUBDIR)/mmalloc && \
30679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30681 "RANLIB=$${RANLIB}" \
30682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30683 mostlyclean) \
30684 || exit 1
30686 @endif mmalloc
30688 .PHONY: maybe-clean-mmalloc clean-mmalloc
30689 maybe-clean-mmalloc:
30690 @if mmalloc
30691 maybe-clean-mmalloc: clean-mmalloc
30693 clean-mmalloc:
30694 @: $(MAKE); $(unstage)
30695 @[ -f ./mmalloc/Makefile ] || exit 0; \
30696 r=`${PWD_COMMAND}`; export r; \
30697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30698 $(HOST_EXPORTS) \
30699 for flag in $(EXTRA_HOST_FLAGS) ; do \
30700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30701 done; \
30702 echo "Doing clean in mmalloc" ; \
30703 (cd $(HOST_SUBDIR)/mmalloc && \
30704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30706 "RANLIB=$${RANLIB}" \
30707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30708 clean) \
30709 || exit 1
30711 @endif mmalloc
30713 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
30714 maybe-distclean-mmalloc:
30715 @if mmalloc
30716 maybe-distclean-mmalloc: distclean-mmalloc
30718 distclean-mmalloc:
30719 @: $(MAKE); $(unstage)
30720 @[ -f ./mmalloc/Makefile ] || exit 0; \
30721 r=`${PWD_COMMAND}`; export r; \
30722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30723 $(HOST_EXPORTS) \
30724 for flag in $(EXTRA_HOST_FLAGS) ; do \
30725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30726 done; \
30727 echo "Doing distclean in mmalloc" ; \
30728 (cd $(HOST_SUBDIR)/mmalloc && \
30729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30731 "RANLIB=$${RANLIB}" \
30732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30733 distclean) \
30734 || exit 1
30736 @endif mmalloc
30738 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
30739 maybe-maintainer-clean-mmalloc:
30740 @if mmalloc
30741 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
30743 maintainer-clean-mmalloc:
30744 @: $(MAKE); $(unstage)
30745 @[ -f ./mmalloc/Makefile ] || exit 0; \
30746 r=`${PWD_COMMAND}`; export r; \
30747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30748 $(HOST_EXPORTS) \
30749 for flag in $(EXTRA_HOST_FLAGS) ; do \
30750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30751 done; \
30752 echo "Doing maintainer-clean in mmalloc" ; \
30753 (cd $(HOST_SUBDIR)/mmalloc && \
30754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30756 "RANLIB=$${RANLIB}" \
30757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30758 maintainer-clean) \
30759 || exit 1
30761 @endif mmalloc
30765 .PHONY: configure-patch maybe-configure-patch
30766 maybe-configure-patch:
30767 @if gcc-bootstrap
30768 configure-patch: stage_current
30769 @endif gcc-bootstrap
30770 @if patch
30771 maybe-configure-patch: configure-patch
30772 configure-patch:
30773 @: $(MAKE); $(unstage)
30774 @r=`${PWD_COMMAND}`; export r; \
30775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30776 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
30777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
30778 $(HOST_EXPORTS) \
30779 echo Configuring in $(HOST_SUBDIR)/patch; \
30780 cd "$(HOST_SUBDIR)/patch" || exit 1; \
30781 case $(srcdir) in \
30782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30783 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
30784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30785 esac; \
30786 srcdiroption="--srcdir=$${topdir}/patch"; \
30787 libsrcdir="$$s/patch"; \
30788 $(SHELL) $${libsrcdir}/configure \
30789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30790 --target=${target_alias} $${srcdiroption} \
30791 || exit 1
30792 @endif patch
30798 .PHONY: all-patch maybe-all-patch
30799 maybe-all-patch:
30800 @if gcc-bootstrap
30801 all-patch: stage_current
30802 @endif gcc-bootstrap
30803 @if patch
30804 TARGET-patch=all
30805 maybe-all-patch: all-patch
30806 all-patch: configure-patch
30807 @: $(MAKE); $(unstage)
30808 @r=`${PWD_COMMAND}`; export r; \
30809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30810 $(HOST_EXPORTS) \
30811 (cd $(HOST_SUBDIR)/patch && \
30812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30813 $(TARGET-patch))
30814 @endif patch
30819 .PHONY: check-patch maybe-check-patch
30820 maybe-check-patch:
30821 @if patch
30822 maybe-check-patch: check-patch
30824 check-patch:
30825 @: $(MAKE); $(unstage)
30826 @r=`${PWD_COMMAND}`; export r; \
30827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30828 $(HOST_EXPORTS) \
30829 (cd $(HOST_SUBDIR)/patch && \
30830 $(MAKE) $(FLAGS_TO_PASS) check)
30832 @endif patch
30834 .PHONY: install-patch maybe-install-patch
30835 maybe-install-patch:
30836 @if patch
30837 maybe-install-patch: install-patch
30839 install-patch: installdirs
30840 @: $(MAKE); $(unstage)
30841 @r=`${PWD_COMMAND}`; export r; \
30842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30843 $(HOST_EXPORTS) \
30844 (cd $(HOST_SUBDIR)/patch && \
30845 $(MAKE) $(FLAGS_TO_PASS) install)
30847 @endif patch
30849 # Other targets (info, dvi, pdf, etc.)
30851 .PHONY: maybe-info-patch info-patch
30852 maybe-info-patch:
30853 @if patch
30854 maybe-info-patch: info-patch
30856 info-patch: \
30857 configure-patch
30858 @: $(MAKE); $(unstage)
30859 @[ -f ./patch/Makefile ] || exit 0; \
30860 r=`${PWD_COMMAND}`; export r; \
30861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30862 $(HOST_EXPORTS) \
30863 for flag in $(EXTRA_HOST_FLAGS) ; do \
30864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30865 done; \
30866 echo "Doing info in patch" ; \
30867 (cd $(HOST_SUBDIR)/patch && \
30868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30870 "RANLIB=$${RANLIB}" \
30871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30872 info) \
30873 || exit 1
30875 @endif patch
30877 .PHONY: maybe-dvi-patch dvi-patch
30878 maybe-dvi-patch:
30879 @if patch
30880 maybe-dvi-patch: dvi-patch
30882 dvi-patch: \
30883 configure-patch
30884 @: $(MAKE); $(unstage)
30885 @[ -f ./patch/Makefile ] || exit 0; \
30886 r=`${PWD_COMMAND}`; export r; \
30887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30888 $(HOST_EXPORTS) \
30889 for flag in $(EXTRA_HOST_FLAGS) ; do \
30890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30891 done; \
30892 echo "Doing dvi in patch" ; \
30893 (cd $(HOST_SUBDIR)/patch && \
30894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30896 "RANLIB=$${RANLIB}" \
30897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30898 dvi) \
30899 || exit 1
30901 @endif patch
30903 .PHONY: maybe-pdf-patch pdf-patch
30904 maybe-pdf-patch:
30905 @if patch
30906 maybe-pdf-patch: pdf-patch
30908 pdf-patch: \
30909 configure-patch
30910 @: $(MAKE); $(unstage)
30911 @[ -f ./patch/Makefile ] || exit 0; \
30912 r=`${PWD_COMMAND}`; export r; \
30913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30914 $(HOST_EXPORTS) \
30915 for flag in $(EXTRA_HOST_FLAGS) ; do \
30916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30917 done; \
30918 echo "Doing pdf in patch" ; \
30919 (cd $(HOST_SUBDIR)/patch && \
30920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30922 "RANLIB=$${RANLIB}" \
30923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30924 pdf) \
30925 || exit 1
30927 @endif patch
30929 .PHONY: maybe-html-patch html-patch
30930 maybe-html-patch:
30931 @if patch
30932 maybe-html-patch: html-patch
30934 html-patch: \
30935 configure-patch
30936 @: $(MAKE); $(unstage)
30937 @[ -f ./patch/Makefile ] || exit 0; \
30938 r=`${PWD_COMMAND}`; export r; \
30939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30940 $(HOST_EXPORTS) \
30941 for flag in $(EXTRA_HOST_FLAGS) ; do \
30942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30943 done; \
30944 echo "Doing html in patch" ; \
30945 (cd $(HOST_SUBDIR)/patch && \
30946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30948 "RANLIB=$${RANLIB}" \
30949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30950 html) \
30951 || exit 1
30953 @endif patch
30955 .PHONY: maybe-TAGS-patch TAGS-patch
30956 maybe-TAGS-patch:
30957 @if patch
30958 maybe-TAGS-patch: TAGS-patch
30960 TAGS-patch: \
30961 configure-patch
30962 @: $(MAKE); $(unstage)
30963 @[ -f ./patch/Makefile ] || exit 0; \
30964 r=`${PWD_COMMAND}`; export r; \
30965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30966 $(HOST_EXPORTS) \
30967 for flag in $(EXTRA_HOST_FLAGS) ; do \
30968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30969 done; \
30970 echo "Doing TAGS in patch" ; \
30971 (cd $(HOST_SUBDIR)/patch && \
30972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30974 "RANLIB=$${RANLIB}" \
30975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30976 TAGS) \
30977 || exit 1
30979 @endif patch
30981 .PHONY: maybe-install-info-patch install-info-patch
30982 maybe-install-info-patch:
30983 @if patch
30984 maybe-install-info-patch: install-info-patch
30986 install-info-patch: \
30987 configure-patch \
30988 info-patch
30989 @: $(MAKE); $(unstage)
30990 @[ -f ./patch/Makefile ] || exit 0; \
30991 r=`${PWD_COMMAND}`; export r; \
30992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30993 $(HOST_EXPORTS) \
30994 for flag in $(EXTRA_HOST_FLAGS) ; do \
30995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30996 done; \
30997 echo "Doing install-info in patch" ; \
30998 (cd $(HOST_SUBDIR)/patch && \
30999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31001 "RANLIB=$${RANLIB}" \
31002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31003 install-info) \
31004 || exit 1
31006 @endif patch
31008 .PHONY: maybe-install-pdf-patch install-pdf-patch
31009 maybe-install-pdf-patch:
31010 @if patch
31011 maybe-install-pdf-patch: install-pdf-patch
31013 install-pdf-patch: \
31014 configure-patch \
31015 pdf-patch
31016 @: $(MAKE); $(unstage)
31017 @[ -f ./patch/Makefile ] || exit 0; \
31018 r=`${PWD_COMMAND}`; export r; \
31019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31020 $(HOST_EXPORTS) \
31021 for flag in $(EXTRA_HOST_FLAGS) ; do \
31022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31023 done; \
31024 echo "Doing install-pdf in patch" ; \
31025 (cd $(HOST_SUBDIR)/patch && \
31026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31028 "RANLIB=$${RANLIB}" \
31029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31030 install-pdf) \
31031 || exit 1
31033 @endif patch
31035 .PHONY: maybe-install-html-patch install-html-patch
31036 maybe-install-html-patch:
31037 @if patch
31038 maybe-install-html-patch: install-html-patch
31040 install-html-patch: \
31041 configure-patch \
31042 html-patch
31043 @: $(MAKE); $(unstage)
31044 @[ -f ./patch/Makefile ] || exit 0; \
31045 r=`${PWD_COMMAND}`; export r; \
31046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31047 $(HOST_EXPORTS) \
31048 for flag in $(EXTRA_HOST_FLAGS) ; do \
31049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31050 done; \
31051 echo "Doing install-html in patch" ; \
31052 (cd $(HOST_SUBDIR)/patch && \
31053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31055 "RANLIB=$${RANLIB}" \
31056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31057 install-html) \
31058 || exit 1
31060 @endif patch
31062 .PHONY: maybe-installcheck-patch installcheck-patch
31063 maybe-installcheck-patch:
31064 @if patch
31065 maybe-installcheck-patch: installcheck-patch
31067 installcheck-patch: \
31068 configure-patch
31069 @: $(MAKE); $(unstage)
31070 @[ -f ./patch/Makefile ] || exit 0; \
31071 r=`${PWD_COMMAND}`; export r; \
31072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31073 $(HOST_EXPORTS) \
31074 for flag in $(EXTRA_HOST_FLAGS) ; do \
31075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31076 done; \
31077 echo "Doing installcheck in patch" ; \
31078 (cd $(HOST_SUBDIR)/patch && \
31079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31081 "RANLIB=$${RANLIB}" \
31082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31083 installcheck) \
31084 || exit 1
31086 @endif patch
31088 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
31089 maybe-mostlyclean-patch:
31090 @if patch
31091 maybe-mostlyclean-patch: mostlyclean-patch
31093 mostlyclean-patch:
31094 @: $(MAKE); $(unstage)
31095 @[ -f ./patch/Makefile ] || exit 0; \
31096 r=`${PWD_COMMAND}`; export r; \
31097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31098 $(HOST_EXPORTS) \
31099 for flag in $(EXTRA_HOST_FLAGS) ; do \
31100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31101 done; \
31102 echo "Doing mostlyclean in patch" ; \
31103 (cd $(HOST_SUBDIR)/patch && \
31104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31106 "RANLIB=$${RANLIB}" \
31107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31108 mostlyclean) \
31109 || exit 1
31111 @endif patch
31113 .PHONY: maybe-clean-patch clean-patch
31114 maybe-clean-patch:
31115 @if patch
31116 maybe-clean-patch: clean-patch
31118 clean-patch:
31119 @: $(MAKE); $(unstage)
31120 @[ -f ./patch/Makefile ] || exit 0; \
31121 r=`${PWD_COMMAND}`; export r; \
31122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31123 $(HOST_EXPORTS) \
31124 for flag in $(EXTRA_HOST_FLAGS) ; do \
31125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31126 done; \
31127 echo "Doing clean in patch" ; \
31128 (cd $(HOST_SUBDIR)/patch && \
31129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31131 "RANLIB=$${RANLIB}" \
31132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31133 clean) \
31134 || exit 1
31136 @endif patch
31138 .PHONY: maybe-distclean-patch distclean-patch
31139 maybe-distclean-patch:
31140 @if patch
31141 maybe-distclean-patch: distclean-patch
31143 distclean-patch:
31144 @: $(MAKE); $(unstage)
31145 @[ -f ./patch/Makefile ] || exit 0; \
31146 r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(HOST_EXPORTS) \
31149 for flag in $(EXTRA_HOST_FLAGS) ; do \
31150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31151 done; \
31152 echo "Doing distclean in patch" ; \
31153 (cd $(HOST_SUBDIR)/patch && \
31154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31156 "RANLIB=$${RANLIB}" \
31157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31158 distclean) \
31159 || exit 1
31161 @endif patch
31163 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
31164 maybe-maintainer-clean-patch:
31165 @if patch
31166 maybe-maintainer-clean-patch: maintainer-clean-patch
31168 maintainer-clean-patch:
31169 @: $(MAKE); $(unstage)
31170 @[ -f ./patch/Makefile ] || exit 0; \
31171 r=`${PWD_COMMAND}`; export r; \
31172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31173 $(HOST_EXPORTS) \
31174 for flag in $(EXTRA_HOST_FLAGS) ; do \
31175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31176 done; \
31177 echo "Doing maintainer-clean in patch" ; \
31178 (cd $(HOST_SUBDIR)/patch && \
31179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31181 "RANLIB=$${RANLIB}" \
31182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31183 maintainer-clean) \
31184 || exit 1
31186 @endif patch
31190 .PHONY: configure-perl maybe-configure-perl
31191 maybe-configure-perl:
31192 @if gcc-bootstrap
31193 configure-perl: stage_current
31194 @endif gcc-bootstrap
31195 @if perl
31196 maybe-configure-perl: configure-perl
31197 configure-perl:
31198 @: $(MAKE); $(unstage)
31199 @r=`${PWD_COMMAND}`; export r; \
31200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31201 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
31202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
31203 $(HOST_EXPORTS) \
31204 echo Configuring in $(HOST_SUBDIR)/perl; \
31205 cd "$(HOST_SUBDIR)/perl" || exit 1; \
31206 case $(srcdir) in \
31207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31208 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
31209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31210 esac; \
31211 srcdiroption="--srcdir=$${topdir}/perl"; \
31212 libsrcdir="$$s/perl"; \
31213 $(SHELL) $${libsrcdir}/configure \
31214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31215 --target=${target_alias} $${srcdiroption} \
31216 || exit 1
31217 @endif perl
31223 .PHONY: all-perl maybe-all-perl
31224 maybe-all-perl:
31225 @if gcc-bootstrap
31226 all-perl: stage_current
31227 @endif gcc-bootstrap
31228 @if perl
31229 TARGET-perl=all
31230 maybe-all-perl: all-perl
31231 all-perl: configure-perl
31232 @: $(MAKE); $(unstage)
31233 @r=`${PWD_COMMAND}`; export r; \
31234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31235 $(HOST_EXPORTS) \
31236 (cd $(HOST_SUBDIR)/perl && \
31237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31238 $(TARGET-perl))
31239 @endif perl
31244 .PHONY: check-perl maybe-check-perl
31245 maybe-check-perl:
31246 @if perl
31247 maybe-check-perl: check-perl
31249 check-perl:
31250 @: $(MAKE); $(unstage)
31251 @r=`${PWD_COMMAND}`; export r; \
31252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31253 $(HOST_EXPORTS) \
31254 (cd $(HOST_SUBDIR)/perl && \
31255 $(MAKE) $(FLAGS_TO_PASS) check)
31257 @endif perl
31259 .PHONY: install-perl maybe-install-perl
31260 maybe-install-perl:
31261 @if perl
31262 maybe-install-perl: install-perl
31264 install-perl: installdirs
31265 @: $(MAKE); $(unstage)
31266 @r=`${PWD_COMMAND}`; export r; \
31267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31268 $(HOST_EXPORTS) \
31269 (cd $(HOST_SUBDIR)/perl && \
31270 $(MAKE) $(FLAGS_TO_PASS) install)
31272 @endif perl
31274 # Other targets (info, dvi, pdf, etc.)
31276 .PHONY: maybe-info-perl info-perl
31277 maybe-info-perl:
31278 @if perl
31279 maybe-info-perl: info-perl
31281 info-perl: \
31282 configure-perl
31283 @: $(MAKE); $(unstage)
31284 @[ -f ./perl/Makefile ] || exit 0; \
31285 r=`${PWD_COMMAND}`; export r; \
31286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31287 $(HOST_EXPORTS) \
31288 for flag in $(EXTRA_HOST_FLAGS) ; do \
31289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31290 done; \
31291 echo "Doing info in perl" ; \
31292 (cd $(HOST_SUBDIR)/perl && \
31293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31295 "RANLIB=$${RANLIB}" \
31296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31297 info) \
31298 || exit 1
31300 @endif perl
31302 .PHONY: maybe-dvi-perl dvi-perl
31303 maybe-dvi-perl:
31304 @if perl
31305 maybe-dvi-perl: dvi-perl
31307 dvi-perl: \
31308 configure-perl
31309 @: $(MAKE); $(unstage)
31310 @[ -f ./perl/Makefile ] || exit 0; \
31311 r=`${PWD_COMMAND}`; export r; \
31312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31313 $(HOST_EXPORTS) \
31314 for flag in $(EXTRA_HOST_FLAGS) ; do \
31315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31316 done; \
31317 echo "Doing dvi in perl" ; \
31318 (cd $(HOST_SUBDIR)/perl && \
31319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31321 "RANLIB=$${RANLIB}" \
31322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31323 dvi) \
31324 || exit 1
31326 @endif perl
31328 .PHONY: maybe-pdf-perl pdf-perl
31329 maybe-pdf-perl:
31330 @if perl
31331 maybe-pdf-perl: pdf-perl
31333 pdf-perl: \
31334 configure-perl
31335 @: $(MAKE); $(unstage)
31336 @[ -f ./perl/Makefile ] || exit 0; \
31337 r=`${PWD_COMMAND}`; export r; \
31338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31339 $(HOST_EXPORTS) \
31340 for flag in $(EXTRA_HOST_FLAGS) ; do \
31341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31342 done; \
31343 echo "Doing pdf in perl" ; \
31344 (cd $(HOST_SUBDIR)/perl && \
31345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31347 "RANLIB=$${RANLIB}" \
31348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31349 pdf) \
31350 || exit 1
31352 @endif perl
31354 .PHONY: maybe-html-perl html-perl
31355 maybe-html-perl:
31356 @if perl
31357 maybe-html-perl: html-perl
31359 html-perl: \
31360 configure-perl
31361 @: $(MAKE); $(unstage)
31362 @[ -f ./perl/Makefile ] || exit 0; \
31363 r=`${PWD_COMMAND}`; export r; \
31364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31365 $(HOST_EXPORTS) \
31366 for flag in $(EXTRA_HOST_FLAGS) ; do \
31367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31368 done; \
31369 echo "Doing html in perl" ; \
31370 (cd $(HOST_SUBDIR)/perl && \
31371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31373 "RANLIB=$${RANLIB}" \
31374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31375 html) \
31376 || exit 1
31378 @endif perl
31380 .PHONY: maybe-TAGS-perl TAGS-perl
31381 maybe-TAGS-perl:
31382 @if perl
31383 maybe-TAGS-perl: TAGS-perl
31385 TAGS-perl: \
31386 configure-perl
31387 @: $(MAKE); $(unstage)
31388 @[ -f ./perl/Makefile ] || exit 0; \
31389 r=`${PWD_COMMAND}`; export r; \
31390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31391 $(HOST_EXPORTS) \
31392 for flag in $(EXTRA_HOST_FLAGS) ; do \
31393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31394 done; \
31395 echo "Doing TAGS in perl" ; \
31396 (cd $(HOST_SUBDIR)/perl && \
31397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31399 "RANLIB=$${RANLIB}" \
31400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31401 TAGS) \
31402 || exit 1
31404 @endif perl
31406 .PHONY: maybe-install-info-perl install-info-perl
31407 maybe-install-info-perl:
31408 @if perl
31409 maybe-install-info-perl: install-info-perl
31411 install-info-perl: \
31412 configure-perl \
31413 info-perl
31414 @: $(MAKE); $(unstage)
31415 @[ -f ./perl/Makefile ] || exit 0; \
31416 r=`${PWD_COMMAND}`; export r; \
31417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31418 $(HOST_EXPORTS) \
31419 for flag in $(EXTRA_HOST_FLAGS) ; do \
31420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31421 done; \
31422 echo "Doing install-info in perl" ; \
31423 (cd $(HOST_SUBDIR)/perl && \
31424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31426 "RANLIB=$${RANLIB}" \
31427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31428 install-info) \
31429 || exit 1
31431 @endif perl
31433 .PHONY: maybe-install-pdf-perl install-pdf-perl
31434 maybe-install-pdf-perl:
31435 @if perl
31436 maybe-install-pdf-perl: install-pdf-perl
31438 install-pdf-perl: \
31439 configure-perl \
31440 pdf-perl
31441 @: $(MAKE); $(unstage)
31442 @[ -f ./perl/Makefile ] || exit 0; \
31443 r=`${PWD_COMMAND}`; export r; \
31444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31445 $(HOST_EXPORTS) \
31446 for flag in $(EXTRA_HOST_FLAGS) ; do \
31447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31448 done; \
31449 echo "Doing install-pdf in perl" ; \
31450 (cd $(HOST_SUBDIR)/perl && \
31451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31453 "RANLIB=$${RANLIB}" \
31454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31455 install-pdf) \
31456 || exit 1
31458 @endif perl
31460 .PHONY: maybe-install-html-perl install-html-perl
31461 maybe-install-html-perl:
31462 @if perl
31463 maybe-install-html-perl: install-html-perl
31465 install-html-perl: \
31466 configure-perl \
31467 html-perl
31468 @: $(MAKE); $(unstage)
31469 @[ -f ./perl/Makefile ] || exit 0; \
31470 r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(HOST_EXPORTS) \
31473 for flag in $(EXTRA_HOST_FLAGS) ; do \
31474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31475 done; \
31476 echo "Doing install-html in perl" ; \
31477 (cd $(HOST_SUBDIR)/perl && \
31478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31480 "RANLIB=$${RANLIB}" \
31481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31482 install-html) \
31483 || exit 1
31485 @endif perl
31487 .PHONY: maybe-installcheck-perl installcheck-perl
31488 maybe-installcheck-perl:
31489 @if perl
31490 maybe-installcheck-perl: installcheck-perl
31492 installcheck-perl: \
31493 configure-perl
31494 @: $(MAKE); $(unstage)
31495 @[ -f ./perl/Makefile ] || exit 0; \
31496 r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(HOST_EXPORTS) \
31499 for flag in $(EXTRA_HOST_FLAGS) ; do \
31500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31501 done; \
31502 echo "Doing installcheck in perl" ; \
31503 (cd $(HOST_SUBDIR)/perl && \
31504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31506 "RANLIB=$${RANLIB}" \
31507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31508 installcheck) \
31509 || exit 1
31511 @endif perl
31513 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
31514 maybe-mostlyclean-perl:
31515 @if perl
31516 maybe-mostlyclean-perl: mostlyclean-perl
31518 mostlyclean-perl:
31519 @: $(MAKE); $(unstage)
31520 @[ -f ./perl/Makefile ] || exit 0; \
31521 r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(HOST_EXPORTS) \
31524 for flag in $(EXTRA_HOST_FLAGS) ; do \
31525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31526 done; \
31527 echo "Doing mostlyclean in perl" ; \
31528 (cd $(HOST_SUBDIR)/perl && \
31529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31531 "RANLIB=$${RANLIB}" \
31532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31533 mostlyclean) \
31534 || exit 1
31536 @endif perl
31538 .PHONY: maybe-clean-perl clean-perl
31539 maybe-clean-perl:
31540 @if perl
31541 maybe-clean-perl: clean-perl
31543 clean-perl:
31544 @: $(MAKE); $(unstage)
31545 @[ -f ./perl/Makefile ] || exit 0; \
31546 r=`${PWD_COMMAND}`; export r; \
31547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31548 $(HOST_EXPORTS) \
31549 for flag in $(EXTRA_HOST_FLAGS) ; do \
31550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31551 done; \
31552 echo "Doing clean in perl" ; \
31553 (cd $(HOST_SUBDIR)/perl && \
31554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31556 "RANLIB=$${RANLIB}" \
31557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31558 clean) \
31559 || exit 1
31561 @endif perl
31563 .PHONY: maybe-distclean-perl distclean-perl
31564 maybe-distclean-perl:
31565 @if perl
31566 maybe-distclean-perl: distclean-perl
31568 distclean-perl:
31569 @: $(MAKE); $(unstage)
31570 @[ -f ./perl/Makefile ] || exit 0; \
31571 r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(HOST_EXPORTS) \
31574 for flag in $(EXTRA_HOST_FLAGS) ; do \
31575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31576 done; \
31577 echo "Doing distclean in perl" ; \
31578 (cd $(HOST_SUBDIR)/perl && \
31579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31581 "RANLIB=$${RANLIB}" \
31582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31583 distclean) \
31584 || exit 1
31586 @endif perl
31588 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
31589 maybe-maintainer-clean-perl:
31590 @if perl
31591 maybe-maintainer-clean-perl: maintainer-clean-perl
31593 maintainer-clean-perl:
31594 @: $(MAKE); $(unstage)
31595 @[ -f ./perl/Makefile ] || exit 0; \
31596 r=`${PWD_COMMAND}`; export r; \
31597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31598 $(HOST_EXPORTS) \
31599 for flag in $(EXTRA_HOST_FLAGS) ; do \
31600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31601 done; \
31602 echo "Doing maintainer-clean in perl" ; \
31603 (cd $(HOST_SUBDIR)/perl && \
31604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31606 "RANLIB=$${RANLIB}" \
31607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31608 maintainer-clean) \
31609 || exit 1
31611 @endif perl
31615 .PHONY: configure-prms maybe-configure-prms
31616 maybe-configure-prms:
31617 @if gcc-bootstrap
31618 configure-prms: stage_current
31619 @endif gcc-bootstrap
31620 @if prms
31621 maybe-configure-prms: configure-prms
31622 configure-prms:
31623 @: $(MAKE); $(unstage)
31624 @r=`${PWD_COMMAND}`; export r; \
31625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31626 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
31627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
31628 $(HOST_EXPORTS) \
31629 echo Configuring in $(HOST_SUBDIR)/prms; \
31630 cd "$(HOST_SUBDIR)/prms" || exit 1; \
31631 case $(srcdir) in \
31632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31633 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
31634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31635 esac; \
31636 srcdiroption="--srcdir=$${topdir}/prms"; \
31637 libsrcdir="$$s/prms"; \
31638 $(SHELL) $${libsrcdir}/configure \
31639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31640 --target=${target_alias} $${srcdiroption} \
31641 || exit 1
31642 @endif prms
31648 .PHONY: all-prms maybe-all-prms
31649 maybe-all-prms:
31650 @if gcc-bootstrap
31651 all-prms: stage_current
31652 @endif gcc-bootstrap
31653 @if prms
31654 TARGET-prms=all
31655 maybe-all-prms: all-prms
31656 all-prms: configure-prms
31657 @: $(MAKE); $(unstage)
31658 @r=`${PWD_COMMAND}`; export r; \
31659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31660 $(HOST_EXPORTS) \
31661 (cd $(HOST_SUBDIR)/prms && \
31662 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31663 $(TARGET-prms))
31664 @endif prms
31669 .PHONY: check-prms maybe-check-prms
31670 maybe-check-prms:
31671 @if prms
31672 maybe-check-prms: check-prms
31674 check-prms:
31675 @: $(MAKE); $(unstage)
31676 @r=`${PWD_COMMAND}`; export r; \
31677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31678 $(HOST_EXPORTS) \
31679 (cd $(HOST_SUBDIR)/prms && \
31680 $(MAKE) $(FLAGS_TO_PASS) check)
31682 @endif prms
31684 .PHONY: install-prms maybe-install-prms
31685 maybe-install-prms:
31686 @if prms
31687 maybe-install-prms: install-prms
31689 install-prms: installdirs
31690 @: $(MAKE); $(unstage)
31691 @r=`${PWD_COMMAND}`; export r; \
31692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31693 $(HOST_EXPORTS) \
31694 (cd $(HOST_SUBDIR)/prms && \
31695 $(MAKE) $(FLAGS_TO_PASS) install)
31697 @endif prms
31699 # Other targets (info, dvi, pdf, etc.)
31701 .PHONY: maybe-info-prms info-prms
31702 maybe-info-prms:
31703 @if prms
31704 maybe-info-prms: info-prms
31706 info-prms: \
31707 configure-prms
31708 @: $(MAKE); $(unstage)
31709 @[ -f ./prms/Makefile ] || exit 0; \
31710 r=`${PWD_COMMAND}`; export r; \
31711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31712 $(HOST_EXPORTS) \
31713 for flag in $(EXTRA_HOST_FLAGS) ; do \
31714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31715 done; \
31716 echo "Doing info in prms" ; \
31717 (cd $(HOST_SUBDIR)/prms && \
31718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31720 "RANLIB=$${RANLIB}" \
31721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31722 info) \
31723 || exit 1
31725 @endif prms
31727 .PHONY: maybe-dvi-prms dvi-prms
31728 maybe-dvi-prms:
31729 @if prms
31730 maybe-dvi-prms: dvi-prms
31732 dvi-prms: \
31733 configure-prms
31734 @: $(MAKE); $(unstage)
31735 @[ -f ./prms/Makefile ] || exit 0; \
31736 r=`${PWD_COMMAND}`; export r; \
31737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31738 $(HOST_EXPORTS) \
31739 for flag in $(EXTRA_HOST_FLAGS) ; do \
31740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31741 done; \
31742 echo "Doing dvi in prms" ; \
31743 (cd $(HOST_SUBDIR)/prms && \
31744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31746 "RANLIB=$${RANLIB}" \
31747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31748 dvi) \
31749 || exit 1
31751 @endif prms
31753 .PHONY: maybe-pdf-prms pdf-prms
31754 maybe-pdf-prms:
31755 @if prms
31756 maybe-pdf-prms: pdf-prms
31758 pdf-prms: \
31759 configure-prms
31760 @: $(MAKE); $(unstage)
31761 @[ -f ./prms/Makefile ] || exit 0; \
31762 r=`${PWD_COMMAND}`; export r; \
31763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31764 $(HOST_EXPORTS) \
31765 for flag in $(EXTRA_HOST_FLAGS) ; do \
31766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31767 done; \
31768 echo "Doing pdf in prms" ; \
31769 (cd $(HOST_SUBDIR)/prms && \
31770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31772 "RANLIB=$${RANLIB}" \
31773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31774 pdf) \
31775 || exit 1
31777 @endif prms
31779 .PHONY: maybe-html-prms html-prms
31780 maybe-html-prms:
31781 @if prms
31782 maybe-html-prms: html-prms
31784 html-prms: \
31785 configure-prms
31786 @: $(MAKE); $(unstage)
31787 @[ -f ./prms/Makefile ] || exit 0; \
31788 r=`${PWD_COMMAND}`; export r; \
31789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31790 $(HOST_EXPORTS) \
31791 for flag in $(EXTRA_HOST_FLAGS) ; do \
31792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31793 done; \
31794 echo "Doing html in prms" ; \
31795 (cd $(HOST_SUBDIR)/prms && \
31796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31798 "RANLIB=$${RANLIB}" \
31799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31800 html) \
31801 || exit 1
31803 @endif prms
31805 .PHONY: maybe-TAGS-prms TAGS-prms
31806 maybe-TAGS-prms:
31807 @if prms
31808 maybe-TAGS-prms: TAGS-prms
31810 TAGS-prms: \
31811 configure-prms
31812 @: $(MAKE); $(unstage)
31813 @[ -f ./prms/Makefile ] || exit 0; \
31814 r=`${PWD_COMMAND}`; export r; \
31815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31816 $(HOST_EXPORTS) \
31817 for flag in $(EXTRA_HOST_FLAGS) ; do \
31818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31819 done; \
31820 echo "Doing TAGS in prms" ; \
31821 (cd $(HOST_SUBDIR)/prms && \
31822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31824 "RANLIB=$${RANLIB}" \
31825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31826 TAGS) \
31827 || exit 1
31829 @endif prms
31831 .PHONY: maybe-install-info-prms install-info-prms
31832 maybe-install-info-prms:
31833 @if prms
31834 maybe-install-info-prms: install-info-prms
31836 install-info-prms: \
31837 configure-prms \
31838 info-prms
31839 @: $(MAKE); $(unstage)
31840 @[ -f ./prms/Makefile ] || exit 0; \
31841 r=`${PWD_COMMAND}`; export r; \
31842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31843 $(HOST_EXPORTS) \
31844 for flag in $(EXTRA_HOST_FLAGS) ; do \
31845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31846 done; \
31847 echo "Doing install-info in prms" ; \
31848 (cd $(HOST_SUBDIR)/prms && \
31849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31851 "RANLIB=$${RANLIB}" \
31852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31853 install-info) \
31854 || exit 1
31856 @endif prms
31858 .PHONY: maybe-install-pdf-prms install-pdf-prms
31859 maybe-install-pdf-prms:
31860 @if prms
31861 maybe-install-pdf-prms: install-pdf-prms
31863 install-pdf-prms: \
31864 configure-prms \
31865 pdf-prms
31866 @: $(MAKE); $(unstage)
31867 @[ -f ./prms/Makefile ] || exit 0; \
31868 r=`${PWD_COMMAND}`; export r; \
31869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31870 $(HOST_EXPORTS) \
31871 for flag in $(EXTRA_HOST_FLAGS) ; do \
31872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31873 done; \
31874 echo "Doing install-pdf in prms" ; \
31875 (cd $(HOST_SUBDIR)/prms && \
31876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31878 "RANLIB=$${RANLIB}" \
31879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31880 install-pdf) \
31881 || exit 1
31883 @endif prms
31885 .PHONY: maybe-install-html-prms install-html-prms
31886 maybe-install-html-prms:
31887 @if prms
31888 maybe-install-html-prms: install-html-prms
31890 install-html-prms: \
31891 configure-prms \
31892 html-prms
31893 @: $(MAKE); $(unstage)
31894 @[ -f ./prms/Makefile ] || exit 0; \
31895 r=`${PWD_COMMAND}`; export r; \
31896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31897 $(HOST_EXPORTS) \
31898 for flag in $(EXTRA_HOST_FLAGS) ; do \
31899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31900 done; \
31901 echo "Doing install-html in prms" ; \
31902 (cd $(HOST_SUBDIR)/prms && \
31903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31905 "RANLIB=$${RANLIB}" \
31906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31907 install-html) \
31908 || exit 1
31910 @endif prms
31912 .PHONY: maybe-installcheck-prms installcheck-prms
31913 maybe-installcheck-prms:
31914 @if prms
31915 maybe-installcheck-prms: installcheck-prms
31917 installcheck-prms: \
31918 configure-prms
31919 @: $(MAKE); $(unstage)
31920 @[ -f ./prms/Makefile ] || exit 0; \
31921 r=`${PWD_COMMAND}`; export r; \
31922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31923 $(HOST_EXPORTS) \
31924 for flag in $(EXTRA_HOST_FLAGS) ; do \
31925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31926 done; \
31927 echo "Doing installcheck in prms" ; \
31928 (cd $(HOST_SUBDIR)/prms && \
31929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31931 "RANLIB=$${RANLIB}" \
31932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31933 installcheck) \
31934 || exit 1
31936 @endif prms
31938 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
31939 maybe-mostlyclean-prms:
31940 @if prms
31941 maybe-mostlyclean-prms: mostlyclean-prms
31943 mostlyclean-prms:
31944 @: $(MAKE); $(unstage)
31945 @[ -f ./prms/Makefile ] || exit 0; \
31946 r=`${PWD_COMMAND}`; export r; \
31947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31948 $(HOST_EXPORTS) \
31949 for flag in $(EXTRA_HOST_FLAGS) ; do \
31950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31951 done; \
31952 echo "Doing mostlyclean in prms" ; \
31953 (cd $(HOST_SUBDIR)/prms && \
31954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31956 "RANLIB=$${RANLIB}" \
31957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31958 mostlyclean) \
31959 || exit 1
31961 @endif prms
31963 .PHONY: maybe-clean-prms clean-prms
31964 maybe-clean-prms:
31965 @if prms
31966 maybe-clean-prms: clean-prms
31968 clean-prms:
31969 @: $(MAKE); $(unstage)
31970 @[ -f ./prms/Makefile ] || exit 0; \
31971 r=`${PWD_COMMAND}`; export r; \
31972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31973 $(HOST_EXPORTS) \
31974 for flag in $(EXTRA_HOST_FLAGS) ; do \
31975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31976 done; \
31977 echo "Doing clean in prms" ; \
31978 (cd $(HOST_SUBDIR)/prms && \
31979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31981 "RANLIB=$${RANLIB}" \
31982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31983 clean) \
31984 || exit 1
31986 @endif prms
31988 .PHONY: maybe-distclean-prms distclean-prms
31989 maybe-distclean-prms:
31990 @if prms
31991 maybe-distclean-prms: distclean-prms
31993 distclean-prms:
31994 @: $(MAKE); $(unstage)
31995 @[ -f ./prms/Makefile ] || exit 0; \
31996 r=`${PWD_COMMAND}`; export r; \
31997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31998 $(HOST_EXPORTS) \
31999 for flag in $(EXTRA_HOST_FLAGS) ; do \
32000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32001 done; \
32002 echo "Doing distclean in prms" ; \
32003 (cd $(HOST_SUBDIR)/prms && \
32004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32006 "RANLIB=$${RANLIB}" \
32007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32008 distclean) \
32009 || exit 1
32011 @endif prms
32013 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
32014 maybe-maintainer-clean-prms:
32015 @if prms
32016 maybe-maintainer-clean-prms: maintainer-clean-prms
32018 maintainer-clean-prms:
32019 @: $(MAKE); $(unstage)
32020 @[ -f ./prms/Makefile ] || exit 0; \
32021 r=`${PWD_COMMAND}`; export r; \
32022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32023 $(HOST_EXPORTS) \
32024 for flag in $(EXTRA_HOST_FLAGS) ; do \
32025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32026 done; \
32027 echo "Doing maintainer-clean in prms" ; \
32028 (cd $(HOST_SUBDIR)/prms && \
32029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32031 "RANLIB=$${RANLIB}" \
32032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32033 maintainer-clean) \
32034 || exit 1
32036 @endif prms
32040 .PHONY: configure-rcs maybe-configure-rcs
32041 maybe-configure-rcs:
32042 @if gcc-bootstrap
32043 configure-rcs: stage_current
32044 @endif gcc-bootstrap
32045 @if rcs
32046 maybe-configure-rcs: configure-rcs
32047 configure-rcs:
32048 @: $(MAKE); $(unstage)
32049 @r=`${PWD_COMMAND}`; export r; \
32050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32051 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
32052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
32053 $(HOST_EXPORTS) \
32054 echo Configuring in $(HOST_SUBDIR)/rcs; \
32055 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
32056 case $(srcdir) in \
32057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32058 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
32059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32060 esac; \
32061 srcdiroption="--srcdir=$${topdir}/rcs"; \
32062 libsrcdir="$$s/rcs"; \
32063 $(SHELL) $${libsrcdir}/configure \
32064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32065 --target=${target_alias} $${srcdiroption} \
32066 || exit 1
32067 @endif rcs
32073 .PHONY: all-rcs maybe-all-rcs
32074 maybe-all-rcs:
32075 @if gcc-bootstrap
32076 all-rcs: stage_current
32077 @endif gcc-bootstrap
32078 @if rcs
32079 TARGET-rcs=all
32080 maybe-all-rcs: all-rcs
32081 all-rcs: configure-rcs
32082 @: $(MAKE); $(unstage)
32083 @r=`${PWD_COMMAND}`; export r; \
32084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32085 $(HOST_EXPORTS) \
32086 (cd $(HOST_SUBDIR)/rcs && \
32087 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32088 $(TARGET-rcs))
32089 @endif rcs
32094 .PHONY: check-rcs maybe-check-rcs
32095 maybe-check-rcs:
32096 @if rcs
32097 maybe-check-rcs: check-rcs
32099 check-rcs:
32100 @: $(MAKE); $(unstage)
32101 @r=`${PWD_COMMAND}`; export r; \
32102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32103 $(HOST_EXPORTS) \
32104 (cd $(HOST_SUBDIR)/rcs && \
32105 $(MAKE) $(FLAGS_TO_PASS) check)
32107 @endif rcs
32109 .PHONY: install-rcs maybe-install-rcs
32110 maybe-install-rcs:
32111 @if rcs
32112 maybe-install-rcs: install-rcs
32114 install-rcs: installdirs
32115 @: $(MAKE); $(unstage)
32116 @r=`${PWD_COMMAND}`; export r; \
32117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32118 $(HOST_EXPORTS) \
32119 (cd $(HOST_SUBDIR)/rcs && \
32120 $(MAKE) $(FLAGS_TO_PASS) install)
32122 @endif rcs
32124 # Other targets (info, dvi, pdf, etc.)
32126 .PHONY: maybe-info-rcs info-rcs
32127 maybe-info-rcs:
32128 @if rcs
32129 maybe-info-rcs: info-rcs
32131 info-rcs: \
32132 configure-rcs
32133 @: $(MAKE); $(unstage)
32134 @[ -f ./rcs/Makefile ] || exit 0; \
32135 r=`${PWD_COMMAND}`; export r; \
32136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32137 $(HOST_EXPORTS) \
32138 for flag in $(EXTRA_HOST_FLAGS) ; do \
32139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32140 done; \
32141 echo "Doing info in rcs" ; \
32142 (cd $(HOST_SUBDIR)/rcs && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32145 "RANLIB=$${RANLIB}" \
32146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32147 info) \
32148 || exit 1
32150 @endif rcs
32152 .PHONY: maybe-dvi-rcs dvi-rcs
32153 maybe-dvi-rcs:
32154 @if rcs
32155 maybe-dvi-rcs: dvi-rcs
32157 dvi-rcs: \
32158 configure-rcs
32159 @: $(MAKE); $(unstage)
32160 @[ -f ./rcs/Makefile ] || exit 0; \
32161 r=`${PWD_COMMAND}`; export r; \
32162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32163 $(HOST_EXPORTS) \
32164 for flag in $(EXTRA_HOST_FLAGS) ; do \
32165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32166 done; \
32167 echo "Doing dvi in rcs" ; \
32168 (cd $(HOST_SUBDIR)/rcs && \
32169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32171 "RANLIB=$${RANLIB}" \
32172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32173 dvi) \
32174 || exit 1
32176 @endif rcs
32178 .PHONY: maybe-pdf-rcs pdf-rcs
32179 maybe-pdf-rcs:
32180 @if rcs
32181 maybe-pdf-rcs: pdf-rcs
32183 pdf-rcs: \
32184 configure-rcs
32185 @: $(MAKE); $(unstage)
32186 @[ -f ./rcs/Makefile ] || exit 0; \
32187 r=`${PWD_COMMAND}`; export r; \
32188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32189 $(HOST_EXPORTS) \
32190 for flag in $(EXTRA_HOST_FLAGS) ; do \
32191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32192 done; \
32193 echo "Doing pdf in rcs" ; \
32194 (cd $(HOST_SUBDIR)/rcs && \
32195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32197 "RANLIB=$${RANLIB}" \
32198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32199 pdf) \
32200 || exit 1
32202 @endif rcs
32204 .PHONY: maybe-html-rcs html-rcs
32205 maybe-html-rcs:
32206 @if rcs
32207 maybe-html-rcs: html-rcs
32209 html-rcs: \
32210 configure-rcs
32211 @: $(MAKE); $(unstage)
32212 @[ -f ./rcs/Makefile ] || exit 0; \
32213 r=`${PWD_COMMAND}`; export r; \
32214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32215 $(HOST_EXPORTS) \
32216 for flag in $(EXTRA_HOST_FLAGS) ; do \
32217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32218 done; \
32219 echo "Doing html in rcs" ; \
32220 (cd $(HOST_SUBDIR)/rcs && \
32221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32223 "RANLIB=$${RANLIB}" \
32224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32225 html) \
32226 || exit 1
32228 @endif rcs
32230 .PHONY: maybe-TAGS-rcs TAGS-rcs
32231 maybe-TAGS-rcs:
32232 @if rcs
32233 maybe-TAGS-rcs: TAGS-rcs
32235 TAGS-rcs: \
32236 configure-rcs
32237 @: $(MAKE); $(unstage)
32238 @[ -f ./rcs/Makefile ] || exit 0; \
32239 r=`${PWD_COMMAND}`; export r; \
32240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32241 $(HOST_EXPORTS) \
32242 for flag in $(EXTRA_HOST_FLAGS) ; do \
32243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32244 done; \
32245 echo "Doing TAGS in rcs" ; \
32246 (cd $(HOST_SUBDIR)/rcs && \
32247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32249 "RANLIB=$${RANLIB}" \
32250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32251 TAGS) \
32252 || exit 1
32254 @endif rcs
32256 .PHONY: maybe-install-info-rcs install-info-rcs
32257 maybe-install-info-rcs:
32258 @if rcs
32259 maybe-install-info-rcs: install-info-rcs
32261 install-info-rcs: \
32262 configure-rcs \
32263 info-rcs
32264 @: $(MAKE); $(unstage)
32265 @[ -f ./rcs/Makefile ] || exit 0; \
32266 r=`${PWD_COMMAND}`; export r; \
32267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32268 $(HOST_EXPORTS) \
32269 for flag in $(EXTRA_HOST_FLAGS) ; do \
32270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32271 done; \
32272 echo "Doing install-info in rcs" ; \
32273 (cd $(HOST_SUBDIR)/rcs && \
32274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32276 "RANLIB=$${RANLIB}" \
32277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32278 install-info) \
32279 || exit 1
32281 @endif rcs
32283 .PHONY: maybe-install-pdf-rcs install-pdf-rcs
32284 maybe-install-pdf-rcs:
32285 @if rcs
32286 maybe-install-pdf-rcs: install-pdf-rcs
32288 install-pdf-rcs: \
32289 configure-rcs \
32290 pdf-rcs
32291 @: $(MAKE); $(unstage)
32292 @[ -f ./rcs/Makefile ] || exit 0; \
32293 r=`${PWD_COMMAND}`; export r; \
32294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32295 $(HOST_EXPORTS) \
32296 for flag in $(EXTRA_HOST_FLAGS) ; do \
32297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32298 done; \
32299 echo "Doing install-pdf in rcs" ; \
32300 (cd $(HOST_SUBDIR)/rcs && \
32301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32303 "RANLIB=$${RANLIB}" \
32304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32305 install-pdf) \
32306 || exit 1
32308 @endif rcs
32310 .PHONY: maybe-install-html-rcs install-html-rcs
32311 maybe-install-html-rcs:
32312 @if rcs
32313 maybe-install-html-rcs: install-html-rcs
32315 install-html-rcs: \
32316 configure-rcs \
32317 html-rcs
32318 @: $(MAKE); $(unstage)
32319 @[ -f ./rcs/Makefile ] || exit 0; \
32320 r=`${PWD_COMMAND}`; export r; \
32321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32322 $(HOST_EXPORTS) \
32323 for flag in $(EXTRA_HOST_FLAGS) ; do \
32324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32325 done; \
32326 echo "Doing install-html in rcs" ; \
32327 (cd $(HOST_SUBDIR)/rcs && \
32328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32330 "RANLIB=$${RANLIB}" \
32331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32332 install-html) \
32333 || exit 1
32335 @endif rcs
32337 .PHONY: maybe-installcheck-rcs installcheck-rcs
32338 maybe-installcheck-rcs:
32339 @if rcs
32340 maybe-installcheck-rcs: installcheck-rcs
32342 installcheck-rcs: \
32343 configure-rcs
32344 @: $(MAKE); $(unstage)
32345 @[ -f ./rcs/Makefile ] || exit 0; \
32346 r=`${PWD_COMMAND}`; export r; \
32347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32348 $(HOST_EXPORTS) \
32349 for flag in $(EXTRA_HOST_FLAGS) ; do \
32350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32351 done; \
32352 echo "Doing installcheck in rcs" ; \
32353 (cd $(HOST_SUBDIR)/rcs && \
32354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32356 "RANLIB=$${RANLIB}" \
32357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32358 installcheck) \
32359 || exit 1
32361 @endif rcs
32363 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
32364 maybe-mostlyclean-rcs:
32365 @if rcs
32366 maybe-mostlyclean-rcs: mostlyclean-rcs
32368 mostlyclean-rcs:
32369 @: $(MAKE); $(unstage)
32370 @[ -f ./rcs/Makefile ] || exit 0; \
32371 r=`${PWD_COMMAND}`; export r; \
32372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32373 $(HOST_EXPORTS) \
32374 for flag in $(EXTRA_HOST_FLAGS) ; do \
32375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32376 done; \
32377 echo "Doing mostlyclean in rcs" ; \
32378 (cd $(HOST_SUBDIR)/rcs && \
32379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32381 "RANLIB=$${RANLIB}" \
32382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32383 mostlyclean) \
32384 || exit 1
32386 @endif rcs
32388 .PHONY: maybe-clean-rcs clean-rcs
32389 maybe-clean-rcs:
32390 @if rcs
32391 maybe-clean-rcs: clean-rcs
32393 clean-rcs:
32394 @: $(MAKE); $(unstage)
32395 @[ -f ./rcs/Makefile ] || exit 0; \
32396 r=`${PWD_COMMAND}`; export r; \
32397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32398 $(HOST_EXPORTS) \
32399 for flag in $(EXTRA_HOST_FLAGS) ; do \
32400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32401 done; \
32402 echo "Doing clean in rcs" ; \
32403 (cd $(HOST_SUBDIR)/rcs && \
32404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32406 "RANLIB=$${RANLIB}" \
32407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32408 clean) \
32409 || exit 1
32411 @endif rcs
32413 .PHONY: maybe-distclean-rcs distclean-rcs
32414 maybe-distclean-rcs:
32415 @if rcs
32416 maybe-distclean-rcs: distclean-rcs
32418 distclean-rcs:
32419 @: $(MAKE); $(unstage)
32420 @[ -f ./rcs/Makefile ] || exit 0; \
32421 r=`${PWD_COMMAND}`; export r; \
32422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32423 $(HOST_EXPORTS) \
32424 for flag in $(EXTRA_HOST_FLAGS) ; do \
32425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32426 done; \
32427 echo "Doing distclean in rcs" ; \
32428 (cd $(HOST_SUBDIR)/rcs && \
32429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32431 "RANLIB=$${RANLIB}" \
32432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32433 distclean) \
32434 || exit 1
32436 @endif rcs
32438 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
32439 maybe-maintainer-clean-rcs:
32440 @if rcs
32441 maybe-maintainer-clean-rcs: maintainer-clean-rcs
32443 maintainer-clean-rcs:
32444 @: $(MAKE); $(unstage)
32445 @[ -f ./rcs/Makefile ] || exit 0; \
32446 r=`${PWD_COMMAND}`; export r; \
32447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32448 $(HOST_EXPORTS) \
32449 for flag in $(EXTRA_HOST_FLAGS) ; do \
32450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32451 done; \
32452 echo "Doing maintainer-clean in rcs" ; \
32453 (cd $(HOST_SUBDIR)/rcs && \
32454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32456 "RANLIB=$${RANLIB}" \
32457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32458 maintainer-clean) \
32459 || exit 1
32461 @endif rcs
32465 .PHONY: configure-readline maybe-configure-readline
32466 maybe-configure-readline:
32467 @if gcc-bootstrap
32468 configure-readline: stage_current
32469 @endif gcc-bootstrap
32470 @if readline
32471 maybe-configure-readline: configure-readline
32472 configure-readline:
32473 @: $(MAKE); $(unstage)
32474 @r=`${PWD_COMMAND}`; export r; \
32475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32476 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
32477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
32478 $(HOST_EXPORTS) \
32479 echo Configuring in $(HOST_SUBDIR)/readline; \
32480 cd "$(HOST_SUBDIR)/readline" || exit 1; \
32481 case $(srcdir) in \
32482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32483 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
32484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32485 esac; \
32486 srcdiroption="--srcdir=$${topdir}/readline"; \
32487 libsrcdir="$$s/readline"; \
32488 $(SHELL) $${libsrcdir}/configure \
32489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32490 --target=${target_alias} $${srcdiroption} \
32491 || exit 1
32492 @endif readline
32498 .PHONY: all-readline maybe-all-readline
32499 maybe-all-readline:
32500 @if gcc-bootstrap
32501 all-readline: stage_current
32502 @endif gcc-bootstrap
32503 @if readline
32504 TARGET-readline=all
32505 maybe-all-readline: all-readline
32506 all-readline: configure-readline
32507 @: $(MAKE); $(unstage)
32508 @r=`${PWD_COMMAND}`; export r; \
32509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32510 $(HOST_EXPORTS) \
32511 (cd $(HOST_SUBDIR)/readline && \
32512 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32513 $(TARGET-readline))
32514 @endif readline
32519 .PHONY: check-readline maybe-check-readline
32520 maybe-check-readline:
32521 @if readline
32522 maybe-check-readline: check-readline
32524 check-readline:
32525 @: $(MAKE); $(unstage)
32526 @r=`${PWD_COMMAND}`; export r; \
32527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32528 $(HOST_EXPORTS) \
32529 (cd $(HOST_SUBDIR)/readline && \
32530 $(MAKE) $(FLAGS_TO_PASS) check)
32532 @endif readline
32534 .PHONY: install-readline maybe-install-readline
32535 maybe-install-readline:
32536 @if readline
32537 maybe-install-readline: install-readline
32539 install-readline: installdirs
32540 @: $(MAKE); $(unstage)
32541 @r=`${PWD_COMMAND}`; export r; \
32542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32543 $(HOST_EXPORTS) \
32544 (cd $(HOST_SUBDIR)/readline && \
32545 $(MAKE) $(FLAGS_TO_PASS) install)
32547 @endif readline
32549 # Other targets (info, dvi, pdf, etc.)
32551 .PHONY: maybe-info-readline info-readline
32552 maybe-info-readline:
32553 @if readline
32554 maybe-info-readline: info-readline
32556 info-readline: \
32557 configure-readline
32558 @: $(MAKE); $(unstage)
32559 @[ -f ./readline/Makefile ] || exit 0; \
32560 r=`${PWD_COMMAND}`; export r; \
32561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32562 $(HOST_EXPORTS) \
32563 for flag in $(EXTRA_HOST_FLAGS) ; do \
32564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32565 done; \
32566 echo "Doing info in readline" ; \
32567 (cd $(HOST_SUBDIR)/readline && \
32568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32570 "RANLIB=$${RANLIB}" \
32571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32572 info) \
32573 || exit 1
32575 @endif readline
32577 .PHONY: maybe-dvi-readline dvi-readline
32578 maybe-dvi-readline:
32579 @if readline
32580 maybe-dvi-readline: dvi-readline
32582 dvi-readline: \
32583 configure-readline
32584 @: $(MAKE); $(unstage)
32585 @[ -f ./readline/Makefile ] || exit 0; \
32586 r=`${PWD_COMMAND}`; export r; \
32587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32588 $(HOST_EXPORTS) \
32589 for flag in $(EXTRA_HOST_FLAGS) ; do \
32590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32591 done; \
32592 echo "Doing dvi in readline" ; \
32593 (cd $(HOST_SUBDIR)/readline && \
32594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32596 "RANLIB=$${RANLIB}" \
32597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32598 dvi) \
32599 || exit 1
32601 @endif readline
32603 .PHONY: maybe-pdf-readline pdf-readline
32604 maybe-pdf-readline:
32605 @if readline
32606 maybe-pdf-readline: pdf-readline
32608 pdf-readline: \
32609 configure-readline
32610 @: $(MAKE); $(unstage)
32611 @[ -f ./readline/Makefile ] || exit 0; \
32612 r=`${PWD_COMMAND}`; export r; \
32613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32614 $(HOST_EXPORTS) \
32615 for flag in $(EXTRA_HOST_FLAGS) ; do \
32616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32617 done; \
32618 echo "Doing pdf in readline" ; \
32619 (cd $(HOST_SUBDIR)/readline && \
32620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32622 "RANLIB=$${RANLIB}" \
32623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32624 pdf) \
32625 || exit 1
32627 @endif readline
32629 .PHONY: maybe-html-readline html-readline
32630 maybe-html-readline:
32631 @if readline
32632 maybe-html-readline: html-readline
32634 html-readline: \
32635 configure-readline
32636 @: $(MAKE); $(unstage)
32637 @[ -f ./readline/Makefile ] || exit 0; \
32638 r=`${PWD_COMMAND}`; export r; \
32639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32640 $(HOST_EXPORTS) \
32641 for flag in $(EXTRA_HOST_FLAGS) ; do \
32642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32643 done; \
32644 echo "Doing html in readline" ; \
32645 (cd $(HOST_SUBDIR)/readline && \
32646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32648 "RANLIB=$${RANLIB}" \
32649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32650 html) \
32651 || exit 1
32653 @endif readline
32655 .PHONY: maybe-TAGS-readline TAGS-readline
32656 maybe-TAGS-readline:
32657 @if readline
32658 maybe-TAGS-readline: TAGS-readline
32660 TAGS-readline: \
32661 configure-readline
32662 @: $(MAKE); $(unstage)
32663 @[ -f ./readline/Makefile ] || exit 0; \
32664 r=`${PWD_COMMAND}`; export r; \
32665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32666 $(HOST_EXPORTS) \
32667 for flag in $(EXTRA_HOST_FLAGS) ; do \
32668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32669 done; \
32670 echo "Doing TAGS in readline" ; \
32671 (cd $(HOST_SUBDIR)/readline && \
32672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32674 "RANLIB=$${RANLIB}" \
32675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32676 TAGS) \
32677 || exit 1
32679 @endif readline
32681 .PHONY: maybe-install-info-readline install-info-readline
32682 maybe-install-info-readline:
32683 @if readline
32684 maybe-install-info-readline: install-info-readline
32686 install-info-readline: \
32687 configure-readline \
32688 info-readline
32689 @: $(MAKE); $(unstage)
32690 @[ -f ./readline/Makefile ] || exit 0; \
32691 r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 $(HOST_EXPORTS) \
32694 for flag in $(EXTRA_HOST_FLAGS) ; do \
32695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32696 done; \
32697 echo "Doing install-info in readline" ; \
32698 (cd $(HOST_SUBDIR)/readline && \
32699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32701 "RANLIB=$${RANLIB}" \
32702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32703 install-info) \
32704 || exit 1
32706 @endif readline
32708 .PHONY: maybe-install-pdf-readline install-pdf-readline
32709 maybe-install-pdf-readline:
32710 @if readline
32711 maybe-install-pdf-readline: install-pdf-readline
32713 install-pdf-readline: \
32714 configure-readline \
32715 pdf-readline
32716 @: $(MAKE); $(unstage)
32717 @[ -f ./readline/Makefile ] || exit 0; \
32718 r=`${PWD_COMMAND}`; export r; \
32719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32720 $(HOST_EXPORTS) \
32721 for flag in $(EXTRA_HOST_FLAGS) ; do \
32722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32723 done; \
32724 echo "Doing install-pdf in readline" ; \
32725 (cd $(HOST_SUBDIR)/readline && \
32726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32728 "RANLIB=$${RANLIB}" \
32729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32730 install-pdf) \
32731 || exit 1
32733 @endif readline
32735 .PHONY: maybe-install-html-readline install-html-readline
32736 maybe-install-html-readline:
32737 @if readline
32738 maybe-install-html-readline: install-html-readline
32740 install-html-readline: \
32741 configure-readline \
32742 html-readline
32743 @: $(MAKE); $(unstage)
32744 @[ -f ./readline/Makefile ] || exit 0; \
32745 r=`${PWD_COMMAND}`; export r; \
32746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32747 $(HOST_EXPORTS) \
32748 for flag in $(EXTRA_HOST_FLAGS) ; do \
32749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32750 done; \
32751 echo "Doing install-html in readline" ; \
32752 (cd $(HOST_SUBDIR)/readline && \
32753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32755 "RANLIB=$${RANLIB}" \
32756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32757 install-html) \
32758 || exit 1
32760 @endif readline
32762 .PHONY: maybe-installcheck-readline installcheck-readline
32763 maybe-installcheck-readline:
32764 @if readline
32765 maybe-installcheck-readline: installcheck-readline
32767 installcheck-readline: \
32768 configure-readline
32769 @: $(MAKE); $(unstage)
32770 @[ -f ./readline/Makefile ] || exit 0; \
32771 r=`${PWD_COMMAND}`; export r; \
32772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32773 $(HOST_EXPORTS) \
32774 for flag in $(EXTRA_HOST_FLAGS) ; do \
32775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32776 done; \
32777 echo "Doing installcheck in readline" ; \
32778 (cd $(HOST_SUBDIR)/readline && \
32779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32781 "RANLIB=$${RANLIB}" \
32782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32783 installcheck) \
32784 || exit 1
32786 @endif readline
32788 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
32789 maybe-mostlyclean-readline:
32790 @if readline
32791 maybe-mostlyclean-readline: mostlyclean-readline
32793 mostlyclean-readline:
32794 @: $(MAKE); $(unstage)
32795 @[ -f ./readline/Makefile ] || exit 0; \
32796 r=`${PWD_COMMAND}`; export r; \
32797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32798 $(HOST_EXPORTS) \
32799 for flag in $(EXTRA_HOST_FLAGS) ; do \
32800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32801 done; \
32802 echo "Doing mostlyclean in readline" ; \
32803 (cd $(HOST_SUBDIR)/readline && \
32804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32806 "RANLIB=$${RANLIB}" \
32807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32808 mostlyclean) \
32809 || exit 1
32811 @endif readline
32813 .PHONY: maybe-clean-readline clean-readline
32814 maybe-clean-readline:
32815 @if readline
32816 maybe-clean-readline: clean-readline
32818 clean-readline:
32819 @: $(MAKE); $(unstage)
32820 @[ -f ./readline/Makefile ] || exit 0; \
32821 r=`${PWD_COMMAND}`; export r; \
32822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32823 $(HOST_EXPORTS) \
32824 for flag in $(EXTRA_HOST_FLAGS) ; do \
32825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32826 done; \
32827 echo "Doing clean in readline" ; \
32828 (cd $(HOST_SUBDIR)/readline && \
32829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32831 "RANLIB=$${RANLIB}" \
32832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32833 clean) \
32834 || exit 1
32836 @endif readline
32838 .PHONY: maybe-distclean-readline distclean-readline
32839 maybe-distclean-readline:
32840 @if readline
32841 maybe-distclean-readline: distclean-readline
32843 distclean-readline:
32844 @: $(MAKE); $(unstage)
32845 @[ -f ./readline/Makefile ] || exit 0; \
32846 r=`${PWD_COMMAND}`; export r; \
32847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32848 $(HOST_EXPORTS) \
32849 for flag in $(EXTRA_HOST_FLAGS) ; do \
32850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32851 done; \
32852 echo "Doing distclean in readline" ; \
32853 (cd $(HOST_SUBDIR)/readline && \
32854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32856 "RANLIB=$${RANLIB}" \
32857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32858 distclean) \
32859 || exit 1
32861 @endif readline
32863 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
32864 maybe-maintainer-clean-readline:
32865 @if readline
32866 maybe-maintainer-clean-readline: maintainer-clean-readline
32868 maintainer-clean-readline:
32869 @: $(MAKE); $(unstage)
32870 @[ -f ./readline/Makefile ] || exit 0; \
32871 r=`${PWD_COMMAND}`; export r; \
32872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32873 $(HOST_EXPORTS) \
32874 for flag in $(EXTRA_HOST_FLAGS) ; do \
32875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32876 done; \
32877 echo "Doing maintainer-clean in readline" ; \
32878 (cd $(HOST_SUBDIR)/readline && \
32879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32881 "RANLIB=$${RANLIB}" \
32882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32883 maintainer-clean) \
32884 || exit 1
32886 @endif readline
32890 .PHONY: configure-release maybe-configure-release
32891 maybe-configure-release:
32892 @if gcc-bootstrap
32893 configure-release: stage_current
32894 @endif gcc-bootstrap
32895 @if release
32896 maybe-configure-release: configure-release
32897 configure-release:
32898 @: $(MAKE); $(unstage)
32899 @r=`${PWD_COMMAND}`; export r; \
32900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32901 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
32902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
32903 $(HOST_EXPORTS) \
32904 echo Configuring in $(HOST_SUBDIR)/release; \
32905 cd "$(HOST_SUBDIR)/release" || exit 1; \
32906 case $(srcdir) in \
32907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32908 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
32909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32910 esac; \
32911 srcdiroption="--srcdir=$${topdir}/release"; \
32912 libsrcdir="$$s/release"; \
32913 $(SHELL) $${libsrcdir}/configure \
32914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32915 --target=${target_alias} $${srcdiroption} \
32916 || exit 1
32917 @endif release
32923 .PHONY: all-release maybe-all-release
32924 maybe-all-release:
32925 @if gcc-bootstrap
32926 all-release: stage_current
32927 @endif gcc-bootstrap
32928 @if release
32929 TARGET-release=all
32930 maybe-all-release: all-release
32931 all-release: configure-release
32932 @: $(MAKE); $(unstage)
32933 @r=`${PWD_COMMAND}`; export r; \
32934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32935 $(HOST_EXPORTS) \
32936 (cd $(HOST_SUBDIR)/release && \
32937 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32938 $(TARGET-release))
32939 @endif release
32944 .PHONY: check-release maybe-check-release
32945 maybe-check-release:
32946 @if release
32947 maybe-check-release: check-release
32949 check-release:
32951 @endif release
32953 .PHONY: install-release maybe-install-release
32954 maybe-install-release:
32955 @if release
32956 maybe-install-release: install-release
32958 install-release:
32960 @endif release
32962 # Other targets (info, dvi, pdf, etc.)
32964 .PHONY: maybe-info-release info-release
32965 maybe-info-release:
32966 @if release
32967 maybe-info-release: info-release
32969 info-release: \
32970 configure-release
32971 @: $(MAKE); $(unstage)
32972 @[ -f ./release/Makefile ] || exit 0; \
32973 r=`${PWD_COMMAND}`; export r; \
32974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32975 $(HOST_EXPORTS) \
32976 for flag in $(EXTRA_HOST_FLAGS) ; do \
32977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32978 done; \
32979 echo "Doing info in release" ; \
32980 (cd $(HOST_SUBDIR)/release && \
32981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32983 "RANLIB=$${RANLIB}" \
32984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32985 info) \
32986 || exit 1
32988 @endif release
32990 .PHONY: maybe-dvi-release dvi-release
32991 maybe-dvi-release:
32992 @if release
32993 maybe-dvi-release: dvi-release
32995 dvi-release: \
32996 configure-release
32997 @: $(MAKE); $(unstage)
32998 @[ -f ./release/Makefile ] || exit 0; \
32999 r=`${PWD_COMMAND}`; export r; \
33000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33001 $(HOST_EXPORTS) \
33002 for flag in $(EXTRA_HOST_FLAGS) ; do \
33003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33004 done; \
33005 echo "Doing dvi in release" ; \
33006 (cd $(HOST_SUBDIR)/release && \
33007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33009 "RANLIB=$${RANLIB}" \
33010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33011 dvi) \
33012 || exit 1
33014 @endif release
33016 .PHONY: maybe-pdf-release pdf-release
33017 maybe-pdf-release:
33018 @if release
33019 maybe-pdf-release: pdf-release
33021 pdf-release: \
33022 configure-release
33023 @: $(MAKE); $(unstage)
33024 @[ -f ./release/Makefile ] || exit 0; \
33025 r=`${PWD_COMMAND}`; export r; \
33026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33027 $(HOST_EXPORTS) \
33028 for flag in $(EXTRA_HOST_FLAGS) ; do \
33029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33030 done; \
33031 echo "Doing pdf in release" ; \
33032 (cd $(HOST_SUBDIR)/release && \
33033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33035 "RANLIB=$${RANLIB}" \
33036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33037 pdf) \
33038 || exit 1
33040 @endif release
33042 .PHONY: maybe-html-release html-release
33043 maybe-html-release:
33044 @if release
33045 maybe-html-release: html-release
33047 html-release: \
33048 configure-release
33049 @: $(MAKE); $(unstage)
33050 @[ -f ./release/Makefile ] || exit 0; \
33051 r=`${PWD_COMMAND}`; export r; \
33052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33053 $(HOST_EXPORTS) \
33054 for flag in $(EXTRA_HOST_FLAGS) ; do \
33055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33056 done; \
33057 echo "Doing html in release" ; \
33058 (cd $(HOST_SUBDIR)/release && \
33059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33061 "RANLIB=$${RANLIB}" \
33062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33063 html) \
33064 || exit 1
33066 @endif release
33068 .PHONY: maybe-TAGS-release TAGS-release
33069 maybe-TAGS-release:
33070 @if release
33071 maybe-TAGS-release: TAGS-release
33073 TAGS-release: \
33074 configure-release
33075 @: $(MAKE); $(unstage)
33076 @[ -f ./release/Makefile ] || exit 0; \
33077 r=`${PWD_COMMAND}`; export r; \
33078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33079 $(HOST_EXPORTS) \
33080 for flag in $(EXTRA_HOST_FLAGS) ; do \
33081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33082 done; \
33083 echo "Doing TAGS in release" ; \
33084 (cd $(HOST_SUBDIR)/release && \
33085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33087 "RANLIB=$${RANLIB}" \
33088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33089 TAGS) \
33090 || exit 1
33092 @endif release
33094 .PHONY: maybe-install-info-release install-info-release
33095 maybe-install-info-release:
33096 @if release
33097 maybe-install-info-release: install-info-release
33099 install-info-release: \
33100 configure-release \
33101 info-release
33102 @: $(MAKE); $(unstage)
33103 @[ -f ./release/Makefile ] || exit 0; \
33104 r=`${PWD_COMMAND}`; export r; \
33105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33106 $(HOST_EXPORTS) \
33107 for flag in $(EXTRA_HOST_FLAGS) ; do \
33108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33109 done; \
33110 echo "Doing install-info in release" ; \
33111 (cd $(HOST_SUBDIR)/release && \
33112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33114 "RANLIB=$${RANLIB}" \
33115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33116 install-info) \
33117 || exit 1
33119 @endif release
33121 .PHONY: maybe-install-pdf-release install-pdf-release
33122 maybe-install-pdf-release:
33123 @if release
33124 maybe-install-pdf-release: install-pdf-release
33126 install-pdf-release: \
33127 configure-release \
33128 pdf-release
33129 @: $(MAKE); $(unstage)
33130 @[ -f ./release/Makefile ] || exit 0; \
33131 r=`${PWD_COMMAND}`; export r; \
33132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33133 $(HOST_EXPORTS) \
33134 for flag in $(EXTRA_HOST_FLAGS) ; do \
33135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33136 done; \
33137 echo "Doing install-pdf in release" ; \
33138 (cd $(HOST_SUBDIR)/release && \
33139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33141 "RANLIB=$${RANLIB}" \
33142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33143 install-pdf) \
33144 || exit 1
33146 @endif release
33148 .PHONY: maybe-install-html-release install-html-release
33149 maybe-install-html-release:
33150 @if release
33151 maybe-install-html-release: install-html-release
33153 install-html-release: \
33154 configure-release \
33155 html-release
33156 @: $(MAKE); $(unstage)
33157 @[ -f ./release/Makefile ] || exit 0; \
33158 r=`${PWD_COMMAND}`; export r; \
33159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33160 $(HOST_EXPORTS) \
33161 for flag in $(EXTRA_HOST_FLAGS) ; do \
33162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33163 done; \
33164 echo "Doing install-html in release" ; \
33165 (cd $(HOST_SUBDIR)/release && \
33166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33168 "RANLIB=$${RANLIB}" \
33169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33170 install-html) \
33171 || exit 1
33173 @endif release
33175 .PHONY: maybe-installcheck-release installcheck-release
33176 maybe-installcheck-release:
33177 @if release
33178 maybe-installcheck-release: installcheck-release
33180 installcheck-release: \
33181 configure-release
33182 @: $(MAKE); $(unstage)
33183 @[ -f ./release/Makefile ] || exit 0; \
33184 r=`${PWD_COMMAND}`; export r; \
33185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33186 $(HOST_EXPORTS) \
33187 for flag in $(EXTRA_HOST_FLAGS) ; do \
33188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33189 done; \
33190 echo "Doing installcheck in release" ; \
33191 (cd $(HOST_SUBDIR)/release && \
33192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33194 "RANLIB=$${RANLIB}" \
33195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33196 installcheck) \
33197 || exit 1
33199 @endif release
33201 .PHONY: maybe-mostlyclean-release mostlyclean-release
33202 maybe-mostlyclean-release:
33203 @if release
33204 maybe-mostlyclean-release: mostlyclean-release
33206 mostlyclean-release:
33207 @: $(MAKE); $(unstage)
33208 @[ -f ./release/Makefile ] || exit 0; \
33209 r=`${PWD_COMMAND}`; export r; \
33210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33211 $(HOST_EXPORTS) \
33212 for flag in $(EXTRA_HOST_FLAGS) ; do \
33213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33214 done; \
33215 echo "Doing mostlyclean in release" ; \
33216 (cd $(HOST_SUBDIR)/release && \
33217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33219 "RANLIB=$${RANLIB}" \
33220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33221 mostlyclean) \
33222 || exit 1
33224 @endif release
33226 .PHONY: maybe-clean-release clean-release
33227 maybe-clean-release:
33228 @if release
33229 maybe-clean-release: clean-release
33231 clean-release:
33232 @: $(MAKE); $(unstage)
33233 @[ -f ./release/Makefile ] || exit 0; \
33234 r=`${PWD_COMMAND}`; export r; \
33235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33236 $(HOST_EXPORTS) \
33237 for flag in $(EXTRA_HOST_FLAGS) ; do \
33238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33239 done; \
33240 echo "Doing clean in release" ; \
33241 (cd $(HOST_SUBDIR)/release && \
33242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33244 "RANLIB=$${RANLIB}" \
33245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33246 clean) \
33247 || exit 1
33249 @endif release
33251 .PHONY: maybe-distclean-release distclean-release
33252 maybe-distclean-release:
33253 @if release
33254 maybe-distclean-release: distclean-release
33256 distclean-release:
33257 @: $(MAKE); $(unstage)
33258 @[ -f ./release/Makefile ] || exit 0; \
33259 r=`${PWD_COMMAND}`; export r; \
33260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33261 $(HOST_EXPORTS) \
33262 for flag in $(EXTRA_HOST_FLAGS) ; do \
33263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33264 done; \
33265 echo "Doing distclean in release" ; \
33266 (cd $(HOST_SUBDIR)/release && \
33267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33269 "RANLIB=$${RANLIB}" \
33270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33271 distclean) \
33272 || exit 1
33274 @endif release
33276 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
33277 maybe-maintainer-clean-release:
33278 @if release
33279 maybe-maintainer-clean-release: maintainer-clean-release
33281 maintainer-clean-release:
33282 @: $(MAKE); $(unstage)
33283 @[ -f ./release/Makefile ] || exit 0; \
33284 r=`${PWD_COMMAND}`; export r; \
33285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33286 $(HOST_EXPORTS) \
33287 for flag in $(EXTRA_HOST_FLAGS) ; do \
33288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33289 done; \
33290 echo "Doing maintainer-clean in release" ; \
33291 (cd $(HOST_SUBDIR)/release && \
33292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33294 "RANLIB=$${RANLIB}" \
33295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33296 maintainer-clean) \
33297 || exit 1
33299 @endif release
33303 .PHONY: configure-recode maybe-configure-recode
33304 maybe-configure-recode:
33305 @if gcc-bootstrap
33306 configure-recode: stage_current
33307 @endif gcc-bootstrap
33308 @if recode
33309 maybe-configure-recode: configure-recode
33310 configure-recode:
33311 @: $(MAKE); $(unstage)
33312 @r=`${PWD_COMMAND}`; export r; \
33313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33314 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
33315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
33316 $(HOST_EXPORTS) \
33317 echo Configuring in $(HOST_SUBDIR)/recode; \
33318 cd "$(HOST_SUBDIR)/recode" || exit 1; \
33319 case $(srcdir) in \
33320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33321 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
33322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33323 esac; \
33324 srcdiroption="--srcdir=$${topdir}/recode"; \
33325 libsrcdir="$$s/recode"; \
33326 $(SHELL) $${libsrcdir}/configure \
33327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33328 --target=${target_alias} $${srcdiroption} \
33329 || exit 1
33330 @endif recode
33336 .PHONY: all-recode maybe-all-recode
33337 maybe-all-recode:
33338 @if gcc-bootstrap
33339 all-recode: stage_current
33340 @endif gcc-bootstrap
33341 @if recode
33342 TARGET-recode=all
33343 maybe-all-recode: all-recode
33344 all-recode: configure-recode
33345 @: $(MAKE); $(unstage)
33346 @r=`${PWD_COMMAND}`; export r; \
33347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33348 $(HOST_EXPORTS) \
33349 (cd $(HOST_SUBDIR)/recode && \
33350 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33351 $(TARGET-recode))
33352 @endif recode
33357 .PHONY: check-recode maybe-check-recode
33358 maybe-check-recode:
33359 @if recode
33360 maybe-check-recode: check-recode
33362 check-recode:
33363 @: $(MAKE); $(unstage)
33364 @r=`${PWD_COMMAND}`; export r; \
33365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33366 $(HOST_EXPORTS) \
33367 (cd $(HOST_SUBDIR)/recode && \
33368 $(MAKE) $(FLAGS_TO_PASS) check)
33370 @endif recode
33372 .PHONY: install-recode maybe-install-recode
33373 maybe-install-recode:
33374 @if recode
33375 maybe-install-recode: install-recode
33377 install-recode: installdirs
33378 @: $(MAKE); $(unstage)
33379 @r=`${PWD_COMMAND}`; export r; \
33380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33381 $(HOST_EXPORTS) \
33382 (cd $(HOST_SUBDIR)/recode && \
33383 $(MAKE) $(FLAGS_TO_PASS) install)
33385 @endif recode
33387 # Other targets (info, dvi, pdf, etc.)
33389 .PHONY: maybe-info-recode info-recode
33390 maybe-info-recode:
33391 @if recode
33392 maybe-info-recode: info-recode
33394 info-recode: \
33395 configure-recode
33396 @: $(MAKE); $(unstage)
33397 @[ -f ./recode/Makefile ] || exit 0; \
33398 r=`${PWD_COMMAND}`; export r; \
33399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33400 $(HOST_EXPORTS) \
33401 for flag in $(EXTRA_HOST_FLAGS) ; do \
33402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33403 done; \
33404 echo "Doing info in recode" ; \
33405 (cd $(HOST_SUBDIR)/recode && \
33406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33408 "RANLIB=$${RANLIB}" \
33409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33410 info) \
33411 || exit 1
33413 @endif recode
33415 .PHONY: maybe-dvi-recode dvi-recode
33416 maybe-dvi-recode:
33417 @if recode
33418 maybe-dvi-recode: dvi-recode
33420 dvi-recode: \
33421 configure-recode
33422 @: $(MAKE); $(unstage)
33423 @[ -f ./recode/Makefile ] || exit 0; \
33424 r=`${PWD_COMMAND}`; export r; \
33425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33426 $(HOST_EXPORTS) \
33427 for flag in $(EXTRA_HOST_FLAGS) ; do \
33428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33429 done; \
33430 echo "Doing dvi in recode" ; \
33431 (cd $(HOST_SUBDIR)/recode && \
33432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33434 "RANLIB=$${RANLIB}" \
33435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33436 dvi) \
33437 || exit 1
33439 @endif recode
33441 .PHONY: maybe-pdf-recode pdf-recode
33442 maybe-pdf-recode:
33443 @if recode
33444 maybe-pdf-recode: pdf-recode
33446 pdf-recode: \
33447 configure-recode
33448 @: $(MAKE); $(unstage)
33449 @[ -f ./recode/Makefile ] || exit 0; \
33450 r=`${PWD_COMMAND}`; export r; \
33451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33452 $(HOST_EXPORTS) \
33453 for flag in $(EXTRA_HOST_FLAGS) ; do \
33454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33455 done; \
33456 echo "Doing pdf in recode" ; \
33457 (cd $(HOST_SUBDIR)/recode && \
33458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33460 "RANLIB=$${RANLIB}" \
33461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33462 pdf) \
33463 || exit 1
33465 @endif recode
33467 .PHONY: maybe-html-recode html-recode
33468 maybe-html-recode:
33469 @if recode
33470 maybe-html-recode: html-recode
33472 html-recode: \
33473 configure-recode
33474 @: $(MAKE); $(unstage)
33475 @[ -f ./recode/Makefile ] || exit 0; \
33476 r=`${PWD_COMMAND}`; export r; \
33477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33478 $(HOST_EXPORTS) \
33479 for flag in $(EXTRA_HOST_FLAGS) ; do \
33480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33481 done; \
33482 echo "Doing html in recode" ; \
33483 (cd $(HOST_SUBDIR)/recode && \
33484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33486 "RANLIB=$${RANLIB}" \
33487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33488 html) \
33489 || exit 1
33491 @endif recode
33493 .PHONY: maybe-TAGS-recode TAGS-recode
33494 maybe-TAGS-recode:
33495 @if recode
33496 maybe-TAGS-recode: TAGS-recode
33498 TAGS-recode: \
33499 configure-recode
33500 @: $(MAKE); $(unstage)
33501 @[ -f ./recode/Makefile ] || exit 0; \
33502 r=`${PWD_COMMAND}`; export r; \
33503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33504 $(HOST_EXPORTS) \
33505 for flag in $(EXTRA_HOST_FLAGS) ; do \
33506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33507 done; \
33508 echo "Doing TAGS in recode" ; \
33509 (cd $(HOST_SUBDIR)/recode && \
33510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33512 "RANLIB=$${RANLIB}" \
33513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33514 TAGS) \
33515 || exit 1
33517 @endif recode
33519 .PHONY: maybe-install-info-recode install-info-recode
33520 maybe-install-info-recode:
33521 @if recode
33522 maybe-install-info-recode: install-info-recode
33524 install-info-recode: \
33525 configure-recode \
33526 info-recode
33527 @: $(MAKE); $(unstage)
33528 @[ -f ./recode/Makefile ] || exit 0; \
33529 r=`${PWD_COMMAND}`; export r; \
33530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33531 $(HOST_EXPORTS) \
33532 for flag in $(EXTRA_HOST_FLAGS) ; do \
33533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33534 done; \
33535 echo "Doing install-info in recode" ; \
33536 (cd $(HOST_SUBDIR)/recode && \
33537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33539 "RANLIB=$${RANLIB}" \
33540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33541 install-info) \
33542 || exit 1
33544 @endif recode
33546 .PHONY: maybe-install-pdf-recode install-pdf-recode
33547 maybe-install-pdf-recode:
33548 @if recode
33549 maybe-install-pdf-recode: install-pdf-recode
33551 install-pdf-recode: \
33552 configure-recode \
33553 pdf-recode
33554 @: $(MAKE); $(unstage)
33555 @[ -f ./recode/Makefile ] || exit 0; \
33556 r=`${PWD_COMMAND}`; export r; \
33557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33558 $(HOST_EXPORTS) \
33559 for flag in $(EXTRA_HOST_FLAGS) ; do \
33560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33561 done; \
33562 echo "Doing install-pdf in recode" ; \
33563 (cd $(HOST_SUBDIR)/recode && \
33564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33566 "RANLIB=$${RANLIB}" \
33567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33568 install-pdf) \
33569 || exit 1
33571 @endif recode
33573 .PHONY: maybe-install-html-recode install-html-recode
33574 maybe-install-html-recode:
33575 @if recode
33576 maybe-install-html-recode: install-html-recode
33578 install-html-recode: \
33579 configure-recode \
33580 html-recode
33581 @: $(MAKE); $(unstage)
33582 @[ -f ./recode/Makefile ] || exit 0; \
33583 r=`${PWD_COMMAND}`; export r; \
33584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33585 $(HOST_EXPORTS) \
33586 for flag in $(EXTRA_HOST_FLAGS) ; do \
33587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33588 done; \
33589 echo "Doing install-html in recode" ; \
33590 (cd $(HOST_SUBDIR)/recode && \
33591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33593 "RANLIB=$${RANLIB}" \
33594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33595 install-html) \
33596 || exit 1
33598 @endif recode
33600 .PHONY: maybe-installcheck-recode installcheck-recode
33601 maybe-installcheck-recode:
33602 @if recode
33603 maybe-installcheck-recode: installcheck-recode
33605 installcheck-recode: \
33606 configure-recode
33607 @: $(MAKE); $(unstage)
33608 @[ -f ./recode/Makefile ] || exit 0; \
33609 r=`${PWD_COMMAND}`; export r; \
33610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33611 $(HOST_EXPORTS) \
33612 for flag in $(EXTRA_HOST_FLAGS) ; do \
33613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33614 done; \
33615 echo "Doing installcheck in recode" ; \
33616 (cd $(HOST_SUBDIR)/recode && \
33617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33619 "RANLIB=$${RANLIB}" \
33620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33621 installcheck) \
33622 || exit 1
33624 @endif recode
33626 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
33627 maybe-mostlyclean-recode:
33628 @if recode
33629 maybe-mostlyclean-recode: mostlyclean-recode
33631 mostlyclean-recode:
33632 @: $(MAKE); $(unstage)
33633 @[ -f ./recode/Makefile ] || exit 0; \
33634 r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 $(HOST_EXPORTS) \
33637 for flag in $(EXTRA_HOST_FLAGS) ; do \
33638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33639 done; \
33640 echo "Doing mostlyclean in recode" ; \
33641 (cd $(HOST_SUBDIR)/recode && \
33642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33644 "RANLIB=$${RANLIB}" \
33645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33646 mostlyclean) \
33647 || exit 1
33649 @endif recode
33651 .PHONY: maybe-clean-recode clean-recode
33652 maybe-clean-recode:
33653 @if recode
33654 maybe-clean-recode: clean-recode
33656 clean-recode:
33657 @: $(MAKE); $(unstage)
33658 @[ -f ./recode/Makefile ] || exit 0; \
33659 r=`${PWD_COMMAND}`; export r; \
33660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33661 $(HOST_EXPORTS) \
33662 for flag in $(EXTRA_HOST_FLAGS) ; do \
33663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33664 done; \
33665 echo "Doing clean in recode" ; \
33666 (cd $(HOST_SUBDIR)/recode && \
33667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33669 "RANLIB=$${RANLIB}" \
33670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33671 clean) \
33672 || exit 1
33674 @endif recode
33676 .PHONY: maybe-distclean-recode distclean-recode
33677 maybe-distclean-recode:
33678 @if recode
33679 maybe-distclean-recode: distclean-recode
33681 distclean-recode:
33682 @: $(MAKE); $(unstage)
33683 @[ -f ./recode/Makefile ] || exit 0; \
33684 r=`${PWD_COMMAND}`; export r; \
33685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33686 $(HOST_EXPORTS) \
33687 for flag in $(EXTRA_HOST_FLAGS) ; do \
33688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33689 done; \
33690 echo "Doing distclean in recode" ; \
33691 (cd $(HOST_SUBDIR)/recode && \
33692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33694 "RANLIB=$${RANLIB}" \
33695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33696 distclean) \
33697 || exit 1
33699 @endif recode
33701 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
33702 maybe-maintainer-clean-recode:
33703 @if recode
33704 maybe-maintainer-clean-recode: maintainer-clean-recode
33706 maintainer-clean-recode:
33707 @: $(MAKE); $(unstage)
33708 @[ -f ./recode/Makefile ] || exit 0; \
33709 r=`${PWD_COMMAND}`; export r; \
33710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33711 $(HOST_EXPORTS) \
33712 for flag in $(EXTRA_HOST_FLAGS) ; do \
33713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33714 done; \
33715 echo "Doing maintainer-clean in recode" ; \
33716 (cd $(HOST_SUBDIR)/recode && \
33717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33719 "RANLIB=$${RANLIB}" \
33720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33721 maintainer-clean) \
33722 || exit 1
33724 @endif recode
33728 .PHONY: configure-sed maybe-configure-sed
33729 maybe-configure-sed:
33730 @if gcc-bootstrap
33731 configure-sed: stage_current
33732 @endif gcc-bootstrap
33733 @if sed
33734 maybe-configure-sed: configure-sed
33735 configure-sed:
33736 @: $(MAKE); $(unstage)
33737 @r=`${PWD_COMMAND}`; export r; \
33738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33739 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
33740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
33741 $(HOST_EXPORTS) \
33742 echo Configuring in $(HOST_SUBDIR)/sed; \
33743 cd "$(HOST_SUBDIR)/sed" || exit 1; \
33744 case $(srcdir) in \
33745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33746 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
33747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33748 esac; \
33749 srcdiroption="--srcdir=$${topdir}/sed"; \
33750 libsrcdir="$$s/sed"; \
33751 $(SHELL) $${libsrcdir}/configure \
33752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33753 --target=${target_alias} $${srcdiroption} \
33754 || exit 1
33755 @endif sed
33761 .PHONY: all-sed maybe-all-sed
33762 maybe-all-sed:
33763 @if gcc-bootstrap
33764 all-sed: stage_current
33765 @endif gcc-bootstrap
33766 @if sed
33767 TARGET-sed=all
33768 maybe-all-sed: all-sed
33769 all-sed: configure-sed
33770 @: $(MAKE); $(unstage)
33771 @r=`${PWD_COMMAND}`; export r; \
33772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33773 $(HOST_EXPORTS) \
33774 (cd $(HOST_SUBDIR)/sed && \
33775 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33776 $(TARGET-sed))
33777 @endif sed
33782 .PHONY: check-sed maybe-check-sed
33783 maybe-check-sed:
33784 @if sed
33785 maybe-check-sed: check-sed
33787 check-sed:
33788 @: $(MAKE); $(unstage)
33789 @r=`${PWD_COMMAND}`; export r; \
33790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33791 $(HOST_EXPORTS) \
33792 (cd $(HOST_SUBDIR)/sed && \
33793 $(MAKE) $(FLAGS_TO_PASS) check)
33795 @endif sed
33797 .PHONY: install-sed maybe-install-sed
33798 maybe-install-sed:
33799 @if sed
33800 maybe-install-sed: install-sed
33802 install-sed: installdirs
33803 @: $(MAKE); $(unstage)
33804 @r=`${PWD_COMMAND}`; export r; \
33805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33806 $(HOST_EXPORTS) \
33807 (cd $(HOST_SUBDIR)/sed && \
33808 $(MAKE) $(FLAGS_TO_PASS) install)
33810 @endif sed
33812 # Other targets (info, dvi, pdf, etc.)
33814 .PHONY: maybe-info-sed info-sed
33815 maybe-info-sed:
33816 @if sed
33817 maybe-info-sed: info-sed
33819 info-sed: \
33820 configure-sed
33821 @: $(MAKE); $(unstage)
33822 @[ -f ./sed/Makefile ] || exit 0; \
33823 r=`${PWD_COMMAND}`; export r; \
33824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33825 $(HOST_EXPORTS) \
33826 for flag in $(EXTRA_HOST_FLAGS) ; do \
33827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33828 done; \
33829 echo "Doing info in sed" ; \
33830 (cd $(HOST_SUBDIR)/sed && \
33831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33833 "RANLIB=$${RANLIB}" \
33834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33835 info) \
33836 || exit 1
33838 @endif sed
33840 .PHONY: maybe-dvi-sed dvi-sed
33841 maybe-dvi-sed:
33842 @if sed
33843 maybe-dvi-sed: dvi-sed
33845 dvi-sed: \
33846 configure-sed
33847 @: $(MAKE); $(unstage)
33848 @[ -f ./sed/Makefile ] || exit 0; \
33849 r=`${PWD_COMMAND}`; export r; \
33850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33851 $(HOST_EXPORTS) \
33852 for flag in $(EXTRA_HOST_FLAGS) ; do \
33853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33854 done; \
33855 echo "Doing dvi in sed" ; \
33856 (cd $(HOST_SUBDIR)/sed && \
33857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33859 "RANLIB=$${RANLIB}" \
33860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33861 dvi) \
33862 || exit 1
33864 @endif sed
33866 .PHONY: maybe-pdf-sed pdf-sed
33867 maybe-pdf-sed:
33868 @if sed
33869 maybe-pdf-sed: pdf-sed
33871 pdf-sed: \
33872 configure-sed
33873 @: $(MAKE); $(unstage)
33874 @[ -f ./sed/Makefile ] || exit 0; \
33875 r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(HOST_EXPORTS) \
33878 for flag in $(EXTRA_HOST_FLAGS) ; do \
33879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33880 done; \
33881 echo "Doing pdf in sed" ; \
33882 (cd $(HOST_SUBDIR)/sed && \
33883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33885 "RANLIB=$${RANLIB}" \
33886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33887 pdf) \
33888 || exit 1
33890 @endif sed
33892 .PHONY: maybe-html-sed html-sed
33893 maybe-html-sed:
33894 @if sed
33895 maybe-html-sed: html-sed
33897 html-sed: \
33898 configure-sed
33899 @: $(MAKE); $(unstage)
33900 @[ -f ./sed/Makefile ] || exit 0; \
33901 r=`${PWD_COMMAND}`; export r; \
33902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33903 $(HOST_EXPORTS) \
33904 for flag in $(EXTRA_HOST_FLAGS) ; do \
33905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33906 done; \
33907 echo "Doing html in sed" ; \
33908 (cd $(HOST_SUBDIR)/sed && \
33909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33911 "RANLIB=$${RANLIB}" \
33912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33913 html) \
33914 || exit 1
33916 @endif sed
33918 .PHONY: maybe-TAGS-sed TAGS-sed
33919 maybe-TAGS-sed:
33920 @if sed
33921 maybe-TAGS-sed: TAGS-sed
33923 TAGS-sed: \
33924 configure-sed
33925 @: $(MAKE); $(unstage)
33926 @[ -f ./sed/Makefile ] || exit 0; \
33927 r=`${PWD_COMMAND}`; export r; \
33928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33929 $(HOST_EXPORTS) \
33930 for flag in $(EXTRA_HOST_FLAGS) ; do \
33931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33932 done; \
33933 echo "Doing TAGS in sed" ; \
33934 (cd $(HOST_SUBDIR)/sed && \
33935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33937 "RANLIB=$${RANLIB}" \
33938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33939 TAGS) \
33940 || exit 1
33942 @endif sed
33944 .PHONY: maybe-install-info-sed install-info-sed
33945 maybe-install-info-sed:
33946 @if sed
33947 maybe-install-info-sed: install-info-sed
33949 install-info-sed: \
33950 configure-sed \
33951 info-sed
33952 @: $(MAKE); $(unstage)
33953 @[ -f ./sed/Makefile ] || exit 0; \
33954 r=`${PWD_COMMAND}`; export r; \
33955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33956 $(HOST_EXPORTS) \
33957 for flag in $(EXTRA_HOST_FLAGS) ; do \
33958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33959 done; \
33960 echo "Doing install-info in sed" ; \
33961 (cd $(HOST_SUBDIR)/sed && \
33962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33964 "RANLIB=$${RANLIB}" \
33965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33966 install-info) \
33967 || exit 1
33969 @endif sed
33971 .PHONY: maybe-install-pdf-sed install-pdf-sed
33972 maybe-install-pdf-sed:
33973 @if sed
33974 maybe-install-pdf-sed: install-pdf-sed
33976 install-pdf-sed: \
33977 configure-sed \
33978 pdf-sed
33979 @: $(MAKE); $(unstage)
33980 @[ -f ./sed/Makefile ] || exit 0; \
33981 r=`${PWD_COMMAND}`; export r; \
33982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33983 $(HOST_EXPORTS) \
33984 for flag in $(EXTRA_HOST_FLAGS) ; do \
33985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33986 done; \
33987 echo "Doing install-pdf in sed" ; \
33988 (cd $(HOST_SUBDIR)/sed && \
33989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33991 "RANLIB=$${RANLIB}" \
33992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33993 install-pdf) \
33994 || exit 1
33996 @endif sed
33998 .PHONY: maybe-install-html-sed install-html-sed
33999 maybe-install-html-sed:
34000 @if sed
34001 maybe-install-html-sed: install-html-sed
34003 install-html-sed: \
34004 configure-sed \
34005 html-sed
34006 @: $(MAKE); $(unstage)
34007 @[ -f ./sed/Makefile ] || exit 0; \
34008 r=`${PWD_COMMAND}`; export r; \
34009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34010 $(HOST_EXPORTS) \
34011 for flag in $(EXTRA_HOST_FLAGS) ; do \
34012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34013 done; \
34014 echo "Doing install-html in sed" ; \
34015 (cd $(HOST_SUBDIR)/sed && \
34016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34018 "RANLIB=$${RANLIB}" \
34019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34020 install-html) \
34021 || exit 1
34023 @endif sed
34025 .PHONY: maybe-installcheck-sed installcheck-sed
34026 maybe-installcheck-sed:
34027 @if sed
34028 maybe-installcheck-sed: installcheck-sed
34030 installcheck-sed: \
34031 configure-sed
34032 @: $(MAKE); $(unstage)
34033 @[ -f ./sed/Makefile ] || exit 0; \
34034 r=`${PWD_COMMAND}`; export r; \
34035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34036 $(HOST_EXPORTS) \
34037 for flag in $(EXTRA_HOST_FLAGS) ; do \
34038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34039 done; \
34040 echo "Doing installcheck in sed" ; \
34041 (cd $(HOST_SUBDIR)/sed && \
34042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34044 "RANLIB=$${RANLIB}" \
34045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34046 installcheck) \
34047 || exit 1
34049 @endif sed
34051 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
34052 maybe-mostlyclean-sed:
34053 @if sed
34054 maybe-mostlyclean-sed: mostlyclean-sed
34056 mostlyclean-sed:
34057 @: $(MAKE); $(unstage)
34058 @[ -f ./sed/Makefile ] || exit 0; \
34059 r=`${PWD_COMMAND}`; export r; \
34060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34061 $(HOST_EXPORTS) \
34062 for flag in $(EXTRA_HOST_FLAGS) ; do \
34063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34064 done; \
34065 echo "Doing mostlyclean in sed" ; \
34066 (cd $(HOST_SUBDIR)/sed && \
34067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34069 "RANLIB=$${RANLIB}" \
34070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34071 mostlyclean) \
34072 || exit 1
34074 @endif sed
34076 .PHONY: maybe-clean-sed clean-sed
34077 maybe-clean-sed:
34078 @if sed
34079 maybe-clean-sed: clean-sed
34081 clean-sed:
34082 @: $(MAKE); $(unstage)
34083 @[ -f ./sed/Makefile ] || exit 0; \
34084 r=`${PWD_COMMAND}`; export r; \
34085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34086 $(HOST_EXPORTS) \
34087 for flag in $(EXTRA_HOST_FLAGS) ; do \
34088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34089 done; \
34090 echo "Doing clean in sed" ; \
34091 (cd $(HOST_SUBDIR)/sed && \
34092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34094 "RANLIB=$${RANLIB}" \
34095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34096 clean) \
34097 || exit 1
34099 @endif sed
34101 .PHONY: maybe-distclean-sed distclean-sed
34102 maybe-distclean-sed:
34103 @if sed
34104 maybe-distclean-sed: distclean-sed
34106 distclean-sed:
34107 @: $(MAKE); $(unstage)
34108 @[ -f ./sed/Makefile ] || exit 0; \
34109 r=`${PWD_COMMAND}`; export r; \
34110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34111 $(HOST_EXPORTS) \
34112 for flag in $(EXTRA_HOST_FLAGS) ; do \
34113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34114 done; \
34115 echo "Doing distclean in sed" ; \
34116 (cd $(HOST_SUBDIR)/sed && \
34117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34119 "RANLIB=$${RANLIB}" \
34120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34121 distclean) \
34122 || exit 1
34124 @endif sed
34126 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
34127 maybe-maintainer-clean-sed:
34128 @if sed
34129 maybe-maintainer-clean-sed: maintainer-clean-sed
34131 maintainer-clean-sed:
34132 @: $(MAKE); $(unstage)
34133 @[ -f ./sed/Makefile ] || exit 0; \
34134 r=`${PWD_COMMAND}`; export r; \
34135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34136 $(HOST_EXPORTS) \
34137 for flag in $(EXTRA_HOST_FLAGS) ; do \
34138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34139 done; \
34140 echo "Doing maintainer-clean in sed" ; \
34141 (cd $(HOST_SUBDIR)/sed && \
34142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34144 "RANLIB=$${RANLIB}" \
34145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34146 maintainer-clean) \
34147 || exit 1
34149 @endif sed
34153 .PHONY: configure-send-pr maybe-configure-send-pr
34154 maybe-configure-send-pr:
34155 @if gcc-bootstrap
34156 configure-send-pr: stage_current
34157 @endif gcc-bootstrap
34158 @if send-pr
34159 maybe-configure-send-pr: configure-send-pr
34160 configure-send-pr:
34161 @: $(MAKE); $(unstage)
34162 @r=`${PWD_COMMAND}`; export r; \
34163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34164 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
34165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
34166 $(HOST_EXPORTS) \
34167 echo Configuring in $(HOST_SUBDIR)/send-pr; \
34168 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
34169 case $(srcdir) in \
34170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34171 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
34172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34173 esac; \
34174 srcdiroption="--srcdir=$${topdir}/send-pr"; \
34175 libsrcdir="$$s/send-pr"; \
34176 $(SHELL) $${libsrcdir}/configure \
34177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34178 --target=${target_alias} $${srcdiroption} \
34179 || exit 1
34180 @endif send-pr
34186 .PHONY: all-send-pr maybe-all-send-pr
34187 maybe-all-send-pr:
34188 @if gcc-bootstrap
34189 all-send-pr: stage_current
34190 @endif gcc-bootstrap
34191 @if send-pr
34192 TARGET-send-pr=all
34193 maybe-all-send-pr: all-send-pr
34194 all-send-pr: configure-send-pr
34195 @: $(MAKE); $(unstage)
34196 @r=`${PWD_COMMAND}`; export r; \
34197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34198 $(HOST_EXPORTS) \
34199 (cd $(HOST_SUBDIR)/send-pr && \
34200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34201 $(TARGET-send-pr))
34202 @endif send-pr
34207 .PHONY: check-send-pr maybe-check-send-pr
34208 maybe-check-send-pr:
34209 @if send-pr
34210 maybe-check-send-pr: check-send-pr
34212 check-send-pr:
34213 @: $(MAKE); $(unstage)
34214 @r=`${PWD_COMMAND}`; export r; \
34215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34216 $(HOST_EXPORTS) \
34217 (cd $(HOST_SUBDIR)/send-pr && \
34218 $(MAKE) $(FLAGS_TO_PASS) check)
34220 @endif send-pr
34222 .PHONY: install-send-pr maybe-install-send-pr
34223 maybe-install-send-pr:
34224 @if send-pr
34225 maybe-install-send-pr: install-send-pr
34227 install-send-pr: installdirs
34228 @: $(MAKE); $(unstage)
34229 @r=`${PWD_COMMAND}`; export r; \
34230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34231 $(HOST_EXPORTS) \
34232 (cd $(HOST_SUBDIR)/send-pr && \
34233 $(MAKE) $(FLAGS_TO_PASS) install)
34235 @endif send-pr
34237 # Other targets (info, dvi, pdf, etc.)
34239 .PHONY: maybe-info-send-pr info-send-pr
34240 maybe-info-send-pr:
34241 @if send-pr
34242 maybe-info-send-pr: info-send-pr
34244 info-send-pr: \
34245 configure-send-pr
34246 @: $(MAKE); $(unstage)
34247 @[ -f ./send-pr/Makefile ] || exit 0; \
34248 r=`${PWD_COMMAND}`; export r; \
34249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34250 $(HOST_EXPORTS) \
34251 for flag in $(EXTRA_HOST_FLAGS) ; do \
34252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34253 done; \
34254 echo "Doing info in send-pr" ; \
34255 (cd $(HOST_SUBDIR)/send-pr && \
34256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34258 "RANLIB=$${RANLIB}" \
34259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34260 info) \
34261 || exit 1
34263 @endif send-pr
34265 .PHONY: maybe-dvi-send-pr dvi-send-pr
34266 maybe-dvi-send-pr:
34267 @if send-pr
34268 maybe-dvi-send-pr: dvi-send-pr
34270 dvi-send-pr: \
34271 configure-send-pr
34272 @: $(MAKE); $(unstage)
34273 @[ -f ./send-pr/Makefile ] || exit 0; \
34274 r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 $(HOST_EXPORTS) \
34277 for flag in $(EXTRA_HOST_FLAGS) ; do \
34278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34279 done; \
34280 echo "Doing dvi in send-pr" ; \
34281 (cd $(HOST_SUBDIR)/send-pr && \
34282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34284 "RANLIB=$${RANLIB}" \
34285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34286 dvi) \
34287 || exit 1
34289 @endif send-pr
34291 .PHONY: maybe-pdf-send-pr pdf-send-pr
34292 maybe-pdf-send-pr:
34293 @if send-pr
34294 maybe-pdf-send-pr: pdf-send-pr
34296 pdf-send-pr: \
34297 configure-send-pr
34298 @: $(MAKE); $(unstage)
34299 @[ -f ./send-pr/Makefile ] || exit 0; \
34300 r=`${PWD_COMMAND}`; export r; \
34301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34302 $(HOST_EXPORTS) \
34303 for flag in $(EXTRA_HOST_FLAGS) ; do \
34304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34305 done; \
34306 echo "Doing pdf in send-pr" ; \
34307 (cd $(HOST_SUBDIR)/send-pr && \
34308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34310 "RANLIB=$${RANLIB}" \
34311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34312 pdf) \
34313 || exit 1
34315 @endif send-pr
34317 .PHONY: maybe-html-send-pr html-send-pr
34318 maybe-html-send-pr:
34319 @if send-pr
34320 maybe-html-send-pr: html-send-pr
34322 html-send-pr: \
34323 configure-send-pr
34324 @: $(MAKE); $(unstage)
34325 @[ -f ./send-pr/Makefile ] || exit 0; \
34326 r=`${PWD_COMMAND}`; export r; \
34327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34328 $(HOST_EXPORTS) \
34329 for flag in $(EXTRA_HOST_FLAGS) ; do \
34330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34331 done; \
34332 echo "Doing html in send-pr" ; \
34333 (cd $(HOST_SUBDIR)/send-pr && \
34334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34336 "RANLIB=$${RANLIB}" \
34337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34338 html) \
34339 || exit 1
34341 @endif send-pr
34343 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
34344 maybe-TAGS-send-pr:
34345 @if send-pr
34346 maybe-TAGS-send-pr: TAGS-send-pr
34348 TAGS-send-pr: \
34349 configure-send-pr
34350 @: $(MAKE); $(unstage)
34351 @[ -f ./send-pr/Makefile ] || exit 0; \
34352 r=`${PWD_COMMAND}`; export r; \
34353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34354 $(HOST_EXPORTS) \
34355 for flag in $(EXTRA_HOST_FLAGS) ; do \
34356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34357 done; \
34358 echo "Doing TAGS in send-pr" ; \
34359 (cd $(HOST_SUBDIR)/send-pr && \
34360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34362 "RANLIB=$${RANLIB}" \
34363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34364 TAGS) \
34365 || exit 1
34367 @endif send-pr
34369 .PHONY: maybe-install-info-send-pr install-info-send-pr
34370 maybe-install-info-send-pr:
34371 @if send-pr
34372 maybe-install-info-send-pr: install-info-send-pr
34374 install-info-send-pr: \
34375 configure-send-pr \
34376 info-send-pr
34377 @: $(MAKE); $(unstage)
34378 @[ -f ./send-pr/Makefile ] || exit 0; \
34379 r=`${PWD_COMMAND}`; export r; \
34380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34381 $(HOST_EXPORTS) \
34382 for flag in $(EXTRA_HOST_FLAGS) ; do \
34383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34384 done; \
34385 echo "Doing install-info in send-pr" ; \
34386 (cd $(HOST_SUBDIR)/send-pr && \
34387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34389 "RANLIB=$${RANLIB}" \
34390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34391 install-info) \
34392 || exit 1
34394 @endif send-pr
34396 .PHONY: maybe-install-pdf-send-pr install-pdf-send-pr
34397 maybe-install-pdf-send-pr:
34398 @if send-pr
34399 maybe-install-pdf-send-pr: install-pdf-send-pr
34401 install-pdf-send-pr: \
34402 configure-send-pr \
34403 pdf-send-pr
34404 @: $(MAKE); $(unstage)
34405 @[ -f ./send-pr/Makefile ] || exit 0; \
34406 r=`${PWD_COMMAND}`; export r; \
34407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34408 $(HOST_EXPORTS) \
34409 for flag in $(EXTRA_HOST_FLAGS) ; do \
34410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34411 done; \
34412 echo "Doing install-pdf in send-pr" ; \
34413 (cd $(HOST_SUBDIR)/send-pr && \
34414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34416 "RANLIB=$${RANLIB}" \
34417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34418 install-pdf) \
34419 || exit 1
34421 @endif send-pr
34423 .PHONY: maybe-install-html-send-pr install-html-send-pr
34424 maybe-install-html-send-pr:
34425 @if send-pr
34426 maybe-install-html-send-pr: install-html-send-pr
34428 install-html-send-pr: \
34429 configure-send-pr \
34430 html-send-pr
34431 @: $(MAKE); $(unstage)
34432 @[ -f ./send-pr/Makefile ] || exit 0; \
34433 r=`${PWD_COMMAND}`; export r; \
34434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34435 $(HOST_EXPORTS) \
34436 for flag in $(EXTRA_HOST_FLAGS) ; do \
34437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34438 done; \
34439 echo "Doing install-html in send-pr" ; \
34440 (cd $(HOST_SUBDIR)/send-pr && \
34441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34443 "RANLIB=$${RANLIB}" \
34444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34445 install-html) \
34446 || exit 1
34448 @endif send-pr
34450 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
34451 maybe-installcheck-send-pr:
34452 @if send-pr
34453 maybe-installcheck-send-pr: installcheck-send-pr
34455 installcheck-send-pr: \
34456 configure-send-pr
34457 @: $(MAKE); $(unstage)
34458 @[ -f ./send-pr/Makefile ] || exit 0; \
34459 r=`${PWD_COMMAND}`; export r; \
34460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34461 $(HOST_EXPORTS) \
34462 for flag in $(EXTRA_HOST_FLAGS) ; do \
34463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34464 done; \
34465 echo "Doing installcheck in send-pr" ; \
34466 (cd $(HOST_SUBDIR)/send-pr && \
34467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34469 "RANLIB=$${RANLIB}" \
34470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34471 installcheck) \
34472 || exit 1
34474 @endif send-pr
34476 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
34477 maybe-mostlyclean-send-pr:
34478 @if send-pr
34479 maybe-mostlyclean-send-pr: mostlyclean-send-pr
34481 mostlyclean-send-pr:
34482 @: $(MAKE); $(unstage)
34483 @[ -f ./send-pr/Makefile ] || exit 0; \
34484 r=`${PWD_COMMAND}`; export r; \
34485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34486 $(HOST_EXPORTS) \
34487 for flag in $(EXTRA_HOST_FLAGS) ; do \
34488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34489 done; \
34490 echo "Doing mostlyclean in send-pr" ; \
34491 (cd $(HOST_SUBDIR)/send-pr && \
34492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34494 "RANLIB=$${RANLIB}" \
34495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34496 mostlyclean) \
34497 || exit 1
34499 @endif send-pr
34501 .PHONY: maybe-clean-send-pr clean-send-pr
34502 maybe-clean-send-pr:
34503 @if send-pr
34504 maybe-clean-send-pr: clean-send-pr
34506 clean-send-pr:
34507 @: $(MAKE); $(unstage)
34508 @[ -f ./send-pr/Makefile ] || exit 0; \
34509 r=`${PWD_COMMAND}`; export r; \
34510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34511 $(HOST_EXPORTS) \
34512 for flag in $(EXTRA_HOST_FLAGS) ; do \
34513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34514 done; \
34515 echo "Doing clean in send-pr" ; \
34516 (cd $(HOST_SUBDIR)/send-pr && \
34517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34519 "RANLIB=$${RANLIB}" \
34520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34521 clean) \
34522 || exit 1
34524 @endif send-pr
34526 .PHONY: maybe-distclean-send-pr distclean-send-pr
34527 maybe-distclean-send-pr:
34528 @if send-pr
34529 maybe-distclean-send-pr: distclean-send-pr
34531 distclean-send-pr:
34532 @: $(MAKE); $(unstage)
34533 @[ -f ./send-pr/Makefile ] || exit 0; \
34534 r=`${PWD_COMMAND}`; export r; \
34535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34536 $(HOST_EXPORTS) \
34537 for flag in $(EXTRA_HOST_FLAGS) ; do \
34538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34539 done; \
34540 echo "Doing distclean in send-pr" ; \
34541 (cd $(HOST_SUBDIR)/send-pr && \
34542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34544 "RANLIB=$${RANLIB}" \
34545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34546 distclean) \
34547 || exit 1
34549 @endif send-pr
34551 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
34552 maybe-maintainer-clean-send-pr:
34553 @if send-pr
34554 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
34556 maintainer-clean-send-pr:
34557 @: $(MAKE); $(unstage)
34558 @[ -f ./send-pr/Makefile ] || exit 0; \
34559 r=`${PWD_COMMAND}`; export r; \
34560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34561 $(HOST_EXPORTS) \
34562 for flag in $(EXTRA_HOST_FLAGS) ; do \
34563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34564 done; \
34565 echo "Doing maintainer-clean in send-pr" ; \
34566 (cd $(HOST_SUBDIR)/send-pr && \
34567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34569 "RANLIB=$${RANLIB}" \
34570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34571 maintainer-clean) \
34572 || exit 1
34574 @endif send-pr
34578 .PHONY: configure-shellutils maybe-configure-shellutils
34579 maybe-configure-shellutils:
34580 @if gcc-bootstrap
34581 configure-shellutils: stage_current
34582 @endif gcc-bootstrap
34583 @if shellutils
34584 maybe-configure-shellutils: configure-shellutils
34585 configure-shellutils:
34586 @: $(MAKE); $(unstage)
34587 @r=`${PWD_COMMAND}`; export r; \
34588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34589 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
34590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
34591 $(HOST_EXPORTS) \
34592 echo Configuring in $(HOST_SUBDIR)/shellutils; \
34593 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
34594 case $(srcdir) in \
34595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34596 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
34597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34598 esac; \
34599 srcdiroption="--srcdir=$${topdir}/shellutils"; \
34600 libsrcdir="$$s/shellutils"; \
34601 $(SHELL) $${libsrcdir}/configure \
34602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34603 --target=${target_alias} $${srcdiroption} \
34604 || exit 1
34605 @endif shellutils
34611 .PHONY: all-shellutils maybe-all-shellutils
34612 maybe-all-shellutils:
34613 @if gcc-bootstrap
34614 all-shellutils: stage_current
34615 @endif gcc-bootstrap
34616 @if shellutils
34617 TARGET-shellutils=all
34618 maybe-all-shellutils: all-shellutils
34619 all-shellutils: configure-shellutils
34620 @: $(MAKE); $(unstage)
34621 @r=`${PWD_COMMAND}`; export r; \
34622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34623 $(HOST_EXPORTS) \
34624 (cd $(HOST_SUBDIR)/shellutils && \
34625 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34626 $(TARGET-shellutils))
34627 @endif shellutils
34632 .PHONY: check-shellutils maybe-check-shellutils
34633 maybe-check-shellutils:
34634 @if shellutils
34635 maybe-check-shellutils: check-shellutils
34637 check-shellutils:
34638 @: $(MAKE); $(unstage)
34639 @r=`${PWD_COMMAND}`; export r; \
34640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34641 $(HOST_EXPORTS) \
34642 (cd $(HOST_SUBDIR)/shellutils && \
34643 $(MAKE) $(FLAGS_TO_PASS) check)
34645 @endif shellutils
34647 .PHONY: install-shellutils maybe-install-shellutils
34648 maybe-install-shellutils:
34649 @if shellutils
34650 maybe-install-shellutils: install-shellutils
34652 install-shellutils: installdirs
34653 @: $(MAKE); $(unstage)
34654 @r=`${PWD_COMMAND}`; export r; \
34655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34656 $(HOST_EXPORTS) \
34657 (cd $(HOST_SUBDIR)/shellutils && \
34658 $(MAKE) $(FLAGS_TO_PASS) install)
34660 @endif shellutils
34662 # Other targets (info, dvi, pdf, etc.)
34664 .PHONY: maybe-info-shellutils info-shellutils
34665 maybe-info-shellutils:
34666 @if shellutils
34667 maybe-info-shellutils: info-shellutils
34669 info-shellutils: \
34670 configure-shellutils
34671 @: $(MAKE); $(unstage)
34672 @[ -f ./shellutils/Makefile ] || exit 0; \
34673 r=`${PWD_COMMAND}`; export r; \
34674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34675 $(HOST_EXPORTS) \
34676 for flag in $(EXTRA_HOST_FLAGS) ; do \
34677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34678 done; \
34679 echo "Doing info in shellutils" ; \
34680 (cd $(HOST_SUBDIR)/shellutils && \
34681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34683 "RANLIB=$${RANLIB}" \
34684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34685 info) \
34686 || exit 1
34688 @endif shellutils
34690 .PHONY: maybe-dvi-shellutils dvi-shellutils
34691 maybe-dvi-shellutils:
34692 @if shellutils
34693 maybe-dvi-shellutils: dvi-shellutils
34695 dvi-shellutils: \
34696 configure-shellutils
34697 @: $(MAKE); $(unstage)
34698 @[ -f ./shellutils/Makefile ] || exit 0; \
34699 r=`${PWD_COMMAND}`; export r; \
34700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34701 $(HOST_EXPORTS) \
34702 for flag in $(EXTRA_HOST_FLAGS) ; do \
34703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34704 done; \
34705 echo "Doing dvi in shellutils" ; \
34706 (cd $(HOST_SUBDIR)/shellutils && \
34707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34709 "RANLIB=$${RANLIB}" \
34710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34711 dvi) \
34712 || exit 1
34714 @endif shellutils
34716 .PHONY: maybe-pdf-shellutils pdf-shellutils
34717 maybe-pdf-shellutils:
34718 @if shellutils
34719 maybe-pdf-shellutils: pdf-shellutils
34721 pdf-shellutils: \
34722 configure-shellutils
34723 @: $(MAKE); $(unstage)
34724 @[ -f ./shellutils/Makefile ] || exit 0; \
34725 r=`${PWD_COMMAND}`; export r; \
34726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34727 $(HOST_EXPORTS) \
34728 for flag in $(EXTRA_HOST_FLAGS) ; do \
34729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34730 done; \
34731 echo "Doing pdf in shellutils" ; \
34732 (cd $(HOST_SUBDIR)/shellutils && \
34733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34735 "RANLIB=$${RANLIB}" \
34736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34737 pdf) \
34738 || exit 1
34740 @endif shellutils
34742 .PHONY: maybe-html-shellutils html-shellutils
34743 maybe-html-shellutils:
34744 @if shellutils
34745 maybe-html-shellutils: html-shellutils
34747 html-shellutils: \
34748 configure-shellutils
34749 @: $(MAKE); $(unstage)
34750 @[ -f ./shellutils/Makefile ] || exit 0; \
34751 r=`${PWD_COMMAND}`; export r; \
34752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34753 $(HOST_EXPORTS) \
34754 for flag in $(EXTRA_HOST_FLAGS) ; do \
34755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34756 done; \
34757 echo "Doing html in shellutils" ; \
34758 (cd $(HOST_SUBDIR)/shellutils && \
34759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34761 "RANLIB=$${RANLIB}" \
34762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34763 html) \
34764 || exit 1
34766 @endif shellutils
34768 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
34769 maybe-TAGS-shellutils:
34770 @if shellutils
34771 maybe-TAGS-shellutils: TAGS-shellutils
34773 TAGS-shellutils: \
34774 configure-shellutils
34775 @: $(MAKE); $(unstage)
34776 @[ -f ./shellutils/Makefile ] || exit 0; \
34777 r=`${PWD_COMMAND}`; export r; \
34778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34779 $(HOST_EXPORTS) \
34780 for flag in $(EXTRA_HOST_FLAGS) ; do \
34781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34782 done; \
34783 echo "Doing TAGS in shellutils" ; \
34784 (cd $(HOST_SUBDIR)/shellutils && \
34785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34787 "RANLIB=$${RANLIB}" \
34788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34789 TAGS) \
34790 || exit 1
34792 @endif shellutils
34794 .PHONY: maybe-install-info-shellutils install-info-shellutils
34795 maybe-install-info-shellutils:
34796 @if shellutils
34797 maybe-install-info-shellutils: install-info-shellutils
34799 install-info-shellutils: \
34800 configure-shellutils \
34801 info-shellutils
34802 @: $(MAKE); $(unstage)
34803 @[ -f ./shellutils/Makefile ] || exit 0; \
34804 r=`${PWD_COMMAND}`; export r; \
34805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34806 $(HOST_EXPORTS) \
34807 for flag in $(EXTRA_HOST_FLAGS) ; do \
34808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34809 done; \
34810 echo "Doing install-info in shellutils" ; \
34811 (cd $(HOST_SUBDIR)/shellutils && \
34812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34814 "RANLIB=$${RANLIB}" \
34815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34816 install-info) \
34817 || exit 1
34819 @endif shellutils
34821 .PHONY: maybe-install-pdf-shellutils install-pdf-shellutils
34822 maybe-install-pdf-shellutils:
34823 @if shellutils
34824 maybe-install-pdf-shellutils: install-pdf-shellutils
34826 install-pdf-shellutils: \
34827 configure-shellutils \
34828 pdf-shellutils
34829 @: $(MAKE); $(unstage)
34830 @[ -f ./shellutils/Makefile ] || exit 0; \
34831 r=`${PWD_COMMAND}`; export r; \
34832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34833 $(HOST_EXPORTS) \
34834 for flag in $(EXTRA_HOST_FLAGS) ; do \
34835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34836 done; \
34837 echo "Doing install-pdf in shellutils" ; \
34838 (cd $(HOST_SUBDIR)/shellutils && \
34839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34841 "RANLIB=$${RANLIB}" \
34842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34843 install-pdf) \
34844 || exit 1
34846 @endif shellutils
34848 .PHONY: maybe-install-html-shellutils install-html-shellutils
34849 maybe-install-html-shellutils:
34850 @if shellutils
34851 maybe-install-html-shellutils: install-html-shellutils
34853 install-html-shellutils: \
34854 configure-shellutils \
34855 html-shellutils
34856 @: $(MAKE); $(unstage)
34857 @[ -f ./shellutils/Makefile ] || exit 0; \
34858 r=`${PWD_COMMAND}`; export r; \
34859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34860 $(HOST_EXPORTS) \
34861 for flag in $(EXTRA_HOST_FLAGS) ; do \
34862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34863 done; \
34864 echo "Doing install-html in shellutils" ; \
34865 (cd $(HOST_SUBDIR)/shellutils && \
34866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34868 "RANLIB=$${RANLIB}" \
34869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34870 install-html) \
34871 || exit 1
34873 @endif shellutils
34875 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
34876 maybe-installcheck-shellutils:
34877 @if shellutils
34878 maybe-installcheck-shellutils: installcheck-shellutils
34880 installcheck-shellutils: \
34881 configure-shellutils
34882 @: $(MAKE); $(unstage)
34883 @[ -f ./shellutils/Makefile ] || exit 0; \
34884 r=`${PWD_COMMAND}`; export r; \
34885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34886 $(HOST_EXPORTS) \
34887 for flag in $(EXTRA_HOST_FLAGS) ; do \
34888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34889 done; \
34890 echo "Doing installcheck in shellutils" ; \
34891 (cd $(HOST_SUBDIR)/shellutils && \
34892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34894 "RANLIB=$${RANLIB}" \
34895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34896 installcheck) \
34897 || exit 1
34899 @endif shellutils
34901 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
34902 maybe-mostlyclean-shellutils:
34903 @if shellutils
34904 maybe-mostlyclean-shellutils: mostlyclean-shellutils
34906 mostlyclean-shellutils:
34907 @: $(MAKE); $(unstage)
34908 @[ -f ./shellutils/Makefile ] || exit 0; \
34909 r=`${PWD_COMMAND}`; export r; \
34910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34911 $(HOST_EXPORTS) \
34912 for flag in $(EXTRA_HOST_FLAGS) ; do \
34913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34914 done; \
34915 echo "Doing mostlyclean in shellutils" ; \
34916 (cd $(HOST_SUBDIR)/shellutils && \
34917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34919 "RANLIB=$${RANLIB}" \
34920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34921 mostlyclean) \
34922 || exit 1
34924 @endif shellutils
34926 .PHONY: maybe-clean-shellutils clean-shellutils
34927 maybe-clean-shellutils:
34928 @if shellutils
34929 maybe-clean-shellutils: clean-shellutils
34931 clean-shellutils:
34932 @: $(MAKE); $(unstage)
34933 @[ -f ./shellutils/Makefile ] || exit 0; \
34934 r=`${PWD_COMMAND}`; export r; \
34935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34936 $(HOST_EXPORTS) \
34937 for flag in $(EXTRA_HOST_FLAGS) ; do \
34938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34939 done; \
34940 echo "Doing clean in shellutils" ; \
34941 (cd $(HOST_SUBDIR)/shellutils && \
34942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34944 "RANLIB=$${RANLIB}" \
34945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34946 clean) \
34947 || exit 1
34949 @endif shellutils
34951 .PHONY: maybe-distclean-shellutils distclean-shellutils
34952 maybe-distclean-shellutils:
34953 @if shellutils
34954 maybe-distclean-shellutils: distclean-shellutils
34956 distclean-shellutils:
34957 @: $(MAKE); $(unstage)
34958 @[ -f ./shellutils/Makefile ] || exit 0; \
34959 r=`${PWD_COMMAND}`; export r; \
34960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34961 $(HOST_EXPORTS) \
34962 for flag in $(EXTRA_HOST_FLAGS) ; do \
34963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34964 done; \
34965 echo "Doing distclean in shellutils" ; \
34966 (cd $(HOST_SUBDIR)/shellutils && \
34967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34969 "RANLIB=$${RANLIB}" \
34970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34971 distclean) \
34972 || exit 1
34974 @endif shellutils
34976 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
34977 maybe-maintainer-clean-shellutils:
34978 @if shellutils
34979 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
34981 maintainer-clean-shellutils:
34982 @: $(MAKE); $(unstage)
34983 @[ -f ./shellutils/Makefile ] || exit 0; \
34984 r=`${PWD_COMMAND}`; export r; \
34985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34986 $(HOST_EXPORTS) \
34987 for flag in $(EXTRA_HOST_FLAGS) ; do \
34988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34989 done; \
34990 echo "Doing maintainer-clean in shellutils" ; \
34991 (cd $(HOST_SUBDIR)/shellutils && \
34992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34994 "RANLIB=$${RANLIB}" \
34995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34996 maintainer-clean) \
34997 || exit 1
34999 @endif shellutils
35003 .PHONY: configure-sid maybe-configure-sid
35004 maybe-configure-sid:
35005 @if gcc-bootstrap
35006 configure-sid: stage_current
35007 @endif gcc-bootstrap
35008 @if sid
35009 maybe-configure-sid: configure-sid
35010 configure-sid:
35011 @: $(MAKE); $(unstage)
35012 @r=`${PWD_COMMAND}`; export r; \
35013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35014 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
35015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
35016 $(HOST_EXPORTS) \
35017 echo Configuring in $(HOST_SUBDIR)/sid; \
35018 cd "$(HOST_SUBDIR)/sid" || exit 1; \
35019 case $(srcdir) in \
35020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35021 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
35022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35023 esac; \
35024 srcdiroption="--srcdir=$${topdir}/sid"; \
35025 libsrcdir="$$s/sid"; \
35026 $(SHELL) $${libsrcdir}/configure \
35027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35028 --target=${target_alias} $${srcdiroption} \
35029 || exit 1
35030 @endif sid
35036 .PHONY: all-sid maybe-all-sid
35037 maybe-all-sid:
35038 @if gcc-bootstrap
35039 all-sid: stage_current
35040 @endif gcc-bootstrap
35041 @if sid
35042 TARGET-sid=all
35043 maybe-all-sid: all-sid
35044 all-sid: configure-sid
35045 @: $(MAKE); $(unstage)
35046 @r=`${PWD_COMMAND}`; export r; \
35047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35048 $(HOST_EXPORTS) \
35049 (cd $(HOST_SUBDIR)/sid && \
35050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35051 $(TARGET-sid))
35052 @endif sid
35057 .PHONY: check-sid maybe-check-sid
35058 maybe-check-sid:
35059 @if sid
35060 maybe-check-sid: check-sid
35062 check-sid:
35063 @: $(MAKE); $(unstage)
35064 @r=`${PWD_COMMAND}`; export r; \
35065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35066 $(HOST_EXPORTS) \
35067 (cd $(HOST_SUBDIR)/sid && \
35068 $(MAKE) $(FLAGS_TO_PASS) check)
35070 @endif sid
35072 .PHONY: install-sid maybe-install-sid
35073 maybe-install-sid:
35074 @if sid
35075 maybe-install-sid: install-sid
35077 install-sid: installdirs
35078 @: $(MAKE); $(unstage)
35079 @r=`${PWD_COMMAND}`; export r; \
35080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35081 $(HOST_EXPORTS) \
35082 (cd $(HOST_SUBDIR)/sid && \
35083 $(MAKE) $(FLAGS_TO_PASS) install)
35085 @endif sid
35087 # Other targets (info, dvi, pdf, etc.)
35089 .PHONY: maybe-info-sid info-sid
35090 maybe-info-sid:
35091 @if sid
35092 maybe-info-sid: info-sid
35094 info-sid: \
35095 configure-sid
35096 @: $(MAKE); $(unstage)
35097 @[ -f ./sid/Makefile ] || exit 0; \
35098 r=`${PWD_COMMAND}`; export r; \
35099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35100 $(HOST_EXPORTS) \
35101 for flag in $(EXTRA_HOST_FLAGS) ; do \
35102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35103 done; \
35104 echo "Doing info in sid" ; \
35105 (cd $(HOST_SUBDIR)/sid && \
35106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35108 "RANLIB=$${RANLIB}" \
35109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35110 info) \
35111 || exit 1
35113 @endif sid
35115 .PHONY: maybe-dvi-sid dvi-sid
35116 maybe-dvi-sid:
35117 @if sid
35118 maybe-dvi-sid: dvi-sid
35120 dvi-sid: \
35121 configure-sid
35122 @: $(MAKE); $(unstage)
35123 @[ -f ./sid/Makefile ] || exit 0; \
35124 r=`${PWD_COMMAND}`; export r; \
35125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35126 $(HOST_EXPORTS) \
35127 for flag in $(EXTRA_HOST_FLAGS) ; do \
35128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35129 done; \
35130 echo "Doing dvi in sid" ; \
35131 (cd $(HOST_SUBDIR)/sid && \
35132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35134 "RANLIB=$${RANLIB}" \
35135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35136 dvi) \
35137 || exit 1
35139 @endif sid
35141 .PHONY: maybe-pdf-sid pdf-sid
35142 maybe-pdf-sid:
35143 @if sid
35144 maybe-pdf-sid: pdf-sid
35146 pdf-sid: \
35147 configure-sid
35148 @: $(MAKE); $(unstage)
35149 @[ -f ./sid/Makefile ] || exit 0; \
35150 r=`${PWD_COMMAND}`; export r; \
35151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35152 $(HOST_EXPORTS) \
35153 for flag in $(EXTRA_HOST_FLAGS) ; do \
35154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35155 done; \
35156 echo "Doing pdf in sid" ; \
35157 (cd $(HOST_SUBDIR)/sid && \
35158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35160 "RANLIB=$${RANLIB}" \
35161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35162 pdf) \
35163 || exit 1
35165 @endif sid
35167 .PHONY: maybe-html-sid html-sid
35168 maybe-html-sid:
35169 @if sid
35170 maybe-html-sid: html-sid
35172 html-sid: \
35173 configure-sid
35174 @: $(MAKE); $(unstage)
35175 @[ -f ./sid/Makefile ] || exit 0; \
35176 r=`${PWD_COMMAND}`; export r; \
35177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35178 $(HOST_EXPORTS) \
35179 for flag in $(EXTRA_HOST_FLAGS) ; do \
35180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35181 done; \
35182 echo "Doing html in sid" ; \
35183 (cd $(HOST_SUBDIR)/sid && \
35184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35186 "RANLIB=$${RANLIB}" \
35187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35188 html) \
35189 || exit 1
35191 @endif sid
35193 .PHONY: maybe-TAGS-sid TAGS-sid
35194 maybe-TAGS-sid:
35195 @if sid
35196 maybe-TAGS-sid: TAGS-sid
35198 TAGS-sid: \
35199 configure-sid
35200 @: $(MAKE); $(unstage)
35201 @[ -f ./sid/Makefile ] || exit 0; \
35202 r=`${PWD_COMMAND}`; export r; \
35203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35204 $(HOST_EXPORTS) \
35205 for flag in $(EXTRA_HOST_FLAGS) ; do \
35206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35207 done; \
35208 echo "Doing TAGS in sid" ; \
35209 (cd $(HOST_SUBDIR)/sid && \
35210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35212 "RANLIB=$${RANLIB}" \
35213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35214 TAGS) \
35215 || exit 1
35217 @endif sid
35219 .PHONY: maybe-install-info-sid install-info-sid
35220 maybe-install-info-sid:
35221 @if sid
35222 maybe-install-info-sid: install-info-sid
35224 install-info-sid: \
35225 configure-sid \
35226 info-sid
35227 @: $(MAKE); $(unstage)
35228 @[ -f ./sid/Makefile ] || exit 0; \
35229 r=`${PWD_COMMAND}`; export r; \
35230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35231 $(HOST_EXPORTS) \
35232 for flag in $(EXTRA_HOST_FLAGS) ; do \
35233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35234 done; \
35235 echo "Doing install-info in sid" ; \
35236 (cd $(HOST_SUBDIR)/sid && \
35237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35239 "RANLIB=$${RANLIB}" \
35240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35241 install-info) \
35242 || exit 1
35244 @endif sid
35246 .PHONY: maybe-install-pdf-sid install-pdf-sid
35247 maybe-install-pdf-sid:
35248 @if sid
35249 maybe-install-pdf-sid: install-pdf-sid
35251 install-pdf-sid: \
35252 configure-sid \
35253 pdf-sid
35254 @: $(MAKE); $(unstage)
35255 @[ -f ./sid/Makefile ] || exit 0; \
35256 r=`${PWD_COMMAND}`; export r; \
35257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35258 $(HOST_EXPORTS) \
35259 for flag in $(EXTRA_HOST_FLAGS) ; do \
35260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35261 done; \
35262 echo "Doing install-pdf in sid" ; \
35263 (cd $(HOST_SUBDIR)/sid && \
35264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35266 "RANLIB=$${RANLIB}" \
35267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35268 install-pdf) \
35269 || exit 1
35271 @endif sid
35273 .PHONY: maybe-install-html-sid install-html-sid
35274 maybe-install-html-sid:
35275 @if sid
35276 maybe-install-html-sid: install-html-sid
35278 install-html-sid: \
35279 configure-sid \
35280 html-sid
35281 @: $(MAKE); $(unstage)
35282 @[ -f ./sid/Makefile ] || exit 0; \
35283 r=`${PWD_COMMAND}`; export r; \
35284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35285 $(HOST_EXPORTS) \
35286 for flag in $(EXTRA_HOST_FLAGS) ; do \
35287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35288 done; \
35289 echo "Doing install-html in sid" ; \
35290 (cd $(HOST_SUBDIR)/sid && \
35291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35293 "RANLIB=$${RANLIB}" \
35294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35295 install-html) \
35296 || exit 1
35298 @endif sid
35300 .PHONY: maybe-installcheck-sid installcheck-sid
35301 maybe-installcheck-sid:
35302 @if sid
35303 maybe-installcheck-sid: installcheck-sid
35305 installcheck-sid: \
35306 configure-sid
35307 @: $(MAKE); $(unstage)
35308 @[ -f ./sid/Makefile ] || exit 0; \
35309 r=`${PWD_COMMAND}`; export r; \
35310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35311 $(HOST_EXPORTS) \
35312 for flag in $(EXTRA_HOST_FLAGS) ; do \
35313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35314 done; \
35315 echo "Doing installcheck in sid" ; \
35316 (cd $(HOST_SUBDIR)/sid && \
35317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35319 "RANLIB=$${RANLIB}" \
35320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35321 installcheck) \
35322 || exit 1
35324 @endif sid
35326 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
35327 maybe-mostlyclean-sid:
35328 @if sid
35329 maybe-mostlyclean-sid: mostlyclean-sid
35331 mostlyclean-sid:
35332 @: $(MAKE); $(unstage)
35333 @[ -f ./sid/Makefile ] || exit 0; \
35334 r=`${PWD_COMMAND}`; export r; \
35335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35336 $(HOST_EXPORTS) \
35337 for flag in $(EXTRA_HOST_FLAGS) ; do \
35338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35339 done; \
35340 echo "Doing mostlyclean in sid" ; \
35341 (cd $(HOST_SUBDIR)/sid && \
35342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35344 "RANLIB=$${RANLIB}" \
35345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35346 mostlyclean) \
35347 || exit 1
35349 @endif sid
35351 .PHONY: maybe-clean-sid clean-sid
35352 maybe-clean-sid:
35353 @if sid
35354 maybe-clean-sid: clean-sid
35356 clean-sid:
35357 @: $(MAKE); $(unstage)
35358 @[ -f ./sid/Makefile ] || exit 0; \
35359 r=`${PWD_COMMAND}`; export r; \
35360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35361 $(HOST_EXPORTS) \
35362 for flag in $(EXTRA_HOST_FLAGS) ; do \
35363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35364 done; \
35365 echo "Doing clean in sid" ; \
35366 (cd $(HOST_SUBDIR)/sid && \
35367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35369 "RANLIB=$${RANLIB}" \
35370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35371 clean) \
35372 || exit 1
35374 @endif sid
35376 .PHONY: maybe-distclean-sid distclean-sid
35377 maybe-distclean-sid:
35378 @if sid
35379 maybe-distclean-sid: distclean-sid
35381 distclean-sid:
35382 @: $(MAKE); $(unstage)
35383 @[ -f ./sid/Makefile ] || exit 0; \
35384 r=`${PWD_COMMAND}`; export r; \
35385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35386 $(HOST_EXPORTS) \
35387 for flag in $(EXTRA_HOST_FLAGS) ; do \
35388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35389 done; \
35390 echo "Doing distclean in sid" ; \
35391 (cd $(HOST_SUBDIR)/sid && \
35392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35394 "RANLIB=$${RANLIB}" \
35395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35396 distclean) \
35397 || exit 1
35399 @endif sid
35401 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
35402 maybe-maintainer-clean-sid:
35403 @if sid
35404 maybe-maintainer-clean-sid: maintainer-clean-sid
35406 maintainer-clean-sid:
35407 @: $(MAKE); $(unstage)
35408 @[ -f ./sid/Makefile ] || exit 0; \
35409 r=`${PWD_COMMAND}`; export r; \
35410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35411 $(HOST_EXPORTS) \
35412 for flag in $(EXTRA_HOST_FLAGS) ; do \
35413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35414 done; \
35415 echo "Doing maintainer-clean in sid" ; \
35416 (cd $(HOST_SUBDIR)/sid && \
35417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35419 "RANLIB=$${RANLIB}" \
35420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35421 maintainer-clean) \
35422 || exit 1
35424 @endif sid
35428 .PHONY: configure-sim maybe-configure-sim
35429 maybe-configure-sim:
35430 @if gcc-bootstrap
35431 configure-sim: stage_current
35432 @endif gcc-bootstrap
35433 @if sim
35434 maybe-configure-sim: configure-sim
35435 configure-sim:
35436 @: $(MAKE); $(unstage)
35437 @r=`${PWD_COMMAND}`; export r; \
35438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35439 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
35440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
35441 $(HOST_EXPORTS) \
35442 echo Configuring in $(HOST_SUBDIR)/sim; \
35443 cd "$(HOST_SUBDIR)/sim" || exit 1; \
35444 case $(srcdir) in \
35445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35446 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
35447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35448 esac; \
35449 srcdiroption="--srcdir=$${topdir}/sim"; \
35450 libsrcdir="$$s/sim"; \
35451 $(SHELL) $${libsrcdir}/configure \
35452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35453 --target=${target_alias} $${srcdiroption} \
35454 || exit 1
35455 @endif sim
35461 .PHONY: all-sim maybe-all-sim
35462 maybe-all-sim:
35463 @if gcc-bootstrap
35464 all-sim: stage_current
35465 @endif gcc-bootstrap
35466 @if sim
35467 TARGET-sim=all
35468 maybe-all-sim: all-sim
35469 all-sim: configure-sim
35470 @: $(MAKE); $(unstage)
35471 @r=`${PWD_COMMAND}`; export r; \
35472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35473 $(HOST_EXPORTS) \
35474 (cd $(HOST_SUBDIR)/sim && \
35475 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35476 $(TARGET-sim))
35477 @endif sim
35482 .PHONY: check-sim maybe-check-sim
35483 maybe-check-sim:
35484 @if sim
35485 maybe-check-sim: check-sim
35487 check-sim:
35488 @: $(MAKE); $(unstage)
35489 @r=`${PWD_COMMAND}`; export r; \
35490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35491 $(HOST_EXPORTS) \
35492 (cd $(HOST_SUBDIR)/sim && \
35493 $(MAKE) $(FLAGS_TO_PASS) check)
35495 @endif sim
35497 .PHONY: install-sim maybe-install-sim
35498 maybe-install-sim:
35499 @if sim
35500 maybe-install-sim: install-sim
35502 install-sim: installdirs
35503 @: $(MAKE); $(unstage)
35504 @r=`${PWD_COMMAND}`; export r; \
35505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35506 $(HOST_EXPORTS) \
35507 (cd $(HOST_SUBDIR)/sim && \
35508 $(MAKE) $(FLAGS_TO_PASS) install)
35510 @endif sim
35512 # Other targets (info, dvi, pdf, etc.)
35514 .PHONY: maybe-info-sim info-sim
35515 maybe-info-sim:
35516 @if sim
35517 maybe-info-sim: info-sim
35519 info-sim: \
35520 configure-sim
35521 @: $(MAKE); $(unstage)
35522 @[ -f ./sim/Makefile ] || exit 0; \
35523 r=`${PWD_COMMAND}`; export r; \
35524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35525 $(HOST_EXPORTS) \
35526 for flag in $(EXTRA_HOST_FLAGS) ; do \
35527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35528 done; \
35529 echo "Doing info in sim" ; \
35530 (cd $(HOST_SUBDIR)/sim && \
35531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35533 "RANLIB=$${RANLIB}" \
35534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35535 info) \
35536 || exit 1
35538 @endif sim
35540 .PHONY: maybe-dvi-sim dvi-sim
35541 maybe-dvi-sim:
35542 @if sim
35543 maybe-dvi-sim: dvi-sim
35545 dvi-sim: \
35546 configure-sim
35547 @: $(MAKE); $(unstage)
35548 @[ -f ./sim/Makefile ] || exit 0; \
35549 r=`${PWD_COMMAND}`; export r; \
35550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35551 $(HOST_EXPORTS) \
35552 for flag in $(EXTRA_HOST_FLAGS) ; do \
35553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35554 done; \
35555 echo "Doing dvi in sim" ; \
35556 (cd $(HOST_SUBDIR)/sim && \
35557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35559 "RANLIB=$${RANLIB}" \
35560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35561 dvi) \
35562 || exit 1
35564 @endif sim
35566 .PHONY: maybe-pdf-sim pdf-sim
35567 maybe-pdf-sim:
35568 @if sim
35569 maybe-pdf-sim: pdf-sim
35571 pdf-sim: \
35572 configure-sim
35573 @: $(MAKE); $(unstage)
35574 @[ -f ./sim/Makefile ] || exit 0; \
35575 r=`${PWD_COMMAND}`; export r; \
35576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35577 $(HOST_EXPORTS) \
35578 for flag in $(EXTRA_HOST_FLAGS) ; do \
35579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35580 done; \
35581 echo "Doing pdf in sim" ; \
35582 (cd $(HOST_SUBDIR)/sim && \
35583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35585 "RANLIB=$${RANLIB}" \
35586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35587 pdf) \
35588 || exit 1
35590 @endif sim
35592 .PHONY: maybe-html-sim html-sim
35593 maybe-html-sim:
35594 @if sim
35595 maybe-html-sim: html-sim
35597 html-sim: \
35598 configure-sim
35599 @: $(MAKE); $(unstage)
35600 @[ -f ./sim/Makefile ] || exit 0; \
35601 r=`${PWD_COMMAND}`; export r; \
35602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35603 $(HOST_EXPORTS) \
35604 for flag in $(EXTRA_HOST_FLAGS) ; do \
35605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35606 done; \
35607 echo "Doing html in sim" ; \
35608 (cd $(HOST_SUBDIR)/sim && \
35609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35611 "RANLIB=$${RANLIB}" \
35612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35613 html) \
35614 || exit 1
35616 @endif sim
35618 .PHONY: maybe-TAGS-sim TAGS-sim
35619 maybe-TAGS-sim:
35620 @if sim
35621 maybe-TAGS-sim: TAGS-sim
35623 TAGS-sim: \
35624 configure-sim
35625 @: $(MAKE); $(unstage)
35626 @[ -f ./sim/Makefile ] || exit 0; \
35627 r=`${PWD_COMMAND}`; export r; \
35628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35629 $(HOST_EXPORTS) \
35630 for flag in $(EXTRA_HOST_FLAGS) ; do \
35631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35632 done; \
35633 echo "Doing TAGS in sim" ; \
35634 (cd $(HOST_SUBDIR)/sim && \
35635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35637 "RANLIB=$${RANLIB}" \
35638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35639 TAGS) \
35640 || exit 1
35642 @endif sim
35644 .PHONY: maybe-install-info-sim install-info-sim
35645 maybe-install-info-sim:
35646 @if sim
35647 maybe-install-info-sim: install-info-sim
35649 install-info-sim: \
35650 configure-sim \
35651 info-sim
35652 @: $(MAKE); $(unstage)
35653 @[ -f ./sim/Makefile ] || exit 0; \
35654 r=`${PWD_COMMAND}`; export r; \
35655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35656 $(HOST_EXPORTS) \
35657 for flag in $(EXTRA_HOST_FLAGS) ; do \
35658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35659 done; \
35660 echo "Doing install-info in sim" ; \
35661 (cd $(HOST_SUBDIR)/sim && \
35662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35664 "RANLIB=$${RANLIB}" \
35665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35666 install-info) \
35667 || exit 1
35669 @endif sim
35671 .PHONY: maybe-install-pdf-sim install-pdf-sim
35672 maybe-install-pdf-sim:
35673 @if sim
35674 maybe-install-pdf-sim: install-pdf-sim
35676 install-pdf-sim: \
35677 configure-sim \
35678 pdf-sim
35679 @: $(MAKE); $(unstage)
35680 @[ -f ./sim/Makefile ] || exit 0; \
35681 r=`${PWD_COMMAND}`; export r; \
35682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35683 $(HOST_EXPORTS) \
35684 for flag in $(EXTRA_HOST_FLAGS) ; do \
35685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35686 done; \
35687 echo "Doing install-pdf in sim" ; \
35688 (cd $(HOST_SUBDIR)/sim && \
35689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35691 "RANLIB=$${RANLIB}" \
35692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35693 install-pdf) \
35694 || exit 1
35696 @endif sim
35698 .PHONY: maybe-install-html-sim install-html-sim
35699 maybe-install-html-sim:
35700 @if sim
35701 maybe-install-html-sim: install-html-sim
35703 install-html-sim: \
35704 configure-sim \
35705 html-sim
35706 @: $(MAKE); $(unstage)
35707 @[ -f ./sim/Makefile ] || exit 0; \
35708 r=`${PWD_COMMAND}`; export r; \
35709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35710 $(HOST_EXPORTS) \
35711 for flag in $(EXTRA_HOST_FLAGS) ; do \
35712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35713 done; \
35714 echo "Doing install-html in sim" ; \
35715 (cd $(HOST_SUBDIR)/sim && \
35716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35718 "RANLIB=$${RANLIB}" \
35719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35720 install-html) \
35721 || exit 1
35723 @endif sim
35725 .PHONY: maybe-installcheck-sim installcheck-sim
35726 maybe-installcheck-sim:
35727 @if sim
35728 maybe-installcheck-sim: installcheck-sim
35730 installcheck-sim: \
35731 configure-sim
35732 @: $(MAKE); $(unstage)
35733 @[ -f ./sim/Makefile ] || exit 0; \
35734 r=`${PWD_COMMAND}`; export r; \
35735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35736 $(HOST_EXPORTS) \
35737 for flag in $(EXTRA_HOST_FLAGS) ; do \
35738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35739 done; \
35740 echo "Doing installcheck in sim" ; \
35741 (cd $(HOST_SUBDIR)/sim && \
35742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35744 "RANLIB=$${RANLIB}" \
35745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35746 installcheck) \
35747 || exit 1
35749 @endif sim
35751 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
35752 maybe-mostlyclean-sim:
35753 @if sim
35754 maybe-mostlyclean-sim: mostlyclean-sim
35756 mostlyclean-sim:
35757 @: $(MAKE); $(unstage)
35758 @[ -f ./sim/Makefile ] || exit 0; \
35759 r=`${PWD_COMMAND}`; export r; \
35760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35761 $(HOST_EXPORTS) \
35762 for flag in $(EXTRA_HOST_FLAGS) ; do \
35763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35764 done; \
35765 echo "Doing mostlyclean in sim" ; \
35766 (cd $(HOST_SUBDIR)/sim && \
35767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35769 "RANLIB=$${RANLIB}" \
35770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35771 mostlyclean) \
35772 || exit 1
35774 @endif sim
35776 .PHONY: maybe-clean-sim clean-sim
35777 maybe-clean-sim:
35778 @if sim
35779 maybe-clean-sim: clean-sim
35781 clean-sim:
35782 @: $(MAKE); $(unstage)
35783 @[ -f ./sim/Makefile ] || exit 0; \
35784 r=`${PWD_COMMAND}`; export r; \
35785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35786 $(HOST_EXPORTS) \
35787 for flag in $(EXTRA_HOST_FLAGS) ; do \
35788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35789 done; \
35790 echo "Doing clean in sim" ; \
35791 (cd $(HOST_SUBDIR)/sim && \
35792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35794 "RANLIB=$${RANLIB}" \
35795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35796 clean) \
35797 || exit 1
35799 @endif sim
35801 .PHONY: maybe-distclean-sim distclean-sim
35802 maybe-distclean-sim:
35803 @if sim
35804 maybe-distclean-sim: distclean-sim
35806 distclean-sim:
35807 @: $(MAKE); $(unstage)
35808 @[ -f ./sim/Makefile ] || exit 0; \
35809 r=`${PWD_COMMAND}`; export r; \
35810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35811 $(HOST_EXPORTS) \
35812 for flag in $(EXTRA_HOST_FLAGS) ; do \
35813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35814 done; \
35815 echo "Doing distclean in sim" ; \
35816 (cd $(HOST_SUBDIR)/sim && \
35817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35819 "RANLIB=$${RANLIB}" \
35820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35821 distclean) \
35822 || exit 1
35824 @endif sim
35826 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
35827 maybe-maintainer-clean-sim:
35828 @if sim
35829 maybe-maintainer-clean-sim: maintainer-clean-sim
35831 maintainer-clean-sim:
35832 @: $(MAKE); $(unstage)
35833 @[ -f ./sim/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 maintainer-clean in sim" ; \
35841 (cd $(HOST_SUBDIR)/sim && \
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 maintainer-clean) \
35847 || exit 1
35849 @endif sim
35853 .PHONY: configure-tar maybe-configure-tar
35854 maybe-configure-tar:
35855 @if gcc-bootstrap
35856 configure-tar: stage_current
35857 @endif gcc-bootstrap
35858 @if tar
35859 maybe-configure-tar: configure-tar
35860 configure-tar:
35861 @: $(MAKE); $(unstage)
35862 @r=`${PWD_COMMAND}`; export r; \
35863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35864 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
35865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
35866 $(HOST_EXPORTS) \
35867 echo Configuring in $(HOST_SUBDIR)/tar; \
35868 cd "$(HOST_SUBDIR)/tar" || exit 1; \
35869 case $(srcdir) in \
35870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35871 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
35872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35873 esac; \
35874 srcdiroption="--srcdir=$${topdir}/tar"; \
35875 libsrcdir="$$s/tar"; \
35876 $(SHELL) $${libsrcdir}/configure \
35877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35878 --target=${target_alias} $${srcdiroption} \
35879 || exit 1
35880 @endif tar
35886 .PHONY: all-tar maybe-all-tar
35887 maybe-all-tar:
35888 @if gcc-bootstrap
35889 all-tar: stage_current
35890 @endif gcc-bootstrap
35891 @if tar
35892 TARGET-tar=all
35893 maybe-all-tar: all-tar
35894 all-tar: configure-tar
35895 @: $(MAKE); $(unstage)
35896 @r=`${PWD_COMMAND}`; export r; \
35897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35898 $(HOST_EXPORTS) \
35899 (cd $(HOST_SUBDIR)/tar && \
35900 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35901 $(TARGET-tar))
35902 @endif tar
35907 .PHONY: check-tar maybe-check-tar
35908 maybe-check-tar:
35909 @if tar
35910 maybe-check-tar: check-tar
35912 check-tar:
35913 @: $(MAKE); $(unstage)
35914 @r=`${PWD_COMMAND}`; export r; \
35915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35916 $(HOST_EXPORTS) \
35917 (cd $(HOST_SUBDIR)/tar && \
35918 $(MAKE) $(FLAGS_TO_PASS) check)
35920 @endif tar
35922 .PHONY: install-tar maybe-install-tar
35923 maybe-install-tar:
35924 @if tar
35925 maybe-install-tar: install-tar
35927 install-tar: installdirs
35928 @: $(MAKE); $(unstage)
35929 @r=`${PWD_COMMAND}`; export r; \
35930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35931 $(HOST_EXPORTS) \
35932 (cd $(HOST_SUBDIR)/tar && \
35933 $(MAKE) $(FLAGS_TO_PASS) install)
35935 @endif tar
35937 # Other targets (info, dvi, pdf, etc.)
35939 .PHONY: maybe-info-tar info-tar
35940 maybe-info-tar:
35941 @if tar
35942 maybe-info-tar: info-tar
35944 info-tar: \
35945 configure-tar
35946 @: $(MAKE); $(unstage)
35947 @[ -f ./tar/Makefile ] || exit 0; \
35948 r=`${PWD_COMMAND}`; export r; \
35949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35950 $(HOST_EXPORTS) \
35951 for flag in $(EXTRA_HOST_FLAGS) ; do \
35952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35953 done; \
35954 echo "Doing info in tar" ; \
35955 (cd $(HOST_SUBDIR)/tar && \
35956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35958 "RANLIB=$${RANLIB}" \
35959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35960 info) \
35961 || exit 1
35963 @endif tar
35965 .PHONY: maybe-dvi-tar dvi-tar
35966 maybe-dvi-tar:
35967 @if tar
35968 maybe-dvi-tar: dvi-tar
35970 dvi-tar: \
35971 configure-tar
35972 @: $(MAKE); $(unstage)
35973 @[ -f ./tar/Makefile ] || exit 0; \
35974 r=`${PWD_COMMAND}`; export r; \
35975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35976 $(HOST_EXPORTS) \
35977 for flag in $(EXTRA_HOST_FLAGS) ; do \
35978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35979 done; \
35980 echo "Doing dvi in tar" ; \
35981 (cd $(HOST_SUBDIR)/tar && \
35982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35984 "RANLIB=$${RANLIB}" \
35985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35986 dvi) \
35987 || exit 1
35989 @endif tar
35991 .PHONY: maybe-pdf-tar pdf-tar
35992 maybe-pdf-tar:
35993 @if tar
35994 maybe-pdf-tar: pdf-tar
35996 pdf-tar: \
35997 configure-tar
35998 @: $(MAKE); $(unstage)
35999 @[ -f ./tar/Makefile ] || exit 0; \
36000 r=`${PWD_COMMAND}`; export r; \
36001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36002 $(HOST_EXPORTS) \
36003 for flag in $(EXTRA_HOST_FLAGS) ; do \
36004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36005 done; \
36006 echo "Doing pdf in tar" ; \
36007 (cd $(HOST_SUBDIR)/tar && \
36008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36010 "RANLIB=$${RANLIB}" \
36011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36012 pdf) \
36013 || exit 1
36015 @endif tar
36017 .PHONY: maybe-html-tar html-tar
36018 maybe-html-tar:
36019 @if tar
36020 maybe-html-tar: html-tar
36022 html-tar: \
36023 configure-tar
36024 @: $(MAKE); $(unstage)
36025 @[ -f ./tar/Makefile ] || exit 0; \
36026 r=`${PWD_COMMAND}`; export r; \
36027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36028 $(HOST_EXPORTS) \
36029 for flag in $(EXTRA_HOST_FLAGS) ; do \
36030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36031 done; \
36032 echo "Doing html in tar" ; \
36033 (cd $(HOST_SUBDIR)/tar && \
36034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36036 "RANLIB=$${RANLIB}" \
36037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36038 html) \
36039 || exit 1
36041 @endif tar
36043 .PHONY: maybe-TAGS-tar TAGS-tar
36044 maybe-TAGS-tar:
36045 @if tar
36046 maybe-TAGS-tar: TAGS-tar
36048 TAGS-tar: \
36049 configure-tar
36050 @: $(MAKE); $(unstage)
36051 @[ -f ./tar/Makefile ] || exit 0; \
36052 r=`${PWD_COMMAND}`; export r; \
36053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36054 $(HOST_EXPORTS) \
36055 for flag in $(EXTRA_HOST_FLAGS) ; do \
36056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36057 done; \
36058 echo "Doing TAGS in tar" ; \
36059 (cd $(HOST_SUBDIR)/tar && \
36060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36062 "RANLIB=$${RANLIB}" \
36063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36064 TAGS) \
36065 || exit 1
36067 @endif tar
36069 .PHONY: maybe-install-info-tar install-info-tar
36070 maybe-install-info-tar:
36071 @if tar
36072 maybe-install-info-tar: install-info-tar
36074 install-info-tar: \
36075 configure-tar \
36076 info-tar
36077 @: $(MAKE); $(unstage)
36078 @[ -f ./tar/Makefile ] || exit 0; \
36079 r=`${PWD_COMMAND}`; export r; \
36080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36081 $(HOST_EXPORTS) \
36082 for flag in $(EXTRA_HOST_FLAGS) ; do \
36083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36084 done; \
36085 echo "Doing install-info in tar" ; \
36086 (cd $(HOST_SUBDIR)/tar && \
36087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36089 "RANLIB=$${RANLIB}" \
36090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36091 install-info) \
36092 || exit 1
36094 @endif tar
36096 .PHONY: maybe-install-pdf-tar install-pdf-tar
36097 maybe-install-pdf-tar:
36098 @if tar
36099 maybe-install-pdf-tar: install-pdf-tar
36101 install-pdf-tar: \
36102 configure-tar \
36103 pdf-tar
36104 @: $(MAKE); $(unstage)
36105 @[ -f ./tar/Makefile ] || exit 0; \
36106 r=`${PWD_COMMAND}`; export r; \
36107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36108 $(HOST_EXPORTS) \
36109 for flag in $(EXTRA_HOST_FLAGS) ; do \
36110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36111 done; \
36112 echo "Doing install-pdf in tar" ; \
36113 (cd $(HOST_SUBDIR)/tar && \
36114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36116 "RANLIB=$${RANLIB}" \
36117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36118 install-pdf) \
36119 || exit 1
36121 @endif tar
36123 .PHONY: maybe-install-html-tar install-html-tar
36124 maybe-install-html-tar:
36125 @if tar
36126 maybe-install-html-tar: install-html-tar
36128 install-html-tar: \
36129 configure-tar \
36130 html-tar
36131 @: $(MAKE); $(unstage)
36132 @[ -f ./tar/Makefile ] || exit 0; \
36133 r=`${PWD_COMMAND}`; export r; \
36134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36135 $(HOST_EXPORTS) \
36136 for flag in $(EXTRA_HOST_FLAGS) ; do \
36137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36138 done; \
36139 echo "Doing install-html in tar" ; \
36140 (cd $(HOST_SUBDIR)/tar && \
36141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36143 "RANLIB=$${RANLIB}" \
36144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36145 install-html) \
36146 || exit 1
36148 @endif tar
36150 .PHONY: maybe-installcheck-tar installcheck-tar
36151 maybe-installcheck-tar:
36152 @if tar
36153 maybe-installcheck-tar: installcheck-tar
36155 installcheck-tar: \
36156 configure-tar
36157 @: $(MAKE); $(unstage)
36158 @[ -f ./tar/Makefile ] || exit 0; \
36159 r=`${PWD_COMMAND}`; export r; \
36160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36161 $(HOST_EXPORTS) \
36162 for flag in $(EXTRA_HOST_FLAGS) ; do \
36163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36164 done; \
36165 echo "Doing installcheck in tar" ; \
36166 (cd $(HOST_SUBDIR)/tar && \
36167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36169 "RANLIB=$${RANLIB}" \
36170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36171 installcheck) \
36172 || exit 1
36174 @endif tar
36176 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
36177 maybe-mostlyclean-tar:
36178 @if tar
36179 maybe-mostlyclean-tar: mostlyclean-tar
36181 mostlyclean-tar:
36182 @: $(MAKE); $(unstage)
36183 @[ -f ./tar/Makefile ] || exit 0; \
36184 r=`${PWD_COMMAND}`; export r; \
36185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36186 $(HOST_EXPORTS) \
36187 for flag in $(EXTRA_HOST_FLAGS) ; do \
36188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36189 done; \
36190 echo "Doing mostlyclean in tar" ; \
36191 (cd $(HOST_SUBDIR)/tar && \
36192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36194 "RANLIB=$${RANLIB}" \
36195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36196 mostlyclean) \
36197 || exit 1
36199 @endif tar
36201 .PHONY: maybe-clean-tar clean-tar
36202 maybe-clean-tar:
36203 @if tar
36204 maybe-clean-tar: clean-tar
36206 clean-tar:
36207 @: $(MAKE); $(unstage)
36208 @[ -f ./tar/Makefile ] || exit 0; \
36209 r=`${PWD_COMMAND}`; export r; \
36210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36211 $(HOST_EXPORTS) \
36212 for flag in $(EXTRA_HOST_FLAGS) ; do \
36213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36214 done; \
36215 echo "Doing clean in tar" ; \
36216 (cd $(HOST_SUBDIR)/tar && \
36217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36219 "RANLIB=$${RANLIB}" \
36220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36221 clean) \
36222 || exit 1
36224 @endif tar
36226 .PHONY: maybe-distclean-tar distclean-tar
36227 maybe-distclean-tar:
36228 @if tar
36229 maybe-distclean-tar: distclean-tar
36231 distclean-tar:
36232 @: $(MAKE); $(unstage)
36233 @[ -f ./tar/Makefile ] || exit 0; \
36234 r=`${PWD_COMMAND}`; export r; \
36235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36236 $(HOST_EXPORTS) \
36237 for flag in $(EXTRA_HOST_FLAGS) ; do \
36238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36239 done; \
36240 echo "Doing distclean in tar" ; \
36241 (cd $(HOST_SUBDIR)/tar && \
36242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36244 "RANLIB=$${RANLIB}" \
36245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36246 distclean) \
36247 || exit 1
36249 @endif tar
36251 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
36252 maybe-maintainer-clean-tar:
36253 @if tar
36254 maybe-maintainer-clean-tar: maintainer-clean-tar
36256 maintainer-clean-tar:
36257 @: $(MAKE); $(unstage)
36258 @[ -f ./tar/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 maintainer-clean in tar" ; \
36266 (cd $(HOST_SUBDIR)/tar && \
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 maintainer-clean) \
36272 || exit 1
36274 @endif tar
36278 .PHONY: configure-texinfo maybe-configure-texinfo
36279 maybe-configure-texinfo:
36280 @if gcc-bootstrap
36281 configure-texinfo: stage_current
36282 @endif gcc-bootstrap
36283 @if texinfo
36284 maybe-configure-texinfo: configure-texinfo
36285 configure-texinfo:
36286 @: $(MAKE); $(unstage)
36287 @r=`${PWD_COMMAND}`; export r; \
36288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36289 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
36290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
36291 $(HOST_EXPORTS) \
36292 echo Configuring in $(HOST_SUBDIR)/texinfo; \
36293 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
36294 case $(srcdir) in \
36295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36296 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
36297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36298 esac; \
36299 srcdiroption="--srcdir=$${topdir}/texinfo"; \
36300 libsrcdir="$$s/texinfo"; \
36301 $(SHELL) $${libsrcdir}/configure \
36302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36303 --target=${target_alias} $${srcdiroption} \
36304 || exit 1
36305 @endif texinfo
36311 .PHONY: all-texinfo maybe-all-texinfo
36312 maybe-all-texinfo:
36313 @if gcc-bootstrap
36314 all-texinfo: stage_current
36315 @endif gcc-bootstrap
36316 @if texinfo
36317 TARGET-texinfo=all
36318 maybe-all-texinfo: all-texinfo
36319 all-texinfo: configure-texinfo
36320 @: $(MAKE); $(unstage)
36321 @r=`${PWD_COMMAND}`; export r; \
36322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36323 $(HOST_EXPORTS) \
36324 (cd $(HOST_SUBDIR)/texinfo && \
36325 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36326 $(TARGET-texinfo))
36327 @endif texinfo
36332 .PHONY: check-texinfo maybe-check-texinfo
36333 maybe-check-texinfo:
36334 @if texinfo
36335 maybe-check-texinfo: check-texinfo
36337 check-texinfo:
36338 @: $(MAKE); $(unstage)
36339 @r=`${PWD_COMMAND}`; export r; \
36340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36341 $(HOST_EXPORTS) \
36342 (cd $(HOST_SUBDIR)/texinfo && \
36343 $(MAKE) $(FLAGS_TO_PASS) check)
36345 @endif texinfo
36347 .PHONY: install-texinfo maybe-install-texinfo
36348 maybe-install-texinfo:
36349 @if texinfo
36350 maybe-install-texinfo: install-texinfo
36352 install-texinfo:
36354 @endif texinfo
36356 # Other targets (info, dvi, pdf, etc.)
36358 .PHONY: maybe-info-texinfo info-texinfo
36359 maybe-info-texinfo:
36360 @if texinfo
36361 maybe-info-texinfo: info-texinfo
36363 info-texinfo: \
36364 configure-texinfo
36365 @: $(MAKE); $(unstage)
36366 @[ -f ./texinfo/Makefile ] || exit 0; \
36367 r=`${PWD_COMMAND}`; export r; \
36368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36369 $(HOST_EXPORTS) \
36370 for flag in $(EXTRA_HOST_FLAGS) ; do \
36371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36372 done; \
36373 echo "Doing info in texinfo" ; \
36374 (cd $(HOST_SUBDIR)/texinfo && \
36375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36377 "RANLIB=$${RANLIB}" \
36378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36379 info) \
36380 || exit 1
36382 @endif texinfo
36384 .PHONY: maybe-dvi-texinfo dvi-texinfo
36385 maybe-dvi-texinfo:
36386 @if texinfo
36387 maybe-dvi-texinfo: dvi-texinfo
36389 dvi-texinfo: \
36390 configure-texinfo
36391 @: $(MAKE); $(unstage)
36392 @[ -f ./texinfo/Makefile ] || exit 0; \
36393 r=`${PWD_COMMAND}`; export r; \
36394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36395 $(HOST_EXPORTS) \
36396 for flag in $(EXTRA_HOST_FLAGS) ; do \
36397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36398 done; \
36399 echo "Doing dvi in texinfo" ; \
36400 (cd $(HOST_SUBDIR)/texinfo && \
36401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36403 "RANLIB=$${RANLIB}" \
36404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36405 dvi) \
36406 || exit 1
36408 @endif texinfo
36410 .PHONY: maybe-pdf-texinfo pdf-texinfo
36411 maybe-pdf-texinfo:
36412 @if texinfo
36413 maybe-pdf-texinfo: pdf-texinfo
36415 pdf-texinfo: \
36416 configure-texinfo
36417 @: $(MAKE); $(unstage)
36418 @[ -f ./texinfo/Makefile ] || exit 0; \
36419 r=`${PWD_COMMAND}`; export r; \
36420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36421 $(HOST_EXPORTS) \
36422 for flag in $(EXTRA_HOST_FLAGS) ; do \
36423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36424 done; \
36425 echo "Doing pdf in texinfo" ; \
36426 (cd $(HOST_SUBDIR)/texinfo && \
36427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36429 "RANLIB=$${RANLIB}" \
36430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36431 pdf) \
36432 || exit 1
36434 @endif texinfo
36436 .PHONY: maybe-html-texinfo html-texinfo
36437 maybe-html-texinfo:
36438 @if texinfo
36439 maybe-html-texinfo: html-texinfo
36441 html-texinfo: \
36442 configure-texinfo
36443 @: $(MAKE); $(unstage)
36444 @[ -f ./texinfo/Makefile ] || exit 0; \
36445 r=`${PWD_COMMAND}`; export r; \
36446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36447 $(HOST_EXPORTS) \
36448 for flag in $(EXTRA_HOST_FLAGS) ; do \
36449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36450 done; \
36451 echo "Doing html in texinfo" ; \
36452 (cd $(HOST_SUBDIR)/texinfo && \
36453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36455 "RANLIB=$${RANLIB}" \
36456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36457 html) \
36458 || exit 1
36460 @endif texinfo
36462 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
36463 maybe-TAGS-texinfo:
36464 @if texinfo
36465 maybe-TAGS-texinfo: TAGS-texinfo
36467 TAGS-texinfo: \
36468 configure-texinfo
36469 @: $(MAKE); $(unstage)
36470 @[ -f ./texinfo/Makefile ] || exit 0; \
36471 r=`${PWD_COMMAND}`; export r; \
36472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36473 $(HOST_EXPORTS) \
36474 for flag in $(EXTRA_HOST_FLAGS) ; do \
36475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36476 done; \
36477 echo "Doing TAGS in texinfo" ; \
36478 (cd $(HOST_SUBDIR)/texinfo && \
36479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36481 "RANLIB=$${RANLIB}" \
36482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36483 TAGS) \
36484 || exit 1
36486 @endif texinfo
36488 .PHONY: maybe-install-info-texinfo install-info-texinfo
36489 maybe-install-info-texinfo:
36490 @if texinfo
36491 maybe-install-info-texinfo: install-info-texinfo
36493 install-info-texinfo: \
36494 configure-texinfo \
36495 info-texinfo
36496 @: $(MAKE); $(unstage)
36497 @[ -f ./texinfo/Makefile ] || exit 0; \
36498 r=`${PWD_COMMAND}`; export r; \
36499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36500 $(HOST_EXPORTS) \
36501 for flag in $(EXTRA_HOST_FLAGS) ; do \
36502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36503 done; \
36504 echo "Doing install-info in texinfo" ; \
36505 (cd $(HOST_SUBDIR)/texinfo && \
36506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36508 "RANLIB=$${RANLIB}" \
36509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36510 install-info) \
36511 || exit 1
36513 @endif texinfo
36515 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
36516 maybe-install-pdf-texinfo:
36517 @if texinfo
36518 maybe-install-pdf-texinfo: install-pdf-texinfo
36520 install-pdf-texinfo: \
36521 configure-texinfo \
36522 pdf-texinfo
36523 @: $(MAKE); $(unstage)
36524 @[ -f ./texinfo/Makefile ] || exit 0; \
36525 r=`${PWD_COMMAND}`; export r; \
36526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36527 $(HOST_EXPORTS) \
36528 for flag in $(EXTRA_HOST_FLAGS) ; do \
36529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36530 done; \
36531 echo "Doing install-pdf in texinfo" ; \
36532 (cd $(HOST_SUBDIR)/texinfo && \
36533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36535 "RANLIB=$${RANLIB}" \
36536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36537 install-pdf) \
36538 || exit 1
36540 @endif texinfo
36542 .PHONY: maybe-install-html-texinfo install-html-texinfo
36543 maybe-install-html-texinfo:
36544 @if texinfo
36545 maybe-install-html-texinfo: install-html-texinfo
36547 install-html-texinfo: \
36548 configure-texinfo \
36549 html-texinfo
36550 @: $(MAKE); $(unstage)
36551 @[ -f ./texinfo/Makefile ] || exit 0; \
36552 r=`${PWD_COMMAND}`; export r; \
36553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36554 $(HOST_EXPORTS) \
36555 for flag in $(EXTRA_HOST_FLAGS) ; do \
36556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36557 done; \
36558 echo "Doing install-html in texinfo" ; \
36559 (cd $(HOST_SUBDIR)/texinfo && \
36560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36562 "RANLIB=$${RANLIB}" \
36563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36564 install-html) \
36565 || exit 1
36567 @endif texinfo
36569 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
36570 maybe-installcheck-texinfo:
36571 @if texinfo
36572 maybe-installcheck-texinfo: installcheck-texinfo
36574 installcheck-texinfo: \
36575 configure-texinfo
36576 @: $(MAKE); $(unstage)
36577 @[ -f ./texinfo/Makefile ] || exit 0; \
36578 r=`${PWD_COMMAND}`; export r; \
36579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36580 $(HOST_EXPORTS) \
36581 for flag in $(EXTRA_HOST_FLAGS) ; do \
36582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36583 done; \
36584 echo "Doing installcheck in texinfo" ; \
36585 (cd $(HOST_SUBDIR)/texinfo && \
36586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36588 "RANLIB=$${RANLIB}" \
36589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36590 installcheck) \
36591 || exit 1
36593 @endif texinfo
36595 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
36596 maybe-mostlyclean-texinfo:
36597 @if texinfo
36598 maybe-mostlyclean-texinfo: mostlyclean-texinfo
36600 mostlyclean-texinfo:
36601 @: $(MAKE); $(unstage)
36602 @[ -f ./texinfo/Makefile ] || exit 0; \
36603 r=`${PWD_COMMAND}`; export r; \
36604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36605 $(HOST_EXPORTS) \
36606 for flag in $(EXTRA_HOST_FLAGS) ; do \
36607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36608 done; \
36609 echo "Doing mostlyclean in texinfo" ; \
36610 (cd $(HOST_SUBDIR)/texinfo && \
36611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36613 "RANLIB=$${RANLIB}" \
36614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36615 mostlyclean) \
36616 || exit 1
36618 @endif texinfo
36620 .PHONY: maybe-clean-texinfo clean-texinfo
36621 maybe-clean-texinfo:
36622 @if texinfo
36623 maybe-clean-texinfo: clean-texinfo
36625 clean-texinfo:
36626 @: $(MAKE); $(unstage)
36627 @[ -f ./texinfo/Makefile ] || exit 0; \
36628 r=`${PWD_COMMAND}`; export r; \
36629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36630 $(HOST_EXPORTS) \
36631 for flag in $(EXTRA_HOST_FLAGS) ; do \
36632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36633 done; \
36634 echo "Doing clean in texinfo" ; \
36635 (cd $(HOST_SUBDIR)/texinfo && \
36636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36638 "RANLIB=$${RANLIB}" \
36639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36640 clean) \
36641 || exit 1
36643 @endif texinfo
36645 .PHONY: maybe-distclean-texinfo distclean-texinfo
36646 maybe-distclean-texinfo:
36647 @if texinfo
36648 maybe-distclean-texinfo: distclean-texinfo
36650 distclean-texinfo:
36651 @: $(MAKE); $(unstage)
36652 @[ -f ./texinfo/Makefile ] || exit 0; \
36653 r=`${PWD_COMMAND}`; export r; \
36654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36655 $(HOST_EXPORTS) \
36656 for flag in $(EXTRA_HOST_FLAGS) ; do \
36657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36658 done; \
36659 echo "Doing distclean in texinfo" ; \
36660 (cd $(HOST_SUBDIR)/texinfo && \
36661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36663 "RANLIB=$${RANLIB}" \
36664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36665 distclean) \
36666 || exit 1
36668 @endif texinfo
36670 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
36671 maybe-maintainer-clean-texinfo:
36672 @if texinfo
36673 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
36675 maintainer-clean-texinfo:
36676 @: $(MAKE); $(unstage)
36677 @[ -f ./texinfo/Makefile ] || exit 0; \
36678 r=`${PWD_COMMAND}`; export r; \
36679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36680 $(HOST_EXPORTS) \
36681 for flag in $(EXTRA_HOST_FLAGS) ; do \
36682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36683 done; \
36684 echo "Doing maintainer-clean in texinfo" ; \
36685 (cd $(HOST_SUBDIR)/texinfo && \
36686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36688 "RANLIB=$${RANLIB}" \
36689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36690 maintainer-clean) \
36691 || exit 1
36693 @endif texinfo
36697 .PHONY: configure-textutils maybe-configure-textutils
36698 maybe-configure-textutils:
36699 @if gcc-bootstrap
36700 configure-textutils: stage_current
36701 @endif gcc-bootstrap
36702 @if textutils
36703 maybe-configure-textutils: configure-textutils
36704 configure-textutils:
36705 @: $(MAKE); $(unstage)
36706 @r=`${PWD_COMMAND}`; export r; \
36707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36708 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
36709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
36710 $(HOST_EXPORTS) \
36711 echo Configuring in $(HOST_SUBDIR)/textutils; \
36712 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
36713 case $(srcdir) in \
36714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36715 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
36716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36717 esac; \
36718 srcdiroption="--srcdir=$${topdir}/textutils"; \
36719 libsrcdir="$$s/textutils"; \
36720 $(SHELL) $${libsrcdir}/configure \
36721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36722 --target=${target_alias} $${srcdiroption} \
36723 || exit 1
36724 @endif textutils
36730 .PHONY: all-textutils maybe-all-textutils
36731 maybe-all-textutils:
36732 @if gcc-bootstrap
36733 all-textutils: stage_current
36734 @endif gcc-bootstrap
36735 @if textutils
36736 TARGET-textutils=all
36737 maybe-all-textutils: all-textutils
36738 all-textutils: configure-textutils
36739 @: $(MAKE); $(unstage)
36740 @r=`${PWD_COMMAND}`; export r; \
36741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36742 $(HOST_EXPORTS) \
36743 (cd $(HOST_SUBDIR)/textutils && \
36744 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36745 $(TARGET-textutils))
36746 @endif textutils
36751 .PHONY: check-textutils maybe-check-textutils
36752 maybe-check-textutils:
36753 @if textutils
36754 maybe-check-textutils: check-textutils
36756 check-textutils:
36757 @: $(MAKE); $(unstage)
36758 @r=`${PWD_COMMAND}`; export r; \
36759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36760 $(HOST_EXPORTS) \
36761 (cd $(HOST_SUBDIR)/textutils && \
36762 $(MAKE) $(FLAGS_TO_PASS) check)
36764 @endif textutils
36766 .PHONY: install-textutils maybe-install-textutils
36767 maybe-install-textutils:
36768 @if textutils
36769 maybe-install-textutils: install-textutils
36771 install-textutils: installdirs
36772 @: $(MAKE); $(unstage)
36773 @r=`${PWD_COMMAND}`; export r; \
36774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36775 $(HOST_EXPORTS) \
36776 (cd $(HOST_SUBDIR)/textutils && \
36777 $(MAKE) $(FLAGS_TO_PASS) install)
36779 @endif textutils
36781 # Other targets (info, dvi, pdf, etc.)
36783 .PHONY: maybe-info-textutils info-textutils
36784 maybe-info-textutils:
36785 @if textutils
36786 maybe-info-textutils: info-textutils
36788 info-textutils: \
36789 configure-textutils
36790 @: $(MAKE); $(unstage)
36791 @[ -f ./textutils/Makefile ] || exit 0; \
36792 r=`${PWD_COMMAND}`; export r; \
36793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36794 $(HOST_EXPORTS) \
36795 for flag in $(EXTRA_HOST_FLAGS) ; do \
36796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36797 done; \
36798 echo "Doing info in textutils" ; \
36799 (cd $(HOST_SUBDIR)/textutils && \
36800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36802 "RANLIB=$${RANLIB}" \
36803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36804 info) \
36805 || exit 1
36807 @endif textutils
36809 .PHONY: maybe-dvi-textutils dvi-textutils
36810 maybe-dvi-textutils:
36811 @if textutils
36812 maybe-dvi-textutils: dvi-textutils
36814 dvi-textutils: \
36815 configure-textutils
36816 @: $(MAKE); $(unstage)
36817 @[ -f ./textutils/Makefile ] || exit 0; \
36818 r=`${PWD_COMMAND}`; export r; \
36819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36820 $(HOST_EXPORTS) \
36821 for flag in $(EXTRA_HOST_FLAGS) ; do \
36822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36823 done; \
36824 echo "Doing dvi in textutils" ; \
36825 (cd $(HOST_SUBDIR)/textutils && \
36826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36828 "RANLIB=$${RANLIB}" \
36829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36830 dvi) \
36831 || exit 1
36833 @endif textutils
36835 .PHONY: maybe-pdf-textutils pdf-textutils
36836 maybe-pdf-textutils:
36837 @if textutils
36838 maybe-pdf-textutils: pdf-textutils
36840 pdf-textutils: \
36841 configure-textutils
36842 @: $(MAKE); $(unstage)
36843 @[ -f ./textutils/Makefile ] || exit 0; \
36844 r=`${PWD_COMMAND}`; export r; \
36845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36846 $(HOST_EXPORTS) \
36847 for flag in $(EXTRA_HOST_FLAGS) ; do \
36848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36849 done; \
36850 echo "Doing pdf in textutils" ; \
36851 (cd $(HOST_SUBDIR)/textutils && \
36852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36854 "RANLIB=$${RANLIB}" \
36855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36856 pdf) \
36857 || exit 1
36859 @endif textutils
36861 .PHONY: maybe-html-textutils html-textutils
36862 maybe-html-textutils:
36863 @if textutils
36864 maybe-html-textutils: html-textutils
36866 html-textutils: \
36867 configure-textutils
36868 @: $(MAKE); $(unstage)
36869 @[ -f ./textutils/Makefile ] || exit 0; \
36870 r=`${PWD_COMMAND}`; export r; \
36871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36872 $(HOST_EXPORTS) \
36873 for flag in $(EXTRA_HOST_FLAGS) ; do \
36874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36875 done; \
36876 echo "Doing html in textutils" ; \
36877 (cd $(HOST_SUBDIR)/textutils && \
36878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36880 "RANLIB=$${RANLIB}" \
36881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36882 html) \
36883 || exit 1
36885 @endif textutils
36887 .PHONY: maybe-TAGS-textutils TAGS-textutils
36888 maybe-TAGS-textutils:
36889 @if textutils
36890 maybe-TAGS-textutils: TAGS-textutils
36892 TAGS-textutils: \
36893 configure-textutils
36894 @: $(MAKE); $(unstage)
36895 @[ -f ./textutils/Makefile ] || exit 0; \
36896 r=`${PWD_COMMAND}`; export r; \
36897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36898 $(HOST_EXPORTS) \
36899 for flag in $(EXTRA_HOST_FLAGS) ; do \
36900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36901 done; \
36902 echo "Doing TAGS in textutils" ; \
36903 (cd $(HOST_SUBDIR)/textutils && \
36904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36906 "RANLIB=$${RANLIB}" \
36907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36908 TAGS) \
36909 || exit 1
36911 @endif textutils
36913 .PHONY: maybe-install-info-textutils install-info-textutils
36914 maybe-install-info-textutils:
36915 @if textutils
36916 maybe-install-info-textutils: install-info-textutils
36918 install-info-textutils: \
36919 configure-textutils \
36920 info-textutils
36921 @: $(MAKE); $(unstage)
36922 @[ -f ./textutils/Makefile ] || exit 0; \
36923 r=`${PWD_COMMAND}`; export r; \
36924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36925 $(HOST_EXPORTS) \
36926 for flag in $(EXTRA_HOST_FLAGS) ; do \
36927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36928 done; \
36929 echo "Doing install-info in textutils" ; \
36930 (cd $(HOST_SUBDIR)/textutils && \
36931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36933 "RANLIB=$${RANLIB}" \
36934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36935 install-info) \
36936 || exit 1
36938 @endif textutils
36940 .PHONY: maybe-install-pdf-textutils install-pdf-textutils
36941 maybe-install-pdf-textutils:
36942 @if textutils
36943 maybe-install-pdf-textutils: install-pdf-textutils
36945 install-pdf-textutils: \
36946 configure-textutils \
36947 pdf-textutils
36948 @: $(MAKE); $(unstage)
36949 @[ -f ./textutils/Makefile ] || exit 0; \
36950 r=`${PWD_COMMAND}`; export r; \
36951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36952 $(HOST_EXPORTS) \
36953 for flag in $(EXTRA_HOST_FLAGS) ; do \
36954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36955 done; \
36956 echo "Doing install-pdf in textutils" ; \
36957 (cd $(HOST_SUBDIR)/textutils && \
36958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36960 "RANLIB=$${RANLIB}" \
36961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36962 install-pdf) \
36963 || exit 1
36965 @endif textutils
36967 .PHONY: maybe-install-html-textutils install-html-textutils
36968 maybe-install-html-textutils:
36969 @if textutils
36970 maybe-install-html-textutils: install-html-textutils
36972 install-html-textutils: \
36973 configure-textutils \
36974 html-textutils
36975 @: $(MAKE); $(unstage)
36976 @[ -f ./textutils/Makefile ] || exit 0; \
36977 r=`${PWD_COMMAND}`; export r; \
36978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36979 $(HOST_EXPORTS) \
36980 for flag in $(EXTRA_HOST_FLAGS) ; do \
36981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36982 done; \
36983 echo "Doing install-html in textutils" ; \
36984 (cd $(HOST_SUBDIR)/textutils && \
36985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36987 "RANLIB=$${RANLIB}" \
36988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36989 install-html) \
36990 || exit 1
36992 @endif textutils
36994 .PHONY: maybe-installcheck-textutils installcheck-textutils
36995 maybe-installcheck-textutils:
36996 @if textutils
36997 maybe-installcheck-textutils: installcheck-textutils
36999 installcheck-textutils: \
37000 configure-textutils
37001 @: $(MAKE); $(unstage)
37002 @[ -f ./textutils/Makefile ] || exit 0; \
37003 r=`${PWD_COMMAND}`; export r; \
37004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37005 $(HOST_EXPORTS) \
37006 for flag in $(EXTRA_HOST_FLAGS) ; do \
37007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37008 done; \
37009 echo "Doing installcheck in textutils" ; \
37010 (cd $(HOST_SUBDIR)/textutils && \
37011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37013 "RANLIB=$${RANLIB}" \
37014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37015 installcheck) \
37016 || exit 1
37018 @endif textutils
37020 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
37021 maybe-mostlyclean-textutils:
37022 @if textutils
37023 maybe-mostlyclean-textutils: mostlyclean-textutils
37025 mostlyclean-textutils:
37026 @: $(MAKE); $(unstage)
37027 @[ -f ./textutils/Makefile ] || exit 0; \
37028 r=`${PWD_COMMAND}`; export r; \
37029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37030 $(HOST_EXPORTS) \
37031 for flag in $(EXTRA_HOST_FLAGS) ; do \
37032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37033 done; \
37034 echo "Doing mostlyclean in textutils" ; \
37035 (cd $(HOST_SUBDIR)/textutils && \
37036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37038 "RANLIB=$${RANLIB}" \
37039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37040 mostlyclean) \
37041 || exit 1
37043 @endif textutils
37045 .PHONY: maybe-clean-textutils clean-textutils
37046 maybe-clean-textutils:
37047 @if textutils
37048 maybe-clean-textutils: clean-textutils
37050 clean-textutils:
37051 @: $(MAKE); $(unstage)
37052 @[ -f ./textutils/Makefile ] || exit 0; \
37053 r=`${PWD_COMMAND}`; export r; \
37054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37055 $(HOST_EXPORTS) \
37056 for flag in $(EXTRA_HOST_FLAGS) ; do \
37057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37058 done; \
37059 echo "Doing clean in textutils" ; \
37060 (cd $(HOST_SUBDIR)/textutils && \
37061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37063 "RANLIB=$${RANLIB}" \
37064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37065 clean) \
37066 || exit 1
37068 @endif textutils
37070 .PHONY: maybe-distclean-textutils distclean-textutils
37071 maybe-distclean-textutils:
37072 @if textutils
37073 maybe-distclean-textutils: distclean-textutils
37075 distclean-textutils:
37076 @: $(MAKE); $(unstage)
37077 @[ -f ./textutils/Makefile ] || exit 0; \
37078 r=`${PWD_COMMAND}`; export r; \
37079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37080 $(HOST_EXPORTS) \
37081 for flag in $(EXTRA_HOST_FLAGS) ; do \
37082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37083 done; \
37084 echo "Doing distclean in textutils" ; \
37085 (cd $(HOST_SUBDIR)/textutils && \
37086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37088 "RANLIB=$${RANLIB}" \
37089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37090 distclean) \
37091 || exit 1
37093 @endif textutils
37095 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
37096 maybe-maintainer-clean-textutils:
37097 @if textutils
37098 maybe-maintainer-clean-textutils: maintainer-clean-textutils
37100 maintainer-clean-textutils:
37101 @: $(MAKE); $(unstage)
37102 @[ -f ./textutils/Makefile ] || exit 0; \
37103 r=`${PWD_COMMAND}`; export r; \
37104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37105 $(HOST_EXPORTS) \
37106 for flag in $(EXTRA_HOST_FLAGS) ; do \
37107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37108 done; \
37109 echo "Doing maintainer-clean in textutils" ; \
37110 (cd $(HOST_SUBDIR)/textutils && \
37111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37113 "RANLIB=$${RANLIB}" \
37114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37115 maintainer-clean) \
37116 || exit 1
37118 @endif textutils
37122 .PHONY: configure-time maybe-configure-time
37123 maybe-configure-time:
37124 @if gcc-bootstrap
37125 configure-time: stage_current
37126 @endif gcc-bootstrap
37127 @if time
37128 maybe-configure-time: configure-time
37129 configure-time:
37130 @: $(MAKE); $(unstage)
37131 @r=`${PWD_COMMAND}`; export r; \
37132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37133 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
37134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
37135 $(HOST_EXPORTS) \
37136 echo Configuring in $(HOST_SUBDIR)/time; \
37137 cd "$(HOST_SUBDIR)/time" || exit 1; \
37138 case $(srcdir) in \
37139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37140 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
37141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37142 esac; \
37143 srcdiroption="--srcdir=$${topdir}/time"; \
37144 libsrcdir="$$s/time"; \
37145 $(SHELL) $${libsrcdir}/configure \
37146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37147 --target=${target_alias} $${srcdiroption} \
37148 || exit 1
37149 @endif time
37155 .PHONY: all-time maybe-all-time
37156 maybe-all-time:
37157 @if gcc-bootstrap
37158 all-time: stage_current
37159 @endif gcc-bootstrap
37160 @if time
37161 TARGET-time=all
37162 maybe-all-time: all-time
37163 all-time: configure-time
37164 @: $(MAKE); $(unstage)
37165 @r=`${PWD_COMMAND}`; export r; \
37166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37167 $(HOST_EXPORTS) \
37168 (cd $(HOST_SUBDIR)/time && \
37169 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37170 $(TARGET-time))
37171 @endif time
37176 .PHONY: check-time maybe-check-time
37177 maybe-check-time:
37178 @if time
37179 maybe-check-time: check-time
37181 check-time:
37182 @: $(MAKE); $(unstage)
37183 @r=`${PWD_COMMAND}`; export r; \
37184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37185 $(HOST_EXPORTS) \
37186 (cd $(HOST_SUBDIR)/time && \
37187 $(MAKE) $(FLAGS_TO_PASS) check)
37189 @endif time
37191 .PHONY: install-time maybe-install-time
37192 maybe-install-time:
37193 @if time
37194 maybe-install-time: install-time
37196 install-time: installdirs
37197 @: $(MAKE); $(unstage)
37198 @r=`${PWD_COMMAND}`; export r; \
37199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37200 $(HOST_EXPORTS) \
37201 (cd $(HOST_SUBDIR)/time && \
37202 $(MAKE) $(FLAGS_TO_PASS) install)
37204 @endif time
37206 # Other targets (info, dvi, pdf, etc.)
37208 .PHONY: maybe-info-time info-time
37209 maybe-info-time:
37210 @if time
37211 maybe-info-time: info-time
37213 info-time: \
37214 configure-time
37215 @: $(MAKE); $(unstage)
37216 @[ -f ./time/Makefile ] || exit 0; \
37217 r=`${PWD_COMMAND}`; export r; \
37218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37219 $(HOST_EXPORTS) \
37220 for flag in $(EXTRA_HOST_FLAGS) ; do \
37221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37222 done; \
37223 echo "Doing info in time" ; \
37224 (cd $(HOST_SUBDIR)/time && \
37225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37227 "RANLIB=$${RANLIB}" \
37228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37229 info) \
37230 || exit 1
37232 @endif time
37234 .PHONY: maybe-dvi-time dvi-time
37235 maybe-dvi-time:
37236 @if time
37237 maybe-dvi-time: dvi-time
37239 dvi-time: \
37240 configure-time
37241 @: $(MAKE); $(unstage)
37242 @[ -f ./time/Makefile ] || exit 0; \
37243 r=`${PWD_COMMAND}`; export r; \
37244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37245 $(HOST_EXPORTS) \
37246 for flag in $(EXTRA_HOST_FLAGS) ; do \
37247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37248 done; \
37249 echo "Doing dvi in time" ; \
37250 (cd $(HOST_SUBDIR)/time && \
37251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37253 "RANLIB=$${RANLIB}" \
37254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37255 dvi) \
37256 || exit 1
37258 @endif time
37260 .PHONY: maybe-pdf-time pdf-time
37261 maybe-pdf-time:
37262 @if time
37263 maybe-pdf-time: pdf-time
37265 pdf-time: \
37266 configure-time
37267 @: $(MAKE); $(unstage)
37268 @[ -f ./time/Makefile ] || exit 0; \
37269 r=`${PWD_COMMAND}`; export r; \
37270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37271 $(HOST_EXPORTS) \
37272 for flag in $(EXTRA_HOST_FLAGS) ; do \
37273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37274 done; \
37275 echo "Doing pdf in time" ; \
37276 (cd $(HOST_SUBDIR)/time && \
37277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37279 "RANLIB=$${RANLIB}" \
37280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37281 pdf) \
37282 || exit 1
37284 @endif time
37286 .PHONY: maybe-html-time html-time
37287 maybe-html-time:
37288 @if time
37289 maybe-html-time: html-time
37291 html-time: \
37292 configure-time
37293 @: $(MAKE); $(unstage)
37294 @[ -f ./time/Makefile ] || exit 0; \
37295 r=`${PWD_COMMAND}`; export r; \
37296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37297 $(HOST_EXPORTS) \
37298 for flag in $(EXTRA_HOST_FLAGS) ; do \
37299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37300 done; \
37301 echo "Doing html in time" ; \
37302 (cd $(HOST_SUBDIR)/time && \
37303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37305 "RANLIB=$${RANLIB}" \
37306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37307 html) \
37308 || exit 1
37310 @endif time
37312 .PHONY: maybe-TAGS-time TAGS-time
37313 maybe-TAGS-time:
37314 @if time
37315 maybe-TAGS-time: TAGS-time
37317 TAGS-time: \
37318 configure-time
37319 @: $(MAKE); $(unstage)
37320 @[ -f ./time/Makefile ] || exit 0; \
37321 r=`${PWD_COMMAND}`; export r; \
37322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37323 $(HOST_EXPORTS) \
37324 for flag in $(EXTRA_HOST_FLAGS) ; do \
37325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37326 done; \
37327 echo "Doing TAGS in time" ; \
37328 (cd $(HOST_SUBDIR)/time && \
37329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37331 "RANLIB=$${RANLIB}" \
37332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37333 TAGS) \
37334 || exit 1
37336 @endif time
37338 .PHONY: maybe-install-info-time install-info-time
37339 maybe-install-info-time:
37340 @if time
37341 maybe-install-info-time: install-info-time
37343 install-info-time: \
37344 configure-time \
37345 info-time
37346 @: $(MAKE); $(unstage)
37347 @[ -f ./time/Makefile ] || exit 0; \
37348 r=`${PWD_COMMAND}`; export r; \
37349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37350 $(HOST_EXPORTS) \
37351 for flag in $(EXTRA_HOST_FLAGS) ; do \
37352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37353 done; \
37354 echo "Doing install-info in time" ; \
37355 (cd $(HOST_SUBDIR)/time && \
37356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37358 "RANLIB=$${RANLIB}" \
37359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37360 install-info) \
37361 || exit 1
37363 @endif time
37365 .PHONY: maybe-install-pdf-time install-pdf-time
37366 maybe-install-pdf-time:
37367 @if time
37368 maybe-install-pdf-time: install-pdf-time
37370 install-pdf-time: \
37371 configure-time \
37372 pdf-time
37373 @: $(MAKE); $(unstage)
37374 @[ -f ./time/Makefile ] || exit 0; \
37375 r=`${PWD_COMMAND}`; export r; \
37376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37377 $(HOST_EXPORTS) \
37378 for flag in $(EXTRA_HOST_FLAGS) ; do \
37379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37380 done; \
37381 echo "Doing install-pdf in time" ; \
37382 (cd $(HOST_SUBDIR)/time && \
37383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37385 "RANLIB=$${RANLIB}" \
37386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37387 install-pdf) \
37388 || exit 1
37390 @endif time
37392 .PHONY: maybe-install-html-time install-html-time
37393 maybe-install-html-time:
37394 @if time
37395 maybe-install-html-time: install-html-time
37397 install-html-time: \
37398 configure-time \
37399 html-time
37400 @: $(MAKE); $(unstage)
37401 @[ -f ./time/Makefile ] || exit 0; \
37402 r=`${PWD_COMMAND}`; export r; \
37403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37404 $(HOST_EXPORTS) \
37405 for flag in $(EXTRA_HOST_FLAGS) ; do \
37406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37407 done; \
37408 echo "Doing install-html in time" ; \
37409 (cd $(HOST_SUBDIR)/time && \
37410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37412 "RANLIB=$${RANLIB}" \
37413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37414 install-html) \
37415 || exit 1
37417 @endif time
37419 .PHONY: maybe-installcheck-time installcheck-time
37420 maybe-installcheck-time:
37421 @if time
37422 maybe-installcheck-time: installcheck-time
37424 installcheck-time: \
37425 configure-time
37426 @: $(MAKE); $(unstage)
37427 @[ -f ./time/Makefile ] || exit 0; \
37428 r=`${PWD_COMMAND}`; export r; \
37429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37430 $(HOST_EXPORTS) \
37431 for flag in $(EXTRA_HOST_FLAGS) ; do \
37432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37433 done; \
37434 echo "Doing installcheck in time" ; \
37435 (cd $(HOST_SUBDIR)/time && \
37436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37438 "RANLIB=$${RANLIB}" \
37439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37440 installcheck) \
37441 || exit 1
37443 @endif time
37445 .PHONY: maybe-mostlyclean-time mostlyclean-time
37446 maybe-mostlyclean-time:
37447 @if time
37448 maybe-mostlyclean-time: mostlyclean-time
37450 mostlyclean-time:
37451 @: $(MAKE); $(unstage)
37452 @[ -f ./time/Makefile ] || exit 0; \
37453 r=`${PWD_COMMAND}`; export r; \
37454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37455 $(HOST_EXPORTS) \
37456 for flag in $(EXTRA_HOST_FLAGS) ; do \
37457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37458 done; \
37459 echo "Doing mostlyclean in time" ; \
37460 (cd $(HOST_SUBDIR)/time && \
37461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37463 "RANLIB=$${RANLIB}" \
37464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37465 mostlyclean) \
37466 || exit 1
37468 @endif time
37470 .PHONY: maybe-clean-time clean-time
37471 maybe-clean-time:
37472 @if time
37473 maybe-clean-time: clean-time
37475 clean-time:
37476 @: $(MAKE); $(unstage)
37477 @[ -f ./time/Makefile ] || exit 0; \
37478 r=`${PWD_COMMAND}`; export r; \
37479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37480 $(HOST_EXPORTS) \
37481 for flag in $(EXTRA_HOST_FLAGS) ; do \
37482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37483 done; \
37484 echo "Doing clean in time" ; \
37485 (cd $(HOST_SUBDIR)/time && \
37486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37488 "RANLIB=$${RANLIB}" \
37489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37490 clean) \
37491 || exit 1
37493 @endif time
37495 .PHONY: maybe-distclean-time distclean-time
37496 maybe-distclean-time:
37497 @if time
37498 maybe-distclean-time: distclean-time
37500 distclean-time:
37501 @: $(MAKE); $(unstage)
37502 @[ -f ./time/Makefile ] || exit 0; \
37503 r=`${PWD_COMMAND}`; export r; \
37504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37505 $(HOST_EXPORTS) \
37506 for flag in $(EXTRA_HOST_FLAGS) ; do \
37507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37508 done; \
37509 echo "Doing distclean in time" ; \
37510 (cd $(HOST_SUBDIR)/time && \
37511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37513 "RANLIB=$${RANLIB}" \
37514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37515 distclean) \
37516 || exit 1
37518 @endif time
37520 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
37521 maybe-maintainer-clean-time:
37522 @if time
37523 maybe-maintainer-clean-time: maintainer-clean-time
37525 maintainer-clean-time:
37526 @: $(MAKE); $(unstage)
37527 @[ -f ./time/Makefile ] || exit 0; \
37528 r=`${PWD_COMMAND}`; export r; \
37529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37530 $(HOST_EXPORTS) \
37531 for flag in $(EXTRA_HOST_FLAGS) ; do \
37532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37533 done; \
37534 echo "Doing maintainer-clean in time" ; \
37535 (cd $(HOST_SUBDIR)/time && \
37536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37538 "RANLIB=$${RANLIB}" \
37539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37540 maintainer-clean) \
37541 || exit 1
37543 @endif time
37547 .PHONY: configure-uudecode maybe-configure-uudecode
37548 maybe-configure-uudecode:
37549 @if gcc-bootstrap
37550 configure-uudecode: stage_current
37551 @endif gcc-bootstrap
37552 @if uudecode
37553 maybe-configure-uudecode: configure-uudecode
37554 configure-uudecode:
37555 @: $(MAKE); $(unstage)
37556 @r=`${PWD_COMMAND}`; export r; \
37557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37558 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
37559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
37560 $(HOST_EXPORTS) \
37561 echo Configuring in $(HOST_SUBDIR)/uudecode; \
37562 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
37563 case $(srcdir) in \
37564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37565 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
37566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37567 esac; \
37568 srcdiroption="--srcdir=$${topdir}/uudecode"; \
37569 libsrcdir="$$s/uudecode"; \
37570 $(SHELL) $${libsrcdir}/configure \
37571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37572 --target=${target_alias} $${srcdiroption} \
37573 || exit 1
37574 @endif uudecode
37580 .PHONY: all-uudecode maybe-all-uudecode
37581 maybe-all-uudecode:
37582 @if gcc-bootstrap
37583 all-uudecode: stage_current
37584 @endif gcc-bootstrap
37585 @if uudecode
37586 TARGET-uudecode=all
37587 maybe-all-uudecode: all-uudecode
37588 all-uudecode: configure-uudecode
37589 @: $(MAKE); $(unstage)
37590 @r=`${PWD_COMMAND}`; export r; \
37591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37592 $(HOST_EXPORTS) \
37593 (cd $(HOST_SUBDIR)/uudecode && \
37594 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37595 $(TARGET-uudecode))
37596 @endif uudecode
37601 .PHONY: check-uudecode maybe-check-uudecode
37602 maybe-check-uudecode:
37603 @if uudecode
37604 maybe-check-uudecode: check-uudecode
37606 check-uudecode:
37607 @: $(MAKE); $(unstage)
37608 @r=`${PWD_COMMAND}`; export r; \
37609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37610 $(HOST_EXPORTS) \
37611 (cd $(HOST_SUBDIR)/uudecode && \
37612 $(MAKE) $(FLAGS_TO_PASS) check)
37614 @endif uudecode
37616 .PHONY: install-uudecode maybe-install-uudecode
37617 maybe-install-uudecode:
37618 @if uudecode
37619 maybe-install-uudecode: install-uudecode
37621 install-uudecode: installdirs
37622 @: $(MAKE); $(unstage)
37623 @r=`${PWD_COMMAND}`; export r; \
37624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37625 $(HOST_EXPORTS) \
37626 (cd $(HOST_SUBDIR)/uudecode && \
37627 $(MAKE) $(FLAGS_TO_PASS) install)
37629 @endif uudecode
37631 # Other targets (info, dvi, pdf, etc.)
37633 .PHONY: maybe-info-uudecode info-uudecode
37634 maybe-info-uudecode:
37635 @if uudecode
37636 maybe-info-uudecode: info-uudecode
37638 info-uudecode: \
37639 configure-uudecode
37640 @: $(MAKE); $(unstage)
37641 @[ -f ./uudecode/Makefile ] || exit 0; \
37642 r=`${PWD_COMMAND}`; export r; \
37643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37644 $(HOST_EXPORTS) \
37645 for flag in $(EXTRA_HOST_FLAGS) ; do \
37646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37647 done; \
37648 echo "Doing info in uudecode" ; \
37649 (cd $(HOST_SUBDIR)/uudecode && \
37650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37652 "RANLIB=$${RANLIB}" \
37653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37654 info) \
37655 || exit 1
37657 @endif uudecode
37659 .PHONY: maybe-dvi-uudecode dvi-uudecode
37660 maybe-dvi-uudecode:
37661 @if uudecode
37662 maybe-dvi-uudecode: dvi-uudecode
37664 dvi-uudecode: \
37665 configure-uudecode
37666 @: $(MAKE); $(unstage)
37667 @[ -f ./uudecode/Makefile ] || exit 0; \
37668 r=`${PWD_COMMAND}`; export r; \
37669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37670 $(HOST_EXPORTS) \
37671 for flag in $(EXTRA_HOST_FLAGS) ; do \
37672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37673 done; \
37674 echo "Doing dvi in uudecode" ; \
37675 (cd $(HOST_SUBDIR)/uudecode && \
37676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37678 "RANLIB=$${RANLIB}" \
37679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37680 dvi) \
37681 || exit 1
37683 @endif uudecode
37685 .PHONY: maybe-pdf-uudecode pdf-uudecode
37686 maybe-pdf-uudecode:
37687 @if uudecode
37688 maybe-pdf-uudecode: pdf-uudecode
37690 pdf-uudecode: \
37691 configure-uudecode
37692 @: $(MAKE); $(unstage)
37693 @[ -f ./uudecode/Makefile ] || exit 0; \
37694 r=`${PWD_COMMAND}`; export r; \
37695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37696 $(HOST_EXPORTS) \
37697 for flag in $(EXTRA_HOST_FLAGS) ; do \
37698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37699 done; \
37700 echo "Doing pdf in uudecode" ; \
37701 (cd $(HOST_SUBDIR)/uudecode && \
37702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37704 "RANLIB=$${RANLIB}" \
37705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37706 pdf) \
37707 || exit 1
37709 @endif uudecode
37711 .PHONY: maybe-html-uudecode html-uudecode
37712 maybe-html-uudecode:
37713 @if uudecode
37714 maybe-html-uudecode: html-uudecode
37716 html-uudecode: \
37717 configure-uudecode
37718 @: $(MAKE); $(unstage)
37719 @[ -f ./uudecode/Makefile ] || exit 0; \
37720 r=`${PWD_COMMAND}`; export r; \
37721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37722 $(HOST_EXPORTS) \
37723 for flag in $(EXTRA_HOST_FLAGS) ; do \
37724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37725 done; \
37726 echo "Doing html in uudecode" ; \
37727 (cd $(HOST_SUBDIR)/uudecode && \
37728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37730 "RANLIB=$${RANLIB}" \
37731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37732 html) \
37733 || exit 1
37735 @endif uudecode
37737 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
37738 maybe-TAGS-uudecode:
37739 @if uudecode
37740 maybe-TAGS-uudecode: TAGS-uudecode
37742 TAGS-uudecode: \
37743 configure-uudecode
37744 @: $(MAKE); $(unstage)
37745 @[ -f ./uudecode/Makefile ] || exit 0; \
37746 r=`${PWD_COMMAND}`; export r; \
37747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37748 $(HOST_EXPORTS) \
37749 for flag in $(EXTRA_HOST_FLAGS) ; do \
37750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37751 done; \
37752 echo "Doing TAGS in uudecode" ; \
37753 (cd $(HOST_SUBDIR)/uudecode && \
37754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37756 "RANLIB=$${RANLIB}" \
37757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37758 TAGS) \
37759 || exit 1
37761 @endif uudecode
37763 .PHONY: maybe-install-info-uudecode install-info-uudecode
37764 maybe-install-info-uudecode:
37765 @if uudecode
37766 maybe-install-info-uudecode: install-info-uudecode
37768 install-info-uudecode: \
37769 configure-uudecode \
37770 info-uudecode
37771 @: $(MAKE); $(unstage)
37772 @[ -f ./uudecode/Makefile ] || exit 0; \
37773 r=`${PWD_COMMAND}`; export r; \
37774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37775 $(HOST_EXPORTS) \
37776 for flag in $(EXTRA_HOST_FLAGS) ; do \
37777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37778 done; \
37779 echo "Doing install-info in uudecode" ; \
37780 (cd $(HOST_SUBDIR)/uudecode && \
37781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37783 "RANLIB=$${RANLIB}" \
37784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37785 install-info) \
37786 || exit 1
37788 @endif uudecode
37790 .PHONY: maybe-install-pdf-uudecode install-pdf-uudecode
37791 maybe-install-pdf-uudecode:
37792 @if uudecode
37793 maybe-install-pdf-uudecode: install-pdf-uudecode
37795 install-pdf-uudecode: \
37796 configure-uudecode \
37797 pdf-uudecode
37798 @: $(MAKE); $(unstage)
37799 @[ -f ./uudecode/Makefile ] || exit 0; \
37800 r=`${PWD_COMMAND}`; export r; \
37801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37802 $(HOST_EXPORTS) \
37803 for flag in $(EXTRA_HOST_FLAGS) ; do \
37804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37805 done; \
37806 echo "Doing install-pdf in uudecode" ; \
37807 (cd $(HOST_SUBDIR)/uudecode && \
37808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37810 "RANLIB=$${RANLIB}" \
37811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37812 install-pdf) \
37813 || exit 1
37815 @endif uudecode
37817 .PHONY: maybe-install-html-uudecode install-html-uudecode
37818 maybe-install-html-uudecode:
37819 @if uudecode
37820 maybe-install-html-uudecode: install-html-uudecode
37822 install-html-uudecode: \
37823 configure-uudecode \
37824 html-uudecode
37825 @: $(MAKE); $(unstage)
37826 @[ -f ./uudecode/Makefile ] || exit 0; \
37827 r=`${PWD_COMMAND}`; export r; \
37828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37829 $(HOST_EXPORTS) \
37830 for flag in $(EXTRA_HOST_FLAGS) ; do \
37831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37832 done; \
37833 echo "Doing install-html in uudecode" ; \
37834 (cd $(HOST_SUBDIR)/uudecode && \
37835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37837 "RANLIB=$${RANLIB}" \
37838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37839 install-html) \
37840 || exit 1
37842 @endif uudecode
37844 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
37845 maybe-installcheck-uudecode:
37846 @if uudecode
37847 maybe-installcheck-uudecode: installcheck-uudecode
37849 installcheck-uudecode: \
37850 configure-uudecode
37851 @: $(MAKE); $(unstage)
37852 @[ -f ./uudecode/Makefile ] || exit 0; \
37853 r=`${PWD_COMMAND}`; export r; \
37854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37855 $(HOST_EXPORTS) \
37856 for flag in $(EXTRA_HOST_FLAGS) ; do \
37857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37858 done; \
37859 echo "Doing installcheck in uudecode" ; \
37860 (cd $(HOST_SUBDIR)/uudecode && \
37861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37863 "RANLIB=$${RANLIB}" \
37864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37865 installcheck) \
37866 || exit 1
37868 @endif uudecode
37870 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
37871 maybe-mostlyclean-uudecode:
37872 @if uudecode
37873 maybe-mostlyclean-uudecode: mostlyclean-uudecode
37875 mostlyclean-uudecode:
37876 @: $(MAKE); $(unstage)
37877 @[ -f ./uudecode/Makefile ] || exit 0; \
37878 r=`${PWD_COMMAND}`; export r; \
37879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37880 $(HOST_EXPORTS) \
37881 for flag in $(EXTRA_HOST_FLAGS) ; do \
37882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37883 done; \
37884 echo "Doing mostlyclean in uudecode" ; \
37885 (cd $(HOST_SUBDIR)/uudecode && \
37886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37888 "RANLIB=$${RANLIB}" \
37889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37890 mostlyclean) \
37891 || exit 1
37893 @endif uudecode
37895 .PHONY: maybe-clean-uudecode clean-uudecode
37896 maybe-clean-uudecode:
37897 @if uudecode
37898 maybe-clean-uudecode: clean-uudecode
37900 clean-uudecode:
37901 @: $(MAKE); $(unstage)
37902 @[ -f ./uudecode/Makefile ] || exit 0; \
37903 r=`${PWD_COMMAND}`; export r; \
37904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37905 $(HOST_EXPORTS) \
37906 for flag in $(EXTRA_HOST_FLAGS) ; do \
37907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37908 done; \
37909 echo "Doing clean in uudecode" ; \
37910 (cd $(HOST_SUBDIR)/uudecode && \
37911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37913 "RANLIB=$${RANLIB}" \
37914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37915 clean) \
37916 || exit 1
37918 @endif uudecode
37920 .PHONY: maybe-distclean-uudecode distclean-uudecode
37921 maybe-distclean-uudecode:
37922 @if uudecode
37923 maybe-distclean-uudecode: distclean-uudecode
37925 distclean-uudecode:
37926 @: $(MAKE); $(unstage)
37927 @[ -f ./uudecode/Makefile ] || exit 0; \
37928 r=`${PWD_COMMAND}`; export r; \
37929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37930 $(HOST_EXPORTS) \
37931 for flag in $(EXTRA_HOST_FLAGS) ; do \
37932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37933 done; \
37934 echo "Doing distclean in uudecode" ; \
37935 (cd $(HOST_SUBDIR)/uudecode && \
37936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37938 "RANLIB=$${RANLIB}" \
37939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37940 distclean) \
37941 || exit 1
37943 @endif uudecode
37945 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
37946 maybe-maintainer-clean-uudecode:
37947 @if uudecode
37948 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
37950 maintainer-clean-uudecode:
37951 @: $(MAKE); $(unstage)
37952 @[ -f ./uudecode/Makefile ] || exit 0; \
37953 r=`${PWD_COMMAND}`; export r; \
37954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37955 $(HOST_EXPORTS) \
37956 for flag in $(EXTRA_HOST_FLAGS) ; do \
37957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37958 done; \
37959 echo "Doing maintainer-clean in uudecode" ; \
37960 (cd $(HOST_SUBDIR)/uudecode && \
37961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37963 "RANLIB=$${RANLIB}" \
37964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37965 maintainer-clean) \
37966 || exit 1
37968 @endif uudecode
37972 .PHONY: configure-wdiff maybe-configure-wdiff
37973 maybe-configure-wdiff:
37974 @if gcc-bootstrap
37975 configure-wdiff: stage_current
37976 @endif gcc-bootstrap
37977 @if wdiff
37978 maybe-configure-wdiff: configure-wdiff
37979 configure-wdiff:
37980 @: $(MAKE); $(unstage)
37981 @r=`${PWD_COMMAND}`; export r; \
37982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37983 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
37984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
37985 $(HOST_EXPORTS) \
37986 echo Configuring in $(HOST_SUBDIR)/wdiff; \
37987 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
37988 case $(srcdir) in \
37989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37990 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
37991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37992 esac; \
37993 srcdiroption="--srcdir=$${topdir}/wdiff"; \
37994 libsrcdir="$$s/wdiff"; \
37995 $(SHELL) $${libsrcdir}/configure \
37996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37997 --target=${target_alias} $${srcdiroption} \
37998 || exit 1
37999 @endif wdiff
38005 .PHONY: all-wdiff maybe-all-wdiff
38006 maybe-all-wdiff:
38007 @if gcc-bootstrap
38008 all-wdiff: stage_current
38009 @endif gcc-bootstrap
38010 @if wdiff
38011 TARGET-wdiff=all
38012 maybe-all-wdiff: all-wdiff
38013 all-wdiff: configure-wdiff
38014 @: $(MAKE); $(unstage)
38015 @r=`${PWD_COMMAND}`; export r; \
38016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38017 $(HOST_EXPORTS) \
38018 (cd $(HOST_SUBDIR)/wdiff && \
38019 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38020 $(TARGET-wdiff))
38021 @endif wdiff
38026 .PHONY: check-wdiff maybe-check-wdiff
38027 maybe-check-wdiff:
38028 @if wdiff
38029 maybe-check-wdiff: check-wdiff
38031 check-wdiff:
38032 @: $(MAKE); $(unstage)
38033 @r=`${PWD_COMMAND}`; export r; \
38034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38035 $(HOST_EXPORTS) \
38036 (cd $(HOST_SUBDIR)/wdiff && \
38037 $(MAKE) $(FLAGS_TO_PASS) check)
38039 @endif wdiff
38041 .PHONY: install-wdiff maybe-install-wdiff
38042 maybe-install-wdiff:
38043 @if wdiff
38044 maybe-install-wdiff: install-wdiff
38046 install-wdiff: installdirs
38047 @: $(MAKE); $(unstage)
38048 @r=`${PWD_COMMAND}`; export r; \
38049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38050 $(HOST_EXPORTS) \
38051 (cd $(HOST_SUBDIR)/wdiff && \
38052 $(MAKE) $(FLAGS_TO_PASS) install)
38054 @endif wdiff
38056 # Other targets (info, dvi, pdf, etc.)
38058 .PHONY: maybe-info-wdiff info-wdiff
38059 maybe-info-wdiff:
38060 @if wdiff
38061 maybe-info-wdiff: info-wdiff
38063 info-wdiff: \
38064 configure-wdiff
38065 @: $(MAKE); $(unstage)
38066 @[ -f ./wdiff/Makefile ] || exit 0; \
38067 r=`${PWD_COMMAND}`; export r; \
38068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38069 $(HOST_EXPORTS) \
38070 for flag in $(EXTRA_HOST_FLAGS) ; do \
38071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38072 done; \
38073 echo "Doing info in wdiff" ; \
38074 (cd $(HOST_SUBDIR)/wdiff && \
38075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38077 "RANLIB=$${RANLIB}" \
38078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38079 info) \
38080 || exit 1
38082 @endif wdiff
38084 .PHONY: maybe-dvi-wdiff dvi-wdiff
38085 maybe-dvi-wdiff:
38086 @if wdiff
38087 maybe-dvi-wdiff: dvi-wdiff
38089 dvi-wdiff: \
38090 configure-wdiff
38091 @: $(MAKE); $(unstage)
38092 @[ -f ./wdiff/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 dvi in wdiff" ; \
38100 (cd $(HOST_SUBDIR)/wdiff && \
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 dvi) \
38106 || exit 1
38108 @endif wdiff
38110 .PHONY: maybe-pdf-wdiff pdf-wdiff
38111 maybe-pdf-wdiff:
38112 @if wdiff
38113 maybe-pdf-wdiff: pdf-wdiff
38115 pdf-wdiff: \
38116 configure-wdiff
38117 @: $(MAKE); $(unstage)
38118 @[ -f ./wdiff/Makefile ] || exit 0; \
38119 r=`${PWD_COMMAND}`; export r; \
38120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38121 $(HOST_EXPORTS) \
38122 for flag in $(EXTRA_HOST_FLAGS) ; do \
38123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38124 done; \
38125 echo "Doing pdf in wdiff" ; \
38126 (cd $(HOST_SUBDIR)/wdiff && \
38127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38129 "RANLIB=$${RANLIB}" \
38130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38131 pdf) \
38132 || exit 1
38134 @endif wdiff
38136 .PHONY: maybe-html-wdiff html-wdiff
38137 maybe-html-wdiff:
38138 @if wdiff
38139 maybe-html-wdiff: html-wdiff
38141 html-wdiff: \
38142 configure-wdiff
38143 @: $(MAKE); $(unstage)
38144 @[ -f ./wdiff/Makefile ] || exit 0; \
38145 r=`${PWD_COMMAND}`; export r; \
38146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38147 $(HOST_EXPORTS) \
38148 for flag in $(EXTRA_HOST_FLAGS) ; do \
38149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38150 done; \
38151 echo "Doing html in wdiff" ; \
38152 (cd $(HOST_SUBDIR)/wdiff && \
38153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38155 "RANLIB=$${RANLIB}" \
38156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38157 html) \
38158 || exit 1
38160 @endif wdiff
38162 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
38163 maybe-TAGS-wdiff:
38164 @if wdiff
38165 maybe-TAGS-wdiff: TAGS-wdiff
38167 TAGS-wdiff: \
38168 configure-wdiff
38169 @: $(MAKE); $(unstage)
38170 @[ -f ./wdiff/Makefile ] || exit 0; \
38171 r=`${PWD_COMMAND}`; export r; \
38172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38173 $(HOST_EXPORTS) \
38174 for flag in $(EXTRA_HOST_FLAGS) ; do \
38175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38176 done; \
38177 echo "Doing TAGS in wdiff" ; \
38178 (cd $(HOST_SUBDIR)/wdiff && \
38179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38181 "RANLIB=$${RANLIB}" \
38182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38183 TAGS) \
38184 || exit 1
38186 @endif wdiff
38188 .PHONY: maybe-install-info-wdiff install-info-wdiff
38189 maybe-install-info-wdiff:
38190 @if wdiff
38191 maybe-install-info-wdiff: install-info-wdiff
38193 install-info-wdiff: \
38194 configure-wdiff \
38195 info-wdiff
38196 @: $(MAKE); $(unstage)
38197 @[ -f ./wdiff/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 install-info in wdiff" ; \
38205 (cd $(HOST_SUBDIR)/wdiff && \
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 install-info) \
38211 || exit 1
38213 @endif wdiff
38215 .PHONY: maybe-install-pdf-wdiff install-pdf-wdiff
38216 maybe-install-pdf-wdiff:
38217 @if wdiff
38218 maybe-install-pdf-wdiff: install-pdf-wdiff
38220 install-pdf-wdiff: \
38221 configure-wdiff \
38222 pdf-wdiff
38223 @: $(MAKE); $(unstage)
38224 @[ -f ./wdiff/Makefile ] || exit 0; \
38225 r=`${PWD_COMMAND}`; export r; \
38226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38227 $(HOST_EXPORTS) \
38228 for flag in $(EXTRA_HOST_FLAGS) ; do \
38229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38230 done; \
38231 echo "Doing install-pdf in wdiff" ; \
38232 (cd $(HOST_SUBDIR)/wdiff && \
38233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38235 "RANLIB=$${RANLIB}" \
38236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38237 install-pdf) \
38238 || exit 1
38240 @endif wdiff
38242 .PHONY: maybe-install-html-wdiff install-html-wdiff
38243 maybe-install-html-wdiff:
38244 @if wdiff
38245 maybe-install-html-wdiff: install-html-wdiff
38247 install-html-wdiff: \
38248 configure-wdiff \
38249 html-wdiff
38250 @: $(MAKE); $(unstage)
38251 @[ -f ./wdiff/Makefile ] || exit 0; \
38252 r=`${PWD_COMMAND}`; export r; \
38253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38254 $(HOST_EXPORTS) \
38255 for flag in $(EXTRA_HOST_FLAGS) ; do \
38256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38257 done; \
38258 echo "Doing install-html in wdiff" ; \
38259 (cd $(HOST_SUBDIR)/wdiff && \
38260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38262 "RANLIB=$${RANLIB}" \
38263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38264 install-html) \
38265 || exit 1
38267 @endif wdiff
38269 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
38270 maybe-installcheck-wdiff:
38271 @if wdiff
38272 maybe-installcheck-wdiff: installcheck-wdiff
38274 installcheck-wdiff: \
38275 configure-wdiff
38276 @: $(MAKE); $(unstage)
38277 @[ -f ./wdiff/Makefile ] || exit 0; \
38278 r=`${PWD_COMMAND}`; export r; \
38279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38280 $(HOST_EXPORTS) \
38281 for flag in $(EXTRA_HOST_FLAGS) ; do \
38282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38283 done; \
38284 echo "Doing installcheck in wdiff" ; \
38285 (cd $(HOST_SUBDIR)/wdiff && \
38286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38288 "RANLIB=$${RANLIB}" \
38289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38290 installcheck) \
38291 || exit 1
38293 @endif wdiff
38295 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
38296 maybe-mostlyclean-wdiff:
38297 @if wdiff
38298 maybe-mostlyclean-wdiff: mostlyclean-wdiff
38300 mostlyclean-wdiff:
38301 @: $(MAKE); $(unstage)
38302 @[ -f ./wdiff/Makefile ] || exit 0; \
38303 r=`${PWD_COMMAND}`; export r; \
38304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38305 $(HOST_EXPORTS) \
38306 for flag in $(EXTRA_HOST_FLAGS) ; do \
38307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38308 done; \
38309 echo "Doing mostlyclean in wdiff" ; \
38310 (cd $(HOST_SUBDIR)/wdiff && \
38311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38313 "RANLIB=$${RANLIB}" \
38314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38315 mostlyclean) \
38316 || exit 1
38318 @endif wdiff
38320 .PHONY: maybe-clean-wdiff clean-wdiff
38321 maybe-clean-wdiff:
38322 @if wdiff
38323 maybe-clean-wdiff: clean-wdiff
38325 clean-wdiff:
38326 @: $(MAKE); $(unstage)
38327 @[ -f ./wdiff/Makefile ] || exit 0; \
38328 r=`${PWD_COMMAND}`; export r; \
38329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38330 $(HOST_EXPORTS) \
38331 for flag in $(EXTRA_HOST_FLAGS) ; do \
38332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38333 done; \
38334 echo "Doing clean in wdiff" ; \
38335 (cd $(HOST_SUBDIR)/wdiff && \
38336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38338 "RANLIB=$${RANLIB}" \
38339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38340 clean) \
38341 || exit 1
38343 @endif wdiff
38345 .PHONY: maybe-distclean-wdiff distclean-wdiff
38346 maybe-distclean-wdiff:
38347 @if wdiff
38348 maybe-distclean-wdiff: distclean-wdiff
38350 distclean-wdiff:
38351 @: $(MAKE); $(unstage)
38352 @[ -f ./wdiff/Makefile ] || exit 0; \
38353 r=`${PWD_COMMAND}`; export r; \
38354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38355 $(HOST_EXPORTS) \
38356 for flag in $(EXTRA_HOST_FLAGS) ; do \
38357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38358 done; \
38359 echo "Doing distclean in wdiff" ; \
38360 (cd $(HOST_SUBDIR)/wdiff && \
38361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38363 "RANLIB=$${RANLIB}" \
38364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38365 distclean) \
38366 || exit 1
38368 @endif wdiff
38370 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
38371 maybe-maintainer-clean-wdiff:
38372 @if wdiff
38373 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
38375 maintainer-clean-wdiff:
38376 @: $(MAKE); $(unstage)
38377 @[ -f ./wdiff/Makefile ] || exit 0; \
38378 r=`${PWD_COMMAND}`; export r; \
38379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38380 $(HOST_EXPORTS) \
38381 for flag in $(EXTRA_HOST_FLAGS) ; do \
38382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38383 done; \
38384 echo "Doing maintainer-clean in wdiff" ; \
38385 (cd $(HOST_SUBDIR)/wdiff && \
38386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38388 "RANLIB=$${RANLIB}" \
38389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38390 maintainer-clean) \
38391 || exit 1
38393 @endif wdiff
38397 .PHONY: configure-zip maybe-configure-zip
38398 maybe-configure-zip:
38399 @if gcc-bootstrap
38400 configure-zip: stage_current
38401 @endif gcc-bootstrap
38402 @if zip
38403 maybe-configure-zip: configure-zip
38404 configure-zip:
38405 @: $(MAKE); $(unstage)
38406 @r=`${PWD_COMMAND}`; export r; \
38407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38408 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
38409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
38410 $(HOST_EXPORTS) \
38411 echo Configuring in $(HOST_SUBDIR)/zip; \
38412 cd "$(HOST_SUBDIR)/zip" || exit 1; \
38413 case $(srcdir) in \
38414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38415 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
38416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38417 esac; \
38418 srcdiroption="--srcdir=$${topdir}/zip"; \
38419 libsrcdir="$$s/zip"; \
38420 $(SHELL) $${libsrcdir}/configure \
38421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38422 --target=${target_alias} $${srcdiroption} \
38423 || exit 1
38424 @endif zip
38430 .PHONY: all-zip maybe-all-zip
38431 maybe-all-zip:
38432 @if gcc-bootstrap
38433 all-zip: stage_current
38434 @endif gcc-bootstrap
38435 @if zip
38436 TARGET-zip=all
38437 maybe-all-zip: all-zip
38438 all-zip: configure-zip
38439 @: $(MAKE); $(unstage)
38440 @r=`${PWD_COMMAND}`; export r; \
38441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38442 $(HOST_EXPORTS) \
38443 (cd $(HOST_SUBDIR)/zip && \
38444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38445 $(TARGET-zip))
38446 @endif zip
38451 .PHONY: check-zip maybe-check-zip
38452 maybe-check-zip:
38453 @if zip
38454 maybe-check-zip: check-zip
38456 # This module is only tested in a native toolchain.
38457 check-zip:
38458 @: $(MAKE); $(unstage)
38459 @if [ '$(host)' = '$(target)' ] ; then \
38460 r=`${PWD_COMMAND}`; export r; \
38461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38462 $(HOST_EXPORTS) \
38463 (cd $(HOST_SUBDIR)/zip && \
38464 $(MAKE) $(FLAGS_TO_PASS) check); \
38467 @endif zip
38469 .PHONY: install-zip maybe-install-zip
38470 maybe-install-zip:
38471 @if zip
38472 maybe-install-zip: install-zip
38474 install-zip: installdirs
38475 @: $(MAKE); $(unstage)
38476 @r=`${PWD_COMMAND}`; export r; \
38477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38478 $(HOST_EXPORTS) \
38479 (cd $(HOST_SUBDIR)/zip && \
38480 $(MAKE) $(FLAGS_TO_PASS) install)
38482 @endif zip
38484 # Other targets (info, dvi, pdf, etc.)
38486 .PHONY: maybe-info-zip info-zip
38487 maybe-info-zip:
38488 @if zip
38489 maybe-info-zip: info-zip
38491 info-zip: \
38492 configure-zip
38493 @: $(MAKE); $(unstage)
38494 @[ -f ./zip/Makefile ] || exit 0; \
38495 r=`${PWD_COMMAND}`; export r; \
38496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38497 $(HOST_EXPORTS) \
38498 for flag in $(EXTRA_HOST_FLAGS) ; do \
38499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38500 done; \
38501 echo "Doing info in zip" ; \
38502 (cd $(HOST_SUBDIR)/zip && \
38503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38505 "RANLIB=$${RANLIB}" \
38506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38507 info) \
38508 || exit 1
38510 @endif zip
38512 .PHONY: maybe-dvi-zip dvi-zip
38513 maybe-dvi-zip:
38514 @if zip
38515 maybe-dvi-zip: dvi-zip
38517 dvi-zip: \
38518 configure-zip
38519 @: $(MAKE); $(unstage)
38520 @[ -f ./zip/Makefile ] || exit 0; \
38521 r=`${PWD_COMMAND}`; export r; \
38522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38523 $(HOST_EXPORTS) \
38524 for flag in $(EXTRA_HOST_FLAGS) ; do \
38525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38526 done; \
38527 echo "Doing dvi in zip" ; \
38528 (cd $(HOST_SUBDIR)/zip && \
38529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38531 "RANLIB=$${RANLIB}" \
38532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38533 dvi) \
38534 || exit 1
38536 @endif zip
38538 .PHONY: maybe-pdf-zip pdf-zip
38539 maybe-pdf-zip:
38540 @if zip
38541 maybe-pdf-zip: pdf-zip
38543 pdf-zip: \
38544 configure-zip
38545 @: $(MAKE); $(unstage)
38546 @[ -f ./zip/Makefile ] || exit 0; \
38547 r=`${PWD_COMMAND}`; export r; \
38548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38549 $(HOST_EXPORTS) \
38550 for flag in $(EXTRA_HOST_FLAGS) ; do \
38551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38552 done; \
38553 echo "Doing pdf in zip" ; \
38554 (cd $(HOST_SUBDIR)/zip && \
38555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38557 "RANLIB=$${RANLIB}" \
38558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38559 pdf) \
38560 || exit 1
38562 @endif zip
38564 .PHONY: maybe-html-zip html-zip
38565 maybe-html-zip:
38566 @if zip
38567 maybe-html-zip: html-zip
38569 html-zip: \
38570 configure-zip
38571 @: $(MAKE); $(unstage)
38572 @[ -f ./zip/Makefile ] || exit 0; \
38573 r=`${PWD_COMMAND}`; export r; \
38574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38575 $(HOST_EXPORTS) \
38576 for flag in $(EXTRA_HOST_FLAGS) ; do \
38577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38578 done; \
38579 echo "Doing html in zip" ; \
38580 (cd $(HOST_SUBDIR)/zip && \
38581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38583 "RANLIB=$${RANLIB}" \
38584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38585 html) \
38586 || exit 1
38588 @endif zip
38590 .PHONY: maybe-TAGS-zip TAGS-zip
38591 maybe-TAGS-zip:
38592 @if zip
38593 maybe-TAGS-zip: TAGS-zip
38595 TAGS-zip: \
38596 configure-zip
38597 @: $(MAKE); $(unstage)
38598 @[ -f ./zip/Makefile ] || exit 0; \
38599 r=`${PWD_COMMAND}`; export r; \
38600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38601 $(HOST_EXPORTS) \
38602 for flag in $(EXTRA_HOST_FLAGS) ; do \
38603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38604 done; \
38605 echo "Doing TAGS in zip" ; \
38606 (cd $(HOST_SUBDIR)/zip && \
38607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38609 "RANLIB=$${RANLIB}" \
38610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38611 TAGS) \
38612 || exit 1
38614 @endif zip
38616 .PHONY: maybe-install-info-zip install-info-zip
38617 maybe-install-info-zip:
38618 @if zip
38619 maybe-install-info-zip: install-info-zip
38621 install-info-zip: \
38622 configure-zip \
38623 info-zip
38624 @: $(MAKE); $(unstage)
38625 @[ -f ./zip/Makefile ] || exit 0; \
38626 r=`${PWD_COMMAND}`; export r; \
38627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38628 $(HOST_EXPORTS) \
38629 for flag in $(EXTRA_HOST_FLAGS) ; do \
38630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38631 done; \
38632 echo "Doing install-info in zip" ; \
38633 (cd $(HOST_SUBDIR)/zip && \
38634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38636 "RANLIB=$${RANLIB}" \
38637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38638 install-info) \
38639 || exit 1
38641 @endif zip
38643 .PHONY: maybe-install-pdf-zip install-pdf-zip
38644 maybe-install-pdf-zip:
38645 @if zip
38646 maybe-install-pdf-zip: install-pdf-zip
38648 install-pdf-zip: \
38649 configure-zip \
38650 pdf-zip
38651 @: $(MAKE); $(unstage)
38652 @[ -f ./zip/Makefile ] || exit 0; \
38653 r=`${PWD_COMMAND}`; export r; \
38654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38655 $(HOST_EXPORTS) \
38656 for flag in $(EXTRA_HOST_FLAGS) ; do \
38657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38658 done; \
38659 echo "Doing install-pdf in zip" ; \
38660 (cd $(HOST_SUBDIR)/zip && \
38661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38663 "RANLIB=$${RANLIB}" \
38664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38665 install-pdf) \
38666 || exit 1
38668 @endif zip
38670 .PHONY: maybe-install-html-zip install-html-zip
38671 maybe-install-html-zip:
38672 @if zip
38673 maybe-install-html-zip: install-html-zip
38675 install-html-zip: \
38676 configure-zip \
38677 html-zip
38678 @: $(MAKE); $(unstage)
38679 @[ -f ./zip/Makefile ] || exit 0; \
38680 r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 $(HOST_EXPORTS) \
38683 for flag in $(EXTRA_HOST_FLAGS) ; do \
38684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38685 done; \
38686 echo "Doing install-html in zip" ; \
38687 (cd $(HOST_SUBDIR)/zip && \
38688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38690 "RANLIB=$${RANLIB}" \
38691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38692 install-html) \
38693 || exit 1
38695 @endif zip
38697 .PHONY: maybe-installcheck-zip installcheck-zip
38698 maybe-installcheck-zip:
38699 @if zip
38700 maybe-installcheck-zip: installcheck-zip
38702 installcheck-zip: \
38703 configure-zip
38704 @: $(MAKE); $(unstage)
38705 @[ -f ./zip/Makefile ] || exit 0; \
38706 r=`${PWD_COMMAND}`; export r; \
38707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38708 $(HOST_EXPORTS) \
38709 for flag in $(EXTRA_HOST_FLAGS) ; do \
38710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38711 done; \
38712 echo "Doing installcheck in zip" ; \
38713 (cd $(HOST_SUBDIR)/zip && \
38714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38716 "RANLIB=$${RANLIB}" \
38717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38718 installcheck) \
38719 || exit 1
38721 @endif zip
38723 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
38724 maybe-mostlyclean-zip:
38725 @if zip
38726 maybe-mostlyclean-zip: mostlyclean-zip
38728 mostlyclean-zip:
38729 @: $(MAKE); $(unstage)
38730 @[ -f ./zip/Makefile ] || exit 0; \
38731 r=`${PWD_COMMAND}`; export r; \
38732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38733 $(HOST_EXPORTS) \
38734 for flag in $(EXTRA_HOST_FLAGS) ; do \
38735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38736 done; \
38737 echo "Doing mostlyclean in zip" ; \
38738 (cd $(HOST_SUBDIR)/zip && \
38739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38741 "RANLIB=$${RANLIB}" \
38742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38743 mostlyclean) \
38744 || exit 1
38746 @endif zip
38748 .PHONY: maybe-clean-zip clean-zip
38749 maybe-clean-zip:
38750 @if zip
38751 maybe-clean-zip: clean-zip
38753 clean-zip:
38754 @: $(MAKE); $(unstage)
38755 @[ -f ./zip/Makefile ] || exit 0; \
38756 r=`${PWD_COMMAND}`; export r; \
38757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38758 $(HOST_EXPORTS) \
38759 for flag in $(EXTRA_HOST_FLAGS) ; do \
38760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38761 done; \
38762 echo "Doing clean in zip" ; \
38763 (cd $(HOST_SUBDIR)/zip && \
38764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38766 "RANLIB=$${RANLIB}" \
38767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38768 clean) \
38769 || exit 1
38771 @endif zip
38773 .PHONY: maybe-distclean-zip distclean-zip
38774 maybe-distclean-zip:
38775 @if zip
38776 maybe-distclean-zip: distclean-zip
38778 distclean-zip:
38779 @: $(MAKE); $(unstage)
38780 @[ -f ./zip/Makefile ] || exit 0; \
38781 r=`${PWD_COMMAND}`; export r; \
38782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38783 $(HOST_EXPORTS) \
38784 for flag in $(EXTRA_HOST_FLAGS) ; do \
38785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38786 done; \
38787 echo "Doing distclean in zip" ; \
38788 (cd $(HOST_SUBDIR)/zip && \
38789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38791 "RANLIB=$${RANLIB}" \
38792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38793 distclean) \
38794 || exit 1
38796 @endif zip
38798 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
38799 maybe-maintainer-clean-zip:
38800 @if zip
38801 maybe-maintainer-clean-zip: maintainer-clean-zip
38803 maintainer-clean-zip:
38804 @: $(MAKE); $(unstage)
38805 @[ -f ./zip/Makefile ] || exit 0; \
38806 r=`${PWD_COMMAND}`; export r; \
38807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38808 $(HOST_EXPORTS) \
38809 for flag in $(EXTRA_HOST_FLAGS) ; do \
38810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38811 done; \
38812 echo "Doing maintainer-clean in zip" ; \
38813 (cd $(HOST_SUBDIR)/zip && \
38814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38816 "RANLIB=$${RANLIB}" \
38817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38818 maintainer-clean) \
38819 || exit 1
38821 @endif zip
38825 .PHONY: configure-zlib maybe-configure-zlib
38826 maybe-configure-zlib:
38827 @if gcc-bootstrap
38828 configure-zlib: stage_current
38829 @endif gcc-bootstrap
38830 @if zlib
38831 maybe-configure-zlib: configure-zlib
38832 configure-zlib:
38833 @r=`${PWD_COMMAND}`; export r; \
38834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38835 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38837 $(HOST_EXPORTS) \
38838 echo Configuring in $(HOST_SUBDIR)/zlib; \
38839 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
38840 case $(srcdir) in \
38841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38842 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38844 esac; \
38845 srcdiroption="--srcdir=$${topdir}/zlib"; \
38846 libsrcdir="$$s/zlib"; \
38847 $(SHELL) $${libsrcdir}/configure \
38848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38849 --target=${target_alias} $${srcdiroption} \
38850 || exit 1
38851 @endif zlib
38855 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
38856 maybe-configure-stage1-zlib:
38857 @if zlib-bootstrap
38858 maybe-configure-stage1-zlib: configure-stage1-zlib
38859 configure-stage1-zlib:
38860 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38862 @r=`${PWD_COMMAND}`; export r; \
38863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38864 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38865 $(HOST_EXPORTS) \
38866 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
38867 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
38868 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
38869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38870 cd $(HOST_SUBDIR)/zlib || exit 1; \
38871 case $(srcdir) in \
38872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38873 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38875 esac; \
38876 srcdiroption="--srcdir=$${topdir}/zlib"; \
38877 libsrcdir="$$s/zlib"; \
38878 $(SHELL) $${libsrcdir}/configure \
38879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38880 --target=${target_alias} $${srcdiroption} \
38882 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
38883 @endif zlib-bootstrap
38885 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
38886 maybe-configure-stage2-zlib:
38887 @if zlib-bootstrap
38888 maybe-configure-stage2-zlib: configure-stage2-zlib
38889 configure-stage2-zlib:
38890 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38892 @r=`${PWD_COMMAND}`; export r; \
38893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38894 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38895 $(HOST_EXPORTS) \
38896 $(POSTSTAGE1_HOST_EXPORTS) \
38897 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
38898 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
38899 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
38900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38901 cd $(HOST_SUBDIR)/zlib || exit 1; \
38902 case $(srcdir) in \
38903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38904 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38906 esac; \
38907 srcdiroption="--srcdir=$${topdir}/zlib"; \
38908 libsrcdir="$$s/zlib"; \
38909 $(SHELL) $${libsrcdir}/configure \
38910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38911 --target=${target_alias} $${srcdiroption} \
38912 --with-build-libsubdir=$(HOST_SUBDIR) \
38913 @stage2_werror_flag@
38914 @endif zlib-bootstrap
38916 .PHONY: configure-stageb2g0-zlib maybe-configure-stageb2g0-zlib
38917 maybe-configure-stageb2g0-zlib:
38918 @if zlib-bootstrap
38919 maybe-configure-stageb2g0-zlib: configure-stageb2g0-zlib
38920 configure-stageb2g0-zlib:
38921 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
38922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38923 @r=`${PWD_COMMAND}`; export r; \
38924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38925 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38926 $(HOST_EXPORTS) \
38927 $(POSTSTAGE1_HOST_EXPORTS) \
38928 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
38929 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
38930 echo Configuring stage b2g0 in $(HOST_SUBDIR)/zlib ; \
38931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38932 cd $(HOST_SUBDIR)/zlib || exit 1; \
38933 case $(srcdir) in \
38934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38935 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38937 esac; \
38938 srcdiroption="--srcdir=$${topdir}/zlib"; \
38939 libsrcdir="$$s/zlib"; \
38940 $(SHELL) $${libsrcdir}/configure \
38941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38942 --target=${target_alias} $${srcdiroption} \
38943 --with-build-libsubdir=$(HOST_SUBDIR) \
38944 @stage2_werror_flag@
38945 @endif zlib-bootstrap
38947 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
38948 maybe-configure-stage3-zlib:
38949 @if zlib-bootstrap
38950 maybe-configure-stage3-zlib: configure-stage3-zlib
38951 configure-stage3-zlib:
38952 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38954 @r=`${PWD_COMMAND}`; export r; \
38955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38956 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38957 $(HOST_EXPORTS) \
38958 $(POSTSTAGE1_HOST_EXPORTS) \
38959 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
38960 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
38961 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
38962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38963 cd $(HOST_SUBDIR)/zlib || exit 1; \
38964 case $(srcdir) in \
38965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38966 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38968 esac; \
38969 srcdiroption="--srcdir=$${topdir}/zlib"; \
38970 libsrcdir="$$s/zlib"; \
38971 $(SHELL) $${libsrcdir}/configure \
38972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38973 --target=${target_alias} $${srcdiroption} \
38974 --with-build-libsubdir=$(HOST_SUBDIR) \
38975 @stage2_werror_flag@
38976 @endif zlib-bootstrap
38978 .PHONY: configure-stageb3g2-zlib maybe-configure-stageb3g2-zlib
38979 maybe-configure-stageb3g2-zlib:
38980 @if zlib-bootstrap
38981 maybe-configure-stageb3g2-zlib: configure-stageb3g2-zlib
38982 configure-stageb3g2-zlib:
38983 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
38984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
38985 @r=`${PWD_COMMAND}`; export r; \
38986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38987 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
38988 $(HOST_EXPORTS) \
38989 $(POSTSTAGE1_HOST_EXPORTS) \
38990 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
38991 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
38992 echo Configuring stage b3g2 in $(HOST_SUBDIR)/zlib ; \
38993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
38994 cd $(HOST_SUBDIR)/zlib || exit 1; \
38995 case $(srcdir) in \
38996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38997 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
38998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38999 esac; \
39000 srcdiroption="--srcdir=$${topdir}/zlib"; \
39001 libsrcdir="$$s/zlib"; \
39002 $(SHELL) $${libsrcdir}/configure \
39003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39004 --target=${target_alias} $${srcdiroption} \
39005 --with-build-libsubdir=$(HOST_SUBDIR) \
39006 @stage2_werror_flag@
39007 @endif zlib-bootstrap
39009 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
39010 maybe-configure-stage4-zlib:
39011 @if zlib-bootstrap
39012 maybe-configure-stage4-zlib: configure-stage4-zlib
39013 configure-stage4-zlib:
39014 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39016 @r=`${PWD_COMMAND}`; export r; \
39017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39018 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39019 $(HOST_EXPORTS) \
39020 $(POSTSTAGE1_HOST_EXPORTS) \
39021 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
39022 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
39023 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
39024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39025 cd $(HOST_SUBDIR)/zlib || exit 1; \
39026 case $(srcdir) in \
39027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39028 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39030 esac; \
39031 srcdiroption="--srcdir=$${topdir}/zlib"; \
39032 libsrcdir="$$s/zlib"; \
39033 $(SHELL) $${libsrcdir}/configure \
39034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39035 --target=${target_alias} $${srcdiroption} \
39036 --with-build-libsubdir=$(HOST_SUBDIR) \
39037 @stage2_werror_flag@
39038 @endif zlib-bootstrap
39040 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
39041 maybe-configure-stageprofile-zlib:
39042 @if zlib-bootstrap
39043 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
39044 configure-stageprofile-zlib:
39045 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39047 @r=`${PWD_COMMAND}`; export r; \
39048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39049 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39050 $(HOST_EXPORTS) \
39051 $(POSTSTAGE1_HOST_EXPORTS) \
39052 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
39053 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
39054 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
39055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39056 cd $(HOST_SUBDIR)/zlib || exit 1; \
39057 case $(srcdir) in \
39058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39059 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39061 esac; \
39062 srcdiroption="--srcdir=$${topdir}/zlib"; \
39063 libsrcdir="$$s/zlib"; \
39064 $(SHELL) $${libsrcdir}/configure \
39065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39066 --target=${target_alias} $${srcdiroption} \
39067 --with-build-libsubdir=$(HOST_SUBDIR) \
39068 @stage2_werror_flag@
39069 @endif zlib-bootstrap
39071 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
39072 maybe-configure-stagefeedback-zlib:
39073 @if zlib-bootstrap
39074 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
39075 configure-stagefeedback-zlib:
39076 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
39078 @r=`${PWD_COMMAND}`; export r; \
39079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39080 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
39081 $(HOST_EXPORTS) \
39082 $(POSTSTAGE1_HOST_EXPORTS) \
39083 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
39084 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
39085 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
39086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
39087 cd $(HOST_SUBDIR)/zlib || exit 1; \
39088 case $(srcdir) in \
39089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39090 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
39091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39092 esac; \
39093 srcdiroption="--srcdir=$${topdir}/zlib"; \
39094 libsrcdir="$$s/zlib"; \
39095 $(SHELL) $${libsrcdir}/configure \
39096 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39097 --target=${target_alias} $${srcdiroption} \
39098 --with-build-libsubdir=$(HOST_SUBDIR) \
39099 @stage2_werror_flag@
39100 @endif zlib-bootstrap
39106 .PHONY: all-zlib maybe-all-zlib
39107 maybe-all-zlib:
39108 @if gcc-bootstrap
39109 all-zlib: stage_current
39110 @endif gcc-bootstrap
39111 @if zlib
39112 TARGET-zlib=all
39113 maybe-all-zlib: all-zlib
39114 all-zlib: configure-zlib
39115 @r=`${PWD_COMMAND}`; export r; \
39116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39117 $(HOST_EXPORTS) \
39118 (cd $(HOST_SUBDIR)/zlib && \
39119 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39120 $(TARGET-zlib))
39121 @endif zlib
39125 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
39126 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
39127 maybe-all-stage1-zlib:
39128 maybe-clean-stage1-zlib:
39129 @if zlib-bootstrap
39130 maybe-all-stage1-zlib: all-stage1-zlib
39131 all-stage1: all-stage1-zlib
39132 TARGET-stage1-zlib = $(TARGET-zlib)
39133 all-stage1-zlib: configure-stage1-zlib
39134 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39135 @r=`${PWD_COMMAND}`; export r; \
39136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39137 $(HOST_EXPORTS) \
39138 cd $(HOST_SUBDIR)/zlib && \
39139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39140 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
39141 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
39142 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
39143 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
39144 $(TARGET-stage1-zlib)
39146 maybe-clean-stage1-zlib: clean-stage1-zlib
39147 clean-stage1: clean-stage1-zlib
39148 clean-stage1-zlib:
39149 @if [ $(current_stage) = stage1 ]; then \
39150 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39151 else \
39152 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
39153 $(MAKE) stage1-start; \
39154 fi; \
39155 cd $(HOST_SUBDIR)/zlib && \
39156 $(MAKE) $(EXTRA_HOST_FLAGS) \
39157 clean
39158 @endif zlib-bootstrap
39161 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
39162 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
39163 maybe-all-stage2-zlib:
39164 maybe-clean-stage2-zlib:
39165 @if zlib-bootstrap
39166 maybe-all-stage2-zlib: all-stage2-zlib
39167 all-stage2: all-stage2-zlib
39168 TARGET-stage2-zlib = $(TARGET-zlib)
39169 all-stage2-zlib: configure-stage2-zlib
39170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39171 @r=`${PWD_COMMAND}`; export r; \
39172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39173 $(HOST_EXPORTS) \
39174 $(POSTSTAGE1_HOST_EXPORTS) \
39175 cd $(HOST_SUBDIR)/zlib && \
39176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39177 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
39178 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
39179 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
39180 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39181 $(TARGET-stage2-zlib)
39183 maybe-clean-stage2-zlib: clean-stage2-zlib
39184 clean-stage2: clean-stage2-zlib
39185 clean-stage2-zlib:
39186 @if [ $(current_stage) = stage2 ]; then \
39187 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39188 else \
39189 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
39190 $(MAKE) stage2-start; \
39191 fi; \
39192 cd $(HOST_SUBDIR)/zlib && \
39193 $(MAKE) $(EXTRA_HOST_FLAGS) \
39194 $(POSTSTAGE1_FLAGS_TO_PASS) \
39195 clean
39196 @endif zlib-bootstrap
39199 .PHONY: all-stageb2g0-zlib maybe-all-stageb2g0-zlib
39200 .PHONY: clean-stageb2g0-zlib maybe-clean-stageb2g0-zlib
39201 maybe-all-stageb2g0-zlib:
39202 maybe-clean-stageb2g0-zlib:
39203 @if zlib-bootstrap
39204 maybe-all-stageb2g0-zlib: all-stageb2g0-zlib
39205 all-stageb2g0: all-stageb2g0-zlib
39206 TARGET-stageb2g0-zlib = $(TARGET-zlib)
39207 all-stageb2g0-zlib: configure-stageb2g0-zlib
39208 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
39209 @r=`${PWD_COMMAND}`; export r; \
39210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39211 $(HOST_EXPORTS) \
39212 $(POSTSTAGE1_HOST_EXPORTS) \
39213 cd $(HOST_SUBDIR)/zlib && \
39214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39215 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
39216 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
39217 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
39218 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39219 $(TARGET-stageb2g0-zlib)
39221 maybe-clean-stageb2g0-zlib: clean-stageb2g0-zlib
39222 clean-stageb2g0: clean-stageb2g0-zlib
39223 clean-stageb2g0-zlib:
39224 @if [ $(current_stage) = stageb2g0 ]; then \
39225 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39226 else \
39227 [ -f $(HOST_SUBDIR)/stageb2g0-zlib/Makefile ] || exit 0; \
39228 $(MAKE) stageb2g0-start; \
39229 fi; \
39230 cd $(HOST_SUBDIR)/zlib && \
39231 $(MAKE) $(EXTRA_HOST_FLAGS) \
39232 $(POSTSTAGE1_FLAGS_TO_PASS) \
39233 clean
39234 @endif zlib-bootstrap
39237 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
39238 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
39239 maybe-all-stage3-zlib:
39240 maybe-clean-stage3-zlib:
39241 @if zlib-bootstrap
39242 maybe-all-stage3-zlib: all-stage3-zlib
39243 all-stage3: all-stage3-zlib
39244 TARGET-stage3-zlib = $(TARGET-zlib)
39245 all-stage3-zlib: configure-stage3-zlib
39246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39247 @r=`${PWD_COMMAND}`; export r; \
39248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39249 $(HOST_EXPORTS) \
39250 $(POSTSTAGE1_HOST_EXPORTS) \
39251 cd $(HOST_SUBDIR)/zlib && \
39252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39253 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
39254 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
39255 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
39256 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39257 $(TARGET-stage3-zlib)
39259 maybe-clean-stage3-zlib: clean-stage3-zlib
39260 clean-stage3: clean-stage3-zlib
39261 clean-stage3-zlib:
39262 @if [ $(current_stage) = stage3 ]; then \
39263 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39264 else \
39265 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
39266 $(MAKE) stage3-start; \
39267 fi; \
39268 cd $(HOST_SUBDIR)/zlib && \
39269 $(MAKE) $(EXTRA_HOST_FLAGS) \
39270 $(POSTSTAGE1_FLAGS_TO_PASS) \
39271 clean
39272 @endif zlib-bootstrap
39275 .PHONY: all-stageb3g2-zlib maybe-all-stageb3g2-zlib
39276 .PHONY: clean-stageb3g2-zlib maybe-clean-stageb3g2-zlib
39277 maybe-all-stageb3g2-zlib:
39278 maybe-clean-stageb3g2-zlib:
39279 @if zlib-bootstrap
39280 maybe-all-stageb3g2-zlib: all-stageb3g2-zlib
39281 all-stageb3g2: all-stageb3g2-zlib
39282 TARGET-stageb3g2-zlib = $(TARGET-zlib)
39283 all-stageb3g2-zlib: configure-stageb3g2-zlib
39284 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
39285 @r=`${PWD_COMMAND}`; export r; \
39286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39287 $(HOST_EXPORTS) \
39288 $(POSTSTAGE1_HOST_EXPORTS) \
39289 cd $(HOST_SUBDIR)/zlib && \
39290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39291 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
39292 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
39293 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
39294 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39295 $(TARGET-stageb3g2-zlib)
39297 maybe-clean-stageb3g2-zlib: clean-stageb3g2-zlib
39298 clean-stageb3g2: clean-stageb3g2-zlib
39299 clean-stageb3g2-zlib:
39300 @if [ $(current_stage) = stageb3g2 ]; then \
39301 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39302 else \
39303 [ -f $(HOST_SUBDIR)/stageb3g2-zlib/Makefile ] || exit 0; \
39304 $(MAKE) stageb3g2-start; \
39305 fi; \
39306 cd $(HOST_SUBDIR)/zlib && \
39307 $(MAKE) $(EXTRA_HOST_FLAGS) \
39308 $(POSTSTAGE1_FLAGS_TO_PASS) \
39309 clean
39310 @endif zlib-bootstrap
39313 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
39314 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
39315 maybe-all-stage4-zlib:
39316 maybe-clean-stage4-zlib:
39317 @if zlib-bootstrap
39318 maybe-all-stage4-zlib: all-stage4-zlib
39319 all-stage4: all-stage4-zlib
39320 TARGET-stage4-zlib = $(TARGET-zlib)
39321 all-stage4-zlib: configure-stage4-zlib
39322 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39323 @r=`${PWD_COMMAND}`; export r; \
39324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39325 $(HOST_EXPORTS) \
39326 $(POSTSTAGE1_HOST_EXPORTS) \
39327 cd $(HOST_SUBDIR)/zlib && \
39328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39329 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
39330 LIBCFLAGS="$(STAGE4_CFLAGS)" \
39331 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
39332 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39333 $(TARGET-stage4-zlib)
39335 maybe-clean-stage4-zlib: clean-stage4-zlib
39336 clean-stage4: clean-stage4-zlib
39337 clean-stage4-zlib:
39338 @if [ $(current_stage) = stage4 ]; then \
39339 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39340 else \
39341 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
39342 $(MAKE) stage4-start; \
39343 fi; \
39344 cd $(HOST_SUBDIR)/zlib && \
39345 $(MAKE) $(EXTRA_HOST_FLAGS) \
39346 $(POSTSTAGE1_FLAGS_TO_PASS) \
39347 clean
39348 @endif zlib-bootstrap
39351 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
39352 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
39353 maybe-all-stageprofile-zlib:
39354 maybe-clean-stageprofile-zlib:
39355 @if zlib-bootstrap
39356 maybe-all-stageprofile-zlib: all-stageprofile-zlib
39357 all-stageprofile: all-stageprofile-zlib
39358 TARGET-stageprofile-zlib = $(TARGET-zlib)
39359 all-stageprofile-zlib: configure-stageprofile-zlib
39360 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39361 @r=`${PWD_COMMAND}`; export r; \
39362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39363 $(HOST_EXPORTS) \
39364 $(POSTSTAGE1_HOST_EXPORTS) \
39365 cd $(HOST_SUBDIR)/zlib && \
39366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39367 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
39368 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
39369 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
39370 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39371 $(TARGET-stageprofile-zlib)
39373 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
39374 clean-stageprofile: clean-stageprofile-zlib
39375 clean-stageprofile-zlib:
39376 @if [ $(current_stage) = stageprofile ]; then \
39377 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39378 else \
39379 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
39380 $(MAKE) stageprofile-start; \
39381 fi; \
39382 cd $(HOST_SUBDIR)/zlib && \
39383 $(MAKE) $(EXTRA_HOST_FLAGS) \
39384 $(POSTSTAGE1_FLAGS_TO_PASS) \
39385 clean
39386 @endif zlib-bootstrap
39389 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
39390 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
39391 maybe-all-stagefeedback-zlib:
39392 maybe-clean-stagefeedback-zlib:
39393 @if zlib-bootstrap
39394 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
39395 all-stagefeedback: all-stagefeedback-zlib
39396 TARGET-stagefeedback-zlib = $(TARGET-zlib)
39397 all-stagefeedback-zlib: configure-stagefeedback-zlib
39398 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39399 @r=`${PWD_COMMAND}`; export r; \
39400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39401 $(HOST_EXPORTS) \
39402 $(POSTSTAGE1_HOST_EXPORTS) \
39403 cd $(HOST_SUBDIR)/zlib && \
39404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39405 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
39406 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
39407 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
39408 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39409 $(TARGET-stagefeedback-zlib)
39411 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
39412 clean-stagefeedback: clean-stagefeedback-zlib
39413 clean-stagefeedback-zlib:
39414 @if [ $(current_stage) = stagefeedback ]; then \
39415 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
39416 else \
39417 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
39418 $(MAKE) stagefeedback-start; \
39419 fi; \
39420 cd $(HOST_SUBDIR)/zlib && \
39421 $(MAKE) $(EXTRA_HOST_FLAGS) \
39422 $(POSTSTAGE1_FLAGS_TO_PASS) \
39423 clean
39424 @endif zlib-bootstrap
39430 .PHONY: check-zlib maybe-check-zlib
39431 maybe-check-zlib:
39432 @if zlib
39433 maybe-check-zlib: check-zlib
39435 check-zlib:
39437 @endif zlib
39439 .PHONY: install-zlib maybe-install-zlib
39440 maybe-install-zlib:
39441 @if zlib
39442 maybe-install-zlib: install-zlib
39444 install-zlib:
39446 @endif zlib
39448 # Other targets (info, dvi, pdf, etc.)
39450 .PHONY: maybe-info-zlib info-zlib
39451 maybe-info-zlib:
39452 @if zlib
39453 maybe-info-zlib: info-zlib
39455 info-zlib: \
39456 configure-zlib
39457 @[ -f ./zlib/Makefile ] || exit 0; \
39458 r=`${PWD_COMMAND}`; export r; \
39459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39460 $(HOST_EXPORTS) \
39461 for flag in $(EXTRA_HOST_FLAGS) ; do \
39462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39463 done; \
39464 echo "Doing info in zlib" ; \
39465 (cd $(HOST_SUBDIR)/zlib && \
39466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39468 "RANLIB=$${RANLIB}" \
39469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39470 info) \
39471 || exit 1
39473 @endif zlib
39475 .PHONY: maybe-dvi-zlib dvi-zlib
39476 maybe-dvi-zlib:
39477 @if zlib
39478 maybe-dvi-zlib: dvi-zlib
39480 dvi-zlib: \
39481 configure-zlib
39482 @[ -f ./zlib/Makefile ] || exit 0; \
39483 r=`${PWD_COMMAND}`; export r; \
39484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39485 $(HOST_EXPORTS) \
39486 for flag in $(EXTRA_HOST_FLAGS) ; do \
39487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39488 done; \
39489 echo "Doing dvi in zlib" ; \
39490 (cd $(HOST_SUBDIR)/zlib && \
39491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39493 "RANLIB=$${RANLIB}" \
39494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39495 dvi) \
39496 || exit 1
39498 @endif zlib
39500 .PHONY: maybe-pdf-zlib pdf-zlib
39501 maybe-pdf-zlib:
39502 @if zlib
39503 maybe-pdf-zlib: pdf-zlib
39505 pdf-zlib: \
39506 configure-zlib
39507 @[ -f ./zlib/Makefile ] || exit 0; \
39508 r=`${PWD_COMMAND}`; export r; \
39509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39510 $(HOST_EXPORTS) \
39511 for flag in $(EXTRA_HOST_FLAGS) ; do \
39512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39513 done; \
39514 echo "Doing pdf in zlib" ; \
39515 (cd $(HOST_SUBDIR)/zlib && \
39516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39518 "RANLIB=$${RANLIB}" \
39519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39520 pdf) \
39521 || exit 1
39523 @endif zlib
39525 .PHONY: maybe-html-zlib html-zlib
39526 maybe-html-zlib:
39527 @if zlib
39528 maybe-html-zlib: html-zlib
39530 html-zlib: \
39531 configure-zlib
39532 @[ -f ./zlib/Makefile ] || exit 0; \
39533 r=`${PWD_COMMAND}`; export r; \
39534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39535 $(HOST_EXPORTS) \
39536 for flag in $(EXTRA_HOST_FLAGS) ; do \
39537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39538 done; \
39539 echo "Doing html in zlib" ; \
39540 (cd $(HOST_SUBDIR)/zlib && \
39541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39543 "RANLIB=$${RANLIB}" \
39544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39545 html) \
39546 || exit 1
39548 @endif zlib
39550 .PHONY: maybe-TAGS-zlib TAGS-zlib
39551 maybe-TAGS-zlib:
39552 @if zlib
39553 maybe-TAGS-zlib: TAGS-zlib
39555 TAGS-zlib: \
39556 configure-zlib
39557 @[ -f ./zlib/Makefile ] || exit 0; \
39558 r=`${PWD_COMMAND}`; export r; \
39559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39560 $(HOST_EXPORTS) \
39561 for flag in $(EXTRA_HOST_FLAGS) ; do \
39562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39563 done; \
39564 echo "Doing TAGS in zlib" ; \
39565 (cd $(HOST_SUBDIR)/zlib && \
39566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39568 "RANLIB=$${RANLIB}" \
39569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39570 TAGS) \
39571 || exit 1
39573 @endif zlib
39575 .PHONY: maybe-install-info-zlib install-info-zlib
39576 maybe-install-info-zlib:
39577 @if zlib
39578 maybe-install-info-zlib: install-info-zlib
39580 install-info-zlib: \
39581 configure-zlib \
39582 info-zlib
39583 @[ -f ./zlib/Makefile ] || exit 0; \
39584 r=`${PWD_COMMAND}`; export r; \
39585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39586 $(HOST_EXPORTS) \
39587 for flag in $(EXTRA_HOST_FLAGS) ; do \
39588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39589 done; \
39590 echo "Doing install-info in zlib" ; \
39591 (cd $(HOST_SUBDIR)/zlib && \
39592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39594 "RANLIB=$${RANLIB}" \
39595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39596 install-info) \
39597 || exit 1
39599 @endif zlib
39601 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
39602 maybe-install-pdf-zlib:
39603 @if zlib
39604 maybe-install-pdf-zlib: install-pdf-zlib
39606 install-pdf-zlib: \
39607 configure-zlib \
39608 pdf-zlib
39609 @[ -f ./zlib/Makefile ] || exit 0; \
39610 r=`${PWD_COMMAND}`; export r; \
39611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39612 $(HOST_EXPORTS) \
39613 for flag in $(EXTRA_HOST_FLAGS) ; do \
39614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39615 done; \
39616 echo "Doing install-pdf in zlib" ; \
39617 (cd $(HOST_SUBDIR)/zlib && \
39618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39620 "RANLIB=$${RANLIB}" \
39621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39622 install-pdf) \
39623 || exit 1
39625 @endif zlib
39627 .PHONY: maybe-install-html-zlib install-html-zlib
39628 maybe-install-html-zlib:
39629 @if zlib
39630 maybe-install-html-zlib: install-html-zlib
39632 install-html-zlib: \
39633 configure-zlib \
39634 html-zlib
39635 @[ -f ./zlib/Makefile ] || exit 0; \
39636 r=`${PWD_COMMAND}`; export r; \
39637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39638 $(HOST_EXPORTS) \
39639 for flag in $(EXTRA_HOST_FLAGS) ; do \
39640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39641 done; \
39642 echo "Doing install-html in zlib" ; \
39643 (cd $(HOST_SUBDIR)/zlib && \
39644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39646 "RANLIB=$${RANLIB}" \
39647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39648 install-html) \
39649 || exit 1
39651 @endif zlib
39653 .PHONY: maybe-installcheck-zlib installcheck-zlib
39654 maybe-installcheck-zlib:
39655 @if zlib
39656 maybe-installcheck-zlib: installcheck-zlib
39658 installcheck-zlib: \
39659 configure-zlib
39660 @[ -f ./zlib/Makefile ] || exit 0; \
39661 r=`${PWD_COMMAND}`; export r; \
39662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39663 $(HOST_EXPORTS) \
39664 for flag in $(EXTRA_HOST_FLAGS) ; do \
39665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39666 done; \
39667 echo "Doing installcheck in zlib" ; \
39668 (cd $(HOST_SUBDIR)/zlib && \
39669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39671 "RANLIB=$${RANLIB}" \
39672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39673 installcheck) \
39674 || exit 1
39676 @endif zlib
39678 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
39679 maybe-mostlyclean-zlib:
39680 @if zlib
39681 maybe-mostlyclean-zlib: mostlyclean-zlib
39683 mostlyclean-zlib:
39684 @[ -f ./zlib/Makefile ] || exit 0; \
39685 r=`${PWD_COMMAND}`; export r; \
39686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39687 $(HOST_EXPORTS) \
39688 for flag in $(EXTRA_HOST_FLAGS) ; do \
39689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39690 done; \
39691 echo "Doing mostlyclean in zlib" ; \
39692 (cd $(HOST_SUBDIR)/zlib && \
39693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39695 "RANLIB=$${RANLIB}" \
39696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39697 mostlyclean) \
39698 || exit 1
39700 @endif zlib
39702 .PHONY: maybe-clean-zlib clean-zlib
39703 maybe-clean-zlib:
39704 @if zlib
39705 maybe-clean-zlib: clean-zlib
39707 clean-zlib:
39708 @[ -f ./zlib/Makefile ] || exit 0; \
39709 r=`${PWD_COMMAND}`; export r; \
39710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39711 $(HOST_EXPORTS) \
39712 for flag in $(EXTRA_HOST_FLAGS) ; do \
39713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39714 done; \
39715 echo "Doing clean in zlib" ; \
39716 (cd $(HOST_SUBDIR)/zlib && \
39717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39719 "RANLIB=$${RANLIB}" \
39720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39721 clean) \
39722 || exit 1
39724 @endif zlib
39726 .PHONY: maybe-distclean-zlib distclean-zlib
39727 maybe-distclean-zlib:
39728 @if zlib
39729 maybe-distclean-zlib: distclean-zlib
39731 distclean-zlib:
39732 @[ -f ./zlib/Makefile ] || exit 0; \
39733 r=`${PWD_COMMAND}`; export r; \
39734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39735 $(HOST_EXPORTS) \
39736 for flag in $(EXTRA_HOST_FLAGS) ; do \
39737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39738 done; \
39739 echo "Doing distclean in zlib" ; \
39740 (cd $(HOST_SUBDIR)/zlib && \
39741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39743 "RANLIB=$${RANLIB}" \
39744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39745 distclean) \
39746 || exit 1
39748 @endif zlib
39750 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
39751 maybe-maintainer-clean-zlib:
39752 @if zlib
39753 maybe-maintainer-clean-zlib: maintainer-clean-zlib
39755 maintainer-clean-zlib:
39756 @[ -f ./zlib/Makefile ] || exit 0; \
39757 r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 $(HOST_EXPORTS) \
39760 for flag in $(EXTRA_HOST_FLAGS) ; do \
39761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39762 done; \
39763 echo "Doing maintainer-clean in zlib" ; \
39764 (cd $(HOST_SUBDIR)/zlib && \
39765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39767 "RANLIB=$${RANLIB}" \
39768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39769 maintainer-clean) \
39770 || exit 1
39772 @endif zlib
39776 .PHONY: configure-gdb maybe-configure-gdb
39777 maybe-configure-gdb:
39778 @if gcc-bootstrap
39779 configure-gdb: stage_current
39780 @endif gcc-bootstrap
39781 @if gdb
39782 maybe-configure-gdb: configure-gdb
39783 configure-gdb:
39784 @: $(MAKE); $(unstage)
39785 @r=`${PWD_COMMAND}`; export r; \
39786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39787 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
39788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
39789 $(HOST_EXPORTS) \
39790 echo Configuring in $(HOST_SUBDIR)/gdb; \
39791 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
39792 case $(srcdir) in \
39793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39794 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
39795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39796 esac; \
39797 srcdiroption="--srcdir=$${topdir}/gdb"; \
39798 libsrcdir="$$s/gdb"; \
39799 $(SHELL) $${libsrcdir}/configure \
39800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39801 --target=${target_alias} $${srcdiroption} \
39802 || exit 1
39803 @endif gdb
39809 .PHONY: all-gdb maybe-all-gdb
39810 maybe-all-gdb:
39811 @if gcc-bootstrap
39812 all-gdb: stage_current
39813 @endif gcc-bootstrap
39814 @if gdb
39815 TARGET-gdb=all
39816 maybe-all-gdb: all-gdb
39817 all-gdb: configure-gdb
39818 @: $(MAKE); $(unstage)
39819 @r=`${PWD_COMMAND}`; export r; \
39820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39821 $(HOST_EXPORTS) \
39822 (cd $(HOST_SUBDIR)/gdb && \
39823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
39824 $(TARGET-gdb))
39825 @endif gdb
39830 .PHONY: check-gdb maybe-check-gdb
39831 maybe-check-gdb:
39832 @if gdb
39833 maybe-check-gdb: check-gdb
39835 check-gdb:
39836 @: $(MAKE); $(unstage)
39837 @r=`${PWD_COMMAND}`; export r; \
39838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39839 $(HOST_EXPORTS) \
39840 (cd $(HOST_SUBDIR)/gdb && \
39841 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
39843 @endif gdb
39845 .PHONY: install-gdb maybe-install-gdb
39846 maybe-install-gdb:
39847 @if gdb
39848 maybe-install-gdb: install-gdb
39850 install-gdb: installdirs
39851 @: $(MAKE); $(unstage)
39852 @r=`${PWD_COMMAND}`; export r; \
39853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39854 $(HOST_EXPORTS) \
39855 (cd $(HOST_SUBDIR)/gdb && \
39856 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
39858 @endif gdb
39860 # Other targets (info, dvi, pdf, etc.)
39862 .PHONY: maybe-info-gdb info-gdb
39863 maybe-info-gdb:
39864 @if gdb
39865 maybe-info-gdb: info-gdb
39867 info-gdb: \
39868 configure-gdb
39869 @: $(MAKE); $(unstage)
39870 @[ -f ./gdb/Makefile ] || exit 0; \
39871 r=`${PWD_COMMAND}`; export r; \
39872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39873 $(HOST_EXPORTS) \
39874 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39876 done; \
39877 echo "Doing info in gdb" ; \
39878 (cd $(HOST_SUBDIR)/gdb && \
39879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39881 "RANLIB=$${RANLIB}" \
39882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39883 info) \
39884 || exit 1
39886 @endif gdb
39888 .PHONY: maybe-dvi-gdb dvi-gdb
39889 maybe-dvi-gdb:
39890 @if gdb
39891 maybe-dvi-gdb: dvi-gdb
39893 dvi-gdb: \
39894 configure-gdb
39895 @: $(MAKE); $(unstage)
39896 @[ -f ./gdb/Makefile ] || exit 0; \
39897 r=`${PWD_COMMAND}`; export r; \
39898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39899 $(HOST_EXPORTS) \
39900 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39902 done; \
39903 echo "Doing dvi in gdb" ; \
39904 (cd $(HOST_SUBDIR)/gdb && \
39905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39907 "RANLIB=$${RANLIB}" \
39908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39909 dvi) \
39910 || exit 1
39912 @endif gdb
39914 .PHONY: maybe-pdf-gdb pdf-gdb
39915 maybe-pdf-gdb:
39916 @if gdb
39917 maybe-pdf-gdb: pdf-gdb
39919 pdf-gdb: \
39920 configure-gdb
39921 @: $(MAKE); $(unstage)
39922 @[ -f ./gdb/Makefile ] || exit 0; \
39923 r=`${PWD_COMMAND}`; export r; \
39924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39925 $(HOST_EXPORTS) \
39926 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39928 done; \
39929 echo "Doing pdf in gdb" ; \
39930 (cd $(HOST_SUBDIR)/gdb && \
39931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39933 "RANLIB=$${RANLIB}" \
39934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39935 pdf) \
39936 || exit 1
39938 @endif gdb
39940 .PHONY: maybe-html-gdb html-gdb
39941 maybe-html-gdb:
39942 @if gdb
39943 maybe-html-gdb: html-gdb
39945 html-gdb: \
39946 configure-gdb
39947 @: $(MAKE); $(unstage)
39948 @[ -f ./gdb/Makefile ] || exit 0; \
39949 r=`${PWD_COMMAND}`; export r; \
39950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39951 $(HOST_EXPORTS) \
39952 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39954 done; \
39955 echo "Doing html in gdb" ; \
39956 (cd $(HOST_SUBDIR)/gdb && \
39957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39959 "RANLIB=$${RANLIB}" \
39960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39961 html) \
39962 || exit 1
39964 @endif gdb
39966 .PHONY: maybe-TAGS-gdb TAGS-gdb
39967 maybe-TAGS-gdb:
39968 @if gdb
39969 maybe-TAGS-gdb: TAGS-gdb
39971 TAGS-gdb: \
39972 configure-gdb
39973 @: $(MAKE); $(unstage)
39974 @[ -f ./gdb/Makefile ] || exit 0; \
39975 r=`${PWD_COMMAND}`; export r; \
39976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39977 $(HOST_EXPORTS) \
39978 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39980 done; \
39981 echo "Doing TAGS in gdb" ; \
39982 (cd $(HOST_SUBDIR)/gdb && \
39983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39985 "RANLIB=$${RANLIB}" \
39986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39987 TAGS) \
39988 || exit 1
39990 @endif gdb
39992 .PHONY: maybe-install-info-gdb install-info-gdb
39993 maybe-install-info-gdb:
39994 @if gdb
39995 maybe-install-info-gdb: install-info-gdb
39997 install-info-gdb: \
39998 configure-gdb \
39999 info-gdb
40000 @: $(MAKE); $(unstage)
40001 @[ -f ./gdb/Makefile ] || exit 0; \
40002 r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(HOST_EXPORTS) \
40005 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40007 done; \
40008 echo "Doing install-info in gdb" ; \
40009 (cd $(HOST_SUBDIR)/gdb && \
40010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40012 "RANLIB=$${RANLIB}" \
40013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40014 install-info) \
40015 || exit 1
40017 @endif gdb
40019 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
40020 maybe-install-pdf-gdb:
40021 @if gdb
40022 maybe-install-pdf-gdb: install-pdf-gdb
40024 install-pdf-gdb: \
40025 configure-gdb \
40026 pdf-gdb
40027 @: $(MAKE); $(unstage)
40028 @[ -f ./gdb/Makefile ] || exit 0; \
40029 r=`${PWD_COMMAND}`; export r; \
40030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40031 $(HOST_EXPORTS) \
40032 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40034 done; \
40035 echo "Doing install-pdf in gdb" ; \
40036 (cd $(HOST_SUBDIR)/gdb && \
40037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40039 "RANLIB=$${RANLIB}" \
40040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40041 install-pdf) \
40042 || exit 1
40044 @endif gdb
40046 .PHONY: maybe-install-html-gdb install-html-gdb
40047 maybe-install-html-gdb:
40048 @if gdb
40049 maybe-install-html-gdb: install-html-gdb
40051 install-html-gdb: \
40052 configure-gdb \
40053 html-gdb
40054 @: $(MAKE); $(unstage)
40055 @[ -f ./gdb/Makefile ] || exit 0; \
40056 r=`${PWD_COMMAND}`; export r; \
40057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40058 $(HOST_EXPORTS) \
40059 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40061 done; \
40062 echo "Doing install-html in gdb" ; \
40063 (cd $(HOST_SUBDIR)/gdb && \
40064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40066 "RANLIB=$${RANLIB}" \
40067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40068 install-html) \
40069 || exit 1
40071 @endif gdb
40073 .PHONY: maybe-installcheck-gdb installcheck-gdb
40074 maybe-installcheck-gdb:
40075 @if gdb
40076 maybe-installcheck-gdb: installcheck-gdb
40078 installcheck-gdb: \
40079 configure-gdb
40080 @: $(MAKE); $(unstage)
40081 @[ -f ./gdb/Makefile ] || exit 0; \
40082 r=`${PWD_COMMAND}`; export r; \
40083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40084 $(HOST_EXPORTS) \
40085 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40087 done; \
40088 echo "Doing installcheck in gdb" ; \
40089 (cd $(HOST_SUBDIR)/gdb && \
40090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40092 "RANLIB=$${RANLIB}" \
40093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40094 installcheck) \
40095 || exit 1
40097 @endif gdb
40099 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
40100 maybe-mostlyclean-gdb:
40101 @if gdb
40102 maybe-mostlyclean-gdb: mostlyclean-gdb
40104 mostlyclean-gdb:
40105 @: $(MAKE); $(unstage)
40106 @[ -f ./gdb/Makefile ] || exit 0; \
40107 r=`${PWD_COMMAND}`; export r; \
40108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40109 $(HOST_EXPORTS) \
40110 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40112 done; \
40113 echo "Doing mostlyclean in gdb" ; \
40114 (cd $(HOST_SUBDIR)/gdb && \
40115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40117 "RANLIB=$${RANLIB}" \
40118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40119 mostlyclean) \
40120 || exit 1
40122 @endif gdb
40124 .PHONY: maybe-clean-gdb clean-gdb
40125 maybe-clean-gdb:
40126 @if gdb
40127 maybe-clean-gdb: clean-gdb
40129 clean-gdb:
40130 @: $(MAKE); $(unstage)
40131 @[ -f ./gdb/Makefile ] || exit 0; \
40132 r=`${PWD_COMMAND}`; export r; \
40133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40134 $(HOST_EXPORTS) \
40135 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40137 done; \
40138 echo "Doing clean in gdb" ; \
40139 (cd $(HOST_SUBDIR)/gdb && \
40140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40142 "RANLIB=$${RANLIB}" \
40143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40144 clean) \
40145 || exit 1
40147 @endif gdb
40149 .PHONY: maybe-distclean-gdb distclean-gdb
40150 maybe-distclean-gdb:
40151 @if gdb
40152 maybe-distclean-gdb: distclean-gdb
40154 distclean-gdb:
40155 @: $(MAKE); $(unstage)
40156 @[ -f ./gdb/Makefile ] || exit 0; \
40157 r=`${PWD_COMMAND}`; export r; \
40158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40159 $(HOST_EXPORTS) \
40160 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40162 done; \
40163 echo "Doing distclean in gdb" ; \
40164 (cd $(HOST_SUBDIR)/gdb && \
40165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40167 "RANLIB=$${RANLIB}" \
40168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40169 distclean) \
40170 || exit 1
40172 @endif gdb
40174 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
40175 maybe-maintainer-clean-gdb:
40176 @if gdb
40177 maybe-maintainer-clean-gdb: maintainer-clean-gdb
40179 maintainer-clean-gdb:
40180 @: $(MAKE); $(unstage)
40181 @[ -f ./gdb/Makefile ] || exit 0; \
40182 r=`${PWD_COMMAND}`; export r; \
40183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40184 $(HOST_EXPORTS) \
40185 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40187 done; \
40188 echo "Doing maintainer-clean in gdb" ; \
40189 (cd $(HOST_SUBDIR)/gdb && \
40190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40192 "RANLIB=$${RANLIB}" \
40193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40194 maintainer-clean) \
40195 || exit 1
40197 @endif gdb
40201 .PHONY: configure-expect maybe-configure-expect
40202 maybe-configure-expect:
40203 @if gcc-bootstrap
40204 configure-expect: stage_current
40205 @endif gcc-bootstrap
40206 @if expect
40207 maybe-configure-expect: configure-expect
40208 configure-expect:
40209 @: $(MAKE); $(unstage)
40210 @r=`${PWD_COMMAND}`; export r; \
40211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40212 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
40213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
40214 $(HOST_EXPORTS) \
40215 echo Configuring in $(HOST_SUBDIR)/expect; \
40216 cd "$(HOST_SUBDIR)/expect" || exit 1; \
40217 case $(srcdir) in \
40218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40219 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
40220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40221 esac; \
40222 srcdiroption="--srcdir=$${topdir}/expect"; \
40223 libsrcdir="$$s/expect"; \
40224 $(SHELL) $${libsrcdir}/configure \
40225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40226 --target=${target_alias} $${srcdiroption} \
40227 || exit 1
40228 @endif expect
40234 .PHONY: all-expect maybe-all-expect
40235 maybe-all-expect:
40236 @if gcc-bootstrap
40237 all-expect: stage_current
40238 @endif gcc-bootstrap
40239 @if expect
40240 TARGET-expect=all
40241 maybe-all-expect: all-expect
40242 all-expect: configure-expect
40243 @: $(MAKE); $(unstage)
40244 @r=`${PWD_COMMAND}`; export r; \
40245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40246 $(HOST_EXPORTS) \
40247 (cd $(HOST_SUBDIR)/expect && \
40248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
40249 $(TARGET-expect))
40250 @endif expect
40255 .PHONY: check-expect maybe-check-expect
40256 maybe-check-expect:
40257 @if expect
40258 maybe-check-expect: check-expect
40260 check-expect:
40261 @: $(MAKE); $(unstage)
40262 @r=`${PWD_COMMAND}`; export r; \
40263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40264 $(HOST_EXPORTS) \
40265 (cd $(HOST_SUBDIR)/expect && \
40266 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
40268 @endif expect
40270 .PHONY: install-expect maybe-install-expect
40271 maybe-install-expect:
40272 @if expect
40273 maybe-install-expect: install-expect
40275 install-expect: installdirs
40276 @: $(MAKE); $(unstage)
40277 @r=`${PWD_COMMAND}`; export r; \
40278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40279 $(HOST_EXPORTS) \
40280 (cd $(HOST_SUBDIR)/expect && \
40281 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
40283 @endif expect
40285 # Other targets (info, dvi, pdf, etc.)
40287 .PHONY: maybe-info-expect info-expect
40288 maybe-info-expect:
40289 @if expect
40290 maybe-info-expect: info-expect
40292 info-expect: \
40293 configure-expect
40294 @: $(MAKE); $(unstage)
40295 @[ -f ./expect/Makefile ] || exit 0; \
40296 r=`${PWD_COMMAND}`; export r; \
40297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40298 $(HOST_EXPORTS) \
40299 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40301 done; \
40302 echo "Doing info in expect" ; \
40303 (cd $(HOST_SUBDIR)/expect && \
40304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40306 "RANLIB=$${RANLIB}" \
40307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40308 info) \
40309 || exit 1
40311 @endif expect
40313 .PHONY: maybe-dvi-expect dvi-expect
40314 maybe-dvi-expect:
40315 @if expect
40316 maybe-dvi-expect: dvi-expect
40318 dvi-expect: \
40319 configure-expect
40320 @: $(MAKE); $(unstage)
40321 @[ -f ./expect/Makefile ] || exit 0; \
40322 r=`${PWD_COMMAND}`; export r; \
40323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40324 $(HOST_EXPORTS) \
40325 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40327 done; \
40328 echo "Doing dvi in expect" ; \
40329 (cd $(HOST_SUBDIR)/expect && \
40330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40332 "RANLIB=$${RANLIB}" \
40333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40334 dvi) \
40335 || exit 1
40337 @endif expect
40339 .PHONY: maybe-pdf-expect pdf-expect
40340 maybe-pdf-expect:
40341 @if expect
40342 maybe-pdf-expect: pdf-expect
40344 pdf-expect: \
40345 configure-expect
40346 @: $(MAKE); $(unstage)
40347 @[ -f ./expect/Makefile ] || exit 0; \
40348 r=`${PWD_COMMAND}`; export r; \
40349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40350 $(HOST_EXPORTS) \
40351 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40353 done; \
40354 echo "Doing pdf in expect" ; \
40355 (cd $(HOST_SUBDIR)/expect && \
40356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40358 "RANLIB=$${RANLIB}" \
40359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40360 pdf) \
40361 || exit 1
40363 @endif expect
40365 .PHONY: maybe-html-expect html-expect
40366 maybe-html-expect:
40367 @if expect
40368 maybe-html-expect: html-expect
40370 html-expect: \
40371 configure-expect
40372 @: $(MAKE); $(unstage)
40373 @[ -f ./expect/Makefile ] || exit 0; \
40374 r=`${PWD_COMMAND}`; export r; \
40375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40376 $(HOST_EXPORTS) \
40377 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40379 done; \
40380 echo "Doing html in expect" ; \
40381 (cd $(HOST_SUBDIR)/expect && \
40382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40384 "RANLIB=$${RANLIB}" \
40385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40386 html) \
40387 || exit 1
40389 @endif expect
40391 .PHONY: maybe-TAGS-expect TAGS-expect
40392 maybe-TAGS-expect:
40393 @if expect
40394 maybe-TAGS-expect: TAGS-expect
40396 TAGS-expect: \
40397 configure-expect
40398 @: $(MAKE); $(unstage)
40399 @[ -f ./expect/Makefile ] || exit 0; \
40400 r=`${PWD_COMMAND}`; export r; \
40401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40402 $(HOST_EXPORTS) \
40403 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40405 done; \
40406 echo "Doing TAGS in expect" ; \
40407 (cd $(HOST_SUBDIR)/expect && \
40408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40410 "RANLIB=$${RANLIB}" \
40411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40412 TAGS) \
40413 || exit 1
40415 @endif expect
40417 .PHONY: maybe-install-info-expect install-info-expect
40418 maybe-install-info-expect:
40419 @if expect
40420 maybe-install-info-expect: install-info-expect
40422 install-info-expect: \
40423 configure-expect \
40424 info-expect
40425 @: $(MAKE); $(unstage)
40426 @[ -f ./expect/Makefile ] || exit 0; \
40427 r=`${PWD_COMMAND}`; export r; \
40428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40429 $(HOST_EXPORTS) \
40430 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40432 done; \
40433 echo "Doing install-info in expect" ; \
40434 (cd $(HOST_SUBDIR)/expect && \
40435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40437 "RANLIB=$${RANLIB}" \
40438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40439 install-info) \
40440 || exit 1
40442 @endif expect
40444 .PHONY: maybe-install-pdf-expect install-pdf-expect
40445 maybe-install-pdf-expect:
40446 @if expect
40447 maybe-install-pdf-expect: install-pdf-expect
40449 install-pdf-expect: \
40450 configure-expect \
40451 pdf-expect
40452 @: $(MAKE); $(unstage)
40453 @[ -f ./expect/Makefile ] || exit 0; \
40454 r=`${PWD_COMMAND}`; export r; \
40455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40456 $(HOST_EXPORTS) \
40457 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40459 done; \
40460 echo "Doing install-pdf in expect" ; \
40461 (cd $(HOST_SUBDIR)/expect && \
40462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40464 "RANLIB=$${RANLIB}" \
40465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40466 install-pdf) \
40467 || exit 1
40469 @endif expect
40471 .PHONY: maybe-install-html-expect install-html-expect
40472 maybe-install-html-expect:
40473 @if expect
40474 maybe-install-html-expect: install-html-expect
40476 install-html-expect: \
40477 configure-expect \
40478 html-expect
40479 @: $(MAKE); $(unstage)
40480 @[ -f ./expect/Makefile ] || exit 0; \
40481 r=`${PWD_COMMAND}`; export r; \
40482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40483 $(HOST_EXPORTS) \
40484 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40486 done; \
40487 echo "Doing install-html in expect" ; \
40488 (cd $(HOST_SUBDIR)/expect && \
40489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40491 "RANLIB=$${RANLIB}" \
40492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40493 install-html) \
40494 || exit 1
40496 @endif expect
40498 .PHONY: maybe-installcheck-expect installcheck-expect
40499 maybe-installcheck-expect:
40500 @if expect
40501 maybe-installcheck-expect: installcheck-expect
40503 installcheck-expect: \
40504 configure-expect
40505 @: $(MAKE); $(unstage)
40506 @[ -f ./expect/Makefile ] || exit 0; \
40507 r=`${PWD_COMMAND}`; export r; \
40508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40509 $(HOST_EXPORTS) \
40510 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40512 done; \
40513 echo "Doing installcheck in expect" ; \
40514 (cd $(HOST_SUBDIR)/expect && \
40515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40517 "RANLIB=$${RANLIB}" \
40518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40519 installcheck) \
40520 || exit 1
40522 @endif expect
40524 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
40525 maybe-mostlyclean-expect:
40526 @if expect
40527 maybe-mostlyclean-expect: mostlyclean-expect
40529 mostlyclean-expect:
40530 @: $(MAKE); $(unstage)
40531 @[ -f ./expect/Makefile ] || exit 0; \
40532 r=`${PWD_COMMAND}`; export r; \
40533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40534 $(HOST_EXPORTS) \
40535 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40537 done; \
40538 echo "Doing mostlyclean in expect" ; \
40539 (cd $(HOST_SUBDIR)/expect && \
40540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40542 "RANLIB=$${RANLIB}" \
40543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40544 mostlyclean) \
40545 || exit 1
40547 @endif expect
40549 .PHONY: maybe-clean-expect clean-expect
40550 maybe-clean-expect:
40551 @if expect
40552 maybe-clean-expect: clean-expect
40554 clean-expect:
40555 @: $(MAKE); $(unstage)
40556 @[ -f ./expect/Makefile ] || exit 0; \
40557 r=`${PWD_COMMAND}`; export r; \
40558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40559 $(HOST_EXPORTS) \
40560 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40562 done; \
40563 echo "Doing clean in expect" ; \
40564 (cd $(HOST_SUBDIR)/expect && \
40565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40567 "RANLIB=$${RANLIB}" \
40568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40569 clean) \
40570 || exit 1
40572 @endif expect
40574 .PHONY: maybe-distclean-expect distclean-expect
40575 maybe-distclean-expect:
40576 @if expect
40577 maybe-distclean-expect: distclean-expect
40579 distclean-expect:
40580 @: $(MAKE); $(unstage)
40581 @[ -f ./expect/Makefile ] || exit 0; \
40582 r=`${PWD_COMMAND}`; export r; \
40583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40584 $(HOST_EXPORTS) \
40585 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40587 done; \
40588 echo "Doing distclean in expect" ; \
40589 (cd $(HOST_SUBDIR)/expect && \
40590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40592 "RANLIB=$${RANLIB}" \
40593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40594 distclean) \
40595 || exit 1
40597 @endif expect
40599 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
40600 maybe-maintainer-clean-expect:
40601 @if expect
40602 maybe-maintainer-clean-expect: maintainer-clean-expect
40604 maintainer-clean-expect:
40605 @: $(MAKE); $(unstage)
40606 @[ -f ./expect/Makefile ] || exit 0; \
40607 r=`${PWD_COMMAND}`; export r; \
40608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40609 $(HOST_EXPORTS) \
40610 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40612 done; \
40613 echo "Doing maintainer-clean in expect" ; \
40614 (cd $(HOST_SUBDIR)/expect && \
40615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40617 "RANLIB=$${RANLIB}" \
40618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40619 maintainer-clean) \
40620 || exit 1
40622 @endif expect
40626 .PHONY: configure-guile maybe-configure-guile
40627 maybe-configure-guile:
40628 @if gcc-bootstrap
40629 configure-guile: stage_current
40630 @endif gcc-bootstrap
40631 @if guile
40632 maybe-configure-guile: configure-guile
40633 configure-guile:
40634 @: $(MAKE); $(unstage)
40635 @r=`${PWD_COMMAND}`; export r; \
40636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40637 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
40638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
40639 $(HOST_EXPORTS) \
40640 echo Configuring in $(HOST_SUBDIR)/guile; \
40641 cd "$(HOST_SUBDIR)/guile" || exit 1; \
40642 case $(srcdir) in \
40643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40644 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
40645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40646 esac; \
40647 srcdiroption="--srcdir=$${topdir}/guile"; \
40648 libsrcdir="$$s/guile"; \
40649 $(SHELL) $${libsrcdir}/configure \
40650 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40651 --target=${target_alias} $${srcdiroption} \
40652 || exit 1
40653 @endif guile
40659 .PHONY: all-guile maybe-all-guile
40660 maybe-all-guile:
40661 @if gcc-bootstrap
40662 all-guile: stage_current
40663 @endif gcc-bootstrap
40664 @if guile
40665 TARGET-guile=all
40666 maybe-all-guile: all-guile
40667 all-guile: configure-guile
40668 @: $(MAKE); $(unstage)
40669 @r=`${PWD_COMMAND}`; export r; \
40670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40671 $(HOST_EXPORTS) \
40672 (cd $(HOST_SUBDIR)/guile && \
40673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
40674 $(TARGET-guile))
40675 @endif guile
40680 .PHONY: check-guile maybe-check-guile
40681 maybe-check-guile:
40682 @if guile
40683 maybe-check-guile: check-guile
40685 check-guile:
40686 @: $(MAKE); $(unstage)
40687 @r=`${PWD_COMMAND}`; export r; \
40688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40689 $(HOST_EXPORTS) \
40690 (cd $(HOST_SUBDIR)/guile && \
40691 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
40693 @endif guile
40695 .PHONY: install-guile maybe-install-guile
40696 maybe-install-guile:
40697 @if guile
40698 maybe-install-guile: install-guile
40700 install-guile: installdirs
40701 @: $(MAKE); $(unstage)
40702 @r=`${PWD_COMMAND}`; export r; \
40703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40704 $(HOST_EXPORTS) \
40705 (cd $(HOST_SUBDIR)/guile && \
40706 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
40708 @endif guile
40710 # Other targets (info, dvi, pdf, etc.)
40712 .PHONY: maybe-info-guile info-guile
40713 maybe-info-guile:
40714 @if guile
40715 maybe-info-guile: info-guile
40717 info-guile: \
40718 configure-guile
40719 @: $(MAKE); $(unstage)
40720 @[ -f ./guile/Makefile ] || exit 0; \
40721 r=`${PWD_COMMAND}`; export r; \
40722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40723 $(HOST_EXPORTS) \
40724 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40726 done; \
40727 echo "Doing info in guile" ; \
40728 (cd $(HOST_SUBDIR)/guile && \
40729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40731 "RANLIB=$${RANLIB}" \
40732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40733 info) \
40734 || exit 1
40736 @endif guile
40738 .PHONY: maybe-dvi-guile dvi-guile
40739 maybe-dvi-guile:
40740 @if guile
40741 maybe-dvi-guile: dvi-guile
40743 dvi-guile: \
40744 configure-guile
40745 @: $(MAKE); $(unstage)
40746 @[ -f ./guile/Makefile ] || exit 0; \
40747 r=`${PWD_COMMAND}`; export r; \
40748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40749 $(HOST_EXPORTS) \
40750 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40752 done; \
40753 echo "Doing dvi in guile" ; \
40754 (cd $(HOST_SUBDIR)/guile && \
40755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40757 "RANLIB=$${RANLIB}" \
40758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40759 dvi) \
40760 || exit 1
40762 @endif guile
40764 .PHONY: maybe-pdf-guile pdf-guile
40765 maybe-pdf-guile:
40766 @if guile
40767 maybe-pdf-guile: pdf-guile
40769 pdf-guile: \
40770 configure-guile
40771 @: $(MAKE); $(unstage)
40772 @[ -f ./guile/Makefile ] || exit 0; \
40773 r=`${PWD_COMMAND}`; export r; \
40774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40775 $(HOST_EXPORTS) \
40776 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40778 done; \
40779 echo "Doing pdf in guile" ; \
40780 (cd $(HOST_SUBDIR)/guile && \
40781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40783 "RANLIB=$${RANLIB}" \
40784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40785 pdf) \
40786 || exit 1
40788 @endif guile
40790 .PHONY: maybe-html-guile html-guile
40791 maybe-html-guile:
40792 @if guile
40793 maybe-html-guile: html-guile
40795 html-guile: \
40796 configure-guile
40797 @: $(MAKE); $(unstage)
40798 @[ -f ./guile/Makefile ] || exit 0; \
40799 r=`${PWD_COMMAND}`; export r; \
40800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40801 $(HOST_EXPORTS) \
40802 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40804 done; \
40805 echo "Doing html in guile" ; \
40806 (cd $(HOST_SUBDIR)/guile && \
40807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40809 "RANLIB=$${RANLIB}" \
40810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40811 html) \
40812 || exit 1
40814 @endif guile
40816 .PHONY: maybe-TAGS-guile TAGS-guile
40817 maybe-TAGS-guile:
40818 @if guile
40819 maybe-TAGS-guile: TAGS-guile
40821 TAGS-guile: \
40822 configure-guile
40823 @: $(MAKE); $(unstage)
40824 @[ -f ./guile/Makefile ] || exit 0; \
40825 r=`${PWD_COMMAND}`; export r; \
40826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40827 $(HOST_EXPORTS) \
40828 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40830 done; \
40831 echo "Doing TAGS in guile" ; \
40832 (cd $(HOST_SUBDIR)/guile && \
40833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40835 "RANLIB=$${RANLIB}" \
40836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40837 TAGS) \
40838 || exit 1
40840 @endif guile
40842 .PHONY: maybe-install-info-guile install-info-guile
40843 maybe-install-info-guile:
40844 @if guile
40845 maybe-install-info-guile: install-info-guile
40847 install-info-guile: \
40848 configure-guile \
40849 info-guile
40850 @: $(MAKE); $(unstage)
40851 @[ -f ./guile/Makefile ] || exit 0; \
40852 r=`${PWD_COMMAND}`; export r; \
40853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40854 $(HOST_EXPORTS) \
40855 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40857 done; \
40858 echo "Doing install-info in guile" ; \
40859 (cd $(HOST_SUBDIR)/guile && \
40860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40862 "RANLIB=$${RANLIB}" \
40863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40864 install-info) \
40865 || exit 1
40867 @endif guile
40869 .PHONY: maybe-install-pdf-guile install-pdf-guile
40870 maybe-install-pdf-guile:
40871 @if guile
40872 maybe-install-pdf-guile: install-pdf-guile
40874 install-pdf-guile: \
40875 configure-guile \
40876 pdf-guile
40877 @: $(MAKE); $(unstage)
40878 @[ -f ./guile/Makefile ] || exit 0; \
40879 r=`${PWD_COMMAND}`; export r; \
40880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40881 $(HOST_EXPORTS) \
40882 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40884 done; \
40885 echo "Doing install-pdf in guile" ; \
40886 (cd $(HOST_SUBDIR)/guile && \
40887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40889 "RANLIB=$${RANLIB}" \
40890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40891 install-pdf) \
40892 || exit 1
40894 @endif guile
40896 .PHONY: maybe-install-html-guile install-html-guile
40897 maybe-install-html-guile:
40898 @if guile
40899 maybe-install-html-guile: install-html-guile
40901 install-html-guile: \
40902 configure-guile \
40903 html-guile
40904 @: $(MAKE); $(unstage)
40905 @[ -f ./guile/Makefile ] || exit 0; \
40906 r=`${PWD_COMMAND}`; export r; \
40907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40908 $(HOST_EXPORTS) \
40909 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40911 done; \
40912 echo "Doing install-html in guile" ; \
40913 (cd $(HOST_SUBDIR)/guile && \
40914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40916 "RANLIB=$${RANLIB}" \
40917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40918 install-html) \
40919 || exit 1
40921 @endif guile
40923 .PHONY: maybe-installcheck-guile installcheck-guile
40924 maybe-installcheck-guile:
40925 @if guile
40926 maybe-installcheck-guile: installcheck-guile
40928 installcheck-guile: \
40929 configure-guile
40930 @: $(MAKE); $(unstage)
40931 @[ -f ./guile/Makefile ] || exit 0; \
40932 r=`${PWD_COMMAND}`; export r; \
40933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40934 $(HOST_EXPORTS) \
40935 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40937 done; \
40938 echo "Doing installcheck in guile" ; \
40939 (cd $(HOST_SUBDIR)/guile && \
40940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40942 "RANLIB=$${RANLIB}" \
40943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40944 installcheck) \
40945 || exit 1
40947 @endif guile
40949 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
40950 maybe-mostlyclean-guile:
40951 @if guile
40952 maybe-mostlyclean-guile: mostlyclean-guile
40954 mostlyclean-guile:
40955 @: $(MAKE); $(unstage)
40956 @[ -f ./guile/Makefile ] || exit 0; \
40957 r=`${PWD_COMMAND}`; export r; \
40958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40959 $(HOST_EXPORTS) \
40960 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40962 done; \
40963 echo "Doing mostlyclean in guile" ; \
40964 (cd $(HOST_SUBDIR)/guile && \
40965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40967 "RANLIB=$${RANLIB}" \
40968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40969 mostlyclean) \
40970 || exit 1
40972 @endif guile
40974 .PHONY: maybe-clean-guile clean-guile
40975 maybe-clean-guile:
40976 @if guile
40977 maybe-clean-guile: clean-guile
40979 clean-guile:
40980 @: $(MAKE); $(unstage)
40981 @[ -f ./guile/Makefile ] || exit 0; \
40982 r=`${PWD_COMMAND}`; export r; \
40983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40984 $(HOST_EXPORTS) \
40985 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
40986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40987 done; \
40988 echo "Doing clean in guile" ; \
40989 (cd $(HOST_SUBDIR)/guile && \
40990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40992 "RANLIB=$${RANLIB}" \
40993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40994 clean) \
40995 || exit 1
40997 @endif guile
40999 .PHONY: maybe-distclean-guile distclean-guile
41000 maybe-distclean-guile:
41001 @if guile
41002 maybe-distclean-guile: distclean-guile
41004 distclean-guile:
41005 @: $(MAKE); $(unstage)
41006 @[ -f ./guile/Makefile ] || exit 0; \
41007 r=`${PWD_COMMAND}`; export r; \
41008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41009 $(HOST_EXPORTS) \
41010 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41012 done; \
41013 echo "Doing distclean in guile" ; \
41014 (cd $(HOST_SUBDIR)/guile && \
41015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41017 "RANLIB=$${RANLIB}" \
41018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41019 distclean) \
41020 || exit 1
41022 @endif guile
41024 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
41025 maybe-maintainer-clean-guile:
41026 @if guile
41027 maybe-maintainer-clean-guile: maintainer-clean-guile
41029 maintainer-clean-guile:
41030 @: $(MAKE); $(unstage)
41031 @[ -f ./guile/Makefile ] || exit 0; \
41032 r=`${PWD_COMMAND}`; export r; \
41033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41034 $(HOST_EXPORTS) \
41035 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41037 done; \
41038 echo "Doing maintainer-clean in guile" ; \
41039 (cd $(HOST_SUBDIR)/guile && \
41040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41042 "RANLIB=$${RANLIB}" \
41043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41044 maintainer-clean) \
41045 || exit 1
41047 @endif guile
41051 .PHONY: configure-tk maybe-configure-tk
41052 maybe-configure-tk:
41053 @if gcc-bootstrap
41054 configure-tk: stage_current
41055 @endif gcc-bootstrap
41056 @if tk
41057 maybe-configure-tk: configure-tk
41058 configure-tk:
41059 @: $(MAKE); $(unstage)
41060 @r=`${PWD_COMMAND}`; export r; \
41061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41062 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
41063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
41064 $(HOST_EXPORTS) \
41065 echo Configuring in $(HOST_SUBDIR)/tk; \
41066 cd "$(HOST_SUBDIR)/tk" || exit 1; \
41067 case $(srcdir) in \
41068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41069 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
41070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41071 esac; \
41072 srcdiroption="--srcdir=$${topdir}/tk"; \
41073 libsrcdir="$$s/tk"; \
41074 $(SHELL) $${libsrcdir}/configure \
41075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41076 --target=${target_alias} $${srcdiroption} \
41077 || exit 1
41078 @endif tk
41084 .PHONY: all-tk maybe-all-tk
41085 maybe-all-tk:
41086 @if gcc-bootstrap
41087 all-tk: stage_current
41088 @endif gcc-bootstrap
41089 @if tk
41090 TARGET-tk=all
41091 maybe-all-tk: all-tk
41092 all-tk: configure-tk
41093 @: $(MAKE); $(unstage)
41094 @r=`${PWD_COMMAND}`; export r; \
41095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41096 $(HOST_EXPORTS) \
41097 (cd $(HOST_SUBDIR)/tk && \
41098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
41099 $(TARGET-tk))
41100 @endif tk
41105 .PHONY: check-tk maybe-check-tk
41106 maybe-check-tk:
41107 @if tk
41108 maybe-check-tk: check-tk
41110 check-tk:
41111 @: $(MAKE); $(unstage)
41112 @r=`${PWD_COMMAND}`; export r; \
41113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41114 $(HOST_EXPORTS) \
41115 (cd $(HOST_SUBDIR)/tk && \
41116 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
41118 @endif tk
41120 .PHONY: install-tk maybe-install-tk
41121 maybe-install-tk:
41122 @if tk
41123 maybe-install-tk: install-tk
41125 install-tk: installdirs
41126 @: $(MAKE); $(unstage)
41127 @r=`${PWD_COMMAND}`; export r; \
41128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41129 $(HOST_EXPORTS) \
41130 (cd $(HOST_SUBDIR)/tk && \
41131 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
41133 @endif tk
41135 # Other targets (info, dvi, pdf, etc.)
41137 .PHONY: maybe-info-tk info-tk
41138 maybe-info-tk:
41139 @if tk
41140 maybe-info-tk: info-tk
41142 info-tk: \
41143 configure-tk
41144 @: $(MAKE); $(unstage)
41145 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
41150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41151 done; \
41152 echo "Doing info in tk" ; \
41153 (cd $(HOST_SUBDIR)/tk && \
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 info) \
41159 || exit 1
41161 @endif tk
41163 .PHONY: maybe-dvi-tk dvi-tk
41164 maybe-dvi-tk:
41165 @if tk
41166 maybe-dvi-tk: dvi-tk
41168 dvi-tk: \
41169 configure-tk
41170 @: $(MAKE); $(unstage)
41171 @[ -f ./tk/Makefile ] || exit 0; \
41172 r=`${PWD_COMMAND}`; export r; \
41173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41174 $(HOST_EXPORTS) \
41175 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41177 done; \
41178 echo "Doing dvi in tk" ; \
41179 (cd $(HOST_SUBDIR)/tk && \
41180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41182 "RANLIB=$${RANLIB}" \
41183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41184 dvi) \
41185 || exit 1
41187 @endif tk
41189 .PHONY: maybe-pdf-tk pdf-tk
41190 maybe-pdf-tk:
41191 @if tk
41192 maybe-pdf-tk: pdf-tk
41194 pdf-tk: \
41195 configure-tk
41196 @: $(MAKE); $(unstage)
41197 @[ -f ./tk/Makefile ] || exit 0; \
41198 r=`${PWD_COMMAND}`; export r; \
41199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41200 $(HOST_EXPORTS) \
41201 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41203 done; \
41204 echo "Doing pdf in tk" ; \
41205 (cd $(HOST_SUBDIR)/tk && \
41206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41208 "RANLIB=$${RANLIB}" \
41209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41210 pdf) \
41211 || exit 1
41213 @endif tk
41215 .PHONY: maybe-html-tk html-tk
41216 maybe-html-tk:
41217 @if tk
41218 maybe-html-tk: html-tk
41220 html-tk: \
41221 configure-tk
41222 @: $(MAKE); $(unstage)
41223 @[ -f ./tk/Makefile ] || exit 0; \
41224 r=`${PWD_COMMAND}`; export r; \
41225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41226 $(HOST_EXPORTS) \
41227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41229 done; \
41230 echo "Doing html in tk" ; \
41231 (cd $(HOST_SUBDIR)/tk && \
41232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41234 "RANLIB=$${RANLIB}" \
41235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41236 html) \
41237 || exit 1
41239 @endif tk
41241 .PHONY: maybe-TAGS-tk TAGS-tk
41242 maybe-TAGS-tk:
41243 @if tk
41244 maybe-TAGS-tk: TAGS-tk
41246 TAGS-tk: \
41247 configure-tk
41248 @: $(MAKE); $(unstage)
41249 @[ -f ./tk/Makefile ] || exit 0; \
41250 r=`${PWD_COMMAND}`; export r; \
41251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41252 $(HOST_EXPORTS) \
41253 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41255 done; \
41256 echo "Doing TAGS in tk" ; \
41257 (cd $(HOST_SUBDIR)/tk && \
41258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41260 "RANLIB=$${RANLIB}" \
41261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41262 TAGS) \
41263 || exit 1
41265 @endif tk
41267 .PHONY: maybe-install-info-tk install-info-tk
41268 maybe-install-info-tk:
41269 @if tk
41270 maybe-install-info-tk: install-info-tk
41272 install-info-tk: \
41273 configure-tk \
41274 info-tk
41275 @: $(MAKE); $(unstage)
41276 @[ -f ./tk/Makefile ] || exit 0; \
41277 r=`${PWD_COMMAND}`; export r; \
41278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41279 $(HOST_EXPORTS) \
41280 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41282 done; \
41283 echo "Doing install-info in tk" ; \
41284 (cd $(HOST_SUBDIR)/tk && \
41285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41287 "RANLIB=$${RANLIB}" \
41288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41289 install-info) \
41290 || exit 1
41292 @endif tk
41294 .PHONY: maybe-install-pdf-tk install-pdf-tk
41295 maybe-install-pdf-tk:
41296 @if tk
41297 maybe-install-pdf-tk: install-pdf-tk
41299 install-pdf-tk: \
41300 configure-tk \
41301 pdf-tk
41302 @: $(MAKE); $(unstage)
41303 @[ -f ./tk/Makefile ] || exit 0; \
41304 r=`${PWD_COMMAND}`; export r; \
41305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41306 $(HOST_EXPORTS) \
41307 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41309 done; \
41310 echo "Doing install-pdf in tk" ; \
41311 (cd $(HOST_SUBDIR)/tk && \
41312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41314 "RANLIB=$${RANLIB}" \
41315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41316 install-pdf) \
41317 || exit 1
41319 @endif tk
41321 .PHONY: maybe-install-html-tk install-html-tk
41322 maybe-install-html-tk:
41323 @if tk
41324 maybe-install-html-tk: install-html-tk
41326 install-html-tk: \
41327 configure-tk \
41328 html-tk
41329 @: $(MAKE); $(unstage)
41330 @[ -f ./tk/Makefile ] || exit 0; \
41331 r=`${PWD_COMMAND}`; export r; \
41332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41333 $(HOST_EXPORTS) \
41334 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41336 done; \
41337 echo "Doing install-html in tk" ; \
41338 (cd $(HOST_SUBDIR)/tk && \
41339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41341 "RANLIB=$${RANLIB}" \
41342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41343 install-html) \
41344 || exit 1
41346 @endif tk
41348 .PHONY: maybe-installcheck-tk installcheck-tk
41349 maybe-installcheck-tk:
41350 @if tk
41351 maybe-installcheck-tk: installcheck-tk
41353 installcheck-tk: \
41354 configure-tk
41355 @: $(MAKE); $(unstage)
41356 @[ -f ./tk/Makefile ] || exit 0; \
41357 r=`${PWD_COMMAND}`; export r; \
41358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41359 $(HOST_EXPORTS) \
41360 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41362 done; \
41363 echo "Doing installcheck in tk" ; \
41364 (cd $(HOST_SUBDIR)/tk && \
41365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41367 "RANLIB=$${RANLIB}" \
41368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41369 installcheck) \
41370 || exit 1
41372 @endif tk
41374 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
41375 maybe-mostlyclean-tk:
41376 @if tk
41377 maybe-mostlyclean-tk: mostlyclean-tk
41379 mostlyclean-tk:
41380 @: $(MAKE); $(unstage)
41381 @[ -f ./tk/Makefile ] || exit 0; \
41382 r=`${PWD_COMMAND}`; export r; \
41383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41384 $(HOST_EXPORTS) \
41385 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41387 done; \
41388 echo "Doing mostlyclean in tk" ; \
41389 (cd $(HOST_SUBDIR)/tk && \
41390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41392 "RANLIB=$${RANLIB}" \
41393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41394 mostlyclean) \
41395 || exit 1
41397 @endif tk
41399 .PHONY: maybe-clean-tk clean-tk
41400 maybe-clean-tk:
41401 @if tk
41402 maybe-clean-tk: clean-tk
41404 clean-tk:
41405 @: $(MAKE); $(unstage)
41406 @[ -f ./tk/Makefile ] || exit 0; \
41407 r=`${PWD_COMMAND}`; export r; \
41408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41409 $(HOST_EXPORTS) \
41410 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41412 done; \
41413 echo "Doing clean in tk" ; \
41414 (cd $(HOST_SUBDIR)/tk && \
41415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41417 "RANLIB=$${RANLIB}" \
41418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41419 clean) \
41420 || exit 1
41422 @endif tk
41424 .PHONY: maybe-distclean-tk distclean-tk
41425 maybe-distclean-tk:
41426 @if tk
41427 maybe-distclean-tk: distclean-tk
41429 distclean-tk:
41430 @: $(MAKE); $(unstage)
41431 @[ -f ./tk/Makefile ] || exit 0; \
41432 r=`${PWD_COMMAND}`; export r; \
41433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41434 $(HOST_EXPORTS) \
41435 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41437 done; \
41438 echo "Doing distclean in tk" ; \
41439 (cd $(HOST_SUBDIR)/tk && \
41440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41442 "RANLIB=$${RANLIB}" \
41443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41444 distclean) \
41445 || exit 1
41447 @endif tk
41449 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
41450 maybe-maintainer-clean-tk:
41451 @if tk
41452 maybe-maintainer-clean-tk: maintainer-clean-tk
41454 maintainer-clean-tk:
41455 @: $(MAKE); $(unstage)
41456 @[ -f ./tk/Makefile ] || exit 0; \
41457 r=`${PWD_COMMAND}`; export r; \
41458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41459 $(HOST_EXPORTS) \
41460 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41462 done; \
41463 echo "Doing maintainer-clean in tk" ; \
41464 (cd $(HOST_SUBDIR)/tk && \
41465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41467 "RANLIB=$${RANLIB}" \
41468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41469 maintainer-clean) \
41470 || exit 1
41472 @endif tk
41476 .PHONY: configure-libtermcap maybe-configure-libtermcap
41477 maybe-configure-libtermcap:
41478 @if gcc-bootstrap
41479 configure-libtermcap: stage_current
41480 @endif gcc-bootstrap
41481 @if libtermcap
41482 maybe-configure-libtermcap: configure-libtermcap
41483 configure-libtermcap:
41484 @: $(MAKE); $(unstage)
41485 @r=`${PWD_COMMAND}`; export r; \
41486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41487 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
41488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
41489 $(HOST_EXPORTS) \
41490 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
41491 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
41492 case $(srcdir) in \
41493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41494 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
41495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41496 esac; \
41497 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
41498 libsrcdir="$$s/libtermcap"; \
41499 $(SHELL) $${libsrcdir}/configure \
41500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41501 --target=${target_alias} $${srcdiroption} \
41502 || exit 1
41503 @endif libtermcap
41509 .PHONY: all-libtermcap maybe-all-libtermcap
41510 maybe-all-libtermcap:
41511 @if gcc-bootstrap
41512 all-libtermcap: stage_current
41513 @endif gcc-bootstrap
41514 @if libtermcap
41515 TARGET-libtermcap=all
41516 maybe-all-libtermcap: all-libtermcap
41517 all-libtermcap: configure-libtermcap
41518 @: $(MAKE); $(unstage)
41519 @r=`${PWD_COMMAND}`; export r; \
41520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41521 $(HOST_EXPORTS) \
41522 (cd $(HOST_SUBDIR)/libtermcap && \
41523 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
41524 $(TARGET-libtermcap))
41525 @endif libtermcap
41530 .PHONY: check-libtermcap maybe-check-libtermcap
41531 maybe-check-libtermcap:
41532 @if libtermcap
41533 maybe-check-libtermcap: check-libtermcap
41535 check-libtermcap:
41537 @endif libtermcap
41539 .PHONY: install-libtermcap maybe-install-libtermcap
41540 maybe-install-libtermcap:
41541 @if libtermcap
41542 maybe-install-libtermcap: install-libtermcap
41544 install-libtermcap: installdirs
41545 @: $(MAKE); $(unstage)
41546 @r=`${PWD_COMMAND}`; export r; \
41547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41548 $(HOST_EXPORTS) \
41549 (cd $(HOST_SUBDIR)/libtermcap && \
41550 $(MAKE) $(FLAGS_TO_PASS) install)
41552 @endif libtermcap
41554 # Other targets (info, dvi, pdf, etc.)
41556 .PHONY: maybe-info-libtermcap info-libtermcap
41557 maybe-info-libtermcap:
41558 @if libtermcap
41559 maybe-info-libtermcap: info-libtermcap
41561 info-libtermcap: \
41562 configure-libtermcap
41563 @: $(MAKE); $(unstage)
41564 @[ -f ./libtermcap/Makefile ] || exit 0; \
41565 r=`${PWD_COMMAND}`; export r; \
41566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41567 $(HOST_EXPORTS) \
41568 for flag in $(EXTRA_HOST_FLAGS) ; do \
41569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41570 done; \
41571 echo "Doing info in libtermcap" ; \
41572 (cd $(HOST_SUBDIR)/libtermcap && \
41573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41575 "RANLIB=$${RANLIB}" \
41576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41577 info) \
41578 || exit 1
41580 @endif libtermcap
41582 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
41583 maybe-dvi-libtermcap:
41584 @if libtermcap
41585 maybe-dvi-libtermcap: dvi-libtermcap
41587 dvi-libtermcap: \
41588 configure-libtermcap
41589 @: $(MAKE); $(unstage)
41590 @[ -f ./libtermcap/Makefile ] || exit 0; \
41591 r=`${PWD_COMMAND}`; export r; \
41592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41593 $(HOST_EXPORTS) \
41594 for flag in $(EXTRA_HOST_FLAGS) ; do \
41595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41596 done; \
41597 echo "Doing dvi in libtermcap" ; \
41598 (cd $(HOST_SUBDIR)/libtermcap && \
41599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41601 "RANLIB=$${RANLIB}" \
41602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41603 dvi) \
41604 || exit 1
41606 @endif libtermcap
41608 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
41609 maybe-pdf-libtermcap:
41610 @if libtermcap
41611 maybe-pdf-libtermcap: pdf-libtermcap
41613 pdf-libtermcap: \
41614 configure-libtermcap
41615 @: $(MAKE); $(unstage)
41616 @[ -f ./libtermcap/Makefile ] || exit 0; \
41617 r=`${PWD_COMMAND}`; export r; \
41618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41619 $(HOST_EXPORTS) \
41620 for flag in $(EXTRA_HOST_FLAGS) ; do \
41621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41622 done; \
41623 echo "Doing pdf in libtermcap" ; \
41624 (cd $(HOST_SUBDIR)/libtermcap && \
41625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41627 "RANLIB=$${RANLIB}" \
41628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41629 pdf) \
41630 || exit 1
41632 @endif libtermcap
41634 .PHONY: maybe-html-libtermcap html-libtermcap
41635 maybe-html-libtermcap:
41636 @if libtermcap
41637 maybe-html-libtermcap: html-libtermcap
41639 html-libtermcap: \
41640 configure-libtermcap
41641 @: $(MAKE); $(unstage)
41642 @[ -f ./libtermcap/Makefile ] || exit 0; \
41643 r=`${PWD_COMMAND}`; export r; \
41644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41645 $(HOST_EXPORTS) \
41646 for flag in $(EXTRA_HOST_FLAGS) ; do \
41647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41648 done; \
41649 echo "Doing html in libtermcap" ; \
41650 (cd $(HOST_SUBDIR)/libtermcap && \
41651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41653 "RANLIB=$${RANLIB}" \
41654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41655 html) \
41656 || exit 1
41658 @endif libtermcap
41660 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
41661 maybe-TAGS-libtermcap:
41662 @if libtermcap
41663 maybe-TAGS-libtermcap: TAGS-libtermcap
41665 TAGS-libtermcap: \
41666 configure-libtermcap
41667 @: $(MAKE); $(unstage)
41668 @[ -f ./libtermcap/Makefile ] || exit 0; \
41669 r=`${PWD_COMMAND}`; export r; \
41670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41671 $(HOST_EXPORTS) \
41672 for flag in $(EXTRA_HOST_FLAGS) ; do \
41673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41674 done; \
41675 echo "Doing TAGS in libtermcap" ; \
41676 (cd $(HOST_SUBDIR)/libtermcap && \
41677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41679 "RANLIB=$${RANLIB}" \
41680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41681 TAGS) \
41682 || exit 1
41684 @endif libtermcap
41686 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
41687 maybe-install-info-libtermcap:
41688 @if libtermcap
41689 maybe-install-info-libtermcap: install-info-libtermcap
41691 install-info-libtermcap: \
41692 configure-libtermcap \
41693 info-libtermcap
41694 @: $(MAKE); $(unstage)
41695 @[ -f ./libtermcap/Makefile ] || exit 0; \
41696 r=`${PWD_COMMAND}`; export r; \
41697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41698 $(HOST_EXPORTS) \
41699 for flag in $(EXTRA_HOST_FLAGS) ; do \
41700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41701 done; \
41702 echo "Doing install-info in libtermcap" ; \
41703 (cd $(HOST_SUBDIR)/libtermcap && \
41704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41706 "RANLIB=$${RANLIB}" \
41707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41708 install-info) \
41709 || exit 1
41711 @endif libtermcap
41713 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
41714 maybe-install-pdf-libtermcap:
41715 @if libtermcap
41716 maybe-install-pdf-libtermcap: install-pdf-libtermcap
41718 install-pdf-libtermcap: \
41719 configure-libtermcap \
41720 pdf-libtermcap
41721 @: $(MAKE); $(unstage)
41722 @[ -f ./libtermcap/Makefile ] || exit 0; \
41723 r=`${PWD_COMMAND}`; export r; \
41724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41725 $(HOST_EXPORTS) \
41726 for flag in $(EXTRA_HOST_FLAGS) ; do \
41727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41728 done; \
41729 echo "Doing install-pdf in libtermcap" ; \
41730 (cd $(HOST_SUBDIR)/libtermcap && \
41731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41733 "RANLIB=$${RANLIB}" \
41734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41735 install-pdf) \
41736 || exit 1
41738 @endif libtermcap
41740 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
41741 maybe-install-html-libtermcap:
41742 @if libtermcap
41743 maybe-install-html-libtermcap: install-html-libtermcap
41745 install-html-libtermcap: \
41746 configure-libtermcap \
41747 html-libtermcap
41748 @: $(MAKE); $(unstage)
41749 @[ -f ./libtermcap/Makefile ] || exit 0; \
41750 r=`${PWD_COMMAND}`; export r; \
41751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41752 $(HOST_EXPORTS) \
41753 for flag in $(EXTRA_HOST_FLAGS) ; do \
41754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41755 done; \
41756 echo "Doing install-html in libtermcap" ; \
41757 (cd $(HOST_SUBDIR)/libtermcap && \
41758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41760 "RANLIB=$${RANLIB}" \
41761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41762 install-html) \
41763 || exit 1
41765 @endif libtermcap
41767 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
41768 maybe-installcheck-libtermcap:
41769 @if libtermcap
41770 maybe-installcheck-libtermcap: installcheck-libtermcap
41772 installcheck-libtermcap: \
41773 configure-libtermcap
41774 @: $(MAKE); $(unstage)
41775 @[ -f ./libtermcap/Makefile ] || exit 0; \
41776 r=`${PWD_COMMAND}`; export r; \
41777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41778 $(HOST_EXPORTS) \
41779 for flag in $(EXTRA_HOST_FLAGS) ; do \
41780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41781 done; \
41782 echo "Doing installcheck in libtermcap" ; \
41783 (cd $(HOST_SUBDIR)/libtermcap && \
41784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41786 "RANLIB=$${RANLIB}" \
41787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41788 installcheck) \
41789 || exit 1
41791 @endif libtermcap
41793 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
41794 maybe-mostlyclean-libtermcap:
41795 @if libtermcap
41796 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
41798 # libtermcap doesn't support mostlyclean.
41799 mostlyclean-libtermcap:
41801 @endif libtermcap
41803 .PHONY: maybe-clean-libtermcap clean-libtermcap
41804 maybe-clean-libtermcap:
41805 @if libtermcap
41806 maybe-clean-libtermcap: clean-libtermcap
41808 # libtermcap doesn't support clean.
41809 clean-libtermcap:
41811 @endif libtermcap
41813 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
41814 maybe-distclean-libtermcap:
41815 @if libtermcap
41816 maybe-distclean-libtermcap: distclean-libtermcap
41818 # libtermcap doesn't support distclean.
41819 distclean-libtermcap:
41821 @endif libtermcap
41823 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
41824 maybe-maintainer-clean-libtermcap:
41825 @if libtermcap
41826 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
41828 # libtermcap doesn't support maintainer-clean.
41829 maintainer-clean-libtermcap:
41831 @endif libtermcap
41835 .PHONY: configure-utils maybe-configure-utils
41836 maybe-configure-utils:
41837 @if gcc-bootstrap
41838 configure-utils: stage_current
41839 @endif gcc-bootstrap
41840 @if utils
41841 maybe-configure-utils: configure-utils
41842 configure-utils:
41843 @: $(MAKE); $(unstage)
41844 @r=`${PWD_COMMAND}`; export r; \
41845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41846 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
41847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
41848 $(HOST_EXPORTS) \
41849 echo Configuring in $(HOST_SUBDIR)/utils; \
41850 cd "$(HOST_SUBDIR)/utils" || exit 1; \
41851 case $(srcdir) in \
41852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41853 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
41854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41855 esac; \
41856 srcdiroption="--srcdir=$${topdir}/utils"; \
41857 libsrcdir="$$s/utils"; \
41858 $(SHELL) $${libsrcdir}/configure \
41859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41860 --target=${target_alias} $${srcdiroption} \
41861 || exit 1
41862 @endif utils
41868 .PHONY: all-utils maybe-all-utils
41869 maybe-all-utils:
41870 @if gcc-bootstrap
41871 all-utils: stage_current
41872 @endif gcc-bootstrap
41873 @if utils
41874 TARGET-utils=all
41875 maybe-all-utils: all-utils
41876 all-utils: configure-utils
41877 @: $(MAKE); $(unstage)
41878 @r=`${PWD_COMMAND}`; export r; \
41879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41880 $(HOST_EXPORTS) \
41881 (cd $(HOST_SUBDIR)/utils && \
41882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
41883 $(TARGET-utils))
41884 @endif utils
41889 .PHONY: check-utils maybe-check-utils
41890 maybe-check-utils:
41891 @if utils
41892 maybe-check-utils: check-utils
41894 check-utils:
41896 @endif utils
41898 .PHONY: install-utils maybe-install-utils
41899 maybe-install-utils:
41900 @if utils
41901 maybe-install-utils: install-utils
41903 install-utils: installdirs
41904 @: $(MAKE); $(unstage)
41905 @r=`${PWD_COMMAND}`; export r; \
41906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41907 $(HOST_EXPORTS) \
41908 (cd $(HOST_SUBDIR)/utils && \
41909 $(MAKE) $(FLAGS_TO_PASS) install)
41911 @endif utils
41913 # Other targets (info, dvi, pdf, etc.)
41915 .PHONY: maybe-info-utils info-utils
41916 maybe-info-utils:
41917 @if utils
41918 maybe-info-utils: info-utils
41920 info-utils: \
41921 configure-utils
41922 @: $(MAKE); $(unstage)
41923 @[ -f ./utils/Makefile ] || exit 0; \
41924 r=`${PWD_COMMAND}`; export r; \
41925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41926 $(HOST_EXPORTS) \
41927 for flag in $(EXTRA_HOST_FLAGS) ; do \
41928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41929 done; \
41930 echo "Doing info in utils" ; \
41931 (cd $(HOST_SUBDIR)/utils && \
41932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41934 "RANLIB=$${RANLIB}" \
41935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41936 info) \
41937 || exit 1
41939 @endif utils
41941 .PHONY: maybe-dvi-utils dvi-utils
41942 maybe-dvi-utils:
41943 @if utils
41944 maybe-dvi-utils: dvi-utils
41946 dvi-utils: \
41947 configure-utils
41948 @: $(MAKE); $(unstage)
41949 @[ -f ./utils/Makefile ] || exit 0; \
41950 r=`${PWD_COMMAND}`; export r; \
41951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41952 $(HOST_EXPORTS) \
41953 for flag in $(EXTRA_HOST_FLAGS) ; do \
41954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41955 done; \
41956 echo "Doing dvi in utils" ; \
41957 (cd $(HOST_SUBDIR)/utils && \
41958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41960 "RANLIB=$${RANLIB}" \
41961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41962 dvi) \
41963 || exit 1
41965 @endif utils
41967 .PHONY: maybe-pdf-utils pdf-utils
41968 maybe-pdf-utils:
41969 @if utils
41970 maybe-pdf-utils: pdf-utils
41972 pdf-utils: \
41973 configure-utils
41974 @: $(MAKE); $(unstage)
41975 @[ -f ./utils/Makefile ] || exit 0; \
41976 r=`${PWD_COMMAND}`; export r; \
41977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41978 $(HOST_EXPORTS) \
41979 for flag in $(EXTRA_HOST_FLAGS) ; do \
41980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41981 done; \
41982 echo "Doing pdf in utils" ; \
41983 (cd $(HOST_SUBDIR)/utils && \
41984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41986 "RANLIB=$${RANLIB}" \
41987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41988 pdf) \
41989 || exit 1
41991 @endif utils
41993 .PHONY: maybe-html-utils html-utils
41994 maybe-html-utils:
41995 @if utils
41996 maybe-html-utils: html-utils
41998 html-utils: \
41999 configure-utils
42000 @: $(MAKE); $(unstage)
42001 @[ -f ./utils/Makefile ] || exit 0; \
42002 r=`${PWD_COMMAND}`; export r; \
42003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42004 $(HOST_EXPORTS) \
42005 for flag in $(EXTRA_HOST_FLAGS) ; do \
42006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42007 done; \
42008 echo "Doing html in utils" ; \
42009 (cd $(HOST_SUBDIR)/utils && \
42010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42012 "RANLIB=$${RANLIB}" \
42013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42014 html) \
42015 || exit 1
42017 @endif utils
42019 .PHONY: maybe-TAGS-utils TAGS-utils
42020 maybe-TAGS-utils:
42021 @if utils
42022 maybe-TAGS-utils: TAGS-utils
42024 TAGS-utils: \
42025 configure-utils
42026 @: $(MAKE); $(unstage)
42027 @[ -f ./utils/Makefile ] || exit 0; \
42028 r=`${PWD_COMMAND}`; export r; \
42029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42030 $(HOST_EXPORTS) \
42031 for flag in $(EXTRA_HOST_FLAGS) ; do \
42032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42033 done; \
42034 echo "Doing TAGS in utils" ; \
42035 (cd $(HOST_SUBDIR)/utils && \
42036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42038 "RANLIB=$${RANLIB}" \
42039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42040 TAGS) \
42041 || exit 1
42043 @endif utils
42045 .PHONY: maybe-install-info-utils install-info-utils
42046 maybe-install-info-utils:
42047 @if utils
42048 maybe-install-info-utils: install-info-utils
42050 install-info-utils: \
42051 configure-utils \
42052 info-utils
42053 @: $(MAKE); $(unstage)
42054 @[ -f ./utils/Makefile ] || exit 0; \
42055 r=`${PWD_COMMAND}`; export r; \
42056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42057 $(HOST_EXPORTS) \
42058 for flag in $(EXTRA_HOST_FLAGS) ; do \
42059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42060 done; \
42061 echo "Doing install-info in utils" ; \
42062 (cd $(HOST_SUBDIR)/utils && \
42063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42065 "RANLIB=$${RANLIB}" \
42066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42067 install-info) \
42068 || exit 1
42070 @endif utils
42072 .PHONY: maybe-install-pdf-utils install-pdf-utils
42073 maybe-install-pdf-utils:
42074 @if utils
42075 maybe-install-pdf-utils: install-pdf-utils
42077 install-pdf-utils: \
42078 configure-utils \
42079 pdf-utils
42080 @: $(MAKE); $(unstage)
42081 @[ -f ./utils/Makefile ] || exit 0; \
42082 r=`${PWD_COMMAND}`; export r; \
42083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42084 $(HOST_EXPORTS) \
42085 for flag in $(EXTRA_HOST_FLAGS) ; do \
42086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42087 done; \
42088 echo "Doing install-pdf in utils" ; \
42089 (cd $(HOST_SUBDIR)/utils && \
42090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42092 "RANLIB=$${RANLIB}" \
42093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42094 install-pdf) \
42095 || exit 1
42097 @endif utils
42099 .PHONY: maybe-install-html-utils install-html-utils
42100 maybe-install-html-utils:
42101 @if utils
42102 maybe-install-html-utils: install-html-utils
42104 install-html-utils: \
42105 configure-utils \
42106 html-utils
42107 @: $(MAKE); $(unstage)
42108 @[ -f ./utils/Makefile ] || exit 0; \
42109 r=`${PWD_COMMAND}`; export r; \
42110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42111 $(HOST_EXPORTS) \
42112 for flag in $(EXTRA_HOST_FLAGS) ; do \
42113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42114 done; \
42115 echo "Doing install-html in utils" ; \
42116 (cd $(HOST_SUBDIR)/utils && \
42117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42119 "RANLIB=$${RANLIB}" \
42120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42121 install-html) \
42122 || exit 1
42124 @endif utils
42126 .PHONY: maybe-installcheck-utils installcheck-utils
42127 maybe-installcheck-utils:
42128 @if utils
42129 maybe-installcheck-utils: installcheck-utils
42131 installcheck-utils: \
42132 configure-utils
42133 @: $(MAKE); $(unstage)
42134 @[ -f ./utils/Makefile ] || exit 0; \
42135 r=`${PWD_COMMAND}`; export r; \
42136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42137 $(HOST_EXPORTS) \
42138 for flag in $(EXTRA_HOST_FLAGS) ; do \
42139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42140 done; \
42141 echo "Doing installcheck in utils" ; \
42142 (cd $(HOST_SUBDIR)/utils && \
42143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42145 "RANLIB=$${RANLIB}" \
42146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42147 installcheck) \
42148 || exit 1
42150 @endif utils
42152 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
42153 maybe-mostlyclean-utils:
42154 @if utils
42155 maybe-mostlyclean-utils: mostlyclean-utils
42157 mostlyclean-utils:
42158 @: $(MAKE); $(unstage)
42159 @[ -f ./utils/Makefile ] || exit 0; \
42160 r=`${PWD_COMMAND}`; export r; \
42161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42162 $(HOST_EXPORTS) \
42163 for flag in $(EXTRA_HOST_FLAGS) ; do \
42164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42165 done; \
42166 echo "Doing mostlyclean in utils" ; \
42167 (cd $(HOST_SUBDIR)/utils && \
42168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42170 "RANLIB=$${RANLIB}" \
42171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42172 mostlyclean) \
42173 || exit 1
42175 @endif utils
42177 .PHONY: maybe-clean-utils clean-utils
42178 maybe-clean-utils:
42179 @if utils
42180 maybe-clean-utils: clean-utils
42182 clean-utils:
42183 @: $(MAKE); $(unstage)
42184 @[ -f ./utils/Makefile ] || exit 0; \
42185 r=`${PWD_COMMAND}`; export r; \
42186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42187 $(HOST_EXPORTS) \
42188 for flag in $(EXTRA_HOST_FLAGS) ; do \
42189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42190 done; \
42191 echo "Doing clean in utils" ; \
42192 (cd $(HOST_SUBDIR)/utils && \
42193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42195 "RANLIB=$${RANLIB}" \
42196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42197 clean) \
42198 || exit 1
42200 @endif utils
42202 .PHONY: maybe-distclean-utils distclean-utils
42203 maybe-distclean-utils:
42204 @if utils
42205 maybe-distclean-utils: distclean-utils
42207 distclean-utils:
42208 @: $(MAKE); $(unstage)
42209 @[ -f ./utils/Makefile ] || exit 0; \
42210 r=`${PWD_COMMAND}`; export r; \
42211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42212 $(HOST_EXPORTS) \
42213 for flag in $(EXTRA_HOST_FLAGS) ; do \
42214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42215 done; \
42216 echo "Doing distclean in utils" ; \
42217 (cd $(HOST_SUBDIR)/utils && \
42218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42220 "RANLIB=$${RANLIB}" \
42221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42222 distclean) \
42223 || exit 1
42225 @endif utils
42227 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
42228 maybe-maintainer-clean-utils:
42229 @if utils
42230 maybe-maintainer-clean-utils: maintainer-clean-utils
42232 maintainer-clean-utils:
42233 @: $(MAKE); $(unstage)
42234 @[ -f ./utils/Makefile ] || exit 0; \
42235 r=`${PWD_COMMAND}`; export r; \
42236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42237 $(HOST_EXPORTS) \
42238 for flag in $(EXTRA_HOST_FLAGS) ; do \
42239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42240 done; \
42241 echo "Doing maintainer-clean in utils" ; \
42242 (cd $(HOST_SUBDIR)/utils && \
42243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42245 "RANLIB=$${RANLIB}" \
42246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42247 maintainer-clean) \
42248 || exit 1
42250 @endif utils
42254 .PHONY: configure-gnattools maybe-configure-gnattools
42255 maybe-configure-gnattools:
42256 @if gcc-bootstrap
42257 configure-gnattools: stage_current
42258 @endif gcc-bootstrap
42259 @if gnattools
42260 maybe-configure-gnattools: configure-gnattools
42261 configure-gnattools:
42262 @: $(MAKE); $(unstage)
42263 @r=`${PWD_COMMAND}`; export r; \
42264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42265 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
42266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
42267 $(HOST_EXPORTS) \
42268 echo Configuring in $(HOST_SUBDIR)/gnattools; \
42269 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
42270 case $(srcdir) in \
42271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42272 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
42273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42274 esac; \
42275 srcdiroption="--srcdir=$${topdir}/gnattools"; \
42276 libsrcdir="$$s/gnattools"; \
42277 $(SHELL) $${libsrcdir}/configure \
42278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42279 --target=${target_alias} $${srcdiroption} \
42280 || exit 1
42281 @endif gnattools
42287 .PHONY: all-gnattools maybe-all-gnattools
42288 maybe-all-gnattools:
42289 @if gcc-bootstrap
42290 all-gnattools: stage_current
42291 @endif gcc-bootstrap
42292 @if gnattools
42293 TARGET-gnattools=all
42294 maybe-all-gnattools: all-gnattools
42295 all-gnattools: configure-gnattools
42296 @: $(MAKE); $(unstage)
42297 @r=`${PWD_COMMAND}`; export r; \
42298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42299 $(HOST_EXPORTS) \
42300 (cd $(HOST_SUBDIR)/gnattools && \
42301 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
42302 $(TARGET-gnattools))
42303 @endif gnattools
42308 .PHONY: check-gnattools maybe-check-gnattools
42309 maybe-check-gnattools:
42310 @if gnattools
42311 maybe-check-gnattools: check-gnattools
42313 check-gnattools:
42314 @: $(MAKE); $(unstage)
42315 @r=`${PWD_COMMAND}`; export r; \
42316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42317 $(HOST_EXPORTS) \
42318 (cd $(HOST_SUBDIR)/gnattools && \
42319 $(MAKE) $(FLAGS_TO_PASS) check)
42321 @endif gnattools
42323 .PHONY: install-gnattools maybe-install-gnattools
42324 maybe-install-gnattools:
42325 @if gnattools
42326 maybe-install-gnattools: install-gnattools
42328 install-gnattools: installdirs
42329 @: $(MAKE); $(unstage)
42330 @r=`${PWD_COMMAND}`; export r; \
42331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42332 $(HOST_EXPORTS) \
42333 (cd $(HOST_SUBDIR)/gnattools && \
42334 $(MAKE) $(FLAGS_TO_PASS) install)
42336 @endif gnattools
42338 # Other targets (info, dvi, pdf, etc.)
42340 .PHONY: maybe-info-gnattools info-gnattools
42341 maybe-info-gnattools:
42342 @if gnattools
42343 maybe-info-gnattools: info-gnattools
42345 info-gnattools: \
42346 configure-gnattools
42347 @: $(MAKE); $(unstage)
42348 @[ -f ./gnattools/Makefile ] || exit 0; \
42349 r=`${PWD_COMMAND}`; export r; \
42350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42351 $(HOST_EXPORTS) \
42352 for flag in $(EXTRA_HOST_FLAGS) ; do \
42353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42354 done; \
42355 echo "Doing info in gnattools" ; \
42356 (cd $(HOST_SUBDIR)/gnattools && \
42357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42359 "RANLIB=$${RANLIB}" \
42360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42361 info) \
42362 || exit 1
42364 @endif gnattools
42366 .PHONY: maybe-dvi-gnattools dvi-gnattools
42367 maybe-dvi-gnattools:
42368 @if gnattools
42369 maybe-dvi-gnattools: dvi-gnattools
42371 dvi-gnattools: \
42372 configure-gnattools
42373 @: $(MAKE); $(unstage)
42374 @[ -f ./gnattools/Makefile ] || exit 0; \
42375 r=`${PWD_COMMAND}`; export r; \
42376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42377 $(HOST_EXPORTS) \
42378 for flag in $(EXTRA_HOST_FLAGS) ; do \
42379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42380 done; \
42381 echo "Doing dvi in gnattools" ; \
42382 (cd $(HOST_SUBDIR)/gnattools && \
42383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42385 "RANLIB=$${RANLIB}" \
42386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42387 dvi) \
42388 || exit 1
42390 @endif gnattools
42392 .PHONY: maybe-pdf-gnattools pdf-gnattools
42393 maybe-pdf-gnattools:
42394 @if gnattools
42395 maybe-pdf-gnattools: pdf-gnattools
42397 pdf-gnattools: \
42398 configure-gnattools
42399 @: $(MAKE); $(unstage)
42400 @[ -f ./gnattools/Makefile ] || exit 0; \
42401 r=`${PWD_COMMAND}`; export r; \
42402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42403 $(HOST_EXPORTS) \
42404 for flag in $(EXTRA_HOST_FLAGS) ; do \
42405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42406 done; \
42407 echo "Doing pdf in gnattools" ; \
42408 (cd $(HOST_SUBDIR)/gnattools && \
42409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42411 "RANLIB=$${RANLIB}" \
42412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42413 pdf) \
42414 || exit 1
42416 @endif gnattools
42418 .PHONY: maybe-html-gnattools html-gnattools
42419 maybe-html-gnattools:
42420 @if gnattools
42421 maybe-html-gnattools: html-gnattools
42423 html-gnattools: \
42424 configure-gnattools
42425 @: $(MAKE); $(unstage)
42426 @[ -f ./gnattools/Makefile ] || exit 0; \
42427 r=`${PWD_COMMAND}`; export r; \
42428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42429 $(HOST_EXPORTS) \
42430 for flag in $(EXTRA_HOST_FLAGS) ; do \
42431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42432 done; \
42433 echo "Doing html in gnattools" ; \
42434 (cd $(HOST_SUBDIR)/gnattools && \
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 html) \
42440 || exit 1
42442 @endif gnattools
42444 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
42445 maybe-TAGS-gnattools:
42446 @if gnattools
42447 maybe-TAGS-gnattools: TAGS-gnattools
42449 TAGS-gnattools: \
42450 configure-gnattools
42451 @: $(MAKE); $(unstage)
42452 @[ -f ./gnattools/Makefile ] || exit 0; \
42453 r=`${PWD_COMMAND}`; export r; \
42454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42455 $(HOST_EXPORTS) \
42456 for flag in $(EXTRA_HOST_FLAGS) ; do \
42457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42458 done; \
42459 echo "Doing TAGS in gnattools" ; \
42460 (cd $(HOST_SUBDIR)/gnattools && \
42461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42463 "RANLIB=$${RANLIB}" \
42464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42465 TAGS) \
42466 || exit 1
42468 @endif gnattools
42470 .PHONY: maybe-install-info-gnattools install-info-gnattools
42471 maybe-install-info-gnattools:
42472 @if gnattools
42473 maybe-install-info-gnattools: install-info-gnattools
42475 install-info-gnattools: \
42476 configure-gnattools \
42477 info-gnattools
42478 @: $(MAKE); $(unstage)
42479 @[ -f ./gnattools/Makefile ] || exit 0; \
42480 r=`${PWD_COMMAND}`; export r; \
42481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42482 $(HOST_EXPORTS) \
42483 for flag in $(EXTRA_HOST_FLAGS) ; do \
42484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42485 done; \
42486 echo "Doing install-info in gnattools" ; \
42487 (cd $(HOST_SUBDIR)/gnattools && \
42488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42490 "RANLIB=$${RANLIB}" \
42491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42492 install-info) \
42493 || exit 1
42495 @endif gnattools
42497 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
42498 maybe-install-pdf-gnattools:
42499 @if gnattools
42500 maybe-install-pdf-gnattools: install-pdf-gnattools
42502 install-pdf-gnattools: \
42503 configure-gnattools \
42504 pdf-gnattools
42505 @: $(MAKE); $(unstage)
42506 @[ -f ./gnattools/Makefile ] || exit 0; \
42507 r=`${PWD_COMMAND}`; export r; \
42508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42509 $(HOST_EXPORTS) \
42510 for flag in $(EXTRA_HOST_FLAGS) ; do \
42511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42512 done; \
42513 echo "Doing install-pdf in gnattools" ; \
42514 (cd $(HOST_SUBDIR)/gnattools && \
42515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42517 "RANLIB=$${RANLIB}" \
42518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42519 install-pdf) \
42520 || exit 1
42522 @endif gnattools
42524 .PHONY: maybe-install-html-gnattools install-html-gnattools
42525 maybe-install-html-gnattools:
42526 @if gnattools
42527 maybe-install-html-gnattools: install-html-gnattools
42529 install-html-gnattools: \
42530 configure-gnattools \
42531 html-gnattools
42532 @: $(MAKE); $(unstage)
42533 @[ -f ./gnattools/Makefile ] || exit 0; \
42534 r=`${PWD_COMMAND}`; export r; \
42535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42536 $(HOST_EXPORTS) \
42537 for flag in $(EXTRA_HOST_FLAGS) ; do \
42538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42539 done; \
42540 echo "Doing install-html in gnattools" ; \
42541 (cd $(HOST_SUBDIR)/gnattools && \
42542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42544 "RANLIB=$${RANLIB}" \
42545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42546 install-html) \
42547 || exit 1
42549 @endif gnattools
42551 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
42552 maybe-installcheck-gnattools:
42553 @if gnattools
42554 maybe-installcheck-gnattools: installcheck-gnattools
42556 installcheck-gnattools: \
42557 configure-gnattools
42558 @: $(MAKE); $(unstage)
42559 @[ -f ./gnattools/Makefile ] || exit 0; \
42560 r=`${PWD_COMMAND}`; export r; \
42561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42562 $(HOST_EXPORTS) \
42563 for flag in $(EXTRA_HOST_FLAGS) ; do \
42564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42565 done; \
42566 echo "Doing installcheck in gnattools" ; \
42567 (cd $(HOST_SUBDIR)/gnattools && \
42568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42570 "RANLIB=$${RANLIB}" \
42571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42572 installcheck) \
42573 || exit 1
42575 @endif gnattools
42577 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
42578 maybe-mostlyclean-gnattools:
42579 @if gnattools
42580 maybe-mostlyclean-gnattools: mostlyclean-gnattools
42582 mostlyclean-gnattools:
42583 @: $(MAKE); $(unstage)
42584 @[ -f ./gnattools/Makefile ] || exit 0; \
42585 r=`${PWD_COMMAND}`; export r; \
42586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42587 $(HOST_EXPORTS) \
42588 for flag in $(EXTRA_HOST_FLAGS) ; do \
42589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42590 done; \
42591 echo "Doing mostlyclean in gnattools" ; \
42592 (cd $(HOST_SUBDIR)/gnattools && \
42593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42595 "RANLIB=$${RANLIB}" \
42596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42597 mostlyclean) \
42598 || exit 1
42600 @endif gnattools
42602 .PHONY: maybe-clean-gnattools clean-gnattools
42603 maybe-clean-gnattools:
42604 @if gnattools
42605 maybe-clean-gnattools: clean-gnattools
42607 clean-gnattools:
42608 @: $(MAKE); $(unstage)
42609 @[ -f ./gnattools/Makefile ] || exit 0; \
42610 r=`${PWD_COMMAND}`; export r; \
42611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42612 $(HOST_EXPORTS) \
42613 for flag in $(EXTRA_HOST_FLAGS) ; do \
42614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42615 done; \
42616 echo "Doing clean in gnattools" ; \
42617 (cd $(HOST_SUBDIR)/gnattools && \
42618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42620 "RANLIB=$${RANLIB}" \
42621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42622 clean) \
42623 || exit 1
42625 @endif gnattools
42627 .PHONY: maybe-distclean-gnattools distclean-gnattools
42628 maybe-distclean-gnattools:
42629 @if gnattools
42630 maybe-distclean-gnattools: distclean-gnattools
42632 distclean-gnattools:
42633 @: $(MAKE); $(unstage)
42634 @[ -f ./gnattools/Makefile ] || exit 0; \
42635 r=`${PWD_COMMAND}`; export r; \
42636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42637 $(HOST_EXPORTS) \
42638 for flag in $(EXTRA_HOST_FLAGS) ; do \
42639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42640 done; \
42641 echo "Doing distclean in gnattools" ; \
42642 (cd $(HOST_SUBDIR)/gnattools && \
42643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42645 "RANLIB=$${RANLIB}" \
42646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42647 distclean) \
42648 || exit 1
42650 @endif gnattools
42652 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
42653 maybe-maintainer-clean-gnattools:
42654 @if gnattools
42655 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
42657 maintainer-clean-gnattools:
42658 @: $(MAKE); $(unstage)
42659 @[ -f ./gnattools/Makefile ] || exit 0; \
42660 r=`${PWD_COMMAND}`; export r; \
42661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42662 $(HOST_EXPORTS) \
42663 for flag in $(EXTRA_HOST_FLAGS) ; do \
42664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42665 done; \
42666 echo "Doing maintainer-clean in gnattools" ; \
42667 (cd $(HOST_SUBDIR)/gnattools && \
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 maintainer-clean) \
42673 || exit 1
42675 @endif gnattools
42679 # ---------------------------------------
42680 # Modules which run on the target machine
42681 # ---------------------------------------
42686 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
42687 maybe-configure-target-libstdc++-v3:
42688 @if gcc-bootstrap
42689 configure-target-libstdc++-v3: stage_current
42690 @endif gcc-bootstrap
42691 @if target-libstdc++-v3
42692 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
42693 configure-target-libstdc++-v3:
42694 @: $(MAKE); $(unstage)
42695 @r=`${PWD_COMMAND}`; export r; \
42696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42697 echo "Checking multilib configuration for libstdc++-v3..."; \
42698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
42699 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
42700 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
42701 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
42702 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
42703 else \
42704 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
42705 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
42706 fi; \
42707 else \
42708 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
42709 fi; \
42710 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
42711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
42712 $(RAW_CXX_TARGET_EXPORTS) \
42713 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
42714 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
42715 case $(srcdir) in \
42716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42717 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
42718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42719 esac; \
42720 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
42721 libsrcdir="$$s/libstdc++-v3"; \
42722 rm -f no-such-file || : ; \
42723 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42724 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42725 --target=${target_alias} $${srcdiroption} \
42726 || exit 1
42727 @endif target-libstdc++-v3
42733 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
42734 maybe-all-target-libstdc++-v3:
42735 @if gcc-bootstrap
42736 all-target-libstdc++-v3: stage_current
42737 @endif gcc-bootstrap
42738 @if target-libstdc++-v3
42739 TARGET-target-libstdc++-v3=all
42740 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
42741 all-target-libstdc++-v3: configure-target-libstdc++-v3
42742 @: $(MAKE); $(unstage)
42743 @r=`${PWD_COMMAND}`; export r; \
42744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42745 $(RAW_CXX_TARGET_EXPORTS) \
42746 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42747 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42748 $(TARGET-target-libstdc++-v3))
42749 @endif target-libstdc++-v3
42755 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
42756 maybe-check-target-libstdc++-v3:
42757 @if target-libstdc++-v3
42758 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
42760 check-target-libstdc++-v3:
42761 @: $(MAKE); $(unstage)
42762 @r=`${PWD_COMMAND}`; export r; \
42763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42764 $(RAW_CXX_TARGET_EXPORTS) \
42765 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42766 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
42768 @endif target-libstdc++-v3
42770 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
42771 maybe-install-target-libstdc++-v3:
42772 @if target-libstdc++-v3
42773 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
42775 install-target-libstdc++-v3: installdirs
42776 @: $(MAKE); $(unstage)
42777 @r=`${PWD_COMMAND}`; export r; \
42778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42779 $(RAW_CXX_TARGET_EXPORTS) \
42780 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42781 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42783 @endif target-libstdc++-v3
42785 # Other targets (info, dvi, pdf, etc.)
42787 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
42788 maybe-info-target-libstdc++-v3:
42789 @if target-libstdc++-v3
42790 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
42792 info-target-libstdc++-v3: \
42793 configure-target-libstdc++-v3
42794 @: $(MAKE); $(unstage)
42795 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42796 r=`${PWD_COMMAND}`; export r; \
42797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42798 $(RAW_CXX_TARGET_EXPORTS) \
42799 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42800 for flag in $(EXTRA_TARGET_FLAGS); do \
42801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42802 done; \
42803 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42806 "RANLIB=$${RANLIB}" \
42807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42808 info) \
42809 || exit 1
42811 @endif target-libstdc++-v3
42813 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
42814 maybe-dvi-target-libstdc++-v3:
42815 @if target-libstdc++-v3
42816 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
42818 dvi-target-libstdc++-v3: \
42819 configure-target-libstdc++-v3
42820 @: $(MAKE); $(unstage)
42821 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42822 r=`${PWD_COMMAND}`; export r; \
42823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42824 $(RAW_CXX_TARGET_EXPORTS) \
42825 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42826 for flag in $(EXTRA_TARGET_FLAGS); do \
42827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42828 done; \
42829 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42832 "RANLIB=$${RANLIB}" \
42833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42834 dvi) \
42835 || exit 1
42837 @endif target-libstdc++-v3
42839 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
42840 maybe-pdf-target-libstdc++-v3:
42841 @if target-libstdc++-v3
42842 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
42844 pdf-target-libstdc++-v3: \
42845 configure-target-libstdc++-v3
42846 @: $(MAKE); $(unstage)
42847 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42848 r=`${PWD_COMMAND}`; export r; \
42849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42850 $(RAW_CXX_TARGET_EXPORTS) \
42851 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42852 for flag in $(EXTRA_TARGET_FLAGS); do \
42853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42854 done; \
42855 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42858 "RANLIB=$${RANLIB}" \
42859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42860 pdf) \
42861 || exit 1
42863 @endif target-libstdc++-v3
42865 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
42866 maybe-html-target-libstdc++-v3:
42867 @if target-libstdc++-v3
42868 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
42870 html-target-libstdc++-v3: \
42871 configure-target-libstdc++-v3
42872 @: $(MAKE); $(unstage)
42873 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42874 r=`${PWD_COMMAND}`; export r; \
42875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42876 $(RAW_CXX_TARGET_EXPORTS) \
42877 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42878 for flag in $(EXTRA_TARGET_FLAGS); do \
42879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42880 done; \
42881 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42884 "RANLIB=$${RANLIB}" \
42885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42886 html) \
42887 || exit 1
42889 @endif target-libstdc++-v3
42891 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
42892 maybe-TAGS-target-libstdc++-v3:
42893 @if target-libstdc++-v3
42894 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
42896 TAGS-target-libstdc++-v3: \
42897 configure-target-libstdc++-v3
42898 @: $(MAKE); $(unstage)
42899 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42900 r=`${PWD_COMMAND}`; export r; \
42901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42902 $(RAW_CXX_TARGET_EXPORTS) \
42903 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42904 for flag in $(EXTRA_TARGET_FLAGS); do \
42905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42906 done; \
42907 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42910 "RANLIB=$${RANLIB}" \
42911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42912 TAGS) \
42913 || exit 1
42915 @endif target-libstdc++-v3
42917 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
42918 maybe-install-info-target-libstdc++-v3:
42919 @if target-libstdc++-v3
42920 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
42922 install-info-target-libstdc++-v3: \
42923 configure-target-libstdc++-v3 \
42924 info-target-libstdc++-v3
42925 @: $(MAKE); $(unstage)
42926 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42927 r=`${PWD_COMMAND}`; export r; \
42928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42929 $(RAW_CXX_TARGET_EXPORTS) \
42930 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42931 for flag in $(EXTRA_TARGET_FLAGS); do \
42932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42933 done; \
42934 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42937 "RANLIB=$${RANLIB}" \
42938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42939 install-info) \
42940 || exit 1
42942 @endif target-libstdc++-v3
42944 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
42945 maybe-install-pdf-target-libstdc++-v3:
42946 @if target-libstdc++-v3
42947 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
42949 install-pdf-target-libstdc++-v3: \
42950 configure-target-libstdc++-v3 \
42951 pdf-target-libstdc++-v3
42952 @: $(MAKE); $(unstage)
42953 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42954 r=`${PWD_COMMAND}`; export r; \
42955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42956 $(RAW_CXX_TARGET_EXPORTS) \
42957 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42958 for flag in $(EXTRA_TARGET_FLAGS); do \
42959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42960 done; \
42961 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42964 "RANLIB=$${RANLIB}" \
42965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42966 install-pdf) \
42967 || exit 1
42969 @endif target-libstdc++-v3
42971 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
42972 maybe-install-html-target-libstdc++-v3:
42973 @if target-libstdc++-v3
42974 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
42976 install-html-target-libstdc++-v3: \
42977 configure-target-libstdc++-v3 \
42978 html-target-libstdc++-v3
42979 @: $(MAKE); $(unstage)
42980 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
42981 r=`${PWD_COMMAND}`; export r; \
42982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42983 $(RAW_CXX_TARGET_EXPORTS) \
42984 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
42985 for flag in $(EXTRA_TARGET_FLAGS); do \
42986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42987 done; \
42988 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
42989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42991 "RANLIB=$${RANLIB}" \
42992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42993 install-html) \
42994 || exit 1
42996 @endif target-libstdc++-v3
42998 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
42999 maybe-installcheck-target-libstdc++-v3:
43000 @if target-libstdc++-v3
43001 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
43003 installcheck-target-libstdc++-v3: \
43004 configure-target-libstdc++-v3
43005 @: $(MAKE); $(unstage)
43006 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43007 r=`${PWD_COMMAND}`; export r; \
43008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43009 $(RAW_CXX_TARGET_EXPORTS) \
43010 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43011 for flag in $(EXTRA_TARGET_FLAGS); do \
43012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43013 done; \
43014 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43017 "RANLIB=$${RANLIB}" \
43018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43019 installcheck) \
43020 || exit 1
43022 @endif target-libstdc++-v3
43024 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
43025 maybe-mostlyclean-target-libstdc++-v3:
43026 @if target-libstdc++-v3
43027 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
43029 mostlyclean-target-libstdc++-v3:
43030 @: $(MAKE); $(unstage)
43031 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43032 r=`${PWD_COMMAND}`; export r; \
43033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43034 $(RAW_CXX_TARGET_EXPORTS) \
43035 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43036 for flag in $(EXTRA_TARGET_FLAGS); do \
43037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43038 done; \
43039 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43042 "RANLIB=$${RANLIB}" \
43043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43044 mostlyclean) \
43045 || exit 1
43047 @endif target-libstdc++-v3
43049 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
43050 maybe-clean-target-libstdc++-v3:
43051 @if target-libstdc++-v3
43052 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
43054 clean-target-libstdc++-v3:
43055 @: $(MAKE); $(unstage)
43056 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43057 r=`${PWD_COMMAND}`; export r; \
43058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43059 $(RAW_CXX_TARGET_EXPORTS) \
43060 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43061 for flag in $(EXTRA_TARGET_FLAGS); do \
43062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43063 done; \
43064 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43067 "RANLIB=$${RANLIB}" \
43068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43069 clean) \
43070 || exit 1
43072 @endif target-libstdc++-v3
43074 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
43075 maybe-distclean-target-libstdc++-v3:
43076 @if target-libstdc++-v3
43077 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
43079 distclean-target-libstdc++-v3:
43080 @: $(MAKE); $(unstage)
43081 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43082 r=`${PWD_COMMAND}`; export r; \
43083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43084 $(RAW_CXX_TARGET_EXPORTS) \
43085 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43086 for flag in $(EXTRA_TARGET_FLAGS); do \
43087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43088 done; \
43089 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43092 "RANLIB=$${RANLIB}" \
43093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43094 distclean) \
43095 || exit 1
43097 @endif target-libstdc++-v3
43099 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
43100 maybe-maintainer-clean-target-libstdc++-v3:
43101 @if target-libstdc++-v3
43102 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
43104 maintainer-clean-target-libstdc++-v3:
43105 @: $(MAKE); $(unstage)
43106 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
43107 r=`${PWD_COMMAND}`; export r; \
43108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43109 $(RAW_CXX_TARGET_EXPORTS) \
43110 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
43111 for flag in $(EXTRA_TARGET_FLAGS); do \
43112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43113 done; \
43114 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
43115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43117 "RANLIB=$${RANLIB}" \
43118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43119 maintainer-clean) \
43120 || exit 1
43122 @endif target-libstdc++-v3
43128 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
43129 maybe-configure-target-libmudflap:
43130 @if gcc-bootstrap
43131 configure-target-libmudflap: stage_current
43132 @endif gcc-bootstrap
43133 @if target-libmudflap
43134 maybe-configure-target-libmudflap: configure-target-libmudflap
43135 configure-target-libmudflap:
43136 @: $(MAKE); $(unstage)
43137 @r=`${PWD_COMMAND}`; export r; \
43138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43139 echo "Checking multilib configuration for libmudflap..."; \
43140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
43141 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
43142 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
43143 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
43144 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
43145 else \
43146 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
43147 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
43148 fi; \
43149 else \
43150 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
43151 fi; \
43152 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
43153 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
43154 $(NORMAL_TARGET_EXPORTS) \
43155 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
43156 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
43157 case $(srcdir) in \
43158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43159 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
43160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43161 esac; \
43162 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
43163 libsrcdir="$$s/libmudflap"; \
43164 rm -f no-such-file || : ; \
43165 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43166 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43167 --target=${target_alias} $${srcdiroption} \
43168 || exit 1
43169 @endif target-libmudflap
43175 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
43176 maybe-all-target-libmudflap:
43177 @if gcc-bootstrap
43178 all-target-libmudflap: stage_current
43179 @endif gcc-bootstrap
43180 @if target-libmudflap
43181 TARGET-target-libmudflap=all
43182 maybe-all-target-libmudflap: all-target-libmudflap
43183 all-target-libmudflap: configure-target-libmudflap
43184 @: $(MAKE); $(unstage)
43185 @r=`${PWD_COMMAND}`; export r; \
43186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43187 $(NORMAL_TARGET_EXPORTS) \
43188 (cd $(TARGET_SUBDIR)/libmudflap && \
43189 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43190 $(TARGET-target-libmudflap))
43191 @endif target-libmudflap
43197 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
43198 maybe-check-target-libmudflap:
43199 @if target-libmudflap
43200 maybe-check-target-libmudflap: check-target-libmudflap
43202 check-target-libmudflap:
43203 @: $(MAKE); $(unstage)
43204 @r=`${PWD_COMMAND}`; export r; \
43205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43206 $(NORMAL_TARGET_EXPORTS) \
43207 (cd $(TARGET_SUBDIR)/libmudflap && \
43208 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43210 @endif target-libmudflap
43212 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
43213 maybe-install-target-libmudflap:
43214 @if target-libmudflap
43215 maybe-install-target-libmudflap: install-target-libmudflap
43217 install-target-libmudflap: installdirs
43218 @: $(MAKE); $(unstage)
43219 @r=`${PWD_COMMAND}`; export r; \
43220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43221 $(NORMAL_TARGET_EXPORTS) \
43222 (cd $(TARGET_SUBDIR)/libmudflap && \
43223 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43225 @endif target-libmudflap
43227 # Other targets (info, dvi, pdf, etc.)
43229 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
43230 maybe-info-target-libmudflap:
43231 @if target-libmudflap
43232 maybe-info-target-libmudflap: info-target-libmudflap
43234 info-target-libmudflap: \
43235 configure-target-libmudflap
43236 @: $(MAKE); $(unstage)
43237 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43238 r=`${PWD_COMMAND}`; export r; \
43239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43240 $(NORMAL_TARGET_EXPORTS) \
43241 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
43242 for flag in $(EXTRA_TARGET_FLAGS); do \
43243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43244 done; \
43245 (cd $(TARGET_SUBDIR)/libmudflap && \
43246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43248 "RANLIB=$${RANLIB}" \
43249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43250 info) \
43251 || exit 1
43253 @endif target-libmudflap
43255 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
43256 maybe-dvi-target-libmudflap:
43257 @if target-libmudflap
43258 maybe-dvi-target-libmudflap: dvi-target-libmudflap
43260 dvi-target-libmudflap: \
43261 configure-target-libmudflap
43262 @: $(MAKE); $(unstage)
43263 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43264 r=`${PWD_COMMAND}`; export r; \
43265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43266 $(NORMAL_TARGET_EXPORTS) \
43267 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
43268 for flag in $(EXTRA_TARGET_FLAGS); do \
43269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43270 done; \
43271 (cd $(TARGET_SUBDIR)/libmudflap && \
43272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43274 "RANLIB=$${RANLIB}" \
43275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43276 dvi) \
43277 || exit 1
43279 @endif target-libmudflap
43281 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
43282 maybe-pdf-target-libmudflap:
43283 @if target-libmudflap
43284 maybe-pdf-target-libmudflap: pdf-target-libmudflap
43286 pdf-target-libmudflap: \
43287 configure-target-libmudflap
43288 @: $(MAKE); $(unstage)
43289 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43290 r=`${PWD_COMMAND}`; export r; \
43291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43292 $(NORMAL_TARGET_EXPORTS) \
43293 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
43294 for flag in $(EXTRA_TARGET_FLAGS); do \
43295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43296 done; \
43297 (cd $(TARGET_SUBDIR)/libmudflap && \
43298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43300 "RANLIB=$${RANLIB}" \
43301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43302 pdf) \
43303 || exit 1
43305 @endif target-libmudflap
43307 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
43308 maybe-html-target-libmudflap:
43309 @if target-libmudflap
43310 maybe-html-target-libmudflap: html-target-libmudflap
43312 html-target-libmudflap: \
43313 configure-target-libmudflap
43314 @: $(MAKE); $(unstage)
43315 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43316 r=`${PWD_COMMAND}`; export r; \
43317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43318 $(NORMAL_TARGET_EXPORTS) \
43319 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
43320 for flag in $(EXTRA_TARGET_FLAGS); do \
43321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43322 done; \
43323 (cd $(TARGET_SUBDIR)/libmudflap && \
43324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43326 "RANLIB=$${RANLIB}" \
43327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43328 html) \
43329 || exit 1
43331 @endif target-libmudflap
43333 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
43334 maybe-TAGS-target-libmudflap:
43335 @if target-libmudflap
43336 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
43338 TAGS-target-libmudflap: \
43339 configure-target-libmudflap
43340 @: $(MAKE); $(unstage)
43341 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43342 r=`${PWD_COMMAND}`; export r; \
43343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43344 $(NORMAL_TARGET_EXPORTS) \
43345 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
43346 for flag in $(EXTRA_TARGET_FLAGS); do \
43347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43348 done; \
43349 (cd $(TARGET_SUBDIR)/libmudflap && \
43350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43352 "RANLIB=$${RANLIB}" \
43353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43354 TAGS) \
43355 || exit 1
43357 @endif target-libmudflap
43359 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
43360 maybe-install-info-target-libmudflap:
43361 @if target-libmudflap
43362 maybe-install-info-target-libmudflap: install-info-target-libmudflap
43364 install-info-target-libmudflap: \
43365 configure-target-libmudflap \
43366 info-target-libmudflap
43367 @: $(MAKE); $(unstage)
43368 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43369 r=`${PWD_COMMAND}`; export r; \
43370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43371 $(NORMAL_TARGET_EXPORTS) \
43372 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
43373 for flag in $(EXTRA_TARGET_FLAGS); do \
43374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43375 done; \
43376 (cd $(TARGET_SUBDIR)/libmudflap && \
43377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43379 "RANLIB=$${RANLIB}" \
43380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43381 install-info) \
43382 || exit 1
43384 @endif target-libmudflap
43386 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
43387 maybe-install-pdf-target-libmudflap:
43388 @if target-libmudflap
43389 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
43391 install-pdf-target-libmudflap: \
43392 configure-target-libmudflap \
43393 pdf-target-libmudflap
43394 @: $(MAKE); $(unstage)
43395 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43396 r=`${PWD_COMMAND}`; export r; \
43397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43398 $(NORMAL_TARGET_EXPORTS) \
43399 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
43400 for flag in $(EXTRA_TARGET_FLAGS); do \
43401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43402 done; \
43403 (cd $(TARGET_SUBDIR)/libmudflap && \
43404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43406 "RANLIB=$${RANLIB}" \
43407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43408 install-pdf) \
43409 || exit 1
43411 @endif target-libmudflap
43413 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
43414 maybe-install-html-target-libmudflap:
43415 @if target-libmudflap
43416 maybe-install-html-target-libmudflap: install-html-target-libmudflap
43418 install-html-target-libmudflap: \
43419 configure-target-libmudflap \
43420 html-target-libmudflap
43421 @: $(MAKE); $(unstage)
43422 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43423 r=`${PWD_COMMAND}`; export r; \
43424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43425 $(NORMAL_TARGET_EXPORTS) \
43426 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
43427 for flag in $(EXTRA_TARGET_FLAGS); do \
43428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43429 done; \
43430 (cd $(TARGET_SUBDIR)/libmudflap && \
43431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43433 "RANLIB=$${RANLIB}" \
43434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43435 install-html) \
43436 || exit 1
43438 @endif target-libmudflap
43440 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
43441 maybe-installcheck-target-libmudflap:
43442 @if target-libmudflap
43443 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
43445 installcheck-target-libmudflap: \
43446 configure-target-libmudflap
43447 @: $(MAKE); $(unstage)
43448 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43449 r=`${PWD_COMMAND}`; export r; \
43450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43451 $(NORMAL_TARGET_EXPORTS) \
43452 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
43453 for flag in $(EXTRA_TARGET_FLAGS); do \
43454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43455 done; \
43456 (cd $(TARGET_SUBDIR)/libmudflap && \
43457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43459 "RANLIB=$${RANLIB}" \
43460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43461 installcheck) \
43462 || exit 1
43464 @endif target-libmudflap
43466 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
43467 maybe-mostlyclean-target-libmudflap:
43468 @if target-libmudflap
43469 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
43471 mostlyclean-target-libmudflap:
43472 @: $(MAKE); $(unstage)
43473 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43474 r=`${PWD_COMMAND}`; export r; \
43475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43476 $(NORMAL_TARGET_EXPORTS) \
43477 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
43478 for flag in $(EXTRA_TARGET_FLAGS); do \
43479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43480 done; \
43481 (cd $(TARGET_SUBDIR)/libmudflap && \
43482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43484 "RANLIB=$${RANLIB}" \
43485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43486 mostlyclean) \
43487 || exit 1
43489 @endif target-libmudflap
43491 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
43492 maybe-clean-target-libmudflap:
43493 @if target-libmudflap
43494 maybe-clean-target-libmudflap: clean-target-libmudflap
43496 clean-target-libmudflap:
43497 @: $(MAKE); $(unstage)
43498 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43499 r=`${PWD_COMMAND}`; export r; \
43500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43501 $(NORMAL_TARGET_EXPORTS) \
43502 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
43503 for flag in $(EXTRA_TARGET_FLAGS); do \
43504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43505 done; \
43506 (cd $(TARGET_SUBDIR)/libmudflap && \
43507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43509 "RANLIB=$${RANLIB}" \
43510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43511 clean) \
43512 || exit 1
43514 @endif target-libmudflap
43516 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
43517 maybe-distclean-target-libmudflap:
43518 @if target-libmudflap
43519 maybe-distclean-target-libmudflap: distclean-target-libmudflap
43521 distclean-target-libmudflap:
43522 @: $(MAKE); $(unstage)
43523 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43524 r=`${PWD_COMMAND}`; export r; \
43525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43526 $(NORMAL_TARGET_EXPORTS) \
43527 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
43528 for flag in $(EXTRA_TARGET_FLAGS); do \
43529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43530 done; \
43531 (cd $(TARGET_SUBDIR)/libmudflap && \
43532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43534 "RANLIB=$${RANLIB}" \
43535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43536 distclean) \
43537 || exit 1
43539 @endif target-libmudflap
43541 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
43542 maybe-maintainer-clean-target-libmudflap:
43543 @if target-libmudflap
43544 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
43546 maintainer-clean-target-libmudflap:
43547 @: $(MAKE); $(unstage)
43548 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
43549 r=`${PWD_COMMAND}`; export r; \
43550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43551 $(NORMAL_TARGET_EXPORTS) \
43552 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
43553 for flag in $(EXTRA_TARGET_FLAGS); do \
43554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43555 done; \
43556 (cd $(TARGET_SUBDIR)/libmudflap && \
43557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43559 "RANLIB=$${RANLIB}" \
43560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43561 maintainer-clean) \
43562 || exit 1
43564 @endif target-libmudflap
43570 .PHONY: configure-target-libssp maybe-configure-target-libssp
43571 maybe-configure-target-libssp:
43572 @if gcc-bootstrap
43573 configure-target-libssp: stage_current
43574 @endif gcc-bootstrap
43575 @if target-libssp
43576 maybe-configure-target-libssp: configure-target-libssp
43577 configure-target-libssp:
43578 @: $(MAKE); $(unstage)
43579 @r=`${PWD_COMMAND}`; export r; \
43580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43581 echo "Checking multilib configuration for libssp..."; \
43582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
43583 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
43584 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
43585 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
43586 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
43587 else \
43588 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
43589 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43590 fi; \
43591 else \
43592 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43593 fi; \
43594 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
43595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
43596 $(NORMAL_TARGET_EXPORTS) \
43597 echo Configuring in $(TARGET_SUBDIR)/libssp; \
43598 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
43599 case $(srcdir) in \
43600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43601 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
43602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43603 esac; \
43604 srcdiroption="--srcdir=$${topdir}/libssp"; \
43605 libsrcdir="$$s/libssp"; \
43606 rm -f no-such-file || : ; \
43607 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43608 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43609 --target=${target_alias} $${srcdiroption} \
43610 || exit 1
43611 @endif target-libssp
43617 .PHONY: all-target-libssp maybe-all-target-libssp
43618 maybe-all-target-libssp:
43619 @if gcc-bootstrap
43620 all-target-libssp: stage_current
43621 @endif gcc-bootstrap
43622 @if target-libssp
43623 TARGET-target-libssp=all
43624 maybe-all-target-libssp: all-target-libssp
43625 all-target-libssp: configure-target-libssp
43626 @: $(MAKE); $(unstage)
43627 @r=`${PWD_COMMAND}`; export r; \
43628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43629 $(NORMAL_TARGET_EXPORTS) \
43630 (cd $(TARGET_SUBDIR)/libssp && \
43631 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43632 $(TARGET-target-libssp))
43633 @endif target-libssp
43639 .PHONY: check-target-libssp maybe-check-target-libssp
43640 maybe-check-target-libssp:
43641 @if target-libssp
43642 maybe-check-target-libssp: check-target-libssp
43644 check-target-libssp:
43645 @: $(MAKE); $(unstage)
43646 @r=`${PWD_COMMAND}`; export r; \
43647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43648 $(NORMAL_TARGET_EXPORTS) \
43649 (cd $(TARGET_SUBDIR)/libssp && \
43650 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43652 @endif target-libssp
43654 .PHONY: install-target-libssp maybe-install-target-libssp
43655 maybe-install-target-libssp:
43656 @if target-libssp
43657 maybe-install-target-libssp: install-target-libssp
43659 install-target-libssp: installdirs
43660 @: $(MAKE); $(unstage)
43661 @r=`${PWD_COMMAND}`; export r; \
43662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43663 $(NORMAL_TARGET_EXPORTS) \
43664 (cd $(TARGET_SUBDIR)/libssp && \
43665 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43667 @endif target-libssp
43669 # Other targets (info, dvi, pdf, etc.)
43671 .PHONY: maybe-info-target-libssp info-target-libssp
43672 maybe-info-target-libssp:
43673 @if target-libssp
43674 maybe-info-target-libssp: info-target-libssp
43676 info-target-libssp: \
43677 configure-target-libssp
43678 @: $(MAKE); $(unstage)
43679 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43680 r=`${PWD_COMMAND}`; export r; \
43681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43682 $(NORMAL_TARGET_EXPORTS) \
43683 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
43684 for flag in $(EXTRA_TARGET_FLAGS); do \
43685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43686 done; \
43687 (cd $(TARGET_SUBDIR)/libssp && \
43688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43690 "RANLIB=$${RANLIB}" \
43691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43692 info) \
43693 || exit 1
43695 @endif target-libssp
43697 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
43698 maybe-dvi-target-libssp:
43699 @if target-libssp
43700 maybe-dvi-target-libssp: dvi-target-libssp
43702 dvi-target-libssp: \
43703 configure-target-libssp
43704 @: $(MAKE); $(unstage)
43705 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43706 r=`${PWD_COMMAND}`; export r; \
43707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43708 $(NORMAL_TARGET_EXPORTS) \
43709 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
43710 for flag in $(EXTRA_TARGET_FLAGS); do \
43711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43712 done; \
43713 (cd $(TARGET_SUBDIR)/libssp && \
43714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43716 "RANLIB=$${RANLIB}" \
43717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43718 dvi) \
43719 || exit 1
43721 @endif target-libssp
43723 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
43724 maybe-pdf-target-libssp:
43725 @if target-libssp
43726 maybe-pdf-target-libssp: pdf-target-libssp
43728 pdf-target-libssp: \
43729 configure-target-libssp
43730 @: $(MAKE); $(unstage)
43731 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43732 r=`${PWD_COMMAND}`; export r; \
43733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43734 $(NORMAL_TARGET_EXPORTS) \
43735 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
43736 for flag in $(EXTRA_TARGET_FLAGS); do \
43737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43738 done; \
43739 (cd $(TARGET_SUBDIR)/libssp && \
43740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43742 "RANLIB=$${RANLIB}" \
43743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43744 pdf) \
43745 || exit 1
43747 @endif target-libssp
43749 .PHONY: maybe-html-target-libssp html-target-libssp
43750 maybe-html-target-libssp:
43751 @if target-libssp
43752 maybe-html-target-libssp: html-target-libssp
43754 html-target-libssp: \
43755 configure-target-libssp
43756 @: $(MAKE); $(unstage)
43757 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43758 r=`${PWD_COMMAND}`; export r; \
43759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43760 $(NORMAL_TARGET_EXPORTS) \
43761 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
43762 for flag in $(EXTRA_TARGET_FLAGS); do \
43763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43764 done; \
43765 (cd $(TARGET_SUBDIR)/libssp && \
43766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43768 "RANLIB=$${RANLIB}" \
43769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43770 html) \
43771 || exit 1
43773 @endif target-libssp
43775 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
43776 maybe-TAGS-target-libssp:
43777 @if target-libssp
43778 maybe-TAGS-target-libssp: TAGS-target-libssp
43780 TAGS-target-libssp: \
43781 configure-target-libssp
43782 @: $(MAKE); $(unstage)
43783 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43784 r=`${PWD_COMMAND}`; export r; \
43785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43786 $(NORMAL_TARGET_EXPORTS) \
43787 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
43788 for flag in $(EXTRA_TARGET_FLAGS); do \
43789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43790 done; \
43791 (cd $(TARGET_SUBDIR)/libssp && \
43792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43794 "RANLIB=$${RANLIB}" \
43795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43796 TAGS) \
43797 || exit 1
43799 @endif target-libssp
43801 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
43802 maybe-install-info-target-libssp:
43803 @if target-libssp
43804 maybe-install-info-target-libssp: install-info-target-libssp
43806 install-info-target-libssp: \
43807 configure-target-libssp \
43808 info-target-libssp
43809 @: $(MAKE); $(unstage)
43810 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43811 r=`${PWD_COMMAND}`; export r; \
43812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43813 $(NORMAL_TARGET_EXPORTS) \
43814 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
43815 for flag in $(EXTRA_TARGET_FLAGS); do \
43816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43817 done; \
43818 (cd $(TARGET_SUBDIR)/libssp && \
43819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43821 "RANLIB=$${RANLIB}" \
43822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43823 install-info) \
43824 || exit 1
43826 @endif target-libssp
43828 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
43829 maybe-install-pdf-target-libssp:
43830 @if target-libssp
43831 maybe-install-pdf-target-libssp: install-pdf-target-libssp
43833 install-pdf-target-libssp: \
43834 configure-target-libssp \
43835 pdf-target-libssp
43836 @: $(MAKE); $(unstage)
43837 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43838 r=`${PWD_COMMAND}`; export r; \
43839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43840 $(NORMAL_TARGET_EXPORTS) \
43841 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
43842 for flag in $(EXTRA_TARGET_FLAGS); do \
43843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43844 done; \
43845 (cd $(TARGET_SUBDIR)/libssp && \
43846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43848 "RANLIB=$${RANLIB}" \
43849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43850 install-pdf) \
43851 || exit 1
43853 @endif target-libssp
43855 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
43856 maybe-install-html-target-libssp:
43857 @if target-libssp
43858 maybe-install-html-target-libssp: install-html-target-libssp
43860 install-html-target-libssp: \
43861 configure-target-libssp \
43862 html-target-libssp
43863 @: $(MAKE); $(unstage)
43864 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43865 r=`${PWD_COMMAND}`; export r; \
43866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43867 $(NORMAL_TARGET_EXPORTS) \
43868 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
43869 for flag in $(EXTRA_TARGET_FLAGS); do \
43870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43871 done; \
43872 (cd $(TARGET_SUBDIR)/libssp && \
43873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43875 "RANLIB=$${RANLIB}" \
43876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43877 install-html) \
43878 || exit 1
43880 @endif target-libssp
43882 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
43883 maybe-installcheck-target-libssp:
43884 @if target-libssp
43885 maybe-installcheck-target-libssp: installcheck-target-libssp
43887 installcheck-target-libssp: \
43888 configure-target-libssp
43889 @: $(MAKE); $(unstage)
43890 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43891 r=`${PWD_COMMAND}`; export r; \
43892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43893 $(NORMAL_TARGET_EXPORTS) \
43894 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
43895 for flag in $(EXTRA_TARGET_FLAGS); do \
43896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43897 done; \
43898 (cd $(TARGET_SUBDIR)/libssp && \
43899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43901 "RANLIB=$${RANLIB}" \
43902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43903 installcheck) \
43904 || exit 1
43906 @endif target-libssp
43908 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
43909 maybe-mostlyclean-target-libssp:
43910 @if target-libssp
43911 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
43913 mostlyclean-target-libssp:
43914 @: $(MAKE); $(unstage)
43915 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43916 r=`${PWD_COMMAND}`; export r; \
43917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43918 $(NORMAL_TARGET_EXPORTS) \
43919 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
43920 for flag in $(EXTRA_TARGET_FLAGS); do \
43921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43922 done; \
43923 (cd $(TARGET_SUBDIR)/libssp && \
43924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43926 "RANLIB=$${RANLIB}" \
43927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43928 mostlyclean) \
43929 || exit 1
43931 @endif target-libssp
43933 .PHONY: maybe-clean-target-libssp clean-target-libssp
43934 maybe-clean-target-libssp:
43935 @if target-libssp
43936 maybe-clean-target-libssp: clean-target-libssp
43938 clean-target-libssp:
43939 @: $(MAKE); $(unstage)
43940 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43941 r=`${PWD_COMMAND}`; export r; \
43942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43943 $(NORMAL_TARGET_EXPORTS) \
43944 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
43945 for flag in $(EXTRA_TARGET_FLAGS); do \
43946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43947 done; \
43948 (cd $(TARGET_SUBDIR)/libssp && \
43949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43951 "RANLIB=$${RANLIB}" \
43952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43953 clean) \
43954 || exit 1
43956 @endif target-libssp
43958 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
43959 maybe-distclean-target-libssp:
43960 @if target-libssp
43961 maybe-distclean-target-libssp: distclean-target-libssp
43963 distclean-target-libssp:
43964 @: $(MAKE); $(unstage)
43965 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43966 r=`${PWD_COMMAND}`; export r; \
43967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43968 $(NORMAL_TARGET_EXPORTS) \
43969 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
43970 for flag in $(EXTRA_TARGET_FLAGS); do \
43971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43972 done; \
43973 (cd $(TARGET_SUBDIR)/libssp && \
43974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43976 "RANLIB=$${RANLIB}" \
43977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43978 distclean) \
43979 || exit 1
43981 @endif target-libssp
43983 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
43984 maybe-maintainer-clean-target-libssp:
43985 @if target-libssp
43986 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
43988 maintainer-clean-target-libssp:
43989 @: $(MAKE); $(unstage)
43990 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
43991 r=`${PWD_COMMAND}`; export r; \
43992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43993 $(NORMAL_TARGET_EXPORTS) \
43994 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
43995 for flag in $(EXTRA_TARGET_FLAGS); do \
43996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43997 done; \
43998 (cd $(TARGET_SUBDIR)/libssp && \
43999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44001 "RANLIB=$${RANLIB}" \
44002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44003 maintainer-clean) \
44004 || exit 1
44006 @endif target-libssp
44012 .PHONY: configure-target-newlib maybe-configure-target-newlib
44013 maybe-configure-target-newlib:
44014 @if gcc-bootstrap
44015 configure-target-newlib: stage_current
44016 @endif gcc-bootstrap
44017 @if target-newlib
44018 maybe-configure-target-newlib: configure-target-newlib
44019 configure-target-newlib:
44020 @: $(MAKE); $(unstage)
44021 @r=`${PWD_COMMAND}`; export r; \
44022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44023 echo "Checking multilib configuration for newlib..."; \
44024 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
44025 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
44026 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
44027 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
44028 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
44029 else \
44030 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
44031 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44032 fi; \
44033 else \
44034 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44035 fi; \
44036 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
44037 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
44038 $(NORMAL_TARGET_EXPORTS) \
44039 echo Configuring in $(TARGET_SUBDIR)/newlib; \
44040 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
44041 case $(srcdir) in \
44042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44043 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
44044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44045 esac; \
44046 srcdiroption="--srcdir=$${topdir}/newlib"; \
44047 libsrcdir="$$s/newlib"; \
44048 rm -f no-such-file || : ; \
44049 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44050 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44051 --target=${target_alias} $${srcdiroption} \
44052 || exit 1
44053 @endif target-newlib
44059 .PHONY: all-target-newlib maybe-all-target-newlib
44060 maybe-all-target-newlib:
44061 @if gcc-bootstrap
44062 all-target-newlib: stage_current
44063 @endif gcc-bootstrap
44064 @if target-newlib
44065 TARGET-target-newlib=all
44066 maybe-all-target-newlib: all-target-newlib
44067 all-target-newlib: configure-target-newlib
44068 @: $(MAKE); $(unstage)
44069 @r=`${PWD_COMMAND}`; export r; \
44070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44071 $(NORMAL_TARGET_EXPORTS) \
44072 (cd $(TARGET_SUBDIR)/newlib && \
44073 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44074 $(TARGET-target-newlib))
44075 @endif target-newlib
44081 .PHONY: check-target-newlib maybe-check-target-newlib
44082 maybe-check-target-newlib:
44083 @if target-newlib
44084 maybe-check-target-newlib: check-target-newlib
44086 check-target-newlib:
44087 @: $(MAKE); $(unstage)
44088 @r=`${PWD_COMMAND}`; export r; \
44089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44090 $(NORMAL_TARGET_EXPORTS) \
44091 (cd $(TARGET_SUBDIR)/newlib && \
44092 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44094 @endif target-newlib
44096 .PHONY: install-target-newlib maybe-install-target-newlib
44097 maybe-install-target-newlib:
44098 @if target-newlib
44099 maybe-install-target-newlib: install-target-newlib
44101 install-target-newlib: installdirs
44102 @: $(MAKE); $(unstage)
44103 @r=`${PWD_COMMAND}`; export r; \
44104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44105 $(NORMAL_TARGET_EXPORTS) \
44106 (cd $(TARGET_SUBDIR)/newlib && \
44107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44109 @endif target-newlib
44111 # Other targets (info, dvi, pdf, etc.)
44113 .PHONY: maybe-info-target-newlib info-target-newlib
44114 maybe-info-target-newlib:
44115 @if target-newlib
44116 maybe-info-target-newlib: info-target-newlib
44118 info-target-newlib: \
44119 configure-target-newlib
44120 @: $(MAKE); $(unstage)
44121 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44122 r=`${PWD_COMMAND}`; export r; \
44123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44124 $(NORMAL_TARGET_EXPORTS) \
44125 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
44126 for flag in $(EXTRA_TARGET_FLAGS); do \
44127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44128 done; \
44129 (cd $(TARGET_SUBDIR)/newlib && \
44130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44132 "RANLIB=$${RANLIB}" \
44133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44134 info) \
44135 || exit 1
44137 @endif target-newlib
44139 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
44140 maybe-dvi-target-newlib:
44141 @if target-newlib
44142 maybe-dvi-target-newlib: dvi-target-newlib
44144 dvi-target-newlib: \
44145 configure-target-newlib
44146 @: $(MAKE); $(unstage)
44147 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44148 r=`${PWD_COMMAND}`; export r; \
44149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44150 $(NORMAL_TARGET_EXPORTS) \
44151 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
44152 for flag in $(EXTRA_TARGET_FLAGS); do \
44153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44154 done; \
44155 (cd $(TARGET_SUBDIR)/newlib && \
44156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44158 "RANLIB=$${RANLIB}" \
44159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44160 dvi) \
44161 || exit 1
44163 @endif target-newlib
44165 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
44166 maybe-pdf-target-newlib:
44167 @if target-newlib
44168 maybe-pdf-target-newlib: pdf-target-newlib
44170 pdf-target-newlib: \
44171 configure-target-newlib
44172 @: $(MAKE); $(unstage)
44173 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44174 r=`${PWD_COMMAND}`; export r; \
44175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44176 $(NORMAL_TARGET_EXPORTS) \
44177 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
44178 for flag in $(EXTRA_TARGET_FLAGS); do \
44179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44180 done; \
44181 (cd $(TARGET_SUBDIR)/newlib && \
44182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44184 "RANLIB=$${RANLIB}" \
44185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44186 pdf) \
44187 || exit 1
44189 @endif target-newlib
44191 .PHONY: maybe-html-target-newlib html-target-newlib
44192 maybe-html-target-newlib:
44193 @if target-newlib
44194 maybe-html-target-newlib: html-target-newlib
44196 html-target-newlib: \
44197 configure-target-newlib
44198 @: $(MAKE); $(unstage)
44199 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44200 r=`${PWD_COMMAND}`; export r; \
44201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44202 $(NORMAL_TARGET_EXPORTS) \
44203 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
44204 for flag in $(EXTRA_TARGET_FLAGS); do \
44205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44206 done; \
44207 (cd $(TARGET_SUBDIR)/newlib && \
44208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44210 "RANLIB=$${RANLIB}" \
44211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44212 html) \
44213 || exit 1
44215 @endif target-newlib
44217 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
44218 maybe-TAGS-target-newlib:
44219 @if target-newlib
44220 maybe-TAGS-target-newlib: TAGS-target-newlib
44222 TAGS-target-newlib: \
44223 configure-target-newlib
44224 @: $(MAKE); $(unstage)
44225 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44226 r=`${PWD_COMMAND}`; export r; \
44227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44228 $(NORMAL_TARGET_EXPORTS) \
44229 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
44230 for flag in $(EXTRA_TARGET_FLAGS); do \
44231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44232 done; \
44233 (cd $(TARGET_SUBDIR)/newlib && \
44234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44236 "RANLIB=$${RANLIB}" \
44237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44238 TAGS) \
44239 || exit 1
44241 @endif target-newlib
44243 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
44244 maybe-install-info-target-newlib:
44245 @if target-newlib
44246 maybe-install-info-target-newlib: install-info-target-newlib
44248 install-info-target-newlib: \
44249 configure-target-newlib \
44250 info-target-newlib
44251 @: $(MAKE); $(unstage)
44252 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44253 r=`${PWD_COMMAND}`; export r; \
44254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44255 $(NORMAL_TARGET_EXPORTS) \
44256 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
44257 for flag in $(EXTRA_TARGET_FLAGS); do \
44258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44259 done; \
44260 (cd $(TARGET_SUBDIR)/newlib && \
44261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44263 "RANLIB=$${RANLIB}" \
44264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44265 install-info) \
44266 || exit 1
44268 @endif target-newlib
44270 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
44271 maybe-install-pdf-target-newlib:
44272 @if target-newlib
44273 maybe-install-pdf-target-newlib: install-pdf-target-newlib
44275 install-pdf-target-newlib: \
44276 configure-target-newlib \
44277 pdf-target-newlib
44278 @: $(MAKE); $(unstage)
44279 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44280 r=`${PWD_COMMAND}`; export r; \
44281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44282 $(NORMAL_TARGET_EXPORTS) \
44283 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
44284 for flag in $(EXTRA_TARGET_FLAGS); do \
44285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44286 done; \
44287 (cd $(TARGET_SUBDIR)/newlib && \
44288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44290 "RANLIB=$${RANLIB}" \
44291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44292 install-pdf) \
44293 || exit 1
44295 @endif target-newlib
44297 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
44298 maybe-install-html-target-newlib:
44299 @if target-newlib
44300 maybe-install-html-target-newlib: install-html-target-newlib
44302 install-html-target-newlib: \
44303 configure-target-newlib \
44304 html-target-newlib
44305 @: $(MAKE); $(unstage)
44306 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44307 r=`${PWD_COMMAND}`; export r; \
44308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44309 $(NORMAL_TARGET_EXPORTS) \
44310 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
44311 for flag in $(EXTRA_TARGET_FLAGS); do \
44312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44313 done; \
44314 (cd $(TARGET_SUBDIR)/newlib && \
44315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44317 "RANLIB=$${RANLIB}" \
44318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44319 install-html) \
44320 || exit 1
44322 @endif target-newlib
44324 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
44325 maybe-installcheck-target-newlib:
44326 @if target-newlib
44327 maybe-installcheck-target-newlib: installcheck-target-newlib
44329 installcheck-target-newlib: \
44330 configure-target-newlib
44331 @: $(MAKE); $(unstage)
44332 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44333 r=`${PWD_COMMAND}`; export r; \
44334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44335 $(NORMAL_TARGET_EXPORTS) \
44336 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
44337 for flag in $(EXTRA_TARGET_FLAGS); do \
44338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44339 done; \
44340 (cd $(TARGET_SUBDIR)/newlib && \
44341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44343 "RANLIB=$${RANLIB}" \
44344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44345 installcheck) \
44346 || exit 1
44348 @endif target-newlib
44350 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
44351 maybe-mostlyclean-target-newlib:
44352 @if target-newlib
44353 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
44355 mostlyclean-target-newlib:
44356 @: $(MAKE); $(unstage)
44357 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44358 r=`${PWD_COMMAND}`; export r; \
44359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44360 $(NORMAL_TARGET_EXPORTS) \
44361 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
44362 for flag in $(EXTRA_TARGET_FLAGS); do \
44363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44364 done; \
44365 (cd $(TARGET_SUBDIR)/newlib && \
44366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44368 "RANLIB=$${RANLIB}" \
44369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44370 mostlyclean) \
44371 || exit 1
44373 @endif target-newlib
44375 .PHONY: maybe-clean-target-newlib clean-target-newlib
44376 maybe-clean-target-newlib:
44377 @if target-newlib
44378 maybe-clean-target-newlib: clean-target-newlib
44380 clean-target-newlib:
44381 @: $(MAKE); $(unstage)
44382 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44383 r=`${PWD_COMMAND}`; export r; \
44384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44385 $(NORMAL_TARGET_EXPORTS) \
44386 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
44387 for flag in $(EXTRA_TARGET_FLAGS); do \
44388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44389 done; \
44390 (cd $(TARGET_SUBDIR)/newlib && \
44391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44393 "RANLIB=$${RANLIB}" \
44394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44395 clean) \
44396 || exit 1
44398 @endif target-newlib
44400 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
44401 maybe-distclean-target-newlib:
44402 @if target-newlib
44403 maybe-distclean-target-newlib: distclean-target-newlib
44405 distclean-target-newlib:
44406 @: $(MAKE); $(unstage)
44407 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44408 r=`${PWD_COMMAND}`; export r; \
44409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44410 $(NORMAL_TARGET_EXPORTS) \
44411 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
44412 for flag in $(EXTRA_TARGET_FLAGS); do \
44413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44414 done; \
44415 (cd $(TARGET_SUBDIR)/newlib && \
44416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44418 "RANLIB=$${RANLIB}" \
44419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44420 distclean) \
44421 || exit 1
44423 @endif target-newlib
44425 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
44426 maybe-maintainer-clean-target-newlib:
44427 @if target-newlib
44428 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
44430 maintainer-clean-target-newlib:
44431 @: $(MAKE); $(unstage)
44432 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
44433 r=`${PWD_COMMAND}`; export r; \
44434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44435 $(NORMAL_TARGET_EXPORTS) \
44436 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
44437 for flag in $(EXTRA_TARGET_FLAGS); do \
44438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44439 done; \
44440 (cd $(TARGET_SUBDIR)/newlib && \
44441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44443 "RANLIB=$${RANLIB}" \
44444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44445 maintainer-clean) \
44446 || exit 1
44448 @endif target-newlib
44454 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
44455 maybe-configure-target-libgcc:
44456 @if gcc-bootstrap
44457 configure-target-libgcc: stage_current
44458 @endif gcc-bootstrap
44459 @if target-libgcc
44460 maybe-configure-target-libgcc: configure-target-libgcc
44461 configure-target-libgcc:
44462 @r=`${PWD_COMMAND}`; export r; \
44463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44464 echo "Checking multilib configuration for libgcc..."; \
44465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44467 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44468 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44469 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44470 else \
44471 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44472 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44473 fi; \
44474 else \
44475 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44476 fi; \
44477 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44479 $(NORMAL_TARGET_EXPORTS) \
44480 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
44481 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
44482 case $(srcdir) in \
44483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44484 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44486 esac; \
44487 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44488 libsrcdir="$$s/libgcc"; \
44489 rm -f no-such-file || : ; \
44490 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44492 --target=${target_alias} $${srcdiroption} \
44493 || exit 1
44494 @endif target-libgcc
44498 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
44499 maybe-configure-stage1-target-libgcc:
44500 @if target-libgcc-bootstrap
44501 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
44502 configure-stage1-target-libgcc:
44503 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44504 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44505 @r=`${PWD_COMMAND}`; export r; \
44506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44507 echo "Checking multilib configuration for libgcc..."; \
44508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44509 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44510 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44511 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44512 else \
44513 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44514 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44515 fi; \
44516 else \
44517 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44518 fi; \
44519 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44520 $(NORMAL_TARGET_EXPORTS) \
44521 CFLAGS="$(STAGE1_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44522 CXXFLAGS="$(STAGE1_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44523 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
44524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44525 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44526 case $(srcdir) in \
44527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44528 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44530 esac; \
44531 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44532 libsrcdir="$$s/libgcc"; \
44533 $(SHELL) $${libsrcdir}/configure \
44534 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44535 --target=${target_alias} $${srcdiroption} \
44537 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
44538 @endif target-libgcc-bootstrap
44540 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
44541 maybe-configure-stage2-target-libgcc:
44542 @if target-libgcc-bootstrap
44543 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
44544 configure-stage2-target-libgcc:
44545 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44546 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44547 @r=`${PWD_COMMAND}`; export r; \
44548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44549 echo "Checking multilib configuration for libgcc..."; \
44550 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44551 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44552 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44553 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44554 else \
44555 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44556 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44557 fi; \
44558 else \
44559 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44560 fi; \
44561 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44562 $(NORMAL_TARGET_EXPORTS) \
44564 CFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44565 CXXFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44566 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
44567 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44568 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44569 case $(srcdir) in \
44570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44571 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44573 esac; \
44574 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44575 libsrcdir="$$s/libgcc"; \
44576 $(SHELL) $${libsrcdir}/configure \
44577 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44578 --target=${target_alias} $${srcdiroption} \
44579 --with-build-libsubdir=$(HOST_SUBDIR) \
44580 @stage2_werror_flag@
44581 @endif target-libgcc-bootstrap
44583 .PHONY: configure-stageb2g0-target-libgcc maybe-configure-stageb2g0-target-libgcc
44584 maybe-configure-stageb2g0-target-libgcc:
44585 @if target-libgcc-bootstrap
44586 maybe-configure-stageb2g0-target-libgcc: configure-stageb2g0-target-libgcc
44587 configure-stageb2g0-target-libgcc:
44588 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
44589 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44590 @r=`${PWD_COMMAND}`; export r; \
44591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44592 echo "Checking multilib configuration for libgcc..."; \
44593 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44594 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44595 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44596 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44597 else \
44598 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44599 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44600 fi; \
44601 else \
44602 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44603 fi; \
44604 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44605 $(NORMAL_TARGET_EXPORTS) \
44607 CFLAGS="$(STAGE2_LIBCFLAGS) -g0 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44608 CXXFLAGS="$(STAGE2_LIBCFLAGS) -g0 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44609 echo Configuring stage b2g0 in $(TARGET_SUBDIR)/libgcc ; \
44610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44611 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44612 case $(srcdir) in \
44613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44614 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44616 esac; \
44617 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44618 libsrcdir="$$s/libgcc"; \
44619 $(SHELL) $${libsrcdir}/configure \
44620 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44621 --target=${target_alias} $${srcdiroption} \
44622 --with-build-libsubdir=$(HOST_SUBDIR) \
44623 @stage2_werror_flag@
44624 @endif target-libgcc-bootstrap
44626 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
44627 maybe-configure-stage3-target-libgcc:
44628 @if target-libgcc-bootstrap
44629 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
44630 configure-stage3-target-libgcc:
44631 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44632 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44633 @r=`${PWD_COMMAND}`; export r; \
44634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44635 echo "Checking multilib configuration for libgcc..."; \
44636 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44637 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44638 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44639 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44640 else \
44641 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44642 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44643 fi; \
44644 else \
44645 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44646 fi; \
44647 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44648 $(NORMAL_TARGET_EXPORTS) \
44650 CFLAGS="$(STAGE3_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44651 CXXFLAGS="$(STAGE3_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44652 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
44653 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44654 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44655 case $(srcdir) in \
44656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44657 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44659 esac; \
44660 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44661 libsrcdir="$$s/libgcc"; \
44662 $(SHELL) $${libsrcdir}/configure \
44663 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44664 --target=${target_alias} $${srcdiroption} \
44665 --with-build-libsubdir=$(HOST_SUBDIR) \
44666 @stage2_werror_flag@
44667 @endif target-libgcc-bootstrap
44669 .PHONY: configure-stageb3g2-target-libgcc maybe-configure-stageb3g2-target-libgcc
44670 maybe-configure-stageb3g2-target-libgcc:
44671 @if target-libgcc-bootstrap
44672 maybe-configure-stageb3g2-target-libgcc: configure-stageb3g2-target-libgcc
44673 configure-stageb3g2-target-libgcc:
44674 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
44675 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44676 @r=`${PWD_COMMAND}`; export r; \
44677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44678 echo "Checking multilib configuration for libgcc..."; \
44679 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44680 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44681 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44682 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44683 else \
44684 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44685 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44686 fi; \
44687 else \
44688 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44689 fi; \
44690 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44691 $(NORMAL_TARGET_EXPORTS) \
44693 CFLAGS="$(STAGE3_LIBCFLAGS) -g2 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44694 CXXFLAGS="$(STAGE3_LIBCFLAGS) -g2 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44695 echo Configuring stage b3g2 in $(TARGET_SUBDIR)/libgcc ; \
44696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44697 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44698 case $(srcdir) in \
44699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44700 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44702 esac; \
44703 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44704 libsrcdir="$$s/libgcc"; \
44705 $(SHELL) $${libsrcdir}/configure \
44706 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44707 --target=${target_alias} $${srcdiroption} \
44708 --with-build-libsubdir=$(HOST_SUBDIR) \
44709 @stage2_werror_flag@
44710 @endif target-libgcc-bootstrap
44712 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
44713 maybe-configure-stage4-target-libgcc:
44714 @if target-libgcc-bootstrap
44715 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
44716 configure-stage4-target-libgcc:
44717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44718 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44719 @r=`${PWD_COMMAND}`; export r; \
44720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44721 echo "Checking multilib configuration for libgcc..."; \
44722 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44723 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44724 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44725 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44726 else \
44727 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44728 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44729 fi; \
44730 else \
44731 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44732 fi; \
44733 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44734 $(NORMAL_TARGET_EXPORTS) \
44736 CFLAGS="$(STAGE4_CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44737 CXXFLAGS="$(STAGE4_CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44738 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
44739 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44740 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44741 case $(srcdir) in \
44742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44743 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44745 esac; \
44746 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44747 libsrcdir="$$s/libgcc"; \
44748 $(SHELL) $${libsrcdir}/configure \
44749 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44750 --target=${target_alias} $${srcdiroption} \
44751 --with-build-libsubdir=$(HOST_SUBDIR) \
44752 @stage2_werror_flag@
44753 @endif target-libgcc-bootstrap
44755 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
44756 maybe-configure-stageprofile-target-libgcc:
44757 @if target-libgcc-bootstrap
44758 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44759 configure-stageprofile-target-libgcc:
44760 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44761 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44762 @r=`${PWD_COMMAND}`; export r; \
44763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44764 echo "Checking multilib configuration for libgcc..."; \
44765 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44766 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44767 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44768 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44769 else \
44770 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44771 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44772 fi; \
44773 else \
44774 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44775 fi; \
44776 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44777 $(NORMAL_TARGET_EXPORTS) \
44779 CFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44780 CXXFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44781 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
44782 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44783 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44784 case $(srcdir) in \
44785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44786 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44788 esac; \
44789 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44790 libsrcdir="$$s/libgcc"; \
44791 $(SHELL) $${libsrcdir}/configure \
44792 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44793 --target=${target_alias} $${srcdiroption} \
44794 --with-build-libsubdir=$(HOST_SUBDIR) \
44795 @stage2_werror_flag@
44796 @endif target-libgcc-bootstrap
44798 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
44799 maybe-configure-stagefeedback-target-libgcc:
44800 @if target-libgcc-bootstrap
44801 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
44802 configure-stagefeedback-target-libgcc:
44803 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44804 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44805 @r=`${PWD_COMMAND}`; export r; \
44806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44807 echo "Checking multilib configuration for libgcc..."; \
44808 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
44809 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44810 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44811 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44812 else \
44813 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44814 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44815 fi; \
44816 else \
44817 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44818 fi; \
44819 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44820 $(NORMAL_TARGET_EXPORTS) \
44822 CFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
44823 CXXFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44824 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
44825 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
44826 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44827 case $(srcdir) in \
44828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44829 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44831 esac; \
44832 srcdiroption="--srcdir=$${topdir}/libgcc"; \
44833 libsrcdir="$$s/libgcc"; \
44834 $(SHELL) $${libsrcdir}/configure \
44835 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44836 --target=${target_alias} $${srcdiroption} \
44837 --with-build-libsubdir=$(HOST_SUBDIR) \
44838 @stage2_werror_flag@
44839 @endif target-libgcc-bootstrap
44845 .PHONY: all-target-libgcc maybe-all-target-libgcc
44846 maybe-all-target-libgcc:
44847 @if gcc-bootstrap
44848 all-target-libgcc: stage_current
44849 @endif gcc-bootstrap
44850 @if target-libgcc
44851 TARGET-target-libgcc=all
44852 maybe-all-target-libgcc: all-target-libgcc
44853 all-target-libgcc: configure-target-libgcc
44854 @r=`${PWD_COMMAND}`; export r; \
44855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44856 $(NORMAL_TARGET_EXPORTS) \
44857 (cd $(TARGET_SUBDIR)/libgcc && \
44858 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44859 $(TARGET-target-libgcc))
44860 @endif target-libgcc
44864 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
44865 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
44866 maybe-all-stage1-target-libgcc:
44867 maybe-clean-stage1-target-libgcc:
44868 @if target-libgcc-bootstrap
44869 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
44870 all-stage1: all-stage1-target-libgcc
44871 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
44872 all-stage1-target-libgcc: configure-stage1-target-libgcc
44873 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44874 @r=`${PWD_COMMAND}`; export r; \
44875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44876 $(NORMAL_TARGET_EXPORTS) \
44877 cd $(TARGET_SUBDIR)/libgcc && \
44878 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44879 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
44880 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
44881 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
44882 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
44883 $(TARGET-stage1-target-libgcc)
44885 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
44886 clean-stage1: clean-stage1-target-libgcc
44887 clean-stage1-target-libgcc:
44888 @if [ $(current_stage) = stage1 ]; then \
44889 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44890 else \
44891 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
44892 $(MAKE) stage1-start; \
44893 fi; \
44894 cd $(TARGET_SUBDIR)/libgcc && \
44895 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44896 clean
44897 @endif target-libgcc-bootstrap
44900 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
44901 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
44902 maybe-all-stage2-target-libgcc:
44903 maybe-clean-stage2-target-libgcc:
44904 @if target-libgcc-bootstrap
44905 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
44906 all-stage2: all-stage2-target-libgcc
44907 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
44908 all-stage2-target-libgcc: configure-stage2-target-libgcc
44909 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44910 @r=`${PWD_COMMAND}`; export r; \
44911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44912 $(NORMAL_TARGET_EXPORTS) \
44914 cd $(TARGET_SUBDIR)/libgcc && \
44915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44916 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
44917 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
44918 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
44919 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
44920 $(TARGET-stage2-target-libgcc)
44922 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
44923 clean-stage2: clean-stage2-target-libgcc
44924 clean-stage2-target-libgcc:
44925 @if [ $(current_stage) = stage2 ]; then \
44926 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44927 else \
44928 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
44929 $(MAKE) stage2-start; \
44930 fi; \
44931 cd $(TARGET_SUBDIR)/libgcc && \
44932 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44934 clean
44935 @endif target-libgcc-bootstrap
44938 .PHONY: all-stageb2g0-target-libgcc maybe-all-stageb2g0-target-libgcc
44939 .PHONY: clean-stageb2g0-target-libgcc maybe-clean-stageb2g0-target-libgcc
44940 maybe-all-stageb2g0-target-libgcc:
44941 maybe-clean-stageb2g0-target-libgcc:
44942 @if target-libgcc-bootstrap
44943 maybe-all-stageb2g0-target-libgcc: all-stageb2g0-target-libgcc
44944 all-stageb2g0: all-stageb2g0-target-libgcc
44945 TARGET-stageb2g0-target-libgcc = $(TARGET-target-libgcc)
44946 all-stageb2g0-target-libgcc: configure-stageb2g0-target-libgcc
44947 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
44948 @r=`${PWD_COMMAND}`; export r; \
44949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44950 $(NORMAL_TARGET_EXPORTS) \
44952 cd $(TARGET_SUBDIR)/libgcc && \
44953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44954 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
44955 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
44956 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
44957 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_TARGET_FLAGS) \
44958 $(TARGET-stageb2g0-target-libgcc)
44960 maybe-clean-stageb2g0-target-libgcc: clean-stageb2g0-target-libgcc
44961 clean-stageb2g0: clean-stageb2g0-target-libgcc
44962 clean-stageb2g0-target-libgcc:
44963 @if [ $(current_stage) = stageb2g0 ]; then \
44964 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44965 else \
44966 [ -f $(TARGET_SUBDIR)/stageb2g0-libgcc/Makefile ] || exit 0; \
44967 $(MAKE) stageb2g0-start; \
44968 fi; \
44969 cd $(TARGET_SUBDIR)/libgcc && \
44970 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44972 clean
44973 @endif target-libgcc-bootstrap
44976 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
44977 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
44978 maybe-all-stage3-target-libgcc:
44979 maybe-clean-stage3-target-libgcc:
44980 @if target-libgcc-bootstrap
44981 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
44982 all-stage3: all-stage3-target-libgcc
44983 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
44984 all-stage3-target-libgcc: configure-stage3-target-libgcc
44985 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44986 @r=`${PWD_COMMAND}`; export r; \
44987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44988 $(NORMAL_TARGET_EXPORTS) \
44990 cd $(TARGET_SUBDIR)/libgcc && \
44991 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44992 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
44993 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
44994 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
44995 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
44996 $(TARGET-stage3-target-libgcc)
44998 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
44999 clean-stage3: clean-stage3-target-libgcc
45000 clean-stage3-target-libgcc:
45001 @if [ $(current_stage) = stage3 ]; then \
45002 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45003 else \
45004 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
45005 $(MAKE) stage3-start; \
45006 fi; \
45007 cd $(TARGET_SUBDIR)/libgcc && \
45008 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45010 clean
45011 @endif target-libgcc-bootstrap
45014 .PHONY: all-stageb3g2-target-libgcc maybe-all-stageb3g2-target-libgcc
45015 .PHONY: clean-stageb3g2-target-libgcc maybe-clean-stageb3g2-target-libgcc
45016 maybe-all-stageb3g2-target-libgcc:
45017 maybe-clean-stageb3g2-target-libgcc:
45018 @if target-libgcc-bootstrap
45019 maybe-all-stageb3g2-target-libgcc: all-stageb3g2-target-libgcc
45020 all-stageb3g2: all-stageb3g2-target-libgcc
45021 TARGET-stageb3g2-target-libgcc = $(TARGET-target-libgcc)
45022 all-stageb3g2-target-libgcc: configure-stageb3g2-target-libgcc
45023 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
45024 @r=`${PWD_COMMAND}`; export r; \
45025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45026 $(NORMAL_TARGET_EXPORTS) \
45028 cd $(TARGET_SUBDIR)/libgcc && \
45029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45030 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
45031 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
45032 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
45033 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_TARGET_FLAGS) \
45034 $(TARGET-stageb3g2-target-libgcc)
45036 maybe-clean-stageb3g2-target-libgcc: clean-stageb3g2-target-libgcc
45037 clean-stageb3g2: clean-stageb3g2-target-libgcc
45038 clean-stageb3g2-target-libgcc:
45039 @if [ $(current_stage) = stageb3g2 ]; then \
45040 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45041 else \
45042 [ -f $(TARGET_SUBDIR)/stageb3g2-libgcc/Makefile ] || exit 0; \
45043 $(MAKE) stageb3g2-start; \
45044 fi; \
45045 cd $(TARGET_SUBDIR)/libgcc && \
45046 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45048 clean
45049 @endif target-libgcc-bootstrap
45052 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
45053 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
45054 maybe-all-stage4-target-libgcc:
45055 maybe-clean-stage4-target-libgcc:
45056 @if target-libgcc-bootstrap
45057 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
45058 all-stage4: all-stage4-target-libgcc
45059 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
45060 all-stage4-target-libgcc: configure-stage4-target-libgcc
45061 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45062 @r=`${PWD_COMMAND}`; export r; \
45063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45064 $(NORMAL_TARGET_EXPORTS) \
45066 cd $(TARGET_SUBDIR)/libgcc && \
45067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45068 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
45069 LIBCFLAGS="$(STAGE4_CFLAGS)" \
45070 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
45071 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_TARGET_FLAGS) \
45072 $(TARGET-stage4-target-libgcc)
45074 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
45075 clean-stage4: clean-stage4-target-libgcc
45076 clean-stage4-target-libgcc:
45077 @if [ $(current_stage) = stage4 ]; then \
45078 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45079 else \
45080 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
45081 $(MAKE) stage4-start; \
45082 fi; \
45083 cd $(TARGET_SUBDIR)/libgcc && \
45084 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45086 clean
45087 @endif target-libgcc-bootstrap
45090 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
45091 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
45092 maybe-all-stageprofile-target-libgcc:
45093 maybe-clean-stageprofile-target-libgcc:
45094 @if target-libgcc-bootstrap
45095 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
45096 all-stageprofile: all-stageprofile-target-libgcc
45097 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
45098 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45099 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45100 @r=`${PWD_COMMAND}`; export r; \
45101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45102 $(NORMAL_TARGET_EXPORTS) \
45104 cd $(TARGET_SUBDIR)/libgcc && \
45105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45106 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
45107 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
45108 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
45109 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
45110 $(TARGET-stageprofile-target-libgcc)
45112 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
45113 clean-stageprofile: clean-stageprofile-target-libgcc
45114 clean-stageprofile-target-libgcc:
45115 @if [ $(current_stage) = stageprofile ]; then \
45116 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45117 else \
45118 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
45119 $(MAKE) stageprofile-start; \
45120 fi; \
45121 cd $(TARGET_SUBDIR)/libgcc && \
45122 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45124 clean
45125 @endif target-libgcc-bootstrap
45128 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
45129 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
45130 maybe-all-stagefeedback-target-libgcc:
45131 maybe-clean-stagefeedback-target-libgcc:
45132 @if target-libgcc-bootstrap
45133 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
45134 all-stagefeedback: all-stagefeedback-target-libgcc
45135 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
45136 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45137 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45138 @r=`${PWD_COMMAND}`; export r; \
45139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45140 $(NORMAL_TARGET_EXPORTS) \
45142 cd $(TARGET_SUBDIR)/libgcc && \
45143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45144 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
45145 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
45146 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
45147 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_TARGET_FLAGS) \
45148 $(TARGET-stagefeedback-target-libgcc)
45150 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
45151 clean-stagefeedback: clean-stagefeedback-target-libgcc
45152 clean-stagefeedback-target-libgcc:
45153 @if [ $(current_stage) = stagefeedback ]; then \
45154 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45155 else \
45156 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
45157 $(MAKE) stagefeedback-start; \
45158 fi; \
45159 cd $(TARGET_SUBDIR)/libgcc && \
45160 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45162 clean
45163 @endif target-libgcc-bootstrap
45170 .PHONY: check-target-libgcc maybe-check-target-libgcc
45171 maybe-check-target-libgcc:
45172 @if target-libgcc
45173 maybe-check-target-libgcc: check-target-libgcc
45175 # Dummy target for uncheckable module.
45176 check-target-libgcc:
45178 @endif target-libgcc
45180 .PHONY: install-target-libgcc maybe-install-target-libgcc
45181 maybe-install-target-libgcc:
45182 @if target-libgcc
45183 maybe-install-target-libgcc: install-target-libgcc
45185 install-target-libgcc: installdirs
45186 @: $(MAKE); $(unstage)
45187 @r=`${PWD_COMMAND}`; export r; \
45188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45189 $(NORMAL_TARGET_EXPORTS) \
45190 (cd $(TARGET_SUBDIR)/libgcc && \
45191 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45193 @endif target-libgcc
45195 # Other targets (info, dvi, pdf, etc.)
45197 .PHONY: maybe-info-target-libgcc info-target-libgcc
45198 maybe-info-target-libgcc:
45199 @if target-libgcc
45200 maybe-info-target-libgcc: info-target-libgcc
45202 info-target-libgcc: \
45203 configure-target-libgcc
45204 @: $(MAKE); $(unstage)
45205 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45206 r=`${PWD_COMMAND}`; export r; \
45207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45208 $(NORMAL_TARGET_EXPORTS) \
45209 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
45210 for flag in $(EXTRA_TARGET_FLAGS); do \
45211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45212 done; \
45213 (cd $(TARGET_SUBDIR)/libgcc && \
45214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45216 "RANLIB=$${RANLIB}" \
45217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45218 info) \
45219 || exit 1
45221 @endif target-libgcc
45223 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
45224 maybe-dvi-target-libgcc:
45225 @if target-libgcc
45226 maybe-dvi-target-libgcc: dvi-target-libgcc
45228 dvi-target-libgcc: \
45229 configure-target-libgcc
45230 @: $(MAKE); $(unstage)
45231 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45232 r=`${PWD_COMMAND}`; export r; \
45233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45234 $(NORMAL_TARGET_EXPORTS) \
45235 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
45236 for flag in $(EXTRA_TARGET_FLAGS); do \
45237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45238 done; \
45239 (cd $(TARGET_SUBDIR)/libgcc && \
45240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45242 "RANLIB=$${RANLIB}" \
45243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45244 dvi) \
45245 || exit 1
45247 @endif target-libgcc
45249 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
45250 maybe-pdf-target-libgcc:
45251 @if target-libgcc
45252 maybe-pdf-target-libgcc: pdf-target-libgcc
45254 pdf-target-libgcc: \
45255 configure-target-libgcc
45256 @: $(MAKE); $(unstage)
45257 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45258 r=`${PWD_COMMAND}`; export r; \
45259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45260 $(NORMAL_TARGET_EXPORTS) \
45261 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
45262 for flag in $(EXTRA_TARGET_FLAGS); do \
45263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45264 done; \
45265 (cd $(TARGET_SUBDIR)/libgcc && \
45266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45268 "RANLIB=$${RANLIB}" \
45269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45270 pdf) \
45271 || exit 1
45273 @endif target-libgcc
45275 .PHONY: maybe-html-target-libgcc html-target-libgcc
45276 maybe-html-target-libgcc:
45277 @if target-libgcc
45278 maybe-html-target-libgcc: html-target-libgcc
45280 html-target-libgcc: \
45281 configure-target-libgcc
45282 @: $(MAKE); $(unstage)
45283 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45284 r=`${PWD_COMMAND}`; export r; \
45285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45286 $(NORMAL_TARGET_EXPORTS) \
45287 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
45288 for flag in $(EXTRA_TARGET_FLAGS); do \
45289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45290 done; \
45291 (cd $(TARGET_SUBDIR)/libgcc && \
45292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45294 "RANLIB=$${RANLIB}" \
45295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45296 html) \
45297 || exit 1
45299 @endif target-libgcc
45301 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
45302 maybe-TAGS-target-libgcc:
45303 @if target-libgcc
45304 maybe-TAGS-target-libgcc: TAGS-target-libgcc
45306 TAGS-target-libgcc: \
45307 configure-target-libgcc
45308 @: $(MAKE); $(unstage)
45309 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45310 r=`${PWD_COMMAND}`; export r; \
45311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45312 $(NORMAL_TARGET_EXPORTS) \
45313 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
45314 for flag in $(EXTRA_TARGET_FLAGS); do \
45315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45316 done; \
45317 (cd $(TARGET_SUBDIR)/libgcc && \
45318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45320 "RANLIB=$${RANLIB}" \
45321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45322 TAGS) \
45323 || exit 1
45325 @endif target-libgcc
45327 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
45328 maybe-install-info-target-libgcc:
45329 @if target-libgcc
45330 maybe-install-info-target-libgcc: install-info-target-libgcc
45332 install-info-target-libgcc: \
45333 configure-target-libgcc \
45334 info-target-libgcc
45335 @: $(MAKE); $(unstage)
45336 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45337 r=`${PWD_COMMAND}`; export r; \
45338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45339 $(NORMAL_TARGET_EXPORTS) \
45340 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
45341 for flag in $(EXTRA_TARGET_FLAGS); do \
45342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45343 done; \
45344 (cd $(TARGET_SUBDIR)/libgcc && \
45345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45347 "RANLIB=$${RANLIB}" \
45348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45349 install-info) \
45350 || exit 1
45352 @endif target-libgcc
45354 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
45355 maybe-install-pdf-target-libgcc:
45356 @if target-libgcc
45357 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
45359 install-pdf-target-libgcc: \
45360 configure-target-libgcc \
45361 pdf-target-libgcc
45362 @: $(MAKE); $(unstage)
45363 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45364 r=`${PWD_COMMAND}`; export r; \
45365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45366 $(NORMAL_TARGET_EXPORTS) \
45367 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
45368 for flag in $(EXTRA_TARGET_FLAGS); do \
45369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45370 done; \
45371 (cd $(TARGET_SUBDIR)/libgcc && \
45372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45374 "RANLIB=$${RANLIB}" \
45375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45376 install-pdf) \
45377 || exit 1
45379 @endif target-libgcc
45381 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
45382 maybe-install-html-target-libgcc:
45383 @if target-libgcc
45384 maybe-install-html-target-libgcc: install-html-target-libgcc
45386 install-html-target-libgcc: \
45387 configure-target-libgcc \
45388 html-target-libgcc
45389 @: $(MAKE); $(unstage)
45390 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45391 r=`${PWD_COMMAND}`; export r; \
45392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45393 $(NORMAL_TARGET_EXPORTS) \
45394 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
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)/libgcc && \
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 install-html) \
45404 || exit 1
45406 @endif target-libgcc
45408 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
45409 maybe-installcheck-target-libgcc:
45410 @if target-libgcc
45411 maybe-installcheck-target-libgcc: installcheck-target-libgcc
45413 installcheck-target-libgcc: \
45414 configure-target-libgcc
45415 @: $(MAKE); $(unstage)
45416 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45417 r=`${PWD_COMMAND}`; export r; \
45418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45419 $(NORMAL_TARGET_EXPORTS) \
45420 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
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)/libgcc && \
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 installcheck) \
45430 || exit 1
45432 @endif target-libgcc
45434 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
45435 maybe-mostlyclean-target-libgcc:
45436 @if target-libgcc
45437 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
45439 mostlyclean-target-libgcc:
45440 @: $(MAKE); $(unstage)
45441 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45442 r=`${PWD_COMMAND}`; export r; \
45443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45444 $(NORMAL_TARGET_EXPORTS) \
45445 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
45446 for flag in $(EXTRA_TARGET_FLAGS); do \
45447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45448 done; \
45449 (cd $(TARGET_SUBDIR)/libgcc && \
45450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45452 "RANLIB=$${RANLIB}" \
45453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45454 mostlyclean) \
45455 || exit 1
45457 @endif target-libgcc
45459 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
45460 maybe-clean-target-libgcc:
45461 @if target-libgcc
45462 maybe-clean-target-libgcc: clean-target-libgcc
45464 clean-target-libgcc:
45465 @: $(MAKE); $(unstage)
45466 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45467 r=`${PWD_COMMAND}`; export r; \
45468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45469 $(NORMAL_TARGET_EXPORTS) \
45470 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
45471 for flag in $(EXTRA_TARGET_FLAGS); do \
45472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45473 done; \
45474 (cd $(TARGET_SUBDIR)/libgcc && \
45475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45477 "RANLIB=$${RANLIB}" \
45478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45479 clean) \
45480 || exit 1
45482 @endif target-libgcc
45484 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
45485 maybe-distclean-target-libgcc:
45486 @if target-libgcc
45487 maybe-distclean-target-libgcc: distclean-target-libgcc
45489 distclean-target-libgcc:
45490 @: $(MAKE); $(unstage)
45491 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45492 r=`${PWD_COMMAND}`; export r; \
45493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45494 $(NORMAL_TARGET_EXPORTS) \
45495 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
45496 for flag in $(EXTRA_TARGET_FLAGS); do \
45497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45498 done; \
45499 (cd $(TARGET_SUBDIR)/libgcc && \
45500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45502 "RANLIB=$${RANLIB}" \
45503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45504 distclean) \
45505 || exit 1
45507 @endif target-libgcc
45509 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
45510 maybe-maintainer-clean-target-libgcc:
45511 @if target-libgcc
45512 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
45514 maintainer-clean-target-libgcc:
45515 @: $(MAKE); $(unstage)
45516 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
45517 r=`${PWD_COMMAND}`; export r; \
45518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45519 $(NORMAL_TARGET_EXPORTS) \
45520 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
45521 for flag in $(EXTRA_TARGET_FLAGS); do \
45522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45523 done; \
45524 (cd $(TARGET_SUBDIR)/libgcc && \
45525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45527 "RANLIB=$${RANLIB}" \
45528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45529 maintainer-clean) \
45530 || exit 1
45532 @endif target-libgcc
45538 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
45539 maybe-configure-target-libgfortran:
45540 @if gcc-bootstrap
45541 configure-target-libgfortran: stage_current
45542 @endif gcc-bootstrap
45543 @if target-libgfortran
45544 maybe-configure-target-libgfortran: configure-target-libgfortran
45545 configure-target-libgfortran:
45546 @: $(MAKE); $(unstage)
45547 @r=`${PWD_COMMAND}`; export r; \
45548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45549 echo "Checking multilib configuration for libgfortran..."; \
45550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
45551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
45552 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45553 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45554 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
45555 else \
45556 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
45557 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45558 fi; \
45559 else \
45560 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45561 fi; \
45562 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
45563 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
45564 $(NORMAL_TARGET_EXPORTS) \
45565 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
45566 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
45567 case $(srcdir) in \
45568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45569 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
45570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45571 esac; \
45572 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
45573 libsrcdir="$$s/libgfortran"; \
45574 rm -f no-such-file || : ; \
45575 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45576 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45577 --target=${target_alias} $${srcdiroption} \
45578 || exit 1
45579 @endif target-libgfortran
45585 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
45586 maybe-all-target-libgfortran:
45587 @if gcc-bootstrap
45588 all-target-libgfortran: stage_current
45589 @endif gcc-bootstrap
45590 @if target-libgfortran
45591 TARGET-target-libgfortran=all
45592 maybe-all-target-libgfortran: all-target-libgfortran
45593 all-target-libgfortran: configure-target-libgfortran
45594 @: $(MAKE); $(unstage)
45595 @r=`${PWD_COMMAND}`; export r; \
45596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45597 $(NORMAL_TARGET_EXPORTS) \
45598 (cd $(TARGET_SUBDIR)/libgfortran && \
45599 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45600 $(TARGET-target-libgfortran))
45601 @endif target-libgfortran
45607 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
45608 maybe-check-target-libgfortran:
45609 @if target-libgfortran
45610 maybe-check-target-libgfortran: check-target-libgfortran
45612 check-target-libgfortran:
45613 @: $(MAKE); $(unstage)
45614 @r=`${PWD_COMMAND}`; export r; \
45615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45616 $(NORMAL_TARGET_EXPORTS) \
45617 (cd $(TARGET_SUBDIR)/libgfortran && \
45618 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45620 @endif target-libgfortran
45622 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
45623 maybe-install-target-libgfortran:
45624 @if target-libgfortran
45625 maybe-install-target-libgfortran: install-target-libgfortran
45627 install-target-libgfortran: installdirs
45628 @: $(MAKE); $(unstage)
45629 @r=`${PWD_COMMAND}`; export r; \
45630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45631 $(NORMAL_TARGET_EXPORTS) \
45632 (cd $(TARGET_SUBDIR)/libgfortran && \
45633 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45635 @endif target-libgfortran
45637 # Other targets (info, dvi, pdf, etc.)
45639 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
45640 maybe-info-target-libgfortran:
45641 @if target-libgfortran
45642 maybe-info-target-libgfortran: info-target-libgfortran
45644 info-target-libgfortran: \
45645 configure-target-libgfortran
45646 @: $(MAKE); $(unstage)
45647 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45648 r=`${PWD_COMMAND}`; export r; \
45649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45650 $(NORMAL_TARGET_EXPORTS) \
45651 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
45652 for flag in $(EXTRA_TARGET_FLAGS); do \
45653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45654 done; \
45655 (cd $(TARGET_SUBDIR)/libgfortran && \
45656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45658 "RANLIB=$${RANLIB}" \
45659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45660 info) \
45661 || exit 1
45663 @endif target-libgfortran
45665 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
45666 maybe-dvi-target-libgfortran:
45667 @if target-libgfortran
45668 maybe-dvi-target-libgfortran: dvi-target-libgfortran
45670 dvi-target-libgfortran: \
45671 configure-target-libgfortran
45672 @: $(MAKE); $(unstage)
45673 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45674 r=`${PWD_COMMAND}`; export r; \
45675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45676 $(NORMAL_TARGET_EXPORTS) \
45677 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
45678 for flag in $(EXTRA_TARGET_FLAGS); do \
45679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45680 done; \
45681 (cd $(TARGET_SUBDIR)/libgfortran && \
45682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45684 "RANLIB=$${RANLIB}" \
45685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45686 dvi) \
45687 || exit 1
45689 @endif target-libgfortran
45691 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
45692 maybe-pdf-target-libgfortran:
45693 @if target-libgfortran
45694 maybe-pdf-target-libgfortran: pdf-target-libgfortran
45696 pdf-target-libgfortran: \
45697 configure-target-libgfortran
45698 @: $(MAKE); $(unstage)
45699 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45700 r=`${PWD_COMMAND}`; export r; \
45701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45702 $(NORMAL_TARGET_EXPORTS) \
45703 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
45704 for flag in $(EXTRA_TARGET_FLAGS); do \
45705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45706 done; \
45707 (cd $(TARGET_SUBDIR)/libgfortran && \
45708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45710 "RANLIB=$${RANLIB}" \
45711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45712 pdf) \
45713 || exit 1
45715 @endif target-libgfortran
45717 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
45718 maybe-html-target-libgfortran:
45719 @if target-libgfortran
45720 maybe-html-target-libgfortran: html-target-libgfortran
45722 html-target-libgfortran: \
45723 configure-target-libgfortran
45724 @: $(MAKE); $(unstage)
45725 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45726 r=`${PWD_COMMAND}`; export r; \
45727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45728 $(NORMAL_TARGET_EXPORTS) \
45729 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
45730 for flag in $(EXTRA_TARGET_FLAGS); do \
45731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45732 done; \
45733 (cd $(TARGET_SUBDIR)/libgfortran && \
45734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45736 "RANLIB=$${RANLIB}" \
45737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45738 html) \
45739 || exit 1
45741 @endif target-libgfortran
45743 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
45744 maybe-TAGS-target-libgfortran:
45745 @if target-libgfortran
45746 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
45748 TAGS-target-libgfortran: \
45749 configure-target-libgfortran
45750 @: $(MAKE); $(unstage)
45751 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45752 r=`${PWD_COMMAND}`; export r; \
45753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45754 $(NORMAL_TARGET_EXPORTS) \
45755 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
45756 for flag in $(EXTRA_TARGET_FLAGS); do \
45757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45758 done; \
45759 (cd $(TARGET_SUBDIR)/libgfortran && \
45760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45762 "RANLIB=$${RANLIB}" \
45763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45764 TAGS) \
45765 || exit 1
45767 @endif target-libgfortran
45769 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
45770 maybe-install-info-target-libgfortran:
45771 @if target-libgfortran
45772 maybe-install-info-target-libgfortran: install-info-target-libgfortran
45774 install-info-target-libgfortran: \
45775 configure-target-libgfortran \
45776 info-target-libgfortran
45777 @: $(MAKE); $(unstage)
45778 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45779 r=`${PWD_COMMAND}`; export r; \
45780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45781 $(NORMAL_TARGET_EXPORTS) \
45782 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
45783 for flag in $(EXTRA_TARGET_FLAGS); do \
45784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45785 done; \
45786 (cd $(TARGET_SUBDIR)/libgfortran && \
45787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45789 "RANLIB=$${RANLIB}" \
45790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45791 install-info) \
45792 || exit 1
45794 @endif target-libgfortran
45796 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45797 maybe-install-pdf-target-libgfortran:
45798 @if target-libgfortran
45799 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45801 install-pdf-target-libgfortran: \
45802 configure-target-libgfortran \
45803 pdf-target-libgfortran
45804 @: $(MAKE); $(unstage)
45805 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45806 r=`${PWD_COMMAND}`; export r; \
45807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45808 $(NORMAL_TARGET_EXPORTS) \
45809 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
45810 for flag in $(EXTRA_TARGET_FLAGS); do \
45811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45812 done; \
45813 (cd $(TARGET_SUBDIR)/libgfortran && \
45814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45816 "RANLIB=$${RANLIB}" \
45817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45818 install-pdf) \
45819 || exit 1
45821 @endif target-libgfortran
45823 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45824 maybe-install-html-target-libgfortran:
45825 @if target-libgfortran
45826 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45828 install-html-target-libgfortran: \
45829 configure-target-libgfortran \
45830 html-target-libgfortran
45831 @: $(MAKE); $(unstage)
45832 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45833 r=`${PWD_COMMAND}`; export r; \
45834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45835 $(NORMAL_TARGET_EXPORTS) \
45836 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
45837 for flag in $(EXTRA_TARGET_FLAGS); do \
45838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45839 done; \
45840 (cd $(TARGET_SUBDIR)/libgfortran && \
45841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45843 "RANLIB=$${RANLIB}" \
45844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45845 install-html) \
45846 || exit 1
45848 @endif target-libgfortran
45850 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45851 maybe-installcheck-target-libgfortran:
45852 @if target-libgfortran
45853 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45855 installcheck-target-libgfortran: \
45856 configure-target-libgfortran
45857 @: $(MAKE); $(unstage)
45858 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45859 r=`${PWD_COMMAND}`; export r; \
45860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45861 $(NORMAL_TARGET_EXPORTS) \
45862 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
45863 for flag in $(EXTRA_TARGET_FLAGS); do \
45864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45865 done; \
45866 (cd $(TARGET_SUBDIR)/libgfortran && \
45867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45869 "RANLIB=$${RANLIB}" \
45870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45871 installcheck) \
45872 || exit 1
45874 @endif target-libgfortran
45876 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45877 maybe-mostlyclean-target-libgfortran:
45878 @if target-libgfortran
45879 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45881 mostlyclean-target-libgfortran:
45882 @: $(MAKE); $(unstage)
45883 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45884 r=`${PWD_COMMAND}`; export r; \
45885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45886 $(NORMAL_TARGET_EXPORTS) \
45887 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
45888 for flag in $(EXTRA_TARGET_FLAGS); do \
45889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45890 done; \
45891 (cd $(TARGET_SUBDIR)/libgfortran && \
45892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45894 "RANLIB=$${RANLIB}" \
45895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45896 mostlyclean) \
45897 || exit 1
45899 @endif target-libgfortran
45901 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45902 maybe-clean-target-libgfortran:
45903 @if target-libgfortran
45904 maybe-clean-target-libgfortran: clean-target-libgfortran
45906 clean-target-libgfortran:
45907 @: $(MAKE); $(unstage)
45908 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45909 r=`${PWD_COMMAND}`; export r; \
45910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45911 $(NORMAL_TARGET_EXPORTS) \
45912 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
45913 for flag in $(EXTRA_TARGET_FLAGS); do \
45914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45915 done; \
45916 (cd $(TARGET_SUBDIR)/libgfortran && \
45917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45919 "RANLIB=$${RANLIB}" \
45920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45921 clean) \
45922 || exit 1
45924 @endif target-libgfortran
45926 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45927 maybe-distclean-target-libgfortran:
45928 @if target-libgfortran
45929 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45931 distclean-target-libgfortran:
45932 @: $(MAKE); $(unstage)
45933 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45934 r=`${PWD_COMMAND}`; export r; \
45935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45936 $(NORMAL_TARGET_EXPORTS) \
45937 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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 distclean) \
45947 || exit 1
45949 @endif target-libgfortran
45951 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45952 maybe-maintainer-clean-target-libgfortran:
45953 @if target-libgfortran
45954 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45956 maintainer-clean-target-libgfortran:
45957 @: $(MAKE); $(unstage)
45958 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
45959 r=`${PWD_COMMAND}`; export r; \
45960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45961 $(NORMAL_TARGET_EXPORTS) \
45962 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
45963 for flag in $(EXTRA_TARGET_FLAGS); do \
45964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45965 done; \
45966 (cd $(TARGET_SUBDIR)/libgfortran && \
45967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45969 "RANLIB=$${RANLIB}" \
45970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45971 maintainer-clean) \
45972 || exit 1
45974 @endif target-libgfortran
45980 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45981 maybe-configure-target-libobjc:
45982 @if gcc-bootstrap
45983 configure-target-libobjc: stage_current
45984 @endif gcc-bootstrap
45985 @if target-libobjc
45986 maybe-configure-target-libobjc: configure-target-libobjc
45987 configure-target-libobjc:
45988 @: $(MAKE); $(unstage)
45989 @r=`${PWD_COMMAND}`; export r; \
45990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45991 echo "Checking multilib configuration for libobjc..."; \
45992 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
45993 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
45994 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45995 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45996 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45997 else \
45998 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45999 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46000 fi; \
46001 else \
46002 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46003 fi; \
46004 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
46005 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
46006 $(NORMAL_TARGET_EXPORTS) \
46007 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
46008 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
46009 case $(srcdir) in \
46010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46011 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
46012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46013 esac; \
46014 srcdiroption="--srcdir=$${topdir}/libobjc"; \
46015 libsrcdir="$$s/libobjc"; \
46016 rm -f no-such-file || : ; \
46017 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46018 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46019 --target=${target_alias} $${srcdiroption} \
46020 || exit 1
46021 @endif target-libobjc
46027 .PHONY: all-target-libobjc maybe-all-target-libobjc
46028 maybe-all-target-libobjc:
46029 @if gcc-bootstrap
46030 all-target-libobjc: stage_current
46031 @endif gcc-bootstrap
46032 @if target-libobjc
46033 TARGET-target-libobjc=all
46034 maybe-all-target-libobjc: all-target-libobjc
46035 all-target-libobjc: configure-target-libobjc
46036 @: $(MAKE); $(unstage)
46037 @r=`${PWD_COMMAND}`; export r; \
46038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46039 $(NORMAL_TARGET_EXPORTS) \
46040 (cd $(TARGET_SUBDIR)/libobjc && \
46041 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46042 $(TARGET-target-libobjc))
46043 @endif target-libobjc
46049 .PHONY: check-target-libobjc maybe-check-target-libobjc
46050 maybe-check-target-libobjc:
46051 @if target-libobjc
46052 maybe-check-target-libobjc: check-target-libobjc
46054 check-target-libobjc:
46055 @: $(MAKE); $(unstage)
46056 @r=`${PWD_COMMAND}`; export r; \
46057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46058 $(NORMAL_TARGET_EXPORTS) \
46059 (cd $(TARGET_SUBDIR)/libobjc && \
46060 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46062 @endif target-libobjc
46064 .PHONY: install-target-libobjc maybe-install-target-libobjc
46065 maybe-install-target-libobjc:
46066 @if target-libobjc
46067 maybe-install-target-libobjc: install-target-libobjc
46069 install-target-libobjc: installdirs
46070 @: $(MAKE); $(unstage)
46071 @r=`${PWD_COMMAND}`; export r; \
46072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46073 $(NORMAL_TARGET_EXPORTS) \
46074 (cd $(TARGET_SUBDIR)/libobjc && \
46075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46077 @endif target-libobjc
46079 # Other targets (info, dvi, pdf, etc.)
46081 .PHONY: maybe-info-target-libobjc info-target-libobjc
46082 maybe-info-target-libobjc:
46083 @if target-libobjc
46084 maybe-info-target-libobjc: info-target-libobjc
46086 info-target-libobjc: \
46087 configure-target-libobjc
46088 @: $(MAKE); $(unstage)
46089 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46090 r=`${PWD_COMMAND}`; export r; \
46091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46092 $(NORMAL_TARGET_EXPORTS) \
46093 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
46094 for flag in $(EXTRA_TARGET_FLAGS); do \
46095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46096 done; \
46097 (cd $(TARGET_SUBDIR)/libobjc && \
46098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46100 "RANLIB=$${RANLIB}" \
46101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46102 info) \
46103 || exit 1
46105 @endif target-libobjc
46107 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
46108 maybe-dvi-target-libobjc:
46109 @if target-libobjc
46110 maybe-dvi-target-libobjc: dvi-target-libobjc
46112 dvi-target-libobjc: \
46113 configure-target-libobjc
46114 @: $(MAKE); $(unstage)
46115 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46116 r=`${PWD_COMMAND}`; export r; \
46117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46118 $(NORMAL_TARGET_EXPORTS) \
46119 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
46120 for flag in $(EXTRA_TARGET_FLAGS); do \
46121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46122 done; \
46123 (cd $(TARGET_SUBDIR)/libobjc && \
46124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46126 "RANLIB=$${RANLIB}" \
46127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46128 dvi) \
46129 || exit 1
46131 @endif target-libobjc
46133 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
46134 maybe-pdf-target-libobjc:
46135 @if target-libobjc
46136 maybe-pdf-target-libobjc: pdf-target-libobjc
46138 pdf-target-libobjc: \
46139 configure-target-libobjc
46140 @: $(MAKE); $(unstage)
46141 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46142 r=`${PWD_COMMAND}`; export r; \
46143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46144 $(NORMAL_TARGET_EXPORTS) \
46145 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
46146 for flag in $(EXTRA_TARGET_FLAGS); do \
46147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46148 done; \
46149 (cd $(TARGET_SUBDIR)/libobjc && \
46150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46152 "RANLIB=$${RANLIB}" \
46153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46154 pdf) \
46155 || exit 1
46157 @endif target-libobjc
46159 .PHONY: maybe-html-target-libobjc html-target-libobjc
46160 maybe-html-target-libobjc:
46161 @if target-libobjc
46162 maybe-html-target-libobjc: html-target-libobjc
46164 html-target-libobjc: \
46165 configure-target-libobjc
46166 @: $(MAKE); $(unstage)
46167 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46168 r=`${PWD_COMMAND}`; export r; \
46169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46170 $(NORMAL_TARGET_EXPORTS) \
46171 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
46172 for flag in $(EXTRA_TARGET_FLAGS); do \
46173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46174 done; \
46175 (cd $(TARGET_SUBDIR)/libobjc && \
46176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46178 "RANLIB=$${RANLIB}" \
46179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46180 html) \
46181 || exit 1
46183 @endif target-libobjc
46185 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
46186 maybe-TAGS-target-libobjc:
46187 @if target-libobjc
46188 maybe-TAGS-target-libobjc: TAGS-target-libobjc
46190 TAGS-target-libobjc: \
46191 configure-target-libobjc
46192 @: $(MAKE); $(unstage)
46193 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46194 r=`${PWD_COMMAND}`; export r; \
46195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46196 $(NORMAL_TARGET_EXPORTS) \
46197 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
46198 for flag in $(EXTRA_TARGET_FLAGS); do \
46199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46200 done; \
46201 (cd $(TARGET_SUBDIR)/libobjc && \
46202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46204 "RANLIB=$${RANLIB}" \
46205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46206 TAGS) \
46207 || exit 1
46209 @endif target-libobjc
46211 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
46212 maybe-install-info-target-libobjc:
46213 @if target-libobjc
46214 maybe-install-info-target-libobjc: install-info-target-libobjc
46216 install-info-target-libobjc: \
46217 configure-target-libobjc \
46218 info-target-libobjc
46219 @: $(MAKE); $(unstage)
46220 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46221 r=`${PWD_COMMAND}`; export r; \
46222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46223 $(NORMAL_TARGET_EXPORTS) \
46224 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
46225 for flag in $(EXTRA_TARGET_FLAGS); do \
46226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46227 done; \
46228 (cd $(TARGET_SUBDIR)/libobjc && \
46229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46231 "RANLIB=$${RANLIB}" \
46232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46233 install-info) \
46234 || exit 1
46236 @endif target-libobjc
46238 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
46239 maybe-install-pdf-target-libobjc:
46240 @if target-libobjc
46241 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
46243 install-pdf-target-libobjc: \
46244 configure-target-libobjc \
46245 pdf-target-libobjc
46246 @: $(MAKE); $(unstage)
46247 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46248 r=`${PWD_COMMAND}`; export r; \
46249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46250 $(NORMAL_TARGET_EXPORTS) \
46251 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
46252 for flag in $(EXTRA_TARGET_FLAGS); do \
46253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46254 done; \
46255 (cd $(TARGET_SUBDIR)/libobjc && \
46256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46258 "RANLIB=$${RANLIB}" \
46259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46260 install-pdf) \
46261 || exit 1
46263 @endif target-libobjc
46265 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
46266 maybe-install-html-target-libobjc:
46267 @if target-libobjc
46268 maybe-install-html-target-libobjc: install-html-target-libobjc
46270 install-html-target-libobjc: \
46271 configure-target-libobjc \
46272 html-target-libobjc
46273 @: $(MAKE); $(unstage)
46274 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46275 r=`${PWD_COMMAND}`; export r; \
46276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46277 $(NORMAL_TARGET_EXPORTS) \
46278 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
46279 for flag in $(EXTRA_TARGET_FLAGS); do \
46280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46281 done; \
46282 (cd $(TARGET_SUBDIR)/libobjc && \
46283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46285 "RANLIB=$${RANLIB}" \
46286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46287 install-html) \
46288 || exit 1
46290 @endif target-libobjc
46292 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
46293 maybe-installcheck-target-libobjc:
46294 @if target-libobjc
46295 maybe-installcheck-target-libobjc: installcheck-target-libobjc
46297 installcheck-target-libobjc: \
46298 configure-target-libobjc
46299 @: $(MAKE); $(unstage)
46300 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46301 r=`${PWD_COMMAND}`; export r; \
46302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46303 $(NORMAL_TARGET_EXPORTS) \
46304 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
46305 for flag in $(EXTRA_TARGET_FLAGS); do \
46306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46307 done; \
46308 (cd $(TARGET_SUBDIR)/libobjc && \
46309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46311 "RANLIB=$${RANLIB}" \
46312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46313 installcheck) \
46314 || exit 1
46316 @endif target-libobjc
46318 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
46319 maybe-mostlyclean-target-libobjc:
46320 @if target-libobjc
46321 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
46323 mostlyclean-target-libobjc:
46324 @: $(MAKE); $(unstage)
46325 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46326 r=`${PWD_COMMAND}`; export r; \
46327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46328 $(NORMAL_TARGET_EXPORTS) \
46329 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
46330 for flag in $(EXTRA_TARGET_FLAGS); do \
46331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46332 done; \
46333 (cd $(TARGET_SUBDIR)/libobjc && \
46334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46336 "RANLIB=$${RANLIB}" \
46337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46338 mostlyclean) \
46339 || exit 1
46341 @endif target-libobjc
46343 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
46344 maybe-clean-target-libobjc:
46345 @if target-libobjc
46346 maybe-clean-target-libobjc: clean-target-libobjc
46348 clean-target-libobjc:
46349 @: $(MAKE); $(unstage)
46350 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46351 r=`${PWD_COMMAND}`; export r; \
46352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46353 $(NORMAL_TARGET_EXPORTS) \
46354 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
46355 for flag in $(EXTRA_TARGET_FLAGS); do \
46356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46357 done; \
46358 (cd $(TARGET_SUBDIR)/libobjc && \
46359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46361 "RANLIB=$${RANLIB}" \
46362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46363 clean) \
46364 || exit 1
46366 @endif target-libobjc
46368 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
46369 maybe-distclean-target-libobjc:
46370 @if target-libobjc
46371 maybe-distclean-target-libobjc: distclean-target-libobjc
46373 distclean-target-libobjc:
46374 @: $(MAKE); $(unstage)
46375 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46376 r=`${PWD_COMMAND}`; export r; \
46377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46378 $(NORMAL_TARGET_EXPORTS) \
46379 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
46380 for flag in $(EXTRA_TARGET_FLAGS); do \
46381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46382 done; \
46383 (cd $(TARGET_SUBDIR)/libobjc && \
46384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46386 "RANLIB=$${RANLIB}" \
46387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46388 distclean) \
46389 || exit 1
46391 @endif target-libobjc
46393 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
46394 maybe-maintainer-clean-target-libobjc:
46395 @if target-libobjc
46396 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
46398 maintainer-clean-target-libobjc:
46399 @: $(MAKE); $(unstage)
46400 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
46401 r=`${PWD_COMMAND}`; export r; \
46402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46403 $(NORMAL_TARGET_EXPORTS) \
46404 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
46405 for flag in $(EXTRA_TARGET_FLAGS); do \
46406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46407 done; \
46408 (cd $(TARGET_SUBDIR)/libobjc && \
46409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46411 "RANLIB=$${RANLIB}" \
46412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46413 maintainer-clean) \
46414 || exit 1
46416 @endif target-libobjc
46422 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
46423 maybe-configure-target-libtermcap:
46424 @if gcc-bootstrap
46425 configure-target-libtermcap: stage_current
46426 @endif gcc-bootstrap
46427 @if target-libtermcap
46428 maybe-configure-target-libtermcap: configure-target-libtermcap
46429 configure-target-libtermcap:
46430 @: $(MAKE); $(unstage)
46431 @r=`${PWD_COMMAND}`; export r; \
46432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46433 echo "Checking multilib configuration for libtermcap..."; \
46434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
46435 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
46436 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46437 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46438 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
46439 else \
46440 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
46441 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46442 fi; \
46443 else \
46444 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46445 fi; \
46446 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
46447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
46448 $(NORMAL_TARGET_EXPORTS) \
46449 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
46450 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
46451 case $(srcdir) in \
46452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46453 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
46454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46455 esac; \
46456 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
46457 libsrcdir="$$s/libtermcap"; \
46458 rm -f no-such-file || : ; \
46459 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46460 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46461 --target=${target_alias} $${srcdiroption} \
46462 || exit 1
46463 @endif target-libtermcap
46469 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
46470 maybe-all-target-libtermcap:
46471 @if gcc-bootstrap
46472 all-target-libtermcap: stage_current
46473 @endif gcc-bootstrap
46474 @if target-libtermcap
46475 TARGET-target-libtermcap=all
46476 maybe-all-target-libtermcap: all-target-libtermcap
46477 all-target-libtermcap: configure-target-libtermcap
46478 @: $(MAKE); $(unstage)
46479 @r=`${PWD_COMMAND}`; export r; \
46480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46481 $(NORMAL_TARGET_EXPORTS) \
46482 (cd $(TARGET_SUBDIR)/libtermcap && \
46483 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46484 $(TARGET-target-libtermcap))
46485 @endif target-libtermcap
46491 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
46492 maybe-check-target-libtermcap:
46493 @if target-libtermcap
46494 maybe-check-target-libtermcap: check-target-libtermcap
46496 # Dummy target for uncheckable module.
46497 check-target-libtermcap:
46499 @endif target-libtermcap
46501 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
46502 maybe-install-target-libtermcap:
46503 @if target-libtermcap
46504 maybe-install-target-libtermcap: install-target-libtermcap
46506 install-target-libtermcap: installdirs
46507 @: $(MAKE); $(unstage)
46508 @r=`${PWD_COMMAND}`; export r; \
46509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46510 $(NORMAL_TARGET_EXPORTS) \
46511 (cd $(TARGET_SUBDIR)/libtermcap && \
46512 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46514 @endif target-libtermcap
46516 # Other targets (info, dvi, pdf, etc.)
46518 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
46519 maybe-info-target-libtermcap:
46520 @if target-libtermcap
46521 maybe-info-target-libtermcap: info-target-libtermcap
46523 info-target-libtermcap: \
46524 configure-target-libtermcap
46525 @: $(MAKE); $(unstage)
46526 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46527 r=`${PWD_COMMAND}`; export r; \
46528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46529 $(NORMAL_TARGET_EXPORTS) \
46530 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
46531 for flag in $(EXTRA_TARGET_FLAGS); do \
46532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46533 done; \
46534 (cd $(TARGET_SUBDIR)/libtermcap && \
46535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46537 "RANLIB=$${RANLIB}" \
46538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46539 info) \
46540 || exit 1
46542 @endif target-libtermcap
46544 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
46545 maybe-dvi-target-libtermcap:
46546 @if target-libtermcap
46547 maybe-dvi-target-libtermcap: dvi-target-libtermcap
46549 dvi-target-libtermcap: \
46550 configure-target-libtermcap
46551 @: $(MAKE); $(unstage)
46552 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46553 r=`${PWD_COMMAND}`; export r; \
46554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46555 $(NORMAL_TARGET_EXPORTS) \
46556 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
46557 for flag in $(EXTRA_TARGET_FLAGS); do \
46558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46559 done; \
46560 (cd $(TARGET_SUBDIR)/libtermcap && \
46561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46563 "RANLIB=$${RANLIB}" \
46564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46565 dvi) \
46566 || exit 1
46568 @endif target-libtermcap
46570 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
46571 maybe-pdf-target-libtermcap:
46572 @if target-libtermcap
46573 maybe-pdf-target-libtermcap: pdf-target-libtermcap
46575 pdf-target-libtermcap: \
46576 configure-target-libtermcap
46577 @: $(MAKE); $(unstage)
46578 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46579 r=`${PWD_COMMAND}`; export r; \
46580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46581 $(NORMAL_TARGET_EXPORTS) \
46582 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
46583 for flag in $(EXTRA_TARGET_FLAGS); do \
46584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46585 done; \
46586 (cd $(TARGET_SUBDIR)/libtermcap && \
46587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46589 "RANLIB=$${RANLIB}" \
46590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46591 pdf) \
46592 || exit 1
46594 @endif target-libtermcap
46596 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
46597 maybe-html-target-libtermcap:
46598 @if target-libtermcap
46599 maybe-html-target-libtermcap: html-target-libtermcap
46601 html-target-libtermcap: \
46602 configure-target-libtermcap
46603 @: $(MAKE); $(unstage)
46604 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46605 r=`${PWD_COMMAND}`; export r; \
46606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46607 $(NORMAL_TARGET_EXPORTS) \
46608 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
46609 for flag in $(EXTRA_TARGET_FLAGS); do \
46610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46611 done; \
46612 (cd $(TARGET_SUBDIR)/libtermcap && \
46613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46615 "RANLIB=$${RANLIB}" \
46616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46617 html) \
46618 || exit 1
46620 @endif target-libtermcap
46622 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
46623 maybe-TAGS-target-libtermcap:
46624 @if target-libtermcap
46625 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
46627 TAGS-target-libtermcap: \
46628 configure-target-libtermcap
46629 @: $(MAKE); $(unstage)
46630 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46631 r=`${PWD_COMMAND}`; export r; \
46632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46633 $(NORMAL_TARGET_EXPORTS) \
46634 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
46635 for flag in $(EXTRA_TARGET_FLAGS); do \
46636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46637 done; \
46638 (cd $(TARGET_SUBDIR)/libtermcap && \
46639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46641 "RANLIB=$${RANLIB}" \
46642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46643 TAGS) \
46644 || exit 1
46646 @endif target-libtermcap
46648 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
46649 maybe-install-info-target-libtermcap:
46650 @if target-libtermcap
46651 maybe-install-info-target-libtermcap: install-info-target-libtermcap
46653 install-info-target-libtermcap: \
46654 configure-target-libtermcap \
46655 info-target-libtermcap
46656 @: $(MAKE); $(unstage)
46657 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46658 r=`${PWD_COMMAND}`; export r; \
46659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46660 $(NORMAL_TARGET_EXPORTS) \
46661 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
46662 for flag in $(EXTRA_TARGET_FLAGS); do \
46663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46664 done; \
46665 (cd $(TARGET_SUBDIR)/libtermcap && \
46666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46668 "RANLIB=$${RANLIB}" \
46669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46670 install-info) \
46671 || exit 1
46673 @endif target-libtermcap
46675 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
46676 maybe-install-pdf-target-libtermcap:
46677 @if target-libtermcap
46678 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
46680 install-pdf-target-libtermcap: \
46681 configure-target-libtermcap \
46682 pdf-target-libtermcap
46683 @: $(MAKE); $(unstage)
46684 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46685 r=`${PWD_COMMAND}`; export r; \
46686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46687 $(NORMAL_TARGET_EXPORTS) \
46688 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
46689 for flag in $(EXTRA_TARGET_FLAGS); do \
46690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46691 done; \
46692 (cd $(TARGET_SUBDIR)/libtermcap && \
46693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46695 "RANLIB=$${RANLIB}" \
46696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46697 install-pdf) \
46698 || exit 1
46700 @endif target-libtermcap
46702 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
46703 maybe-install-html-target-libtermcap:
46704 @if target-libtermcap
46705 maybe-install-html-target-libtermcap: install-html-target-libtermcap
46707 install-html-target-libtermcap: \
46708 configure-target-libtermcap \
46709 html-target-libtermcap
46710 @: $(MAKE); $(unstage)
46711 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46712 r=`${PWD_COMMAND}`; export r; \
46713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46714 $(NORMAL_TARGET_EXPORTS) \
46715 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
46716 for flag in $(EXTRA_TARGET_FLAGS); do \
46717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46718 done; \
46719 (cd $(TARGET_SUBDIR)/libtermcap && \
46720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46722 "RANLIB=$${RANLIB}" \
46723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46724 install-html) \
46725 || exit 1
46727 @endif target-libtermcap
46729 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
46730 maybe-installcheck-target-libtermcap:
46731 @if target-libtermcap
46732 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
46734 installcheck-target-libtermcap: \
46735 configure-target-libtermcap
46736 @: $(MAKE); $(unstage)
46737 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
46738 r=`${PWD_COMMAND}`; export r; \
46739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46740 $(NORMAL_TARGET_EXPORTS) \
46741 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
46742 for flag in $(EXTRA_TARGET_FLAGS); do \
46743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46744 done; \
46745 (cd $(TARGET_SUBDIR)/libtermcap && \
46746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46748 "RANLIB=$${RANLIB}" \
46749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46750 installcheck) \
46751 || exit 1
46753 @endif target-libtermcap
46755 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
46756 maybe-mostlyclean-target-libtermcap:
46757 @if target-libtermcap
46758 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
46760 # libtermcap doesn't support mostlyclean.
46761 mostlyclean-target-libtermcap:
46763 @endif target-libtermcap
46765 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
46766 maybe-clean-target-libtermcap:
46767 @if target-libtermcap
46768 maybe-clean-target-libtermcap: clean-target-libtermcap
46770 # libtermcap doesn't support clean.
46771 clean-target-libtermcap:
46773 @endif target-libtermcap
46775 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
46776 maybe-distclean-target-libtermcap:
46777 @if target-libtermcap
46778 maybe-distclean-target-libtermcap: distclean-target-libtermcap
46780 # libtermcap doesn't support distclean.
46781 distclean-target-libtermcap:
46783 @endif target-libtermcap
46785 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
46786 maybe-maintainer-clean-target-libtermcap:
46787 @if target-libtermcap
46788 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
46790 # libtermcap doesn't support maintainer-clean.
46791 maintainer-clean-target-libtermcap:
46793 @endif target-libtermcap
46799 .PHONY: configure-target-winsup maybe-configure-target-winsup
46800 maybe-configure-target-winsup:
46801 @if gcc-bootstrap
46802 configure-target-winsup: stage_current
46803 @endif gcc-bootstrap
46804 @if target-winsup
46805 maybe-configure-target-winsup: configure-target-winsup
46806 configure-target-winsup:
46807 @: $(MAKE); $(unstage)
46808 @r=`${PWD_COMMAND}`; export r; \
46809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46810 echo "Checking multilib configuration for winsup..."; \
46811 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
46812 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
46813 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
46814 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
46815 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
46816 else \
46817 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
46818 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46819 fi; \
46820 else \
46821 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46822 fi; \
46823 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
46824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
46825 $(NORMAL_TARGET_EXPORTS) \
46826 echo Configuring in $(TARGET_SUBDIR)/winsup; \
46827 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
46828 case $(srcdir) in \
46829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46830 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
46831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46832 esac; \
46833 srcdiroption="--srcdir=$${topdir}/winsup"; \
46834 libsrcdir="$$s/winsup"; \
46835 rm -f no-such-file || : ; \
46836 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46837 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46838 --target=${target_alias} $${srcdiroption} \
46839 || exit 1
46840 @endif target-winsup
46846 .PHONY: all-target-winsup maybe-all-target-winsup
46847 maybe-all-target-winsup:
46848 @if gcc-bootstrap
46849 all-target-winsup: stage_current
46850 @endif gcc-bootstrap
46851 @if target-winsup
46852 TARGET-target-winsup=all
46853 maybe-all-target-winsup: all-target-winsup
46854 all-target-winsup: configure-target-winsup
46855 @: $(MAKE); $(unstage)
46856 @r=`${PWD_COMMAND}`; export r; \
46857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46858 $(NORMAL_TARGET_EXPORTS) \
46859 (cd $(TARGET_SUBDIR)/winsup && \
46860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46861 $(TARGET-target-winsup))
46862 @endif target-winsup
46868 .PHONY: check-target-winsup maybe-check-target-winsup
46869 maybe-check-target-winsup:
46870 @if target-winsup
46871 maybe-check-target-winsup: check-target-winsup
46873 check-target-winsup:
46874 @: $(MAKE); $(unstage)
46875 @r=`${PWD_COMMAND}`; export r; \
46876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46877 $(NORMAL_TARGET_EXPORTS) \
46878 (cd $(TARGET_SUBDIR)/winsup && \
46879 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46881 @endif target-winsup
46883 .PHONY: install-target-winsup maybe-install-target-winsup
46884 maybe-install-target-winsup:
46885 @if target-winsup
46886 maybe-install-target-winsup: install-target-winsup
46888 install-target-winsup: installdirs
46889 @: $(MAKE); $(unstage)
46890 @r=`${PWD_COMMAND}`; export r; \
46891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46892 $(NORMAL_TARGET_EXPORTS) \
46893 (cd $(TARGET_SUBDIR)/winsup && \
46894 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46896 @endif target-winsup
46898 # Other targets (info, dvi, pdf, etc.)
46900 .PHONY: maybe-info-target-winsup info-target-winsup
46901 maybe-info-target-winsup:
46902 @if target-winsup
46903 maybe-info-target-winsup: info-target-winsup
46905 info-target-winsup: \
46906 configure-target-winsup
46907 @: $(MAKE); $(unstage)
46908 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46909 r=`${PWD_COMMAND}`; export r; \
46910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46911 $(NORMAL_TARGET_EXPORTS) \
46912 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
46913 for flag in $(EXTRA_TARGET_FLAGS); do \
46914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46915 done; \
46916 (cd $(TARGET_SUBDIR)/winsup && \
46917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46919 "RANLIB=$${RANLIB}" \
46920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46921 info) \
46922 || exit 1
46924 @endif target-winsup
46926 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
46927 maybe-dvi-target-winsup:
46928 @if target-winsup
46929 maybe-dvi-target-winsup: dvi-target-winsup
46931 dvi-target-winsup: \
46932 configure-target-winsup
46933 @: $(MAKE); $(unstage)
46934 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46935 r=`${PWD_COMMAND}`; export r; \
46936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46937 $(NORMAL_TARGET_EXPORTS) \
46938 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
46939 for flag in $(EXTRA_TARGET_FLAGS); do \
46940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46941 done; \
46942 (cd $(TARGET_SUBDIR)/winsup && \
46943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46945 "RANLIB=$${RANLIB}" \
46946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46947 dvi) \
46948 || exit 1
46950 @endif target-winsup
46952 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
46953 maybe-pdf-target-winsup:
46954 @if target-winsup
46955 maybe-pdf-target-winsup: pdf-target-winsup
46957 pdf-target-winsup: \
46958 configure-target-winsup
46959 @: $(MAKE); $(unstage)
46960 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46961 r=`${PWD_COMMAND}`; export r; \
46962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46963 $(NORMAL_TARGET_EXPORTS) \
46964 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
46965 for flag in $(EXTRA_TARGET_FLAGS); do \
46966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46967 done; \
46968 (cd $(TARGET_SUBDIR)/winsup && \
46969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46971 "RANLIB=$${RANLIB}" \
46972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46973 pdf) \
46974 || exit 1
46976 @endif target-winsup
46978 .PHONY: maybe-html-target-winsup html-target-winsup
46979 maybe-html-target-winsup:
46980 @if target-winsup
46981 maybe-html-target-winsup: html-target-winsup
46983 html-target-winsup: \
46984 configure-target-winsup
46985 @: $(MAKE); $(unstage)
46986 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
46987 r=`${PWD_COMMAND}`; export r; \
46988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46989 $(NORMAL_TARGET_EXPORTS) \
46990 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
46991 for flag in $(EXTRA_TARGET_FLAGS); do \
46992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46993 done; \
46994 (cd $(TARGET_SUBDIR)/winsup && \
46995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46997 "RANLIB=$${RANLIB}" \
46998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46999 html) \
47000 || exit 1
47002 @endif target-winsup
47004 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
47005 maybe-TAGS-target-winsup:
47006 @if target-winsup
47007 maybe-TAGS-target-winsup: TAGS-target-winsup
47009 TAGS-target-winsup: \
47010 configure-target-winsup
47011 @: $(MAKE); $(unstage)
47012 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47013 r=`${PWD_COMMAND}`; export r; \
47014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47015 $(NORMAL_TARGET_EXPORTS) \
47016 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
47017 for flag in $(EXTRA_TARGET_FLAGS); do \
47018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47019 done; \
47020 (cd $(TARGET_SUBDIR)/winsup && \
47021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47023 "RANLIB=$${RANLIB}" \
47024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47025 TAGS) \
47026 || exit 1
47028 @endif target-winsup
47030 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
47031 maybe-install-info-target-winsup:
47032 @if target-winsup
47033 maybe-install-info-target-winsup: install-info-target-winsup
47035 install-info-target-winsup: \
47036 configure-target-winsup \
47037 info-target-winsup
47038 @: $(MAKE); $(unstage)
47039 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47040 r=`${PWD_COMMAND}`; export r; \
47041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47042 $(NORMAL_TARGET_EXPORTS) \
47043 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
47044 for flag in $(EXTRA_TARGET_FLAGS); do \
47045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47046 done; \
47047 (cd $(TARGET_SUBDIR)/winsup && \
47048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47050 "RANLIB=$${RANLIB}" \
47051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47052 install-info) \
47053 || exit 1
47055 @endif target-winsup
47057 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
47058 maybe-install-pdf-target-winsup:
47059 @if target-winsup
47060 maybe-install-pdf-target-winsup: install-pdf-target-winsup
47062 install-pdf-target-winsup: \
47063 configure-target-winsup \
47064 pdf-target-winsup
47065 @: $(MAKE); $(unstage)
47066 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47067 r=`${PWD_COMMAND}`; export r; \
47068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47069 $(NORMAL_TARGET_EXPORTS) \
47070 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
47071 for flag in $(EXTRA_TARGET_FLAGS); do \
47072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47073 done; \
47074 (cd $(TARGET_SUBDIR)/winsup && \
47075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47077 "RANLIB=$${RANLIB}" \
47078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47079 install-pdf) \
47080 || exit 1
47082 @endif target-winsup
47084 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
47085 maybe-install-html-target-winsup:
47086 @if target-winsup
47087 maybe-install-html-target-winsup: install-html-target-winsup
47089 install-html-target-winsup: \
47090 configure-target-winsup \
47091 html-target-winsup
47092 @: $(MAKE); $(unstage)
47093 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47094 r=`${PWD_COMMAND}`; export r; \
47095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47096 $(NORMAL_TARGET_EXPORTS) \
47097 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
47098 for flag in $(EXTRA_TARGET_FLAGS); do \
47099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47100 done; \
47101 (cd $(TARGET_SUBDIR)/winsup && \
47102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47104 "RANLIB=$${RANLIB}" \
47105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47106 install-html) \
47107 || exit 1
47109 @endif target-winsup
47111 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
47112 maybe-installcheck-target-winsup:
47113 @if target-winsup
47114 maybe-installcheck-target-winsup: installcheck-target-winsup
47116 installcheck-target-winsup: \
47117 configure-target-winsup
47118 @: $(MAKE); $(unstage)
47119 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47120 r=`${PWD_COMMAND}`; export r; \
47121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47122 $(NORMAL_TARGET_EXPORTS) \
47123 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
47124 for flag in $(EXTRA_TARGET_FLAGS); do \
47125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47126 done; \
47127 (cd $(TARGET_SUBDIR)/winsup && \
47128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47130 "RANLIB=$${RANLIB}" \
47131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47132 installcheck) \
47133 || exit 1
47135 @endif target-winsup
47137 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
47138 maybe-mostlyclean-target-winsup:
47139 @if target-winsup
47140 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
47142 mostlyclean-target-winsup:
47143 @: $(MAKE); $(unstage)
47144 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47145 r=`${PWD_COMMAND}`; export r; \
47146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47147 $(NORMAL_TARGET_EXPORTS) \
47148 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
47149 for flag in $(EXTRA_TARGET_FLAGS); do \
47150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47151 done; \
47152 (cd $(TARGET_SUBDIR)/winsup && \
47153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47155 "RANLIB=$${RANLIB}" \
47156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47157 mostlyclean) \
47158 || exit 1
47160 @endif target-winsup
47162 .PHONY: maybe-clean-target-winsup clean-target-winsup
47163 maybe-clean-target-winsup:
47164 @if target-winsup
47165 maybe-clean-target-winsup: clean-target-winsup
47167 clean-target-winsup:
47168 @: $(MAKE); $(unstage)
47169 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47170 r=`${PWD_COMMAND}`; export r; \
47171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47172 $(NORMAL_TARGET_EXPORTS) \
47173 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
47174 for flag in $(EXTRA_TARGET_FLAGS); do \
47175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47176 done; \
47177 (cd $(TARGET_SUBDIR)/winsup && \
47178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47180 "RANLIB=$${RANLIB}" \
47181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47182 clean) \
47183 || exit 1
47185 @endif target-winsup
47187 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
47188 maybe-distclean-target-winsup:
47189 @if target-winsup
47190 maybe-distclean-target-winsup: distclean-target-winsup
47192 distclean-target-winsup:
47193 @: $(MAKE); $(unstage)
47194 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47195 r=`${PWD_COMMAND}`; export r; \
47196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47197 $(NORMAL_TARGET_EXPORTS) \
47198 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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 distclean) \
47208 || exit 1
47210 @endif target-winsup
47212 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
47213 maybe-maintainer-clean-target-winsup:
47214 @if target-winsup
47215 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
47217 maintainer-clean-target-winsup:
47218 @: $(MAKE); $(unstage)
47219 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
47220 r=`${PWD_COMMAND}`; export r; \
47221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47222 $(NORMAL_TARGET_EXPORTS) \
47223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
47224 for flag in $(EXTRA_TARGET_FLAGS); do \
47225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47226 done; \
47227 (cd $(TARGET_SUBDIR)/winsup && \
47228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47230 "RANLIB=$${RANLIB}" \
47231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47232 maintainer-clean) \
47233 || exit 1
47235 @endif target-winsup
47241 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
47242 maybe-configure-target-libgloss:
47243 @if gcc-bootstrap
47244 configure-target-libgloss: stage_current
47245 @endif gcc-bootstrap
47246 @if target-libgloss
47247 maybe-configure-target-libgloss: configure-target-libgloss
47248 configure-target-libgloss:
47249 @: $(MAKE); $(unstage)
47250 @r=`${PWD_COMMAND}`; export r; \
47251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47252 echo "Checking multilib configuration for libgloss..."; \
47253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
47254 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
47255 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47256 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47257 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
47258 else \
47259 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
47260 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47261 fi; \
47262 else \
47263 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47264 fi; \
47265 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
47266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
47267 $(NORMAL_TARGET_EXPORTS) \
47268 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
47269 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
47270 case $(srcdir) in \
47271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47272 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
47273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47274 esac; \
47275 srcdiroption="--srcdir=$${topdir}/libgloss"; \
47276 libsrcdir="$$s/libgloss"; \
47277 rm -f no-such-file || : ; \
47278 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47279 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47280 --target=${target_alias} $${srcdiroption} \
47281 || exit 1
47282 @endif target-libgloss
47288 .PHONY: all-target-libgloss maybe-all-target-libgloss
47289 maybe-all-target-libgloss:
47290 @if gcc-bootstrap
47291 all-target-libgloss: stage_current
47292 @endif gcc-bootstrap
47293 @if target-libgloss
47294 TARGET-target-libgloss=all
47295 maybe-all-target-libgloss: all-target-libgloss
47296 all-target-libgloss: configure-target-libgloss
47297 @: $(MAKE); $(unstage)
47298 @r=`${PWD_COMMAND}`; export r; \
47299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47300 $(NORMAL_TARGET_EXPORTS) \
47301 (cd $(TARGET_SUBDIR)/libgloss && \
47302 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47303 $(TARGET-target-libgloss))
47304 @endif target-libgloss
47310 .PHONY: check-target-libgloss maybe-check-target-libgloss
47311 maybe-check-target-libgloss:
47312 @if target-libgloss
47313 maybe-check-target-libgloss: check-target-libgloss
47315 # Dummy target for uncheckable module.
47316 check-target-libgloss:
47318 @endif target-libgloss
47320 .PHONY: install-target-libgloss maybe-install-target-libgloss
47321 maybe-install-target-libgloss:
47322 @if target-libgloss
47323 maybe-install-target-libgloss: install-target-libgloss
47325 install-target-libgloss: installdirs
47326 @: $(MAKE); $(unstage)
47327 @r=`${PWD_COMMAND}`; export r; \
47328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47329 $(NORMAL_TARGET_EXPORTS) \
47330 (cd $(TARGET_SUBDIR)/libgloss && \
47331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47333 @endif target-libgloss
47335 # Other targets (info, dvi, pdf, etc.)
47337 .PHONY: maybe-info-target-libgloss info-target-libgloss
47338 maybe-info-target-libgloss:
47339 @if target-libgloss
47340 maybe-info-target-libgloss: info-target-libgloss
47342 info-target-libgloss: \
47343 configure-target-libgloss
47344 @: $(MAKE); $(unstage)
47345 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47346 r=`${PWD_COMMAND}`; export r; \
47347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47348 $(NORMAL_TARGET_EXPORTS) \
47349 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
47350 for flag in $(EXTRA_TARGET_FLAGS); do \
47351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47352 done; \
47353 (cd $(TARGET_SUBDIR)/libgloss && \
47354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47356 "RANLIB=$${RANLIB}" \
47357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47358 info) \
47359 || exit 1
47361 @endif target-libgloss
47363 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
47364 maybe-dvi-target-libgloss:
47365 @if target-libgloss
47366 maybe-dvi-target-libgloss: dvi-target-libgloss
47368 dvi-target-libgloss: \
47369 configure-target-libgloss
47370 @: $(MAKE); $(unstage)
47371 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47372 r=`${PWD_COMMAND}`; export r; \
47373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47374 $(NORMAL_TARGET_EXPORTS) \
47375 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
47376 for flag in $(EXTRA_TARGET_FLAGS); do \
47377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47378 done; \
47379 (cd $(TARGET_SUBDIR)/libgloss && \
47380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47382 "RANLIB=$${RANLIB}" \
47383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47384 dvi) \
47385 || exit 1
47387 @endif target-libgloss
47389 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
47390 maybe-pdf-target-libgloss:
47391 @if target-libgloss
47392 maybe-pdf-target-libgloss: pdf-target-libgloss
47394 pdf-target-libgloss: \
47395 configure-target-libgloss
47396 @: $(MAKE); $(unstage)
47397 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47398 r=`${PWD_COMMAND}`; export r; \
47399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47400 $(NORMAL_TARGET_EXPORTS) \
47401 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
47402 for flag in $(EXTRA_TARGET_FLAGS); do \
47403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47404 done; \
47405 (cd $(TARGET_SUBDIR)/libgloss && \
47406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47408 "RANLIB=$${RANLIB}" \
47409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47410 pdf) \
47411 || exit 1
47413 @endif target-libgloss
47415 .PHONY: maybe-html-target-libgloss html-target-libgloss
47416 maybe-html-target-libgloss:
47417 @if target-libgloss
47418 maybe-html-target-libgloss: html-target-libgloss
47420 html-target-libgloss: \
47421 configure-target-libgloss
47422 @: $(MAKE); $(unstage)
47423 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47424 r=`${PWD_COMMAND}`; export r; \
47425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47426 $(NORMAL_TARGET_EXPORTS) \
47427 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
47428 for flag in $(EXTRA_TARGET_FLAGS); do \
47429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47430 done; \
47431 (cd $(TARGET_SUBDIR)/libgloss && \
47432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47434 "RANLIB=$${RANLIB}" \
47435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47436 html) \
47437 || exit 1
47439 @endif target-libgloss
47441 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
47442 maybe-TAGS-target-libgloss:
47443 @if target-libgloss
47444 maybe-TAGS-target-libgloss: TAGS-target-libgloss
47446 TAGS-target-libgloss: \
47447 configure-target-libgloss
47448 @: $(MAKE); $(unstage)
47449 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47450 r=`${PWD_COMMAND}`; export r; \
47451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47452 $(NORMAL_TARGET_EXPORTS) \
47453 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
47454 for flag in $(EXTRA_TARGET_FLAGS); do \
47455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47456 done; \
47457 (cd $(TARGET_SUBDIR)/libgloss && \
47458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47460 "RANLIB=$${RANLIB}" \
47461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47462 TAGS) \
47463 || exit 1
47465 @endif target-libgloss
47467 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
47468 maybe-install-info-target-libgloss:
47469 @if target-libgloss
47470 maybe-install-info-target-libgloss: install-info-target-libgloss
47472 install-info-target-libgloss: \
47473 configure-target-libgloss \
47474 info-target-libgloss
47475 @: $(MAKE); $(unstage)
47476 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47477 r=`${PWD_COMMAND}`; export r; \
47478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47479 $(NORMAL_TARGET_EXPORTS) \
47480 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
47481 for flag in $(EXTRA_TARGET_FLAGS); do \
47482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47483 done; \
47484 (cd $(TARGET_SUBDIR)/libgloss && \
47485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47487 "RANLIB=$${RANLIB}" \
47488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47489 install-info) \
47490 || exit 1
47492 @endif target-libgloss
47494 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
47495 maybe-install-pdf-target-libgloss:
47496 @if target-libgloss
47497 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
47499 install-pdf-target-libgloss: \
47500 configure-target-libgloss \
47501 pdf-target-libgloss
47502 @: $(MAKE); $(unstage)
47503 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47504 r=`${PWD_COMMAND}`; export r; \
47505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47506 $(NORMAL_TARGET_EXPORTS) \
47507 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
47508 for flag in $(EXTRA_TARGET_FLAGS); do \
47509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47510 done; \
47511 (cd $(TARGET_SUBDIR)/libgloss && \
47512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47514 "RANLIB=$${RANLIB}" \
47515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47516 install-pdf) \
47517 || exit 1
47519 @endif target-libgloss
47521 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
47522 maybe-install-html-target-libgloss:
47523 @if target-libgloss
47524 maybe-install-html-target-libgloss: install-html-target-libgloss
47526 install-html-target-libgloss: \
47527 configure-target-libgloss \
47528 html-target-libgloss
47529 @: $(MAKE); $(unstage)
47530 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47531 r=`${PWD_COMMAND}`; export r; \
47532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47533 $(NORMAL_TARGET_EXPORTS) \
47534 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 install-html) \
47544 || exit 1
47546 @endif target-libgloss
47548 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
47549 maybe-installcheck-target-libgloss:
47550 @if target-libgloss
47551 maybe-installcheck-target-libgloss: installcheck-target-libgloss
47553 installcheck-target-libgloss: \
47554 configure-target-libgloss
47555 @: $(MAKE); $(unstage)
47556 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47557 r=`${PWD_COMMAND}`; export r; \
47558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47559 $(NORMAL_TARGET_EXPORTS) \
47560 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 installcheck) \
47570 || exit 1
47572 @endif target-libgloss
47574 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
47575 maybe-mostlyclean-target-libgloss:
47576 @if target-libgloss
47577 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
47579 mostlyclean-target-libgloss:
47580 @: $(MAKE); $(unstage)
47581 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47582 r=`${PWD_COMMAND}`; export r; \
47583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47584 $(NORMAL_TARGET_EXPORTS) \
47585 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
47586 for flag in $(EXTRA_TARGET_FLAGS); do \
47587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47588 done; \
47589 (cd $(TARGET_SUBDIR)/libgloss && \
47590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47592 "RANLIB=$${RANLIB}" \
47593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47594 mostlyclean) \
47595 || exit 1
47597 @endif target-libgloss
47599 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
47600 maybe-clean-target-libgloss:
47601 @if target-libgloss
47602 maybe-clean-target-libgloss: clean-target-libgloss
47604 clean-target-libgloss:
47605 @: $(MAKE); $(unstage)
47606 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47607 r=`${PWD_COMMAND}`; export r; \
47608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47609 $(NORMAL_TARGET_EXPORTS) \
47610 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
47611 for flag in $(EXTRA_TARGET_FLAGS); do \
47612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47613 done; \
47614 (cd $(TARGET_SUBDIR)/libgloss && \
47615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47617 "RANLIB=$${RANLIB}" \
47618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47619 clean) \
47620 || exit 1
47622 @endif target-libgloss
47624 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
47625 maybe-distclean-target-libgloss:
47626 @if target-libgloss
47627 maybe-distclean-target-libgloss: distclean-target-libgloss
47629 distclean-target-libgloss:
47630 @: $(MAKE); $(unstage)
47631 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47632 r=`${PWD_COMMAND}`; export r; \
47633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47634 $(NORMAL_TARGET_EXPORTS) \
47635 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
47636 for flag in $(EXTRA_TARGET_FLAGS); do \
47637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47638 done; \
47639 (cd $(TARGET_SUBDIR)/libgloss && \
47640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47642 "RANLIB=$${RANLIB}" \
47643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47644 distclean) \
47645 || exit 1
47647 @endif target-libgloss
47649 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
47650 maybe-maintainer-clean-target-libgloss:
47651 @if target-libgloss
47652 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
47654 maintainer-clean-target-libgloss:
47655 @: $(MAKE); $(unstage)
47656 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
47657 r=`${PWD_COMMAND}`; export r; \
47658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47659 $(NORMAL_TARGET_EXPORTS) \
47660 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
47661 for flag in $(EXTRA_TARGET_FLAGS); do \
47662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47663 done; \
47664 (cd $(TARGET_SUBDIR)/libgloss && \
47665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47667 "RANLIB=$${RANLIB}" \
47668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47669 maintainer-clean) \
47670 || exit 1
47672 @endif target-libgloss
47678 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
47679 maybe-configure-target-libiberty:
47680 @if gcc-bootstrap
47681 configure-target-libiberty: stage_current
47682 @endif gcc-bootstrap
47683 @if target-libiberty
47684 maybe-configure-target-libiberty: configure-target-libiberty
47685 configure-target-libiberty:
47686 @: $(MAKE); $(unstage)
47687 @r=`${PWD_COMMAND}`; export r; \
47688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47689 echo "Checking multilib configuration for libiberty..."; \
47690 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
47691 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
47692 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
47693 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
47694 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
47695 else \
47696 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
47697 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
47698 fi; \
47699 else \
47700 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
47701 fi; \
47702 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
47703 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
47704 $(NORMAL_TARGET_EXPORTS) \
47705 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
47706 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
47707 case $(srcdir) in \
47708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47709 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
47710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47711 esac; \
47712 srcdiroption="--srcdir=$${topdir}/libiberty"; \
47713 libsrcdir="$$s/libiberty"; \
47714 rm -f no-such-file || : ; \
47715 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47716 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47717 --target=${target_alias} $${srcdiroption} \
47718 || exit 1
47719 @endif target-libiberty
47725 .PHONY: all-target-libiberty maybe-all-target-libiberty
47726 maybe-all-target-libiberty:
47727 @if gcc-bootstrap
47728 all-target-libiberty: stage_current
47729 @endif gcc-bootstrap
47730 @if target-libiberty
47731 TARGET-target-libiberty=all
47732 maybe-all-target-libiberty: all-target-libiberty
47733 all-target-libiberty: configure-target-libiberty
47734 @: $(MAKE); $(unstage)
47735 @r=`${PWD_COMMAND}`; export r; \
47736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47737 $(NORMAL_TARGET_EXPORTS) \
47738 (cd $(TARGET_SUBDIR)/libiberty && \
47739 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47740 $(TARGET-target-libiberty))
47741 @endif target-libiberty
47747 .PHONY: check-target-libiberty maybe-check-target-libiberty
47748 maybe-check-target-libiberty:
47749 @if target-libiberty
47750 maybe-check-target-libiberty: check-target-libiberty
47752 check-target-libiberty:
47753 @: $(MAKE); $(unstage)
47754 @r=`${PWD_COMMAND}`; export r; \
47755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47756 $(NORMAL_TARGET_EXPORTS) \
47757 (cd $(TARGET_SUBDIR)/libiberty && \
47758 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47760 @endif target-libiberty
47762 .PHONY: install-target-libiberty maybe-install-target-libiberty
47763 maybe-install-target-libiberty:
47764 @if target-libiberty
47765 maybe-install-target-libiberty: install-target-libiberty
47767 install-target-libiberty: installdirs
47768 @: $(MAKE); $(unstage)
47769 @r=`${PWD_COMMAND}`; export r; \
47770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47771 $(NORMAL_TARGET_EXPORTS) \
47772 (cd $(TARGET_SUBDIR)/libiberty && \
47773 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47775 @endif target-libiberty
47777 # Other targets (info, dvi, pdf, etc.)
47779 .PHONY: maybe-info-target-libiberty info-target-libiberty
47780 maybe-info-target-libiberty:
47781 @if target-libiberty
47782 maybe-info-target-libiberty: info-target-libiberty
47784 info-target-libiberty: \
47785 configure-target-libiberty
47786 @: $(MAKE); $(unstage)
47787 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47788 r=`${PWD_COMMAND}`; export r; \
47789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47790 $(NORMAL_TARGET_EXPORTS) \
47791 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
47792 for flag in $(EXTRA_TARGET_FLAGS); do \
47793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47794 done; \
47795 (cd $(TARGET_SUBDIR)/libiberty && \
47796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47798 "RANLIB=$${RANLIB}" \
47799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47800 info) \
47801 || exit 1
47803 @endif target-libiberty
47805 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
47806 maybe-dvi-target-libiberty:
47807 @if target-libiberty
47808 maybe-dvi-target-libiberty: dvi-target-libiberty
47810 dvi-target-libiberty: \
47811 configure-target-libiberty
47812 @: $(MAKE); $(unstage)
47813 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47814 r=`${PWD_COMMAND}`; export r; \
47815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47816 $(NORMAL_TARGET_EXPORTS) \
47817 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
47818 for flag in $(EXTRA_TARGET_FLAGS); do \
47819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47820 done; \
47821 (cd $(TARGET_SUBDIR)/libiberty && \
47822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47824 "RANLIB=$${RANLIB}" \
47825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47826 dvi) \
47827 || exit 1
47829 @endif target-libiberty
47831 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
47832 maybe-pdf-target-libiberty:
47833 @if target-libiberty
47834 maybe-pdf-target-libiberty: pdf-target-libiberty
47836 pdf-target-libiberty: \
47837 configure-target-libiberty
47838 @: $(MAKE); $(unstage)
47839 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47840 r=`${PWD_COMMAND}`; export r; \
47841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47842 $(NORMAL_TARGET_EXPORTS) \
47843 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
47844 for flag in $(EXTRA_TARGET_FLAGS); do \
47845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47846 done; \
47847 (cd $(TARGET_SUBDIR)/libiberty && \
47848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47850 "RANLIB=$${RANLIB}" \
47851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47852 pdf) \
47853 || exit 1
47855 @endif target-libiberty
47857 .PHONY: maybe-html-target-libiberty html-target-libiberty
47858 maybe-html-target-libiberty:
47859 @if target-libiberty
47860 maybe-html-target-libiberty: html-target-libiberty
47862 html-target-libiberty: \
47863 configure-target-libiberty
47864 @: $(MAKE); $(unstage)
47865 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47866 r=`${PWD_COMMAND}`; export r; \
47867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47868 $(NORMAL_TARGET_EXPORTS) \
47869 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
47870 for flag in $(EXTRA_TARGET_FLAGS); do \
47871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47872 done; \
47873 (cd $(TARGET_SUBDIR)/libiberty && \
47874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47876 "RANLIB=$${RANLIB}" \
47877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47878 html) \
47879 || exit 1
47881 @endif target-libiberty
47883 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
47884 maybe-TAGS-target-libiberty:
47885 @if target-libiberty
47886 maybe-TAGS-target-libiberty: TAGS-target-libiberty
47888 TAGS-target-libiberty: \
47889 configure-target-libiberty
47890 @: $(MAKE); $(unstage)
47891 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47892 r=`${PWD_COMMAND}`; export r; \
47893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47894 $(NORMAL_TARGET_EXPORTS) \
47895 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
47896 for flag in $(EXTRA_TARGET_FLAGS); do \
47897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47898 done; \
47899 (cd $(TARGET_SUBDIR)/libiberty && \
47900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47902 "RANLIB=$${RANLIB}" \
47903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47904 TAGS) \
47905 || exit 1
47907 @endif target-libiberty
47909 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
47910 maybe-install-info-target-libiberty:
47911 @if target-libiberty
47912 maybe-install-info-target-libiberty: install-info-target-libiberty
47914 install-info-target-libiberty: \
47915 configure-target-libiberty \
47916 info-target-libiberty
47917 @: $(MAKE); $(unstage)
47918 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47919 r=`${PWD_COMMAND}`; export r; \
47920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47921 $(NORMAL_TARGET_EXPORTS) \
47922 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
47923 for flag in $(EXTRA_TARGET_FLAGS); do \
47924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47925 done; \
47926 (cd $(TARGET_SUBDIR)/libiberty && \
47927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47929 "RANLIB=$${RANLIB}" \
47930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47931 install-info) \
47932 || exit 1
47934 @endif target-libiberty
47936 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
47937 maybe-install-pdf-target-libiberty:
47938 @if target-libiberty
47939 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
47941 install-pdf-target-libiberty: \
47942 configure-target-libiberty \
47943 pdf-target-libiberty
47944 @: $(MAKE); $(unstage)
47945 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47946 r=`${PWD_COMMAND}`; export r; \
47947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47948 $(NORMAL_TARGET_EXPORTS) \
47949 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
47950 for flag in $(EXTRA_TARGET_FLAGS); do \
47951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47952 done; \
47953 (cd $(TARGET_SUBDIR)/libiberty && \
47954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47956 "RANLIB=$${RANLIB}" \
47957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47958 install-pdf) \
47959 || exit 1
47961 @endif target-libiberty
47963 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
47964 maybe-install-html-target-libiberty:
47965 @if target-libiberty
47966 maybe-install-html-target-libiberty: install-html-target-libiberty
47968 install-html-target-libiberty: \
47969 configure-target-libiberty \
47970 html-target-libiberty
47971 @: $(MAKE); $(unstage)
47972 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47973 r=`${PWD_COMMAND}`; export r; \
47974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47975 $(NORMAL_TARGET_EXPORTS) \
47976 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
47977 for flag in $(EXTRA_TARGET_FLAGS); do \
47978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47979 done; \
47980 (cd $(TARGET_SUBDIR)/libiberty && \
47981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47983 "RANLIB=$${RANLIB}" \
47984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47985 install-html) \
47986 || exit 1
47988 @endif target-libiberty
47990 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
47991 maybe-installcheck-target-libiberty:
47992 @if target-libiberty
47993 maybe-installcheck-target-libiberty: installcheck-target-libiberty
47995 installcheck-target-libiberty: \
47996 configure-target-libiberty
47997 @: $(MAKE); $(unstage)
47998 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
47999 r=`${PWD_COMMAND}`; export r; \
48000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48001 $(NORMAL_TARGET_EXPORTS) \
48002 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
48003 for flag in $(EXTRA_TARGET_FLAGS); do \
48004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48005 done; \
48006 (cd $(TARGET_SUBDIR)/libiberty && \
48007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48009 "RANLIB=$${RANLIB}" \
48010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48011 installcheck) \
48012 || exit 1
48014 @endif target-libiberty
48016 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
48017 maybe-mostlyclean-target-libiberty:
48018 @if target-libiberty
48019 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
48021 mostlyclean-target-libiberty:
48022 @: $(MAKE); $(unstage)
48023 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48024 r=`${PWD_COMMAND}`; export r; \
48025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48026 $(NORMAL_TARGET_EXPORTS) \
48027 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
48028 for flag in $(EXTRA_TARGET_FLAGS); do \
48029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48030 done; \
48031 (cd $(TARGET_SUBDIR)/libiberty && \
48032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48034 "RANLIB=$${RANLIB}" \
48035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48036 mostlyclean) \
48037 || exit 1
48039 @endif target-libiberty
48041 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
48042 maybe-clean-target-libiberty:
48043 @if target-libiberty
48044 maybe-clean-target-libiberty: clean-target-libiberty
48046 clean-target-libiberty:
48047 @: $(MAKE); $(unstage)
48048 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48049 r=`${PWD_COMMAND}`; export r; \
48050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48051 $(NORMAL_TARGET_EXPORTS) \
48052 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
48053 for flag in $(EXTRA_TARGET_FLAGS); do \
48054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48055 done; \
48056 (cd $(TARGET_SUBDIR)/libiberty && \
48057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48059 "RANLIB=$${RANLIB}" \
48060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48061 clean) \
48062 || exit 1
48064 @endif target-libiberty
48066 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
48067 maybe-distclean-target-libiberty:
48068 @if target-libiberty
48069 maybe-distclean-target-libiberty: distclean-target-libiberty
48071 distclean-target-libiberty:
48072 @: $(MAKE); $(unstage)
48073 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48074 r=`${PWD_COMMAND}`; export r; \
48075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48076 $(NORMAL_TARGET_EXPORTS) \
48077 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
48078 for flag in $(EXTRA_TARGET_FLAGS); do \
48079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48080 done; \
48081 (cd $(TARGET_SUBDIR)/libiberty && \
48082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48084 "RANLIB=$${RANLIB}" \
48085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48086 distclean) \
48087 || exit 1
48089 @endif target-libiberty
48091 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
48092 maybe-maintainer-clean-target-libiberty:
48093 @if target-libiberty
48094 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
48096 maintainer-clean-target-libiberty:
48097 @: $(MAKE); $(unstage)
48098 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
48099 r=`${PWD_COMMAND}`; export r; \
48100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48101 $(NORMAL_TARGET_EXPORTS) \
48102 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
48103 for flag in $(EXTRA_TARGET_FLAGS); do \
48104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48105 done; \
48106 (cd $(TARGET_SUBDIR)/libiberty && \
48107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48109 "RANLIB=$${RANLIB}" \
48110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48111 maintainer-clean) \
48112 || exit 1
48114 @endif target-libiberty
48120 .PHONY: configure-target-gperf maybe-configure-target-gperf
48121 maybe-configure-target-gperf:
48122 @if gcc-bootstrap
48123 configure-target-gperf: stage_current
48124 @endif gcc-bootstrap
48125 @if target-gperf
48126 maybe-configure-target-gperf: configure-target-gperf
48127 configure-target-gperf:
48128 @: $(MAKE); $(unstage)
48129 @r=`${PWD_COMMAND}`; export r; \
48130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48131 echo "Checking multilib configuration for gperf..."; \
48132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
48133 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
48134 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
48135 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
48136 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
48137 else \
48138 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
48139 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
48140 fi; \
48141 else \
48142 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
48143 fi; \
48144 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
48145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
48146 $(NORMAL_TARGET_EXPORTS) \
48147 echo Configuring in $(TARGET_SUBDIR)/gperf; \
48148 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
48149 case $(srcdir) in \
48150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48151 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
48152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48153 esac; \
48154 srcdiroption="--srcdir=$${topdir}/gperf"; \
48155 libsrcdir="$$s/gperf"; \
48156 rm -f no-such-file || : ; \
48157 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48158 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48159 --target=${target_alias} $${srcdiroption} \
48160 || exit 1
48161 @endif target-gperf
48167 .PHONY: all-target-gperf maybe-all-target-gperf
48168 maybe-all-target-gperf:
48169 @if gcc-bootstrap
48170 all-target-gperf: stage_current
48171 @endif gcc-bootstrap
48172 @if target-gperf
48173 TARGET-target-gperf=all
48174 maybe-all-target-gperf: all-target-gperf
48175 all-target-gperf: configure-target-gperf
48176 @: $(MAKE); $(unstage)
48177 @r=`${PWD_COMMAND}`; export r; \
48178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48179 $(NORMAL_TARGET_EXPORTS) \
48180 (cd $(TARGET_SUBDIR)/gperf && \
48181 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48182 $(TARGET-target-gperf))
48183 @endif target-gperf
48189 .PHONY: check-target-gperf maybe-check-target-gperf
48190 maybe-check-target-gperf:
48191 @if target-gperf
48192 maybe-check-target-gperf: check-target-gperf
48194 check-target-gperf:
48195 @: $(MAKE); $(unstage)
48196 @r=`${PWD_COMMAND}`; export r; \
48197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48198 $(NORMAL_TARGET_EXPORTS) \
48199 (cd $(TARGET_SUBDIR)/gperf && \
48200 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48202 @endif target-gperf
48204 .PHONY: install-target-gperf maybe-install-target-gperf
48205 maybe-install-target-gperf:
48206 @if target-gperf
48207 maybe-install-target-gperf: install-target-gperf
48209 install-target-gperf: installdirs
48210 @: $(MAKE); $(unstage)
48211 @r=`${PWD_COMMAND}`; export r; \
48212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48213 $(NORMAL_TARGET_EXPORTS) \
48214 (cd $(TARGET_SUBDIR)/gperf && \
48215 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48217 @endif target-gperf
48219 # Other targets (info, dvi, pdf, etc.)
48221 .PHONY: maybe-info-target-gperf info-target-gperf
48222 maybe-info-target-gperf:
48223 @if target-gperf
48224 maybe-info-target-gperf: info-target-gperf
48226 info-target-gperf: \
48227 configure-target-gperf
48228 @: $(MAKE); $(unstage)
48229 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48230 r=`${PWD_COMMAND}`; export r; \
48231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48232 $(NORMAL_TARGET_EXPORTS) \
48233 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
48234 for flag in $(EXTRA_TARGET_FLAGS); do \
48235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48236 done; \
48237 (cd $(TARGET_SUBDIR)/gperf && \
48238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48240 "RANLIB=$${RANLIB}" \
48241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48242 info) \
48243 || exit 1
48245 @endif target-gperf
48247 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
48248 maybe-dvi-target-gperf:
48249 @if target-gperf
48250 maybe-dvi-target-gperf: dvi-target-gperf
48252 dvi-target-gperf: \
48253 configure-target-gperf
48254 @: $(MAKE); $(unstage)
48255 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48256 r=`${PWD_COMMAND}`; export r; \
48257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48258 $(NORMAL_TARGET_EXPORTS) \
48259 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
48260 for flag in $(EXTRA_TARGET_FLAGS); do \
48261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48262 done; \
48263 (cd $(TARGET_SUBDIR)/gperf && \
48264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48266 "RANLIB=$${RANLIB}" \
48267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48268 dvi) \
48269 || exit 1
48271 @endif target-gperf
48273 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
48274 maybe-pdf-target-gperf:
48275 @if target-gperf
48276 maybe-pdf-target-gperf: pdf-target-gperf
48278 pdf-target-gperf: \
48279 configure-target-gperf
48280 @: $(MAKE); $(unstage)
48281 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48282 r=`${PWD_COMMAND}`; export r; \
48283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48284 $(NORMAL_TARGET_EXPORTS) \
48285 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
48286 for flag in $(EXTRA_TARGET_FLAGS); do \
48287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48288 done; \
48289 (cd $(TARGET_SUBDIR)/gperf && \
48290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48292 "RANLIB=$${RANLIB}" \
48293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48294 pdf) \
48295 || exit 1
48297 @endif target-gperf
48299 .PHONY: maybe-html-target-gperf html-target-gperf
48300 maybe-html-target-gperf:
48301 @if target-gperf
48302 maybe-html-target-gperf: html-target-gperf
48304 html-target-gperf: \
48305 configure-target-gperf
48306 @: $(MAKE); $(unstage)
48307 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48308 r=`${PWD_COMMAND}`; export r; \
48309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48310 $(NORMAL_TARGET_EXPORTS) \
48311 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
48312 for flag in $(EXTRA_TARGET_FLAGS); do \
48313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48314 done; \
48315 (cd $(TARGET_SUBDIR)/gperf && \
48316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48318 "RANLIB=$${RANLIB}" \
48319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48320 html) \
48321 || exit 1
48323 @endif target-gperf
48325 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
48326 maybe-TAGS-target-gperf:
48327 @if target-gperf
48328 maybe-TAGS-target-gperf: TAGS-target-gperf
48330 TAGS-target-gperf: \
48331 configure-target-gperf
48332 @: $(MAKE); $(unstage)
48333 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48334 r=`${PWD_COMMAND}`; export r; \
48335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48336 $(NORMAL_TARGET_EXPORTS) \
48337 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
48338 for flag in $(EXTRA_TARGET_FLAGS); do \
48339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48340 done; \
48341 (cd $(TARGET_SUBDIR)/gperf && \
48342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48344 "RANLIB=$${RANLIB}" \
48345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48346 TAGS) \
48347 || exit 1
48349 @endif target-gperf
48351 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
48352 maybe-install-info-target-gperf:
48353 @if target-gperf
48354 maybe-install-info-target-gperf: install-info-target-gperf
48356 install-info-target-gperf: \
48357 configure-target-gperf \
48358 info-target-gperf
48359 @: $(MAKE); $(unstage)
48360 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48361 r=`${PWD_COMMAND}`; export r; \
48362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48363 $(NORMAL_TARGET_EXPORTS) \
48364 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
48365 for flag in $(EXTRA_TARGET_FLAGS); do \
48366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48367 done; \
48368 (cd $(TARGET_SUBDIR)/gperf && \
48369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48371 "RANLIB=$${RANLIB}" \
48372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48373 install-info) \
48374 || exit 1
48376 @endif target-gperf
48378 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
48379 maybe-install-pdf-target-gperf:
48380 @if target-gperf
48381 maybe-install-pdf-target-gperf: install-pdf-target-gperf
48383 install-pdf-target-gperf: \
48384 configure-target-gperf \
48385 pdf-target-gperf
48386 @: $(MAKE); $(unstage)
48387 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48388 r=`${PWD_COMMAND}`; export r; \
48389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48390 $(NORMAL_TARGET_EXPORTS) \
48391 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
48392 for flag in $(EXTRA_TARGET_FLAGS); do \
48393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48394 done; \
48395 (cd $(TARGET_SUBDIR)/gperf && \
48396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48398 "RANLIB=$${RANLIB}" \
48399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48400 install-pdf) \
48401 || exit 1
48403 @endif target-gperf
48405 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
48406 maybe-install-html-target-gperf:
48407 @if target-gperf
48408 maybe-install-html-target-gperf: install-html-target-gperf
48410 install-html-target-gperf: \
48411 configure-target-gperf \
48412 html-target-gperf
48413 @: $(MAKE); $(unstage)
48414 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48415 r=`${PWD_COMMAND}`; export r; \
48416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48417 $(NORMAL_TARGET_EXPORTS) \
48418 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
48419 for flag in $(EXTRA_TARGET_FLAGS); do \
48420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48421 done; \
48422 (cd $(TARGET_SUBDIR)/gperf && \
48423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48425 "RANLIB=$${RANLIB}" \
48426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48427 install-html) \
48428 || exit 1
48430 @endif target-gperf
48432 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
48433 maybe-installcheck-target-gperf:
48434 @if target-gperf
48435 maybe-installcheck-target-gperf: installcheck-target-gperf
48437 installcheck-target-gperf: \
48438 configure-target-gperf
48439 @: $(MAKE); $(unstage)
48440 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48441 r=`${PWD_COMMAND}`; export r; \
48442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48443 $(NORMAL_TARGET_EXPORTS) \
48444 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
48445 for flag in $(EXTRA_TARGET_FLAGS); do \
48446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48447 done; \
48448 (cd $(TARGET_SUBDIR)/gperf && \
48449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48451 "RANLIB=$${RANLIB}" \
48452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48453 installcheck) \
48454 || exit 1
48456 @endif target-gperf
48458 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
48459 maybe-mostlyclean-target-gperf:
48460 @if target-gperf
48461 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
48463 mostlyclean-target-gperf:
48464 @: $(MAKE); $(unstage)
48465 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48466 r=`${PWD_COMMAND}`; export r; \
48467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48468 $(NORMAL_TARGET_EXPORTS) \
48469 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
48470 for flag in $(EXTRA_TARGET_FLAGS); do \
48471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48472 done; \
48473 (cd $(TARGET_SUBDIR)/gperf && \
48474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48476 "RANLIB=$${RANLIB}" \
48477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48478 mostlyclean) \
48479 || exit 1
48481 @endif target-gperf
48483 .PHONY: maybe-clean-target-gperf clean-target-gperf
48484 maybe-clean-target-gperf:
48485 @if target-gperf
48486 maybe-clean-target-gperf: clean-target-gperf
48488 clean-target-gperf:
48489 @: $(MAKE); $(unstage)
48490 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48491 r=`${PWD_COMMAND}`; export r; \
48492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48493 $(NORMAL_TARGET_EXPORTS) \
48494 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
48495 for flag in $(EXTRA_TARGET_FLAGS); do \
48496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48497 done; \
48498 (cd $(TARGET_SUBDIR)/gperf && \
48499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48501 "RANLIB=$${RANLIB}" \
48502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48503 clean) \
48504 || exit 1
48506 @endif target-gperf
48508 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
48509 maybe-distclean-target-gperf:
48510 @if target-gperf
48511 maybe-distclean-target-gperf: distclean-target-gperf
48513 distclean-target-gperf:
48514 @: $(MAKE); $(unstage)
48515 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48516 r=`${PWD_COMMAND}`; export r; \
48517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48518 $(NORMAL_TARGET_EXPORTS) \
48519 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
48520 for flag in $(EXTRA_TARGET_FLAGS); do \
48521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48522 done; \
48523 (cd $(TARGET_SUBDIR)/gperf && \
48524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48526 "RANLIB=$${RANLIB}" \
48527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48528 distclean) \
48529 || exit 1
48531 @endif target-gperf
48533 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
48534 maybe-maintainer-clean-target-gperf:
48535 @if target-gperf
48536 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
48538 maintainer-clean-target-gperf:
48539 @: $(MAKE); $(unstage)
48540 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
48541 r=`${PWD_COMMAND}`; export r; \
48542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48543 $(NORMAL_TARGET_EXPORTS) \
48544 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
48545 for flag in $(EXTRA_TARGET_FLAGS); do \
48546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48547 done; \
48548 (cd $(TARGET_SUBDIR)/gperf && \
48549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48551 "RANLIB=$${RANLIB}" \
48552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48553 maintainer-clean) \
48554 || exit 1
48556 @endif target-gperf
48562 .PHONY: configure-target-examples maybe-configure-target-examples
48563 maybe-configure-target-examples:
48564 @if gcc-bootstrap
48565 configure-target-examples: stage_current
48566 @endif gcc-bootstrap
48567 @if target-examples
48568 maybe-configure-target-examples: configure-target-examples
48569 configure-target-examples:
48570 @: $(MAKE); $(unstage)
48571 @r=`${PWD_COMMAND}`; export r; \
48572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48573 echo "Checking multilib configuration for examples..."; \
48574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
48575 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
48576 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
48577 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
48578 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
48579 else \
48580 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
48581 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
48582 fi; \
48583 else \
48584 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
48585 fi; \
48586 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
48587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
48588 $(NORMAL_TARGET_EXPORTS) \
48589 echo Configuring in $(TARGET_SUBDIR)/examples; \
48590 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
48591 case $(srcdir) in \
48592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48593 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
48594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48595 esac; \
48596 srcdiroption="--srcdir=$${topdir}/examples"; \
48597 libsrcdir="$$s/examples"; \
48598 rm -f no-such-file || : ; \
48599 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48600 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48601 --target=${target_alias} $${srcdiroption} \
48602 || exit 1
48603 @endif target-examples
48609 .PHONY: all-target-examples maybe-all-target-examples
48610 maybe-all-target-examples:
48611 @if gcc-bootstrap
48612 all-target-examples: stage_current
48613 @endif gcc-bootstrap
48614 @if target-examples
48615 TARGET-target-examples=all
48616 maybe-all-target-examples: all-target-examples
48617 all-target-examples: configure-target-examples
48618 @: $(MAKE); $(unstage)
48619 @r=`${PWD_COMMAND}`; export r; \
48620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48621 $(NORMAL_TARGET_EXPORTS) \
48622 (cd $(TARGET_SUBDIR)/examples && \
48623 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48624 $(TARGET-target-examples))
48625 @endif target-examples
48631 .PHONY: check-target-examples maybe-check-target-examples
48632 maybe-check-target-examples:
48633 @if target-examples
48634 maybe-check-target-examples: check-target-examples
48636 # Dummy target for uncheckable module.
48637 check-target-examples:
48639 @endif target-examples
48641 .PHONY: install-target-examples maybe-install-target-examples
48642 maybe-install-target-examples:
48643 @if target-examples
48644 maybe-install-target-examples: install-target-examples
48646 # Dummy target for uninstallable.
48647 install-target-examples:
48649 @endif target-examples
48651 # Other targets (info, dvi, pdf, etc.)
48653 .PHONY: maybe-info-target-examples info-target-examples
48654 maybe-info-target-examples:
48655 @if target-examples
48656 maybe-info-target-examples: info-target-examples
48658 info-target-examples: \
48659 configure-target-examples
48660 @: $(MAKE); $(unstage)
48661 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48662 r=`${PWD_COMMAND}`; export r; \
48663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48664 $(NORMAL_TARGET_EXPORTS) \
48665 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
48666 for flag in $(EXTRA_TARGET_FLAGS); do \
48667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48668 done; \
48669 (cd $(TARGET_SUBDIR)/examples && \
48670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48672 "RANLIB=$${RANLIB}" \
48673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48674 info) \
48675 || exit 1
48677 @endif target-examples
48679 .PHONY: maybe-dvi-target-examples dvi-target-examples
48680 maybe-dvi-target-examples:
48681 @if target-examples
48682 maybe-dvi-target-examples: dvi-target-examples
48684 dvi-target-examples: \
48685 configure-target-examples
48686 @: $(MAKE); $(unstage)
48687 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48688 r=`${PWD_COMMAND}`; export r; \
48689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48690 $(NORMAL_TARGET_EXPORTS) \
48691 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
48692 for flag in $(EXTRA_TARGET_FLAGS); do \
48693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48694 done; \
48695 (cd $(TARGET_SUBDIR)/examples && \
48696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48698 "RANLIB=$${RANLIB}" \
48699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48700 dvi) \
48701 || exit 1
48703 @endif target-examples
48705 .PHONY: maybe-pdf-target-examples pdf-target-examples
48706 maybe-pdf-target-examples:
48707 @if target-examples
48708 maybe-pdf-target-examples: pdf-target-examples
48710 pdf-target-examples: \
48711 configure-target-examples
48712 @: $(MAKE); $(unstage)
48713 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48714 r=`${PWD_COMMAND}`; export r; \
48715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48716 $(NORMAL_TARGET_EXPORTS) \
48717 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
48718 for flag in $(EXTRA_TARGET_FLAGS); do \
48719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48720 done; \
48721 (cd $(TARGET_SUBDIR)/examples && \
48722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48724 "RANLIB=$${RANLIB}" \
48725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48726 pdf) \
48727 || exit 1
48729 @endif target-examples
48731 .PHONY: maybe-html-target-examples html-target-examples
48732 maybe-html-target-examples:
48733 @if target-examples
48734 maybe-html-target-examples: html-target-examples
48736 html-target-examples: \
48737 configure-target-examples
48738 @: $(MAKE); $(unstage)
48739 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48740 r=`${PWD_COMMAND}`; export r; \
48741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48742 $(NORMAL_TARGET_EXPORTS) \
48743 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
48744 for flag in $(EXTRA_TARGET_FLAGS); do \
48745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48746 done; \
48747 (cd $(TARGET_SUBDIR)/examples && \
48748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48750 "RANLIB=$${RANLIB}" \
48751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48752 html) \
48753 || exit 1
48755 @endif target-examples
48757 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
48758 maybe-TAGS-target-examples:
48759 @if target-examples
48760 maybe-TAGS-target-examples: TAGS-target-examples
48762 TAGS-target-examples: \
48763 configure-target-examples
48764 @: $(MAKE); $(unstage)
48765 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48766 r=`${PWD_COMMAND}`; export r; \
48767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48768 $(NORMAL_TARGET_EXPORTS) \
48769 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
48770 for flag in $(EXTRA_TARGET_FLAGS); do \
48771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48772 done; \
48773 (cd $(TARGET_SUBDIR)/examples && \
48774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48776 "RANLIB=$${RANLIB}" \
48777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48778 TAGS) \
48779 || exit 1
48781 @endif target-examples
48783 .PHONY: maybe-install-info-target-examples install-info-target-examples
48784 maybe-install-info-target-examples:
48785 @if target-examples
48786 maybe-install-info-target-examples: install-info-target-examples
48788 install-info-target-examples: \
48789 configure-target-examples \
48790 info-target-examples
48791 @: $(MAKE); $(unstage)
48792 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48793 r=`${PWD_COMMAND}`; export r; \
48794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48795 $(NORMAL_TARGET_EXPORTS) \
48796 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
48797 for flag in $(EXTRA_TARGET_FLAGS); do \
48798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48799 done; \
48800 (cd $(TARGET_SUBDIR)/examples && \
48801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48803 "RANLIB=$${RANLIB}" \
48804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48805 install-info) \
48806 || exit 1
48808 @endif target-examples
48810 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
48811 maybe-install-pdf-target-examples:
48812 @if target-examples
48813 maybe-install-pdf-target-examples: install-pdf-target-examples
48815 install-pdf-target-examples: \
48816 configure-target-examples \
48817 pdf-target-examples
48818 @: $(MAKE); $(unstage)
48819 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48820 r=`${PWD_COMMAND}`; export r; \
48821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48822 $(NORMAL_TARGET_EXPORTS) \
48823 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
48824 for flag in $(EXTRA_TARGET_FLAGS); do \
48825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48826 done; \
48827 (cd $(TARGET_SUBDIR)/examples && \
48828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48830 "RANLIB=$${RANLIB}" \
48831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48832 install-pdf) \
48833 || exit 1
48835 @endif target-examples
48837 .PHONY: maybe-install-html-target-examples install-html-target-examples
48838 maybe-install-html-target-examples:
48839 @if target-examples
48840 maybe-install-html-target-examples: install-html-target-examples
48842 install-html-target-examples: \
48843 configure-target-examples \
48844 html-target-examples
48845 @: $(MAKE); $(unstage)
48846 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48847 r=`${PWD_COMMAND}`; export r; \
48848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48849 $(NORMAL_TARGET_EXPORTS) \
48850 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
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)/examples && \
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 install-html) \
48860 || exit 1
48862 @endif target-examples
48864 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
48865 maybe-installcheck-target-examples:
48866 @if target-examples
48867 maybe-installcheck-target-examples: installcheck-target-examples
48869 installcheck-target-examples: \
48870 configure-target-examples
48871 @: $(MAKE); $(unstage)
48872 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48873 r=`${PWD_COMMAND}`; export r; \
48874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48875 $(NORMAL_TARGET_EXPORTS) \
48876 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
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)/examples && \
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 installcheck) \
48886 || exit 1
48888 @endif target-examples
48890 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
48891 maybe-mostlyclean-target-examples:
48892 @if target-examples
48893 maybe-mostlyclean-target-examples: mostlyclean-target-examples
48895 mostlyclean-target-examples:
48896 @: $(MAKE); $(unstage)
48897 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48898 r=`${PWD_COMMAND}`; export r; \
48899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48900 $(NORMAL_TARGET_EXPORTS) \
48901 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
48902 for flag in $(EXTRA_TARGET_FLAGS); do \
48903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48904 done; \
48905 (cd $(TARGET_SUBDIR)/examples && \
48906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48908 "RANLIB=$${RANLIB}" \
48909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48910 mostlyclean) \
48911 || exit 1
48913 @endif target-examples
48915 .PHONY: maybe-clean-target-examples clean-target-examples
48916 maybe-clean-target-examples:
48917 @if target-examples
48918 maybe-clean-target-examples: clean-target-examples
48920 clean-target-examples:
48921 @: $(MAKE); $(unstage)
48922 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48923 r=`${PWD_COMMAND}`; export r; \
48924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48925 $(NORMAL_TARGET_EXPORTS) \
48926 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
48927 for flag in $(EXTRA_TARGET_FLAGS); do \
48928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48929 done; \
48930 (cd $(TARGET_SUBDIR)/examples && \
48931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48933 "RANLIB=$${RANLIB}" \
48934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48935 clean) \
48936 || exit 1
48938 @endif target-examples
48940 .PHONY: maybe-distclean-target-examples distclean-target-examples
48941 maybe-distclean-target-examples:
48942 @if target-examples
48943 maybe-distclean-target-examples: distclean-target-examples
48945 distclean-target-examples:
48946 @: $(MAKE); $(unstage)
48947 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48948 r=`${PWD_COMMAND}`; export r; \
48949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48950 $(NORMAL_TARGET_EXPORTS) \
48951 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
48952 for flag in $(EXTRA_TARGET_FLAGS); do \
48953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48954 done; \
48955 (cd $(TARGET_SUBDIR)/examples && \
48956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48958 "RANLIB=$${RANLIB}" \
48959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48960 distclean) \
48961 || exit 1
48963 @endif target-examples
48965 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
48966 maybe-maintainer-clean-target-examples:
48967 @if target-examples
48968 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
48970 maintainer-clean-target-examples:
48971 @: $(MAKE); $(unstage)
48972 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
48973 r=`${PWD_COMMAND}`; export r; \
48974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48975 $(NORMAL_TARGET_EXPORTS) \
48976 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
48977 for flag in $(EXTRA_TARGET_FLAGS); do \
48978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48979 done; \
48980 (cd $(TARGET_SUBDIR)/examples && \
48981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48983 "RANLIB=$${RANLIB}" \
48984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48985 maintainer-clean) \
48986 || exit 1
48988 @endif target-examples
48994 .PHONY: configure-target-libffi maybe-configure-target-libffi
48995 maybe-configure-target-libffi:
48996 @if gcc-bootstrap
48997 configure-target-libffi: stage_current
48998 @endif gcc-bootstrap
48999 @if target-libffi
49000 maybe-configure-target-libffi: configure-target-libffi
49001 configure-target-libffi:
49002 @: $(MAKE); $(unstage)
49003 @r=`${PWD_COMMAND}`; export r; \
49004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49005 echo "Checking multilib configuration for libffi..."; \
49006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
49007 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
49008 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
49009 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
49010 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
49011 else \
49012 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
49013 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
49014 fi; \
49015 else \
49016 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
49017 fi; \
49018 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
49019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
49020 $(NORMAL_TARGET_EXPORTS) \
49021 echo Configuring in $(TARGET_SUBDIR)/libffi; \
49022 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
49023 case $(srcdir) in \
49024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49025 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
49026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49027 esac; \
49028 srcdiroption="--srcdir=$${topdir}/libffi"; \
49029 libsrcdir="$$s/libffi"; \
49030 rm -f no-such-file || : ; \
49031 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49032 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49033 --target=${target_alias} $${srcdiroption} \
49034 || exit 1
49035 @endif target-libffi
49041 .PHONY: all-target-libffi maybe-all-target-libffi
49042 maybe-all-target-libffi:
49043 @if gcc-bootstrap
49044 all-target-libffi: stage_current
49045 @endif gcc-bootstrap
49046 @if target-libffi
49047 TARGET-target-libffi=all
49048 maybe-all-target-libffi: all-target-libffi
49049 all-target-libffi: configure-target-libffi
49050 @: $(MAKE); $(unstage)
49051 @r=`${PWD_COMMAND}`; export r; \
49052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49053 $(NORMAL_TARGET_EXPORTS) \
49054 (cd $(TARGET_SUBDIR)/libffi && \
49055 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49056 $(TARGET-target-libffi))
49057 @endif target-libffi
49063 .PHONY: check-target-libffi maybe-check-target-libffi
49064 maybe-check-target-libffi:
49065 @if target-libffi
49066 maybe-check-target-libffi: check-target-libffi
49068 check-target-libffi:
49069 @: $(MAKE); $(unstage)
49070 @r=`${PWD_COMMAND}`; export r; \
49071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49072 $(NORMAL_TARGET_EXPORTS) \
49073 (cd $(TARGET_SUBDIR)/libffi && \
49074 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49076 @endif target-libffi
49078 .PHONY: install-target-libffi maybe-install-target-libffi
49079 maybe-install-target-libffi:
49080 @if target-libffi
49081 maybe-install-target-libffi: install-target-libffi
49083 install-target-libffi: installdirs
49084 @: $(MAKE); $(unstage)
49085 @r=`${PWD_COMMAND}`; export r; \
49086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49087 $(NORMAL_TARGET_EXPORTS) \
49088 (cd $(TARGET_SUBDIR)/libffi && \
49089 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49091 @endif target-libffi
49093 # Other targets (info, dvi, pdf, etc.)
49095 .PHONY: maybe-info-target-libffi info-target-libffi
49096 maybe-info-target-libffi:
49097 @if target-libffi
49098 maybe-info-target-libffi: info-target-libffi
49100 info-target-libffi: \
49101 configure-target-libffi
49102 @: $(MAKE); $(unstage)
49103 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49104 r=`${PWD_COMMAND}`; export r; \
49105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49106 $(NORMAL_TARGET_EXPORTS) \
49107 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
49108 for flag in $(EXTRA_TARGET_FLAGS); do \
49109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49110 done; \
49111 (cd $(TARGET_SUBDIR)/libffi && \
49112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49114 "RANLIB=$${RANLIB}" \
49115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49116 info) \
49117 || exit 1
49119 @endif target-libffi
49121 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
49122 maybe-dvi-target-libffi:
49123 @if target-libffi
49124 maybe-dvi-target-libffi: dvi-target-libffi
49126 dvi-target-libffi: \
49127 configure-target-libffi
49128 @: $(MAKE); $(unstage)
49129 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49130 r=`${PWD_COMMAND}`; export r; \
49131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49132 $(NORMAL_TARGET_EXPORTS) \
49133 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
49134 for flag in $(EXTRA_TARGET_FLAGS); do \
49135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49136 done; \
49137 (cd $(TARGET_SUBDIR)/libffi && \
49138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49140 "RANLIB=$${RANLIB}" \
49141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49142 dvi) \
49143 || exit 1
49145 @endif target-libffi
49147 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
49148 maybe-pdf-target-libffi:
49149 @if target-libffi
49150 maybe-pdf-target-libffi: pdf-target-libffi
49152 pdf-target-libffi: \
49153 configure-target-libffi
49154 @: $(MAKE); $(unstage)
49155 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49156 r=`${PWD_COMMAND}`; export r; \
49157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49158 $(NORMAL_TARGET_EXPORTS) \
49159 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
49160 for flag in $(EXTRA_TARGET_FLAGS); do \
49161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49162 done; \
49163 (cd $(TARGET_SUBDIR)/libffi && \
49164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49166 "RANLIB=$${RANLIB}" \
49167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49168 pdf) \
49169 || exit 1
49171 @endif target-libffi
49173 .PHONY: maybe-html-target-libffi html-target-libffi
49174 maybe-html-target-libffi:
49175 @if target-libffi
49176 maybe-html-target-libffi: html-target-libffi
49178 html-target-libffi: \
49179 configure-target-libffi
49180 @: $(MAKE); $(unstage)
49181 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49182 r=`${PWD_COMMAND}`; export r; \
49183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49184 $(NORMAL_TARGET_EXPORTS) \
49185 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
49186 for flag in $(EXTRA_TARGET_FLAGS); do \
49187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49188 done; \
49189 (cd $(TARGET_SUBDIR)/libffi && \
49190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49192 "RANLIB=$${RANLIB}" \
49193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49194 html) \
49195 || exit 1
49197 @endif target-libffi
49199 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
49200 maybe-TAGS-target-libffi:
49201 @if target-libffi
49202 maybe-TAGS-target-libffi: TAGS-target-libffi
49204 TAGS-target-libffi: \
49205 configure-target-libffi
49206 @: $(MAKE); $(unstage)
49207 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49208 r=`${PWD_COMMAND}`; export r; \
49209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49210 $(NORMAL_TARGET_EXPORTS) \
49211 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
49212 for flag in $(EXTRA_TARGET_FLAGS); do \
49213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49214 done; \
49215 (cd $(TARGET_SUBDIR)/libffi && \
49216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49218 "RANLIB=$${RANLIB}" \
49219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49220 TAGS) \
49221 || exit 1
49223 @endif target-libffi
49225 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
49226 maybe-install-info-target-libffi:
49227 @if target-libffi
49228 maybe-install-info-target-libffi: install-info-target-libffi
49230 install-info-target-libffi: \
49231 configure-target-libffi \
49232 info-target-libffi
49233 @: $(MAKE); $(unstage)
49234 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49235 r=`${PWD_COMMAND}`; export r; \
49236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49237 $(NORMAL_TARGET_EXPORTS) \
49238 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
49239 for flag in $(EXTRA_TARGET_FLAGS); do \
49240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49241 done; \
49242 (cd $(TARGET_SUBDIR)/libffi && \
49243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49245 "RANLIB=$${RANLIB}" \
49246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49247 install-info) \
49248 || exit 1
49250 @endif target-libffi
49252 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
49253 maybe-install-pdf-target-libffi:
49254 @if target-libffi
49255 maybe-install-pdf-target-libffi: install-pdf-target-libffi
49257 install-pdf-target-libffi: \
49258 configure-target-libffi \
49259 pdf-target-libffi
49260 @: $(MAKE); $(unstage)
49261 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49262 r=`${PWD_COMMAND}`; export r; \
49263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49264 $(NORMAL_TARGET_EXPORTS) \
49265 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
49266 for flag in $(EXTRA_TARGET_FLAGS); do \
49267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49268 done; \
49269 (cd $(TARGET_SUBDIR)/libffi && \
49270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49272 "RANLIB=$${RANLIB}" \
49273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49274 install-pdf) \
49275 || exit 1
49277 @endif target-libffi
49279 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
49280 maybe-install-html-target-libffi:
49281 @if target-libffi
49282 maybe-install-html-target-libffi: install-html-target-libffi
49284 install-html-target-libffi: \
49285 configure-target-libffi \
49286 html-target-libffi
49287 @: $(MAKE); $(unstage)
49288 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49289 r=`${PWD_COMMAND}`; export r; \
49290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49291 $(NORMAL_TARGET_EXPORTS) \
49292 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 install-html) \
49302 || exit 1
49304 @endif target-libffi
49306 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
49307 maybe-installcheck-target-libffi:
49308 @if target-libffi
49309 maybe-installcheck-target-libffi: installcheck-target-libffi
49311 installcheck-target-libffi: \
49312 configure-target-libffi
49313 @: $(MAKE); $(unstage)
49314 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49315 r=`${PWD_COMMAND}`; export r; \
49316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49317 $(NORMAL_TARGET_EXPORTS) \
49318 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 installcheck) \
49328 || exit 1
49330 @endif target-libffi
49332 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
49333 maybe-mostlyclean-target-libffi:
49334 @if target-libffi
49335 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
49337 mostlyclean-target-libffi:
49338 @: $(MAKE); $(unstage)
49339 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49340 r=`${PWD_COMMAND}`; export r; \
49341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49342 $(NORMAL_TARGET_EXPORTS) \
49343 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
49344 for flag in $(EXTRA_TARGET_FLAGS); do \
49345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49346 done; \
49347 (cd $(TARGET_SUBDIR)/libffi && \
49348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49350 "RANLIB=$${RANLIB}" \
49351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49352 mostlyclean) \
49353 || exit 1
49355 @endif target-libffi
49357 .PHONY: maybe-clean-target-libffi clean-target-libffi
49358 maybe-clean-target-libffi:
49359 @if target-libffi
49360 maybe-clean-target-libffi: clean-target-libffi
49362 clean-target-libffi:
49363 @: $(MAKE); $(unstage)
49364 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49365 r=`${PWD_COMMAND}`; export r; \
49366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49367 $(NORMAL_TARGET_EXPORTS) \
49368 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
49369 for flag in $(EXTRA_TARGET_FLAGS); do \
49370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49371 done; \
49372 (cd $(TARGET_SUBDIR)/libffi && \
49373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49375 "RANLIB=$${RANLIB}" \
49376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49377 clean) \
49378 || exit 1
49380 @endif target-libffi
49382 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
49383 maybe-distclean-target-libffi:
49384 @if target-libffi
49385 maybe-distclean-target-libffi: distclean-target-libffi
49387 distclean-target-libffi:
49388 @: $(MAKE); $(unstage)
49389 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49390 r=`${PWD_COMMAND}`; export r; \
49391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49392 $(NORMAL_TARGET_EXPORTS) \
49393 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
49394 for flag in $(EXTRA_TARGET_FLAGS); do \
49395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49396 done; \
49397 (cd $(TARGET_SUBDIR)/libffi && \
49398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49400 "RANLIB=$${RANLIB}" \
49401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49402 distclean) \
49403 || exit 1
49405 @endif target-libffi
49407 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
49408 maybe-maintainer-clean-target-libffi:
49409 @if target-libffi
49410 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
49412 maintainer-clean-target-libffi:
49413 @: $(MAKE); $(unstage)
49414 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
49415 r=`${PWD_COMMAND}`; export r; \
49416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49417 $(NORMAL_TARGET_EXPORTS) \
49418 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
49419 for flag in $(EXTRA_TARGET_FLAGS); do \
49420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49421 done; \
49422 (cd $(TARGET_SUBDIR)/libffi && \
49423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49425 "RANLIB=$${RANLIB}" \
49426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49427 maintainer-clean) \
49428 || exit 1
49430 @endif target-libffi
49436 .PHONY: configure-target-libjava maybe-configure-target-libjava
49437 maybe-configure-target-libjava:
49438 @if gcc-bootstrap
49439 configure-target-libjava: stage_current
49440 @endif gcc-bootstrap
49441 @if target-libjava
49442 maybe-configure-target-libjava: configure-target-libjava
49443 configure-target-libjava:
49444 @: $(MAKE); $(unstage)
49445 @r=`${PWD_COMMAND}`; export r; \
49446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49447 echo "Checking multilib configuration for libjava..."; \
49448 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
49449 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
49450 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
49451 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
49452 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
49453 else \
49454 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
49455 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
49456 fi; \
49457 else \
49458 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
49459 fi; \
49460 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
49461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
49462 $(RAW_CXX_TARGET_EXPORTS) \
49463 echo Configuring in $(TARGET_SUBDIR)/libjava; \
49464 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
49465 case $(srcdir) in \
49466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49467 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
49468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49469 esac; \
49470 srcdiroption="--srcdir=$${topdir}/libjava"; \
49471 libsrcdir="$$s/libjava"; \
49472 rm -f no-such-file || : ; \
49473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49474 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49475 --target=${target_alias} $${srcdiroption} \
49476 || exit 1
49477 @endif target-libjava
49483 .PHONY: all-target-libjava maybe-all-target-libjava
49484 maybe-all-target-libjava:
49485 @if gcc-bootstrap
49486 all-target-libjava: stage_current
49487 @endif gcc-bootstrap
49488 @if target-libjava
49489 TARGET-target-libjava=all
49490 maybe-all-target-libjava: all-target-libjava
49491 all-target-libjava: configure-target-libjava
49492 @: $(MAKE); $(unstage)
49493 @r=`${PWD_COMMAND}`; export r; \
49494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49495 $(RAW_CXX_TARGET_EXPORTS) \
49496 (cd $(TARGET_SUBDIR)/libjava && \
49497 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
49498 $(TARGET-target-libjava))
49499 @endif target-libjava
49505 .PHONY: check-target-libjava maybe-check-target-libjava
49506 maybe-check-target-libjava:
49507 @if target-libjava
49508 maybe-check-target-libjava: check-target-libjava
49510 check-target-libjava:
49511 @: $(MAKE); $(unstage)
49512 @r=`${PWD_COMMAND}`; export r; \
49513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49514 $(RAW_CXX_TARGET_EXPORTS) \
49515 (cd $(TARGET_SUBDIR)/libjava && \
49516 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
49518 @endif target-libjava
49520 .PHONY: install-target-libjava maybe-install-target-libjava
49521 maybe-install-target-libjava:
49522 @if target-libjava
49523 maybe-install-target-libjava: install-target-libjava
49525 install-target-libjava: installdirs
49526 @: $(MAKE); $(unstage)
49527 @r=`${PWD_COMMAND}`; export r; \
49528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49529 $(RAW_CXX_TARGET_EXPORTS) \
49530 (cd $(TARGET_SUBDIR)/libjava && \
49531 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49533 @endif target-libjava
49535 # Other targets (info, dvi, pdf, etc.)
49537 .PHONY: maybe-info-target-libjava info-target-libjava
49538 maybe-info-target-libjava:
49539 @if target-libjava
49540 maybe-info-target-libjava: info-target-libjava
49542 info-target-libjava: \
49543 configure-target-libjava
49544 @: $(MAKE); $(unstage)
49545 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49546 r=`${PWD_COMMAND}`; export r; \
49547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49548 $(RAW_CXX_TARGET_EXPORTS) \
49549 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
49550 for flag in $(EXTRA_TARGET_FLAGS); do \
49551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49552 done; \
49553 (cd $(TARGET_SUBDIR)/libjava && \
49554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49556 "RANLIB=$${RANLIB}" \
49557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49558 info) \
49559 || exit 1
49561 @endif target-libjava
49563 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
49564 maybe-dvi-target-libjava:
49565 @if target-libjava
49566 maybe-dvi-target-libjava: dvi-target-libjava
49568 dvi-target-libjava: \
49569 configure-target-libjava
49570 @: $(MAKE); $(unstage)
49571 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49572 r=`${PWD_COMMAND}`; export r; \
49573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49574 $(RAW_CXX_TARGET_EXPORTS) \
49575 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
49576 for flag in $(EXTRA_TARGET_FLAGS); do \
49577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49578 done; \
49579 (cd $(TARGET_SUBDIR)/libjava && \
49580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49582 "RANLIB=$${RANLIB}" \
49583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49584 dvi) \
49585 || exit 1
49587 @endif target-libjava
49589 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
49590 maybe-pdf-target-libjava:
49591 @if target-libjava
49592 maybe-pdf-target-libjava: pdf-target-libjava
49594 pdf-target-libjava: \
49595 configure-target-libjava
49596 @: $(MAKE); $(unstage)
49597 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49598 r=`${PWD_COMMAND}`; export r; \
49599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49600 $(RAW_CXX_TARGET_EXPORTS) \
49601 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
49602 for flag in $(EXTRA_TARGET_FLAGS); do \
49603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49604 done; \
49605 (cd $(TARGET_SUBDIR)/libjava && \
49606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49608 "RANLIB=$${RANLIB}" \
49609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49610 pdf) \
49611 || exit 1
49613 @endif target-libjava
49615 .PHONY: maybe-html-target-libjava html-target-libjava
49616 maybe-html-target-libjava:
49617 @if target-libjava
49618 maybe-html-target-libjava: html-target-libjava
49620 html-target-libjava: \
49621 configure-target-libjava
49622 @: $(MAKE); $(unstage)
49623 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49624 r=`${PWD_COMMAND}`; export r; \
49625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49626 $(RAW_CXX_TARGET_EXPORTS) \
49627 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
49628 for flag in $(EXTRA_TARGET_FLAGS); do \
49629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49630 done; \
49631 (cd $(TARGET_SUBDIR)/libjava && \
49632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49634 "RANLIB=$${RANLIB}" \
49635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49636 html) \
49637 || exit 1
49639 @endif target-libjava
49641 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
49642 maybe-TAGS-target-libjava:
49643 @if target-libjava
49644 maybe-TAGS-target-libjava: TAGS-target-libjava
49646 TAGS-target-libjava: \
49647 configure-target-libjava
49648 @: $(MAKE); $(unstage)
49649 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49650 r=`${PWD_COMMAND}`; export r; \
49651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49652 $(RAW_CXX_TARGET_EXPORTS) \
49653 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
49654 for flag in $(EXTRA_TARGET_FLAGS); do \
49655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49656 done; \
49657 (cd $(TARGET_SUBDIR)/libjava && \
49658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49660 "RANLIB=$${RANLIB}" \
49661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49662 TAGS) \
49663 || exit 1
49665 @endif target-libjava
49667 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
49668 maybe-install-info-target-libjava:
49669 @if target-libjava
49670 maybe-install-info-target-libjava: install-info-target-libjava
49672 install-info-target-libjava: \
49673 configure-target-libjava \
49674 info-target-libjava
49675 @: $(MAKE); $(unstage)
49676 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49677 r=`${PWD_COMMAND}`; export r; \
49678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49679 $(RAW_CXX_TARGET_EXPORTS) \
49680 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
49681 for flag in $(EXTRA_TARGET_FLAGS); do \
49682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49683 done; \
49684 (cd $(TARGET_SUBDIR)/libjava && \
49685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49687 "RANLIB=$${RANLIB}" \
49688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49689 install-info) \
49690 || exit 1
49692 @endif target-libjava
49694 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
49695 maybe-install-pdf-target-libjava:
49696 @if target-libjava
49697 maybe-install-pdf-target-libjava: install-pdf-target-libjava
49699 install-pdf-target-libjava: \
49700 configure-target-libjava \
49701 pdf-target-libjava
49702 @: $(MAKE); $(unstage)
49703 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49704 r=`${PWD_COMMAND}`; export r; \
49705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49706 $(RAW_CXX_TARGET_EXPORTS) \
49707 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
49708 for flag in $(EXTRA_TARGET_FLAGS); do \
49709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49710 done; \
49711 (cd $(TARGET_SUBDIR)/libjava && \
49712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49714 "RANLIB=$${RANLIB}" \
49715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49716 install-pdf) \
49717 || exit 1
49719 @endif target-libjava
49721 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
49722 maybe-install-html-target-libjava:
49723 @if target-libjava
49724 maybe-install-html-target-libjava: install-html-target-libjava
49726 install-html-target-libjava: \
49727 configure-target-libjava \
49728 html-target-libjava
49729 @: $(MAKE); $(unstage)
49730 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49731 r=`${PWD_COMMAND}`; export r; \
49732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49733 $(RAW_CXX_TARGET_EXPORTS) \
49734 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 install-html) \
49744 || exit 1
49746 @endif target-libjava
49748 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
49749 maybe-installcheck-target-libjava:
49750 @if target-libjava
49751 maybe-installcheck-target-libjava: installcheck-target-libjava
49753 installcheck-target-libjava: \
49754 configure-target-libjava
49755 @: $(MAKE); $(unstage)
49756 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49757 r=`${PWD_COMMAND}`; export r; \
49758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49759 $(RAW_CXX_TARGET_EXPORTS) \
49760 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 installcheck) \
49770 || exit 1
49772 @endif target-libjava
49774 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
49775 maybe-mostlyclean-target-libjava:
49776 @if target-libjava
49777 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
49779 mostlyclean-target-libjava:
49780 @: $(MAKE); $(unstage)
49781 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49782 r=`${PWD_COMMAND}`; export r; \
49783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49784 $(RAW_CXX_TARGET_EXPORTS) \
49785 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
49786 for flag in $(EXTRA_TARGET_FLAGS); do \
49787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49788 done; \
49789 (cd $(TARGET_SUBDIR)/libjava && \
49790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49792 "RANLIB=$${RANLIB}" \
49793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49794 mostlyclean) \
49795 || exit 1
49797 @endif target-libjava
49799 .PHONY: maybe-clean-target-libjava clean-target-libjava
49800 maybe-clean-target-libjava:
49801 @if target-libjava
49802 maybe-clean-target-libjava: clean-target-libjava
49804 clean-target-libjava:
49805 @: $(MAKE); $(unstage)
49806 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49807 r=`${PWD_COMMAND}`; export r; \
49808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49809 $(RAW_CXX_TARGET_EXPORTS) \
49810 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
49811 for flag in $(EXTRA_TARGET_FLAGS); do \
49812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49813 done; \
49814 (cd $(TARGET_SUBDIR)/libjava && \
49815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49817 "RANLIB=$${RANLIB}" \
49818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49819 clean) \
49820 || exit 1
49822 @endif target-libjava
49824 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
49825 maybe-distclean-target-libjava:
49826 @if target-libjava
49827 maybe-distclean-target-libjava: distclean-target-libjava
49829 distclean-target-libjava:
49830 @: $(MAKE); $(unstage)
49831 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49832 r=`${PWD_COMMAND}`; export r; \
49833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49834 $(RAW_CXX_TARGET_EXPORTS) \
49835 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
49836 for flag in $(EXTRA_TARGET_FLAGS); do \
49837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49838 done; \
49839 (cd $(TARGET_SUBDIR)/libjava && \
49840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49842 "RANLIB=$${RANLIB}" \
49843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49844 distclean) \
49845 || exit 1
49847 @endif target-libjava
49849 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
49850 maybe-maintainer-clean-target-libjava:
49851 @if target-libjava
49852 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
49854 maintainer-clean-target-libjava:
49855 @: $(MAKE); $(unstage)
49856 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
49857 r=`${PWD_COMMAND}`; export r; \
49858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49859 $(RAW_CXX_TARGET_EXPORTS) \
49860 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
49861 for flag in $(EXTRA_TARGET_FLAGS); do \
49862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49863 done; \
49864 (cd $(TARGET_SUBDIR)/libjava && \
49865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49867 "RANLIB=$${RANLIB}" \
49868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49869 maintainer-clean) \
49870 || exit 1
49872 @endif target-libjava
49878 .PHONY: configure-target-zlib maybe-configure-target-zlib
49879 maybe-configure-target-zlib:
49880 @if gcc-bootstrap
49881 configure-target-zlib: stage_current
49882 @endif gcc-bootstrap
49883 @if target-zlib
49884 maybe-configure-target-zlib: configure-target-zlib
49885 configure-target-zlib:
49886 @: $(MAKE); $(unstage)
49887 @r=`${PWD_COMMAND}`; export r; \
49888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49889 echo "Checking multilib configuration for zlib..."; \
49890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
49891 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
49892 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
49893 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
49894 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
49895 else \
49896 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
49897 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49898 fi; \
49899 else \
49900 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49901 fi; \
49902 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
49903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
49904 $(NORMAL_TARGET_EXPORTS) \
49905 echo Configuring in $(TARGET_SUBDIR)/zlib; \
49906 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
49907 case $(srcdir) in \
49908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49909 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
49910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49911 esac; \
49912 srcdiroption="--srcdir=$${topdir}/zlib"; \
49913 libsrcdir="$$s/zlib"; \
49914 rm -f no-such-file || : ; \
49915 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49916 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49917 --target=${target_alias} $${srcdiroption} \
49918 || exit 1
49919 @endif target-zlib
49925 .PHONY: all-target-zlib maybe-all-target-zlib
49926 maybe-all-target-zlib:
49927 @if gcc-bootstrap
49928 all-target-zlib: stage_current
49929 @endif gcc-bootstrap
49930 @if target-zlib
49931 TARGET-target-zlib=all
49932 maybe-all-target-zlib: all-target-zlib
49933 all-target-zlib: configure-target-zlib
49934 @: $(MAKE); $(unstage)
49935 @r=`${PWD_COMMAND}`; export r; \
49936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49937 $(NORMAL_TARGET_EXPORTS) \
49938 (cd $(TARGET_SUBDIR)/zlib && \
49939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49940 $(TARGET-target-zlib))
49941 @endif target-zlib
49947 .PHONY: check-target-zlib maybe-check-target-zlib
49948 maybe-check-target-zlib:
49949 @if target-zlib
49950 maybe-check-target-zlib: check-target-zlib
49952 check-target-zlib:
49953 @: $(MAKE); $(unstage)
49954 @r=`${PWD_COMMAND}`; export r; \
49955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49956 $(NORMAL_TARGET_EXPORTS) \
49957 (cd $(TARGET_SUBDIR)/zlib && \
49958 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49960 @endif target-zlib
49962 .PHONY: install-target-zlib maybe-install-target-zlib
49963 maybe-install-target-zlib:
49964 @if target-zlib
49965 maybe-install-target-zlib: install-target-zlib
49967 install-target-zlib: installdirs
49968 @: $(MAKE); $(unstage)
49969 @r=`${PWD_COMMAND}`; export r; \
49970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49971 $(NORMAL_TARGET_EXPORTS) \
49972 (cd $(TARGET_SUBDIR)/zlib && \
49973 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49975 @endif target-zlib
49977 # Other targets (info, dvi, pdf, etc.)
49979 .PHONY: maybe-info-target-zlib info-target-zlib
49980 maybe-info-target-zlib:
49981 @if target-zlib
49982 maybe-info-target-zlib: info-target-zlib
49984 info-target-zlib: \
49985 configure-target-zlib
49986 @: $(MAKE); $(unstage)
49987 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
49988 r=`${PWD_COMMAND}`; export r; \
49989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49990 $(NORMAL_TARGET_EXPORTS) \
49991 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
49992 for flag in $(EXTRA_TARGET_FLAGS); do \
49993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49994 done; \
49995 (cd $(TARGET_SUBDIR)/zlib && \
49996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49998 "RANLIB=$${RANLIB}" \
49999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50000 info) \
50001 || exit 1
50003 @endif target-zlib
50005 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
50006 maybe-dvi-target-zlib:
50007 @if target-zlib
50008 maybe-dvi-target-zlib: dvi-target-zlib
50010 dvi-target-zlib: \
50011 configure-target-zlib
50012 @: $(MAKE); $(unstage)
50013 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50014 r=`${PWD_COMMAND}`; export r; \
50015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50016 $(NORMAL_TARGET_EXPORTS) \
50017 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
50018 for flag in $(EXTRA_TARGET_FLAGS); do \
50019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50020 done; \
50021 (cd $(TARGET_SUBDIR)/zlib && \
50022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50024 "RANLIB=$${RANLIB}" \
50025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50026 dvi) \
50027 || exit 1
50029 @endif target-zlib
50031 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
50032 maybe-pdf-target-zlib:
50033 @if target-zlib
50034 maybe-pdf-target-zlib: pdf-target-zlib
50036 pdf-target-zlib: \
50037 configure-target-zlib
50038 @: $(MAKE); $(unstage)
50039 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50040 r=`${PWD_COMMAND}`; export r; \
50041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50042 $(NORMAL_TARGET_EXPORTS) \
50043 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
50044 for flag in $(EXTRA_TARGET_FLAGS); do \
50045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50046 done; \
50047 (cd $(TARGET_SUBDIR)/zlib && \
50048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50050 "RANLIB=$${RANLIB}" \
50051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50052 pdf) \
50053 || exit 1
50055 @endif target-zlib
50057 .PHONY: maybe-html-target-zlib html-target-zlib
50058 maybe-html-target-zlib:
50059 @if target-zlib
50060 maybe-html-target-zlib: html-target-zlib
50062 html-target-zlib: \
50063 configure-target-zlib
50064 @: $(MAKE); $(unstage)
50065 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50066 r=`${PWD_COMMAND}`; export r; \
50067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50068 $(NORMAL_TARGET_EXPORTS) \
50069 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
50070 for flag in $(EXTRA_TARGET_FLAGS); do \
50071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50072 done; \
50073 (cd $(TARGET_SUBDIR)/zlib && \
50074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50076 "RANLIB=$${RANLIB}" \
50077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50078 html) \
50079 || exit 1
50081 @endif target-zlib
50083 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
50084 maybe-TAGS-target-zlib:
50085 @if target-zlib
50086 maybe-TAGS-target-zlib: TAGS-target-zlib
50088 TAGS-target-zlib: \
50089 configure-target-zlib
50090 @: $(MAKE); $(unstage)
50091 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50092 r=`${PWD_COMMAND}`; export r; \
50093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50094 $(NORMAL_TARGET_EXPORTS) \
50095 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
50096 for flag in $(EXTRA_TARGET_FLAGS); do \
50097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50098 done; \
50099 (cd $(TARGET_SUBDIR)/zlib && \
50100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50102 "RANLIB=$${RANLIB}" \
50103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50104 TAGS) \
50105 || exit 1
50107 @endif target-zlib
50109 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
50110 maybe-install-info-target-zlib:
50111 @if target-zlib
50112 maybe-install-info-target-zlib: install-info-target-zlib
50114 install-info-target-zlib: \
50115 configure-target-zlib \
50116 info-target-zlib
50117 @: $(MAKE); $(unstage)
50118 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50119 r=`${PWD_COMMAND}`; export r; \
50120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50121 $(NORMAL_TARGET_EXPORTS) \
50122 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
50123 for flag in $(EXTRA_TARGET_FLAGS); do \
50124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50125 done; \
50126 (cd $(TARGET_SUBDIR)/zlib && \
50127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50129 "RANLIB=$${RANLIB}" \
50130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50131 install-info) \
50132 || exit 1
50134 @endif target-zlib
50136 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
50137 maybe-install-pdf-target-zlib:
50138 @if target-zlib
50139 maybe-install-pdf-target-zlib: install-pdf-target-zlib
50141 install-pdf-target-zlib: \
50142 configure-target-zlib \
50143 pdf-target-zlib
50144 @: $(MAKE); $(unstage)
50145 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50146 r=`${PWD_COMMAND}`; export r; \
50147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50148 $(NORMAL_TARGET_EXPORTS) \
50149 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
50150 for flag in $(EXTRA_TARGET_FLAGS); do \
50151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50152 done; \
50153 (cd $(TARGET_SUBDIR)/zlib && \
50154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50156 "RANLIB=$${RANLIB}" \
50157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50158 install-pdf) \
50159 || exit 1
50161 @endif target-zlib
50163 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
50164 maybe-install-html-target-zlib:
50165 @if target-zlib
50166 maybe-install-html-target-zlib: install-html-target-zlib
50168 install-html-target-zlib: \
50169 configure-target-zlib \
50170 html-target-zlib
50171 @: $(MAKE); $(unstage)
50172 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50173 r=`${PWD_COMMAND}`; export r; \
50174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50175 $(NORMAL_TARGET_EXPORTS) \
50176 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 install-html) \
50186 || exit 1
50188 @endif target-zlib
50190 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
50191 maybe-installcheck-target-zlib:
50192 @if target-zlib
50193 maybe-installcheck-target-zlib: installcheck-target-zlib
50195 installcheck-target-zlib: \
50196 configure-target-zlib
50197 @: $(MAKE); $(unstage)
50198 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50199 r=`${PWD_COMMAND}`; export r; \
50200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50201 $(NORMAL_TARGET_EXPORTS) \
50202 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 installcheck) \
50212 || exit 1
50214 @endif target-zlib
50216 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
50217 maybe-mostlyclean-target-zlib:
50218 @if target-zlib
50219 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
50221 mostlyclean-target-zlib:
50222 @: $(MAKE); $(unstage)
50223 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50224 r=`${PWD_COMMAND}`; export r; \
50225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50226 $(NORMAL_TARGET_EXPORTS) \
50227 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
50228 for flag in $(EXTRA_TARGET_FLAGS); do \
50229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50230 done; \
50231 (cd $(TARGET_SUBDIR)/zlib && \
50232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50234 "RANLIB=$${RANLIB}" \
50235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50236 mostlyclean) \
50237 || exit 1
50239 @endif target-zlib
50241 .PHONY: maybe-clean-target-zlib clean-target-zlib
50242 maybe-clean-target-zlib:
50243 @if target-zlib
50244 maybe-clean-target-zlib: clean-target-zlib
50246 clean-target-zlib:
50247 @: $(MAKE); $(unstage)
50248 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50249 r=`${PWD_COMMAND}`; export r; \
50250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50251 $(NORMAL_TARGET_EXPORTS) \
50252 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
50253 for flag in $(EXTRA_TARGET_FLAGS); do \
50254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50255 done; \
50256 (cd $(TARGET_SUBDIR)/zlib && \
50257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50259 "RANLIB=$${RANLIB}" \
50260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50261 clean) \
50262 || exit 1
50264 @endif target-zlib
50266 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
50267 maybe-distclean-target-zlib:
50268 @if target-zlib
50269 maybe-distclean-target-zlib: distclean-target-zlib
50271 distclean-target-zlib:
50272 @: $(MAKE); $(unstage)
50273 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50274 r=`${PWD_COMMAND}`; export r; \
50275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50276 $(NORMAL_TARGET_EXPORTS) \
50277 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
50278 for flag in $(EXTRA_TARGET_FLAGS); do \
50279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50280 done; \
50281 (cd $(TARGET_SUBDIR)/zlib && \
50282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50284 "RANLIB=$${RANLIB}" \
50285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50286 distclean) \
50287 || exit 1
50289 @endif target-zlib
50291 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
50292 maybe-maintainer-clean-target-zlib:
50293 @if target-zlib
50294 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
50296 maintainer-clean-target-zlib:
50297 @: $(MAKE); $(unstage)
50298 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
50299 r=`${PWD_COMMAND}`; export r; \
50300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50301 $(NORMAL_TARGET_EXPORTS) \
50302 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
50303 for flag in $(EXTRA_TARGET_FLAGS); do \
50304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50305 done; \
50306 (cd $(TARGET_SUBDIR)/zlib && \
50307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50309 "RANLIB=$${RANLIB}" \
50310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50311 maintainer-clean) \
50312 || exit 1
50314 @endif target-zlib
50320 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
50321 maybe-configure-target-boehm-gc:
50322 @if gcc-bootstrap
50323 configure-target-boehm-gc: stage_current
50324 @endif gcc-bootstrap
50325 @if target-boehm-gc
50326 maybe-configure-target-boehm-gc: configure-target-boehm-gc
50327 configure-target-boehm-gc:
50328 @: $(MAKE); $(unstage)
50329 @r=`${PWD_COMMAND}`; export r; \
50330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50331 echo "Checking multilib configuration for boehm-gc..."; \
50332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
50333 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
50334 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
50335 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
50336 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
50337 else \
50338 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
50339 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
50340 fi; \
50341 else \
50342 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
50343 fi; \
50344 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
50345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
50346 $(NORMAL_TARGET_EXPORTS) \
50347 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
50348 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
50349 case $(srcdir) in \
50350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50351 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
50352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50353 esac; \
50354 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
50355 libsrcdir="$$s/boehm-gc"; \
50356 rm -f no-such-file || : ; \
50357 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50358 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50359 --target=${target_alias} $${srcdiroption} \
50360 || exit 1
50361 @endif target-boehm-gc
50367 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
50368 maybe-all-target-boehm-gc:
50369 @if gcc-bootstrap
50370 all-target-boehm-gc: stage_current
50371 @endif gcc-bootstrap
50372 @if target-boehm-gc
50373 TARGET-target-boehm-gc=all
50374 maybe-all-target-boehm-gc: all-target-boehm-gc
50375 all-target-boehm-gc: configure-target-boehm-gc
50376 @: $(MAKE); $(unstage)
50377 @r=`${PWD_COMMAND}`; export r; \
50378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50379 $(NORMAL_TARGET_EXPORTS) \
50380 (cd $(TARGET_SUBDIR)/boehm-gc && \
50381 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50382 $(TARGET-target-boehm-gc))
50383 @endif target-boehm-gc
50389 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
50390 maybe-check-target-boehm-gc:
50391 @if target-boehm-gc
50392 maybe-check-target-boehm-gc: check-target-boehm-gc
50394 check-target-boehm-gc:
50395 @: $(MAKE); $(unstage)
50396 @r=`${PWD_COMMAND}`; export r; \
50397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50398 $(NORMAL_TARGET_EXPORTS) \
50399 (cd $(TARGET_SUBDIR)/boehm-gc && \
50400 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50402 @endif target-boehm-gc
50404 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
50405 maybe-install-target-boehm-gc:
50406 @if target-boehm-gc
50407 maybe-install-target-boehm-gc: install-target-boehm-gc
50409 install-target-boehm-gc: installdirs
50410 @: $(MAKE); $(unstage)
50411 @r=`${PWD_COMMAND}`; export r; \
50412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50413 $(NORMAL_TARGET_EXPORTS) \
50414 (cd $(TARGET_SUBDIR)/boehm-gc && \
50415 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50417 @endif target-boehm-gc
50419 # Other targets (info, dvi, pdf, etc.)
50421 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
50422 maybe-info-target-boehm-gc:
50423 @if target-boehm-gc
50424 maybe-info-target-boehm-gc: info-target-boehm-gc
50426 info-target-boehm-gc: \
50427 configure-target-boehm-gc
50428 @: $(MAKE); $(unstage)
50429 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50430 r=`${PWD_COMMAND}`; export r; \
50431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50432 $(NORMAL_TARGET_EXPORTS) \
50433 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
50434 for flag in $(EXTRA_TARGET_FLAGS); do \
50435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50436 done; \
50437 (cd $(TARGET_SUBDIR)/boehm-gc && \
50438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50440 "RANLIB=$${RANLIB}" \
50441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50442 info) \
50443 || exit 1
50445 @endif target-boehm-gc
50447 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
50448 maybe-dvi-target-boehm-gc:
50449 @if target-boehm-gc
50450 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
50452 dvi-target-boehm-gc: \
50453 configure-target-boehm-gc
50454 @: $(MAKE); $(unstage)
50455 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50456 r=`${PWD_COMMAND}`; export r; \
50457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50458 $(NORMAL_TARGET_EXPORTS) \
50459 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
50460 for flag in $(EXTRA_TARGET_FLAGS); do \
50461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50462 done; \
50463 (cd $(TARGET_SUBDIR)/boehm-gc && \
50464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50466 "RANLIB=$${RANLIB}" \
50467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50468 dvi) \
50469 || exit 1
50471 @endif target-boehm-gc
50473 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
50474 maybe-pdf-target-boehm-gc:
50475 @if target-boehm-gc
50476 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
50478 pdf-target-boehm-gc: \
50479 configure-target-boehm-gc
50480 @: $(MAKE); $(unstage)
50481 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50482 r=`${PWD_COMMAND}`; export r; \
50483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50484 $(NORMAL_TARGET_EXPORTS) \
50485 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
50486 for flag in $(EXTRA_TARGET_FLAGS); do \
50487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50488 done; \
50489 (cd $(TARGET_SUBDIR)/boehm-gc && \
50490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50492 "RANLIB=$${RANLIB}" \
50493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50494 pdf) \
50495 || exit 1
50497 @endif target-boehm-gc
50499 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
50500 maybe-html-target-boehm-gc:
50501 @if target-boehm-gc
50502 maybe-html-target-boehm-gc: html-target-boehm-gc
50504 html-target-boehm-gc: \
50505 configure-target-boehm-gc
50506 @: $(MAKE); $(unstage)
50507 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50508 r=`${PWD_COMMAND}`; export r; \
50509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50510 $(NORMAL_TARGET_EXPORTS) \
50511 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
50512 for flag in $(EXTRA_TARGET_FLAGS); do \
50513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50514 done; \
50515 (cd $(TARGET_SUBDIR)/boehm-gc && \
50516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50518 "RANLIB=$${RANLIB}" \
50519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50520 html) \
50521 || exit 1
50523 @endif target-boehm-gc
50525 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
50526 maybe-TAGS-target-boehm-gc:
50527 @if target-boehm-gc
50528 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
50530 TAGS-target-boehm-gc: \
50531 configure-target-boehm-gc
50532 @: $(MAKE); $(unstage)
50533 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50534 r=`${PWD_COMMAND}`; export r; \
50535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50536 $(NORMAL_TARGET_EXPORTS) \
50537 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
50538 for flag in $(EXTRA_TARGET_FLAGS); do \
50539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50540 done; \
50541 (cd $(TARGET_SUBDIR)/boehm-gc && \
50542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50544 "RANLIB=$${RANLIB}" \
50545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50546 TAGS) \
50547 || exit 1
50549 @endif target-boehm-gc
50551 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
50552 maybe-install-info-target-boehm-gc:
50553 @if target-boehm-gc
50554 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
50556 install-info-target-boehm-gc: \
50557 configure-target-boehm-gc \
50558 info-target-boehm-gc
50559 @: $(MAKE); $(unstage)
50560 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50561 r=`${PWD_COMMAND}`; export r; \
50562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50563 $(NORMAL_TARGET_EXPORTS) \
50564 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
50565 for flag in $(EXTRA_TARGET_FLAGS); do \
50566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50567 done; \
50568 (cd $(TARGET_SUBDIR)/boehm-gc && \
50569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50571 "RANLIB=$${RANLIB}" \
50572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50573 install-info) \
50574 || exit 1
50576 @endif target-boehm-gc
50578 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
50579 maybe-install-pdf-target-boehm-gc:
50580 @if target-boehm-gc
50581 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
50583 install-pdf-target-boehm-gc: \
50584 configure-target-boehm-gc \
50585 pdf-target-boehm-gc
50586 @: $(MAKE); $(unstage)
50587 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50588 r=`${PWD_COMMAND}`; export r; \
50589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50590 $(NORMAL_TARGET_EXPORTS) \
50591 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
50592 for flag in $(EXTRA_TARGET_FLAGS); do \
50593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50594 done; \
50595 (cd $(TARGET_SUBDIR)/boehm-gc && \
50596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50598 "RANLIB=$${RANLIB}" \
50599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50600 install-pdf) \
50601 || exit 1
50603 @endif target-boehm-gc
50605 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
50606 maybe-install-html-target-boehm-gc:
50607 @if target-boehm-gc
50608 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
50610 install-html-target-boehm-gc: \
50611 configure-target-boehm-gc \
50612 html-target-boehm-gc
50613 @: $(MAKE); $(unstage)
50614 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50615 r=`${PWD_COMMAND}`; export r; \
50616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50617 $(NORMAL_TARGET_EXPORTS) \
50618 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 install-html) \
50628 || exit 1
50630 @endif target-boehm-gc
50632 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
50633 maybe-installcheck-target-boehm-gc:
50634 @if target-boehm-gc
50635 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
50637 installcheck-target-boehm-gc: \
50638 configure-target-boehm-gc
50639 @: $(MAKE); $(unstage)
50640 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50641 r=`${PWD_COMMAND}`; export r; \
50642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50643 $(NORMAL_TARGET_EXPORTS) \
50644 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 installcheck) \
50654 || exit 1
50656 @endif target-boehm-gc
50658 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
50659 maybe-mostlyclean-target-boehm-gc:
50660 @if target-boehm-gc
50661 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
50663 mostlyclean-target-boehm-gc:
50664 @: $(MAKE); $(unstage)
50665 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50666 r=`${PWD_COMMAND}`; export r; \
50667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50668 $(NORMAL_TARGET_EXPORTS) \
50669 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
50670 for flag in $(EXTRA_TARGET_FLAGS); do \
50671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50672 done; \
50673 (cd $(TARGET_SUBDIR)/boehm-gc && \
50674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50676 "RANLIB=$${RANLIB}" \
50677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50678 mostlyclean) \
50679 || exit 1
50681 @endif target-boehm-gc
50683 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
50684 maybe-clean-target-boehm-gc:
50685 @if target-boehm-gc
50686 maybe-clean-target-boehm-gc: clean-target-boehm-gc
50688 clean-target-boehm-gc:
50689 @: $(MAKE); $(unstage)
50690 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50691 r=`${PWD_COMMAND}`; export r; \
50692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50693 $(NORMAL_TARGET_EXPORTS) \
50694 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
50695 for flag in $(EXTRA_TARGET_FLAGS); do \
50696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50697 done; \
50698 (cd $(TARGET_SUBDIR)/boehm-gc && \
50699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50701 "RANLIB=$${RANLIB}" \
50702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50703 clean) \
50704 || exit 1
50706 @endif target-boehm-gc
50708 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
50709 maybe-distclean-target-boehm-gc:
50710 @if target-boehm-gc
50711 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
50713 distclean-target-boehm-gc:
50714 @: $(MAKE); $(unstage)
50715 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50716 r=`${PWD_COMMAND}`; export r; \
50717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50718 $(NORMAL_TARGET_EXPORTS) \
50719 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
50720 for flag in $(EXTRA_TARGET_FLAGS); do \
50721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50722 done; \
50723 (cd $(TARGET_SUBDIR)/boehm-gc && \
50724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50726 "RANLIB=$${RANLIB}" \
50727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50728 distclean) \
50729 || exit 1
50731 @endif target-boehm-gc
50733 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
50734 maybe-maintainer-clean-target-boehm-gc:
50735 @if target-boehm-gc
50736 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
50738 maintainer-clean-target-boehm-gc:
50739 @: $(MAKE); $(unstage)
50740 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
50741 r=`${PWD_COMMAND}`; export r; \
50742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50743 $(NORMAL_TARGET_EXPORTS) \
50744 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
50745 for flag in $(EXTRA_TARGET_FLAGS); do \
50746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50747 done; \
50748 (cd $(TARGET_SUBDIR)/boehm-gc && \
50749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50751 "RANLIB=$${RANLIB}" \
50752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50753 maintainer-clean) \
50754 || exit 1
50756 @endif target-boehm-gc
50762 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
50763 maybe-configure-target-qthreads:
50764 @if gcc-bootstrap
50765 configure-target-qthreads: stage_current
50766 @endif gcc-bootstrap
50767 @if target-qthreads
50768 maybe-configure-target-qthreads: configure-target-qthreads
50769 configure-target-qthreads:
50770 @: $(MAKE); $(unstage)
50771 @r=`${PWD_COMMAND}`; export r; \
50772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50773 echo "Checking multilib configuration for qthreads..."; \
50774 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
50775 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
50776 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
50777 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
50778 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
50779 else \
50780 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
50781 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
50782 fi; \
50783 else \
50784 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
50785 fi; \
50786 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
50787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
50788 $(NORMAL_TARGET_EXPORTS) \
50789 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
50790 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
50791 case $(srcdir) in \
50792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50793 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
50794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50795 esac; \
50796 srcdiroption="--srcdir=$${topdir}/qthreads"; \
50797 libsrcdir="$$s/qthreads"; \
50798 rm -f no-such-file || : ; \
50799 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50800 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50801 --target=${target_alias} $${srcdiroption} \
50802 || exit 1
50803 @endif target-qthreads
50809 .PHONY: all-target-qthreads maybe-all-target-qthreads
50810 maybe-all-target-qthreads:
50811 @if gcc-bootstrap
50812 all-target-qthreads: stage_current
50813 @endif gcc-bootstrap
50814 @if target-qthreads
50815 TARGET-target-qthreads=all
50816 maybe-all-target-qthreads: all-target-qthreads
50817 all-target-qthreads: configure-target-qthreads
50818 @: $(MAKE); $(unstage)
50819 @r=`${PWD_COMMAND}`; export r; \
50820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50821 $(NORMAL_TARGET_EXPORTS) \
50822 (cd $(TARGET_SUBDIR)/qthreads && \
50823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50824 $(TARGET-target-qthreads))
50825 @endif target-qthreads
50831 .PHONY: check-target-qthreads maybe-check-target-qthreads
50832 maybe-check-target-qthreads:
50833 @if target-qthreads
50834 maybe-check-target-qthreads: check-target-qthreads
50836 check-target-qthreads:
50837 @: $(MAKE); $(unstage)
50838 @r=`${PWD_COMMAND}`; export r; \
50839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50840 $(NORMAL_TARGET_EXPORTS) \
50841 (cd $(TARGET_SUBDIR)/qthreads && \
50842 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50844 @endif target-qthreads
50846 .PHONY: install-target-qthreads maybe-install-target-qthreads
50847 maybe-install-target-qthreads:
50848 @if target-qthreads
50849 maybe-install-target-qthreads: install-target-qthreads
50851 install-target-qthreads: installdirs
50852 @: $(MAKE); $(unstage)
50853 @r=`${PWD_COMMAND}`; export r; \
50854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50855 $(NORMAL_TARGET_EXPORTS) \
50856 (cd $(TARGET_SUBDIR)/qthreads && \
50857 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50859 @endif target-qthreads
50861 # Other targets (info, dvi, pdf, etc.)
50863 .PHONY: maybe-info-target-qthreads info-target-qthreads
50864 maybe-info-target-qthreads:
50865 @if target-qthreads
50866 maybe-info-target-qthreads: info-target-qthreads
50868 info-target-qthreads: \
50869 configure-target-qthreads
50870 @: $(MAKE); $(unstage)
50871 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50872 r=`${PWD_COMMAND}`; export r; \
50873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50874 $(NORMAL_TARGET_EXPORTS) \
50875 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
50876 for flag in $(EXTRA_TARGET_FLAGS); do \
50877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50878 done; \
50879 (cd $(TARGET_SUBDIR)/qthreads && \
50880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50882 "RANLIB=$${RANLIB}" \
50883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50884 info) \
50885 || exit 1
50887 @endif target-qthreads
50889 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
50890 maybe-dvi-target-qthreads:
50891 @if target-qthreads
50892 maybe-dvi-target-qthreads: dvi-target-qthreads
50894 dvi-target-qthreads: \
50895 configure-target-qthreads
50896 @: $(MAKE); $(unstage)
50897 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50898 r=`${PWD_COMMAND}`; export r; \
50899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50900 $(NORMAL_TARGET_EXPORTS) \
50901 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
50902 for flag in $(EXTRA_TARGET_FLAGS); do \
50903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50904 done; \
50905 (cd $(TARGET_SUBDIR)/qthreads && \
50906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50908 "RANLIB=$${RANLIB}" \
50909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50910 dvi) \
50911 || exit 1
50913 @endif target-qthreads
50915 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
50916 maybe-pdf-target-qthreads:
50917 @if target-qthreads
50918 maybe-pdf-target-qthreads: pdf-target-qthreads
50920 pdf-target-qthreads: \
50921 configure-target-qthreads
50922 @: $(MAKE); $(unstage)
50923 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50924 r=`${PWD_COMMAND}`; export r; \
50925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50926 $(NORMAL_TARGET_EXPORTS) \
50927 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
50928 for flag in $(EXTRA_TARGET_FLAGS); do \
50929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50930 done; \
50931 (cd $(TARGET_SUBDIR)/qthreads && \
50932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50934 "RANLIB=$${RANLIB}" \
50935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50936 pdf) \
50937 || exit 1
50939 @endif target-qthreads
50941 .PHONY: maybe-html-target-qthreads html-target-qthreads
50942 maybe-html-target-qthreads:
50943 @if target-qthreads
50944 maybe-html-target-qthreads: html-target-qthreads
50946 html-target-qthreads: \
50947 configure-target-qthreads
50948 @: $(MAKE); $(unstage)
50949 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50950 r=`${PWD_COMMAND}`; export r; \
50951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50952 $(NORMAL_TARGET_EXPORTS) \
50953 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
50954 for flag in $(EXTRA_TARGET_FLAGS); do \
50955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50956 done; \
50957 (cd $(TARGET_SUBDIR)/qthreads && \
50958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50960 "RANLIB=$${RANLIB}" \
50961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50962 html) \
50963 || exit 1
50965 @endif target-qthreads
50967 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
50968 maybe-TAGS-target-qthreads:
50969 @if target-qthreads
50970 maybe-TAGS-target-qthreads: TAGS-target-qthreads
50972 TAGS-target-qthreads: \
50973 configure-target-qthreads
50974 @: $(MAKE); $(unstage)
50975 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
50976 r=`${PWD_COMMAND}`; export r; \
50977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50978 $(NORMAL_TARGET_EXPORTS) \
50979 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
50980 for flag in $(EXTRA_TARGET_FLAGS); do \
50981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50982 done; \
50983 (cd $(TARGET_SUBDIR)/qthreads && \
50984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50986 "RANLIB=$${RANLIB}" \
50987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50988 TAGS) \
50989 || exit 1
50991 @endif target-qthreads
50993 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
50994 maybe-install-info-target-qthreads:
50995 @if target-qthreads
50996 maybe-install-info-target-qthreads: install-info-target-qthreads
50998 install-info-target-qthreads: \
50999 configure-target-qthreads \
51000 info-target-qthreads
51001 @: $(MAKE); $(unstage)
51002 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51003 r=`${PWD_COMMAND}`; export r; \
51004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51005 $(NORMAL_TARGET_EXPORTS) \
51006 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
51007 for flag in $(EXTRA_TARGET_FLAGS); do \
51008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51009 done; \
51010 (cd $(TARGET_SUBDIR)/qthreads && \
51011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51013 "RANLIB=$${RANLIB}" \
51014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51015 install-info) \
51016 || exit 1
51018 @endif target-qthreads
51020 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
51021 maybe-install-pdf-target-qthreads:
51022 @if target-qthreads
51023 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
51025 install-pdf-target-qthreads: \
51026 configure-target-qthreads \
51027 pdf-target-qthreads
51028 @: $(MAKE); $(unstage)
51029 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51030 r=`${PWD_COMMAND}`; export r; \
51031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51032 $(NORMAL_TARGET_EXPORTS) \
51033 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
51034 for flag in $(EXTRA_TARGET_FLAGS); do \
51035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51036 done; \
51037 (cd $(TARGET_SUBDIR)/qthreads && \
51038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51040 "RANLIB=$${RANLIB}" \
51041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51042 install-pdf) \
51043 || exit 1
51045 @endif target-qthreads
51047 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
51048 maybe-install-html-target-qthreads:
51049 @if target-qthreads
51050 maybe-install-html-target-qthreads: install-html-target-qthreads
51052 install-html-target-qthreads: \
51053 configure-target-qthreads \
51054 html-target-qthreads
51055 @: $(MAKE); $(unstage)
51056 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51057 r=`${PWD_COMMAND}`; export r; \
51058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51059 $(NORMAL_TARGET_EXPORTS) \
51060 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 install-html) \
51070 || exit 1
51072 @endif target-qthreads
51074 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
51075 maybe-installcheck-target-qthreads:
51076 @if target-qthreads
51077 maybe-installcheck-target-qthreads: installcheck-target-qthreads
51079 installcheck-target-qthreads: \
51080 configure-target-qthreads
51081 @: $(MAKE); $(unstage)
51082 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51083 r=`${PWD_COMMAND}`; export r; \
51084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51085 $(NORMAL_TARGET_EXPORTS) \
51086 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 installcheck) \
51096 || exit 1
51098 @endif target-qthreads
51100 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
51101 maybe-mostlyclean-target-qthreads:
51102 @if target-qthreads
51103 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
51105 mostlyclean-target-qthreads:
51106 @: $(MAKE); $(unstage)
51107 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51108 r=`${PWD_COMMAND}`; export r; \
51109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51110 $(NORMAL_TARGET_EXPORTS) \
51111 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
51112 for flag in $(EXTRA_TARGET_FLAGS); do \
51113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51114 done; \
51115 (cd $(TARGET_SUBDIR)/qthreads && \
51116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51118 "RANLIB=$${RANLIB}" \
51119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51120 mostlyclean) \
51121 || exit 1
51123 @endif target-qthreads
51125 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
51126 maybe-clean-target-qthreads:
51127 @if target-qthreads
51128 maybe-clean-target-qthreads: clean-target-qthreads
51130 clean-target-qthreads:
51131 @: $(MAKE); $(unstage)
51132 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51133 r=`${PWD_COMMAND}`; export r; \
51134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51135 $(NORMAL_TARGET_EXPORTS) \
51136 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
51137 for flag in $(EXTRA_TARGET_FLAGS); do \
51138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51139 done; \
51140 (cd $(TARGET_SUBDIR)/qthreads && \
51141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51143 "RANLIB=$${RANLIB}" \
51144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51145 clean) \
51146 || exit 1
51148 @endif target-qthreads
51150 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
51151 maybe-distclean-target-qthreads:
51152 @if target-qthreads
51153 maybe-distclean-target-qthreads: distclean-target-qthreads
51155 distclean-target-qthreads:
51156 @: $(MAKE); $(unstage)
51157 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51158 r=`${PWD_COMMAND}`; export r; \
51159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51160 $(NORMAL_TARGET_EXPORTS) \
51161 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
51162 for flag in $(EXTRA_TARGET_FLAGS); do \
51163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51164 done; \
51165 (cd $(TARGET_SUBDIR)/qthreads && \
51166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51168 "RANLIB=$${RANLIB}" \
51169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51170 distclean) \
51171 || exit 1
51173 @endif target-qthreads
51175 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
51176 maybe-maintainer-clean-target-qthreads:
51177 @if target-qthreads
51178 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
51180 maintainer-clean-target-qthreads:
51181 @: $(MAKE); $(unstage)
51182 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
51183 r=`${PWD_COMMAND}`; export r; \
51184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51185 $(NORMAL_TARGET_EXPORTS) \
51186 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
51187 for flag in $(EXTRA_TARGET_FLAGS); do \
51188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51189 done; \
51190 (cd $(TARGET_SUBDIR)/qthreads && \
51191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51193 "RANLIB=$${RANLIB}" \
51194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51195 maintainer-clean) \
51196 || exit 1
51198 @endif target-qthreads
51204 .PHONY: configure-target-rda maybe-configure-target-rda
51205 maybe-configure-target-rda:
51206 @if gcc-bootstrap
51207 configure-target-rda: stage_current
51208 @endif gcc-bootstrap
51209 @if target-rda
51210 maybe-configure-target-rda: configure-target-rda
51211 configure-target-rda:
51212 @: $(MAKE); $(unstage)
51213 @r=`${PWD_COMMAND}`; export r; \
51214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51215 echo "Checking multilib configuration for rda..."; \
51216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
51217 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
51218 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
51219 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
51220 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
51221 else \
51222 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
51223 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51224 fi; \
51225 else \
51226 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51227 fi; \
51228 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
51229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
51230 $(NORMAL_TARGET_EXPORTS) \
51231 echo Configuring in $(TARGET_SUBDIR)/rda; \
51232 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
51233 case $(srcdir) in \
51234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51235 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
51236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51237 esac; \
51238 srcdiroption="--srcdir=$${topdir}/rda"; \
51239 libsrcdir="$$s/rda"; \
51240 rm -f no-such-file || : ; \
51241 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51243 --target=${target_alias} $${srcdiroption} \
51244 || exit 1
51245 @endif target-rda
51251 .PHONY: all-target-rda maybe-all-target-rda
51252 maybe-all-target-rda:
51253 @if gcc-bootstrap
51254 all-target-rda: stage_current
51255 @endif gcc-bootstrap
51256 @if target-rda
51257 TARGET-target-rda=all
51258 maybe-all-target-rda: all-target-rda
51259 all-target-rda: configure-target-rda
51260 @: $(MAKE); $(unstage)
51261 @r=`${PWD_COMMAND}`; export r; \
51262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51263 $(NORMAL_TARGET_EXPORTS) \
51264 (cd $(TARGET_SUBDIR)/rda && \
51265 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51266 $(TARGET-target-rda))
51267 @endif target-rda
51273 .PHONY: check-target-rda maybe-check-target-rda
51274 maybe-check-target-rda:
51275 @if target-rda
51276 maybe-check-target-rda: check-target-rda
51278 check-target-rda:
51279 @: $(MAKE); $(unstage)
51280 @r=`${PWD_COMMAND}`; export r; \
51281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51282 $(NORMAL_TARGET_EXPORTS) \
51283 (cd $(TARGET_SUBDIR)/rda && \
51284 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51286 @endif target-rda
51288 .PHONY: install-target-rda maybe-install-target-rda
51289 maybe-install-target-rda:
51290 @if target-rda
51291 maybe-install-target-rda: install-target-rda
51293 install-target-rda: installdirs
51294 @: $(MAKE); $(unstage)
51295 @r=`${PWD_COMMAND}`; export r; \
51296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51297 $(NORMAL_TARGET_EXPORTS) \
51298 (cd $(TARGET_SUBDIR)/rda && \
51299 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51301 @endif target-rda
51303 # Other targets (info, dvi, pdf, etc.)
51305 .PHONY: maybe-info-target-rda info-target-rda
51306 maybe-info-target-rda:
51307 @if target-rda
51308 maybe-info-target-rda: info-target-rda
51310 info-target-rda: \
51311 configure-target-rda
51312 @: $(MAKE); $(unstage)
51313 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51314 r=`${PWD_COMMAND}`; export r; \
51315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51316 $(NORMAL_TARGET_EXPORTS) \
51317 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
51318 for flag in $(EXTRA_TARGET_FLAGS); do \
51319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51320 done; \
51321 (cd $(TARGET_SUBDIR)/rda && \
51322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51324 "RANLIB=$${RANLIB}" \
51325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51326 info) \
51327 || exit 1
51329 @endif target-rda
51331 .PHONY: maybe-dvi-target-rda dvi-target-rda
51332 maybe-dvi-target-rda:
51333 @if target-rda
51334 maybe-dvi-target-rda: dvi-target-rda
51336 dvi-target-rda: \
51337 configure-target-rda
51338 @: $(MAKE); $(unstage)
51339 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51340 r=`${PWD_COMMAND}`; export r; \
51341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51342 $(NORMAL_TARGET_EXPORTS) \
51343 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
51344 for flag in $(EXTRA_TARGET_FLAGS); do \
51345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51346 done; \
51347 (cd $(TARGET_SUBDIR)/rda && \
51348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51350 "RANLIB=$${RANLIB}" \
51351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51352 dvi) \
51353 || exit 1
51355 @endif target-rda
51357 .PHONY: maybe-pdf-target-rda pdf-target-rda
51358 maybe-pdf-target-rda:
51359 @if target-rda
51360 maybe-pdf-target-rda: pdf-target-rda
51362 pdf-target-rda: \
51363 configure-target-rda
51364 @: $(MAKE); $(unstage)
51365 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51366 r=`${PWD_COMMAND}`; export r; \
51367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51368 $(NORMAL_TARGET_EXPORTS) \
51369 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
51370 for flag in $(EXTRA_TARGET_FLAGS); do \
51371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51372 done; \
51373 (cd $(TARGET_SUBDIR)/rda && \
51374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51376 "RANLIB=$${RANLIB}" \
51377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51378 pdf) \
51379 || exit 1
51381 @endif target-rda
51383 .PHONY: maybe-html-target-rda html-target-rda
51384 maybe-html-target-rda:
51385 @if target-rda
51386 maybe-html-target-rda: html-target-rda
51388 html-target-rda: \
51389 configure-target-rda
51390 @: $(MAKE); $(unstage)
51391 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51392 r=`${PWD_COMMAND}`; export r; \
51393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51394 $(NORMAL_TARGET_EXPORTS) \
51395 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
51396 for flag in $(EXTRA_TARGET_FLAGS); do \
51397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51398 done; \
51399 (cd $(TARGET_SUBDIR)/rda && \
51400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51402 "RANLIB=$${RANLIB}" \
51403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51404 html) \
51405 || exit 1
51407 @endif target-rda
51409 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
51410 maybe-TAGS-target-rda:
51411 @if target-rda
51412 maybe-TAGS-target-rda: TAGS-target-rda
51414 TAGS-target-rda: \
51415 configure-target-rda
51416 @: $(MAKE); $(unstage)
51417 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51418 r=`${PWD_COMMAND}`; export r; \
51419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51420 $(NORMAL_TARGET_EXPORTS) \
51421 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
51422 for flag in $(EXTRA_TARGET_FLAGS); do \
51423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51424 done; \
51425 (cd $(TARGET_SUBDIR)/rda && \
51426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51428 "RANLIB=$${RANLIB}" \
51429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51430 TAGS) \
51431 || exit 1
51433 @endif target-rda
51435 .PHONY: maybe-install-info-target-rda install-info-target-rda
51436 maybe-install-info-target-rda:
51437 @if target-rda
51438 maybe-install-info-target-rda: install-info-target-rda
51440 install-info-target-rda: \
51441 configure-target-rda \
51442 info-target-rda
51443 @: $(MAKE); $(unstage)
51444 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51445 r=`${PWD_COMMAND}`; export r; \
51446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51447 $(NORMAL_TARGET_EXPORTS) \
51448 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
51449 for flag in $(EXTRA_TARGET_FLAGS); do \
51450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51451 done; \
51452 (cd $(TARGET_SUBDIR)/rda && \
51453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51455 "RANLIB=$${RANLIB}" \
51456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51457 install-info) \
51458 || exit 1
51460 @endif target-rda
51462 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
51463 maybe-install-pdf-target-rda:
51464 @if target-rda
51465 maybe-install-pdf-target-rda: install-pdf-target-rda
51467 install-pdf-target-rda: \
51468 configure-target-rda \
51469 pdf-target-rda
51470 @: $(MAKE); $(unstage)
51471 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51472 r=`${PWD_COMMAND}`; export r; \
51473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51474 $(NORMAL_TARGET_EXPORTS) \
51475 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
51476 for flag in $(EXTRA_TARGET_FLAGS); do \
51477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51478 done; \
51479 (cd $(TARGET_SUBDIR)/rda && \
51480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51482 "RANLIB=$${RANLIB}" \
51483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51484 install-pdf) \
51485 || exit 1
51487 @endif target-rda
51489 .PHONY: maybe-install-html-target-rda install-html-target-rda
51490 maybe-install-html-target-rda:
51491 @if target-rda
51492 maybe-install-html-target-rda: install-html-target-rda
51494 install-html-target-rda: \
51495 configure-target-rda \
51496 html-target-rda
51497 @: $(MAKE); $(unstage)
51498 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51499 r=`${PWD_COMMAND}`; export r; \
51500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51501 $(NORMAL_TARGET_EXPORTS) \
51502 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 install-html) \
51512 || exit 1
51514 @endif target-rda
51516 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
51517 maybe-installcheck-target-rda:
51518 @if target-rda
51519 maybe-installcheck-target-rda: installcheck-target-rda
51521 installcheck-target-rda: \
51522 configure-target-rda
51523 @: $(MAKE); $(unstage)
51524 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51525 r=`${PWD_COMMAND}`; export r; \
51526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51527 $(NORMAL_TARGET_EXPORTS) \
51528 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 installcheck) \
51538 || exit 1
51540 @endif target-rda
51542 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
51543 maybe-mostlyclean-target-rda:
51544 @if target-rda
51545 maybe-mostlyclean-target-rda: mostlyclean-target-rda
51547 mostlyclean-target-rda:
51548 @: $(MAKE); $(unstage)
51549 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51550 r=`${PWD_COMMAND}`; export r; \
51551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51552 $(NORMAL_TARGET_EXPORTS) \
51553 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
51554 for flag in $(EXTRA_TARGET_FLAGS); do \
51555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51556 done; \
51557 (cd $(TARGET_SUBDIR)/rda && \
51558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51560 "RANLIB=$${RANLIB}" \
51561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51562 mostlyclean) \
51563 || exit 1
51565 @endif target-rda
51567 .PHONY: maybe-clean-target-rda clean-target-rda
51568 maybe-clean-target-rda:
51569 @if target-rda
51570 maybe-clean-target-rda: clean-target-rda
51572 clean-target-rda:
51573 @: $(MAKE); $(unstage)
51574 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51575 r=`${PWD_COMMAND}`; export r; \
51576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51577 $(NORMAL_TARGET_EXPORTS) \
51578 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
51579 for flag in $(EXTRA_TARGET_FLAGS); do \
51580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51581 done; \
51582 (cd $(TARGET_SUBDIR)/rda && \
51583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51585 "RANLIB=$${RANLIB}" \
51586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51587 clean) \
51588 || exit 1
51590 @endif target-rda
51592 .PHONY: maybe-distclean-target-rda distclean-target-rda
51593 maybe-distclean-target-rda:
51594 @if target-rda
51595 maybe-distclean-target-rda: distclean-target-rda
51597 distclean-target-rda:
51598 @: $(MAKE); $(unstage)
51599 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51600 r=`${PWD_COMMAND}`; export r; \
51601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51602 $(NORMAL_TARGET_EXPORTS) \
51603 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
51604 for flag in $(EXTRA_TARGET_FLAGS); do \
51605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51606 done; \
51607 (cd $(TARGET_SUBDIR)/rda && \
51608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51610 "RANLIB=$${RANLIB}" \
51611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51612 distclean) \
51613 || exit 1
51615 @endif target-rda
51617 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
51618 maybe-maintainer-clean-target-rda:
51619 @if target-rda
51620 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
51622 maintainer-clean-target-rda:
51623 @: $(MAKE); $(unstage)
51624 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
51625 r=`${PWD_COMMAND}`; export r; \
51626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51627 $(NORMAL_TARGET_EXPORTS) \
51628 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
51629 for flag in $(EXTRA_TARGET_FLAGS); do \
51630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51631 done; \
51632 (cd $(TARGET_SUBDIR)/rda && \
51633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51635 "RANLIB=$${RANLIB}" \
51636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51637 maintainer-clean) \
51638 || exit 1
51640 @endif target-rda
51646 .PHONY: configure-target-libada maybe-configure-target-libada
51647 maybe-configure-target-libada:
51648 @if gcc-bootstrap
51649 configure-target-libada: stage_current
51650 @endif gcc-bootstrap
51651 @if target-libada
51652 maybe-configure-target-libada: configure-target-libada
51653 configure-target-libada:
51654 @: $(MAKE); $(unstage)
51655 @r=`${PWD_COMMAND}`; export r; \
51656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51657 echo "Checking multilib configuration for libada..."; \
51658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
51659 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
51660 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
51661 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
51662 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
51663 else \
51664 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
51665 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51666 fi; \
51667 else \
51668 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51669 fi; \
51670 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
51671 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
51672 $(NORMAL_TARGET_EXPORTS) \
51673 echo Configuring in $(TARGET_SUBDIR)/libada; \
51674 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
51675 case $(srcdir) in \
51676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51677 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
51678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51679 esac; \
51680 srcdiroption="--srcdir=$${topdir}/libada"; \
51681 libsrcdir="$$s/libada"; \
51682 rm -f no-such-file || : ; \
51683 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51684 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51685 --target=${target_alias} $${srcdiroption} \
51686 || exit 1
51687 @endif target-libada
51693 .PHONY: all-target-libada maybe-all-target-libada
51694 maybe-all-target-libada:
51695 @if gcc-bootstrap
51696 all-target-libada: stage_current
51697 @endif gcc-bootstrap
51698 @if target-libada
51699 TARGET-target-libada=all
51700 maybe-all-target-libada: all-target-libada
51701 all-target-libada: configure-target-libada
51702 @: $(MAKE); $(unstage)
51703 @r=`${PWD_COMMAND}`; export r; \
51704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51705 $(NORMAL_TARGET_EXPORTS) \
51706 (cd $(TARGET_SUBDIR)/libada && \
51707 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51708 $(TARGET-target-libada))
51709 @endif target-libada
51715 .PHONY: check-target-libada maybe-check-target-libada
51716 maybe-check-target-libada:
51717 @if target-libada
51718 maybe-check-target-libada: check-target-libada
51720 check-target-libada:
51721 @: $(MAKE); $(unstage)
51722 @r=`${PWD_COMMAND}`; export r; \
51723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51724 $(NORMAL_TARGET_EXPORTS) \
51725 (cd $(TARGET_SUBDIR)/libada && \
51726 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51728 @endif target-libada
51730 .PHONY: install-target-libada maybe-install-target-libada
51731 maybe-install-target-libada:
51732 @if target-libada
51733 maybe-install-target-libada: install-target-libada
51735 install-target-libada: installdirs
51736 @: $(MAKE); $(unstage)
51737 @r=`${PWD_COMMAND}`; export r; \
51738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51739 $(NORMAL_TARGET_EXPORTS) \
51740 (cd $(TARGET_SUBDIR)/libada && \
51741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51743 @endif target-libada
51745 # Other targets (info, dvi, pdf, etc.)
51747 .PHONY: maybe-info-target-libada info-target-libada
51748 maybe-info-target-libada:
51749 @if target-libada
51750 maybe-info-target-libada: info-target-libada
51752 info-target-libada: \
51753 configure-target-libada
51754 @: $(MAKE); $(unstage)
51755 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51756 r=`${PWD_COMMAND}`; export r; \
51757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51758 $(NORMAL_TARGET_EXPORTS) \
51759 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
51760 for flag in $(EXTRA_TARGET_FLAGS); do \
51761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51762 done; \
51763 (cd $(TARGET_SUBDIR)/libada && \
51764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51766 "RANLIB=$${RANLIB}" \
51767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51768 info) \
51769 || exit 1
51771 @endif target-libada
51773 .PHONY: maybe-dvi-target-libada dvi-target-libada
51774 maybe-dvi-target-libada:
51775 @if target-libada
51776 maybe-dvi-target-libada: dvi-target-libada
51778 dvi-target-libada: \
51779 configure-target-libada
51780 @: $(MAKE); $(unstage)
51781 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51782 r=`${PWD_COMMAND}`; export r; \
51783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51784 $(NORMAL_TARGET_EXPORTS) \
51785 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
51786 for flag in $(EXTRA_TARGET_FLAGS); do \
51787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51788 done; \
51789 (cd $(TARGET_SUBDIR)/libada && \
51790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51792 "RANLIB=$${RANLIB}" \
51793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51794 dvi) \
51795 || exit 1
51797 @endif target-libada
51799 .PHONY: maybe-pdf-target-libada pdf-target-libada
51800 maybe-pdf-target-libada:
51801 @if target-libada
51802 maybe-pdf-target-libada: pdf-target-libada
51804 pdf-target-libada: \
51805 configure-target-libada
51806 @: $(MAKE); $(unstage)
51807 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51808 r=`${PWD_COMMAND}`; export r; \
51809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51810 $(NORMAL_TARGET_EXPORTS) \
51811 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
51812 for flag in $(EXTRA_TARGET_FLAGS); do \
51813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51814 done; \
51815 (cd $(TARGET_SUBDIR)/libada && \
51816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51818 "RANLIB=$${RANLIB}" \
51819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51820 pdf) \
51821 || exit 1
51823 @endif target-libada
51825 .PHONY: maybe-html-target-libada html-target-libada
51826 maybe-html-target-libada:
51827 @if target-libada
51828 maybe-html-target-libada: html-target-libada
51830 html-target-libada: \
51831 configure-target-libada
51832 @: $(MAKE); $(unstage)
51833 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51834 r=`${PWD_COMMAND}`; export r; \
51835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51836 $(NORMAL_TARGET_EXPORTS) \
51837 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
51838 for flag in $(EXTRA_TARGET_FLAGS); do \
51839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51840 done; \
51841 (cd $(TARGET_SUBDIR)/libada && \
51842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51844 "RANLIB=$${RANLIB}" \
51845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51846 html) \
51847 || exit 1
51849 @endif target-libada
51851 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
51852 maybe-TAGS-target-libada:
51853 @if target-libada
51854 maybe-TAGS-target-libada: TAGS-target-libada
51856 TAGS-target-libada: \
51857 configure-target-libada
51858 @: $(MAKE); $(unstage)
51859 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51860 r=`${PWD_COMMAND}`; export r; \
51861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51862 $(NORMAL_TARGET_EXPORTS) \
51863 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
51864 for flag in $(EXTRA_TARGET_FLAGS); do \
51865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51866 done; \
51867 (cd $(TARGET_SUBDIR)/libada && \
51868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51870 "RANLIB=$${RANLIB}" \
51871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51872 TAGS) \
51873 || exit 1
51875 @endif target-libada
51877 .PHONY: maybe-install-info-target-libada install-info-target-libada
51878 maybe-install-info-target-libada:
51879 @if target-libada
51880 maybe-install-info-target-libada: install-info-target-libada
51882 install-info-target-libada: \
51883 configure-target-libada \
51884 info-target-libada
51885 @: $(MAKE); $(unstage)
51886 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51887 r=`${PWD_COMMAND}`; export r; \
51888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51889 $(NORMAL_TARGET_EXPORTS) \
51890 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
51891 for flag in $(EXTRA_TARGET_FLAGS); do \
51892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51893 done; \
51894 (cd $(TARGET_SUBDIR)/libada && \
51895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51897 "RANLIB=$${RANLIB}" \
51898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51899 install-info) \
51900 || exit 1
51902 @endif target-libada
51904 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
51905 maybe-install-pdf-target-libada:
51906 @if target-libada
51907 maybe-install-pdf-target-libada: install-pdf-target-libada
51909 install-pdf-target-libada: \
51910 configure-target-libada \
51911 pdf-target-libada
51912 @: $(MAKE); $(unstage)
51913 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51914 r=`${PWD_COMMAND}`; export r; \
51915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51916 $(NORMAL_TARGET_EXPORTS) \
51917 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
51918 for flag in $(EXTRA_TARGET_FLAGS); do \
51919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51920 done; \
51921 (cd $(TARGET_SUBDIR)/libada && \
51922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51924 "RANLIB=$${RANLIB}" \
51925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51926 install-pdf) \
51927 || exit 1
51929 @endif target-libada
51931 .PHONY: maybe-install-html-target-libada install-html-target-libada
51932 maybe-install-html-target-libada:
51933 @if target-libada
51934 maybe-install-html-target-libada: install-html-target-libada
51936 install-html-target-libada: \
51937 configure-target-libada \
51938 html-target-libada
51939 @: $(MAKE); $(unstage)
51940 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51941 r=`${PWD_COMMAND}`; export r; \
51942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51943 $(NORMAL_TARGET_EXPORTS) \
51944 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
51945 for flag in $(EXTRA_TARGET_FLAGS); do \
51946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51947 done; \
51948 (cd $(TARGET_SUBDIR)/libada && \
51949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51951 "RANLIB=$${RANLIB}" \
51952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51953 install-html) \
51954 || exit 1
51956 @endif target-libada
51958 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
51959 maybe-installcheck-target-libada:
51960 @if target-libada
51961 maybe-installcheck-target-libada: installcheck-target-libada
51963 installcheck-target-libada: \
51964 configure-target-libada
51965 @: $(MAKE); $(unstage)
51966 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51967 r=`${PWD_COMMAND}`; export r; \
51968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51969 $(NORMAL_TARGET_EXPORTS) \
51970 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
51971 for flag in $(EXTRA_TARGET_FLAGS); do \
51972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51973 done; \
51974 (cd $(TARGET_SUBDIR)/libada && \
51975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51977 "RANLIB=$${RANLIB}" \
51978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51979 installcheck) \
51980 || exit 1
51982 @endif target-libada
51984 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
51985 maybe-mostlyclean-target-libada:
51986 @if target-libada
51987 maybe-mostlyclean-target-libada: mostlyclean-target-libada
51989 mostlyclean-target-libada:
51990 @: $(MAKE); $(unstage)
51991 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
51992 r=`${PWD_COMMAND}`; export r; \
51993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51994 $(NORMAL_TARGET_EXPORTS) \
51995 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
51996 for flag in $(EXTRA_TARGET_FLAGS); do \
51997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51998 done; \
51999 (cd $(TARGET_SUBDIR)/libada && \
52000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52002 "RANLIB=$${RANLIB}" \
52003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52004 mostlyclean) \
52005 || exit 1
52007 @endif target-libada
52009 .PHONY: maybe-clean-target-libada clean-target-libada
52010 maybe-clean-target-libada:
52011 @if target-libada
52012 maybe-clean-target-libada: clean-target-libada
52014 clean-target-libada:
52015 @: $(MAKE); $(unstage)
52016 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52017 r=`${PWD_COMMAND}`; export r; \
52018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52019 $(NORMAL_TARGET_EXPORTS) \
52020 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
52021 for flag in $(EXTRA_TARGET_FLAGS); do \
52022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52023 done; \
52024 (cd $(TARGET_SUBDIR)/libada && \
52025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52027 "RANLIB=$${RANLIB}" \
52028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52029 clean) \
52030 || exit 1
52032 @endif target-libada
52034 .PHONY: maybe-distclean-target-libada distclean-target-libada
52035 maybe-distclean-target-libada:
52036 @if target-libada
52037 maybe-distclean-target-libada: distclean-target-libada
52039 distclean-target-libada:
52040 @: $(MAKE); $(unstage)
52041 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52042 r=`${PWD_COMMAND}`; export r; \
52043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52044 $(NORMAL_TARGET_EXPORTS) \
52045 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
52046 for flag in $(EXTRA_TARGET_FLAGS); do \
52047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52048 done; \
52049 (cd $(TARGET_SUBDIR)/libada && \
52050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52052 "RANLIB=$${RANLIB}" \
52053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52054 distclean) \
52055 || exit 1
52057 @endif target-libada
52059 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
52060 maybe-maintainer-clean-target-libada:
52061 @if target-libada
52062 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
52064 maintainer-clean-target-libada:
52065 @: $(MAKE); $(unstage)
52066 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
52067 r=`${PWD_COMMAND}`; export r; \
52068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52069 $(NORMAL_TARGET_EXPORTS) \
52070 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
52071 for flag in $(EXTRA_TARGET_FLAGS); do \
52072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52073 done; \
52074 (cd $(TARGET_SUBDIR)/libada && \
52075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52077 "RANLIB=$${RANLIB}" \
52078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52079 maintainer-clean) \
52080 || exit 1
52082 @endif target-libada
52088 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
52089 maybe-configure-target-libgomp:
52090 @if gcc-bootstrap
52091 configure-target-libgomp: stage_current
52092 @endif gcc-bootstrap
52093 @if target-libgomp
52094 maybe-configure-target-libgomp: configure-target-libgomp
52095 configure-target-libgomp:
52096 @: $(MAKE); $(unstage)
52097 @r=`${PWD_COMMAND}`; export r; \
52098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52099 echo "Checking multilib configuration for libgomp..."; \
52100 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
52101 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
52102 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52103 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52104 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52105 else \
52106 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52107 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52108 fi; \
52109 else \
52110 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52111 fi; \
52112 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52113 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
52114 $(NORMAL_TARGET_EXPORTS) \
52115 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
52116 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
52117 case $(srcdir) in \
52118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52119 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52121 esac; \
52122 srcdiroption="--srcdir=$${topdir}/libgomp"; \
52123 libsrcdir="$$s/libgomp"; \
52124 rm -f no-such-file || : ; \
52125 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52126 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52127 --target=${target_alias} $${srcdiroption} \
52128 || exit 1
52129 @endif target-libgomp
52135 .PHONY: all-target-libgomp maybe-all-target-libgomp
52136 maybe-all-target-libgomp:
52137 @if gcc-bootstrap
52138 all-target-libgomp: stage_current
52139 @endif gcc-bootstrap
52140 @if target-libgomp
52141 TARGET-target-libgomp=all
52142 maybe-all-target-libgomp: all-target-libgomp
52143 all-target-libgomp: configure-target-libgomp
52144 @: $(MAKE); $(unstage)
52145 @r=`${PWD_COMMAND}`; export r; \
52146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52147 $(NORMAL_TARGET_EXPORTS) \
52148 (cd $(TARGET_SUBDIR)/libgomp && \
52149 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52150 $(TARGET-target-libgomp))
52151 @endif target-libgomp
52157 .PHONY: check-target-libgomp maybe-check-target-libgomp
52158 maybe-check-target-libgomp:
52159 @if target-libgomp
52160 maybe-check-target-libgomp: check-target-libgomp
52162 check-target-libgomp:
52163 @: $(MAKE); $(unstage)
52164 @r=`${PWD_COMMAND}`; export r; \
52165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52166 $(NORMAL_TARGET_EXPORTS) \
52167 (cd $(TARGET_SUBDIR)/libgomp && \
52168 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52170 @endif target-libgomp
52172 .PHONY: install-target-libgomp maybe-install-target-libgomp
52173 maybe-install-target-libgomp:
52174 @if target-libgomp
52175 maybe-install-target-libgomp: install-target-libgomp
52177 install-target-libgomp: installdirs
52178 @: $(MAKE); $(unstage)
52179 @r=`${PWD_COMMAND}`; export r; \
52180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52181 $(NORMAL_TARGET_EXPORTS) \
52182 (cd $(TARGET_SUBDIR)/libgomp && \
52183 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52185 @endif target-libgomp
52187 # Other targets (info, dvi, pdf, etc.)
52189 .PHONY: maybe-info-target-libgomp info-target-libgomp
52190 maybe-info-target-libgomp:
52191 @if target-libgomp
52192 maybe-info-target-libgomp: info-target-libgomp
52194 info-target-libgomp: \
52195 configure-target-libgomp
52196 @: $(MAKE); $(unstage)
52197 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52198 r=`${PWD_COMMAND}`; export r; \
52199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52200 $(NORMAL_TARGET_EXPORTS) \
52201 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
52202 for flag in $(EXTRA_TARGET_FLAGS); do \
52203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52204 done; \
52205 (cd $(TARGET_SUBDIR)/libgomp && \
52206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52208 "RANLIB=$${RANLIB}" \
52209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52210 info) \
52211 || exit 1
52213 @endif target-libgomp
52215 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
52216 maybe-dvi-target-libgomp:
52217 @if target-libgomp
52218 maybe-dvi-target-libgomp: dvi-target-libgomp
52220 dvi-target-libgomp: \
52221 configure-target-libgomp
52222 @: $(MAKE); $(unstage)
52223 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52224 r=`${PWD_COMMAND}`; export r; \
52225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52226 $(NORMAL_TARGET_EXPORTS) \
52227 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
52228 for flag in $(EXTRA_TARGET_FLAGS); do \
52229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52230 done; \
52231 (cd $(TARGET_SUBDIR)/libgomp && \
52232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52234 "RANLIB=$${RANLIB}" \
52235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52236 dvi) \
52237 || exit 1
52239 @endif target-libgomp
52241 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
52242 maybe-pdf-target-libgomp:
52243 @if target-libgomp
52244 maybe-pdf-target-libgomp: pdf-target-libgomp
52246 pdf-target-libgomp: \
52247 configure-target-libgomp
52248 @: $(MAKE); $(unstage)
52249 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52250 r=`${PWD_COMMAND}`; export r; \
52251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52252 $(NORMAL_TARGET_EXPORTS) \
52253 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
52254 for flag in $(EXTRA_TARGET_FLAGS); do \
52255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52256 done; \
52257 (cd $(TARGET_SUBDIR)/libgomp && \
52258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52260 "RANLIB=$${RANLIB}" \
52261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52262 pdf) \
52263 || exit 1
52265 @endif target-libgomp
52267 .PHONY: maybe-html-target-libgomp html-target-libgomp
52268 maybe-html-target-libgomp:
52269 @if target-libgomp
52270 maybe-html-target-libgomp: html-target-libgomp
52272 html-target-libgomp: \
52273 configure-target-libgomp
52274 @: $(MAKE); $(unstage)
52275 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52276 r=`${PWD_COMMAND}`; export r; \
52277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52278 $(NORMAL_TARGET_EXPORTS) \
52279 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
52280 for flag in $(EXTRA_TARGET_FLAGS); do \
52281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52282 done; \
52283 (cd $(TARGET_SUBDIR)/libgomp && \
52284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52286 "RANLIB=$${RANLIB}" \
52287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52288 html) \
52289 || exit 1
52291 @endif target-libgomp
52293 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
52294 maybe-TAGS-target-libgomp:
52295 @if target-libgomp
52296 maybe-TAGS-target-libgomp: TAGS-target-libgomp
52298 TAGS-target-libgomp: \
52299 configure-target-libgomp
52300 @: $(MAKE); $(unstage)
52301 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52302 r=`${PWD_COMMAND}`; export r; \
52303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52304 $(NORMAL_TARGET_EXPORTS) \
52305 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
52306 for flag in $(EXTRA_TARGET_FLAGS); do \
52307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52308 done; \
52309 (cd $(TARGET_SUBDIR)/libgomp && \
52310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52312 "RANLIB=$${RANLIB}" \
52313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52314 TAGS) \
52315 || exit 1
52317 @endif target-libgomp
52319 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
52320 maybe-install-info-target-libgomp:
52321 @if target-libgomp
52322 maybe-install-info-target-libgomp: install-info-target-libgomp
52324 install-info-target-libgomp: \
52325 configure-target-libgomp \
52326 info-target-libgomp
52327 @: $(MAKE); $(unstage)
52328 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52329 r=`${PWD_COMMAND}`; export r; \
52330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52331 $(NORMAL_TARGET_EXPORTS) \
52332 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
52333 for flag in $(EXTRA_TARGET_FLAGS); do \
52334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52335 done; \
52336 (cd $(TARGET_SUBDIR)/libgomp && \
52337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52339 "RANLIB=$${RANLIB}" \
52340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52341 install-info) \
52342 || exit 1
52344 @endif target-libgomp
52346 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
52347 maybe-install-pdf-target-libgomp:
52348 @if target-libgomp
52349 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
52351 install-pdf-target-libgomp: \
52352 configure-target-libgomp \
52353 pdf-target-libgomp
52354 @: $(MAKE); $(unstage)
52355 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52356 r=`${PWD_COMMAND}`; export r; \
52357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52358 $(NORMAL_TARGET_EXPORTS) \
52359 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
52360 for flag in $(EXTRA_TARGET_FLAGS); do \
52361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52362 done; \
52363 (cd $(TARGET_SUBDIR)/libgomp && \
52364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52366 "RANLIB=$${RANLIB}" \
52367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52368 install-pdf) \
52369 || exit 1
52371 @endif target-libgomp
52373 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
52374 maybe-install-html-target-libgomp:
52375 @if target-libgomp
52376 maybe-install-html-target-libgomp: install-html-target-libgomp
52378 install-html-target-libgomp: \
52379 configure-target-libgomp \
52380 html-target-libgomp
52381 @: $(MAKE); $(unstage)
52382 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52383 r=`${PWD_COMMAND}`; export r; \
52384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52385 $(NORMAL_TARGET_EXPORTS) \
52386 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
52387 for flag in $(EXTRA_TARGET_FLAGS); do \
52388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52389 done; \
52390 (cd $(TARGET_SUBDIR)/libgomp && \
52391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52393 "RANLIB=$${RANLIB}" \
52394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52395 install-html) \
52396 || exit 1
52398 @endif target-libgomp
52400 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
52401 maybe-installcheck-target-libgomp:
52402 @if target-libgomp
52403 maybe-installcheck-target-libgomp: installcheck-target-libgomp
52405 installcheck-target-libgomp: \
52406 configure-target-libgomp
52407 @: $(MAKE); $(unstage)
52408 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52409 r=`${PWD_COMMAND}`; export r; \
52410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52411 $(NORMAL_TARGET_EXPORTS) \
52412 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
52413 for flag in $(EXTRA_TARGET_FLAGS); do \
52414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52415 done; \
52416 (cd $(TARGET_SUBDIR)/libgomp && \
52417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52419 "RANLIB=$${RANLIB}" \
52420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52421 installcheck) \
52422 || exit 1
52424 @endif target-libgomp
52426 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
52427 maybe-mostlyclean-target-libgomp:
52428 @if target-libgomp
52429 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
52431 mostlyclean-target-libgomp:
52432 @: $(MAKE); $(unstage)
52433 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52434 r=`${PWD_COMMAND}`; export r; \
52435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52436 $(NORMAL_TARGET_EXPORTS) \
52437 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
52438 for flag in $(EXTRA_TARGET_FLAGS); do \
52439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52440 done; \
52441 (cd $(TARGET_SUBDIR)/libgomp && \
52442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52444 "RANLIB=$${RANLIB}" \
52445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52446 mostlyclean) \
52447 || exit 1
52449 @endif target-libgomp
52451 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
52452 maybe-clean-target-libgomp:
52453 @if target-libgomp
52454 maybe-clean-target-libgomp: clean-target-libgomp
52456 clean-target-libgomp:
52457 @: $(MAKE); $(unstage)
52458 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52459 r=`${PWD_COMMAND}`; export r; \
52460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52461 $(NORMAL_TARGET_EXPORTS) \
52462 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
52463 for flag in $(EXTRA_TARGET_FLAGS); do \
52464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52465 done; \
52466 (cd $(TARGET_SUBDIR)/libgomp && \
52467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52469 "RANLIB=$${RANLIB}" \
52470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52471 clean) \
52472 || exit 1
52474 @endif target-libgomp
52476 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
52477 maybe-distclean-target-libgomp:
52478 @if target-libgomp
52479 maybe-distclean-target-libgomp: distclean-target-libgomp
52481 distclean-target-libgomp:
52482 @: $(MAKE); $(unstage)
52483 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52484 r=`${PWD_COMMAND}`; export r; \
52485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52486 $(NORMAL_TARGET_EXPORTS) \
52487 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
52488 for flag in $(EXTRA_TARGET_FLAGS); do \
52489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52490 done; \
52491 (cd $(TARGET_SUBDIR)/libgomp && \
52492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52494 "RANLIB=$${RANLIB}" \
52495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52496 distclean) \
52497 || exit 1
52499 @endif target-libgomp
52501 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
52502 maybe-maintainer-clean-target-libgomp:
52503 @if target-libgomp
52504 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
52506 maintainer-clean-target-libgomp:
52507 @: $(MAKE); $(unstage)
52508 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
52509 r=`${PWD_COMMAND}`; export r; \
52510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52511 $(NORMAL_TARGET_EXPORTS) \
52512 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
52513 for flag in $(EXTRA_TARGET_FLAGS); do \
52514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52515 done; \
52516 (cd $(TARGET_SUBDIR)/libgomp && \
52517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52519 "RANLIB=$${RANLIB}" \
52520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52521 maintainer-clean) \
52522 || exit 1
52524 @endif target-libgomp
52528 # ----------
52529 # GCC module
52530 # ----------
52532 @if gcc-no-bootstrap
52533 .PHONY: cross
52534 cross: all-build all-gas all-ld
52535 @r=`${PWD_COMMAND}`; export r; \
52536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52537 $(HOST_EXPORTS) \
52538 echo "Building the C and C++ compiler"; \
52539 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
52540 @r=`${PWD_COMMAND}`; export r; \
52541 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
52542 echo "Building runtime libraries"; \
52543 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
52544 @endif gcc-no-bootstrap
52546 @if gcc
52547 .PHONY: check-gcc-c++
52548 check-gcc-c++:
52549 @if [ -f ./gcc/Makefile ] ; then \
52550 r=`${PWD_COMMAND}`; export r; \
52551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52552 $(HOST_EXPORTS) \
52553 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
52554 else \
52555 true; \
52558 .PHONY: check-c++
52559 check-c++: check-target-libstdc++-v3 check-gcc-c++
52561 # Install the gcc headers files, but not the fixed include files,
52562 # which Cygnus is not allowed to distribute. This rule is very
52563 # dependent on the workings of the gcc Makefile.in.
52564 .PHONY: gcc-no-fixedincludes
52565 gcc-no-fixedincludes:
52566 @if [ -f ./gcc/Makefile ]; then \
52567 rm -rf gcc/tmp-include; \
52568 mv gcc/include gcc/tmp-include 2>/dev/null; \
52569 mkdir gcc/include; \
52570 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
52571 touch gcc/stmp-fixinc gcc/include/fixed; \
52572 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
52573 r=`${PWD_COMMAND}`; export r; \
52574 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
52575 $(HOST_EXPORTS) \
52576 (cd ./gcc && \
52577 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
52578 rm -rf gcc/include; \
52579 mv gcc/tmp-include gcc/include 2>/dev/null; \
52580 else true; fi
52581 @endif gcc
52583 # ---------------------
52584 # GCC bootstrap support
52585 # ---------------------
52587 # We track the current stage (the one in 'gcc') in the stage_current file.
52588 # stage_last instead tracks the stage that was built last. These targets
52589 # are dummy when toplevel bootstrap is not active.
52591 # While making host and target tools, symlinks to the final stage must be
52592 # there, so $(unstage) should be run at various points. To avoid excessive
52593 # recursive invocations of make, we "inline" them using a variable. These
52594 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
52595 # to avoid warnings from the GNU Make job server.
52597 unstage = :
52598 stage = :
52599 current_stage = ""
52601 @if gcc-bootstrap
52602 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
52603 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
52604 current_stage = "`cat stage_current 2> /dev/null`"
52605 @endif gcc-bootstrap
52607 .PHONY: unstage stage
52608 unstage:
52609 @: $(MAKE); $(unstage)
52610 stage:
52611 @: $(MAKE); $(stage)
52613 # Disable commands for lean bootstrap.
52614 LEAN = false
52616 # We name the build directories for the various stages "stage1-gcc",
52617 # "stage2-gcc","stage3-gcc", etc.
52619 # Since the 'compare' process will fail (on debugging information) if any
52620 # directory names are different, we need to link the gcc directory for
52621 # the previous stage to a constant name ('prev-gcc'), and to make the name of
52622 # the build directories constant as well. For the latter, we use naked names
52623 # like 'gcc', because the scripts in that directory assume it. We use
52624 # mv on platforms where symlinks to directories do not work or are not
52625 # reliable.
52627 # 'touch' doesn't work right on some platforms.
52628 STAMP = echo timestamp >
52630 # We only want to compare .o files, so set this!
52631 objext = .o
52634 .PHONY: stage1-start stage1-end
52636 stage1-start::
52637 @: $(MAKE); $(stage); \
52638 echo stage1 > stage_current ; \
52639 echo stage1 > stage_last; \
52640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52641 @if bfd
52642 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
52643 mkdir stage1-bfd; \
52644 mv stage1-bfd bfd
52645 @endif bfd
52646 @if opcodes
52647 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
52648 mkdir stage1-opcodes; \
52649 mv stage1-opcodes opcodes
52650 @endif opcodes
52651 @if binutils
52652 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
52653 mkdir stage1-binutils; \
52654 mv stage1-binutils binutils
52655 @endif binutils
52656 @if gas
52657 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
52658 mkdir stage1-gas; \
52659 mv stage1-gas gas
52660 @endif gas
52661 @if gcc
52662 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
52663 mkdir stage1-gcc; \
52664 mv stage1-gcc gcc
52665 @endif gcc
52666 @if gmp
52667 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
52668 mkdir stage1-gmp; \
52669 mv stage1-gmp gmp
52670 @endif gmp
52671 @if mpfr
52672 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
52673 mkdir stage1-mpfr; \
52674 mv stage1-mpfr mpfr
52675 @endif mpfr
52676 @if ppl
52677 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
52678 mkdir stage1-ppl; \
52679 mv stage1-ppl ppl
52680 @endif ppl
52681 @if cloog
52682 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
52683 mkdir stage1-cloog; \
52684 mv stage1-cloog cloog
52685 @endif cloog
52686 @if gold
52687 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
52688 mkdir stage1-gold; \
52689 mv stage1-gold gold
52690 @endif gold
52691 @if intl
52692 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
52693 mkdir stage1-intl; \
52694 mv stage1-intl intl
52695 @endif intl
52696 @if ld
52697 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
52698 mkdir stage1-ld; \
52699 mv stage1-ld ld
52700 @endif ld
52701 @if libcpp
52702 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
52703 mkdir stage1-libcpp; \
52704 mv stage1-libcpp libcpp
52705 @endif libcpp
52706 @if libdecnumber
52707 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
52708 mkdir stage1-libdecnumber; \
52709 mv stage1-libdecnumber libdecnumber
52710 @endif libdecnumber
52711 @if libiberty
52712 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
52713 mkdir stage1-libiberty; \
52714 mv stage1-libiberty libiberty
52715 @endif libiberty
52716 @if zlib
52717 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
52718 mkdir stage1-zlib; \
52719 mv stage1-zlib zlib
52720 @endif zlib
52721 @[ -d stage1-$(TARGET_SUBDIR) ] || \
52722 mkdir stage1-$(TARGET_SUBDIR); \
52723 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
52725 stage1-end::
52726 @if bfd
52727 @if test -d $(HOST_SUBDIR)/bfd ; then \
52728 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
52730 @endif bfd
52731 @if opcodes
52732 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52733 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
52735 @endif opcodes
52736 @if binutils
52737 @if test -d $(HOST_SUBDIR)/binutils ; then \
52738 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
52740 @endif binutils
52741 @if gas
52742 @if test -d $(HOST_SUBDIR)/gas ; then \
52743 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
52745 @endif gas
52746 @if gcc
52747 @if test -d $(HOST_SUBDIR)/gcc ; then \
52748 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
52750 @endif gcc
52751 @if gmp
52752 @if test -d $(HOST_SUBDIR)/gmp ; then \
52753 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
52755 @endif gmp
52756 @if mpfr
52757 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52758 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
52760 @endif mpfr
52761 @if ppl
52762 @if test -d $(HOST_SUBDIR)/ppl ; then \
52763 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
52765 @endif ppl
52766 @if cloog
52767 @if test -d $(HOST_SUBDIR)/cloog ; then \
52768 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
52770 @endif cloog
52771 @if gold
52772 @if test -d $(HOST_SUBDIR)/gold ; then \
52773 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
52775 @endif gold
52776 @if intl
52777 @if test -d $(HOST_SUBDIR)/intl ; then \
52778 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
52780 @endif intl
52781 @if ld
52782 @if test -d $(HOST_SUBDIR)/ld ; then \
52783 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
52785 @endif ld
52786 @if libcpp
52787 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52788 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
52790 @endif libcpp
52791 @if libdecnumber
52792 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52793 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
52795 @endif libdecnumber
52796 @if libiberty
52797 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52798 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
52800 @endif libiberty
52801 @if zlib
52802 @if test -d $(HOST_SUBDIR)/zlib ; then \
52803 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
52805 @endif zlib
52806 @if test -d $(TARGET_SUBDIR) ; then \
52807 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
52809 rm -f stage_current
52811 # Bubble a bug fix through all the stages up to stage 1. They are
52812 # remade, but not reconfigured. The next stage (if any) will not be
52813 # reconfigured either.
52814 .PHONY: stage1-bubble
52815 stage1-bubble::
52816 @r=`${PWD_COMMAND}`; export r; \
52817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52818 if test -f stage1-lean ; then \
52819 echo Skipping rebuild of stage1 ; \
52820 else \
52821 $(MAKE) stage1-start; \
52822 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
52825 .PHONY: all-stage1 clean-stage1
52826 do-clean: clean-stage1
52828 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52829 # only possibility, but now it conflicts with no-bootstrap rules
52830 @if gcc-bootstrap
52835 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52837 .PHONY: distclean-stage1
52838 distclean-stage1::
52839 @: $(MAKE); $(stage)
52840 @test "`cat stage_last`" != stage1 || rm -f stage_last
52841 rm -rf stage1-*
52844 @endif gcc-bootstrap
52847 .PHONY: stage2-start stage2-end
52849 stage2-start::
52850 @: $(MAKE); $(stage); \
52851 echo stage2 > stage_current ; \
52852 echo stage2 > stage_last; \
52853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52854 @if bfd
52855 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
52856 mkdir stage2-bfd; \
52857 mv stage2-bfd bfd ; \
52858 mv stage1-bfd prev-bfd || test -f stage1-lean
52859 @endif bfd
52860 @if opcodes
52861 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
52862 mkdir stage2-opcodes; \
52863 mv stage2-opcodes opcodes ; \
52864 mv stage1-opcodes prev-opcodes || test -f stage1-lean
52865 @endif opcodes
52866 @if binutils
52867 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
52868 mkdir stage2-binutils; \
52869 mv stage2-binutils binutils ; \
52870 mv stage1-binutils prev-binutils || test -f stage1-lean
52871 @endif binutils
52872 @if gas
52873 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
52874 mkdir stage2-gas; \
52875 mv stage2-gas gas ; \
52876 mv stage1-gas prev-gas || test -f stage1-lean
52877 @endif gas
52878 @if gcc
52879 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
52880 mkdir stage2-gcc; \
52881 mv stage2-gcc gcc ; \
52882 mv stage1-gcc prev-gcc || test -f stage1-lean
52883 @endif gcc
52884 @if gmp
52885 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
52886 mkdir stage2-gmp; \
52887 mv stage2-gmp gmp ; \
52888 mv stage1-gmp prev-gmp || test -f stage1-lean
52889 @endif gmp
52890 @if mpfr
52891 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
52892 mkdir stage2-mpfr; \
52893 mv stage2-mpfr mpfr ; \
52894 mv stage1-mpfr prev-mpfr || test -f stage1-lean
52895 @endif mpfr
52896 @if ppl
52897 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
52898 mkdir stage2-ppl; \
52899 mv stage2-ppl ppl ; \
52900 mv stage1-ppl prev-ppl || test -f stage1-lean
52901 @endif ppl
52902 @if cloog
52903 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
52904 mkdir stage2-cloog; \
52905 mv stage2-cloog cloog ; \
52906 mv stage1-cloog prev-cloog || test -f stage1-lean
52907 @endif cloog
52908 @if gold
52909 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
52910 mkdir stage2-gold; \
52911 mv stage2-gold gold ; \
52912 mv stage1-gold prev-gold || test -f stage1-lean
52913 @endif gold
52914 @if intl
52915 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
52916 mkdir stage2-intl; \
52917 mv stage2-intl intl ; \
52918 mv stage1-intl prev-intl || test -f stage1-lean
52919 @endif intl
52920 @if ld
52921 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
52922 mkdir stage2-ld; \
52923 mv stage2-ld ld ; \
52924 mv stage1-ld prev-ld || test -f stage1-lean
52925 @endif ld
52926 @if libcpp
52927 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
52928 mkdir stage2-libcpp; \
52929 mv stage2-libcpp libcpp ; \
52930 mv stage1-libcpp prev-libcpp || test -f stage1-lean
52931 @endif libcpp
52932 @if libdecnumber
52933 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
52934 mkdir stage2-libdecnumber; \
52935 mv stage2-libdecnumber libdecnumber ; \
52936 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
52937 @endif libdecnumber
52938 @if libiberty
52939 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
52940 mkdir stage2-libiberty; \
52941 mv stage2-libiberty libiberty ; \
52942 mv stage1-libiberty prev-libiberty || test -f stage1-lean
52943 @endif libiberty
52944 @if zlib
52945 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
52946 mkdir stage2-zlib; \
52947 mv stage2-zlib zlib ; \
52948 mv stage1-zlib prev-zlib || test -f stage1-lean
52949 @endif zlib
52950 @[ -d stage2-$(TARGET_SUBDIR) ] || \
52951 mkdir stage2-$(TARGET_SUBDIR); \
52952 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
52953 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
52955 stage2-end::
52956 @if bfd
52957 @if test -d $(HOST_SUBDIR)/bfd ; then \
52958 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
52959 mv prev-bfd stage1-bfd ; : ; \
52961 @endif bfd
52962 @if opcodes
52963 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52964 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
52965 mv prev-opcodes stage1-opcodes ; : ; \
52967 @endif opcodes
52968 @if binutils
52969 @if test -d $(HOST_SUBDIR)/binutils ; then \
52970 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
52971 mv prev-binutils stage1-binutils ; : ; \
52973 @endif binutils
52974 @if gas
52975 @if test -d $(HOST_SUBDIR)/gas ; then \
52976 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
52977 mv prev-gas stage1-gas ; : ; \
52979 @endif gas
52980 @if gcc
52981 @if test -d $(HOST_SUBDIR)/gcc ; then \
52982 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
52983 mv prev-gcc stage1-gcc ; : ; \
52985 @endif gcc
52986 @if gmp
52987 @if test -d $(HOST_SUBDIR)/gmp ; then \
52988 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
52989 mv prev-gmp stage1-gmp ; : ; \
52991 @endif gmp
52992 @if mpfr
52993 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52994 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
52995 mv prev-mpfr stage1-mpfr ; : ; \
52997 @endif mpfr
52998 @if ppl
52999 @if test -d $(HOST_SUBDIR)/ppl ; then \
53000 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
53001 mv prev-ppl stage1-ppl ; : ; \
53003 @endif ppl
53004 @if cloog
53005 @if test -d $(HOST_SUBDIR)/cloog ; then \
53006 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
53007 mv prev-cloog stage1-cloog ; : ; \
53009 @endif cloog
53010 @if gold
53011 @if test -d $(HOST_SUBDIR)/gold ; then \
53012 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
53013 mv prev-gold stage1-gold ; : ; \
53015 @endif gold
53016 @if intl
53017 @if test -d $(HOST_SUBDIR)/intl ; then \
53018 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
53019 mv prev-intl stage1-intl ; : ; \
53021 @endif intl
53022 @if ld
53023 @if test -d $(HOST_SUBDIR)/ld ; then \
53024 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
53025 mv prev-ld stage1-ld ; : ; \
53027 @endif ld
53028 @if libcpp
53029 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53030 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
53031 mv prev-libcpp stage1-libcpp ; : ; \
53033 @endif libcpp
53034 @if libdecnumber
53035 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53036 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
53037 mv prev-libdecnumber stage1-libdecnumber ; : ; \
53039 @endif libdecnumber
53040 @if libiberty
53041 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53042 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
53043 mv prev-libiberty stage1-libiberty ; : ; \
53045 @endif libiberty
53046 @if zlib
53047 @if test -d $(HOST_SUBDIR)/zlib ; then \
53048 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
53049 mv prev-zlib stage1-zlib ; : ; \
53051 @endif zlib
53052 @if test -d $(TARGET_SUBDIR) ; then \
53053 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
53054 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
53056 rm -f stage_current
53058 # Bubble a bug fix through all the stages up to stage 2. They are
53059 # remade, but not reconfigured. The next stage (if any) will not be
53060 # reconfigured either.
53061 .PHONY: stage2-bubble
53062 stage2-bubble:: stage1-bubble
53063 @r=`${PWD_COMMAND}`; export r; \
53064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53065 if test -f stage2-lean || test -f stage1-lean ; then \
53066 echo Skipping rebuild of stage2 ; \
53067 else \
53068 $(MAKE) stage2-start; \
53069 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
53072 .PHONY: all-stage2 clean-stage2
53073 do-clean: clean-stage2
53075 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53076 # only possibility, but now it conflicts with no-bootstrap rules
53077 @if gcc-bootstrap
53081 .PHONY: bootstrap2 bootstrap2-lean
53082 bootstrap2:
53083 echo stage2 > stage_final
53084 @r=`${PWD_COMMAND}`; export r; \
53085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53086 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
53087 @: $(MAKE); $(unstage)
53088 @r=`${PWD_COMMAND}`; export r; \
53089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53090 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53092 bootstrap2-lean:
53093 echo stage2 > stage_final
53094 @r=`${PWD_COMMAND}`; export r; \
53095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53096 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
53097 @: $(MAKE); $(unstage)
53098 @r=`${PWD_COMMAND}`; export r; \
53099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53100 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53103 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53104 distclean-stage1:: distclean-stage2
53105 .PHONY: distclean-stage2
53106 distclean-stage2::
53107 @: $(MAKE); $(stage)
53108 @test "`cat stage_last`" != stage2 || rm -f stage_last
53109 rm -rf stage2-*
53112 @endif gcc-bootstrap
53115 .PHONY: stageb2g0-start stageb2g0-end
53117 stageb2g0-start::
53118 @: $(MAKE); $(stage); \
53119 echo stageb2g0 > stage_current ; \
53120 echo stageb2g0 > stage_last; \
53121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53122 @if bfd
53123 @cd $(HOST_SUBDIR); [ -d stageb2g0-bfd ] || \
53124 mkdir stageb2g0-bfd; \
53125 mv stageb2g0-bfd bfd ; \
53126 mv stage1-bfd prev-bfd || test -f stage1-lean
53127 @endif bfd
53128 @if opcodes
53129 @cd $(HOST_SUBDIR); [ -d stageb2g0-opcodes ] || \
53130 mkdir stageb2g0-opcodes; \
53131 mv stageb2g0-opcodes opcodes ; \
53132 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53133 @endif opcodes
53134 @if binutils
53135 @cd $(HOST_SUBDIR); [ -d stageb2g0-binutils ] || \
53136 mkdir stageb2g0-binutils; \
53137 mv stageb2g0-binutils binutils ; \
53138 mv stage1-binutils prev-binutils || test -f stage1-lean
53139 @endif binutils
53140 @if gas
53141 @cd $(HOST_SUBDIR); [ -d stageb2g0-gas ] || \
53142 mkdir stageb2g0-gas; \
53143 mv stageb2g0-gas gas ; \
53144 mv stage1-gas prev-gas || test -f stage1-lean
53145 @endif gas
53146 @if gcc
53147 @cd $(HOST_SUBDIR); [ -d stageb2g0-gcc ] || \
53148 mkdir stageb2g0-gcc; \
53149 mv stageb2g0-gcc gcc ; \
53150 mv stage1-gcc prev-gcc || test -f stage1-lean
53151 @endif gcc
53152 @if gmp
53153 @cd $(HOST_SUBDIR); [ -d stageb2g0-gmp ] || \
53154 mkdir stageb2g0-gmp; \
53155 mv stageb2g0-gmp gmp ; \
53156 mv stage1-gmp prev-gmp || test -f stage1-lean
53157 @endif gmp
53158 @if mpfr
53159 @cd $(HOST_SUBDIR); [ -d stageb2g0-mpfr ] || \
53160 mkdir stageb2g0-mpfr; \
53161 mv stageb2g0-mpfr mpfr ; \
53162 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53163 @endif mpfr
53164 @if ppl
53165 @cd $(HOST_SUBDIR); [ -d stageb2g0-ppl ] || \
53166 mkdir stageb2g0-ppl; \
53167 mv stageb2g0-ppl ppl ; \
53168 mv stage1-ppl prev-ppl || test -f stage1-lean
53169 @endif ppl
53170 @if cloog
53171 @cd $(HOST_SUBDIR); [ -d stageb2g0-cloog ] || \
53172 mkdir stageb2g0-cloog; \
53173 mv stageb2g0-cloog cloog ; \
53174 mv stage1-cloog prev-cloog || test -f stage1-lean
53175 @endif cloog
53176 @if gold
53177 @cd $(HOST_SUBDIR); [ -d stageb2g0-gold ] || \
53178 mkdir stageb2g0-gold; \
53179 mv stageb2g0-gold gold ; \
53180 mv stage1-gold prev-gold || test -f stage1-lean
53181 @endif gold
53182 @if intl
53183 @cd $(HOST_SUBDIR); [ -d stageb2g0-intl ] || \
53184 mkdir stageb2g0-intl; \
53185 mv stageb2g0-intl intl ; \
53186 mv stage1-intl prev-intl || test -f stage1-lean
53187 @endif intl
53188 @if ld
53189 @cd $(HOST_SUBDIR); [ -d stageb2g0-ld ] || \
53190 mkdir stageb2g0-ld; \
53191 mv stageb2g0-ld ld ; \
53192 mv stage1-ld prev-ld || test -f stage1-lean
53193 @endif ld
53194 @if libcpp
53195 @cd $(HOST_SUBDIR); [ -d stageb2g0-libcpp ] || \
53196 mkdir stageb2g0-libcpp; \
53197 mv stageb2g0-libcpp libcpp ; \
53198 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53199 @endif libcpp
53200 @if libdecnumber
53201 @cd $(HOST_SUBDIR); [ -d stageb2g0-libdecnumber ] || \
53202 mkdir stageb2g0-libdecnumber; \
53203 mv stageb2g0-libdecnumber libdecnumber ; \
53204 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53205 @endif libdecnumber
53206 @if libiberty
53207 @cd $(HOST_SUBDIR); [ -d stageb2g0-libiberty ] || \
53208 mkdir stageb2g0-libiberty; \
53209 mv stageb2g0-libiberty libiberty ; \
53210 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53211 @endif libiberty
53212 @if zlib
53213 @cd $(HOST_SUBDIR); [ -d stageb2g0-zlib ] || \
53214 mkdir stageb2g0-zlib; \
53215 mv stageb2g0-zlib zlib ; \
53216 mv stage1-zlib prev-zlib || test -f stage1-lean
53217 @endif zlib
53218 @[ -d stageb2g0-$(TARGET_SUBDIR) ] || \
53219 mkdir stageb2g0-$(TARGET_SUBDIR); \
53220 mv stageb2g0-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53221 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53223 stageb2g0-end::
53224 @if bfd
53225 @if test -d $(HOST_SUBDIR)/bfd ; then \
53226 cd $(HOST_SUBDIR); mv bfd stageb2g0-bfd ; \
53227 mv prev-bfd stage1-bfd ; : ; \
53229 @endif bfd
53230 @if opcodes
53231 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53232 cd $(HOST_SUBDIR); mv opcodes stageb2g0-opcodes ; \
53233 mv prev-opcodes stage1-opcodes ; : ; \
53235 @endif opcodes
53236 @if binutils
53237 @if test -d $(HOST_SUBDIR)/binutils ; then \
53238 cd $(HOST_SUBDIR); mv binutils stageb2g0-binutils ; \
53239 mv prev-binutils stage1-binutils ; : ; \
53241 @endif binutils
53242 @if gas
53243 @if test -d $(HOST_SUBDIR)/gas ; then \
53244 cd $(HOST_SUBDIR); mv gas stageb2g0-gas ; \
53245 mv prev-gas stage1-gas ; : ; \
53247 @endif gas
53248 @if gcc
53249 @if test -d $(HOST_SUBDIR)/gcc ; then \
53250 cd $(HOST_SUBDIR); mv gcc stageb2g0-gcc ; \
53251 mv prev-gcc stage1-gcc ; : ; \
53253 @endif gcc
53254 @if gmp
53255 @if test -d $(HOST_SUBDIR)/gmp ; then \
53256 cd $(HOST_SUBDIR); mv gmp stageb2g0-gmp ; \
53257 mv prev-gmp stage1-gmp ; : ; \
53259 @endif gmp
53260 @if mpfr
53261 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53262 cd $(HOST_SUBDIR); mv mpfr stageb2g0-mpfr ; \
53263 mv prev-mpfr stage1-mpfr ; : ; \
53265 @endif mpfr
53266 @if ppl
53267 @if test -d $(HOST_SUBDIR)/ppl ; then \
53268 cd $(HOST_SUBDIR); mv ppl stageb2g0-ppl ; \
53269 mv prev-ppl stage1-ppl ; : ; \
53271 @endif ppl
53272 @if cloog
53273 @if test -d $(HOST_SUBDIR)/cloog ; then \
53274 cd $(HOST_SUBDIR); mv cloog stageb2g0-cloog ; \
53275 mv prev-cloog stage1-cloog ; : ; \
53277 @endif cloog
53278 @if gold
53279 @if test -d $(HOST_SUBDIR)/gold ; then \
53280 cd $(HOST_SUBDIR); mv gold stageb2g0-gold ; \
53281 mv prev-gold stage1-gold ; : ; \
53283 @endif gold
53284 @if intl
53285 @if test -d $(HOST_SUBDIR)/intl ; then \
53286 cd $(HOST_SUBDIR); mv intl stageb2g0-intl ; \
53287 mv prev-intl stage1-intl ; : ; \
53289 @endif intl
53290 @if ld
53291 @if test -d $(HOST_SUBDIR)/ld ; then \
53292 cd $(HOST_SUBDIR); mv ld stageb2g0-ld ; \
53293 mv prev-ld stage1-ld ; : ; \
53295 @endif ld
53296 @if libcpp
53297 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53298 cd $(HOST_SUBDIR); mv libcpp stageb2g0-libcpp ; \
53299 mv prev-libcpp stage1-libcpp ; : ; \
53301 @endif libcpp
53302 @if libdecnumber
53303 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53304 cd $(HOST_SUBDIR); mv libdecnumber stageb2g0-libdecnumber ; \
53305 mv prev-libdecnumber stage1-libdecnumber ; : ; \
53307 @endif libdecnumber
53308 @if libiberty
53309 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53310 cd $(HOST_SUBDIR); mv libiberty stageb2g0-libiberty ; \
53311 mv prev-libiberty stage1-libiberty ; : ; \
53313 @endif libiberty
53314 @if zlib
53315 @if test -d $(HOST_SUBDIR)/zlib ; then \
53316 cd $(HOST_SUBDIR); mv zlib stageb2g0-zlib ; \
53317 mv prev-zlib stage1-zlib ; : ; \
53319 @endif zlib
53320 @if test -d $(TARGET_SUBDIR) ; then \
53321 mv $(TARGET_SUBDIR) stageb2g0-$(TARGET_SUBDIR) ; \
53322 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
53324 rm -f stage_current
53326 # Bubble a bug fix through all the stages up to stage b2g0. They are
53327 # remade, but not reconfigured. The next stage (if any) will not be
53328 # reconfigured either.
53329 .PHONY: stageb2g0-bubble
53330 stageb2g0-bubble:: stage1-bubble
53331 @r=`${PWD_COMMAND}`; export r; \
53332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53333 if test -f stageb2g0-lean || test -f stage1-lean ; then \
53334 echo Skipping rebuild of stageb2g0 ; \
53335 else \
53336 $(MAKE) stageb2g0-start; \
53337 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageb2g0; \
53340 .PHONY: all-stageb2g0 clean-stageb2g0
53341 do-clean: clean-stageb2g0
53343 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53344 # only possibility, but now it conflicts with no-bootstrap rules
53345 @if gcc-bootstrap
53349 .PHONY: bootstrap2-debug bootstrap2-debug-lean
53350 bootstrap2-debug:
53351 echo stageb2g0 > stage_final
53352 @r=`${PWD_COMMAND}`; export r; \
53353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53354 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb2g0-bubble
53355 @: $(MAKE); $(unstage)
53356 @r=`${PWD_COMMAND}`; export r; \
53357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53358 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53360 bootstrap2-debug-lean:
53361 echo stageb2g0 > stage_final
53362 @r=`${PWD_COMMAND}`; export r; \
53363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53364 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageb2g0-bubble
53365 @: $(MAKE); $(unstage)
53366 @r=`${PWD_COMMAND}`; export r; \
53367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53368 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53371 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53372 distclean-stage1:: distclean-stageb2g0
53373 .PHONY: distclean-stageb2g0
53374 distclean-stageb2g0::
53375 @: $(MAKE); $(stage)
53376 @test "`cat stage_last`" != stageb2g0 || rm -f stage_last
53377 rm -rf stageb2g0-*
53380 @endif gcc-bootstrap
53383 .PHONY: stage3-start stage3-end
53385 stage3-start::
53386 @: $(MAKE); $(stage); \
53387 echo stage3 > stage_current ; \
53388 echo stage3 > stage_last; \
53389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53390 @if bfd
53391 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
53392 mkdir stage3-bfd; \
53393 mv stage3-bfd bfd ; \
53394 mv stage2-bfd prev-bfd || test -f stage2-lean
53395 @endif bfd
53396 @if opcodes
53397 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
53398 mkdir stage3-opcodes; \
53399 mv stage3-opcodes opcodes ; \
53400 mv stage2-opcodes prev-opcodes || test -f stage2-lean
53401 @endif opcodes
53402 @if binutils
53403 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
53404 mkdir stage3-binutils; \
53405 mv stage3-binutils binutils ; \
53406 mv stage2-binutils prev-binutils || test -f stage2-lean
53407 @endif binutils
53408 @if gas
53409 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
53410 mkdir stage3-gas; \
53411 mv stage3-gas gas ; \
53412 mv stage2-gas prev-gas || test -f stage2-lean
53413 @endif gas
53414 @if gcc
53415 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
53416 mkdir stage3-gcc; \
53417 mv stage3-gcc gcc ; \
53418 mv stage2-gcc prev-gcc || test -f stage2-lean
53419 @endif gcc
53420 @if gmp
53421 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
53422 mkdir stage3-gmp; \
53423 mv stage3-gmp gmp ; \
53424 mv stage2-gmp prev-gmp || test -f stage2-lean
53425 @endif gmp
53426 @if mpfr
53427 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
53428 mkdir stage3-mpfr; \
53429 mv stage3-mpfr mpfr ; \
53430 mv stage2-mpfr prev-mpfr || test -f stage2-lean
53431 @endif mpfr
53432 @if ppl
53433 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
53434 mkdir stage3-ppl; \
53435 mv stage3-ppl ppl ; \
53436 mv stage2-ppl prev-ppl || test -f stage2-lean
53437 @endif ppl
53438 @if cloog
53439 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
53440 mkdir stage3-cloog; \
53441 mv stage3-cloog cloog ; \
53442 mv stage2-cloog prev-cloog || test -f stage2-lean
53443 @endif cloog
53444 @if gold
53445 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
53446 mkdir stage3-gold; \
53447 mv stage3-gold gold ; \
53448 mv stage2-gold prev-gold || test -f stage2-lean
53449 @endif gold
53450 @if intl
53451 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
53452 mkdir stage3-intl; \
53453 mv stage3-intl intl ; \
53454 mv stage2-intl prev-intl || test -f stage2-lean
53455 @endif intl
53456 @if ld
53457 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
53458 mkdir stage3-ld; \
53459 mv stage3-ld ld ; \
53460 mv stage2-ld prev-ld || test -f stage2-lean
53461 @endif ld
53462 @if libcpp
53463 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
53464 mkdir stage3-libcpp; \
53465 mv stage3-libcpp libcpp ; \
53466 mv stage2-libcpp prev-libcpp || test -f stage2-lean
53467 @endif libcpp
53468 @if libdecnumber
53469 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
53470 mkdir stage3-libdecnumber; \
53471 mv stage3-libdecnumber libdecnumber ; \
53472 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
53473 @endif libdecnumber
53474 @if libiberty
53475 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
53476 mkdir stage3-libiberty; \
53477 mv stage3-libiberty libiberty ; \
53478 mv stage2-libiberty prev-libiberty || test -f stage2-lean
53479 @endif libiberty
53480 @if zlib
53481 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
53482 mkdir stage3-zlib; \
53483 mv stage3-zlib zlib ; \
53484 mv stage2-zlib prev-zlib || test -f stage2-lean
53485 @endif zlib
53486 @[ -d stage3-$(TARGET_SUBDIR) ] || \
53487 mkdir stage3-$(TARGET_SUBDIR); \
53488 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53489 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
53491 stage3-end::
53492 @if bfd
53493 @if test -d $(HOST_SUBDIR)/bfd ; then \
53494 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
53495 mv prev-bfd stage2-bfd ; : ; \
53497 @endif bfd
53498 @if opcodes
53499 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53500 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
53501 mv prev-opcodes stage2-opcodes ; : ; \
53503 @endif opcodes
53504 @if binutils
53505 @if test -d $(HOST_SUBDIR)/binutils ; then \
53506 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
53507 mv prev-binutils stage2-binutils ; : ; \
53509 @endif binutils
53510 @if gas
53511 @if test -d $(HOST_SUBDIR)/gas ; then \
53512 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
53513 mv prev-gas stage2-gas ; : ; \
53515 @endif gas
53516 @if gcc
53517 @if test -d $(HOST_SUBDIR)/gcc ; then \
53518 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
53519 mv prev-gcc stage2-gcc ; : ; \
53521 @endif gcc
53522 @if gmp
53523 @if test -d $(HOST_SUBDIR)/gmp ; then \
53524 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
53525 mv prev-gmp stage2-gmp ; : ; \
53527 @endif gmp
53528 @if mpfr
53529 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53530 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
53531 mv prev-mpfr stage2-mpfr ; : ; \
53533 @endif mpfr
53534 @if ppl
53535 @if test -d $(HOST_SUBDIR)/ppl ; then \
53536 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
53537 mv prev-ppl stage2-ppl ; : ; \
53539 @endif ppl
53540 @if cloog
53541 @if test -d $(HOST_SUBDIR)/cloog ; then \
53542 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
53543 mv prev-cloog stage2-cloog ; : ; \
53545 @endif cloog
53546 @if gold
53547 @if test -d $(HOST_SUBDIR)/gold ; then \
53548 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
53549 mv prev-gold stage2-gold ; : ; \
53551 @endif gold
53552 @if intl
53553 @if test -d $(HOST_SUBDIR)/intl ; then \
53554 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
53555 mv prev-intl stage2-intl ; : ; \
53557 @endif intl
53558 @if ld
53559 @if test -d $(HOST_SUBDIR)/ld ; then \
53560 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
53561 mv prev-ld stage2-ld ; : ; \
53563 @endif ld
53564 @if libcpp
53565 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53566 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
53567 mv prev-libcpp stage2-libcpp ; : ; \
53569 @endif libcpp
53570 @if libdecnumber
53571 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53572 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
53573 mv prev-libdecnumber stage2-libdecnumber ; : ; \
53575 @endif libdecnumber
53576 @if libiberty
53577 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53578 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
53579 mv prev-libiberty stage2-libiberty ; : ; \
53581 @endif libiberty
53582 @if zlib
53583 @if test -d $(HOST_SUBDIR)/zlib ; then \
53584 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
53585 mv prev-zlib stage2-zlib ; : ; \
53587 @endif zlib
53588 @if test -d $(TARGET_SUBDIR) ; then \
53589 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
53590 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
53592 rm -f stage_current
53594 # Bubble a bug fix through all the stages up to stage 3. They are
53595 # remade, but not reconfigured. The next stage (if any) will not be
53596 # reconfigured either.
53597 .PHONY: stage3-bubble
53598 stage3-bubble:: stage2-bubble
53599 @r=`${PWD_COMMAND}`; export r; \
53600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53601 if test -f stage3-lean || test -f stage2-lean ; then \
53602 echo Skipping rebuild of stage3 ; \
53603 else \
53604 $(MAKE) stage3-start; \
53605 if $(LEAN); then \
53606 rm -rf stage1-* ; \
53607 $(STAMP) stage1-lean ; \
53608 fi; \
53609 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
53611 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
53613 .PHONY: all-stage3 clean-stage3
53614 do-clean: clean-stage3
53616 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53617 # only possibility, but now it conflicts with no-bootstrap rules
53618 @if gcc-bootstrap
53620 compare:
53621 @r=`${PWD_COMMAND}`; export r; \
53622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53623 if test -f stage2-lean; then \
53624 echo Cannot compare object files as stage 2 was deleted. ; \
53625 exit 0 ; \
53626 fi; \
53627 : $(MAKE); $(stage); \
53628 rm -f .bad_compare ; \
53629 echo Comparing stages 2 and 3 ; \
53630 cd stage3-gcc; \
53631 files=`find . -name "*$(objext)" -print` ; \
53632 cd .. ; \
53633 for file in $${files} ; do \
53634 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
53635 $(do-compare) > /dev/null 2>&1; \
53636 if test $$? -eq 1; then \
53637 case $$file in \
53638 ./cc*-checksum$(objext) | ./libgcc/* ) \
53639 echo warning: $$file differs ;; \
53640 *) \
53641 echo $$file differs >> .bad_compare ;; \
53642 esac ; \
53643 fi ; \
53644 done ; \
53645 if [ -f .bad_compare ]; then \
53646 echo "Bootstrap comparison failure!"; \
53647 cat .bad_compare; \
53648 exit 1; \
53649 else \
53650 echo Comparison successful.; \
53651 fi ; \
53652 $(STAMP) compare
53653 if $(LEAN); then \
53654 rm -rf stage2-*; \
53655 $(STAMP) stage2-lean; \
53660 .PHONY: bootstrap bootstrap-lean
53661 bootstrap:
53662 echo stage3 > stage_final
53663 @r=`${PWD_COMMAND}`; export r; \
53664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53665 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53666 @: $(MAKE); $(unstage)
53667 @r=`${PWD_COMMAND}`; export r; \
53668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53669 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53671 bootstrap-lean:
53672 echo stage3 > stage_final
53673 @r=`${PWD_COMMAND}`; export r; \
53674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53675 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
53676 @: $(MAKE); $(unstage)
53677 @r=`${PWD_COMMAND}`; export r; \
53678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53679 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53682 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53683 distclean-stage2:: distclean-stage3
53684 .PHONY: distclean-stage3
53685 distclean-stage3::
53686 @: $(MAKE); $(stage)
53687 @test "`cat stage_last`" != stage3 || rm -f stage_last
53688 rm -rf stage3-* compare
53691 .PHONY: cleanstrap
53692 cleanstrap: do-distclean local-clean
53693 echo stage3 > stage_final
53694 @r=`${PWD_COMMAND}`; export r; \
53695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53696 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53697 @: $(MAKE); $(unstage)
53698 @r=`${PWD_COMMAND}`; export r; \
53699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53700 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53702 @endif gcc-bootstrap
53705 .PHONY: stageb3g2-start stageb3g2-end
53707 stageb3g2-start::
53708 @: $(MAKE); $(stage); \
53709 echo stageb3g2 > stage_current ; \
53710 echo stageb3g2 > stage_last; \
53711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53712 @if bfd
53713 @cd $(HOST_SUBDIR); [ -d stageb3g2-bfd ] || \
53714 mkdir stageb3g2-bfd; \
53715 mv stageb3g2-bfd bfd ; \
53716 mv stageb2g0-bfd prev-bfd || test -f stageb2g0-lean
53717 @endif bfd
53718 @if opcodes
53719 @cd $(HOST_SUBDIR); [ -d stageb3g2-opcodes ] || \
53720 mkdir stageb3g2-opcodes; \
53721 mv stageb3g2-opcodes opcodes ; \
53722 mv stageb2g0-opcodes prev-opcodes || test -f stageb2g0-lean
53723 @endif opcodes
53724 @if binutils
53725 @cd $(HOST_SUBDIR); [ -d stageb3g2-binutils ] || \
53726 mkdir stageb3g2-binutils; \
53727 mv stageb3g2-binutils binutils ; \
53728 mv stageb2g0-binutils prev-binutils || test -f stageb2g0-lean
53729 @endif binutils
53730 @if gas
53731 @cd $(HOST_SUBDIR); [ -d stageb3g2-gas ] || \
53732 mkdir stageb3g2-gas; \
53733 mv stageb3g2-gas gas ; \
53734 mv stageb2g0-gas prev-gas || test -f stageb2g0-lean
53735 @endif gas
53736 @if gcc
53737 @cd $(HOST_SUBDIR); [ -d stageb3g2-gcc ] || \
53738 mkdir stageb3g2-gcc; \
53739 mv stageb3g2-gcc gcc ; \
53740 mv stageb2g0-gcc prev-gcc || test -f stageb2g0-lean
53741 @endif gcc
53742 @if gmp
53743 @cd $(HOST_SUBDIR); [ -d stageb3g2-gmp ] || \
53744 mkdir stageb3g2-gmp; \
53745 mv stageb3g2-gmp gmp ; \
53746 mv stageb2g0-gmp prev-gmp || test -f stageb2g0-lean
53747 @endif gmp
53748 @if mpfr
53749 @cd $(HOST_SUBDIR); [ -d stageb3g2-mpfr ] || \
53750 mkdir stageb3g2-mpfr; \
53751 mv stageb3g2-mpfr mpfr ; \
53752 mv stageb2g0-mpfr prev-mpfr || test -f stageb2g0-lean
53753 @endif mpfr
53754 @if ppl
53755 @cd $(HOST_SUBDIR); [ -d stageb3g2-ppl ] || \
53756 mkdir stageb3g2-ppl; \
53757 mv stageb3g2-ppl ppl ; \
53758 mv stageb2g0-ppl prev-ppl || test -f stageb2g0-lean
53759 @endif ppl
53760 @if cloog
53761 @cd $(HOST_SUBDIR); [ -d stageb3g2-cloog ] || \
53762 mkdir stageb3g2-cloog; \
53763 mv stageb3g2-cloog cloog ; \
53764 mv stageb2g0-cloog prev-cloog || test -f stageb2g0-lean
53765 @endif cloog
53766 @if gold
53767 @cd $(HOST_SUBDIR); [ -d stageb3g2-gold ] || \
53768 mkdir stageb3g2-gold; \
53769 mv stageb3g2-gold gold ; \
53770 mv stageb2g0-gold prev-gold || test -f stageb2g0-lean
53771 @endif gold
53772 @if intl
53773 @cd $(HOST_SUBDIR); [ -d stageb3g2-intl ] || \
53774 mkdir stageb3g2-intl; \
53775 mv stageb3g2-intl intl ; \
53776 mv stageb2g0-intl prev-intl || test -f stageb2g0-lean
53777 @endif intl
53778 @if ld
53779 @cd $(HOST_SUBDIR); [ -d stageb3g2-ld ] || \
53780 mkdir stageb3g2-ld; \
53781 mv stageb3g2-ld ld ; \
53782 mv stageb2g0-ld prev-ld || test -f stageb2g0-lean
53783 @endif ld
53784 @if libcpp
53785 @cd $(HOST_SUBDIR); [ -d stageb3g2-libcpp ] || \
53786 mkdir stageb3g2-libcpp; \
53787 mv stageb3g2-libcpp libcpp ; \
53788 mv stageb2g0-libcpp prev-libcpp || test -f stageb2g0-lean
53789 @endif libcpp
53790 @if libdecnumber
53791 @cd $(HOST_SUBDIR); [ -d stageb3g2-libdecnumber ] || \
53792 mkdir stageb3g2-libdecnumber; \
53793 mv stageb3g2-libdecnumber libdecnumber ; \
53794 mv stageb2g0-libdecnumber prev-libdecnumber || test -f stageb2g0-lean
53795 @endif libdecnumber
53796 @if libiberty
53797 @cd $(HOST_SUBDIR); [ -d stageb3g2-libiberty ] || \
53798 mkdir stageb3g2-libiberty; \
53799 mv stageb3g2-libiberty libiberty ; \
53800 mv stageb2g0-libiberty prev-libiberty || test -f stageb2g0-lean
53801 @endif libiberty
53802 @if zlib
53803 @cd $(HOST_SUBDIR); [ -d stageb3g2-zlib ] || \
53804 mkdir stageb3g2-zlib; \
53805 mv stageb3g2-zlib zlib ; \
53806 mv stageb2g0-zlib prev-zlib || test -f stageb2g0-lean
53807 @endif zlib
53808 @[ -d stageb3g2-$(TARGET_SUBDIR) ] || \
53809 mkdir stageb3g2-$(TARGET_SUBDIR); \
53810 mv stageb3g2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
53811 mv stageb2g0-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageb2g0-lean
53813 stageb3g2-end::
53814 @if bfd
53815 @if test -d $(HOST_SUBDIR)/bfd ; then \
53816 cd $(HOST_SUBDIR); mv bfd stageb3g2-bfd ; \
53817 mv prev-bfd stageb2g0-bfd ; : ; \
53819 @endif bfd
53820 @if opcodes
53821 @if test -d $(HOST_SUBDIR)/opcodes ; then \
53822 cd $(HOST_SUBDIR); mv opcodes stageb3g2-opcodes ; \
53823 mv prev-opcodes stageb2g0-opcodes ; : ; \
53825 @endif opcodes
53826 @if binutils
53827 @if test -d $(HOST_SUBDIR)/binutils ; then \
53828 cd $(HOST_SUBDIR); mv binutils stageb3g2-binutils ; \
53829 mv prev-binutils stageb2g0-binutils ; : ; \
53831 @endif binutils
53832 @if gas
53833 @if test -d $(HOST_SUBDIR)/gas ; then \
53834 cd $(HOST_SUBDIR); mv gas stageb3g2-gas ; \
53835 mv prev-gas stageb2g0-gas ; : ; \
53837 @endif gas
53838 @if gcc
53839 @if test -d $(HOST_SUBDIR)/gcc ; then \
53840 cd $(HOST_SUBDIR); mv gcc stageb3g2-gcc ; \
53841 mv prev-gcc stageb2g0-gcc ; : ; \
53843 @endif gcc
53844 @if gmp
53845 @if test -d $(HOST_SUBDIR)/gmp ; then \
53846 cd $(HOST_SUBDIR); mv gmp stageb3g2-gmp ; \
53847 mv prev-gmp stageb2g0-gmp ; : ; \
53849 @endif gmp
53850 @if mpfr
53851 @if test -d $(HOST_SUBDIR)/mpfr ; then \
53852 cd $(HOST_SUBDIR); mv mpfr stageb3g2-mpfr ; \
53853 mv prev-mpfr stageb2g0-mpfr ; : ; \
53855 @endif mpfr
53856 @if ppl
53857 @if test -d $(HOST_SUBDIR)/ppl ; then \
53858 cd $(HOST_SUBDIR); mv ppl stageb3g2-ppl ; \
53859 mv prev-ppl stageb2g0-ppl ; : ; \
53861 @endif ppl
53862 @if cloog
53863 @if test -d $(HOST_SUBDIR)/cloog ; then \
53864 cd $(HOST_SUBDIR); mv cloog stageb3g2-cloog ; \
53865 mv prev-cloog stageb2g0-cloog ; : ; \
53867 @endif cloog
53868 @if gold
53869 @if test -d $(HOST_SUBDIR)/gold ; then \
53870 cd $(HOST_SUBDIR); mv gold stageb3g2-gold ; \
53871 mv prev-gold stageb2g0-gold ; : ; \
53873 @endif gold
53874 @if intl
53875 @if test -d $(HOST_SUBDIR)/intl ; then \
53876 cd $(HOST_SUBDIR); mv intl stageb3g2-intl ; \
53877 mv prev-intl stageb2g0-intl ; : ; \
53879 @endif intl
53880 @if ld
53881 @if test -d $(HOST_SUBDIR)/ld ; then \
53882 cd $(HOST_SUBDIR); mv ld stageb3g2-ld ; \
53883 mv prev-ld stageb2g0-ld ; : ; \
53885 @endif ld
53886 @if libcpp
53887 @if test -d $(HOST_SUBDIR)/libcpp ; then \
53888 cd $(HOST_SUBDIR); mv libcpp stageb3g2-libcpp ; \
53889 mv prev-libcpp stageb2g0-libcpp ; : ; \
53891 @endif libcpp
53892 @if libdecnumber
53893 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
53894 cd $(HOST_SUBDIR); mv libdecnumber stageb3g2-libdecnumber ; \
53895 mv prev-libdecnumber stageb2g0-libdecnumber ; : ; \
53897 @endif libdecnumber
53898 @if libiberty
53899 @if test -d $(HOST_SUBDIR)/libiberty ; then \
53900 cd $(HOST_SUBDIR); mv libiberty stageb3g2-libiberty ; \
53901 mv prev-libiberty stageb2g0-libiberty ; : ; \
53903 @endif libiberty
53904 @if zlib
53905 @if test -d $(HOST_SUBDIR)/zlib ; then \
53906 cd $(HOST_SUBDIR); mv zlib stageb3g2-zlib ; \
53907 mv prev-zlib stageb2g0-zlib ; : ; \
53909 @endif zlib
53910 @if test -d $(TARGET_SUBDIR) ; then \
53911 mv $(TARGET_SUBDIR) stageb3g2-$(TARGET_SUBDIR) ; \
53912 mv prev-$(TARGET_SUBDIR) stageb2g0-$(TARGET_SUBDIR) ; : ; \
53914 rm -f stage_current
53916 # Bubble a bug fix through all the stages up to stage b3g2. They are
53917 # remade, but not reconfigured. The next stage (if any) will not be
53918 # reconfigured either.
53919 .PHONY: stageb3g2-bubble
53920 stageb3g2-bubble:: stageb2g0-bubble
53921 @r=`${PWD_COMMAND}`; export r; \
53922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53923 if test -f stageb3g2-lean || test -f stageb2g0-lean ; then \
53924 echo Skipping rebuild of stageb3g2 ; \
53925 else \
53926 $(MAKE) stageb3g2-start; \
53927 if $(LEAN); then \
53928 rm -rf stage1-* ; \
53929 $(STAMP) stage1-lean ; \
53930 fi; \
53931 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageb3g2; \
53933 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare-debug
53935 .PHONY: all-stageb3g2 clean-stageb3g2
53936 do-clean: clean-stageb3g2
53938 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53939 # only possibility, but now it conflicts with no-bootstrap rules
53940 @if gcc-bootstrap
53942 compare-debug:
53943 @r=`${PWD_COMMAND}`; export r; \
53944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53945 if test -f stageb2g0-lean; then \
53946 echo Cannot compare object files as stage b2g0 was deleted. ; \
53947 exit 0 ; \
53948 fi; \
53949 : $(MAKE); $(stage); \
53950 rm -f .bad_compare ; \
53951 echo Comparing stages b2g0 and b3g2 ; \
53952 cd stageb3g2-gcc; \
53953 files=`find . -name "*$(objext)" -print` ; \
53954 cd .. ; \
53955 for file in $${files} ; do \
53956 f1=$$r/stageb2g0-gcc/$$file; f2=$$r/stageb3g2-gcc/$$file; \
53957 $(do-compare-debug) > /dev/null 2>&1; \
53958 if test $$? -eq 1; then \
53959 case $$file in \
53960 ./cc*-checksum$(objext) | ./libgcc/* ) \
53961 echo warning: $$file differs ;; \
53962 *) \
53963 echo $$file differs >> .bad_compare ;; \
53964 esac ; \
53965 fi ; \
53966 done ; \
53967 if [ -f .bad_compare ]; then \
53968 echo "Bootstrap comparison failure!"; \
53969 cat .bad_compare; \
53970 exit 1; \
53971 else \
53972 echo Comparison successful.; \
53973 fi ; \
53974 $(STAMP) compare-debug
53975 if $(LEAN); then \
53976 rm -rf stageb2g0-*; \
53977 $(STAMP) stageb2g0-lean; \
53982 .PHONY: bootstrap-debug bootstrap-debug-lean
53983 bootstrap-debug:
53984 echo stageb3g2 > stage_final
53985 @r=`${PWD_COMMAND}`; export r; \
53986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53987 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb3g2-bubble
53988 @: $(MAKE); $(unstage)
53989 @r=`${PWD_COMMAND}`; export r; \
53990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53991 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53993 bootstrap-debug-lean:
53994 echo stageb3g2 > stage_final
53995 @r=`${PWD_COMMAND}`; export r; \
53996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53997 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageb3g2-bubble
53998 @: $(MAKE); $(unstage)
53999 @r=`${PWD_COMMAND}`; export r; \
54000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54001 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54004 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54005 distclean-stageb2g0:: distclean-stageb3g2
54006 .PHONY: distclean-stageb3g2
54007 distclean-stageb3g2::
54008 @: $(MAKE); $(stage)
54009 @test "`cat stage_last`" != stageb3g2 || rm -f stage_last
54010 rm -rf stageb3g2-* compare-debug
54013 .PHONY: cleanstrap-debug
54014 cleanstrap-debug: do-distclean local-clean
54015 echo stageb3g2 > stage_final
54016 @r=`${PWD_COMMAND}`; export r; \
54017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54018 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb3g2-bubble
54019 @: $(MAKE); $(unstage)
54020 @r=`${PWD_COMMAND}`; export r; \
54021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54022 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54024 @endif gcc-bootstrap
54027 .PHONY: stage4-start stage4-end
54029 stage4-start::
54030 @: $(MAKE); $(stage); \
54031 echo stage4 > stage_current ; \
54032 echo stage4 > stage_last; \
54033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54034 @if bfd
54035 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
54036 mkdir stage4-bfd; \
54037 mv stage4-bfd bfd ; \
54038 mv stage3-bfd prev-bfd || test -f stage3-lean
54039 @endif bfd
54040 @if opcodes
54041 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
54042 mkdir stage4-opcodes; \
54043 mv stage4-opcodes opcodes ; \
54044 mv stage3-opcodes prev-opcodes || test -f stage3-lean
54045 @endif opcodes
54046 @if binutils
54047 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
54048 mkdir stage4-binutils; \
54049 mv stage4-binutils binutils ; \
54050 mv stage3-binutils prev-binutils || test -f stage3-lean
54051 @endif binutils
54052 @if gas
54053 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
54054 mkdir stage4-gas; \
54055 mv stage4-gas gas ; \
54056 mv stage3-gas prev-gas || test -f stage3-lean
54057 @endif gas
54058 @if gcc
54059 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
54060 mkdir stage4-gcc; \
54061 mv stage4-gcc gcc ; \
54062 mv stage3-gcc prev-gcc || test -f stage3-lean
54063 @endif gcc
54064 @if gmp
54065 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
54066 mkdir stage4-gmp; \
54067 mv stage4-gmp gmp ; \
54068 mv stage3-gmp prev-gmp || test -f stage3-lean
54069 @endif gmp
54070 @if mpfr
54071 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
54072 mkdir stage4-mpfr; \
54073 mv stage4-mpfr mpfr ; \
54074 mv stage3-mpfr prev-mpfr || test -f stage3-lean
54075 @endif mpfr
54076 @if ppl
54077 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
54078 mkdir stage4-ppl; \
54079 mv stage4-ppl ppl ; \
54080 mv stage3-ppl prev-ppl || test -f stage3-lean
54081 @endif ppl
54082 @if cloog
54083 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
54084 mkdir stage4-cloog; \
54085 mv stage4-cloog cloog ; \
54086 mv stage3-cloog prev-cloog || test -f stage3-lean
54087 @endif cloog
54088 @if gold
54089 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
54090 mkdir stage4-gold; \
54091 mv stage4-gold gold ; \
54092 mv stage3-gold prev-gold || test -f stage3-lean
54093 @endif gold
54094 @if intl
54095 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
54096 mkdir stage4-intl; \
54097 mv stage4-intl intl ; \
54098 mv stage3-intl prev-intl || test -f stage3-lean
54099 @endif intl
54100 @if ld
54101 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
54102 mkdir stage4-ld; \
54103 mv stage4-ld ld ; \
54104 mv stage3-ld prev-ld || test -f stage3-lean
54105 @endif ld
54106 @if libcpp
54107 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
54108 mkdir stage4-libcpp; \
54109 mv stage4-libcpp libcpp ; \
54110 mv stage3-libcpp prev-libcpp || test -f stage3-lean
54111 @endif libcpp
54112 @if libdecnumber
54113 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
54114 mkdir stage4-libdecnumber; \
54115 mv stage4-libdecnumber libdecnumber ; \
54116 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
54117 @endif libdecnumber
54118 @if libiberty
54119 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
54120 mkdir stage4-libiberty; \
54121 mv stage4-libiberty libiberty ; \
54122 mv stage3-libiberty prev-libiberty || test -f stage3-lean
54123 @endif libiberty
54124 @if zlib
54125 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
54126 mkdir stage4-zlib; \
54127 mv stage4-zlib zlib ; \
54128 mv stage3-zlib prev-zlib || test -f stage3-lean
54129 @endif zlib
54130 @[ -d stage4-$(TARGET_SUBDIR) ] || \
54131 mkdir stage4-$(TARGET_SUBDIR); \
54132 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
54133 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
54135 stage4-end::
54136 @if bfd
54137 @if test -d $(HOST_SUBDIR)/bfd ; then \
54138 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
54139 mv prev-bfd stage3-bfd ; : ; \
54141 @endif bfd
54142 @if opcodes
54143 @if test -d $(HOST_SUBDIR)/opcodes ; then \
54144 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
54145 mv prev-opcodes stage3-opcodes ; : ; \
54147 @endif opcodes
54148 @if binutils
54149 @if test -d $(HOST_SUBDIR)/binutils ; then \
54150 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
54151 mv prev-binutils stage3-binutils ; : ; \
54153 @endif binutils
54154 @if gas
54155 @if test -d $(HOST_SUBDIR)/gas ; then \
54156 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
54157 mv prev-gas stage3-gas ; : ; \
54159 @endif gas
54160 @if gcc
54161 @if test -d $(HOST_SUBDIR)/gcc ; then \
54162 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
54163 mv prev-gcc stage3-gcc ; : ; \
54165 @endif gcc
54166 @if gmp
54167 @if test -d $(HOST_SUBDIR)/gmp ; then \
54168 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
54169 mv prev-gmp stage3-gmp ; : ; \
54171 @endif gmp
54172 @if mpfr
54173 @if test -d $(HOST_SUBDIR)/mpfr ; then \
54174 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
54175 mv prev-mpfr stage3-mpfr ; : ; \
54177 @endif mpfr
54178 @if ppl
54179 @if test -d $(HOST_SUBDIR)/ppl ; then \
54180 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
54181 mv prev-ppl stage3-ppl ; : ; \
54183 @endif ppl
54184 @if cloog
54185 @if test -d $(HOST_SUBDIR)/cloog ; then \
54186 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
54187 mv prev-cloog stage3-cloog ; : ; \
54189 @endif cloog
54190 @if gold
54191 @if test -d $(HOST_SUBDIR)/gold ; then \
54192 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
54193 mv prev-gold stage3-gold ; : ; \
54195 @endif gold
54196 @if intl
54197 @if test -d $(HOST_SUBDIR)/intl ; then \
54198 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
54199 mv prev-intl stage3-intl ; : ; \
54201 @endif intl
54202 @if ld
54203 @if test -d $(HOST_SUBDIR)/ld ; then \
54204 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
54205 mv prev-ld stage3-ld ; : ; \
54207 @endif ld
54208 @if libcpp
54209 @if test -d $(HOST_SUBDIR)/libcpp ; then \
54210 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
54211 mv prev-libcpp stage3-libcpp ; : ; \
54213 @endif libcpp
54214 @if libdecnumber
54215 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
54216 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
54217 mv prev-libdecnumber stage3-libdecnumber ; : ; \
54219 @endif libdecnumber
54220 @if libiberty
54221 @if test -d $(HOST_SUBDIR)/libiberty ; then \
54222 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
54223 mv prev-libiberty stage3-libiberty ; : ; \
54225 @endif libiberty
54226 @if zlib
54227 @if test -d $(HOST_SUBDIR)/zlib ; then \
54228 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
54229 mv prev-zlib stage3-zlib ; : ; \
54231 @endif zlib
54232 @if test -d $(TARGET_SUBDIR) ; then \
54233 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
54234 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
54236 rm -f stage_current
54238 # Bubble a bug fix through all the stages up to stage 4. They are
54239 # remade, but not reconfigured. The next stage (if any) will not be
54240 # reconfigured either.
54241 .PHONY: stage4-bubble
54242 stage4-bubble:: stage3-bubble
54243 @r=`${PWD_COMMAND}`; export r; \
54244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54245 if test -f stage4-lean || test -f stage3-lean ; then \
54246 echo Skipping rebuild of stage4 ; \
54247 else \
54248 $(MAKE) stage4-start; \
54249 if $(LEAN); then \
54250 rm -rf stage2-* ; \
54251 $(STAMP) stage2-lean ; \
54252 fi; \
54253 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
54255 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
54257 .PHONY: all-stage4 clean-stage4
54258 do-clean: clean-stage4
54260 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54261 # only possibility, but now it conflicts with no-bootstrap rules
54262 @if gcc-bootstrap
54264 compare3:
54265 @r=`${PWD_COMMAND}`; export r; \
54266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54267 if test -f stage3-lean; then \
54268 echo Cannot compare object files as stage 3 was deleted. ; \
54269 exit 0 ; \
54270 fi; \
54271 : $(MAKE); $(stage); \
54272 rm -f .bad_compare ; \
54273 echo Comparing stages 3 and 4 ; \
54274 cd stage4-gcc; \
54275 files=`find . -name "*$(objext)" -print` ; \
54276 cd .. ; \
54277 for file in $${files} ; do \
54278 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
54279 $(do-compare3) > /dev/null 2>&1; \
54280 if test $$? -eq 1; then \
54281 case $$file in \
54282 ./cc*-checksum$(objext) | ./libgcc/* ) \
54283 echo warning: $$file differs ;; \
54284 *) \
54285 echo $$file differs >> .bad_compare ;; \
54286 esac ; \
54287 fi ; \
54288 done ; \
54289 if [ -f .bad_compare ]; then \
54290 echo "Bootstrap comparison failure!"; \
54291 cat .bad_compare; \
54292 exit 1; \
54293 else \
54294 echo Comparison successful.; \
54295 fi ; \
54296 $(STAMP) compare3
54297 if $(LEAN); then \
54298 rm -rf stage3-*; \
54299 $(STAMP) stage3-lean; \
54304 .PHONY: bootstrap4 bootstrap4-lean
54305 bootstrap4:
54306 echo stage4 > stage_final
54307 @r=`${PWD_COMMAND}`; export r; \
54308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54309 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
54310 @: $(MAKE); $(unstage)
54311 @r=`${PWD_COMMAND}`; export r; \
54312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54313 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54315 bootstrap4-lean:
54316 echo stage4 > stage_final
54317 @r=`${PWD_COMMAND}`; export r; \
54318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54319 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
54320 @: $(MAKE); $(unstage)
54321 @r=`${PWD_COMMAND}`; export r; \
54322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54323 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54326 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54327 distclean-stage3:: distclean-stage4
54328 .PHONY: distclean-stage4
54329 distclean-stage4::
54330 @: $(MAKE); $(stage)
54331 @test "`cat stage_last`" != stage4 || rm -f stage_last
54332 rm -rf stage4-* compare3
54335 @endif gcc-bootstrap
54338 .PHONY: stageprofile-start stageprofile-end
54340 stageprofile-start::
54341 @: $(MAKE); $(stage); \
54342 echo stageprofile > stage_current ; \
54343 echo stageprofile > stage_last; \
54344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54345 @if bfd
54346 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
54347 mkdir stageprofile-bfd; \
54348 mv stageprofile-bfd bfd ; \
54349 mv stage1-bfd prev-bfd || test -f stage1-lean
54350 @endif bfd
54351 @if opcodes
54352 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
54353 mkdir stageprofile-opcodes; \
54354 mv stageprofile-opcodes opcodes ; \
54355 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54356 @endif opcodes
54357 @if binutils
54358 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
54359 mkdir stageprofile-binutils; \
54360 mv stageprofile-binutils binutils ; \
54361 mv stage1-binutils prev-binutils || test -f stage1-lean
54362 @endif binutils
54363 @if gas
54364 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
54365 mkdir stageprofile-gas; \
54366 mv stageprofile-gas gas ; \
54367 mv stage1-gas prev-gas || test -f stage1-lean
54368 @endif gas
54369 @if gcc
54370 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
54371 mkdir stageprofile-gcc; \
54372 mv stageprofile-gcc gcc ; \
54373 mv stage1-gcc prev-gcc || test -f stage1-lean
54374 @endif gcc
54375 @if gmp
54376 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
54377 mkdir stageprofile-gmp; \
54378 mv stageprofile-gmp gmp ; \
54379 mv stage1-gmp prev-gmp || test -f stage1-lean
54380 @endif gmp
54381 @if mpfr
54382 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
54383 mkdir stageprofile-mpfr; \
54384 mv stageprofile-mpfr mpfr ; \
54385 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54386 @endif mpfr
54387 @if ppl
54388 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
54389 mkdir stageprofile-ppl; \
54390 mv stageprofile-ppl ppl ; \
54391 mv stage1-ppl prev-ppl || test -f stage1-lean
54392 @endif ppl
54393 @if cloog
54394 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
54395 mkdir stageprofile-cloog; \
54396 mv stageprofile-cloog cloog ; \
54397 mv stage1-cloog prev-cloog || test -f stage1-lean
54398 @endif cloog
54399 @if gold
54400 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
54401 mkdir stageprofile-gold; \
54402 mv stageprofile-gold gold ; \
54403 mv stage1-gold prev-gold || test -f stage1-lean
54404 @endif gold
54405 @if intl
54406 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
54407 mkdir stageprofile-intl; \
54408 mv stageprofile-intl intl ; \
54409 mv stage1-intl prev-intl || test -f stage1-lean
54410 @endif intl
54411 @if ld
54412 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
54413 mkdir stageprofile-ld; \
54414 mv stageprofile-ld ld ; \
54415 mv stage1-ld prev-ld || test -f stage1-lean
54416 @endif ld
54417 @if libcpp
54418 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
54419 mkdir stageprofile-libcpp; \
54420 mv stageprofile-libcpp libcpp ; \
54421 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54422 @endif libcpp
54423 @if libdecnumber
54424 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
54425 mkdir stageprofile-libdecnumber; \
54426 mv stageprofile-libdecnumber libdecnumber ; \
54427 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54428 @endif libdecnumber
54429 @if libiberty
54430 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
54431 mkdir stageprofile-libiberty; \
54432 mv stageprofile-libiberty libiberty ; \
54433 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54434 @endif libiberty
54435 @if zlib
54436 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
54437 mkdir stageprofile-zlib; \
54438 mv stageprofile-zlib zlib ; \
54439 mv stage1-zlib prev-zlib || test -f stage1-lean
54440 @endif zlib
54441 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
54442 mkdir stageprofile-$(TARGET_SUBDIR); \
54443 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
54444 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54446 stageprofile-end::
54447 @if bfd
54448 @if test -d $(HOST_SUBDIR)/bfd ; then \
54449 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
54450 mv prev-bfd stage1-bfd ; : ; \
54452 @endif bfd
54453 @if opcodes
54454 @if test -d $(HOST_SUBDIR)/opcodes ; then \
54455 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
54456 mv prev-opcodes stage1-opcodes ; : ; \
54458 @endif opcodes
54459 @if binutils
54460 @if test -d $(HOST_SUBDIR)/binutils ; then \
54461 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
54462 mv prev-binutils stage1-binutils ; : ; \
54464 @endif binutils
54465 @if gas
54466 @if test -d $(HOST_SUBDIR)/gas ; then \
54467 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
54468 mv prev-gas stage1-gas ; : ; \
54470 @endif gas
54471 @if gcc
54472 @if test -d $(HOST_SUBDIR)/gcc ; then \
54473 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
54474 mv prev-gcc stage1-gcc ; : ; \
54476 @endif gcc
54477 @if gmp
54478 @if test -d $(HOST_SUBDIR)/gmp ; then \
54479 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
54480 mv prev-gmp stage1-gmp ; : ; \
54482 @endif gmp
54483 @if mpfr
54484 @if test -d $(HOST_SUBDIR)/mpfr ; then \
54485 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
54486 mv prev-mpfr stage1-mpfr ; : ; \
54488 @endif mpfr
54489 @if ppl
54490 @if test -d $(HOST_SUBDIR)/ppl ; then \
54491 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
54492 mv prev-ppl stage1-ppl ; : ; \
54494 @endif ppl
54495 @if cloog
54496 @if test -d $(HOST_SUBDIR)/cloog ; then \
54497 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
54498 mv prev-cloog stage1-cloog ; : ; \
54500 @endif cloog
54501 @if gold
54502 @if test -d $(HOST_SUBDIR)/gold ; then \
54503 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
54504 mv prev-gold stage1-gold ; : ; \
54506 @endif gold
54507 @if intl
54508 @if test -d $(HOST_SUBDIR)/intl ; then \
54509 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
54510 mv prev-intl stage1-intl ; : ; \
54512 @endif intl
54513 @if ld
54514 @if test -d $(HOST_SUBDIR)/ld ; then \
54515 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
54516 mv prev-ld stage1-ld ; : ; \
54518 @endif ld
54519 @if libcpp
54520 @if test -d $(HOST_SUBDIR)/libcpp ; then \
54521 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
54522 mv prev-libcpp stage1-libcpp ; : ; \
54524 @endif libcpp
54525 @if libdecnumber
54526 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
54527 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
54528 mv prev-libdecnumber stage1-libdecnumber ; : ; \
54530 @endif libdecnumber
54531 @if libiberty
54532 @if test -d $(HOST_SUBDIR)/libiberty ; then \
54533 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
54534 mv prev-libiberty stage1-libiberty ; : ; \
54536 @endif libiberty
54537 @if zlib
54538 @if test -d $(HOST_SUBDIR)/zlib ; then \
54539 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
54540 mv prev-zlib stage1-zlib ; : ; \
54542 @endif zlib
54543 @if test -d $(TARGET_SUBDIR) ; then \
54544 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
54545 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
54547 rm -f stage_current
54549 # Bubble a bug fix through all the stages up to stage profile. They are
54550 # remade, but not reconfigured. The next stage (if any) will not be
54551 # reconfigured either.
54552 .PHONY: stageprofile-bubble
54553 stageprofile-bubble:: stage1-bubble
54554 @r=`${PWD_COMMAND}`; export r; \
54555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54556 if test -f stageprofile-lean || test -f stage1-lean ; then \
54557 echo Skipping rebuild of stageprofile ; \
54558 else \
54559 $(MAKE) stageprofile-start; \
54560 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
54563 .PHONY: all-stageprofile clean-stageprofile
54564 do-clean: clean-stageprofile
54566 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54567 # only possibility, but now it conflicts with no-bootstrap rules
54568 @if gcc-bootstrap
54573 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54574 distclean-stage1:: distclean-stageprofile
54575 .PHONY: distclean-stageprofile
54576 distclean-stageprofile::
54577 @: $(MAKE); $(stage)
54578 @test "`cat stage_last`" != stageprofile || rm -f stage_last
54579 rm -rf stageprofile-*
54582 @endif gcc-bootstrap
54585 .PHONY: stagefeedback-start stagefeedback-end
54587 stagefeedback-start::
54588 @: $(MAKE); $(stage); \
54589 echo stagefeedback > stage_current ; \
54590 echo stagefeedback > stage_last; \
54591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54592 @if bfd
54593 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
54594 mkdir stagefeedback-bfd; \
54595 mv stagefeedback-bfd bfd ; \
54596 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
54597 @endif bfd
54598 @if opcodes
54599 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
54600 mkdir stagefeedback-opcodes; \
54601 mv stagefeedback-opcodes opcodes ; \
54602 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
54603 @endif opcodes
54604 @if binutils
54605 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
54606 mkdir stagefeedback-binutils; \
54607 mv stagefeedback-binutils binutils ; \
54608 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
54609 @endif binutils
54610 @if gas
54611 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
54612 mkdir stagefeedback-gas; \
54613 mv stagefeedback-gas gas ; \
54614 mv stageprofile-gas prev-gas || test -f stageprofile-lean
54615 @endif gas
54616 @if gcc
54617 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
54618 mkdir stagefeedback-gcc; \
54619 mv stagefeedback-gcc gcc ; \
54620 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
54621 @endif gcc
54622 @if gmp
54623 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
54624 mkdir stagefeedback-gmp; \
54625 mv stagefeedback-gmp gmp ; \
54626 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
54627 @endif gmp
54628 @if mpfr
54629 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
54630 mkdir stagefeedback-mpfr; \
54631 mv stagefeedback-mpfr mpfr ; \
54632 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
54633 @endif mpfr
54634 @if ppl
54635 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
54636 mkdir stagefeedback-ppl; \
54637 mv stagefeedback-ppl ppl ; \
54638 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
54639 @endif ppl
54640 @if cloog
54641 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
54642 mkdir stagefeedback-cloog; \
54643 mv stagefeedback-cloog cloog ; \
54644 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
54645 @endif cloog
54646 @if gold
54647 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
54648 mkdir stagefeedback-gold; \
54649 mv stagefeedback-gold gold ; \
54650 mv stageprofile-gold prev-gold || test -f stageprofile-lean
54651 @endif gold
54652 @if intl
54653 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
54654 mkdir stagefeedback-intl; \
54655 mv stagefeedback-intl intl ; \
54656 mv stageprofile-intl prev-intl || test -f stageprofile-lean
54657 @endif intl
54658 @if ld
54659 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
54660 mkdir stagefeedback-ld; \
54661 mv stagefeedback-ld ld ; \
54662 mv stageprofile-ld prev-ld || test -f stageprofile-lean
54663 @endif ld
54664 @if libcpp
54665 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
54666 mkdir stagefeedback-libcpp; \
54667 mv stagefeedback-libcpp libcpp ; \
54668 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
54669 @endif libcpp
54670 @if libdecnumber
54671 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
54672 mkdir stagefeedback-libdecnumber; \
54673 mv stagefeedback-libdecnumber libdecnumber ; \
54674 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
54675 @endif libdecnumber
54676 @if libiberty
54677 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
54678 mkdir stagefeedback-libiberty; \
54679 mv stagefeedback-libiberty libiberty ; \
54680 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
54681 @endif libiberty
54682 @if zlib
54683 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
54684 mkdir stagefeedback-zlib; \
54685 mv stagefeedback-zlib zlib ; \
54686 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
54687 @endif zlib
54688 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
54689 mkdir stagefeedback-$(TARGET_SUBDIR); \
54690 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
54691 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
54693 stagefeedback-end::
54694 @if bfd
54695 @if test -d $(HOST_SUBDIR)/bfd ; then \
54696 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
54697 mv prev-bfd stageprofile-bfd ; : ; \
54699 @endif bfd
54700 @if opcodes
54701 @if test -d $(HOST_SUBDIR)/opcodes ; then \
54702 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
54703 mv prev-opcodes stageprofile-opcodes ; : ; \
54705 @endif opcodes
54706 @if binutils
54707 @if test -d $(HOST_SUBDIR)/binutils ; then \
54708 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
54709 mv prev-binutils stageprofile-binutils ; : ; \
54711 @endif binutils
54712 @if gas
54713 @if test -d $(HOST_SUBDIR)/gas ; then \
54714 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
54715 mv prev-gas stageprofile-gas ; : ; \
54717 @endif gas
54718 @if gcc
54719 @if test -d $(HOST_SUBDIR)/gcc ; then \
54720 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
54721 mv prev-gcc stageprofile-gcc ; : ; \
54723 @endif gcc
54724 @if gmp
54725 @if test -d $(HOST_SUBDIR)/gmp ; then \
54726 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
54727 mv prev-gmp stageprofile-gmp ; : ; \
54729 @endif gmp
54730 @if mpfr
54731 @if test -d $(HOST_SUBDIR)/mpfr ; then \
54732 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
54733 mv prev-mpfr stageprofile-mpfr ; : ; \
54735 @endif mpfr
54736 @if ppl
54737 @if test -d $(HOST_SUBDIR)/ppl ; then \
54738 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
54739 mv prev-ppl stageprofile-ppl ; : ; \
54741 @endif ppl
54742 @if cloog
54743 @if test -d $(HOST_SUBDIR)/cloog ; then \
54744 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
54745 mv prev-cloog stageprofile-cloog ; : ; \
54747 @endif cloog
54748 @if gold
54749 @if test -d $(HOST_SUBDIR)/gold ; then \
54750 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
54751 mv prev-gold stageprofile-gold ; : ; \
54753 @endif gold
54754 @if intl
54755 @if test -d $(HOST_SUBDIR)/intl ; then \
54756 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
54757 mv prev-intl stageprofile-intl ; : ; \
54759 @endif intl
54760 @if ld
54761 @if test -d $(HOST_SUBDIR)/ld ; then \
54762 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
54763 mv prev-ld stageprofile-ld ; : ; \
54765 @endif ld
54766 @if libcpp
54767 @if test -d $(HOST_SUBDIR)/libcpp ; then \
54768 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
54769 mv prev-libcpp stageprofile-libcpp ; : ; \
54771 @endif libcpp
54772 @if libdecnumber
54773 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
54774 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
54775 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
54777 @endif libdecnumber
54778 @if libiberty
54779 @if test -d $(HOST_SUBDIR)/libiberty ; then \
54780 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
54781 mv prev-libiberty stageprofile-libiberty ; : ; \
54783 @endif libiberty
54784 @if zlib
54785 @if test -d $(HOST_SUBDIR)/zlib ; then \
54786 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
54787 mv prev-zlib stageprofile-zlib ; : ; \
54789 @endif zlib
54790 @if test -d $(TARGET_SUBDIR) ; then \
54791 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
54792 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
54794 rm -f stage_current
54796 # Bubble a bug fix through all the stages up to stage feedback. They are
54797 # remade, but not reconfigured. The next stage (if any) will not be
54798 # reconfigured either.
54799 .PHONY: stagefeedback-bubble
54800 stagefeedback-bubble:: stageprofile-bubble
54801 @r=`${PWD_COMMAND}`; export r; \
54802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54803 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
54804 echo Skipping rebuild of stagefeedback ; \
54805 else \
54806 $(MAKE) stagefeedback-start; \
54807 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
54810 .PHONY: all-stagefeedback clean-stagefeedback
54811 do-clean: clean-stagefeedback
54813 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54814 # only possibility, but now it conflicts with no-bootstrap rules
54815 @if gcc-bootstrap
54819 .PHONY: profiledbootstrap profiledbootstrap-lean
54820 profiledbootstrap:
54821 echo stagefeedback > stage_final
54822 @r=`${PWD_COMMAND}`; export r; \
54823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54824 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
54825 @: $(MAKE); $(unstage)
54826 @r=`${PWD_COMMAND}`; export r; \
54827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54828 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54830 profiledbootstrap-lean:
54831 echo stagefeedback > stage_final
54832 @r=`${PWD_COMMAND}`; export r; \
54833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54834 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
54835 @: $(MAKE); $(unstage)
54836 @r=`${PWD_COMMAND}`; export r; \
54837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54838 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54841 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54842 distclean-stageprofile:: distclean-stagefeedback
54843 .PHONY: distclean-stagefeedback
54844 distclean-stagefeedback::
54845 @: $(MAKE); $(stage)
54846 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
54847 rm -rf stagefeedback-*
54850 @endif gcc-bootstrap
54854 stageprofile-end::
54855 $(MAKE) distclean-stagefeedback
54857 stagefeedback-start::
54858 @r=`${PWD_COMMAND}`; export r; \
54859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54860 for i in prev-*; do \
54861 j=`echo $$i | sed s/^prev-//` ; \
54862 cd $$r/$$i && \
54863 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
54864 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
54865 done
54867 @if gcc-bootstrap
54868 do-distclean: distclean-stage1
54870 # Provide a GCC build when we're building target libraries. This does
54871 # not work as a dependency, just as the minimum necessary to avoid errors.
54872 stage_last:
54873 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
54875 # Same as unstage, but not phony and defaulting to stage1-start. We place
54876 # it in the dependency so that for example `make -j3 all-gcc' works.
54877 stage_current:
54878 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
54880 .PHONY: restrap
54881 restrap::
54882 @: $(MAKE); $(stage)
54883 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stageb2g0-* stage3-* stageb3g2-* stage4-* stageprofile-* stagefeedback-*
54884 restrap:: all
54885 @endif gcc-bootstrap
54887 # --------------------------------------
54888 # Dependencies between different modules
54889 # --------------------------------------
54891 # Generic dependencies for target modules on host stuff, especially gcc
54892 @if gcc-bootstrap
54893 configure-target-libstdc++-v3: stage_last
54894 configure-target-libmudflap: stage_last
54895 configure-target-libssp: stage_last
54896 configure-target-newlib: stage_last
54897 configure-stage1-target-libgcc: maybe-all-stage1-gcc
54898 configure-stage2-target-libgcc: maybe-all-stage2-gcc
54899 configure-stageb2g0-target-libgcc: maybe-all-stageb2g0-gcc
54900 configure-stage3-target-libgcc: maybe-all-stage3-gcc
54901 configure-stageb3g2-target-libgcc: maybe-all-stageb3g2-gcc
54902 configure-stage4-target-libgcc: maybe-all-stage4-gcc
54903 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
54904 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
54905 configure-target-libgfortran: stage_last
54906 configure-target-libobjc: stage_last
54907 configure-target-libtermcap: stage_last
54908 configure-target-winsup: stage_last
54909 configure-target-libgloss: stage_last
54910 configure-target-libiberty: stage_last
54911 configure-target-gperf: stage_last
54912 configure-target-examples: stage_last
54913 configure-target-libffi: stage_last
54914 configure-target-libjava: stage_last
54915 configure-target-zlib: stage_last
54916 configure-target-boehm-gc: stage_last
54917 configure-target-qthreads: stage_last
54918 configure-target-rda: stage_last
54919 configure-target-libada: stage_last
54920 configure-target-libgomp: stage_last
54921 @endif gcc-bootstrap
54923 @if gcc-no-bootstrap
54924 configure-target-libstdc++-v3: maybe-all-gcc
54925 configure-target-libmudflap: maybe-all-gcc
54926 configure-target-libssp: maybe-all-gcc
54927 configure-target-newlib: maybe-all-gcc
54928 configure-target-libgcc: maybe-all-gcc
54929 configure-target-libgfortran: maybe-all-gcc
54930 configure-target-libobjc: maybe-all-gcc
54931 configure-target-libtermcap: maybe-all-gcc
54932 configure-target-winsup: maybe-all-gcc
54933 configure-target-libgloss: maybe-all-gcc
54934 configure-target-libiberty: maybe-all-gcc
54935 configure-target-gperf: maybe-all-gcc
54936 configure-target-examples: maybe-all-gcc
54937 configure-target-libffi: maybe-all-gcc
54938 configure-target-libjava: maybe-all-gcc
54939 configure-target-zlib: maybe-all-gcc
54940 configure-target-boehm-gc: maybe-all-gcc
54941 configure-target-qthreads: maybe-all-gcc
54942 configure-target-rda: maybe-all-gcc
54943 configure-target-libada: maybe-all-gcc
54944 configure-target-libgomp: maybe-all-gcc
54945 @endif gcc-no-bootstrap
54948 # There are two types of dependencies here: 'hard' dependencies, where one
54949 # module simply won't build without the other; and 'soft' dependencies, where
54950 # if the depended-on module is missing, the depending module will do without
54951 # or find a substitute somewhere (perhaps installed). Soft dependencies
54952 # are made here to depend on a 'maybe-' target. If you're not sure,
54953 # it's safer to use a soft dependency.
54960 # With all the machinery above in place, it is pretty easy to generate
54961 # dependencies. Host dependencies are a bit more complex because we have
54962 # to check for bootstrap/prebootstrap dependencies. To resolve
54963 # prebootstrap dependencies, prebootstrap modules are gathered in
54964 # a hash table.
54965 all-build-bison: maybe-all-build-texinfo
54966 all-build-byacc: maybe-all-build-texinfo
54967 all-build-flex: maybe-all-build-texinfo
54968 all-build-flex: maybe-all-build-bison
54969 all-build-flex: maybe-all-build-byacc
54970 all-build-flex: maybe-all-build-m4
54971 all-build-libiberty: maybe-all-build-texinfo
54972 all-build-m4: maybe-all-build-texinfo
54973 all-build-fixincludes: maybe-all-build-libiberty
54974 configure-gcc: maybe-configure-intl
54976 configure-stage1-gcc: maybe-configure-stage1-intl
54977 configure-stage2-gcc: maybe-configure-stage2-intl
54978 configure-stageb2g0-gcc: maybe-configure-stageb2g0-intl
54979 configure-stage3-gcc: maybe-configure-stage3-intl
54980 configure-stageb3g2-gcc: maybe-configure-stageb3g2-intl
54981 configure-stage4-gcc: maybe-configure-stage4-intl
54982 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
54983 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
54984 configure-gcc: maybe-all-binutils
54986 configure-stage1-gcc: maybe-all-stage1-binutils
54987 configure-stage2-gcc: maybe-all-stage2-binutils
54988 configure-stageb2g0-gcc: maybe-all-stageb2g0-binutils
54989 configure-stage3-gcc: maybe-all-stage3-binutils
54990 configure-stageb3g2-gcc: maybe-all-stageb3g2-binutils
54991 configure-stage4-gcc: maybe-all-stage4-binutils
54992 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
54993 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
54994 configure-gcc: maybe-all-gas
54996 configure-stage1-gcc: maybe-all-stage1-gas
54997 configure-stage2-gcc: maybe-all-stage2-gas
54998 configure-stageb2g0-gcc: maybe-all-stageb2g0-gas
54999 configure-stage3-gcc: maybe-all-stage3-gas
55000 configure-stageb3g2-gcc: maybe-all-stageb3g2-gas
55001 configure-stage4-gcc: maybe-all-stage4-gas
55002 configure-stageprofile-gcc: maybe-all-stageprofile-gas
55003 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
55004 configure-gcc: maybe-all-ld
55006 configure-stage1-gcc: maybe-all-stage1-ld
55007 configure-stage2-gcc: maybe-all-stage2-ld
55008 configure-stageb2g0-gcc: maybe-all-stageb2g0-ld
55009 configure-stage3-gcc: maybe-all-stage3-ld
55010 configure-stageb3g2-gcc: maybe-all-stageb3g2-ld
55011 configure-stage4-gcc: maybe-all-stage4-ld
55012 configure-stageprofile-gcc: maybe-all-stageprofile-ld
55013 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
55014 configure-gcc: maybe-all-gold
55016 configure-stage1-gcc: maybe-all-stage1-gold
55017 configure-stage2-gcc: maybe-all-stage2-gold
55018 configure-stageb2g0-gcc: maybe-all-stageb2g0-gold
55019 configure-stage3-gcc: maybe-all-stage3-gold
55020 configure-stageb3g2-gcc: maybe-all-stageb3g2-gold
55021 configure-stage4-gcc: maybe-all-stage4-gold
55022 configure-stageprofile-gcc: maybe-all-stageprofile-gold
55023 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
55024 all-gcc: all-libiberty
55026 all-stage1-gcc: all-stage1-libiberty
55027 all-stage2-gcc: all-stage2-libiberty
55028 all-stageb2g0-gcc: all-stageb2g0-libiberty
55029 all-stage3-gcc: all-stage3-libiberty
55030 all-stageb3g2-gcc: all-stageb3g2-libiberty
55031 all-stage4-gcc: all-stage4-libiberty
55032 all-stageprofile-gcc: all-stageprofile-libiberty
55033 all-stagefeedback-gcc: all-stagefeedback-libiberty
55034 all-gcc: maybe-all-gmp
55036 all-stage1-gcc: maybe-all-stage1-gmp
55037 all-stage2-gcc: maybe-all-stage2-gmp
55038 all-stageb2g0-gcc: maybe-all-stageb2g0-gmp
55039 all-stage3-gcc: maybe-all-stage3-gmp
55040 all-stageb3g2-gcc: maybe-all-stageb3g2-gmp
55041 all-stage4-gcc: maybe-all-stage4-gmp
55042 all-stageprofile-gcc: maybe-all-stageprofile-gmp
55043 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
55044 all-gcc: maybe-all-intl
55046 all-stage1-gcc: maybe-all-stage1-intl
55047 all-stage2-gcc: maybe-all-stage2-intl
55048 all-stageb2g0-gcc: maybe-all-stageb2g0-intl
55049 all-stage3-gcc: maybe-all-stage3-intl
55050 all-stageb3g2-gcc: maybe-all-stageb3g2-intl
55051 all-stage4-gcc: maybe-all-stage4-intl
55052 all-stageprofile-gcc: maybe-all-stageprofile-intl
55053 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
55054 all-gcc: maybe-all-mpfr
55056 all-stage1-gcc: maybe-all-stage1-mpfr
55057 all-stage2-gcc: maybe-all-stage2-mpfr
55058 all-stageb2g0-gcc: maybe-all-stageb2g0-mpfr
55059 all-stage3-gcc: maybe-all-stage3-mpfr
55060 all-stageb3g2-gcc: maybe-all-stageb3g2-mpfr
55061 all-stage4-gcc: maybe-all-stage4-mpfr
55062 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
55063 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
55064 all-gcc: maybe-all-ppl
55066 all-stage1-gcc: maybe-all-stage1-ppl
55067 all-stage2-gcc: maybe-all-stage2-ppl
55068 all-stageb2g0-gcc: maybe-all-stageb2g0-ppl
55069 all-stage3-gcc: maybe-all-stage3-ppl
55070 all-stageb3g2-gcc: maybe-all-stageb3g2-ppl
55071 all-stage4-gcc: maybe-all-stage4-ppl
55072 all-stageprofile-gcc: maybe-all-stageprofile-ppl
55073 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
55074 all-gcc: maybe-all-cloog
55076 all-stage1-gcc: maybe-all-stage1-cloog
55077 all-stage2-gcc: maybe-all-stage2-cloog
55078 all-stageb2g0-gcc: maybe-all-stageb2g0-cloog
55079 all-stage3-gcc: maybe-all-stage3-cloog
55080 all-stageb3g2-gcc: maybe-all-stageb3g2-cloog
55081 all-stage4-gcc: maybe-all-stage4-cloog
55082 all-stageprofile-gcc: maybe-all-stageprofile-cloog
55083 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
55084 all-gcc: maybe-all-build-texinfo
55086 all-stage1-gcc: maybe-all-build-texinfo
55087 all-stage2-gcc: maybe-all-build-texinfo
55088 all-stageb2g0-gcc: maybe-all-build-texinfo
55089 all-stage3-gcc: maybe-all-build-texinfo
55090 all-stageb3g2-gcc: maybe-all-build-texinfo
55091 all-stage4-gcc: maybe-all-build-texinfo
55092 all-stageprofile-gcc: maybe-all-build-texinfo
55093 all-stagefeedback-gcc: maybe-all-build-texinfo
55094 all-gcc: maybe-all-build-bison
55096 all-stage1-gcc: maybe-all-build-bison
55097 all-stage2-gcc: maybe-all-build-bison
55098 all-stageb2g0-gcc: maybe-all-build-bison
55099 all-stage3-gcc: maybe-all-build-bison
55100 all-stageb3g2-gcc: maybe-all-build-bison
55101 all-stage4-gcc: maybe-all-build-bison
55102 all-stageprofile-gcc: maybe-all-build-bison
55103 all-stagefeedback-gcc: maybe-all-build-bison
55104 all-gcc: maybe-all-build-byacc
55106 all-stage1-gcc: maybe-all-build-byacc
55107 all-stage2-gcc: maybe-all-build-byacc
55108 all-stageb2g0-gcc: maybe-all-build-byacc
55109 all-stage3-gcc: maybe-all-build-byacc
55110 all-stageb3g2-gcc: maybe-all-build-byacc
55111 all-stage4-gcc: maybe-all-build-byacc
55112 all-stageprofile-gcc: maybe-all-build-byacc
55113 all-stagefeedback-gcc: maybe-all-build-byacc
55114 all-gcc: maybe-all-build-flex
55116 all-stage1-gcc: maybe-all-build-flex
55117 all-stage2-gcc: maybe-all-build-flex
55118 all-stageb2g0-gcc: maybe-all-build-flex
55119 all-stage3-gcc: maybe-all-build-flex
55120 all-stageb3g2-gcc: maybe-all-build-flex
55121 all-stage4-gcc: maybe-all-build-flex
55122 all-stageprofile-gcc: maybe-all-build-flex
55123 all-stagefeedback-gcc: maybe-all-build-flex
55124 all-gcc: maybe-all-build-libiberty
55126 all-stage1-gcc: maybe-all-build-libiberty
55127 all-stage2-gcc: maybe-all-build-libiberty
55128 all-stageb2g0-gcc: maybe-all-build-libiberty
55129 all-stage3-gcc: maybe-all-build-libiberty
55130 all-stageb3g2-gcc: maybe-all-build-libiberty
55131 all-stage4-gcc: maybe-all-build-libiberty
55132 all-stageprofile-gcc: maybe-all-build-libiberty
55133 all-stagefeedback-gcc: maybe-all-build-libiberty
55134 all-gcc: maybe-all-build-fixincludes
55136 all-stage1-gcc: maybe-all-build-fixincludes
55137 all-stage2-gcc: maybe-all-build-fixincludes
55138 all-stageb2g0-gcc: maybe-all-build-fixincludes
55139 all-stage3-gcc: maybe-all-build-fixincludes
55140 all-stageb3g2-gcc: maybe-all-build-fixincludes
55141 all-stage4-gcc: maybe-all-build-fixincludes
55142 all-stageprofile-gcc: maybe-all-build-fixincludes
55143 all-stagefeedback-gcc: maybe-all-build-fixincludes
55144 all-gcc: maybe-all-zlib
55146 all-stage1-gcc: maybe-all-stage1-zlib
55147 all-stage2-gcc: maybe-all-stage2-zlib
55148 all-stageb2g0-gcc: maybe-all-stageb2g0-zlib
55149 all-stage3-gcc: maybe-all-stage3-zlib
55150 all-stageb3g2-gcc: maybe-all-stageb3g2-zlib
55151 all-stage4-gcc: maybe-all-stage4-zlib
55152 all-stageprofile-gcc: maybe-all-stageprofile-zlib
55153 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
55154 all-gcc: all-libcpp
55156 all-stage1-gcc: all-stage1-libcpp
55157 all-stage2-gcc: all-stage2-libcpp
55158 all-stageb2g0-gcc: all-stageb2g0-libcpp
55159 all-stage3-gcc: all-stage3-libcpp
55160 all-stageb3g2-gcc: all-stageb3g2-libcpp
55161 all-stage4-gcc: all-stage4-libcpp
55162 all-stageprofile-gcc: all-stageprofile-libcpp
55163 all-stagefeedback-gcc: all-stagefeedback-libcpp
55164 all-gcc: all-libdecnumber
55166 all-stage1-gcc: all-stage1-libdecnumber
55167 all-stage2-gcc: all-stage2-libdecnumber
55168 all-stageb2g0-gcc: all-stageb2g0-libdecnumber
55169 all-stage3-gcc: all-stage3-libdecnumber
55170 all-stageb3g2-gcc: all-stageb3g2-libdecnumber
55171 all-stage4-gcc: all-stage4-libdecnumber
55172 all-stageprofile-gcc: all-stageprofile-libdecnumber
55173 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
55174 all-gcc: maybe-all-libiberty
55176 all-stage1-gcc: maybe-all-stage1-libiberty
55177 all-stage2-gcc: maybe-all-stage2-libiberty
55178 all-stageb2g0-gcc: maybe-all-stageb2g0-libiberty
55179 all-stage3-gcc: maybe-all-stage3-libiberty
55180 all-stageb3g2-gcc: maybe-all-stageb3g2-libiberty
55181 all-stage4-gcc: maybe-all-stage4-libiberty
55182 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
55183 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
55184 all-gcc: maybe-all-fixincludes
55185 install-gcc: maybe-install-fixincludes
55186 configure-libcpp: configure-libiberty
55188 configure-stage1-libcpp: configure-stage1-libiberty
55189 configure-stage2-libcpp: configure-stage2-libiberty
55190 configure-stageb2g0-libcpp: configure-stageb2g0-libiberty
55191 configure-stage3-libcpp: configure-stage3-libiberty
55192 configure-stageb3g2-libcpp: configure-stageb3g2-libiberty
55193 configure-stage4-libcpp: configure-stage4-libiberty
55194 configure-stageprofile-libcpp: configure-stageprofile-libiberty
55195 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
55196 configure-libcpp: maybe-configure-intl
55198 configure-stage1-libcpp: maybe-configure-stage1-intl
55199 configure-stage2-libcpp: maybe-configure-stage2-intl
55200 configure-stageb2g0-libcpp: maybe-configure-stageb2g0-intl
55201 configure-stage3-libcpp: maybe-configure-stage3-intl
55202 configure-stageb3g2-libcpp: maybe-configure-stageb3g2-intl
55203 configure-stage4-libcpp: maybe-configure-stage4-intl
55204 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
55205 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
55206 all-libcpp: all-libiberty
55208 all-stage1-libcpp: all-stage1-libiberty
55209 all-stage2-libcpp: all-stage2-libiberty
55210 all-stageb2g0-libcpp: all-stageb2g0-libiberty
55211 all-stage3-libcpp: all-stage3-libiberty
55212 all-stageb3g2-libcpp: all-stageb3g2-libiberty
55213 all-stage4-libcpp: all-stage4-libiberty
55214 all-stageprofile-libcpp: all-stageprofile-libiberty
55215 all-stagefeedback-libcpp: all-stagefeedback-libiberty
55216 all-libcpp: maybe-all-intl
55218 all-stage1-libcpp: maybe-all-stage1-intl
55219 all-stage2-libcpp: maybe-all-stage2-intl
55220 all-stageb2g0-libcpp: maybe-all-stageb2g0-intl
55221 all-stage3-libcpp: maybe-all-stage3-intl
55222 all-stageb3g2-libcpp: maybe-all-stageb3g2-intl
55223 all-stage4-libcpp: maybe-all-stage4-intl
55224 all-stageprofile-libcpp: maybe-all-stageprofile-intl
55225 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
55226 all-fixincludes: maybe-all-libiberty
55227 all-gnattools: maybe-all-target-libada
55228 configure-mpfr: maybe-all-gmp
55230 configure-stage1-mpfr: maybe-all-stage1-gmp
55231 configure-stage2-mpfr: maybe-all-stage2-gmp
55232 configure-stageb2g0-mpfr: maybe-all-stageb2g0-gmp
55233 configure-stage3-mpfr: maybe-all-stage3-gmp
55234 configure-stageb3g2-mpfr: maybe-all-stageb3g2-gmp
55235 configure-stage4-mpfr: maybe-all-stage4-gmp
55236 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
55237 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
55238 configure-ppl: maybe-all-gmp
55240 configure-stage1-ppl: maybe-all-stage1-gmp
55241 configure-stage2-ppl: maybe-all-stage2-gmp
55242 configure-stageb2g0-ppl: maybe-all-stageb2g0-gmp
55243 configure-stage3-ppl: maybe-all-stage3-gmp
55244 configure-stageb3g2-ppl: maybe-all-stageb3g2-gmp
55245 configure-stage4-ppl: maybe-all-stage4-gmp
55246 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
55247 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
55248 configure-ppl: maybe-all-mpfr
55250 configure-stage1-ppl: maybe-all-stage1-mpfr
55251 configure-stage2-ppl: maybe-all-stage2-mpfr
55252 configure-stageb2g0-ppl: maybe-all-stageb2g0-mpfr
55253 configure-stage3-ppl: maybe-all-stage3-mpfr
55254 configure-stageb3g2-ppl: maybe-all-stageb3g2-mpfr
55255 configure-stage4-ppl: maybe-all-stage4-mpfr
55256 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
55257 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
55258 configure-cloog: maybe-all-ppl
55260 configure-stage1-cloog: maybe-all-stage1-ppl
55261 configure-stage2-cloog: maybe-all-stage2-ppl
55262 configure-stageb2g0-cloog: maybe-all-stageb2g0-ppl
55263 configure-stage3-cloog: maybe-all-stage3-ppl
55264 configure-stageb3g2-cloog: maybe-all-stageb3g2-ppl
55265 configure-stage4-cloog: maybe-all-stage4-ppl
55266 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
55267 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
55268 configure-gdb: maybe-all-intl
55269 configure-gdb: maybe-configure-sim
55270 configure-gdb: maybe-all-bfd
55271 all-gdb: maybe-all-libiberty
55272 all-gdb: maybe-all-opcodes
55273 all-gdb: maybe-all-readline
55274 all-gdb: maybe-all-build-bison
55275 all-gdb: maybe-all-build-byacc
55276 all-gdb: maybe-all-sim
55277 all-gdb: maybe-all-libdecnumber
55278 configure-libgui: maybe-configure-tcl
55279 configure-libgui: maybe-configure-tk
55280 all-libgui: maybe-all-tcl
55281 all-libgui: maybe-all-tk
55282 all-libgui: maybe-all-itcl
55283 configure-bfd: configure-libiberty
55285 configure-stage1-bfd: configure-stage1-libiberty
55286 configure-stage2-bfd: configure-stage2-libiberty
55287 configure-stageb2g0-bfd: configure-stageb2g0-libiberty
55288 configure-stage3-bfd: configure-stage3-libiberty
55289 configure-stageb3g2-bfd: configure-stageb3g2-libiberty
55290 configure-stage4-bfd: configure-stage4-libiberty
55291 configure-stageprofile-bfd: configure-stageprofile-libiberty
55292 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
55293 configure-bfd: maybe-configure-intl
55295 configure-stage1-bfd: maybe-configure-stage1-intl
55296 configure-stage2-bfd: maybe-configure-stage2-intl
55297 configure-stageb2g0-bfd: maybe-configure-stageb2g0-intl
55298 configure-stage3-bfd: maybe-configure-stage3-intl
55299 configure-stageb3g2-bfd: maybe-configure-stageb3g2-intl
55300 configure-stage4-bfd: maybe-configure-stage4-intl
55301 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
55302 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
55303 all-bfd: maybe-all-libiberty
55305 all-stage1-bfd: maybe-all-stage1-libiberty
55306 all-stage2-bfd: maybe-all-stage2-libiberty
55307 all-stageb2g0-bfd: maybe-all-stageb2g0-libiberty
55308 all-stage3-bfd: maybe-all-stage3-libiberty
55309 all-stageb3g2-bfd: maybe-all-stageb3g2-libiberty
55310 all-stage4-bfd: maybe-all-stage4-libiberty
55311 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
55312 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
55313 all-bfd: maybe-all-intl
55315 all-stage1-bfd: maybe-all-stage1-intl
55316 all-stage2-bfd: maybe-all-stage2-intl
55317 all-stageb2g0-bfd: maybe-all-stageb2g0-intl
55318 all-stage3-bfd: maybe-all-stage3-intl
55319 all-stageb3g2-bfd: maybe-all-stageb3g2-intl
55320 all-stage4-bfd: maybe-all-stage4-intl
55321 all-stageprofile-bfd: maybe-all-stageprofile-intl
55322 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
55323 configure-binutils: maybe-configure-intl
55325 configure-stage1-binutils: maybe-configure-stage1-intl
55326 configure-stage2-binutils: maybe-configure-stage2-intl
55327 configure-stageb2g0-binutils: maybe-configure-stageb2g0-intl
55328 configure-stage3-binutils: maybe-configure-stage3-intl
55329 configure-stageb3g2-binutils: maybe-configure-stageb3g2-intl
55330 configure-stage4-binutils: maybe-configure-stage4-intl
55331 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
55332 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
55333 all-binutils: maybe-all-libiberty
55335 all-stage1-binutils: maybe-all-stage1-libiberty
55336 all-stage2-binutils: maybe-all-stage2-libiberty
55337 all-stageb2g0-binutils: maybe-all-stageb2g0-libiberty
55338 all-stage3-binutils: maybe-all-stage3-libiberty
55339 all-stageb3g2-binutils: maybe-all-stageb3g2-libiberty
55340 all-stage4-binutils: maybe-all-stage4-libiberty
55341 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
55342 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
55343 all-binutils: maybe-all-opcodes
55345 all-stage1-binutils: maybe-all-stage1-opcodes
55346 all-stage2-binutils: maybe-all-stage2-opcodes
55347 all-stageb2g0-binutils: maybe-all-stageb2g0-opcodes
55348 all-stage3-binutils: maybe-all-stage3-opcodes
55349 all-stageb3g2-binutils: maybe-all-stageb3g2-opcodes
55350 all-stage4-binutils: maybe-all-stage4-opcodes
55351 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
55352 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
55353 all-binutils: maybe-all-bfd
55355 all-stage1-binutils: maybe-all-stage1-bfd
55356 all-stage2-binutils: maybe-all-stage2-bfd
55357 all-stageb2g0-binutils: maybe-all-stageb2g0-bfd
55358 all-stage3-binutils: maybe-all-stage3-bfd
55359 all-stageb3g2-binutils: maybe-all-stageb3g2-bfd
55360 all-stage4-binutils: maybe-all-stage4-bfd
55361 all-stageprofile-binutils: maybe-all-stageprofile-bfd
55362 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
55363 all-binutils: maybe-all-build-flex
55365 all-stage1-binutils: maybe-all-build-flex
55366 all-stage2-binutils: maybe-all-build-flex
55367 all-stageb2g0-binutils: maybe-all-build-flex
55368 all-stage3-binutils: maybe-all-build-flex
55369 all-stageb3g2-binutils: maybe-all-build-flex
55370 all-stage4-binutils: maybe-all-build-flex
55371 all-stageprofile-binutils: maybe-all-build-flex
55372 all-stagefeedback-binutils: maybe-all-build-flex
55373 all-binutils: maybe-all-build-bison
55375 all-stage1-binutils: maybe-all-build-bison
55376 all-stage2-binutils: maybe-all-build-bison
55377 all-stageb2g0-binutils: maybe-all-build-bison
55378 all-stage3-binutils: maybe-all-build-bison
55379 all-stageb3g2-binutils: maybe-all-build-bison
55380 all-stage4-binutils: maybe-all-build-bison
55381 all-stageprofile-binutils: maybe-all-build-bison
55382 all-stagefeedback-binutils: maybe-all-build-bison
55383 all-binutils: maybe-all-build-byacc
55385 all-stage1-binutils: maybe-all-build-byacc
55386 all-stage2-binutils: maybe-all-build-byacc
55387 all-stageb2g0-binutils: maybe-all-build-byacc
55388 all-stage3-binutils: maybe-all-build-byacc
55389 all-stageb3g2-binutils: maybe-all-build-byacc
55390 all-stage4-binutils: maybe-all-build-byacc
55391 all-stageprofile-binutils: maybe-all-build-byacc
55392 all-stagefeedback-binutils: maybe-all-build-byacc
55393 all-binutils: maybe-all-intl
55395 all-stage1-binutils: maybe-all-stage1-intl
55396 all-stage2-binutils: maybe-all-stage2-intl
55397 all-stageb2g0-binutils: maybe-all-stageb2g0-intl
55398 all-stage3-binutils: maybe-all-stage3-intl
55399 all-stageb3g2-binutils: maybe-all-stageb3g2-intl
55400 all-stage4-binutils: maybe-all-stage4-intl
55401 all-stageprofile-binutils: maybe-all-stageprofile-intl
55402 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
55403 install-binutils: maybe-install-opcodes
55404 install-opcodes: maybe-install-bfd
55405 configure-gas: maybe-configure-intl
55407 configure-stage1-gas: maybe-configure-stage1-intl
55408 configure-stage2-gas: maybe-configure-stage2-intl
55409 configure-stageb2g0-gas: maybe-configure-stageb2g0-intl
55410 configure-stage3-gas: maybe-configure-stage3-intl
55411 configure-stageb3g2-gas: maybe-configure-stageb3g2-intl
55412 configure-stage4-gas: maybe-configure-stage4-intl
55413 configure-stageprofile-gas: maybe-configure-stageprofile-intl
55414 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
55415 all-gas: maybe-all-libiberty
55417 all-stage1-gas: maybe-all-stage1-libiberty
55418 all-stage2-gas: maybe-all-stage2-libiberty
55419 all-stageb2g0-gas: maybe-all-stageb2g0-libiberty
55420 all-stage3-gas: maybe-all-stage3-libiberty
55421 all-stageb3g2-gas: maybe-all-stageb3g2-libiberty
55422 all-stage4-gas: maybe-all-stage4-libiberty
55423 all-stageprofile-gas: maybe-all-stageprofile-libiberty
55424 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
55425 all-gas: maybe-all-opcodes
55427 all-stage1-gas: maybe-all-stage1-opcodes
55428 all-stage2-gas: maybe-all-stage2-opcodes
55429 all-stageb2g0-gas: maybe-all-stageb2g0-opcodes
55430 all-stage3-gas: maybe-all-stage3-opcodes
55431 all-stageb3g2-gas: maybe-all-stageb3g2-opcodes
55432 all-stage4-gas: maybe-all-stage4-opcodes
55433 all-stageprofile-gas: maybe-all-stageprofile-opcodes
55434 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
55435 all-gas: maybe-all-bfd
55437 all-stage1-gas: maybe-all-stage1-bfd
55438 all-stage2-gas: maybe-all-stage2-bfd
55439 all-stageb2g0-gas: maybe-all-stageb2g0-bfd
55440 all-stage3-gas: maybe-all-stage3-bfd
55441 all-stageb3g2-gas: maybe-all-stageb3g2-bfd
55442 all-stage4-gas: maybe-all-stage4-bfd
55443 all-stageprofile-gas: maybe-all-stageprofile-bfd
55444 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
55445 all-gas: maybe-all-intl
55447 all-stage1-gas: maybe-all-stage1-intl
55448 all-stage2-gas: maybe-all-stage2-intl
55449 all-stageb2g0-gas: maybe-all-stageb2g0-intl
55450 all-stage3-gas: maybe-all-stage3-intl
55451 all-stageb3g2-gas: maybe-all-stageb3g2-intl
55452 all-stage4-gas: maybe-all-stage4-intl
55453 all-stageprofile-gas: maybe-all-stageprofile-intl
55454 all-stagefeedback-gas: maybe-all-stagefeedback-intl
55455 configure-gprof: maybe-configure-intl
55456 all-gprof: maybe-all-libiberty
55457 all-gprof: maybe-all-bfd
55458 all-gprof: maybe-all-opcodes
55459 all-gprof: maybe-all-intl
55460 configure-ld: maybe-configure-intl
55462 configure-stage1-ld: maybe-configure-stage1-intl
55463 configure-stage2-ld: maybe-configure-stage2-intl
55464 configure-stageb2g0-ld: maybe-configure-stageb2g0-intl
55465 configure-stage3-ld: maybe-configure-stage3-intl
55466 configure-stageb3g2-ld: maybe-configure-stageb3g2-intl
55467 configure-stage4-ld: maybe-configure-stage4-intl
55468 configure-stageprofile-ld: maybe-configure-stageprofile-intl
55469 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
55470 all-ld: maybe-all-libiberty
55472 all-stage1-ld: maybe-all-stage1-libiberty
55473 all-stage2-ld: maybe-all-stage2-libiberty
55474 all-stageb2g0-ld: maybe-all-stageb2g0-libiberty
55475 all-stage3-ld: maybe-all-stage3-libiberty
55476 all-stageb3g2-ld: maybe-all-stageb3g2-libiberty
55477 all-stage4-ld: maybe-all-stage4-libiberty
55478 all-stageprofile-ld: maybe-all-stageprofile-libiberty
55479 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
55480 all-ld: maybe-all-bfd
55482 all-stage1-ld: maybe-all-stage1-bfd
55483 all-stage2-ld: maybe-all-stage2-bfd
55484 all-stageb2g0-ld: maybe-all-stageb2g0-bfd
55485 all-stage3-ld: maybe-all-stage3-bfd
55486 all-stageb3g2-ld: maybe-all-stageb3g2-bfd
55487 all-stage4-ld: maybe-all-stage4-bfd
55488 all-stageprofile-ld: maybe-all-stageprofile-bfd
55489 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
55490 all-ld: maybe-all-opcodes
55492 all-stage1-ld: maybe-all-stage1-opcodes
55493 all-stage2-ld: maybe-all-stage2-opcodes
55494 all-stageb2g0-ld: maybe-all-stageb2g0-opcodes
55495 all-stage3-ld: maybe-all-stage3-opcodes
55496 all-stageb3g2-ld: maybe-all-stageb3g2-opcodes
55497 all-stage4-ld: maybe-all-stage4-opcodes
55498 all-stageprofile-ld: maybe-all-stageprofile-opcodes
55499 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
55500 all-ld: maybe-all-build-bison
55502 all-stage1-ld: maybe-all-build-bison
55503 all-stage2-ld: maybe-all-build-bison
55504 all-stageb2g0-ld: maybe-all-build-bison
55505 all-stage3-ld: maybe-all-build-bison
55506 all-stageb3g2-ld: maybe-all-build-bison
55507 all-stage4-ld: maybe-all-build-bison
55508 all-stageprofile-ld: maybe-all-build-bison
55509 all-stagefeedback-ld: maybe-all-build-bison
55510 all-ld: maybe-all-build-byacc
55512 all-stage1-ld: maybe-all-build-byacc
55513 all-stage2-ld: maybe-all-build-byacc
55514 all-stageb2g0-ld: maybe-all-build-byacc
55515 all-stage3-ld: maybe-all-build-byacc
55516 all-stageb3g2-ld: maybe-all-build-byacc
55517 all-stage4-ld: maybe-all-build-byacc
55518 all-stageprofile-ld: maybe-all-build-byacc
55519 all-stagefeedback-ld: maybe-all-build-byacc
55520 all-ld: maybe-all-build-flex
55522 all-stage1-ld: maybe-all-build-flex
55523 all-stage2-ld: maybe-all-build-flex
55524 all-stageb2g0-ld: maybe-all-build-flex
55525 all-stage3-ld: maybe-all-build-flex
55526 all-stageb3g2-ld: maybe-all-build-flex
55527 all-stage4-ld: maybe-all-build-flex
55528 all-stageprofile-ld: maybe-all-build-flex
55529 all-stagefeedback-ld: maybe-all-build-flex
55530 all-ld: maybe-all-intl
55532 all-stage1-ld: maybe-all-stage1-intl
55533 all-stage2-ld: maybe-all-stage2-intl
55534 all-stageb2g0-ld: maybe-all-stageb2g0-intl
55535 all-stage3-ld: maybe-all-stage3-intl
55536 all-stageb3g2-ld: maybe-all-stageb3g2-intl
55537 all-stage4-ld: maybe-all-stage4-intl
55538 all-stageprofile-ld: maybe-all-stageprofile-intl
55539 all-stagefeedback-ld: maybe-all-stagefeedback-intl
55540 configure-gold: maybe-configure-intl
55542 configure-stage1-gold: maybe-configure-stage1-intl
55543 configure-stage2-gold: maybe-configure-stage2-intl
55544 configure-stageb2g0-gold: maybe-configure-stageb2g0-intl
55545 configure-stage3-gold: maybe-configure-stage3-intl
55546 configure-stageb3g2-gold: maybe-configure-stageb3g2-intl
55547 configure-stage4-gold: maybe-configure-stage4-intl
55548 configure-stageprofile-gold: maybe-configure-stageprofile-intl
55549 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
55550 all-gold: maybe-all-libiberty
55552 all-stage1-gold: maybe-all-stage1-libiberty
55553 all-stage2-gold: maybe-all-stage2-libiberty
55554 all-stageb2g0-gold: maybe-all-stageb2g0-libiberty
55555 all-stage3-gold: maybe-all-stage3-libiberty
55556 all-stageb3g2-gold: maybe-all-stageb3g2-libiberty
55557 all-stage4-gold: maybe-all-stage4-libiberty
55558 all-stageprofile-gold: maybe-all-stageprofile-libiberty
55559 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
55560 all-gold: maybe-all-intl
55562 all-stage1-gold: maybe-all-stage1-intl
55563 all-stage2-gold: maybe-all-stage2-intl
55564 all-stageb2g0-gold: maybe-all-stageb2g0-intl
55565 all-stage3-gold: maybe-all-stage3-intl
55566 all-stageb3g2-gold: maybe-all-stageb3g2-intl
55567 all-stage4-gold: maybe-all-stage4-intl
55568 all-stageprofile-gold: maybe-all-stageprofile-intl
55569 all-stagefeedback-gold: maybe-all-stagefeedback-intl
55570 all-gold: maybe-all-bfd
55572 all-stage1-gold: maybe-all-stage1-bfd
55573 all-stage2-gold: maybe-all-stage2-bfd
55574 all-stageb2g0-gold: maybe-all-stageb2g0-bfd
55575 all-stage3-gold: maybe-all-stage3-bfd
55576 all-stageb3g2-gold: maybe-all-stageb3g2-bfd
55577 all-stage4-gold: maybe-all-stage4-bfd
55578 all-stageprofile-gold: maybe-all-stageprofile-bfd
55579 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
55580 all-gold: maybe-all-build-bison
55582 all-stage1-gold: maybe-all-build-bison
55583 all-stage2-gold: maybe-all-build-bison
55584 all-stageb2g0-gold: maybe-all-build-bison
55585 all-stage3-gold: maybe-all-build-bison
55586 all-stageb3g2-gold: maybe-all-build-bison
55587 all-stage4-gold: maybe-all-build-bison
55588 all-stageprofile-gold: maybe-all-build-bison
55589 all-stagefeedback-gold: maybe-all-build-bison
55590 all-gold: maybe-all-build-byacc
55592 all-stage1-gold: maybe-all-build-byacc
55593 all-stage2-gold: maybe-all-build-byacc
55594 all-stageb2g0-gold: maybe-all-build-byacc
55595 all-stage3-gold: maybe-all-build-byacc
55596 all-stageb3g2-gold: maybe-all-build-byacc
55597 all-stage4-gold: maybe-all-build-byacc
55598 all-stageprofile-gold: maybe-all-build-byacc
55599 all-stagefeedback-gold: maybe-all-build-byacc
55600 check-gold: maybe-all-binutils
55602 check-stage1-gold: maybe-all-stage1-binutils
55603 check-stage2-gold: maybe-all-stage2-binutils
55604 check-stageb2g0-gold: maybe-all-stageb2g0-binutils
55605 check-stage3-gold: maybe-all-stage3-binutils
55606 check-stageb3g2-gold: maybe-all-stageb3g2-binutils
55607 check-stage4-gold: maybe-all-stage4-binutils
55608 check-stageprofile-gold: maybe-all-stageprofile-binutils
55609 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
55610 configure-opcodes: maybe-configure-intl
55612 configure-stage1-opcodes: maybe-configure-stage1-intl
55613 configure-stage2-opcodes: maybe-configure-stage2-intl
55614 configure-stageb2g0-opcodes: maybe-configure-stageb2g0-intl
55615 configure-stage3-opcodes: maybe-configure-stage3-intl
55616 configure-stageb3g2-opcodes: maybe-configure-stageb3g2-intl
55617 configure-stage4-opcodes: maybe-configure-stage4-intl
55618 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
55619 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
55620 all-opcodes: maybe-all-bfd
55622 all-stage1-opcodes: maybe-all-stage1-bfd
55623 all-stage2-opcodes: maybe-all-stage2-bfd
55624 all-stageb2g0-opcodes: maybe-all-stageb2g0-bfd
55625 all-stage3-opcodes: maybe-all-stage3-bfd
55626 all-stageb3g2-opcodes: maybe-all-stageb3g2-bfd
55627 all-stage4-opcodes: maybe-all-stage4-bfd
55628 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
55629 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
55630 all-opcodes: maybe-all-libiberty
55632 all-stage1-opcodes: maybe-all-stage1-libiberty
55633 all-stage2-opcodes: maybe-all-stage2-libiberty
55634 all-stageb2g0-opcodes: maybe-all-stageb2g0-libiberty
55635 all-stage3-opcodes: maybe-all-stage3-libiberty
55636 all-stageb3g2-opcodes: maybe-all-stageb3g2-libiberty
55637 all-stage4-opcodes: maybe-all-stage4-libiberty
55638 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
55639 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
55640 all-opcodes: maybe-all-intl
55642 all-stage1-opcodes: maybe-all-stage1-intl
55643 all-stage2-opcodes: maybe-all-stage2-intl
55644 all-stageb2g0-opcodes: maybe-all-stageb2g0-intl
55645 all-stage3-opcodes: maybe-all-stage3-intl
55646 all-stageb3g2-opcodes: maybe-all-stageb3g2-intl
55647 all-stage4-opcodes: maybe-all-stage4-intl
55648 all-stageprofile-opcodes: maybe-all-stageprofile-intl
55649 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
55650 all-dejagnu: maybe-all-tcl
55651 all-dejagnu: maybe-all-expect
55652 all-dejagnu: maybe-all-tk
55653 configure-expect: maybe-configure-tcl
55654 configure-expect: maybe-configure-tk
55655 all-expect: maybe-all-tcl
55656 all-expect: maybe-all-tk
55657 configure-itcl: maybe-configure-tcl
55658 configure-itcl: maybe-configure-tk
55659 all-itcl: maybe-all-tcl
55660 all-itcl: maybe-all-tk
55661 install-itcl: maybe-install-tcl
55662 configure-tk: maybe-configure-tcl
55663 all-tk: maybe-all-tcl
55664 all-sid: maybe-all-libiberty
55665 all-sid: maybe-all-bfd
55666 all-sid: maybe-all-opcodes
55667 all-sid: maybe-all-tcl
55668 all-sid: maybe-all-tk
55669 install-sid: maybe-install-tcl
55670 install-sid: maybe-install-tk
55671 configure-sim: maybe-configure-intl
55672 all-sim: maybe-all-intl
55673 all-sim: maybe-all-libiberty
55674 all-sim: maybe-all-bfd
55675 all-sim: maybe-all-opcodes
55676 all-sim: maybe-all-readline
55677 all-sim: maybe-configure-gdb
55678 all-fastjar: maybe-all-zlib
55679 all-fastjar: maybe-all-build-texinfo
55680 all-fastjar: maybe-all-libiberty
55681 all-autoconf: maybe-all-m4
55682 all-autoconf: maybe-all-build-texinfo
55683 all-automake: maybe-all-m4
55684 all-automake: maybe-all-build-texinfo
55685 all-automake: maybe-all-autoconf
55686 all-bison: maybe-all-intl
55687 all-bison: maybe-all-build-texinfo
55688 all-diff: maybe-all-intl
55689 all-diff: maybe-all-build-texinfo
55690 all-fileutils: maybe-all-intl
55691 all-fileutils: maybe-all-build-texinfo
55692 all-flex: maybe-all-build-bison
55693 all-flex: maybe-all-build-byacc
55694 all-flex: maybe-all-intl
55695 all-flex: maybe-all-m4
55696 all-flex: maybe-all-build-texinfo
55697 all-gzip: maybe-all-intl
55698 all-gzip: maybe-all-zlib
55699 all-gzip: maybe-all-build-texinfo
55700 all-hello: maybe-all-intl
55701 all-hello: maybe-all-build-texinfo
55702 all-m4: maybe-all-intl
55703 all-m4: maybe-all-build-texinfo
55704 all-make: maybe-all-intl
55705 all-make: maybe-all-build-texinfo
55706 all-patch: maybe-all-build-texinfo
55707 all-make: maybe-all-build-texinfo
55708 all-prms: maybe-all-libiberty
55709 all-recode: maybe-all-build-texinfo
55710 all-sed: maybe-all-build-texinfo
55711 all-send-pr: maybe-all-prms
55712 all-tar: maybe-all-build-texinfo
55713 all-uudecode: maybe-all-build-texinfo
55714 configure-target-boehm-gc: maybe-configure-target-qthreads
55715 configure-target-fastjar: maybe-configure-target-zlib
55716 all-target-fastjar: maybe-all-target-zlib
55717 all-target-fastjar: maybe-all-target-libiberty
55718 configure-target-libjava: maybe-configure-target-zlib
55719 configure-target-libjava: maybe-configure-target-boehm-gc
55720 configure-target-libjava: maybe-configure-target-qthreads
55721 configure-target-libjava: maybe-configure-target-libffi
55722 all-target-libjava: maybe-all-fastjar
55723 all-target-libjava: maybe-all-target-zlib
55724 all-target-libjava: maybe-all-target-boehm-gc
55725 all-target-libjava: maybe-all-target-qthreads
55726 all-target-libjava: maybe-all-target-libffi
55727 configure-target-libobjc: maybe-configure-target-boehm-gc
55728 all-target-libobjc: maybe-all-target-libiberty
55729 all-target-libobjc: maybe-all-target-boehm-gc
55730 all-target-libstdc++-v3: maybe-all-target-libiberty
55731 configure-target-libstdc++-v3: maybe-configure-target-libgomp
55732 all-target-libgloss: maybe-all-target-newlib
55733 all-target-winsup: maybe-all-target-libiberty
55734 all-target-winsup: maybe-all-target-libtermcap
55737 # Dependencies for target modules on other target modules are
55738 # described by lang_env_dependencies; the defaults apply to anything
55739 # not mentioned there.
55742 @if gcc-bootstrap
55743 @endif gcc-bootstrap
55745 @if gcc-no-bootstrap
55746 configure-target-libstdc++-v3: maybe-all-target-libgcc
55747 configure-target-libmudflap: maybe-all-target-libgcc
55748 configure-target-libssp: maybe-all-target-libgcc
55749 configure-target-newlib: maybe-all-target-libgcc
55750 configure-target-libgfortran: maybe-all-target-libgcc
55751 configure-target-libobjc: maybe-all-target-libgcc
55752 configure-target-libtermcap: maybe-all-target-libgcc
55753 configure-target-winsup: maybe-all-target-libgcc
55754 configure-target-libgloss: maybe-all-target-libgcc
55755 configure-target-libiberty: maybe-all-target-libgcc
55756 configure-target-gperf: maybe-all-target-libgcc
55757 configure-target-examples: maybe-all-target-libgcc
55758 configure-target-libffi: maybe-all-target-libgcc
55759 configure-target-libjava: maybe-all-target-libgcc
55760 configure-target-zlib: maybe-all-target-libgcc
55761 configure-target-boehm-gc: maybe-all-target-libgcc
55762 configure-target-qthreads: maybe-all-target-libgcc
55763 configure-target-rda: maybe-all-target-libgcc
55764 configure-target-libada: maybe-all-target-libgcc
55765 configure-target-libgomp: maybe-all-target-libgcc
55766 @endif gcc-no-bootstrap
55769 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
55771 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
55773 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
55777 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
55779 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
55781 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
55783 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
55787 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
55788 configure-target-gperf: maybe-all-target-libstdc++-v3
55790 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
55792 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
55794 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
55795 configure-target-libjava: maybe-all-target-libstdc++-v3
55797 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
55799 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
55801 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
55803 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
55805 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
55807 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
55810 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
55811 GDB_TK = @GDB_TK@
55812 INSTALL_GDB_TK = @INSTALL_GDB_TK@
55813 configure-gdb: $(CONFIGURE_GDB_TK)
55814 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
55815 install-gdb: $(INSTALL_GDB_TK)
55817 # Serialization dependencies. Host configures don't work well in parallel to
55818 # each other, due to contention over config.cache. Target configures and
55819 # build configures are similar.
55820 @serialization_dependencies@
55822 # --------------------------------
55823 # Regenerating top level configury
55824 # --------------------------------
55826 # Rebuilding Makefile.in, using autogen.
55827 AUTOGEN = autogen
55828 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
55829 cd $(srcdir) && $(AUTOGEN) Makefile.def
55831 # Rebuilding Makefile.
55832 Makefile: $(srcdir)/Makefile.in config.status
55833 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
55835 config.status: configure
55836 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
55838 # Rebuilding configure.
55839 AUTOCONF = autoconf
55840 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
55841 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
55842 cd $(srcdir) && $(AUTOCONF)
55844 # ------------------------------
55845 # Special directives to GNU Make
55846 # ------------------------------
55848 # Don't pass command-line variables to submakes.
55849 .NOEXPORT:
55850 MAKEOVERRIDES=
55852 # end of Makefile.in