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