OSDN Git Service

c1a4c2d88a535731df1f0407a8d6e22e82929e30
[pf3gnuchains/gcc-fork.git] / Makefile.in
1
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
3 #
4 # Makefile for directory with subdirs to build.
5 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 #   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
7 #
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.
12
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.
17
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.
21 #
22
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
27
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
34
35 program_transform_name = @program_transform_name@
36
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
39
40 srcdir = @srcdir@
41
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
66
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
73
74 # -------------------------------------------------
75 # Miscellaneous non-standard autoconf-set variables
76 # -------------------------------------------------
77
78 # The gcc driver likes to know the arguments it was configured with.
79 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
80
81 tooldir = @tooldir@
82 build_tooldir = @build_tooldir@
83
84 GDB_NLM_DEPS = 
85
86 # This is the name of the environment variable used for the path to
87 # the libraries.
88 RPATH_ENVVAR = @RPATH_ENVVAR@
89
90 # Build programs are put under this directory.
91 BUILD_SUBDIR = @build_subdir@
92 # This is set by the configure script to the arguments to use when configuring
93 # directories built for the build system.
94 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95
96 # This is the list of variables to export in the environment when
97 # configuring any subdirectory.  It must also be exported whenever
98 # recursing into a build directory in case that directory's Makefile
99 # re-runs configure.
100 BASE_EXPORTS = \
101         FLEX="$(FLEX)"; export FLEX; \
102         LEX="$(LEX)"; export LEX; \
103         BISON="$(BISON)"; export BISON; \
104         YACC="$(YACC)"; export YACC; \
105         M4="$(M4)"; export M4; \
106         MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107
108 # This is the list of variables to export in the environment when
109 # configuring subdirectories for the build system.
110 BUILD_EXPORTS = \
111         $(BASE_EXPORTS) \
112         AR="$(AR_FOR_BUILD)"; export AR; \
113         AS="$(AS_FOR_BUILD)"; export AS; \
114         CC="$(CC_FOR_BUILD)"; export CC; \
115         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
116         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
117         CXX="$(CXX_FOR_BUILD)"; export CXX; \
118         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
119         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
120         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
121         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
122         LD="$(LD_FOR_BUILD)"; export LD; \
123         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
124         NM="$(NM_FOR_BUILD)"; export NM; \
125         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
126         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127
128 # This is the list of directories to built for the host system.
129 SUBDIRS = @configdirs@
130 # This is set by the configure script to the arguments to use when configuring
131 # directories built for the host system.
132 HOST_CONFIGARGS = @host_configargs@
133 # Host programs are put under this directory, which is . except if building
134 # with srcdir=..
135 HOST_SUBDIR = @host_subdir@
136 # This is the list of variables to export in the environment when
137 # configuring subdirectories for the host system.  We need to pass
138 # some to the GCC configure because of its hybrid host/target nature.
139 HOST_EXPORTS = \
140         $(BASE_EXPORTS) \
141         CC="$(CC)"; export CC; \
142         CFLAGS="$(CFLAGS)"; export CFLAGS; \
143         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
144         CXX="$(CXX)"; export CXX; \
145         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
146         AR="$(AR)"; export AR; \
147         AS="$(AS)"; export AS; \
148         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
149         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
150         LD="$(LD)"; export LD; \
151         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
152         NM="$(NM)"; export NM; \
153         RANLIB="$(RANLIB)"; export RANLIB; \
154         WINDRES="$(WINDRES)"; export WINDRES; \
155         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
156         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
157         AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
158         AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
159         GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
160         LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
161         NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
162         OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
163         RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
164         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166         GMPINC="$(HOST_GMPINC)"; export GMPINC; \
167 @if gcc-bootstrap
168         $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
169 @endif gcc-bootstrap
170         $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
171
172 # Similar, for later GCC stages.
173 POSTSTAGE1_HOST_EXPORTS = \
174         $(HOST_EXPORTS) \
175         CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176           -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178           $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179           -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180           -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181
182 # Target libraries are put under this directory:
183 TARGET_SUBDIR = @target_subdir@
184 # This is set by the configure script to the arguments to use when configuring
185 # directories built for the target.
186 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
187 # This is the list of variables to export in the environment when
188 # configuring subdirectories for the host system.
189 BASE_TARGET_EXPORTS = \
190         $(BASE_EXPORTS) \
191         AR="$(AR_FOR_TARGET)"; export AR; \
192         AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
193         CC="$(CC_FOR_TARGET)"; export CC; \
194         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
195         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
196         CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
197         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
198         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
199         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
200         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
201         LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
202         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
203         LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
204         NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
205         OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
206         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207         STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
208         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
209         $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
210
211 RAW_CXX_TARGET_EXPORTS = \
212         $(BASE_TARGET_EXPORTS) \
213         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
214         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
215
216 NORMAL_TARGET_EXPORTS = \
217         $(BASE_TARGET_EXPORTS) \
218         CXX="$(CXX_FOR_TARGET)"; export CXX;
219
220 # Where to find GMP
221 HOST_GMPLIBS = @gmplibs@
222 HOST_GMPINC = @gmpinc@
223
224 # ----------------------------------------------
225 # Programs producing files for the BUILD machine
226 # ----------------------------------------------
227
228 SHELL = @config_shell@
229
230 # pwd command to use.  Allow user to override default by setting PWDCMD in
231 # the environment to account for automounters.  The make variable must not
232 # be called PWDCMD, otherwise the value set here is passed to make
233 # subprocesses and overrides the setting from the user's environment.
234 # Don't use PWD since it is a common shell environment variable and we
235 # don't want to corrupt it.
236 PWD_COMMAND = $${PWDCMD-pwd}
237
238 # compilers to use to create programs which must be run in the build
239 # environment.
240 CC_FOR_BUILD = @CC_FOR_BUILD@
241 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
242
243 CXX_FOR_BUILD = $(CXX)
244
245 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
246 # here so that they can be overridden by Makefile fragments.
247 BUILD_PREFIX = @BUILD_PREFIX@
248 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
249
250 # Flags to pass to stage2 and later makes.  They are defined
251 # here so that they can be overridden by Makefile fragments.
252 BOOT_CFLAGS= -g -O2
253 BOOT_LDFLAGS=
254
255 BISON = @BISON@
256 YACC = @YACC@
257 FLEX = @FLEX@
258 LEX = @LEX@
259 M4 = @M4@
260 MAKEINFO = @MAKEINFO@
261 EXPECT = @EXPECT@
262 RUNTEST = @RUNTEST@
263
264 # This just becomes part of the MAKEINFO definition passed down to
265 # sub-makes.  It lets flags be given on the command line while still
266 # using the makeinfo from the object tree.
267 # (Default to avoid splitting info files by setting the threshold high.)
268 MAKEINFOFLAGS = --split-size=5000000
269
270 # ---------------------------------------------
271 # Programs producing files for the HOST machine
272 # ---------------------------------------------
273
274 AS = @AS@
275 AR = @AR@
276 AR_FLAGS = rc
277 CC = @CC@
278 CXX = @CXX@
279 DLLTOOL = @DLLTOOL@
280 LD = @LD@
281 LIPO = @LIPO@
282 NM = @NM@
283 OBJDUMP = @OBJDUMP@
284 RANLIB = @RANLIB@
285 STRIP = @STRIP@
286 WINDRES = @WINDRES@
287
288 CFLAGS = @CFLAGS@
289 LDFLAGS = 
290 LIBCFLAGS = $(CFLAGS)
291 CXXFLAGS = @CXXFLAGS@
292 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
293 PICFLAG = 
294
295 # -----------------------------------------------
296 # Programs producing files for the TARGET machine
297 # -----------------------------------------------
298
299 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
300
301 AR_FOR_TARGET=@AR_FOR_TARGET@
302 AS_FOR_TARGET=@AS_FOR_TARGET@
303 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
304
305 # If GCC_FOR_TARGET is not overriden on the command line, then this
306 # variable is passed down to the gcc Makefile, where it is used to
307 # build libgcc2.a.  We define it here so that it can itself be
308 # overridden on the command line.
309 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
310 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
311 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
315 LD_FOR_TARGET=@LD_FOR_TARGET@
316
317 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
318 NM_FOR_TARGET=@NM_FOR_TARGET@
319 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
320 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
321 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
322 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
323
324 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
325 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
326 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
327
328 # During gcc bootstrap, if we use some random cc for stage1 then
329 # CFLAGS will be just -g.  We want to ensure that TARGET libraries
330 # (which we know are built with gcc) are built with optimizations so
331 # prepend -O2 when setting CFLAGS_FOR_TARGET.
332 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
333 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
334 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
336 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
337 LDFLAGS_FOR_TARGET = 
338 PICFLAG_FOR_TARGET = 
339
340 # ------------------------------------
341 # Miscellaneous targets and flag lists
342 # ------------------------------------
343
344 # The first rule in the file had better be this one.  Don't put any above it.
345 # This lives here to allow makefile fragments to contain dependencies.
346 all:
347
348 #### host and target specific makefile fragments come in here.
349 @target_makefile_frag@
350 @alphaieee_frag@
351 @ospace_frag@
352 @host_makefile_frag@
353 ###
354
355 # This is the list of directories that may be needed in RPATH_ENVVAR
356 # so that prorgams built for the target machine work.
357 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
358
359 @if target-libstdc++-v3
360 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
361 @endif target-libstdc++-v3
362
363 @if target-libmudflap
364 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
365 @endif target-libmudflap
366
367 @if target-libssp
368 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
369 @endif target-libssp
370
371 @if target-libgomp
372 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
373 @endif target-libgomp
374
375
376
377 # This is the list of directories that may be needed in RPATH_ENVVAR
378 # so that programs built for the host machine work.
379 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
380
381 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
382 @if gcc
383 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
384 @endif gcc
385
386
387 @if bfd
388 HOST_LIB_PATH_bfd = \
389   $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
390 @endif bfd
391
392 @if opcodes
393 HOST_LIB_PATH_opcodes = \
394   $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
395 @endif opcodes
396
397
398 # Flags to pass down to all sub-makes.
399 BASE_FLAGS_TO_PASS = \
400         "DESTDIR=$(DESTDIR)" \
401         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
402         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
403         "bindir=$(bindir)" \
404         "datadir=$(datadir)" \
405         "exec_prefix=$(exec_prefix)" \
406         "includedir=$(includedir)" \
407         "datarootdir=$(datarootdir)" \
408         "docdir=$(docdir)" \
409         "infodir=$(infodir)" \
410         "htmldir=$(htmldir)" \
411         "libdir=$(libdir)" \
412         "libexecdir=$(libexecdir)" \
413         "lispdir=$(lispdir)" \
414         "localstatedir=$(localstatedir)" \
415         "mandir=$(mandir)" \
416         "oldincludedir=$(oldincludedir)" \
417         "prefix=$(prefix)" \
418         "sbindir=$(sbindir)" \
419         "sharedstatedir=$(sharedstatedir)" \
420         "sysconfdir=$(sysconfdir)" \
421         "tooldir=$(tooldir)" \
422         "build_tooldir=$(build_tooldir)" \
423         "target_alias=$(target_alias)" \
424         "BISON=$(BISON)" \
425         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
426         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
427         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
428         "EXPECT=$(EXPECT)" \
429         "FLEX=$(FLEX)" \
430         "INSTALL=$(INSTALL)" \
431         "INSTALL_DATA=$(INSTALL_DATA)" \
432         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
433         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
434         "LEX=$(LEX)" \
435         "M4=$(M4)" \
436         "MAKE=$(MAKE)" \
437         "RUNTEST=$(RUNTEST)" \
438         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
439         "SHELL=$(SHELL)" \
440         "YACC=$(YACC)" \
441         "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
442         "AR_FLAGS=$(AR_FLAGS)" \
443         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
444         "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
445         "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
446         "CFLAGS=$(CFLAGS)" \
447         "CXXFLAGS=$(CXXFLAGS)" \
448         "LDFLAGS=$(LDFLAGS)" \
449         "LIBCFLAGS=$(LIBCFLAGS)" \
450         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
451         "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
452         "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
453         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
454         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
455         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
456         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
457         "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
458         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
459         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
460         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
461         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
462         "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
463         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
464         "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
465         "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
466         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
467         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
468         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
469         "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
470         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
471         "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
472         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
473         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
474         "LEAN=$(LEAN)" \
475         "CONFIG_SHELL=$(SHELL)" \
476         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
477
478 # We leave this in just in case, but it is not needed anymore.
479 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
480
481 # Flags to pass down to most sub-makes, in which we're building with
482 # the host environment.
483 EXTRA_HOST_FLAGS = \
484         'AR=$(AR)' \
485         'AS=$(AS)' \
486         'CC=$(CC)' \
487         'CXX=$(CXX)' \
488         'DLLTOOL=$(DLLTOOL)' \
489         'LD=$(LD)' \
490         'LIPO=$(LIPO)' \
491         'NM=$(NM)' \
492         'OBJDUMP=$(OBJDUMP)' \
493         'RANLIB=$(RANLIB)' \
494         'STRIP=$(STRIP)' \
495         'WINDRES=$(WINDRES)'
496
497 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
498
499 # Flags that are concerned with the location of the X11 include files
500 # and library files
501 #
502 # NOTE: until the top-level is getting the values via autoconf, it only
503 # causes problems to have this top-level Makefile overriding the autoconf-set
504 # values in child directories.  Only variables that don't conflict with
505 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
506 #
507 X11_FLAGS_TO_PASS = \
508         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
509         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
510
511 # Flags to pass down to makes which are built with the target environment.
512 # The double $ decreases the length of the command line; those variables
513 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.  The
514 # COMPILER_ prefixed variables are not passed down so we expand them here.
515 EXTRA_TARGET_FLAGS = \
516         'AR=$$(AR_FOR_TARGET)' \
517         'AS=$(COMPILER_AS_FOR_TARGET)' \
518         'CC=$$(CC_FOR_TARGET)' \
519         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
520         'CXX=$$(CXX_FOR_TARGET)' \
521         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
522         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
523         'LD=$(COMPILER_LD_FOR_TARGET)' \
524         'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
525         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
526         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
527         'NM=$(COMPILER_NM_FOR_TARGET)' \
528         'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
529         'RANLIB=$$(RANLIB_FOR_TARGET)' \
530         'WINDRES=$$(WINDRES_FOR_TARGET)'
531
532 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
533
534 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
535 # unfortunately needs the native compiler and the target ar and
536 # ranlib.
537 # If any variables are added here, they must be added to do-*, below.
538 # The BUILD_* variables are a special case, which are used for the gcc
539 # cross-building scheme.
540 EXTRA_GCC_FLAGS = \
541         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
542         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
543         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
544         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
547
548 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
549
550 .PHONY: configure-host
551 configure-host:  \
552     maybe-configure-ash \
553     maybe-configure-autoconf \
554     maybe-configure-automake \
555     maybe-configure-bash \
556     maybe-configure-bfd \
557     maybe-configure-opcodes \
558     maybe-configure-binutils \
559     maybe-configure-bison \
560     maybe-configure-byacc \
561     maybe-configure-bzip2 \
562     maybe-configure-dejagnu \
563     maybe-configure-diff \
564     maybe-configure-dosutils \
565     maybe-configure-etc \
566     maybe-configure-fastjar \
567     maybe-configure-fileutils \
568     maybe-configure-findutils \
569     maybe-configure-find \
570     maybe-configure-fixincludes \
571     maybe-configure-flex \
572     maybe-configure-gas \
573     maybe-configure-gcc \
574     maybe-configure-gawk \
575     maybe-configure-gettext \
576     maybe-configure-gnuserv \
577     maybe-configure-gprof \
578     maybe-configure-gzip \
579     maybe-configure-hello \
580     maybe-configure-indent \
581     maybe-configure-intl \
582     maybe-configure-tcl \
583     maybe-configure-itcl \
584     maybe-configure-ld \
585     maybe-configure-libcpp \
586     maybe-configure-libdecnumber \
587     maybe-configure-libgui \
588     maybe-configure-libiberty \
589     maybe-configure-libtool \
590     maybe-configure-m4 \
591     maybe-configure-make \
592     maybe-configure-mmalloc \
593     maybe-configure-patch \
594     maybe-configure-perl \
595     maybe-configure-prms \
596     maybe-configure-rcs \
597     maybe-configure-readline \
598     maybe-configure-release \
599     maybe-configure-recode \
600     maybe-configure-sed \
601     maybe-configure-send-pr \
602     maybe-configure-shellutils \
603     maybe-configure-sid \
604     maybe-configure-sim \
605     maybe-configure-tar \
606     maybe-configure-texinfo \
607     maybe-configure-textutils \
608     maybe-configure-time \
609     maybe-configure-uudecode \
610     maybe-configure-wdiff \
611     maybe-configure-zip \
612     maybe-configure-zlib \
613     maybe-configure-gdb \
614     maybe-configure-expect \
615     maybe-configure-guile \
616     maybe-configure-tk \
617     maybe-configure-libtermcap \
618     maybe-configure-utils \
619     maybe-configure-gnattools
620 .PHONY: configure-target
621 configure-target:  \
622     maybe-configure-target-libstdc++-v3 \
623     maybe-configure-target-libmudflap \
624     maybe-configure-target-libssp \
625     maybe-configure-target-newlib \
626     maybe-configure-target-libgfortran \
627     maybe-configure-target-libobjc \
628     maybe-configure-target-libtermcap \
629     maybe-configure-target-winsup \
630     maybe-configure-target-libgloss \
631     maybe-configure-target-libiberty \
632     maybe-configure-target-gperf \
633     maybe-configure-target-examples \
634     maybe-configure-target-libffi \
635     maybe-configure-target-libjava \
636     maybe-configure-target-zlib \
637     maybe-configure-target-boehm-gc \
638     maybe-configure-target-qthreads \
639     maybe-configure-target-rda \
640     maybe-configure-target-libada \
641     maybe-configure-target-libgomp
642
643 # The target built for a native non-bootstrap build.
644 .PHONY: all
645 all:
646 @if gcc-bootstrap
647         [ -f stage_final ] || echo stage3 > stage_final
648         @r=`${PWD_COMMAND}`; export r; \
649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
650         $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
651 @endif gcc-bootstrap
652         @: $(MAKE); $(unstage)
653         @r=`${PWD_COMMAND}`; export r; \
654         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
655         if [ -f stage_last ]; then \
656           $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
657         else \
658           $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
659         fi
660
661 .PHONY: all-build
662
663 all-build: maybe-all-build-libiberty
664 all-build: maybe-all-build-bison
665 all-build: maybe-all-build-byacc
666 all-build: maybe-all-build-flex
667 all-build: maybe-all-build-m4
668 all-build: maybe-all-build-texinfo
669 all-build: maybe-all-build-fixincludes
670
671 .PHONY: all-host
672
673 all-host: maybe-all-ash
674 all-host: maybe-all-autoconf
675 all-host: maybe-all-automake
676 all-host: maybe-all-bash
677 @if bfd-no-bootstrap
678 all-host: maybe-all-bfd
679 @endif bfd-no-bootstrap
680 @if opcodes-no-bootstrap
681 all-host: maybe-all-opcodes
682 @endif opcodes-no-bootstrap
683 @if binutils-no-bootstrap
684 all-host: maybe-all-binutils
685 @endif binutils-no-bootstrap
686 all-host: maybe-all-bison
687 all-host: maybe-all-byacc
688 all-host: maybe-all-bzip2
689 all-host: maybe-all-dejagnu
690 all-host: maybe-all-diff
691 all-host: maybe-all-dosutils
692 all-host: maybe-all-etc
693 all-host: maybe-all-fastjar
694 all-host: maybe-all-fileutils
695 all-host: maybe-all-findutils
696 all-host: maybe-all-find
697 all-host: maybe-all-fixincludes
698 all-host: maybe-all-flex
699 @if gas-no-bootstrap
700 all-host: maybe-all-gas
701 @endif gas-no-bootstrap
702 @if gcc-no-bootstrap
703 all-host: maybe-all-gcc
704 @endif gcc-no-bootstrap
705 all-host: maybe-all-gawk
706 all-host: maybe-all-gettext
707 all-host: maybe-all-gnuserv
708 all-host: maybe-all-gprof
709 all-host: maybe-all-gzip
710 all-host: maybe-all-hello
711 all-host: maybe-all-indent
712 @if intl-no-bootstrap
713 all-host: maybe-all-intl
714 @endif intl-no-bootstrap
715 all-host: maybe-all-tcl
716 all-host: maybe-all-itcl
717 @if ld-no-bootstrap
718 all-host: maybe-all-ld
719 @endif ld-no-bootstrap
720 @if libcpp-no-bootstrap
721 all-host: maybe-all-libcpp
722 @endif libcpp-no-bootstrap
723 @if libdecnumber-no-bootstrap
724 all-host: maybe-all-libdecnumber
725 @endif libdecnumber-no-bootstrap
726 all-host: maybe-all-libgui
727 @if libiberty-no-bootstrap
728 all-host: maybe-all-libiberty
729 @endif libiberty-no-bootstrap
730 all-host: maybe-all-libtool
731 all-host: maybe-all-m4
732 all-host: maybe-all-make
733 all-host: maybe-all-mmalloc
734 all-host: maybe-all-patch
735 all-host: maybe-all-perl
736 all-host: maybe-all-prms
737 all-host: maybe-all-rcs
738 all-host: maybe-all-readline
739 all-host: maybe-all-release
740 all-host: maybe-all-recode
741 all-host: maybe-all-sed
742 all-host: maybe-all-send-pr
743 all-host: maybe-all-shellutils
744 all-host: maybe-all-sid
745 all-host: maybe-all-sim
746 all-host: maybe-all-tar
747 all-host: maybe-all-texinfo
748 all-host: maybe-all-textutils
749 all-host: maybe-all-time
750 all-host: maybe-all-uudecode
751 all-host: maybe-all-wdiff
752 all-host: maybe-all-zip
753 @if zlib-no-bootstrap
754 all-host: maybe-all-zlib
755 @endif zlib-no-bootstrap
756 all-host: maybe-all-gdb
757 all-host: maybe-all-expect
758 all-host: maybe-all-guile
759 all-host: maybe-all-tk
760 all-host: maybe-all-libtermcap
761 all-host: maybe-all-utils
762 all-host: maybe-all-gnattools
763
764 .PHONY: all-target
765
766 all-target: maybe-all-target-libstdc++-v3
767 all-target: maybe-all-target-libmudflap
768 all-target: maybe-all-target-libssp
769 all-target: maybe-all-target-newlib
770 all-target: maybe-all-target-libgfortran
771 all-target: maybe-all-target-libobjc
772 all-target: maybe-all-target-libtermcap
773 all-target: maybe-all-target-winsup
774 all-target: maybe-all-target-libgloss
775 all-target: maybe-all-target-libiberty
776 all-target: maybe-all-target-gperf
777 all-target: maybe-all-target-examples
778 all-target: maybe-all-target-libffi
779 all-target: maybe-all-target-libjava
780 all-target: maybe-all-target-zlib
781 all-target: maybe-all-target-boehm-gc
782 all-target: maybe-all-target-qthreads
783 all-target: maybe-all-target-rda
784 all-target: maybe-all-target-libada
785 all-target: maybe-all-target-libgomp
786
787 # Do a target for all the subdirectories.  A ``make do-X'' will do a
788 # ``make X'' in all subdirectories (because, in general, there is a
789 # dependency (below) of X upon do-X, a ``make X'' will also do this,
790 # but it may do additional work as well).
791
792 .PHONY: do-info
793 do-info:
794         @: $(MAKE); $(unstage)
795         @r=`${PWD_COMMAND}`; export r; \
796         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
797         $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
798           info-target
799
800
801 .PHONY: info-host
802
803 info-host: maybe-info-ash
804 info-host: maybe-info-autoconf
805 info-host: maybe-info-automake
806 info-host: maybe-info-bash
807 info-host: maybe-info-bfd
808 info-host: maybe-info-opcodes
809 info-host: maybe-info-binutils
810 info-host: maybe-info-bison
811 info-host: maybe-info-byacc
812 info-host: maybe-info-bzip2
813 info-host: maybe-info-dejagnu
814 info-host: maybe-info-diff
815 info-host: maybe-info-dosutils
816 info-host: maybe-info-etc
817 info-host: maybe-info-fastjar
818 info-host: maybe-info-fileutils
819 info-host: maybe-info-findutils
820 info-host: maybe-info-find
821 info-host: maybe-info-fixincludes
822 info-host: maybe-info-flex
823 info-host: maybe-info-gas
824 info-host: maybe-info-gcc
825 info-host: maybe-info-gawk
826 info-host: maybe-info-gettext
827 info-host: maybe-info-gnuserv
828 info-host: maybe-info-gprof
829 info-host: maybe-info-gzip
830 info-host: maybe-info-hello
831 info-host: maybe-info-indent
832 info-host: maybe-info-intl
833 info-host: maybe-info-tcl
834 info-host: maybe-info-itcl
835 info-host: maybe-info-ld
836 info-host: maybe-info-libcpp
837 info-host: maybe-info-libdecnumber
838 info-host: maybe-info-libgui
839 info-host: maybe-info-libiberty
840 info-host: maybe-info-libtool
841 info-host: maybe-info-m4
842 info-host: maybe-info-make
843 info-host: maybe-info-mmalloc
844 info-host: maybe-info-patch
845 info-host: maybe-info-perl
846 info-host: maybe-info-prms
847 info-host: maybe-info-rcs
848 info-host: maybe-info-readline
849 info-host: maybe-info-release
850 info-host: maybe-info-recode
851 info-host: maybe-info-sed
852 info-host: maybe-info-send-pr
853 info-host: maybe-info-shellutils
854 info-host: maybe-info-sid
855 info-host: maybe-info-sim
856 info-host: maybe-info-tar
857 info-host: maybe-info-texinfo
858 info-host: maybe-info-textutils
859 info-host: maybe-info-time
860 info-host: maybe-info-uudecode
861 info-host: maybe-info-wdiff
862 info-host: maybe-info-zip
863 info-host: maybe-info-zlib
864 info-host: maybe-info-gdb
865 info-host: maybe-info-expect
866 info-host: maybe-info-guile
867 info-host: maybe-info-tk
868 info-host: maybe-info-libtermcap
869 info-host: maybe-info-utils
870 info-host: maybe-info-gnattools
871
872 .PHONY: info-target
873
874 info-target: maybe-info-target-libstdc++-v3
875 info-target: maybe-info-target-libmudflap
876 info-target: maybe-info-target-libssp
877 info-target: maybe-info-target-newlib
878 info-target: maybe-info-target-libgfortran
879 info-target: maybe-info-target-libobjc
880 info-target: maybe-info-target-libtermcap
881 info-target: maybe-info-target-winsup
882 info-target: maybe-info-target-libgloss
883 info-target: maybe-info-target-libiberty
884 info-target: maybe-info-target-gperf
885 info-target: maybe-info-target-examples
886 info-target: maybe-info-target-libffi
887 info-target: maybe-info-target-libjava
888 info-target: maybe-info-target-zlib
889 info-target: maybe-info-target-boehm-gc
890 info-target: maybe-info-target-qthreads
891 info-target: maybe-info-target-rda
892 info-target: maybe-info-target-libada
893 info-target: maybe-info-target-libgomp
894
895 .PHONY: do-dvi
896 do-dvi:
897         @: $(MAKE); $(unstage)
898         @r=`${PWD_COMMAND}`; export r; \
899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
900         $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
901           dvi-target
902
903
904 .PHONY: dvi-host
905
906 dvi-host: maybe-dvi-ash
907 dvi-host: maybe-dvi-autoconf
908 dvi-host: maybe-dvi-automake
909 dvi-host: maybe-dvi-bash
910 dvi-host: maybe-dvi-bfd
911 dvi-host: maybe-dvi-opcodes
912 dvi-host: maybe-dvi-binutils
913 dvi-host: maybe-dvi-bison
914 dvi-host: maybe-dvi-byacc
915 dvi-host: maybe-dvi-bzip2
916 dvi-host: maybe-dvi-dejagnu
917 dvi-host: maybe-dvi-diff
918 dvi-host: maybe-dvi-dosutils
919 dvi-host: maybe-dvi-etc
920 dvi-host: maybe-dvi-fastjar
921 dvi-host: maybe-dvi-fileutils
922 dvi-host: maybe-dvi-findutils
923 dvi-host: maybe-dvi-find
924 dvi-host: maybe-dvi-fixincludes
925 dvi-host: maybe-dvi-flex
926 dvi-host: maybe-dvi-gas
927 dvi-host: maybe-dvi-gcc
928 dvi-host: maybe-dvi-gawk
929 dvi-host: maybe-dvi-gettext
930 dvi-host: maybe-dvi-gnuserv
931 dvi-host: maybe-dvi-gprof
932 dvi-host: maybe-dvi-gzip
933 dvi-host: maybe-dvi-hello
934 dvi-host: maybe-dvi-indent
935 dvi-host: maybe-dvi-intl
936 dvi-host: maybe-dvi-tcl
937 dvi-host: maybe-dvi-itcl
938 dvi-host: maybe-dvi-ld
939 dvi-host: maybe-dvi-libcpp
940 dvi-host: maybe-dvi-libdecnumber
941 dvi-host: maybe-dvi-libgui
942 dvi-host: maybe-dvi-libiberty
943 dvi-host: maybe-dvi-libtool
944 dvi-host: maybe-dvi-m4
945 dvi-host: maybe-dvi-make
946 dvi-host: maybe-dvi-mmalloc
947 dvi-host: maybe-dvi-patch
948 dvi-host: maybe-dvi-perl
949 dvi-host: maybe-dvi-prms
950 dvi-host: maybe-dvi-rcs
951 dvi-host: maybe-dvi-readline
952 dvi-host: maybe-dvi-release
953 dvi-host: maybe-dvi-recode
954 dvi-host: maybe-dvi-sed
955 dvi-host: maybe-dvi-send-pr
956 dvi-host: maybe-dvi-shellutils
957 dvi-host: maybe-dvi-sid
958 dvi-host: maybe-dvi-sim
959 dvi-host: maybe-dvi-tar
960 dvi-host: maybe-dvi-texinfo
961 dvi-host: maybe-dvi-textutils
962 dvi-host: maybe-dvi-time
963 dvi-host: maybe-dvi-uudecode
964 dvi-host: maybe-dvi-wdiff
965 dvi-host: maybe-dvi-zip
966 dvi-host: maybe-dvi-zlib
967 dvi-host: maybe-dvi-gdb
968 dvi-host: maybe-dvi-expect
969 dvi-host: maybe-dvi-guile
970 dvi-host: maybe-dvi-tk
971 dvi-host: maybe-dvi-libtermcap
972 dvi-host: maybe-dvi-utils
973 dvi-host: maybe-dvi-gnattools
974
975 .PHONY: dvi-target
976
977 dvi-target: maybe-dvi-target-libstdc++-v3
978 dvi-target: maybe-dvi-target-libmudflap
979 dvi-target: maybe-dvi-target-libssp
980 dvi-target: maybe-dvi-target-newlib
981 dvi-target: maybe-dvi-target-libgfortran
982 dvi-target: maybe-dvi-target-libobjc
983 dvi-target: maybe-dvi-target-libtermcap
984 dvi-target: maybe-dvi-target-winsup
985 dvi-target: maybe-dvi-target-libgloss
986 dvi-target: maybe-dvi-target-libiberty
987 dvi-target: maybe-dvi-target-gperf
988 dvi-target: maybe-dvi-target-examples
989 dvi-target: maybe-dvi-target-libffi
990 dvi-target: maybe-dvi-target-libjava
991 dvi-target: maybe-dvi-target-zlib
992 dvi-target: maybe-dvi-target-boehm-gc
993 dvi-target: maybe-dvi-target-qthreads
994 dvi-target: maybe-dvi-target-rda
995 dvi-target: maybe-dvi-target-libada
996 dvi-target: maybe-dvi-target-libgomp
997
998 .PHONY: do-html
999 do-html:
1000         @: $(MAKE); $(unstage)
1001         @r=`${PWD_COMMAND}`; export r; \
1002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1003         $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1004           html-target
1005
1006
1007 .PHONY: html-host
1008
1009 html-host: maybe-html-ash
1010 html-host: maybe-html-autoconf
1011 html-host: maybe-html-automake
1012 html-host: maybe-html-bash
1013 html-host: maybe-html-bfd
1014 html-host: maybe-html-opcodes
1015 html-host: maybe-html-binutils
1016 html-host: maybe-html-bison
1017 html-host: maybe-html-byacc
1018 html-host: maybe-html-bzip2
1019 html-host: maybe-html-dejagnu
1020 html-host: maybe-html-diff
1021 html-host: maybe-html-dosutils
1022 html-host: maybe-html-etc
1023 html-host: maybe-html-fastjar
1024 html-host: maybe-html-fileutils
1025 html-host: maybe-html-findutils
1026 html-host: maybe-html-find
1027 html-host: maybe-html-fixincludes
1028 html-host: maybe-html-flex
1029 html-host: maybe-html-gas
1030 html-host: maybe-html-gcc
1031 html-host: maybe-html-gawk
1032 html-host: maybe-html-gettext
1033 html-host: maybe-html-gnuserv
1034 html-host: maybe-html-gprof
1035 html-host: maybe-html-gzip
1036 html-host: maybe-html-hello
1037 html-host: maybe-html-indent
1038 html-host: maybe-html-intl
1039 html-host: maybe-html-tcl
1040 html-host: maybe-html-itcl
1041 html-host: maybe-html-ld
1042 html-host: maybe-html-libcpp
1043 html-host: maybe-html-libdecnumber
1044 html-host: maybe-html-libgui
1045 html-host: maybe-html-libiberty
1046 html-host: maybe-html-libtool
1047 html-host: maybe-html-m4
1048 html-host: maybe-html-make
1049 html-host: maybe-html-mmalloc
1050 html-host: maybe-html-patch
1051 html-host: maybe-html-perl
1052 html-host: maybe-html-prms
1053 html-host: maybe-html-rcs
1054 html-host: maybe-html-readline
1055 html-host: maybe-html-release
1056 html-host: maybe-html-recode
1057 html-host: maybe-html-sed
1058 html-host: maybe-html-send-pr
1059 html-host: maybe-html-shellutils
1060 html-host: maybe-html-sid
1061 html-host: maybe-html-sim
1062 html-host: maybe-html-tar
1063 html-host: maybe-html-texinfo
1064 html-host: maybe-html-textutils
1065 html-host: maybe-html-time
1066 html-host: maybe-html-uudecode
1067 html-host: maybe-html-wdiff
1068 html-host: maybe-html-zip
1069 html-host: maybe-html-zlib
1070 html-host: maybe-html-gdb
1071 html-host: maybe-html-expect
1072 html-host: maybe-html-guile
1073 html-host: maybe-html-tk
1074 html-host: maybe-html-libtermcap
1075 html-host: maybe-html-utils
1076 html-host: maybe-html-gnattools
1077
1078 .PHONY: html-target
1079
1080 html-target: maybe-html-target-libstdc++-v3
1081 html-target: maybe-html-target-libmudflap
1082 html-target: maybe-html-target-libssp
1083 html-target: maybe-html-target-newlib
1084 html-target: maybe-html-target-libgfortran
1085 html-target: maybe-html-target-libobjc
1086 html-target: maybe-html-target-libtermcap
1087 html-target: maybe-html-target-winsup
1088 html-target: maybe-html-target-libgloss
1089 html-target: maybe-html-target-libiberty
1090 html-target: maybe-html-target-gperf
1091 html-target: maybe-html-target-examples
1092 html-target: maybe-html-target-libffi
1093 html-target: maybe-html-target-libjava
1094 html-target: maybe-html-target-zlib
1095 html-target: maybe-html-target-boehm-gc
1096 html-target: maybe-html-target-qthreads
1097 html-target: maybe-html-target-rda
1098 html-target: maybe-html-target-libada
1099 html-target: maybe-html-target-libgomp
1100
1101 .PHONY: do-TAGS
1102 do-TAGS:
1103         @: $(MAKE); $(unstage)
1104         @r=`${PWD_COMMAND}`; export r; \
1105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1106         $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1107           TAGS-target
1108
1109
1110 .PHONY: TAGS-host
1111
1112 TAGS-host: maybe-TAGS-ash
1113 TAGS-host: maybe-TAGS-autoconf
1114 TAGS-host: maybe-TAGS-automake
1115 TAGS-host: maybe-TAGS-bash
1116 TAGS-host: maybe-TAGS-bfd
1117 TAGS-host: maybe-TAGS-opcodes
1118 TAGS-host: maybe-TAGS-binutils
1119 TAGS-host: maybe-TAGS-bison
1120 TAGS-host: maybe-TAGS-byacc
1121 TAGS-host: maybe-TAGS-bzip2
1122 TAGS-host: maybe-TAGS-dejagnu
1123 TAGS-host: maybe-TAGS-diff
1124 TAGS-host: maybe-TAGS-dosutils
1125 TAGS-host: maybe-TAGS-etc
1126 TAGS-host: maybe-TAGS-fastjar
1127 TAGS-host: maybe-TAGS-fileutils
1128 TAGS-host: maybe-TAGS-findutils
1129 TAGS-host: maybe-TAGS-find
1130 TAGS-host: maybe-TAGS-fixincludes
1131 TAGS-host: maybe-TAGS-flex
1132 TAGS-host: maybe-TAGS-gas
1133 TAGS-host: maybe-TAGS-gcc
1134 TAGS-host: maybe-TAGS-gawk
1135 TAGS-host: maybe-TAGS-gettext
1136 TAGS-host: maybe-TAGS-gnuserv
1137 TAGS-host: maybe-TAGS-gprof
1138 TAGS-host: maybe-TAGS-gzip
1139 TAGS-host: maybe-TAGS-hello
1140 TAGS-host: maybe-TAGS-indent
1141 TAGS-host: maybe-TAGS-intl
1142 TAGS-host: maybe-TAGS-tcl
1143 TAGS-host: maybe-TAGS-itcl
1144 TAGS-host: maybe-TAGS-ld
1145 TAGS-host: maybe-TAGS-libcpp
1146 TAGS-host: maybe-TAGS-libdecnumber
1147 TAGS-host: maybe-TAGS-libgui
1148 TAGS-host: maybe-TAGS-libiberty
1149 TAGS-host: maybe-TAGS-libtool
1150 TAGS-host: maybe-TAGS-m4
1151 TAGS-host: maybe-TAGS-make
1152 TAGS-host: maybe-TAGS-mmalloc
1153 TAGS-host: maybe-TAGS-patch
1154 TAGS-host: maybe-TAGS-perl
1155 TAGS-host: maybe-TAGS-prms
1156 TAGS-host: maybe-TAGS-rcs
1157 TAGS-host: maybe-TAGS-readline
1158 TAGS-host: maybe-TAGS-release
1159 TAGS-host: maybe-TAGS-recode
1160 TAGS-host: maybe-TAGS-sed
1161 TAGS-host: maybe-TAGS-send-pr
1162 TAGS-host: maybe-TAGS-shellutils
1163 TAGS-host: maybe-TAGS-sid
1164 TAGS-host: maybe-TAGS-sim
1165 TAGS-host: maybe-TAGS-tar
1166 TAGS-host: maybe-TAGS-texinfo
1167 TAGS-host: maybe-TAGS-textutils
1168 TAGS-host: maybe-TAGS-time
1169 TAGS-host: maybe-TAGS-uudecode
1170 TAGS-host: maybe-TAGS-wdiff
1171 TAGS-host: maybe-TAGS-zip
1172 TAGS-host: maybe-TAGS-zlib
1173 TAGS-host: maybe-TAGS-gdb
1174 TAGS-host: maybe-TAGS-expect
1175 TAGS-host: maybe-TAGS-guile
1176 TAGS-host: maybe-TAGS-tk
1177 TAGS-host: maybe-TAGS-libtermcap
1178 TAGS-host: maybe-TAGS-utils
1179 TAGS-host: maybe-TAGS-gnattools
1180
1181 .PHONY: TAGS-target
1182
1183 TAGS-target: maybe-TAGS-target-libstdc++-v3
1184 TAGS-target: maybe-TAGS-target-libmudflap
1185 TAGS-target: maybe-TAGS-target-libssp
1186 TAGS-target: maybe-TAGS-target-newlib
1187 TAGS-target: maybe-TAGS-target-libgfortran
1188 TAGS-target: maybe-TAGS-target-libobjc
1189 TAGS-target: maybe-TAGS-target-libtermcap
1190 TAGS-target: maybe-TAGS-target-winsup
1191 TAGS-target: maybe-TAGS-target-libgloss
1192 TAGS-target: maybe-TAGS-target-libiberty
1193 TAGS-target: maybe-TAGS-target-gperf
1194 TAGS-target: maybe-TAGS-target-examples
1195 TAGS-target: maybe-TAGS-target-libffi
1196 TAGS-target: maybe-TAGS-target-libjava
1197 TAGS-target: maybe-TAGS-target-zlib
1198 TAGS-target: maybe-TAGS-target-boehm-gc
1199 TAGS-target: maybe-TAGS-target-qthreads
1200 TAGS-target: maybe-TAGS-target-rda
1201 TAGS-target: maybe-TAGS-target-libada
1202 TAGS-target: maybe-TAGS-target-libgomp
1203
1204 .PHONY: do-install-info
1205 do-install-info:
1206         @: $(MAKE); $(unstage)
1207         @r=`${PWD_COMMAND}`; export r; \
1208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1209         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1210           install-info-target
1211
1212
1213 .PHONY: install-info-host
1214
1215 install-info-host: maybe-install-info-ash
1216 install-info-host: maybe-install-info-autoconf
1217 install-info-host: maybe-install-info-automake
1218 install-info-host: maybe-install-info-bash
1219 install-info-host: maybe-install-info-bfd
1220 install-info-host: maybe-install-info-opcodes
1221 install-info-host: maybe-install-info-binutils
1222 install-info-host: maybe-install-info-bison
1223 install-info-host: maybe-install-info-byacc
1224 install-info-host: maybe-install-info-bzip2
1225 install-info-host: maybe-install-info-dejagnu
1226 install-info-host: maybe-install-info-diff
1227 install-info-host: maybe-install-info-dosutils
1228 install-info-host: maybe-install-info-etc
1229 install-info-host: maybe-install-info-fastjar
1230 install-info-host: maybe-install-info-fileutils
1231 install-info-host: maybe-install-info-findutils
1232 install-info-host: maybe-install-info-find
1233 install-info-host: maybe-install-info-fixincludes
1234 install-info-host: maybe-install-info-flex
1235 install-info-host: maybe-install-info-gas
1236 install-info-host: maybe-install-info-gcc
1237 install-info-host: maybe-install-info-gawk
1238 install-info-host: maybe-install-info-gettext
1239 install-info-host: maybe-install-info-gnuserv
1240 install-info-host: maybe-install-info-gprof
1241 install-info-host: maybe-install-info-gzip
1242 install-info-host: maybe-install-info-hello
1243 install-info-host: maybe-install-info-indent
1244 install-info-host: maybe-install-info-intl
1245 install-info-host: maybe-install-info-tcl
1246 install-info-host: maybe-install-info-itcl
1247 install-info-host: maybe-install-info-ld
1248 install-info-host: maybe-install-info-libcpp
1249 install-info-host: maybe-install-info-libdecnumber
1250 install-info-host: maybe-install-info-libgui
1251 install-info-host: maybe-install-info-libiberty
1252 install-info-host: maybe-install-info-libtool
1253 install-info-host: maybe-install-info-m4
1254 install-info-host: maybe-install-info-make
1255 install-info-host: maybe-install-info-mmalloc
1256 install-info-host: maybe-install-info-patch
1257 install-info-host: maybe-install-info-perl
1258 install-info-host: maybe-install-info-prms
1259 install-info-host: maybe-install-info-rcs
1260 install-info-host: maybe-install-info-readline
1261 install-info-host: maybe-install-info-release
1262 install-info-host: maybe-install-info-recode
1263 install-info-host: maybe-install-info-sed
1264 install-info-host: maybe-install-info-send-pr
1265 install-info-host: maybe-install-info-shellutils
1266 install-info-host: maybe-install-info-sid
1267 install-info-host: maybe-install-info-sim
1268 install-info-host: maybe-install-info-tar
1269 install-info-host: maybe-install-info-texinfo
1270 install-info-host: maybe-install-info-textutils
1271 install-info-host: maybe-install-info-time
1272 install-info-host: maybe-install-info-uudecode
1273 install-info-host: maybe-install-info-wdiff
1274 install-info-host: maybe-install-info-zip
1275 install-info-host: maybe-install-info-zlib
1276 install-info-host: maybe-install-info-gdb
1277 install-info-host: maybe-install-info-expect
1278 install-info-host: maybe-install-info-guile
1279 install-info-host: maybe-install-info-tk
1280 install-info-host: maybe-install-info-libtermcap
1281 install-info-host: maybe-install-info-utils
1282 install-info-host: maybe-install-info-gnattools
1283
1284 .PHONY: install-info-target
1285
1286 install-info-target: maybe-install-info-target-libstdc++-v3
1287 install-info-target: maybe-install-info-target-libmudflap
1288 install-info-target: maybe-install-info-target-libssp
1289 install-info-target: maybe-install-info-target-newlib
1290 install-info-target: maybe-install-info-target-libgfortran
1291 install-info-target: maybe-install-info-target-libobjc
1292 install-info-target: maybe-install-info-target-libtermcap
1293 install-info-target: maybe-install-info-target-winsup
1294 install-info-target: maybe-install-info-target-libgloss
1295 install-info-target: maybe-install-info-target-libiberty
1296 install-info-target: maybe-install-info-target-gperf
1297 install-info-target: maybe-install-info-target-examples
1298 install-info-target: maybe-install-info-target-libffi
1299 install-info-target: maybe-install-info-target-libjava
1300 install-info-target: maybe-install-info-target-zlib
1301 install-info-target: maybe-install-info-target-boehm-gc
1302 install-info-target: maybe-install-info-target-qthreads
1303 install-info-target: maybe-install-info-target-rda
1304 install-info-target: maybe-install-info-target-libada
1305 install-info-target: maybe-install-info-target-libgomp
1306
1307 .PHONY: do-install-html
1308 do-install-html:
1309         @: $(MAKE); $(unstage)
1310         @r=`${PWD_COMMAND}`; export r; \
1311         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1312         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1313           install-html-target
1314
1315
1316 .PHONY: install-html-host
1317
1318 install-html-host: maybe-install-html-ash
1319 install-html-host: maybe-install-html-autoconf
1320 install-html-host: maybe-install-html-automake
1321 install-html-host: maybe-install-html-bash
1322 install-html-host: maybe-install-html-bfd
1323 install-html-host: maybe-install-html-opcodes
1324 install-html-host: maybe-install-html-binutils
1325 install-html-host: maybe-install-html-bison
1326 install-html-host: maybe-install-html-byacc
1327 install-html-host: maybe-install-html-bzip2
1328 install-html-host: maybe-install-html-dejagnu
1329 install-html-host: maybe-install-html-diff
1330 install-html-host: maybe-install-html-dosutils
1331 install-html-host: maybe-install-html-etc
1332 install-html-host: maybe-install-html-fastjar
1333 install-html-host: maybe-install-html-fileutils
1334 install-html-host: maybe-install-html-findutils
1335 install-html-host: maybe-install-html-find
1336 install-html-host: maybe-install-html-fixincludes
1337 install-html-host: maybe-install-html-flex
1338 install-html-host: maybe-install-html-gas
1339 install-html-host: maybe-install-html-gcc
1340 install-html-host: maybe-install-html-gawk
1341 install-html-host: maybe-install-html-gettext
1342 install-html-host: maybe-install-html-gnuserv
1343 install-html-host: maybe-install-html-gprof
1344 install-html-host: maybe-install-html-gzip
1345 install-html-host: maybe-install-html-hello
1346 install-html-host: maybe-install-html-indent
1347 install-html-host: maybe-install-html-intl
1348 install-html-host: maybe-install-html-tcl
1349 install-html-host: maybe-install-html-itcl
1350 install-html-host: maybe-install-html-ld
1351 install-html-host: maybe-install-html-libcpp
1352 install-html-host: maybe-install-html-libdecnumber
1353 install-html-host: maybe-install-html-libgui
1354 install-html-host: maybe-install-html-libiberty
1355 install-html-host: maybe-install-html-libtool
1356 install-html-host: maybe-install-html-m4
1357 install-html-host: maybe-install-html-make
1358 install-html-host: maybe-install-html-mmalloc
1359 install-html-host: maybe-install-html-patch
1360 install-html-host: maybe-install-html-perl
1361 install-html-host: maybe-install-html-prms
1362 install-html-host: maybe-install-html-rcs
1363 install-html-host: maybe-install-html-readline
1364 install-html-host: maybe-install-html-release
1365 install-html-host: maybe-install-html-recode
1366 install-html-host: maybe-install-html-sed
1367 install-html-host: maybe-install-html-send-pr
1368 install-html-host: maybe-install-html-shellutils
1369 install-html-host: maybe-install-html-sid
1370 install-html-host: maybe-install-html-sim
1371 install-html-host: maybe-install-html-tar
1372 install-html-host: maybe-install-html-texinfo
1373 install-html-host: maybe-install-html-textutils
1374 install-html-host: maybe-install-html-time
1375 install-html-host: maybe-install-html-uudecode
1376 install-html-host: maybe-install-html-wdiff
1377 install-html-host: maybe-install-html-zip
1378 install-html-host: maybe-install-html-zlib
1379 install-html-host: maybe-install-html-gdb
1380 install-html-host: maybe-install-html-expect
1381 install-html-host: maybe-install-html-guile
1382 install-html-host: maybe-install-html-tk
1383 install-html-host: maybe-install-html-libtermcap
1384 install-html-host: maybe-install-html-utils
1385 install-html-host: maybe-install-html-gnattools
1386
1387 .PHONY: install-html-target
1388
1389 install-html-target: maybe-install-html-target-libstdc++-v3
1390 install-html-target: maybe-install-html-target-libmudflap
1391 install-html-target: maybe-install-html-target-libssp
1392 install-html-target: maybe-install-html-target-newlib
1393 install-html-target: maybe-install-html-target-libgfortran
1394 install-html-target: maybe-install-html-target-libobjc
1395 install-html-target: maybe-install-html-target-libtermcap
1396 install-html-target: maybe-install-html-target-winsup
1397 install-html-target: maybe-install-html-target-libgloss
1398 install-html-target: maybe-install-html-target-libiberty
1399 install-html-target: maybe-install-html-target-gperf
1400 install-html-target: maybe-install-html-target-examples
1401 install-html-target: maybe-install-html-target-libffi
1402 install-html-target: maybe-install-html-target-libjava
1403 install-html-target: maybe-install-html-target-zlib
1404 install-html-target: maybe-install-html-target-boehm-gc
1405 install-html-target: maybe-install-html-target-qthreads
1406 install-html-target: maybe-install-html-target-rda
1407 install-html-target: maybe-install-html-target-libada
1408 install-html-target: maybe-install-html-target-libgomp
1409
1410 .PHONY: do-installcheck
1411 do-installcheck:
1412         @: $(MAKE); $(unstage)
1413         @r=`${PWD_COMMAND}`; export r; \
1414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1415         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1416           installcheck-target
1417
1418
1419 .PHONY: installcheck-host
1420
1421 installcheck-host: maybe-installcheck-ash
1422 installcheck-host: maybe-installcheck-autoconf
1423 installcheck-host: maybe-installcheck-automake
1424 installcheck-host: maybe-installcheck-bash
1425 installcheck-host: maybe-installcheck-bfd
1426 installcheck-host: maybe-installcheck-opcodes
1427 installcheck-host: maybe-installcheck-binutils
1428 installcheck-host: maybe-installcheck-bison
1429 installcheck-host: maybe-installcheck-byacc
1430 installcheck-host: maybe-installcheck-bzip2
1431 installcheck-host: maybe-installcheck-dejagnu
1432 installcheck-host: maybe-installcheck-diff
1433 installcheck-host: maybe-installcheck-dosutils
1434 installcheck-host: maybe-installcheck-etc
1435 installcheck-host: maybe-installcheck-fastjar
1436 installcheck-host: maybe-installcheck-fileutils
1437 installcheck-host: maybe-installcheck-findutils
1438 installcheck-host: maybe-installcheck-find
1439 installcheck-host: maybe-installcheck-fixincludes
1440 installcheck-host: maybe-installcheck-flex
1441 installcheck-host: maybe-installcheck-gas
1442 installcheck-host: maybe-installcheck-gcc
1443 installcheck-host: maybe-installcheck-gawk
1444 installcheck-host: maybe-installcheck-gettext
1445 installcheck-host: maybe-installcheck-gnuserv
1446 installcheck-host: maybe-installcheck-gprof
1447 installcheck-host: maybe-installcheck-gzip
1448 installcheck-host: maybe-installcheck-hello
1449 installcheck-host: maybe-installcheck-indent
1450 installcheck-host: maybe-installcheck-intl
1451 installcheck-host: maybe-installcheck-tcl
1452 installcheck-host: maybe-installcheck-itcl
1453 installcheck-host: maybe-installcheck-ld
1454 installcheck-host: maybe-installcheck-libcpp
1455 installcheck-host: maybe-installcheck-libdecnumber
1456 installcheck-host: maybe-installcheck-libgui
1457 installcheck-host: maybe-installcheck-libiberty
1458 installcheck-host: maybe-installcheck-libtool
1459 installcheck-host: maybe-installcheck-m4
1460 installcheck-host: maybe-installcheck-make
1461 installcheck-host: maybe-installcheck-mmalloc
1462 installcheck-host: maybe-installcheck-patch
1463 installcheck-host: maybe-installcheck-perl
1464 installcheck-host: maybe-installcheck-prms
1465 installcheck-host: maybe-installcheck-rcs
1466 installcheck-host: maybe-installcheck-readline
1467 installcheck-host: maybe-installcheck-release
1468 installcheck-host: maybe-installcheck-recode
1469 installcheck-host: maybe-installcheck-sed
1470 installcheck-host: maybe-installcheck-send-pr
1471 installcheck-host: maybe-installcheck-shellutils
1472 installcheck-host: maybe-installcheck-sid
1473 installcheck-host: maybe-installcheck-sim
1474 installcheck-host: maybe-installcheck-tar
1475 installcheck-host: maybe-installcheck-texinfo
1476 installcheck-host: maybe-installcheck-textutils
1477 installcheck-host: maybe-installcheck-time
1478 installcheck-host: maybe-installcheck-uudecode
1479 installcheck-host: maybe-installcheck-wdiff
1480 installcheck-host: maybe-installcheck-zip
1481 installcheck-host: maybe-installcheck-zlib
1482 installcheck-host: maybe-installcheck-gdb
1483 installcheck-host: maybe-installcheck-expect
1484 installcheck-host: maybe-installcheck-guile
1485 installcheck-host: maybe-installcheck-tk
1486 installcheck-host: maybe-installcheck-libtermcap
1487 installcheck-host: maybe-installcheck-utils
1488 installcheck-host: maybe-installcheck-gnattools
1489
1490 .PHONY: installcheck-target
1491
1492 installcheck-target: maybe-installcheck-target-libstdc++-v3
1493 installcheck-target: maybe-installcheck-target-libmudflap
1494 installcheck-target: maybe-installcheck-target-libssp
1495 installcheck-target: maybe-installcheck-target-newlib
1496 installcheck-target: maybe-installcheck-target-libgfortran
1497 installcheck-target: maybe-installcheck-target-libobjc
1498 installcheck-target: maybe-installcheck-target-libtermcap
1499 installcheck-target: maybe-installcheck-target-winsup
1500 installcheck-target: maybe-installcheck-target-libgloss
1501 installcheck-target: maybe-installcheck-target-libiberty
1502 installcheck-target: maybe-installcheck-target-gperf
1503 installcheck-target: maybe-installcheck-target-examples
1504 installcheck-target: maybe-installcheck-target-libffi
1505 installcheck-target: maybe-installcheck-target-libjava
1506 installcheck-target: maybe-installcheck-target-zlib
1507 installcheck-target: maybe-installcheck-target-boehm-gc
1508 installcheck-target: maybe-installcheck-target-qthreads
1509 installcheck-target: maybe-installcheck-target-rda
1510 installcheck-target: maybe-installcheck-target-libada
1511 installcheck-target: maybe-installcheck-target-libgomp
1512
1513 .PHONY: do-mostlyclean
1514 do-mostlyclean:
1515         @: $(MAKE); $(unstage)
1516         @r=`${PWD_COMMAND}`; export r; \
1517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1518         $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1519           mostlyclean-target
1520
1521
1522 .PHONY: mostlyclean-host
1523
1524 mostlyclean-host: maybe-mostlyclean-ash
1525 mostlyclean-host: maybe-mostlyclean-autoconf
1526 mostlyclean-host: maybe-mostlyclean-automake
1527 mostlyclean-host: maybe-mostlyclean-bash
1528 mostlyclean-host: maybe-mostlyclean-bfd
1529 mostlyclean-host: maybe-mostlyclean-opcodes
1530 mostlyclean-host: maybe-mostlyclean-binutils
1531 mostlyclean-host: maybe-mostlyclean-bison
1532 mostlyclean-host: maybe-mostlyclean-byacc
1533 mostlyclean-host: maybe-mostlyclean-bzip2
1534 mostlyclean-host: maybe-mostlyclean-dejagnu
1535 mostlyclean-host: maybe-mostlyclean-diff
1536 mostlyclean-host: maybe-mostlyclean-dosutils
1537 mostlyclean-host: maybe-mostlyclean-etc
1538 mostlyclean-host: maybe-mostlyclean-fastjar
1539 mostlyclean-host: maybe-mostlyclean-fileutils
1540 mostlyclean-host: maybe-mostlyclean-findutils
1541 mostlyclean-host: maybe-mostlyclean-find
1542 mostlyclean-host: maybe-mostlyclean-fixincludes
1543 mostlyclean-host: maybe-mostlyclean-flex
1544 mostlyclean-host: maybe-mostlyclean-gas
1545 mostlyclean-host: maybe-mostlyclean-gcc
1546 mostlyclean-host: maybe-mostlyclean-gawk
1547 mostlyclean-host: maybe-mostlyclean-gettext
1548 mostlyclean-host: maybe-mostlyclean-gnuserv
1549 mostlyclean-host: maybe-mostlyclean-gprof
1550 mostlyclean-host: maybe-mostlyclean-gzip
1551 mostlyclean-host: maybe-mostlyclean-hello
1552 mostlyclean-host: maybe-mostlyclean-indent
1553 mostlyclean-host: maybe-mostlyclean-intl
1554 mostlyclean-host: maybe-mostlyclean-tcl
1555 mostlyclean-host: maybe-mostlyclean-itcl
1556 mostlyclean-host: maybe-mostlyclean-ld
1557 mostlyclean-host: maybe-mostlyclean-libcpp
1558 mostlyclean-host: maybe-mostlyclean-libdecnumber
1559 mostlyclean-host: maybe-mostlyclean-libgui
1560 mostlyclean-host: maybe-mostlyclean-libiberty
1561 mostlyclean-host: maybe-mostlyclean-libtool
1562 mostlyclean-host: maybe-mostlyclean-m4
1563 mostlyclean-host: maybe-mostlyclean-make
1564 mostlyclean-host: maybe-mostlyclean-mmalloc
1565 mostlyclean-host: maybe-mostlyclean-patch
1566 mostlyclean-host: maybe-mostlyclean-perl
1567 mostlyclean-host: maybe-mostlyclean-prms
1568 mostlyclean-host: maybe-mostlyclean-rcs
1569 mostlyclean-host: maybe-mostlyclean-readline
1570 mostlyclean-host: maybe-mostlyclean-release
1571 mostlyclean-host: maybe-mostlyclean-recode
1572 mostlyclean-host: maybe-mostlyclean-sed
1573 mostlyclean-host: maybe-mostlyclean-send-pr
1574 mostlyclean-host: maybe-mostlyclean-shellutils
1575 mostlyclean-host: maybe-mostlyclean-sid
1576 mostlyclean-host: maybe-mostlyclean-sim
1577 mostlyclean-host: maybe-mostlyclean-tar
1578 mostlyclean-host: maybe-mostlyclean-texinfo
1579 mostlyclean-host: maybe-mostlyclean-textutils
1580 mostlyclean-host: maybe-mostlyclean-time
1581 mostlyclean-host: maybe-mostlyclean-uudecode
1582 mostlyclean-host: maybe-mostlyclean-wdiff
1583 mostlyclean-host: maybe-mostlyclean-zip
1584 mostlyclean-host: maybe-mostlyclean-zlib
1585 mostlyclean-host: maybe-mostlyclean-gdb
1586 mostlyclean-host: maybe-mostlyclean-expect
1587 mostlyclean-host: maybe-mostlyclean-guile
1588 mostlyclean-host: maybe-mostlyclean-tk
1589 mostlyclean-host: maybe-mostlyclean-libtermcap
1590 mostlyclean-host: maybe-mostlyclean-utils
1591 mostlyclean-host: maybe-mostlyclean-gnattools
1592
1593 .PHONY: mostlyclean-target
1594
1595 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1596 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1597 mostlyclean-target: maybe-mostlyclean-target-libssp
1598 mostlyclean-target: maybe-mostlyclean-target-newlib
1599 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1600 mostlyclean-target: maybe-mostlyclean-target-libobjc
1601 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1602 mostlyclean-target: maybe-mostlyclean-target-winsup
1603 mostlyclean-target: maybe-mostlyclean-target-libgloss
1604 mostlyclean-target: maybe-mostlyclean-target-libiberty
1605 mostlyclean-target: maybe-mostlyclean-target-gperf
1606 mostlyclean-target: maybe-mostlyclean-target-examples
1607 mostlyclean-target: maybe-mostlyclean-target-libffi
1608 mostlyclean-target: maybe-mostlyclean-target-libjava
1609 mostlyclean-target: maybe-mostlyclean-target-zlib
1610 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1611 mostlyclean-target: maybe-mostlyclean-target-qthreads
1612 mostlyclean-target: maybe-mostlyclean-target-rda
1613 mostlyclean-target: maybe-mostlyclean-target-libada
1614 mostlyclean-target: maybe-mostlyclean-target-libgomp
1615
1616 .PHONY: do-clean
1617 do-clean:
1618         @: $(MAKE); $(unstage)
1619         @r=`${PWD_COMMAND}`; export r; \
1620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1621         $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1622           clean-target
1623
1624
1625 .PHONY: clean-host
1626
1627 clean-host: maybe-clean-ash
1628 clean-host: maybe-clean-autoconf
1629 clean-host: maybe-clean-automake
1630 clean-host: maybe-clean-bash
1631 clean-host: maybe-clean-bfd
1632 clean-host: maybe-clean-opcodes
1633 clean-host: maybe-clean-binutils
1634 clean-host: maybe-clean-bison
1635 clean-host: maybe-clean-byacc
1636 clean-host: maybe-clean-bzip2
1637 clean-host: maybe-clean-dejagnu
1638 clean-host: maybe-clean-diff
1639 clean-host: maybe-clean-dosutils
1640 clean-host: maybe-clean-etc
1641 clean-host: maybe-clean-fastjar
1642 clean-host: maybe-clean-fileutils
1643 clean-host: maybe-clean-findutils
1644 clean-host: maybe-clean-find
1645 clean-host: maybe-clean-fixincludes
1646 clean-host: maybe-clean-flex
1647 clean-host: maybe-clean-gas
1648 clean-host: maybe-clean-gcc
1649 clean-host: maybe-clean-gawk
1650 clean-host: maybe-clean-gettext
1651 clean-host: maybe-clean-gnuserv
1652 clean-host: maybe-clean-gprof
1653 clean-host: maybe-clean-gzip
1654 clean-host: maybe-clean-hello
1655 clean-host: maybe-clean-indent
1656 clean-host: maybe-clean-intl
1657 clean-host: maybe-clean-tcl
1658 clean-host: maybe-clean-itcl
1659 clean-host: maybe-clean-ld
1660 clean-host: maybe-clean-libcpp
1661 clean-host: maybe-clean-libdecnumber
1662 clean-host: maybe-clean-libgui
1663 clean-host: maybe-clean-libiberty
1664 clean-host: maybe-clean-libtool
1665 clean-host: maybe-clean-m4
1666 clean-host: maybe-clean-make
1667 clean-host: maybe-clean-mmalloc
1668 clean-host: maybe-clean-patch
1669 clean-host: maybe-clean-perl
1670 clean-host: maybe-clean-prms
1671 clean-host: maybe-clean-rcs
1672 clean-host: maybe-clean-readline
1673 clean-host: maybe-clean-release
1674 clean-host: maybe-clean-recode
1675 clean-host: maybe-clean-sed
1676 clean-host: maybe-clean-send-pr
1677 clean-host: maybe-clean-shellutils
1678 clean-host: maybe-clean-sid
1679 clean-host: maybe-clean-sim
1680 clean-host: maybe-clean-tar
1681 clean-host: maybe-clean-texinfo
1682 clean-host: maybe-clean-textutils
1683 clean-host: maybe-clean-time
1684 clean-host: maybe-clean-uudecode
1685 clean-host: maybe-clean-wdiff
1686 clean-host: maybe-clean-zip
1687 clean-host: maybe-clean-zlib
1688 clean-host: maybe-clean-gdb
1689 clean-host: maybe-clean-expect
1690 clean-host: maybe-clean-guile
1691 clean-host: maybe-clean-tk
1692 clean-host: maybe-clean-libtermcap
1693 clean-host: maybe-clean-utils
1694 clean-host: maybe-clean-gnattools
1695
1696 .PHONY: clean-target
1697
1698 clean-target: maybe-clean-target-libstdc++-v3
1699 clean-target: maybe-clean-target-libmudflap
1700 clean-target: maybe-clean-target-libssp
1701 clean-target: maybe-clean-target-newlib
1702 clean-target: maybe-clean-target-libgfortran
1703 clean-target: maybe-clean-target-libobjc
1704 clean-target: maybe-clean-target-libtermcap
1705 clean-target: maybe-clean-target-winsup
1706 clean-target: maybe-clean-target-libgloss
1707 clean-target: maybe-clean-target-libiberty
1708 clean-target: maybe-clean-target-gperf
1709 clean-target: maybe-clean-target-examples
1710 clean-target: maybe-clean-target-libffi
1711 clean-target: maybe-clean-target-libjava
1712 clean-target: maybe-clean-target-zlib
1713 clean-target: maybe-clean-target-boehm-gc
1714 clean-target: maybe-clean-target-qthreads
1715 clean-target: maybe-clean-target-rda
1716 clean-target: maybe-clean-target-libada
1717 clean-target: maybe-clean-target-libgomp
1718
1719 .PHONY: do-distclean
1720 do-distclean:
1721         @: $(MAKE); $(unstage)
1722         @r=`${PWD_COMMAND}`; export r; \
1723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1724         $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1725           distclean-target
1726
1727
1728 .PHONY: distclean-host
1729
1730 distclean-host: maybe-distclean-ash
1731 distclean-host: maybe-distclean-autoconf
1732 distclean-host: maybe-distclean-automake
1733 distclean-host: maybe-distclean-bash
1734 distclean-host: maybe-distclean-bfd
1735 distclean-host: maybe-distclean-opcodes
1736 distclean-host: maybe-distclean-binutils
1737 distclean-host: maybe-distclean-bison
1738 distclean-host: maybe-distclean-byacc
1739 distclean-host: maybe-distclean-bzip2
1740 distclean-host: maybe-distclean-dejagnu
1741 distclean-host: maybe-distclean-diff
1742 distclean-host: maybe-distclean-dosutils
1743 distclean-host: maybe-distclean-etc
1744 distclean-host: maybe-distclean-fastjar
1745 distclean-host: maybe-distclean-fileutils
1746 distclean-host: maybe-distclean-findutils
1747 distclean-host: maybe-distclean-find
1748 distclean-host: maybe-distclean-fixincludes
1749 distclean-host: maybe-distclean-flex
1750 distclean-host: maybe-distclean-gas
1751 distclean-host: maybe-distclean-gcc
1752 distclean-host: maybe-distclean-gawk
1753 distclean-host: maybe-distclean-gettext
1754 distclean-host: maybe-distclean-gnuserv
1755 distclean-host: maybe-distclean-gprof
1756 distclean-host: maybe-distclean-gzip
1757 distclean-host: maybe-distclean-hello
1758 distclean-host: maybe-distclean-indent
1759 distclean-host: maybe-distclean-intl
1760 distclean-host: maybe-distclean-tcl
1761 distclean-host: maybe-distclean-itcl
1762 distclean-host: maybe-distclean-ld
1763 distclean-host: maybe-distclean-libcpp
1764 distclean-host: maybe-distclean-libdecnumber
1765 distclean-host: maybe-distclean-libgui
1766 distclean-host: maybe-distclean-libiberty
1767 distclean-host: maybe-distclean-libtool
1768 distclean-host: maybe-distclean-m4
1769 distclean-host: maybe-distclean-make
1770 distclean-host: maybe-distclean-mmalloc
1771 distclean-host: maybe-distclean-patch
1772 distclean-host: maybe-distclean-perl
1773 distclean-host: maybe-distclean-prms
1774 distclean-host: maybe-distclean-rcs
1775 distclean-host: maybe-distclean-readline
1776 distclean-host: maybe-distclean-release
1777 distclean-host: maybe-distclean-recode
1778 distclean-host: maybe-distclean-sed
1779 distclean-host: maybe-distclean-send-pr
1780 distclean-host: maybe-distclean-shellutils
1781 distclean-host: maybe-distclean-sid
1782 distclean-host: maybe-distclean-sim
1783 distclean-host: maybe-distclean-tar
1784 distclean-host: maybe-distclean-texinfo
1785 distclean-host: maybe-distclean-textutils
1786 distclean-host: maybe-distclean-time
1787 distclean-host: maybe-distclean-uudecode
1788 distclean-host: maybe-distclean-wdiff
1789 distclean-host: maybe-distclean-zip
1790 distclean-host: maybe-distclean-zlib
1791 distclean-host: maybe-distclean-gdb
1792 distclean-host: maybe-distclean-expect
1793 distclean-host: maybe-distclean-guile
1794 distclean-host: maybe-distclean-tk
1795 distclean-host: maybe-distclean-libtermcap
1796 distclean-host: maybe-distclean-utils
1797 distclean-host: maybe-distclean-gnattools
1798
1799 .PHONY: distclean-target
1800
1801 distclean-target: maybe-distclean-target-libstdc++-v3
1802 distclean-target: maybe-distclean-target-libmudflap
1803 distclean-target: maybe-distclean-target-libssp
1804 distclean-target: maybe-distclean-target-newlib
1805 distclean-target: maybe-distclean-target-libgfortran
1806 distclean-target: maybe-distclean-target-libobjc
1807 distclean-target: maybe-distclean-target-libtermcap
1808 distclean-target: maybe-distclean-target-winsup
1809 distclean-target: maybe-distclean-target-libgloss
1810 distclean-target: maybe-distclean-target-libiberty
1811 distclean-target: maybe-distclean-target-gperf
1812 distclean-target: maybe-distclean-target-examples
1813 distclean-target: maybe-distclean-target-libffi
1814 distclean-target: maybe-distclean-target-libjava
1815 distclean-target: maybe-distclean-target-zlib
1816 distclean-target: maybe-distclean-target-boehm-gc
1817 distclean-target: maybe-distclean-target-qthreads
1818 distclean-target: maybe-distclean-target-rda
1819 distclean-target: maybe-distclean-target-libada
1820 distclean-target: maybe-distclean-target-libgomp
1821
1822 .PHONY: do-maintainer-clean
1823 do-maintainer-clean:
1824         @: $(MAKE); $(unstage)
1825         @r=`${PWD_COMMAND}`; export r; \
1826         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1827         $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1828           maintainer-clean-target
1829
1830
1831 .PHONY: maintainer-clean-host
1832
1833 maintainer-clean-host: maybe-maintainer-clean-ash
1834 maintainer-clean-host: maybe-maintainer-clean-autoconf
1835 maintainer-clean-host: maybe-maintainer-clean-automake
1836 maintainer-clean-host: maybe-maintainer-clean-bash
1837 maintainer-clean-host: maybe-maintainer-clean-bfd
1838 maintainer-clean-host: maybe-maintainer-clean-opcodes
1839 maintainer-clean-host: maybe-maintainer-clean-binutils
1840 maintainer-clean-host: maybe-maintainer-clean-bison
1841 maintainer-clean-host: maybe-maintainer-clean-byacc
1842 maintainer-clean-host: maybe-maintainer-clean-bzip2
1843 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1844 maintainer-clean-host: maybe-maintainer-clean-diff
1845 maintainer-clean-host: maybe-maintainer-clean-dosutils
1846 maintainer-clean-host: maybe-maintainer-clean-etc
1847 maintainer-clean-host: maybe-maintainer-clean-fastjar
1848 maintainer-clean-host: maybe-maintainer-clean-fileutils
1849 maintainer-clean-host: maybe-maintainer-clean-findutils
1850 maintainer-clean-host: maybe-maintainer-clean-find
1851 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1852 maintainer-clean-host: maybe-maintainer-clean-flex
1853 maintainer-clean-host: maybe-maintainer-clean-gas
1854 maintainer-clean-host: maybe-maintainer-clean-gcc
1855 maintainer-clean-host: maybe-maintainer-clean-gawk
1856 maintainer-clean-host: maybe-maintainer-clean-gettext
1857 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1858 maintainer-clean-host: maybe-maintainer-clean-gprof
1859 maintainer-clean-host: maybe-maintainer-clean-gzip
1860 maintainer-clean-host: maybe-maintainer-clean-hello
1861 maintainer-clean-host: maybe-maintainer-clean-indent
1862 maintainer-clean-host: maybe-maintainer-clean-intl
1863 maintainer-clean-host: maybe-maintainer-clean-tcl
1864 maintainer-clean-host: maybe-maintainer-clean-itcl
1865 maintainer-clean-host: maybe-maintainer-clean-ld
1866 maintainer-clean-host: maybe-maintainer-clean-libcpp
1867 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1868 maintainer-clean-host: maybe-maintainer-clean-libgui
1869 maintainer-clean-host: maybe-maintainer-clean-libiberty
1870 maintainer-clean-host: maybe-maintainer-clean-libtool
1871 maintainer-clean-host: maybe-maintainer-clean-m4
1872 maintainer-clean-host: maybe-maintainer-clean-make
1873 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1874 maintainer-clean-host: maybe-maintainer-clean-patch
1875 maintainer-clean-host: maybe-maintainer-clean-perl
1876 maintainer-clean-host: maybe-maintainer-clean-prms
1877 maintainer-clean-host: maybe-maintainer-clean-rcs
1878 maintainer-clean-host: maybe-maintainer-clean-readline
1879 maintainer-clean-host: maybe-maintainer-clean-release
1880 maintainer-clean-host: maybe-maintainer-clean-recode
1881 maintainer-clean-host: maybe-maintainer-clean-sed
1882 maintainer-clean-host: maybe-maintainer-clean-send-pr
1883 maintainer-clean-host: maybe-maintainer-clean-shellutils
1884 maintainer-clean-host: maybe-maintainer-clean-sid
1885 maintainer-clean-host: maybe-maintainer-clean-sim
1886 maintainer-clean-host: maybe-maintainer-clean-tar
1887 maintainer-clean-host: maybe-maintainer-clean-texinfo
1888 maintainer-clean-host: maybe-maintainer-clean-textutils
1889 maintainer-clean-host: maybe-maintainer-clean-time
1890 maintainer-clean-host: maybe-maintainer-clean-uudecode
1891 maintainer-clean-host: maybe-maintainer-clean-wdiff
1892 maintainer-clean-host: maybe-maintainer-clean-zip
1893 maintainer-clean-host: maybe-maintainer-clean-zlib
1894 maintainer-clean-host: maybe-maintainer-clean-gdb
1895 maintainer-clean-host: maybe-maintainer-clean-expect
1896 maintainer-clean-host: maybe-maintainer-clean-guile
1897 maintainer-clean-host: maybe-maintainer-clean-tk
1898 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1899 maintainer-clean-host: maybe-maintainer-clean-utils
1900 maintainer-clean-host: maybe-maintainer-clean-gnattools
1901
1902 .PHONY: maintainer-clean-target
1903
1904 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1905 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1906 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1907 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1908 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1909 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1910 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1911 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1912 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1913 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1914 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1915 maintainer-clean-target: maybe-maintainer-clean-target-examples
1916 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1917 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1918 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1919 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1920 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1921 maintainer-clean-target: maybe-maintainer-clean-target-rda
1922 maintainer-clean-target: maybe-maintainer-clean-target-libada
1923 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1924
1925
1926 # Here are the targets which correspond to the do-X targets.
1927
1928 .PHONY: info installcheck dvi html install-info install-html
1929 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1930 .PHONY: local-clean local-distclean local-maintainer-clean
1931 info: do-info
1932 installcheck: do-installcheck
1933 dvi: do-dvi
1934 html: do-html
1935
1936 # Make sure makeinfo is built before we do a `make info', if we're
1937 # in fact building texinfo.
1938 do-info: maybe-all-texinfo
1939
1940 install-info: do-install-info dir.info
1941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1942         if [ -f dir.info ] ; then \
1943           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1944         else true ; fi
1945
1946 install-html: do-install-html
1947
1948 local-clean:
1949         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1950
1951 local-distclean:
1952         -rm -f Makefile config.status config.cache mh-frag mt-frag
1953         -rm -f maybedep.tmp serdep.tmp
1954         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1955           rm -rf $(TARGET_SUBDIR); \
1956         else true; fi
1957         -rm -rf $(BUILD_SUBDIR)
1958         -if [ "$(HOST_SUBDIR)" != "." ]; then \
1959           rm -rf $(HOST_SUBDIR); \
1960         else true; fi
1961         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1962         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1963         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1964         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1965         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1966
1967 local-maintainer-clean:
1968         @echo "This command is intended for maintainers to use;"
1969         @echo "it deletes files that may require special tools to rebuild."
1970
1971 clean: do-clean local-clean
1972 mostlyclean: do-mostlyclean local-clean
1973 distclean: do-distclean local-clean local-distclean
1974 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
1975 maintainer-clean: local-distclean
1976 realclean: maintainer-clean
1977
1978 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1979 clean-target: clean-target-libgcc
1980 clean-target-libgcc:
1981         test ! -d gcc || (cd gcc && $(MAKE) $@)
1982
1983 # Check target.
1984
1985 .PHONY: check do-check
1986 check: do-check
1987
1988 # Only include modules actually being configured and built.
1989 .PHONY: check-host
1990 check-host:  \
1991     maybe-check-ash \
1992     maybe-check-autoconf \
1993     maybe-check-automake \
1994     maybe-check-bash \
1995     maybe-check-bfd \
1996     maybe-check-opcodes \
1997     maybe-check-binutils \
1998     maybe-check-bison \
1999     maybe-check-byacc \
2000     maybe-check-bzip2 \
2001     maybe-check-dejagnu \
2002     maybe-check-diff \
2003     maybe-check-dosutils \
2004     maybe-check-etc \
2005     maybe-check-fastjar \
2006     maybe-check-fileutils \
2007     maybe-check-findutils \
2008     maybe-check-find \
2009     maybe-check-fixincludes \
2010     maybe-check-flex \
2011     maybe-check-gas \
2012     maybe-check-gcc \
2013     maybe-check-gawk \
2014     maybe-check-gettext \
2015     maybe-check-gnuserv \
2016     maybe-check-gprof \
2017     maybe-check-gzip \
2018     maybe-check-hello \
2019     maybe-check-indent \
2020     maybe-check-intl \
2021     maybe-check-tcl \
2022     maybe-check-itcl \
2023     maybe-check-ld \
2024     maybe-check-libcpp \
2025     maybe-check-libdecnumber \
2026     maybe-check-libgui \
2027     maybe-check-libiberty \
2028     maybe-check-libtool \
2029     maybe-check-m4 \
2030     maybe-check-make \
2031     maybe-check-mmalloc \
2032     maybe-check-patch \
2033     maybe-check-perl \
2034     maybe-check-prms \
2035     maybe-check-rcs \
2036     maybe-check-readline \
2037     maybe-check-release \
2038     maybe-check-recode \
2039     maybe-check-sed \
2040     maybe-check-send-pr \
2041     maybe-check-shellutils \
2042     maybe-check-sid \
2043     maybe-check-sim \
2044     maybe-check-tar \
2045     maybe-check-texinfo \
2046     maybe-check-textutils \
2047     maybe-check-time \
2048     maybe-check-uudecode \
2049     maybe-check-wdiff \
2050     maybe-check-zip \
2051     maybe-check-zlib \
2052     maybe-check-gdb \
2053     maybe-check-expect \
2054     maybe-check-guile \
2055     maybe-check-tk \
2056     maybe-check-libtermcap \
2057     maybe-check-utils \
2058     maybe-check-gnattools
2059
2060 .PHONY: check-target
2061 check-target:  \
2062     maybe-check-target-libstdc++-v3 \
2063     maybe-check-target-libmudflap \
2064     maybe-check-target-libssp \
2065     maybe-check-target-newlib \
2066     maybe-check-target-libgfortran \
2067     maybe-check-target-libobjc \
2068     maybe-check-target-libtermcap \
2069     maybe-check-target-winsup \
2070     maybe-check-target-libgloss \
2071     maybe-check-target-libiberty \
2072     maybe-check-target-gperf \
2073     maybe-check-target-examples \
2074     maybe-check-target-libffi \
2075     maybe-check-target-libjava \
2076     maybe-check-target-zlib \
2077     maybe-check-target-boehm-gc \
2078     maybe-check-target-qthreads \
2079     maybe-check-target-rda \
2080     maybe-check-target-libada \
2081     maybe-check-target-libgomp
2082
2083 do-check:
2084         @: $(MAKE); $(unstage)
2085         @r=`${PWD_COMMAND}`; export r; \
2086         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2087         $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2088
2089 # Automated reporting of test results.
2090
2091 warning.log: build.log
2092         $(srcdir)/contrib/warn_summary build.log > $@
2093
2094 mail-report.log:
2095         if test x'$(BOOT_CFLAGS)' != x''; then \
2096             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2097         fi; \
2098         $(srcdir)/contrib/test_summary -t >$@
2099         chmod +x $@
2100         echo If you really want to send e-mail, run ./$@ now
2101
2102 mail-report-with-warnings.log: warning.log
2103         if test x'$(BOOT_CFLAGS)' != x''; then \
2104             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2105         fi; \
2106         $(srcdir)/contrib/test_summary -t -i warning.log >$@
2107         chmod +x $@
2108         echo If you really want to send e-mail, run ./$@ now
2109
2110 # Installation targets.
2111
2112 .PHONY: install uninstall
2113 install:
2114         @: $(MAKE); $(unstage)
2115         @r=`${PWD_COMMAND}`; export r; \
2116         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2117         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2118
2119 .PHONY: install-host-nogcc
2120 install-host-nogcc:  \
2121     maybe-install-ash \
2122     maybe-install-autoconf \
2123     maybe-install-automake \
2124     maybe-install-bash \
2125     maybe-install-bfd \
2126     maybe-install-opcodes \
2127     maybe-install-binutils \
2128     maybe-install-bison \
2129     maybe-install-byacc \
2130     maybe-install-bzip2 \
2131     maybe-install-dejagnu \
2132     maybe-install-diff \
2133     maybe-install-dosutils \
2134     maybe-install-etc \
2135     maybe-install-fastjar \
2136     maybe-install-fileutils \
2137     maybe-install-findutils \
2138     maybe-install-find \
2139     maybe-install-fixincludes \
2140     maybe-install-flex \
2141     maybe-install-gas \
2142     maybe-install-gawk \
2143     maybe-install-gettext \
2144     maybe-install-gnuserv \
2145     maybe-install-gprof \
2146     maybe-install-gzip \
2147     maybe-install-hello \
2148     maybe-install-indent \
2149     maybe-install-intl \
2150     maybe-install-tcl \
2151     maybe-install-itcl \
2152     maybe-install-ld \
2153     maybe-install-libcpp \
2154     maybe-install-libdecnumber \
2155     maybe-install-libgui \
2156     maybe-install-libiberty \
2157     maybe-install-libtool \
2158     maybe-install-m4 \
2159     maybe-install-make \
2160     maybe-install-mmalloc \
2161     maybe-install-patch \
2162     maybe-install-perl \
2163     maybe-install-prms \
2164     maybe-install-rcs \
2165     maybe-install-readline \
2166     maybe-install-release \
2167     maybe-install-recode \
2168     maybe-install-sed \
2169     maybe-install-send-pr \
2170     maybe-install-shellutils \
2171     maybe-install-sid \
2172     maybe-install-sim \
2173     maybe-install-tar \
2174     maybe-install-texinfo \
2175     maybe-install-textutils \
2176     maybe-install-time \
2177     maybe-install-uudecode \
2178     maybe-install-wdiff \
2179     maybe-install-zip \
2180     maybe-install-zlib \
2181     maybe-install-gdb \
2182     maybe-install-expect \
2183     maybe-install-guile \
2184     maybe-install-tk \
2185     maybe-install-libtermcap \
2186     maybe-install-utils \
2187     maybe-install-gnattools
2188
2189 .PHONY: install-host
2190 install-host:  \
2191     maybe-install-ash \
2192     maybe-install-autoconf \
2193     maybe-install-automake \
2194     maybe-install-bash \
2195     maybe-install-bfd \
2196     maybe-install-opcodes \
2197     maybe-install-binutils \
2198     maybe-install-bison \
2199     maybe-install-byacc \
2200     maybe-install-bzip2 \
2201     maybe-install-dejagnu \
2202     maybe-install-diff \
2203     maybe-install-dosutils \
2204     maybe-install-etc \
2205     maybe-install-fastjar \
2206     maybe-install-fileutils \
2207     maybe-install-findutils \
2208     maybe-install-find \
2209     maybe-install-fixincludes \
2210     maybe-install-flex \
2211     maybe-install-gas \
2212     maybe-install-gcc \
2213     maybe-install-gawk \
2214     maybe-install-gettext \
2215     maybe-install-gnuserv \
2216     maybe-install-gprof \
2217     maybe-install-gzip \
2218     maybe-install-hello \
2219     maybe-install-indent \
2220     maybe-install-intl \
2221     maybe-install-tcl \
2222     maybe-install-itcl \
2223     maybe-install-ld \
2224     maybe-install-libcpp \
2225     maybe-install-libdecnumber \
2226     maybe-install-libgui \
2227     maybe-install-libiberty \
2228     maybe-install-libtool \
2229     maybe-install-m4 \
2230     maybe-install-make \
2231     maybe-install-mmalloc \
2232     maybe-install-patch \
2233     maybe-install-perl \
2234     maybe-install-prms \
2235     maybe-install-rcs \
2236     maybe-install-readline \
2237     maybe-install-release \
2238     maybe-install-recode \
2239     maybe-install-sed \
2240     maybe-install-send-pr \
2241     maybe-install-shellutils \
2242     maybe-install-sid \
2243     maybe-install-sim \
2244     maybe-install-tar \
2245     maybe-install-texinfo \
2246     maybe-install-textutils \
2247     maybe-install-time \
2248     maybe-install-uudecode \
2249     maybe-install-wdiff \
2250     maybe-install-zip \
2251     maybe-install-zlib \
2252     maybe-install-gdb \
2253     maybe-install-expect \
2254     maybe-install-guile \
2255     maybe-install-tk \
2256     maybe-install-libtermcap \
2257     maybe-install-utils \
2258     maybe-install-gnattools
2259
2260 .PHONY: install-target
2261 install-target:  \
2262     maybe-install-target-libstdc++-v3 \
2263     maybe-install-target-libmudflap \
2264     maybe-install-target-libssp \
2265     maybe-install-target-newlib \
2266     maybe-install-target-libgfortran \
2267     maybe-install-target-libobjc \
2268     maybe-install-target-libtermcap \
2269     maybe-install-target-winsup \
2270     maybe-install-target-libgloss \
2271     maybe-install-target-libiberty \
2272     maybe-install-target-gperf \
2273     maybe-install-target-examples \
2274     maybe-install-target-libffi \
2275     maybe-install-target-libjava \
2276     maybe-install-target-zlib \
2277     maybe-install-target-boehm-gc \
2278     maybe-install-target-qthreads \
2279     maybe-install-target-rda \
2280     maybe-install-target-libada \
2281     maybe-install-target-libgomp
2282
2283 uninstall:
2284         @echo "the uninstall target is not supported in this tree"
2285
2286 .PHONY: install.all
2287 install.all: install-no-fixedincludes
2288         @if [ -f ./gcc/Makefile ] ; then \
2289                 r=`${PWD_COMMAND}` ; export r ; \
2290                 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2291                 $(HOST_EXPORTS) \
2292                 (cd ./gcc && \
2293                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2294         else \
2295                 true ; \
2296         fi
2297
2298 # install-no-fixedincludes is used because Cygnus can not distribute
2299 # the fixed header files.
2300 .PHONY: install-no-fixedincludes
2301 install-no-fixedincludes: installdirs install-host-nogcc \
2302         install-target gcc-no-fixedincludes
2303
2304 ### other supporting targets
2305
2306 MAKEDIRS= \
2307         $(DESTDIR)$(prefix) \
2308         $(DESTDIR)$(exec_prefix)
2309 .PHONY: installdirs
2310 installdirs: mkinstalldirs
2311         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2312
2313 dir.info: do-install-info
2314         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2315           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2316           mv -f dir.info.new dir.info ; \
2317         else true ; \
2318         fi
2319
2320 dist:
2321         @echo "Building a full distribution of this tree isn't done"
2322         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
2323
2324 etags tags: TAGS
2325
2326 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
2327 # ability to use several tags files at once, so there is probably no need
2328 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
2329 # (if we felt like it) have this Makefile write a piece of elisp which
2330 # the user could load to tell emacs19 where all the TAGS files we just
2331 # built are.
2332 TAGS: do-TAGS
2333
2334 # ------------------------------------
2335 # Macros for configure and all targets
2336 # ------------------------------------
2337
2338
2339
2340
2341
2342 # --------------------------------------
2343 # Modules which run on the build machine
2344 # --------------------------------------
2345
2346
2347 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2348 maybe-configure-build-libiberty:
2349 @if build-libiberty
2350 maybe-configure-build-libiberty: configure-build-libiberty
2351 configure-build-libiberty: 
2352         @: $(MAKE); $(unstage)
2353         @r=`${PWD_COMMAND}`; export r; \
2354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2355         test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2356         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2357         $(BUILD_EXPORTS) \
2358         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2359         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2360         case $(srcdir) in \
2361           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2362           *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2363                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2364         esac; \
2365         srcdiroption="--srcdir=$${topdir}/libiberty"; \
2366         libsrcdir="$$s/libiberty"; \
2367         rm -f no-such-file || : ; \
2368         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2369           $(BUILD_CONFIGARGS) $${srcdiroption}  \
2370           || exit 1
2371 @endif build-libiberty
2372
2373
2374
2375
2376
2377 .PHONY: all-build-libiberty maybe-all-build-libiberty
2378 maybe-all-build-libiberty:
2379 @if build-libiberty
2380 TARGET-build-libiberty=all
2381 maybe-all-build-libiberty: all-build-libiberty
2382 all-build-libiberty: configure-build-libiberty
2383         @: $(MAKE); $(unstage)
2384         @r=`${PWD_COMMAND}`; export r; \
2385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2386         $(BUILD_EXPORTS) \
2387         (cd $(BUILD_SUBDIR)/libiberty && \
2388           $(MAKE)   $(TARGET-build-libiberty))
2389 @endif build-libiberty
2390
2391
2392
2393
2394
2395 .PHONY: configure-build-bison maybe-configure-build-bison
2396 maybe-configure-build-bison:
2397 @if build-bison
2398 maybe-configure-build-bison: configure-build-bison
2399 configure-build-bison: 
2400         @: $(MAKE); $(unstage)
2401         @r=`${PWD_COMMAND}`; export r; \
2402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2403         test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2404         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2405         $(BUILD_EXPORTS) \
2406         echo Configuring in $(BUILD_SUBDIR)/bison; \
2407         cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2408         case $(srcdir) in \
2409           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2410           *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2411                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2412         esac; \
2413         srcdiroption="--srcdir=$${topdir}/bison"; \
2414         libsrcdir="$$s/bison"; \
2415         rm -f no-such-file || : ; \
2416         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2417           $(BUILD_CONFIGARGS) $${srcdiroption}  \
2418           || exit 1
2419 @endif build-bison
2420
2421
2422
2423
2424
2425 .PHONY: all-build-bison maybe-all-build-bison
2426 maybe-all-build-bison:
2427 @if build-bison
2428 TARGET-build-bison=all
2429 maybe-all-build-bison: all-build-bison
2430 all-build-bison: configure-build-bison
2431         @: $(MAKE); $(unstage)
2432         @r=`${PWD_COMMAND}`; export r; \
2433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2434         $(BUILD_EXPORTS) \
2435         (cd $(BUILD_SUBDIR)/bison && \
2436           $(MAKE)   $(TARGET-build-bison))
2437 @endif build-bison
2438
2439
2440
2441
2442
2443 .PHONY: configure-build-byacc maybe-configure-build-byacc
2444 maybe-configure-build-byacc:
2445 @if build-byacc
2446 maybe-configure-build-byacc: configure-build-byacc
2447 configure-build-byacc: 
2448         @: $(MAKE); $(unstage)
2449         @r=`${PWD_COMMAND}`; export r; \
2450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2451         test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2452         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2453         $(BUILD_EXPORTS) \
2454         echo Configuring in $(BUILD_SUBDIR)/byacc; \
2455         cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2456         case $(srcdir) in \
2457           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2458           *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2459                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2460         esac; \
2461         srcdiroption="--srcdir=$${topdir}/byacc"; \
2462         libsrcdir="$$s/byacc"; \
2463         rm -f no-such-file || : ; \
2464         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2465           $(BUILD_CONFIGARGS) $${srcdiroption}  \
2466           || exit 1
2467 @endif build-byacc
2468
2469
2470
2471
2472
2473 .PHONY: all-build-byacc maybe-all-build-byacc
2474 maybe-all-build-byacc:
2475 @if build-byacc
2476 TARGET-build-byacc=all
2477 maybe-all-build-byacc: all-build-byacc
2478 all-build-byacc: configure-build-byacc
2479         @: $(MAKE); $(unstage)
2480         @r=`${PWD_COMMAND}`; export r; \
2481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2482         $(BUILD_EXPORTS) \
2483         (cd $(BUILD_SUBDIR)/byacc && \
2484           $(MAKE)   $(TARGET-build-byacc))
2485 @endif build-byacc
2486
2487
2488
2489
2490
2491 .PHONY: configure-build-flex maybe-configure-build-flex
2492 maybe-configure-build-flex:
2493 @if build-flex
2494 maybe-configure-build-flex: configure-build-flex
2495 configure-build-flex: 
2496         @: $(MAKE); $(unstage)
2497         @r=`${PWD_COMMAND}`; export r; \
2498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2499         test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2500         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2501         $(BUILD_EXPORTS) \
2502         echo Configuring in $(BUILD_SUBDIR)/flex; \
2503         cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2504         case $(srcdir) in \
2505           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2506           *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2507                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2508         esac; \
2509         srcdiroption="--srcdir=$${topdir}/flex"; \
2510         libsrcdir="$$s/flex"; \
2511         rm -f no-such-file || : ; \
2512         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2513           $(BUILD_CONFIGARGS) $${srcdiroption}  \
2514           || exit 1
2515 @endif build-flex
2516
2517
2518
2519
2520
2521 .PHONY: all-build-flex maybe-all-build-flex
2522 maybe-all-build-flex:
2523 @if build-flex
2524 TARGET-build-flex=all
2525 maybe-all-build-flex: all-build-flex
2526 all-build-flex: configure-build-flex
2527         @: $(MAKE); $(unstage)
2528         @r=`${PWD_COMMAND}`; export r; \
2529         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2530         $(BUILD_EXPORTS) \
2531         (cd $(BUILD_SUBDIR)/flex && \
2532           $(MAKE)   $(TARGET-build-flex))
2533 @endif build-flex
2534
2535
2536
2537
2538
2539 .PHONY: configure-build-m4 maybe-configure-build-m4
2540 maybe-configure-build-m4:
2541 @if build-m4
2542 maybe-configure-build-m4: configure-build-m4
2543 configure-build-m4: 
2544         @: $(MAKE); $(unstage)
2545         @r=`${PWD_COMMAND}`; export r; \
2546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547         test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2548         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2549         $(BUILD_EXPORTS) \
2550         echo Configuring in $(BUILD_SUBDIR)/m4; \
2551         cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2552         case $(srcdir) in \
2553           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2554           *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2555                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2556         esac; \
2557         srcdiroption="--srcdir=$${topdir}/m4"; \
2558         libsrcdir="$$s/m4"; \
2559         rm -f no-such-file || : ; \
2560         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2561           $(BUILD_CONFIGARGS) $${srcdiroption}  \
2562           || exit 1
2563 @endif build-m4
2564
2565
2566
2567
2568
2569 .PHONY: all-build-m4 maybe-all-build-m4
2570 maybe-all-build-m4:
2571 @if build-m4
2572 TARGET-build-m4=all
2573 maybe-all-build-m4: all-build-m4
2574 all-build-m4: configure-build-m4
2575         @: $(MAKE); $(unstage)
2576         @r=`${PWD_COMMAND}`; export r; \
2577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2578         $(BUILD_EXPORTS) \
2579         (cd $(BUILD_SUBDIR)/m4 && \
2580           $(MAKE)   $(TARGET-build-m4))
2581 @endif build-m4
2582
2583
2584
2585
2586
2587 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2588 maybe-configure-build-texinfo:
2589 @if build-texinfo
2590 maybe-configure-build-texinfo: configure-build-texinfo
2591 configure-build-texinfo: 
2592         @: $(MAKE); $(unstage)
2593         @r=`${PWD_COMMAND}`; export r; \
2594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595         test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2596         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2597         $(BUILD_EXPORTS) \
2598         echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2599         cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2600         case $(srcdir) in \
2601           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2602           *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2603                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2604         esac; \
2605         srcdiroption="--srcdir=$${topdir}/texinfo"; \
2606         libsrcdir="$$s/texinfo"; \
2607         rm -f no-such-file || : ; \
2608         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2609           $(BUILD_CONFIGARGS) $${srcdiroption}  \
2610           || exit 1
2611 @endif build-texinfo
2612
2613
2614
2615
2616
2617 .PHONY: all-build-texinfo maybe-all-build-texinfo
2618 maybe-all-build-texinfo:
2619 @if build-texinfo
2620 TARGET-build-texinfo=all
2621 maybe-all-build-texinfo: all-build-texinfo
2622 all-build-texinfo: configure-build-texinfo
2623         @: $(MAKE); $(unstage)
2624         @r=`${PWD_COMMAND}`; export r; \
2625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2626         $(BUILD_EXPORTS) \
2627         (cd $(BUILD_SUBDIR)/texinfo && \
2628           $(MAKE)   $(TARGET-build-texinfo))
2629 @endif build-texinfo
2630
2631
2632
2633
2634
2635 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2636 maybe-configure-build-fixincludes:
2637 @if build-fixincludes
2638 maybe-configure-build-fixincludes: configure-build-fixincludes
2639 configure-build-fixincludes: 
2640         @: $(MAKE); $(unstage)
2641         @r=`${PWD_COMMAND}`; export r; \
2642         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2643         test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2644         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2645         $(BUILD_EXPORTS) \
2646         echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2647         cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2648         case $(srcdir) in \
2649           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2650           *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2651                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2652         esac; \
2653         srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2654         libsrcdir="$$s/fixincludes"; \
2655         rm -f no-such-file || : ; \
2656         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2657           $(BUILD_CONFIGARGS) $${srcdiroption}  \
2658           || exit 1
2659 @endif build-fixincludes
2660
2661
2662
2663
2664
2665 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2666 maybe-all-build-fixincludes:
2667 @if build-fixincludes
2668 TARGET-build-fixincludes=all
2669 maybe-all-build-fixincludes: all-build-fixincludes
2670 all-build-fixincludes: configure-build-fixincludes
2671         @: $(MAKE); $(unstage)
2672         @r=`${PWD_COMMAND}`; export r; \
2673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674         $(BUILD_EXPORTS) \
2675         (cd $(BUILD_SUBDIR)/fixincludes && \
2676           $(MAKE)   $(TARGET-build-fixincludes))
2677 @endif build-fixincludes
2678
2679
2680
2681
2682
2683 # --------------------------------------
2684 # Modules which run on the host machine
2685 # --------------------------------------
2686
2687
2688 .PHONY: configure-ash maybe-configure-ash
2689 maybe-configure-ash:
2690 @if ash
2691 maybe-configure-ash: configure-ash
2692 configure-ash: 
2693         @: $(MAKE); $(unstage)
2694         @r=`${PWD_COMMAND}`; export r; \
2695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2696         test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2697         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2698         $(HOST_EXPORTS) \
2699         echo Configuring in $(HOST_SUBDIR)/ash; \
2700         cd "$(HOST_SUBDIR)/ash" || exit 1; \
2701         case $(srcdir) in \
2702           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2703           *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2704                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2705         esac; \
2706         srcdiroption="--srcdir=$${topdir}/ash"; \
2707         libsrcdir="$$s/ash"; \
2708         $(SHELL) $${libsrcdir}/configure \
2709           $(HOST_CONFIGARGS) $${srcdiroption}  \
2710           || exit 1
2711 @endif ash
2712
2713
2714
2715
2716
2717 .PHONY: all-ash maybe-all-ash
2718 maybe-all-ash:
2719 @if ash
2720 TARGET-ash=all
2721 maybe-all-ash: all-ash
2722 all-ash: configure-ash
2723         @: $(MAKE); $(unstage)
2724         @r=`${PWD_COMMAND}`; export r; \
2725         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2726         $(HOST_EXPORTS) \
2727         (cd $(HOST_SUBDIR)/ash && \
2728           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-ash))
2729 @endif ash
2730
2731
2732
2733
2734 .PHONY: check-ash maybe-check-ash
2735 maybe-check-ash:
2736 @if ash
2737 maybe-check-ash: check-ash
2738
2739 check-ash:
2740         @: $(MAKE); $(unstage)
2741         @r=`${PWD_COMMAND}`; export r; \
2742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2743         $(HOST_EXPORTS) \
2744         (cd $(HOST_SUBDIR)/ash && \
2745           $(MAKE) $(FLAGS_TO_PASS)  check)
2746
2747 @endif ash
2748
2749 .PHONY: install-ash maybe-install-ash
2750 maybe-install-ash:
2751 @if ash
2752 maybe-install-ash: install-ash
2753
2754 install-ash: installdirs
2755         @: $(MAKE); $(unstage)
2756         @r=`${PWD_COMMAND}`; export r; \
2757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758         $(HOST_EXPORTS) \
2759         (cd $(HOST_SUBDIR)/ash && \
2760           $(MAKE) $(FLAGS_TO_PASS)  install)
2761
2762 @endif ash
2763
2764 # Other targets (info, dvi, etc.)
2765
2766 .PHONY: maybe-info-ash info-ash
2767 maybe-info-ash:
2768 @if ash
2769 maybe-info-ash: info-ash
2770
2771 info-ash: \
2772     configure-ash 
2773         @: $(MAKE); $(unstage)
2774         @[ -f ./ash/Makefile ] || exit 0; \
2775         r=`${PWD_COMMAND}`; export r; \
2776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2777         $(HOST_EXPORTS) \
2778         for flag in $(EXTRA_HOST_FLAGS) ; do \
2779           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2780         done; \
2781         echo "Doing info in ash" ; \
2782         (cd $(HOST_SUBDIR)/ash && \
2783           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2784                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2785                   "RANLIB=$${RANLIB}" \
2786                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2787                   info) \
2788           || exit 1
2789
2790 @endif ash
2791
2792 .PHONY: maybe-dvi-ash dvi-ash
2793 maybe-dvi-ash:
2794 @if ash
2795 maybe-dvi-ash: dvi-ash
2796
2797 dvi-ash: \
2798     configure-ash 
2799         @: $(MAKE); $(unstage)
2800         @[ -f ./ash/Makefile ] || exit 0; \
2801         r=`${PWD_COMMAND}`; export r; \
2802         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2803         $(HOST_EXPORTS) \
2804         for flag in $(EXTRA_HOST_FLAGS) ; do \
2805           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2806         done; \
2807         echo "Doing dvi in ash" ; \
2808         (cd $(HOST_SUBDIR)/ash && \
2809           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2810                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2811                   "RANLIB=$${RANLIB}" \
2812                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2813                   dvi) \
2814           || exit 1
2815
2816 @endif ash
2817
2818 .PHONY: maybe-html-ash html-ash
2819 maybe-html-ash:
2820 @if ash
2821 maybe-html-ash: html-ash
2822
2823 html-ash: \
2824     configure-ash 
2825         @: $(MAKE); $(unstage)
2826         @[ -f ./ash/Makefile ] || exit 0; \
2827         r=`${PWD_COMMAND}`; export r; \
2828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2829         $(HOST_EXPORTS) \
2830         for flag in $(EXTRA_HOST_FLAGS) ; do \
2831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2832         done; \
2833         echo "Doing html in ash" ; \
2834         (cd $(HOST_SUBDIR)/ash && \
2835           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2836                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2837                   "RANLIB=$${RANLIB}" \
2838                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2839                   html) \
2840           || exit 1
2841
2842 @endif ash
2843
2844 .PHONY: maybe-TAGS-ash TAGS-ash
2845 maybe-TAGS-ash:
2846 @if ash
2847 maybe-TAGS-ash: TAGS-ash
2848
2849 TAGS-ash: \
2850     configure-ash 
2851         @: $(MAKE); $(unstage)
2852         @[ -f ./ash/Makefile ] || exit 0; \
2853         r=`${PWD_COMMAND}`; export r; \
2854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855         $(HOST_EXPORTS) \
2856         for flag in $(EXTRA_HOST_FLAGS) ; do \
2857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2858         done; \
2859         echo "Doing TAGS in ash" ; \
2860         (cd $(HOST_SUBDIR)/ash && \
2861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2863                   "RANLIB=$${RANLIB}" \
2864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2865                   TAGS) \
2866           || exit 1
2867
2868 @endif ash
2869
2870 .PHONY: maybe-install-info-ash install-info-ash
2871 maybe-install-info-ash:
2872 @if ash
2873 maybe-install-info-ash: install-info-ash
2874
2875 install-info-ash: \
2876     configure-ash \
2877     info-ash 
2878         @: $(MAKE); $(unstage)
2879         @[ -f ./ash/Makefile ] || exit 0; \
2880         r=`${PWD_COMMAND}`; export r; \
2881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2882         $(HOST_EXPORTS) \
2883         for flag in $(EXTRA_HOST_FLAGS) ; do \
2884           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2885         done; \
2886         echo "Doing install-info in ash" ; \
2887         (cd $(HOST_SUBDIR)/ash && \
2888           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2889                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2890                   "RANLIB=$${RANLIB}" \
2891                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2892                   install-info) \
2893           || exit 1
2894
2895 @endif ash
2896
2897 .PHONY: maybe-install-html-ash install-html-ash
2898 maybe-install-html-ash:
2899 @if ash
2900 maybe-install-html-ash: install-html-ash
2901
2902 install-html-ash: \
2903     configure-ash \
2904     html-ash 
2905         @: $(MAKE); $(unstage)
2906         @[ -f ./ash/Makefile ] || exit 0; \
2907         r=`${PWD_COMMAND}`; export r; \
2908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2909         $(HOST_EXPORTS) \
2910         for flag in $(EXTRA_HOST_FLAGS) ; do \
2911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2912         done; \
2913         echo "Doing install-html in ash" ; \
2914         (cd $(HOST_SUBDIR)/ash && \
2915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2917                   "RANLIB=$${RANLIB}" \
2918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2919                   install-html) \
2920           || exit 1
2921
2922 @endif ash
2923
2924 .PHONY: maybe-installcheck-ash installcheck-ash
2925 maybe-installcheck-ash:
2926 @if ash
2927 maybe-installcheck-ash: installcheck-ash
2928
2929 installcheck-ash: \
2930     configure-ash 
2931         @: $(MAKE); $(unstage)
2932         @[ -f ./ash/Makefile ] || exit 0; \
2933         r=`${PWD_COMMAND}`; export r; \
2934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2935         $(HOST_EXPORTS) \
2936         for flag in $(EXTRA_HOST_FLAGS) ; do \
2937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2938         done; \
2939         echo "Doing installcheck in ash" ; \
2940         (cd $(HOST_SUBDIR)/ash && \
2941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2943                   "RANLIB=$${RANLIB}" \
2944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2945                   installcheck) \
2946           || exit 1
2947
2948 @endif ash
2949
2950 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2951 maybe-mostlyclean-ash:
2952 @if ash
2953 maybe-mostlyclean-ash: mostlyclean-ash
2954
2955 mostlyclean-ash: 
2956         @: $(MAKE); $(unstage)
2957         @[ -f ./ash/Makefile ] || exit 0; \
2958         r=`${PWD_COMMAND}`; export r; \
2959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960         $(HOST_EXPORTS) \
2961         for flag in $(EXTRA_HOST_FLAGS) ; do \
2962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963         done; \
2964         echo "Doing mostlyclean in ash" ; \
2965         (cd $(HOST_SUBDIR)/ash && \
2966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968                   "RANLIB=$${RANLIB}" \
2969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2970                   mostlyclean) \
2971           || exit 1
2972
2973 @endif ash
2974
2975 .PHONY: maybe-clean-ash clean-ash
2976 maybe-clean-ash:
2977 @if ash
2978 maybe-clean-ash: clean-ash
2979
2980 clean-ash: 
2981         @: $(MAKE); $(unstage)
2982         @[ -f ./ash/Makefile ] || exit 0; \
2983         r=`${PWD_COMMAND}`; export r; \
2984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985         $(HOST_EXPORTS) \
2986         for flag in $(EXTRA_HOST_FLAGS) ; do \
2987           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2988         done; \
2989         echo "Doing clean in ash" ; \
2990         (cd $(HOST_SUBDIR)/ash && \
2991           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2992                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2993                   "RANLIB=$${RANLIB}" \
2994                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2995                   clean) \
2996           || exit 1
2997
2998 @endif ash
2999
3000 .PHONY: maybe-distclean-ash distclean-ash
3001 maybe-distclean-ash:
3002 @if ash
3003 maybe-distclean-ash: distclean-ash
3004
3005 distclean-ash: 
3006         @: $(MAKE); $(unstage)
3007         @[ -f ./ash/Makefile ] || exit 0; \
3008         r=`${PWD_COMMAND}`; export r; \
3009         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010         $(HOST_EXPORTS) \
3011         for flag in $(EXTRA_HOST_FLAGS) ; do \
3012           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3013         done; \
3014         echo "Doing distclean in ash" ; \
3015         (cd $(HOST_SUBDIR)/ash && \
3016           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3017                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3018                   "RANLIB=$${RANLIB}" \
3019                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3020                   distclean) \
3021           || exit 1
3022
3023 @endif ash
3024
3025 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3026 maybe-maintainer-clean-ash:
3027 @if ash
3028 maybe-maintainer-clean-ash: maintainer-clean-ash
3029
3030 maintainer-clean-ash: 
3031         @: $(MAKE); $(unstage)
3032         @[ -f ./ash/Makefile ] || exit 0; \
3033         r=`${PWD_COMMAND}`; export r; \
3034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035         $(HOST_EXPORTS) \
3036         for flag in $(EXTRA_HOST_FLAGS) ; do \
3037           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038         done; \
3039         echo "Doing maintainer-clean in ash" ; \
3040         (cd $(HOST_SUBDIR)/ash && \
3041           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043                   "RANLIB=$${RANLIB}" \
3044                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045                   maintainer-clean) \
3046           || exit 1
3047
3048 @endif ash
3049
3050
3051
3052 .PHONY: configure-autoconf maybe-configure-autoconf
3053 maybe-configure-autoconf:
3054 @if autoconf
3055 maybe-configure-autoconf: configure-autoconf
3056 configure-autoconf: 
3057         @: $(MAKE); $(unstage)
3058         @r=`${PWD_COMMAND}`; export r; \
3059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3060         test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3061         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3062         $(HOST_EXPORTS) \
3063         echo Configuring in $(HOST_SUBDIR)/autoconf; \
3064         cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3065         case $(srcdir) in \
3066           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3067           *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3068                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3069         esac; \
3070         srcdiroption="--srcdir=$${topdir}/autoconf"; \
3071         libsrcdir="$$s/autoconf"; \
3072         $(SHELL) $${libsrcdir}/configure \
3073           $(HOST_CONFIGARGS) $${srcdiroption}  \
3074           || exit 1
3075 @endif autoconf
3076
3077
3078
3079
3080
3081 .PHONY: all-autoconf maybe-all-autoconf
3082 maybe-all-autoconf:
3083 @if autoconf
3084 TARGET-autoconf=all
3085 maybe-all-autoconf: all-autoconf
3086 all-autoconf: configure-autoconf
3087         @: $(MAKE); $(unstage)
3088         @r=`${PWD_COMMAND}`; export r; \
3089         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090         $(HOST_EXPORTS) \
3091         (cd $(HOST_SUBDIR)/autoconf && \
3092           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-autoconf))
3093 @endif autoconf
3094
3095
3096
3097
3098 .PHONY: check-autoconf maybe-check-autoconf
3099 maybe-check-autoconf:
3100 @if autoconf
3101 maybe-check-autoconf: check-autoconf
3102
3103 check-autoconf:
3104         @: $(MAKE); $(unstage)
3105         @r=`${PWD_COMMAND}`; export r; \
3106         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3107         $(HOST_EXPORTS) \
3108         (cd $(HOST_SUBDIR)/autoconf && \
3109           $(MAKE) $(FLAGS_TO_PASS)  check)
3110
3111 @endif autoconf
3112
3113 .PHONY: install-autoconf maybe-install-autoconf
3114 maybe-install-autoconf:
3115 @if autoconf
3116 maybe-install-autoconf: install-autoconf
3117
3118 install-autoconf: installdirs
3119         @: $(MAKE); $(unstage)
3120         @r=`${PWD_COMMAND}`; export r; \
3121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122         $(HOST_EXPORTS) \
3123         (cd $(HOST_SUBDIR)/autoconf && \
3124           $(MAKE) $(FLAGS_TO_PASS)  install)
3125
3126 @endif autoconf
3127
3128 # Other targets (info, dvi, etc.)
3129
3130 .PHONY: maybe-info-autoconf info-autoconf
3131 maybe-info-autoconf:
3132 @if autoconf
3133 maybe-info-autoconf: info-autoconf
3134
3135 info-autoconf: \
3136     configure-autoconf 
3137         @: $(MAKE); $(unstage)
3138         @[ -f ./autoconf/Makefile ] || exit 0; \
3139         r=`${PWD_COMMAND}`; export r; \
3140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3141         $(HOST_EXPORTS) \
3142         for flag in $(EXTRA_HOST_FLAGS) ; do \
3143           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3144         done; \
3145         echo "Doing info in autoconf" ; \
3146         (cd $(HOST_SUBDIR)/autoconf && \
3147           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3148                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3149                   "RANLIB=$${RANLIB}" \
3150                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3151                   info) \
3152           || exit 1
3153
3154 @endif autoconf
3155
3156 .PHONY: maybe-dvi-autoconf dvi-autoconf
3157 maybe-dvi-autoconf:
3158 @if autoconf
3159 maybe-dvi-autoconf: dvi-autoconf
3160
3161 dvi-autoconf: \
3162     configure-autoconf 
3163         @: $(MAKE); $(unstage)
3164         @[ -f ./autoconf/Makefile ] || exit 0; \
3165         r=`${PWD_COMMAND}`; export r; \
3166         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3167         $(HOST_EXPORTS) \
3168         for flag in $(EXTRA_HOST_FLAGS) ; do \
3169           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3170         done; \
3171         echo "Doing dvi in autoconf" ; \
3172         (cd $(HOST_SUBDIR)/autoconf && \
3173           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3174                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3175                   "RANLIB=$${RANLIB}" \
3176                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3177                   dvi) \
3178           || exit 1
3179
3180 @endif autoconf
3181
3182 .PHONY: maybe-html-autoconf html-autoconf
3183 maybe-html-autoconf:
3184 @if autoconf
3185 maybe-html-autoconf: html-autoconf
3186
3187 html-autoconf: \
3188     configure-autoconf 
3189         @: $(MAKE); $(unstage)
3190         @[ -f ./autoconf/Makefile ] || exit 0; \
3191         r=`${PWD_COMMAND}`; export r; \
3192         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193         $(HOST_EXPORTS) \
3194         for flag in $(EXTRA_HOST_FLAGS) ; do \
3195           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3196         done; \
3197         echo "Doing html in autoconf" ; \
3198         (cd $(HOST_SUBDIR)/autoconf && \
3199           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201                   "RANLIB=$${RANLIB}" \
3202                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3203                   html) \
3204           || exit 1
3205
3206 @endif autoconf
3207
3208 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3209 maybe-TAGS-autoconf:
3210 @if autoconf
3211 maybe-TAGS-autoconf: TAGS-autoconf
3212
3213 TAGS-autoconf: \
3214     configure-autoconf 
3215         @: $(MAKE); $(unstage)
3216         @[ -f ./autoconf/Makefile ] || exit 0; \
3217         r=`${PWD_COMMAND}`; export r; \
3218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219         $(HOST_EXPORTS) \
3220         for flag in $(EXTRA_HOST_FLAGS) ; do \
3221           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222         done; \
3223         echo "Doing TAGS in autoconf" ; \
3224         (cd $(HOST_SUBDIR)/autoconf && \
3225           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227                   "RANLIB=$${RANLIB}" \
3228                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3229                   TAGS) \
3230           || exit 1
3231
3232 @endif autoconf
3233
3234 .PHONY: maybe-install-info-autoconf install-info-autoconf
3235 maybe-install-info-autoconf:
3236 @if autoconf
3237 maybe-install-info-autoconf: install-info-autoconf
3238
3239 install-info-autoconf: \
3240     configure-autoconf \
3241     info-autoconf 
3242         @: $(MAKE); $(unstage)
3243         @[ -f ./autoconf/Makefile ] || exit 0; \
3244         r=`${PWD_COMMAND}`; export r; \
3245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3246         $(HOST_EXPORTS) \
3247         for flag in $(EXTRA_HOST_FLAGS) ; do \
3248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3249         done; \
3250         echo "Doing install-info in autoconf" ; \
3251         (cd $(HOST_SUBDIR)/autoconf && \
3252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3254                   "RANLIB=$${RANLIB}" \
3255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3256                   install-info) \
3257           || exit 1
3258
3259 @endif autoconf
3260
3261 .PHONY: maybe-install-html-autoconf install-html-autoconf
3262 maybe-install-html-autoconf:
3263 @if autoconf
3264 maybe-install-html-autoconf: install-html-autoconf
3265
3266 install-html-autoconf: \
3267     configure-autoconf \
3268     html-autoconf 
3269         @: $(MAKE); $(unstage)
3270         @[ -f ./autoconf/Makefile ] || exit 0; \
3271         r=`${PWD_COMMAND}`; export r; \
3272         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273         $(HOST_EXPORTS) \
3274         for flag in $(EXTRA_HOST_FLAGS) ; do \
3275           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3276         done; \
3277         echo "Doing install-html in autoconf" ; \
3278         (cd $(HOST_SUBDIR)/autoconf && \
3279           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3280                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3281                   "RANLIB=$${RANLIB}" \
3282                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3283                   install-html) \
3284           || exit 1
3285
3286 @endif autoconf
3287
3288 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3289 maybe-installcheck-autoconf:
3290 @if autoconf
3291 maybe-installcheck-autoconf: installcheck-autoconf
3292
3293 installcheck-autoconf: \
3294     configure-autoconf 
3295         @: $(MAKE); $(unstage)
3296         @[ -f ./autoconf/Makefile ] || exit 0; \
3297         r=`${PWD_COMMAND}`; export r; \
3298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3299         $(HOST_EXPORTS) \
3300         for flag in $(EXTRA_HOST_FLAGS) ; do \
3301           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3302         done; \
3303         echo "Doing installcheck in autoconf" ; \
3304         (cd $(HOST_SUBDIR)/autoconf && \
3305           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3306                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3307                   "RANLIB=$${RANLIB}" \
3308                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3309                   installcheck) \
3310           || exit 1
3311
3312 @endif autoconf
3313
3314 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3315 maybe-mostlyclean-autoconf:
3316 @if autoconf
3317 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3318
3319 mostlyclean-autoconf: 
3320         @: $(MAKE); $(unstage)
3321         @[ -f ./autoconf/Makefile ] || exit 0; \
3322         r=`${PWD_COMMAND}`; export r; \
3323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324         $(HOST_EXPORTS) \
3325         for flag in $(EXTRA_HOST_FLAGS) ; do \
3326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3327         done; \
3328         echo "Doing mostlyclean in autoconf" ; \
3329         (cd $(HOST_SUBDIR)/autoconf && \
3330           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3331                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3332                   "RANLIB=$${RANLIB}" \
3333                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3334                   mostlyclean) \
3335           || exit 1
3336
3337 @endif autoconf
3338
3339 .PHONY: maybe-clean-autoconf clean-autoconf
3340 maybe-clean-autoconf:
3341 @if autoconf
3342 maybe-clean-autoconf: clean-autoconf
3343
3344 clean-autoconf: 
3345         @: $(MAKE); $(unstage)
3346         @[ -f ./autoconf/Makefile ] || exit 0; \
3347         r=`${PWD_COMMAND}`; export r; \
3348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349         $(HOST_EXPORTS) \
3350         for flag in $(EXTRA_HOST_FLAGS) ; do \
3351           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3352         done; \
3353         echo "Doing clean in autoconf" ; \
3354         (cd $(HOST_SUBDIR)/autoconf && \
3355           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3356                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3357                   "RANLIB=$${RANLIB}" \
3358                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3359                   clean) \
3360           || exit 1
3361
3362 @endif autoconf
3363
3364 .PHONY: maybe-distclean-autoconf distclean-autoconf
3365 maybe-distclean-autoconf:
3366 @if autoconf
3367 maybe-distclean-autoconf: distclean-autoconf
3368
3369 distclean-autoconf: 
3370         @: $(MAKE); $(unstage)
3371         @[ -f ./autoconf/Makefile ] || exit 0; \
3372         r=`${PWD_COMMAND}`; export r; \
3373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374         $(HOST_EXPORTS) \
3375         for flag in $(EXTRA_HOST_FLAGS) ; do \
3376           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3377         done; \
3378         echo "Doing distclean in autoconf" ; \
3379         (cd $(HOST_SUBDIR)/autoconf && \
3380           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3381                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3382                   "RANLIB=$${RANLIB}" \
3383                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3384                   distclean) \
3385           || exit 1
3386
3387 @endif autoconf
3388
3389 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3390 maybe-maintainer-clean-autoconf:
3391 @if autoconf
3392 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3393
3394 maintainer-clean-autoconf: 
3395         @: $(MAKE); $(unstage)
3396         @[ -f ./autoconf/Makefile ] || exit 0; \
3397         r=`${PWD_COMMAND}`; export r; \
3398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399         $(HOST_EXPORTS) \
3400         for flag in $(EXTRA_HOST_FLAGS) ; do \
3401           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3402         done; \
3403         echo "Doing maintainer-clean in autoconf" ; \
3404         (cd $(HOST_SUBDIR)/autoconf && \
3405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407                   "RANLIB=$${RANLIB}" \
3408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3409                   maintainer-clean) \
3410           || exit 1
3411
3412 @endif autoconf
3413
3414
3415
3416 .PHONY: configure-automake maybe-configure-automake
3417 maybe-configure-automake:
3418 @if automake
3419 maybe-configure-automake: configure-automake
3420 configure-automake: 
3421         @: $(MAKE); $(unstage)
3422         @r=`${PWD_COMMAND}`; export r; \
3423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3424         test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3425         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3426         $(HOST_EXPORTS) \
3427         echo Configuring in $(HOST_SUBDIR)/automake; \
3428         cd "$(HOST_SUBDIR)/automake" || exit 1; \
3429         case $(srcdir) in \
3430           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3431           *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3432                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3433         esac; \
3434         srcdiroption="--srcdir=$${topdir}/automake"; \
3435         libsrcdir="$$s/automake"; \
3436         $(SHELL) $${libsrcdir}/configure \
3437           $(HOST_CONFIGARGS) $${srcdiroption}  \
3438           || exit 1
3439 @endif automake
3440
3441
3442
3443
3444
3445 .PHONY: all-automake maybe-all-automake
3446 maybe-all-automake:
3447 @if automake
3448 TARGET-automake=all
3449 maybe-all-automake: all-automake
3450 all-automake: configure-automake
3451         @: $(MAKE); $(unstage)
3452         @r=`${PWD_COMMAND}`; export r; \
3453         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3454         $(HOST_EXPORTS) \
3455         (cd $(HOST_SUBDIR)/automake && \
3456           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-automake))
3457 @endif automake
3458
3459
3460
3461
3462 .PHONY: check-automake maybe-check-automake
3463 maybe-check-automake:
3464 @if automake
3465 maybe-check-automake: check-automake
3466
3467 check-automake:
3468         @: $(MAKE); $(unstage)
3469         @r=`${PWD_COMMAND}`; export r; \
3470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3471         $(HOST_EXPORTS) \
3472         (cd $(HOST_SUBDIR)/automake && \
3473           $(MAKE) $(FLAGS_TO_PASS)  check)
3474
3475 @endif automake
3476
3477 .PHONY: install-automake maybe-install-automake
3478 maybe-install-automake:
3479 @if automake
3480 maybe-install-automake: install-automake
3481
3482 install-automake: installdirs
3483         @: $(MAKE); $(unstage)
3484         @r=`${PWD_COMMAND}`; export r; \
3485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3486         $(HOST_EXPORTS) \
3487         (cd $(HOST_SUBDIR)/automake && \
3488           $(MAKE) $(FLAGS_TO_PASS)  install)
3489
3490 @endif automake
3491
3492 # Other targets (info, dvi, etc.)
3493
3494 .PHONY: maybe-info-automake info-automake
3495 maybe-info-automake:
3496 @if automake
3497 maybe-info-automake: info-automake
3498
3499 info-automake: \
3500     configure-automake 
3501         @: $(MAKE); $(unstage)
3502         @[ -f ./automake/Makefile ] || exit 0; \
3503         r=`${PWD_COMMAND}`; export r; \
3504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505         $(HOST_EXPORTS) \
3506         for flag in $(EXTRA_HOST_FLAGS) ; do \
3507           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3508         done; \
3509         echo "Doing info in automake" ; \
3510         (cd $(HOST_SUBDIR)/automake && \
3511           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3512                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3513                   "RANLIB=$${RANLIB}" \
3514                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3515                   info) \
3516           || exit 1
3517
3518 @endif automake
3519
3520 .PHONY: maybe-dvi-automake dvi-automake
3521 maybe-dvi-automake:
3522 @if automake
3523 maybe-dvi-automake: dvi-automake
3524
3525 dvi-automake: \
3526     configure-automake 
3527         @: $(MAKE); $(unstage)
3528         @[ -f ./automake/Makefile ] || exit 0; \
3529         r=`${PWD_COMMAND}`; export r; \
3530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3531         $(HOST_EXPORTS) \
3532         for flag in $(EXTRA_HOST_FLAGS) ; do \
3533           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3534         done; \
3535         echo "Doing dvi in automake" ; \
3536         (cd $(HOST_SUBDIR)/automake && \
3537           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3538                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3539                   "RANLIB=$${RANLIB}" \
3540                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3541                   dvi) \
3542           || exit 1
3543
3544 @endif automake
3545
3546 .PHONY: maybe-html-automake html-automake
3547 maybe-html-automake:
3548 @if automake
3549 maybe-html-automake: html-automake
3550
3551 html-automake: \
3552     configure-automake 
3553         @: $(MAKE); $(unstage)
3554         @[ -f ./automake/Makefile ] || exit 0; \
3555         r=`${PWD_COMMAND}`; export r; \
3556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3557         $(HOST_EXPORTS) \
3558         for flag in $(EXTRA_HOST_FLAGS) ; do \
3559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3560         done; \
3561         echo "Doing html in automake" ; \
3562         (cd $(HOST_SUBDIR)/automake && \
3563           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3564                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3565                   "RANLIB=$${RANLIB}" \
3566                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3567                   html) \
3568           || exit 1
3569
3570 @endif automake
3571
3572 .PHONY: maybe-TAGS-automake TAGS-automake
3573 maybe-TAGS-automake:
3574 @if automake
3575 maybe-TAGS-automake: TAGS-automake
3576
3577 TAGS-automake: \
3578     configure-automake 
3579         @: $(MAKE); $(unstage)
3580         @[ -f ./automake/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 TAGS in automake" ; \
3588         (cd $(HOST_SUBDIR)/automake && \
3589           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3590                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3591                   "RANLIB=$${RANLIB}" \
3592                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3593                   TAGS) \
3594           || exit 1
3595
3596 @endif automake
3597
3598 .PHONY: maybe-install-info-automake install-info-automake
3599 maybe-install-info-automake:
3600 @if automake
3601 maybe-install-info-automake: install-info-automake
3602
3603 install-info-automake: \
3604     configure-automake \
3605     info-automake 
3606         @: $(MAKE); $(unstage)
3607         @[ -f ./automake/Makefile ] || exit 0; \
3608         r=`${PWD_COMMAND}`; export r; \
3609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3610         $(HOST_EXPORTS) \
3611         for flag in $(EXTRA_HOST_FLAGS) ; do \
3612           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3613         done; \
3614         echo "Doing install-info in automake" ; \
3615         (cd $(HOST_SUBDIR)/automake && \
3616           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3617                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3618                   "RANLIB=$${RANLIB}" \
3619                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3620                   install-info) \
3621           || exit 1
3622
3623 @endif automake
3624
3625 .PHONY: maybe-install-html-automake install-html-automake
3626 maybe-install-html-automake:
3627 @if automake
3628 maybe-install-html-automake: install-html-automake
3629
3630 install-html-automake: \
3631     configure-automake \
3632     html-automake 
3633         @: $(MAKE); $(unstage)
3634         @[ -f ./automake/Makefile ] || exit 0; \
3635         r=`${PWD_COMMAND}`; export r; \
3636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3637         $(HOST_EXPORTS) \
3638         for flag in $(EXTRA_HOST_FLAGS) ; do \
3639           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3640         done; \
3641         echo "Doing install-html in automake" ; \
3642         (cd $(HOST_SUBDIR)/automake && \
3643           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3644                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3645                   "RANLIB=$${RANLIB}" \
3646                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3647                   install-html) \
3648           || exit 1
3649
3650 @endif automake
3651
3652 .PHONY: maybe-installcheck-automake installcheck-automake
3653 maybe-installcheck-automake:
3654 @if automake
3655 maybe-installcheck-automake: installcheck-automake
3656
3657 installcheck-automake: \
3658     configure-automake 
3659         @: $(MAKE); $(unstage)
3660         @[ -f ./automake/Makefile ] || exit 0; \
3661         r=`${PWD_COMMAND}`; export r; \
3662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663         $(HOST_EXPORTS) \
3664         for flag in $(EXTRA_HOST_FLAGS) ; do \
3665           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3666         done; \
3667         echo "Doing installcheck in automake" ; \
3668         (cd $(HOST_SUBDIR)/automake && \
3669           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3670                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3671                   "RANLIB=$${RANLIB}" \
3672                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3673                   installcheck) \
3674           || exit 1
3675
3676 @endif automake
3677
3678 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3679 maybe-mostlyclean-automake:
3680 @if automake
3681 maybe-mostlyclean-automake: mostlyclean-automake
3682
3683 mostlyclean-automake: 
3684         @: $(MAKE); $(unstage)
3685         @[ -f ./automake/Makefile ] || exit 0; \
3686         r=`${PWD_COMMAND}`; export r; \
3687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688         $(HOST_EXPORTS) \
3689         for flag in $(EXTRA_HOST_FLAGS) ; do \
3690           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691         done; \
3692         echo "Doing mostlyclean in automake" ; \
3693         (cd $(HOST_SUBDIR)/automake && \
3694           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696                   "RANLIB=$${RANLIB}" \
3697                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3698                   mostlyclean) \
3699           || exit 1
3700
3701 @endif automake
3702
3703 .PHONY: maybe-clean-automake clean-automake
3704 maybe-clean-automake:
3705 @if automake
3706 maybe-clean-automake: clean-automake
3707
3708 clean-automake: 
3709         @: $(MAKE); $(unstage)
3710         @[ -f ./automake/Makefile ] || exit 0; \
3711         r=`${PWD_COMMAND}`; export r; \
3712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713         $(HOST_EXPORTS) \
3714         for flag in $(EXTRA_HOST_FLAGS) ; do \
3715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3716         done; \
3717         echo "Doing clean in automake" ; \
3718         (cd $(HOST_SUBDIR)/automake && \
3719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721                   "RANLIB=$${RANLIB}" \
3722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3723                   clean) \
3724           || exit 1
3725
3726 @endif automake
3727
3728 .PHONY: maybe-distclean-automake distclean-automake
3729 maybe-distclean-automake:
3730 @if automake
3731 maybe-distclean-automake: distclean-automake
3732
3733 distclean-automake: 
3734         @: $(MAKE); $(unstage)
3735         @[ -f ./automake/Makefile ] || exit 0; \
3736         r=`${PWD_COMMAND}`; export r; \
3737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3738         $(HOST_EXPORTS) \
3739         for flag in $(EXTRA_HOST_FLAGS) ; do \
3740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3741         done; \
3742         echo "Doing distclean in automake" ; \
3743         (cd $(HOST_SUBDIR)/automake && \
3744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3746                   "RANLIB=$${RANLIB}" \
3747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3748                   distclean) \
3749           || exit 1
3750
3751 @endif automake
3752
3753 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3754 maybe-maintainer-clean-automake:
3755 @if automake
3756 maybe-maintainer-clean-automake: maintainer-clean-automake
3757
3758 maintainer-clean-automake: 
3759         @: $(MAKE); $(unstage)
3760         @[ -f ./automake/Makefile ] || exit 0; \
3761         r=`${PWD_COMMAND}`; export r; \
3762         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3763         $(HOST_EXPORTS) \
3764         for flag in $(EXTRA_HOST_FLAGS) ; do \
3765           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3766         done; \
3767         echo "Doing maintainer-clean in automake" ; \
3768         (cd $(HOST_SUBDIR)/automake && \
3769           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3770                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3771                   "RANLIB=$${RANLIB}" \
3772                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3773                   maintainer-clean) \
3774           || exit 1
3775
3776 @endif automake
3777
3778
3779
3780 .PHONY: configure-bash maybe-configure-bash
3781 maybe-configure-bash:
3782 @if bash
3783 maybe-configure-bash: configure-bash
3784 configure-bash: 
3785         @: $(MAKE); $(unstage)
3786         @r=`${PWD_COMMAND}`; export r; \
3787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3788         test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3789         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3790         $(HOST_EXPORTS) \
3791         echo Configuring in $(HOST_SUBDIR)/bash; \
3792         cd "$(HOST_SUBDIR)/bash" || exit 1; \
3793         case $(srcdir) in \
3794           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3795           *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3796                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3797         esac; \
3798         srcdiroption="--srcdir=$${topdir}/bash"; \
3799         libsrcdir="$$s/bash"; \
3800         $(SHELL) $${libsrcdir}/configure \
3801           $(HOST_CONFIGARGS) $${srcdiroption}  \
3802           || exit 1
3803 @endif bash
3804
3805
3806
3807
3808
3809 .PHONY: all-bash maybe-all-bash
3810 maybe-all-bash:
3811 @if bash
3812 TARGET-bash=all
3813 maybe-all-bash: all-bash
3814 all-bash: configure-bash
3815         @: $(MAKE); $(unstage)
3816         @r=`${PWD_COMMAND}`; export r; \
3817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3818         $(HOST_EXPORTS) \
3819         (cd $(HOST_SUBDIR)/bash && \
3820           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-bash))
3821 @endif bash
3822
3823
3824
3825
3826 .PHONY: check-bash maybe-check-bash
3827 maybe-check-bash:
3828 @if bash
3829 maybe-check-bash: check-bash
3830
3831 check-bash:
3832         @: $(MAKE); $(unstage)
3833         @r=`${PWD_COMMAND}`; export r; \
3834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3835         $(HOST_EXPORTS) \
3836         (cd $(HOST_SUBDIR)/bash && \
3837           $(MAKE) $(FLAGS_TO_PASS)  check)
3838
3839 @endif bash
3840
3841 .PHONY: install-bash maybe-install-bash
3842 maybe-install-bash:
3843 @if bash
3844 maybe-install-bash: install-bash
3845
3846 install-bash: installdirs
3847         @: $(MAKE); $(unstage)
3848         @r=`${PWD_COMMAND}`; export r; \
3849         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3850         $(HOST_EXPORTS) \
3851         (cd $(HOST_SUBDIR)/bash && \
3852           $(MAKE) $(FLAGS_TO_PASS)  install)
3853
3854 @endif bash
3855
3856 # Other targets (info, dvi, etc.)
3857
3858 .PHONY: maybe-info-bash info-bash
3859 maybe-info-bash:
3860 @if bash
3861 maybe-info-bash: info-bash
3862
3863 info-bash: \
3864     configure-bash 
3865         @: $(MAKE); $(unstage)
3866         @[ -f ./bash/Makefile ] || exit 0; \
3867         r=`${PWD_COMMAND}`; export r; \
3868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3869         $(HOST_EXPORTS) \
3870         for flag in $(EXTRA_HOST_FLAGS) ; do \
3871           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3872         done; \
3873         echo "Doing info in bash" ; \
3874         (cd $(HOST_SUBDIR)/bash && \
3875           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3876                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3877                   "RANLIB=$${RANLIB}" \
3878                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3879                   info) \
3880           || exit 1
3881
3882 @endif bash
3883
3884 .PHONY: maybe-dvi-bash dvi-bash
3885 maybe-dvi-bash:
3886 @if bash
3887 maybe-dvi-bash: dvi-bash
3888
3889 dvi-bash: \
3890     configure-bash 
3891         @: $(MAKE); $(unstage)
3892         @[ -f ./bash/Makefile ] || exit 0; \
3893         r=`${PWD_COMMAND}`; export r; \
3894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3895         $(HOST_EXPORTS) \
3896         for flag in $(EXTRA_HOST_FLAGS) ; do \
3897           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3898         done; \
3899         echo "Doing dvi in bash" ; \
3900         (cd $(HOST_SUBDIR)/bash && \
3901           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3902                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3903                   "RANLIB=$${RANLIB}" \
3904                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3905                   dvi) \
3906           || exit 1
3907
3908 @endif bash
3909
3910 .PHONY: maybe-html-bash html-bash
3911 maybe-html-bash:
3912 @if bash
3913 maybe-html-bash: html-bash
3914
3915 html-bash: \
3916     configure-bash 
3917         @: $(MAKE); $(unstage)
3918         @[ -f ./bash/Makefile ] || exit 0; \
3919         r=`${PWD_COMMAND}`; export r; \
3920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3921         $(HOST_EXPORTS) \
3922         for flag in $(EXTRA_HOST_FLAGS) ; do \
3923           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3924         done; \
3925         echo "Doing html in bash" ; \
3926         (cd $(HOST_SUBDIR)/bash && \
3927           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3928                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3929                   "RANLIB=$${RANLIB}" \
3930                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3931                   html) \
3932           || exit 1
3933
3934 @endif bash
3935
3936 .PHONY: maybe-TAGS-bash TAGS-bash
3937 maybe-TAGS-bash:
3938 @if bash
3939 maybe-TAGS-bash: TAGS-bash
3940
3941 TAGS-bash: \
3942     configure-bash 
3943         @: $(MAKE); $(unstage)
3944         @[ -f ./bash/Makefile ] || exit 0; \
3945         r=`${PWD_COMMAND}`; export r; \
3946         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3947         $(HOST_EXPORTS) \
3948         for flag in $(EXTRA_HOST_FLAGS) ; do \
3949           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3950         done; \
3951         echo "Doing TAGS in bash" ; \
3952         (cd $(HOST_SUBDIR)/bash && \
3953           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3954                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3955                   "RANLIB=$${RANLIB}" \
3956                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3957                   TAGS) \
3958           || exit 1
3959
3960 @endif bash
3961
3962 .PHONY: maybe-install-info-bash install-info-bash
3963 maybe-install-info-bash:
3964 @if bash
3965 maybe-install-info-bash: install-info-bash
3966
3967 install-info-bash: \
3968     configure-bash \
3969     info-bash 
3970         @: $(MAKE); $(unstage)
3971         @[ -f ./bash/Makefile ] || exit 0; \
3972         r=`${PWD_COMMAND}`; export r; \
3973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3974         $(HOST_EXPORTS) \
3975         for flag in $(EXTRA_HOST_FLAGS) ; do \
3976           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3977         done; \
3978         echo "Doing install-info in bash" ; \
3979         (cd $(HOST_SUBDIR)/bash && \
3980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3982                   "RANLIB=$${RANLIB}" \
3983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3984                   install-info) \
3985           || exit 1
3986
3987 @endif bash
3988
3989 .PHONY: maybe-install-html-bash install-html-bash
3990 maybe-install-html-bash:
3991 @if bash
3992 maybe-install-html-bash: install-html-bash
3993
3994 install-html-bash: \
3995     configure-bash \
3996     html-bash 
3997         @: $(MAKE); $(unstage)
3998         @[ -f ./bash/Makefile ] || exit 0; \
3999         r=`${PWD_COMMAND}`; export r; \
4000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4001         $(HOST_EXPORTS) \
4002         for flag in $(EXTRA_HOST_FLAGS) ; do \
4003           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4004         done; \
4005         echo "Doing install-html in bash" ; \
4006         (cd $(HOST_SUBDIR)/bash && \
4007           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4008                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4009                   "RANLIB=$${RANLIB}" \
4010                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4011                   install-html) \
4012           || exit 1
4013
4014 @endif bash
4015
4016 .PHONY: maybe-installcheck-bash installcheck-bash
4017 maybe-installcheck-bash:
4018 @if bash
4019 maybe-installcheck-bash: installcheck-bash
4020
4021 installcheck-bash: \
4022     configure-bash 
4023         @: $(MAKE); $(unstage)
4024         @[ -f ./bash/Makefile ] || exit 0; \
4025         r=`${PWD_COMMAND}`; export r; \
4026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027         $(HOST_EXPORTS) \
4028         for flag in $(EXTRA_HOST_FLAGS) ; do \
4029           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4030         done; \
4031         echo "Doing installcheck in bash" ; \
4032         (cd $(HOST_SUBDIR)/bash && \
4033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4035                   "RANLIB=$${RANLIB}" \
4036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4037                   installcheck) \
4038           || exit 1
4039
4040 @endif bash
4041
4042 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4043 maybe-mostlyclean-bash:
4044 @if bash
4045 maybe-mostlyclean-bash: mostlyclean-bash
4046
4047 mostlyclean-bash: 
4048         @: $(MAKE); $(unstage)
4049         @[ -f ./bash/Makefile ] || exit 0; \
4050         r=`${PWD_COMMAND}`; export r; \
4051         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4052         $(HOST_EXPORTS) \
4053         for flag in $(EXTRA_HOST_FLAGS) ; do \
4054           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4055         done; \
4056         echo "Doing mostlyclean in bash" ; \
4057         (cd $(HOST_SUBDIR)/bash && \
4058           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4059                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4060                   "RANLIB=$${RANLIB}" \
4061                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4062                   mostlyclean) \
4063           || exit 1
4064
4065 @endif bash
4066
4067 .PHONY: maybe-clean-bash clean-bash
4068 maybe-clean-bash:
4069 @if bash
4070 maybe-clean-bash: clean-bash
4071
4072 clean-bash: 
4073         @: $(MAKE); $(unstage)
4074         @[ -f ./bash/Makefile ] || exit 0; \
4075         r=`${PWD_COMMAND}`; export r; \
4076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4077         $(HOST_EXPORTS) \
4078         for flag in $(EXTRA_HOST_FLAGS) ; do \
4079           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4080         done; \
4081         echo "Doing clean in bash" ; \
4082         (cd $(HOST_SUBDIR)/bash && \
4083           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4084                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4085                   "RANLIB=$${RANLIB}" \
4086                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4087                   clean) \
4088           || exit 1
4089
4090 @endif bash
4091
4092 .PHONY: maybe-distclean-bash distclean-bash
4093 maybe-distclean-bash:
4094 @if bash
4095 maybe-distclean-bash: distclean-bash
4096
4097 distclean-bash: 
4098         @: $(MAKE); $(unstage)
4099         @[ -f ./bash/Makefile ] || exit 0; \
4100         r=`${PWD_COMMAND}`; export r; \
4101         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4102         $(HOST_EXPORTS) \
4103         for flag in $(EXTRA_HOST_FLAGS) ; do \
4104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4105         done; \
4106         echo "Doing distclean in bash" ; \
4107         (cd $(HOST_SUBDIR)/bash && \
4108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4110                   "RANLIB=$${RANLIB}" \
4111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4112                   distclean) \
4113           || exit 1
4114
4115 @endif bash
4116
4117 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4118 maybe-maintainer-clean-bash:
4119 @if bash
4120 maybe-maintainer-clean-bash: maintainer-clean-bash
4121
4122 maintainer-clean-bash: 
4123         @: $(MAKE); $(unstage)
4124         @[ -f ./bash/Makefile ] || exit 0; \
4125         r=`${PWD_COMMAND}`; export r; \
4126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4127         $(HOST_EXPORTS) \
4128         for flag in $(EXTRA_HOST_FLAGS) ; do \
4129           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4130         done; \
4131         echo "Doing maintainer-clean in bash" ; \
4132         (cd $(HOST_SUBDIR)/bash && \
4133           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4134                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4135                   "RANLIB=$${RANLIB}" \
4136                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4137                   maintainer-clean) \
4138           || exit 1
4139
4140 @endif bash
4141
4142
4143
4144 .PHONY: configure-bfd maybe-configure-bfd
4145 maybe-configure-bfd:
4146 @if bfd
4147 maybe-configure-bfd: configure-bfd
4148 configure-bfd: 
4149 @endif bfd
4150 @if bfd-bootstrap
4151         @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4152 @endif bfd-bootstrap
4153 @if bfd
4154         @r=`${PWD_COMMAND}`; export r; \
4155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4157         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4158         $(HOST_EXPORTS) \
4159         echo Configuring in $(HOST_SUBDIR)/bfd; \
4160         cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4161         case $(srcdir) in \
4162           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4163           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4164                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4165         esac; \
4166         srcdiroption="--srcdir=$${topdir}/bfd"; \
4167         libsrcdir="$$s/bfd"; \
4168         $(SHELL) $${libsrcdir}/configure \
4169           $(HOST_CONFIGARGS) $${srcdiroption}  \
4170           || exit 1
4171 @endif bfd
4172
4173
4174
4175 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4176 maybe-configure-stage1-bfd:
4177 @if bfd-bootstrap
4178 maybe-configure-stage1-bfd: configure-stage1-bfd
4179 configure-stage1-bfd:
4180         @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4181         @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4182         @r=`${PWD_COMMAND}`; export r; \
4183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4184         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4185         $(HOST_EXPORTS) \
4186         echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4187         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4188         cd $(HOST_SUBDIR)/bfd || exit 1; \
4189         case $(srcdir) in \
4190           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4191           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4192                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4193         esac; \
4194         srcdiroption="--srcdir=$${topdir}/bfd"; \
4195         libsrcdir="$$s/bfd"; \
4196         $(SHELL) $${libsrcdir}/configure \
4197           $(HOST_CONFIGARGS) $${srcdiroption} \
4198           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
4199 @endif bfd-bootstrap
4200
4201 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4202 maybe-configure-stage2-bfd:
4203 @if bfd-bootstrap
4204 maybe-configure-stage2-bfd: configure-stage2-bfd
4205 configure-stage2-bfd:
4206         @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4207         @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4208         @r=`${PWD_COMMAND}`; export r; \
4209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4210         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4211         $(HOST_EXPORTS) \
4212         $(POSTSTAGE1_HOST_EXPORTS) \
4213         echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4214         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4215         cd $(HOST_SUBDIR)/bfd || exit 1; \
4216         case $(srcdir) in \
4217           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4218           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4219                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4220         esac; \
4221         srcdiroption="--srcdir=$${topdir}/bfd"; \
4222         libsrcdir="$$s/bfd"; \
4223         $(SHELL) $${libsrcdir}/configure \
4224           $(HOST_CONFIGARGS) $${srcdiroption} \
4225           @stage2_werror_flag@ 
4226 @endif bfd-bootstrap
4227
4228 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4229 maybe-configure-stage3-bfd:
4230 @if bfd-bootstrap
4231 maybe-configure-stage3-bfd: configure-stage3-bfd
4232 configure-stage3-bfd:
4233         @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4234         @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4235         @r=`${PWD_COMMAND}`; export r; \
4236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4238         $(HOST_EXPORTS) \
4239         $(POSTSTAGE1_HOST_EXPORTS) \
4240         echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4241         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4242         cd $(HOST_SUBDIR)/bfd || exit 1; \
4243         case $(srcdir) in \
4244           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4245           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4246                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4247         esac; \
4248         srcdiroption="--srcdir=$${topdir}/bfd"; \
4249         libsrcdir="$$s/bfd"; \
4250         $(SHELL) $${libsrcdir}/configure \
4251           $(HOST_CONFIGARGS) $${srcdiroption} \
4252           @stage2_werror_flag@ 
4253 @endif bfd-bootstrap
4254
4255 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4256 maybe-configure-stage4-bfd:
4257 @if bfd-bootstrap
4258 maybe-configure-stage4-bfd: configure-stage4-bfd
4259 configure-stage4-bfd:
4260         @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4261         @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4262         @r=`${PWD_COMMAND}`; export r; \
4263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4264         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4265         $(HOST_EXPORTS) \
4266         $(POSTSTAGE1_HOST_EXPORTS) \
4267         echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4268         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4269         cd $(HOST_SUBDIR)/bfd || exit 1; \
4270         case $(srcdir) in \
4271           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4272           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4273                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4274         esac; \
4275         srcdiroption="--srcdir=$${topdir}/bfd"; \
4276         libsrcdir="$$s/bfd"; \
4277         $(SHELL) $${libsrcdir}/configure \
4278           $(HOST_CONFIGARGS) $${srcdiroption} \
4279           @stage2_werror_flag@ 
4280 @endif bfd-bootstrap
4281
4282 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4283 maybe-configure-stageprofile-bfd:
4284 @if bfd-bootstrap
4285 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4286 configure-stageprofile-bfd:
4287         @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4288         @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4289         @r=`${PWD_COMMAND}`; export r; \
4290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4291         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4292         $(HOST_EXPORTS) \
4293         $(POSTSTAGE1_HOST_EXPORTS) \
4294         echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4295         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4296         cd $(HOST_SUBDIR)/bfd || exit 1; \
4297         case $(srcdir) in \
4298           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4299           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4300                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4301         esac; \
4302         srcdiroption="--srcdir=$${topdir}/bfd"; \
4303         libsrcdir="$$s/bfd"; \
4304         $(SHELL) $${libsrcdir}/configure \
4305           $(HOST_CONFIGARGS) $${srcdiroption} \
4306           @stage2_werror_flag@ 
4307 @endif bfd-bootstrap
4308
4309 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4310 maybe-configure-stagefeedback-bfd:
4311 @if bfd-bootstrap
4312 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4313 configure-stagefeedback-bfd:
4314         @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4315         @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4316         @r=`${PWD_COMMAND}`; export r; \
4317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4318         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4319         $(HOST_EXPORTS) \
4320         $(POSTSTAGE1_HOST_EXPORTS) \
4321         echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4322         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4323         cd $(HOST_SUBDIR)/bfd || exit 1; \
4324         case $(srcdir) in \
4325           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4326           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4327                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4328         esac; \
4329         srcdiroption="--srcdir=$${topdir}/bfd"; \
4330         libsrcdir="$$s/bfd"; \
4331         $(SHELL) $${libsrcdir}/configure \
4332           $(HOST_CONFIGARGS) $${srcdiroption} \
4333           @stage2_werror_flag@ 
4334 @endif bfd-bootstrap
4335
4336
4337
4338
4339
4340 .PHONY: all-bfd maybe-all-bfd
4341 maybe-all-bfd:
4342 @if bfd
4343 TARGET-bfd=all
4344 maybe-all-bfd: all-bfd
4345 all-bfd: configure-bfd
4346 @endif bfd
4347 @if bfd-bootstrap
4348         @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4349 @endif bfd-bootstrap
4350 @if bfd
4351         @r=`${PWD_COMMAND}`; export r; \
4352         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353         $(HOST_EXPORTS) \
4354         (cd $(HOST_SUBDIR)/bfd && \
4355           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-bfd))
4356 @endif bfd
4357
4358
4359
4360 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4361 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4362 maybe-all-stage1-bfd:
4363 maybe-clean-stage1-bfd:
4364 @if bfd-bootstrap
4365 maybe-all-stage1-bfd: all-stage1-bfd
4366 all-stage1: all-stage1-bfd
4367 TARGET-stage1-bfd = $(TARGET-bfd)
4368 all-stage1-bfd: configure-stage1-bfd
4369         @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4370         @r=`${PWD_COMMAND}`; export r; \
4371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4372         $(HOST_EXPORTS) \
4373         cd $(HOST_SUBDIR)/bfd && \
4374         $(MAKE) $(FLAGS_TO_PASS)  CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)"  \
4375                 $(TARGET-stage1-bfd)
4376
4377 maybe-clean-stage1-bfd: clean-stage1-bfd
4378 clean-stage1: clean-stage1-bfd
4379 clean-stage1-bfd:
4380         @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4381           || exit 0 ; \
4382         [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4383         cd $(HOST_SUBDIR)/bfd && \
4384         $(MAKE) $(FLAGS_TO_PASS)  \
4385                 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)"  clean
4386 @endif bfd-bootstrap
4387
4388
4389 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4390 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4391 maybe-all-stage2-bfd:
4392 maybe-clean-stage2-bfd:
4393 @if bfd-bootstrap
4394 maybe-all-stage2-bfd: all-stage2-bfd
4395 all-stage2: all-stage2-bfd
4396 TARGET-stage2-bfd = $(TARGET-bfd)
4397 all-stage2-bfd: configure-stage2-bfd
4398         @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4399         @r=`${PWD_COMMAND}`; export r; \
4400         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4401         $(HOST_EXPORTS) \
4402         $(POSTSTAGE1_HOST_EXPORTS) \
4403         cd $(HOST_SUBDIR)/bfd && \
4404         $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)   \
4405                 $(TARGET-stage2-bfd)
4406
4407 maybe-clean-stage2-bfd: clean-stage2-bfd
4408 clean-stage2: clean-stage2-bfd
4409 clean-stage2-bfd:
4410         @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4411           || exit 0 ; \
4412         [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4413         cd $(HOST_SUBDIR)/bfd && \
4414         $(MAKE) $(FLAGS_TO_PASS)  \
4415                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
4416                   clean
4417 @endif bfd-bootstrap
4418
4419
4420 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4421 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4422 maybe-all-stage3-bfd:
4423 maybe-clean-stage3-bfd:
4424 @if bfd-bootstrap
4425 maybe-all-stage3-bfd: all-stage3-bfd
4426 all-stage3: all-stage3-bfd
4427 TARGET-stage3-bfd = $(TARGET-bfd)
4428 all-stage3-bfd: configure-stage3-bfd
4429         @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4430         @r=`${PWD_COMMAND}`; export r; \
4431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4432         $(HOST_EXPORTS) \
4433         $(POSTSTAGE1_HOST_EXPORTS) \