OSDN Git Service

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