* config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
[platform/upstream/binutils.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   @SET_GCC_LIB_PATH@ \
105   $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106
107 # This is the list of directories to be built for the build system.
108 BUILD_CONFIGDIRS = libiberty
109 # Build programs are put under this directory.
110 BUILD_SUBDIR = @build_subdir@
111 # This is set by the configure script to the arguments to use when configuring
112 # directories built for the build system.
113 BUILD_CONFIGARGS = @build_configargs@
114
115 # This is the list of variables to export in the environment when
116 # configuring any subdirectory.  It must also be exported whenever
117 # recursing into a build directory in case that directory's Makefile
118 # re-runs configure.
119 BASE_EXPORTS = \
120         FLEX="$(FLEX)"; export FLEX; \
121         LEX="$(LEX)"; export LEX; \
122         BISON="$(BISON)"; export BISON; \
123         YACC="$(YACC)"; export YACC; \
124         M4="$(M4)"; export M4; \
125         MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126
127 # This is the list of variables to export in the environment when
128 # configuring subdirectories for the build system.
129 BUILD_EXPORTS = \
130         $(BASE_EXPORTS) \
131         AR="$(AR_FOR_BUILD)"; export AR; \
132         AS="$(AS_FOR_BUILD)"; export AS; \
133         CC="$(CC_FOR_BUILD)"; export CC; \
134         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
135         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
136         CXX="$(CXX_FOR_BUILD)"; export CXX; \
137         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
138         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
139         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
140         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
141         LD="$(LD_FOR_BUILD)"; export LD; \
142         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
143         NM="$(NM_FOR_BUILD)"; export NM; \
144         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
145         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
146
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # This is the list of variables to export in the environment when
153 # configuring subdirectories for the host system.
154 HOST_EXPORTS = \
155         $(BASE_EXPORTS) \
156         CC="$(CC)"; export CC; \
157         CFLAGS="$(CFLAGS)"; export CFLAGS; \
158         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
159         CXX="$(CXX)"; export CXX; \
160         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
161         AR="$(AR)"; export AR; \
162         AS="$(AS)"; export AS; \
163         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
164         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
165         LD="$(LD)"; export LD; \
166         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
167         NM="$(NM)"; export NM; \
168         RANLIB="$(RANLIB)"; export RANLIB; \
169         WINDRES="$(WINDRES)"; export WINDRES; \
170         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
171         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
172         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
173         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
174         GMPINC="$(HOST_GMPINC)"; export GMPINC; \
175         SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
176         @SET_GCC_LIB_PATH@
177
178 # Similar, for later GCC stages.
179 STAGE_HOST_EXPORTS = \
180         $(HOST_EXPORTS) \
181         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
182         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
183
184 # This is set by the configure script to the list of directories which
185 # should be built using the target tools.
186 TARGET_CONFIGDIRS = @target_configdirs@
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
195         $(BASE_EXPORTS) \
196         AR="$(AR_FOR_TARGET)"; export AR; \
197         AS="$(AS_FOR_TARGET)"; export AS; \
198         CC="$(CC_FOR_TARGET)"; export CC; \
199         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206         LD="$(LD_FOR_TARGET)"; export LD; \
207         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208         NM="$(NM_FOR_TARGET)"; export NM; \
209         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
210         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211         SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
212         @SET_GCC_LIB_PATH@
213
214 RAW_CXX_TARGET_EXPORTS = \
215         $(BASE_TARGET_EXPORTS) \
216         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
217         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218
219 NORMAL_TARGET_EXPORTS = \
220         $(BASE_TARGET_EXPORTS) \
221         CXX="$(CXX_FOR_TARGET)"; export CXX;
222
223 # Where to find GMP
224 HOST_GMPLIBS = @gmplibs@
225 HOST_GMPINC = @gmpinc@
226
227 # ----------------------------------------------
228 # Programs producing files for the BUILD machine
229 # ----------------------------------------------
230
231 SHELL = @config_shell@
232
233 # pwd command to use.  Allow user to override default by setting PWDCMD in
234 # the environment to account for automounters.  The make variable must not
235 # be called PWDCMD, otherwise the value set here is passed to make
236 # subprocesses and overrides the setting from the user's environment.
237 # Don't use PWD since it is a common shell environment variable and we
238 # don't want to corrupt it.
239 PWD_COMMAND = $${PWDCMD-pwd}
240
241 # compilers to use to create programs which must be run in the build
242 # environment.
243 CC_FOR_BUILD = @CC_FOR_BUILD@
244 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245
246 CXX_FOR_BUILD = $(CXX)
247
248 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BUILD_PREFIX = @BUILD_PREFIX@
251 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252
253 # Flags to pass to stage2 and later makes.  They are defined
254 # here so that they can be overridden by Makefile fragments.
255 BOOT_CFLAGS= -g -O2
256
257 CONFIGURED_BISON = @CONFIGURED_BISON@
258 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
259             echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
260          else \
261             echo ${CONFIGURED_BISON} ; \
262          fi`
263
264 CONFIGURED_YACC = @CONFIGURED_YACC@
265 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
266             echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
267         elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
268             echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
269         else \
270             echo ${CONFIGURED_YACC} ; \
271         fi`
272
273 CONFIGURED_FLEX = @CONFIGURED_FLEX@
274 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275         then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276         else echo ${CONFIGURED_FLEX} ; fi`
277
278 CONFIGURED_LEX = @CONFIGURED_LEX@
279 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
280         then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
281         else echo ${CONFIGURED_LEX} ; fi`
282
283 CONFIGURED_M4 = @CONFIGURED_M4@
284 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
285         then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
286         else echo ${CONFIGURED_M4} ; fi`
287
288 # For an installed makeinfo, we require it to be from texinfo 4.2 or
289 # higher, else we use the "missing" dummy.  We also pass the subdirectory
290 # makeinfo even if only the Makefile is there, because Texinfo builds its
291 # manual when made, and it requires its own version.
292 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
293 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
294         then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
295         else if (${CONFIGURED_MAKEINFO} --version \
296           | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
297         then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
298
299 # This just becomes part of the MAKEINFO definition passed down to
300 # sub-makes.  It lets flags be given on the command line while still
301 # using the makeinfo from the object tree.
302 # (Default to avoid splitting info files by setting the threshold high.)
303 MAKEINFOFLAGS = --split-size=5000000
304
305 EXPECT = `if [ -f $$r/expect/expect ] ; \
306         then echo $$r/expect/expect ; \
307         else echo expect ; fi`
308
309 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
310         then echo $$s/dejagnu/runtest ; \
311         else echo runtest ; fi`
312
313 # ---------------------------------------------
314 # Programs producing files for the HOST machine
315 # ---------------------------------------------
316
317 # This is the list of directories that may be needed in RPATH_ENVVAR
318 # so that programs built for the host machine work.
319 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
320
321 AS = @AS@
322
323 AR = @AR@
324 AR_FLAGS = rc
325
326 CC = @CC@
327 CFLAGS = @CFLAGS@
328 LIBCFLAGS = $(CFLAGS)
329
330 CXX = @CXX@
331 CXXFLAGS = @CXXFLAGS@
332 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
333
334 DLLTOOL = @DLLTOOL@
335
336 NM = @NM@
337
338 LD = @LD@
339 LDFLAGS = 
340
341 RANLIB = @RANLIB@
342
343 WINDRES = @WINDRES@
344
345 PICFLAG = 
346
347 # -----------------------------------------------
348 # Programs producing files for the TARGET machine
349 # -----------------------------------------------
350
351 # This is the list of directories that may be needed in RPATH_ENVVAR
352 # so that prorgams built for the target machine work.
353 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
354
355 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
356
357 AR_FOR_TARGET=@AR_FOR_TARGET@
358 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
359 USUAL_AR_FOR_TARGET = ` \
360   if [ -f $$r/binutils/ar ] ; then \
361     echo $$r/binutils/ar ; \
362   else \
363     if [ '$(host)' = '$(target)' ] ; then \
364       echo $(AR); \
365     else \
366       echo $(CONFIGURED_AR_FOR_TARGET) ; \
367     fi; \
368   fi`
369
370 AS_FOR_TARGET=@AS_FOR_TARGET@
371 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
372 USUAL_AS_FOR_TARGET = ` \
373   if [ -f $$r/gas/as-new ] ; then \
374     echo $$r/gas/as-new ; \
375   elif [ -f $$r/gcc/xgcc ]; then \
376     $(CC_FOR_TARGET) -print-prog-name=as ; \
377   else \
378     if [ '$(host)' = '$(target)' ] ; then \
379       echo $(AS); \
380     else \
381       echo $(CONFIGURED_AS_FOR_TARGET) ; \
382     fi; \
383   fi`
384
385 CC_FOR_TARGET = @CC_FOR_TARGET@
386 # During gcc bootstrap, if we use some random cc for stage1 then
387 # CFLAGS will be just -g.  We want to ensure that TARGET libraries
388 # (which we know are built with gcc) are built with optimizations so
389 # prepend -O2 when setting CFLAGS_FOR_TARGET.
390 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
391 # If GCC_FOR_TARGET is not overriden on the command line, then this
392 # variable is passed down to the gcc Makefile, where it is used to
393 # build libgcc2.a.  We define it here so that it can itself be
394 # overridden on the command line.
395 GCC_FOR_TARGET=@GCC_FOR_TARGET@
396 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
398
399 CXX_FOR_TARGET = @CXX_FOR_TARGET@
400 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
401 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
402 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
403 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
404 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
405
406 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
407 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
408 USUAL_DLLTOOL_FOR_TARGET = ` \
409   if [ -f $$r/binutils/dlltool ] ; then \
410     echo $$r/binutils/dlltool ; \
411   else \
412     if [ '$(host)' = '$(target)' ] ; then \
413       echo $(DLLTOOL); \
414     else \
415       echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
416     fi; \
417   fi`
418
419 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
420 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
421
422 LD_FOR_TARGET=@LD_FOR_TARGET@
423 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
424 USUAL_LD_FOR_TARGET = ` \
425   if [ -f $$r/ld/ld-new ] ; then \
426     echo $$r/ld/ld-new ; \
427   elif [ -f $$r/gcc/xgcc ]; then \
428     $(CC_FOR_TARGET) -print-prog-name=ld ; \
429   else \
430     if [ '$(host)' = '$(target)' ] ; then \
431       echo $(LD); \
432     else \
433       echo $(CONFIGURED_LD_FOR_TARGET) ; \
434     fi; \
435   fi`
436
437 LDFLAGS_FOR_TARGET = 
438
439 NM_FOR_TARGET=@NM_FOR_TARGET@
440 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
441 USUAL_NM_FOR_TARGET = ` \
442   if [ -f $$r/binutils/nm-new ] ; then \
443     echo $$r/binutils/nm-new ; \
444   elif [ -f $$r/gcc/xgcc ]; then \
445     $(CC_FOR_TARGET) -print-prog-name=nm ; \
446   else \
447     if [ '$(host)' = '$(target)' ] ; then \
448       echo $(NM); \
449     else \
450       echo $(CONFIGURED_NM_FOR_TARGET) ; \
451     fi; \
452   fi`
453
454 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
455 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
456 USUAL_RANLIB_FOR_TARGET = ` \
457   if [ -f $$r/binutils/ranlib ] ; then \
458     echo $$r/binutils/ranlib ; \
459   else \
460     if [ '$(host)' = '$(target)' ] ; then \
461       if [ x'$(RANLIB)' != x ]; then \
462          echo $(RANLIB); \
463       else \
464          echo ranlib; \
465       fi; \
466     else \
467       echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
468     fi; \
469   fi`
470
471 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
472 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
473 USUAL_WINDRES_FOR_TARGET = ` \
474   if [ -f $$r/binutils/windres ] ; then \
475     echo $$r/binutils/windres ; \
476   else \
477     if [ '$(host)' = '$(target)' ] ; then \
478       echo $(WINDRES); \
479     else \
480       echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
481     fi; \
482   fi`
483
484 PICFLAG_FOR_TARGET = 
485
486 # ------------------------------------
487 # Miscellaneous targets and flag lists
488 # ------------------------------------
489
490 # The first rule in the file had better be this one.  Don't put any above it.
491 # This lives here to allow makefile fragments to contain dependencies.
492 @default_target@:
493
494 #### host and target specific makefile fragments come in here.
495 @target_makefile_frag@
496 @alphaieee_frag@
497 @ospace_frag@
498 @host_makefile_frag@
499 ###
500
501 # Flags to pass down to all sub-makes.
502 BASE_FLAGS_TO_PASS = \
503         "DESTDIR=$(DESTDIR)" \
504         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
505         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
506         "bindir=$(bindir)" \
507         "datadir=$(datadir)" \
508         "exec_prefix=$(exec_prefix)" \
509         "includedir=$(includedir)" \
510         "infodir=$(infodir)" \
511         "libdir=$(libdir)" \
512         "libexecdir=$(libexecdir)" \
513         "lispdir=$(lispdir)" \
514         "libstdcxx_incdir=$(libstdcxx_incdir)" \
515         "libsubdir=$(libsubdir)" \
516         "localstatedir=$(localstatedir)" \
517         "mandir=$(mandir)" \
518         "oldincludedir=$(oldincludedir)" \
519         "prefix=$(prefix)" \
520         "sbindir=$(sbindir)" \
521         "sharedstatedir=$(sharedstatedir)" \
522         "sysconfdir=$(sysconfdir)" \
523         "tooldir=$(tooldir)" \
524         "build_tooldir=$(build_tooldir)" \
525         "gxx_include_dir=$(gxx_include_dir)" \
526         "gcc_version=$(gcc_version)" \
527         "gcc_version_trigger=$(gcc_version_trigger)" \
528         "target_alias=$(target_alias)" \
529         "BISON=$(BISON)" \
530         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
531         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
532         "EXPECT=$(EXPECT)" \
533         "FLEX=$(FLEX)" \
534         "INSTALL=$(INSTALL)" \
535         "INSTALL_DATA=$(INSTALL_DATA)" \
536         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
537         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
538         "LEX=$(LEX)" \
539         "M4=$(M4)" \
540         "MAKE=$(MAKE)" \
541         "RUNTEST=$(RUNTEST)" \
542         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
543         "SHELL=$(SHELL)" \
544         "YACC=$(YACC)" \
545         "AR_FLAGS=$(AR_FLAGS)" \
546         "CFLAGS=$(CFLAGS)" \
547         "CXXFLAGS=$(CXXFLAGS)" \
548         "LDFLAGS=$(LDFLAGS)" \
549         "LIBCFLAGS=$(LIBCFLAGS)" \
550         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
551         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
552         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
553         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
554         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
555         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
556         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
557         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
558         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
559         "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
560         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
561         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
562         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
563         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
564         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
565         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
566         "CONFIG_SHELL=$(SHELL)" \
567         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
568
569 # For any flags above that may contain shell code that varies from one
570 # target library to another.  When doing recursive invocations of the
571 # top-level Makefile, we don't want the outer make to evaluate them,
572 # so we pass these variables down unchanged.  They must not contain
573 # single nor double quotes.
574 RECURSE_FLAGS = \
575         CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
576         RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
577
578 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
579
580 # Flags to pass down to most sub-makes, in which we're building with
581 # the host environment.
582 EXTRA_HOST_FLAGS = \
583         'AR=$(AR)' \
584         'AS=$(AS)' \
585         'CC=$(CC)' \
586         'CXX=$(CXX)' \
587         'DLLTOOL=$(DLLTOOL)' \
588         'LD=$(LD)' \
589         'NM=$(NM)' \
590         'RANLIB=$(RANLIB)' \
591         'WINDRES=$(WINDRES)'
592
593 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
594
595 # Flags that are concerned with the location of the X11 include files
596 # and library files
597 #
598 # NOTE: until the top-level is getting the values via autoconf, it only
599 # causes problems to have this top-level Makefile overriding the autoconf-set
600 # values in child directories.  Only variables that don't conflict with
601 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
602 #
603 X11_FLAGS_TO_PASS = \
604         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
605         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
606
607 # Flags to pass down to makes which are built with the target environment.
608 # The double $ decreases the length of the command line; the variables
609 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
610 EXTRA_TARGET_FLAGS = \
611         'AR=$$(AR_FOR_TARGET)' \
612         'AS=$$(AS_FOR_TARGET)' \
613         'CC=$$(CC_FOR_TARGET)' \
614         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
615         'CXX=$$(CXX_FOR_TARGET)' \
616         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
617         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
618         'LD=$$(LD_FOR_TARGET)' \
619         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
620         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
621         'NM=$$(NM_FOR_TARGET)' \
622         'RANLIB=$$(RANLIB_FOR_TARGET)' \
623         'WINDRES=$$(WINDRES_FOR_TARGET)'
624
625 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
626
627 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
628 # unfortunately needs the native compiler and the target ar and
629 # ranlib.
630 # If any variables are added here, they must be added to do-*, below.
631 # The BUILD_* variables are a special case, which are used for the gcc
632 # cross-building scheme.
633 EXTRA_GCC_FLAGS = \
634         'BUILD_PREFIX=$(BUILD_PREFIX)' \
635         'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
636         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
637         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
638         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644         "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645         "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
647
648 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
649
650 .PHONY: configure-host
651 configure-host:  \
652     maybe-configure-ash \
653     maybe-configure-autoconf \
654     maybe-configure-automake \
655     maybe-configure-bash \
656     maybe-configure-bfd \
657     maybe-configure-opcodes \
658     maybe-configure-binutils \
659     maybe-configure-bison \
660     maybe-configure-byacc \
661     maybe-configure-bzip2 \
662     maybe-configure-dejagnu \
663     maybe-configure-diff \
664     maybe-configure-dosutils \
665     maybe-configure-etc \
666     maybe-configure-fastjar \
667     maybe-configure-fileutils \
668     maybe-configure-findutils \
669     maybe-configure-find \
670     maybe-configure-flex \
671     maybe-configure-gas \
672     maybe-configure-gcc \
673     maybe-configure-gawk \
674     maybe-configure-gettext \
675     maybe-configure-gnuserv \
676     maybe-configure-gprof \
677     maybe-configure-gzip \
678     maybe-configure-hello \
679     maybe-configure-indent \
680     maybe-configure-intl \
681     maybe-configure-tcl \
682     maybe-configure-itcl \
683     maybe-configure-ld \
684     maybe-configure-libcpp \
685     maybe-configure-libgui \
686     maybe-configure-libiberty \
687     maybe-configure-libtool \
688     maybe-configure-m4 \
689     maybe-configure-make \
690     maybe-configure-mmalloc \
691     maybe-configure-patch \
692     maybe-configure-perl \
693     maybe-configure-prms \
694     maybe-configure-rcs \
695     maybe-configure-readline \
696     maybe-configure-release \
697     maybe-configure-recode \
698     maybe-configure-sed \
699     maybe-configure-send-pr \
700     maybe-configure-shellutils \
701     maybe-configure-sid \
702     maybe-configure-sim \
703     maybe-configure-tar \
704     maybe-configure-texinfo \
705     maybe-configure-textutils \
706     maybe-configure-time \
707     maybe-configure-uudecode \
708     maybe-configure-wdiff \
709     maybe-configure-zip \
710     maybe-configure-zlib \
711     maybe-configure-gdb \
712     maybe-configure-expect \
713     maybe-configure-guile \
714     maybe-configure-tk \
715     maybe-configure-libtermcap \
716     maybe-configure-utils
717 .PHONY: configure-target
718 configure-target:  \
719     maybe-configure-target-libstdc++-v3 \
720     maybe-configure-target-libmudflap \
721     maybe-configure-target-newlib \
722     maybe-configure-target-libgfortran \
723     maybe-configure-target-libobjc \
724     maybe-configure-target-libtermcap \
725     maybe-configure-target-winsup \
726     maybe-configure-target-libgloss \
727     maybe-configure-target-libiberty \
728     maybe-configure-target-gperf \
729     maybe-configure-target-examples \
730     maybe-configure-target-libffi \
731     maybe-configure-target-libjava \
732     maybe-configure-target-zlib \
733     maybe-configure-target-boehm-gc \
734     maybe-configure-target-qthreads \
735     maybe-configure-target-rda \
736     maybe-configure-target-libada
737
738 # The target built for a native non-bootstrap build.
739 .PHONY: all
740 all: unstage all-host all-target stage
741
742 .PHONY: all-build
743 all-build:  \
744     maybe-all-build-libiberty \
745     maybe-all-build-bison \
746     maybe-all-build-byacc \
747     maybe-all-build-flex \
748     maybe-all-build-m4 \
749     maybe-all-build-texinfo \
750     maybe-all-build-fixincludes
751 .PHONY: all-host
752 all-host:  \
753     maybe-all-ash \
754     maybe-all-autoconf \
755     maybe-all-automake \
756     maybe-all-bash \
757     maybe-all-bfd \
758     maybe-all-opcodes \
759     maybe-all-binutils \
760     maybe-all-bison \
761     maybe-all-byacc \
762     maybe-all-bzip2 \
763     maybe-all-dejagnu \
764     maybe-all-diff \
765     maybe-all-dosutils \
766     maybe-all-etc \
767     maybe-all-fastjar \
768     maybe-all-fileutils \
769     maybe-all-findutils \
770     maybe-all-find \
771     maybe-all-flex \
772     maybe-all-gas \
773     maybe-all-gcc \
774     maybe-all-gawk \
775     maybe-all-gettext \
776     maybe-all-gnuserv \
777     maybe-all-gprof \
778     maybe-all-gzip \
779     maybe-all-hello \
780     maybe-all-indent \
781     maybe-all-intl \
782     maybe-all-tcl \
783     maybe-all-itcl \
784     maybe-all-ld \
785     maybe-all-libcpp \
786     maybe-all-libgui \
787     maybe-all-libiberty \
788     maybe-all-libtool \
789     maybe-all-m4 \
790     maybe-all-make \
791     maybe-all-mmalloc \
792     maybe-all-patch \
793     maybe-all-perl \
794     maybe-all-prms \
795     maybe-all-rcs \
796     maybe-all-readline \
797     maybe-all-release \
798     maybe-all-recode \
799     maybe-all-sed \
800     maybe-all-send-pr \
801     maybe-all-shellutils \
802     maybe-all-sid \
803     maybe-all-sim \
804     maybe-all-tar \
805     maybe-all-texinfo \
806     maybe-all-textutils \
807     maybe-all-time \
808     maybe-all-uudecode \
809     maybe-all-wdiff \
810     maybe-all-zip \
811     maybe-all-zlib \
812     maybe-all-gdb \
813     maybe-all-expect \
814     maybe-all-guile \
815     maybe-all-tk \
816     maybe-all-libtermcap \
817     maybe-all-utils
818 .PHONY: all-target
819 all-target:  \
820     maybe-all-target-libstdc++-v3 \
821     maybe-all-target-libmudflap \
822     maybe-all-target-newlib \
823     maybe-all-target-libgfortran \
824     maybe-all-target-libobjc \
825     maybe-all-target-libtermcap \
826     maybe-all-target-winsup \
827     maybe-all-target-libgloss \
828     maybe-all-target-libiberty \
829     maybe-all-target-gperf \
830     maybe-all-target-examples \
831     maybe-all-target-libffi \
832     maybe-all-target-libjava \
833     maybe-all-target-zlib \
834     maybe-all-target-boehm-gc \
835     maybe-all-target-qthreads \
836     maybe-all-target-rda \
837     maybe-all-target-libada
838
839 # Do a target for all the subdirectories.  A ``make do-X'' will do a
840 # ``make X'' in all subdirectories (because, in general, there is a
841 # dependency (below) of X upon do-X, a ``make X'' will also do this,
842 # but it may do additional work as well).
843
844 .PHONY: do-info
845 do-info: unstage info-host info-target stage
846
847 .PHONY: info-host
848 info-host:  \
849     maybe-info-ash \
850     maybe-info-autoconf \
851     maybe-info-automake \
852     maybe-info-bash \
853     maybe-info-bfd \
854     maybe-info-opcodes \
855     maybe-info-binutils \
856     maybe-info-bison \
857     maybe-info-byacc \
858     maybe-info-bzip2 \
859     maybe-info-dejagnu \
860     maybe-info-diff \
861     maybe-info-dosutils \
862     maybe-info-etc \
863     maybe-info-fastjar \
864     maybe-info-fileutils \
865     maybe-info-findutils \
866     maybe-info-find \
867     maybe-info-flex \
868     maybe-info-gas \
869     maybe-info-gcc \
870     maybe-info-gawk \
871     maybe-info-gettext \
872     maybe-info-gnuserv \
873     maybe-info-gprof \
874     maybe-info-gzip \
875     maybe-info-hello \
876     maybe-info-indent \
877     maybe-info-intl \
878     maybe-info-tcl \
879     maybe-info-itcl \
880     maybe-info-ld \
881     maybe-info-libcpp \
882     maybe-info-libgui \
883     maybe-info-libiberty \
884     maybe-info-libtool \
885     maybe-info-m4 \
886     maybe-info-make \
887     maybe-info-mmalloc \
888     maybe-info-patch \
889     maybe-info-perl \
890     maybe-info-prms \
891     maybe-info-rcs \
892     maybe-info-readline \
893     maybe-info-release \
894     maybe-info-recode \
895     maybe-info-sed \
896     maybe-info-send-pr \
897     maybe-info-shellutils \
898     maybe-info-sid \
899     maybe-info-sim \
900     maybe-info-tar \
901     maybe-info-texinfo \
902     maybe-info-textutils \
903     maybe-info-time \
904     maybe-info-uudecode \
905     maybe-info-wdiff \
906     maybe-info-zip \
907     maybe-info-zlib \
908     maybe-info-gdb \
909     maybe-info-expect \
910     maybe-info-guile \
911     maybe-info-tk \
912     maybe-info-libtermcap \
913     maybe-info-utils
914
915 .PHONY: info-target
916 info-target:  \
917     maybe-info-target-libstdc++-v3 \
918     maybe-info-target-libmudflap \
919     maybe-info-target-newlib \
920     maybe-info-target-libgfortran \
921     maybe-info-target-libobjc \
922     maybe-info-target-libtermcap \
923     maybe-info-target-winsup \
924     maybe-info-target-libgloss \
925     maybe-info-target-libiberty \
926     maybe-info-target-gperf \
927     maybe-info-target-examples \
928     maybe-info-target-libffi \
929     maybe-info-target-libjava \
930     maybe-info-target-zlib \
931     maybe-info-target-boehm-gc \
932     maybe-info-target-qthreads \
933     maybe-info-target-rda \
934     maybe-info-target-libada
935
936 .PHONY: do-dvi
937 do-dvi: unstage dvi-host dvi-target stage
938
939 .PHONY: dvi-host
940 dvi-host:  \
941     maybe-dvi-ash \
942     maybe-dvi-autoconf \
943     maybe-dvi-automake \
944     maybe-dvi-bash \
945     maybe-dvi-bfd \
946     maybe-dvi-opcodes \
947     maybe-dvi-binutils \
948     maybe-dvi-bison \
949     maybe-dvi-byacc \
950     maybe-dvi-bzip2 \
951     maybe-dvi-dejagnu \
952     maybe-dvi-diff \
953     maybe-dvi-dosutils \
954     maybe-dvi-etc \
955     maybe-dvi-fastjar \
956     maybe-dvi-fileutils \
957     maybe-dvi-findutils \
958     maybe-dvi-find \
959     maybe-dvi-flex \
960     maybe-dvi-gas \
961     maybe-dvi-gcc \
962     maybe-dvi-gawk \
963     maybe-dvi-gettext \
964     maybe-dvi-gnuserv \
965     maybe-dvi-gprof \
966     maybe-dvi-gzip \
967     maybe-dvi-hello \
968     maybe-dvi-indent \
969     maybe-dvi-intl \
970     maybe-dvi-tcl \
971     maybe-dvi-itcl \
972     maybe-dvi-ld \
973     maybe-dvi-libcpp \
974     maybe-dvi-libgui \
975     maybe-dvi-libiberty \
976     maybe-dvi-libtool \
977     maybe-dvi-m4 \
978     maybe-dvi-make \
979     maybe-dvi-mmalloc \
980     maybe-dvi-patch \
981     maybe-dvi-perl \
982     maybe-dvi-prms \
983     maybe-dvi-rcs \
984     maybe-dvi-readline \
985     maybe-dvi-release \
986     maybe-dvi-recode \
987     maybe-dvi-sed \
988     maybe-dvi-send-pr \
989     maybe-dvi-shellutils \
990     maybe-dvi-sid \
991     maybe-dvi-sim \
992     maybe-dvi-tar \
993     maybe-dvi-texinfo \
994     maybe-dvi-textutils \
995     maybe-dvi-time \
996     maybe-dvi-uudecode \
997     maybe-dvi-wdiff \
998     maybe-dvi-zip \
999     maybe-dvi-zlib \
1000     maybe-dvi-gdb \
1001     maybe-dvi-expect \
1002     maybe-dvi-guile \
1003     maybe-dvi-tk \
1004     maybe-dvi-libtermcap \
1005     maybe-dvi-utils
1006
1007 .PHONY: dvi-target
1008 dvi-target:  \
1009     maybe-dvi-target-libstdc++-v3 \
1010     maybe-dvi-target-libmudflap \
1011     maybe-dvi-target-newlib \
1012     maybe-dvi-target-libgfortran \
1013     maybe-dvi-target-libobjc \
1014     maybe-dvi-target-libtermcap \
1015     maybe-dvi-target-winsup \
1016     maybe-dvi-target-libgloss \
1017     maybe-dvi-target-libiberty \
1018     maybe-dvi-target-gperf \
1019     maybe-dvi-target-examples \
1020     maybe-dvi-target-libffi \
1021     maybe-dvi-target-libjava \
1022     maybe-dvi-target-zlib \
1023     maybe-dvi-target-boehm-gc \
1024     maybe-dvi-target-qthreads \
1025     maybe-dvi-target-rda \
1026     maybe-dvi-target-libada
1027
1028 .PHONY: do-TAGS
1029 do-TAGS: unstage TAGS-host TAGS-target stage
1030
1031 .PHONY: TAGS-host
1032 TAGS-host:  \
1033     maybe-TAGS-ash \
1034     maybe-TAGS-autoconf \
1035     maybe-TAGS-automake \
1036     maybe-TAGS-bash \
1037     maybe-TAGS-bfd \
1038     maybe-TAGS-opcodes \
1039     maybe-TAGS-binutils \
1040     maybe-TAGS-bison \
1041     maybe-TAGS-byacc \
1042     maybe-TAGS-bzip2 \
1043     maybe-TAGS-dejagnu \
1044     maybe-TAGS-diff \
1045     maybe-TAGS-dosutils \
1046     maybe-TAGS-etc \
1047     maybe-TAGS-fastjar \
1048     maybe-TAGS-fileutils \
1049     maybe-TAGS-findutils \
1050     maybe-TAGS-find \
1051     maybe-TAGS-flex \
1052     maybe-TAGS-gas \
1053     maybe-TAGS-gcc \
1054     maybe-TAGS-gawk \
1055     maybe-TAGS-gettext \
1056     maybe-TAGS-gnuserv \
1057     maybe-TAGS-gprof \
1058     maybe-TAGS-gzip \
1059     maybe-TAGS-hello \
1060     maybe-TAGS-indent \
1061     maybe-TAGS-intl \
1062     maybe-TAGS-tcl \
1063     maybe-TAGS-itcl \
1064     maybe-TAGS-ld \
1065     maybe-TAGS-libcpp \
1066     maybe-TAGS-libgui \
1067     maybe-TAGS-libiberty \
1068     maybe-TAGS-libtool \
1069     maybe-TAGS-m4 \
1070     maybe-TAGS-make \
1071     maybe-TAGS-mmalloc \
1072     maybe-TAGS-patch \
1073     maybe-TAGS-perl \
1074     maybe-TAGS-prms \
1075     maybe-TAGS-rcs \
1076     maybe-TAGS-readline \
1077     maybe-TAGS-release \
1078     maybe-TAGS-recode \
1079     maybe-TAGS-sed \
1080     maybe-TAGS-send-pr \
1081     maybe-TAGS-shellutils \
1082     maybe-TAGS-sid \
1083     maybe-TAGS-sim \
1084     maybe-TAGS-tar \
1085     maybe-TAGS-texinfo \
1086     maybe-TAGS-textutils \
1087     maybe-TAGS-time \
1088     maybe-TAGS-uudecode \
1089     maybe-TAGS-wdiff \
1090     maybe-TAGS-zip \
1091     maybe-TAGS-zlib \
1092     maybe-TAGS-gdb \
1093     maybe-TAGS-expect \
1094     maybe-TAGS-guile \
1095     maybe-TAGS-tk \
1096     maybe-TAGS-libtermcap \
1097     maybe-TAGS-utils
1098
1099 .PHONY: TAGS-target
1100 TAGS-target:  \
1101     maybe-TAGS-target-libstdc++-v3 \
1102     maybe-TAGS-target-libmudflap \
1103     maybe-TAGS-target-newlib \
1104     maybe-TAGS-target-libgfortran \
1105     maybe-TAGS-target-libobjc \
1106     maybe-TAGS-target-libtermcap \
1107     maybe-TAGS-target-winsup \
1108     maybe-TAGS-target-libgloss \
1109     maybe-TAGS-target-libiberty \
1110     maybe-TAGS-target-gperf \
1111     maybe-TAGS-target-examples \
1112     maybe-TAGS-target-libffi \
1113     maybe-TAGS-target-libjava \
1114     maybe-TAGS-target-zlib \
1115     maybe-TAGS-target-boehm-gc \
1116     maybe-TAGS-target-qthreads \
1117     maybe-TAGS-target-rda \
1118     maybe-TAGS-target-libada
1119
1120 .PHONY: do-install-info
1121 do-install-info: unstage install-info-host install-info-target stage
1122
1123 .PHONY: install-info-host
1124 install-info-host:  \
1125     maybe-install-info-ash \
1126     maybe-install-info-autoconf \
1127     maybe-install-info-automake \
1128     maybe-install-info-bash \
1129     maybe-install-info-bfd \
1130     maybe-install-info-opcodes \
1131     maybe-install-info-binutils \
1132     maybe-install-info-bison \
1133     maybe-install-info-byacc \
1134     maybe-install-info-bzip2 \
1135     maybe-install-info-dejagnu \
1136     maybe-install-info-diff \
1137     maybe-install-info-dosutils \
1138     maybe-install-info-etc \
1139     maybe-install-info-fastjar \
1140     maybe-install-info-fileutils \
1141     maybe-install-info-findutils \
1142     maybe-install-info-find \
1143     maybe-install-info-flex \
1144     maybe-install-info-gas \
1145     maybe-install-info-gcc \
1146     maybe-install-info-gawk \
1147     maybe-install-info-gettext \
1148     maybe-install-info-gnuserv \
1149     maybe-install-info-gprof \
1150     maybe-install-info-gzip \
1151     maybe-install-info-hello \
1152     maybe-install-info-indent \
1153     maybe-install-info-intl \
1154     maybe-install-info-tcl \
1155     maybe-install-info-itcl \
1156     maybe-install-info-ld \
1157     maybe-install-info-libcpp \
1158     maybe-install-info-libgui \
1159     maybe-install-info-libiberty \
1160     maybe-install-info-libtool \
1161     maybe-install-info-m4 \
1162     maybe-install-info-make \
1163     maybe-install-info-mmalloc \
1164     maybe-install-info-patch \
1165     maybe-install-info-perl \
1166     maybe-install-info-prms \
1167     maybe-install-info-rcs \
1168     maybe-install-info-readline \
1169     maybe-install-info-release \
1170     maybe-install-info-recode \
1171     maybe-install-info-sed \
1172     maybe-install-info-send-pr \
1173     maybe-install-info-shellutils \
1174     maybe-install-info-sid \
1175     maybe-install-info-sim \
1176     maybe-install-info-tar \
1177     maybe-install-info-texinfo \
1178     maybe-install-info-textutils \
1179     maybe-install-info-time \
1180     maybe-install-info-uudecode \
1181     maybe-install-info-wdiff \
1182     maybe-install-info-zip \
1183     maybe-install-info-zlib \
1184     maybe-install-info-gdb \
1185     maybe-install-info-expect \
1186     maybe-install-info-guile \
1187     maybe-install-info-tk \
1188     maybe-install-info-libtermcap \
1189     maybe-install-info-utils
1190
1191 .PHONY: install-info-target
1192 install-info-target:  \
1193     maybe-install-info-target-libstdc++-v3 \
1194     maybe-install-info-target-libmudflap \
1195     maybe-install-info-target-newlib \
1196     maybe-install-info-target-libgfortran \
1197     maybe-install-info-target-libobjc \
1198     maybe-install-info-target-libtermcap \
1199     maybe-install-info-target-winsup \
1200     maybe-install-info-target-libgloss \
1201     maybe-install-info-target-libiberty \
1202     maybe-install-info-target-gperf \
1203     maybe-install-info-target-examples \
1204     maybe-install-info-target-libffi \
1205     maybe-install-info-target-libjava \
1206     maybe-install-info-target-zlib \
1207     maybe-install-info-target-boehm-gc \
1208     maybe-install-info-target-qthreads \
1209     maybe-install-info-target-rda \
1210     maybe-install-info-target-libada
1211
1212 .PHONY: do-installcheck
1213 do-installcheck: unstage installcheck-host installcheck-target stage
1214
1215 .PHONY: installcheck-host
1216 installcheck-host:  \
1217     maybe-installcheck-ash \
1218     maybe-installcheck-autoconf \
1219     maybe-installcheck-automake \
1220     maybe-installcheck-bash \
1221     maybe-installcheck-bfd \
1222     maybe-installcheck-opcodes \
1223     maybe-installcheck-binutils \
1224     maybe-installcheck-bison \
1225     maybe-installcheck-byacc \
1226     maybe-installcheck-bzip2 \
1227     maybe-installcheck-dejagnu \
1228     maybe-installcheck-diff \
1229     maybe-installcheck-dosutils \
1230     maybe-installcheck-etc \
1231     maybe-installcheck-fastjar \
1232     maybe-installcheck-fileutils \
1233     maybe-installcheck-findutils \
1234     maybe-installcheck-find \
1235     maybe-installcheck-flex \
1236     maybe-installcheck-gas \
1237     maybe-installcheck-gcc \
1238     maybe-installcheck-gawk \
1239     maybe-installcheck-gettext \
1240     maybe-installcheck-gnuserv \
1241     maybe-installcheck-gprof \
1242     maybe-installcheck-gzip \
1243     maybe-installcheck-hello \
1244     maybe-installcheck-indent \
1245     maybe-installcheck-intl \
1246     maybe-installcheck-tcl \
1247     maybe-installcheck-itcl \
1248     maybe-installcheck-ld \
1249     maybe-installcheck-libcpp \
1250     maybe-installcheck-libgui \
1251     maybe-installcheck-libiberty \
1252     maybe-installcheck-libtool \
1253     maybe-installcheck-m4 \
1254     maybe-installcheck-make \
1255     maybe-installcheck-mmalloc \
1256     maybe-installcheck-patch \
1257     maybe-installcheck-perl \
1258     maybe-installcheck-prms \
1259     maybe-installcheck-rcs \
1260     maybe-installcheck-readline \
1261     maybe-installcheck-release \
1262     maybe-installcheck-recode \
1263     maybe-installcheck-sed \
1264     maybe-installcheck-send-pr \
1265     maybe-installcheck-shellutils \
1266     maybe-installcheck-sid \
1267     maybe-installcheck-sim \
1268     maybe-installcheck-tar \
1269     maybe-installcheck-texinfo \
1270     maybe-installcheck-textutils \
1271     maybe-installcheck-time \
1272     maybe-installcheck-uudecode \
1273     maybe-installcheck-wdiff \
1274     maybe-installcheck-zip \
1275     maybe-installcheck-zlib \
1276     maybe-installcheck-gdb \
1277     maybe-installcheck-expect \
1278     maybe-installcheck-guile \
1279     maybe-installcheck-tk \
1280     maybe-installcheck-libtermcap \
1281     maybe-installcheck-utils
1282
1283 .PHONY: installcheck-target
1284 installcheck-target:  \
1285     maybe-installcheck-target-libstdc++-v3 \
1286     maybe-installcheck-target-libmudflap \
1287     maybe-installcheck-target-newlib \
1288     maybe-installcheck-target-libgfortran \
1289     maybe-installcheck-target-libobjc \
1290     maybe-installcheck-target-libtermcap \
1291     maybe-installcheck-target-winsup \
1292     maybe-installcheck-target-libgloss \
1293     maybe-installcheck-target-libiberty \
1294     maybe-installcheck-target-gperf \
1295     maybe-installcheck-target-examples \
1296     maybe-installcheck-target-libffi \
1297     maybe-installcheck-target-libjava \
1298     maybe-installcheck-target-zlib \
1299     maybe-installcheck-target-boehm-gc \
1300     maybe-installcheck-target-qthreads \
1301     maybe-installcheck-target-rda \
1302     maybe-installcheck-target-libada
1303
1304 .PHONY: do-mostlyclean
1305 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1306
1307 .PHONY: mostlyclean-host
1308 mostlyclean-host:  \
1309     maybe-mostlyclean-ash \
1310     maybe-mostlyclean-autoconf \
1311     maybe-mostlyclean-automake \
1312     maybe-mostlyclean-bash \
1313     maybe-mostlyclean-bfd \
1314     maybe-mostlyclean-opcodes \
1315     maybe-mostlyclean-binutils \
1316     maybe-mostlyclean-bison \
1317     maybe-mostlyclean-byacc \
1318     maybe-mostlyclean-bzip2 \
1319     maybe-mostlyclean-dejagnu \
1320     maybe-mostlyclean-diff \
1321     maybe-mostlyclean-dosutils \
1322     maybe-mostlyclean-etc \
1323     maybe-mostlyclean-fastjar \
1324     maybe-mostlyclean-fileutils \
1325     maybe-mostlyclean-findutils \
1326     maybe-mostlyclean-find \
1327     maybe-mostlyclean-flex \
1328     maybe-mostlyclean-gas \
1329     maybe-mostlyclean-gcc \
1330     maybe-mostlyclean-gawk \
1331     maybe-mostlyclean-gettext \
1332     maybe-mostlyclean-gnuserv \
1333     maybe-mostlyclean-gprof \
1334     maybe-mostlyclean-gzip \
1335     maybe-mostlyclean-hello \
1336     maybe-mostlyclean-indent \
1337     maybe-mostlyclean-intl \
1338     maybe-mostlyclean-tcl \
1339     maybe-mostlyclean-itcl \
1340     maybe-mostlyclean-ld \
1341     maybe-mostlyclean-libcpp \
1342     maybe-mostlyclean-libgui \
1343     maybe-mostlyclean-libiberty \
1344     maybe-mostlyclean-libtool \
1345     maybe-mostlyclean-m4 \
1346     maybe-mostlyclean-make \
1347     maybe-mostlyclean-mmalloc \
1348     maybe-mostlyclean-patch \
1349     maybe-mostlyclean-perl \
1350     maybe-mostlyclean-prms \
1351     maybe-mostlyclean-rcs \
1352     maybe-mostlyclean-readline \
1353     maybe-mostlyclean-release \
1354     maybe-mostlyclean-recode \
1355     maybe-mostlyclean-sed \
1356     maybe-mostlyclean-send-pr \
1357     maybe-mostlyclean-shellutils \
1358     maybe-mostlyclean-sid \
1359     maybe-mostlyclean-sim \
1360     maybe-mostlyclean-tar \
1361     maybe-mostlyclean-texinfo \
1362     maybe-mostlyclean-textutils \
1363     maybe-mostlyclean-time \
1364     maybe-mostlyclean-uudecode \
1365     maybe-mostlyclean-wdiff \
1366     maybe-mostlyclean-zip \
1367     maybe-mostlyclean-zlib \
1368     maybe-mostlyclean-gdb \
1369     maybe-mostlyclean-expect \
1370     maybe-mostlyclean-guile \
1371     maybe-mostlyclean-tk \
1372     maybe-mostlyclean-libtermcap \
1373     maybe-mostlyclean-utils
1374
1375 .PHONY: mostlyclean-target
1376 mostlyclean-target:  \
1377     maybe-mostlyclean-target-libstdc++-v3 \
1378     maybe-mostlyclean-target-libmudflap \
1379     maybe-mostlyclean-target-newlib \
1380     maybe-mostlyclean-target-libgfortran \
1381     maybe-mostlyclean-target-libobjc \
1382     maybe-mostlyclean-target-libtermcap \
1383     maybe-mostlyclean-target-winsup \
1384     maybe-mostlyclean-target-libgloss \
1385     maybe-mostlyclean-target-libiberty \
1386     maybe-mostlyclean-target-gperf \
1387     maybe-mostlyclean-target-examples \
1388     maybe-mostlyclean-target-libffi \
1389     maybe-mostlyclean-target-libjava \
1390     maybe-mostlyclean-target-zlib \
1391     maybe-mostlyclean-target-boehm-gc \
1392     maybe-mostlyclean-target-qthreads \
1393     maybe-mostlyclean-target-rda \
1394     maybe-mostlyclean-target-libada
1395
1396 .PHONY: do-clean
1397 do-clean: unstage clean-host clean-target stage
1398
1399 .PHONY: clean-host
1400 clean-host:  \
1401     maybe-clean-ash \
1402     maybe-clean-autoconf \
1403     maybe-clean-automake \
1404     maybe-clean-bash \
1405     maybe-clean-bfd \
1406     maybe-clean-opcodes \
1407     maybe-clean-binutils \
1408     maybe-clean-bison \
1409     maybe-clean-byacc \
1410     maybe-clean-bzip2 \
1411     maybe-clean-dejagnu \
1412     maybe-clean-diff \
1413     maybe-clean-dosutils \
1414     maybe-clean-etc \
1415     maybe-clean-fastjar \
1416     maybe-clean-fileutils \
1417     maybe-clean-findutils \
1418     maybe-clean-find \
1419     maybe-clean-flex \
1420     maybe-clean-gas \
1421     maybe-clean-gcc \
1422     maybe-clean-gawk \
1423     maybe-clean-gettext \
1424     maybe-clean-gnuserv \
1425     maybe-clean-gprof \
1426     maybe-clean-gzip \
1427     maybe-clean-hello \
1428     maybe-clean-indent \
1429     maybe-clean-intl \
1430     maybe-clean-tcl \
1431     maybe-clean-itcl \
1432     maybe-clean-ld \
1433     maybe-clean-libcpp \
1434     maybe-clean-libgui \
1435     maybe-clean-libiberty \
1436     maybe-clean-libtool \
1437     maybe-clean-m4 \
1438     maybe-clean-make \
1439     maybe-clean-mmalloc \
1440     maybe-clean-patch \
1441     maybe-clean-perl \
1442     maybe-clean-prms \
1443     maybe-clean-rcs \
1444     maybe-clean-readline \
1445     maybe-clean-release \
1446     maybe-clean-recode \
1447     maybe-clean-sed \
1448     maybe-clean-send-pr \
1449     maybe-clean-shellutils \
1450     maybe-clean-sid \
1451     maybe-clean-sim \
1452     maybe-clean-tar \
1453     maybe-clean-texinfo \
1454     maybe-clean-textutils \
1455     maybe-clean-time \
1456     maybe-clean-uudecode \
1457     maybe-clean-wdiff \
1458     maybe-clean-zip \
1459     maybe-clean-zlib \
1460     maybe-clean-gdb \
1461     maybe-clean-expect \
1462     maybe-clean-guile \
1463     maybe-clean-tk \
1464     maybe-clean-libtermcap \
1465     maybe-clean-utils
1466
1467 .PHONY: clean-target
1468 clean-target:  \
1469     maybe-clean-target-libstdc++-v3 \
1470     maybe-clean-target-libmudflap \
1471     maybe-clean-target-newlib \
1472     maybe-clean-target-libgfortran \
1473     maybe-clean-target-libobjc \
1474     maybe-clean-target-libtermcap \
1475     maybe-clean-target-winsup \
1476     maybe-clean-target-libgloss \
1477     maybe-clean-target-libiberty \
1478     maybe-clean-target-gperf \
1479     maybe-clean-target-examples \
1480     maybe-clean-target-libffi \
1481     maybe-clean-target-libjava \
1482     maybe-clean-target-zlib \
1483     maybe-clean-target-boehm-gc \
1484     maybe-clean-target-qthreads \
1485     maybe-clean-target-rda \
1486     maybe-clean-target-libada
1487
1488 .PHONY: do-distclean
1489 do-distclean: unstage distclean-host distclean-target stage
1490
1491 .PHONY: distclean-host
1492 distclean-host:  \
1493     maybe-distclean-ash \
1494     maybe-distclean-autoconf \
1495     maybe-distclean-automake \
1496     maybe-distclean-bash \
1497     maybe-distclean-bfd \
1498     maybe-distclean-opcodes \
1499     maybe-distclean-binutils \
1500     maybe-distclean-bison \
1501     maybe-distclean-byacc \
1502     maybe-distclean-bzip2 \
1503     maybe-distclean-dejagnu \
1504     maybe-distclean-diff \
1505     maybe-distclean-dosutils \
1506     maybe-distclean-etc \
1507     maybe-distclean-fastjar \
1508     maybe-distclean-fileutils \
1509     maybe-distclean-findutils \
1510     maybe-distclean-find \
1511     maybe-distclean-flex \
1512     maybe-distclean-gas \
1513     maybe-distclean-gcc \
1514     maybe-distclean-gawk \
1515     maybe-distclean-gettext \
1516     maybe-distclean-gnuserv \
1517     maybe-distclean-gprof \
1518     maybe-distclean-gzip \
1519     maybe-distclean-hello \
1520     maybe-distclean-indent \
1521     maybe-distclean-intl \
1522     maybe-distclean-tcl \
1523     maybe-distclean-itcl \
1524     maybe-distclean-ld \
1525     maybe-distclean-libcpp \
1526     maybe-distclean-libgui \
1527     maybe-distclean-libiberty \
1528     maybe-distclean-libtool \
1529     maybe-distclean-m4 \
1530     maybe-distclean-make \
1531     maybe-distclean-mmalloc \
1532     maybe-distclean-patch \
1533     maybe-distclean-perl \
1534     maybe-distclean-prms \
1535     maybe-distclean-rcs \
1536     maybe-distclean-readline \
1537     maybe-distclean-release \
1538     maybe-distclean-recode \
1539     maybe-distclean-sed \
1540     maybe-distclean-send-pr \
1541     maybe-distclean-shellutils \
1542     maybe-distclean-sid \
1543     maybe-distclean-sim \
1544     maybe-distclean-tar \
1545     maybe-distclean-texinfo \
1546     maybe-distclean-textutils \
1547     maybe-distclean-time \
1548     maybe-distclean-uudecode \
1549     maybe-distclean-wdiff \
1550     maybe-distclean-zip \
1551     maybe-distclean-zlib \
1552     maybe-distclean-gdb \
1553     maybe-distclean-expect \
1554     maybe-distclean-guile \
1555     maybe-distclean-tk \
1556     maybe-distclean-libtermcap \
1557     maybe-distclean-utils
1558
1559 .PHONY: distclean-target
1560 distclean-target:  \
1561     maybe-distclean-target-libstdc++-v3 \
1562     maybe-distclean-target-libmudflap \
1563     maybe-distclean-target-newlib \
1564     maybe-distclean-target-libgfortran \
1565     maybe-distclean-target-libobjc \
1566     maybe-distclean-target-libtermcap \
1567     maybe-distclean-target-winsup \
1568     maybe-distclean-target-libgloss \
1569     maybe-distclean-target-libiberty \
1570     maybe-distclean-target-gperf \
1571     maybe-distclean-target-examples \
1572     maybe-distclean-target-libffi \
1573     maybe-distclean-target-libjava \
1574     maybe-distclean-target-zlib \
1575     maybe-distclean-target-boehm-gc \
1576     maybe-distclean-target-qthreads \
1577     maybe-distclean-target-rda \
1578     maybe-distclean-target-libada
1579
1580 .PHONY: do-maintainer-clean
1581 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1582
1583 .PHONY: maintainer-clean-host
1584 maintainer-clean-host:  \
1585     maybe-maintainer-clean-ash \
1586     maybe-maintainer-clean-autoconf \
1587     maybe-maintainer-clean-automake \
1588     maybe-maintainer-clean-bash \
1589     maybe-maintainer-clean-bfd \
1590     maybe-maintainer-clean-opcodes \
1591     maybe-maintainer-clean-binutils \
1592     maybe-maintainer-clean-bison \
1593     maybe-maintainer-clean-byacc \
1594     maybe-maintainer-clean-bzip2 \
1595     maybe-maintainer-clean-dejagnu \
1596     maybe-maintainer-clean-diff \
1597     maybe-maintainer-clean-dosutils \
1598     maybe-maintainer-clean-etc \
1599     maybe-maintainer-clean-fastjar \
1600     maybe-maintainer-clean-fileutils \
1601     maybe-maintainer-clean-findutils \
1602     maybe-maintainer-clean-find \
1603     maybe-maintainer-clean-flex \
1604     maybe-maintainer-clean-gas \
1605     maybe-maintainer-clean-gcc \
1606     maybe-maintainer-clean-gawk \
1607     maybe-maintainer-clean-gettext \
1608     maybe-maintainer-clean-gnuserv \
1609     maybe-maintainer-clean-gprof \
1610     maybe-maintainer-clean-gzip \
1611     maybe-maintainer-clean-hello \
1612     maybe-maintainer-clean-indent \
1613     maybe-maintainer-clean-intl \
1614     maybe-maintainer-clean-tcl \
1615     maybe-maintainer-clean-itcl \
1616     maybe-maintainer-clean-ld \
1617     maybe-maintainer-clean-libcpp \
1618     maybe-maintainer-clean-libgui \
1619     maybe-maintainer-clean-libiberty \
1620     maybe-maintainer-clean-libtool \
1621     maybe-maintainer-clean-m4 \
1622     maybe-maintainer-clean-make \
1623     maybe-maintainer-clean-mmalloc \
1624     maybe-maintainer-clean-patch \
1625     maybe-maintainer-clean-perl \
1626     maybe-maintainer-clean-prms \
1627     maybe-maintainer-clean-rcs \
1628     maybe-maintainer-clean-readline \
1629     maybe-maintainer-clean-release \
1630     maybe-maintainer-clean-recode \
1631     maybe-maintainer-clean-sed \
1632     maybe-maintainer-clean-send-pr \
1633     maybe-maintainer-clean-shellutils \
1634     maybe-maintainer-clean-sid \
1635     maybe-maintainer-clean-sim \
1636     maybe-maintainer-clean-tar \
1637     maybe-maintainer-clean-texinfo \
1638     maybe-maintainer-clean-textutils \
1639     maybe-maintainer-clean-time \
1640     maybe-maintainer-clean-uudecode \
1641     maybe-maintainer-clean-wdiff \
1642     maybe-maintainer-clean-zip \
1643     maybe-maintainer-clean-zlib \
1644     maybe-maintainer-clean-gdb \
1645     maybe-maintainer-clean-expect \
1646     maybe-maintainer-clean-guile \
1647     maybe-maintainer-clean-tk \
1648     maybe-maintainer-clean-libtermcap \
1649     maybe-maintainer-clean-utils
1650
1651 .PHONY: maintainer-clean-target
1652 maintainer-clean-target:  \
1653     maybe-maintainer-clean-target-libstdc++-v3 \
1654     maybe-maintainer-clean-target-libmudflap \
1655     maybe-maintainer-clean-target-newlib \
1656     maybe-maintainer-clean-target-libgfortran \
1657     maybe-maintainer-clean-target-libobjc \
1658     maybe-maintainer-clean-target-libtermcap \
1659     maybe-maintainer-clean-target-winsup \
1660     maybe-maintainer-clean-target-libgloss \
1661     maybe-maintainer-clean-target-libiberty \
1662     maybe-maintainer-clean-target-gperf \
1663     maybe-maintainer-clean-target-examples \
1664     maybe-maintainer-clean-target-libffi \
1665     maybe-maintainer-clean-target-libjava \
1666     maybe-maintainer-clean-target-zlib \
1667     maybe-maintainer-clean-target-boehm-gc \
1668     maybe-maintainer-clean-target-qthreads \
1669     maybe-maintainer-clean-target-rda \
1670     maybe-maintainer-clean-target-libada
1671
1672
1673 # Here are the targets which correspond to the do-X targets.
1674
1675 .PHONY: info installcheck dvi install-info
1676 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1677 .PHONY: local-clean local-distclean local-maintainer-clean
1678 info: do-info
1679 installcheck: do-installcheck
1680 dvi: do-dvi
1681
1682 # Make sure makeinfo is built before we do a `make info', if we're
1683 # in fact building texinfo.
1684 do-info: maybe-all-texinfo
1685
1686 install-info: do-install-info dir.info
1687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1688         if [ -f dir.info ] ; then \
1689           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1690         else true ; fi
1691
1692 local-clean:
1693         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1694
1695 local-distclean:
1696         -rm -f Makefile config.status config.cache mh-frag mt-frag
1697         -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1698         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1699           rm -rf $(TARGET_SUBDIR); \
1700         else true; fi
1701         -rm -rf $(BUILD_SUBDIR)
1702         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1703         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1704         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1705         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1706         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1707
1708 local-maintainer-clean:
1709         @echo "This command is intended for maintainers to use;"
1710         @echo "it deletes files that may require special tools to rebuild."
1711
1712 clean: do-clean local-clean
1713 mostlyclean: do-mostlyclean local-clean
1714 distclean: do-distclean local-clean local-distclean
1715 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
1716 maintainer-clean: local-distclean
1717 realclean: maintainer-clean
1718
1719 # Extra dependency for clean-target, owing to the mixed nature of gcc
1720 clean-target: clean-target-libgcc
1721 clean-target-libgcc:
1722         test ! -d gcc/libgcc || \
1723         (cd gcc/libgcc && find . -type d -print) | \
1724         while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1725         -rm -rf gcc/libgcc
1726
1727 # Check target.
1728
1729 .PHONY: check do-check
1730 check: do-check
1731
1732 # Only include modules actually being configured and built.
1733 do-check: unstage  \
1734     maybe-check-ash \
1735     maybe-check-autoconf \
1736     maybe-check-automake \
1737     maybe-check-bash \
1738     maybe-check-bfd \
1739     maybe-check-opcodes \
1740     maybe-check-binutils \
1741     maybe-check-bison \
1742     maybe-check-byacc \
1743     maybe-check-bzip2 \
1744     maybe-check-dejagnu \
1745     maybe-check-diff \
1746     maybe-check-dosutils \
1747     maybe-check-etc \
1748     maybe-check-fastjar \
1749     maybe-check-fileutils \
1750     maybe-check-findutils \
1751     maybe-check-find \
1752     maybe-check-flex \
1753     maybe-check-gas \
1754     maybe-check-gcc \
1755     maybe-check-gawk \
1756     maybe-check-gettext \
1757     maybe-check-gnuserv \
1758     maybe-check-gprof \
1759     maybe-check-gzip \
1760     maybe-check-hello \
1761     maybe-check-indent \
1762     maybe-check-intl \
1763     maybe-check-tcl \
1764     maybe-check-itcl \
1765     maybe-check-ld \
1766     maybe-check-libcpp \
1767     maybe-check-libgui \
1768     maybe-check-libiberty \
1769     maybe-check-libtool \
1770     maybe-check-m4 \
1771     maybe-check-make \
1772     maybe-check-mmalloc \
1773     maybe-check-patch \
1774     maybe-check-perl \
1775     maybe-check-prms \
1776     maybe-check-rcs \
1777     maybe-check-readline \
1778     maybe-check-release \
1779     maybe-check-recode \
1780     maybe-check-sed \
1781     maybe-check-send-pr \
1782     maybe-check-shellutils \
1783     maybe-check-sid \
1784     maybe-check-sim \
1785     maybe-check-tar \
1786     maybe-check-texinfo \
1787     maybe-check-textutils \
1788     maybe-check-time \
1789     maybe-check-uudecode \
1790     maybe-check-wdiff \
1791     maybe-check-zip \
1792     maybe-check-zlib \
1793     maybe-check-gdb \
1794     maybe-check-expect \
1795     maybe-check-guile \
1796     maybe-check-tk \
1797     maybe-check-libtermcap \
1798     maybe-check-utils \
1799     maybe-check-target-libstdc++-v3 \
1800     maybe-check-target-libmudflap \
1801     maybe-check-target-newlib \
1802     maybe-check-target-libgfortran \
1803     maybe-check-target-libobjc \
1804     maybe-check-target-libtermcap \
1805     maybe-check-target-winsup \
1806     maybe-check-target-libgloss \
1807     maybe-check-target-libiberty \
1808     maybe-check-target-gperf \
1809     maybe-check-target-examples \
1810     maybe-check-target-libffi \
1811     maybe-check-target-libjava \
1812     maybe-check-target-zlib \
1813     maybe-check-target-boehm-gc \
1814     maybe-check-target-qthreads \
1815     maybe-check-target-rda \
1816     maybe-check-target-libada stage
1817
1818 # Automated reporting of test results.
1819
1820 warning.log: build.log
1821         $(srcdir)/contrib/warn_summary build.log > $@
1822
1823 mail-report.log:
1824         if test x'$(BOOT_CFLAGS)' != x''; then \
1825             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1826         fi; \
1827         $(srcdir)/contrib/test_summary -t >$@
1828         chmod +x $@
1829         echo If you really want to send e-mail, run ./$@ now
1830
1831 mail-report-with-warnings.log: warning.log
1832         if test x'$(BOOT_CFLAGS)' != x''; then \
1833             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1834         fi; \
1835         $(srcdir)/contrib/test_summary -t -i warning.log >$@
1836         chmod +x $@
1837         echo If you really want to send e-mail, run ./$@ now
1838
1839 # Installation targets.
1840
1841 .PHONY: install uninstall
1842 install: installdirs install-host install-target
1843
1844 .PHONY: install-host-nogcc
1845 install-host-nogcc:  \
1846     maybe-install-ash \
1847     maybe-install-autoconf \
1848     maybe-install-automake \
1849     maybe-install-bash \
1850     maybe-install-bfd \
1851     maybe-install-opcodes \
1852     maybe-install-binutils \
1853     maybe-install-bison \
1854     maybe-install-byacc \
1855     maybe-install-bzip2 \
1856     maybe-install-dejagnu \
1857     maybe-install-diff \
1858     maybe-install-dosutils \
1859     maybe-install-etc \
1860     maybe-install-fastjar \
1861     maybe-install-fileutils \
1862     maybe-install-findutils \
1863     maybe-install-find \
1864     maybe-install-flex \
1865     maybe-install-gas \
1866     maybe-install-gawk \
1867     maybe-install-gettext \
1868     maybe-install-gnuserv \
1869     maybe-install-gprof \
1870     maybe-install-gzip \
1871     maybe-install-hello \
1872     maybe-install-indent \
1873     maybe-install-intl \
1874     maybe-install-tcl \
1875     maybe-install-itcl \
1876     maybe-install-ld \
1877     maybe-install-libcpp \
1878     maybe-install-libgui \
1879     maybe-install-libiberty \
1880     maybe-install-libtool \
1881     maybe-install-m4 \
1882     maybe-install-make \
1883     maybe-install-mmalloc \
1884     maybe-install-patch \
1885     maybe-install-perl \
1886     maybe-install-prms \
1887     maybe-install-rcs \
1888     maybe-install-readline \
1889     maybe-install-release \
1890     maybe-install-recode \
1891     maybe-install-sed \
1892     maybe-install-send-pr \
1893     maybe-install-shellutils \
1894     maybe-install-sid \
1895     maybe-install-sim \
1896     maybe-install-tar \
1897     maybe-install-texinfo \
1898     maybe-install-textutils \
1899     maybe-install-time \
1900     maybe-install-uudecode \
1901     maybe-install-wdiff \
1902     maybe-install-zip \
1903     maybe-install-zlib \
1904     maybe-install-gdb \
1905     maybe-install-expect \
1906     maybe-install-guile \
1907     maybe-install-tk \
1908     maybe-install-libtermcap \
1909     maybe-install-utils
1910
1911 .PHONY: install-host
1912 install-host:  \
1913     maybe-install-ash \
1914     maybe-install-autoconf \
1915     maybe-install-automake \
1916     maybe-install-bash \
1917     maybe-install-bfd \
1918     maybe-install-opcodes \
1919     maybe-install-binutils \
1920     maybe-install-bison \
1921     maybe-install-byacc \
1922     maybe-install-bzip2 \
1923     maybe-install-dejagnu \
1924     maybe-install-diff \
1925     maybe-install-dosutils \
1926     maybe-install-etc \
1927     maybe-install-fastjar \
1928     maybe-install-fileutils \
1929     maybe-install-findutils \
1930     maybe-install-find \
1931     maybe-install-flex \
1932     maybe-install-gas \
1933     maybe-install-gcc \
1934     maybe-install-gawk \
1935     maybe-install-gettext \
1936     maybe-install-gnuserv \
1937     maybe-install-gprof \
1938     maybe-install-gzip \
1939     maybe-install-hello \
1940     maybe-install-indent \
1941     maybe-install-intl \
1942     maybe-install-tcl \
1943     maybe-install-itcl \
1944     maybe-install-ld \
1945     maybe-install-libcpp \
1946     maybe-install-libgui \
1947     maybe-install-libiberty \
1948     maybe-install-libtool \
1949     maybe-install-m4 \
1950     maybe-install-make \
1951     maybe-install-mmalloc \
1952     maybe-install-patch \
1953     maybe-install-perl \
1954     maybe-install-prms \
1955     maybe-install-rcs \
1956     maybe-install-readline \
1957     maybe-install-release \
1958     maybe-install-recode \
1959     maybe-install-sed \
1960     maybe-install-send-pr \
1961     maybe-install-shellutils \
1962     maybe-install-sid \
1963     maybe-install-sim \
1964     maybe-install-tar \
1965     maybe-install-texinfo \
1966     maybe-install-textutils \
1967     maybe-install-time \
1968     maybe-install-uudecode \
1969     maybe-install-wdiff \
1970     maybe-install-zip \
1971     maybe-install-zlib \
1972     maybe-install-gdb \
1973     maybe-install-expect \
1974     maybe-install-guile \
1975     maybe-install-tk \
1976     maybe-install-libtermcap \
1977     maybe-install-utils
1978
1979 .PHONY: install-target
1980 install-target:  \
1981     maybe-install-target-libstdc++-v3 \
1982     maybe-install-target-libmudflap \
1983     maybe-install-target-newlib \
1984     maybe-install-target-libgfortran \
1985     maybe-install-target-libobjc \
1986     maybe-install-target-libtermcap \
1987     maybe-install-target-winsup \
1988     maybe-install-target-libgloss \
1989     maybe-install-target-libiberty \
1990     maybe-install-target-gperf \
1991     maybe-install-target-examples \
1992     maybe-install-target-libffi \
1993     maybe-install-target-libjava \
1994     maybe-install-target-zlib \
1995     maybe-install-target-boehm-gc \
1996     maybe-install-target-qthreads \
1997     maybe-install-target-rda \
1998     maybe-install-target-libada
1999
2000 uninstall:
2001         @echo "the uninstall target is not supported in this tree"
2002
2003 .PHONY: install.all
2004 install.all: install-no-fixedincludes
2005         @if [ -f ./gcc/Makefile ] ; then \
2006                 r=`${PWD_COMMAND}` ; export r ; \
2007                 $(SET_LIB_PATH) \
2008                 $(HOST_EXPORTS) \
2009                 (cd ./gcc && \
2010                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2011         else \
2012                 true ; \
2013         fi
2014
2015 # install-no-fixedincludes is used because Cygnus can not distribute
2016 # the fixed header files.
2017 .PHONY: install-no-fixedincludes
2018 install-no-fixedincludes: installdirs install-host-nogcc \
2019         install-target gcc-no-fixedincludes
2020
2021 ### other supporting targets
2022
2023 MAKEDIRS= \
2024         $(DESTDIR)$(prefix) \
2025         $(DESTDIR)$(exec_prefix)
2026 .PHONY: installdirs
2027 installdirs: mkinstalldirs
2028         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2029
2030 dir.info: do-install-info
2031         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2032           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2033           mv -f dir.info.new dir.info ; \
2034         else true ; \
2035         fi
2036
2037 dist:
2038         @echo "Building a full distribution of this tree isn't done"
2039         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
2040
2041 etags tags: TAGS
2042
2043 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
2044 # ability to use several tags files at once, so there is probably no need
2045 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
2046 # (if we felt like it) have this Makefile write a piece of elisp which
2047 # the user could load to tell emacs19 where all the TAGS files we just
2048 # built are.
2049 TAGS: do-TAGS
2050
2051 # --------------------------------------
2052 # Modules which run on the build machine
2053 # --------------------------------------
2054
2055 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2056 maybe-configure-build-libiberty:
2057 @if build-libiberty
2058 maybe-configure-build-libiberty: configure-build-libiberty
2059 configure-build-libiberty:
2060         @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2061         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2062         r=`${PWD_COMMAND}`; export r; \
2063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2064         $(BUILD_EXPORTS) \
2065         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2066         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2067         case $(srcdir) in \
2068           /* | [A-Za-z]:[\\/]*) \
2069             topdir=$(srcdir) ;; \
2070           *) \
2071             case "$(BUILD_SUBDIR)" in \
2072               .) topdir="../$(srcdir)" ;; \
2073               *) topdir="../../$(srcdir)" ;; \
2074             esac ;; \
2075         esac; \
2076         if [ "$(srcdir)" = "." ] ; then \
2077           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2078             if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2079               if [ -f Makefile ]; then \
2080                 if $(MAKE) distclean; then \
2081                   true; \
2082                 else \
2083                   exit 1; \
2084                 fi; \
2085               else \
2086                 true; \
2087               fi; \
2088             else \
2089               exit 1; \
2090             fi; \
2091           else \
2092             true; \
2093           fi; \
2094           srcdiroption="--srcdir=."; \
2095           libsrcdir="."; \
2096         else \
2097           srcdiroption="--srcdir=$${topdir}/libiberty"; \
2098           libsrcdir="$$s/libiberty"; \
2099         fi; \
2100         rm -f no-such-file || : ; \
2101         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2102           $(BUILD_CONFIGARGS) $${srcdiroption} \
2103           --with-build-subdir="$(BUILD_SUBDIR)"  \
2104           || exit 1
2105 @endif build-libiberty
2106
2107 .PHONY: all-build-libiberty maybe-all-build-libiberty
2108 maybe-all-build-libiberty:
2109 @if build-libiberty
2110 TARGET-build-libiberty=all
2111 maybe-all-build-libiberty: all-build-libiberty
2112 all-build-libiberty: configure-build-libiberty
2113         @r=`${PWD_COMMAND}`; export r; \
2114         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2115         $(BUILD_EXPORTS) \
2116         (cd $(BUILD_SUBDIR)/libiberty && \
2117           $(MAKE)  $(TARGET-build-libiberty))
2118 @endif build-libiberty
2119
2120 .PHONY: configure-build-bison maybe-configure-build-bison
2121 maybe-configure-build-bison:
2122 @if build-bison
2123 maybe-configure-build-bison: configure-build-bison
2124 configure-build-bison:
2125         @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2126         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2127         r=`${PWD_COMMAND}`; export r; \
2128         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2129         $(BUILD_EXPORTS) \
2130         echo Configuring in $(BUILD_SUBDIR)/bison; \
2131         cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2132         case $(srcdir) in \
2133           /* | [A-Za-z]:[\\/]*) \
2134             topdir=$(srcdir) ;; \
2135           *) \
2136             case "$(BUILD_SUBDIR)" in \
2137               .) topdir="../$(srcdir)" ;; \
2138               *) topdir="../../$(srcdir)" ;; \
2139             esac ;; \
2140         esac; \
2141         if [ "$(srcdir)" = "." ] ; then \
2142           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2143             if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2144               if [ -f Makefile ]; then \
2145                 if $(MAKE) distclean; then \
2146                   true; \
2147                 else \
2148                   exit 1; \
2149                 fi; \
2150               else \
2151                 true; \
2152               fi; \
2153             else \
2154               exit 1; \
2155             fi; \
2156           else \
2157             true; \
2158           fi; \
2159           srcdiroption="--srcdir=."; \
2160           libsrcdir="."; \
2161         else \
2162           srcdiroption="--srcdir=$${topdir}/bison"; \
2163           libsrcdir="$$s/bison"; \
2164         fi; \
2165         rm -f no-such-file || : ; \
2166         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2167           $(BUILD_CONFIGARGS) $${srcdiroption} \
2168           --with-build-subdir="$(BUILD_SUBDIR)"  \
2169           || exit 1
2170 @endif build-bison
2171
2172 .PHONY: all-build-bison maybe-all-build-bison
2173 maybe-all-build-bison:
2174 @if build-bison
2175 TARGET-build-bison=all
2176 maybe-all-build-bison: all-build-bison
2177 all-build-bison: configure-build-bison
2178         @r=`${PWD_COMMAND}`; export r; \
2179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2180         $(BUILD_EXPORTS) \
2181         (cd $(BUILD_SUBDIR)/bison && \
2182           $(MAKE)  $(TARGET-build-bison))
2183 @endif build-bison
2184
2185 .PHONY: configure-build-byacc maybe-configure-build-byacc
2186 maybe-configure-build-byacc:
2187 @if build-byacc
2188 maybe-configure-build-byacc: configure-build-byacc
2189 configure-build-byacc:
2190         @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2191         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2192         r=`${PWD_COMMAND}`; export r; \
2193         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2194         $(BUILD_EXPORTS) \
2195         echo Configuring in $(BUILD_SUBDIR)/byacc; \
2196         cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2197         case $(srcdir) in \
2198           /* | [A-Za-z]:[\\/]*) \
2199             topdir=$(srcdir) ;; \
2200           *) \
2201             case "$(BUILD_SUBDIR)" in \
2202               .) topdir="../$(srcdir)" ;; \
2203               *) topdir="../../$(srcdir)" ;; \
2204             esac ;; \
2205         esac; \
2206         if [ "$(srcdir)" = "." ] ; then \
2207           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2208             if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2209               if [ -f Makefile ]; then \
2210                 if $(MAKE) distclean; then \
2211                   true; \
2212                 else \
2213                   exit 1; \
2214                 fi; \
2215               else \
2216                 true; \
2217               fi; \
2218             else \
2219               exit 1; \
2220             fi; \
2221           else \
2222             true; \
2223           fi; \
2224           srcdiroption="--srcdir=."; \
2225           libsrcdir="."; \
2226         else \
2227           srcdiroption="--srcdir=$${topdir}/byacc"; \
2228           libsrcdir="$$s/byacc"; \
2229         fi; \
2230         rm -f no-such-file || : ; \
2231         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2232           $(BUILD_CONFIGARGS) $${srcdiroption} \
2233           --with-build-subdir="$(BUILD_SUBDIR)"  \
2234           || exit 1
2235 @endif build-byacc
2236
2237 .PHONY: all-build-byacc maybe-all-build-byacc
2238 maybe-all-build-byacc:
2239 @if build-byacc
2240 TARGET-build-byacc=all
2241 maybe-all-build-byacc: all-build-byacc
2242 all-build-byacc: configure-build-byacc
2243         @r=`${PWD_COMMAND}`; export r; \
2244         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2245         $(BUILD_EXPORTS) \
2246         (cd $(BUILD_SUBDIR)/byacc && \
2247           $(MAKE)  $(TARGET-build-byacc))
2248 @endif build-byacc
2249
2250 .PHONY: configure-build-flex maybe-configure-build-flex
2251 maybe-configure-build-flex:
2252 @if build-flex
2253 maybe-configure-build-flex: configure-build-flex
2254 configure-build-flex:
2255         @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2256         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2257         r=`${PWD_COMMAND}`; export r; \
2258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2259         $(BUILD_EXPORTS) \
2260         echo Configuring in $(BUILD_SUBDIR)/flex; \
2261         cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2262         case $(srcdir) in \
2263           /* | [A-Za-z]:[\\/]*) \
2264             topdir=$(srcdir) ;; \
2265           *) \
2266             case "$(BUILD_SUBDIR)" in \
2267               .) topdir="../$(srcdir)" ;; \
2268               *) topdir="../../$(srcdir)" ;; \
2269             esac ;; \
2270         esac; \
2271         if [ "$(srcdir)" = "." ] ; then \
2272           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2273             if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2274               if [ -f Makefile ]; then \
2275                 if $(MAKE) distclean; then \
2276                   true; \
2277                 else \
2278                   exit 1; \
2279                 fi; \
2280               else \
2281                 true; \
2282               fi; \
2283             else \
2284               exit 1; \
2285             fi; \
2286           else \
2287             true; \
2288           fi; \
2289           srcdiroption="--srcdir=."; \
2290           libsrcdir="."; \
2291         else \
2292           srcdiroption="--srcdir=$${topdir}/flex"; \
2293           libsrcdir="$$s/flex"; \
2294         fi; \
2295         rm -f no-such-file || : ; \
2296         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2297           $(BUILD_CONFIGARGS) $${srcdiroption} \
2298           --with-build-subdir="$(BUILD_SUBDIR)"  \
2299           || exit 1
2300 @endif build-flex
2301
2302 .PHONY: all-build-flex maybe-all-build-flex
2303 maybe-all-build-flex:
2304 @if build-flex
2305 TARGET-build-flex=all
2306 maybe-all-build-flex: all-build-flex
2307 all-build-flex: configure-build-flex
2308         @r=`${PWD_COMMAND}`; export r; \
2309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2310         $(BUILD_EXPORTS) \
2311         (cd $(BUILD_SUBDIR)/flex && \
2312           $(MAKE)  $(TARGET-build-flex))
2313 @endif build-flex
2314
2315 .PHONY: configure-build-m4 maybe-configure-build-m4
2316 maybe-configure-build-m4:
2317 @if build-m4
2318 maybe-configure-build-m4: configure-build-m4
2319 configure-build-m4:
2320         @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2321         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2322         r=`${PWD_COMMAND}`; export r; \
2323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2324         $(BUILD_EXPORTS) \
2325         echo Configuring in $(BUILD_SUBDIR)/m4; \
2326         cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2327         case $(srcdir) in \
2328           /* | [A-Za-z]:[\\/]*) \
2329             topdir=$(srcdir) ;; \
2330           *) \
2331             case "$(BUILD_SUBDIR)" in \
2332               .) topdir="../$(srcdir)" ;; \
2333               *) topdir="../../$(srcdir)" ;; \
2334             esac ;; \
2335         esac; \
2336         if [ "$(srcdir)" = "." ] ; then \
2337           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2338             if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2339               if [ -f Makefile ]; then \
2340                 if $(MAKE) distclean; then \
2341                   true; \
2342                 else \
2343                   exit 1; \
2344                 fi; \
2345               else \
2346                 true; \
2347               fi; \
2348             else \
2349               exit 1; \
2350             fi; \
2351           else \
2352             true; \
2353           fi; \
2354           srcdiroption="--srcdir=."; \
2355           libsrcdir="."; \
2356         else \
2357           srcdiroption="--srcdir=$${topdir}/m4"; \
2358           libsrcdir="$$s/m4"; \
2359         fi; \
2360         rm -f no-such-file || : ; \
2361         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2362           $(BUILD_CONFIGARGS) $${srcdiroption} \
2363           --with-build-subdir="$(BUILD_SUBDIR)"  \
2364           || exit 1
2365 @endif build-m4
2366
2367 .PHONY: all-build-m4 maybe-all-build-m4
2368 maybe-all-build-m4:
2369 @if build-m4
2370 TARGET-build-m4=all
2371 maybe-all-build-m4: all-build-m4
2372 all-build-m4: configure-build-m4
2373         @r=`${PWD_COMMAND}`; export r; \
2374         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2375         $(BUILD_EXPORTS) \
2376         (cd $(BUILD_SUBDIR)/m4 && \
2377           $(MAKE)  $(TARGET-build-m4))
2378 @endif build-m4
2379
2380 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2381 maybe-configure-build-texinfo:
2382 @if build-texinfo
2383 maybe-configure-build-texinfo: configure-build-texinfo
2384 configure-build-texinfo:
2385         @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2386         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2387         r=`${PWD_COMMAND}`; export r; \
2388         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2389         $(BUILD_EXPORTS) \
2390         echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2391         cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2392         case $(srcdir) in \
2393           /* | [A-Za-z]:[\\/]*) \
2394             topdir=$(srcdir) ;; \
2395           *) \
2396             case "$(BUILD_SUBDIR)" in \
2397               .) topdir="../$(srcdir)" ;; \
2398               *) topdir="../../$(srcdir)" ;; \
2399             esac ;; \
2400         esac; \
2401         if [ "$(srcdir)" = "." ] ; then \
2402           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2403             if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2404               if [ -f Makefile ]; then \
2405                 if $(MAKE) distclean; then \
2406                   true; \
2407                 else \
2408                   exit 1; \
2409                 fi; \
2410               else \
2411                 true; \
2412               fi; \
2413             else \
2414               exit 1; \
2415             fi; \
2416           else \
2417             true; \
2418           fi; \
2419           srcdiroption="--srcdir=."; \
2420           libsrcdir="."; \
2421         else \
2422           srcdiroption="--srcdir=$${topdir}/texinfo"; \
2423           libsrcdir="$$s/texinfo"; \
2424         fi; \
2425         rm -f no-such-file || : ; \
2426         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2427           $(BUILD_CONFIGARGS) $${srcdiroption} \
2428           --with-build-subdir="$(BUILD_SUBDIR)"  \
2429           || exit 1
2430 @endif build-texinfo
2431
2432 .PHONY: all-build-texinfo maybe-all-build-texinfo
2433 maybe-all-build-texinfo:
2434 @if build-texinfo
2435 TARGET-build-texinfo=all
2436 maybe-all-build-texinfo: all-build-texinfo
2437 all-build-texinfo: configure-build-texinfo
2438         @r=`${PWD_COMMAND}`; export r; \
2439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2440         $(BUILD_EXPORTS) \
2441         (cd $(BUILD_SUBDIR)/texinfo && \
2442           $(MAKE)  $(TARGET-build-texinfo))
2443 @endif build-texinfo
2444
2445 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2446 maybe-configure-build-fixincludes:
2447 @if build-fixincludes
2448 maybe-configure-build-fixincludes: configure-build-fixincludes
2449 configure-build-fixincludes:
2450         @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2451         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2452         r=`${PWD_COMMAND}`; export r; \
2453         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2454         $(BUILD_EXPORTS) \
2455         echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2456         cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2457         case $(srcdir) in \
2458           /* | [A-Za-z]:[\\/]*) \
2459             topdir=$(srcdir) ;; \
2460           *) \
2461             case "$(BUILD_SUBDIR)" in \
2462               .) topdir="../$(srcdir)" ;; \
2463               *) topdir="../../$(srcdir)" ;; \
2464             esac ;; \
2465         esac; \
2466         if [ "$(srcdir)" = "." ] ; then \
2467           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2468             if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2469               if [ -f Makefile ]; then \
2470                 if $(MAKE) distclean; then \
2471                   true; \
2472                 else \
2473                   exit 1; \
2474                 fi; \
2475               else \
2476                 true; \
2477               fi; \
2478             else \
2479               exit 1; \
2480             fi; \
2481           else \
2482             true; \
2483           fi; \
2484           srcdiroption="--srcdir=."; \
2485           libsrcdir="."; \
2486         else \
2487           srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2488           libsrcdir="$$s/fixincludes"; \
2489         fi; \
2490         rm -f no-such-file || : ; \
2491         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2492           $(BUILD_CONFIGARGS) $${srcdiroption} \
2493           --with-build-subdir="$(BUILD_SUBDIR)"  \
2494           || exit 1
2495 @endif build-fixincludes
2496
2497 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2498 maybe-all-build-fixincludes:
2499 @if build-fixincludes
2500 TARGET-build-fixincludes=all
2501 maybe-all-build-fixincludes: all-build-fixincludes
2502 all-build-fixincludes: configure-build-fixincludes
2503         @r=`${PWD_COMMAND}`; export r; \
2504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2505         $(BUILD_EXPORTS) \
2506         (cd $(BUILD_SUBDIR)/fixincludes && \
2507           $(MAKE)  $(TARGET-build-fixincludes))
2508 @endif build-fixincludes
2509
2510
2511 # --------------------------------------
2512 # Modules which run on the host machine
2513 # --------------------------------------
2514
2515 .PHONY: configure-ash maybe-configure-ash
2516 maybe-configure-ash:
2517 @if ash
2518 maybe-configure-ash: configure-ash
2519 configure-ash:
2520         @test ! -f ash/Makefile || exit 0; \
2521         [ -d ash ] || mkdir ash; \
2522         r=`${PWD_COMMAND}`; export r; \
2523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2524         $(HOST_EXPORTS) \
2525         echo Configuring in ash; \
2526         cd ash || exit 1; \
2527         case $(srcdir) in \
2528           \.) \
2529             srcdiroption="--srcdir=."; \
2530             libsrcdir=".";; \
2531           /* | [A-Za-z]:[\\/]*) \
2532             srcdiroption="--srcdir=$(srcdir)/ash"; \
2533             libsrcdir="$$s/ash";; \
2534           *) \
2535             srcdiroption="--srcdir=../$(srcdir)/ash"; \
2536             libsrcdir="$$s/ash";; \
2537         esac; \
2538         $(SHELL) $${libsrcdir}/configure \
2539           $(HOST_CONFIGARGS) $${srcdiroption}  \
2540           || exit 1
2541 @endif ash
2542
2543 .PHONY: all-ash maybe-all-ash
2544 maybe-all-ash:
2545 @if ash
2546 TARGET-ash=all
2547 maybe-all-ash: all-ash
2548 all-ash: configure-ash
2549         @r=`${PWD_COMMAND}`; export r; \
2550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2551         $(SET_LIB_PATH) \
2552         $(HOST_EXPORTS) \
2553         (cd ash && $(MAKE) $(FLAGS_TO_PASS)  \
2554           $(TARGET-ash))
2555 @endif ash
2556
2557 .PHONY: check-ash maybe-check-ash
2558 maybe-check-ash:
2559 @if ash
2560 maybe-check-ash: check-ash
2561
2562 check-ash:
2563         @r=`${PWD_COMMAND}`; export r; \
2564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565         $(SET_LIB_PATH) \
2566         $(HOST_EXPORTS) \
2567         (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2568
2569 @endif ash
2570
2571 .PHONY: install-ash maybe-install-ash
2572 maybe-install-ash:
2573 @if ash
2574 maybe-install-ash: install-ash
2575
2576 install-ash: installdirs
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) install)
2582
2583 @endif ash
2584
2585 # Other targets (info, dvi, etc.)
2586
2587 .PHONY: maybe-info-ash info-ash
2588 maybe-info-ash:
2589 @if ash
2590 maybe-info-ash: info-ash
2591
2592 info-ash: \
2593     configure-ash 
2594         @[ -f ./ash/Makefile ] || exit 0; \
2595         r=`${PWD_COMMAND}`; export r; \
2596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597         $(SET_LIB_PATH) \
2598         $(HOST_EXPORTS) \
2599         for flag in $(EXTRA_HOST_FLAGS) ; do \
2600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2601         done; \
2602         echo "Doing info in ash" ; \
2603         (cd ash && \
2604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2606                   "RANLIB=$${RANLIB}" \
2607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2608                   info) \
2609           || exit 1
2610
2611 @endif ash
2612
2613 .PHONY: maybe-dvi-ash dvi-ash
2614 maybe-dvi-ash:
2615 @if ash
2616 maybe-dvi-ash: dvi-ash
2617
2618 dvi-ash: \
2619     configure-ash 
2620         @[ -f ./ash/Makefile ] || exit 0; \
2621         r=`${PWD_COMMAND}`; export r; \
2622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623         $(SET_LIB_PATH) \
2624         $(HOST_EXPORTS) \
2625         for flag in $(EXTRA_HOST_FLAGS) ; do \
2626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2627         done; \
2628         echo "Doing dvi in ash" ; \
2629         (cd ash && \
2630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2632                   "RANLIB=$${RANLIB}" \
2633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2634                   dvi) \
2635           || exit 1
2636
2637 @endif ash
2638
2639 .PHONY: maybe-TAGS-ash TAGS-ash
2640 maybe-TAGS-ash:
2641 @if ash
2642 maybe-TAGS-ash: TAGS-ash
2643
2644 TAGS-ash: \
2645     configure-ash 
2646         @[ -f ./ash/Makefile ] || exit 0; \
2647         r=`${PWD_COMMAND}`; export r; \
2648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2649         $(SET_LIB_PATH) \
2650         $(HOST_EXPORTS) \
2651         for flag in $(EXTRA_HOST_FLAGS) ; do \
2652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2653         done; \
2654         echo "Doing TAGS in ash" ; \
2655         (cd ash && \
2656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2658                   "RANLIB=$${RANLIB}" \
2659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2660                   TAGS) \
2661           || exit 1
2662
2663 @endif ash
2664
2665 .PHONY: maybe-install-info-ash install-info-ash
2666 maybe-install-info-ash:
2667 @if ash
2668 maybe-install-info-ash: install-info-ash
2669
2670 install-info-ash: \
2671     configure-ash \
2672     info-ash 
2673         @[ -f ./ash/Makefile ] || exit 0; \
2674         r=`${PWD_COMMAND}`; export r; \
2675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2676         $(SET_LIB_PATH) \
2677         $(HOST_EXPORTS) \
2678         for flag in $(EXTRA_HOST_FLAGS) ; do \
2679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2680         done; \
2681         echo "Doing install-info in ash" ; \
2682         (cd ash && \
2683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2685                   "RANLIB=$${RANLIB}" \
2686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2687                   install-info) \
2688           || exit 1
2689
2690 @endif ash
2691
2692 .PHONY: maybe-installcheck-ash installcheck-ash
2693 maybe-installcheck-ash:
2694 @if ash
2695 maybe-installcheck-ash: installcheck-ash
2696
2697 installcheck-ash: \
2698     configure-ash 
2699         @[ -f ./ash/Makefile ] || exit 0; \
2700         r=`${PWD_COMMAND}`; export r; \
2701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702         $(SET_LIB_PATH) \
2703         $(HOST_EXPORTS) \
2704         for flag in $(EXTRA_HOST_FLAGS) ; do \
2705           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2706         done; \
2707         echo "Doing installcheck in ash" ; \
2708         (cd ash && \
2709           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2710                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2711                   "RANLIB=$${RANLIB}" \
2712                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2713                   installcheck) \
2714           || exit 1
2715
2716 @endif ash
2717
2718 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2719 maybe-mostlyclean-ash:
2720 @if ash
2721 maybe-mostlyclean-ash: mostlyclean-ash
2722
2723 mostlyclean-ash: 
2724         @[ -f ./ash/Makefile ] || exit 0; \
2725         r=`${PWD_COMMAND}`; export r; \
2726         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2727         $(SET_LIB_PATH) \
2728         $(HOST_EXPORTS) \
2729         for flag in $(EXTRA_HOST_FLAGS) ; do \
2730           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2731         done; \
2732         echo "Doing mostlyclean in ash" ; \
2733         (cd ash && \
2734           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2735                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2736                   "RANLIB=$${RANLIB}" \
2737                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2738                   mostlyclean) \
2739           || exit 1
2740
2741 @endif ash
2742
2743 .PHONY: maybe-clean-ash clean-ash
2744 maybe-clean-ash:
2745 @if ash
2746 maybe-clean-ash: clean-ash
2747
2748 clean-ash: 
2749         @[ -f ./ash/Makefile ] || exit 0; \
2750         r=`${PWD_COMMAND}`; export r; \
2751         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2752         $(SET_LIB_PATH) \
2753         $(HOST_EXPORTS) \
2754         for flag in $(EXTRA_HOST_FLAGS) ; do \
2755           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2756         done; \
2757         echo "Doing clean in ash" ; \
2758         (cd ash && \
2759           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2760                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2761                   "RANLIB=$${RANLIB}" \
2762                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2763                   clean) \
2764           || exit 1
2765
2766 @endif ash
2767
2768 .PHONY: maybe-distclean-ash distclean-ash
2769 maybe-distclean-ash:
2770 @if ash
2771 maybe-distclean-ash: distclean-ash
2772
2773 distclean-ash: 
2774         @[ -f ./ash/Makefile ] || exit 0; \
2775         r=`${PWD_COMMAND}`; export r; \
2776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2777         $(SET_LIB_PATH) \
2778         $(HOST_EXPORTS) \
2779         for flag in $(EXTRA_HOST_FLAGS) ; do \
2780           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2781         done; \
2782         echo "Doing distclean in ash" ; \
2783         (cd ash && \
2784           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2785                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2786                   "RANLIB=$${RANLIB}" \
2787                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2788                   distclean) \
2789           || exit 1
2790
2791 @endif ash
2792
2793 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2794 maybe-maintainer-clean-ash:
2795 @if ash
2796 maybe-maintainer-clean-ash: maintainer-clean-ash
2797
2798 maintainer-clean-ash: 
2799         @[ -f ./ash/Makefile ] || exit 0; \
2800         r=`${PWD_COMMAND}`; export r; \
2801         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2802         $(SET_LIB_PATH) \
2803         $(HOST_EXPORTS) \
2804         for flag in $(EXTRA_HOST_FLAGS) ; do \
2805           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2806         done; \
2807         echo "Doing maintainer-clean in ash" ; \
2808         (cd ash && \
2809           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2810                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2811                   "RANLIB=$${RANLIB}" \
2812                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2813                   maintainer-clean) \
2814           || exit 1
2815
2816 @endif ash
2817
2818
2819 .PHONY: configure-autoconf maybe-configure-autoconf
2820 maybe-configure-autoconf:
2821 @if autoconf
2822 maybe-configure-autoconf: configure-autoconf
2823 configure-autoconf:
2824         @test ! -f autoconf/Makefile || exit 0; \
2825         [ -d autoconf ] || mkdir autoconf; \
2826         r=`${PWD_COMMAND}`; export r; \
2827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828         $(HOST_EXPORTS) \
2829         echo Configuring in autoconf; \
2830         cd autoconf || exit 1; \
2831         case $(srcdir) in \
2832           \.) \
2833             srcdiroption="--srcdir=."; \
2834             libsrcdir=".";; \
2835           /* | [A-Za-z]:[\\/]*) \
2836             srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2837             libsrcdir="$$s/autoconf";; \
2838           *) \
2839             srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2840             libsrcdir="$$s/autoconf";; \
2841         esac; \
2842         $(SHELL) $${libsrcdir}/configure \
2843           $(HOST_CONFIGARGS) $${srcdiroption}  \
2844           || exit 1
2845 @endif autoconf
2846
2847 .PHONY: all-autoconf maybe-all-autoconf
2848 maybe-all-autoconf:
2849 @if autoconf
2850 TARGET-autoconf=all
2851 maybe-all-autoconf: all-autoconf
2852 all-autoconf: configure-autoconf
2853         @r=`${PWD_COMMAND}`; export r; \
2854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855         $(SET_LIB_PATH) \
2856         $(HOST_EXPORTS) \
2857         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS)  \
2858           $(TARGET-autoconf))
2859 @endif autoconf
2860
2861 .PHONY: check-autoconf maybe-check-autoconf
2862 maybe-check-autoconf:
2863 @if autoconf
2864 maybe-check-autoconf: check-autoconf
2865
2866 check-autoconf:
2867         @r=`${PWD_COMMAND}`; export r; \
2868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2869         $(SET_LIB_PATH) \
2870         $(HOST_EXPORTS) \
2871         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2872
2873 @endif autoconf
2874
2875 .PHONY: install-autoconf maybe-install-autoconf
2876 maybe-install-autoconf:
2877 @if autoconf
2878 maybe-install-autoconf: install-autoconf
2879
2880 install-autoconf: installdirs
2881         @r=`${PWD_COMMAND}`; export r; \
2882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2883         $(SET_LIB_PATH) \
2884         $(HOST_EXPORTS) \
2885         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2886
2887 @endif autoconf
2888
2889 # Other targets (info, dvi, etc.)
2890
2891 .PHONY: maybe-info-autoconf info-autoconf
2892 maybe-info-autoconf:
2893 @if autoconf
2894 maybe-info-autoconf: info-autoconf
2895
2896 info-autoconf: \
2897     configure-autoconf 
2898         @[ -f ./autoconf/Makefile ] || exit 0; \
2899         r=`${PWD_COMMAND}`; export r; \
2900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2901         $(SET_LIB_PATH) \
2902         $(HOST_EXPORTS) \
2903         for flag in $(EXTRA_HOST_FLAGS) ; do \
2904           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2905         done; \
2906         echo "Doing info in autoconf" ; \
2907         (cd autoconf && \
2908           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2909                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2910                   "RANLIB=$${RANLIB}" \
2911                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2912                   info) \
2913           || exit 1
2914
2915 @endif autoconf
2916
2917 .PHONY: maybe-dvi-autoconf dvi-autoconf
2918 maybe-dvi-autoconf:
2919 @if autoconf
2920 maybe-dvi-autoconf: dvi-autoconf
2921
2922 dvi-autoconf: \
2923     configure-autoconf 
2924         @[ -f ./autoconf/Makefile ] || exit 0; \
2925         r=`${PWD_COMMAND}`; export r; \
2926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2927         $(SET_LIB_PATH) \
2928         $(HOST_EXPORTS) \
2929         for flag in $(EXTRA_HOST_FLAGS) ; do \
2930           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2931         done; \
2932         echo "Doing dvi in autoconf" ; \
2933         (cd autoconf && \
2934           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2935                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2936                   "RANLIB=$${RANLIB}" \
2937                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2938                   dvi) \
2939           || exit 1
2940
2941 @endif autoconf
2942
2943 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2944 maybe-TAGS-autoconf:
2945 @if autoconf
2946 maybe-TAGS-autoconf: TAGS-autoconf
2947
2948 TAGS-autoconf: \
2949     configure-autoconf 
2950         @[ -f ./autoconf/Makefile ] || exit 0; \
2951         r=`${PWD_COMMAND}`; export r; \
2952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2953         $(SET_LIB_PATH) \
2954         $(HOST_EXPORTS) \
2955         for flag in $(EXTRA_HOST_FLAGS) ; do \
2956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2957         done; \
2958         echo "Doing TAGS in autoconf" ; \
2959         (cd autoconf && \
2960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2962                   "RANLIB=$${RANLIB}" \
2963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2964                   TAGS) \
2965           || exit 1
2966
2967 @endif autoconf
2968
2969 .PHONY: maybe-install-info-autoconf install-info-autoconf
2970 maybe-install-info-autoconf:
2971 @if autoconf
2972 maybe-install-info-autoconf: install-info-autoconf
2973
2974 install-info-autoconf: \
2975     configure-autoconf \
2976     info-autoconf 
2977         @[ -f ./autoconf/Makefile ] || exit 0; \
2978         r=`${PWD_COMMAND}`; export r; \
2979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2980         $(SET_LIB_PATH) \
2981         $(HOST_EXPORTS) \
2982         for flag in $(EXTRA_HOST_FLAGS) ; do \
2983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2984         done; \
2985         echo "Doing install-info in autoconf" ; \
2986         (cd autoconf && \
2987           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2988                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2989                   "RANLIB=$${RANLIB}" \
2990                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2991                   install-info) \
2992           || exit 1
2993
2994 @endif autoconf
2995
2996 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2997 maybe-installcheck-autoconf:
2998 @if autoconf
2999 maybe-installcheck-autoconf: installcheck-autoconf
3000
3001 installcheck-autoconf: \
3002     configure-autoconf 
3003         @[ -f ./autoconf/Makefile ] || exit 0; \
3004         r=`${PWD_COMMAND}`; export r; \
3005         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3006         $(SET_LIB_PATH) \
3007         $(HOST_EXPORTS) \
3008         for flag in $(EXTRA_HOST_FLAGS) ; do \
3009           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3010         done; \
3011         echo "Doing installcheck in autoconf" ; \
3012         (cd autoconf && \
3013           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3014                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3015                   "RANLIB=$${RANLIB}" \
3016                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3017                   installcheck) \
3018           || exit 1
3019
3020 @endif autoconf
3021
3022 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3023 maybe-mostlyclean-autoconf:
3024 @if autoconf
3025 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3026
3027 mostlyclean-autoconf: 
3028         @[ -f ./autoconf/Makefile ] || exit 0; \
3029         r=`${PWD_COMMAND}`; export r; \
3030         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3031         $(SET_LIB_PATH) \
3032         $(HOST_EXPORTS) \
3033         for flag in $(EXTRA_HOST_FLAGS) ; do \
3034           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3035         done; \
3036         echo "Doing mostlyclean in autoconf" ; \
3037         (cd autoconf && \
3038           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3039                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3040                   "RANLIB=$${RANLIB}" \
3041                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3042                   mostlyclean) \
3043           || exit 1
3044
3045 @endif autoconf
3046
3047 .PHONY: maybe-clean-autoconf clean-autoconf
3048 maybe-clean-autoconf:
3049 @if autoconf
3050 maybe-clean-autoconf: clean-autoconf
3051
3052 clean-autoconf: 
3053         @[ -f ./autoconf/Makefile ] || exit 0; \
3054         r=`${PWD_COMMAND}`; export r; \
3055         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3056         $(SET_LIB_PATH) \
3057         $(HOST_EXPORTS) \
3058         for flag in $(EXTRA_HOST_FLAGS) ; do \
3059           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3060         done; \
3061         echo "Doing clean in autoconf" ; \
3062         (cd autoconf && \
3063           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3064                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3065                   "RANLIB=$${RANLIB}" \
3066                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3067                   clean) \
3068           || exit 1
3069
3070 @endif autoconf
3071
3072 .PHONY: maybe-distclean-autoconf distclean-autoconf
3073 maybe-distclean-autoconf:
3074 @if autoconf
3075 maybe-distclean-autoconf: distclean-autoconf
3076
3077 distclean-autoconf: 
3078         @[ -f ./autoconf/Makefile ] || exit 0; \
3079         r=`${PWD_COMMAND}`; export r; \
3080         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081         $(SET_LIB_PATH) \
3082         $(HOST_EXPORTS) \
3083         for flag in $(EXTRA_HOST_FLAGS) ; do \
3084           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3085         done; \
3086         echo "Doing distclean in autoconf" ; \
3087         (cd autoconf && \
3088           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3089                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3090                   "RANLIB=$${RANLIB}" \
3091                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3092                   distclean) \
3093           || exit 1
3094
3095 @endif autoconf
3096
3097 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3098 maybe-maintainer-clean-autoconf:
3099 @if autoconf
3100 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3101
3102 maintainer-clean-autoconf: 
3103         @[ -f ./autoconf/Makefile ] || exit 0; \
3104         r=`${PWD_COMMAND}`; export r; \
3105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3106         $(SET_LIB_PATH) \
3107         $(HOST_EXPORTS) \
3108         for flag in $(EXTRA_HOST_FLAGS) ; do \
3109           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3110         done; \
3111         echo "Doing maintainer-clean in autoconf" ; \
3112         (cd autoconf && \
3113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3115                   "RANLIB=$${RANLIB}" \
3116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3117                   maintainer-clean) \
3118           || exit 1
3119
3120 @endif autoconf
3121
3122
3123 .PHONY: configure-automake maybe-configure-automake
3124 maybe-configure-automake:
3125 @if automake
3126 maybe-configure-automake: configure-automake
3127 configure-automake:
3128         @test ! -f automake/Makefile || exit 0; \
3129         [ -d automake ] || mkdir automake; \
3130         r=`${PWD_COMMAND}`; export r; \
3131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3132         $(HOST_EXPORTS) \
3133         echo Configuring in automake; \
3134         cd automake || exit 1; \
3135         case $(srcdir) in \
3136           \.) \
3137             srcdiroption="--srcdir=."; \
3138             libsrcdir=".";; \
3139           /* | [A-Za-z]:[\\/]*) \
3140             srcdiroption="--srcdir=$(srcdir)/automake"; \
3141             libsrcdir="$$s/automake";; \
3142           *) \
3143             srcdiroption="--srcdir=../$(srcdir)/automake"; \
3144             libsrcdir="$$s/automake";; \
3145         esac; \
3146         $(SHELL) $${libsrcdir}/configure \
3147           $(HOST_CONFIGARGS) $${srcdiroption}  \
3148           || exit 1
3149 @endif automake
3150
3151 .PHONY: all-automake maybe-all-automake
3152 maybe-all-automake:
3153 @if automake
3154 TARGET-automake=all
3155 maybe-all-automake: all-automake
3156 all-automake: configure-automake
3157         @r=`${PWD_COMMAND}`; export r; \
3158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3159         $(SET_LIB_PATH) \
3160         $(HOST_EXPORTS) \
3161         (cd automake && $(MAKE) $(FLAGS_TO_PASS)  \
3162           $(TARGET-automake))
3163 @endif automake
3164
3165 .PHONY: check-automake maybe-check-automake
3166 maybe-check-automake:
3167 @if automake
3168 maybe-check-automake: check-automake
3169
3170 check-automake:
3171         @r=`${PWD_COMMAND}`; export r; \
3172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3173         $(SET_LIB_PATH) \
3174         $(HOST_EXPORTS) \
3175         (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3176
3177 @endif automake
3178
3179 .PHONY: install-automake maybe-install-automake
3180 maybe-install-automake:
3181 @if automake
3182 maybe-install-automake: install-automake
3183
3184 install-automake: installdirs
3185         @r=`${PWD_COMMAND}`; export r; \
3186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187         $(SET_LIB_PATH) \
3188         $(HOST_EXPORTS) \
3189         (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3190
3191 @endif automake
3192
3193 # Other targets (info, dvi, etc.)
3194
3195 .PHONY: maybe-info-automake info-automake
3196 maybe-info-automake:
3197 @if automake
3198 maybe-info-automake: info-automake
3199
3200 info-automake: \
3201     configure-automake 
3202         @[ -f ./automake/Makefile ] || exit 0; \
3203         r=`${PWD_COMMAND}`; export r; \
3204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3205         $(SET_LIB_PATH) \
3206         $(HOST_EXPORTS) \
3207         for flag in $(EXTRA_HOST_FLAGS) ; do \
3208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3209         done; \
3210         echo "Doing info in automake" ; \
3211         (cd automake && \
3212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3214                   "RANLIB=$${RANLIB}" \
3215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3216                   info) \
3217           || exit 1
3218
3219 @endif automake
3220
3221 .PHONY: maybe-dvi-automake dvi-automake
3222 maybe-dvi-automake:
3223 @if automake
3224 maybe-dvi-automake: dvi-automake
3225
3226 dvi-automake: \
3227     configure-automake 
3228         @[ -f ./automake/Makefile ] || exit 0; \
3229         r=`${PWD_COMMAND}`; export r; \
3230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3231         $(SET_LIB_PATH) \
3232         $(HOST_EXPORTS) \
3233         for flag in $(EXTRA_HOST_FLAGS) ; do \
3234           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3235         done; \
3236         echo "Doing dvi in automake" ; \
3237         (cd automake && \
3238           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3239                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3240                   "RANLIB=$${RANLIB}" \
3241                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3242                   dvi) \
3243           || exit 1
3244
3245 @endif automake
3246
3247 .PHONY: maybe-TAGS-automake TAGS-automake
3248 maybe-TAGS-automake:
3249 @if automake
3250 maybe-TAGS-automake: TAGS-automake
3251
3252 TAGS-automake: \
3253     configure-automake 
3254         @[ -f ./automake/Makefile ] || exit 0; \
3255         r=`${PWD_COMMAND}`; export r; \
3256         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257         $(SET_LIB_PATH) \
3258         $(HOST_EXPORTS) \
3259         for flag in $(EXTRA_HOST_FLAGS) ; do \
3260           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3261         done; \
3262         echo "Doing TAGS in automake" ; \
3263         (cd automake && \
3264           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3265                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3266                   "RANLIB=$${RANLIB}" \
3267                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3268                   TAGS) \
3269           || exit 1
3270
3271 @endif automake
3272
3273 .PHONY: maybe-install-info-automake install-info-automake
3274 maybe-install-info-automake:
3275 @if automake
3276 maybe-install-info-automake: install-info-automake
3277
3278 install-info-automake: \
3279     configure-automake \
3280     info-automake 
3281         @[ -f ./automake/Makefile ] || exit 0; \
3282         r=`${PWD_COMMAND}`; export r; \
3283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284         $(SET_LIB_PATH) \
3285         $(HOST_EXPORTS) \
3286         for flag in $(EXTRA_HOST_FLAGS) ; do \
3287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3288         done; \
3289         echo "Doing install-info in automake" ; \
3290         (cd automake && \
3291           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3292                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3293                   "RANLIB=$${RANLIB}" \
3294                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3295                   install-info) \
3296           || exit 1
3297
3298 @endif automake
3299
3300 .PHONY: maybe-installcheck-automake installcheck-automake
3301 maybe-installcheck-automake:
3302 @if automake
3303 maybe-installcheck-automake: installcheck-automake
3304
3305 installcheck-automake: \
3306     configure-automake 
3307         @[ -f ./automake/Makefile ] || exit 0; \
3308         r=`${PWD_COMMAND}`; export r; \
3309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3310         $(SET_LIB_PATH) \
3311         $(HOST_EXPORTS) \
3312         for flag in $(EXTRA_HOST_FLAGS) ; do \
3313           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3314         done; \
3315         echo "Doing installcheck in automake" ; \
3316         (cd automake && \
3317           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3318                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3319                   "RANLIB=$${RANLIB}" \
3320                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3321                   installcheck) \
3322           || exit 1
3323
3324 @endif automake
3325
3326 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3327 maybe-mostlyclean-automake:
3328 @if automake
3329 maybe-mostlyclean-automake: mostlyclean-automake
3330
3331 mostlyclean-automake: 
3332         @[ -f ./automake/Makefile ] || exit 0; \
3333         r=`${PWD_COMMAND}`; export r; \
3334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3335         $(SET_LIB_PATH) \
3336         $(HOST_EXPORTS) \
3337         for flag in $(EXTRA_HOST_FLAGS) ; do \
3338           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3339         done; \
3340         echo "Doing mostlyclean in automake" ; \
3341         (cd automake && \
3342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3344                   "RANLIB=$${RANLIB}" \
3345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3346                   mostlyclean) \
3347           || exit 1
3348
3349 @endif automake
3350
3351 .PHONY: maybe-clean-automake clean-automake
3352 maybe-clean-automake:
3353 @if automake
3354 maybe-clean-automake: clean-automake
3355
3356 clean-automake: 
3357         @[ -f ./automake/Makefile ] || exit 0; \
3358         r=`${PWD_COMMAND}`; export r; \
3359         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3360         $(SET_LIB_PATH) \
3361         $(HOST_EXPORTS) \
3362         for flag in $(EXTRA_HOST_FLAGS) ; do \
3363           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3364         done; \
3365         echo "Doing clean in automake" ; \
3366         (cd automake && \
3367           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3368                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3369                   "RANLIB=$${RANLIB}" \
3370                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3371                   clean) \
3372           || exit 1
3373
3374 @endif automake
3375
3376 .PHONY: maybe-distclean-automake distclean-automake
3377 maybe-distclean-automake:
3378 @if automake
3379 maybe-distclean-automake: distclean-automake
3380
3381 distclean-automake: 
3382         @[ -f ./automake/Makefile ] || exit 0; \
3383         r=`${PWD_COMMAND}`; export r; \
3384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3385         $(SET_LIB_PATH) \
3386         $(HOST_EXPORTS) \
3387         for flag in $(EXTRA_HOST_FLAGS) ; do \
3388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3389         done; \
3390         echo "Doing distclean in automake" ; \
3391         (cd automake && \
3392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3394                   "RANLIB=$${RANLIB}" \
3395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3396                   distclean) \
3397           || exit 1
3398
3399 @endif automake
3400
3401 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3402 maybe-maintainer-clean-automake:
3403 @if automake
3404 maybe-maintainer-clean-automake: maintainer-clean-automake
3405
3406 maintainer-clean-automake: 
3407         @[ -f ./automake/Makefile ] || exit 0; \
3408         r=`${PWD_COMMAND}`; export r; \
3409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3410         $(SET_LIB_PATH) \
3411         $(HOST_EXPORTS) \
3412         for flag in $(EXTRA_HOST_FLAGS) ; do \
3413           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3414         done; \
3415         echo "Doing maintainer-clean in automake" ; \
3416         (cd automake && \
3417           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3418                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3419                   "RANLIB=$${RANLIB}" \
3420                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3421                   maintainer-clean) \
3422           || exit 1
3423
3424 @endif automake
3425
3426
3427 .PHONY: configure-bash maybe-configure-bash
3428 maybe-configure-bash:
3429 @if bash
3430 maybe-configure-bash: configure-bash
3431 configure-bash:
3432         @test ! -f bash/Makefile || exit 0; \
3433         [ -d bash ] || mkdir bash; \
3434         r=`${PWD_COMMAND}`; export r; \
3435         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3436         $(HOST_EXPORTS) \
3437         echo Configuring in bash; \
3438         cd bash || exit 1; \
3439         case $(srcdir) in \
3440           \.) \
3441             srcdiroption="--srcdir=."; \
3442             libsrcdir=".";; \
3443           /* | [A-Za-z]:[\\/]*) \
3444             srcdiroption="--srcdir=$(srcdir)/bash"; \
3445             libsrcdir="$$s/bash";; \
3446           *) \
3447             srcdiroption="--srcdir=../$(srcdir)/bash"; \
3448             libsrcdir="$$s/bash";; \
3449         esac; \
3450         $(SHELL) $${libsrcdir}/configure \
3451           $(HOST_CONFIGARGS) $${srcdiroption}  \
3452           || exit 1
3453 @endif bash
3454
3455 .PHONY: all-bash maybe-all-bash
3456 maybe-all-bash:
3457 @if bash
3458 TARGET-bash=all
3459 maybe-all-bash: all-bash
3460 all-bash: configure-bash
3461         @r=`${PWD_COMMAND}`; export r; \
3462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3463         $(SET_LIB_PATH) \
3464         $(HOST_EXPORTS) \
3465         (cd bash && $(MAKE) $(FLAGS_TO_PASS)  \
3466           $(TARGET-bash))
3467 @endif bash
3468
3469 .PHONY: check-bash maybe-check-bash
3470 maybe-check-bash:
3471 @if bash
3472 maybe-check-bash: check-bash
3473
3474 check-bash:
3475         @r=`${PWD_COMMAND}`; export r; \
3476         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477         $(SET_LIB_PATH) \
3478         $(HOST_EXPORTS) \
3479         (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3480
3481 @endif bash
3482
3483 .PHONY: install-bash maybe-install-bash
3484 maybe-install-bash:
3485 @if bash
3486 maybe-install-bash: install-bash
3487
3488 install-bash: installdirs
3489         @r=`${PWD_COMMAND}`; export r; \
3490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3491         $(SET_LIB_PATH) \
3492         $(HOST_EXPORTS) \
3493         (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3494
3495 @endif bash
3496
3497 # Other targets (info, dvi, etc.)
3498
3499 .PHONY: maybe-info-bash info-bash
3500 maybe-info-bash:
3501 @if bash
3502 maybe-info-bash: info-bash
3503
3504 info-bash: \
3505     configure-bash 
3506         @[ -f ./bash/Makefile ] || exit 0; \
3507         r=`${PWD_COMMAND}`; export r; \
3508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3509         $(SET_LIB_PATH) \
3510         $(HOST_EXPORTS) \
3511         for flag in $(EXTRA_HOST_FLAGS) ; do \
3512           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3513         done; \
3514         echo "Doing info in bash" ; \
3515         (cd bash && \
3516           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518                   "RANLIB=$${RANLIB}" \
3519                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3520                   info) \
3521           || exit 1
3522
3523 @endif bash
3524
3525 .PHONY: maybe-dvi-bash dvi-bash
3526 maybe-dvi-bash:
3527 @if bash
3528 maybe-dvi-bash: dvi-bash
3529
3530 dvi-bash: \
3531     configure-bash 
3532         @[ -f ./bash/Makefile ] || exit 0; \
3533         r=`${PWD_COMMAND}`; export r; \
3534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535         $(SET_LIB_PATH) \
3536         $(HOST_EXPORTS) \
3537         for flag in $(EXTRA_HOST_FLAGS) ; do \
3538           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539         done; \
3540         echo "Doing dvi in bash" ; \
3541         (cd bash && \
3542           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544                   "RANLIB=$${RANLIB}" \
3545                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3546                   dvi) \
3547           || exit 1
3548
3549 @endif bash
3550
3551 .PHONY: maybe-TAGS-bash TAGS-bash
3552 maybe-TAGS-bash:
3553 @if bash
3554 maybe-TAGS-bash: TAGS-bash
3555
3556 TAGS-bash: \
3557     configure-bash 
3558         @[ -f ./bash/Makefile ] || exit 0; \
3559         r=`${PWD_COMMAND}`; export r; \
3560         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561         $(SET_LIB_PATH) \
3562         $(HOST_EXPORTS) \
3563         for flag in $(EXTRA_HOST_FLAGS) ; do \
3564           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3565         done; \
3566         echo "Doing TAGS in bash" ; \
3567         (cd bash && \
3568           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3569                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3570                   "RANLIB=$${RANLIB}" \
3571                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3572                   TAGS) \
3573           || exit 1
3574
3575 @endif bash
3576
3577 .PHONY: maybe-install-info-bash install-info-bash
3578 maybe-install-info-bash:
3579 @if bash
3580 maybe-install-info-bash: install-info-bash
3581
3582 install-info-bash: \
3583     configure-bash \
3584     info-bash 
3585         @[ -f ./bash/Makefile ] || exit 0; \
3586         r=`${PWD_COMMAND}`; export r; \
3587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3588         $(SET_LIB_PATH) \
3589         $(HOST_EXPORTS) \
3590         for flag in $(EXTRA_HOST_FLAGS) ; do \
3591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3592         done; \
3593         echo "Doing install-info in bash" ; \
3594         (cd bash && \
3595           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3596                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3597                   "RANLIB=$${RANLIB}" \
3598                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3599                   install-info) \
3600           || exit 1
3601
3602 @endif bash
3603
3604 .PHONY: maybe-installcheck-bash installcheck-bash
3605 maybe-installcheck-bash:
3606 @if bash
3607 maybe-installcheck-bash: installcheck-bash
3608
3609 installcheck-bash: \
3610     configure-bash 
3611         @[ -f ./bash/Makefile ] || exit 0; \
3612         r=`${PWD_COMMAND}`; export r; \
3613         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3614         $(SET_LIB_PATH) \
3615         $(HOST_EXPORTS) \
3616         for flag in $(EXTRA_HOST_FLAGS) ; do \
3617           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3618         done; \
3619         echo "Doing installcheck in bash" ; \
3620         (cd bash && \
3621           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3622                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3623                   "RANLIB=$${RANLIB}" \
3624                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3625                   installcheck) \
3626           || exit 1
3627
3628 @endif bash
3629
3630 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3631 maybe-mostlyclean-bash:
3632 @if bash
3633 maybe-mostlyclean-bash: mostlyclean-bash
3634
3635 mostlyclean-bash: 
3636         @[ -f ./bash/Makefile ] || exit 0; \
3637         r=`${PWD_COMMAND}`; export r; \
3638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639         $(SET_LIB_PATH) \
3640         $(HOST_EXPORTS) \
3641         for flag in $(EXTRA_HOST_FLAGS) ; do \
3642           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3643         done; \
3644         echo "Doing mostlyclean in bash" ; \
3645         (cd bash && \
3646           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3647                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3648                   "RANLIB=$${RANLIB}" \
3649                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3650                   mostlyclean) \
3651           || exit 1
3652
3653 @endif bash
3654
3655 .PHONY: maybe-clean-bash clean-bash
3656 maybe-clean-bash:
3657 @if bash
3658 maybe-clean-bash: clean-bash
3659
3660 clean-bash: 
3661         @[ -f ./bash/Makefile ] || exit 0; \
3662         r=`${PWD_COMMAND}`; export r; \
3663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664         $(SET_LIB_PATH) \
3665         $(HOST_EXPORTS) \
3666         for flag in $(EXTRA_HOST_FLAGS) ; do \
3667           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3668         done; \
3669         echo "Doing clean in bash" ; \
3670         (cd bash && \
3671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3673                   "RANLIB=$${RANLIB}" \
3674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3675                   clean) \
3676           || exit 1
3677
3678 @endif bash
3679
3680 .PHONY: maybe-distclean-bash distclean-bash
3681 maybe-distclean-bash:
3682 @if bash
3683 maybe-distclean-bash: distclean-bash
3684
3685 distclean-bash: 
3686         @[ -f ./bash/Makefile ] || exit 0; \
3687         r=`${PWD_COMMAND}`; export r; \
3688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3689         $(SET_LIB_PATH) \
3690         $(HOST_EXPORTS) \
3691         for flag in $(EXTRA_HOST_FLAGS) ; do \
3692           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3693         done; \
3694         echo "Doing distclean in bash" ; \
3695         (cd bash && \
3696           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3697                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3698                   "RANLIB=$${RANLIB}" \
3699                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3700                   distclean) \
3701           || exit 1
3702
3703 @endif bash
3704
3705 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3706 maybe-maintainer-clean-bash:
3707 @if bash
3708 maybe-maintainer-clean-bash: maintainer-clean-bash
3709
3710 maintainer-clean-bash: 
3711         @[ -f ./bash/Makefile ] || exit 0; \
3712         r=`${PWD_COMMAND}`; export r; \
3713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714         $(SET_LIB_PATH) \
3715         $(HOST_EXPORTS) \
3716         for flag in $(EXTRA_HOST_FLAGS) ; do \
3717           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3718         done; \
3719         echo "Doing maintainer-clean in bash" ; \
3720         (cd bash && \
3721           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3722                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3723                   "RANLIB=$${RANLIB}" \
3724                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3725                   maintainer-clean) \
3726           || exit 1
3727
3728 @endif bash
3729
3730
3731 .PHONY: configure-bfd maybe-configure-bfd
3732 maybe-configure-bfd:
3733 @if bfd
3734 maybe-configure-bfd: configure-bfd
3735 configure-bfd:
3736         @test -f stage_last && exit 0; \
3737         test ! -f bfd/Makefile || exit 0; \
3738         [ -d bfd ] || mkdir bfd; \
3739         r=`${PWD_COMMAND}`; export r; \
3740         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3741         $(HOST_EXPORTS) \
3742         echo Configuring in bfd; \
3743         cd bfd || exit 1; \
3744         case $(srcdir) in \
3745           \.) \
3746             srcdiroption="--srcdir=."; \
3747             libsrcdir=".";; \
3748           /* | [A-Za-z]:[\\/]*) \
3749             srcdiroption="--srcdir=$(srcdir)/bfd"; \
3750             libsrcdir="$$s/bfd";; \
3751           *) \
3752             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3753             libsrcdir="$$s/bfd";; \
3754         esac; \
3755         $(SHELL) $${libsrcdir}/configure \
3756           $(HOST_CONFIGARGS) $${srcdiroption}  \
3757           || exit 1
3758 @endif bfd
3759
3760 .PHONY: all-bfd maybe-all-bfd
3761 maybe-all-bfd:
3762 @if bfd
3763 TARGET-bfd=all
3764 maybe-all-bfd: all-bfd
3765 all-bfd: configure-bfd
3766         @test -f stage_last && exit 0; \
3767         r=`${PWD_COMMAND}`; export r; \
3768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3769         $(SET_LIB_PATH) \
3770         $(HOST_EXPORTS) \
3771         (cd bfd && $(MAKE) $(FLAGS_TO_PASS)  \
3772           $(TARGET-bfd))
3773 @endif bfd
3774
3775 .PHONY: check-bfd maybe-check-bfd
3776 maybe-check-bfd:
3777 @if bfd
3778 maybe-check-bfd: check-bfd
3779
3780 check-bfd:
3781         @r=`${PWD_COMMAND}`; export r; \
3782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3783         $(SET_LIB_PATH) \
3784         $(HOST_EXPORTS) \
3785         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3786
3787 @endif bfd
3788
3789 .PHONY: install-bfd maybe-install-bfd
3790 maybe-install-bfd:
3791 @if bfd
3792 maybe-install-bfd: install-bfd
3793
3794 install-bfd: installdirs
3795         @r=`${PWD_COMMAND}`; export r; \
3796         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3797         $(SET_LIB_PATH) \
3798         $(HOST_EXPORTS) \
3799         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3800
3801 @endif bfd
3802
3803 # Other targets (info, dvi, etc.)
3804
3805 .PHONY: maybe-info-bfd info-bfd
3806 maybe-info-bfd:
3807 @if bfd
3808 maybe-info-bfd: info-bfd
3809
3810 info-bfd: \
3811     configure-bfd 
3812         @[ -f ./bfd/Makefile ] || exit 0; \
3813         r=`${PWD_COMMAND}`; export r; \
3814         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3815         $(SET_LIB_PATH) \
3816         $(HOST_EXPORTS) \
3817         for flag in $(EXTRA_HOST_FLAGS) ; do \
3818           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3819         done; \
3820         echo "Doing info in bfd" ; \
3821         (cd bfd && \
3822           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3823                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3824                   "RANLIB=$${RANLIB}" \
3825                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3826                   info) \
3827           || exit 1
3828
3829 @endif bfd
3830
3831 .PHONY: maybe-dvi-bfd dvi-bfd
3832 maybe-dvi-bfd:
3833 @if bfd
3834 maybe-dvi-bfd: dvi-bfd
3835
3836 dvi-bfd: \
3837     configure-bfd 
3838         @[ -f ./bfd/Makefile ] || exit 0; \
3839         r=`${PWD_COMMAND}`; export r; \
3840         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3841         $(SET_LIB_PATH) \
3842         $(HOST_EXPORTS) \
3843         for flag in $(EXTRA_HOST_FLAGS) ; do \
3844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3845         done; \
3846         echo "Doing dvi in bfd" ; \
3847         (cd bfd && \
3848           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3849                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3850                   "RANLIB=$${RANLIB}" \
3851                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3852                   dvi) \
3853           || exit 1
3854
3855 @endif bfd
3856
3857 .PHONY: maybe-TAGS-bfd TAGS-bfd
3858 maybe-TAGS-bfd:
3859 @if bfd
3860 maybe-TAGS-bfd: TAGS-bfd
3861
3862 TAGS-bfd: \
3863     configure-bfd 
3864         @[ -f ./bfd/Makefile ] || exit 0; \
3865         r=`${PWD_COMMAND}`; export r; \
3866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3867         $(SET_LIB_PATH) \
3868         $(HOST_EXPORTS) \
3869         for flag in $(EXTRA_HOST_FLAGS) ; do \
3870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3871         done; \
3872         echo "Doing TAGS in bfd" ; \
3873         (cd bfd && \
3874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3876                   "RANLIB=$${RANLIB}" \
3877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3878                   TAGS) \
3879           || exit 1
3880
3881 @endif bfd
3882
3883 .PHONY: maybe-install-info-bfd install-info-bfd
3884 maybe-install-info-bfd:
3885 @if bfd
3886 maybe-install-info-bfd: install-info-bfd
3887
3888 install-info-bfd: \
3889     configure-bfd \
3890     info-bfd 
3891         @[ -f ./bfd/Makefile ] || exit 0; \
3892         r=`${PWD_COMMAND}`; export r; \
3893         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3894         $(SET_LIB_PATH) \
3895         $(HOST_EXPORTS) \
3896         for flag in $(EXTRA_HOST_FLAGS) ; do \
3897           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3898         done; \
3899         echo "Doing install-info in bfd" ; \
3900         (cd bfd && \
3901           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3902                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3903                   "RANLIB=$${RANLIB}" \
3904                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3905                   install-info) \
3906           || exit 1
3907
3908 @endif bfd
3909
3910 .PHONY: maybe-installcheck-bfd installcheck-bfd
3911 maybe-installcheck-bfd:
3912 @if bfd
3913 maybe-installcheck-bfd: installcheck-bfd
3914
3915 installcheck-bfd: \
3916     configure-bfd 
3917         @[ -f ./bfd/Makefile ] || exit 0; \
3918         r=`${PWD_COMMAND}`; export r; \
3919         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3920         $(SET_LIB_PATH) \
3921         $(HOST_EXPORTS) \
3922         for flag in $(EXTRA_HOST_FLAGS) ; do \
3923           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3924         done; \
3925         echo "Doing installcheck in bfd" ; \
3926         (cd bfd && \
3927           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3928                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3929                   "RANLIB=$${RANLIB}" \
3930                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3931                   installcheck) \
3932           || exit 1
3933
3934 @endif bfd
3935
3936 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3937 maybe-mostlyclean-bfd:
3938 @if bfd
3939 maybe-mostlyclean-bfd: mostlyclean-bfd
3940
3941 mostlyclean-bfd: 
3942         @[ -f ./bfd/Makefile ] || exit 0; \
3943         r=`${PWD_COMMAND}`; export r; \
3944         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3945         $(SET_LIB_PATH) \
3946         $(HOST_EXPORTS) \
3947         for flag in $(EXTRA_HOST_FLAGS) ; do \
3948           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3949         done; \
3950         echo "Doing mostlyclean in bfd" ; \
3951         (cd bfd && \
3952           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3953                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3954                   "RANLIB=$${RANLIB}" \
3955                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3956                   mostlyclean) \
3957           || exit 1
3958
3959 @endif bfd
3960
3961 .PHONY: maybe-clean-bfd clean-bfd
3962 maybe-clean-bfd:
3963 @if bfd
3964 maybe-clean-bfd: clean-bfd
3965
3966 clean-bfd: 
3967         @[ -f ./bfd/Makefile ] || exit 0; \
3968         r=`${PWD_COMMAND}`; export r; \
3969         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3970         $(SET_LIB_PATH) \
3971         $(HOST_EXPORTS) \
3972         for flag in $(EXTRA_HOST_FLAGS) ; do \
3973           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3974         done; \
3975         echo "Doing clean in bfd" ; \
3976         (cd bfd && \
3977           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3978                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3979                   "RANLIB=$${RANLIB}" \
3980                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3981                   clean) \
3982           || exit 1
3983
3984 @endif bfd
3985
3986 .PHONY: maybe-distclean-bfd distclean-bfd
3987 maybe-distclean-bfd:
3988 @if bfd
3989 maybe-distclean-bfd: distclean-bfd
3990
3991 distclean-bfd: 
3992         @[ -f ./bfd/Makefile ] || exit 0; \
3993         r=`${PWD_COMMAND}`; export r; \
3994         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3995         $(SET_LIB_PATH) \
3996         $(HOST_EXPORTS) \
3997         for flag in $(EXTRA_HOST_FLAGS) ; do \
3998           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3999         done; \
4000         echo "Doing distclean in bfd" ; \
4001         (cd bfd && \
4002           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4003                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4004                   "RANLIB=$${RANLIB}" \
4005                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4006                   distclean) \
4007           || exit 1
4008
4009 @endif bfd
4010
4011 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4012 maybe-maintainer-clean-bfd:
4013 @if bfd
4014 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4015
4016 maintainer-clean-bfd: 
4017         @[ -f ./bfd/Makefile ] || exit 0; \
4018         r=`${PWD_COMMAND}`; export r; \
4019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4020         $(SET_LIB_PATH) \
4021         $(HOST_EXPORTS) \
4022         for flag in $(EXTRA_HOST_FLAGS) ; do \
4023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4024         done; \
4025         echo "Doing maintainer-clean in bfd" ; \
4026         (cd bfd && \
4027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4029                   "RANLIB=$${RANLIB}" \
4030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4031                   maintainer-clean) \
4032           || exit 1
4033
4034 @endif bfd
4035
4036
4037 .PHONY: configure-opcodes maybe-configure-opcodes
4038 maybe-configure-opcodes:
4039 @if opcodes
4040 maybe-configure-opcodes: configure-opcodes
4041 configure-opcodes:
4042         @test -f stage_last && exit 0; \
4043         test ! -f opcodes/Makefile || exit 0; \
4044         [ -d opcodes ] || mkdir opcodes; \
4045         r=`${PWD_COMMAND}`; export r; \
4046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4047         $(HOST_EXPORTS) \
4048         echo Configuring in opcodes; \
4049         cd opcodes || exit 1; \
4050         case $(srcdir) in \
4051           \.) \
4052             srcdiroption="--srcdir=."; \
4053             libsrcdir=".";; \
4054           /* | [A-Za-z]:[\\/]*) \
4055             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4056             libsrcdir="$$s/opcodes";; \
4057           *) \
4058             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4059             libsrcdir="$$s/opcodes";; \
4060         esac; \
4061         $(SHELL) $${libsrcdir}/configure \
4062           $(HOST_CONFIGARGS) $${srcdiroption}  \
4063           || exit 1
4064 @endif opcodes
4065
4066 .PHONY: all-opcodes maybe-all-opcodes
4067 maybe-all-opcodes:
4068 @if opcodes
4069 TARGET-opcodes=all
4070 maybe-all-opcodes: all-opcodes
4071 all-opcodes: configure-opcodes
4072         @test -f stage_last && exit 0; \
4073         r=`${PWD_COMMAND}`; export r; \
4074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4075         $(SET_LIB_PATH) \
4076         $(HOST_EXPORTS) \
4077         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS)  \
4078           $(TARGET-opcodes))
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 stage_last && exit 0; \
4349         test ! -f binutils/Makefile || exit 0; \
4350         [ -d binutils ] || mkdir binutils; \
4351         r=`${PWD_COMMAND}`; export r; \
4352         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353         $(HOST_EXPORTS) \
4354         echo Configuring in binutils; \
4355         cd binutils || exit 1; \
4356         case $(srcdir) in \
4357           \.) \
4358             srcdiroption="--srcdir=."; \
4359             libsrcdir=".";; \
4360           /* | [A-Za-z]:[\\/]*) \
4361             srcdiroption="--srcdir=$(srcdir)/binutils"; \
4362             libsrcdir="$$s/binutils";; \
4363           *) \
4364             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4365             libsrcdir="$$s/binutils";; \
4366         esac; \
4367         $(SHELL) $${libsrcdir}/configure \
4368           $(HOST_CONFIGARGS) $${srcdiroption}  \
4369           || exit 1
4370 @endif binutils
4371
4372 .PHONY: all-binutils maybe-all-binutils
4373 maybe-all-binutils:
4374 @if binutils
4375 TARGET-binutils=all
4376 maybe-all-binutils: all-binutils
4377 all-binutils: configure-binutils
4378         @test -f stage_last && exit 0; \
4379         r=`${PWD_COMMAND}`; export r; \
4380         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381         $(SET_LIB_PATH) \
4382         $(HOST_EXPORTS) \
4383         (cd binutils && $(MAKE) $(FLAGS_TO_PASS)  \
4384           $(TARGET-binutils))
4385 @endif binutils
4386
4387 .PHONY: check-binutils maybe-check-binutils
4388 maybe-check-binutils:
4389 @if binutils
4390 maybe-check-binutils: check-binutils
4391
4392 check-binutils:
4393         @r=`${PWD_COMMAND}`; export r; \
4394         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4395         $(SET_LIB_PATH) \
4396         $(HOST_EXPORTS) \
4397         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4398
4399 @endif binutils
4400
4401 .PHONY: install-binutils maybe-install-binutils
4402 maybe-install-binutils:
4403 @if binutils
4404 maybe-install-binutils: install-binutils
4405
4406 install-binutils: installdirs
4407         @r=`${PWD_COMMAND}`; export r; \
4408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4409         $(SET_LIB_PATH) \
4410         $(HOST_EXPORTS) \
4411         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4412
4413 @endif binutils
4414
4415 # Other targets (info, dvi, etc.)
4416
4417 .PHONY: maybe-info-binutils info-binutils
4418 maybe-info-binutils:
4419 @if binutils
4420 maybe-info-binutils: info-binutils
4421
4422 info-binutils: \
4423     configure-binutils 
4424         @[ -f ./binutils/Makefile ] || exit 0; \
4425         r=`${PWD_COMMAND}`; export r; \
4426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4427         $(SET_LIB_PATH) \
4428         $(HOST_EXPORTS) \
4429         for flag in $(EXTRA_HOST_FLAGS) ; do \
4430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4431         done; \
4432         echo "Doing info in binutils" ; \
4433         (cd binutils && \
4434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4436                   "RANLIB=$${RANLIB}" \
4437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4438                   info) \
4439           || exit 1
4440
4441 @endif binutils
4442
4443 .PHONY: maybe-dvi-binutils dvi-binutils
4444 maybe-dvi-binutils:
4445 @if binutils
4446 maybe-dvi-binutils: dvi-binutils
4447
4448 dvi-binutils: \
4449     configure-binutils 
4450         @[ -f ./binutils/Makefile ] || exit 0; \
4451         r=`${PWD_COMMAND}`; export r; \
4452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4453         $(SET_LIB_PATH) \
4454         $(HOST_EXPORTS) \
4455         for flag in $(EXTRA_HOST_FLAGS) ; do \
4456           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4457         done; \
4458         echo "Doing dvi in binutils" ; \
4459         (cd binutils && \
4460           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4461                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4462                   "RANLIB=$${RANLIB}" \
4463                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4464                   dvi) \
4465           || exit 1
4466
4467 @endif binutils
4468
4469 .PHONY: maybe-TAGS-binutils TAGS-binutils
4470 maybe-TAGS-binutils:
4471 @if binutils
4472 maybe-TAGS-binutils: TAGS-binutils
4473
4474 TAGS-binutils: \
4475     configure-binutils 
4476         @[ -f ./binutils/Makefile ] || exit 0; \
4477         r=`${PWD_COMMAND}`; export r; \
4478         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4479         $(SET_LIB_PATH) \
4480         $(HOST_EXPORTS) \
4481         for flag in $(EXTRA_HOST_FLAGS) ; do \
4482           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4483         done; \
4484         echo "Doing TAGS in binutils" ; \
4485         (cd binutils && \
4486           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4487                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4488                   "RANLIB=$${RANLIB}" \
4489                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4490                   TAGS) \
4491           || exit 1
4492
4493 @endif binutils
4494
4495 .PHONY: maybe-install-info-binutils install-info-binutils
4496 maybe-install-info-binutils:
4497 @if binutils
4498 maybe-install-info-binutils: install-info-binutils
4499
4500 install-info-binutils: \
4501     configure-binutils \
4502     info-binutils 
4503         @[ -f ./binutils/Makefile ] || exit 0; \
4504         r=`${PWD_COMMAND}`; export r; \
4505         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506         $(SET_LIB_PATH) \
4507         $(HOST_EXPORTS) \
4508         for flag in $(EXTRA_HOST_FLAGS) ; do \
4509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4510         done; \
4511         echo "Doing install-info in binutils" ; \
4512         (cd binutils && \
4513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4515                   "RANLIB=$${RANLIB}" \
4516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4517                   install-info) \
4518           || exit 1
4519
4520 @endif binutils
4521
4522 .PHONY: maybe-installcheck-binutils installcheck-binutils
4523 maybe-installcheck-binutils:
4524 @if binutils
4525 maybe-installcheck-binutils: installcheck-binutils
4526
4527 installcheck-binutils: \
4528     configure-binutils 
4529         @[ -f ./binutils/Makefile ] || exit 0; \
4530         r=`${PWD_COMMAND}`; export r; \
4531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4532         $(SET_LIB_PATH) \
4533         $(HOST_EXPORTS) \
4534         for flag in $(EXTRA_HOST_FLAGS) ; do \
4535           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4536         done; \
4537         echo "Doing installcheck in binutils" ; \
4538         (cd binutils && \
4539           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4540                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4541                   "RANLIB=$${RANLIB}" \
4542                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4543                   installcheck) \
4544           || exit 1
4545
4546 @endif binutils
4547
4548 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4549 maybe-mostlyclean-binutils:
4550 @if binutils
4551 maybe-mostlyclean-binutils: mostlyclean-binutils
4552
4553 mostlyclean-binutils: 
4554         @[ -f ./binutils/Makefile ] || exit 0; \
4555         r=`${PWD_COMMAND}`; export r; \
4556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4557         $(SET_LIB_PATH) \
4558         $(HOST_EXPORTS) \
4559         for flag in $(EXTRA_HOST_FLAGS) ; do \
4560           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4561         done; \
4562         echo "Doing mostlyclean in binutils" ; \
4563         (cd binutils && \
4564           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566                   "RANLIB=$${RANLIB}" \
4567                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4568                   mostlyclean) \
4569           || exit 1
4570
4571 @endif binutils
4572
4573 .PHONY: maybe-clean-binutils clean-binutils
4574 maybe-clean-binutils:
4575 @if binutils
4576 maybe-clean-binutils: clean-binutils
4577
4578 clean-binutils: 
4579         @[ -f ./binutils/Makefile ] || exit 0; \
4580         r=`${PWD_COMMAND}`; export r; \
4581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4582         $(SET_LIB_PATH) \
4583         $(HOST_EXPORTS) \
4584         for flag in $(EXTRA_HOST_FLAGS) ; do \
4585           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4586         done; \
4587         echo "Doing clean in binutils" ; \
4588         (cd binutils && \
4589           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4590                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4591                   "RANLIB=$${RANLIB}" \
4592                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4593                   clean) \
4594           || exit 1
4595
4596 @endif binutils
4597
4598 .PHONY: maybe-distclean-binutils distclean-binutils
4599 maybe-distclean-binutils:
4600 @if binutils
4601 maybe-distclean-binutils: distclean-binutils
4602
4603 distclean-binutils: 
4604         @[ -f ./binutils/Makefile ] || exit 0; \
4605         r=`${PWD_COMMAND}`; export r; \
4606         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607         $(SET_LIB_PATH) \
4608         $(HOST_EXPORTS) \
4609         for flag in $(EXTRA_HOST_FLAGS) ; do \
4610           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4611         done; \
4612         echo "Doing distclean in binutils" ; \
4613         (cd binutils && \
4614           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4615                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4616                   "RANLIB=$${RANLIB}" \
4617                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4618                   distclean) \
4619           || exit 1
4620
4621 @endif binutils
4622
4623 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4624 maybe-maintainer-clean-binutils:
4625 @if binutils
4626 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4627
4628 maintainer-clean-binutils: 
4629         @[ -f ./binutils/Makefile ] || exit 0; \
4630         r=`${PWD_COMMAND}`; export r; \
4631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4632         $(SET_LIB_PATH) \
4633         $(HOST_EXPORTS) \
4634         for flag in $(EXTRA_HOST_FLAGS) ; do \
4635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4636         done; \
4637         echo "Doing maintainer-clean in binutils" ; \
4638         (cd binutils && \
4639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641                   "RANLIB=$${RANLIB}" \
4642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4643                   maintainer-clean) \
4644           || exit 1
4645
4646 @endif binutils
4647
4648
4649 .PHONY: configure-bison maybe-configure-bison
4650 maybe-configure-bison:
4651 @if bison
4652 maybe-configure-bison: configure-bison
4653 configure-bison:
4654         @test ! -f bison/Makefile || exit 0; \
4655         [ -d bison ] || mkdir bison; \
4656         r=`${PWD_COMMAND}`; export r; \
4657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4658         $(HOST_EXPORTS) \
4659         echo Configuring in bison; \
4660         cd bison || exit 1; \
4661         case $(srcdir) in \
4662           \.) \
4663             srcdiroption="--srcdir=."; \
4664             libsrcdir=".";; \
4665           /* | [A-Za-z]:[\\/]*) \
4666             srcdiroption="--srcdir=$(srcdir)/bison"; \
4667             libsrcdir="$$s/bison";; \
4668           *) \
4669             srcdiroption="--srcdir=../$(srcdir)/bison"; \
4670             libsrcdir="$$s/bison";; \
4671         esac; \
4672         $(SHELL) $${libsrcdir}/configure \
4673           $(HOST_CONFIGARGS) $${srcdiroption}  \
4674           || exit 1
4675 @endif bison
4676
4677 .PHONY: all-bison maybe-all-bison
4678 maybe-all-bison:
4679 @if bison
4680 TARGET-bison=all
4681 maybe-all-bison: all-bison
4682 all-bison: configure-bison
4683         @r=`${PWD_COMMAND}`; export r; \
4684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4685         $(SET_LIB_PATH) \
4686         $(HOST_EXPORTS) \
4687         (cd bison && $(MAKE) $(FLAGS_TO_PASS)  \
4688           $(TARGET-bison))
4689 @endif bison
4690
4691 .PHONY: check-bison maybe-check-bison
4692 maybe-check-bison:
4693 @if bison
4694 maybe-check-bison: check-bison
4695
4696 # This module is only tested in a native toolchain.
4697 check-bison:
4698         @if [ '$(host)' = '$(target)' ] ; then \
4699           r=`${PWD_COMMAND}`; export r; \
4700           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4701           $(SET_LIB_PATH) \
4702           $(HOST_EXPORTS) \
4703           (cd bison && $(MAKE) $(FLAGS_TO_PASS)  check); \
4704         fi
4705
4706 @endif bison
4707
4708 .PHONY: install-bison maybe-install-bison
4709 maybe-install-bison:
4710 @if bison
4711 maybe-install-bison: install-bison
4712
4713 install-bison: installdirs
4714         @r=`${PWD_COMMAND}`; export r; \
4715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716         $(SET_LIB_PATH) \
4717         $(HOST_EXPORTS) \
4718         (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4719
4720 @endif bison
4721
4722 # Other targets (info, dvi, etc.)
4723
4724 .PHONY: maybe-info-bison info-bison
4725 maybe-info-bison:
4726 @if bison
4727 maybe-info-bison: info-bison
4728
4729 info-bison: \
4730     configure-bison 
4731         @[ -f ./bison/Makefile ] || exit 0; \
4732         r=`${PWD_COMMAND}`; export r; \
4733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4734         $(SET_LIB_PATH) \
4735         $(HOST_EXPORTS) \
4736         for flag in $(EXTRA_HOST_FLAGS) ; do \
4737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4738         done; \
4739         echo "Doing info in bison" ; \
4740         (cd bison && \
4741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743                   "RANLIB=$${RANLIB}" \
4744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4745                   info) \
4746           || exit 1
4747
4748 @endif bison
4749
4750 .PHONY: maybe-dvi-bison dvi-bison
4751 maybe-dvi-bison:
4752 @if bison
4753 maybe-dvi-bison: dvi-bison
4754
4755 dvi-bison: \
4756     configure-bison 
4757         @[ -f ./bison/Makefile ] || exit 0; \
4758         r=`${PWD_COMMAND}`; export r; \
4759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760         $(SET_LIB_PATH) \
4761         $(HOST_EXPORTS) \
4762         for flag in $(EXTRA_HOST_FLAGS) ; do \
4763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4764         done; \
4765         echo "Doing dvi in bison" ; \
4766         (cd bison && \
4767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4769                   "RANLIB=$${RANLIB}" \
4770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4771                   dvi) \
4772           || exit 1
4773
4774 @endif bison
4775
4776 .PHONY: maybe-TAGS-bison TAGS-bison
4777 maybe-TAGS-bison:
4778 @if bison
4779 maybe-TAGS-bison: TAGS-bison
4780
4781 TAGS-bison: \
4782     configure-bison 
4783         @[ -f ./bison/Makefile ] || exit 0; \
4784         r=`${PWD_COMMAND}`; export r; \
4785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4786         $(SET_LIB_PATH) \
4787         $(HOST_EXPORTS) \
4788         for flag in $(EXTRA_HOST_FLAGS) ; do \
4789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4790         done; \
4791         echo "Doing TAGS in bison" ; \
4792         (cd bison && \
4793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4795                   "RANLIB=$${RANLIB}" \
4796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4797                   TAGS) \
4798           || exit 1
4799
4800 @endif bison
4801
4802 .PHONY: maybe-install-info-bison install-info-bison
4803 maybe-install-info-bison:
4804 @if bison
4805 maybe-install-info-bison: install-info-bison
4806
4807 install-info-bison: \
4808     configure-bison \
4809     info-bison 
4810         @[ -f ./bison/Makefile ] || exit 0; \
4811         r=`${PWD_COMMAND}`; export r; \
4812         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4813         $(SET_LIB_PATH) \
4814         $(HOST_EXPORTS) \
4815         for flag in $(EXTRA_HOST_FLAGS) ; do \
4816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4817         done; \
4818         echo "Doing install-info in bison" ; \
4819         (cd bison && \
4820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4822                   "RANLIB=$${RANLIB}" \
4823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4824                   install-info) \
4825           || exit 1
4826
4827 @endif bison
4828
4829 .PHONY: maybe-installcheck-bison installcheck-bison
4830 maybe-installcheck-bison:
4831 @if bison
4832 maybe-installcheck-bison: installcheck-bison
4833
4834 installcheck-bison: \
4835     configure-bison 
4836         @[ -f ./bison/Makefile ] || exit 0; \
4837         r=`${PWD_COMMAND}`; export r; \
4838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4839         $(SET_LIB_PATH) \
4840         $(HOST_EXPORTS) \
4841         for flag in $(EXTRA_HOST_FLAGS) ; do \
4842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4843         done; \
4844         echo "Doing installcheck in bison" ; \
4845         (cd bison && \
4846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4848                   "RANLIB=$${RANLIB}" \
4849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4850                   installcheck) \
4851           || exit 1
4852
4853 @endif bison
4854
4855 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4856 maybe-mostlyclean-bison:
4857 @if bison
4858 maybe-mostlyclean-bison: mostlyclean-bison
4859
4860 mostlyclean-bison: 
4861         @[ -f ./bison/Makefile ] || exit 0; \
4862         r=`${PWD_COMMAND}`; export r; \
4863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4864         $(SET_LIB_PATH) \
4865         $(HOST_EXPORTS) \
4866         for flag in $(EXTRA_HOST_FLAGS) ; do \
4867           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4868         done; \
4869         echo "Doing mostlyclean in bison" ; \
4870         (cd bison && \
4871           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4872                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4873                   "RANLIB=$${RANLIB}" \
4874                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4875                   mostlyclean) \
4876           || exit 1
4877
4878 @endif bison
4879
4880 .PHONY: maybe-clean-bison clean-bison
4881 maybe-clean-bison:
4882 @if bison
4883 maybe-clean-bison: clean-bison
4884
4885 clean-bison: 
4886         @[ -f ./bison/Makefile ] || exit 0; \
4887         r=`${PWD_COMMAND}`; export r; \
4888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4889         $(SET_LIB_PATH) \
4890         $(HOST_EXPORTS) \
4891         for flag in $(EXTRA_HOST_FLAGS) ; do \
4892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4893         done; \
4894         echo "Doing clean in bison" ; \
4895         (cd bison && \
4896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4898                   "RANLIB=$${RANLIB}" \
4899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4900                   clean) \
4901           || exit 1
4902
4903 @endif bison
4904
4905 .PHONY: maybe-distclean-bison distclean-bison
4906 maybe-distclean-bison:
4907 @if bison
4908 maybe-distclean-bison: distclean-bison
4909
4910 distclean-bison: 
4911         @[ -f ./bison/Makefile ] || exit 0; \
4912         r=`${PWD_COMMAND}`; export r; \
4913         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4914         $(SET_LIB_PATH) \
4915         $(HOST_EXPORTS) \
4916         for flag in $(EXTRA_HOST_FLAGS) ; do \
4917           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4918         done; \
4919         echo "Doing distclean in bison" ; \
4920         (cd bison && \
4921           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4922                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4923                   "RANLIB=$${RANLIB}" \
4924                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4925                   distclean) \
4926           || exit 1
4927
4928 @endif bison
4929
4930 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4931 maybe-maintainer-clean-bison:
4932 @if bison
4933 maybe-maintainer-clean-bison: maintainer-clean-bison
4934
4935 maintainer-clean-bison: 
4936         @[ -f ./bison/Makefile ] || exit 0; \
4937         r=`${PWD_COMMAND}`; export r; \
4938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939         $(SET_LIB_PATH) \
4940         $(HOST_EXPORTS) \
4941         for flag in $(EXTRA_HOST_FLAGS) ; do \
4942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4943         done; \
4944         echo "Doing maintainer-clean in bison" ; \
4945         (cd bison && \
4946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4948                   "RANLIB=$${RANLIB}" \
4949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4950                   maintainer-clean) \
4951           || exit 1
4952
4953 @endif bison
4954
4955
4956 .PHONY: configure-byacc maybe-configure-byacc
4957 maybe-configure-byacc:
4958 @if byacc
4959 maybe-configure-byacc: configure-byacc
4960 configure-byacc:
4961         @test ! -f byacc/Makefile || exit 0; \
4962         [ -d byacc ] || mkdir byacc; \
4963         r=`${PWD_COMMAND}`; export r; \
4964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965         $(HOST_EXPORTS) \
4966         echo Configuring in byacc; \
4967         cd byacc || exit 1; \
4968         case $(srcdir) in \
4969           \.) \
4970             srcdiroption="--srcdir=."; \
4971             libsrcdir=".";; \
4972           /* | [A-Za-z]:[\\/]*) \
4973             srcdiroption="--srcdir=$(srcdir)/byacc"; \
4974             libsrcdir="$$s/byacc";; \
4975           *) \
4976             srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4977             libsrcdir="$$s/byacc";; \
4978         esac; \
4979         $(SHELL) $${libsrcdir}/configure \
4980           $(HOST_CONFIGARGS) $${srcdiroption}  \
4981           || exit 1
4982 @endif byacc
4983
4984 .PHONY: all-byacc maybe-all-byacc
4985 maybe-all-byacc:
4986 @if byacc
4987 TARGET-byacc=all
4988 maybe-all-byacc: all-byacc
4989 all-byacc: configure-byacc
4990         @r=`${PWD_COMMAND}`; export r; \
4991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4992         $(SET_LIB_PATH) \
4993         $(HOST_EXPORTS) \
4994         (cd byacc && $(MAKE) $(FLAGS_TO_PASS)  \
4995           $(TARGET-byacc))
4996 @endif byacc
4997
4998 .PHONY: check-byacc maybe-check-byacc
4999 maybe-check-byacc:
5000 @if byacc
5001 maybe-check-byacc: check-byacc
5002
5003 # This module is only tested in a native toolchain.
5004 check-byacc:
5005         @if [ '$(host)' = '$(target)' ] ; then \
5006           r=`${PWD_COMMAND}`; export r; \
5007           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5008           $(SET_LIB_PATH) \
5009           $(HOST_EXPORTS) \
5010           (cd byacc && $(MAKE) $(FLAGS_TO_PASS)  check); \
5011         fi
5012
5013 @endif byacc
5014
5015 .PHONY: install-byacc maybe-install-byacc
5016 maybe-install-byacc:
5017 @if byacc
5018 maybe-install-byacc: install-byacc
5019
5020 install-byacc: installdirs
5021         @r=`${PWD_COMMAND}`; export r; \
5022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5023         $(SET_LIB_PATH) \
5024         $(HOST_EXPORTS) \
5025         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5026
5027 @endif byacc
5028
5029 # Other targets (info, dvi, etc.)
5030
5031 .PHONY: maybe-info-byacc info-byacc
5032 maybe-info-byacc:
5033 @if byacc
5034 maybe-info-byacc: info-byacc
5035
5036 info-byacc: \
5037     configure-byacc 
5038         @[ -f ./byacc/Makefile ] || exit 0; \
5039         r=`${PWD_COMMAND}`; export r; \
5040         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5041         $(SET_LIB_PATH) \
5042         $(HOST_EXPORTS) \
5043         for flag in $(EXTRA_HOST_FLAGS) ; do \
5044           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5045         done; \
5046         echo "Doing info in byacc" ; \
5047         (cd byacc && \
5048           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5049                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5050                   "RANLIB=$${RANLIB}" \
5051                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5052                   info) \
5053           || exit 1
5054
5055 @endif byacc
5056
5057 .PHONY: maybe-dvi-byacc dvi-byacc
5058 maybe-dvi-byacc:
5059 @if byacc
5060 maybe-dvi-byacc: dvi-byacc
5061
5062 dvi-byacc: \
5063     configure-byacc 
5064         @[ -f ./byacc/Makefile ] || exit 0; \
5065         r=`${PWD_COMMAND}`; export r; \
5066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5067         $(SET_LIB_PATH) \
5068         $(HOST_EXPORTS) \
5069         for flag in $(EXTRA_HOST_FLAGS) ; do \
5070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5071         done; \
5072         echo "Doing dvi in byacc" ; \
5073         (cd byacc && \
5074           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5075                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5076                   "RANLIB=$${RANLIB}" \
5077                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5078                   dvi) \
5079           || exit 1
5080
5081 @endif byacc
5082
5083 .PHONY: maybe-TAGS-byacc TAGS-byacc
5084 maybe-TAGS-byacc:
5085 @if byacc
5086 maybe-TAGS-byacc: TAGS-byacc
5087
5088 TAGS-byacc: \
5089     configure-byacc 
5090         @[ -f ./byacc/Makefile ] || exit 0; \
5091         r=`${PWD_COMMAND}`; export r; \
5092         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5093         $(SET_LIB_PATH) \
5094         $(HOST_EXPORTS) \
5095         for flag in $(EXTRA_HOST_FLAGS) ; do \
5096           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5097         done; \
5098         echo "Doing TAGS in byacc" ; \
5099         (cd byacc && \
5100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5102                   "RANLIB=$${RANLIB}" \
5103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5104                   TAGS) \
5105           || exit 1
5106
5107 @endif byacc
5108
5109 .PHONY: maybe-install-info-byacc install-info-byacc
5110 maybe-install-info-byacc:
5111 @if byacc
5112 maybe-install-info-byacc: install-info-byacc
5113
5114 install-info-byacc: \
5115     configure-byacc \
5116     info-byacc 
5117         @[ -f ./byacc/Makefile ] || exit 0; \
5118         r=`${PWD_COMMAND}`; export r; \
5119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5120         $(SET_LIB_PATH) \
5121         $(HOST_EXPORTS) \
5122         for flag in $(EXTRA_HOST_FLAGS) ; do \
5123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5124         done; \
5125         echo "Doing install-info in byacc" ; \
5126         (cd byacc && \
5127           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5128                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5129                   "RANLIB=$${RANLIB}" \
5130                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5131                   install-info) \
5132           || exit 1
5133
5134 @endif byacc
5135
5136 .PHONY: maybe-installcheck-byacc installcheck-byacc
5137 maybe-installcheck-byacc:
5138 @if byacc
5139 maybe-installcheck-byacc: installcheck-byacc
5140
5141 installcheck-byacc: \
5142     configure-byacc 
5143         @[ -f ./byacc/Makefile ] || exit 0; \
5144         r=`${PWD_COMMAND}`; export r; \
5145         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5146         $(SET_LIB_PATH) \
5147         $(HOST_EXPORTS) \
5148         for flag in $(EXTRA_HOST_FLAGS) ; do \
5149           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5150         done; \
5151         echo "Doing installcheck in byacc" ; \
5152         (cd byacc && \
5153           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5154                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5155                   "RANLIB=$${RANLIB}" \
5156                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5157                   installcheck) \
5158           || exit 1
5159
5160 @endif byacc
5161
5162 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5163 maybe-mostlyclean-byacc:
5164 @if byacc
5165 maybe-mostlyclean-byacc: mostlyclean-byacc
5166
5167 mostlyclean-byacc: 
5168         @[ -f ./byacc/Makefile ] || exit 0; \
5169         r=`${PWD_COMMAND}`; export r; \
5170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5171         $(SET_LIB_PATH) \
5172         $(HOST_EXPORTS) \
5173         for flag in $(EXTRA_HOST_FLAGS) ; do \
5174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5175         done; \
5176         echo "Doing mostlyclean in byacc" ; \
5177         (cd byacc && \
5178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5180                   "RANLIB=$${RANLIB}" \
5181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5182                   mostlyclean) \
5183           || exit 1
5184
5185 @endif byacc
5186
5187 .PHONY: maybe-clean-byacc clean-byacc
5188 maybe-clean-byacc:
5189 @if byacc
5190 maybe-clean-byacc: clean-byacc
5191
5192 clean-byacc: 
5193         @[ -f ./byacc/Makefile ] || exit 0; \
5194         r=`${PWD_COMMAND}`; export r; \
5195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5196         $(SET_LIB_PATH) \
5197         $(HOST_EXPORTS) \
5198         for flag in $(EXTRA_HOST_FLAGS) ; do \
5199           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5200         done; \
5201         echo "Doing clean in byacc" ; \
5202         (cd byacc && \
5203           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5204                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5205                   "RANLIB=$${RANLIB}" \
5206                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5207                   clean) \
5208           || exit 1
5209
5210 @endif byacc
5211
5212 .PHONY: maybe-distclean-byacc distclean-byacc
5213 maybe-distclean-byacc:
5214 @if byacc
5215 maybe-distclean-byacc: distclean-byacc
5216
5217 distclean-byacc: 
5218         @[ -f ./byacc/Makefile ] || exit 0; \
5219         r=`${PWD_COMMAND}`; export r; \
5220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221         $(SET_LIB_PATH) \
5222         $(HOST_EXPORTS) \
5223         for flag in $(EXTRA_HOST_FLAGS) ; do \
5224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5225         done; \
5226         echo "Doing distclean in byacc" ; \
5227         (cd byacc && \
5228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5230                   "RANLIB=$${RANLIB}" \
5231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5232                   distclean) \
5233           || exit 1
5234
5235 @endif byacc
5236
5237 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5238 maybe-maintainer-clean-byacc:
5239 @if byacc
5240 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5241
5242 maintainer-clean-byacc: 
5243         @[ -f ./byacc/Makefile ] || exit 0; \
5244         r=`${PWD_COMMAND}`; export r; \
5245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5246         $(SET_LIB_PATH) \
5247         $(HOST_EXPORTS) \
5248         for flag in $(EXTRA_HOST_FLAGS) ; do \
5249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5250         done; \
5251         echo "Doing maintainer-clean in byacc" ; \
5252         (cd byacc && \
5253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5255                   "RANLIB=$${RANLIB}" \
5256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5257                   maintainer-clean) \
5258           || exit 1
5259
5260 @endif byacc
5261
5262
5263 .PHONY: configure-bzip2 maybe-configure-bzip2
5264 maybe-configure-bzip2:
5265 @if bzip2
5266 maybe-configure-bzip2: configure-bzip2
5267 configure-bzip2:
5268         @test ! -f bzip2/Makefile || exit 0; \
5269         [ -d bzip2 ] || mkdir bzip2; \
5270         r=`${PWD_COMMAND}`; export r; \
5271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272         $(HOST_EXPORTS) \
5273         echo Configuring in bzip2; \
5274         cd bzip2 || exit 1; \
5275         case $(srcdir) in \
5276           \.) \
5277             srcdiroption="--srcdir=."; \
5278             libsrcdir=".";; \
5279           /* | [A-Za-z]:[\\/]*) \
5280             srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5281             libsrcdir="$$s/bzip2";; \
5282           *) \
5283             srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5284             libsrcdir="$$s/bzip2";; \
5285         esac; \
5286         $(SHELL) $${libsrcdir}/configure \
5287           $(HOST_CONFIGARGS) $${srcdiroption}  \
5288           || exit 1
5289 @endif bzip2
5290
5291 .PHONY: all-bzip2 maybe-all-bzip2
5292 maybe-all-bzip2:
5293 @if bzip2
5294 TARGET-bzip2=all
5295 maybe-all-bzip2: all-bzip2
5296 all-bzip2: configure-bzip2
5297         @r=`${PWD_COMMAND}`; export r; \
5298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299         $(SET_LIB_PATH) \
5300         $(HOST_EXPORTS) \
5301         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS)  \
5302           $(TARGET-bzip2))
5303 @endif bzip2
5304
5305 .PHONY: check-bzip2 maybe-check-bzip2
5306 maybe-check-bzip2:
5307 @if bzip2
5308 maybe-check-bzip2: check-bzip2
5309
5310 check-bzip2:
5311         @r=`${PWD_COMMAND}`; export r; \
5312         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5313         $(SET_LIB_PATH) \
5314         $(HOST_EXPORTS) \
5315         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5316
5317 @endif bzip2
5318
5319 .PHONY: install-bzip2 maybe-install-bzip2
5320 maybe-install-bzip2:
5321 @if bzip2
5322 maybe-install-bzip2: install-bzip2
5323
5324 install-bzip2: installdirs
5325         @r=`${PWD_COMMAND}`; export r; \
5326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327         $(SET_LIB_PATH) \
5328         $(HOST_EXPORTS) \
5329         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5330
5331 @endif bzip2
5332
5333 # Other targets (info, dvi, etc.)
5334
5335 .PHONY: maybe-info-bzip2 info-bzip2
5336 maybe-info-bzip2:
5337 @if bzip2
5338 maybe-info-bzip2: info-bzip2
5339
5340 info-bzip2: \
5341     configure-bzip2 
5342         @[ -f ./bzip2/Makefile ] || exit 0; \
5343         r=`${PWD_COMMAND}`; export r; \
5344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345         $(SET_LIB_PATH) \
5346         $(HOST_EXPORTS) \
5347         for flag in $(EXTRA_HOST_FLAGS) ; do \
5348           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5349         done; \
5350         echo "Doing info in bzip2" ; \
5351         (cd bzip2 && \
5352           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5353                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5354                   "RANLIB=$${RANLIB}" \
5355                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5356                   info) \
5357           || exit 1
5358
5359 @endif bzip2
5360
5361 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5362 maybe-dvi-bzip2:
5363 @if bzip2
5364 maybe-dvi-bzip2: dvi-bzip2
5365
5366 dvi-bzip2: \
5367     configure-bzip2 
5368         @[ -f ./bzip2/Makefile ] || exit 0; \
5369         r=`${PWD_COMMAND}`; export r; \
5370         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5371         $(SET_LIB_PATH) \
5372         $(HOST_EXPORTS) \
5373         for flag in $(EXTRA_HOST_FLAGS) ; do \
5374           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5375         done; \
5376         echo "Doing dvi in bzip2" ; \
5377         (cd bzip2 && \
5378           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5379                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5380                   "RANLIB=$${RANLIB}" \
5381                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5382                   dvi) \
5383           || exit 1
5384
5385 @endif bzip2
5386
5387 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5388 maybe-TAGS-bzip2:
5389 @if bzip2
5390 maybe-TAGS-bzip2: TAGS-bzip2
5391
5392 TAGS-bzip2: \
5393     configure-bzip2 
5394         @[ -f ./bzip2/Makefile ] || exit 0; \
5395         r=`${PWD_COMMAND}`; export r; \
5396         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5397         $(SET_LIB_PATH) \
5398         $(HOST_EXPORTS) \
5399         for flag in $(EXTRA_HOST_FLAGS) ; do \
5400           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5401         done; \
5402         echo "Doing TAGS in bzip2" ; \
5403         (cd bzip2 && \
5404           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5405                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5406                   "RANLIB=$${RANLIB}" \
5407                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5408                   TAGS) \
5409           || exit 1
5410
5411 @endif bzip2
5412
5413 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5414 maybe-install-info-bzip2:
5415 @if bzip2
5416 maybe-install-info-bzip2: install-info-bzip2
5417
5418 install-info-bzip2: \
5419     configure-bzip2 \
5420     info-bzip2 
5421         @[ -f ./bzip2/Makefile ] || exit 0; \
5422         r=`${PWD_COMMAND}`; export r; \
5423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5424         $(SET_LIB_PATH) \
5425         $(HOST_EXPORTS) \
5426         for flag in $(EXTRA_HOST_FLAGS) ; do \
5427           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5428         done; \
5429         echo "Doing install-info in bzip2" ; \
5430         (cd bzip2 && \
5431           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5432                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5433                   "RANLIB=$${RANLIB}" \
5434                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5435                   install-info) \
5436           || exit 1
5437
5438 @endif bzip2
5439
5440 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5441 maybe-installcheck-bzip2:
5442 @if bzip2
5443 maybe-installcheck-bzip2: installcheck-bzip2
5444
5445 installcheck-bzip2: \
5446     configure-bzip2 
5447         @[ -f ./bzip2/Makefile ] || exit 0; \
5448         r=`${PWD_COMMAND}`; export r; \
5449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5450         $(SET_LIB_PATH) \
5451         $(HOST_EXPORTS) \
5452         for flag in $(EXTRA_HOST_FLAGS) ; do \
5453           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5454         done; \
5455         echo "Doing installcheck in bzip2" ; \
5456         (cd bzip2 && \
5457           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5458                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5459                   "RANLIB=$${RANLIB}" \
5460                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5461                   installcheck) \
5462           || exit 1
5463
5464 @endif bzip2
5465
5466 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5467 maybe-mostlyclean-bzip2:
5468 @if bzip2
5469 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5470
5471 mostlyclean-bzip2: 
5472         @[ -f ./bzip2/Makefile ] || exit 0; \
5473         r=`${PWD_COMMAND}`; export r; \
5474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5475         $(SET_LIB_PATH) \
5476         $(HOST_EXPORTS) \
5477         for flag in $(EXTRA_HOST_FLAGS) ; do \
5478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5479         done; \
5480         echo "Doing mostlyclean in bzip2" ; \
5481         (cd bzip2 && \
5482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5484                   "RANLIB=$${RANLIB}" \
5485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5486                   mostlyclean) \
5487           || exit 1
5488
5489 @endif bzip2
5490
5491 .PHONY: maybe-clean-bzip2 clean-bzip2
5492 maybe-clean-bzip2:
5493 @if bzip2
5494 maybe-clean-bzip2: clean-bzip2
5495
5496 clean-bzip2: 
5497         @[ -f ./bzip2/Makefile ] || exit 0; \
5498         r=`${PWD_COMMAND}`; export r; \
5499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5500         $(SET_LIB_PATH) \
5501         $(HOST_EXPORTS) \
5502         for flag in $(EXTRA_HOST_FLAGS) ; do \
5503           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5504         done; \
5505         echo "Doing clean in bzip2" ; \
5506         (cd bzip2 && \
5507           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5508                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5509                   "RANLIB=$${RANLIB}" \
5510                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5511                   clean) \
5512           || exit 1
5513
5514 @endif bzip2
5515
5516 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5517 maybe-distclean-bzip2:
5518 @if bzip2
5519 maybe-distclean-bzip2: distclean-bzip2
5520
5521 distclean-bzip2: 
5522         @[ -f ./bzip2/Makefile ] || exit 0; \
5523         r=`${PWD_COMMAND}`; export r; \
5524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5525         $(SET_LIB_PATH) \
5526         $(HOST_EXPORTS) \
5527         for flag in $(EXTRA_HOST_FLAGS) ; do \
5528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5529         done; \
5530         echo "Doing distclean in bzip2" ; \
5531         (cd bzip2 && \
5532           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5533                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5534                   "RANLIB=$${RANLIB}" \
5535                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5536                   distclean) \
5537           || exit 1
5538
5539 @endif bzip2
5540
5541 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5542 maybe-maintainer-clean-bzip2:
5543 @if bzip2
5544 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5545
5546 maintainer-clean-bzip2: 
5547         @[ -f ./bzip2/Makefile ] || exit 0; \
5548         r=`${PWD_COMMAND}`; export r; \
5549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5550         $(SET_LIB_PATH) \
5551         $(HOST_EXPORTS) \
5552         for flag in $(EXTRA_HOST_FLAGS) ; do \
5553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5554         done; \
5555         echo "Doing maintainer-clean in bzip2" ; \
5556         (cd bzip2 && \
5557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5559                   "RANLIB=$${RANLIB}" \
5560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5561                   maintainer-clean) \
5562           || exit 1
5563
5564 @endif bzip2
5565
5566
5567 .PHONY: configure-dejagnu maybe-configure-dejagnu
5568 maybe-configure-dejagnu:
5569 @if dejagnu
5570 maybe-configure-dejagnu: configure-dejagnu
5571 configure-dejagnu:
5572         @test ! -f dejagnu/Makefile || exit 0; \
5573         [ -d dejagnu ] || mkdir dejagnu; \
5574         r=`${PWD_COMMAND}`; export r; \
5575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5576         $(HOST_EXPORTS) \
5577         echo Configuring in dejagnu; \
5578         cd dejagnu || exit 1; \
5579         case $(srcdir) in \
5580           \.) \
5581             srcdiroption="--srcdir=."; \
5582             libsrcdir=".";; \
5583           /* | [A-Za-z]:[\\/]*) \
5584             srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5585             libsrcdir="$$s/dejagnu";; \
5586           *) \
5587             srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5588             libsrcdir="$$s/dejagnu";; \
5589         esac; \
5590         $(SHELL) $${libsrcdir}/configure \
5591           $(HOST_CONFIGARGS) $${srcdiroption}  \
5592           || exit 1
5593 @endif dejagnu
5594
5595 .PHONY: all-dejagnu maybe-all-dejagnu
5596 maybe-all-dejagnu:
5597 @if dejagnu
5598 TARGET-dejagnu=all
5599 maybe-all-dejagnu: all-dejagnu
5600 all-dejagnu: configure-dejagnu
5601         @r=`${PWD_COMMAND}`; export r; \
5602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5603         $(SET_LIB_PATH) \
5604         $(HOST_EXPORTS) \
5605         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS)  \
5606           $(TARGET-dejagnu))
5607 @endif dejagnu
5608
5609 .PHONY: check-dejagnu maybe-check-dejagnu
5610 maybe-check-dejagnu:
5611 @if dejagnu
5612 maybe-check-dejagnu: check-dejagnu
5613
5614 check-dejagnu:
5615         @r=`${PWD_COMMAND}`; export r; \
5616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5617         $(SET_LIB_PATH) \
5618         $(HOST_EXPORTS) \
5619         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5620
5621 @endif dejagnu
5622
5623 .PHONY: install-dejagnu maybe-install-dejagnu
5624 maybe-install-dejagnu:
5625 @if dejagnu
5626 maybe-install-dejagnu: install-dejagnu
5627
5628 install-dejagnu: installdirs
5629         @r=`${PWD_COMMAND}`; export r; \
5630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631         $(SET_LIB_PATH) \
5632         $(HOST_EXPORTS) \
5633         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5634
5635 @endif dejagnu
5636
5637 # Other targets (info, dvi, etc.)
5638
5639 .PHONY: maybe-info-dejagnu info-dejagnu
5640 maybe-info-dejagnu:
5641 @if dejagnu
5642 maybe-info-dejagnu: info-dejagnu
5643
5644 info-dejagnu: \
5645     configure-dejagnu 
5646         @[ -f ./dejagnu/Makefile ] || exit 0; \
5647         r=`${PWD_COMMAND}`; export r; \
5648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649         $(SET_LIB_PATH) \
5650         $(HOST_EXPORTS) \
5651         for flag in $(EXTRA_HOST_FLAGS) ; do \
5652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5653         done; \
5654         echo "Doing info in dejagnu" ; \
5655         (cd dejagnu && \
5656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5658                   "RANLIB=$${RANLIB}" \
5659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5660                   info) \
5661           || exit 1
5662
5663 @endif dejagnu
5664
5665 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5666 maybe-dvi-dejagnu:
5667 @if dejagnu
5668 maybe-dvi-dejagnu: dvi-dejagnu
5669
5670 dvi-dejagnu: \
5671     configure-dejagnu 
5672         @[ -f ./dejagnu/Makefile ] || exit 0; \
5673         r=`${PWD_COMMAND}`; export r; \
5674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5675         $(SET_LIB_PATH) \
5676         $(HOST_EXPORTS) \
5677         for flag in $(EXTRA_HOST_FLAGS) ; do \
5678           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5679         done; \
5680         echo "Doing dvi in dejagnu" ; \
5681         (cd dejagnu && \
5682           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5683                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5684                   "RANLIB=$${RANLIB}" \
5685                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5686                   dvi) \
5687           || exit 1
5688
5689 @endif dejagnu
5690
5691 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5692 maybe-TAGS-dejagnu:
5693 @if dejagnu
5694 maybe-TAGS-dejagnu: TAGS-dejagnu
5695
5696 TAGS-dejagnu: \
5697     configure-dejagnu 
5698         @[ -f ./dejagnu/Makefile ] || exit 0; \
5699         r=`${PWD_COMMAND}`; export r; \
5700         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701         $(SET_LIB_PATH) \
5702         $(HOST_EXPORTS) \
5703         for flag in $(EXTRA_HOST_FLAGS) ; do \
5704           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5705         done; \
5706         echo "Doing TAGS in dejagnu" ; \
5707         (cd dejagnu && \
5708           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5709                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5710                   "RANLIB=$${RANLIB}" \
5711                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5712                   TAGS) \
5713           || exit 1
5714
5715 @endif dejagnu
5716
5717 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5718 maybe-install-info-dejagnu:
5719 @if dejagnu
5720 maybe-install-info-dejagnu: install-info-dejagnu
5721
5722 install-info-dejagnu: \
5723     configure-dejagnu \
5724     info-dejagnu 
5725         @[ -f ./dejagnu/Makefile ] || exit 0; \
5726         r=`${PWD_COMMAND}`; export r; \
5727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728         $(SET_LIB_PATH) \
5729         $(HOST_EXPORTS) \
5730         for flag in $(EXTRA_HOST_FLAGS) ; do \
5731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5732         done; \
5733         echo "Doing install-info in dejagnu" ; \
5734         (cd dejagnu && \
5735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5737                   "RANLIB=$${RANLIB}" \
5738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5739                   install-info) \
5740           || exit 1
5741
5742 @endif dejagnu
5743
5744 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5745 maybe-installcheck-dejagnu:
5746 @if dejagnu
5747 maybe-installcheck-dejagnu: installcheck-dejagnu
5748
5749 installcheck-dejagnu: \
5750     configure-dejagnu 
5751         @[ -f ./dejagnu/Makefile ] || exit 0; \
5752         r=`${PWD_COMMAND}`; export r; \
5753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5754         $(SET_LIB_PATH) \
5755         $(HOST_EXPORTS) \
5756         for flag in $(EXTRA_HOST_FLAGS) ; do \
5757           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5758         done; \
5759         echo "Doing installcheck in dejagnu" ; \
5760         (cd dejagnu && \
5761           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5762                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5763                   "RANLIB=$${RANLIB}" \
5764                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5765                   installcheck) \
5766           || exit 1
5767
5768 @endif dejagnu
5769
5770 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5771 maybe-mostlyclean-dejagnu:
5772 @if dejagnu
5773 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5774
5775 mostlyclean-dejagnu: 
5776         @[ -f ./dejagnu/Makefile ] || exit 0; \
5777         r=`${PWD_COMMAND}`; export r; \
5778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779         $(SET_LIB_PATH) \
5780         $(HOST_EXPORTS) \
5781         for flag in $(EXTRA_HOST_FLAGS) ; do \
5782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5783         done; \
5784         echo "Doing mostlyclean in dejagnu" ; \
5785         (cd dejagnu && \
5786           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5787                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5788                   "RANLIB=$${RANLIB}" \
5789                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5790                   mostlyclean) \
5791           || exit 1
5792
5793 @endif dejagnu
5794
5795 .PHONY: maybe-clean-dejagnu clean-dejagnu
5796 maybe-clean-dejagnu:
5797 @if dejagnu
5798 maybe-clean-dejagnu: clean-dejagnu
5799
5800 clean-dejagnu: 
5801         @[ -f ./dejagnu/Makefile ] || exit 0; \
5802         r=`${PWD_COMMAND}`; export r; \
5803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5804         $(SET_LIB_PATH) \
5805         $(HOST_EXPORTS) \
5806         for flag in $(EXTRA_HOST_FLAGS) ; do \
5807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5808         done; \
5809         echo "Doing clean in dejagnu" ; \
5810         (cd dejagnu && \
5811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5813                   "RANLIB=$${RANLIB}" \
5814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5815                   clean) \
5816           || exit 1
5817
5818 @endif dejagnu
5819
5820 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5821 maybe-distclean-dejagnu:
5822 @if dejagnu
5823 maybe-distclean-dejagnu: distclean-dejagnu
5824
5825 distclean-dejagnu: 
5826         @[ -f ./dejagnu/Makefile ] || exit 0; \
5827         r=`${PWD_COMMAND}`; export r; \
5828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5829         $(SET_LIB_PATH) \
5830         $(HOST_EXPORTS) \
5831         for flag in $(EXTRA_HOST_FLAGS) ; do \
5832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5833         done; \
5834         echo "Doing distclean in dejagnu" ; \
5835         (cd dejagnu && \
5836           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5837                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5838                   "RANLIB=$${RANLIB}" \
5839                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5840                   distclean) \
5841           || exit 1
5842
5843 @endif dejagnu
5844
5845 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5846 maybe-maintainer-clean-dejagnu:
5847 @if dejagnu
5848 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5849
5850 maintainer-clean-dejagnu: 
5851         @[ -f ./dejagnu/Makefile ] || exit 0; \
5852         r=`${PWD_COMMAND}`; export r; \
5853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854         $(SET_LIB_PATH) \
5855         $(HOST_EXPORTS) \
5856         for flag in $(EXTRA_HOST_FLAGS) ; do \
5857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5858         done; \
5859         echo "Doing maintainer-clean in dejagnu" ; \
5860         (cd dejagnu && \
5861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5863                   "RANLIB=$${RANLIB}" \
5864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5865                   maintainer-clean) \
5866           || exit 1
5867
5868 @endif dejagnu
5869
5870
5871 .PHONY: configure-diff maybe-configure-diff
5872 maybe-configure-diff:
5873 @if diff
5874 maybe-configure-diff: configure-diff
5875 configure-diff:
5876         @test ! -f diff/Makefile || exit 0; \
5877         [ -d diff ] || mkdir diff; \
5878         r=`${PWD_COMMAND}`; export r; \
5879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5880         $(HOST_EXPORTS) \
5881         echo Configuring in diff; \
5882         cd diff || exit 1; \
5883         case $(srcdir) in \
5884           \.) \
5885             srcdiroption="--srcdir=."; \
5886             libsrcdir=".";; \
5887           /* | [A-Za-z]:[\\/]*) \
5888             srcdiroption="--srcdir=$(srcdir)/diff"; \
5889             libsrcdir="$$s/diff";; \
5890           *) \
5891             srcdiroption="--srcdir=../$(srcdir)/diff"; \
5892             libsrcdir="$$s/diff";; \
5893         esac; \
5894         $(SHELL) $${libsrcdir}/configure \
5895           $(HOST_CONFIGARGS) $${srcdiroption}  \
5896           || exit 1
5897 @endif diff
5898
5899 .PHONY: all-diff maybe-all-diff
5900 maybe-all-diff:
5901 @if diff
5902 TARGET-diff=all
5903 maybe-all-diff: all-diff
5904 all-diff: configure-diff
5905         @r=`${PWD_COMMAND}`; export r; \
5906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5907         $(SET_LIB_PATH) \
5908         $(HOST_EXPORTS) \
5909         (cd diff && $(MAKE) $(FLAGS_TO_PASS)  \
5910           $(TARGET-diff))
5911 @endif diff
5912
5913 .PHONY: check-diff maybe-check-diff
5914 maybe-check-diff:
5915 @if diff
5916 maybe-check-diff: check-diff
5917
5918 check-diff:
5919         @r=`${PWD_COMMAND}`; export r; \
5920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5921         $(SET_LIB_PATH) \
5922         $(HOST_EXPORTS) \
5923         (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5924
5925 @endif diff
5926
5927 .PHONY: install-diff maybe-install-diff
5928 maybe-install-diff:
5929 @if diff
5930 maybe-install-diff: install-diff
5931
5932 install-diff: installdirs
5933         @r=`${PWD_COMMAND}`; export r; \
5934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935         $(SET_LIB_PATH) \
5936         $(HOST_EXPORTS) \
5937         (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5938
5939 @endif diff
5940
5941 # Other targets (info, dvi, etc.)
5942
5943 .PHONY: maybe-info-diff info-diff
5944 maybe-info-diff:
5945 @if diff
5946 maybe-info-diff: info-diff
5947
5948 info-diff: \
5949     configure-diff 
5950         @[ -f ./diff/Makefile ] || exit 0; \
5951         r=`${PWD_COMMAND}`; export r; \
5952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5953         $(SET_LIB_PATH) \
5954         $(HOST_EXPORTS) \
5955         for flag in $(EXTRA_HOST_FLAGS) ; do \
5956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5957         done; \
5958         echo "Doing info in diff" ; \
5959         (cd diff && \
5960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5962                   "RANLIB=$${RANLIB}" \
5963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5964                   info) \
5965           || exit 1
5966
5967 @endif diff
5968
5969 .PHONY: maybe-dvi-diff dvi-diff
5970 maybe-dvi-diff:
5971 @if diff
5972 maybe-dvi-diff: dvi-diff
5973
5974 dvi-diff: \
5975     configure-diff 
5976         @[ -f ./diff/Makefile ] || exit 0; \
5977         r=`${PWD_COMMAND}`; export r; \
5978         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5979         $(SET_LIB_PATH) \
5980         $(HOST_EXPORTS) \
5981         for flag in $(EXTRA_HOST_FLAGS) ; do \
5982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5983         done; \
5984         echo "Doing dvi in diff" ; \
5985         (cd diff && \
5986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5988                   "RANLIB=$${RANLIB}" \
5989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5990                   dvi) \
5991           || exit 1
5992
5993 @endif diff
5994
5995 .PHONY: maybe-TAGS-diff TAGS-diff
5996 maybe-TAGS-diff:
5997 @if diff
5998 maybe-TAGS-diff: TAGS-diff
5999
6000 TAGS-diff: \
6001     configure-diff 
6002         @[ -f ./diff/Makefile ] || exit 0; \
6003         r=`${PWD_COMMAND}`; export r; \
6004         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6005         $(SET_LIB_PATH) \
6006         $(HOST_EXPORTS) \
6007         for flag in $(EXTRA_HOST_FLAGS) ; do \
6008           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6009         done; \
6010         echo "Doing TAGS in diff" ; \
6011         (cd diff && \
6012           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6013                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6014                   "RANLIB=$${RANLIB}" \
6015                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6016                   TAGS) \
6017           || exit 1
6018
6019 @endif diff
6020
6021 .PHONY: maybe-install-info-diff install-info-diff
6022 maybe-install-info-diff:
6023 @if diff
6024 maybe-install-info-diff: install-info-diff
6025
6026 install-info-diff: \
6027     configure-diff \
6028     info-diff 
6029         @[ -f ./diff/Makefile ] || exit 0; \
6030         r=`${PWD_COMMAND}`; export r; \
6031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6032         $(SET_LIB_PATH) \
6033         $(HOST_EXPORTS) \
6034         for flag in $(EXTRA_HOST_FLAGS) ; do \
6035           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6036         done; \
6037         echo "Doing install-info in diff" ; \
6038         (cd diff && \
6039           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6040                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6041                   "RANLIB=$${RANLIB}" \
6042                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6043                   install-info) \
6044           || exit 1
6045
6046 @endif diff
6047
6048 .PHONY: maybe-installcheck-diff installcheck-diff
6049 maybe-installcheck-diff:
6050 @if diff
6051 maybe-installcheck-diff: installcheck-diff
6052
6053 installcheck-diff: \
6054     configure-diff 
6055         @[ -f ./diff/Makefile ] || exit 0; \
6056         r=`${PWD_COMMAND}`; export r; \
6057         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6058         $(SET_LIB_PATH) \
6059         $(HOST_EXPORTS) \
6060         for flag in $(EXTRA_HOST_FLAGS) ; do \
6061           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6062         done; \
6063         echo "Doing installcheck in diff" ; \
6064         (cd diff && \
6065           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6066                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6067                   "RANLIB=$${RANLIB}" \
6068                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6069                   installcheck) \
6070           || exit 1
6071
6072 @endif diff
6073
6074 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6075 maybe-mostlyclean-diff:
6076 @if diff
6077 maybe-mostlyclean-diff: mostlyclean-diff
6078
6079 mostlyclean-diff: 
6080         @[ -f ./diff/Makefile ] || exit 0; \
6081         r=`${PWD_COMMAND}`; export r; \
6082         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083         $(SET_LIB_PATH) \
6084         $(HOST_EXPORTS) \
6085         for flag in $(EXTRA_HOST_FLAGS) ; do \
6086           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6087         done; \
6088         echo "Doing mostlyclean in diff" ; \
6089         (cd diff && \
6090           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6091                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6092                   "RANLIB=$${RANLIB}" \
6093                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6094                   mostlyclean) \
6095           || exit 1
6096
6097 @endif diff
6098
6099 .PHONY: maybe-clean-diff clean-diff
6100 maybe-clean-diff:
6101 @if diff
6102 maybe-clean-diff: clean-diff
6103
6104 clean-diff: 
6105         @[ -f ./diff/Makefile ] || exit 0; \
6106         r=`${PWD_COMMAND}`; export r; \
6107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6108         $(SET_LIB_PATH) \
6109         $(HOST_EXPORTS) \
6110         for flag in $(EXTRA_HOST_FLAGS) ; do \
6111           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6112         done; \
6113         echo "Doing clean in diff" ; \
6114         (cd diff && \
6115           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6116                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6117                   "RANLIB=$${RANLIB}" \
6118                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6119                   clean) \
6120           || exit 1
6121
6122 @endif diff
6123
6124 .PHONY: maybe-distclean-diff distclean-diff
6125 maybe-distclean-diff:
6126 @if diff
6127 maybe-distclean-diff: distclean-diff
6128
6129 distclean-diff: 
6130         @[ -f ./diff/Makefile ] || exit 0; \
6131         r=`${PWD_COMMAND}`; export r; \
6132         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6133         $(SET_LIB_PATH) \
6134         $(HOST_EXPORTS) \
6135         for flag in $(EXTRA_HOST_FLAGS) ; do \
6136           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6137         done; \
6138         echo "Doing distclean in diff" ; \
6139         (cd diff && \
6140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6142                   "RANLIB=$${RANLIB}" \
6143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6144                   distclean) \
6145           || exit 1
6146
6147 @endif diff
6148
6149 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6150 maybe-maintainer-clean-diff:
6151 @if diff
6152 maybe-maintainer-clean-diff: maintainer-clean-diff
6153
6154 maintainer-clean-diff: 
6155         @[ -f ./diff/Makefile ] || exit 0; \
6156         r=`${PWD_COMMAND}`; export r; \
6157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6158         $(SET_LIB_PATH) \
6159         $(HOST_EXPORTS) \
6160         for flag in $(EXTRA_HOST_FLAGS) ; do \
6161           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6162         done; \
6163         echo "Doing maintainer-clean in diff" ; \
6164         (cd diff && \
6165           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6166                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6167                   "RANLIB=$${RANLIB}" \
6168                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6169                   maintainer-clean) \
6170           || exit 1
6171
6172 @endif diff
6173
6174
6175 .PHONY: configure-dosutils maybe-configure-dosutils
6176 maybe-configure-dosutils:
6177 @if dosutils
6178 maybe-configure-dosutils: configure-dosutils
6179 configure-dosutils:
6180         @test ! -f dosutils/Makefile || exit 0; \
6181         [ -d dosutils ] || mkdir dosutils; \
6182         r=`${PWD_COMMAND}`; export r; \
6183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184         $(HOST_EXPORTS) \
6185         echo Configuring in dosutils; \
6186         cd dosutils || exit 1; \
6187         case $(srcdir) in \
6188           \.) \
6189             srcdiroption="--srcdir=."; \
6190             libsrcdir=".";; \
6191           /* | [A-Za-z]:[\\/]*) \
6192             srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6193             libsrcdir="$$s/dosutils";; \
6194           *) \
6195             srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6196             libsrcdir="$$s/dosutils";; \
6197         esac; \
6198         $(SHELL) $${libsrcdir}/configure \
6199           $(HOST_CONFIGARGS) $${srcdiroption}  \
6200           || exit 1
6201 @endif dosutils
6202
6203 .PHONY: all-dosutils maybe-all-dosutils
6204 maybe-all-dosutils:
6205 @if dosutils
6206 TARGET-dosutils=all
6207 maybe-all-dosutils: all-dosutils
6208 all-dosutils: configure-dosutils
6209         @r=`${PWD_COMMAND}`; export r; \
6210         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6211         $(SET_LIB_PATH) \
6212         $(HOST_EXPORTS) \
6213         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS)  \
6214           $(TARGET-dosutils))
6215 @endif dosutils
6216
6217 .PHONY: check-dosutils maybe-check-dosutils
6218 maybe-check-dosutils:
6219 @if dosutils
6220 maybe-check-dosutils: check-dosutils
6221
6222 check-dosutils:
6223
6224 @endif dosutils
6225
6226 .PHONY: install-dosutils maybe-install-dosutils
6227 maybe-install-dosutils:
6228 @if dosutils
6229 maybe-install-dosutils: install-dosutils
6230
6231 install-dosutils: installdirs
6232         @r=`${PWD_COMMAND}`; export r; \
6233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6234         $(SET_LIB_PATH) \
6235         $(HOST_EXPORTS) \
6236         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6237
6238 @endif dosutils
6239
6240 # Other targets (info, dvi, etc.)
6241
6242 .PHONY: maybe-info-dosutils info-dosutils
6243 maybe-info-dosutils:
6244 @if dosutils
6245 maybe-info-dosutils: info-dosutils
6246
6247 info-dosutils: \
6248     configure-dosutils 
6249         @[ -f ./dosutils/Makefile ] || exit 0; \
6250         r=`${PWD_COMMAND}`; export r; \
6251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6252         $(SET_LIB_PATH) \
6253         $(HOST_EXPORTS) \
6254         for flag in $(EXTRA_HOST_FLAGS) ; do \
6255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6256         done; \
6257         echo "Doing info in dosutils" ; \
6258         (cd dosutils && \
6259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6261                   "RANLIB=$${RANLIB}" \
6262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6263                   info) \
6264           || exit 1
6265
6266 @endif dosutils
6267
6268 .PHONY: maybe-dvi-dosutils dvi-dosutils
6269 maybe-dvi-dosutils:
6270 @if dosutils
6271 maybe-dvi-dosutils: dvi-dosutils
6272
6273 dvi-dosutils: \
6274     configure-dosutils 
6275         @[ -f ./dosutils/Makefile ] || exit 0; \
6276         r=`${PWD_COMMAND}`; export r; \
6277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278         $(SET_LIB_PATH) \
6279         $(HOST_EXPORTS) \
6280         for flag in $(EXTRA_HOST_FLAGS) ; do \
6281           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6282         done; \
6283         echo "Doing dvi in dosutils" ; \
6284         (cd dosutils && \
6285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6287                   "RANLIB=$${RANLIB}" \
6288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6289                   dvi) \
6290           || exit 1
6291
6292 @endif dosutils
6293
6294 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6295 maybe-TAGS-dosutils:
6296 @if dosutils
6297 maybe-TAGS-dosutils: TAGS-dosutils
6298
6299 TAGS-dosutils: \
6300     configure-dosutils 
6301         @[ -f ./dosutils/Makefile ] || exit 0; \
6302         r=`${PWD_COMMAND}`; export r; \
6303         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6304         $(SET_LIB_PATH) \
6305         $(HOST_EXPORTS) \
6306         for flag in $(EXTRA_HOST_FLAGS) ; do \
6307           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6308         done; \
6309         echo "Doing TAGS in dosutils" ; \
6310         (cd dosutils && \
6311           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6312                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6313                   "RANLIB=$${RANLIB}" \
6314                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6315                   TAGS) \
6316           || exit 1
6317
6318 @endif dosutils
6319
6320 .PHONY: maybe-install-info-dosutils install-info-dosutils
6321 maybe-install-info-dosutils:
6322 @if dosutils
6323 maybe-install-info-dosutils: install-info-dosutils
6324
6325 install-info-dosutils: \
6326     configure-dosutils \
6327     info-dosutils 
6328         @[ -f ./dosutils/Makefile ] || exit 0; \
6329         r=`${PWD_COMMAND}`; export r; \
6330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331         $(SET_LIB_PATH) \
6332         $(HOST_EXPORTS) \
6333         for flag in $(EXTRA_HOST_FLAGS) ; do \
6334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6335         done; \
6336         echo "Doing install-info in dosutils" ; \
6337         (cd dosutils && \
6338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6340                   "RANLIB=$${RANLIB}" \
6341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6342                   install-info) \
6343           || exit 1
6344
6345 @endif dosutils
6346
6347 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6348 maybe-installcheck-dosutils:
6349 @if dosutils
6350 maybe-installcheck-dosutils: installcheck-dosutils
6351
6352 installcheck-dosutils: \
6353     configure-dosutils 
6354         @[ -f ./dosutils/Makefile ] || exit 0; \
6355         r=`${PWD_COMMAND}`; export r; \
6356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6357         $(SET_LIB_PATH) \
6358         $(HOST_EXPORTS) \
6359         for flag in $(EXTRA_HOST_FLAGS) ; do \
6360           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6361         done; \
6362         echo "Doing installcheck in dosutils" ; \
6363         (cd dosutils && \
6364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6366                   "RANLIB=$${RANLIB}" \
6367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6368                   installcheck) \
6369           || exit 1
6370
6371 @endif dosutils
6372
6373 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6374 maybe-mostlyclean-dosutils:
6375 @if dosutils
6376 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6377
6378 mostlyclean-dosutils: 
6379         @[ -f ./dosutils/Makefile ] || exit 0; \
6380         r=`${PWD_COMMAND}`; export r; \
6381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6382         $(SET_LIB_PATH) \
6383         $(HOST_EXPORTS) \
6384         for flag in $(EXTRA_HOST_FLAGS) ; do \
6385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6386         done; \
6387         echo "Doing mostlyclean in dosutils" ; \
6388         (cd dosutils && \
6389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6391                   "RANLIB=$${RANLIB}" \
6392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6393                   mostlyclean) \
6394           || exit 1
6395
6396 @endif dosutils
6397
6398 .PHONY: maybe-clean-dosutils clean-dosutils
6399 maybe-clean-dosutils:
6400 @if dosutils
6401 maybe-clean-dosutils: clean-dosutils
6402
6403 clean-dosutils: 
6404         @[ -f ./dosutils/Makefile ] || exit 0; \
6405         r=`${PWD_COMMAND}`; export r; \
6406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6407         $(SET_LIB_PATH) \
6408         $(HOST_EXPORTS) \
6409         for flag in $(EXTRA_HOST_FLAGS) ; do \
6410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6411         done; \
6412         echo "Doing clean in dosutils" ; \
6413         (cd dosutils && \
6414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6416                   "RANLIB=$${RANLIB}" \
6417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6418                   clean) \
6419           || exit 1
6420
6421 @endif dosutils
6422
6423 .PHONY: maybe-distclean-dosutils distclean-dosutils
6424 maybe-distclean-dosutils:
6425 @if dosutils
6426 maybe-distclean-dosutils: distclean-dosutils
6427
6428 distclean-dosutils: 
6429         @[ -f ./dosutils/Makefile ] || exit 0; \
6430         r=`${PWD_COMMAND}`; export r; \
6431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6432         $(SET_LIB_PATH) \
6433         $(HOST_EXPORTS) \
6434         for flag in $(EXTRA_HOST_FLAGS) ; do \
6435           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6436         done; \
6437         echo "Doing distclean in dosutils" ; \
6438         (cd dosutils && \
6439           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6440                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6441                   "RANLIB=$${RANLIB}" \
6442                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6443                   distclean) \
6444           || exit 1
6445
6446 @endif dosutils
6447
6448 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6449 maybe-maintainer-clean-dosutils:
6450 @if dosutils
6451 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6452
6453 maintainer-clean-dosutils: 
6454         @[ -f ./dosutils/Makefile ] || exit 0; \
6455         r=`${PWD_COMMAND}`; export r; \
6456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6457         $(SET_LIB_PATH) \
6458         $(HOST_EXPORTS) \
6459         for flag in $(EXTRA_HOST_FLAGS) ; do \
6460           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6461         done; \
6462         echo "Doing maintainer-clean in dosutils" ; \
6463         (cd dosutils && \
6464           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6465                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6466                   "RANLIB=$${RANLIB}" \
6467                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6468                   maintainer-clean) \
6469           || exit 1
6470
6471 @endif dosutils
6472
6473
6474 .PHONY: configure-etc maybe-configure-etc
6475 maybe-configure-etc:
6476 @if etc
6477 maybe-configure-etc: configure-etc
6478 configure-etc:
6479         @test ! -f etc/Makefile || exit 0; \
6480         [ -d etc ] || mkdir etc; \
6481         r=`${PWD_COMMAND}`; export r; \
6482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6483         $(HOST_EXPORTS) \
6484         echo Configuring in etc; \
6485         cd etc || exit 1; \
6486         case $(srcdir) in \
6487           \.) \
6488             srcdiroption="--srcdir=."; \
6489             libsrcdir=".";; \
6490           /* | [A-Za-z]:[\\/]*) \
6491             srcdiroption="--srcdir=$(srcdir)/etc"; \
6492             libsrcdir="$$s/etc";; \
6493           *) \
6494             srcdiroption="--srcdir=../$(srcdir)/etc"; \
6495             libsrcdir="$$s/etc";; \
6496         esac; \
6497         $(SHELL) $${libsrcdir}/configure \
6498           $(HOST_CONFIGARGS) $${srcdiroption}  \
6499           || exit 1
6500 @endif etc
6501
6502 .PHONY: all-etc maybe-all-etc
6503 maybe-all-etc:
6504 @if etc
6505 TARGET-etc=all
6506 maybe-all-etc: all-etc
6507 all-etc: configure-etc
6508         @r=`${PWD_COMMAND}`; export r; \
6509         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6510         $(SET_LIB_PATH) \
6511         $(HOST_EXPORTS) \
6512         (cd etc && $(MAKE) $(FLAGS_TO_PASS)  \
6513           $(TARGET-etc))
6514 @endif etc
6515
6516 .PHONY: check-etc maybe-check-etc
6517 maybe-check-etc:
6518 @if etc
6519 maybe-check-etc: check-etc
6520
6521 check-etc:
6522         @r=`${PWD_COMMAND}`; export r; \
6523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524         $(SET_LIB_PATH) \
6525         $(HOST_EXPORTS) \
6526         (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6527
6528 @endif etc
6529
6530 .PHONY: install-etc maybe-install-etc
6531 maybe-install-etc:
6532 @if etc
6533 maybe-install-etc: install-etc
6534
6535 install-etc: installdirs
6536         @r=`${PWD_COMMAND}`; export r; \
6537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6538         $(SET_LIB_PATH) \
6539         $(HOST_EXPORTS) \
6540         (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6541
6542 @endif etc
6543
6544 # Other targets (info, dvi, etc.)
6545
6546 .PHONY: maybe-info-etc info-etc
6547 maybe-info-etc:
6548 @if etc
6549 maybe-info-etc: info-etc
6550
6551 info-etc: \
6552     configure-etc 
6553         @[ -f ./etc/Makefile ] || exit 0; \
6554         r=`${PWD_COMMAND}`; export r; \
6555         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6556         $(SET_LIB_PATH) \
6557         $(HOST_EXPORTS) \
6558         for flag in $(EXTRA_HOST_FLAGS) ; do \
6559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6560         done; \
6561         echo "Doing info in etc" ; \
6562         (cd etc && \
6563           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6564                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6565                   "RANLIB=$${RANLIB}" \
6566                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6567                   info) \
6568           || exit 1
6569
6570 @endif etc
6571
6572 .PHONY: maybe-dvi-etc dvi-etc
6573 maybe-dvi-etc:
6574 @if etc
6575 maybe-dvi-etc: dvi-etc
6576
6577 dvi-etc: \
6578     configure-etc 
6579         @[ -f ./etc/Makefile ] || exit 0; \
6580         r=`${PWD_COMMAND}`; export r; \
6581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582         $(SET_LIB_PATH) \
6583         $(HOST_EXPORTS) \
6584         for flag in $(EXTRA_HOST_FLAGS) ; do \
6585           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586         done; \
6587         echo "Doing dvi in etc" ; \
6588         (cd etc && \
6589           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591                   "RANLIB=$${RANLIB}" \
6592                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6593                   dvi) \
6594           || exit 1
6595
6596 @endif etc
6597
6598 .PHONY: maybe-TAGS-etc TAGS-etc
6599 maybe-TAGS-etc:
6600 @if etc
6601 maybe-TAGS-etc: TAGS-etc
6602
6603 TAGS-etc: \
6604     configure-etc 
6605         @[ -f ./etc/Makefile ] || exit 0; \
6606         r=`${PWD_COMMAND}`; export r; \
6607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608         $(SET_LIB_PATH) \
6609         $(HOST_EXPORTS) \
6610         for flag in $(EXTRA_HOST_FLAGS) ; do \
6611           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6612         done; \
6613         echo "Doing TAGS in etc" ; \
6614         (cd etc && \
6615           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6616                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6617                   "RANLIB=$${RANLIB}" \
6618                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6619                   TAGS) \
6620           || exit 1
6621
6622 @endif etc
6623
6624 .PHONY: maybe-install-info-etc install-info-etc
6625 maybe-install-info-etc:
6626 @if etc
6627 maybe-install-info-etc: install-info-etc
6628
6629 install-info-etc: \
6630     configure-etc \
6631     info-etc 
6632         @[ -f ./etc/Makefile ] || exit 0; \
6633         r=`${PWD_COMMAND}`; export r; \
6634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635         $(SET_LIB_PATH) \
6636         $(HOST_EXPORTS) \
6637         for flag in $(EXTRA_HOST_FLAGS) ; do \
6638           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639         done; \
6640         echo "Doing install-info in etc" ; \
6641         (cd etc && \
6642           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644                   "RANLIB=$${RANLIB}" \
6645                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6646                   install-info) \
6647           || exit 1
6648
6649 @endif etc
6650
6651 .PHONY: maybe-installcheck-etc installcheck-etc
6652 maybe-installcheck-etc:
6653 @if etc
6654 maybe-installcheck-etc: installcheck-etc
6655
6656 installcheck-etc: \
6657     configure-etc 
6658         @[ -f ./etc/Makefile ] || exit 0; \
6659         r=`${PWD_COMMAND}`; export r; \
6660         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6661         $(SET_LIB_PATH) \
6662         $(HOST_EXPORTS) \
6663         for flag in $(EXTRA_HOST_FLAGS) ; do \
6664           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6665         done; \
6666         echo "Doing installcheck in etc" ; \
6667         (cd etc && \
6668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6670                   "RANLIB=$${RANLIB}" \
6671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6672                   installcheck) \
6673           || exit 1
6674
6675 @endif etc
6676
6677 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6678 maybe-mostlyclean-etc:
6679 @if etc
6680 maybe-mostlyclean-etc: mostlyclean-etc
6681
6682 mostlyclean-etc: 
6683         @[ -f ./etc/Makefile ] || exit 0; \
6684         r=`${PWD_COMMAND}`; export r; \
6685         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686         $(SET_LIB_PATH) \
6687         $(HOST_EXPORTS) \
6688         for flag in $(EXTRA_HOST_FLAGS) ; do \
6689           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6690         done; \
6691         echo "Doing mostlyclean in etc" ; \
6692         (cd etc && \
6693           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6694                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6695                   "RANLIB=$${RANLIB}" \
6696                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6697                   mostlyclean) \
6698           || exit 1
6699
6700 @endif etc
6701
6702 .PHONY: maybe-clean-etc clean-etc
6703 maybe-clean-etc:
6704 @if etc
6705 maybe-clean-etc: clean-etc
6706
6707 clean-etc: 
6708         @[ -f ./etc/Makefile ] || exit 0; \
6709         r=`${PWD_COMMAND}`; export r; \
6710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711         $(SET_LIB_PATH) \
6712         $(HOST_EXPORTS) \
6713         for flag in $(EXTRA_HOST_FLAGS) ; do \
6714           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6715         done; \
6716         echo "Doing clean in etc" ; \
6717         (cd etc && \
6718           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6719                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6720                   "RANLIB=$${RANLIB}" \
6721                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6722                   clean) \
6723           || exit 1
6724
6725 @endif etc
6726
6727 .PHONY: maybe-distclean-etc distclean-etc
6728 maybe-distclean-etc:
6729 @if etc
6730 maybe-distclean-etc: distclean-etc
6731
6732 distclean-etc: 
6733         @[ -f ./etc/Makefile ] || exit 0; \
6734         r=`${PWD_COMMAND}`; export r; \
6735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6736         $(SET_LIB_PATH) \
6737         $(HOST_EXPORTS) \
6738         for flag in $(EXTRA_HOST_FLAGS) ; do \
6739           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6740         done; \
6741         echo "Doing distclean in etc" ; \
6742         (cd etc && \
6743           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6744                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6745                   "RANLIB=$${RANLIB}" \
6746                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6747                   distclean) \
6748           || exit 1
6749
6750 @endif etc
6751
6752 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6753 maybe-maintainer-clean-etc:
6754 @if etc
6755 maybe-maintainer-clean-etc: maintainer-clean-etc
6756
6757 maintainer-clean-etc: 
6758         @[ -f ./etc/Makefile ] || exit 0; \
6759         r=`${PWD_COMMAND}`; export r; \
6760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6761         $(SET_LIB_PATH) \
6762         $(HOST_EXPORTS) \
6763         for flag in $(EXTRA_HOST_FLAGS) ; do \
6764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6765         done; \
6766         echo "Doing maintainer-clean in etc" ; \
6767         (cd etc && \
6768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6770                   "RANLIB=$${RANLIB}" \
6771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6772                   maintainer-clean) \
6773           || exit 1
6774
6775 @endif etc
6776
6777
6778 .PHONY: configure-fastjar maybe-configure-fastjar
6779 maybe-configure-fastjar:
6780 @if fastjar
6781 maybe-configure-fastjar: configure-fastjar
6782 configure-fastjar:
6783         @test ! -f fastjar/Makefile || exit 0; \
6784         [ -d fastjar ] || mkdir fastjar; \
6785         r=`${PWD_COMMAND}`; export r; \
6786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6787         $(HOST_EXPORTS) \
6788         echo Configuring in fastjar; \
6789         cd fastjar || exit 1; \
6790         case $(srcdir) in \
6791           \.) \
6792             srcdiroption="--srcdir=."; \
6793             libsrcdir=".";; \
6794           /* | [A-Za-z]:[\\/]*) \
6795             srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6796             libsrcdir="$$s/fastjar";; \
6797           *) \
6798             srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6799             libsrcdir="$$s/fastjar";; \
6800         esac; \
6801         $(SHELL) $${libsrcdir}/configure \
6802           $(HOST_CONFIGARGS) $${srcdiroption}  \
6803           || exit 1
6804 @endif fastjar
6805
6806 .PHONY: all-fastjar maybe-all-fastjar
6807 maybe-all-fastjar:
6808 @if fastjar
6809 TARGET-fastjar=all
6810 maybe-all-fastjar: all-fastjar
6811 all-fastjar: configure-fastjar
6812         @r=`${PWD_COMMAND}`; export r; \
6813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6814         $(SET_LIB_PATH) \
6815         $(HOST_EXPORTS) \
6816         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS)  \
6817           $(TARGET-fastjar))
6818 @endif fastjar
6819
6820 .PHONY: check-fastjar maybe-check-fastjar
6821 maybe-check-fastjar:
6822 @if fastjar
6823 maybe-check-fastjar: check-fastjar
6824
6825 # This module is only tested in a native toolchain.
6826 check-fastjar:
6827         @if [ '$(host)' = '$(target)' ] ; then \
6828           r=`${PWD_COMMAND}`; export r; \
6829           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6830           $(SET_LIB_PATH) \
6831           $(HOST_EXPORTS) \
6832           (cd fastjar && $(MAKE) $(FLAGS_TO_PASS)  check); \
6833         fi
6834
6835 @endif fastjar
6836
6837 .PHONY: install-fastjar maybe-install-fastjar
6838 maybe-install-fastjar:
6839 @if fastjar
6840 maybe-install-fastjar: install-fastjar
6841
6842 install-fastjar: installdirs
6843         @r=`${PWD_COMMAND}`; export r; \
6844         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6845         $(SET_LIB_PATH) \
6846         $(HOST_EXPORTS) \
6847         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6848
6849 @endif fastjar
6850
6851 # Other targets (info, dvi, etc.)
6852
6853 .PHONY: maybe-info-fastjar info-fastjar
6854 maybe-info-fastjar:
6855 @if fastjar
6856 maybe-info-fastjar: info-fastjar
6857
6858 info-fastjar: \
6859     configure-fastjar 
6860         @[ -f ./fastjar/Makefile ] || exit 0; \
6861         r=`${PWD_COMMAND}`; export r; \
6862         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6863         $(SET_LIB_PATH) \
6864         $(HOST_EXPORTS) \
6865         for flag in $(EXTRA_HOST_FLAGS) ; do \
6866           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6867         done; \
6868         echo "Doing info in fastjar" ; \
6869         (cd fastjar && \
6870           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6871                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6872                   "RANLIB=$${RANLIB}" \
6873                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6874                   info) \
6875           || exit 1
6876
6877 @endif fastjar
6878
6879 .PHONY: maybe-dvi-fastjar dvi-fastjar
6880 maybe-dvi-fastjar:
6881 @if fastjar
6882 maybe-dvi-fastjar: dvi-fastjar
6883
6884 dvi-fastjar: \
6885     configure-fastjar 
6886         @[ -f ./fastjar/Makefile ] || exit 0; \
6887         r=`${PWD_COMMAND}`; export r; \
6888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6889         $(SET_LIB_PATH) \
6890         $(HOST_EXPORTS) \
6891         for flag in $(EXTRA_HOST_FLAGS) ; do \
6892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6893         done; \
6894         echo "Doing dvi in fastjar" ; \
6895         (cd fastjar && \
6896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6898                   "RANLIB=$${RANLIB}" \
6899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6900                   dvi) \
6901           || exit 1
6902
6903 @endif fastjar
6904
6905 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6906 maybe-TAGS-fastjar:
6907 @if fastjar
6908 maybe-TAGS-fastjar: TAGS-fastjar
6909
6910 TAGS-fastjar: \
6911     configure-fastjar 
6912         @[ -f ./fastjar/Makefile ] || exit 0; \
6913         r=`${PWD_COMMAND}`; export r; \
6914         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6915         $(SET_LIB_PATH) \
6916         $(HOST_EXPORTS) \
6917         for flag in $(EXTRA_HOST_FLAGS) ; do \
6918           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6919         done; \
6920         echo "Doing TAGS in fastjar" ; \
6921         (cd fastjar && \
6922           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6923                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6924                   "RANLIB=$${RANLIB}" \
6925                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6926                   TAGS) \
6927           || exit 1
6928
6929 @endif fastjar
6930
6931 .PHONY: maybe-install-info-fastjar install-info-fastjar
6932 maybe-install-info-fastjar:
6933 @if fastjar
6934 maybe-install-info-fastjar: install-info-fastjar
6935
6936 install-info-fastjar: \
6937     configure-fastjar \
6938     info-fastjar 
6939         @[ -f ./fastjar/Makefile ] || exit 0; \
6940         r=`${PWD_COMMAND}`; export r; \
6941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6942         $(SET_LIB_PATH) \
6943         $(HOST_EXPORTS) \
6944         for flag in $(EXTRA_HOST_FLAGS) ; do \
6945           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6946         done; \
6947         echo "Doing install-info in fastjar" ; \
6948         (cd fastjar && \
6949           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6950                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6951                   "RANLIB=$${RANLIB}" \
6952                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6953                   install-info) \
6954           || exit 1
6955
6956 @endif fastjar
6957
6958 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6959 maybe-installcheck-fastjar:
6960 @if fastjar
6961 maybe-installcheck-fastjar: installcheck-fastjar
6962
6963 installcheck-fastjar: \
6964     configure-fastjar 
6965         @[ -f ./fastjar/Makefile ] || exit 0; \
6966         r=`${PWD_COMMAND}`; export r; \
6967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6968         $(SET_LIB_PATH) \
6969         $(HOST_EXPORTS) \
6970         for flag in $(EXTRA_HOST_FLAGS) ; do \
6971           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6972         done; \
6973         echo "Doing installcheck in fastjar" ; \
6974         (cd fastjar && \
6975           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6976                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6977                   "RANLIB=$${RANLIB}" \
6978                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6979                   installcheck) \
6980           || exit 1
6981
6982 @endif fastjar
6983
6984 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6985 maybe-mostlyclean-fastjar:
6986 @if fastjar
6987 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6988
6989 mostlyclean-fastjar: 
6990         @[ -f ./fastjar/Makefile ] || exit 0; \
6991         r=`${PWD_COMMAND}`; export r; \
6992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6993         $(SET_LIB_PATH) \
6994         $(HOST_EXPORTS) \
6995         for flag in $(EXTRA_HOST_FLAGS) ; do \
6996           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6997         done; \
6998         echo "Doing mostlyclean in fastjar" ; \
6999         (cd fastjar && \
7000           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7001                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7002                   "RANLIB=$${RANLIB}" \
7003                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7004                   mostlyclean) \
7005           || exit 1
7006
7007 @endif fastjar
7008
7009 .PHONY: maybe-clean-fastjar clean-fastjar
7010 maybe-clean-fastjar:
7011 @if fastjar
7012 maybe-clean-fastjar: clean-fastjar
7013
7014 clean-fastjar: 
7015         @[ -f ./fastjar/Makefile ] || exit 0; \
7016         r=`${PWD_COMMAND}`; export r; \
7017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7018         $(SET_LIB_PATH) \
7019         $(HOST_EXPORTS) \
7020         for flag in $(EXTRA_HOST_FLAGS) ; do \
7021           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7022         done; \
7023         echo "Doing clean in fastjar" ; \
7024         (cd fastjar && \
7025           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7026                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7027                   "RANLIB=$${RANLIB}" \
7028                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7029                   clean) \
7030           || exit 1
7031
7032 @endif fastjar
7033
7034 .PHONY: maybe-distclean-fastjar distclean-fastjar
7035 maybe-distclean-fastjar:
7036 @if fastjar
7037 maybe-distclean-fastjar: distclean-fastjar
7038
7039 distclean-fastjar: 
7040         @[ -f ./fastjar/Makefile ] || exit 0; \
7041         r=`${PWD_COMMAND}`; export r; \
7042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7043         $(SET_LIB_PATH) \
7044         $(HOST_EXPORTS) \
7045         for flag in $(EXTRA_HOST_FLAGS) ; do \
7046           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7047         done; \
7048         echo "Doing distclean in fastjar" ; \
7049         (cd fastjar && \
7050           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7051                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7052                   "RANLIB=$${RANLIB}" \
7053                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7054                   distclean) \
7055           || exit 1
7056
7057 @endif fastjar
7058
7059 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7060 maybe-maintainer-clean-fastjar:
7061 @if fastjar
7062 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7063
7064 maintainer-clean-fastjar: 
7065         @[ -f ./fastjar/Makefile ] || exit 0; \
7066         r=`${PWD_COMMAND}`; export r; \
7067         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7068         $(SET_LIB_PATH) \
7069         $(HOST_EXPORTS) \
7070         for flag in $(EXTRA_HOST_FLAGS) ; do \
7071           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7072         done; \
7073         echo "Doing maintainer-clean in fastjar" ; \
7074         (cd fastjar && \
7075           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7076                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7077                   "RANLIB=$${RANLIB}" \
7078                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7079                   maintainer-clean) \
7080           || exit 1
7081
7082 @endif fastjar
7083
7084
7085 .PHONY: configure-fileutils maybe-configure-fileutils
7086 maybe-configure-fileutils:
7087 @if fileutils
7088 maybe-configure-fileutils: configure-fileutils
7089 configure-fileutils:
7090         @test ! -f fileutils/Makefile || exit 0; \
7091         [ -d fileutils ] || mkdir fileutils; \
7092         r=`${PWD_COMMAND}`; export r; \
7093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7094         $(HOST_EXPORTS) \
7095         echo Configuring in fileutils; \
7096         cd fileutils || exit 1; \
7097         case $(srcdir) in \
7098           \.) \
7099             srcdiroption="--srcdir=."; \
7100             libsrcdir=".";; \
7101           /* | [A-Za-z]:[\\/]*) \
7102             srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7103             libsrcdir="$$s/fileutils";; \
7104           *) \
7105             srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7106             libsrcdir="$$s/fileutils";; \
7107         esac; \
7108         $(SHELL) $${libsrcdir}/configure \
7109           $(HOST_CONFIGARGS) $${srcdiroption}  \
7110           || exit 1
7111 @endif fileutils
7112
7113 .PHONY: all-fileutils maybe-all-fileutils
7114 maybe-all-fileutils:
7115 @if fileutils
7116 TARGET-fileutils=all
7117 maybe-all-fileutils: all-fileutils
7118 all-fileutils: configure-fileutils
7119         @r=`${PWD_COMMAND}`; export r; \
7120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7121         $(SET_LIB_PATH) \
7122         $(HOST_EXPORTS) \
7123         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS)  \
7124           $(TARGET-fileutils))
7125 @endif fileutils
7126
7127 .PHONY: check-fileutils maybe-check-fileutils
7128 maybe-check-fileutils:
7129 @if fileutils
7130 maybe-check-fileutils: check-fileutils
7131
7132 check-fileutils:
7133         @r=`${PWD_COMMAND}`; export r; \
7134         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135         $(SET_LIB_PATH) \
7136         $(HOST_EXPORTS) \
7137         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7138
7139 @endif fileutils
7140
7141 .PHONY: install-fileutils maybe-install-fileutils
7142 maybe-install-fileutils:
7143 @if fileutils
7144 maybe-install-fileutils: install-fileutils
7145
7146 install-fileutils: installdirs
7147         @r=`${PWD_COMMAND}`; export r; \
7148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7149         $(SET_LIB_PATH) \
7150         $(HOST_EXPORTS) \
7151         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7152
7153 @endif fileutils
7154
7155 # Other targets (info, dvi, etc.)
7156
7157 .PHONY: maybe-info-fileutils info-fileutils
7158 maybe-info-fileutils:
7159 @if fileutils
7160 maybe-info-fileutils: info-fileutils
7161
7162 info-fileutils: \
7163     configure-fileutils 
7164         @[ -f ./fileutils/Makefile ] || exit 0; \
7165         r=`${PWD_COMMAND}`; export r; \
7166         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7167         $(SET_LIB_PATH) \
7168         $(HOST_EXPORTS) \
7169         for flag in $(EXTRA_HOST_FLAGS) ; do \
7170           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7171         done; \
7172         echo "Doing info in fileutils" ; \
7173         (cd fileutils && \
7174           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7175                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7176                   "RANLIB=$${RANLIB}" \
7177                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7178                   info) \
7179           || exit 1
7180
7181 @endif fileutils
7182
7183 .PHONY: maybe-dvi-fileutils dvi-fileutils
7184 maybe-dvi-fileutils:
7185 @if fileutils
7186 maybe-dvi-fileutils: dvi-fileutils
7187
7188 dvi-fileutils: \
7189     configure-fileutils 
7190         @[ -f ./fileutils/Makefile ] || exit 0; \
7191         r=`${PWD_COMMAND}`; export r; \
7192         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7193         $(SET_LIB_PATH) \
7194         $(HOST_EXPORTS) \
7195         for flag in $(EXTRA_HOST_FLAGS) ; do \
7196           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7197         done; \
7198         echo "Doing dvi in fileutils" ; \
7199         (cd fileutils && \
7200           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7201                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7202                   "RANLIB=$${RANLIB}" \
7203                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7204                   dvi) \
7205           || exit 1
7206
7207 @endif fileutils
7208
7209 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7210 maybe-TAGS-fileutils:
7211 @if fileutils
7212 maybe-TAGS-fileutils: TAGS-fileutils
7213
7214 TAGS-fileutils: \
7215     configure-fileutils 
7216         @[ -f ./fileutils/Makefile ] || exit 0; \
7217         r=`${PWD_COMMAND}`; export r; \
7218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7219         $(SET_LIB_PATH) \
7220         $(HOST_EXPORTS) \
7221         for flag in $(EXTRA_HOST_FLAGS) ; do \
7222           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7223         done; \
7224         echo "Doing TAGS in fileutils" ; \
7225         (cd fileutils && \
7226           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7227                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7228                   "RANLIB=$${RANLIB}" \
7229                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7230                   TAGS) \
7231           || exit 1
7232
7233 @endif fileutils
7234
7235 .PHONY: maybe-install-info-fileutils install-info-fileutils
7236 maybe-install-info-fileutils:
7237 @if fileutils
7238 maybe-install-info-fileutils: install-info-fileutils
7239
7240 install-info-fileutils: \
7241     configure-fileutils \
7242     info-fileutils 
7243         @[ -f ./fileutils/Makefile ] || exit 0; \
7244         r=`${PWD_COMMAND}`; export r; \
7245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7246         $(SET_LIB_PATH) \
7247         $(HOST_EXPORTS) \
7248         for flag in $(EXTRA_HOST_FLAGS) ; do \
7249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7250         done; \
7251         echo "Doing install-info in fileutils" ; \
7252         (cd fileutils && \
7253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7255                   "RANLIB=$${RANLIB}" \
7256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7257                   install-info) \
7258           || exit 1
7259
7260 @endif fileutils
7261
7262 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7263 maybe-installcheck-fileutils:
7264 @if fileutils
7265 maybe-installcheck-fileutils: installcheck-fileutils
7266
7267 installcheck-fileutils: \
7268     configure-fileutils 
7269         @[ -f ./fileutils/Makefile ] || exit 0; \
7270         r=`${PWD_COMMAND}`; export r; \
7271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7272         $(SET_LIB_PATH) \
7273         $(HOST_EXPORTS) \
7274         for flag in $(EXTRA_HOST_FLAGS) ; do \
7275           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7276         done; \
7277         echo "Doing installcheck in fileutils" ; \
7278         (cd fileutils && \
7279           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7280                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7281                   "RANLIB=$${RANLIB}" \
7282                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7283                   installcheck) \
7284           || exit 1
7285
7286 @endif fileutils
7287
7288 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7289 maybe-mostlyclean-fileutils:
7290 @if fileutils
7291 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7292
7293 mostlyclean-fileutils: 
7294         @[ -f ./fileutils/Makefile ] || exit 0; \
7295         r=`${PWD_COMMAND}`; export r; \
7296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7297         $(SET_LIB_PATH) \
7298         $(HOST_EXPORTS) \
7299         for flag in $(EXTRA_HOST_FLAGS) ; do \
7300           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7301         done; \
7302         echo "Doing mostlyclean in fileutils" ; \
7303         (cd fileutils && \
7304           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7305                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7306                   "RANLIB=$${RANLIB}" \
7307                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7308                   mostlyclean) \
7309           || exit 1
7310
7311 @endif fileutils
7312
7313 .PHONY: maybe-clean-fileutils clean-fileutils
7314 maybe-clean-fileutils:
7315 @if fileutils
7316 maybe-clean-fileutils: clean-fileutils
7317
7318 clean-fileutils: 
7319         @[ -f ./fileutils/Makefile ] || exit 0; \
7320         r=`${PWD_COMMAND}`; export r; \
7321         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7322         $(SET_LIB_PATH) \
7323         $(HOST_EXPORTS) \
7324         for flag in $(EXTRA_HOST_FLAGS) ; do \
7325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7326         done; \
7327         echo "Doing clean in fileutils" ; \
7328         (cd fileutils && \
7329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7331                   "RANLIB=$${RANLIB}" \
7332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7333                   clean) \
7334           || exit 1
7335
7336 @endif fileutils
7337
7338 .PHONY: maybe-distclean-fileutils distclean-fileutils
7339 maybe-distclean-fileutils:
7340 @if fileutils
7341 maybe-distclean-fileutils: distclean-fileutils
7342
7343 distclean-fileutils: 
7344         @[ -f ./fileutils/Makefile ] || exit 0; \
7345         r=`${PWD_COMMAND}`; export r; \
7346         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7347         $(SET_LIB_PATH) \
7348         $(HOST_EXPORTS) \
7349         for flag in $(EXTRA_HOST_FLAGS) ; do \
7350           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7351         done; \
7352         echo "Doing distclean in fileutils" ; \
7353         (cd fileutils && \
7354           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7355                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7356                   "RANLIB=$${RANLIB}" \
7357                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7358                   distclean) \
7359           || exit 1
7360
7361 @endif fileutils
7362
7363 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7364 maybe-maintainer-clean-fileutils:
7365 @if fileutils
7366 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7367
7368 maintainer-clean-fileutils: 
7369         @[ -f ./fileutils/Makefile ] || exit 0; \
7370         r=`${PWD_COMMAND}`; export r; \
7371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7372         $(SET_LIB_PATH) \
7373         $(HOST_EXPORTS) \
7374         for flag in $(EXTRA_HOST_FLAGS) ; do \
7375           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7376         done; \
7377         echo "Doing maintainer-clean in fileutils" ; \
7378         (cd fileutils && \
7379           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7380                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7381                   "RANLIB=$${RANLIB}" \
7382                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7383                   maintainer-clean) \
7384           || exit 1
7385
7386 @endif fileutils
7387
7388
7389 .PHONY: configure-findutils maybe-configure-findutils
7390 maybe-configure-findutils:
7391 @if findutils
7392 maybe-configure-findutils: configure-findutils
7393 configure-findutils:
7394         @test ! -f findutils/Makefile || exit 0; \
7395         [ -d findutils ] || mkdir findutils; \
7396         r=`${PWD_COMMAND}`; export r; \
7397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7398         $(HOST_EXPORTS) \
7399         echo Configuring in findutils; \
7400         cd findutils || exit 1; \
7401         case $(srcdir) in \
7402           \.) \
7403             srcdiroption="--srcdir=."; \
7404             libsrcdir=".";; \
7405           /* | [A-Za-z]:[\\/]*) \
7406             srcdiroption="--srcdir=$(srcdir)/findutils"; \
7407             libsrcdir="$$s/findutils";; \
7408           *) \
7409             srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7410             libsrcdir="$$s/findutils";; \
7411         esac; \
7412         $(SHELL) $${libsrcdir}/configure \
7413           $(HOST_CONFIGARGS) $${srcdiroption}  \
7414           || exit 1
7415 @endif findutils
7416
7417 .PHONY: all-findutils maybe-all-findutils
7418 maybe-all-findutils:
7419 @if findutils
7420 TARGET-findutils=all
7421 maybe-all-findutils: all-findutils
7422 all-findutils: configure-findutils
7423         @r=`${PWD_COMMAND}`; export r; \
7424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7425         $(SET_LIB_PATH) \
7426         $(HOST_EXPORTS) \
7427         (cd findutils && $(MAKE) $(FLAGS_TO_PASS)  \
7428           $(TARGET-findutils))
7429 @endif findutils
7430
7431 .PHONY: check-findutils maybe-check-findutils
7432 maybe-check-findutils:
7433 @if findutils
7434 maybe-check-findutils: check-findutils
7435
7436 check-findutils:
7437         @r=`${PWD_COMMAND}`; export r; \
7438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7439         $(SET_LIB_PATH) \
7440         $(HOST_EXPORTS) \
7441         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7442
7443 @endif findutils
7444
7445 .PHONY: install-findutils maybe-install-findutils
7446 maybe-install-findutils:
7447 @if findutils
7448 maybe-install-findutils: install-findutils
7449
7450 install-findutils: installdirs
7451         @r=`${PWD_COMMAND}`; export r; \
7452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7453         $(SET_LIB_PATH) \
7454         $(HOST_EXPORTS) \
7455         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7456
7457 @endif findutils
7458
7459 # Other targets (info, dvi, etc.)
7460
7461 .PHONY: maybe-info-findutils info-findutils
7462 maybe-info-findutils:
7463 @if findutils
7464 maybe-info-findutils: info-findutils
7465
7466 info-findutils: \
7467     configure-findutils 
7468         @[ -f ./findutils/Makefile ] || exit 0; \
7469         r=`${PWD_COMMAND}`; export r; \
7470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7471         $(SET_LIB_PATH) \
7472         $(HOST_EXPORTS) \
7473         for flag in $(EXTRA_HOST_FLAGS) ; do \
7474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7475         done; \
7476         echo "Doing info in findutils" ; \
7477         (cd findutils && \
7478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7480                   "RANLIB=$${RANLIB}" \
7481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7482                   info) \
7483           || exit 1
7484
7485 @endif findutils
7486
7487 .PHONY: maybe-dvi-findutils dvi-findutils
7488 maybe-dvi-findutils:
7489 @if findutils
7490 maybe-dvi-findutils: dvi-findutils
7491
7492 dvi-findutils: \
7493     configure-findutils 
7494         @[ -f ./findutils/Makefile ] || exit 0; \
7495         r=`${PWD_COMMAND}`; export r; \
7496         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7497         $(SET_LIB_PATH) \
7498         $(HOST_EXPORTS) \
7499         for flag in $(EXTRA_HOST_FLAGS) ; do \
7500           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7501         done; \
7502         echo "Doing dvi in findutils" ; \
7503         (cd findutils && \
7504           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7505                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7506                   "RANLIB=$${RANLIB}" \
7507                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7508                   dvi) \
7509           || exit 1
7510
7511 @endif findutils
7512
7513 .PHONY: maybe-TAGS-findutils TAGS-findutils
7514 maybe-TAGS-findutils:
7515 @if findutils
7516 maybe-TAGS-findutils: TAGS-findutils
7517
7518 TAGS-findutils: \
7519     configure-findutils 
7520         @[ -f ./findutils/Makefile ] || exit 0; \
7521         r=`${PWD_COMMAND}`; export r; \
7522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7523         $(SET_LIB_PATH) \
7524         $(HOST_EXPORTS) \
7525         for flag in $(EXTRA_HOST_FLAGS) ; do \
7526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7527         done; \
7528         echo "Doing TAGS in findutils" ; \
7529         (cd findutils && \
7530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7532                   "RANLIB=$${RANLIB}" \
7533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7534                   TAGS) \
7535           || exit 1
7536
7537 @endif findutils
7538
7539 .PHONY: maybe-install-info-findutils install-info-findutils
7540 maybe-install-info-findutils:
7541 @if findutils
7542 maybe-install-info-findutils: install-info-findutils
7543
7544 install-info-findutils: \
7545     configure-findutils \
7546     info-findutils 
7547         @[ -f ./findutils/Makefile ] || exit 0; \
7548         r=`${PWD_COMMAND}`; export r; \
7549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7550         $(SET_LIB_PATH) \
7551         $(HOST_EXPORTS) \
7552         for flag in $(EXTRA_HOST_FLAGS) ; do \
7553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7554         done; \
7555         echo "Doing install-info in findutils" ; \
7556         (cd findutils && \
7557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7559                   "RANLIB=$${RANLIB}" \
7560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7561                   install-info) \
7562           || exit 1
7563
7564 @endif findutils
7565
7566 .PHONY: maybe-installcheck-findutils installcheck-findutils
7567 maybe-installcheck-findutils:
7568 @if findutils
7569 maybe-installcheck-findutils: installcheck-findutils
7570
7571 installcheck-findutils: \
7572     configure-findutils 
7573         @[ -f ./findutils/Makefile ] || exit 0; \
7574         r=`${PWD_COMMAND}`; export r; \
7575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7576         $(SET_LIB_PATH) \
7577         $(HOST_EXPORTS) \
7578         for flag in $(EXTRA_HOST_FLAGS) ; do \
7579           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7580         done; \
7581         echo "Doing installcheck in findutils" ; \
7582         (cd findutils && \
7583           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7584                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7585                   "RANLIB=$${RANLIB}" \
7586                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7587                   installcheck) \
7588           || exit 1
7589
7590 @endif findutils
7591
7592 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7593 maybe-mostlyclean-findutils:
7594 @if findutils
7595 maybe-mostlyclean-findutils: mostlyclean-findutils
7596
7597 mostlyclean-findutils: 
7598         @[ -f ./findutils/Makefile ] || exit 0; \
7599         r=`${PWD_COMMAND}`; export r; \
7600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601         $(SET_LIB_PATH) \
7602         $(HOST_EXPORTS) \
7603         for flag in $(EXTRA_HOST_FLAGS) ; do \
7604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7605         done; \
7606         echo "Doing mostlyclean in findutils" ; \
7607         (cd findutils && \
7608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7610                   "RANLIB=$${RANLIB}" \
7611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7612                   mostlyclean) \
7613           || exit 1
7614
7615 @endif findutils
7616
7617 .PHONY: maybe-clean-findutils clean-findutils
7618 maybe-clean-findutils:
7619 @if findutils
7620 maybe-clean-findutils: clean-findutils
7621
7622 clean-findutils: 
7623         @[ -f ./findutils/Makefile ] || exit 0; \
7624         r=`${PWD_COMMAND}`; export r; \
7625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7626         $(SET_LIB_PATH) \
7627         $(HOST_EXPORTS) \
7628         for flag in $(EXTRA_HOST_FLAGS) ; do \
7629           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7630         done; \
7631         echo "Doing clean in findutils" ; \
7632         (cd findutils && \
7633           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7634                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7635                   "RANLIB=$${RANLIB}" \
7636                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7637                   clean) \
7638           || exit 1
7639
7640 @endif findutils
7641
7642 .PHONY: maybe-distclean-findutils distclean-findutils
7643 maybe-distclean-findutils:
7644 @if findutils
7645 maybe-distclean-findutils: distclean-findutils
7646
7647 distclean-findutils: 
7648         @[ -f ./findutils/Makefile ] || exit 0; \
7649         r=`${PWD_COMMAND}`; export r; \
7650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651         $(SET_LIB_PATH) \
7652         $(HOST_EXPORTS) \
7653         for flag in $(EXTRA_HOST_FLAGS) ; do \
7654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655         done; \
7656         echo "Doing distclean in findutils" ; \
7657         (cd findutils && \
7658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660                   "RANLIB=$${RANLIB}" \
7661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7662                   distclean) \
7663           || exit 1
7664
7665 @endif findutils
7666
7667 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7668 maybe-maintainer-clean-findutils:
7669 @if findutils
7670 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7671
7672 maintainer-clean-findutils: 
7673         @[ -f ./findutils/Makefile ] || exit 0; \
7674         r=`${PWD_COMMAND}`; export r; \
7675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676         $(SET_LIB_PATH) \
7677         $(HOST_EXPORTS) \
7678         for flag in $(EXTRA_HOST_FLAGS) ; do \
7679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7680         done; \
7681         echo "Doing maintainer-clean in findutils" ; \
7682         (cd findutils && \
7683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7685                   "RANLIB=$${RANLIB}" \
7686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7687                   maintainer-clean) \
7688           || exit 1
7689
7690 @endif findutils
7691
7692
7693 .PHONY: configure-find maybe-configure-find
7694 maybe-configure-find:
7695 @if find
7696 maybe-configure-find: configure-find
7697 configure-find:
7698         @test ! -f find/Makefile || exit 0; \
7699         [ -d find ] || mkdir find; \
7700         r=`${PWD_COMMAND}`; export r; \
7701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7702         $(HOST_EXPORTS) \
7703         echo Configuring in find; \
7704         cd find || exit 1; \
7705         case $(srcdir) in \
7706           \.) \
7707             srcdiroption="--srcdir=."; \
7708             libsrcdir=".";; \
7709           /* | [A-Za-z]:[\\/]*) \
7710             srcdiroption="--srcdir=$(srcdir)/find"; \
7711             libsrcdir="$$s/find";; \
7712           *) \
7713             srcdiroption="--srcdir=../$(srcdir)/find"; \
7714             libsrcdir="$$s/find";; \
7715         esac; \
7716         $(SHELL) $${libsrcdir}/configure \
7717           $(HOST_CONFIGARGS) $${srcdiroption}  \
7718           || exit 1
7719 @endif find
7720
7721 .PHONY: all-find maybe-all-find
7722 maybe-all-find:
7723 @if find
7724 TARGET-find=all
7725 maybe-all-find: all-find
7726 all-find: configure-find
7727         @r=`${PWD_COMMAND}`; export r; \
7728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729         $(SET_LIB_PATH) \
7730         $(HOST_EXPORTS) \
7731         (cd find && $(MAKE) $(FLAGS_TO_PASS)  \
7732           $(TARGET-find))
7733 @endif find
7734
7735 .PHONY: check-find maybe-check-find
7736 maybe-check-find:
7737 @if find
7738 maybe-check-find: check-find
7739
7740 check-find:
7741         @r=`${PWD_COMMAND}`; export r; \
7742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7743         $(SET_LIB_PATH) \
7744         $(HOST_EXPORTS) \
7745         (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7746
7747 @endif find
7748
7749 .PHONY: install-find maybe-install-find
7750 maybe-install-find:
7751 @if find
7752 maybe-install-find: install-find
7753
7754 install-find: installdirs
7755         @r=`${PWD_COMMAND}`; export r; \
7756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757         $(SET_LIB_PATH) \
7758         $(HOST_EXPORTS) \
7759         (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7760
7761 @endif find
7762
7763 # Other targets (info, dvi, etc.)
7764
7765 .PHONY: maybe-info-find info-find
7766 maybe-info-find:
7767 @if find
7768 maybe-info-find: info-find
7769
7770 info-find: \
7771     configure-find 
7772         @[ -f ./find/Makefile ] || exit 0; \
7773         r=`${PWD_COMMAND}`; export r; \
7774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7775         $(SET_LIB_PATH) \
7776         $(HOST_EXPORTS) \
7777         for flag in $(EXTRA_HOST_FLAGS) ; do \
7778           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7779         done; \
7780         echo "Doing info in find" ; \
7781         (cd find && \
7782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7784                   "RANLIB=$${RANLIB}" \
7785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7786                   info) \
7787           || exit 1
7788
7789 @endif find
7790
7791 .PHONY: maybe-dvi-find dvi-find
7792 maybe-dvi-find:
7793 @if find
7794 maybe-dvi-find: dvi-find
7795
7796 dvi-find: \
7797     configure-find 
7798         @[ -f ./find/Makefile ] || exit 0; \
7799         r=`${PWD_COMMAND}`; export r; \
7800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7801         $(SET_LIB_PATH) \
7802         $(HOST_EXPORTS) \
7803         for flag in $(EXTRA_HOST_FLAGS) ; do \
7804           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7805         done; \
7806         echo "Doing dvi in find" ; \
7807         (cd find && \
7808           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7809                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7810                   "RANLIB=$${RANLIB}" \
7811                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7812                   dvi) \
7813           || exit 1
7814
7815 @endif find
7816
7817 .PHONY: maybe-TAGS-find TAGS-find
7818 maybe-TAGS-find:
7819 @if find
7820 maybe-TAGS-find: TAGS-find
7821
7822 TAGS-find: \
7823     configure-find 
7824         @[ -f ./find/Makefile ] || exit 0; \
7825         r=`${PWD_COMMAND}`; export r; \
7826         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7827         $(SET_LIB_PATH) \
7828         $(HOST_EXPORTS) \
7829         for flag in $(EXTRA_HOST_FLAGS) ; do \
7830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7831         done; \
7832         echo "Doing TAGS in find" ; \
7833         (cd find && \
7834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7836                   "RANLIB=$${RANLIB}" \
7837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7838                   TAGS) \
7839           || exit 1
7840
7841 @endif find
7842
7843 .PHONY: maybe-install-info-find install-info-find
7844 maybe-install-info-find:
7845 @if find
7846 maybe-install-info-find: install-info-find
7847
7848 install-info-find: \
7849     configure-find \
7850     info-find 
7851         @[ -f ./find/Makefile ] || exit 0; \
7852         r=`${PWD_COMMAND}`; export r; \
7853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854         $(SET_LIB_PATH) \
7855         $(HOST_EXPORTS) \
7856         for flag in $(EXTRA_HOST_FLAGS) ; do \
7857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7858         done; \
7859         echo "Doing install-info in find" ; \
7860         (cd find && \
7861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7863                   "RANLIB=$${RANLIB}" \
7864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7865                   install-info) \
7866           || exit 1
7867
7868 @endif find
7869
7870 .PHONY: maybe-installcheck-find installcheck-find
7871 maybe-installcheck-find:
7872 @if find
7873 maybe-installcheck-find: installcheck-find
7874
7875 installcheck-find: \
7876     configure-find 
7877         @[ -f ./find/Makefile ] || exit 0; \
7878         r=`${PWD_COMMAND}`; export r; \
7879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7880         $(SET_LIB_PATH) \
7881         $(HOST_EXPORTS) \
7882         for flag in $(EXTRA_HOST_FLAGS) ; do \
7883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7884         done; \
7885         echo "Doing installcheck in find" ; \
7886         (cd find && \
7887           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7888                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7889                   "RANLIB=$${RANLIB}" \
7890                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7891                   installcheck) \
7892           || exit 1
7893
7894 @endif find
7895
7896 .PHONY: maybe-mostlyclean-find mostlyclean-find
7897 maybe-mostlyclean-find:
7898 @if find
7899 maybe-mostlyclean-find: mostlyclean-find
7900
7901 mostlyclean-find: 
7902         @[ -f ./find/Makefile ] || exit 0; \
7903         r=`${PWD_COMMAND}`; export r; \
7904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7905         $(SET_LIB_PATH) \
7906         $(HOST_EXPORTS) \
7907         for flag in $(EXTRA_HOST_FLAGS) ; do \
7908           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7909         done; \
7910         echo "Doing mostlyclean in find" ; \
7911         (cd find && \
7912           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7913                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7914                   "RANLIB=$${RANLIB}" \
7915                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7916                   mostlyclean) \
7917           || exit 1
7918
7919 @endif find
7920
7921 .PHONY: maybe-clean-find clean-find
7922 maybe-clean-find:
7923 @if find
7924 maybe-clean-find: clean-find
7925
7926 clean-find: 
7927         @[ -f ./find/Makefile ] || exit 0; \
7928         r=`${PWD_COMMAND}`; export r; \
7929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7930         $(SET_LIB_PATH) \
7931         $(HOST_EXPORTS) \
7932         for flag in $(EXTRA_HOST_FLAGS) ; do \
7933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7934         done; \
7935         echo "Doing clean in find" ; \
7936         (cd find && \
7937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7939                   "RANLIB=$${RANLIB}" \
7940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7941                   clean) \
7942           || exit 1
7943
7944 @endif find
7945
7946 .PHONY: maybe-distclean-find distclean-find
7947 maybe-distclean-find:
7948 @if find
7949 maybe-distclean-find: distclean-find
7950
7951 distclean-find: 
7952         @[ -f ./find/Makefile ] || exit 0; \
7953         r=`${PWD_COMMAND}`; export r; \
7954         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955         $(SET_LIB_PATH) \
7956         $(HOST_EXPORTS) \
7957         for flag in $(EXTRA_HOST_FLAGS) ; do \
7958           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7959         done; \
7960         echo "Doing distclean in find" ; \
7961         (cd find && \
7962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7964                   "RANLIB=$${RANLIB}" \
7965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7966                   distclean) \
7967           || exit 1
7968
7969 @endif find
7970
7971 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7972 maybe-maintainer-clean-find:
7973 @if find
7974 maybe-maintainer-clean-find: maintainer-clean-find
7975
7976 maintainer-clean-find: 
7977         @[ -f ./find/Makefile ] || exit 0; \
7978         r=`${PWD_COMMAND}`; export r; \
7979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980         $(SET_LIB_PATH) \
7981         $(HOST_EXPORTS) \
7982         for flag in $(EXTRA_HOST_FLAGS) ; do \
7983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7984         done; \
7985         echo "Doing maintainer-clean in find" ; \
7986         (cd find && \
7987           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7988                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7989                   "RANLIB=$${RANLIB}" \
7990                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7991                   maintainer-clean) \
7992           || exit 1
7993
7994 @endif find
7995
7996
7997 .PHONY: configure-flex maybe-configure-flex
7998 maybe-configure-flex:
7999 @if flex
8000 maybe-configure-flex: configure-flex
8001 configure-flex:
8002         @test ! -f flex/Makefile || exit 0; \
8003         [ -d flex ] || mkdir flex; \
8004         r=`${PWD_COMMAND}`; export r; \
8005         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8006         $(HOST_EXPORTS) \
8007         echo Configuring in flex; \
8008         cd flex || exit 1; \
8009         case $(srcdir) in \
8010           \.) \
8011             srcdiroption="--srcdir=."; \
8012             libsrcdir=".";; \
8013           /* | [A-Za-z]:[\\/]*) \
8014             srcdiroption="--srcdir=$(srcdir)/flex"; \
8015             libsrcdir="$$s/flex";; \
8016           *) \
8017             srcdiroption="--srcdir=../$(srcdir)/flex"; \
8018             libsrcdir="$$s/flex";; \
8019         esac; \
8020         $(SHELL) $${libsrcdir}/configure \
8021           $(HOST_CONFIGARGS) $${srcdiroption}  \
8022           || exit 1
8023 @endif flex
8024
8025 .PHONY: all-flex maybe-all-flex
8026 maybe-all-flex:
8027 @if flex
8028 TARGET-flex=all
8029 maybe-all-flex: all-flex
8030 all-flex: configure-flex
8031         @r=`${PWD_COMMAND}`; export r; \
8032         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8033         $(SET_LIB_PATH) \
8034         $(HOST_EXPORTS) \
8035         (cd flex && $(MAKE) $(FLAGS_TO_PASS)  \
8036           $(TARGET-flex))
8037 @endif flex
8038
8039 .PHONY: check-flex maybe-check-flex
8040 maybe-check-flex:
8041 @if flex
8042 maybe-check-flex: check-flex
8043
8044 # This module is only tested in a native toolchain.
8045 check-flex:
8046         @if [ '$(host)' = '$(target)' ] ; then \
8047           r=`${PWD_COMMAND}`; export r; \
8048           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8049           $(SET_LIB_PATH) \
8050           $(HOST_EXPORTS) \
8051           (cd flex && $(MAKE) $(FLAGS_TO_PASS)  check); \
8052         fi
8053
8054 @endif flex
8055
8056 .PHONY: install-flex maybe-install-flex
8057 maybe-install-flex:
8058 @if flex
8059 maybe-install-flex: install-flex
8060
8061 install-flex: installdirs
8062         @r=`${PWD_COMMAND}`; export r; \
8063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8064         $(SET_LIB_PATH) \
8065         $(HOST_EXPORTS) \
8066         (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8067
8068 @endif flex
8069
8070 # Other targets (info, dvi, etc.)
8071
8072 .PHONY: maybe-info-flex info-flex
8073 maybe-info-flex:
8074 @if flex
8075 maybe-info-flex: info-flex
8076
8077 info-flex: \
8078     configure-flex 
8079         @[ -f ./flex/Makefile ] || exit 0; \
8080         r=`${PWD_COMMAND}`; export r; \
8081         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8082         $(SET_LIB_PATH) \
8083         $(HOST_EXPORTS) \
8084         for flag in $(EXTRA_HOST_FLAGS) ; do \
8085           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8086         done; \
8087         echo "Doing info in flex" ; \
8088         (cd flex && \
8089           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091                   "RANLIB=$${RANLIB}" \
8092                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8093                   info) \
8094           || exit 1
8095
8096 @endif flex
8097
8098 .PHONY: maybe-dvi-flex dvi-flex
8099 maybe-dvi-flex:
8100 @if flex
8101 maybe-dvi-flex: dvi-flex
8102
8103 dvi-flex: \
8104     configure-flex 
8105         @[ -f ./flex/Makefile ] || exit 0; \
8106         r=`${PWD_COMMAND}`; export r; \
8107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8108         $(SET_LIB_PATH) \
8109         $(HOST_EXPORTS) \
8110         for flag in $(EXTRA_HOST_FLAGS) ; do \
8111           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8112         done; \
8113         echo "Doing dvi in flex" ; \
8114         (cd flex && \
8115           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8116                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8117                   "RANLIB=$${RANLIB}" \
8118                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8119                   dvi) \
8120           || exit 1
8121
8122 @endif flex
8123
8124 .PHONY: maybe-TAGS-flex TAGS-flex
8125 maybe-TAGS-flex:
8126 @if flex
8127 maybe-TAGS-flex: TAGS-flex
8128
8129 TAGS-flex: \
8130     configure-flex 
8131         @[ -f ./flex/Makefile ] || exit 0; \
8132         r=`${PWD_COMMAND}`; export r; \
8133         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134         $(SET_LIB_PATH) \
8135         $(HOST_EXPORTS) \
8136         for flag in $(EXTRA_HOST_FLAGS) ; do \
8137           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8138         done; \
8139         echo "Doing TAGS in flex" ; \
8140         (cd flex && \
8141           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8142                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8143                   "RANLIB=$${RANLIB}" \
8144                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8145                   TAGS) \
8146           || exit 1
8147
8148 @endif flex
8149
8150 .PHONY: maybe-install-info-flex install-info-flex
8151 maybe-install-info-flex:
8152 @if flex
8153 maybe-install-info-flex: install-info-flex
8154
8155 install-info-flex: \
8156     configure-flex \
8157     info-flex 
8158         @[ -f ./flex/Makefile ] || exit 0; \
8159         r=`${PWD_COMMAND}`; export r; \
8160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8161         $(SET_LIB_PATH) \
8162         $(HOST_EXPORTS) \
8163         for flag in $(EXTRA_HOST_FLAGS) ; do \
8164           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8165         done; \
8166         echo "Doing install-info in flex" ; \
8167         (cd flex && \
8168           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8169                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8170                   "RANLIB=$${RANLIB}" \
8171                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8172                   install-info) \
8173           || exit 1
8174
8175 @endif flex
8176
8177 .PHONY: maybe-installcheck-flex installcheck-flex
8178 maybe-installcheck-flex:
8179 @if flex
8180 maybe-installcheck-flex: installcheck-flex
8181
8182 installcheck-flex: \
8183     configure-flex 
8184         @[ -f ./flex/Makefile ] || exit 0; \
8185         r=`${PWD_COMMAND}`; export r; \
8186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8187         $(SET_LIB_PATH) \
8188         $(HOST_EXPORTS) \
8189         for flag in $(EXTRA_HOST_FLAGS) ; do \
8190           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8191         done; \
8192         echo "Doing installcheck in flex" ; \
8193         (cd flex && \
8194           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8195                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8196                   "RANLIB=$${RANLIB}" \
8197                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8198                   installcheck) \
8199           || exit 1
8200
8201 @endif flex
8202
8203 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8204 maybe-mostlyclean-flex:
8205 @if flex
8206 maybe-mostlyclean-flex: mostlyclean-flex
8207
8208 mostlyclean-flex: 
8209         @[ -f ./flex/Makefile ] || exit 0; \
8210         r=`${PWD_COMMAND}`; export r; \
8211         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8212         $(SET_LIB_PATH) \
8213         $(HOST_EXPORTS) \
8214         for flag in $(EXTRA_HOST_FLAGS) ; do \
8215           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8216         done; \
8217         echo "Doing mostlyclean in flex" ; \
8218         (cd flex && \
8219           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8220                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8221                   "RANLIB=$${RANLIB}" \
8222                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8223                   mostlyclean) \
8224           || exit 1
8225
8226 @endif flex
8227
8228 .PHONY: maybe-clean-flex clean-flex
8229 maybe-clean-flex:
8230 @if flex
8231 maybe-clean-flex: clean-flex
8232
8233 clean-flex: 
8234         @[ -f ./flex/Makefile ] || exit 0; \
8235         r=`${PWD_COMMAND}`; export r; \
8236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8237         $(SET_LIB_PATH) \
8238         $(HOST_EXPORTS) \
8239         for flag in $(EXTRA_HOST_FLAGS) ; do \
8240           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8241         done; \
8242         echo "Doing clean in flex" ; \
8243         (cd flex && \
8244           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8245                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8246                   "RANLIB=$${RANLIB}" \
8247                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8248                   clean) \
8249           || exit 1
8250
8251 @endif flex
8252
8253 .PHONY: maybe-distclean-flex distclean-flex
8254 maybe-distclean-flex:
8255 @if flex
8256 maybe-distclean-flex: distclean-flex
8257
8258 distclean-flex: 
8259         @[ -f ./flex/Makefile ] || exit 0; \
8260         r=`${PWD_COMMAND}`; export r; \
8261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262         $(SET_LIB_PATH) \
8263         $(HOST_EXPORTS) \
8264         for flag in $(EXTRA_HOST_FLAGS) ; do \
8265           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8266         done; \
8267         echo "Doing distclean in flex" ; \
8268         (cd flex && \
8269           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8270                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8271                   "RANLIB=$${RANLIB}" \
8272                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8273                   distclean) \
8274           || exit 1
8275
8276 @endif flex
8277
8278 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8279 maybe-maintainer-clean-flex:
8280 @if flex
8281 maybe-maintainer-clean-flex: maintainer-clean-flex
8282
8283 maintainer-clean-flex: 
8284         @[ -f ./flex/Makefile ] || exit 0; \
8285         r=`${PWD_COMMAND}`; export r; \
8286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8287         $(SET_LIB_PATH) \
8288         $(HOST_EXPORTS) \
8289         for flag in $(EXTRA_HOST_FLAGS) ; do \
8290           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8291         done; \
8292         echo "Doing maintainer-clean in flex" ; \
8293         (cd flex && \
8294           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8295                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8296                   "RANLIB=$${RANLIB}" \
8297                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8298                   maintainer-clean) \
8299           || exit 1
8300
8301 @endif flex
8302
8303
8304 .PHONY: configure-gas maybe-configure-gas
8305 maybe-configure-gas:
8306 @if gas
8307 maybe-configure-gas: configure-gas
8308 configure-gas:
8309         @test -f stage_last && exit 0; \
8310         test ! -f gas/Makefile || exit 0; \
8311         [ -d gas ] || mkdir gas; \
8312         r=`${PWD_COMMAND}`; export r; \
8313         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8314         $(HOST_EXPORTS) \
8315         echo Configuring in gas; \
8316         cd gas || exit 1; \
8317         case $(srcdir) in \
8318           \.) \
8319             srcdiroption="--srcdir=."; \
8320             libsrcdir=".";; \
8321           /* | [A-Za-z]:[\\/]*) \
8322             srcdiroption="--srcdir=$(srcdir)/gas"; \
8323             libsrcdir="$$s/gas";; \
8324           *) \
8325             srcdiroption="--srcdir=../$(srcdir)/gas"; \
8326             libsrcdir="$$s/gas";; \
8327         esac; \
8328         $(SHELL) $${libsrcdir}/configure \
8329           $(HOST_CONFIGARGS) $${srcdiroption}  \
8330           || exit 1
8331 @endif gas
8332
8333 .PHONY: all-gas maybe-all-gas
8334 maybe-all-gas:
8335 @if gas
8336 TARGET-gas=all
8337 maybe-all-gas: all-gas
8338 all-gas: configure-gas
8339         @test -f stage_last && exit 0; \
8340         r=`${PWD_COMMAND}`; export r; \
8341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342         $(SET_LIB_PATH) \
8343         $(HOST_EXPORTS) \
8344         (cd gas && $(MAKE) $(FLAGS_TO_PASS)  \
8345           $(TARGET-gas))
8346 @endif gas
8347
8348 .PHONY: check-gas maybe-check-gas
8349 maybe-check-gas:
8350 @if gas
8351 maybe-check-gas: check-gas
8352
8353 check-gas:
8354         @r=`${PWD_COMMAND}`; export r; \
8355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8356         $(SET_LIB_PATH) \
8357         $(HOST_EXPORTS) \
8358         (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8359
8360 @endif gas
8361
8362 .PHONY: install-gas maybe-install-gas
8363 maybe-install-gas:
8364 @if gas
8365 maybe-install-gas: install-gas
8366
8367 install-gas: installdirs
8368         @r=`${PWD_COMMAND}`; export r; \
8369         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8370         $(SET_LIB_PATH) \
8371         $(HOST_EXPORTS) \
8372         (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8373
8374 @endif gas
8375
8376 # Other targets (info, dvi, etc.)
8377
8378 .PHONY: maybe-info-gas info-gas
8379 maybe-info-gas:
8380 @if gas
8381 maybe-info-gas: info-gas
8382
8383 info-gas: \
8384     configure-gas 
8385         @[ -f ./gas/Makefile ] || exit 0; \
8386         r=`${PWD_COMMAND}`; export r; \
8387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8388         $(SET_LIB_PATH) \
8389         $(HOST_EXPORTS) \
8390         for flag in $(EXTRA_HOST_FLAGS) ; do \
8391           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8392         done; \
8393         echo "Doing info in gas" ; \
8394         (cd gas && \
8395           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8396                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8397                   "RANLIB=$${RANLIB}" \
8398                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8399                   info) \
8400           || exit 1
8401
8402 @endif gas
8403
8404 .PHONY: maybe-dvi-gas dvi-gas
8405 maybe-dvi-gas:
8406 @if gas
8407 maybe-dvi-gas: dvi-gas
8408
8409 dvi-gas: \
8410     configure-gas 
8411         @[ -f ./gas/Makefile ] || exit 0; \
8412         r=`${PWD_COMMAND}`; export r; \
8413         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8414         $(SET_LIB_PATH) \
8415         $(HOST_EXPORTS) \
8416         for flag in $(EXTRA_HOST_FLAGS) ; do \
8417           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418         done; \
8419         echo "Doing dvi in gas" ; \
8420         (cd gas && \
8421           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423                   "RANLIB=$${RANLIB}" \
8424                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8425                   dvi) \
8426           || exit 1
8427
8428 @endif gas
8429
8430 .PHONY: maybe-TAGS-gas TAGS-gas
8431 maybe-TAGS-gas:
8432 @if gas
8433 maybe-TAGS-gas: TAGS-gas
8434
8435 TAGS-gas: \
8436     configure-gas 
8437         @[ -f ./gas/Makefile ] || exit 0; \
8438         r=`${PWD_COMMAND}`; export r; \
8439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8440         $(SET_LIB_PATH) \
8441         $(HOST_EXPORTS) \
8442         for flag in $(EXTRA_HOST_FLAGS) ; do \
8443           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8444         done; \
8445         echo "Doing TAGS in gas" ; \
8446         (cd gas && \
8447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449                   "RANLIB=$${RANLIB}" \
8450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8451                   TAGS) \
8452           || exit 1
8453
8454 @endif gas
8455
8456 .PHONY: maybe-install-info-gas install-info-gas
8457 maybe-install-info-gas:
8458 @if gas
8459 maybe-install-info-gas: install-info-gas
8460
8461 install-info-gas: \
8462     configure-gas \
8463     info-gas 
8464         @[ -f ./gas/Makefile ] || exit 0; \
8465         r=`${PWD_COMMAND}`; export r; \
8466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8467         $(SET_LIB_PATH) \
8468         $(HOST_EXPORTS) \
8469         for flag in $(EXTRA_HOST_FLAGS) ; do \
8470           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8471         done; \
8472         echo "Doing install-info in gas" ; \
8473         (cd gas && \
8474           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8475                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8476                   "RANLIB=$${RANLIB}" \
8477                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8478                   install-info) \
8479           || exit 1
8480
8481 @endif gas
8482
8483 .PHONY: maybe-installcheck-gas installcheck-gas
8484 maybe-installcheck-gas:
8485 @if gas
8486 maybe-installcheck-gas: installcheck-gas
8487
8488 installcheck-gas: \
8489     configure-gas 
8490         @[ -f ./gas/Makefile ] || exit 0; \
8491         r=`${PWD_COMMAND}`; export r; \
8492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8493         $(SET_LIB_PATH) \
8494         $(HOST_EXPORTS) \
8495         for flag in $(EXTRA_HOST_FLAGS) ; do \
8496           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8497         done; \
8498         echo "Doing installcheck in gas" ; \
8499         (cd gas && \
8500           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8501                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8502                   "RANLIB=$${RANLIB}" \
8503                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8504                   installcheck) \
8505           || exit 1
8506
8507 @endif gas
8508
8509 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8510 maybe-mostlyclean-gas:
8511 @if gas
8512 maybe-mostlyclean-gas: mostlyclean-gas
8513
8514 mostlyclean-gas: 
8515         @[ -f ./gas/Makefile ] || exit 0; \
8516         r=`${PWD_COMMAND}`; export r; \
8517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518         $(SET_LIB_PATH) \
8519         $(HOST_EXPORTS) \
8520         for flag in $(EXTRA_HOST_FLAGS) ; do \
8521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8522         done; \
8523         echo "Doing mostlyclean in gas" ; \
8524         (cd gas && \
8525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8527                   "RANLIB=$${RANLIB}" \
8528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8529                   mostlyclean) \
8530           || exit 1
8531
8532 @endif gas
8533
8534 .PHONY: maybe-clean-gas clean-gas
8535 maybe-clean-gas:
8536 @if gas
8537 maybe-clean-gas: clean-gas
8538
8539 clean-gas: 
8540         @[ -f ./gas/Makefile ] || exit 0; \
8541         r=`${PWD_COMMAND}`; export r; \
8542         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8543         $(SET_LIB_PATH) \
8544         $(HOST_EXPORTS) \
8545         for flag in $(EXTRA_HOST_FLAGS) ; do \
8546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8547         done; \
8548         echo "Doing clean in gas" ; \
8549         (cd gas && \
8550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8552                   "RANLIB=$${RANLIB}" \
8553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8554                   clean) \
8555           || exit 1
8556
8557 @endif gas
8558
8559 .PHONY: maybe-distclean-gas distclean-gas
8560 maybe-distclean-gas:
8561 @if gas
8562 maybe-distclean-gas: distclean-gas
8563
8564 distclean-gas: 
8565         @[ -f ./gas/Makefile ] || exit 0; \
8566         r=`${PWD_COMMAND}`; export r; \
8567         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568         $(SET_LIB_PATH) \
8569         $(HOST_EXPORTS) \
8570         for flag in $(EXTRA_HOST_FLAGS) ; do \
8571           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8572         done; \
8573         echo "Doing distclean in gas" ; \
8574         (cd gas && \
8575           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8576                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8577                   "RANLIB=$${RANLIB}" \
8578                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8579                   distclean) \
8580           || exit 1
8581
8582 @endif gas
8583
8584 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8585 maybe-maintainer-clean-gas:
8586 @if gas
8587 maybe-maintainer-clean-gas: maintainer-clean-gas
8588
8589 maintainer-clean-gas: 
8590         @[ -f ./gas/Makefile ] || exit 0; \
8591         r=`${PWD_COMMAND}`; export r; \
8592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8593         $(SET_LIB_PATH) \
8594         $(HOST_EXPORTS) \
8595         for flag in $(EXTRA_HOST_FLAGS) ; do \
8596           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8597         done; \
8598         echo "Doing maintainer-clean in gas" ; \
8599         (cd gas && \
8600           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8601                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8602                   "RANLIB=$${RANLIB}" \
8603                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8604                   maintainer-clean) \
8605           || exit 1
8606
8607 @endif gas
8608
8609
8610 .PHONY: configure-gcc maybe-configure-gcc
8611 maybe-configure-gcc:
8612 @if gcc
8613 maybe-configure-gcc: configure-gcc
8614 configure-gcc:
8615         @test -f stage_last && exit 0; \
8616         test ! -f gcc/Makefile || exit 0; \
8617         [ -d gcc ] || mkdir gcc; \
8618         r=`${PWD_COMMAND}`; export r; \
8619         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8620         $(HOST_EXPORTS) \
8621         echo Configuring in gcc; \
8622         cd gcc || exit 1; \
8623         case $(srcdir) in \
8624           \.) \
8625             srcdiroption="--srcdir=."; \
8626             libsrcdir=".";; \
8627           /* | [A-Za-z]:[\\/]*) \
8628             srcdiroption="--srcdir=$(srcdir)/gcc"; \
8629             libsrcdir="$$s/gcc";; \
8630           *) \
8631             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8632             libsrcdir="$$s/gcc";; \
8633         esac; \
8634         $(SHELL) $${libsrcdir}/configure \
8635           $(HOST_CONFIGARGS) $${srcdiroption}  \
8636           || exit 1
8637 @endif gcc
8638
8639 .PHONY: all-gcc maybe-all-gcc
8640 maybe-all-gcc:
8641 @if gcc
8642 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
8643 maybe-all-gcc: all-gcc
8644 all-gcc: configure-gcc
8645         @test -f stage_last && exit 0; \
8646         r=`${PWD_COMMAND}`; export r; \
8647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8648         $(SET_LIB_PATH) \
8649         $(HOST_EXPORTS) \
8650         (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8651           $(TARGET-gcc))
8652 @endif gcc
8653
8654 .PHONY: check-gcc maybe-check-gcc
8655 maybe-check-gcc:
8656 @if gcc
8657 maybe-check-gcc: check-gcc
8658
8659 check-gcc:
8660         @r=`${PWD_COMMAND}`; export r; \
8661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8662         $(SET_LIB_PATH) \
8663         $(HOST_EXPORTS) \
8664         (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8665
8666 @endif gcc
8667
8668 .PHONY: install-gcc maybe-install-gcc
8669 maybe-install-gcc:
8670 @if gcc
8671 maybe-install-gcc: install-gcc
8672
8673 install-gcc: installdirs
8674         @r=`${PWD_COMMAND}`; export r; \
8675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676         $(SET_LIB_PATH) \
8677         $(HOST_EXPORTS) \
8678         (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8679
8680 @endif gcc
8681
8682 # Other targets (info, dvi, etc.)
8683
8684 .PHONY: maybe-info-gcc info-gcc
8685 maybe-info-gcc:
8686 @if gcc
8687 maybe-info-gcc: info-gcc
8688
8689 info-gcc: \
8690     configure-gcc 
8691         @[ -f ./gcc/Makefile ] || exit 0; \
8692         r=`${PWD_COMMAND}`; export r; \
8693         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8694         $(SET_LIB_PATH) \
8695         $(HOST_EXPORTS) \
8696         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8697           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8698         done; \
8699         echo "Doing info in gcc" ; \
8700         (cd gcc && \
8701           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8702                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8703                   "RANLIB=$${RANLIB}" \
8704                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8705                   info) \
8706           || exit 1
8707
8708 @endif gcc
8709
8710 .PHONY: maybe-dvi-gcc dvi-gcc
8711 maybe-dvi-gcc:
8712 @if gcc
8713 maybe-dvi-gcc: dvi-gcc
8714
8715 dvi-gcc: \
8716     configure-gcc 
8717         @[ -f ./gcc/Makefile ] || exit 0; \
8718         r=`${PWD_COMMAND}`; export r; \
8719         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8720         $(SET_LIB_PATH) \
8721         $(HOST_EXPORTS) \
8722         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8724         done; \
8725         echo "Doing dvi in gcc" ; \
8726         (cd gcc && \
8727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8729                   "RANLIB=$${RANLIB}" \
8730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8731                   dvi) \
8732           || exit 1
8733
8734 @endif gcc
8735
8736 .PHONY: maybe-TAGS-gcc TAGS-gcc
8737 maybe-TAGS-gcc:
8738 @if gcc
8739 maybe-TAGS-gcc: TAGS-gcc
8740
8741 TAGS-gcc: \
8742     configure-gcc 
8743         @[ -f ./gcc/Makefile ] || exit 0; \
8744         r=`${PWD_COMMAND}`; export r; \
8745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8746         $(SET_LIB_PATH) \
8747         $(HOST_EXPORTS) \
8748         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8749           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8750         done; \
8751         echo "Doing TAGS in gcc" ; \
8752         (cd gcc && \
8753           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8754                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8755                   "RANLIB=$${RANLIB}" \
8756                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8757                   TAGS) \
8758           || exit 1
8759
8760 @endif gcc
8761
8762 .PHONY: maybe-install-info-gcc install-info-gcc
8763 maybe-install-info-gcc:
8764 @if gcc
8765 maybe-install-info-gcc: install-info-gcc
8766
8767 install-info-gcc: \
8768     configure-gcc \
8769     info-gcc 
8770         @[ -f ./gcc/Makefile ] || exit 0; \
8771         r=`${PWD_COMMAND}`; export r; \
8772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8773         $(SET_LIB_PATH) \
8774         $(HOST_EXPORTS) \
8775         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8776           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8777         done; \
8778         echo "Doing install-info in gcc" ; \
8779         (cd gcc && \
8780           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8781                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8782                   "RANLIB=$${RANLIB}" \
8783                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8784                   install-info) \
8785           || exit 1
8786
8787 @endif gcc
8788
8789 .PHONY: maybe-installcheck-gcc installcheck-gcc
8790 maybe-installcheck-gcc:
8791 @if gcc
8792 maybe-installcheck-gcc: installcheck-gcc
8793
8794 installcheck-gcc: \
8795     configure-gcc 
8796         @[ -f ./gcc/Makefile ] || exit 0; \
8797         r=`${PWD_COMMAND}`; export r; \
8798         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8799         $(SET_LIB_PATH) \
8800         $(HOST_EXPORTS) \
8801         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8802           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8803         done; \
8804         echo "Doing installcheck in gcc" ; \
8805         (cd gcc && \
8806           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8807                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8808                   "RANLIB=$${RANLIB}" \
8809                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8810                   installcheck) \
8811           || exit 1
8812
8813 @endif gcc
8814
8815 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8816 maybe-mostlyclean-gcc:
8817 @if gcc
8818 maybe-mostlyclean-gcc: mostlyclean-gcc
8819
8820 mostlyclean-gcc: 
8821         @[ -f ./gcc/Makefile ] || exit 0; \
8822         r=`${PWD_COMMAND}`; export r; \
8823         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8824         $(SET_LIB_PATH) \
8825         $(HOST_EXPORTS) \
8826         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8827           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8828         done; \
8829         echo "Doing mostlyclean in gcc" ; \
8830         (cd gcc && \
8831           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8832                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8833                   "RANLIB=$${RANLIB}" \
8834                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8835                   mostlyclean) \
8836           || exit 1
8837
8838 @endif gcc
8839
8840 .PHONY: maybe-clean-gcc clean-gcc
8841 maybe-clean-gcc:
8842 @if gcc
8843 maybe-clean-gcc: clean-gcc
8844
8845 clean-gcc: 
8846         @[ -f ./gcc/Makefile ] || exit 0; \
8847         r=`${PWD_COMMAND}`; export r; \
8848         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8849         $(SET_LIB_PATH) \
8850         $(HOST_EXPORTS) \
8851         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8852           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8853         done; \
8854         echo "Doing clean in gcc" ; \
8855         (cd gcc && \
8856           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8857                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8858                   "RANLIB=$${RANLIB}" \
8859                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8860                   clean) \
8861           || exit 1
8862
8863 @endif gcc
8864
8865 .PHONY: maybe-distclean-gcc distclean-gcc
8866 maybe-distclean-gcc:
8867 @if gcc
8868 maybe-distclean-gcc: distclean-gcc
8869
8870 distclean-gcc: 
8871         @[ -f ./gcc/Makefile ] || exit 0; \
8872         r=`${PWD_COMMAND}`; export r; \
8873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8874         $(SET_LIB_PATH) \
8875         $(HOST_EXPORTS) \
8876         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8878         done; \
8879         echo "Doing distclean in gcc" ; \
8880         (cd gcc && \
8881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8883                   "RANLIB=$${RANLIB}" \
8884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8885                   distclean) \
8886           || exit 1
8887
8888 @endif gcc
8889
8890 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8891 maybe-maintainer-clean-gcc:
8892 @if gcc
8893 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8894
8895 maintainer-clean-gcc: 
8896         @[ -f ./gcc/Makefile ] || exit 0; \
8897         r=`${PWD_COMMAND}`; export r; \
8898         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8899         $(SET_LIB_PATH) \
8900         $(HOST_EXPORTS) \
8901         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8902           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8903         done; \
8904         echo "Doing maintainer-clean in gcc" ; \
8905         (cd gcc && \
8906           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8907                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8908                   "RANLIB=$${RANLIB}" \
8909                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8910                   maintainer-clean) \
8911           || exit 1
8912
8913 @endif gcc
8914
8915
8916 .PHONY: configure-gawk maybe-configure-gawk
8917 maybe-configure-gawk:
8918 @if gawk
8919 maybe-configure-gawk: configure-gawk
8920 configure-gawk:
8921         @test ! -f gawk/Makefile || exit 0; \
8922         [ -d gawk ] || mkdir gawk; \
8923         r=`${PWD_COMMAND}`; export r; \
8924         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8925         $(HOST_EXPORTS) \
8926         echo Configuring in gawk; \
8927         cd gawk || exit 1; \
8928         case $(srcdir) in \
8929           \.) \
8930             srcdiroption="--srcdir=."; \
8931             libsrcdir=".";; \
8932           /* | [A-Za-z]:[\\/]*) \
8933             srcdiroption="--srcdir=$(srcdir)/gawk"; \
8934             libsrcdir="$$s/gawk";; \
8935           *) \
8936             srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8937             libsrcdir="$$s/gawk";; \
8938         esac; \
8939         $(SHELL) $${libsrcdir}/configure \
8940           $(HOST_CONFIGARGS) $${srcdiroption}  \
8941           || exit 1
8942 @endif gawk
8943
8944 .PHONY: all-gawk maybe-all-gawk
8945 maybe-all-gawk:
8946 @if gawk
8947 TARGET-gawk=all
8948 maybe-all-gawk: all-gawk
8949 all-gawk: configure-gawk
8950         @r=`${PWD_COMMAND}`; export r; \
8951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8952         $(SET_LIB_PATH) \
8953         $(HOST_EXPORTS) \
8954         (cd gawk && $(MAKE) $(FLAGS_TO_PASS)  \
8955           $(TARGET-gawk))
8956 @endif gawk
8957
8958 .PHONY: check-gawk maybe-check-gawk
8959 maybe-check-gawk:
8960 @if gawk
8961 maybe-check-gawk: check-gawk
8962
8963 check-gawk:
8964         @r=`${PWD_COMMAND}`; export r; \
8965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8966         $(SET_LIB_PATH) \
8967         $(HOST_EXPORTS) \
8968         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8969
8970 @endif gawk
8971
8972 .PHONY: install-gawk maybe-install-gawk
8973 maybe-install-gawk:
8974 @if gawk
8975 maybe-install-gawk: install-gawk
8976
8977 install-gawk: installdirs
8978         @r=`${PWD_COMMAND}`; export r; \
8979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8980         $(SET_LIB_PATH) \
8981         $(HOST_EXPORTS) \
8982         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8983
8984 @endif gawk
8985
8986 # Other targets (info, dvi, etc.)
8987
8988 .PHONY: maybe-info-gawk info-gawk
8989 maybe-info-gawk:
8990 @if gawk
8991 maybe-info-gawk: info-gawk
8992
8993 info-gawk: \
8994     configure-gawk 
8995         @[ -f ./gawk/Makefile ] || exit 0; \
8996         r=`${PWD_COMMAND}`; export r; \
8997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8998         $(SET_LIB_PATH) \
8999         $(HOST_EXPORTS) \
9000         for flag in $(EXTRA_HOST_FLAGS) ; do \
9001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9002         done; \
9003         echo "Doing info in gawk" ; \
9004         (cd gawk && \
9005           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9006                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9007                   "RANLIB=$${RANLIB}" \
9008                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9009                   info) \
9010           || exit 1
9011
9012 @endif gawk
9013
9014 .PHONY: maybe-dvi-gawk dvi-gawk
9015 maybe-dvi-gawk:
9016 @if gawk
9017 maybe-dvi-gawk: dvi-gawk
9018
9019 dvi-gawk: \
9020     configure-gawk 
9021         @[ -f ./gawk/Makefile ] || exit 0; \
9022         r=`${PWD_COMMAND}`; export r; \
9023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9024         $(SET_LIB_PATH) \
9025         $(HOST_EXPORTS) \
9026         for flag in $(EXTRA_HOST_FLAGS) ; do \
9027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9028         done; \
9029         echo "Doing dvi in gawk" ; \
9030         (cd gawk && \
9031           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9032                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9033                   "RANLIB=$${RANLIB}" \
9034                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9035                   dvi) \
9036           || exit 1
9037
9038 @endif gawk
9039
9040 .PHONY: maybe-TAGS-gawk TAGS-gawk
9041 maybe-TAGS-gawk:
9042 @if gawk
9043 maybe-TAGS-gawk: TAGS-gawk
9044
9045 TAGS-gawk: \
9046     configure-gawk 
9047         @[ -f ./gawk/Makefile ] || exit 0; \
9048         r=`${PWD_COMMAND}`; export r; \
9049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9050         $(SET_LIB_PATH) \
9051         $(HOST_EXPORTS) \
9052         for flag in $(EXTRA_HOST_FLAGS) ; do \
9053           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9054         done; \
9055         echo "Doing TAGS in gawk" ; \
9056         (cd gawk && \
9057           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9058                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9059                   "RANLIB=$${RANLIB}" \
9060                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9061                   TAGS) \
9062           || exit 1
9063
9064 @endif gawk
9065
9066 .PHONY: maybe-install-info-gawk install-info-gawk
9067 maybe-install-info-gawk:
9068 @if gawk
9069 maybe-install-info-gawk: install-info-gawk
9070
9071 install-info-gawk: \
9072     configure-gawk \
9073     info-gawk 
9074         @[ -f ./gawk/Makefile ] || exit 0; \
9075         r=`${PWD_COMMAND}`; export r; \
9076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9077         $(SET_LIB_PATH) \
9078         $(HOST_EXPORTS) \
9079         for flag in $(EXTRA_HOST_FLAGS) ; do \
9080           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9081         done; \
9082         echo "Doing install-info in gawk" ; \
9083         (cd gawk && \
9084           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9085                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9086                   "RANLIB=$${RANLIB}" \
9087                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9088                   install-info) \
9089           || exit 1
9090
9091 @endif gawk
9092
9093 .PHONY: maybe-installcheck-gawk installcheck-gawk
9094 maybe-installcheck-gawk:
9095 @if gawk
9096 maybe-installcheck-gawk: installcheck-gawk
9097
9098 installcheck-gawk: \
9099     configure-gawk 
9100         @[ -f ./gawk/Makefile ] || exit 0; \
9101         r=`${PWD_COMMAND}`; export r; \
9102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9103         $(SET_LIB_PATH) \
9104         $(HOST_EXPORTS) \
9105         for flag in $(EXTRA_HOST_FLAGS) ; do \
9106           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9107         done; \
9108         echo "Doing installcheck in gawk" ; \
9109         (cd gawk && \
9110           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9111                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9112                   "RANLIB=$${RANLIB}" \
9113                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9114                   installcheck) \
9115           || exit 1
9116
9117 @endif gawk
9118
9119 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9120 maybe-mostlyclean-gawk:
9121 @if gawk
9122 maybe-mostlyclean-gawk: mostlyclean-gawk
9123
9124 mostlyclean-gawk: 
9125         @[ -f ./gawk/Makefile ] || exit 0; \
9126         r=`${PWD_COMMAND}`; export r; \
9127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128         $(SET_LIB_PATH) \
9129         $(HOST_EXPORTS) \
9130         for flag in $(EXTRA_HOST_FLAGS) ; do \
9131           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9132         done; \
9133         echo "Doing mostlyclean in gawk" ; \
9134         (cd gawk && \
9135           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9136                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9137                   "RANLIB=$${RANLIB}" \
9138                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9139                   mostlyclean) \
9140           || exit 1
9141
9142 @endif gawk
9143
9144 .PHONY: maybe-clean-gawk clean-gawk
9145 maybe-clean-gawk:
9146 @if gawk
9147 maybe-clean-gawk: clean-gawk
9148
9149 clean-gawk: 
9150         @[ -f ./gawk/Makefile ] || exit 0; \
9151         r=`${PWD_COMMAND}`; export r; \
9152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9153         $(SET_LIB_PATH) \
9154         $(HOST_EXPORTS) \
9155         for flag in $(EXTRA_HOST_FLAGS) ; do \
9156           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9157         done; \
9158         echo "Doing clean in gawk" ; \
9159         (cd gawk && \
9160           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9161                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9162                   "RANLIB=$${RANLIB}" \
9163                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9164                   clean) \
9165           || exit 1
9166
9167 @endif gawk
9168
9169 .PHONY: maybe-distclean-gawk distclean-gawk
9170 maybe-distclean-gawk:
9171 @if gawk
9172 maybe-distclean-gawk: distclean-gawk
9173
9174 distclean-gawk: 
9175         @[ -f ./gawk/Makefile ] || exit 0; \
9176         r=`${PWD_COMMAND}`; export r; \
9177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9178         $(SET_LIB_PATH) \
9179         $(HOST_EXPORTS) \
9180         for flag in $(EXTRA_HOST_FLAGS) ; do \
9181           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9182         done; \
9183         echo "Doing distclean in gawk" ; \
9184         (cd gawk && \
9185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9187                   "RANLIB=$${RANLIB}" \
9188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9189                   distclean) \
9190           || exit 1
9191
9192 @endif gawk
9193
9194 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9195 maybe-maintainer-clean-gawk:
9196 @if gawk
9197 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9198
9199 maintainer-clean-gawk: 
9200         @[ -f ./gawk/Makefile ] || exit 0; \
9201         r=`${PWD_COMMAND}`; export r; \
9202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9203         $(SET_LIB_PATH) \
9204         $(HOST_EXPORTS) \
9205         for flag in $(EXTRA_HOST_FLAGS) ; do \
9206           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9207         done; \
9208         echo "Doing maintainer-clean in gawk" ; \
9209         (cd gawk && \
9210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9212                   "RANLIB=$${RANLIB}" \
9213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9214                   maintainer-clean) \
9215           || exit 1
9216
9217 @endif gawk
9218
9219
9220 .PHONY: configure-gettext maybe-configure-gettext
9221 maybe-configure-gettext:
9222 @if gettext
9223 maybe-configure-gettext: configure-gettext
9224 configure-gettext:
9225         @test ! -f gettext/Makefile || exit 0; \
9226         [ -d gettext ] || mkdir gettext; \
9227         r=`${PWD_COMMAND}`; export r; \
9228         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9229         $(HOST_EXPORTS) \
9230         echo Configuring in gettext; \
9231         cd gettext || exit 1; \
9232         case $(srcdir) in \
9233           \.) \
9234             srcdiroption="--srcdir=."; \
9235             libsrcdir=".";; \
9236           /* | [A-Za-z]:[\\/]*) \
9237             srcdiroption="--srcdir=$(srcdir)/gettext"; \
9238             libsrcdir="$$s/gettext";; \
9239           *) \
9240             srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9241             libsrcdir="$$s/gettext";; \
9242         esac; \
9243         $(SHELL) $${libsrcdir}/configure \
9244           $(HOST_CONFIGARGS) $${srcdiroption}  \
9245           || exit 1
9246 @endif gettext
9247
9248 .PHONY: all-gettext maybe-all-gettext
9249 maybe-all-gettext:
9250 @if gettext
9251 TARGET-gettext=all
9252 maybe-all-gettext: all-gettext
9253 all-gettext: configure-gettext
9254         @r=`${PWD_COMMAND}`; export r; \
9255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256         $(SET_LIB_PATH) \
9257         $(HOST_EXPORTS) \
9258         (cd gettext && $(MAKE) $(FLAGS_TO_PASS)  \
9259           $(TARGET-gettext))
9260 @endif gettext
9261
9262 .PHONY: check-gettext maybe-check-gettext
9263 maybe-check-gettext:
9264 @if gettext
9265 maybe-check-gettext: check-gettext
9266
9267 check-gettext:
9268         @r=`${PWD_COMMAND}`; export r; \
9269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9270         $(SET_LIB_PATH) \
9271         $(HOST_EXPORTS) \
9272         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9273
9274 @endif gettext
9275
9276 .PHONY: install-gettext maybe-install-gettext
9277 maybe-install-gettext:
9278 @if gettext
9279 maybe-install-gettext: install-gettext
9280
9281 install-gettext: installdirs
9282         @r=`${PWD_COMMAND}`; export r; \
9283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9284         $(SET_LIB_PATH) \
9285         $(HOST_EXPORTS) \
9286         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9287
9288 @endif gettext
9289
9290 # Other targets (info, dvi, etc.)
9291
9292 .PHONY: maybe-info-gettext info-gettext
9293 maybe-info-gettext:
9294 @if gettext
9295 maybe-info-gettext: info-gettext
9296
9297 info-gettext: \
9298     configure-gettext 
9299         @[ -f ./gettext/Makefile ] || exit 0; \
9300         r=`${PWD_COMMAND}`; export r; \
9301         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9302         $(SET_LIB_PATH) \
9303         $(HOST_EXPORTS) \
9304         for flag in $(EXTRA_HOST_FLAGS) ; do \
9305           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9306         done; \
9307         echo "Doing info in gettext" ; \
9308         (cd gettext && \
9309           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9310                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9311                   "RANLIB=$${RANLIB}" \
9312                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9313                   info) \
9314           || exit 1
9315
9316 @endif gettext
9317
9318 .PHONY: maybe-dvi-gettext dvi-gettext
9319 maybe-dvi-gettext:
9320 @if gettext
9321 maybe-dvi-gettext: dvi-gettext
9322
9323 dvi-gettext: \
9324     configure-gettext 
9325         @[ -f ./gettext/Makefile ] || exit 0; \
9326         r=`${PWD_COMMAND}`; export r; \
9327         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328         $(SET_LIB_PATH) \
9329         $(HOST_EXPORTS) \
9330         for flag in $(EXTRA_HOST_FLAGS) ; do \
9331           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9332         done; \
9333         echo "Doing dvi in gettext" ; \
9334         (cd gettext && \
9335           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9336                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9337                   "RANLIB=$${RANLIB}" \
9338                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9339                   dvi) \
9340           || exit 1
9341
9342 @endif gettext
9343
9344 .PHONY: maybe-TAGS-gettext TAGS-gettext
9345 maybe-TAGS-gettext:
9346 @if gettext
9347 maybe-TAGS-gettext: TAGS-gettext
9348
9349 TAGS-gettext: \
9350     configure-gettext 
9351         @[ -f ./gettext/Makefile ] || exit 0; \
9352         r=`${PWD_COMMAND}`; export r; \
9353         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354         $(SET_LIB_PATH) \
9355         $(HOST_EXPORTS) \
9356         for flag in $(EXTRA_HOST_FLAGS) ; do \
9357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9358         done; \
9359         echo "Doing TAGS in gettext" ; \
9360         (cd gettext && \
9361           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9362                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9363                   "RANLIB=$${RANLIB}" \
9364                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9365                   TAGS) \
9366           || exit 1
9367
9368 @endif gettext
9369
9370 .PHONY: maybe-install-info-gettext install-info-gettext
9371 maybe-install-info-gettext:
9372 @if gettext
9373 maybe-install-info-gettext: install-info-gettext
9374
9375 install-info-gettext: \
9376     configure-gettext \
9377     info-gettext 
9378         @[ -f ./gettext/Makefile ] || exit 0; \
9379         r=`${PWD_COMMAND}`; export r; \
9380         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9381         $(SET_LIB_PATH) \
9382         $(HOST_EXPORTS) \
9383         for flag in $(EXTRA_HOST_FLAGS) ; do \
9384           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9385         done; \
9386         echo "Doing install-info in gettext" ; \
9387         (cd gettext && \
9388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9390                   "RANLIB=$${RANLIB}" \
9391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9392                   install-info) \
9393           || exit 1
9394
9395 @endif gettext
9396
9397 .PHONY: maybe-installcheck-gettext installcheck-gettext
9398 maybe-installcheck-gettext:
9399 @if gettext
9400 maybe-installcheck-gettext: installcheck-gettext
9401
9402 installcheck-gettext: \
9403     configure-gettext 
9404         @[ -f ./gettext/Makefile ] || exit 0; \
9405         r=`${PWD_COMMAND}`; export r; \
9406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9407         $(SET_LIB_PATH) \
9408         $(HOST_EXPORTS) \
9409         for flag in $(EXTRA_HOST_FLAGS) ; do \
9410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9411         done; \
9412         echo "Doing installcheck in gettext" ; \
9413         (cd gettext && \
9414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9416                   "RANLIB=$${RANLIB}" \
9417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9418                   installcheck) \
9419           || exit 1
9420
9421 @endif gettext
9422
9423 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9424 maybe-mostlyclean-gettext:
9425 @if gettext
9426 maybe-mostlyclean-gettext: mostlyclean-gettext
9427
9428 mostlyclean-gettext: 
9429         @[ -f ./gettext/Makefile ] || exit 0; \
9430         r=`${PWD_COMMAND}`; export r; \
9431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9432         $(SET_LIB_PATH) \
9433         $(HOST_EXPORTS) \
9434         for flag in $(EXTRA_HOST_FLAGS) ; do \
9435           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9436         done; \
9437         echo "Doing mostlyclean in gettext" ; \
9438         (cd gettext && \
9439           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9440                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9441                   "RANLIB=$${RANLIB}" \
9442                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9443                   mostlyclean) \
9444           || exit 1
9445
9446 @endif gettext
9447
9448 .PHONY: maybe-clean-gettext clean-gettext
9449 maybe-clean-gettext:
9450 @if gettext
9451 maybe-clean-gettext: clean-gettext
9452
9453 clean-gettext: 
9454         @[ -f ./gettext/Makefile ] || exit 0; \
9455         r=`${PWD_COMMAND}`; export r; \
9456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9457         $(SET_LIB_PATH) \
9458         $(HOST_EXPORTS) \
9459         for flag in $(EXTRA_HOST_FLAGS) ; do \
9460           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9461         done; \
9462         echo "Doing clean in gettext" ; \
9463         (cd gettext && \
9464           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9465                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9466                   "RANLIB=$${RANLIB}" \
9467                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9468                   clean) \
9469           || exit 1
9470
9471 @endif gettext
9472
9473 .PHONY: maybe-distclean-gettext distclean-gettext
9474 maybe-distclean-gettext:
9475 @if gettext
9476 maybe-distclean-gettext: distclean-gettext
9477
9478 distclean-gettext: 
9479         @[ -f ./gettext/Makefile ] || exit 0; \
9480         r=`${PWD_COMMAND}`; export r; \
9481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9482         $(SET_LIB_PATH) \
9483         $(HOST_EXPORTS) \
9484         for flag in $(EXTRA_HOST_FLAGS) ; do \
9485           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9486         done; \
9487         echo "Doing distclean in gettext" ; \
9488         (cd gettext && \
9489           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9490                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9491                   "RANLIB=$${RANLIB}" \
9492                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9493                   distclean) \
9494           || exit 1
9495
9496 @endif gettext
9497
9498 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9499 maybe-maintainer-clean-gettext:
9500 @if gettext
9501 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9502
9503 maintainer-clean-gettext: 
9504         @[ -f ./gettext/Makefile ] || exit 0; \
9505         r=`${PWD_COMMAND}`; export r; \
9506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9507         $(SET_LIB_PATH) \
9508         $(HOST_EXPORTS) \
9509         for flag in $(EXTRA_HOST_FLAGS) ; do \
9510           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9511         done; \
9512         echo "Doing maintainer-clean in gettext" ; \
9513         (cd gettext && \
9514           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9515                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9516                   "RANLIB=$${RANLIB}" \
9517                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9518                   maintainer-clean) \
9519           || exit 1
9520
9521 @endif gettext
9522
9523
9524 .PHONY: configure-gnuserv maybe-configure-gnuserv
9525 maybe-configure-gnuserv:
9526 @if gnuserv
9527 maybe-configure-gnuserv: configure-gnuserv
9528 configure-gnuserv:
9529         @test ! -f gnuserv/Makefile || exit 0; \
9530         [ -d gnuserv ] || mkdir gnuserv; \
9531         r=`${PWD_COMMAND}`; export r; \
9532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533         $(HOST_EXPORTS) \
9534         echo Configuring in gnuserv; \
9535         cd gnuserv || exit 1; \
9536         case $(srcdir) in \
9537           \.) \
9538             srcdiroption="--srcdir=."; \
9539             libsrcdir=".";; \
9540           /* | [A-Za-z]:[\\/]*) \
9541             srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9542             libsrcdir="$$s/gnuserv";; \
9543           *) \
9544             srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9545             libsrcdir="$$s/gnuserv";; \
9546         esac; \
9547         $(SHELL) $${libsrcdir}/configure \
9548           $(HOST_CONFIGARGS) $${srcdiroption}  \
9549           || exit 1
9550 @endif gnuserv
9551
9552 .PHONY: all-gnuserv maybe-all-gnuserv
9553 maybe-all-gnuserv:
9554 @if gnuserv
9555 TARGET-gnuserv=all
9556 maybe-all-gnuserv: all-gnuserv
9557 all-gnuserv: configure-gnuserv
9558         @r=`${PWD_COMMAND}`; export r; \
9559         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9560         $(SET_LIB_PATH) \
9561         $(HOST_EXPORTS) \
9562         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS)  \
9563           $(TARGET-gnuserv))
9564 @endif gnuserv
9565
9566 .PHONY: check-gnuserv maybe-check-gnuserv
9567 maybe-check-gnuserv:
9568 @if gnuserv
9569 maybe-check-gnuserv: check-gnuserv
9570
9571 check-gnuserv:
9572         @r=`${PWD_COMMAND}`; export r; \
9573         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9574         $(SET_LIB_PATH) \
9575         $(HOST_EXPORTS) \
9576         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9577
9578 @endif gnuserv
9579
9580 .PHONY: install-gnuserv maybe-install-gnuserv
9581 maybe-install-gnuserv:
9582 @if gnuserv
9583 maybe-install-gnuserv: install-gnuserv
9584
9585 install-gnuserv: installdirs
9586         @r=`${PWD_COMMAND}`; export r; \
9587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9588         $(SET_LIB_PATH) \
9589         $(HOST_EXPORTS) \
9590         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9591
9592 @endif gnuserv
9593
9594 # Other targets (info, dvi, etc.)
9595
9596 .PHONY: maybe-info-gnuserv info-gnuserv
9597 maybe-info-gnuserv:
9598 @if gnuserv
9599 maybe-info-gnuserv: info-gnuserv
9600
9601 info-gnuserv: \
9602     configure-gnuserv 
9603         @[ -f ./gnuserv/Makefile ] || exit 0; \
9604         r=`${PWD_COMMAND}`; export r; \
9605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9606         $(SET_LIB_PATH) \
9607         $(HOST_EXPORTS) \
9608         for flag in $(EXTRA_HOST_FLAGS) ; do \
9609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9610         done; \
9611         echo "Doing info in gnuserv" ; \
9612         (cd gnuserv && \
9613           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9614                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9615                   "RANLIB=$${RANLIB}" \
9616                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9617                   info) \
9618           || exit 1
9619
9620 @endif gnuserv
9621
9622 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9623 maybe-dvi-gnuserv:
9624 @if gnuserv
9625 maybe-dvi-gnuserv: dvi-gnuserv
9626
9627 dvi-gnuserv: \
9628     configure-gnuserv 
9629         @[ -f ./gnuserv/Makefile ] || exit 0; \
9630         r=`${PWD_COMMAND}`; export r; \
9631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9632         $(SET_LIB_PATH) \
9633         $(HOST_EXPORTS) \
9634         for flag in $(EXTRA_HOST_FLAGS) ; do \
9635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9636         done; \
9637         echo "Doing dvi in gnuserv" ; \
9638         (cd gnuserv && \
9639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641                   "RANLIB=$${RANLIB}" \
9642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9643                   dvi) \
9644           || exit 1
9645
9646 @endif gnuserv
9647
9648 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9649 maybe-TAGS-gnuserv:
9650 @if gnuserv
9651 maybe-TAGS-gnuserv: TAGS-gnuserv
9652
9653 TAGS-gnuserv: \
9654     configure-gnuserv 
9655         @[ -f ./gnuserv/Makefile ] || exit 0; \
9656         r=`${PWD_COMMAND}`; export r; \
9657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9658         $(SET_LIB_PATH) \
9659         $(HOST_EXPORTS) \
9660         for flag in $(EXTRA_HOST_FLAGS) ; do \
9661           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9662         done; \
9663         echo "Doing TAGS in gnuserv" ; \
9664         (cd gnuserv && \
9665           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667                   "RANLIB=$${RANLIB}" \
9668                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9669                   TAGS) \
9670           || exit 1
9671
9672 @endif gnuserv
9673
9674 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9675 maybe-install-info-gnuserv:
9676 @if gnuserv
9677 maybe-install-info-gnuserv: install-info-gnuserv
9678
9679 install-info-gnuserv: \
9680     configure-gnuserv \
9681     info-gnuserv 
9682         @[ -f ./gnuserv/Makefile ] || exit 0; \
9683         r=`${PWD_COMMAND}`; export r; \
9684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9685         $(SET_LIB_PATH) \
9686         $(HOST_EXPORTS) \
9687         for flag in $(EXTRA_HOST_FLAGS) ; do \
9688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9689         done; \
9690         echo "Doing install-info in gnuserv" ; \
9691         (cd gnuserv && \
9692           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9693                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9694                   "RANLIB=$${RANLIB}" \
9695                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9696                   install-info) \
9697           || exit 1
9698
9699 @endif gnuserv
9700
9701 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9702 maybe-installcheck-gnuserv:
9703 @if gnuserv
9704 maybe-installcheck-gnuserv: installcheck-gnuserv
9705
9706 installcheck-gnuserv: \
9707     configure-gnuserv 
9708         @[ -f ./gnuserv/Makefile ] || exit 0; \
9709         r=`${PWD_COMMAND}`; export r; \
9710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711         $(SET_LIB_PATH) \
9712         $(HOST_EXPORTS) \
9713         for flag in $(EXTRA_HOST_FLAGS) ; do \
9714           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9715         done; \
9716         echo "Doing installcheck in gnuserv" ; \
9717         (cd gnuserv && \
9718           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9719                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9720                   "RANLIB=$${RANLIB}" \
9721                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9722                   installcheck) \
9723           || exit 1
9724
9725 @endif gnuserv
9726
9727 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9728 maybe-mostlyclean-gnuserv:
9729 @if gnuserv
9730 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9731
9732 mostlyclean-gnuserv: 
9733         @[ -f ./gnuserv/Makefile ] || exit 0; \
9734         r=`${PWD_COMMAND}`; export r; \
9735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9736         $(SET_LIB_PATH) \
9737         $(HOST_EXPORTS) \
9738         for flag in $(EXTRA_HOST_FLAGS) ; do \
9739           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9740         done; \
9741         echo "Doing mostlyclean in gnuserv" ; \
9742         (cd gnuserv && \
9743           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9744                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9745                   "RANLIB=$${RANLIB}" \
9746                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9747                   mostlyclean) \
9748           || exit 1
9749
9750 @endif gnuserv
9751
9752 .PHONY: maybe-clean-gnuserv clean-gnuserv
9753 maybe-clean-gnuserv:
9754 @if gnuserv
9755 maybe-clean-gnuserv: clean-gnuserv
9756
9757 clean-gnuserv: 
9758         @[ -f ./gnuserv/Makefile ] || exit 0; \
9759         r=`${PWD_COMMAND}`; export r; \
9760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9761         $(SET_LIB_PATH) \
9762         $(HOST_EXPORTS) \
9763         for flag in $(EXTRA_HOST_FLAGS) ; do \
9764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9765         done; \
9766         echo "Doing clean in gnuserv" ; \
9767         (cd gnuserv && \
9768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9770                   "RANLIB=$${RANLIB}" \
9771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9772                   clean) \
9773           || exit 1
9774
9775 @endif gnuserv
9776
9777 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9778 maybe-distclean-gnuserv:
9779 @if gnuserv
9780 maybe-distclean-gnuserv: distclean-gnuserv
9781
9782 distclean-gnuserv: 
9783         @[ -f ./gnuserv/Makefile ] || exit 0; \
9784         r=`${PWD_COMMAND}`; export r; \
9785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9786         $(SET_LIB_PATH) \
9787         $(HOST_EXPORTS) \
9788         for flag in $(EXTRA_HOST_FLAGS) ; do \
9789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9790         done; \
9791         echo "Doing distclean in gnuserv" ; \
9792         (cd gnuserv && \
9793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9795                   "RANLIB=$${RANLIB}" \
9796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9797                   distclean) \
9798           || exit 1
9799
9800 @endif gnuserv
9801
9802 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9803 maybe-maintainer-clean-gnuserv:
9804 @if gnuserv
9805 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9806
9807 maintainer-clean-gnuserv: 
9808         @[ -f ./gnuserv/Makefile ] || exit 0; \
9809         r=`${PWD_COMMAND}`; export r; \
9810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811         $(SET_LIB_PATH) \
9812         $(HOST_EXPORTS) \
9813         for flag in $(EXTRA_HOST_FLAGS) ; do \
9814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9815         done; \
9816         echo "Doing maintainer-clean in gnuserv" ; \
9817         (cd gnuserv && \
9818           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9819                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9820                   "RANLIB=$${RANLIB}" \
9821                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9822                   maintainer-clean) \
9823           || exit 1
9824
9825 @endif gnuserv
9826
9827
9828 .PHONY: configure-gprof maybe-configure-gprof
9829 maybe-configure-gprof:
9830 @if gprof
9831 maybe-configure-gprof: configure-gprof
9832 configure-gprof:
9833         @test ! -f gprof/Makefile || exit 0; \
9834         [ -d gprof ] || mkdir gprof; \
9835         r=`${PWD_COMMAND}`; export r; \
9836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9837         $(HOST_EXPORTS) \
9838         echo Configuring in gprof; \
9839         cd gprof || exit 1; \
9840         case $(srcdir) in \
9841           \.) \
9842             srcdiroption="--srcdir=."; \
9843             libsrcdir=".";; \
9844           /* | [A-Za-z]:[\\/]*) \
9845             srcdiroption="--srcdir=$(srcdir)/gprof"; \
9846             libsrcdir="$$s/gprof";; \
9847           *) \
9848             srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9849             libsrcdir="$$s/gprof";; \
9850         esac; \
9851         $(SHELL) $${libsrcdir}/configure \
9852           $(HOST_CONFIGARGS) $${srcdiroption}  \
9853           || exit 1
9854 @endif gprof
9855
9856 .PHONY: all-gprof maybe-all-gprof
9857 maybe-all-gprof:
9858 @if gprof
9859 TARGET-gprof=all
9860 maybe-all-gprof: all-gprof
9861 all-gprof: configure-gprof
9862         @r=`${PWD_COMMAND}`; export r; \
9863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9864         $(SET_LIB_PATH) \
9865         $(HOST_EXPORTS) \
9866         (cd gprof && $(MAKE) $(FLAGS_TO_PASS)  \
9867           $(TARGET-gprof))
9868 @endif gprof
9869
9870 .PHONY: check-gprof maybe-check-gprof
9871 maybe-check-gprof:
9872 @if gprof
9873 maybe-check-gprof: check-gprof
9874
9875 check-gprof:
9876         @r=`${PWD_COMMAND}`; export r; \
9877         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9878         $(SET_LIB_PATH) \
9879         $(HOST_EXPORTS) \
9880         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9881
9882 @endif gprof
9883
9884 .PHONY: install-gprof maybe-install-gprof
9885 maybe-install-gprof:
9886 @if gprof
9887 maybe-install-gprof: install-gprof
9888
9889 install-gprof: installdirs
9890         @r=`${PWD_COMMAND}`; export r; \
9891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9892         $(SET_LIB_PATH) \
9893         $(HOST_EXPORTS) \
9894         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9895
9896 @endif gprof
9897
9898 # Other targets (info, dvi, etc.)
9899
9900 .PHONY: maybe-info-gprof info-gprof
9901 maybe-info-gprof:
9902 @if gprof
9903 maybe-info-gprof: info-gprof
9904
9905 info-gprof: \
9906     configure-gprof 
9907         @[ -f ./gprof/Makefile ] || exit 0; \
9908         r=`${PWD_COMMAND}`; export r; \
9909         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9910         $(SET_LIB_PATH) \
9911         $(HOST_EXPORTS) \
9912         for flag in $(EXTRA_HOST_FLAGS) ; do \
9913           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9914         done; \
9915         echo "Doing info in gprof" ; \
9916         (cd gprof && \
9917           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9918                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9919                   "RANLIB=$${RANLIB}" \
9920                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9921                   info) \
9922           || exit 1
9923
9924 @endif gprof
9925
9926 .PHONY: maybe-dvi-gprof dvi-gprof
9927 maybe-dvi-gprof:
9928 @if gprof
9929 maybe-dvi-gprof: dvi-gprof
9930
9931 dvi-gprof: \
9932     configure-gprof 
9933         @[ -f ./gprof/Makefile ] || exit 0; \
9934         r=`${PWD_COMMAND}`; export r; \
9935         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9936         $(SET_LIB_PATH) \
9937         $(HOST_EXPORTS) \
9938         for flag in $(EXTRA_HOST_FLAGS) ; do \
9939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9940         done; \
9941         echo "Doing dvi in gprof" ; \
9942         (cd gprof && \
9943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9945                   "RANLIB=$${RANLIB}" \
9946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9947                   dvi) \
9948           || exit 1
9949
9950 @endif gprof
9951
9952 .PHONY: maybe-TAGS-gprof TAGS-gprof
9953 maybe-TAGS-gprof:
9954 @if gprof
9955 maybe-TAGS-gprof: TAGS-gprof
9956
9957 TAGS-gprof: \
9958     configure-gprof 
9959         @[ -f ./gprof/Makefile ] || exit 0; \
9960         r=`${PWD_COMMAND}`; export r; \
9961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9962         $(SET_LIB_PATH) \
9963         $(HOST_EXPORTS) \
9964         for flag in $(EXTRA_HOST_FLAGS) ; do \
9965           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9966         done; \
9967         echo "Doing TAGS in gprof" ; \
9968         (cd gprof && \
9969           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9970                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9971                   "RANLIB=$${RANLIB}" \
9972                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9973                   TAGS) \
9974           || exit 1
9975
9976 @endif gprof
9977
9978 .PHONY: maybe-install-info-gprof install-info-gprof
9979 maybe-install-info-gprof:
9980 @if gprof
9981 maybe-install-info-gprof: install-info-gprof
9982
9983 install-info-gprof: \
9984     configure-gprof \
9985     info-gprof 
9986         @[ -f ./gprof/Makefile ] || exit 0; \
9987         r=`${PWD_COMMAND}`; export r; \
9988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9989         $(SET_LIB_PATH) \
9990         $(HOST_EXPORTS) \
9991         for flag in $(EXTRA_HOST_FLAGS) ; do \
9992           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9993         done; \
9994         echo "Doing install-info in gprof" ; \
9995         (cd gprof && \
9996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9998                   "RANLIB=$${RANLIB}" \
9999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10000                   install-info) \
10001           || exit 1
10002
10003 @endif gprof
10004
10005 .PHONY: maybe-installcheck-gprof installcheck-gprof
10006 maybe-installcheck-gprof:
10007 @if gprof
10008 maybe-installcheck-gprof: installcheck-gprof
10009
10010 installcheck-gprof: \
10011     configure-gprof 
10012         @[ -f ./gprof/Makefile ] || exit 0; \
10013         r=`${PWD_COMMAND}`; export r; \
10014         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10015         $(SET_LIB_PATH) \
10016         $(HOST_EXPORTS) \
10017         for flag in $(EXTRA_HOST_FLAGS) ; do \
10018           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10019         done; \
10020         echo "Doing installcheck in gprof" ; \
10021         (cd gprof && \
10022           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10023                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10024                   "RANLIB=$${RANLIB}" \
10025                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10026                   installcheck) \
10027           || exit 1
10028
10029 @endif gprof
10030
10031 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10032 maybe-mostlyclean-gprof:
10033 @if gprof
10034 maybe-mostlyclean-gprof: mostlyclean-gprof
10035
10036 mostlyclean-gprof: 
10037         @[ -f ./gprof/Makefile ] || exit 0; \
10038         r=`${PWD_COMMAND}`; export r; \
10039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10040         $(SET_LIB_PATH) \
10041         $(HOST_EXPORTS) \
10042         for flag in $(EXTRA_HOST_FLAGS) ; do \
10043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10044         done; \
10045         echo "Doing mostlyclean in gprof" ; \
10046         (cd gprof && \
10047           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10048                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10049                   "RANLIB=$${RANLIB}" \
10050                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10051                   mostlyclean) \
10052           || exit 1
10053
10054 @endif gprof
10055
10056 .PHONY: maybe-clean-gprof clean-gprof
10057 maybe-clean-gprof:
10058 @if gprof
10059 maybe-clean-gprof: clean-gprof
10060
10061 clean-gprof: 
10062         @[ -f ./gprof/Makefile ] || exit 0; \
10063         r=`${PWD_COMMAND}`; export r; \
10064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065         $(SET_LIB_PATH) \
10066         $(HOST_EXPORTS) \
10067         for flag in $(EXTRA_HOST_FLAGS) ; do \
10068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10069         done; \
10070         echo "Doing clean in gprof" ; \
10071         (cd gprof && \
10072           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10073                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10074                   "RANLIB=$${RANLIB}" \
10075                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10076                   clean) \
10077           || exit 1
10078
10079 @endif gprof
10080
10081 .PHONY: maybe-distclean-gprof distclean-gprof
10082 maybe-distclean-gprof:
10083 @if gprof
10084 maybe-distclean-gprof: distclean-gprof
10085
10086 distclean-gprof: 
10087         @[ -f ./gprof/Makefile ] || exit 0; \
10088         r=`${PWD_COMMAND}`; export r; \
10089         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10090         $(SET_LIB_PATH) \
10091         $(HOST_EXPORTS) \
10092         for flag in $(EXTRA_HOST_FLAGS) ; do \
10093           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10094         done; \
10095         echo "Doing distclean in gprof" ; \
10096         (cd gprof && \
10097           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10098                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10099                   "RANLIB=$${RANLIB}" \
10100                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10101                   distclean) \
10102           || exit 1
10103
10104 @endif gprof
10105
10106 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10107 maybe-maintainer-clean-gprof:
10108 @if gprof
10109 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10110
10111 maintainer-clean-gprof: 
10112         @[ -f ./gprof/Makefile ] || exit 0; \
10113         r=`${PWD_COMMAND}`; export r; \
10114         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10115         $(SET_LIB_PATH) \
10116         $(HOST_EXPORTS) \
10117         for flag in $(EXTRA_HOST_FLAGS) ; do \
10118           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10119         done; \
10120         echo "Doing maintainer-clean in gprof" ; \
10121         (cd gprof && \
10122           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10123                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10124                   "RANLIB=$${RANLIB}" \
10125                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10126                   maintainer-clean) \
10127           || exit 1
10128
10129 @endif gprof
10130
10131
10132 .PHONY: configure-gzip maybe-configure-gzip
10133 maybe-configure-gzip:
10134 @if gzip
10135 maybe-configure-gzip: configure-gzip
10136 configure-gzip:
10137         @test ! -f gzip/Makefile || exit 0; \
10138         [ -d gzip ] || mkdir gzip; \
10139         r=`${PWD_COMMAND}`; export r; \
10140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10141         $(HOST_EXPORTS) \
10142         echo Configuring in gzip; \
10143         cd gzip || exit 1; \
10144         case $(srcdir) in \
10145           \.) \
10146             srcdiroption="--srcdir=."; \
10147             libsrcdir=".";; \
10148           /* | [A-Za-z]:[\\/]*) \
10149             srcdiroption="--srcdir=$(srcdir)/gzip"; \
10150             libsrcdir="$$s/gzip";; \
10151           *) \
10152             srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10153             libsrcdir="$$s/gzip";; \
10154         esac; \
10155         $(SHELL) $${libsrcdir}/configure \
10156           $(HOST_CONFIGARGS) $${srcdiroption}  \
10157           || exit 1
10158 @endif gzip
10159
10160 .PHONY: all-gzip maybe-all-gzip
10161 maybe-all-gzip:
10162 @if gzip
10163 TARGET-gzip=all
10164 maybe-all-gzip: all-gzip
10165 all-gzip: configure-gzip
10166         @r=`${PWD_COMMAND}`; export r; \
10167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10168         $(SET_LIB_PATH) \
10169         $(HOST_EXPORTS) \
10170         (cd gzip && $(MAKE) $(FLAGS_TO_PASS)  \
10171           $(TARGET-gzip))
10172 @endif gzip
10173
10174 .PHONY: check-gzip maybe-check-gzip
10175 maybe-check-gzip:
10176 @if gzip
10177 maybe-check-gzip: check-gzip
10178
10179 check-gzip:
10180         @r=`${PWD_COMMAND}`; export r; \
10181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10182         $(SET_LIB_PATH) \
10183         $(HOST_EXPORTS) \
10184         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10185
10186 @endif gzip
10187
10188 .PHONY: install-gzip maybe-install-gzip
10189 maybe-install-gzip:
10190 @if gzip
10191 maybe-install-gzip: install-gzip
10192
10193 install-gzip: installdirs
10194         @r=`${PWD_COMMAND}`; export r; \
10195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10196         $(SET_LIB_PATH) \
10197         $(HOST_EXPORTS) \
10198         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10199
10200 @endif gzip
10201
10202 # Other targets (info, dvi, etc.)
10203
10204 .PHONY: maybe-info-gzip info-gzip
10205 maybe-info-gzip:
10206 @if gzip
10207 maybe-info-gzip: info-gzip
10208
10209 info-gzip: \
10210     configure-gzip 
10211         @[ -f ./gzip/Makefile ] || exit 0; \
10212         r=`${PWD_COMMAND}`; export r; \
10213         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10214         $(SET_LIB_PATH) \
10215         $(HOST_EXPORTS) \
10216         for flag in $(EXTRA_HOST_FLAGS) ; do \
10217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10218         done; \
10219         echo "Doing info in gzip" ; \
10220         (cd gzip && \
10221           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10222                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10223                   "RANLIB=$${RANLIB}" \
10224                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10225                   info) \
10226           || exit 1
10227
10228 @endif gzip
10229
10230 .PHONY: maybe-dvi-gzip dvi-gzip
10231 maybe-dvi-gzip:
10232 @if gzip
10233 maybe-dvi-gzip: dvi-gzip
10234
10235 dvi-gzip: \
10236     configure-gzip 
10237         @[ -f ./gzip/Makefile ] || exit 0; \
10238         r=`${PWD_COMMAND}`; export r; \
10239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10240         $(SET_LIB_PATH) \
10241         $(HOST_EXPORTS) \
10242         for flag in $(EXTRA_HOST_FLAGS) ; do \
10243           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10244         done; \
10245         echo "Doing dvi in gzip" ; \
10246         (cd gzip && \
10247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10249                   "RANLIB=$${RANLIB}" \
10250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10251                   dvi) \
10252           || exit 1
10253
10254 @endif gzip
10255
10256 .PHONY: maybe-TAGS-gzip TAGS-gzip
10257 maybe-TAGS-gzip:
10258 @if gzip
10259 maybe-TAGS-gzip: TAGS-gzip
10260
10261 TAGS-gzip: \
10262     configure-gzip 
10263         @[ -f ./gzip/Makefile ] || exit 0; \
10264         r=`${PWD_COMMAND}`; export r; \
10265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10266         $(SET_LIB_PATH) \
10267         $(HOST_EXPORTS) \
10268         for flag in $(EXTRA_HOST_FLAGS) ; do \
10269           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10270         done; \
10271         echo "Doing TAGS in gzip" ; \
10272         (cd gzip && \
10273           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10274                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10275                   "RANLIB=$${RANLIB}" \
10276                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10277                   TAGS) \
10278           || exit 1
10279
10280 @endif gzip
10281
10282 .PHONY: maybe-install-info-gzip install-info-gzip
10283 maybe-install-info-gzip:
10284 @if gzip
10285 maybe-install-info-gzip: install-info-gzip
10286
10287 install-info-gzip: \
10288     configure-gzip \
10289     info-gzip 
10290         @[ -f ./gzip/Makefile ] || exit 0; \
10291         r=`${PWD_COMMAND}`; export r; \
10292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10293         $(SET_LIB_PATH) \
10294         $(HOST_EXPORTS) \
10295         for flag in $(EXTRA_HOST_FLAGS) ; do \
10296           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10297         done; \
10298         echo "Doing install-info in gzip" ; \
10299         (cd gzip && \
10300           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10301                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10302                   "RANLIB=$${RANLIB}" \
10303                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10304                   install-info) \
10305           || exit 1
10306
10307 @endif gzip
10308
10309 .PHONY: maybe-installcheck-gzip installcheck-gzip
10310 maybe-installcheck-gzip:
10311 @if gzip
10312 maybe-installcheck-gzip: installcheck-gzip
10313
10314 installcheck-gzip: \
10315     configure-gzip 
10316         @[ -f ./gzip/Makefile ] || exit 0; \
10317         r=`${PWD_COMMAND}`; export r; \
10318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10319         $(SET_LIB_PATH) \
10320         $(HOST_EXPORTS) \
10321         for flag in $(EXTRA_HOST_FLAGS) ; do \
10322           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10323         done; \
10324         echo "Doing installcheck in gzip" ; \
10325         (cd gzip && \
10326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10328                   "RANLIB=$${RANLIB}" \
10329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10330                   installcheck) \
10331           || exit 1
10332
10333 @endif gzip
10334
10335 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10336 maybe-mostlyclean-gzip:
10337 @if gzip
10338 maybe-mostlyclean-gzip: mostlyclean-gzip
10339
10340 mostlyclean-gzip: 
10341         @[ -f ./gzip/Makefile ] || exit 0; \
10342         r=`${PWD_COMMAND}`; export r; \
10343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10344         $(SET_LIB_PATH) \
10345         $(HOST_EXPORTS) \
10346         for flag in $(EXTRA_HOST_FLAGS) ; do \
10347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10348         done; \
10349         echo "Doing mostlyclean in gzip" ; \
10350         (cd gzip && \
10351           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10352                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10353                   "RANLIB=$${RANLIB}" \
10354                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10355                   mostlyclean) \
10356           || exit 1
10357
10358 @endif gzip
10359
10360 .PHONY: maybe-clean-gzip clean-gzip
10361 maybe-clean-gzip:
10362 @if gzip
10363 maybe-clean-gzip: clean-gzip
10364
10365 clean-gzip: 
10366         @[ -f ./gzip/Makefile ] || exit 0; \
10367         r=`${PWD_COMMAND}`; export r; \
10368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10369         $(SET_LIB_PATH) \
10370         $(HOST_EXPORTS) \
10371         for flag in $(EXTRA_HOST_FLAGS) ; do \
10372           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10373         done; \
10374         echo "Doing clean in gzip" ; \
10375         (cd gzip && \
10376           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10377                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10378                   "RANLIB=$${RANLIB}" \
10379                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10380                   clean) \
10381           || exit 1
10382
10383 @endif gzip
10384
10385 .PHONY: maybe-distclean-gzip distclean-gzip
10386 maybe-distclean-gzip:
10387 @if gzip
10388 maybe-distclean-gzip: distclean-gzip
10389
10390 distclean-gzip: 
10391         @[ -f ./gzip/Makefile ] || exit 0; \
10392         r=`${PWD_COMMAND}`; export r; \
10393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394         $(SET_LIB_PATH) \
10395         $(HOST_EXPORTS) \
10396         for flag in $(EXTRA_HOST_FLAGS) ; do \
10397           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10398         done; \
10399         echo "Doing distclean in gzip" ; \
10400         (cd gzip && \
10401           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10402                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10403                   "RANLIB=$${RANLIB}" \
10404                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10405                   distclean) \
10406           || exit 1
10407
10408 @endif gzip
10409
10410 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10411 maybe-maintainer-clean-gzip:
10412 @if gzip
10413 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10414
10415 maintainer-clean-gzip: 
10416         @[ -f ./gzip/Makefile ] || exit 0; \
10417         r=`${PWD_COMMAND}`; export r; \
10418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10419         $(SET_LIB_PATH) \
10420         $(HOST_EXPORTS) \
10421         for flag in $(EXTRA_HOST_FLAGS) ; do \
10422           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10423         done; \
10424         echo "Doing maintainer-clean in gzip" ; \
10425         (cd gzip && \
10426           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10427                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10428                   "RANLIB=$${RANLIB}" \
10429                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10430                   maintainer-clean) \
10431           || exit 1
10432
10433 @endif gzip
10434
10435
10436 .PHONY: configure-hello maybe-configure-hello
10437 maybe-configure-hello:
10438 @if hello
10439 maybe-configure-hello: configure-hello
10440 configure-hello:
10441         @test ! -f hello/Makefile || exit 0; \
10442         [ -d hello ] || mkdir hello; \
10443         r=`${PWD_COMMAND}`; export r; \
10444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10445         $(HOST_EXPORTS) \
10446         echo Configuring in hello; \
10447         cd hello || exit 1; \
10448         case $(srcdir) in \
10449           \.) \
10450             srcdiroption="--srcdir=."; \
10451             libsrcdir=".";; \
10452           /* | [A-Za-z]:[\\/]*) \
10453             srcdiroption="--srcdir=$(srcdir)/hello"; \
10454             libsrcdir="$$s/hello";; \
10455           *) \
10456             srcdiroption="--srcdir=../$(srcdir)/hello"; \
10457             libsrcdir="$$s/hello";; \
10458         esac; \
10459         $(SHELL) $${libsrcdir}/configure \
10460           $(HOST_CONFIGARGS) $${srcdiroption}  \
10461           || exit 1
10462 @endif hello
10463
10464 .PHONY: all-hello maybe-all-hello
10465 maybe-all-hello:
10466 @if hello
10467 TARGET-hello=all
10468 maybe-all-hello: all-hello
10469 all-hello: configure-hello
10470         @r=`${PWD_COMMAND}`; export r; \
10471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10472         $(SET_LIB_PATH) \
10473         $(HOST_EXPORTS) \
10474         (cd hello && $(MAKE) $(FLAGS_TO_PASS)  \
10475           $(TARGET-hello))
10476 @endif hello
10477
10478 .PHONY: check-hello maybe-check-hello
10479 maybe-check-hello:
10480 @if hello
10481 maybe-check-hello: check-hello
10482
10483 check-hello:
10484         @r=`${PWD_COMMAND}`; export r; \
10485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10486         $(SET_LIB_PATH) \
10487         $(HOST_EXPORTS) \
10488         (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10489
10490 @endif hello
10491
10492 .PHONY: install-hello maybe-install-hello
10493 maybe-install-hello:
10494 @if hello
10495 maybe-install-hello: install-hello
10496
10497 install-hello: installdirs
10498         @r=`${PWD_COMMAND}`; export r; \
10499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10500         $(SET_LIB_PATH) \
10501         $(HOST_EXPORTS) \
10502         (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10503
10504 @endif hello
10505
10506 # Other targets (info, dvi, etc.)
10507
10508 .PHONY: maybe-info-hello info-hello
10509 maybe-info-hello:
10510 @if hello
10511 maybe-info-hello: info-hello
10512
10513 info-hello: \
10514     configure-hello 
10515         @[ -f ./hello/Makefile ] || exit 0; \
10516         r=`${PWD_COMMAND}`; export r; \
10517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10518         $(SET_LIB_PATH) \
10519         $(HOST_EXPORTS) \
10520         for flag in $(EXTRA_HOST_FLAGS) ; do \
10521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10522         done; \
10523         echo "Doing info in hello" ; \
10524         (cd hello && \
10525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10527                   "RANLIB=$${RANLIB}" \
10528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10529                   info) \
10530           || exit 1
10531
10532 @endif hello
10533
10534 .PHONY: maybe-dvi-hello dvi-hello
10535 maybe-dvi-hello:
10536 @if hello
10537 maybe-dvi-hello: dvi-hello
10538
10539 dvi-hello: \
10540     configure-hello 
10541         @[ -f ./hello/Makefile ] || exit 0; \
10542         r=`${PWD_COMMAND}`; export r; \
10543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10544         $(SET_LIB_PATH) \
10545         $(HOST_EXPORTS) \
10546         for flag in $(EXTRA_HOST_FLAGS) ; do \
10547           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10548         done; \
10549         echo "Doing dvi in hello" ; \
10550         (cd hello && \
10551           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10552                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10553                   "RANLIB=$${RANLIB}" \
10554                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10555                   dvi) \
10556           || exit 1
10557
10558 @endif hello
10559
10560 .PHONY: maybe-TAGS-hello TAGS-hello
10561 maybe-TAGS-hello:
10562 @if hello
10563 maybe-TAGS-hello: TAGS-hello
10564
10565 TAGS-hello: \
10566     configure-hello 
10567         @[ -f ./hello/Makefile ] || exit 0; \
10568         r=`${PWD_COMMAND}`; export r; \
10569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10570         $(SET_LIB_PATH) \
10571         $(HOST_EXPORTS) \
10572         for flag in $(EXTRA_HOST_FLAGS) ; do \
10573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10574         done; \
10575         echo "Doing TAGS in hello" ; \
10576         (cd hello && \
10577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10579                   "RANLIB=$${RANLIB}" \
10580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10581                   TAGS) \
10582           || exit 1
10583
10584 @endif hello
10585
10586 .PHONY: maybe-install-info-hello install-info-hello
10587 maybe-install-info-hello:
10588 @if hello
10589 maybe-install-info-hello: install-info-hello
10590
10591 install-info-hello: \
10592     configure-hello \
10593     info-hello 
10594         @[ -f ./hello/Makefile ] || exit 0; \
10595         r=`${PWD_COMMAND}`; export r; \
10596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597         $(SET_LIB_PATH) \
10598         $(HOST_EXPORTS) \
10599         for flag in $(EXTRA_HOST_FLAGS) ; do \
10600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10601         done; \
10602         echo "Doing install-info in hello" ; \
10603         (cd hello && \
10604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10606                   "RANLIB=$${RANLIB}" \
10607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10608                   install-info) \
10609           || exit 1
10610
10611 @endif hello
10612
10613 .PHONY: maybe-installcheck-hello installcheck-hello
10614 maybe-installcheck-hello:
10615 @if hello
10616 maybe-installcheck-hello: installcheck-hello
10617
10618 installcheck-hello: \
10619     configure-hello 
10620         @[ -f ./hello/Makefile ] || exit 0; \
10621         r=`${PWD_COMMAND}`; export r; \
10622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10623         $(SET_LIB_PATH) \
10624         $(HOST_EXPORTS) \
10625         for flag in $(EXTRA_HOST_FLAGS) ; do \
10626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10627         done; \
10628         echo "Doing installcheck in hello" ; \
10629         (cd hello && \
10630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10632                   "RANLIB=$${RANLIB}" \
10633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10634                   installcheck) \
10635           || exit 1
10636
10637 @endif hello
10638
10639 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10640 maybe-mostlyclean-hello:
10641 @if hello
10642 maybe-mostlyclean-hello: mostlyclean-hello
10643
10644 mostlyclean-hello: 
10645         @[ -f ./hello/Makefile ] || exit 0; \
10646         r=`${PWD_COMMAND}`; export r; \
10647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10648         $(SET_LIB_PATH) \
10649         $(HOST_EXPORTS) \
10650         for flag in $(EXTRA_HOST_FLAGS) ; do \
10651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10652         done; \
10653         echo "Doing mostlyclean in hello" ; \
10654         (cd hello && \
10655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10657                   "RANLIB=$${RANLIB}" \
10658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10659                   mostlyclean) \
10660           || exit 1
10661
10662 @endif hello
10663
10664 .PHONY: maybe-clean-hello clean-hello
10665 maybe-clean-hello:
10666 @if hello
10667 maybe-clean-hello: clean-hello
10668
10669 clean-hello: 
10670         @[ -f ./hello/Makefile ] || exit 0; \
10671         r=`${PWD_COMMAND}`; export r; \
10672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10673         $(SET_LIB_PATH) \
10674         $(HOST_EXPORTS) \
10675         for flag in $(EXTRA_HOST_FLAGS) ; do \
10676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10677         done; \
10678         echo "Doing clean in hello" ; \
10679         (cd hello && \
10680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10682                   "RANLIB=$${RANLIB}" \
10683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10684                   clean) \
10685           || exit 1
10686
10687 @endif hello
10688
10689 .PHONY: maybe-distclean-hello distclean-hello
10690 maybe-distclean-hello:
10691 @if hello
10692 maybe-distclean-hello: distclean-hello
10693
10694 distclean-hello: 
10695         @[ -f ./hello/Makefile ] || exit 0; \
10696         r=`${PWD_COMMAND}`; export r; \
10697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698         $(SET_LIB_PATH) \
10699         $(HOST_EXPORTS) \
10700         for flag in $(EXTRA_HOST_FLAGS) ; do \
10701           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10702         done; \
10703         echo "Doing distclean in hello" ; \
10704         (cd hello && \
10705           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10706                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10707                   "RANLIB=$${RANLIB}" \
10708                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10709                   distclean) \
10710           || exit 1
10711
10712 @endif hello
10713
10714 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10715 maybe-maintainer-clean-hello:
10716 @if hello
10717 maybe-maintainer-clean-hello: maintainer-clean-hello
10718
10719 maintainer-clean-hello: 
10720         @[ -f ./hello/Makefile ] || exit 0; \
10721         r=`${PWD_COMMAND}`; export r; \
10722         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10723         $(SET_LIB_PATH) \
10724         $(HOST_EXPORTS) \
10725         for flag in $(EXTRA_HOST_FLAGS) ; do \
10726           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10727         done; \
10728         echo "Doing maintainer-clean in hello" ; \
10729         (cd hello && \
10730           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10731                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10732                   "RANLIB=$${RANLIB}" \
10733                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10734                   maintainer-clean) \
10735           || exit 1
10736
10737 @endif hello
10738
10739
10740 .PHONY: configure-indent maybe-configure-indent
10741 maybe-configure-indent:
10742 @if indent
10743 maybe-configure-indent: configure-indent
10744 configure-indent:
10745         @test ! -f indent/Makefile || exit 0; \
10746         [ -d indent ] || mkdir indent; \
10747         r=`${PWD_COMMAND}`; export r; \
10748         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10749         $(HOST_EXPORTS) \
10750         echo Configuring in indent; \
10751         cd indent || exit 1; \
10752         case $(srcdir) in \
10753           \.) \
10754             srcdiroption="--srcdir=."; \
10755             libsrcdir=".";; \
10756           /* | [A-Za-z]:[\\/]*) \
10757             srcdiroption="--srcdir=$(srcdir)/indent"; \
10758             libsrcdir="$$s/indent";; \
10759           *) \
10760             srcdiroption="--srcdir=../$(srcdir)/indent"; \
10761             libsrcdir="$$s/indent";; \
10762         esac; \
10763         $(SHELL) $${libsrcdir}/configure \
10764           $(HOST_CONFIGARGS) $${srcdiroption}  \
10765           || exit 1
10766 @endif indent
10767
10768 .PHONY: all-indent maybe-all-indent
10769 maybe-all-indent:
10770 @if indent
10771 TARGET-indent=all
10772 maybe-all-indent: all-indent
10773 all-indent: configure-indent
10774         @r=`${PWD_COMMAND}`; export r; \
10775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10776         $(SET_LIB_PATH) \
10777         $(HOST_EXPORTS) \
10778         (cd indent && $(MAKE) $(FLAGS_TO_PASS)  \
10779           $(TARGET-indent))
10780 @endif indent
10781
10782 .PHONY: check-indent maybe-check-indent
10783 maybe-check-indent:
10784 @if indent
10785 maybe-check-indent: check-indent
10786
10787 check-indent:
10788         @r=`${PWD_COMMAND}`; export r; \
10789         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790         $(SET_LIB_PATH) \
10791         $(HOST_EXPORTS) \
10792         (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10793
10794 @endif indent
10795
10796 .PHONY: install-indent maybe-install-indent
10797 maybe-install-indent:
10798 @if indent
10799 maybe-install-indent: install-indent
10800
10801 install-indent: installdirs
10802         @r=`${PWD_COMMAND}`; export r; \
10803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804         $(SET_LIB_PATH) \
10805         $(HOST_EXPORTS) \
10806         (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10807
10808 @endif indent
10809
10810 # Other targets (info, dvi, etc.)
10811
10812 .PHONY: maybe-info-indent info-indent
10813 maybe-info-indent:
10814 @if indent
10815 maybe-info-indent: info-indent
10816
10817 info-indent: \
10818     configure-indent 
10819         @[ -f ./indent/Makefile ] || exit 0; \
10820         r=`${PWD_COMMAND}`; export r; \
10821         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10822         $(SET_LIB_PATH) \
10823         $(HOST_EXPORTS) \
10824         for flag in $(EXTRA_HOST_FLAGS) ; do \
10825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10826         done; \
10827         echo "Doing info in indent" ; \
10828         (cd indent && \
10829           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10830                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10831                   "RANLIB=$${RANLIB}" \
10832                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10833                   info) \
10834           || exit 1
10835
10836 @endif indent
10837
10838 .PHONY: maybe-dvi-indent dvi-indent
10839 maybe-dvi-indent:
10840 @if indent
10841 maybe-dvi-indent: dvi-indent
10842
10843 dvi-indent: \
10844     configure-indent 
10845         @[ -f ./indent/Makefile ] || exit 0; \
10846         r=`${PWD_COMMAND}`; export r; \
10847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10848         $(SET_LIB_PATH) \
10849         $(HOST_EXPORTS) \
10850         for flag in $(EXTRA_HOST_FLAGS) ; do \
10851           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10852         done; \
10853         echo "Doing dvi in indent" ; \
10854         (cd indent && \
10855           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10856                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10857                   "RANLIB=$${RANLIB}" \
10858                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10859                   dvi) \
10860           || exit 1
10861
10862 @endif indent
10863
10864 .PHONY: maybe-TAGS-indent TAGS-indent
10865 maybe-TAGS-indent:
10866 @if indent
10867 maybe-TAGS-indent: TAGS-indent
10868
10869 TAGS-indent: \
10870     configure-indent 
10871         @[ -f ./indent/Makefile ] || exit 0; \
10872         r=`${PWD_COMMAND}`; export r; \
10873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10874         $(SET_LIB_PATH) \
10875         $(HOST_EXPORTS) \
10876         for flag in $(EXTRA_HOST_FLAGS) ; do \
10877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10878         done; \
10879         echo "Doing TAGS in indent" ; \
10880         (cd indent && \
10881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10883                   "RANLIB=$${RANLIB}" \
10884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10885                   TAGS) \
10886           || exit 1
10887
10888 @endif indent
10889
10890 .PHONY: maybe-install-info-indent install-info-indent
10891 maybe-install-info-indent:
10892 @if indent
10893 maybe-install-info-indent: install-info-indent
10894
10895 install-info-indent: \
10896     configure-indent \
10897     info-indent 
10898         @[ -f ./indent/Makefile ] || exit 0; \
10899         r=`${PWD_COMMAND}`; export r; \
10900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10901         $(SET_LIB_PATH) \
10902         $(HOST_EXPORTS) \
10903         for flag in $(EXTRA_HOST_FLAGS) ; do \
10904           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10905         done; \
10906         echo "Doing install-info in indent" ; \
10907         (cd indent && \
10908           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10909                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10910                   "RANLIB=$${RANLIB}" \
10911                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10912                   install-info) \
10913           || exit 1
10914
10915 @endif indent
10916
10917 .PHONY: maybe-installcheck-indent installcheck-indent
10918 maybe-installcheck-indent:
10919 @if indent
10920 maybe-installcheck-indent: installcheck-indent
10921
10922 installcheck-indent: \
10923     configure-indent 
10924         @[ -f ./indent/Makefile ] || exit 0; \
10925         r=`${PWD_COMMAND}`; export r; \
10926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10927         $(SET_LIB_PATH) \
10928         $(HOST_EXPORTS) \
10929         for flag in $(EXTRA_HOST_FLAGS) ; do \
10930           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10931         done; \
10932         echo "Doing installcheck in indent" ; \
10933         (cd indent && \
10934           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10935                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10936                   "RANLIB=$${RANLIB}" \
10937                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10938                   installcheck) \
10939           || exit 1
10940
10941 @endif indent
10942
10943 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10944 maybe-mostlyclean-indent:
10945 @if indent
10946 maybe-mostlyclean-indent: mostlyclean-indent
10947
10948 mostlyclean-indent: 
10949         @[ -f ./indent/Makefile ] || exit 0; \
10950         r=`${PWD_COMMAND}`; export r; \
10951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10952         $(SET_LIB_PATH) \
10953         $(HOST_EXPORTS) \
10954         for flag in $(EXTRA_HOST_FLAGS) ; do \
10955           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10956         done; \
10957         echo "Doing mostlyclean in indent" ; \
10958         (cd indent && \
10959           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10960                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10961                   "RANLIB=$${RANLIB}" \
10962                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10963                   mostlyclean) \
10964           || exit 1
10965
10966 @endif indent
10967
10968 .PHONY: maybe-clean-indent clean-indent
10969 maybe-clean-indent:
10970 @if indent
10971 maybe-clean-indent: clean-indent
10972
10973 clean-indent: 
10974         @[ -f ./indent/Makefile ] || exit 0; \
10975         r=`${PWD_COMMAND}`; export r; \
10976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10977         $(SET_LIB_PATH) \
10978         $(HOST_EXPORTS) \
10979         for flag in $(EXTRA_HOST_FLAGS) ; do \
10980           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10981         done; \
10982         echo "Doing clean in indent" ; \
10983         (cd indent && \
10984           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10985                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10986                   "RANLIB=$${RANLIB}" \
10987                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10988                   clean) \
10989           || exit 1
10990
10991 @endif indent
10992
10993 .PHONY: maybe-distclean-indent distclean-indent
10994 maybe-distclean-indent:
10995 @if indent
10996 maybe-distclean-indent: distclean-indent
10997
10998 distclean-indent: 
10999         @[ -f ./indent/Makefile ] || exit 0; \
11000         r=`${PWD_COMMAND}`; export r; \
11001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11002         $(SET_LIB_PATH) \
11003         $(HOST_EXPORTS) \
11004         for flag in $(EXTRA_HOST_FLAGS) ; do \
11005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11006         done; \
11007         echo "Doing distclean in indent" ; \
11008         (cd indent && \
11009           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11010                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11011                   "RANLIB=$${RANLIB}" \
11012                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11013                   distclean) \
11014           || exit 1
11015
11016 @endif indent
11017
11018 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11019 maybe-maintainer-clean-indent:
11020 @if indent
11021 maybe-maintainer-clean-indent: maintainer-clean-indent
11022
11023 maintainer-clean-indent: 
11024         @[ -f ./indent/Makefile ] || exit 0; \
11025         r=`${PWD_COMMAND}`; export r; \
11026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027         $(SET_LIB_PATH) \
11028         $(HOST_EXPORTS) \
11029         for flag in $(EXTRA_HOST_FLAGS) ; do \
11030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11031         done; \
11032         echo "Doing maintainer-clean in indent" ; \
11033         (cd indent && \
11034           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11035                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11036                   "RANLIB=$${RANLIB}" \
11037                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11038                   maintainer-clean) \
11039           || exit 1
11040
11041 @endif indent
11042
11043
11044 .PHONY: configure-intl maybe-configure-intl
11045 maybe-configure-intl:
11046 @if intl
11047 maybe-configure-intl: configure-intl
11048 configure-intl:
11049         @test -f stage_last && exit 0; \
11050         test ! -f intl/Makefile || exit 0; \
11051         [ -d intl ] || mkdir intl; \
11052         r=`${PWD_COMMAND}`; export r; \
11053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11054         $(HOST_EXPORTS) \
11055         echo Configuring in intl; \
11056         cd intl || exit 1; \
11057         case $(srcdir) in \
11058           \.) \
11059             srcdiroption="--srcdir=."; \
11060             libsrcdir=".";; \
11061           /* | [A-Za-z]:[\\/]*) \
11062             srcdiroption="--srcdir=$(srcdir)/intl"; \
11063             libsrcdir="$$s/intl";; \
11064           *) \
11065             srcdiroption="--srcdir=../$(srcdir)/intl"; \
11066             libsrcdir="$$s/intl";; \
11067         esac; \
11068         $(SHELL) $${libsrcdir}/configure \
11069           $(HOST_CONFIGARGS) $${srcdiroption}  \
11070           || exit 1
11071 @endif intl
11072
11073 .PHONY: all-intl maybe-all-intl
11074 maybe-all-intl:
11075 @if intl
11076 TARGET-intl=all
11077 maybe-all-intl: all-intl
11078 all-intl: configure-intl
11079         @test -f stage_last && exit 0; \
11080         r=`${PWD_COMMAND}`; export r; \
11081         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11082         $(SET_LIB_PATH) \
11083         $(HOST_EXPORTS) \
11084         (cd intl && $(MAKE) $(FLAGS_TO_PASS)  \
11085           $(TARGET-intl))
11086 @endif intl
11087
11088 .PHONY: check-intl maybe-check-intl
11089 maybe-check-intl:
11090 @if intl
11091 maybe-check-intl: check-intl
11092
11093 check-intl:
11094         @r=`${PWD_COMMAND}`; export r; \
11095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11096         $(SET_LIB_PATH) \
11097         $(HOST_EXPORTS) \
11098         (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11099
11100 @endif intl
11101
11102 .PHONY: install-intl maybe-install-intl
11103 maybe-install-intl:
11104 @if intl
11105 maybe-install-intl: install-intl
11106
11107 install-intl: installdirs
11108         @r=`${PWD_COMMAND}`; export r; \
11109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11110         $(SET_LIB_PATH) \
11111         $(HOST_EXPORTS) \
11112         (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11113
11114 @endif intl
11115
11116 # Other targets (info, dvi, etc.)
11117
11118 .PHONY: maybe-info-intl info-intl
11119 maybe-info-intl:
11120 @if intl
11121 maybe-info-intl: info-intl
11122
11123 info-intl: \
11124     configure-intl 
11125         @[ -f ./intl/Makefile ] || exit 0; \
11126         r=`${PWD_COMMAND}`; export r; \
11127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128         $(SET_LIB_PATH) \
11129         $(HOST_EXPORTS) \
11130         for flag in $(EXTRA_HOST_FLAGS) ; do \
11131           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132         done; \
11133         echo "Doing info in intl" ; \
11134         (cd intl && \
11135           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11136                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11137                   "RANLIB=$${RANLIB}" \
11138                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11139                   info) \
11140           || exit 1
11141
11142 @endif intl
11143
11144 .PHONY: maybe-dvi-intl dvi-intl
11145 maybe-dvi-intl:
11146 @if intl
11147 maybe-dvi-intl: dvi-intl
11148
11149 dvi-intl: \
11150     configure-intl 
11151         @[ -f ./intl/Makefile ] || exit 0; \
11152         r=`${PWD_COMMAND}`; export r; \
11153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11154         $(SET_LIB_PATH) \
11155         $(HOST_EXPORTS) \
11156         for flag in $(EXTRA_HOST_FLAGS) ; do \
11157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11158         done; \
11159         echo "Doing dvi in intl" ; \
11160         (cd intl && \
11161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11163                   "RANLIB=$${RANLIB}" \
11164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11165                   dvi) \
11166           || exit 1
11167
11168 @endif intl
11169
11170 .PHONY: maybe-TAGS-intl TAGS-intl
11171 maybe-TAGS-intl:
11172 @if intl
11173 maybe-TAGS-intl: TAGS-intl
11174
11175 TAGS-intl: \
11176     configure-intl 
11177         @[ -f ./intl/Makefile ] || exit 0; \
11178         r=`${PWD_COMMAND}`; export r; \
11179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11180         $(SET_LIB_PATH) \
11181         $(HOST_EXPORTS) \
11182         for flag in $(EXTRA_HOST_FLAGS) ; do \
11183           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11184         done; \
11185         echo "Doing TAGS in intl" ; \
11186         (cd intl && \
11187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189                   "RANLIB=$${RANLIB}" \
11190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11191                   TAGS) \
11192           || exit 1
11193
11194 @endif intl
11195
11196 .PHONY: maybe-install-info-intl install-info-intl
11197 maybe-install-info-intl:
11198 @if intl
11199 maybe-install-info-intl: install-info-intl
11200
11201 install-info-intl: \
11202     configure-intl \
11203     info-intl 
11204         @[ -f ./intl/Makefile ] || exit 0; \
11205         r=`${PWD_COMMAND}`; export r; \
11206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207         $(SET_LIB_PATH) \
11208         $(HOST_EXPORTS) \
11209         for flag in $(EXTRA_HOST_FLAGS) ; do \
11210           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11211         done; \
11212         echo "Doing install-info in intl" ; \
11213         (cd intl && \
11214           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11215                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11216                   "RANLIB=$${RANLIB}" \
11217                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11218                   install-info) \
11219           || exit 1
11220
11221 @endif intl
11222
11223 .PHONY: maybe-installcheck-intl installcheck-intl
11224 maybe-installcheck-intl:
11225 @if intl
11226 maybe-installcheck-intl: installcheck-intl
11227
11228 installcheck-intl: \
11229     configure-intl 
11230         @[ -f ./intl/Makefile ] || exit 0; \
11231         r=`${PWD_COMMAND}`; export r; \
11232         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11233         $(SET_LIB_PATH) \
11234         $(HOST_EXPORTS) \
11235         for flag in $(EXTRA_HOST_FLAGS) ; do \
11236           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11237         done; \
11238         echo "Doing installcheck in intl" ; \
11239         (cd intl && \
11240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11242                   "RANLIB=$${RANLIB}" \
11243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11244                   installcheck) \
11245           || exit 1
11246
11247 @endif intl
11248
11249 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11250 maybe-mostlyclean-intl:
11251 @if intl
11252 maybe-mostlyclean-intl: mostlyclean-intl
11253
11254 mostlyclean-intl: 
11255         @[ -f ./intl/Makefile ] || exit 0; \
11256         r=`${PWD_COMMAND}`; export r; \
11257         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11258         $(SET_LIB_PATH) \
11259         $(HOST_EXPORTS) \
11260         for flag in $(EXTRA_HOST_FLAGS) ; do \
11261           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11262         done; \
11263         echo "Doing mostlyclean in intl" ; \
11264         (cd intl && \
11265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11267                   "RANLIB=$${RANLIB}" \
11268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11269                   mostlyclean) \
11270           || exit 1
11271
11272 @endif intl
11273
11274 .PHONY: maybe-clean-intl clean-intl
11275 maybe-clean-intl:
11276 @if intl
11277 maybe-clean-intl: clean-intl
11278
11279 clean-intl: 
11280         @[ -f ./intl/Makefile ] || exit 0; \
11281         r=`${PWD_COMMAND}`; export r; \
11282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11283         $(SET_LIB_PATH) \
11284         $(HOST_EXPORTS) \
11285         for flag in $(EXTRA_HOST_FLAGS) ; do \
11286           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11287         done; \
11288         echo "Doing clean in intl" ; \
11289         (cd intl && \
11290           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11291                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11292                   "RANLIB=$${RANLIB}" \
11293                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11294                   clean) \
11295           || exit 1
11296
11297 @endif intl
11298
11299 .PHONY: maybe-distclean-intl distclean-intl
11300 maybe-distclean-intl:
11301 @if intl
11302 maybe-distclean-intl: distclean-intl
11303
11304 distclean-intl: 
11305         @[ -f ./intl/Makefile ] || exit 0; \
11306         r=`${PWD_COMMAND}`; export r; \
11307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308         $(SET_LIB_PATH) \
11309         $(HOST_EXPORTS) \
11310         for flag in $(EXTRA_HOST_FLAGS) ; do \
11311           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11312         done; \
11313         echo "Doing distclean in intl" ; \
11314         (cd intl && \
11315           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11316                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11317                   "RANLIB=$${RANLIB}" \
11318                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11319                   distclean) \
11320           || exit 1
11321
11322 @endif intl
11323
11324 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11325 maybe-maintainer-clean-intl:
11326 @if intl
11327 maybe-maintainer-clean-intl: maintainer-clean-intl
11328
11329 maintainer-clean-intl: 
11330         @[ -f ./intl/Makefile ] || exit 0; \
11331         r=`${PWD_COMMAND}`; export r; \
11332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11333         $(SET_LIB_PATH) \
11334         $(HOST_EXPORTS) \
11335         for flag in $(EXTRA_HOST_FLAGS) ; do \
11336           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11337         done; \
11338         echo "Doing maintainer-clean in intl" ; \
11339         (cd intl && \
11340           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11341                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11342                   "RANLIB=$${RANLIB}" \
11343                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11344                   maintainer-clean) \
11345           || exit 1
11346
11347 @endif intl
11348
11349
11350 .PHONY: configure-tcl maybe-configure-tcl
11351 maybe-configure-tcl:
11352 @if tcl
11353 maybe-configure-tcl: configure-tcl
11354 configure-tcl:
11355         @test ! -f tcl/Makefile || exit 0; \
11356         [ -d tcl ] || mkdir tcl; \
11357         r=`${PWD_COMMAND}`; export r; \
11358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11359         $(HOST_EXPORTS) \
11360         echo Configuring in tcl; \
11361         cd tcl || exit 1; \
11362         case $(srcdir) in \
11363           \.) \
11364             srcdiroption="--srcdir=."; \
11365             libsrcdir=".";; \
11366           /* | [A-Za-z]:[\\/]*) \
11367             srcdiroption="--srcdir=$(srcdir)/tcl"; \
11368             libsrcdir="$$s/tcl";; \
11369           *) \
11370             srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11371             libsrcdir="$$s/tcl";; \
11372         esac; \
11373         $(SHELL) $${libsrcdir}/configure \
11374           $(HOST_CONFIGARGS) $${srcdiroption}  \
11375           || exit 1
11376 @endif tcl
11377
11378 .PHONY: all-tcl maybe-all-tcl
11379 maybe-all-tcl:
11380 @if tcl
11381 TARGET-tcl=all
11382 maybe-all-tcl: all-tcl
11383 all-tcl: configure-tcl
11384         @r=`${PWD_COMMAND}`; export r; \
11385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11386         $(SET_LIB_PATH) \
11387         $(HOST_EXPORTS) \
11388         (cd tcl && $(MAKE) $(FLAGS_TO_PASS)  \
11389           $(TARGET-tcl))
11390 @endif tcl
11391
11392 .PHONY: check-tcl maybe-check-tcl
11393 maybe-check-tcl:
11394 @if tcl
11395 maybe-check-tcl: check-tcl
11396
11397 check-tcl:
11398         @r=`${PWD_COMMAND}`; export r; \
11399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11400         $(SET_LIB_PATH) \
11401         $(HOST_EXPORTS) \
11402         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11403
11404 @endif tcl
11405
11406 .PHONY: install-tcl maybe-install-tcl
11407 maybe-install-tcl:
11408 @if tcl
11409 maybe-install-tcl: install-tcl
11410
11411 install-tcl: installdirs
11412         @r=`${PWD_COMMAND}`; export r; \
11413         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11414         $(SET_LIB_PATH) \
11415         $(HOST_EXPORTS) \
11416         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11417
11418 @endif tcl
11419
11420 # Other targets (info, dvi, etc.)
11421
11422 .PHONY: maybe-info-tcl info-tcl
11423 maybe-info-tcl:
11424 @if tcl
11425 maybe-info-tcl: info-tcl
11426
11427 info-tcl: \
11428     configure-tcl 
11429         @[ -f ./tcl/Makefile ] || exit 0; \
11430         r=`${PWD_COMMAND}`; export r; \
11431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11432         $(SET_LIB_PATH) \
11433         $(HOST_EXPORTS) \
11434         for flag in $(EXTRA_HOST_FLAGS) ; do \
11435           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11436         done; \
11437         echo "Doing info in tcl" ; \
11438         (cd tcl && \
11439           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441                   "RANLIB=$${RANLIB}" \
11442                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11443                   info) \
11444           || exit 1
11445
11446 @endif tcl
11447
11448 .PHONY: maybe-dvi-tcl dvi-tcl
11449 maybe-dvi-tcl:
11450 @if tcl
11451 maybe-dvi-tcl: dvi-tcl
11452
11453 dvi-tcl: \
11454     configure-tcl 
11455         @[ -f ./tcl/Makefile ] || exit 0; \
11456         r=`${PWD_COMMAND}`; export r; \
11457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458         $(SET_LIB_PATH) \
11459         $(HOST_EXPORTS) \
11460         for flag in $(EXTRA_HOST_FLAGS) ; do \
11461           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11462         done; \
11463         echo "Doing dvi in tcl" ; \
11464         (cd tcl && \
11465           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11466                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11467                   "RANLIB=$${RANLIB}" \
11468                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11469                   dvi) \
11470           || exit 1
11471
11472 @endif tcl
11473
11474 .PHONY: maybe-TAGS-tcl TAGS-tcl
11475 maybe-TAGS-tcl:
11476 @if tcl
11477 maybe-TAGS-tcl: TAGS-tcl
11478
11479 TAGS-tcl: \
11480     configure-tcl 
11481         @[ -f ./tcl/Makefile ] || exit 0; \
11482         r=`${PWD_COMMAND}`; export r; \
11483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11484         $(SET_LIB_PATH) \
11485         $(HOST_EXPORTS) \
11486         for flag in $(EXTRA_HOST_FLAGS) ; do \
11487           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11488         done; \
11489         echo "Doing TAGS in tcl" ; \
11490         (cd tcl && \
11491           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11492                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11493                   "RANLIB=$${RANLIB}" \
11494                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11495                   TAGS) \
11496           || exit 1
11497
11498 @endif tcl
11499
11500 .PHONY: maybe-install-info-tcl install-info-tcl
11501 maybe-install-info-tcl:
11502 @if tcl
11503 maybe-install-info-tcl: install-info-tcl
11504
11505 install-info-tcl: \
11506     configure-tcl \
11507     info-tcl 
11508         @[ -f ./tcl/Makefile ] || exit 0; \
11509         r=`${PWD_COMMAND}`; export r; \
11510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11511         $(SET_LIB_PATH) \
11512         $(HOST_EXPORTS) \
11513         for flag in $(EXTRA_HOST_FLAGS) ; do \
11514           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11515         done; \
11516         echo "Doing install-info in tcl" ; \
11517         (cd tcl && \
11518           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11519                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11520                   "RANLIB=$${RANLIB}" \
11521                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11522                   install-info) \
11523           || exit 1
11524
11525 @endif tcl
11526
11527 .PHONY: maybe-installcheck-tcl installcheck-tcl
11528 maybe-installcheck-tcl:
11529 @if tcl
11530 maybe-installcheck-tcl: installcheck-tcl
11531
11532 installcheck-tcl: \
11533     configure-tcl 
11534         @[ -f ./tcl/Makefile ] || exit 0; \
11535         r=`${PWD_COMMAND}`; export r; \
11536         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11537         $(SET_LIB_PATH) \
11538         $(HOST_EXPORTS) \
11539         for flag in $(EXTRA_HOST_FLAGS) ; do \
11540           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11541         done; \
11542         echo "Doing installcheck in tcl" ; \
11543         (cd tcl && \
11544           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11545                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11546                   "RANLIB=$${RANLIB}" \
11547                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11548                   installcheck) \
11549           || exit 1
11550
11551 @endif tcl
11552
11553 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11554 maybe-mostlyclean-tcl:
11555 @if tcl
11556 maybe-mostlyclean-tcl: mostlyclean-tcl
11557
11558 # tcl doesn't support mostlyclean.
11559 mostlyclean-tcl:
11560
11561 @endif tcl
11562
11563 .PHONY: maybe-clean-tcl clean-tcl
11564 maybe-clean-tcl:
11565 @if tcl
11566 maybe-clean-tcl: clean-tcl
11567
11568 clean-tcl: 
11569         @[ -f ./tcl/Makefile ] || exit 0; \
11570         r=`${PWD_COMMAND}`; export r; \
11571         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11572         $(SET_LIB_PATH) \
11573         $(HOST_EXPORTS) \
11574         for flag in $(EXTRA_HOST_FLAGS) ; do \
11575           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11576         done; \
11577         echo "Doing clean in tcl" ; \
11578         (cd tcl && \
11579           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11580                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11581                   "RANLIB=$${RANLIB}" \
11582                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11583                   clean) \
11584           || exit 1
11585
11586 @endif tcl
11587
11588 .PHONY: maybe-distclean-tcl distclean-tcl
11589 maybe-distclean-tcl:
11590 @if tcl
11591 maybe-distclean-tcl: distclean-tcl
11592
11593 distclean-tcl: 
11594         @[ -f ./tcl/Makefile ] || exit 0; \
11595         r=`${PWD_COMMAND}`; export r; \
11596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11597         $(SET_LIB_PATH) \
11598         $(HOST_EXPORTS) \
11599         for flag in $(EXTRA_HOST_FLAGS) ; do \
11600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11601         done; \
11602         echo "Doing distclean in tcl" ; \
11603         (cd tcl && \
11604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11606                   "RANLIB=$${RANLIB}" \
11607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11608                   distclean) \
11609           || exit 1
11610
11611 @endif tcl
11612
11613 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11614 maybe-maintainer-clean-tcl:
11615 @if tcl
11616 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11617
11618 maintainer-clean-tcl: 
11619         @[ -f ./tcl/Makefile ] || exit 0; \
11620         r=`${PWD_COMMAND}`; export r; \
11621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11622         $(SET_LIB_PATH) \
11623         $(HOST_EXPORTS) \
11624         for flag in $(EXTRA_HOST_FLAGS) ; do \
11625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11626         done; \
11627         echo "Doing maintainer-clean in tcl" ; \
11628         (cd tcl && \
11629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11631                   "RANLIB=$${RANLIB}" \
11632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11633                   maintainer-clean) \
11634           || exit 1
11635
11636 @endif tcl
11637
11638
11639 .PHONY: configure-itcl maybe-configure-itcl
11640 maybe-configure-itcl:
11641 @if itcl
11642 maybe-configure-itcl: configure-itcl
11643 configure-itcl:
11644         @test ! -f itcl/Makefile || exit 0; \
11645         [ -d itcl ] || mkdir itcl; \
11646         r=`${PWD_COMMAND}`; export r; \
11647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11648         $(HOST_EXPORTS) \
11649         echo Configuring in itcl; \
11650         cd itcl || exit 1; \
11651         case $(srcdir) in \
11652           \.) \
11653             srcdiroption="--srcdir=."; \
11654             libsrcdir=".";; \
11655           /* | [A-Za-z]:[\\/]*) \
11656             srcdiroption="--srcdir=$(srcdir)/itcl"; \
11657             libsrcdir="$$s/itcl";; \
11658           *) \
11659             srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11660             libsrcdir="$$s/itcl";; \
11661         esac; \
11662         $(SHELL) $${libsrcdir}/configure \
11663           $(HOST_CONFIGARGS) $${srcdiroption}  \
11664           || exit 1
11665 @endif itcl
11666
11667 .PHONY: all-itcl maybe-all-itcl
11668 maybe-all-itcl:
11669 @if itcl
11670 TARGET-itcl=all
11671 maybe-all-itcl: all-itcl
11672 all-itcl: configure-itcl
11673         @r=`${PWD_COMMAND}`; export r; \
11674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11675         $(SET_LIB_PATH) \
11676         $(HOST_EXPORTS) \
11677         (cd itcl && $(MAKE) $(FLAGS_TO_PASS)  \
11678           $(TARGET-itcl))
11679 @endif itcl
11680
11681 .PHONY: check-itcl maybe-check-itcl
11682 maybe-check-itcl:
11683 @if itcl
11684 maybe-check-itcl: check-itcl
11685
11686 check-itcl:
11687         @r=`${PWD_COMMAND}`; export r; \
11688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11689         $(SET_LIB_PATH) \
11690         $(HOST_EXPORTS) \
11691         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11692
11693 @endif itcl
11694
11695 .PHONY: install-itcl maybe-install-itcl
11696 maybe-install-itcl:
11697 @if itcl
11698 maybe-install-itcl: install-itcl
11699
11700 install-itcl: installdirs
11701         @r=`${PWD_COMMAND}`; export r; \
11702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11703         $(SET_LIB_PATH) \
11704         $(HOST_EXPORTS) \
11705         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11706
11707 @endif itcl
11708
11709 # Other targets (info, dvi, etc.)
11710
11711 .PHONY: maybe-info-itcl info-itcl
11712 maybe-info-itcl:
11713 @if itcl
11714 maybe-info-itcl: info-itcl
11715
11716 info-itcl: \
11717     configure-itcl 
11718         @[ -f ./itcl/Makefile ] || exit 0; \
11719         r=`${PWD_COMMAND}`; export r; \
11720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11721         $(SET_LIB_PATH) \
11722         $(HOST_EXPORTS) \
11723         for flag in $(EXTRA_HOST_FLAGS) ; do \
11724           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11725         done; \
11726         echo "Doing info in itcl" ; \
11727         (cd itcl && \
11728           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730                   "RANLIB=$${RANLIB}" \
11731                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11732                   info) \
11733           || exit 1
11734
11735 @endif itcl
11736
11737 .PHONY: maybe-dvi-itcl dvi-itcl
11738 maybe-dvi-itcl:
11739 @if itcl
11740 maybe-dvi-itcl: dvi-itcl
11741
11742 dvi-itcl: \
11743     configure-itcl 
11744         @[ -f ./itcl/Makefile ] || exit 0; \
11745         r=`${PWD_COMMAND}`; export r; \
11746         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11747         $(SET_LIB_PATH) \
11748         $(HOST_EXPORTS) \
11749         for flag in $(EXTRA_HOST_FLAGS) ; do \
11750           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11751         done; \
11752         echo "Doing dvi in itcl" ; \
11753         (cd itcl && \
11754           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756                   "RANLIB=$${RANLIB}" \
11757                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11758                   dvi) \
11759           || exit 1
11760
11761 @endif itcl
11762
11763 .PHONY: maybe-TAGS-itcl TAGS-itcl
11764 maybe-TAGS-itcl:
11765 @if itcl
11766 maybe-TAGS-itcl: TAGS-itcl
11767
11768 TAGS-itcl: \
11769     configure-itcl 
11770         @[ -f ./itcl/Makefile ] || exit 0; \
11771         r=`${PWD_COMMAND}`; export r; \
11772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11773         $(SET_LIB_PATH) \
11774         $(HOST_EXPORTS) \
11775         for flag in $(EXTRA_HOST_FLAGS) ; do \
11776           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11777         done; \
11778         echo "Doing TAGS in itcl" ; \
11779         (cd itcl && \
11780           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11781                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11782                   "RANLIB=$${RANLIB}" \
11783                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11784                   TAGS) \
11785           || exit 1
11786
11787 @endif itcl
11788
11789 .PHONY: maybe-install-info-itcl install-info-itcl
11790 maybe-install-info-itcl:
11791 @if itcl
11792 maybe-install-info-itcl: install-info-itcl
11793
11794 install-info-itcl: \
11795     configure-itcl \
11796     info-itcl 
11797         @[ -f ./itcl/Makefile ] || exit 0; \
11798         r=`${PWD_COMMAND}`; export r; \
11799         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11800         $(SET_LIB_PATH) \
11801         $(HOST_EXPORTS) \
11802         for flag in $(EXTRA_HOST_FLAGS) ; do \
11803           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11804         done; \
11805         echo "Doing install-info in itcl" ; \
11806         (cd itcl && \
11807           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11808                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11809                   "RANLIB=$${RANLIB}" \
11810                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11811                   install-info) \
11812           || exit 1
11813
11814 @endif itcl
11815
11816 .PHONY: maybe-installcheck-itcl installcheck-itcl
11817 maybe-installcheck-itcl:
11818 @if itcl
11819 maybe-installcheck-itcl: installcheck-itcl
11820
11821 installcheck-itcl: \
11822     configure-itcl 
11823         @[ -f ./itcl/Makefile ] || exit 0; \
11824         r=`${PWD_COMMAND}`; export r; \
11825         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11826         $(SET_LIB_PATH) \
11827         $(HOST_EXPORTS) \
11828         for flag in $(EXTRA_HOST_FLAGS) ; do \
11829           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11830         done; \
11831         echo "Doing installcheck in itcl" ; \
11832         (cd itcl && \
11833           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11834                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11835                   "RANLIB=$${RANLIB}" \
11836                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11837                   installcheck) \
11838           || exit 1
11839
11840 @endif itcl
11841
11842 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11843 maybe-mostlyclean-itcl:
11844 @if itcl
11845 maybe-mostlyclean-itcl: mostlyclean-itcl
11846
11847 mostlyclean-itcl: 
11848         @[ -f ./itcl/Makefile ] || exit 0; \
11849         r=`${PWD_COMMAND}`; export r; \
11850         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11851         $(SET_LIB_PATH) \
11852         $(HOST_EXPORTS) \
11853         for flag in $(EXTRA_HOST_FLAGS) ; do \
11854           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11855         done; \
11856         echo "Doing mostlyclean in itcl" ; \
11857         (cd itcl && \
11858           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11859                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11860                   "RANLIB=$${RANLIB}" \
11861                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11862                   mostlyclean) \
11863           || exit 1
11864
11865 @endif itcl
11866
11867 .PHONY: maybe-clean-itcl clean-itcl
11868 maybe-clean-itcl:
11869 @if itcl
11870 maybe-clean-itcl: clean-itcl
11871
11872 clean-itcl: 
11873         @[ -f ./itcl/Makefile ] || exit 0; \
11874         r=`${PWD_COMMAND}`; export r; \
11875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11876         $(SET_LIB_PATH) \
11877         $(HOST_EXPORTS) \
11878         for flag in $(EXTRA_HOST_FLAGS) ; do \
11879           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11880         done; \
11881         echo "Doing clean in itcl" ; \
11882         (cd itcl && \
11883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11885                   "RANLIB=$${RANLIB}" \
11886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11887                   clean) \
11888           || exit 1
11889
11890 @endif itcl
11891
11892 .PHONY: maybe-distclean-itcl distclean-itcl
11893 maybe-distclean-itcl:
11894 @if itcl
11895 maybe-distclean-itcl: distclean-itcl
11896
11897 distclean-itcl: 
11898         @[ -f ./itcl/Makefile ] || exit 0; \
11899         r=`${PWD_COMMAND}`; export r; \
11900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901         $(SET_LIB_PATH) \
11902         $(HOST_EXPORTS) \
11903         for flag in $(EXTRA_HOST_FLAGS) ; do \
11904           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11905         done; \
11906         echo "Doing distclean in itcl" ; \
11907         (cd itcl && \
11908           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11909                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11910                   "RANLIB=$${RANLIB}" \
11911                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11912                   distclean) \
11913           || exit 1
11914
11915 @endif itcl
11916
11917 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11918 maybe-maintainer-clean-itcl:
11919 @if itcl
11920 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11921
11922 maintainer-clean-itcl: 
11923         @[ -f ./itcl/Makefile ] || exit 0; \
11924         r=`${PWD_COMMAND}`; export r; \
11925         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11926         $(SET_LIB_PATH) \
11927         $(HOST_EXPORTS) \
11928         for flag in $(EXTRA_HOST_FLAGS) ; do \
11929           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11930         done; \
11931         echo "Doing maintainer-clean in itcl" ; \
11932         (cd itcl && \
11933           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11934                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11935                   "RANLIB=$${RANLIB}" \
11936                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11937                   maintainer-clean) \
11938           || exit 1
11939
11940 @endif itcl
11941
11942
11943 .PHONY: configure-ld maybe-configure-ld
11944 maybe-configure-ld:
11945 @if ld
11946 maybe-configure-ld: configure-ld
11947 configure-ld:
11948         @test -f stage_last && exit 0; \
11949         test ! -f ld/Makefile || exit 0; \
11950         [ -d ld ] || mkdir ld; \
11951         r=`${PWD_COMMAND}`; export r; \
11952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953         $(HOST_EXPORTS) \
11954         echo Configuring in ld; \
11955         cd ld || exit 1; \
11956         case $(srcdir) in \
11957           \.) \
11958             srcdiroption="--srcdir=."; \
11959             libsrcdir=".";; \
11960           /* | [A-Za-z]:[\\/]*) \
11961             srcdiroption="--srcdir=$(srcdir)/ld"; \
11962             libsrcdir="$$s/ld";; \
11963           *) \
11964             srcdiroption="--srcdir=../$(srcdir)/ld"; \
11965             libsrcdir="$$s/ld";; \
11966         esac; \
11967         $(SHELL) $${libsrcdir}/configure \
11968           $(HOST_CONFIGARGS) $${srcdiroption}  \
11969           || exit 1
11970 @endif ld
11971
11972 .PHONY: all-ld maybe-all-ld
11973 maybe-all-ld:
11974 @if ld
11975 TARGET-ld=all
11976 maybe-all-ld: all-ld
11977 all-ld: configure-ld
11978         @test -f stage_last && exit 0; \
11979         r=`${PWD_COMMAND}`; export r; \
11980         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11981         $(SET_LIB_PATH) \
11982         $(HOST_EXPORTS) \
11983         (cd ld && $(MAKE) $(FLAGS_TO_PASS)  \
11984           $(TARGET-ld))
11985 @endif ld
11986
11987 .PHONY: check-ld maybe-check-ld
11988 maybe-check-ld:
11989 @if ld
11990 maybe-check-ld: check-ld
11991
11992 check-ld:
11993         @r=`${PWD_COMMAND}`; export r; \
11994         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11995         $(SET_LIB_PATH) \
11996         $(HOST_EXPORTS) \
11997         (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11998
11999 @endif ld
12000
12001 .PHONY: install-ld maybe-install-ld
12002 maybe-install-ld:
12003 @if ld
12004 maybe-install-ld: install-ld
12005
12006 install-ld: installdirs
12007         @r=`${PWD_COMMAND}`; export r; \
12008         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009         $(SET_LIB_PATH) \
12010         $(HOST_EXPORTS) \
12011         (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
12012
12013 @endif ld
12014
12015 # Other targets (info, dvi, etc.)
12016
12017 .PHONY: maybe-info-ld info-ld
12018 maybe-info-ld:
12019 @if ld
12020 maybe-info-ld: info-ld
12021
12022 info-ld: \
12023     configure-ld 
12024         @[ -f ./ld/Makefile ] || exit 0; \
12025         r=`${PWD_COMMAND}`; export r; \
12026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12027         $(SET_LIB_PATH) \
12028         $(HOST_EXPORTS) \
12029         for flag in $(EXTRA_HOST_FLAGS) ; do \
12030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12031         done; \
12032         echo "Doing info in ld" ; \
12033         (cd ld && \
12034           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12035                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12036                   "RANLIB=$${RANLIB}" \
12037                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12038                   info) \
12039           || exit 1
12040
12041 @endif ld
12042
12043 .PHONY: maybe-dvi-ld dvi-ld
12044 maybe-dvi-ld:
12045 @if ld
12046 maybe-dvi-ld: dvi-ld
12047
12048 dvi-ld: \
12049     configure-ld 
12050         @[ -f ./ld/Makefile ] || exit 0; \
12051         r=`${PWD_COMMAND}`; export r; \
12052         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053         $(SET_LIB_PATH) \
12054         $(HOST_EXPORTS) \
12055         for flag in $(EXTRA_HOST_FLAGS) ; do \
12056           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12057         done; \
12058         echo "Doing dvi in ld" ; \
12059         (cd ld && \
12060           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12061                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12062                   "RANLIB=$${RANLIB}" \
12063                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12064                   dvi) \
12065           || exit 1
12066
12067 @endif ld
12068
12069 .PHONY: maybe-TAGS-ld TAGS-ld
12070 maybe-TAGS-ld:
12071 @if ld
12072 maybe-TAGS-ld: TAGS-ld
12073
12074 TAGS-ld: \
12075     configure-ld 
12076         @[ -f ./ld/Makefile ] || exit 0; \
12077         r=`${PWD_COMMAND}`; export r; \
12078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079         $(SET_LIB_PATH) \
12080         $(HOST_EXPORTS) \
12081         for flag in $(EXTRA_HOST_FLAGS) ; do \
12082           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12083         done; \
12084         echo "Doing TAGS in ld" ; \
12085         (cd ld && \
12086           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12087                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12088                   "RANLIB=$${RANLIB}" \
12089                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12090                   TAGS) \
12091           || exit 1
12092
12093 @endif ld
12094
12095 .PHONY: maybe-install-info-ld install-info-ld
12096 maybe-install-info-ld:
12097 @if ld
12098 maybe-install-info-ld: install-info-ld
12099
12100 install-info-ld: \
12101     configure-ld \
12102     info-ld 
12103         @[ -f ./ld/Makefile ] || exit 0; \
12104         r=`${PWD_COMMAND}`; export r; \
12105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12106         $(SET_LIB_PATH) \
12107         $(HOST_EXPORTS) \
12108         for flag in $(EXTRA_HOST_FLAGS) ; do \
12109           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12110         done; \
12111         echo "Doing install-info in ld" ; \
12112         (cd ld && \
12113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12115                   "RANLIB=$${RANLIB}" \
12116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12117                   install-info) \
12118           || exit 1
12119
12120 @endif ld
12121
12122 .PHONY: maybe-installcheck-ld installcheck-ld
12123 maybe-installcheck-ld:
12124 @if ld
12125 maybe-installcheck-ld: installcheck-ld
12126
12127 installcheck-ld: \
12128     configure-ld 
12129         @[ -f ./ld/Makefile ] || exit 0; \
12130         r=`${PWD_COMMAND}`; export r; \
12131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12132         $(SET_LIB_PATH) \
12133         $(HOST_EXPORTS) \
12134         for flag in $(EXTRA_HOST_FLAGS) ; do \
12135           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12136         done; \
12137         echo "Doing installcheck in ld" ; \
12138         (cd ld && \
12139           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12140                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12141                   "RANLIB=$${RANLIB}" \
12142                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12143                   installcheck) \
12144           || exit 1
12145
12146 @endif ld
12147
12148 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12149 maybe-mostlyclean-ld:
12150 @if ld
12151 maybe-mostlyclean-ld: mostlyclean-ld
12152
12153 mostlyclean-ld: 
12154         @[ -f ./ld/Makefile ] || exit 0; \
12155         r=`${PWD_COMMAND}`; export r; \
12156         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12157         $(SET_LIB_PATH) \
12158         $(HOST_EXPORTS) \
12159         for flag in $(EXTRA_HOST_FLAGS) ; do \
12160           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12161         done; \
12162         echo "Doing mostlyclean in ld" ; \
12163         (cd ld && \
12164           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12165                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12166                   "RANLIB=$${RANLIB}" \
12167                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12168                   mostlyclean) \
12169           || exit 1
12170
12171 @endif ld
12172
12173 .PHONY: maybe-clean-ld clean-ld
12174 maybe-clean-ld:
12175 @if ld
12176 maybe-clean-ld: clean-ld
12177
12178 clean-ld: 
12179         @[ -f ./ld/Makefile ] || exit 0; \
12180         r=`${PWD_COMMAND}`; export r; \
12181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12182         $(SET_LIB_PATH) \
12183         $(HOST_EXPORTS) \
12184         for flag in $(EXTRA_HOST_FLAGS) ; do \
12185           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12186         done; \
12187         echo "Doing clean in ld" ; \
12188         (cd ld && \
12189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12191                   "RANLIB=$${RANLIB}" \
12192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12193                   clean) \
12194           || exit 1
12195
12196 @endif ld
12197
12198 .PHONY: maybe-distclean-ld distclean-ld
12199 maybe-distclean-ld:
12200 @if ld
12201 maybe-distclean-ld: distclean-ld
12202
12203 distclean-ld: 
12204         @[ -f ./ld/Makefile ] || exit 0; \
12205         r=`${PWD_COMMAND}`; export r; \
12206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12207         $(SET_LIB_PATH) \
12208         $(HOST_EXPORTS) \
12209         for flag in $(EXTRA_HOST_FLAGS) ; do \
12210           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12211         done; \
12212         echo "Doing distclean in ld" ; \
12213         (cd ld && \
12214           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12215                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12216                   "RANLIB=$${RANLIB}" \
12217                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12218                   distclean) \
12219           || exit 1
12220
12221 @endif ld
12222
12223 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12224 maybe-maintainer-clean-ld:
12225 @if ld
12226 maybe-maintainer-clean-ld: maintainer-clean-ld
12227
12228 maintainer-clean-ld: 
12229         @[ -f ./ld/Makefile ] || exit 0; \
12230         r=`${PWD_COMMAND}`; export r; \
12231         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232         $(SET_LIB_PATH) \
12233         $(HOST_EXPORTS) \
12234         for flag in $(EXTRA_HOST_FLAGS) ; do \
12235           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12236         done; \
12237         echo "Doing maintainer-clean in ld" ; \
12238         (cd ld && \
12239           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12240                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12241                   "RANLIB=$${RANLIB}" \
12242                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12243                   maintainer-clean) \
12244           || exit 1
12245
12246 @endif ld
12247
12248
12249 .PHONY: configure-libcpp maybe-configure-libcpp
12250 maybe-configure-libcpp:
12251 @if libcpp
12252 maybe-configure-libcpp: configure-libcpp
12253 configure-libcpp:
12254         @test -f stage_last && exit 0; \
12255         test ! -f libcpp/Makefile || exit 0; \
12256         [ -d libcpp ] || mkdir libcpp; \
12257         r=`${PWD_COMMAND}`; export r; \
12258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12259         $(HOST_EXPORTS) \
12260         echo Configuring in libcpp; \
12261         cd libcpp || exit 1; \
12262         case $(srcdir) in \
12263           \.) \
12264             srcdiroption="--srcdir=."; \
12265             libsrcdir=".";; \
12266           /* | [A-Za-z]:[\\/]*) \
12267             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12268             libsrcdir="$$s/libcpp";; \
12269           *) \
12270             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12271             libsrcdir="$$s/libcpp";; \
12272         esac; \
12273         $(SHELL) $${libsrcdir}/configure \
12274           $(HOST_CONFIGARGS) $${srcdiroption}  \
12275           || exit 1
12276 @endif libcpp
12277
12278 .PHONY: all-libcpp maybe-all-libcpp
12279 maybe-all-libcpp:
12280 @if libcpp
12281 TARGET-libcpp=all
12282 maybe-all-libcpp: all-libcpp
12283 all-libcpp: configure-libcpp
12284         @test -f stage_last && exit 0; \
12285         r=`${PWD_COMMAND}`; export r; \
12286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12287         $(SET_LIB_PATH) \
12288         $(HOST_EXPORTS) \
12289         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS)  \
12290           $(TARGET-libcpp))
12291 @endif libcpp
12292
12293 .PHONY: check-libcpp maybe-check-libcpp
12294 maybe-check-libcpp:
12295 @if libcpp
12296 maybe-check-libcpp: check-libcpp
12297
12298 check-libcpp:
12299         @r=`${PWD_COMMAND}`; export r; \
12300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12301         $(SET_LIB_PATH) \
12302         $(HOST_EXPORTS) \
12303         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12304
12305 @endif libcpp
12306
12307 .PHONY: install-libcpp maybe-install-libcpp
12308 maybe-install-libcpp:
12309 @if libcpp
12310 maybe-install-libcpp: install-libcpp
12311
12312 install-libcpp: installdirs
12313         @r=`${PWD_COMMAND}`; export r; \
12314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12315         $(SET_LIB_PATH) \
12316         $(HOST_EXPORTS) \
12317         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12318
12319 @endif libcpp
12320
12321 # Other targets (info, dvi, etc.)
12322
12323 .PHONY: maybe-info-libcpp info-libcpp
12324 maybe-info-libcpp:
12325 @if libcpp
12326 maybe-info-libcpp: info-libcpp
12327
12328 info-libcpp: \
12329     configure-libcpp 
12330         @[ -f ./libcpp/Makefile ] || exit 0; \
12331         r=`${PWD_COMMAND}`; export r; \
12332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12333         $(SET_LIB_PATH) \
12334         $(HOST_EXPORTS) \
12335         for flag in $(EXTRA_HOST_FLAGS) ; do \
12336           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12337         done; \
12338         echo "Doing info in libcpp" ; \
12339         (cd libcpp && \
12340           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12341                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12342                   "RANLIB=$${RANLIB}" \
12343                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12344                   info) \
12345           || exit 1
12346
12347 @endif libcpp
12348
12349 .PHONY: maybe-dvi-libcpp dvi-libcpp
12350 maybe-dvi-libcpp:
12351 @if libcpp
12352 maybe-dvi-libcpp: dvi-libcpp
12353
12354 dvi-libcpp: \
12355     configure-libcpp 
12356         @[ -f ./libcpp/Makefile ] || exit 0; \
12357         r=`${PWD_COMMAND}`; export r; \
12358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359         $(SET_LIB_PATH) \
12360         $(HOST_EXPORTS) \
12361         for flag in $(EXTRA_HOST_FLAGS) ; do \
12362           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12363         done; \
12364         echo "Doing dvi in libcpp" ; \
12365         (cd libcpp && \
12366           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12367                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12368                   "RANLIB=$${RANLIB}" \
12369                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12370                   dvi) \
12371           || exit 1
12372
12373 @endif libcpp
12374
12375 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12376 maybe-TAGS-libcpp:
12377 @if libcpp
12378 maybe-TAGS-libcpp: TAGS-libcpp
12379
12380 TAGS-libcpp: \
12381     configure-libcpp 
12382         @[ -f ./libcpp/Makefile ] || exit 0; \
12383         r=`${PWD_COMMAND}`; export r; \
12384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12385         $(SET_LIB_PATH) \
12386         $(HOST_EXPORTS) \
12387         for flag in $(EXTRA_HOST_FLAGS) ; do \
12388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12389         done; \
12390         echo "Doing TAGS in libcpp" ; \
12391         (cd libcpp && \
12392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12394                   "RANLIB=$${RANLIB}" \
12395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12396                   TAGS) \
12397           || exit 1
12398
12399 @endif libcpp
12400
12401 .PHONY: maybe-install-info-libcpp install-info-libcpp
12402 maybe-install-info-libcpp:
12403 @if libcpp
12404 maybe-install-info-libcpp: install-info-libcpp
12405
12406 install-info-libcpp: \
12407     configure-libcpp \
12408     info-libcpp 
12409         @[ -f ./libcpp/Makefile ] || exit 0; \
12410         r=`${PWD_COMMAND}`; export r; \
12411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12412         $(SET_LIB_PATH) \
12413         $(HOST_EXPORTS) \
12414         for flag in $(EXTRA_HOST_FLAGS) ; do \
12415           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12416         done; \
12417         echo "Doing install-info in libcpp" ; \
12418         (cd libcpp && \
12419           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12420                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12421                   "RANLIB=$${RANLIB}" \
12422                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12423                   install-info) \
12424           || exit 1
12425
12426 @endif libcpp
12427
12428 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12429 maybe-installcheck-libcpp:
12430 @if libcpp
12431 maybe-installcheck-libcpp: installcheck-libcpp
12432
12433 installcheck-libcpp: \
12434     configure-libcpp 
12435         @[ -f ./libcpp/Makefile ] || exit 0; \
12436         r=`${PWD_COMMAND}`; export r; \
12437         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12438         $(SET_LIB_PATH) \
12439         $(HOST_EXPORTS) \
12440         for flag in $(EXTRA_HOST_FLAGS) ; do \
12441           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12442         done; \
12443         echo "Doing installcheck in libcpp" ; \
12444         (cd libcpp && \
12445           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12446                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12447                   "RANLIB=$${RANLIB}" \
12448                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12449                   installcheck) \
12450           || exit 1
12451
12452 @endif libcpp
12453
12454 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12455 maybe-mostlyclean-libcpp:
12456 @if libcpp
12457 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12458
12459 mostlyclean-libcpp: 
12460         @[ -f ./libcpp/Makefile ] || exit 0; \
12461         r=`${PWD_COMMAND}`; export r; \
12462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12463         $(SET_LIB_PATH) \
12464         $(HOST_EXPORTS) \
12465         for flag in $(EXTRA_HOST_FLAGS) ; do \
12466           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12467         done; \
12468         echo "Doing mostlyclean in libcpp" ; \
12469         (cd libcpp && \
12470           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12471                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12472                   "RANLIB=$${RANLIB}" \
12473                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12474                   mostlyclean) \
12475           || exit 1
12476
12477 @endif libcpp
12478
12479 .PHONY: maybe-clean-libcpp clean-libcpp
12480 maybe-clean-libcpp:
12481 @if libcpp
12482 maybe-clean-libcpp: clean-libcpp
12483
12484 clean-libcpp: 
12485         @[ -f ./libcpp/Makefile ] || exit 0; \
12486         r=`${PWD_COMMAND}`; export r; \
12487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12488         $(SET_LIB_PATH) \
12489         $(HOST_EXPORTS) \
12490         for flag in $(EXTRA_HOST_FLAGS) ; do \
12491           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12492         done; \
12493         echo "Doing clean in libcpp" ; \
12494         (cd libcpp && \
12495           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12496                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12497                   "RANLIB=$${RANLIB}" \
12498                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12499                   clean) \
12500           || exit 1
12501
12502 @endif libcpp
12503
12504 .PHONY: maybe-distclean-libcpp distclean-libcpp
12505 maybe-distclean-libcpp:
12506 @if libcpp
12507 maybe-distclean-libcpp: distclean-libcpp
12508
12509 distclean-libcpp: 
12510         @[ -f ./libcpp/Makefile ] || exit 0; \
12511         r=`${PWD_COMMAND}`; export r; \
12512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12513         $(SET_LIB_PATH) \
12514         $(HOST_EXPORTS) \
12515         for flag in $(EXTRA_HOST_FLAGS) ; do \
12516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12517         done; \
12518         echo "Doing distclean in libcpp" ; \
12519         (cd libcpp && \
12520           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12521                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12522                   "RANLIB=$${RANLIB}" \
12523                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12524                   distclean) \
12525           || exit 1
12526
12527 @endif libcpp
12528
12529 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12530 maybe-maintainer-clean-libcpp:
12531 @if libcpp
12532 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12533
12534 maintainer-clean-libcpp: 
12535         @[ -f ./libcpp/Makefile ] || exit 0; \
12536         r=`${PWD_COMMAND}`; export r; \
12537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12538         $(SET_LIB_PATH) \
12539         $(HOST_EXPORTS) \
12540         for flag in $(EXTRA_HOST_FLAGS) ; do \
12541           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12542         done; \
12543         echo "Doing maintainer-clean in libcpp" ; \
12544         (cd libcpp && \
12545           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12546                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12547                   "RANLIB=$${RANLIB}" \
12548                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12549                   maintainer-clean) \
12550           || exit 1
12551
12552 @endif libcpp
12553
12554
12555 .PHONY: configure-libgui maybe-configure-libgui
12556 maybe-configure-libgui:
12557 @if libgui
12558 maybe-configure-libgui: configure-libgui
12559 configure-libgui:
12560         @test ! -f libgui/Makefile || exit 0; \
12561         [ -d libgui ] || mkdir libgui; \
12562         r=`${PWD_COMMAND}`; export r; \
12563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12564         $(HOST_EXPORTS) \
12565         echo Configuring in libgui; \
12566         cd libgui || exit 1; \
12567         case $(srcdir) in \
12568           \.) \
12569             srcdiroption="--srcdir=."; \
12570             libsrcdir=".";; \
12571           /* | [A-Za-z]:[\\/]*) \
12572             srcdiroption="--srcdir=$(srcdir)/libgui"; \
12573             libsrcdir="$$s/libgui";; \
12574           *) \
12575             srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12576             libsrcdir="$$s/libgui";; \
12577         esac; \
12578         $(SHELL) $${libsrcdir}/configure \
12579           $(HOST_CONFIGARGS) $${srcdiroption}  \
12580           || exit 1
12581 @endif libgui
12582
12583 .PHONY: all-libgui maybe-all-libgui
12584 maybe-all-libgui:
12585 @if libgui
12586 TARGET-libgui=all
12587 maybe-all-libgui: all-libgui
12588 all-libgui: configure-libgui
12589         @r=`${PWD_COMMAND}`; export r; \
12590         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12591         $(SET_LIB_PATH) \
12592         $(HOST_EXPORTS) \
12593         (cd libgui && $(MAKE) $(FLAGS_TO_PASS)  \
12594           $(TARGET-libgui))
12595 @endif libgui
12596
12597 .PHONY: check-libgui maybe-check-libgui
12598 maybe-check-libgui:
12599 @if libgui
12600 maybe-check-libgui: check-libgui
12601
12602 check-libgui:
12603         @r=`${PWD_COMMAND}`; export r; \
12604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12605         $(SET_LIB_PATH) \
12606         $(HOST_EXPORTS) \
12607         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12608
12609 @endif libgui
12610
12611 .PHONY: install-libgui maybe-install-libgui
12612 maybe-install-libgui:
12613 @if libgui
12614 maybe-install-libgui: install-libgui
12615
12616 install-libgui: installdirs
12617         @r=`${PWD_COMMAND}`; export r; \
12618         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12619         $(SET_LIB_PATH) \
12620         $(HOST_EXPORTS) \
12621         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12622
12623 @endif libgui
12624
12625 # Other targets (info, dvi, etc.)
12626
12627 .PHONY: maybe-info-libgui info-libgui
12628 maybe-info-libgui:
12629 @if libgui
12630 maybe-info-libgui: info-libgui
12631
12632 info-libgui: \
12633     configure-libgui 
12634         @[ -f ./libgui/Makefile ] || exit 0; \
12635         r=`${PWD_COMMAND}`; export r; \
12636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12637         $(SET_LIB_PATH) \
12638         $(HOST_EXPORTS) \
12639         for flag in $(EXTRA_HOST_FLAGS) ; do \
12640           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12641         done; \
12642         echo "Doing info in libgui" ; \
12643         (cd libgui && \
12644           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12645                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12646                   "RANLIB=$${RANLIB}" \
12647                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12648                   info) \
12649           || exit 1
12650
12651 @endif libgui
12652
12653 .PHONY: maybe-dvi-libgui dvi-libgui
12654 maybe-dvi-libgui:
12655 @if libgui
12656 maybe-dvi-libgui: dvi-libgui
12657
12658 dvi-libgui: \
12659     configure-libgui 
12660         @[ -f ./libgui/Makefile ] || exit 0; \
12661         r=`${PWD_COMMAND}`; export r; \
12662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12663         $(SET_LIB_PATH) \
12664         $(HOST_EXPORTS) \
12665         for flag in $(EXTRA_HOST_FLAGS) ; do \
12666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12667         done; \
12668         echo "Doing dvi in libgui" ; \
12669         (cd libgui && \
12670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12672                   "RANLIB=$${RANLIB}" \
12673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12674                   dvi) \
12675           || exit 1
12676
12677 @endif libgui
12678
12679 .PHONY: maybe-TAGS-libgui TAGS-libgui
12680 maybe-TAGS-libgui:
12681 @if libgui
12682 maybe-TAGS-libgui: TAGS-libgui
12683
12684 TAGS-libgui: \
12685     configure-libgui 
12686         @[ -f ./libgui/Makefile ] || exit 0; \
12687         r=`${PWD_COMMAND}`; export r; \
12688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12689         $(SET_LIB_PATH) \
12690         $(HOST_EXPORTS) \
12691         for flag in $(EXTRA_HOST_FLAGS) ; do \
12692           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12693         done; \
12694         echo "Doing TAGS in libgui" ; \
12695         (cd libgui && \
12696           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12697                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12698                   "RANLIB=$${RANLIB}" \
12699                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12700                   TAGS) \
12701           || exit 1
12702
12703 @endif libgui
12704
12705 .PHONY: maybe-install-info-libgui install-info-libgui
12706 maybe-install-info-libgui:
12707 @if libgui
12708 maybe-install-info-libgui: install-info-libgui
12709
12710 install-info-libgui: \
12711     configure-libgui \
12712     info-libgui 
12713         @[ -f ./libgui/Makefile ] || exit 0; \
12714         r=`${PWD_COMMAND}`; export r; \
12715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12716         $(SET_LIB_PATH) \
12717         $(HOST_EXPORTS) \
12718         for flag in $(EXTRA_HOST_FLAGS) ; do \
12719           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12720         done; \
12721         echo "Doing install-info in libgui" ; \
12722         (cd libgui && \
12723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12725                   "RANLIB=$${RANLIB}" \
12726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12727                   install-info) \
12728           || exit 1
12729
12730 @endif libgui
12731
12732 .PHONY: maybe-installcheck-libgui installcheck-libgui
12733 maybe-installcheck-libgui:
12734 @if libgui
12735 maybe-installcheck-libgui: installcheck-libgui
12736
12737 installcheck-libgui: \
12738     configure-libgui 
12739         @[ -f ./libgui/Makefile ] || exit 0; \
12740         r=`${PWD_COMMAND}`; export r; \
12741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12742         $(SET_LIB_PATH) \
12743         $(HOST_EXPORTS) \
12744         for flag in $(EXTRA_HOST_FLAGS) ; do \
12745           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12746         done; \
12747         echo "Doing installcheck in libgui" ; \
12748         (cd libgui && \
12749           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12750                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12751                   "RANLIB=$${RANLIB}" \
12752                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12753                   installcheck) \
12754           || exit 1
12755
12756 @endif libgui
12757
12758 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12759 maybe-mostlyclean-libgui:
12760 @if libgui
12761 maybe-mostlyclean-libgui: mostlyclean-libgui
12762
12763 mostlyclean-libgui: 
12764         @[ -f ./libgui/Makefile ] || exit 0; \
12765         r=`${PWD_COMMAND}`; export r; \
12766         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12767         $(SET_LIB_PATH) \
12768         $(HOST_EXPORTS) \
12769         for flag in $(EXTRA_HOST_FLAGS) ; do \
12770           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12771         done; \
12772         echo "Doing mostlyclean in libgui" ; \
12773         (cd libgui && \
12774           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12775                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12776                   "RANLIB=$${RANLIB}" \
12777                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12778                   mostlyclean) \
12779           || exit 1
12780
12781 @endif libgui
12782
12783 .PHONY: maybe-clean-libgui clean-libgui
12784 maybe-clean-libgui:
12785 @if libgui
12786 maybe-clean-libgui: clean-libgui
12787
12788 clean-libgui: 
12789         @[ -f ./libgui/Makefile ] || exit 0; \
12790         r=`${PWD_COMMAND}`; export r; \
12791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12792         $(SET_LIB_PATH) \
12793         $(HOST_EXPORTS) \
12794         for flag in $(EXTRA_HOST_FLAGS) ; do \
12795           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12796         done; \
12797         echo "Doing clean in libgui" ; \
12798         (cd libgui && \
12799           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12800                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12801                   "RANLIB=$${RANLIB}" \
12802                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12803                   clean) \
12804           || exit 1
12805
12806 @endif libgui
12807
12808 .PHONY: maybe-distclean-libgui distclean-libgui
12809 maybe-distclean-libgui:
12810 @if libgui
12811 maybe-distclean-libgui: distclean-libgui
12812
12813 distclean-libgui: 
12814         @[ -f ./libgui/Makefile ] || exit 0; \
12815         r=`${PWD_COMMAND}`; export r; \
12816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12817         $(SET_LIB_PATH) \
12818         $(HOST_EXPORTS) \
12819         for flag in $(EXTRA_HOST_FLAGS) ; do \
12820           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12821         done; \
12822         echo "Doing distclean in libgui" ; \
12823         (cd libgui && \
12824           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12825                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12826                   "RANLIB=$${RANLIB}" \
12827                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12828                   distclean) \
12829           || exit 1
12830
12831 @endif libgui
12832
12833 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12834 maybe-maintainer-clean-libgui:
12835 @if libgui
12836 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12837
12838 maintainer-clean-libgui: 
12839         @[ -f ./libgui/Makefile ] || exit 0; \
12840         r=`${PWD_COMMAND}`; export r; \
12841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842         $(SET_LIB_PATH) \
12843         $(HOST_EXPORTS) \
12844         for flag in $(EXTRA_HOST_FLAGS) ; do \
12845           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12846         done; \
12847         echo "Doing maintainer-clean in libgui" ; \
12848         (cd libgui && \
12849           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12850                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12851                   "RANLIB=$${RANLIB}" \
12852                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12853                   maintainer-clean) \
12854           || exit 1
12855
12856 @endif libgui
12857
12858
12859 .PHONY: configure-libiberty maybe-configure-libiberty
12860 maybe-configure-libiberty:
12861 @if libiberty
12862 maybe-configure-libiberty: configure-libiberty
12863 configure-libiberty:
12864         @test -f stage_last && exit 0; \
12865         test ! -f libiberty/Makefile || exit 0; \
12866         [ -d libiberty ] || mkdir libiberty; \
12867         r=`${PWD_COMMAND}`; export r; \
12868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12869         $(HOST_EXPORTS) \
12870         echo Configuring in libiberty; \
12871         cd libiberty || exit 1; \
12872         case $(srcdir) in \
12873           \.) \
12874             srcdiroption="--srcdir=."; \
12875             libsrcdir=".";; \
12876           /* | [A-Za-z]:[\\/]*) \
12877             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12878             libsrcdir="$$s/libiberty";; \
12879           *) \
12880             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12881             libsrcdir="$$s/libiberty";; \
12882         esac; \
12883         $(SHELL) $${libsrcdir}/configure \
12884           $(HOST_CONFIGARGS) $${srcdiroption}  \
12885           || exit 1
12886 @endif libiberty
12887
12888 .PHONY: all-libiberty maybe-all-libiberty
12889 maybe-all-libiberty:
12890 @if libiberty
12891 TARGET-libiberty=all
12892 maybe-all-libiberty: all-libiberty
12893 all-libiberty: configure-libiberty
12894         @test -f stage_last && exit 0; \
12895         r=`${PWD_COMMAND}`; export r; \
12896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12897         $(SET_LIB_PATH) \
12898         $(HOST_EXPORTS) \
12899         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS)  \
12900           $(TARGET-libiberty))
12901 @endif libiberty
12902
12903 .PHONY: check-libiberty maybe-check-libiberty
12904 maybe-check-libiberty:
12905 @if libiberty
12906 maybe-check-libiberty: check-libiberty
12907
12908 check-libiberty:
12909         @r=`${PWD_COMMAND}`; export r; \
12910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12911         $(SET_LIB_PATH) \
12912         $(HOST_EXPORTS) \
12913         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12914
12915 @endif libiberty
12916
12917 .PHONY: install-libiberty maybe-install-libiberty
12918 maybe-install-libiberty:
12919 @if libiberty
12920 maybe-install-libiberty: install-libiberty
12921
12922 install-libiberty: installdirs
12923         @r=`${PWD_COMMAND}`; export r; \
12924         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12925         $(SET_LIB_PATH) \
12926         $(HOST_EXPORTS) \
12927         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12928
12929 @endif libiberty
12930
12931 # Other targets (info, dvi, etc.)
12932
12933 .PHONY: maybe-info-libiberty info-libiberty
12934 maybe-info-libiberty:
12935 @if libiberty
12936 maybe-info-libiberty: info-libiberty
12937
12938 info-libiberty: \
12939     configure-libiberty 
12940         @[ -f ./libiberty/Makefile ] || exit 0; \
12941         r=`${PWD_COMMAND}`; export r; \
12942         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12943         $(SET_LIB_PATH) \
12944         $(HOST_EXPORTS) \
12945         for flag in $(EXTRA_HOST_FLAGS) ; do \
12946           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12947         done; \
12948         echo "Doing info in libiberty" ; \
12949         (cd libiberty && \
12950           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12951                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12952                   "RANLIB=$${RANLIB}" \
12953                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12954                   info) \
12955           || exit 1
12956
12957 @endif libiberty
12958
12959 .PHONY: maybe-dvi-libiberty dvi-libiberty
12960 maybe-dvi-libiberty:
12961 @if libiberty
12962 maybe-dvi-libiberty: dvi-libiberty
12963
12964 dvi-libiberty: \
12965     configure-libiberty 
12966         @[ -f ./libiberty/Makefile ] || exit 0; \
12967         r=`${PWD_COMMAND}`; export r; \
12968         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12969         $(SET_LIB_PATH) \
12970         $(HOST_EXPORTS) \
12971         for flag in $(EXTRA_HOST_FLAGS) ; do \
12972           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12973         done; \
12974         echo "Doing dvi in libiberty" ; \
12975         (cd libiberty && \
12976           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12977                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12978                   "RANLIB=$${RANLIB}" \
12979                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12980                   dvi) \
12981           || exit 1
12982
12983 @endif libiberty
12984
12985 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12986 maybe-TAGS-libiberty:
12987 @if libiberty
12988 maybe-TAGS-libiberty: TAGS-libiberty
12989
12990 TAGS-libiberty: \
12991     configure-libiberty 
12992         @[ -f ./libiberty/Makefile ] || exit 0; \
12993         r=`${PWD_COMMAND}`; export r; \
12994         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12995         $(SET_LIB_PATH) \
12996         $(HOST_EXPORTS) \
12997         for flag in $(EXTRA_HOST_FLAGS) ; do \
12998           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12999         done; \
13000         echo "Doing TAGS in libiberty" ; \
13001         (cd libiberty && \
13002           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13003                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13004                   "RANLIB=$${RANLIB}" \
13005                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13006                   TAGS) \
13007           || exit 1
13008
13009 @endif libiberty
13010
13011 .PHONY: maybe-install-info-libiberty install-info-libiberty
13012 maybe-install-info-libiberty:
13013 @if libiberty
13014 maybe-install-info-libiberty: install-info-libiberty
13015
13016 install-info-libiberty: \
13017     configure-libiberty \
13018     info-libiberty 
13019         @[ -f ./libiberty/Makefile ] || exit 0; \
13020         r=`${PWD_COMMAND}`; export r; \
13021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022         $(SET_LIB_PATH) \
13023         $(HOST_EXPORTS) \
13024         for flag in $(EXTRA_HOST_FLAGS) ; do \
13025           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13026         done; \
13027         echo "Doing install-info in libiberty" ; \
13028         (cd libiberty && \
13029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13031                   "RANLIB=$${RANLIB}" \
13032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13033                   install-info) \
13034           || exit 1
13035
13036 @endif libiberty
13037
13038 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13039 maybe-installcheck-libiberty:
13040 @if libiberty
13041 maybe-installcheck-libiberty: installcheck-libiberty
13042
13043 installcheck-libiberty: \
13044     configure-libiberty 
13045         @[ -f ./libiberty/Makefile ] || exit 0; \
13046         r=`${PWD_COMMAND}`; export r; \
13047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048         $(SET_LIB_PATH) \
13049         $(HOST_EXPORTS) \
13050         for flag in $(EXTRA_HOST_FLAGS) ; do \
13051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13052         done; \
13053         echo "Doing installcheck in libiberty" ; \
13054         (cd libiberty && \
13055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057                   "RANLIB=$${RANLIB}" \
13058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13059                   installcheck) \
13060           || exit 1
13061
13062 @endif libiberty
13063
13064 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13065 maybe-mostlyclean-libiberty:
13066 @if libiberty
13067 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13068
13069 mostlyclean-libiberty: 
13070         @[ -f ./libiberty/Makefile ] || exit 0; \
13071         r=`${PWD_COMMAND}`; export r; \
13072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13073         $(SET_LIB_PATH) \
13074         $(HOST_EXPORTS) \
13075         for flag in $(EXTRA_HOST_FLAGS) ; do \
13076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13077         done; \
13078         echo "Doing mostlyclean in libiberty" ; \
13079         (cd libiberty && \
13080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13082                   "RANLIB=$${RANLIB}" \
13083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13084                   mostlyclean) \
13085           || exit 1
13086
13087 @endif libiberty
13088
13089 .PHONY: maybe-clean-libiberty clean-libiberty
13090 maybe-clean-libiberty:
13091 @if libiberty
13092 maybe-clean-libiberty: clean-libiberty
13093
13094 clean-libiberty: 
13095         @[ -f ./libiberty/Makefile ] || exit 0; \
13096         r=`${PWD_COMMAND}`; export r; \
13097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13098         $(SET_LIB_PATH) \
13099         $(HOST_EXPORTS) \
13100         for flag in $(EXTRA_HOST_FLAGS) ; do \
13101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13102         done; \
13103         echo "Doing clean in libiberty" ; \
13104         (cd libiberty && \
13105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13107                   "RANLIB=$${RANLIB}" \
13108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13109                   clean) \
13110           || exit 1
13111
13112 @endif libiberty
13113
13114 .PHONY: maybe-distclean-libiberty distclean-libiberty
13115 maybe-distclean-libiberty:
13116 @if libiberty
13117 maybe-distclean-libiberty: distclean-libiberty
13118
13119 distclean-libiberty: 
13120         @[ -f ./libiberty/Makefile ] || exit 0; \
13121         r=`${PWD_COMMAND}`; export r; \
13122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13123         $(SET_LIB_PATH) \
13124         $(HOST_EXPORTS) \
13125         for flag in $(EXTRA_HOST_FLAGS) ; do \
13126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13127         done; \
13128         echo "Doing distclean in libiberty" ; \
13129         (cd libiberty && \
13130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13132                   "RANLIB=$${RANLIB}" \
13133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13134                   distclean) \
13135           || exit 1
13136
13137 @endif libiberty
13138
13139 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13140 maybe-maintainer-clean-libiberty:
13141 @if libiberty
13142 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13143
13144 maintainer-clean-libiberty: 
13145         @[ -f ./libiberty/Makefile ] || exit 0; \
13146         r=`${PWD_COMMAND}`; export r; \
13147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13148         $(SET_LIB_PATH) \
13149         $(HOST_EXPORTS) \
13150         for flag in $(EXTRA_HOST_FLAGS) ; do \
13151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13152         done; \
13153         echo "Doing maintainer-clean in libiberty" ; \
13154         (cd libiberty && \
13155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13157                   "RANLIB=$${RANLIB}" \
13158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13159                   maintainer-clean) \
13160           || exit 1
13161
13162 @endif libiberty
13163
13164
13165 .PHONY: configure-libtool maybe-configure-libtool
13166 maybe-configure-libtool:
13167 @if libtool
13168 maybe-configure-libtool: configure-libtool
13169 configure-libtool:
13170         @test ! -f libtool/Makefile || exit 0; \
13171         [ -d libtool ] || mkdir libtool; \
13172         r=`${PWD_COMMAND}`; export r; \
13173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13174         $(HOST_EXPORTS) \
13175         echo Configuring in libtool; \
13176         cd libtool || exit 1; \
13177         case $(srcdir) in \
13178           \.) \
13179             srcdiroption="--srcdir=."; \
13180             libsrcdir=".";; \
13181           /* | [A-Za-z]:[\\/]*) \
13182             srcdiroption="--srcdir=$(srcdir)/libtool"; \
13183             libsrcdir="$$s/libtool";; \
13184           *) \
13185             srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13186             libsrcdir="$$s/libtool";; \
13187         esac; \
13188         $(SHELL) $${libsrcdir}/configure \
13189           $(HOST_CONFIGARGS) $${srcdiroption}  \
13190           || exit 1
13191 @endif libtool
13192
13193 .PHONY: all-libtool maybe-all-libtool
13194 maybe-all-libtool:
13195 @if libtool
13196 TARGET-libtool=all
13197 maybe-all-libtool: all-libtool
13198 all-libtool: configure-libtool
13199         @r=`${PWD_COMMAND}`; export r; \
13200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13201         $(SET_LIB_PATH) \
13202         $(HOST_EXPORTS) \
13203         (cd libtool && $(MAKE) $(FLAGS_TO_PASS)  \
13204           $(TARGET-libtool))
13205 @endif libtool
13206
13207 .PHONY: check-libtool maybe-check-libtool
13208 maybe-check-libtool:
13209 @if libtool
13210 maybe-check-libtool: check-libtool
13211
13212 check-libtool:
13213         @r=`${PWD_COMMAND}`; export r; \
13214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13215         $(SET_LIB_PATH) \
13216         $(HOST_EXPORTS) \
13217         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13218
13219 @endif libtool
13220
13221 .PHONY: install-libtool maybe-install-libtool
13222 maybe-install-libtool:
13223 @if libtool
13224 maybe-install-libtool: install-libtool
13225
13226 install-libtool: installdirs
13227         @r=`${PWD_COMMAND}`; export r; \
13228         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13229         $(SET_LIB_PATH) \
13230         $(HOST_EXPORTS) \
13231         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13232
13233 @endif libtool
13234
13235 # Other targets (info, dvi, etc.)
13236
13237 .PHONY: maybe-info-libtool info-libtool
13238 maybe-info-libtool:
13239 @if libtool
13240 maybe-info-libtool: info-libtool
13241
13242 info-libtool: \
13243     configure-libtool 
13244         @[ -f ./libtool/Makefile ] || exit 0; \
13245         r=`${PWD_COMMAND}`; export r; \
13246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13247         $(SET_LIB_PATH) \
13248         $(HOST_EXPORTS) \
13249         for flag in $(EXTRA_HOST_FLAGS) ; do \
13250           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13251         done; \
13252         echo "Doing info in libtool" ; \
13253         (cd libtool && \
13254           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13255                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13256                   "RANLIB=$${RANLIB}" \
13257                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13258                   info) \
13259           || exit 1
13260
13261 @endif libtool
13262
13263 .PHONY: maybe-dvi-libtool dvi-libtool
13264 maybe-dvi-libtool:
13265 @if libtool
13266 maybe-dvi-libtool: dvi-libtool
13267
13268 dvi-libtool: \
13269     configure-libtool 
13270         @[ -f ./libtool/Makefile ] || exit 0; \
13271         r=`${PWD_COMMAND}`; export r; \
13272         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13273         $(SET_LIB_PATH) \
13274         $(HOST_EXPORTS) \
13275         for flag in $(EXTRA_HOST_FLAGS) ; do \
13276           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13277         done; \
13278         echo "Doing dvi in libtool" ; \
13279         (cd libtool && \
13280           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13281                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13282                   "RANLIB=$${RANLIB}" \
13283                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13284                   dvi) \
13285           || exit 1
13286
13287 @endif libtool
13288
13289 .PHONY: maybe-TAGS-libtool TAGS-libtool
13290 maybe-TAGS-libtool:
13291 @if libtool
13292 maybe-TAGS-libtool: TAGS-libtool
13293
13294 TAGS-libtool: \
13295     configure-libtool 
13296         @[ -f ./libtool/Makefile ] || exit 0; \
13297         r=`${PWD_COMMAND}`; export r; \
13298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13299         $(SET_LIB_PATH) \
13300         $(HOST_EXPORTS) \
13301         for flag in $(EXTRA_HOST_FLAGS) ; do \
13302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13303         done; \
13304         echo "Doing TAGS in libtool" ; \
13305         (cd libtool && \
13306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308                   "RANLIB=$${RANLIB}" \
13309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13310                   TAGS) \
13311           || exit 1
13312
13313 @endif libtool
13314
13315 .PHONY: maybe-install-info-libtool install-info-libtool
13316 maybe-install-info-libtool:
13317 @if libtool
13318 maybe-install-info-libtool: install-info-libtool
13319
13320 install-info-libtool: \
13321     configure-libtool \
13322     info-libtool 
13323         @[ -f ./libtool/Makefile ] || exit 0; \
13324         r=`${PWD_COMMAND}`; export r; \
13325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13326         $(SET_LIB_PATH) \
13327         $(HOST_EXPORTS) \
13328         for flag in $(EXTRA_HOST_FLAGS) ; do \
13329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13330         done; \
13331         echo "Doing install-info in libtool" ; \
13332         (cd libtool && \
13333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13335                   "RANLIB=$${RANLIB}" \
13336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13337                   install-info) \
13338           || exit 1
13339
13340 @endif libtool
13341
13342 .PHONY: maybe-installcheck-libtool installcheck-libtool
13343 maybe-installcheck-libtool:
13344 @if libtool
13345 maybe-installcheck-libtool: installcheck-libtool
13346
13347 installcheck-libtool: \
13348     configure-libtool 
13349         @[ -f ./libtool/Makefile ] || exit 0; \
13350         r=`${PWD_COMMAND}`; export r; \
13351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13352         $(SET_LIB_PATH) \
13353         $(HOST_EXPORTS) \
13354         for flag in $(EXTRA_HOST_FLAGS) ; do \
13355           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13356         done; \
13357         echo "Doing installcheck in libtool" ; \
13358         (cd libtool && \
13359           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13360                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13361                   "RANLIB=$${RANLIB}" \
13362                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13363                   installcheck) \
13364           || exit 1
13365
13366 @endif libtool
13367
13368 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13369 maybe-mostlyclean-libtool:
13370 @if libtool
13371 maybe-mostlyclean-libtool: mostlyclean-libtool
13372
13373 mostlyclean-libtool: 
13374         @[ -f ./libtool/Makefile ] || exit 0; \
13375         r=`${PWD_COMMAND}`; export r; \
13376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13377         $(SET_LIB_PATH) \
13378         $(HOST_EXPORTS) \
13379         for flag in $(EXTRA_HOST_FLAGS) ; do \
13380           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13381         done; \
13382         echo "Doing mostlyclean in libtool" ; \
13383         (cd libtool && \
13384           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13385                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13386                   "RANLIB=$${RANLIB}" \
13387                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13388                   mostlyclean) \
13389           || exit 1
13390
13391 @endif libtool
13392
13393 .PHONY: maybe-clean-libtool clean-libtool
13394 maybe-clean-libtool:
13395 @if libtool
13396 maybe-clean-libtool: clean-libtool
13397
13398 clean-libtool: 
13399         @[ -f ./libtool/Makefile ] || exit 0; \
13400         r=`${PWD_COMMAND}`; export r; \
13401         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13402         $(SET_LIB_PATH) \
13403         $(HOST_EXPORTS) \
13404         for flag in $(EXTRA_HOST_FLAGS) ; do \
13405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13406         done; \
13407         echo "Doing clean in libtool" ; \
13408         (cd libtool && \
13409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13411                   "RANLIB=$${RANLIB}" \
13412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13413                   clean) \
13414           || exit 1
13415
13416 @endif libtool
13417
13418 .PHONY: maybe-distclean-libtool distclean-libtool
13419 maybe-distclean-libtool:
13420 @if libtool
13421 maybe-distclean-libtool: distclean-libtool
13422
13423 distclean-libtool: 
13424         @[ -f ./libtool/Makefile ] || exit 0; \
13425         r=`${PWD_COMMAND}`; export r; \
13426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13427         $(SET_LIB_PATH) \
13428         $(HOST_EXPORTS) \
13429         for flag in $(EXTRA_HOST_FLAGS) ; do \
13430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13431         done; \
13432         echo "Doing distclean in libtool" ; \
13433         (cd libtool && \
13434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13436                   "RANLIB=$${RANLIB}" \
13437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13438                   distclean) \
13439           || exit 1
13440
13441 @endif libtool
13442
13443 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13444 maybe-maintainer-clean-libtool:
13445 @if libtool
13446 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13447
13448 maintainer-clean-libtool: 
13449         @[ -f ./libtool/Makefile ] || exit 0; \
13450         r=`${PWD_COMMAND}`; export r; \
13451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452         $(SET_LIB_PATH) \
13453         $(HOST_EXPORTS) \
13454         for flag in $(EXTRA_HOST_FLAGS) ; do \
13455           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13456         done; \
13457         echo "Doing maintainer-clean in libtool" ; \
13458         (cd libtool && \
13459           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13460                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13461                   "RANLIB=$${RANLIB}" \
13462                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13463                   maintainer-clean) \
13464           || exit 1
13465
13466 @endif libtool
13467
13468
13469 .PHONY: configure-m4 maybe-configure-m4
13470 maybe-configure-m4:
13471 @if m4
13472 maybe-configure-m4: configure-m4
13473 configure-m4:
13474         @test ! -f m4/Makefile || exit 0; \
13475         [ -d m4 ] || mkdir m4; \
13476         r=`${PWD_COMMAND}`; export r; \
13477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13478         $(HOST_EXPORTS) \
13479         echo Configuring in m4; \
13480         cd m4 || exit 1; \
13481         case $(srcdir) in \
13482           \.) \
13483             srcdiroption="--srcdir=."; \
13484             libsrcdir=".";; \
13485           /* | [A-Za-z]:[\\/]*) \
13486             srcdiroption="--srcdir=$(srcdir)/m4"; \
13487             libsrcdir="$$s/m4";; \
13488           *) \
13489             srcdiroption="--srcdir=../$(srcdir)/m4"; \
13490             libsrcdir="$$s/m4";; \
13491         esac; \
13492         $(SHELL) $${libsrcdir}/configure \
13493           $(HOST_CONFIGARGS) $${srcdiroption}  \
13494           || exit 1
13495 @endif m4
13496
13497 .PHONY: all-m4 maybe-all-m4
13498 maybe-all-m4:
13499 @if m4
13500 TARGET-m4=all
13501 maybe-all-m4: all-m4
13502 all-m4: configure-m4
13503         @r=`${PWD_COMMAND}`; export r; \
13504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13505         $(SET_LIB_PATH) \
13506         $(HOST_EXPORTS) \
13507         (cd m4 && $(MAKE) $(FLAGS_TO_PASS)  \
13508           $(TARGET-m4))
13509 @endif m4
13510
13511 .PHONY: check-m4 maybe-check-m4
13512 maybe-check-m4:
13513 @if m4
13514 maybe-check-m4: check-m4
13515
13516 check-m4:
13517         @r=`${PWD_COMMAND}`; export r; \
13518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13519         $(SET_LIB_PATH) \
13520         $(HOST_EXPORTS) \
13521         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13522
13523 @endif m4
13524
13525 .PHONY: install-m4 maybe-install-m4
13526 maybe-install-m4:
13527 @if m4
13528 maybe-install-m4: install-m4
13529
13530 install-m4: installdirs
13531         @r=`${PWD_COMMAND}`; export r; \
13532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13533         $(SET_LIB_PATH) \
13534         $(HOST_EXPORTS) \
13535         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13536
13537 @endif m4
13538
13539 # Other targets (info, dvi, etc.)
13540
13541 .PHONY: maybe-info-m4 info-m4
13542 maybe-info-m4:
13543 @if m4
13544 maybe-info-m4: info-m4
13545
13546 info-m4: \
13547     configure-m4 
13548         @[ -f ./m4/Makefile ] || exit 0; \
13549         r=`${PWD_COMMAND}`; export r; \
13550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13551         $(SET_LIB_PATH) \
13552         $(HOST_EXPORTS) \
13553         for flag in $(EXTRA_HOST_FLAGS) ; do \
13554           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13555         done; \
13556         echo "Doing info in m4" ; \
13557         (cd m4 && \
13558           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13559                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13560                   "RANLIB=$${RANLIB}" \
13561                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13562                   info) \
13563           || exit 1
13564
13565 @endif m4
13566
13567 .PHONY: maybe-dvi-m4 dvi-m4
13568 maybe-dvi-m4:
13569 @if m4
13570 maybe-dvi-m4: dvi-m4
13571
13572 dvi-m4: \
13573     configure-m4 
13574         @[ -f ./m4/Makefile ] || exit 0; \
13575         r=`${PWD_COMMAND}`; export r; \
13576         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13577         $(SET_LIB_PATH) \
13578         $(HOST_EXPORTS) \
13579         for flag in $(EXTRA_HOST_FLAGS) ; do \
13580           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13581         done; \
13582         echo "Doing dvi in m4" ; \
13583         (cd m4 && \
13584           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586                   "RANLIB=$${RANLIB}" \
13587                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13588                   dvi) \
13589           || exit 1
13590
13591 @endif m4
13592
13593 .PHONY: maybe-TAGS-m4 TAGS-m4
13594 maybe-TAGS-m4:
13595 @if m4
13596 maybe-TAGS-m4: TAGS-m4
13597
13598 TAGS-m4: \
13599     configure-m4 
13600         @[ -f ./m4/Makefile ] || exit 0; \
13601         r=`${PWD_COMMAND}`; export r; \
13602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13603         $(SET_LIB_PATH) \
13604         $(HOST_EXPORTS) \
13605         for flag in $(EXTRA_HOST_FLAGS) ; do \
13606           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13607         done; \
13608         echo "Doing TAGS in m4" ; \
13609         (cd m4 && \
13610           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612                   "RANLIB=$${RANLIB}" \
13613                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13614                   TAGS) \
13615           || exit 1
13616
13617 @endif m4
13618
13619 .PHONY: maybe-install-info-m4 install-info-m4
13620 maybe-install-info-m4:
13621 @if m4
13622 maybe-install-info-m4: install-info-m4
13623
13624 install-info-m4: \
13625     configure-m4 \
13626     info-m4 
13627         @[ -f ./m4/Makefile ] || exit 0; \
13628         r=`${PWD_COMMAND}`; export r; \
13629         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13630         $(SET_LIB_PATH) \
13631         $(HOST_EXPORTS) \
13632         for flag in $(EXTRA_HOST_FLAGS) ; do \
13633           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634         done; \
13635         echo "Doing install-info in m4" ; \
13636         (cd m4 && \
13637           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13638                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13639                   "RANLIB=$${RANLIB}" \
13640                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13641                   install-info) \
13642           || exit 1
13643
13644 @endif m4
13645
13646 .PHONY: maybe-installcheck-m4 installcheck-m4
13647 maybe-installcheck-m4:
13648 @if m4
13649 maybe-installcheck-m4: installcheck-m4
13650
13651 installcheck-m4: \
13652     configure-m4 
13653         @[ -f ./m4/Makefile ] || exit 0; \
13654         r=`${PWD_COMMAND}`; export r; \
13655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656         $(SET_LIB_PATH) \
13657         $(HOST_EXPORTS) \
13658         for flag in $(EXTRA_HOST_FLAGS) ; do \
13659           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13660         done; \
13661         echo "Doing installcheck in m4" ; \
13662         (cd m4 && \
13663           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13664                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13665                   "RANLIB=$${RANLIB}" \
13666                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13667                   installcheck) \
13668           || exit 1
13669
13670 @endif m4
13671
13672 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13673 maybe-mostlyclean-m4:
13674 @if m4
13675 maybe-mostlyclean-m4: mostlyclean-m4
13676
13677 mostlyclean-m4: 
13678         @[ -f ./m4/Makefile ] || exit 0; \
13679         r=`${PWD_COMMAND}`; export r; \
13680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681         $(SET_LIB_PATH) \
13682         $(HOST_EXPORTS) \
13683         for flag in $(EXTRA_HOST_FLAGS) ; do \
13684           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13685         done; \
13686         echo "Doing mostlyclean in m4" ; \
13687         (cd m4 && \
13688           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13689                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13690                   "RANLIB=$${RANLIB}" \
13691                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13692                   mostlyclean) \
13693           || exit 1
13694
13695 @endif m4
13696
13697 .PHONY: maybe-clean-m4 clean-m4
13698 maybe-clean-m4:
13699 @if m4
13700 maybe-clean-m4: clean-m4
13701
13702 clean-m4: 
13703         @[ -f ./m4/Makefile ] || exit 0; \
13704         r=`${PWD_COMMAND}`; export r; \
13705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706         $(SET_LIB_PATH) \
13707         $(HOST_EXPORTS) \
13708         for flag in $(EXTRA_HOST_FLAGS) ; do \
13709           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13710         done; \
13711         echo "Doing clean in m4" ; \
13712         (cd m4 && \
13713           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13714                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13715                   "RANLIB=$${RANLIB}" \
13716                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13717                   clean) \
13718           || exit 1
13719
13720 @endif m4
13721
13722 .PHONY: maybe-distclean-m4 distclean-m4
13723 maybe-distclean-m4:
13724 @if m4
13725 maybe-distclean-m4: distclean-m4
13726
13727 distclean-m4: 
13728         @[ -f ./m4/Makefile ] || exit 0; \
13729         r=`${PWD_COMMAND}`; export r; \
13730         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731         $(SET_LIB_PATH) \
13732         $(HOST_EXPORTS) \
13733         for flag in $(EXTRA_HOST_FLAGS) ; do \
13734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13735         done; \
13736         echo "Doing distclean in m4" ; \
13737         (cd m4 && \
13738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13740                   "RANLIB=$${RANLIB}" \
13741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13742                   distclean) \
13743           || exit 1
13744
13745 @endif m4
13746
13747 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13748 maybe-maintainer-clean-m4:
13749 @if m4
13750 maybe-maintainer-clean-m4: maintainer-clean-m4
13751
13752 maintainer-clean-m4: 
13753         @[ -f ./m4/Makefile ] || exit 0; \
13754         r=`${PWD_COMMAND}`; export r; \
13755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13756         $(SET_LIB_PATH) \
13757         $(HOST_EXPORTS) \
13758         for flag in $(EXTRA_HOST_FLAGS) ; do \
13759           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13760         done; \
13761         echo "Doing maintainer-clean in m4" ; \
13762         (cd m4 && \
13763           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13764                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13765                   "RANLIB=$${RANLIB}" \
13766                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13767                   maintainer-clean) \
13768           || exit 1
13769
13770 @endif m4
13771
13772
13773 .PHONY: configure-make maybe-configure-make
13774 maybe-configure-make:
13775 @if make
13776 maybe-configure-make: configure-make
13777 configure-make:
13778         @test ! -f make/Makefile || exit 0; \
13779         [ -d make ] || mkdir make; \
13780         r=`${PWD_COMMAND}`; export r; \
13781         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13782         $(HOST_EXPORTS) \
13783         echo Configuring in make; \
13784         cd make || exit 1; \
13785         case $(srcdir) in \
13786           \.) \
13787             srcdiroption="--srcdir=."; \
13788             libsrcdir=".";; \
13789           /* | [A-Za-z]:[\\/]*) \
13790             srcdiroption="--srcdir=$(srcdir)/make"; \
13791             libsrcdir="$$s/make";; \
13792           *) \
13793             srcdiroption="--srcdir=../$(srcdir)/make"; \
13794             libsrcdir="$$s/make";; \
13795         esac; \
13796         $(SHELL) $${libsrcdir}/configure \
13797           $(HOST_CONFIGARGS) $${srcdiroption}  \
13798           || exit 1
13799 @endif make
13800
13801 .PHONY: all-make maybe-all-make
13802 maybe-all-make:
13803 @if make
13804 TARGET-make=all
13805 maybe-all-make: all-make
13806 all-make: configure-make
13807         @r=`${PWD_COMMAND}`; export r; \
13808         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13809         $(SET_LIB_PATH) \
13810         $(HOST_EXPORTS) \
13811         (cd make && $(MAKE) $(FLAGS_TO_PASS)  \
13812           $(TARGET-make))
13813 @endif make
13814
13815 .PHONY: check-make maybe-check-make
13816 maybe-check-make:
13817 @if make
13818 maybe-check-make: check-make
13819
13820 check-make:
13821         @r=`${PWD_COMMAND}`; export r; \
13822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13823         $(SET_LIB_PATH) \
13824         $(HOST_EXPORTS) \
13825         (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13826
13827 @endif make
13828
13829 .PHONY: install-make maybe-install-make
13830 maybe-install-make:
13831 @if make
13832 maybe-install-make: install-make
13833
13834 install-make: installdirs
13835         @r=`${PWD_COMMAND}`; export r; \
13836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837         $(SET_LIB_PATH) \
13838         $(HOST_EXPORTS) \
13839         (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13840
13841 @endif make
13842
13843 # Other targets (info, dvi, etc.)
13844
13845 .PHONY: maybe-info-make info-make
13846 maybe-info-make:
13847 @if make
13848 maybe-info-make: info-make
13849
13850 info-make: \
13851     configure-make 
13852         @[ -f ./make/Makefile ] || exit 0; \
13853         r=`${PWD_COMMAND}`; export r; \
13854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13855         $(SET_LIB_PATH) \
13856         $(HOST_EXPORTS) \
13857         for flag in $(EXTRA_HOST_FLAGS) ; do \
13858           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13859         done; \
13860         echo "Doing info in make" ; \
13861         (cd make && \
13862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13864                   "RANLIB=$${RANLIB}" \
13865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13866                   info) \
13867           || exit 1
13868
13869 @endif make
13870
13871 .PHONY: maybe-dvi-make dvi-make
13872 maybe-dvi-make:
13873 @if make
13874 maybe-dvi-make: dvi-make
13875
13876 dvi-make: \
13877     configure-make 
13878         @[ -f ./make/Makefile ] || exit 0; \
13879         r=`${PWD_COMMAND}`; export r; \
13880         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13881         $(SET_LIB_PATH) \
13882         $(HOST_EXPORTS) \
13883         for flag in $(EXTRA_HOST_FLAGS) ; do \
13884           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13885         done; \
13886         echo "Doing dvi in make" ; \
13887         (cd make && \
13888           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13889                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13890                   "RANLIB=$${RANLIB}" \
13891                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13892                   dvi) \
13893           || exit 1
13894
13895 @endif make
13896
13897 .PHONY: maybe-TAGS-make TAGS-make
13898 maybe-TAGS-make:
13899 @if make
13900 maybe-TAGS-make: TAGS-make
13901
13902 TAGS-make: \
13903     configure-make 
13904         @[ -f ./make/Makefile ] || exit 0; \
13905         r=`${PWD_COMMAND}`; export r; \
13906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13907         $(SET_LIB_PATH) \
13908         $(HOST_EXPORTS) \
13909         for flag in $(EXTRA_HOST_FLAGS) ; do \
13910           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13911         done; \
13912         echo "Doing TAGS in make" ; \
13913         (cd make && \
13914           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13915                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13916                   "RANLIB=$${RANLIB}" \
13917                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13918                   TAGS) \
13919           || exit 1
13920
13921 @endif make
13922
13923 .PHONY: maybe-install-info-make install-info-make
13924 maybe-install-info-make:
13925 @if make
13926 maybe-install-info-make: install-info-make
13927
13928 install-info-make: \
13929     configure-make \
13930     info-make 
13931         @[ -f ./make/Makefile ] || exit 0; \
13932         r=`${PWD_COMMAND}`; export r; \
13933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934         $(SET_LIB_PATH) \
13935         $(HOST_EXPORTS) \
13936         for flag in $(EXTRA_HOST_FLAGS) ; do \
13937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13938         done; \
13939         echo "Doing install-info in make" ; \
13940         (cd make && \
13941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13943                   "RANLIB=$${RANLIB}" \
13944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13945                   install-info) \
13946           || exit 1
13947
13948 @endif make
13949
13950 .PHONY: maybe-installcheck-make installcheck-make
13951 maybe-installcheck-make:
13952 @if make
13953 maybe-installcheck-make: installcheck-make
13954
13955 installcheck-make: \
13956     configure-make 
13957         @[ -f ./make/Makefile ] || exit 0; \
13958         r=`${PWD_COMMAND}`; export r; \
13959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13960         $(SET_LIB_PATH) \
13961         $(HOST_EXPORTS) \
13962         for flag in $(EXTRA_HOST_FLAGS) ; do \
13963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13964         done; \
13965         echo "Doing installcheck in make" ; \
13966         (cd make && \
13967           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13968                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13969                   "RANLIB=$${RANLIB}" \
13970                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13971                   installcheck) \
13972           || exit 1
13973
13974 @endif make
13975
13976 .PHONY: maybe-mostlyclean-make mostlyclean-make
13977 maybe-mostlyclean-make:
13978 @if make
13979 maybe-mostlyclean-make: mostlyclean-make
13980
13981 mostlyclean-make: 
13982         @[ -f ./make/Makefile ] || exit 0; \
13983         r=`${PWD_COMMAND}`; export r; \
13984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13985         $(SET_LIB_PATH) \
13986         $(HOST_EXPORTS) \
13987         for flag in $(EXTRA_HOST_FLAGS) ; do \
13988           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13989         done; \
13990         echo "Doing mostlyclean in make" ; \
13991         (cd make && \
13992           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994                   "RANLIB=$${RANLIB}" \
13995                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13996                   mostlyclean) \
13997           || exit 1
13998
13999 @endif make
14000
14001 .PHONY: maybe-clean-make clean-make
14002 maybe-clean-make:
14003 @if make
14004 maybe-clean-make: clean-make
14005
14006 clean-make: 
14007         @[ -f ./make/Makefile ] || exit 0; \
14008         r=`${PWD_COMMAND}`; export r; \
14009         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14010         $(SET_LIB_PATH) \
14011         $(HOST_EXPORTS) \
14012         for flag in $(EXTRA_HOST_FLAGS) ; do \
14013           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14014         done; \
14015         echo "Doing clean in make" ; \
14016         (cd make && \
14017           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14018                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14019                   "RANLIB=$${RANLIB}" \
14020                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14021                   clean) \
14022           || exit 1
14023
14024 @endif make
14025
14026 .PHONY: maybe-distclean-make distclean-make
14027 maybe-distclean-make:
14028 @if make
14029 maybe-distclean-make: distclean-make
14030
14031 distclean-make: 
14032         @[ -f ./make/Makefile ] || exit 0; \
14033         r=`${PWD_COMMAND}`; export r; \
14034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14035         $(SET_LIB_PATH) \
14036         $(HOST_EXPORTS) \
14037         for flag in $(EXTRA_HOST_FLAGS) ; do \
14038           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14039         done; \
14040         echo "Doing distclean in make" ; \
14041         (cd make && \
14042           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14043                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14044                   "RANLIB=$${RANLIB}" \
14045                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14046                   distclean) \
14047           || exit 1
14048
14049 @endif make
14050
14051 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14052 maybe-maintainer-clean-make:
14053 @if make
14054 maybe-maintainer-clean-make: maintainer-clean-make
14055
14056 maintainer-clean-make: 
14057         @[ -f ./make/Makefile ] || exit 0; \
14058         r=`${PWD_COMMAND}`; export r; \
14059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060         $(SET_LIB_PATH) \
14061         $(HOST_EXPORTS) \
14062         for flag in $(EXTRA_HOST_FLAGS) ; do \
14063           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14064         done; \
14065         echo "Doing maintainer-clean in make" ; \
14066         (cd make && \
14067           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14068                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14069                   "RANLIB=$${RANLIB}" \
14070                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14071                   maintainer-clean) \
14072           || exit 1
14073
14074 @endif make
14075
14076
14077 .PHONY: configure-mmalloc maybe-configure-mmalloc
14078 maybe-configure-mmalloc:
14079 @if mmalloc
14080 maybe-configure-mmalloc: configure-mmalloc
14081 configure-mmalloc:
14082         @test ! -f mmalloc/Makefile || exit 0; \
14083         [ -d mmalloc ] || mkdir mmalloc; \
14084         r=`${PWD_COMMAND}`; export r; \
14085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086         $(HOST_EXPORTS) \
14087         echo Configuring in mmalloc; \
14088         cd mmalloc || exit 1; \
14089         case $(srcdir) in \
14090           \.) \
14091             srcdiroption="--srcdir=."; \
14092             libsrcdir=".";; \
14093           /* | [A-Za-z]:[\\/]*) \
14094             srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14095             libsrcdir="$$s/mmalloc";; \
14096           *) \
14097             srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14098             libsrcdir="$$s/mmalloc";; \
14099         esac; \
14100         $(SHELL) $${libsrcdir}/configure \
14101           $(HOST_CONFIGARGS) $${srcdiroption}  \
14102           || exit 1
14103 @endif mmalloc
14104
14105 .PHONY: all-mmalloc maybe-all-mmalloc
14106 maybe-all-mmalloc:
14107 @if mmalloc
14108 TARGET-mmalloc=all
14109 maybe-all-mmalloc: all-mmalloc
14110 all-mmalloc: configure-mmalloc
14111         @r=`${PWD_COMMAND}`; export r; \
14112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14113         $(SET_LIB_PATH) \
14114         $(HOST_EXPORTS) \
14115         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS)  \
14116           $(TARGET-mmalloc))
14117 @endif mmalloc
14118
14119 .PHONY: check-mmalloc maybe-check-mmalloc
14120 maybe-check-mmalloc:
14121 @if mmalloc
14122 maybe-check-mmalloc: check-mmalloc
14123
14124 check-mmalloc:
14125
14126 @endif mmalloc
14127
14128 .PHONY: install-mmalloc maybe-install-mmalloc
14129 maybe-install-mmalloc:
14130 @if mmalloc
14131 maybe-install-mmalloc: install-mmalloc
14132
14133 install-mmalloc: installdirs
14134         @r=`${PWD_COMMAND}`; export r; \
14135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14136         $(SET_LIB_PATH) \
14137         $(HOST_EXPORTS) \
14138         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14139
14140 @endif mmalloc
14141
14142 # Other targets (info, dvi, etc.)
14143
14144 .PHONY: maybe-info-mmalloc info-mmalloc
14145 maybe-info-mmalloc:
14146 @if mmalloc
14147 maybe-info-mmalloc: info-mmalloc
14148
14149 info-mmalloc: \
14150     configure-mmalloc 
14151         @[ -f ./mmalloc/Makefile ] || exit 0; \
14152         r=`${PWD_COMMAND}`; export r; \
14153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154         $(SET_LIB_PATH) \
14155         $(HOST_EXPORTS) \
14156         for flag in $(EXTRA_HOST_FLAGS) ; do \
14157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14158         done; \
14159         echo "Doing info in mmalloc" ; \
14160         (cd mmalloc && \
14161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14163                   "RANLIB=$${RANLIB}" \
14164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14165                   info) \
14166           || exit 1
14167
14168 @endif mmalloc
14169
14170 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14171 maybe-dvi-mmalloc:
14172 @if mmalloc
14173 maybe-dvi-mmalloc: dvi-mmalloc
14174
14175 dvi-mmalloc: \
14176     configure-mmalloc 
14177         @[ -f ./mmalloc/Makefile ] || exit 0; \
14178         r=`${PWD_COMMAND}`; export r; \
14179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14180         $(SET_LIB_PATH) \
14181         $(HOST_EXPORTS) \
14182         for flag in $(EXTRA_HOST_FLAGS) ; do \
14183           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14184         done; \
14185         echo "Doing dvi in mmalloc" ; \
14186         (cd mmalloc && \
14187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14189                   "RANLIB=$${RANLIB}" \
14190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14191                   dvi) \
14192           || exit 1
14193
14194 @endif mmalloc
14195
14196 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14197 maybe-TAGS-mmalloc:
14198 @if mmalloc
14199 maybe-TAGS-mmalloc: TAGS-mmalloc
14200
14201 TAGS-mmalloc: \
14202     configure-mmalloc 
14203         @[ -f ./mmalloc/Makefile ] || exit 0; \
14204         r=`${PWD_COMMAND}`; export r; \
14205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14206         $(SET_LIB_PATH) \
14207         $(HOST_EXPORTS) \
14208         for flag in $(EXTRA_HOST_FLAGS) ; do \
14209           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14210         done; \
14211         echo "Doing TAGS in mmalloc" ; \
14212         (cd mmalloc && \
14213           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14214                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14215                   "RANLIB=$${RANLIB}" \
14216                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14217                   TAGS) \
14218           || exit 1
14219
14220 @endif mmalloc
14221
14222 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14223 maybe-install-info-mmalloc:
14224 @if mmalloc
14225 maybe-install-info-mmalloc: install-info-mmalloc
14226
14227 install-info-mmalloc: \
14228     configure-mmalloc \
14229     info-mmalloc 
14230         @[ -f ./mmalloc/Makefile ] || exit 0; \
14231         r=`${PWD_COMMAND}`; export r; \
14232         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14233         $(SET_LIB_PATH) \
14234         $(HOST_EXPORTS) \
14235         for flag in $(EXTRA_HOST_FLAGS) ; do \
14236           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14237         done; \
14238         echo "Doing install-info in mmalloc" ; \
14239         (cd mmalloc && \
14240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14242                   "RANLIB=$${RANLIB}" \
14243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14244                   install-info) \
14245           || exit 1
14246
14247 @endif mmalloc
14248
14249 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14250 maybe-installcheck-mmalloc:
14251 @if mmalloc
14252 maybe-installcheck-mmalloc: installcheck-mmalloc
14253
14254 installcheck-mmalloc: \
14255     configure-mmalloc 
14256         @[ -f ./mmalloc/Makefile ] || exit 0; \
14257         r=`${PWD_COMMAND}`; export r; \
14258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14259         $(SET_LIB_PATH) \
14260         $(HOST_EXPORTS) \
14261         for flag in $(EXTRA_HOST_FLAGS) ; do \
14262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14263         done; \
14264         echo "Doing installcheck in mmalloc" ; \
14265         (cd mmalloc && \
14266           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14267                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14268                   "RANLIB=$${RANLIB}" \
14269                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14270                   installcheck) \
14271           || exit 1
14272
14273 @endif mmalloc
14274
14275 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14276 maybe-mostlyclean-mmalloc:
14277 @if mmalloc
14278 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14279
14280 mostlyclean-mmalloc: 
14281         @[ -f ./mmalloc/Makefile ] || exit 0; \
14282         r=`${PWD_COMMAND}`; export r; \
14283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14284         $(SET_LIB_PATH) \
14285         $(HOST_EXPORTS) \
14286         for flag in $(EXTRA_HOST_FLAGS) ; do \
14287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14288         done; \
14289         echo "Doing mostlyclean in mmalloc" ; \
14290         (cd mmalloc && \
14291           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14292                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14293                   "RANLIB=$${RANLIB}" \
14294                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14295                   mostlyclean) \
14296           || exit 1
14297
14298 @endif mmalloc
14299
14300 .PHONY: maybe-clean-mmalloc clean-mmalloc
14301 maybe-clean-mmalloc:
14302 @if mmalloc
14303 maybe-clean-mmalloc: clean-mmalloc
14304
14305 clean-mmalloc: 
14306         @[ -f ./mmalloc/Makefile ] || exit 0; \
14307         r=`${PWD_COMMAND}`; export r; \
14308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14309         $(SET_LIB_PATH) \
14310         $(HOST_EXPORTS) \
14311         for flag in $(EXTRA_HOST_FLAGS) ; do \
14312           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14313         done; \
14314         echo "Doing clean in mmalloc" ; \
14315         (cd mmalloc && \
14316           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14317                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14318                   "RANLIB=$${RANLIB}" \
14319                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14320                   clean) \
14321           || exit 1
14322
14323 @endif mmalloc
14324
14325 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14326 maybe-distclean-mmalloc:
14327 @if mmalloc
14328 maybe-distclean-mmalloc: distclean-mmalloc
14329
14330 distclean-mmalloc: 
14331         @[ -f ./mmalloc/Makefile ] || exit 0; \
14332         r=`${PWD_COMMAND}`; export r; \
14333         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334         $(SET_LIB_PATH) \
14335         $(HOST_EXPORTS) \
14336         for flag in $(EXTRA_HOST_FLAGS) ; do \
14337           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14338         done; \
14339         echo "Doing distclean in mmalloc" ; \
14340         (cd mmalloc && \
14341           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14342                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14343                   "RANLIB=$${RANLIB}" \
14344                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14345                   distclean) \
14346           || exit 1
14347
14348 @endif mmalloc
14349
14350 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14351 maybe-maintainer-clean-mmalloc:
14352 @if mmalloc
14353 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14354
14355 maintainer-clean-mmalloc: 
14356         @[ -f ./mmalloc/Makefile ] || exit 0; \
14357         r=`${PWD_COMMAND}`; export r; \
14358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14359         $(SET_LIB_PATH) \
14360         $(HOST_EXPORTS) \
14361         for flag in $(EXTRA_HOST_FLAGS) ; do \
14362           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14363         done; \
14364         echo "Doing maintainer-clean in mmalloc" ; \
14365         (cd mmalloc && \
14366           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368                   "RANLIB=$${RANLIB}" \
14369                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14370                   maintainer-clean) \
14371           || exit 1
14372
14373 @endif mmalloc
14374
14375
14376 .PHONY: configure-patch maybe-configure-patch
14377 maybe-configure-patch:
14378 @if patch
14379 maybe-configure-patch: configure-patch
14380 configure-patch:
14381         @test ! -f patch/Makefile || exit 0; \
14382         [ -d patch ] || mkdir patch; \
14383         r=`${PWD_COMMAND}`; export r; \
14384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14385         $(HOST_EXPORTS) \
14386         echo Configuring in patch; \
14387         cd patch || exit 1; \
14388         case $(srcdir) in \
14389           \.) \
14390             srcdiroption="--srcdir=."; \
14391             libsrcdir=".";; \
14392           /* | [A-Za-z]:[\\/]*) \
14393             srcdiroption="--srcdir=$(srcdir)/patch"; \
14394             libsrcdir="$$s/patch";; \
14395           *) \
14396             srcdiroption="--srcdir=../$(srcdir)/patch"; \
14397             libsrcdir="$$s/patch";; \
14398         esac; \
14399         $(SHELL) $${libsrcdir}/configure \
14400           $(HOST_CONFIGARGS) $${srcdiroption}  \
14401           || exit 1
14402 @endif patch
14403
14404 .PHONY: all-patch maybe-all-patch
14405 maybe-all-patch:
14406 @if patch
14407 TARGET-patch=all
14408 maybe-all-patch: all-patch
14409 all-patch: configure-patch
14410         @r=`${PWD_COMMAND}`; export r; \
14411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14412         $(SET_LIB_PATH) \
14413         $(HOST_EXPORTS) \
14414         (cd patch && $(MAKE) $(FLAGS_TO_PASS)  \
14415           $(TARGET-patch))
14416 @endif patch
14417
14418 .PHONY: check-patch maybe-check-patch
14419 maybe-check-patch:
14420 @if patch
14421 maybe-check-patch: check-patch
14422
14423 check-patch:
14424         @r=`${PWD_COMMAND}`; export r; \
14425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14426         $(SET_LIB_PATH) \
14427         $(HOST_EXPORTS) \
14428         (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14429
14430 @endif patch
14431
14432 .PHONY: install-patch maybe-install-patch
14433 maybe-install-patch:
14434 @if patch
14435 maybe-install-patch: install-patch
14436
14437 install-patch: installdirs
14438         @r=`${PWD_COMMAND}`; export r; \
14439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14440         $(SET_LIB_PATH) \
14441         $(HOST_EXPORTS) \
14442         (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14443
14444 @endif patch
14445
14446 # Other targets (info, dvi, etc.)
14447
14448 .PHONY: maybe-info-patch info-patch
14449 maybe-info-patch:
14450 @if patch
14451 maybe-info-patch: info-patch
14452
14453 info-patch: \
14454     configure-patch 
14455         @[ -f ./patch/Makefile ] || exit 0; \
14456         r=`${PWD_COMMAND}`; export r; \
14457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14458         $(SET_LIB_PATH) \
14459         $(HOST_EXPORTS) \
14460         for flag in $(EXTRA_HOST_FLAGS) ; do \
14461           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14462         done; \
14463         echo "Doing info in patch" ; \
14464         (cd patch && \
14465           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14466                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14467                   "RANLIB=$${RANLIB}" \
14468                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14469                   info) \
14470           || exit 1
14471
14472 @endif patch
14473
14474 .PHONY: maybe-dvi-patch dvi-patch
14475 maybe-dvi-patch:
14476 @if patch
14477 maybe-dvi-patch: dvi-patch
14478
14479 dvi-patch: \
14480     configure-patch 
14481         @[ -f ./patch/Makefile ] || exit 0; \
14482         r=`${PWD_COMMAND}`; export r; \
14483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14484         $(SET_LIB_PATH) \
14485         $(HOST_EXPORTS) \
14486         for flag in $(EXTRA_HOST_FLAGS) ; do \
14487           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14488         done; \
14489         echo "Doing dvi in patch" ; \
14490         (cd patch && \
14491           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14492                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14493                   "RANLIB=$${RANLIB}" \
14494                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14495                   dvi) \
14496           || exit 1
14497
14498 @endif patch
14499
14500 .PHONY: maybe-TAGS-patch TAGS-patch
14501 maybe-TAGS-patch:
14502 @if patch
14503 maybe-TAGS-patch: TAGS-patch
14504
14505 TAGS-patch: \
14506     configure-patch 
14507         @[ -f ./patch/Makefile ] || exit 0; \
14508         r=`${PWD_COMMAND}`; export r; \
14509         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14510         $(SET_LIB_PATH) \
14511         $(HOST_EXPORTS) \
14512         for flag in $(EXTRA_HOST_FLAGS) ; do \
14513           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14514         done; \
14515         echo "Doing TAGS in patch" ; \
14516         (cd patch && \
14517           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14518                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14519                   "RANLIB=$${RANLIB}" \
14520                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14521                   TAGS) \
14522           || exit 1
14523
14524 @endif patch
14525
14526 .PHONY: maybe-install-info-patch install-info-patch
14527 maybe-install-info-patch:
14528 @if patch
14529 maybe-install-info-patch: install-info-patch
14530
14531 install-info-patch: \
14532     configure-patch \
14533     info-patch 
14534         @[ -f ./patch/Makefile ] || exit 0; \
14535         r=`${PWD_COMMAND}`; export r; \
14536         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14537         $(SET_LIB_PATH) \
14538         $(HOST_EXPORTS) \
14539         for flag in $(EXTRA_HOST_FLAGS) ; do \
14540           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14541         done; \
14542         echo "Doing install-info in patch" ; \
14543         (cd patch && \
14544           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14545                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14546                   "RANLIB=$${RANLIB}" \
14547                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14548                   install-info) \
14549           || exit 1
14550
14551 @endif patch
14552
14553 .PHONY: maybe-installcheck-patch installcheck-patch
14554 maybe-installcheck-patch:
14555 @if patch
14556 maybe-installcheck-patch: installcheck-patch
14557
14558 installcheck-patch: \
14559     configure-patch 
14560         @[ -f ./patch/Makefile ] || exit 0; \
14561         r=`${PWD_COMMAND}`; export r; \
14562         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14563         $(SET_LIB_PATH) \
14564         $(HOST_EXPORTS) \
14565         for flag in $(EXTRA_HOST_FLAGS) ; do \
14566           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14567         done; \
14568         echo "Doing installcheck in patch" ; \
14569         (cd patch && \
14570           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14571                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14572                   "RANLIB=$${RANLIB}" \
14573                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14574                   installcheck) \
14575           || exit 1
14576
14577 @endif patch
14578
14579 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14580 maybe-mostlyclean-patch:
14581 @if patch
14582 maybe-mostlyclean-patch: mostlyclean-patch
14583
14584 mostlyclean-patch: 
14585         @[ -f ./patch/Makefile ] || exit 0; \
14586         r=`${PWD_COMMAND}`; export r; \
14587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14588         $(SET_LIB_PATH) \
14589         $(HOST_EXPORTS) \
14590         for flag in $(EXTRA_HOST_FLAGS) ; do \
14591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14592         done; \
14593         echo "Doing mostlyclean in patch" ; \
14594         (cd patch && \
14595           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14596                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14597                   "RANLIB=$${RANLIB}" \
14598                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14599                   mostlyclean) \
14600           || exit 1
14601
14602 @endif patch
14603
14604 .PHONY: maybe-clean-patch clean-patch
14605 maybe-clean-patch:
14606 @if patch
14607 maybe-clean-patch: clean-patch
14608
14609 clean-patch: 
14610         @[ -f ./patch/Makefile ] || exit 0; \
14611         r=`${PWD_COMMAND}`; export r; \
14612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14613         $(SET_LIB_PATH) \
14614         $(HOST_EXPORTS) \
14615         for flag in $(EXTRA_HOST_FLAGS) ; do \
14616           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14617         done; \
14618         echo "Doing clean in patch" ; \
14619         (cd patch && \
14620           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14621                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14622                   "RANLIB=$${RANLIB}" \
14623                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14624                   clean) \
14625           || exit 1
14626
14627 @endif patch
14628
14629 .PHONY: maybe-distclean-patch distclean-patch
14630 maybe-distclean-patch:
14631 @if patch
14632 maybe-distclean-patch: distclean-patch
14633
14634 distclean-patch: 
14635         @[ -f ./patch/Makefile ] || exit 0; \
14636         r=`${PWD_COMMAND}`; export r; \
14637         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14638         $(SET_LIB_PATH) \
14639         $(HOST_EXPORTS) \
14640         for flag in $(EXTRA_HOST_FLAGS) ; do \
14641           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14642         done; \
14643         echo "Doing distclean in patch" ; \
14644         (cd patch && \
14645           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14646                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14647                   "RANLIB=$${RANLIB}" \
14648                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14649                   distclean) \
14650           || exit 1
14651
14652 @endif patch
14653
14654 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14655 maybe-maintainer-clean-patch:
14656 @if patch
14657 maybe-maintainer-clean-patch: maintainer-clean-patch
14658
14659 maintainer-clean-patch: 
14660         @[ -f ./patch/Makefile ] || exit 0; \
14661         r=`${PWD_COMMAND}`; export r; \
14662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663         $(SET_LIB_PATH) \
14664         $(HOST_EXPORTS) \
14665         for flag in $(EXTRA_HOST_FLAGS) ; do \
14666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14667         done; \
14668         echo "Doing maintainer-clean in patch" ; \
14669         (cd patch && \
14670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14672                   "RANLIB=$${RANLIB}" \
14673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14674                   maintainer-clean) \
14675           || exit 1
14676
14677 @endif patch
14678
14679
14680 .PHONY: configure-perl maybe-configure-perl
14681 maybe-configure-perl:
14682 @if perl
14683 maybe-configure-perl: configure-perl
14684 configure-perl:
14685         @test ! -f perl/Makefile || exit 0; \
14686         [ -d perl ] || mkdir perl; \
14687         r=`${PWD_COMMAND}`; export r; \
14688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14689         $(HOST_EXPORTS) \
14690         echo Configuring in perl; \
14691         cd perl || exit 1; \
14692         case $(srcdir) in \
14693           \.) \
14694             srcdiroption="--srcdir=."; \
14695             libsrcdir=".";; \
14696           /* | [A-Za-z]:[\\/]*) \
14697             srcdiroption="--srcdir=$(srcdir)/perl"; \
14698             libsrcdir="$$s/perl";; \
14699           *) \
14700             srcdiroption="--srcdir=../$(srcdir)/perl"; \
14701             libsrcdir="$$s/perl";; \
14702         esac; \
14703         $(SHELL) $${libsrcdir}/configure \
14704           $(HOST_CONFIGARGS) $${srcdiroption}  \
14705           || exit 1
14706 @endif perl
14707
14708 .PHONY: all-perl maybe-all-perl
14709 maybe-all-perl:
14710 @if perl
14711 TARGET-perl=all
14712 maybe-all-perl: all-perl
14713 all-perl: configure-perl
14714         @r=`${PWD_COMMAND}`; export r; \
14715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14716         $(SET_LIB_PATH) \
14717         $(HOST_EXPORTS) \
14718         (cd perl && $(MAKE) $(FLAGS_TO_PASS)  \
14719           $(TARGET-perl))
14720 @endif perl
14721
14722 .PHONY: check-perl maybe-check-perl
14723 maybe-check-perl:
14724 @if perl
14725 maybe-check-perl: check-perl
14726
14727 check-perl:
14728         @r=`${PWD_COMMAND}`; export r; \
14729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14730         $(SET_LIB_PATH) \
14731         $(HOST_EXPORTS) \
14732         (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14733
14734 @endif perl
14735
14736 .PHONY: install-perl maybe-install-perl
14737 maybe-install-perl:
14738 @if perl
14739 maybe-install-perl: install-perl
14740
14741 install-perl: installdirs
14742         @r=`${PWD_COMMAND}`; export r; \
14743         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14744         $(SET_LIB_PATH) \
14745         $(HOST_EXPORTS) \
14746         (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14747
14748 @endif perl
14749
14750 # Other targets (info, dvi, etc.)
14751
14752 .PHONY: maybe-info-perl info-perl
14753 maybe-info-perl:
14754 @if perl
14755 maybe-info-perl: info-perl
14756
14757 info-perl: \
14758     configure-perl 
14759         @[ -f ./perl/Makefile ] || exit 0; \
14760         r=`${PWD_COMMAND}`; export r; \
14761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762         $(SET_LIB_PATH) \
14763         $(HOST_EXPORTS) \
14764         for flag in $(EXTRA_HOST_FLAGS) ; do \
14765           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14766         done; \
14767         echo "Doing info in perl" ; \
14768         (cd perl && \
14769           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14770                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14771                   "RANLIB=$${RANLIB}" \
14772                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14773                   info) \
14774           || exit 1
14775
14776 @endif perl
14777
14778 .PHONY: maybe-dvi-perl dvi-perl
14779 maybe-dvi-perl:
14780 @if perl
14781 maybe-dvi-perl: dvi-perl
14782
14783 dvi-perl: \
14784     configure-perl 
14785         @[ -f ./perl/Makefile ] || exit 0; \
14786         r=`${PWD_COMMAND}`; export r; \
14787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788         $(SET_LIB_PATH) \
14789         $(HOST_EXPORTS) \
14790         for flag in $(EXTRA_HOST_FLAGS) ; do \
14791           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14792         done; \
14793         echo "Doing dvi in perl" ; \
14794         (cd perl && \
14795           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14796                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14797                   "RANLIB=$${RANLIB}" \
14798                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14799                   dvi) \
14800           || exit 1
14801
14802 @endif perl
14803
14804 .PHONY: maybe-TAGS-perl TAGS-perl
14805 maybe-TAGS-perl:
14806 @if perl
14807 maybe-TAGS-perl: TAGS-perl
14808
14809 TAGS-perl: \
14810     configure-perl 
14811         @[ -f ./perl/Makefile ] || exit 0; \
14812         r=`${PWD_COMMAND}`; export r; \
14813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14814         $(SET_LIB_PATH) \
14815         $(HOST_EXPORTS) \
14816         for flag in $(EXTRA_HOST_FLAGS) ; do \
14817           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14818         done; \
14819         echo "Doing TAGS in perl" ; \
14820         (cd perl && \
14821           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14822                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14823                   "RANLIB=$${RANLIB}" \
14824                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14825                   TAGS) \
14826           || exit 1
14827
14828 @endif perl
14829
14830 .PHONY: maybe-install-info-perl install-info-perl
14831 maybe-install-info-perl:
14832 @if perl
14833 maybe-install-info-perl: install-info-perl
14834
14835 install-info-perl: \
14836     configure-perl \
14837     info-perl 
14838         @[ -f ./perl/Makefile ] || exit 0; \
14839         r=`${PWD_COMMAND}`; export r; \
14840         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14841         $(SET_LIB_PATH) \
14842         $(HOST_EXPORTS) \
14843         for flag in $(EXTRA_HOST_FLAGS) ; do \
14844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14845         done; \
14846         echo "Doing install-info in perl" ; \
14847         (cd perl && \
14848           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14849                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14850                   "RANLIB=$${RANLIB}" \
14851                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14852                   install-info) \
14853           || exit 1
14854
14855 @endif perl
14856
14857 .PHONY: maybe-installcheck-perl installcheck-perl
14858 maybe-installcheck-perl:
14859 @if perl
14860 maybe-installcheck-perl: installcheck-perl
14861
14862 installcheck-perl: \
14863     configure-perl 
14864         @[ -f ./perl/Makefile ] || exit 0; \
14865         r=`${PWD_COMMAND}`; export r; \
14866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14867         $(SET_LIB_PATH) \
14868         $(HOST_EXPORTS) \
14869         for flag in $(EXTRA_HOST_FLAGS) ; do \
14870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14871         done; \
14872         echo "Doing installcheck in perl" ; \
14873         (cd perl && \
14874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876                   "RANLIB=$${RANLIB}" \
14877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14878                   installcheck) \
14879           || exit 1
14880
14881 @endif perl
14882
14883 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14884 maybe-mostlyclean-perl:
14885 @if perl
14886 maybe-mostlyclean-perl: mostlyclean-perl
14887
14888 mostlyclean-perl: 
14889         @[ -f ./perl/Makefile ] || exit 0; \
14890         r=`${PWD_COMMAND}`; export r; \
14891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14892         $(SET_LIB_PATH) \
14893         $(HOST_EXPORTS) \
14894         for flag in $(EXTRA_HOST_FLAGS) ; do \
14895           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14896         done; \
14897         echo "Doing mostlyclean in perl" ; \
14898         (cd perl && \
14899           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14900                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14901                   "RANLIB=$${RANLIB}" \
14902                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14903                   mostlyclean) \
14904           || exit 1
14905
14906 @endif perl
14907
14908 .PHONY: maybe-clean-perl clean-perl
14909 maybe-clean-perl:
14910 @if perl
14911 maybe-clean-perl: clean-perl
14912
14913 clean-perl: 
14914         @[ -f ./perl/Makefile ] || exit 0; \
14915         r=`${PWD_COMMAND}`; export r; \
14916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14917         $(SET_LIB_PATH) \
14918         $(HOST_EXPORTS) \
14919         for flag in $(EXTRA_HOST_FLAGS) ; do \
14920           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14921         done; \
14922         echo "Doing clean in perl" ; \
14923         (cd perl && \
14924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14926                   "RANLIB=$${RANLIB}" \
14927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14928                   clean) \
14929           || exit 1
14930
14931 @endif perl
14932
14933 .PHONY: maybe-distclean-perl distclean-perl
14934 maybe-distclean-perl:
14935 @if perl
14936 maybe-distclean-perl: distclean-perl
14937
14938 distclean-perl: 
14939         @[ -f ./perl/Makefile ] || exit 0; \
14940         r=`${PWD_COMMAND}`; export r; \
14941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14942         $(SET_LIB_PATH) \
14943         $(HOST_EXPORTS) \
14944         for flag in $(EXTRA_HOST_FLAGS) ; do \
14945           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14946         done; \
14947         echo "Doing distclean in perl" ; \
14948         (cd perl && \
14949           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14950                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14951                   "RANLIB=$${RANLIB}" \
14952                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14953                   distclean) \
14954           || exit 1
14955
14956 @endif perl
14957
14958 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14959 maybe-maintainer-clean-perl:
14960 @if perl
14961 maybe-maintainer-clean-perl: maintainer-clean-perl
14962
14963 maintainer-clean-perl: 
14964         @[ -f ./perl/Makefile ] || exit 0; \
14965         r=`${PWD_COMMAND}`; export r; \
14966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14967         $(SET_LIB_PATH) \
14968         $(HOST_EXPORTS) \
14969         for flag in $(EXTRA_HOST_FLAGS) ; do \
14970           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14971         done; \
14972         echo "Doing maintainer-clean in perl" ; \
14973         (cd perl && \
14974           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14975                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14976                   "RANLIB=$${RANLIB}" \
14977                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14978                   maintainer-clean) \
14979           || exit 1
14980
14981 @endif perl
14982
14983
14984 .PHONY: configure-prms maybe-configure-prms
14985 maybe-configure-prms:
14986 @if prms
14987 maybe-configure-prms: configure-prms
14988 configure-prms:
14989         @test ! -f prms/Makefile || exit 0; \
14990         [ -d prms ] || mkdir prms; \
14991         r=`${PWD_COMMAND}`; export r; \
14992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14993         $(HOST_EXPORTS) \
14994         echo Configuring in prms; \
14995         cd prms || exit 1; \
14996         case $(srcdir) in \
14997           \.) \
14998             srcdiroption="--srcdir=."; \
14999             libsrcdir=".";; \
15000           /* | [A-Za-z]:[\\/]*) \
15001             srcdiroption="--srcdir=$(srcdir)/prms"; \
15002             libsrcdir="$$s/prms";; \
15003           *) \
15004             srcdiroption="--srcdir=../$(srcdir)/prms"; \
15005             libsrcdir="$$s/prms";; \
15006         esac; \
15007         $(SHELL) $${libsrcdir}/configure \
15008           $(HOST_CONFIGARGS) $${srcdiroption}  \
15009           || exit 1
15010 @endif prms
15011
15012 .PHONY: all-prms maybe-all-prms
15013 maybe-all-prms:
15014 @if prms
15015 TARGET-prms=all
15016 maybe-all-prms: all-prms
15017 all-prms: configure-prms
15018         @r=`${PWD_COMMAND}`; export r; \
15019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15020         $(SET_LIB_PATH) \
15021         $(HOST_EXPORTS) \
15022         (cd prms && $(MAKE) $(FLAGS_TO_PASS)  \
15023           $(TARGET-prms))
15024 @endif prms
15025
15026 .PHONY: check-prms maybe-check-prms
15027 maybe-check-prms:
15028 @if prms
15029 maybe-check-prms: check-prms
15030
15031 check-prms:
15032         @r=`${PWD_COMMAND}`; export r; \
15033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15034         $(SET_LIB_PATH) \
15035         $(HOST_EXPORTS) \
15036         (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15037
15038 @endif prms
15039
15040 .PHONY: install-prms maybe-install-prms
15041 maybe-install-prms:
15042 @if prms
15043 maybe-install-prms: install-prms
15044
15045 install-prms: installdirs
15046         @r=`${PWD_COMMAND}`; export r; \
15047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15048         $(SET_LIB_PATH) \
15049         $(HOST_EXPORTS) \
15050         (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15051
15052 @endif prms
15053
15054 # Other targets (info, dvi, etc.)
15055
15056 .PHONY: maybe-info-prms info-prms
15057 maybe-info-prms:
15058 @if prms
15059 maybe-info-prms: info-prms
15060
15061 info-prms: \
15062     configure-prms 
15063         @[ -f ./prms/Makefile ] || exit 0; \
15064         r=`${PWD_COMMAND}`; export r; \
15065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15066         $(SET_LIB_PATH) \
15067         $(HOST_EXPORTS) \
15068         for flag in $(EXTRA_HOST_FLAGS) ; do \
15069           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15070         done; \
15071         echo "Doing info in prms" ; \
15072         (cd prms && \
15073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15075                   "RANLIB=$${RANLIB}" \
15076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15077                   info) \
15078           || exit 1
15079
15080 @endif prms
15081
15082 .PHONY: maybe-dvi-prms dvi-prms
15083 maybe-dvi-prms:
15084 @if prms
15085 maybe-dvi-prms: dvi-prms
15086
15087 dvi-prms: \
15088     configure-prms 
15089         @[ -f ./prms/Makefile ] || exit 0; \
15090         r=`${PWD_COMMAND}`; export r; \
15091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092         $(SET_LIB_PATH) \
15093         $(HOST_EXPORTS) \
15094         for flag in $(EXTRA_HOST_FLAGS) ; do \
15095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15096         done; \
15097         echo "Doing dvi in prms" ; \
15098         (cd prms && \
15099           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15100                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15101                   "RANLIB=$${RANLIB}" \
15102                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15103                   dvi) \
15104           || exit 1
15105
15106 @endif prms
15107
15108 .PHONY: maybe-TAGS-prms TAGS-prms
15109 maybe-TAGS-prms:
15110 @if prms
15111 maybe-TAGS-prms: TAGS-prms
15112
15113 TAGS-prms: \
15114     configure-prms 
15115         @[ -f ./prms/Makefile ] || exit 0; \
15116         r=`${PWD_COMMAND}`; export r; \
15117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15118         $(SET_LIB_PATH) \
15119         $(HOST_EXPORTS) \
15120         for flag in $(EXTRA_HOST_FLAGS) ; do \
15121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15122         done; \
15123         echo "Doing TAGS in prms" ; \
15124         (cd prms && \
15125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15127                   "RANLIB=$${RANLIB}" \
15128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15129                   TAGS) \
15130           || exit 1
15131
15132 @endif prms
15133
15134 .PHONY: maybe-install-info-prms install-info-prms
15135 maybe-install-info-prms:
15136 @if prms
15137 maybe-install-info-prms: install-info-prms
15138
15139 install-info-prms: \
15140     configure-prms \
15141     info-prms 
15142         @[ -f ./prms/Makefile ] || exit 0; \
15143         r=`${PWD_COMMAND}`; export r; \
15144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15145         $(SET_LIB_PATH) \
15146         $(HOST_EXPORTS) \
15147         for flag in $(EXTRA_HOST_FLAGS) ; do \
15148           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15149         done; \
15150         echo "Doing install-info in prms" ; \
15151         (cd prms && \
15152           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15153                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15154                   "RANLIB=$${RANLIB}" \
15155                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15156                   install-info) \
15157           || exit 1
15158
15159 @endif prms
15160
15161 .PHONY: maybe-installcheck-prms installcheck-prms
15162 maybe-installcheck-prms:
15163 @if prms
15164 maybe-installcheck-prms: installcheck-prms
15165
15166 installcheck-prms: \
15167     configure-prms 
15168         @[ -f ./prms/Makefile ] || exit 0; \
15169         r=`${PWD_COMMAND}`; export r; \
15170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15171         $(SET_LIB_PATH) \
15172         $(HOST_EXPORTS) \
15173         for flag in $(EXTRA_HOST_FLAGS) ; do \
15174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15175         done; \
15176         echo "Doing installcheck in prms" ; \
15177         (cd prms && \
15178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15180                   "RANLIB=$${RANLIB}" \
15181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15182                   installcheck) \
15183           || exit 1
15184
15185 @endif prms
15186
15187 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15188 maybe-mostlyclean-prms:
15189 @if prms
15190 maybe-mostlyclean-prms: mostlyclean-prms
15191
15192 mostlyclean-prms: 
15193         @[ -f ./prms/Makefile ] || exit 0; \
15194         r=`${PWD_COMMAND}`; export r; \
15195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15196         $(SET_LIB_PATH) \
15197         $(HOST_EXPORTS) \
15198         for flag in $(EXTRA_HOST_FLAGS) ; do \
15199           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15200         done; \
15201         echo "Doing mostlyclean in prms" ; \
15202         (cd prms && \
15203           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15204                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15205                   "RANLIB=$${RANLIB}" \
15206                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15207                   mostlyclean) \
15208           || exit 1
15209
15210 @endif prms
15211
15212 .PHONY: maybe-clean-prms clean-prms
15213 maybe-clean-prms:
15214 @if prms
15215 maybe-clean-prms: clean-prms
15216
15217 clean-prms: 
15218         @[ -f ./prms/Makefile ] || exit 0; \
15219         r=`${PWD_COMMAND}`; export r; \
15220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15221         $(SET_LIB_PATH) \
15222         $(HOST_EXPORTS) \
15223         for flag in $(EXTRA_HOST_FLAGS) ; do \
15224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15225         done; \
15226         echo "Doing clean in prms" ; \
15227         (cd prms && \
15228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15230                   "RANLIB=$${RANLIB}" \
15231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15232                   clean) \
15233           || exit 1
15234
15235 @endif prms
15236
15237 .PHONY: maybe-distclean-prms distclean-prms
15238 maybe-distclean-prms:
15239 @if prms
15240 maybe-distclean-prms: distclean-prms
15241
15242 distclean-prms: 
15243         @[ -f ./prms/Makefile ] || exit 0; \
15244         r=`${PWD_COMMAND}`; export r; \
15245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246         $(SET_LIB_PATH) \
15247         $(HOST_EXPORTS) \
15248         for flag in $(EXTRA_HOST_FLAGS) ; do \
15249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15250         done; \
15251         echo "Doing distclean in prms" ; \
15252         (cd prms && \
15253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255                   "RANLIB=$${RANLIB}" \
15256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15257                   distclean) \
15258           || exit 1
15259
15260 @endif prms
15261
15262 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15263 maybe-maintainer-clean-prms:
15264 @if prms
15265 maybe-maintainer-clean-prms: maintainer-clean-prms
15266
15267 maintainer-clean-prms: 
15268         @[ -f ./prms/Makefile ] || exit 0; \
15269         r=`${PWD_COMMAND}`; export r; \
15270         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15271         $(SET_LIB_PATH) \
15272         $(HOST_EXPORTS) \
15273         for flag in $(EXTRA_HOST_FLAGS) ; do \
15274           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15275         done; \
15276         echo "Doing maintainer-clean in prms" ; \
15277         (cd prms && \
15278           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15279                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15280                   "RANLIB=$${RANLIB}" \
15281                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15282                   maintainer-clean) \
15283           || exit 1
15284
15285 @endif prms
15286
15287
15288 .PHONY: configure-rcs maybe-configure-rcs
15289 maybe-configure-rcs:
15290 @if rcs
15291 maybe-configure-rcs: configure-rcs
15292 configure-rcs:
15293         @test ! -f rcs/Makefile || exit 0; \
15294         [ -d rcs ] || mkdir rcs; \
15295         r=`${PWD_COMMAND}`; export r; \
15296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15297         $(HOST_EXPORTS) \
15298         echo Configuring in rcs; \
15299         cd rcs || exit 1; \
15300         case $(srcdir) in \
15301           \.) \
15302             srcdiroption="--srcdir=."; \
15303             libsrcdir=".";; \
15304           /* | [A-Za-z]:[\\/]*) \
15305             srcdiroption="--srcdir=$(srcdir)/rcs"; \
15306             libsrcdir="$$s/rcs";; \
15307           *) \
15308             srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15309             libsrcdir="$$s/rcs";; \
15310         esac; \
15311         $(SHELL) $${libsrcdir}/configure \
15312           $(HOST_CONFIGARGS) $${srcdiroption}  \
15313           || exit 1
15314 @endif rcs
15315
15316 .PHONY: all-rcs maybe-all-rcs
15317 maybe-all-rcs:
15318 @if rcs
15319 TARGET-rcs=all
15320 maybe-all-rcs: all-rcs
15321 all-rcs: configure-rcs
15322         @r=`${PWD_COMMAND}`; export r; \
15323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15324         $(SET_LIB_PATH) \
15325         $(HOST_EXPORTS) \
15326         (cd rcs && $(MAKE) $(FLAGS_TO_PASS)  \
15327           $(TARGET-rcs))
15328 @endif rcs
15329
15330 .PHONY: check-rcs maybe-check-rcs
15331 maybe-check-rcs:
15332 @if rcs
15333 maybe-check-rcs: check-rcs
15334
15335 check-rcs:
15336         @r=`${PWD_COMMAND}`; export r; \
15337         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15338         $(SET_LIB_PATH) \
15339         $(HOST_EXPORTS) \
15340         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15341
15342 @endif rcs
15343
15344 .PHONY: install-rcs maybe-install-rcs
15345 maybe-install-rcs:
15346 @if rcs
15347 maybe-install-rcs: install-rcs
15348
15349 install-rcs: installdirs
15350         @r=`${PWD_COMMAND}`; export r; \
15351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15352         $(SET_LIB_PATH) \
15353         $(HOST_EXPORTS) \
15354         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15355
15356 @endif rcs
15357
15358 # Other targets (info, dvi, etc.)
15359
15360 .PHONY: maybe-info-rcs info-rcs
15361 maybe-info-rcs:
15362 @if rcs
15363 maybe-info-rcs: info-rcs
15364
15365 info-rcs: \
15366     configure-rcs 
15367         @[ -f ./rcs/Makefile ] || exit 0; \
15368         r=`${PWD_COMMAND}`; export r; \
15369         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15370         $(SET_LIB_PATH) \
15371         $(HOST_EXPORTS) \
15372         for flag in $(EXTRA_HOST_FLAGS) ; do \
15373           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15374         done; \
15375         echo "Doing info in rcs" ; \
15376         (cd rcs && \
15377           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15378                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15379                   "RANLIB=$${RANLIB}" \
15380                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15381                   info) \
15382           || exit 1
15383
15384 @endif rcs
15385
15386 .PHONY: maybe-dvi-rcs dvi-rcs
15387 maybe-dvi-rcs:
15388 @if rcs
15389 maybe-dvi-rcs: dvi-rcs
15390
15391 dvi-rcs: \
15392     configure-rcs 
15393         @[ -f ./rcs/Makefile ] || exit 0; \
15394         r=`${PWD_COMMAND}`; export r; \
15395         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396         $(SET_LIB_PATH) \
15397         $(HOST_EXPORTS) \
15398         for flag in $(EXTRA_HOST_FLAGS) ; do \
15399           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15400         done; \
15401         echo "Doing dvi in rcs" ; \
15402         (cd rcs && \
15403           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15404                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15405                   "RANLIB=$${RANLIB}" \
15406                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15407                   dvi) \
15408           || exit 1
15409
15410 @endif rcs
15411
15412 .PHONY: maybe-TAGS-rcs TAGS-rcs
15413 maybe-TAGS-rcs:
15414 @if rcs
15415 maybe-TAGS-rcs: TAGS-rcs
15416
15417 TAGS-rcs: \
15418     configure-rcs 
15419         @[ -f ./rcs/Makefile ] || exit 0; \
15420         r=`${PWD_COMMAND}`; export r; \
15421         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15422         $(SET_LIB_PATH) \
15423         $(HOST_EXPORTS) \
15424         for flag in $(EXTRA_HOST_FLAGS) ; do \
15425           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15426         done; \
15427         echo "Doing TAGS in rcs" ; \
15428         (cd rcs && \
15429           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15430                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15431                   "RANLIB=$${RANLIB}" \
15432                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15433                   TAGS) \
15434           || exit 1
15435
15436 @endif rcs
15437
15438 .PHONY: maybe-install-info-rcs install-info-rcs
15439 maybe-install-info-rcs:
15440 @if rcs
15441 maybe-install-info-rcs: install-info-rcs
15442
15443 install-info-rcs: \
15444     configure-rcs \
15445     info-rcs 
15446         @[ -f ./rcs/Makefile ] || exit 0; \
15447         r=`${PWD_COMMAND}`; export r; \
15448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15449         $(SET_LIB_PATH) \
15450         $(HOST_EXPORTS) \
15451         for flag in $(EXTRA_HOST_FLAGS) ; do \
15452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15453         done; \
15454         echo "Doing install-info in rcs" ; \
15455         (cd rcs && \
15456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15458                   "RANLIB=$${RANLIB}" \
15459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15460                   install-info) \
15461           || exit 1
15462
15463 @endif rcs
15464
15465 .PHONY: maybe-installcheck-rcs installcheck-rcs
15466 maybe-installcheck-rcs:
15467 @if rcs
15468 maybe-installcheck-rcs: installcheck-rcs
15469
15470 installcheck-rcs: \
15471     configure-rcs 
15472         @[ -f ./rcs/Makefile ] || exit 0; \
15473         r=`${PWD_COMMAND}`; export r; \
15474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15475         $(SET_LIB_PATH) \
15476         $(HOST_EXPORTS) \
15477         for flag in $(EXTRA_HOST_FLAGS) ; do \
15478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15479         done; \
15480         echo "Doing installcheck in rcs" ; \
15481         (cd rcs && \
15482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15484                   "RANLIB=$${RANLIB}" \
15485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15486                   installcheck) \
15487           || exit 1
15488
15489 @endif rcs
15490
15491 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15492 maybe-mostlyclean-rcs:
15493 @if rcs
15494 maybe-mostlyclean-rcs: mostlyclean-rcs
15495
15496 mostlyclean-rcs: 
15497         @[ -f ./rcs/Makefile ] || exit 0; \
15498         r=`${PWD_COMMAND}`; export r; \
15499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15500         $(SET_LIB_PATH) \
15501         $(HOST_EXPORTS) \
15502         for flag in $(EXTRA_HOST_FLAGS) ; do \
15503           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15504         done; \
15505         echo "Doing mostlyclean in rcs" ; \
15506         (cd rcs && \
15507           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15508                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15509                   "RANLIB=$${RANLIB}" \
15510                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15511                   mostlyclean) \
15512           || exit 1
15513
15514 @endif rcs
15515
15516 .PHONY: maybe-clean-rcs clean-rcs
15517 maybe-clean-rcs:
15518 @if rcs
15519 maybe-clean-rcs: clean-rcs
15520
15521 clean-rcs: 
15522         @[ -f ./rcs/Makefile ] || exit 0; \
15523         r=`${PWD_COMMAND}`; export r; \
15524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15525         $(SET_LIB_PATH) \
15526         $(HOST_EXPORTS) \
15527         for flag in $(EXTRA_HOST_FLAGS) ; do \
15528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15529         done; \
15530         echo "Doing clean in rcs" ; \
15531         (cd rcs && \
15532           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15533                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15534                   "RANLIB=$${RANLIB}" \
15535                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15536                   clean) \
15537           || exit 1
15538
15539 @endif rcs
15540
15541 .PHONY: maybe-distclean-rcs distclean-rcs
15542 maybe-distclean-rcs:
15543 @if rcs
15544 maybe-distclean-rcs: distclean-rcs
15545
15546 distclean-rcs: 
15547         @[ -f ./rcs/Makefile ] || exit 0; \
15548         r=`${PWD_COMMAND}`; export r; \
15549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15550         $(SET_LIB_PATH) \
15551         $(HOST_EXPORTS) \
15552         for flag in $(EXTRA_HOST_FLAGS) ; do \
15553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15554         done; \
15555         echo "Doing distclean in rcs" ; \
15556         (cd rcs && \
15557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15559                   "RANLIB=$${RANLIB}" \
15560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15561                   distclean) \
15562           || exit 1
15563
15564 @endif rcs
15565
15566 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15567 maybe-maintainer-clean-rcs:
15568 @if rcs
15569 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15570
15571 maintainer-clean-rcs: 
15572         @[ -f ./rcs/Makefile ] || exit 0; \
15573         r=`${PWD_COMMAND}`; export r; \
15574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15575         $(SET_LIB_PATH) \
15576         $(HOST_EXPORTS) \
15577         for flag in $(EXTRA_HOST_FLAGS) ; do \
15578           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15579         done; \
15580         echo "Doing maintainer-clean in rcs" ; \
15581         (cd rcs && \
15582           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15583                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15584                   "RANLIB=$${RANLIB}" \
15585                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15586                   maintainer-clean) \
15587           || exit 1
15588
15589 @endif rcs
15590
15591
15592 .PHONY: configure-readline maybe-configure-readline
15593 maybe-configure-readline:
15594 @if readline
15595 maybe-configure-readline: configure-readline
15596 configure-readline:
15597         @test ! -f readline/Makefile || exit 0; \
15598         [ -d readline ] || mkdir readline; \
15599         r=`${PWD_COMMAND}`; export r; \
15600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15601         $(HOST_EXPORTS) \
15602         echo Configuring in readline; \
15603         cd readline || exit 1; \
15604         case $(srcdir) in \
15605           \.) \
15606             srcdiroption="--srcdir=."; \
15607             libsrcdir=".";; \
15608           /* | [A-Za-z]:[\\/]*) \
15609             srcdiroption="--srcdir=$(srcdir)/readline"; \
15610             libsrcdir="$$s/readline";; \
15611           *) \
15612             srcdiroption="--srcdir=../$(srcdir)/readline"; \
15613             libsrcdir="$$s/readline";; \
15614         esac; \
15615         $(SHELL) $${libsrcdir}/configure \
15616           $(HOST_CONFIGARGS) $${srcdiroption}  \
15617           || exit 1
15618 @endif readline
15619
15620 .PHONY: all-readline maybe-all-readline
15621 maybe-all-readline:
15622 @if readline
15623 TARGET-readline=all
15624 maybe-all-readline: all-readline
15625 all-readline: configure-readline
15626         @r=`${PWD_COMMAND}`; export r; \
15627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15628         $(SET_LIB_PATH) \
15629         $(HOST_EXPORTS) \
15630         (cd readline && $(MAKE) $(FLAGS_TO_PASS)  \
15631           $(TARGET-readline))
15632 @endif readline
15633
15634 .PHONY: check-readline maybe-check-readline
15635 maybe-check-readline:
15636 @if readline
15637 maybe-check-readline: check-readline
15638
15639 check-readline:
15640         @r=`${PWD_COMMAND}`; export r; \
15641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15642         $(SET_LIB_PATH) \
15643         $(HOST_EXPORTS) \
15644         (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15645
15646 @endif readline
15647
15648 .PHONY: install-readline maybe-install-readline
15649 maybe-install-readline:
15650 @if readline
15651 maybe-install-readline: install-readline
15652
15653 install-readline: installdirs
15654         @r=`${PWD_COMMAND}`; export r; \
15655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15656         $(SET_LIB_PATH) \
15657         $(HOST_EXPORTS) \
15658         (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15659
15660 @endif readline
15661
15662 # Other targets (info, dvi, etc.)
15663
15664 .PHONY: maybe-info-readline info-readline
15665 maybe-info-readline:
15666 @if readline
15667 maybe-info-readline: info-readline
15668
15669 info-readline: \
15670     configure-readline 
15671         @[ -f ./readline/Makefile ] || exit 0; \
15672         r=`${PWD_COMMAND}`; export r; \
15673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15674         $(SET_LIB_PATH) \
15675         $(HOST_EXPORTS) \
15676         for flag in $(EXTRA_HOST_FLAGS) ; do \
15677           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15678         done; \
15679         echo "Doing info in readline" ; \
15680         (cd readline && \
15681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15683                   "RANLIB=$${RANLIB}" \
15684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15685                   info) \
15686           || exit 1
15687
15688 @endif readline
15689
15690 .PHONY: maybe-dvi-readline dvi-readline
15691 maybe-dvi-readline:
15692 @if readline
15693 maybe-dvi-readline: dvi-readline
15694
15695 dvi-readline: \
15696     configure-readline 
15697         @[ -f ./readline/Makefile ] || exit 0; \
15698         r=`${PWD_COMMAND}`; export r; \
15699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15700         $(SET_LIB_PATH) \
15701         $(HOST_EXPORTS) \
15702         for flag in $(EXTRA_HOST_FLAGS) ; do \
15703           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15704         done; \
15705         echo "Doing dvi in readline" ; \
15706         (cd readline && \
15707           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15708                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15709                   "RANLIB=$${RANLIB}" \
15710                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15711                   dvi) \
15712           || exit 1
15713
15714 @endif readline
15715
15716 .PHONY: maybe-TAGS-readline TAGS-readline
15717 maybe-TAGS-readline:
15718 @if readline
15719 maybe-TAGS-readline: TAGS-readline
15720
15721 TAGS-readline: \
15722     configure-readline 
15723         @[ -f ./readline/Makefile ] || exit 0; \
15724         r=`${PWD_COMMAND}`; export r; \
15725         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15726         $(SET_LIB_PATH) \
15727         $(HOST_EXPORTS) \
15728         for flag in $(EXTRA_HOST_FLAGS) ; do \
15729           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15730         done; \
15731         echo "Doing TAGS in readline" ; \
15732         (cd readline && \
15733           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15734                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15735                   "RANLIB=$${RANLIB}" \
15736                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15737                   TAGS) \
15738           || exit 1
15739
15740 @endif readline
15741
15742 .PHONY: maybe-install-info-readline install-info-readline
15743 maybe-install-info-readline:
15744 @if readline
15745 maybe-install-info-readline: install-info-readline
15746
15747 install-info-readline: \
15748     configure-readline \
15749     info-readline 
15750         @[ -f ./readline/Makefile ] || exit 0; \
15751         r=`${PWD_COMMAND}`; export r; \
15752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15753         $(SET_LIB_PATH) \
15754         $(HOST_EXPORTS) \
15755         for flag in $(EXTRA_HOST_FLAGS) ; do \
15756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15757         done; \
15758         echo "Doing install-info in readline" ; \
15759         (cd readline && \
15760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15762                   "RANLIB=$${RANLIB}" \
15763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15764                   install-info) \
15765           || exit 1
15766
15767 @endif readline
15768
15769 .PHONY: maybe-installcheck-readline installcheck-readline
15770 maybe-installcheck-readline:
15771 @if readline
15772 maybe-installcheck-readline: installcheck-readline
15773
15774 installcheck-readline: \
15775     configure-readline 
15776         @[ -f ./readline/Makefile ] || exit 0; \
15777         r=`${PWD_COMMAND}`; export r; \
15778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15779         $(SET_LIB_PATH) \
15780         $(HOST_EXPORTS) \
15781         for flag in $(EXTRA_HOST_FLAGS) ; do \
15782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15783         done; \
15784         echo "Doing installcheck in readline" ; \
15785         (cd readline && \
15786           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15787                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15788                   "RANLIB=$${RANLIB}" \
15789                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15790                   installcheck) \
15791           || exit 1
15792
15793 @endif readline
15794
15795 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15796 maybe-mostlyclean-readline:
15797 @if readline
15798 maybe-mostlyclean-readline: mostlyclean-readline
15799
15800 mostlyclean-readline: 
15801         @[ -f ./readline/Makefile ] || exit 0; \
15802         r=`${PWD_COMMAND}`; export r; \
15803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804         $(SET_LIB_PATH) \
15805         $(HOST_EXPORTS) \
15806         for flag in $(EXTRA_HOST_FLAGS) ; do \
15807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15808         done; \
15809         echo "Doing mostlyclean in readline" ; \
15810         (cd readline && \
15811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15813                   "RANLIB=$${RANLIB}" \
15814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15815                   mostlyclean) \
15816           || exit 1
15817
15818 @endif readline
15819
15820 .PHONY: maybe-clean-readline clean-readline
15821 maybe-clean-readline:
15822 @if readline
15823 maybe-clean-readline: clean-readline
15824
15825 clean-readline: 
15826         @[ -f ./readline/Makefile ] || exit 0; \
15827         r=`${PWD_COMMAND}`; export r; \
15828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15829         $(SET_LIB_PATH) \
15830         $(HOST_EXPORTS) \
15831         for flag in $(EXTRA_HOST_FLAGS) ; do \
15832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15833         done; \
15834         echo "Doing clean in readline" ; \
15835         (cd readline && \
15836           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838                   "RANLIB=$${RANLIB}" \
15839                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15840                   clean) \
15841           || exit 1
15842
15843 @endif readline
15844
15845 .PHONY: maybe-distclean-readline distclean-readline
15846 maybe-distclean-readline:
15847 @if readline
15848 maybe-distclean-readline: distclean-readline
15849
15850 distclean-readline: 
15851         @[ -f ./readline/Makefile ] || exit 0; \
15852         r=`${PWD_COMMAND}`; export r; \
15853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854         $(SET_LIB_PATH) \
15855         $(HOST_EXPORTS) \
15856         for flag in $(EXTRA_HOST_FLAGS) ; do \
15857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15858         done; \
15859         echo "Doing distclean in readline" ; \
15860         (cd readline && \
15861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15863                   "RANLIB=$${RANLIB}" \
15864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15865                   distclean) \
15866           || exit 1
15867
15868 @endif readline
15869
15870 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15871 maybe-maintainer-clean-readline:
15872 @if readline
15873 maybe-maintainer-clean-readline: maintainer-clean-readline
15874
15875 maintainer-clean-readline: 
15876         @[ -f ./readline/Makefile ] || exit 0; \
15877         r=`${PWD_COMMAND}`; export r; \
15878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15879         $(SET_LIB_PATH) \
15880         $(HOST_EXPORTS) \
15881         for flag in $(EXTRA_HOST_FLAGS) ; do \
15882           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15883         done; \
15884         echo "Doing maintainer-clean in readline" ; \
15885         (cd readline && \
15886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15888                   "RANLIB=$${RANLIB}" \
15889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15890                   maintainer-clean) \
15891           || exit 1
15892
15893 @endif readline
15894
15895
15896 .PHONY: configure-release maybe-configure-release
15897 maybe-configure-release:
15898 @if release
15899 maybe-configure-release: configure-release
15900 configure-release:
15901         @test ! -f release/Makefile || exit 0; \
15902         [ -d release ] || mkdir release; \
15903         r=`${PWD_COMMAND}`; export r; \
15904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905         $(HOST_EXPORTS) \
15906         echo Configuring in release; \
15907         cd release || exit 1; \
15908         case $(srcdir) in \
15909           \.) \
15910             srcdiroption="--srcdir=."; \
15911             libsrcdir=".";; \
15912           /* | [A-Za-z]:[\\/]*) \
15913             srcdiroption="--srcdir=$(srcdir)/release"; \
15914             libsrcdir="$$s/release";; \
15915           *) \
15916             srcdiroption="--srcdir=../$(srcdir)/release"; \
15917             libsrcdir="$$s/release";; \
15918         esac; \
15919         $(SHELL) $${libsrcdir}/configure \
15920           $(HOST_CONFIGARGS) $${srcdiroption}  \
15921           || exit 1
15922 @endif release
15923
15924 .PHONY: all-release maybe-all-release
15925 maybe-all-release:
15926 @if release
15927 TARGET-release=all
15928 maybe-all-release: all-release
15929 all-release: configure-release
15930         @r=`${PWD_COMMAND}`; export r; \
15931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15932         $(SET_LIB_PATH) \
15933         $(HOST_EXPORTS) \
15934         (cd release && $(MAKE) $(FLAGS_TO_PASS)  \
15935           $(TARGET-release))
15936 @endif release
15937
15938 .PHONY: check-release maybe-check-release
15939 maybe-check-release:
15940 @if release
15941 maybe-check-release: check-release
15942
15943 check-release:
15944
15945 @endif release
15946
15947 .PHONY: install-release maybe-install-release
15948 maybe-install-release:
15949 @if release
15950 maybe-install-release: install-release
15951
15952 install-release:
15953
15954 @endif release
15955
15956 # Other targets (info, dvi, etc.)
15957
15958 .PHONY: maybe-info-release info-release
15959 maybe-info-release:
15960 @if release
15961 maybe-info-release: info-release
15962
15963 info-release: \
15964     configure-release 
15965         @[ -f ./release/Makefile ] || exit 0; \
15966         r=`${PWD_COMMAND}`; export r; \
15967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968         $(SET_LIB_PATH) \
15969         $(HOST_EXPORTS) \
15970         for flag in $(EXTRA_HOST_FLAGS) ; do \
15971           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15972         done; \
15973         echo "Doing info in release" ; \
15974         (cd release && \
15975           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15976                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15977                   "RANLIB=$${RANLIB}" \
15978                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15979                   info) \
15980           || exit 1
15981
15982 @endif release
15983
15984 .PHONY: maybe-dvi-release dvi-release
15985 maybe-dvi-release:
15986 @if release
15987 maybe-dvi-release: dvi-release
15988
15989 dvi-release: \
15990     configure-release 
15991         @[ -f ./release/Makefile ] || exit 0; \
15992         r=`${PWD_COMMAND}`; export r; \
15993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15994         $(SET_LIB_PATH) \
15995         $(HOST_EXPORTS) \
15996         for flag in $(EXTRA_HOST_FLAGS) ; do \
15997           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15998         done; \
15999         echo "Doing dvi in release" ; \
16000         (cd release && \
16001           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16002                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16003                   "RANLIB=$${RANLIB}" \
16004                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16005                   dvi) \
16006           || exit 1
16007
16008 @endif release
16009
16010 .PHONY: maybe-TAGS-release TAGS-release
16011 maybe-TAGS-release:
16012 @if release
16013 maybe-TAGS-release: TAGS-release
16014
16015 TAGS-release: \
16016     configure-release 
16017         @[ -f ./release/Makefile ] || exit 0; \
16018         r=`${PWD_COMMAND}`; export r; \
16019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16020         $(SET_LIB_PATH) \
16021         $(HOST_EXPORTS) \
16022         for flag in $(EXTRA_HOST_FLAGS) ; do \
16023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16024         done; \
16025         echo "Doing TAGS in release" ; \
16026         (cd release && \
16027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16029                   "RANLIB=$${RANLIB}" \
16030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16031                   TAGS) \
16032           || exit 1
16033
16034 @endif release
16035
16036 .PHONY: maybe-install-info-release install-info-release
16037 maybe-install-info-release:
16038 @if release
16039 maybe-install-info-release: install-info-release
16040
16041 install-info-release: \
16042     configure-release \
16043     info-release 
16044         @[ -f ./release/Makefile ] || exit 0; \
16045         r=`${PWD_COMMAND}`; export r; \
16046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047         $(SET_LIB_PATH) \
16048         $(HOST_EXPORTS) \
16049         for flag in $(EXTRA_HOST_FLAGS) ; do \
16050           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16051         done; \
16052         echo "Doing install-info in release" ; \
16053         (cd release && \
16054           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16055                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16056                   "RANLIB=$${RANLIB}" \
16057                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16058                   install-info) \
16059           || exit 1
16060
16061 @endif release
16062
16063 .PHONY: maybe-installcheck-release installcheck-release
16064 maybe-installcheck-release:
16065 @if release
16066 maybe-installcheck-release: installcheck-release
16067
16068 installcheck-release: \
16069     configure-release 
16070         @[ -f ./release/Makefile ] || exit 0; \
16071         r=`${PWD_COMMAND}`; export r; \
16072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16073         $(SET_LIB_PATH) \
16074         $(HOST_EXPORTS) \
16075         for flag in $(EXTRA_HOST_FLAGS) ; do \
16076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16077         done; \
16078         echo "Doing installcheck in release" ; \
16079         (cd release && \
16080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16082                   "RANLIB=$${RANLIB}" \
16083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16084                   installcheck) \
16085           || exit 1
16086
16087 @endif release
16088
16089 .PHONY: maybe-mostlyclean-release mostlyclean-release
16090 maybe-mostlyclean-release:
16091 @if release
16092 maybe-mostlyclean-release: mostlyclean-release
16093
16094 mostlyclean-release: 
16095         @[ -f ./release/Makefile ] || exit 0; \
16096         r=`${PWD_COMMAND}`; export r; \
16097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16098         $(SET_LIB_PATH) \
16099         $(HOST_EXPORTS) \
16100         for flag in $(EXTRA_HOST_FLAGS) ; do \
16101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16102         done; \
16103         echo "Doing mostlyclean in release" ; \
16104         (cd release && \
16105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16107                   "RANLIB=$${RANLIB}" \
16108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16109                   mostlyclean) \
16110           || exit 1
16111
16112 @endif release
16113
16114 .PHONY: maybe-clean-release clean-release
16115 maybe-clean-release:
16116 @if release
16117 maybe-clean-release: clean-release
16118
16119 clean-release: 
16120         @[ -f ./release/Makefile ] || exit 0; \
16121         r=`${PWD_COMMAND}`; export r; \
16122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16123         $(SET_LIB_PATH) \
16124         $(HOST_EXPORTS) \
16125         for flag in $(EXTRA_HOST_FLAGS) ; do \
16126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16127         done; \
16128         echo "Doing clean in release" ; \
16129         (cd release && \
16130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16132                   "RANLIB=$${RANLIB}" \
16133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16134                   clean) \
16135           || exit 1
16136
16137 @endif release
16138
16139 .PHONY: maybe-distclean-release distclean-release
16140 maybe-distclean-release:
16141 @if release
16142 maybe-distclean-release: distclean-release
16143
16144 distclean-release: 
16145         @[ -f ./release/Makefile ] || exit 0; \
16146         r=`${PWD_COMMAND}`; export r; \
16147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16148         $(SET_LIB_PATH) \
16149         $(HOST_EXPORTS) \
16150         for flag in $(EXTRA_HOST_FLAGS) ; do \
16151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16152         done; \
16153         echo "Doing distclean in release" ; \
16154         (cd release && \
16155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16157                   "RANLIB=$${RANLIB}" \
16158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16159                   distclean) \
16160           || exit 1
16161
16162 @endif release
16163
16164 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16165 maybe-maintainer-clean-release:
16166 @if release
16167 maybe-maintainer-clean-release: maintainer-clean-release
16168
16169 maintainer-clean-release: 
16170         @[ -f ./release/Makefile ] || exit 0; \
16171         r=`${PWD_COMMAND}`; export r; \
16172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173         $(SET_LIB_PATH) \
16174         $(HOST_EXPORTS) \
16175         for flag in $(EXTRA_HOST_FLAGS) ; do \
16176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16177         done; \
16178         echo "Doing maintainer-clean in release" ; \
16179         (cd release && \
16180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16182                   "RANLIB=$${RANLIB}" \
16183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16184                   maintainer-clean) \
16185           || exit 1
16186
16187 @endif release
16188
16189
16190 .PHONY: configure-recode maybe-configure-recode
16191 maybe-configure-recode:
16192 @if recode
16193 maybe-configure-recode: configure-recode
16194 configure-recode:
16195         @test ! -f recode/Makefile || exit 0; \
16196         [ -d recode ] || mkdir recode; \
16197         r=`${PWD_COMMAND}`; export r; \
16198         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16199         $(HOST_EXPORTS) \
16200         echo Configuring in recode; \
16201         cd recode || exit 1; \
16202         case $(srcdir) in \
16203           \.) \
16204             srcdiroption="--srcdir=."; \
16205             libsrcdir=".";; \
16206           /* | [A-Za-z]:[\\/]*) \
16207             srcdiroption="--srcdir=$(srcdir)/recode"; \
16208             libsrcdir="$$s/recode";; \
16209           *) \
16210             srcdiroption="--srcdir=../$(srcdir)/recode"; \
16211             libsrcdir="$$s/recode";; \
16212         esac; \
16213         $(SHELL) $${libsrcdir}/configure \
16214           $(HOST_CONFIGARGS) $${srcdiroption}  \
16215           || exit 1
16216 @endif recode
16217
16218 .PHONY: all-recode maybe-all-recode
16219 maybe-all-recode:
16220 @if recode
16221 TARGET-recode=all
16222 maybe-all-recode: all-recode
16223 all-recode: configure-recode
16224         @r=`${PWD_COMMAND}`; export r; \
16225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16226         $(SET_LIB_PATH) \
16227         $(HOST_EXPORTS) \
16228         (cd recode && $(MAKE) $(FLAGS_TO_PASS)  \
16229           $(TARGET-recode))
16230 @endif recode
16231
16232 .PHONY: check-recode maybe-check-recode
16233 maybe-check-recode:
16234 @if recode
16235 maybe-check-recode: check-recode
16236
16237 check-recode:
16238         @r=`${PWD_COMMAND}`; export r; \
16239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240         $(SET_LIB_PATH) \
16241         $(HOST_EXPORTS) \
16242         (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16243
16244 @endif recode
16245
16246 .PHONY: install-recode maybe-install-recode
16247 maybe-install-recode:
16248 @if recode
16249 maybe-install-recode: install-recode
16250
16251 install-recode: installdirs
16252         @r=`${PWD_COMMAND}`; export r; \
16253         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16254         $(SET_LIB_PATH) \
16255         $(HOST_EXPORTS) \
16256         (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16257
16258 @endif recode
16259
16260 # Other targets (info, dvi, etc.)
16261
16262 .PHONY: maybe-info-recode info-recode
16263 maybe-info-recode:
16264 @if recode
16265 maybe-info-recode: info-recode
16266
16267 info-recode: \
16268     configure-recode 
16269         @[ -f ./recode/Makefile ] || exit 0; \
16270         r=`${PWD_COMMAND}`; export r; \
16271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16272         $(SET_LIB_PATH) \
16273         $(HOST_EXPORTS) \
16274         for flag in $(EXTRA_HOST_FLAGS) ; do \
16275           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16276         done; \
16277         echo "Doing info in recode" ; \
16278         (cd recode && \
16279           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16280                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16281                   "RANLIB=$${RANLIB}" \
16282                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16283                   info) \
16284           || exit 1
16285
16286 @endif recode
16287
16288 .PHONY: maybe-dvi-recode dvi-recode
16289 maybe-dvi-recode:
16290 @if recode
16291 maybe-dvi-recode: dvi-recode
16292
16293 dvi-recode: \
16294     configure-recode 
16295         @[ -f ./recode/Makefile ] || exit 0; \
16296         r=`${PWD_COMMAND}`; export r; \
16297         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16298         $(SET_LIB_PATH) \
16299         $(HOST_EXPORTS) \
16300         for flag in $(EXTRA_HOST_FLAGS) ; do \
16301           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16302         done; \
16303         echo "Doing dvi in recode" ; \
16304         (cd recode && \
16305           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16306                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16307                   "RANLIB=$${RANLIB}" \
16308                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16309                   dvi) \
16310           || exit 1
16311
16312 @endif recode
16313
16314 .PHONY: maybe-TAGS-recode TAGS-recode
16315 maybe-TAGS-recode:
16316 @if recode
16317 maybe-TAGS-recode: TAGS-recode
16318
16319 TAGS-recode: \
16320     configure-recode 
16321         @[ -f ./recode/Makefile ] || exit 0; \
16322         r=`${PWD_COMMAND}`; export r; \
16323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16324         $(SET_LIB_PATH) \
16325         $(HOST_EXPORTS) \
16326         for flag in $(EXTRA_HOST_FLAGS) ; do \
16327           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16328         done; \
16329         echo "Doing TAGS in recode" ; \
16330         (cd recode && \
16331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16333                   "RANLIB=$${RANLIB}" \
16334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16335                   TAGS) \
16336           || exit 1
16337
16338 @endif recode
16339
16340 .PHONY: maybe-install-info-recode install-info-recode
16341 maybe-install-info-recode:
16342 @if recode
16343 maybe-install-info-recode: install-info-recode
16344
16345 install-info-recode: \
16346     configure-recode \
16347     info-recode 
16348         @[ -f ./recode/Makefile ] || exit 0; \
16349         r=`${PWD_COMMAND}`; export r; \
16350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16351         $(SET_LIB_PATH) \
16352         $(HOST_EXPORTS) \
16353         for flag in $(EXTRA_HOST_FLAGS) ; do \
16354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16355         done; \
16356         echo "Doing install-info in recode" ; \
16357         (cd recode && \
16358           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16359                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16360                   "RANLIB=$${RANLIB}" \
16361                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16362                   install-info) \
16363           || exit 1
16364
16365 @endif recode
16366
16367 .PHONY: maybe-installcheck-recode installcheck-recode
16368 maybe-installcheck-recode:
16369 @if recode
16370 maybe-installcheck-recode: installcheck-recode
16371
16372 installcheck-recode: \
16373     configure-recode 
16374         @[ -f ./recode/Makefile ] || exit 0; \
16375         r=`${PWD_COMMAND}`; export r; \
16376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16377         $(SET_LIB_PATH) \
16378         $(HOST_EXPORTS) \
16379         for flag in $(EXTRA_HOST_FLAGS) ; do \
16380           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16381         done; \
16382         echo "Doing installcheck in recode" ; \
16383         (cd recode && \
16384           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16385                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16386                   "RANLIB=$${RANLIB}" \
16387                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16388                   installcheck) \
16389           || exit 1
16390
16391 @endif recode
16392
16393 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16394 maybe-mostlyclean-recode:
16395 @if recode
16396 maybe-mostlyclean-recode: mostlyclean-recode
16397
16398 mostlyclean-recode: 
16399         @[ -f ./recode/Makefile ] || exit 0; \
16400         r=`${PWD_COMMAND}`; export r; \
16401         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16402         $(SET_LIB_PATH) \
16403         $(HOST_EXPORTS) \
16404         for flag in $(EXTRA_HOST_FLAGS) ; do \
16405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16406         done; \
16407         echo "Doing mostlyclean in recode" ; \
16408         (cd recode && \
16409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16411                   "RANLIB=$${RANLIB}" \
16412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16413                   mostlyclean) \
16414           || exit 1
16415
16416 @endif recode
16417
16418 .PHONY: maybe-clean-recode clean-recode
16419 maybe-clean-recode:
16420 @if recode
16421 maybe-clean-recode: clean-recode
16422
16423 clean-recode: 
16424         @[ -f ./recode/Makefile ] || exit 0; \
16425         r=`${PWD_COMMAND}`; export r; \
16426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16427         $(SET_LIB_PATH) \
16428         $(HOST_EXPORTS) \
16429         for flag in $(EXTRA_HOST_FLAGS) ; do \
16430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16431         done; \
16432         echo "Doing clean in recode" ; \
16433         (cd recode && \
16434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16436                   "RANLIB=$${RANLIB}" \
16437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16438                   clean) \
16439           || exit 1
16440
16441 @endif recode
16442
16443 .PHONY: maybe-distclean-recode distclean-recode
16444 maybe-distclean-recode:
16445 @if recode
16446 maybe-distclean-recode: distclean-recode
16447
16448 distclean-recode: 
16449         @[ -f ./recode/Makefile ] || exit 0; \
16450         r=`${PWD_COMMAND}`; export r; \
16451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16452         $(SET_LIB_PATH) \
16453         $(HOST_EXPORTS) \
16454         for flag in $(EXTRA_HOST_FLAGS) ; do \
16455           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16456         done; \
16457         echo "Doing distclean in recode" ; \
16458         (cd recode && \
16459           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16460                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16461                   "RANLIB=$${RANLIB}" \
16462                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16463                   distclean) \
16464           || exit 1
16465
16466 @endif recode
16467
16468 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16469 maybe-maintainer-clean-recode:
16470 @if recode
16471 maybe-maintainer-clean-recode: maintainer-clean-recode
16472
16473 maintainer-clean-recode: 
16474         @[ -f ./recode/Makefile ] || exit 0; \
16475         r=`${PWD_COMMAND}`; export r; \
16476         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477         $(SET_LIB_PATH) \
16478         $(HOST_EXPORTS) \
16479         for flag in $(EXTRA_HOST_FLAGS) ; do \
16480           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16481         done; \
16482         echo "Doing maintainer-clean in recode" ; \
16483         (cd recode && \
16484           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16485                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16486                   "RANLIB=$${RANLIB}" \
16487                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16488                   maintainer-clean) \
16489           || exit 1
16490
16491 @endif recode
16492
16493
16494 .PHONY: configure-sed maybe-configure-sed
16495 maybe-configure-sed:
16496 @if sed
16497 maybe-configure-sed: configure-sed
16498 configure-sed:
16499         @test ! -f sed/Makefile || exit 0; \
16500         [ -d sed ] || mkdir sed; \
16501         r=`${PWD_COMMAND}`; export r; \
16502         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16503         $(HOST_EXPORTS) \
16504         echo Configuring in sed; \
16505         cd sed || exit 1; \
16506         case $(srcdir) in \
16507           \.) \
16508             srcdiroption="--srcdir=."; \
16509             libsrcdir=".";; \
16510           /* | [A-Za-z]:[\\/]*) \
16511             srcdiroption="--srcdir=$(srcdir)/sed"; \
16512             libsrcdir="$$s/sed";; \
16513           *) \
16514             srcdiroption="--srcdir=../$(srcdir)/sed"; \
16515             libsrcdir="$$s/sed";; \
16516         esac; \
16517         $(SHELL) $${libsrcdir}/configure \
16518           $(HOST_CONFIGARGS) $${srcdiroption}  \
16519           || exit 1
16520 @endif sed
16521
16522 .PHONY: all-sed maybe-all-sed
16523 maybe-all-sed:
16524 @if sed
16525 TARGET-sed=all
16526 maybe-all-sed: all-sed
16527 all-sed: configure-sed
16528         @r=`${PWD_COMMAND}`; export r; \
16529         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16530         $(SET_LIB_PATH) \
16531         $(HOST_EXPORTS) \
16532         (cd sed && $(MAKE) $(FLAGS_TO_PASS)  \
16533           $(TARGET-sed))
16534 @endif sed
16535
16536 .PHONY: check-sed maybe-check-sed
16537 maybe-check-sed:
16538 @if sed
16539 maybe-check-sed: check-sed
16540
16541 check-sed:
16542         @r=`${PWD_COMMAND}`; export r; \
16543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544         $(SET_LIB_PATH) \
16545         $(HOST_EXPORTS) \
16546         (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16547
16548 @endif sed
16549
16550 .PHONY: install-sed maybe-install-sed
16551 maybe-install-sed:
16552 @if sed
16553 maybe-install-sed: install-sed
16554
16555 install-sed: installdirs
16556         @r=`${PWD_COMMAND}`; export r; \
16557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16558         $(SET_LIB_PATH) \
16559         $(HOST_EXPORTS) \
16560         (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16561
16562 @endif sed
16563
16564 # Other targets (info, dvi, etc.)
16565
16566 .PHONY: maybe-info-sed info-sed
16567 maybe-info-sed:
16568 @if sed
16569 maybe-info-sed: info-sed
16570
16571 info-sed: \
16572     configure-sed 
16573         @[ -f ./sed/Makefile ] || exit 0; \
16574         r=`${PWD_COMMAND}`; export r; \
16575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16576         $(SET_LIB_PATH) \
16577         $(HOST_EXPORTS) \
16578         for flag in $(EXTRA_HOST_FLAGS) ; do \
16579           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16580         done; \
16581         echo "Doing info in sed" ; \
16582         (cd sed && \
16583           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16584                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16585                   "RANLIB=$${RANLIB}" \
16586                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16587                   info) \
16588           || exit 1
16589
16590 @endif sed
16591
16592 .PHONY: maybe-dvi-sed dvi-sed
16593 maybe-dvi-sed:
16594 @if sed
16595 maybe-dvi-sed: dvi-sed
16596
16597 dvi-sed: \
16598     configure-sed 
16599         @[ -f ./sed/Makefile ] || exit 0; \
16600         r=`${PWD_COMMAND}`; export r; \
16601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16602         $(SET_LIB_PATH) \
16603         $(HOST_EXPORTS) \
16604         for flag in $(EXTRA_HOST_FLAGS) ; do \
16605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16606         done; \
16607         echo "Doing dvi in sed" ; \
16608         (cd sed && \
16609           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16610                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16611                   "RANLIB=$${RANLIB}" \
16612                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16613                   dvi) \
16614           || exit 1
16615
16616 @endif sed
16617
16618 .PHONY: maybe-TAGS-sed TAGS-sed
16619 maybe-TAGS-sed:
16620 @if sed
16621 maybe-TAGS-sed: TAGS-sed
16622
16623 TAGS-sed: \
16624     configure-sed 
16625         @[ -f ./sed/Makefile ] || exit 0; \
16626         r=`${PWD_COMMAND}`; export r; \
16627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16628         $(SET_LIB_PATH) \
16629         $(HOST_EXPORTS) \
16630         for flag in $(EXTRA_HOST_FLAGS) ; do \
16631           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16632         done; \
16633         echo "Doing TAGS in sed" ; \
16634         (cd sed && \
16635           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16636                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16637                   "RANLIB=$${RANLIB}" \
16638                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16639                   TAGS) \
16640           || exit 1
16641
16642 @endif sed
16643
16644 .PHONY: maybe-install-info-sed install-info-sed
16645 maybe-install-info-sed:
16646 @if sed
16647 maybe-install-info-sed: install-info-sed
16648
16649 install-info-sed: \
16650     configure-sed \
16651     info-sed 
16652         @[ -f ./sed/Makefile ] || exit 0; \
16653         r=`${PWD_COMMAND}`; export r; \
16654         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16655         $(SET_LIB_PATH) \
16656         $(HOST_EXPORTS) \
16657         for flag in $(EXTRA_HOST_FLAGS) ; do \
16658           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16659         done; \
16660         echo "Doing install-info in sed" ; \
16661         (cd sed && \
16662           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16663                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16664                   "RANLIB=$${RANLIB}" \
16665                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16666                   install-info) \
16667           || exit 1
16668
16669 @endif sed
16670
16671 .PHONY: maybe-installcheck-sed installcheck-sed
16672 maybe-installcheck-sed:
16673 @if sed
16674 maybe-installcheck-sed: installcheck-sed
16675
16676 installcheck-sed: \
16677     configure-sed 
16678         @[ -f ./sed/Makefile ] || exit 0; \
16679         r=`${PWD_COMMAND}`; export r; \
16680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16681         $(SET_LIB_PATH) \
16682         $(HOST_EXPORTS) \
16683         for flag in $(EXTRA_HOST_FLAGS) ; do \
16684           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16685         done; \
16686         echo "Doing installcheck in sed" ; \
16687         (cd sed && \
16688           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16689                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16690                   "RANLIB=$${RANLIB}" \
16691                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16692                   installcheck) \
16693           || exit 1
16694
16695 @endif sed
16696
16697 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16698 maybe-mostlyclean-sed:
16699 @if sed
16700 maybe-mostlyclean-sed: mostlyclean-sed
16701
16702 mostlyclean-sed: 
16703         @[ -f ./sed/Makefile ] || exit 0; \
16704         r=`${PWD_COMMAND}`; export r; \
16705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16706         $(SET_LIB_PATH) \
16707         $(HOST_EXPORTS) \
16708         for flag in $(EXTRA_HOST_FLAGS) ; do \
16709           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16710         done; \
16711         echo "Doing mostlyclean in sed" ; \
16712         (cd sed && \
16713           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16714                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16715                   "RANLIB=$${RANLIB}" \
16716                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16717                   mostlyclean) \
16718           || exit 1
16719
16720 @endif sed
16721
16722 .PHONY: maybe-clean-sed clean-sed
16723 maybe-clean-sed:
16724 @if sed
16725 maybe-clean-sed: clean-sed
16726
16727 clean-sed: 
16728         @[ -f ./sed/Makefile ] || exit 0; \
16729         r=`${PWD_COMMAND}`; export r; \
16730         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16731         $(SET_LIB_PATH) \
16732         $(HOST_EXPORTS) \
16733         for flag in $(EXTRA_HOST_FLAGS) ; do \
16734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16735         done; \
16736         echo "Doing clean in sed" ; \
16737         (cd sed && \
16738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16740                   "RANLIB=$${RANLIB}" \
16741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16742                   clean) \
16743           || exit 1
16744
16745 @endif sed
16746
16747 .PHONY: maybe-distclean-sed distclean-sed
16748 maybe-distclean-sed:
16749 @if sed
16750 maybe-distclean-sed: distclean-sed
16751
16752 distclean-sed: 
16753         @[ -f ./sed/Makefile ] || exit 0; \
16754         r=`${PWD_COMMAND}`; export r; \
16755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16756         $(SET_LIB_PATH) \
16757         $(HOST_EXPORTS) \
16758         for flag in $(EXTRA_HOST_FLAGS) ; do \
16759           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16760         done; \
16761         echo "Doing distclean in sed" ; \
16762         (cd sed && \
16763           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16764                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16765                   "RANLIB=$${RANLIB}" \
16766                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16767                   distclean) \
16768           || exit 1
16769
16770 @endif sed
16771
16772 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16773 maybe-maintainer-clean-sed:
16774 @if sed
16775 maybe-maintainer-clean-sed: maintainer-clean-sed
16776
16777 maintainer-clean-sed: 
16778         @[ -f ./sed/Makefile ] || exit 0; \
16779         r=`${PWD_COMMAND}`; export r; \
16780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16781         $(SET_LIB_PATH) \
16782         $(HOST_EXPORTS) \
16783         for flag in $(EXTRA_HOST_FLAGS) ; do \
16784           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16785         done; \
16786         echo "Doing maintainer-clean in sed" ; \
16787         (cd sed && \
16788           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16789                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16790                   "RANLIB=$${RANLIB}" \
16791                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16792                   maintainer-clean) \
16793           || exit 1
16794
16795 @endif sed
16796
16797
16798 .PHONY: configure-send-pr maybe-configure-send-pr
16799 maybe-configure-send-pr:
16800 @if send-pr
16801 maybe-configure-send-pr: configure-send-pr
16802 configure-send-pr:
16803         @test ! -f send-pr/Makefile || exit 0; \
16804         [ -d send-pr ] || mkdir send-pr; \
16805         r=`${PWD_COMMAND}`; export r; \
16806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16807         $(HOST_EXPORTS) \
16808         echo Configuring in send-pr; \
16809         cd send-pr || exit 1; \
16810         case $(srcdir) in \
16811           \.) \
16812             srcdiroption="--srcdir=."; \
16813             libsrcdir=".";; \
16814           /* | [A-Za-z]:[\\/]*) \
16815             srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16816             libsrcdir="$$s/send-pr";; \
16817           *) \
16818             srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16819             libsrcdir="$$s/send-pr";; \
16820         esac; \
16821         $(SHELL) $${libsrcdir}/configure \
16822           $(HOST_CONFIGARGS) $${srcdiroption}  \
16823           || exit 1
16824 @endif send-pr
16825
16826 .PHONY: all-send-pr maybe-all-send-pr
16827 maybe-all-send-pr:
16828 @if send-pr
16829 TARGET-send-pr=all
16830 maybe-all-send-pr: all-send-pr
16831 all-send-pr: configure-send-pr
16832         @r=`${PWD_COMMAND}`; export r; \
16833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16834         $(SET_LIB_PATH) \
16835         $(HOST_EXPORTS) \
16836         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS)  \
16837           $(TARGET-send-pr))
16838 @endif send-pr
16839
16840 .PHONY: check-send-pr maybe-check-send-pr
16841 maybe-check-send-pr:
16842 @if send-pr
16843 maybe-check-send-pr: check-send-pr
16844
16845 check-send-pr:
16846         @r=`${PWD_COMMAND}`; export r; \
16847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16848         $(SET_LIB_PATH) \
16849         $(HOST_EXPORTS) \
16850         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16851
16852 @endif send-pr
16853
16854 .PHONY: install-send-pr maybe-install-send-pr
16855 maybe-install-send-pr:
16856 @if send-pr
16857 maybe-install-send-pr: install-send-pr
16858
16859 install-send-pr: installdirs
16860         @r=`${PWD_COMMAND}`; export r; \
16861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862         $(SET_LIB_PATH) \
16863         $(HOST_EXPORTS) \
16864         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16865
16866 @endif send-pr
16867
16868 # Other targets (info, dvi, etc.)
16869
16870 .PHONY: maybe-info-send-pr info-send-pr
16871 maybe-info-send-pr:
16872 @if send-pr
16873 maybe-info-send-pr: info-send-pr
16874
16875 info-send-pr: \
16876     configure-send-pr 
16877         @[ -f ./send-pr/Makefile ] || exit 0; \
16878         r=`${PWD_COMMAND}`; export r; \
16879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16880         $(SET_LIB_PATH) \
16881         $(HOST_EXPORTS) \
16882         for flag in $(EXTRA_HOST_FLAGS) ; do \
16883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16884         done; \
16885         echo "Doing info in send-pr" ; \
16886         (cd send-pr && \
16887           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16888                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16889                   "RANLIB=$${RANLIB}" \
16890                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16891                   info) \
16892           || exit 1
16893
16894 @endif send-pr
16895
16896 .PHONY: maybe-dvi-send-pr dvi-send-pr
16897 maybe-dvi-send-pr:
16898 @if send-pr
16899 maybe-dvi-send-pr: dvi-send-pr
16900
16901 dvi-send-pr: \
16902     configure-send-pr 
16903         @[ -f ./send-pr/Makefile ] || exit 0; \
16904         r=`${PWD_COMMAND}`; export r; \
16905         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16906         $(SET_LIB_PATH) \
16907         $(HOST_EXPORTS) \
16908         for flag in $(EXTRA_HOST_FLAGS) ; do \
16909           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16910         done; \
16911         echo "Doing dvi in send-pr" ; \
16912         (cd send-pr && \
16913           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16914                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16915                   "RANLIB=$${RANLIB}" \
16916                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16917                   dvi) \
16918           || exit 1
16919
16920 @endif send-pr
16921
16922 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16923 maybe-TAGS-send-pr:
16924 @if send-pr
16925 maybe-TAGS-send-pr: TAGS-send-pr
16926
16927 TAGS-send-pr: \
16928     configure-send-pr 
16929         @[ -f ./send-pr/Makefile ] || exit 0; \
16930         r=`${PWD_COMMAND}`; export r; \
16931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16932         $(SET_LIB_PATH) \
16933         $(HOST_EXPORTS) \
16934         for flag in $(EXTRA_HOST_FLAGS) ; do \
16935           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16936         done; \
16937         echo "Doing TAGS in send-pr" ; \
16938         (cd send-pr && \
16939           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16940                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16941                   "RANLIB=$${RANLIB}" \
16942                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16943                   TAGS) \
16944           || exit 1
16945
16946 @endif send-pr
16947
16948 .PHONY: maybe-install-info-send-pr install-info-send-pr
16949 maybe-install-info-send-pr:
16950 @if send-pr
16951 maybe-install-info-send-pr: install-info-send-pr
16952
16953 install-info-send-pr: \
16954     configure-send-pr \
16955     info-send-pr 
16956         @[ -f ./send-pr/Makefile ] || exit 0; \
16957         r=`${PWD_COMMAND}`; export r; \
16958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16959         $(SET_LIB_PATH) \
16960         $(HOST_EXPORTS) \
16961         for flag in $(EXTRA_HOST_FLAGS) ; do \
16962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16963         done; \
16964         echo "Doing install-info in send-pr" ; \
16965         (cd send-pr && \
16966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968                   "RANLIB=$${RANLIB}" \
16969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16970                   install-info) \
16971           || exit 1
16972
16973 @endif send-pr
16974
16975 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16976 maybe-installcheck-send-pr:
16977 @if send-pr
16978 maybe-installcheck-send-pr: installcheck-send-pr
16979
16980 installcheck-send-pr: \
16981     configure-send-pr 
16982         @[ -f ./send-pr/Makefile ] || exit 0; \
16983         r=`${PWD_COMMAND}`; export r; \
16984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16985         $(SET_LIB_PATH) \
16986         $(HOST_EXPORTS) \
16987         for flag in $(EXTRA_HOST_FLAGS) ; do \
16988           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16989         done; \
16990         echo "Doing installcheck in send-pr" ; \
16991         (cd send-pr && \
16992           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16993                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16994                   "RANLIB=$${RANLIB}" \
16995                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16996                   installcheck) \
16997           || exit 1
16998
16999 @endif send-pr
17000
17001 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17002 maybe-mostlyclean-send-pr:
17003 @if send-pr
17004 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17005
17006 mostlyclean-send-pr: 
17007         @[ -f ./send-pr/Makefile ] || exit 0; \
17008         r=`${PWD_COMMAND}`; export r; \
17009         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17010         $(SET_LIB_PATH) \
17011         $(HOST_EXPORTS) \
17012         for flag in $(EXTRA_HOST_FLAGS) ; do \
17013           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17014         done; \
17015         echo "Doing mostlyclean in send-pr" ; \
17016         (cd send-pr && \
17017           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17018                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17019                   "RANLIB=$${RANLIB}" \
17020                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17021                   mostlyclean) \
17022           || exit 1
17023
17024 @endif send-pr
17025
17026 .PHONY: maybe-clean-send-pr clean-send-pr
17027 maybe-clean-send-pr:
17028 @if send-pr
17029 maybe-clean-send-pr: clean-send-pr
17030
17031 clean-send-pr: 
17032         @[ -f ./send-pr/Makefile ] || exit 0; \
17033         r=`${PWD_COMMAND}`; export r; \
17034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17035         $(SET_LIB_PATH) \
17036         $(HOST_EXPORTS) \
17037         for flag in $(EXTRA_HOST_FLAGS) ; do \
17038           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17039         done; \
17040         echo "Doing clean in send-pr" ; \
17041         (cd send-pr && \
17042           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17043                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17044                   "RANLIB=$${RANLIB}" \
17045                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17046                   clean) \
17047           || exit 1
17048
17049 @endif send-pr
17050
17051 .PHONY: maybe-distclean-send-pr distclean-send-pr
17052 maybe-distclean-send-pr:
17053 @if send-pr
17054 maybe-distclean-send-pr: distclean-send-pr
17055
17056 distclean-send-pr: 
17057         @[ -f ./send-pr/Makefile ] || exit 0; \
17058         r=`${PWD_COMMAND}`; export r; \
17059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17060         $(SET_LIB_PATH) \
17061         $(HOST_EXPORTS) \
17062         for flag in $(EXTRA_HOST_FLAGS) ; do \
17063           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17064         done; \
17065         echo "Doing distclean in send-pr" ; \
17066         (cd send-pr && \
17067           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17068                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17069                   "RANLIB=$${RANLIB}" \
17070                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17071                   distclean) \
17072           || exit 1
17073
17074 @endif send-pr
17075
17076 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17077 maybe-maintainer-clean-send-pr:
17078 @if send-pr
17079 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17080
17081 maintainer-clean-send-pr: 
17082         @[ -f ./send-pr/Makefile ] || exit 0; \
17083         r=`${PWD_COMMAND}`; export r; \
17084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17085         $(SET_LIB_PATH) \
17086         $(HOST_EXPORTS) \
17087         for flag in $(EXTRA_HOST_FLAGS) ; do \
17088           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17089         done; \
17090         echo "Doing maintainer-clean in send-pr" ; \
17091         (cd send-pr && \
17092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17094                   "RANLIB=$${RANLIB}" \
17095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17096                   maintainer-clean) \
17097           || exit 1
17098
17099 @endif send-pr
17100
17101
17102 .PHONY: configure-shellutils maybe-configure-shellutils
17103 maybe-configure-shellutils:
17104 @if shellutils
17105 maybe-configure-shellutils: configure-shellutils
17106 configure-shellutils:
17107         @test ! -f shellutils/Makefile || exit 0; \
17108         [ -d shellutils ] || mkdir shellutils; \
17109         r=`${PWD_COMMAND}`; export r; \
17110         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17111         $(HOST_EXPORTS) \
17112         echo Configuring in shellutils; \
17113         cd shellutils || exit 1; \
17114         case $(srcdir) in \
17115           \.) \
17116             srcdiroption="--srcdir=."; \
17117             libsrcdir=".";; \
17118           /* | [A-Za-z]:[\\/]*) \
17119             srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17120             libsrcdir="$$s/shellutils";; \
17121           *) \
17122             srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17123             libsrcdir="$$s/shellutils";; \
17124         esac; \
17125         $(SHELL) $${libsrcdir}/configure \
17126           $(HOST_CONFIGARGS) $${srcdiroption}  \
17127           || exit 1
17128 @endif shellutils
17129
17130 .PHONY: all-shellutils maybe-all-shellutils
17131 maybe-all-shellutils:
17132 @if shellutils
17133 TARGET-shellutils=all
17134 maybe-all-shellutils: all-shellutils
17135 all-shellutils: configure-shellutils
17136         @r=`${PWD_COMMAND}`; export r; \
17137         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17138         $(SET_LIB_PATH) \
17139         $(HOST_EXPORTS) \
17140         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS)  \
17141           $(TARGET-shellutils))
17142 @endif shellutils
17143
17144 .PHONY: check-shellutils maybe-check-shellutils
17145 maybe-check-shellutils:
17146 @if shellutils
17147 maybe-check-shellutils: check-shellutils
17148
17149 check-shellutils:
17150         @r=`${PWD_COMMAND}`; export r; \
17151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17152         $(SET_LIB_PATH) \
17153         $(HOST_EXPORTS) \
17154         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17155
17156 @endif shellutils
17157
17158 .PHONY: install-shellutils maybe-install-shellutils
17159 maybe-install-shellutils:
17160 @if shellutils
17161 maybe-install-shellutils: install-shellutils
17162
17163 install-shellutils: installdirs
17164         @r=`${PWD_COMMAND}`; export r; \
17165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166         $(SET_LIB_PATH) \
17167         $(HOST_EXPORTS) \
17168         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17169
17170 @endif shellutils
17171
17172 # Other targets (info, dvi, etc.)
17173
17174 .PHONY: maybe-info-shellutils info-shellutils
17175 maybe-info-shellutils:
17176 @if shellutils
17177 maybe-info-shellutils: info-shellutils
17178
17179 info-shellutils: \
17180     configure-shellutils 
17181         @[ -f ./shellutils/Makefile ] || exit 0; \
17182         r=`${PWD_COMMAND}`; export r; \
17183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184         $(SET_LIB_PATH) \
17185         $(HOST_EXPORTS) \
17186         for flag in $(EXTRA_HOST_FLAGS) ; do \
17187           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17188         done; \
17189         echo "Doing info in shellutils" ; \
17190         (cd shellutils && \
17191           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17192                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17193                   "RANLIB=$${RANLIB}" \
17194                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17195                   info) \
17196           || exit 1
17197
17198 @endif shellutils
17199
17200 .PHONY: maybe-dvi-shellutils dvi-shellutils
17201 maybe-dvi-shellutils:
17202 @if shellutils
17203 maybe-dvi-shellutils: dvi-shellutils
17204
17205 dvi-shellutils: \
17206     configure-shellutils 
17207         @[ -f ./shellutils/Makefile ] || exit 0; \
17208         r=`${PWD_COMMAND}`; export r; \
17209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17210         $(SET_LIB_PATH) \
17211         $(HOST_EXPORTS) \
17212         for flag in $(EXTRA_HOST_FLAGS) ; do \
17213           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17214         done; \
17215         echo "Doing dvi in shellutils" ; \
17216         (cd shellutils && \
17217           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17218                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17219                   "RANLIB=$${RANLIB}" \
17220                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17221                   dvi) \
17222           || exit 1
17223
17224 @endif shellutils
17225
17226 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17227 maybe-TAGS-shellutils:
17228 @if shellutils
17229 maybe-TAGS-shellutils: TAGS-shellutils
17230
17231 TAGS-shellutils: \
17232     configure-shellutils 
17233         @[ -f ./shellutils/Makefile ] || exit 0; \
17234         r=`${PWD_COMMAND}`; export r; \
17235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17236         $(SET_LIB_PATH) \
17237         $(HOST_EXPORTS) \
17238         for flag in $(EXTRA_HOST_FLAGS) ; do \
17239           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17240         done; \
17241         echo "Doing TAGS in shellutils" ; \
17242         (cd shellutils && \
17243           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17244                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17245                   "RANLIB=$${RANLIB}" \
17246                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17247                   TAGS) \
17248           || exit 1
17249
17250 @endif shellutils
17251
17252 .PHONY: maybe-install-info-shellutils install-info-shellutils
17253 maybe-install-info-shellutils:
17254 @if shellutils
17255 maybe-install-info-shellutils: install-info-shellutils
17256
17257 install-info-shellutils: \
17258     configure-shellutils \
17259     info-shellutils 
17260         @[ -f ./shellutils/Makefile ] || exit 0; \
17261         r=`${PWD_COMMAND}`; export r; \
17262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263         $(SET_LIB_PATH) \
17264         $(HOST_EXPORTS) \
17265         for flag in $(EXTRA_HOST_FLAGS) ; do \
17266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17267         done; \
17268         echo "Doing install-info in shellutils" ; \
17269         (cd shellutils && \
17270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17272                   "RANLIB=$${RANLIB}" \
17273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17274                   install-info) \
17275           || exit 1
17276
17277 @endif shellutils
17278
17279 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17280 maybe-installcheck-shellutils:
17281 @if shellutils
17282 maybe-installcheck-shellutils: installcheck-shellutils
17283
17284 installcheck-shellutils: \
17285     configure-shellutils 
17286         @[ -f ./shellutils/Makefile ] || exit 0; \
17287         r=`${PWD_COMMAND}`; export r; \
17288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17289         $(SET_LIB_PATH) \
17290         $(HOST_EXPORTS) \
17291         for flag in $(EXTRA_HOST_FLAGS) ; do \
17292           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17293         done; \
17294         echo "Doing installcheck in shellutils" ; \
17295         (cd shellutils && \
17296           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17297                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17298                   "RANLIB=$${RANLIB}" \
17299                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17300                   installcheck) \
17301           || exit 1
17302
17303 @endif shellutils
17304
17305 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17306 maybe-mostlyclean-shellutils:
17307 @if shellutils
17308 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17309
17310 mostlyclean-shellutils: 
17311         @[ -f ./shellutils/Makefile ] || exit 0; \
17312         r=`${PWD_COMMAND}`; export r; \
17313         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17314         $(SET_LIB_PATH) \
17315         $(HOST_EXPORTS) \
17316         for flag in $(EXTRA_HOST_FLAGS) ; do \
17317           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17318         done; \
17319         echo "Doing mostlyclean in shellutils" ; \
17320         (cd shellutils && \
17321           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17322                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17323                   "RANLIB=$${RANLIB}" \
17324                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17325                   mostlyclean) \
17326           || exit 1
17327
17328 @endif shellutils
17329
17330 .PHONY: maybe-clean-shellutils clean-shellutils
17331 maybe-clean-shellutils:
17332 @if shellutils
17333 maybe-clean-shellutils: clean-shellutils
17334
17335 clean-shellutils: 
17336         @[ -f ./shellutils/Makefile ] || exit 0; \
17337         r=`${PWD_COMMAND}`; export r; \
17338         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17339         $(SET_LIB_PATH) \
17340         $(HOST_EXPORTS) \
17341         for flag in $(EXTRA_HOST_FLAGS) ; do \
17342           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17343         done; \
17344         echo "Doing clean in shellutils" ; \
17345         (cd shellutils && \
17346           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17347                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17348                   "RANLIB=$${RANLIB}" \
17349                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17350                   clean) \
17351           || exit 1
17352
17353 @endif shellutils
17354
17355 .PHONY: maybe-distclean-shellutils distclean-shellutils
17356 maybe-distclean-shellutils:
17357 @if shellutils
17358 maybe-distclean-shellutils: distclean-shellutils
17359
17360 distclean-shellutils: 
17361         @[ -f ./shellutils/Makefile ] || exit 0; \
17362         r=`${PWD_COMMAND}`; export r; \
17363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17364         $(SET_LIB_PATH) \
17365         $(HOST_EXPORTS) \
17366         for flag in $(EXTRA_HOST_FLAGS) ; do \
17367           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17368         done; \
17369         echo "Doing distclean in shellutils" ; \
17370         (cd shellutils && \
17371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17373                   "RANLIB=$${RANLIB}" \
17374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17375                   distclean) \
17376           || exit 1
17377
17378 @endif shellutils
17379
17380 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17381 maybe-maintainer-clean-shellutils:
17382 @if shellutils
17383 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17384
17385 maintainer-clean-shellutils: 
17386         @[ -f ./shellutils/Makefile ] || exit 0; \
17387         r=`${PWD_COMMAND}`; export r; \
17388         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17389         $(SET_LIB_PATH) \
17390         $(HOST_EXPORTS) \
17391         for flag in $(EXTRA_HOST_FLAGS) ; do \
17392           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17393         done; \
17394         echo "Doing maintainer-clean in shellutils" ; \
17395         (cd shellutils && \
17396           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17397                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17398                   "RANLIB=$${RANLIB}" \
17399                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17400                   maintainer-clean) \
17401           || exit 1
17402
17403 @endif shellutils
17404
17405
17406 .PHONY: configure-sid maybe-configure-sid
17407 maybe-configure-sid:
17408 @if sid
17409 maybe-configure-sid: configure-sid
17410 configure-sid:
17411         @test ! -f sid/Makefile || exit 0; \
17412         [ -d sid ] || mkdir sid; \
17413         r=`${PWD_COMMAND}`; export r; \
17414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17415         $(HOST_EXPORTS) \
17416         echo Configuring in sid; \
17417         cd sid || exit 1; \
17418         case $(srcdir) in \
17419           \.) \
17420             srcdiroption="--srcdir=."; \
17421             libsrcdir=".";; \
17422           /* | [A-Za-z]:[\\/]*) \
17423             srcdiroption="--srcdir=$(srcdir)/sid"; \
17424             libsrcdir="$$s/sid";; \
17425           *) \
17426             srcdiroption="--srcdir=../$(srcdir)/sid"; \
17427             libsrcdir="$$s/sid";; \
17428         esac; \
17429         $(SHELL) $${libsrcdir}/configure \
17430           $(HOST_CONFIGARGS) $${srcdiroption}  \
17431           || exit 1
17432 @endif sid
17433
17434 .PHONY: all-sid maybe-all-sid
17435 maybe-all-sid:
17436 @if sid
17437 TARGET-sid=all
17438 maybe-all-sid: all-sid
17439 all-sid: configure-sid
17440         @r=`${PWD_COMMAND}`; export r; \
17441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17442         $(SET_LIB_PATH) \
17443         $(HOST_EXPORTS) \
17444         (cd sid && $(MAKE) $(FLAGS_TO_PASS)  \
17445           $(TARGET-sid))
17446 @endif sid
17447
17448 .PHONY: check-sid maybe-check-sid
17449 maybe-check-sid:
17450 @if sid
17451 maybe-check-sid: check-sid
17452
17453 check-sid:
17454         @r=`${PWD_COMMAND}`; export r; \
17455         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17456         $(SET_LIB_PATH) \
17457         $(HOST_EXPORTS) \
17458         (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17459
17460 @endif sid
17461
17462 .PHONY: install-sid maybe-install-sid
17463 maybe-install-sid:
17464 @if sid
17465 maybe-install-sid: install-sid
17466
17467 install-sid: installdirs
17468         @r=`${PWD_COMMAND}`; export r; \
17469         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17470         $(SET_LIB_PATH) \
17471         $(HOST_EXPORTS) \
17472         (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17473
17474 @endif sid
17475
17476 # Other targets (info, dvi, etc.)
17477
17478 .PHONY: maybe-info-sid info-sid
17479 maybe-info-sid:
17480 @if sid
17481 maybe-info-sid: info-sid
17482
17483 info-sid: \
17484     configure-sid 
17485         @[ -f ./sid/Makefile ] || exit 0; \
17486         r=`${PWD_COMMAND}`; export r; \
17487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488         $(SET_LIB_PATH) \
17489         $(HOST_EXPORTS) \
17490         for flag in $(EXTRA_HOST_FLAGS) ; do \
17491           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17492         done; \
17493         echo "Doing info in sid" ; \
17494         (cd sid && \
17495           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17496                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17497                   "RANLIB=$${RANLIB}" \
17498                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17499                   info) \
17500           || exit 1
17501
17502 @endif sid
17503
17504 .PHONY: maybe-dvi-sid dvi-sid
17505 maybe-dvi-sid:
17506 @if sid
17507 maybe-dvi-sid: dvi-sid
17508
17509 dvi-sid: \
17510     configure-sid 
17511         @[ -f ./sid/Makefile ] || exit 0; \
17512         r=`${PWD_COMMAND}`; export r; \
17513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17514         $(SET_LIB_PATH) \
17515         $(HOST_EXPORTS) \
17516         for flag in $(EXTRA_HOST_FLAGS) ; do \
17517           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17518         done; \
17519         echo "Doing dvi in sid" ; \
17520         (cd sid && \
17521           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17522                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17523                   "RANLIB=$${RANLIB}" \
17524                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17525                   dvi) \
17526           || exit 1
17527
17528 @endif sid
17529
17530 .PHONY: maybe-TAGS-sid TAGS-sid
17531 maybe-TAGS-sid:
17532 @if sid
17533 maybe-TAGS-sid: TAGS-sid
17534
17535 TAGS-sid: \
17536     configure-sid 
17537         @[ -f ./sid/Makefile ] || exit 0; \
17538         r=`${PWD_COMMAND}`; export r; \
17539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17540         $(SET_LIB_PATH) \
17541         $(HOST_EXPORTS) \
17542         for flag in $(EXTRA_HOST_FLAGS) ; do \
17543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17544         done; \
17545         echo "Doing TAGS in sid" ; \
17546         (cd sid && \
17547           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549                   "RANLIB=$${RANLIB}" \
17550                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17551                   TAGS) \
17552           || exit 1
17553
17554 @endif sid
17555
17556 .PHONY: maybe-install-info-sid install-info-sid
17557 maybe-install-info-sid:
17558 @if sid
17559 maybe-install-info-sid: install-info-sid
17560
17561 install-info-sid: \
17562     configure-sid \
17563     info-sid 
17564         @[ -f ./sid/Makefile ] || exit 0; \
17565         r=`${PWD_COMMAND}`; export r; \
17566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17567         $(SET_LIB_PATH) \
17568         $(HOST_EXPORTS) \
17569         for flag in $(EXTRA_HOST_FLAGS) ; do \
17570           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17571         done; \
17572         echo "Doing install-info in sid" ; \
17573         (cd sid && \
17574           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17575                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17576                   "RANLIB=$${RANLIB}" \
17577                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17578                   install-info) \
17579           || exit 1
17580
17581 @endif sid
17582
17583 .PHONY: maybe-installcheck-sid installcheck-sid
17584 maybe-installcheck-sid:
17585 @if sid
17586 maybe-installcheck-sid: installcheck-sid
17587
17588 installcheck-sid: \
17589     configure-sid 
17590         @[ -f ./sid/Makefile ] || exit 0; \
17591         r=`${PWD_COMMAND}`; export r; \
17592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17593         $(SET_LIB_PATH) \
17594         $(HOST_EXPORTS) \
17595         for flag in $(EXTRA_HOST_FLAGS) ; do \
17596           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17597         done; \
17598         echo "Doing installcheck in sid" ; \
17599         (cd sid && \
17600           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17601                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17602                   "RANLIB=$${RANLIB}" \
17603                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17604                   installcheck) \
17605           || exit 1
17606
17607 @endif sid
17608
17609 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17610 maybe-mostlyclean-sid:
17611 @if sid
17612 maybe-mostlyclean-sid: mostlyclean-sid
17613
17614 mostlyclean-sid: 
17615         @[ -f ./sid/Makefile ] || exit 0; \
17616         r=`${PWD_COMMAND}`; export r; \
17617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17618         $(SET_LIB_PATH) \
17619         $(HOST_EXPORTS) \
17620         for flag in $(EXTRA_HOST_FLAGS) ; do \
17621           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17622         done; \
17623         echo "Doing mostlyclean in sid" ; \
17624         (cd sid && \
17625           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17626                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17627                   "RANLIB=$${RANLIB}" \
17628                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17629                   mostlyclean) \
17630           || exit 1
17631
17632 @endif sid
17633
17634 .PHONY: maybe-clean-sid clean-sid
17635 maybe-clean-sid:
17636 @if sid
17637 maybe-clean-sid: clean-sid
17638
17639 clean-sid: 
17640         @[ -f ./sid/Makefile ] || exit 0; \
17641         r=`${PWD_COMMAND}`; export r; \
17642         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17643         $(SET_LIB_PATH) \
17644         $(HOST_EXPORTS) \
17645         for flag in $(EXTRA_HOST_FLAGS) ; do \
17646           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17647         done; \
17648         echo "Doing clean in sid" ; \
17649         (cd sid && \
17650           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17651                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17652                   "RANLIB=$${RANLIB}" \
17653                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17654                   clean) \
17655           || exit 1
17656
17657 @endif sid
17658
17659 .PHONY: maybe-distclean-sid distclean-sid
17660 maybe-distclean-sid:
17661 @if sid
17662 maybe-distclean-sid: distclean-sid
17663
17664 distclean-sid: 
17665         @[ -f ./sid/Makefile ] || exit 0; \
17666         r=`${PWD_COMMAND}`; export r; \
17667         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17668         $(SET_LIB_PATH) \
17669         $(HOST_EXPORTS) \
17670         for flag in $(EXTRA_HOST_FLAGS) ; do \
17671           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17672         done; \
17673         echo "Doing distclean in sid" ; \
17674         (cd sid && \
17675           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17676                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17677                   "RANLIB=$${RANLIB}" \
17678                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17679                   distclean) \
17680           || exit 1
17681
17682 @endif sid
17683
17684 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17685 maybe-maintainer-clean-sid:
17686 @if sid
17687 maybe-maintainer-clean-sid: maintainer-clean-sid
17688
17689 maintainer-clean-sid: 
17690         @[ -f ./sid/Makefile ] || exit 0; \
17691         r=`${PWD_COMMAND}`; export r; \
17692         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693         $(SET_LIB_PATH) \
17694         $(HOST_EXPORTS) \
17695         for flag in $(EXTRA_HOST_FLAGS) ; do \
17696           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17697         done; \
17698         echo "Doing maintainer-clean in sid" ; \
17699         (cd sid && \
17700           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17701                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17702                   "RANLIB=$${RANLIB}" \
17703                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17704                   maintainer-clean) \
17705           || exit 1
17706
17707 @endif sid
17708
17709
17710 .PHONY: configure-sim maybe-configure-sim
17711 maybe-configure-sim:
17712 @if sim
17713 maybe-configure-sim: configure-sim
17714 configure-sim:
17715         @test ! -f sim/Makefile || exit 0; \
17716         [ -d sim ] || mkdir sim; \
17717         r=`${PWD_COMMAND}`; export r; \
17718         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17719         $(HOST_EXPORTS) \
17720         echo Configuring in sim; \
17721         cd sim || exit 1; \
17722         case $(srcdir) in \
17723           \.) \
17724             srcdiroption="--srcdir=."; \
17725             libsrcdir=".";; \
17726           /* | [A-Za-z]:[\\/]*) \
17727             srcdiroption="--srcdir=$(srcdir)/sim"; \
17728             libsrcdir="$$s/sim";; \
17729           *) \
17730             srcdiroption="--srcdir=../$(srcdir)/sim"; \
17731             libsrcdir="$$s/sim";; \
17732         esac; \
17733         $(SHELL) $${libsrcdir}/configure \
17734           $(HOST_CONFIGARGS) $${srcdiroption}  \
17735           || exit 1
17736 @endif sim
17737
17738 .PHONY: all-sim maybe-all-sim
17739 maybe-all-sim:
17740 @if sim
17741 TARGET-sim=all
17742 maybe-all-sim: all-sim
17743 all-sim: configure-sim
17744         @r=`${PWD_COMMAND}`; export r; \
17745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17746         $(SET_LIB_PATH) \
17747         $(HOST_EXPORTS) \
17748         (cd sim && $(MAKE) $(FLAGS_TO_PASS)  \
17749           $(TARGET-sim))
17750 @endif sim
17751
17752 .PHONY: check-sim maybe-check-sim
17753 maybe-check-sim:
17754 @if sim
17755 maybe-check-sim: check-sim
17756
17757 check-sim:
17758         @r=`${PWD_COMMAND}`; export r; \
17759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17760         $(SET_LIB_PATH) \
17761         $(HOST_EXPORTS) \
17762         (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17763
17764 @endif sim
17765
17766 .PHONY: install-sim maybe-install-sim
17767 maybe-install-sim:
17768 @if sim
17769 maybe-install-sim: install-sim
17770
17771 install-sim: installdirs
17772         @r=`${PWD_COMMAND}`; export r; \
17773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17774         $(SET_LIB_PATH) \
17775         $(HOST_EXPORTS) \
17776         (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17777
17778 @endif sim
17779
17780 # Other targets (info, dvi, etc.)
17781
17782 .PHONY: maybe-info-sim info-sim
17783 maybe-info-sim:
17784 @if sim
17785 maybe-info-sim: info-sim
17786
17787 info-sim: \
17788     configure-sim 
17789         @[ -f ./sim/Makefile ] || exit 0; \
17790         r=`${PWD_COMMAND}`; export r; \
17791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792         $(SET_LIB_PATH) \
17793         $(HOST_EXPORTS) \
17794         for flag in $(EXTRA_HOST_FLAGS) ; do \
17795           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17796         done; \
17797         echo "Doing info in sim" ; \
17798         (cd sim && \
17799           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17800                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17801                   "RANLIB=$${RANLIB}" \
17802                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17803                   info) \
17804           || exit 1
17805
17806 @endif sim
17807
17808 .PHONY: maybe-dvi-sim dvi-sim
17809 maybe-dvi-sim:
17810 @if sim
17811 maybe-dvi-sim: dvi-sim
17812
17813 dvi-sim: \
17814     configure-sim 
17815         @[ -f ./sim/Makefile ] || exit 0; \
17816         r=`${PWD_COMMAND}`; export r; \
17817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17818         $(SET_LIB_PATH) \
17819         $(HOST_EXPORTS) \
17820         for flag in $(EXTRA_HOST_FLAGS) ; do \
17821           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17822         done; \
17823         echo "Doing dvi in sim" ; \
17824         (cd sim && \
17825           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17826                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17827                   "RANLIB=$${RANLIB}" \
17828                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17829                   dvi) \
17830           || exit 1
17831
17832 @endif sim
17833
17834 .PHONY: maybe-TAGS-sim TAGS-sim
17835 maybe-TAGS-sim:
17836 @if sim
17837 maybe-TAGS-sim: TAGS-sim
17838
17839 TAGS-sim: \
17840     configure-sim 
17841         @[ -f ./sim/Makefile ] || exit 0; \
17842         r=`${PWD_COMMAND}`; export r; \
17843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17844         $(SET_LIB_PATH) \
17845         $(HOST_EXPORTS) \
17846         for flag in $(EXTRA_HOST_FLAGS) ; do \
17847           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17848         done; \
17849         echo "Doing TAGS in sim" ; \
17850         (cd sim && \
17851           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17852                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17853                   "RANLIB=$${RANLIB}" \
17854                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17855                   TAGS) \
17856           || exit 1
17857
17858 @endif sim
17859
17860 .PHONY: maybe-install-info-sim install-info-sim
17861 maybe-install-info-sim:
17862 @if sim
17863 maybe-install-info-sim: install-info-sim
17864
17865 install-info-sim: \
17866     configure-sim \
17867     info-sim 
17868         @[ -f ./sim/Makefile ] || exit 0; \
17869         r=`${PWD_COMMAND}`; export r; \
17870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17871         $(SET_LIB_PATH) \
17872         $(HOST_EXPORTS) \
17873         for flag in $(EXTRA_HOST_FLAGS) ; do \
17874           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17875         done; \
17876         echo "Doing install-info in sim" ; \
17877         (cd sim && \
17878           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17879                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17880                   "RANLIB=$${RANLIB}" \
17881                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17882                   install-info) \
17883           || exit 1
17884
17885 @endif sim
17886
17887 .PHONY: maybe-installcheck-sim installcheck-sim
17888 maybe-installcheck-sim:
17889 @if sim
17890 maybe-installcheck-sim: installcheck-sim
17891
17892 installcheck-sim: \
17893     configure-sim 
17894         @[ -f ./sim/Makefile ] || exit 0; \
17895         r=`${PWD_COMMAND}`; export r; \
17896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17897         $(SET_LIB_PATH) \
17898         $(HOST_EXPORTS) \
17899         for flag in $(EXTRA_HOST_FLAGS) ; do \
17900           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17901         done; \
17902         echo "Doing installcheck in sim" ; \
17903         (cd sim && \
17904           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17905                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17906                   "RANLIB=$${RANLIB}" \
17907                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17908                   installcheck) \
17909           || exit 1
17910
17911 @endif sim
17912
17913 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17914 maybe-mostlyclean-sim:
17915 @if sim
17916 maybe-mostlyclean-sim: mostlyclean-sim
17917
17918 mostlyclean-sim: 
17919         @[ -f ./sim/Makefile ] || exit 0; \
17920         r=`${PWD_COMMAND}`; export r; \
17921         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17922         $(SET_LIB_PATH) \
17923         $(HOST_EXPORTS) \
17924         for flag in $(EXTRA_HOST_FLAGS) ; do \
17925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17926         done; \
17927         echo "Doing mostlyclean in sim" ; \
17928         (cd sim && \
17929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17931                   "RANLIB=$${RANLIB}" \
17932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17933                   mostlyclean) \
17934           || exit 1
17935
17936 @endif sim
17937
17938 .PHONY: maybe-clean-sim clean-sim
17939 maybe-clean-sim:
17940 @if sim
17941 maybe-clean-sim: clean-sim
17942
17943 clean-sim: 
17944         @[ -f ./sim/Makefile ] || exit 0; \
17945         r=`${PWD_COMMAND}`; export r; \
17946         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17947         $(SET_LIB_PATH) \
17948         $(HOST_EXPORTS) \
17949         for flag in $(EXTRA_HOST_FLAGS) ; do \
17950           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17951         done; \
17952         echo "Doing clean in sim" ; \
17953         (cd sim && \
17954           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17955                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17956                   "RANLIB=$${RANLIB}" \
17957                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17958                   clean) \
17959           || exit 1
17960
17961 @endif sim
17962
17963 .PHONY: maybe-distclean-sim distclean-sim
17964 maybe-distclean-sim:
17965 @if sim
17966 maybe-distclean-sim: distclean-sim
17967
17968 distclean-sim: 
17969         @[ -f ./sim/Makefile ] || exit 0; \
17970         r=`${PWD_COMMAND}`; export r; \
17971         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17972         $(SET_LIB_PATH) \
17973         $(HOST_EXPORTS) \
17974         for flag in $(EXTRA_HOST_FLAGS) ; do \
17975           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17976         done; \
17977         echo "Doing distclean in sim" ; \
17978         (cd sim && \
17979           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17980                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17981                   "RANLIB=$${RANLIB}" \
17982                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17983                   distclean) \
17984           || exit 1
17985
17986 @endif sim
17987
17988 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17989 maybe-maintainer-clean-sim:
17990 @if sim
17991 maybe-maintainer-clean-sim: maintainer-clean-sim
17992
17993 maintainer-clean-sim: 
17994         @[ -f ./sim/Makefile ] || exit 0; \
17995         r=`${PWD_COMMAND}`; export r; \
17996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17997         $(SET_LIB_PATH) \
17998         $(HOST_EXPORTS) \
17999         for flag in $(EXTRA_HOST_FLAGS) ; do \
18000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001         done; \
18002         echo "Doing maintainer-clean in sim" ; \
18003         (cd sim && \
18004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006                   "RANLIB=$${RANLIB}" \
18007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18008                   maintainer-clean) \
18009           || exit 1
18010
18011 @endif sim
18012
18013
18014 .PHONY: configure-tar maybe-configure-tar
18015 maybe-configure-tar:
18016 @if tar
18017 maybe-configure-tar: configure-tar
18018 configure-tar:
18019         @test ! -f tar/Makefile || exit 0; \
18020         [ -d tar ] || mkdir tar; \
18021         r=`${PWD_COMMAND}`; export r; \
18022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18023         $(HOST_EXPORTS) \
18024         echo Configuring in tar; \
18025         cd tar || exit 1; \
18026         case $(srcdir) in \
18027           \.) \
18028             srcdiroption="--srcdir=."; \
18029             libsrcdir=".";; \
18030           /* | [A-Za-z]:[\\/]*) \
18031             srcdiroption="--srcdir=$(srcdir)/tar"; \
18032             libsrcdir="$$s/tar";; \
18033           *) \
18034             srcdiroption="--srcdir=../$(srcdir)/tar"; \
18035             libsrcdir="$$s/tar";; \
18036         esac; \
18037         $(SHELL) $${libsrcdir}/configure \
18038           $(HOST_CONFIGARGS) $${srcdiroption}  \
18039           || exit 1
18040 @endif tar
18041
18042 .PHONY: all-tar maybe-all-tar
18043 maybe-all-tar:
18044 @if tar
18045 TARGET-tar=all
18046 maybe-all-tar: all-tar
18047 all-tar: configure-tar
18048         @r=`${PWD_COMMAND}`; export r; \
18049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18050         $(SET_LIB_PATH) \
18051         $(HOST_EXPORTS) \
18052         (cd tar && $(MAKE) $(FLAGS_TO_PASS)  \
18053           $(TARGET-tar))
18054 @endif tar
18055
18056 .PHONY: check-tar maybe-check-tar
18057 maybe-check-tar:
18058 @if tar
18059 maybe-check-tar: check-tar
18060
18061 check-tar:
18062         @r=`${PWD_COMMAND}`; export r; \
18063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18064         $(SET_LIB_PATH) \
18065         $(HOST_EXPORTS) \
18066         (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18067
18068 @endif tar
18069
18070 .PHONY: install-tar maybe-install-tar
18071 maybe-install-tar:
18072 @if tar
18073 maybe-install-tar: install-tar
18074
18075 install-tar: installdirs
18076         @r=`${PWD_COMMAND}`; export r; \
18077         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18078         $(SET_LIB_PATH) \
18079         $(HOST_EXPORTS) \
18080         (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18081
18082 @endif tar
18083
18084 # Other targets (info, dvi, etc.)
18085
18086 .PHONY: maybe-info-tar info-tar
18087 maybe-info-tar:
18088 @if tar
18089 maybe-info-tar: info-tar
18090
18091 info-tar: \
18092     configure-tar 
18093         @[ -f ./tar/Makefile ] || exit 0; \
18094         r=`${PWD_COMMAND}`; export r; \
18095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096         $(SET_LIB_PATH) \
18097         $(HOST_EXPORTS) \
18098         for flag in $(EXTRA_HOST_FLAGS) ; do \
18099           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18100         done; \
18101         echo "Doing info in tar" ; \
18102         (cd tar && \
18103           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18104                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18105                   "RANLIB=$${RANLIB}" \
18106                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18107                   info) \
18108           || exit 1
18109
18110 @endif tar
18111
18112 .PHONY: maybe-dvi-tar dvi-tar
18113 maybe-dvi-tar:
18114 @if tar
18115 maybe-dvi-tar: dvi-tar
18116
18117 dvi-tar: \
18118     configure-tar 
18119         @[ -f ./tar/Makefile ] || exit 0; \
18120         r=`${PWD_COMMAND}`; export r; \
18121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18122         $(SET_LIB_PATH) \
18123         $(HOST_EXPORTS) \
18124         for flag in $(EXTRA_HOST_FLAGS) ; do \
18125           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18126         done; \
18127         echo "Doing dvi in tar" ; \
18128         (cd tar && \
18129           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18130                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18131                   "RANLIB=$${RANLIB}" \
18132                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18133                   dvi) \
18134           || exit 1
18135
18136 @endif tar
18137
18138 .PHONY: maybe-TAGS-tar TAGS-tar
18139 maybe-TAGS-tar:
18140 @if tar
18141 maybe-TAGS-tar: TAGS-tar
18142
18143 TAGS-tar: \
18144     configure-tar 
18145         @[ -f ./tar/Makefile ] || exit 0; \
18146         r=`${PWD_COMMAND}`; export r; \
18147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18148         $(SET_LIB_PATH) \
18149         $(HOST_EXPORTS) \
18150         for flag in $(EXTRA_HOST_FLAGS) ; do \
18151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18152         done; \
18153         echo "Doing TAGS in tar" ; \
18154         (cd tar && \
18155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18157                   "RANLIB=$${RANLIB}" \
18158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18159                   TAGS) \
18160           || exit 1
18161
18162 @endif tar
18163
18164 .PHONY: maybe-install-info-tar install-info-tar
18165 maybe-install-info-tar:
18166 @if tar
18167 maybe-install-info-tar: install-info-tar
18168
18169 install-info-tar: \
18170     configure-tar \
18171     info-tar 
18172         @[ -f ./tar/Makefile ] || exit 0; \
18173         r=`${PWD_COMMAND}`; export r; \
18174         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18175         $(SET_LIB_PATH) \
18176         $(HOST_EXPORTS) \
18177         for flag in $(EXTRA_HOST_FLAGS) ; do \
18178           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18179         done; \
18180         echo "Doing install-info in tar" ; \
18181         (cd tar && \
18182           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18183                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18184                   "RANLIB=$${RANLIB}" \
18185                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18186                   install-info) \
18187           || exit 1
18188
18189 @endif tar
18190
18191 .PHONY: maybe-installcheck-tar installcheck-tar
18192 maybe-installcheck-tar:
18193 @if tar
18194 maybe-installcheck-tar: installcheck-tar
18195
18196 installcheck-tar: \
18197     configure-tar 
18198         @[ -f ./tar/Makefile ] || exit 0; \
18199         r=`${PWD_COMMAND}`; export r; \
18200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201         $(SET_LIB_PATH) \
18202         $(HOST_EXPORTS) \
18203         for flag in $(EXTRA_HOST_FLAGS) ; do \
18204           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18205         done; \
18206         echo "Doing installcheck in tar" ; \
18207         (cd tar && \
18208           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18209                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18210                   "RANLIB=$${RANLIB}" \
18211                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18212                   installcheck) \
18213           || exit 1
18214
18215 @endif tar
18216
18217 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18218 maybe-mostlyclean-tar:
18219 @if tar
18220 maybe-mostlyclean-tar: mostlyclean-tar
18221
18222 mostlyclean-tar: 
18223         @[ -f ./tar/Makefile ] || exit 0; \
18224         r=`${PWD_COMMAND}`; export r; \
18225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18226         $(SET_LIB_PATH) \
18227         $(HOST_EXPORTS) \
18228         for flag in $(EXTRA_HOST_FLAGS) ; do \
18229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18230         done; \
18231         echo "Doing mostlyclean in tar" ; \
18232         (cd tar && \
18233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18235                   "RANLIB=$${RANLIB}" \
18236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18237                   mostlyclean) \
18238           || exit 1
18239
18240 @endif tar
18241
18242 .PHONY: maybe-clean-tar clean-tar
18243 maybe-clean-tar:
18244 @if tar
18245 maybe-clean-tar: clean-tar
18246
18247 clean-tar: 
18248         @[ -f ./tar/Makefile ] || exit 0; \
18249         r=`${PWD_COMMAND}`; export r; \
18250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18251         $(SET_LIB_PATH) \
18252         $(HOST_EXPORTS) \
18253         for flag in $(EXTRA_HOST_FLAGS) ; do \
18254           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18255         done; \
18256         echo "Doing clean in tar" ; \
18257         (cd tar && \
18258           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18259                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18260                   "RANLIB=$${RANLIB}" \
18261                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18262                   clean) \
18263           || exit 1
18264
18265 @endif tar
18266
18267 .PHONY: maybe-distclean-tar distclean-tar
18268 maybe-distclean-tar:
18269 @if tar
18270 maybe-distclean-tar: distclean-tar
18271
18272 distclean-tar: 
18273         @[ -f ./tar/Makefile ] || exit 0; \
18274         r=`${PWD_COMMAND}`; export r; \
18275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18276         $(SET_LIB_PATH) \
18277         $(HOST_EXPORTS) \
18278         for flag in $(EXTRA_HOST_FLAGS) ; do \
18279           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18280         done; \
18281         echo "Doing distclean in tar" ; \
18282         (cd tar && \
18283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18285                   "RANLIB=$${RANLIB}" \
18286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18287                   distclean) \
18288           || exit 1
18289
18290 @endif tar
18291
18292 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18293 maybe-maintainer-clean-tar:
18294 @if tar
18295 maybe-maintainer-clean-tar: maintainer-clean-tar
18296
18297 maintainer-clean-tar: 
18298         @[ -f ./tar/Makefile ] || exit 0; \
18299         r=`${PWD_COMMAND}`; export r; \
18300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301         $(SET_LIB_PATH) \
18302         $(HOST_EXPORTS) \
18303         for flag in $(EXTRA_HOST_FLAGS) ; do \
18304           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18305         done; \
18306         echo "Doing maintainer-clean in tar" ; \
18307         (cd tar && \
18308           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18309                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18310                   "RANLIB=$${RANLIB}" \
18311                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18312                   maintainer-clean) \
18313           || exit 1
18314
18315 @endif tar
18316
18317
18318 .PHONY: configure-texinfo maybe-configure-texinfo
18319 maybe-configure-texinfo:
18320 @if texinfo
18321 maybe-configure-texinfo: configure-texinfo
18322 configure-texinfo:
18323         @test ! -f texinfo/Makefile || exit 0; \
18324         [ -d texinfo ] || mkdir texinfo; \
18325         r=`${PWD_COMMAND}`; export r; \
18326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18327         $(HOST_EXPORTS) \
18328         echo Configuring in texinfo; \
18329         cd texinfo || exit 1; \
18330         case $(srcdir) in \
18331           \.) \
18332             srcdiroption="--srcdir=."; \
18333             libsrcdir=".";; \
18334           /* | [A-Za-z]:[\\/]*) \
18335             srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18336             libsrcdir="$$s/texinfo";; \
18337           *) \
18338             srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18339             libsrcdir="$$s/texinfo";; \
18340         esac; \
18341         $(SHELL) $${libsrcdir}/configure \
18342           $(HOST_CONFIGARGS) $${srcdiroption}  \
18343           || exit 1
18344 @endif texinfo
18345
18346 .PHONY: all-texinfo maybe-all-texinfo
18347 maybe-all-texinfo:
18348 @if texinfo
18349 TARGET-texinfo=all
18350 maybe-all-texinfo: all-texinfo
18351 all-texinfo: configure-texinfo
18352         @r=`${PWD_COMMAND}`; export r; \
18353         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354         $(SET_LIB_PATH) \
18355         $(HOST_EXPORTS) \
18356         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS)  \
18357           $(TARGET-texinfo))
18358 @endif texinfo
18359
18360 .PHONY: check-texinfo maybe-check-texinfo
18361 maybe-check-texinfo:
18362 @if texinfo
18363 maybe-check-texinfo: check-texinfo
18364
18365 check-texinfo:
18366         @r=`${PWD_COMMAND}`; export r; \
18367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18368         $(SET_LIB_PATH) \
18369         $(HOST_EXPORTS) \
18370         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18371
18372 @endif texinfo
18373
18374 .PHONY: install-texinfo maybe-install-texinfo
18375 maybe-install-texinfo:
18376 @if texinfo
18377 maybe-install-texinfo: install-texinfo
18378
18379 install-texinfo:
18380
18381 @endif texinfo
18382
18383 # Other targets (info, dvi, etc.)
18384
18385 .PHONY: maybe-info-texinfo info-texinfo
18386 maybe-info-texinfo:
18387 @if texinfo
18388 maybe-info-texinfo: info-texinfo
18389
18390 info-texinfo: \
18391     configure-texinfo 
18392         @[ -f ./texinfo/Makefile ] || exit 0; \
18393         r=`${PWD_COMMAND}`; export r; \
18394         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18395         $(SET_LIB_PATH) \
18396         $(HOST_EXPORTS) \
18397         for flag in $(EXTRA_HOST_FLAGS) ; do \
18398           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18399         done; \
18400         echo "Doing info in texinfo" ; \
18401         (cd texinfo && \
18402           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18403                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18404                   "RANLIB=$${RANLIB}" \
18405                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18406                   info) \
18407           || exit 1
18408
18409 @endif texinfo
18410
18411 .PHONY: maybe-dvi-texinfo dvi-texinfo
18412 maybe-dvi-texinfo:
18413 @if texinfo
18414 maybe-dvi-texinfo: dvi-texinfo
18415
18416 dvi-texinfo: \
18417     configure-texinfo 
18418         @[ -f ./texinfo/Makefile ] || exit 0; \
18419         r=`${PWD_COMMAND}`; export r; \
18420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18421         $(SET_LIB_PATH) \
18422         $(HOST_EXPORTS) \
18423         for flag in $(EXTRA_HOST_FLAGS) ; do \
18424           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18425         done; \
18426         echo "Doing dvi in texinfo" ; \
18427         (cd texinfo && \
18428           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18429                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18430                   "RANLIB=$${RANLIB}" \
18431                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18432                   dvi) \
18433           || exit 1
18434
18435 @endif texinfo
18436
18437 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18438 maybe-TAGS-texinfo:
18439 @if texinfo
18440 maybe-TAGS-texinfo: TAGS-texinfo
18441
18442 TAGS-texinfo: \
18443     configure-texinfo 
18444         @[ -f ./texinfo/Makefile ] || exit 0; \
18445         r=`${PWD_COMMAND}`; export r; \
18446         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18447         $(SET_LIB_PATH) \
18448         $(HOST_EXPORTS) \
18449         for flag in $(EXTRA_HOST_FLAGS) ; do \
18450           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18451         done; \
18452         echo "Doing TAGS in texinfo" ; \
18453         (cd texinfo && \
18454           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18455                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18456                   "RANLIB=$${RANLIB}" \
18457                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18458                   TAGS) \
18459           || exit 1
18460
18461 @endif texinfo
18462
18463 .PHONY: maybe-install-info-texinfo install-info-texinfo
18464 maybe-install-info-texinfo:
18465 @if texinfo
18466 maybe-install-info-texinfo: install-info-texinfo
18467
18468 install-info-texinfo: \
18469     configure-texinfo \
18470     info-texinfo 
18471         @[ -f ./texinfo/Makefile ] || exit 0; \
18472         r=`${PWD_COMMAND}`; export r; \
18473         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18474         $(SET_LIB_PATH) \
18475         $(HOST_EXPORTS) \
18476         for flag in $(EXTRA_HOST_FLAGS) ; do \
18477           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18478         done; \
18479         echo "Doing install-info in texinfo" ; \
18480         (cd texinfo && \
18481           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18482                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18483                   "RANLIB=$${RANLIB}" \
18484                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18485                   install-info) \
18486           || exit 1
18487
18488 @endif texinfo
18489
18490 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18491 maybe-installcheck-texinfo:
18492 @if texinfo
18493 maybe-installcheck-texinfo: installcheck-texinfo
18494
18495 installcheck-texinfo: \
18496     configure-texinfo 
18497         @[ -f ./texinfo/Makefile ] || exit 0; \
18498         r=`${PWD_COMMAND}`; export r; \
18499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18500         $(SET_LIB_PATH) \
18501         $(HOST_EXPORTS) \
18502         for flag in $(EXTRA_HOST_FLAGS) ; do \
18503           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18504         done; \
18505         echo "Doing installcheck in texinfo" ; \
18506         (cd texinfo && \
18507           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18508                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18509                   "RANLIB=$${RANLIB}" \
18510                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18511                   installcheck) \
18512           || exit 1
18513
18514 @endif texinfo
18515
18516 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18517 maybe-mostlyclean-texinfo:
18518 @if texinfo
18519 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18520
18521 mostlyclean-texinfo: 
18522         @[ -f ./texinfo/Makefile ] || exit 0; \
18523         r=`${PWD_COMMAND}`; export r; \
18524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18525         $(SET_LIB_PATH) \
18526         $(HOST_EXPORTS) \
18527         for flag in $(EXTRA_HOST_FLAGS) ; do \
18528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18529         done; \
18530         echo "Doing mostlyclean in texinfo" ; \
18531         (cd texinfo && \
18532           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18533                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18534                   "RANLIB=$${RANLIB}" \
18535                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18536                   mostlyclean) \
18537           || exit 1
18538
18539 @endif texinfo
18540
18541 .PHONY: maybe-clean-texinfo clean-texinfo
18542 maybe-clean-texinfo:
18543 @if texinfo
18544 maybe-clean-texinfo: clean-texinfo
18545
18546 clean-texinfo: 
18547         @[ -f ./texinfo/Makefile ] || exit 0; \
18548         r=`${PWD_COMMAND}`; export r; \
18549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18550         $(SET_LIB_PATH) \
18551         $(HOST_EXPORTS) \
18552         for flag in $(EXTRA_HOST_FLAGS) ; do \
18553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18554         done; \
18555         echo "Doing clean in texinfo" ; \
18556         (cd texinfo && \
18557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18559                   "RANLIB=$${RANLIB}" \
18560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18561                   clean) \
18562           || exit 1
18563
18564 @endif texinfo
18565
18566 .PHONY: maybe-distclean-texinfo distclean-texinfo
18567 maybe-distclean-texinfo:
18568 @if texinfo
18569 maybe-distclean-texinfo: distclean-texinfo
18570
18571 distclean-texinfo: 
18572         @[ -f ./texinfo/Makefile ] || exit 0; \
18573         r=`${PWD_COMMAND}`; export r; \
18574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18575         $(SET_LIB_PATH) \
18576         $(HOST_EXPORTS) \
18577         for flag in $(EXTRA_HOST_FLAGS) ; do \
18578           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18579         done; \
18580         echo "Doing distclean in texinfo" ; \
18581         (cd texinfo && \
18582           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18583                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18584                   "RANLIB=$${RANLIB}" \
18585                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18586                   distclean) \
18587           || exit 1
18588
18589 @endif texinfo
18590
18591 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18592 maybe-maintainer-clean-texinfo:
18593 @if texinfo
18594 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18595
18596 maintainer-clean-texinfo: 
18597         @[ -f ./texinfo/Makefile ] || exit 0; \
18598         r=`${PWD_COMMAND}`; export r; \
18599         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18600         $(SET_LIB_PATH) \
18601         $(HOST_EXPORTS) \
18602         for flag in $(EXTRA_HOST_FLAGS) ; do \
18603           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18604         done; \
18605         echo "Doing maintainer-clean in texinfo" ; \
18606         (cd texinfo && \
18607           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18608                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18609                   "RANLIB=$${RANLIB}" \
18610                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18611                   maintainer-clean) \
18612           || exit 1
18613
18614 @endif texinfo
18615
18616
18617 .PHONY: configure-textutils maybe-configure-textutils
18618 maybe-configure-textutils:
18619 @if textutils
18620 maybe-configure-textutils: configure-textutils
18621 configure-textutils:
18622         @test ! -f textutils/Makefile || exit 0; \
18623         [ -d textutils ] || mkdir textutils; \
18624         r=`${PWD_COMMAND}`; export r; \
18625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18626         $(HOST_EXPORTS) \
18627         echo Configuring in textutils; \
18628         cd textutils || exit 1; \
18629         case $(srcdir) in \
18630           \.) \
18631             srcdiroption="--srcdir=."; \
18632             libsrcdir=".";; \
18633           /* | [A-Za-z]:[\\/]*) \
18634             srcdiroption="--srcdir=$(srcdir)/textutils"; \
18635             libsrcdir="$$s/textutils";; \
18636           *) \
18637             srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18638             libsrcdir="$$s/textutils";; \
18639         esac; \
18640         $(SHELL) $${libsrcdir}/configure \
18641           $(HOST_CONFIGARGS) $${srcdiroption}  \
18642           || exit 1
18643 @endif textutils
18644
18645 .PHONY: all-textutils maybe-all-textutils
18646 maybe-all-textutils:
18647 @if textutils
18648 TARGET-textutils=all
18649 maybe-all-textutils: all-textutils
18650 all-textutils: configure-textutils
18651         @r=`${PWD_COMMAND}`; export r; \
18652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18653         $(SET_LIB_PATH) \
18654         $(HOST_EXPORTS) \
18655         (cd textutils && $(MAKE) $(FLAGS_TO_PASS)  \
18656           $(TARGET-textutils))
18657 @endif textutils
18658
18659 .PHONY: check-textutils maybe-check-textutils
18660 maybe-check-textutils:
18661 @if textutils
18662 maybe-check-textutils: check-textutils
18663
18664 check-textutils:
18665         @r=`${PWD_COMMAND}`; export r; \
18666         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18667         $(SET_LIB_PATH) \
18668         $(HOST_EXPORTS) \
18669         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18670
18671 @endif textutils
18672
18673 .PHONY: install-textutils maybe-install-textutils
18674 maybe-install-textutils:
18675 @if textutils
18676 maybe-install-textutils: install-textutils
18677
18678 install-textutils: installdirs
18679         @r=`${PWD_COMMAND}`; export r; \
18680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18681         $(SET_LIB_PATH) \
18682         $(HOST_EXPORTS) \
18683         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18684
18685 @endif textutils
18686
18687 # Other targets (info, dvi, etc.)
18688
18689 .PHONY: maybe-info-textutils info-textutils
18690 maybe-info-textutils:
18691 @if textutils
18692 maybe-info-textutils: info-textutils
18693
18694 info-textutils: \
18695     configure-textutils 
18696         @[ -f ./textutils/Makefile ] || exit 0; \
18697         r=`${PWD_COMMAND}`; export r; \
18698         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18699         $(SET_LIB_PATH) \
18700         $(HOST_EXPORTS) \
18701         for flag in $(EXTRA_HOST_FLAGS) ; do \
18702           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18703         done; \
18704         echo "Doing info in textutils" ; \
18705         (cd textutils && \
18706           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18707                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18708                   "RANLIB=$${RANLIB}" \
18709                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18710                   info) \
18711           || exit 1
18712
18713 @endif textutils
18714
18715 .PHONY: maybe-dvi-textutils dvi-textutils
18716 maybe-dvi-textutils:
18717 @if textutils
18718 maybe-dvi-textutils: dvi-textutils
18719
18720 dvi-textutils: \
18721     configure-textutils 
18722         @[ -f ./textutils/Makefile ] || exit 0; \
18723         r=`${PWD_COMMAND}`; export r; \
18724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18725         $(SET_LIB_PATH) \
18726         $(HOST_EXPORTS) \
18727         for flag in $(EXTRA_HOST_FLAGS) ; do \
18728           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18729         done; \
18730         echo "Doing dvi in textutils" ; \
18731         (cd textutils && \
18732           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18733                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18734                   "RANLIB=$${RANLIB}" \
18735                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18736                   dvi) \
18737           || exit 1
18738
18739 @endif textutils
18740
18741 .PHONY: maybe-TAGS-textutils TAGS-textutils
18742 maybe-TAGS-textutils:
18743 @if textutils
18744 maybe-TAGS-textutils: TAGS-textutils
18745
18746 TAGS-textutils: \
18747     configure-textutils 
18748         @[ -f ./textutils/Makefile ] || exit 0; \
18749         r=`${PWD_COMMAND}`; export r; \
18750         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751         $(SET_LIB_PATH) \
18752         $(HOST_EXPORTS) \
18753         for flag in $(EXTRA_HOST_FLAGS) ; do \
18754           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18755         done; \
18756         echo "Doing TAGS in textutils" ; \
18757         (cd textutils && \
18758           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18759                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18760                   "RANLIB=$${RANLIB}" \
18761                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18762                   TAGS) \
18763           || exit 1
18764
18765 @endif textutils
18766
18767 .PHONY: maybe-install-info-textutils install-info-textutils
18768 maybe-install-info-textutils:
18769 @if textutils
18770 maybe-install-info-textutils: install-info-textutils
18771
18772 install-info-textutils: \
18773     configure-textutils \
18774     info-textutils 
18775         @[ -f ./textutils/Makefile ] || exit 0; \
18776         r=`${PWD_COMMAND}`; export r; \
18777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18778         $(SET_LIB_PATH) \
18779         $(HOST_EXPORTS) \
18780         for flag in $(EXTRA_HOST_FLAGS) ; do \
18781           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18782         done; \
18783         echo "Doing install-info in textutils" ; \
18784         (cd textutils && \
18785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18787                   "RANLIB=$${RANLIB}" \
18788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18789                   install-info) \
18790           || exit 1
18791
18792 @endif textutils
18793
18794 .PHONY: maybe-installcheck-textutils installcheck-textutils
18795 maybe-installcheck-textutils:
18796 @if textutils
18797 maybe-installcheck-textutils: installcheck-textutils
18798
18799 installcheck-textutils: \
18800     configure-textutils 
18801         @[ -f ./textutils/Makefile ] || exit 0; \
18802         r=`${PWD_COMMAND}`; export r; \
18803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18804         $(SET_LIB_PATH) \
18805         $(HOST_EXPORTS) \
18806         for flag in $(EXTRA_HOST_FLAGS) ; do \
18807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18808         done; \
18809         echo "Doing installcheck in textutils" ; \
18810         (cd textutils && \
18811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18813                   "RANLIB=$${RANLIB}" \
18814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18815                   installcheck) \
18816           || exit 1
18817
18818 @endif textutils
18819
18820 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18821 maybe-mostlyclean-textutils:
18822 @if textutils
18823 maybe-mostlyclean-textutils: mostlyclean-textutils
18824
18825 mostlyclean-textutils: 
18826         @[ -f ./textutils/Makefile ] || exit 0; \
18827         r=`${PWD_COMMAND}`; export r; \
18828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829         $(SET_LIB_PATH) \
18830         $(HOST_EXPORTS) \
18831         for flag in $(EXTRA_HOST_FLAGS) ; do \
18832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18833         done; \
18834         echo "Doing mostlyclean in textutils" ; \
18835         (cd textutils && \
18836           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18837                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18838                   "RANLIB=$${RANLIB}" \
18839                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18840                   mostlyclean) \
18841           || exit 1
18842
18843 @endif textutils
18844
18845 .PHONY: maybe-clean-textutils clean-textutils
18846 maybe-clean-textutils:
18847 @if textutils
18848 maybe-clean-textutils: clean-textutils
18849
18850 clean-textutils: 
18851         @[ -f ./textutils/Makefile ] || exit 0; \
18852         r=`${PWD_COMMAND}`; export r; \
18853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18854         $(SET_LIB_PATH) \
18855         $(HOST_EXPORTS) \
18856         for flag in $(EXTRA_HOST_FLAGS) ; do \
18857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18858         done; \
18859         echo "Doing clean in textutils" ; \
18860         (cd textutils && \
18861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18863                   "RANLIB=$${RANLIB}" \
18864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18865                   clean) \
18866           || exit 1
18867
18868 @endif textutils
18869
18870 .PHONY: maybe-distclean-textutils distclean-textutils
18871 maybe-distclean-textutils:
18872 @if textutils
18873 maybe-distclean-textutils: distclean-textutils
18874
18875 distclean-textutils: 
18876         @[ -f ./textutils/Makefile ] || exit 0; \
18877         r=`${PWD_COMMAND}`; export r; \
18878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18879         $(SET_LIB_PATH) \
18880         $(HOST_EXPORTS) \
18881         for flag in $(EXTRA_HOST_FLAGS) ; do \
18882           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18883         done; \
18884         echo "Doing distclean in textutils" ; \
18885         (cd textutils && \
18886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18888                   "RANLIB=$${RANLIB}" \
18889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18890                   distclean) \
18891           || exit 1
18892
18893 @endif textutils
18894
18895 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18896 maybe-maintainer-clean-textutils:
18897 @if textutils
18898 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18899
18900 maintainer-clean-textutils: 
18901         @[ -f ./textutils/Makefile ] || exit 0; \
18902         r=`${PWD_COMMAND}`; export r; \
18903         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18904         $(SET_LIB_PATH) \
18905         $(HOST_EXPORTS) \
18906         for flag in $(EXTRA_HOST_FLAGS) ; do \
18907           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18908         done; \
18909         echo "Doing maintainer-clean in textutils" ; \
18910         (cd textutils && \
18911           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18912                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18913                   "RANLIB=$${RANLIB}" \
18914                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18915                   maintainer-clean) \
18916           || exit 1
18917
18918 @endif textutils
18919
18920
18921 .PHONY: configure-time maybe-configure-time
18922 maybe-configure-time:
18923 @if time
18924 maybe-configure-time: configure-time
18925 configure-time:
18926         @test ! -f time/Makefile || exit 0; \
18927         [ -d time ] || mkdir time; \
18928         r=`${PWD_COMMAND}`; export r; \
18929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18930         $(HOST_EXPORTS) \
18931         echo Configuring in time; \
18932         cd time || exit 1; \
18933         case $(srcdir) in \
18934           \.) \
18935             srcdiroption="--srcdir=."; \
18936             libsrcdir=".";; \
18937           /* | [A-Za-z]:[\\/]*) \
18938             srcdiroption="--srcdir=$(srcdir)/time"; \
18939             libsrcdir="$$s/time";; \
18940           *) \
18941             srcdiroption="--srcdir=../$(srcdir)/time"; \
18942             libsrcdir="$$s/time";; \
18943         esac; \
18944         $(SHELL) $${libsrcdir}/configure \
18945           $(HOST_CONFIGARGS) $${srcdiroption}  \
18946           || exit 1
18947 @endif time
18948
18949 .PHONY: all-time maybe-all-time
18950 maybe-all-time:
18951 @if time
18952 TARGET-time=all
18953 maybe-all-time: all-time
18954 all-time: configure-time
18955         @r=`${PWD_COMMAND}`; export r; \
18956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18957         $(SET_LIB_PATH) \
18958         $(HOST_EXPORTS) \
18959         (cd time && $(MAKE) $(FLAGS_TO_PASS)  \
18960           $(TARGET-time))
18961 @endif time
18962
18963 .PHONY: check-time maybe-check-time
18964 maybe-check-time:
18965 @if time
18966 maybe-check-time: check-time
18967
18968 check-time:
18969         @r=`${PWD_COMMAND}`; export r; \
18970         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18971         $(SET_LIB_PATH) \
18972         $(HOST_EXPORTS) \
18973         (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18974
18975 @endif time
18976
18977 .PHONY: install-time maybe-install-time
18978 maybe-install-time:
18979 @if time
18980 maybe-install-time: install-time
18981
18982 install-time: installdirs
18983         @r=`${PWD_COMMAND}`; export r; \
18984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18985         $(SET_LIB_PATH) \
18986         $(HOST_EXPORTS) \
18987         (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18988
18989 @endif time
18990
18991 # Other targets (info, dvi, etc.)
18992
18993 .PHONY: maybe-info-time info-time
18994 maybe-info-time:
18995 @if time
18996 maybe-info-time: info-time
18997
18998 info-time: \
18999     configure-time 
19000         @[ -f ./time/Makefile ] || exit 0; \
19001         r=`${PWD_COMMAND}`; export r; \
19002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19003         $(SET_LIB_PATH) \
19004         $(HOST_EXPORTS) \
19005         for flag in $(EXTRA_HOST_FLAGS) ; do \
19006           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19007         done; \
19008         echo "Doing info in time" ; \
19009         (cd time && \
19010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19012                   "RANLIB=$${RANLIB}" \
19013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19014                   info) \
19015           || exit 1
19016
19017 @endif time
19018
19019 .PHONY: maybe-dvi-time dvi-time
19020 maybe-dvi-time:
19021 @if time
19022 maybe-dvi-time: dvi-time
19023
19024 dvi-time: \
19025     configure-time 
19026         @[ -f ./time/Makefile ] || exit 0; \
19027         r=`${PWD_COMMAND}`; export r; \
19028         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19029         $(SET_LIB_PATH) \
19030         $(HOST_EXPORTS) \
19031         for flag in $(EXTRA_HOST_FLAGS) ; do \
19032           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19033         done; \
19034         echo "Doing dvi in time" ; \
19035         (cd time && \
19036           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19037                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19038                   "RANLIB=$${RANLIB}" \
19039                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19040                   dvi) \
19041           || exit 1
19042
19043 @endif time
19044
19045 .PHONY: maybe-TAGS-time TAGS-time
19046 maybe-TAGS-time:
19047 @if time
19048 maybe-TAGS-time: TAGS-time
19049
19050 TAGS-time: \
19051     configure-time 
19052         @[ -f ./time/Makefile ] || exit 0; \
19053         r=`${PWD_COMMAND}`; export r; \
19054         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19055         $(SET_LIB_PATH) \
19056         $(HOST_EXPORTS) \
19057         for flag in $(EXTRA_HOST_FLAGS) ; do \
19058           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19059         done; \
19060         echo "Doing TAGS in time" ; \
19061         (cd time && \
19062           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19063                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19064                   "RANLIB=$${RANLIB}" \
19065                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19066                   TAGS) \
19067           || exit 1
19068
19069 @endif time
19070
19071 .PHONY: maybe-install-info-time install-info-time
19072 maybe-install-info-time:
19073 @if time
19074 maybe-install-info-time: install-info-time
19075
19076 install-info-time: \
19077     configure-time \
19078     info-time 
19079         @[ -f ./time/Makefile ] || exit 0; \
19080         r=`${PWD_COMMAND}`; export r; \
19081         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19082         $(SET_LIB_PATH) \
19083         $(HOST_EXPORTS) \
19084         for flag in $(EXTRA_HOST_FLAGS) ; do \
19085           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19086         done; \
19087         echo "Doing install-info in time" ; \
19088         (cd time && \
19089           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19090                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19091                   "RANLIB=$${RANLIB}" \
19092                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19093                   install-info) \
19094           || exit 1
19095
19096 @endif time
19097
19098 .PHONY: maybe-installcheck-time installcheck-time
19099 maybe-installcheck-time:
19100 @if time
19101 maybe-installcheck-time: installcheck-time
19102
19103 installcheck-time: \
19104     configure-time 
19105         @[ -f ./time/Makefile ] || exit 0; \
19106         r=`${PWD_COMMAND}`; export r; \
19107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19108         $(SET_LIB_PATH) \
19109         $(HOST_EXPORTS) \
19110         for flag in $(EXTRA_HOST_FLAGS) ; do \
19111           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19112         done; \
19113         echo "Doing installcheck in time" ; \
19114         (cd time && \
19115           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19116                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19117                   "RANLIB=$${RANLIB}" \
19118                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19119                   installcheck) \
19120           || exit 1
19121
19122 @endif time
19123
19124 .PHONY: maybe-mostlyclean-time mostlyclean-time
19125 maybe-mostlyclean-time:
19126 @if time
19127 maybe-mostlyclean-time: mostlyclean-time
19128
19129 mostlyclean-time: 
19130         @[ -f ./time/Makefile ] || exit 0; \
19131         r=`${PWD_COMMAND}`; export r; \
19132         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19133         $(SET_LIB_PATH) \
19134         $(HOST_EXPORTS) \
19135         for flag in $(EXTRA_HOST_FLAGS) ; do \
19136           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19137         done; \
19138         echo "Doing mostlyclean in time" ; \
19139         (cd time && \
19140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19142                   "RANLIB=$${RANLIB}" \
19143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19144                   mostlyclean) \
19145           || exit 1
19146
19147 @endif time
19148
19149 .PHONY: maybe-clean-time clean-time
19150 maybe-clean-time:
19151 @if time
19152 maybe-clean-time: clean-time
19153
19154 clean-time: 
19155         @[ -f ./time/Makefile ] || exit 0; \
19156         r=`${PWD_COMMAND}`; export r; \
19157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158         $(SET_LIB_PATH) \
19159         $(HOST_EXPORTS) \
19160         for flag in $(EXTRA_HOST_FLAGS) ; do \
19161           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19162         done; \
19163         echo "Doing clean in time" ; \
19164         (cd time && \
19165           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19166                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19167                   "RANLIB=$${RANLIB}" \
19168                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19169                   clean) \
19170           || exit 1
19171
19172 @endif time
19173
19174 .PHONY: maybe-distclean-time distclean-time
19175 maybe-distclean-time:
19176 @if time
19177 maybe-distclean-time: distclean-time
19178
19179 distclean-time: 
19180         @[ -f ./time/Makefile ] || exit 0; \
19181         r=`${PWD_COMMAND}`; export r; \
19182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19183         $(SET_LIB_PATH) \
19184         $(HOST_EXPORTS) \
19185         for flag in $(EXTRA_HOST_FLAGS) ; do \
19186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19187         done; \
19188         echo "Doing distclean in time" ; \
19189         (cd time && \
19190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19192                   "RANLIB=$${RANLIB}" \
19193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19194                   distclean) \
19195           || exit 1
19196
19197 @endif time
19198
19199 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19200 maybe-maintainer-clean-time:
19201 @if time
19202 maybe-maintainer-clean-time: maintainer-clean-time
19203
19204 maintainer-clean-time: 
19205         @[ -f ./time/Makefile ] || exit 0; \
19206         r=`${PWD_COMMAND}`; export r; \
19207         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208         $(SET_LIB_PATH) \
19209         $(HOST_EXPORTS) \
19210         for flag in $(EXTRA_HOST_FLAGS) ; do \
19211           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19212         done; \
19213         echo "Doing maintainer-clean in time" ; \
19214         (cd time && \
19215           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19216                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19217                   "RANLIB=$${RANLIB}" \
19218                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19219                   maintainer-clean) \
19220           || exit 1
19221
19222 @endif time
19223
19224
19225 .PHONY: configure-uudecode maybe-configure-uudecode
19226 maybe-configure-uudecode:
19227 @if uudecode
19228 maybe-configure-uudecode: configure-uudecode
19229 configure-uudecode:
19230         @test ! -f uudecode/Makefile || exit 0; \
19231         [ -d uudecode ] || mkdir uudecode; \
19232         r=`${PWD_COMMAND}`; export r; \
19233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19234         $(HOST_EXPORTS) \
19235         echo Configuring in uudecode; \
19236         cd uudecode || exit 1; \
19237         case $(srcdir) in \
19238           \.) \
19239             srcdiroption="--srcdir=."; \
19240             libsrcdir=".";; \
19241           /* | [A-Za-z]:[\\/]*) \
19242             srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19243             libsrcdir="$$s/uudecode";; \
19244           *) \
19245             srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19246             libsrcdir="$$s/uudecode";; \
19247         esac; \
19248         $(SHELL) $${libsrcdir}/configure \
19249           $(HOST_CONFIGARGS) $${srcdiroption}  \
19250           || exit 1
19251 @endif uudecode
19252
19253 .PHONY: all-uudecode maybe-all-uudecode
19254 maybe-all-uudecode:
19255 @if uudecode
19256 TARGET-uudecode=all
19257 maybe-all-uudecode: all-uudecode
19258 all-uudecode: configure-uudecode
19259         @r=`${PWD_COMMAND}`; export r; \
19260         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19261         $(SET_LIB_PATH) \
19262         $(HOST_EXPORTS) \
19263         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS)  \
19264           $(TARGET-uudecode))
19265 @endif uudecode
19266
19267 .PHONY: check-uudecode maybe-check-uudecode
19268 maybe-check-uudecode:
19269 @if uudecode
19270 maybe-check-uudecode: check-uudecode
19271
19272 check-uudecode:
19273         @r=`${PWD_COMMAND}`; export r; \
19274         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19275         $(SET_LIB_PATH) \
19276         $(HOST_EXPORTS) \
19277         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19278
19279 @endif uudecode
19280
19281 .PHONY: install-uudecode maybe-install-uudecode
19282 maybe-install-uudecode:
19283 @if uudecode
19284 maybe-install-uudecode: install-uudecode
19285
19286 install-uudecode: installdirs
19287         @r=`${PWD_COMMAND}`; export r; \
19288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19289         $(SET_LIB_PATH) \
19290         $(HOST_EXPORTS) \
19291         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19292
19293 @endif uudecode
19294
19295 # Other targets (info, dvi, etc.)
19296
19297 .PHONY: maybe-info-uudecode info-uudecode
19298 maybe-info-uudecode:
19299 @if uudecode
19300 maybe-info-uudecode: info-uudecode
19301
19302 info-uudecode: \
19303     configure-uudecode 
19304         @[ -f ./uudecode/Makefile ] || exit 0; \
19305         r=`${PWD_COMMAND}`; export r; \
19306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307         $(SET_LIB_PATH) \
19308         $(HOST_EXPORTS) \
19309         for flag in $(EXTRA_HOST_FLAGS) ; do \
19310           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19311         done; \
19312         echo "Doing info in uudecode" ; \
19313         (cd uudecode && \
19314           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19315                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19316                   "RANLIB=$${RANLIB}" \
19317                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19318                   info) \
19319           || exit 1
19320
19321 @endif uudecode
19322
19323 .PHONY: maybe-dvi-uudecode dvi-uudecode
19324 maybe-dvi-uudecode:
19325 @if uudecode
19326 maybe-dvi-uudecode: dvi-uudecode
19327
19328 dvi-uudecode: \
19329     configure-uudecode 
19330         @[ -f ./uudecode/Makefile ] || exit 0; \
19331         r=`${PWD_COMMAND}`; export r; \
19332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19333         $(SET_LIB_PATH) \
19334         $(HOST_EXPORTS) \
19335         for flag in $(EXTRA_HOST_FLAGS) ; do \
19336           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19337         done; \
19338         echo "Doing dvi in uudecode" ; \
19339         (cd uudecode && \
19340           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19341                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19342                   "RANLIB=$${RANLIB}" \
19343                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19344                   dvi) \
19345           || exit 1
19346
19347 @endif uudecode
19348
19349 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19350 maybe-TAGS-uudecode:
19351 @if uudecode
19352 maybe-TAGS-uudecode: TAGS-uudecode
19353
19354 TAGS-uudecode: \
19355     configure-uudecode 
19356         @[ -f ./uudecode/Makefile ] || exit 0; \
19357         r=`${PWD_COMMAND}`; export r; \
19358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19359         $(SET_LIB_PATH) \
19360         $(HOST_EXPORTS) \
19361         for flag in $(EXTRA_HOST_FLAGS) ; do \
19362           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19363         done; \
19364         echo "Doing TAGS in uudecode" ; \
19365         (cd uudecode && \
19366           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19367                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19368                   "RANLIB=$${RANLIB}" \
19369                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19370                   TAGS) \
19371           || exit 1
19372
19373 @endif uudecode
19374
19375 .PHONY: maybe-install-info-uudecode install-info-uudecode
19376 maybe-install-info-uudecode:
19377 @if uudecode
19378 maybe-install-info-uudecode: install-info-uudecode
19379
19380 install-info-uudecode: \
19381     configure-uudecode \
19382     info-uudecode 
19383         @[ -f ./uudecode/Makefile ] || exit 0; \
19384         r=`${PWD_COMMAND}`; export r; \
19385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19386         $(SET_LIB_PATH) \
19387         $(HOST_EXPORTS) \
19388         for flag in $(EXTRA_HOST_FLAGS) ; do \
19389           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19390         done; \
19391         echo "Doing install-info in uudecode" ; \
19392         (cd uudecode && \
19393           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19394                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19395                   "RANLIB=$${RANLIB}" \
19396                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19397                   install-info) \
19398           || exit 1
19399
19400 @endif uudecode
19401
19402 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19403 maybe-installcheck-uudecode:
19404 @if uudecode
19405 maybe-installcheck-uudecode: installcheck-uudecode
19406
19407 installcheck-uudecode: \
19408     configure-uudecode 
19409         @[ -f ./uudecode/Makefile ] || exit 0; \
19410         r=`${PWD_COMMAND}`; export r; \
19411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19412         $(SET_LIB_PATH) \
19413         $(HOST_EXPORTS) \
19414         for flag in $(EXTRA_HOST_FLAGS) ; do \
19415           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19416         done; \
19417         echo "Doing installcheck in uudecode" ; \
19418         (cd uudecode && \
19419           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19420                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19421                   "RANLIB=$${RANLIB}" \
19422                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19423                   installcheck) \
19424           || exit 1
19425
19426 @endif uudecode
19427
19428 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19429 maybe-mostlyclean-uudecode:
19430 @if uudecode
19431 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19432
19433 mostlyclean-uudecode: 
19434         @[ -f ./uudecode/Makefile ] || exit 0; \
19435         r=`${PWD_COMMAND}`; export r; \
19436         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19437         $(SET_LIB_PATH) \
19438         $(HOST_EXPORTS) \
19439         for flag in $(EXTRA_HOST_FLAGS) ; do \
19440           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19441         done; \
19442         echo "Doing mostlyclean in uudecode" ; \
19443         (cd uudecode && \
19444           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19445                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19446                   "RANLIB=$${RANLIB}" \
19447                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19448                   mostlyclean) \
19449           || exit 1
19450
19451 @endif uudecode
19452
19453 .PHONY: maybe-clean-uudecode clean-uudecode
19454 maybe-clean-uudecode:
19455 @if uudecode
19456 maybe-clean-uudecode: clean-uudecode
19457
19458 clean-uudecode: 
19459         @[ -f ./uudecode/Makefile ] || exit 0; \
19460         r=`${PWD_COMMAND}`; export r; \
19461         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19462         $(SET_LIB_PATH) \
19463         $(HOST_EXPORTS) \
19464         for flag in $(EXTRA_HOST_FLAGS) ; do \
19465           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19466         done; \
19467         echo "Doing clean in uudecode" ; \
19468         (cd uudecode && \
19469           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19470                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19471                   "RANLIB=$${RANLIB}" \
19472                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19473                   clean) \
19474           || exit 1
19475
19476 @endif uudecode
19477
19478 .PHONY: maybe-distclean-uudecode distclean-uudecode
19479 maybe-distclean-uudecode:
19480 @if uudecode
19481 maybe-distclean-uudecode: distclean-uudecode
19482
19483 distclean-uudecode: 
19484         @[ -f ./uudecode/Makefile ] || exit 0; \
19485         r=`${PWD_COMMAND}`; export r; \
19486         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487         $(SET_LIB_PATH) \
19488         $(HOST_EXPORTS) \
19489         for flag in $(EXTRA_HOST_FLAGS) ; do \
19490           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19491         done; \
19492         echo "Doing distclean in uudecode" ; \
19493         (cd uudecode && \
19494           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19495                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19496                   "RANLIB=$${RANLIB}" \
19497                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19498                   distclean) \
19499           || exit 1
19500
19501 @endif uudecode
19502
19503 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19504 maybe-maintainer-clean-uudecode:
19505 @if uudecode
19506 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19507
19508 maintainer-clean-uudecode: 
19509         @[ -f ./uudecode/Makefile ] || exit 0; \
19510         r=`${PWD_COMMAND}`; export r; \
19511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19512         $(SET_LIB_PATH) \
19513         $(HOST_EXPORTS) \
19514         for flag in $(EXTRA_HOST_FLAGS) ; do \
19515           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19516         done; \
19517         echo "Doing maintainer-clean in uudecode" ; \
19518         (cd uudecode && \
19519           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19520                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19521                   "RANLIB=$${RANLIB}" \
19522                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19523                   maintainer-clean) \
19524           || exit 1
19525
19526 @endif uudecode
19527
19528
19529 .PHONY: configure-wdiff maybe-configure-wdiff
19530 maybe-configure-wdiff:
19531 @if wdiff
19532 maybe-configure-wdiff: configure-wdiff
19533 configure-wdiff:
19534         @test ! -f wdiff/Makefile || exit 0; \
19535         [ -d wdiff ] || mkdir wdiff; \
19536         r=`${PWD_COMMAND}`; export r; \
19537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19538         $(HOST_EXPORTS) \
19539         echo Configuring in wdiff; \
19540         cd wdiff || exit 1; \
19541         case $(srcdir) in \
19542           \.) \
19543             srcdiroption="--srcdir=."; \
19544             libsrcdir=".";; \
19545           /* | [A-Za-z]:[\\/]*) \
19546             srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19547             libsrcdir="$$s/wdiff";; \
19548           *) \
19549             srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19550             libsrcdir="$$s/wdiff";; \
19551         esac; \
19552         $(SHELL) $${libsrcdir}/configure \
19553           $(HOST_CONFIGARGS) $${srcdiroption}  \
19554           || exit 1
19555 @endif wdiff
19556
19557 .PHONY: all-wdiff maybe-all-wdiff
19558 maybe-all-wdiff:
19559 @if wdiff
19560 TARGET-wdiff=all
19561 maybe-all-wdiff: all-wdiff
19562 all-wdiff: configure-wdiff
19563         @r=`${PWD_COMMAND}`; export r; \
19564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565         $(SET_LIB_PATH) \
19566         $(HOST_EXPORTS) \
19567         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS)  \
19568           $(TARGET-wdiff))
19569 @endif wdiff
19570
19571 .PHONY: check-wdiff maybe-check-wdiff
19572 maybe-check-wdiff:
19573 @if wdiff
19574 maybe-check-wdiff: check-wdiff
19575
19576 check-wdiff:
19577         @r=`${PWD_COMMAND}`; export r; \
19578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19579         $(SET_LIB_PATH) \
19580         $(HOST_EXPORTS) \
19581         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19582
19583 @endif wdiff
19584
19585 .PHONY: install-wdiff maybe-install-wdiff
19586 maybe-install-wdiff:
19587 @if wdiff
19588 maybe-install-wdiff: install-wdiff
19589
19590 install-wdiff: installdirs
19591         @r=`${PWD_COMMAND}`; export r; \
19592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19593         $(SET_LIB_PATH) \
19594         $(HOST_EXPORTS) \
19595         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19596
19597 @endif wdiff
19598
19599 # Other targets (info, dvi, etc.)
19600
19601 .PHONY: maybe-info-wdiff info-wdiff
19602 maybe-info-wdiff:
19603 @if wdiff
19604 maybe-info-wdiff: info-wdiff
19605
19606 info-wdiff: \
19607     configure-wdiff 
19608         @[ -f ./wdiff/Makefile ] || exit 0; \
19609         r=`${PWD_COMMAND}`; export r; \
19610         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19611         $(SET_LIB_PATH) \
19612         $(HOST_EXPORTS) \
19613         for flag in $(EXTRA_HOST_FLAGS) ; do \
19614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19615         done; \
19616         echo "Doing info in wdiff" ; \
19617         (cd wdiff && \
19618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19620                   "RANLIB=$${RANLIB}" \
19621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19622                   info) \
19623           || exit 1
19624
19625 @endif wdiff
19626
19627 .PHONY: maybe-dvi-wdiff dvi-wdiff
19628 maybe-dvi-wdiff:
19629 @if wdiff
19630 maybe-dvi-wdiff: dvi-wdiff
19631
19632 dvi-wdiff: \
19633     configure-wdiff 
19634         @[ -f ./wdiff/Makefile ] || exit 0; \
19635         r=`${PWD_COMMAND}`; export r; \
19636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19637         $(SET_LIB_PATH) \
19638         $(HOST_EXPORTS) \
19639         for flag in $(EXTRA_HOST_FLAGS) ; do \
19640           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19641         done; \
19642         echo "Doing dvi in wdiff" ; \
19643         (cd wdiff && \
19644           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19645                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19646                   "RANLIB=$${RANLIB}" \
19647                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19648                   dvi) \
19649           || exit 1
19650
19651 @endif wdiff
19652
19653 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19654 maybe-TAGS-wdiff:
19655 @if wdiff
19656 maybe-TAGS-wdiff: TAGS-wdiff
19657
19658 TAGS-wdiff: \
19659     configure-wdiff 
19660         @[ -f ./wdiff/Makefile ] || exit 0; \
19661         r=`${PWD_COMMAND}`; export r; \
19662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19663         $(SET_LIB_PATH) \
19664         $(HOST_EXPORTS) \
19665         for flag in $(EXTRA_HOST_FLAGS) ; do \
19666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19667         done; \
19668         echo "Doing TAGS in wdiff" ; \
19669         (cd wdiff && \
19670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19672                   "RANLIB=$${RANLIB}" \
19673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19674                   TAGS) \
19675           || exit 1
19676
19677 @endif wdiff
19678
19679 .PHONY: maybe-install-info-wdiff install-info-wdiff
19680 maybe-install-info-wdiff:
19681 @if wdiff
19682 maybe-install-info-wdiff: install-info-wdiff
19683
19684 install-info-wdiff: \
19685     configure-wdiff \
19686     info-wdiff 
19687         @[ -f ./wdiff/Makefile ] || exit 0; \
19688         r=`${PWD_COMMAND}`; export r; \
19689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19690         $(SET_LIB_PATH) \
19691         $(HOST_EXPORTS) \
19692         for flag in $(EXTRA_HOST_FLAGS) ; do \
19693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19694         done; \
19695         echo "Doing install-info in wdiff" ; \
19696         (cd wdiff && \
19697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19699                   "RANLIB=$${RANLIB}" \
19700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19701                   install-info) \
19702           || exit 1
19703
19704 @endif wdiff
19705
19706 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19707 maybe-installcheck-wdiff:
19708 @if wdiff
19709 maybe-installcheck-wdiff: installcheck-wdiff
19710
19711 installcheck-wdiff: \
19712     configure-wdiff 
19713         @[ -f ./wdiff/Makefile ] || exit 0; \
19714         r=`${PWD_COMMAND}`; export r; \
19715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19716         $(SET_LIB_PATH) \
19717         $(HOST_EXPORTS) \
19718         for flag in $(EXTRA_HOST_FLAGS) ; do \
19719           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19720         done; \
19721         echo "Doing installcheck in wdiff" ; \
19722         (cd wdiff && \
19723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725                   "RANLIB=$${RANLIB}" \
19726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19727                   installcheck) \
19728           || exit 1
19729
19730 @endif wdiff
19731
19732 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19733 maybe-mostlyclean-wdiff:
19734 @if wdiff
19735 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19736
19737 mostlyclean-wdiff: 
19738         @[ -f ./wdiff/Makefile ] || exit 0; \
19739         r=`${PWD_COMMAND}`; export r; \
19740         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19741         $(SET_LIB_PATH) \
19742         $(HOST_EXPORTS) \
19743         for flag in $(EXTRA_HOST_FLAGS) ; do \
19744           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19745         done; \
19746         echo "Doing mostlyclean in wdiff" ; \
19747         (cd wdiff && \
19748           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19749                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19750                   "RANLIB=$${RANLIB}" \
19751                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19752                   mostlyclean) \
19753           || exit 1
19754
19755 @endif wdiff
19756
19757 .PHONY: maybe-clean-wdiff clean-wdiff
19758 maybe-clean-wdiff:
19759 @if wdiff
19760 maybe-clean-wdiff: clean-wdiff
19761
19762 clean-wdiff: 
19763         @[ -f ./wdiff/Makefile ] || exit 0; \
19764         r=`${PWD_COMMAND}`; export r; \
19765         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19766         $(SET_LIB_PATH) \
19767         $(HOST_EXPORTS) \
19768         for flag in $(EXTRA_HOST_FLAGS) ; do \
19769           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19770         done; \
19771         echo "Doing clean in wdiff" ; \
19772         (cd wdiff && \
19773           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19774                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19775                   "RANLIB=$${RANLIB}" \
19776                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19777                   clean) \
19778           || exit 1
19779
19780 @endif wdiff
19781
19782 .PHONY: maybe-distclean-wdiff distclean-wdiff
19783 maybe-distclean-wdiff:
19784 @if wdiff
19785 maybe-distclean-wdiff: distclean-wdiff
19786
19787 distclean-wdiff: 
19788         @[ -f ./wdiff/Makefile ] || exit 0; \
19789         r=`${PWD_COMMAND}`; export r; \
19790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19791         $(SET_LIB_PATH) \
19792         $(HOST_EXPORTS) \
19793         for flag in $(EXTRA_HOST_FLAGS) ; do \
19794           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19795         done; \
19796         echo "Doing distclean in wdiff" ; \
19797         (cd wdiff && \
19798           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19799                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19800                   "RANLIB=$${RANLIB}" \
19801                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19802                   distclean) \
19803           || exit 1
19804
19805 @endif wdiff
19806
19807 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19808 maybe-maintainer-clean-wdiff:
19809 @if wdiff
19810 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19811
19812 maintainer-clean-wdiff: 
19813         @[ -f ./wdiff/Makefile ] || exit 0; \
19814         r=`${PWD_COMMAND}`; export r; \
19815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19816         $(SET_LIB_PATH) \
19817         $(HOST_EXPORTS) \
19818         for flag in $(EXTRA_HOST_FLAGS) ; do \
19819           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820         done; \
19821         echo "Doing maintainer-clean in wdiff" ; \
19822         (cd wdiff && \
19823           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825                   "RANLIB=$${RANLIB}" \
19826                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19827                   maintainer-clean) \
19828           || exit 1
19829
19830 @endif wdiff
19831
19832
19833 .PHONY: configure-zip maybe-configure-zip
19834 maybe-configure-zip:
19835 @if zip
19836 maybe-configure-zip: configure-zip
19837 configure-zip:
19838         @test ! -f zip/Makefile || exit 0; \
19839         [ -d zip ] || mkdir zip; \
19840         r=`${PWD_COMMAND}`; export r; \
19841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19842         $(HOST_EXPORTS) \
19843         echo Configuring in zip; \
19844         cd zip || exit 1; \
19845         case $(srcdir) in \
19846           \.) \
19847             srcdiroption="--srcdir=."; \
19848             libsrcdir=".";; \
19849           /* | [A-Za-z]:[\\/]*) \
19850             srcdiroption="--srcdir=$(srcdir)/zip"; \
19851             libsrcdir="$$s/zip";; \
19852           *) \
19853             srcdiroption="--srcdir=../$(srcdir)/zip"; \
19854             libsrcdir="$$s/zip";; \
19855         esac; \
19856         $(SHELL) $${libsrcdir}/configure \
19857           $(HOST_CONFIGARGS) $${srcdiroption}  \
19858           || exit 1
19859 @endif zip
19860
19861 .PHONY: all-zip maybe-all-zip
19862 maybe-all-zip:
19863 @if zip
19864 TARGET-zip=all
19865 maybe-all-zip: all-zip
19866 all-zip: configure-zip
19867         @r=`${PWD_COMMAND}`; export r; \
19868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19869         $(SET_LIB_PATH) \
19870         $(HOST_EXPORTS) \
19871         (cd zip && $(MAKE) $(FLAGS_TO_PASS)  \
19872           $(TARGET-zip))
19873 @endif zip
19874
19875 .PHONY: check-zip maybe-check-zip
19876 maybe-check-zip:
19877 @if zip
19878 maybe-check-zip: check-zip
19879
19880 # This module is only tested in a native toolchain.
19881 check-zip:
19882         @if [ '$(host)' = '$(target)' ] ; then \
19883           r=`${PWD_COMMAND}`; export r; \
19884           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19885           $(SET_LIB_PATH) \
19886           $(HOST_EXPORTS) \
19887           (cd zip && $(MAKE) $(FLAGS_TO_PASS)  check); \
19888         fi
19889
19890 @endif zip
19891
19892 .PHONY: install-zip maybe-install-zip
19893 maybe-install-zip:
19894 @if zip
19895 maybe-install-zip: install-zip
19896
19897 install-zip: installdirs
19898         @r=`${PWD_COMMAND}`; export r; \
19899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19900         $(SET_LIB_PATH) \
19901         $(HOST_EXPORTS) \
19902         (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19903
19904 @endif zip
19905
19906 # Other targets (info, dvi, etc.)
19907
19908 .PHONY: maybe-info-zip info-zip
19909 maybe-info-zip:
19910 @if zip
19911 maybe-info-zip: info-zip
19912
19913 info-zip: \
19914     configure-zip 
19915         @[ -f ./zip/Makefile ] || exit 0; \
19916         r=`${PWD_COMMAND}`; export r; \
19917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19918         $(SET_LIB_PATH) \
19919         $(HOST_EXPORTS) \
19920         for flag in $(EXTRA_HOST_FLAGS) ; do \
19921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19922         done; \
19923         echo "Doing info in zip" ; \
19924         (cd zip && \
19925           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19926                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19927                   "RANLIB=$${RANLIB}" \
19928                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19929                   info) \
19930           || exit 1
19931
19932 @endif zip
19933
19934 .PHONY: maybe-dvi-zip dvi-zip
19935 maybe-dvi-zip:
19936 @if zip
19937 maybe-dvi-zip: dvi-zip
19938
19939 dvi-zip: \
19940     configure-zip 
19941         @[ -f ./zip/Makefile ] || exit 0; \
19942         r=`${PWD_COMMAND}`; export r; \
19943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19944         $(SET_LIB_PATH) \
19945         $(HOST_EXPORTS) \
19946         for flag in $(EXTRA_HOST_FLAGS) ; do \
19947           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19948         done; \
19949         echo "Doing dvi in zip" ; \
19950         (cd zip && \
19951           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19952                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19953                   "RANLIB=$${RANLIB}" \
19954                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19955                   dvi) \
19956           || exit 1
19957
19958 @endif zip
19959
19960 .PHONY: maybe-TAGS-zip TAGS-zip
19961 maybe-TAGS-zip:
19962 @if zip
19963 maybe-TAGS-zip: TAGS-zip
19964
19965 TAGS-zip: \
19966     configure-zip 
19967         @[ -f ./zip/Makefile ] || exit 0; \
19968         r=`${PWD_COMMAND}`; export r; \
19969         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19970         $(SET_LIB_PATH) \
19971         $(HOST_EXPORTS) \
19972         for flag in $(EXTRA_HOST_FLAGS) ; do \
19973           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19974         done; \
19975         echo "Doing TAGS in zip" ; \
19976         (cd zip && \
19977           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19978                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19979                   "RANLIB=$${RANLIB}" \
19980                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19981                   TAGS) \
19982           || exit 1
19983
19984 @endif zip
19985
19986 .PHONY: maybe-install-info-zip install-info-zip
19987 maybe-install-info-zip:
19988 @if zip
19989 maybe-install-info-zip: install-info-zip
19990
19991 install-info-zip: \
19992     configure-zip \
19993     info-zip 
19994         @[ -f ./zip/Makefile ] || exit 0; \
19995         r=`${PWD_COMMAND}`; export r; \
19996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19997         $(SET_LIB_PATH) \
19998         $(HOST_EXPORTS) \
19999         for flag in $(EXTRA_HOST_FLAGS) ; do \
20000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20001         done; \
20002         echo "Doing install-info in zip" ; \
20003         (cd zip && \
20004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20006                   "RANLIB=$${RANLIB}" \
20007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20008                   install-info) \
20009           || exit 1
20010
20011 @endif zip
20012
20013 .PHONY: maybe-installcheck-zip installcheck-zip
20014 maybe-installcheck-zip:
20015 @if zip
20016 maybe-installcheck-zip: installcheck-zip
20017
20018 installcheck-zip: \
20019     configure-zip 
20020         @[ -f ./zip/Makefile ] || exit 0; \
20021         r=`${PWD_COMMAND}`; export r; \
20022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20023         $(SET_LIB_PATH) \
20024         $(HOST_EXPORTS) \
20025         for flag in $(EXTRA_HOST_FLAGS) ; do \
20026           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20027         done; \
20028         echo "Doing installcheck in zip" ; \
20029         (cd zip && \
20030           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20031                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20032                   "RANLIB=$${RANLIB}" \
20033                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20034                   installcheck) \
20035           || exit 1
20036
20037 @endif zip
20038
20039 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20040 maybe-mostlyclean-zip:
20041 @if zip
20042 maybe-mostlyclean-zip: mostlyclean-zip
20043
20044 mostlyclean-zip: 
20045         @[ -f ./zip/Makefile ] || exit 0; \
20046         r=`${PWD_COMMAND}`; export r; \
20047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20048         $(SET_LIB_PATH) \
20049         $(HOST_EXPORTS) \
20050         for flag in $(EXTRA_HOST_FLAGS) ; do \
20051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20052         done; \
20053         echo "Doing mostlyclean in zip" ; \
20054         (cd zip && \
20055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20057                   "RANLIB=$${RANLIB}" \
20058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20059                   mostlyclean) \
20060           || exit 1
20061
20062 @endif zip
20063
20064 .PHONY: maybe-clean-zip clean-zip
20065 maybe-clean-zip:
20066 @if zip
20067 maybe-clean-zip: clean-zip
20068
20069 clean-zip: 
20070         @[ -f ./zip/Makefile ] || exit 0; \
20071         r=`${PWD_COMMAND}`; export r; \
20072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20073         $(SET_LIB_PATH) \
20074         $(HOST_EXPORTS) \
20075         for flag in $(EXTRA_HOST_FLAGS) ; do \
20076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20077         done; \
20078         echo "Doing clean in zip" ; \
20079         (cd zip && \
20080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20082                   "RANLIB=$${RANLIB}" \
20083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20084                   clean) \
20085           || exit 1
20086
20087 @endif zip
20088
20089 .PHONY: maybe-distclean-zip distclean-zip
20090 maybe-distclean-zip:
20091 @if zip
20092 maybe-distclean-zip: distclean-zip
20093
20094 distclean-zip: 
20095         @[ -f ./zip/Makefile ] || exit 0; \
20096         r=`${PWD_COMMAND}`; export r; \
20097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20098         $(SET_LIB_PATH) \
20099         $(HOST_EXPORTS) \
20100         for flag in $(EXTRA_HOST_FLAGS) ; do \
20101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20102         done; \
20103         echo "Doing distclean in zip" ; \
20104         (cd zip && \
20105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20107                   "RANLIB=$${RANLIB}" \
20108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20109                   distclean) \
20110           || exit 1
20111
20112 @endif zip
20113
20114 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20115 maybe-maintainer-clean-zip:
20116 @if zip
20117 maybe-maintainer-clean-zip: maintainer-clean-zip
20118
20119 maintainer-clean-zip: 
20120         @[ -f ./zip/Makefile ] || exit 0; \
20121         r=`${PWD_COMMAND}`; export r; \
20122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20123         $(SET_LIB_PATH) \
20124         $(HOST_EXPORTS) \
20125         for flag in $(EXTRA_HOST_FLAGS) ; do \
20126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20127         done; \
20128         echo "Doing maintainer-clean in zip" ; \
20129         (cd zip && \
20130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20132                   "RANLIB=$${RANLIB}" \
20133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20134                   maintainer-clean) \
20135           || exit 1
20136
20137 @endif zip
20138
20139
20140 .PHONY: configure-zlib maybe-configure-zlib
20141 maybe-configure-zlib:
20142 @if zlib
20143 maybe-configure-zlib: configure-zlib
20144 configure-zlib:
20145         @test -f stage_last && exit 0; \
20146         test ! -f zlib/Makefile || exit 0; \
20147         [ -d zlib ] || mkdir zlib; \
20148         r=`${PWD_COMMAND}`; export r; \
20149         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150         $(HOST_EXPORTS) \
20151         echo Configuring in zlib; \
20152         cd zlib || exit 1; \
20153         case $(srcdir) in \
20154           \.) \
20155             srcdiroption="--srcdir=."; \
20156             libsrcdir=".";; \
20157           /* | [A-Za-z]:[\\/]*) \
20158             srcdiroption="--srcdir=$(srcdir)/zlib"; \
20159             libsrcdir="$$s/zlib";; \
20160           *) \
20161             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20162             libsrcdir="$$s/zlib";; \
20163         esac; \
20164         $(SHELL) $${libsrcdir}/configure \
20165           $(HOST_CONFIGARGS) $${srcdiroption}  \
20166           || exit 1
20167 @endif zlib
20168
20169 .PHONY: all-zlib maybe-all-zlib
20170 maybe-all-zlib:
20171 @if zlib
20172 TARGET-zlib=all
20173 maybe-all-zlib: all-zlib
20174 all-zlib: configure-zlib
20175         @test -f stage_last && exit 0; \
20176         r=`${PWD_COMMAND}`; export r; \
20177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178         $(SET_LIB_PATH) \
20179         $(HOST_EXPORTS) \
20180         (cd zlib && $(MAKE) $(FLAGS_TO_PASS)  \
20181           $(TARGET-zlib))
20182 @endif zlib
20183
20184 .PHONY: check-zlib maybe-check-zlib
20185 maybe-check-zlib:
20186 @if zlib
20187 maybe-check-zlib: check-zlib
20188
20189 check-zlib:
20190
20191 @endif zlib
20192
20193 .PHONY: install-zlib maybe-install-zlib
20194 maybe-install-zlib:
20195 @if zlib
20196 maybe-install-zlib: install-zlib
20197
20198 install-zlib:
20199
20200 @endif zlib
20201
20202 # Other targets (info, dvi, etc.)
20203
20204 .PHONY: maybe-info-zlib info-zlib
20205 maybe-info-zlib:
20206 @if zlib
20207 maybe-info-zlib: info-zlib
20208
20209 info-zlib: \
20210     configure-zlib 
20211         @[ -f ./zlib/Makefile ] || exit 0; \
20212         r=`${PWD_COMMAND}`; export r; \
20213         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20214         $(SET_LIB_PATH) \
20215         $(HOST_EXPORTS) \
20216         for flag in $(EXTRA_HOST_FLAGS) ; do \
20217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20218         done; \
20219         echo "Doing info in zlib" ; \
20220         (cd zlib && \
20221           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20222                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20223                   "RANLIB=$${RANLIB}" \
20224                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20225                   info) \
20226           || exit 1
20227
20228 @endif zlib
20229
20230 .PHONY: maybe-dvi-zlib dvi-zlib
20231 maybe-dvi-zlib:
20232 @if zlib
20233 maybe-dvi-zlib: dvi-zlib
20234
20235 dvi-zlib: \
20236     configure-zlib 
20237         @[ -f ./zlib/Makefile ] || exit 0; \
20238         r=`${PWD_COMMAND}`; export r; \
20239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20240         $(SET_LIB_PATH) \
20241         $(HOST_EXPORTS) \
20242         for flag in $(EXTRA_HOST_FLAGS) ; do \
20243           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20244         done; \
20245         echo "Doing dvi in zlib" ; \
20246         (cd zlib && \
20247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20249                   "RANLIB=$${RANLIB}" \
20250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20251                   dvi) \
20252           || exit 1
20253
20254 @endif zlib
20255
20256 .PHONY: maybe-TAGS-zlib TAGS-zlib
20257 maybe-TAGS-zlib:
20258 @if zlib
20259 maybe-TAGS-zlib: TAGS-zlib
20260
20261 TAGS-zlib: \
20262     configure-zlib 
20263         @[ -f ./zlib/Makefile ] || exit 0; \
20264         r=`${PWD_COMMAND}`; export r; \
20265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20266         $(SET_LIB_PATH) \
20267         $(HOST_EXPORTS) \
20268         for flag in $(EXTRA_HOST_FLAGS) ; do \
20269           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20270         done; \
20271         echo "Doing TAGS in zlib" ; \
20272         (cd zlib && \
20273           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20274                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20275                   "RANLIB=$${RANLIB}" \
20276                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20277                   TAGS) \
20278           || exit 1
20279
20280 @endif zlib
20281
20282 .PHONY: maybe-install-info-zlib install-info-zlib
20283 maybe-install-info-zlib:
20284 @if zlib
20285 maybe-install-info-zlib: install-info-zlib
20286
20287 install-info-zlib: \
20288     configure-zlib \
20289     info-zlib 
20290         @[ -f ./zlib/Makefile ] || exit 0; \
20291         r=`${PWD_COMMAND}`; export r; \
20292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20293         $(SET_LIB_PATH) \
20294         $(HOST_EXPORTS) \
20295         for flag in $(EXTRA_HOST_FLAGS) ; do \
20296           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20297         done; \
20298         echo "Doing install-info in zlib" ; \
20299         (cd zlib && \
20300           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20301                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20302                   "RANLIB=$${RANLIB}" \
20303                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20304                   install-info) \
20305           || exit 1
20306
20307 @endif zlib
20308
20309 .PHONY: maybe-installcheck-zlib installcheck-zlib
20310 maybe-installcheck-zlib:
20311 @if zlib
20312 maybe-installcheck-zlib: installcheck-zlib
20313
20314 installcheck-zlib: \
20315     configure-zlib 
20316         @[ -f ./zlib/Makefile ] || exit 0; \
20317         r=`${PWD_COMMAND}`; export r; \
20318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20319         $(SET_LIB_PATH) \
20320         $(HOST_EXPORTS) \
20321         for flag in $(EXTRA_HOST_FLAGS) ; do \
20322           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20323         done; \
20324         echo "Doing installcheck in zlib" ; \
20325         (cd zlib && \
20326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20328                   "RANLIB=$${RANLIB}" \
20329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20330                   installcheck) \
20331           || exit 1
20332
20333 @endif zlib
20334
20335 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20336 maybe-mostlyclean-zlib:
20337 @if zlib
20338 maybe-mostlyclean-zlib: mostlyclean-zlib
20339
20340 mostlyclean-zlib: 
20341         @[ -f ./zlib/Makefile ] || exit 0; \
20342         r=`${PWD_COMMAND}`; export r; \
20343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20344         $(SET_LIB_PATH) \
20345         $(HOST_EXPORTS) \
20346         for flag in $(EXTRA_HOST_FLAGS) ; do \
20347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20348         done; \
20349         echo "Doing mostlyclean in zlib" ; \
20350         (cd zlib && \
20351           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20352                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20353                   "RANLIB=$${RANLIB}" \
20354                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20355                   mostlyclean) \
20356           || exit 1
20357
20358 @endif zlib
20359
20360 .PHONY: maybe-clean-zlib clean-zlib
20361 maybe-clean-zlib:
20362 @if zlib
20363 maybe-clean-zlib: clean-zlib
20364
20365 clean-zlib: 
20366         @[ -f ./zlib/Makefile ] || exit 0; \
20367         r=`${PWD_COMMAND}`; export r; \
20368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20369         $(SET_LIB_PATH) \
20370         $(HOST_EXPORTS) \
20371         for flag in $(EXTRA_HOST_FLAGS) ; do \
20372           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20373         done; \
20374         echo "Doing clean in zlib" ; \
20375         (cd zlib && \
20376           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20377                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20378                   "RANLIB=$${RANLIB}" \
20379                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20380                   clean) \
20381           || exit 1
20382
20383 @endif zlib
20384
20385 .PHONY: maybe-distclean-zlib distclean-zlib
20386 maybe-distclean-zlib:
20387 @if zlib
20388 maybe-distclean-zlib: distclean-zlib
20389
20390 distclean-zlib: 
20391         @[ -f ./zlib/Makefile ] || exit 0; \
20392         r=`${PWD_COMMAND}`; export r; \
20393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20394         $(SET_LIB_PATH) \
20395         $(HOST_EXPORTS) \
20396         for flag in $(EXTRA_HOST_FLAGS) ; do \
20397           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20398         done; \
20399         echo "Doing distclean in zlib" ; \
20400         (cd zlib && \
20401           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20402                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20403                   "RANLIB=$${RANLIB}" \
20404                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20405                   distclean) \
20406           || exit 1
20407
20408 @endif zlib
20409
20410 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20411 maybe-maintainer-clean-zlib:
20412 @if zlib
20413 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20414
20415 maintainer-clean-zlib: 
20416         @[ -f ./zlib/Makefile ] || exit 0; \
20417         r=`${PWD_COMMAND}`; export r; \
20418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20419         $(SET_LIB_PATH) \
20420         $(HOST_EXPORTS) \
20421         for flag in $(EXTRA_HOST_FLAGS) ; do \
20422           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20423         done; \
20424         echo "Doing maintainer-clean in zlib" ; \
20425         (cd zlib && \
20426           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20427                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20428                   "RANLIB=$${RANLIB}" \
20429                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20430                   maintainer-clean) \
20431           || exit 1
20432
20433 @endif zlib
20434
20435
20436 .PHONY: configure-gdb maybe-configure-gdb
20437 maybe-configure-gdb:
20438 @if gdb
20439 maybe-configure-gdb: configure-gdb
20440 configure-gdb:
20441         @test ! -f gdb/Makefile || exit 0; \
20442         [ -d gdb ] || mkdir gdb; \
20443         r=`${PWD_COMMAND}`; export r; \
20444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20445         $(HOST_EXPORTS) \
20446         echo Configuring in gdb; \
20447         cd gdb || exit 1; \
20448         case $(srcdir) in \
20449           \.) \
20450             srcdiroption="--srcdir=."; \
20451             libsrcdir=".";; \
20452           /* | [A-Za-z]:[\\/]*) \
20453             srcdiroption="--srcdir=$(srcdir)/gdb"; \
20454             libsrcdir="$$s/gdb";; \
20455           *) \
20456             srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20457             libsrcdir="$$s/gdb";; \
20458         esac; \
20459         $(SHELL) $${libsrcdir}/configure \
20460           $(HOST_CONFIGARGS) $${srcdiroption}  \
20461           || exit 1
20462 @endif gdb
20463
20464 .PHONY: all-gdb maybe-all-gdb
20465 maybe-all-gdb:
20466 @if gdb
20467 TARGET-gdb=all
20468 maybe-all-gdb: all-gdb
20469 all-gdb: configure-gdb
20470         @r=`${PWD_COMMAND}`; export r; \
20471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20472         $(SET_LIB_PATH) \
20473         $(HOST_EXPORTS) \
20474         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
20475           $(TARGET-gdb))
20476 @endif gdb
20477
20478 .PHONY: check-gdb maybe-check-gdb
20479 maybe-check-gdb:
20480 @if gdb
20481 maybe-check-gdb: check-gdb
20482
20483 check-gdb:
20484         @r=`${PWD_COMMAND}`; export r; \
20485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20486         $(SET_LIB_PATH) \
20487         $(HOST_EXPORTS) \
20488         (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20489
20490 @endif gdb
20491
20492 .PHONY: install-gdb maybe-install-gdb
20493 maybe-install-gdb:
20494 @if gdb
20495 maybe-install-gdb: install-gdb
20496
20497 install-gdb: installdirs
20498         @r=`${PWD_COMMAND}`; export r; \
20499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20500         $(SET_LIB_PATH) \
20501         $(HOST_EXPORTS) \
20502         (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20503
20504 @endif gdb
20505
20506 # Other targets (info, dvi, etc.)
20507
20508 .PHONY: maybe-info-gdb info-gdb
20509 maybe-info-gdb:
20510 @if gdb
20511 maybe-info-gdb: info-gdb
20512
20513 info-gdb: \
20514     configure-gdb 
20515         @[ -f ./gdb/Makefile ] || exit 0; \
20516         r=`${PWD_COMMAND}`; export r; \
20517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20518         $(SET_LIB_PATH) \
20519         $(HOST_EXPORTS) \
20520         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20522         done; \
20523         echo "Doing info in gdb" ; \
20524         (cd gdb && \
20525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20527                   "RANLIB=$${RANLIB}" \
20528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20529                   info) \
20530           || exit 1
20531
20532 @endif gdb
20533
20534 .PHONY: maybe-dvi-gdb dvi-gdb
20535 maybe-dvi-gdb:
20536 @if gdb
20537 maybe-dvi-gdb: dvi-gdb
20538
20539 dvi-gdb: \
20540     configure-gdb 
20541         @[ -f ./gdb/Makefile ] || exit 0; \
20542         r=`${PWD_COMMAND}`; export r; \
20543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20544         $(SET_LIB_PATH) \
20545         $(HOST_EXPORTS) \
20546         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20547           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20548         done; \
20549         echo "Doing dvi in gdb" ; \
20550         (cd gdb && \
20551           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20552                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20553                   "RANLIB=$${RANLIB}" \
20554                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20555                   dvi) \
20556           || exit 1
20557
20558 @endif gdb
20559
20560 .PHONY: maybe-TAGS-gdb TAGS-gdb
20561 maybe-TAGS-gdb:
20562 @if gdb
20563 maybe-TAGS-gdb: TAGS-gdb
20564
20565 TAGS-gdb: \
20566     configure-gdb 
20567         @[ -f ./gdb/Makefile ] || exit 0; \
20568         r=`${PWD_COMMAND}`; export r; \
20569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20570         $(SET_LIB_PATH) \
20571         $(HOST_EXPORTS) \
20572         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20574         done; \
20575         echo "Doing TAGS in gdb" ; \
20576         (cd gdb && \
20577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20579                   "RANLIB=$${RANLIB}" \
20580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20581                   TAGS) \
20582           || exit 1
20583
20584 @endif gdb
20585
20586 .PHONY: maybe-install-info-gdb install-info-gdb
20587 maybe-install-info-gdb:
20588 @if gdb
20589 maybe-install-info-gdb: install-info-gdb
20590
20591 install-info-gdb: \
20592     configure-gdb \
20593     info-gdb 
20594         @[ -f ./gdb/Makefile ] || exit 0; \
20595         r=`${PWD_COMMAND}`; export r; \
20596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20597         $(SET_LIB_PATH) \
20598         $(HOST_EXPORTS) \
20599         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20601         done; \
20602         echo "Doing install-info in gdb" ; \
20603         (cd gdb && \
20604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20606                   "RANLIB=$${RANLIB}" \
20607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20608                   install-info) \
20609           || exit 1
20610
20611 @endif gdb
20612
20613 .PHONY: maybe-installcheck-gdb installcheck-gdb
20614 maybe-installcheck-gdb:
20615 @if gdb
20616 maybe-installcheck-gdb: installcheck-gdb
20617
20618 installcheck-gdb: \
20619     configure-gdb 
20620         @[ -f ./gdb/Makefile ] || exit 0; \
20621         r=`${PWD_COMMAND}`; export r; \
20622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20623         $(SET_LIB_PATH) \
20624         $(HOST_EXPORTS) \
20625         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20627         done; \
20628         echo "Doing installcheck in gdb" ; \
20629         (cd gdb && \
20630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20632                   "RANLIB=$${RANLIB}" \
20633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20634                   installcheck) \
20635           || exit 1
20636
20637 @endif gdb
20638
20639 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20640 maybe-mostlyclean-gdb:
20641 @if gdb
20642 maybe-mostlyclean-gdb: mostlyclean-gdb
20643
20644 mostlyclean-gdb: 
20645         @[ -f ./gdb/Makefile ] || exit 0; \
20646         r=`${PWD_COMMAND}`; export r; \
20647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20648         $(SET_LIB_PATH) \
20649         $(HOST_EXPORTS) \
20650         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20652         done; \
20653         echo "Doing mostlyclean in gdb" ; \
20654         (cd gdb && \
20655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20657                   "RANLIB=$${RANLIB}" \
20658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20659                   mostlyclean) \
20660           || exit 1
20661
20662 @endif gdb
20663
20664 .PHONY: maybe-clean-gdb clean-gdb
20665 maybe-clean-gdb:
20666 @if gdb
20667 maybe-clean-gdb: clean-gdb
20668
20669 clean-gdb: 
20670         @[ -f ./gdb/Makefile ] || exit 0; \
20671         r=`${PWD_COMMAND}`; export r; \
20672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20673         $(SET_LIB_PATH) \
20674         $(HOST_EXPORTS) \
20675         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20677         done; \
20678         echo "Doing clean in gdb" ; \
20679         (cd gdb && \
20680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20682                   "RANLIB=$${RANLIB}" \
20683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20684                   clean) \
20685           || exit 1
20686
20687 @endif gdb
20688
20689 .PHONY: maybe-distclean-gdb distclean-gdb
20690 maybe-distclean-gdb:
20691 @if gdb
20692 maybe-distclean-gdb: distclean-gdb
20693
20694 distclean-gdb: 
20695         @[ -f ./gdb/Makefile ] || exit 0; \
20696         r=`${PWD_COMMAND}`; export r; \
20697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20698         $(SET_LIB_PATH) \
20699         $(HOST_EXPORTS) \
20700         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20701           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20702         done; \
20703         echo "Doing distclean in gdb" ; \
20704         (cd gdb && \
20705           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20706                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20707                   "RANLIB=$${RANLIB}" \
20708                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20709                   distclean) \
20710           || exit 1
20711
20712 @endif gdb
20713
20714 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20715 maybe-maintainer-clean-gdb:
20716 @if gdb
20717 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20718
20719 maintainer-clean-gdb: 
20720         @[ -f ./gdb/Makefile ] || exit 0; \
20721         r=`${PWD_COMMAND}`; export r; \
20722         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20723         $(SET_LIB_PATH) \
20724         $(HOST_EXPORTS) \
20725         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20726           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20727         done; \
20728         echo "Doing maintainer-clean in gdb" ; \
20729         (cd gdb && \
20730           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20731                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20732                   "RANLIB=$${RANLIB}" \
20733                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20734                   maintainer-clean) \
20735           || exit 1
20736
20737 @endif gdb
20738
20739
20740 .PHONY: configure-expect maybe-configure-expect
20741 maybe-configure-expect:
20742 @if expect
20743 maybe-configure-expect: configure-expect
20744 configure-expect:
20745         @test ! -f expect/Makefile || exit 0; \
20746         [ -d expect ] || mkdir expect; \
20747         r=`${PWD_COMMAND}`; export r; \
20748         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20749         $(HOST_EXPORTS) \
20750         echo Configuring in expect; \
20751         cd expect || exit 1; \
20752         case $(srcdir) in \
20753           \.) \
20754             srcdiroption="--srcdir=."; \
20755             libsrcdir=".";; \
20756           /* | [A-Za-z]:[\\/]*) \
20757             srcdiroption="--srcdir=$(srcdir)/expect"; \
20758             libsrcdir="$$s/expect";; \
20759           *) \
20760             srcdiroption="--srcdir=../$(srcdir)/expect"; \
20761             libsrcdir="$$s/expect";; \
20762         esac; \
20763         $(SHELL) $${libsrcdir}/configure \
20764           $(HOST_CONFIGARGS) $${srcdiroption}  \
20765           || exit 1
20766 @endif expect
20767
20768 .PHONY: all-expect maybe-all-expect
20769 maybe-all-expect:
20770 @if expect
20771 TARGET-expect=all
20772 maybe-all-expect: all-expect
20773 all-expect: configure-expect
20774         @r=`${PWD_COMMAND}`; export r; \
20775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20776         $(SET_LIB_PATH) \
20777         $(HOST_EXPORTS) \
20778         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
20779           $(TARGET-expect))
20780 @endif expect
20781
20782 .PHONY: check-expect maybe-check-expect
20783 maybe-check-expect:
20784 @if expect
20785 maybe-check-expect: check-expect
20786
20787 check-expect:
20788         @r=`${PWD_COMMAND}`; export r; \
20789         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20790         $(SET_LIB_PATH) \
20791         $(HOST_EXPORTS) \
20792         (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20793
20794 @endif expect
20795
20796 .PHONY: install-expect maybe-install-expect
20797 maybe-install-expect:
20798 @if expect
20799 maybe-install-expect: install-expect
20800
20801 install-expect: installdirs
20802         @r=`${PWD_COMMAND}`; export r; \
20803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804         $(SET_LIB_PATH) \
20805         $(HOST_EXPORTS) \
20806         (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20807
20808 @endif expect
20809
20810 # Other targets (info, dvi, etc.)
20811
20812 .PHONY: maybe-info-expect info-expect
20813 maybe-info-expect:
20814 @if expect
20815 maybe-info-expect: info-expect
20816
20817 info-expect: \
20818     configure-expect 
20819         @[ -f ./expect/Makefile ] || exit 0; \
20820         r=`${PWD_COMMAND}`; export r; \
20821         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20822         $(SET_LIB_PATH) \
20823         $(HOST_EXPORTS) \
20824         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20826         done; \
20827         echo "Doing info in expect" ; \
20828         (cd expect && \
20829           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20830                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20831                   "RANLIB=$${RANLIB}" \
20832                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20833                   info) \
20834           || exit 1
20835
20836 @endif expect
20837
20838 .PHONY: maybe-dvi-expect dvi-expect
20839 maybe-dvi-expect:
20840 @if expect
20841 maybe-dvi-expect: dvi-expect
20842
20843 dvi-expect: \
20844     configure-expect 
20845         @[ -f ./expect/Makefile ] || exit 0; \
20846         r=`${PWD_COMMAND}`; export r; \
20847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20848         $(SET_LIB_PATH) \
20849         $(HOST_EXPORTS) \
20850         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20851           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20852         done; \
20853         echo "Doing dvi in expect" ; \
20854         (cd expect && \
20855           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20856                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20857                   "RANLIB=$${RANLIB}" \
20858                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20859                   dvi) \
20860           || exit 1
20861
20862 @endif expect
20863
20864 .PHONY: maybe-TAGS-expect TAGS-expect
20865 maybe-TAGS-expect:
20866 @if expect
20867 maybe-TAGS-expect: TAGS-expect
20868
20869 TAGS-expect: \
20870     configure-expect 
20871         @[ -f ./expect/Makefile ] || exit 0; \
20872         r=`${PWD_COMMAND}`; export r; \
20873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20874         $(SET_LIB_PATH) \
20875         $(HOST_EXPORTS) \
20876         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20878         done; \
20879         echo "Doing TAGS in expect" ; \
20880         (cd expect && \
20881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20883                   "RANLIB=$${RANLIB}" \
20884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20885                   TAGS) \
20886           || exit 1
20887
20888 @endif expect
20889
20890 .PHONY: maybe-install-info-expect install-info-expect
20891 maybe-install-info-expect:
20892 @if expect
20893 maybe-install-info-expect: install-info-expect
20894
20895 install-info-expect: \
20896     configure-expect \
20897     info-expect 
20898         @[ -f ./expect/Makefile ] || exit 0; \
20899         r=`${PWD_COMMAND}`; export r; \
20900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20901         $(SET_LIB_PATH) \
20902         $(HOST_EXPORTS) \
20903         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20904           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20905         done; \
20906         echo "Doing install-info in expect" ; \
20907         (cd expect && \
20908           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20909                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20910                   "RANLIB=$${RANLIB}" \
20911                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20912                   install-info) \
20913           || exit 1
20914
20915 @endif expect
20916
20917 .PHONY: maybe-installcheck-expect installcheck-expect
20918 maybe-installcheck-expect:
20919 @if expect
20920 maybe-installcheck-expect: installcheck-expect
20921
20922 installcheck-expect: \
20923     configure-expect 
20924         @[ -f ./expect/Makefile ] || exit 0; \
20925         r=`${PWD_COMMAND}`; export r; \
20926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20927         $(SET_LIB_PATH) \
20928         $(HOST_EXPORTS) \
20929         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20930           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20931         done; \
20932         echo "Doing installcheck in expect" ; \
20933         (cd expect && \
20934           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20935                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20936                   "RANLIB=$${RANLIB}" \
20937                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20938                   installcheck) \
20939           || exit 1
20940
20941 @endif expect
20942
20943 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20944 maybe-mostlyclean-expect:
20945 @if expect
20946 maybe-mostlyclean-expect: mostlyclean-expect
20947
20948 mostlyclean-expect: 
20949         @[ -f ./expect/Makefile ] || exit 0; \
20950         r=`${PWD_COMMAND}`; export r; \
20951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20952         $(SET_LIB_PATH) \
20953         $(HOST_EXPORTS) \
20954         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20955           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20956         done; \
20957         echo "Doing mostlyclean in expect" ; \
20958         (cd expect && \
20959           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20960                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20961                   "RANLIB=$${RANLIB}" \
20962                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20963                   mostlyclean) \
20964           || exit 1
20965
20966 @endif expect
20967
20968 .PHONY: maybe-clean-expect clean-expect
20969 maybe-clean-expect:
20970 @if expect
20971 maybe-clean-expect: clean-expect
20972
20973 clean-expect: 
20974         @[ -f ./expect/Makefile ] || exit 0; \
20975         r=`${PWD_COMMAND}`; export r; \
20976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977         $(SET_LIB_PATH) \
20978         $(HOST_EXPORTS) \
20979         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20980           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20981         done; \
20982         echo "Doing clean in expect" ; \
20983         (cd expect && \
20984           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20985                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20986                   "RANLIB=$${RANLIB}" \
20987                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20988                   clean) \
20989           || exit 1
20990
20991 @endif expect
20992
20993 .PHONY: maybe-distclean-expect distclean-expect
20994 maybe-distclean-expect:
20995 @if expect
20996 maybe-distclean-expect: distclean-expect
20997
20998 distclean-expect: 
20999         @[ -f ./expect/Makefile ] || exit 0; \
21000         r=`${PWD_COMMAND}`; export r; \
21001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21002         $(SET_LIB_PATH) \
21003         $(HOST_EXPORTS) \
21004         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006         done; \
21007         echo "Doing distclean in expect" ; \
21008         (cd expect && \
21009           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21010                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21011                   "RANLIB=$${RANLIB}" \
21012                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21013                   distclean) \
21014           || exit 1
21015
21016 @endif expect
21017
21018 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21019 maybe-maintainer-clean-expect:
21020 @if expect
21021 maybe-maintainer-clean-expect: maintainer-clean-expect
21022
21023 maintainer-clean-expect: 
21024         @[ -f ./expect/Makefile ] || exit 0; \
21025         r=`${PWD_COMMAND}`; export r; \
21026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21027         $(SET_LIB_PATH) \
21028         $(HOST_EXPORTS) \
21029         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21031         done; \
21032         echo "Doing maintainer-clean in expect" ; \
21033         (cd expect && \
21034           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21035                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21036                   "RANLIB=$${RANLIB}" \
21037                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21038                   maintainer-clean) \
21039           || exit 1
21040
21041 @endif expect
21042
21043
21044 .PHONY: configure-guile maybe-configure-guile
21045 maybe-configure-guile:
21046 @if guile
21047 maybe-configure-guile: configure-guile
21048 configure-guile:
21049         @test ! -f guile/Makefile || exit 0; \
21050         [ -d guile ] || mkdir guile; \
21051         r=`${PWD_COMMAND}`; export r; \
21052         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21053         $(HOST_EXPORTS) \
21054         echo Configuring in guile; \
21055         cd guile || exit 1; \
21056         case $(srcdir) in \
21057           \.) \
21058             srcdiroption="--srcdir=."; \
21059             libsrcdir=".";; \
21060           /* | [A-Za-z]:[\\/]*) \
21061             srcdiroption="--srcdir=$(srcdir)/guile"; \
21062             libsrcdir="$$s/guile";; \
21063           *) \
21064             srcdiroption="--srcdir=../$(srcdir)/guile"; \
21065             libsrcdir="$$s/guile";; \
21066         esac; \
21067         $(SHELL) $${libsrcdir}/configure \
21068           $(HOST_CONFIGARGS) $${srcdiroption}  \
21069           || exit 1
21070 @endif guile
21071
21072 .PHONY: all-guile maybe-all-guile
21073 maybe-all-guile:
21074 @if guile
21075 TARGET-guile=all
21076 maybe-all-guile: all-guile
21077 all-guile: configure-guile
21078         @r=`${PWD_COMMAND}`; export r; \
21079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080         $(SET_LIB_PATH) \
21081         $(HOST_EXPORTS) \
21082         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21083           $(TARGET-guile))
21084 @endif guile
21085
21086 .PHONY: check-guile maybe-check-guile
21087 maybe-check-guile:
21088 @if guile
21089 maybe-check-guile: check-guile
21090
21091 check-guile:
21092         @r=`${PWD_COMMAND}`; export r; \
21093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21094         $(SET_LIB_PATH) \
21095         $(HOST_EXPORTS) \
21096         (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21097
21098 @endif guile
21099
21100 .PHONY: install-guile maybe-install-guile
21101 maybe-install-guile:
21102 @if guile
21103 maybe-install-guile: install-guile
21104
21105 install-guile: installdirs
21106         @r=`${PWD_COMMAND}`; export r; \
21107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108         $(SET_LIB_PATH) \
21109         $(HOST_EXPORTS) \
21110         (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21111
21112 @endif guile
21113
21114 # Other targets (info, dvi, etc.)
21115
21116 .PHONY: maybe-info-guile info-guile
21117 maybe-info-guile:
21118 @if guile
21119 maybe-info-guile: info-guile
21120
21121 info-guile: \
21122     configure-guile 
21123         @[ -f ./guile/Makefile ] || exit 0; \
21124         r=`${PWD_COMMAND}`; export r; \
21125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21126         $(SET_LIB_PATH) \
21127         $(HOST_EXPORTS) \
21128         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21129           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21130         done; \
21131         echo "Doing info in guile" ; \
21132         (cd guile && \
21133           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21134                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21135                   "RANLIB=$${RANLIB}" \
21136                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21137                   info) \
21138           || exit 1
21139
21140 @endif guile
21141
21142 .PHONY: maybe-dvi-guile dvi-guile
21143 maybe-dvi-guile:
21144 @if guile
21145 maybe-dvi-guile: dvi-guile
21146
21147 dvi-guile: \
21148     configure-guile 
21149         @[ -f ./guile/Makefile ] || exit 0; \
21150         r=`${PWD_COMMAND}`; export r; \
21151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21152         $(SET_LIB_PATH) \
21153         $(HOST_EXPORTS) \
21154         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21155           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21156         done; \
21157         echo "Doing dvi in guile" ; \
21158         (cd guile && \
21159           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21160                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21161                   "RANLIB=$${RANLIB}" \
21162                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21163                   dvi) \
21164           || exit 1
21165
21166 @endif guile
21167
21168 .PHONY: maybe-TAGS-guile TAGS-guile
21169 maybe-TAGS-guile:
21170 @if guile
21171 maybe-TAGS-guile: TAGS-guile
21172
21173 TAGS-guile: \
21174     configure-guile 
21175         @[ -f ./guile/Makefile ] || exit 0; \
21176         r=`${PWD_COMMAND}`; export r; \
21177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21178         $(SET_LIB_PATH) \
21179         $(HOST_EXPORTS) \
21180         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21181           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21182         done; \
21183         echo "Doing TAGS in guile" ; \
21184         (cd guile && \
21185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21187                   "RANLIB=$${RANLIB}" \
21188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21189                   TAGS) \
21190           || exit 1
21191
21192 @endif guile
21193
21194 .PHONY: maybe-install-info-guile install-info-guile
21195 maybe-install-info-guile:
21196 @if guile
21197 maybe-install-info-guile: install-info-guile
21198
21199 install-info-guile: \
21200     configure-guile \
21201     info-guile 
21202         @[ -f ./guile/Makefile ] || exit 0; \
21203         r=`${PWD_COMMAND}`; export r; \
21204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21205         $(SET_LIB_PATH) \
21206         $(HOST_EXPORTS) \
21207         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21209         done; \
21210         echo "Doing install-info in guile" ; \
21211         (cd guile && \
21212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21214                   "RANLIB=$${RANLIB}" \
21215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21216                   install-info) \
21217           || exit 1
21218
21219 @endif guile
21220
21221 .PHONY: maybe-installcheck-guile installcheck-guile
21222 maybe-installcheck-guile:
21223 @if guile
21224 maybe-installcheck-guile: installcheck-guile
21225
21226 installcheck-guile: \
21227     configure-guile 
21228         @[ -f ./guile/Makefile ] || exit 0; \
21229         r=`${PWD_COMMAND}`; export r; \
21230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21231         $(SET_LIB_PATH) \
21232         $(HOST_EXPORTS) \
21233         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21234           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21235         done; \
21236         echo "Doing installcheck in guile" ; \
21237         (cd guile && \
21238           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21239                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21240                   "RANLIB=$${RANLIB}" \
21241                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21242                   installcheck) \
21243           || exit 1
21244
21245 @endif guile
21246
21247 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21248 maybe-mostlyclean-guile:
21249 @if guile
21250 maybe-mostlyclean-guile: mostlyclean-guile
21251
21252 mostlyclean-guile: 
21253         @[ -f ./guile/Makefile ] || exit 0; \
21254         r=`${PWD_COMMAND}`; export r; \
21255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21256         $(SET_LIB_PATH) \
21257         $(HOST_EXPORTS) \
21258         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21259           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21260         done; \
21261         echo "Doing mostlyclean in guile" ; \
21262         (cd guile && \
21263           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21264                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21265                   "RANLIB=$${RANLIB}" \
21266                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21267                   mostlyclean) \
21268           || exit 1
21269
21270 @endif guile
21271
21272 .PHONY: maybe-clean-guile clean-guile
21273 maybe-clean-guile:
21274 @if guile
21275 maybe-clean-guile: clean-guile
21276
21277 clean-guile: 
21278         @[ -f ./guile/Makefile ] || exit 0; \
21279         r=`${PWD_COMMAND}`; export r; \
21280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21281         $(SET_LIB_PATH) \
21282         $(HOST_EXPORTS) \
21283         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21284           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21285         done; \
21286         echo "Doing clean in guile" ; \
21287         (cd guile && \
21288           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21289                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21290                   "RANLIB=$${RANLIB}" \
21291                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21292                   clean) \
21293           || exit 1
21294
21295 @endif guile
21296
21297 .PHONY: maybe-distclean-guile distclean-guile
21298 maybe-distclean-guile:
21299 @if guile
21300 maybe-distclean-guile: distclean-guile
21301
21302 distclean-guile: 
21303         @[ -f ./guile/Makefile ] || exit 0; \
21304         r=`${PWD_COMMAND}`; export r; \
21305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21306         $(SET_LIB_PATH) \
21307         $(HOST_EXPORTS) \
21308         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21310         done; \
21311         echo "Doing distclean in guile" ; \
21312         (cd guile && \
21313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21315                   "RANLIB=$${RANLIB}" \
21316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21317                   distclean) \
21318           || exit 1
21319
21320 @endif guile
21321
21322 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21323 maybe-maintainer-clean-guile:
21324 @if guile
21325 maybe-maintainer-clean-guile: maintainer-clean-guile
21326
21327 maintainer-clean-guile: 
21328         @[ -f ./guile/Makefile ] || exit 0; \
21329         r=`${PWD_COMMAND}`; export r; \
21330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21331         $(SET_LIB_PATH) \
21332         $(HOST_EXPORTS) \
21333         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21335         done; \
21336         echo "Doing maintainer-clean in guile" ; \
21337         (cd guile && \
21338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21340                   "RANLIB=$${RANLIB}" \
21341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21342                   maintainer-clean) \
21343           || exit 1
21344
21345 @endif guile
21346
21347
21348 .PHONY: configure-tk maybe-configure-tk
21349 maybe-configure-tk:
21350 @if tk
21351 maybe-configure-tk: configure-tk
21352 configure-tk:
21353         @test ! -f tk/Makefile || exit 0; \
21354         [ -d tk ] || mkdir tk; \
21355         r=`${PWD_COMMAND}`; export r; \
21356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21357         $(HOST_EXPORTS) \
21358         echo Configuring in tk; \
21359         cd tk || exit 1; \
21360         case $(srcdir) in \
21361           \.) \
21362             srcdiroption="--srcdir=."; \
21363             libsrcdir=".";; \
21364           /* | [A-Za-z]:[\\/]*) \
21365             srcdiroption="--srcdir=$(srcdir)/tk"; \
21366             libsrcdir="$$s/tk";; \
21367           *) \
21368             srcdiroption="--srcdir=../$(srcdir)/tk"; \
21369             libsrcdir="$$s/tk";; \
21370         esac; \
21371         $(SHELL) $${libsrcdir}/configure \
21372           $(HOST_CONFIGARGS) $${srcdiroption}  \
21373           || exit 1
21374 @endif tk
21375
21376 .PHONY: all-tk maybe-all-tk
21377 maybe-all-tk:
21378 @if tk
21379 TARGET-tk=all
21380 maybe-all-tk: all-tk
21381 all-tk: configure-tk
21382         @r=`${PWD_COMMAND}`; export r; \
21383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21384         $(SET_LIB_PATH) \
21385         $(HOST_EXPORTS) \
21386         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21387           $(TARGET-tk))
21388 @endif tk
21389
21390 .PHONY: check-tk maybe-check-tk
21391 maybe-check-tk:
21392 @if tk
21393 maybe-check-tk: check-tk
21394
21395 check-tk:
21396         @r=`${PWD_COMMAND}`; export r; \
21397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21398         $(SET_LIB_PATH) \
21399         $(HOST_EXPORTS) \
21400         (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21401
21402 @endif tk
21403
21404 .PHONY: install-tk maybe-install-tk
21405 maybe-install-tk:
21406 @if tk
21407 maybe-install-tk: install-tk
21408
21409 install-tk: installdirs
21410         @r=`${PWD_COMMAND}`; export r; \
21411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21412         $(SET_LIB_PATH) \
21413         $(HOST_EXPORTS) \
21414         (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21415
21416 @endif tk
21417
21418 # Other targets (info, dvi, etc.)
21419
21420 .PHONY: maybe-info-tk info-tk
21421 maybe-info-tk:
21422 @if tk
21423 maybe-info-tk: info-tk
21424
21425 info-tk: \
21426     configure-tk 
21427         @[ -f ./tk/Makefile ] || exit 0; \
21428         r=`${PWD_COMMAND}`; export r; \
21429         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21430         $(SET_LIB_PATH) \
21431         $(HOST_EXPORTS) \
21432         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21433           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21434         done; \
21435         echo "Doing info in tk" ; \
21436         (cd tk && \
21437           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21438                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21439                   "RANLIB=$${RANLIB}" \
21440                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21441                   info) \
21442           || exit 1
21443
21444 @endif tk
21445
21446 .PHONY: maybe-dvi-tk dvi-tk
21447 maybe-dvi-tk:
21448 @if tk
21449 maybe-dvi-tk: dvi-tk
21450
21451 dvi-tk: \
21452     configure-tk 
21453         @[ -f ./tk/Makefile ] || exit 0; \
21454         r=`${PWD_COMMAND}`; export r; \
21455         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21456         $(SET_LIB_PATH) \
21457         $(HOST_EXPORTS) \
21458         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21459           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21460         done; \
21461         echo "Doing dvi in tk" ; \
21462         (cd tk && \
21463           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21464                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21465                   "RANLIB=$${RANLIB}" \
21466                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21467                   dvi) \
21468           || exit 1
21469
21470 @endif tk
21471
21472 .PHONY: maybe-TAGS-tk TAGS-tk
21473 maybe-TAGS-tk:
21474 @if tk
21475 maybe-TAGS-tk: TAGS-tk
21476
21477 TAGS-tk: \
21478     configure-tk 
21479         @[ -f ./tk/Makefile ] || exit 0; \
21480         r=`${PWD_COMMAND}`; export r; \
21481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21482         $(SET_LIB_PATH) \
21483         $(HOST_EXPORTS) \
21484         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21485           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21486         done; \
21487         echo "Doing TAGS in tk" ; \
21488         (cd tk && \
21489           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491                   "RANLIB=$${RANLIB}" \
21492                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21493                   TAGS) \
21494           || exit 1
21495
21496 @endif tk
21497
21498 .PHONY: maybe-install-info-tk install-info-tk
21499 maybe-install-info-tk:
21500 @if tk
21501 maybe-install-info-tk: install-info-tk
21502
21503 install-info-tk: \
21504     configure-tk \
21505     info-tk 
21506         @[ -f ./tk/Makefile ] || exit 0; \
21507         r=`${PWD_COMMAND}`; export r; \
21508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21509         $(SET_LIB_PATH) \
21510         $(HOST_EXPORTS) \
21511         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21512           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21513         done; \
21514         echo "Doing install-info in tk" ; \
21515         (cd tk && \
21516           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21517                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21518                   "RANLIB=$${RANLIB}" \
21519                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21520                   install-info) \
21521           || exit 1
21522
21523 @endif tk
21524
21525 .PHONY: maybe-installcheck-tk installcheck-tk
21526 maybe-installcheck-tk:
21527 @if tk
21528 maybe-installcheck-tk: installcheck-tk
21529
21530 installcheck-tk: \
21531     configure-tk 
21532         @[ -f ./tk/Makefile ] || exit 0; \
21533         r=`${PWD_COMMAND}`; export r; \
21534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21535         $(SET_LIB_PATH) \
21536         $(HOST_EXPORTS) \
21537         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21538           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21539         done; \
21540         echo "Doing installcheck in tk" ; \
21541         (cd tk && \
21542           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21543                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21544                   "RANLIB=$${RANLIB}" \
21545                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21546                   installcheck) \
21547           || exit 1
21548
21549 @endif tk
21550
21551 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21552 maybe-mostlyclean-tk:
21553 @if tk
21554 maybe-mostlyclean-tk: mostlyclean-tk
21555
21556 mostlyclean-tk: 
21557         @[ -f ./tk/Makefile ] || exit 0; \
21558         r=`${PWD_COMMAND}`; export r; \
21559         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21560         $(SET_LIB_PATH) \
21561         $(HOST_EXPORTS) \
21562         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21563           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21564         done; \
21565         echo "Doing mostlyclean in tk" ; \
21566         (cd tk && \
21567           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21568                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21569                   "RANLIB=$${RANLIB}" \
21570                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21571                   mostlyclean) \
21572           || exit 1
21573
21574 @endif tk
21575
21576 .PHONY: maybe-clean-tk clean-tk
21577 maybe-clean-tk:
21578 @if tk
21579 maybe-clean-tk: clean-tk
21580
21581 clean-tk: 
21582         @[ -f ./tk/Makefile ] || exit 0; \
21583         r=`${PWD_COMMAND}`; export r; \
21584         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21585         $(SET_LIB_PATH) \
21586         $(HOST_EXPORTS) \
21587         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21588           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21589         done; \
21590         echo "Doing clean in tk" ; \
21591         (cd tk && \
21592           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21593                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21594                   "RANLIB=$${RANLIB}" \
21595                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21596                   clean) \
21597           || exit 1
21598
21599 @endif tk
21600
21601 .PHONY: maybe-distclean-tk distclean-tk
21602 maybe-distclean-tk:
21603 @if tk
21604 maybe-distclean-tk: distclean-tk
21605
21606 distclean-tk: 
21607         @[ -f ./tk/Makefile ] || exit 0; \
21608         r=`${PWD_COMMAND}`; export r; \
21609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610         $(SET_LIB_PATH) \
21611         $(HOST_EXPORTS) \
21612         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21613           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21614         done; \
21615         echo "Doing distclean in tk" ; \
21616         (cd tk && \
21617           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21618                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21619                   "RANLIB=$${RANLIB}" \
21620                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21621                   distclean) \
21622           || exit 1
21623
21624 @endif tk
21625
21626 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21627 maybe-maintainer-clean-tk:
21628 @if tk
21629 maybe-maintainer-clean-tk: maintainer-clean-tk
21630
21631 maintainer-clean-tk: 
21632         @[ -f ./tk/Makefile ] || exit 0; \
21633         r=`${PWD_COMMAND}`; export r; \
21634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21635         $(SET_LIB_PATH) \
21636         $(HOST_EXPORTS) \
21637         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21638           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21639         done; \
21640         echo "Doing maintainer-clean in tk" ; \
21641         (cd tk && \
21642           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21643                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21644                   "RANLIB=$${RANLIB}" \
21645                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21646                   maintainer-clean) \
21647           || exit 1
21648
21649 @endif tk
21650
21651
21652 .PHONY: configure-libtermcap maybe-configure-libtermcap
21653 maybe-configure-libtermcap:
21654 @if libtermcap
21655 maybe-configure-libtermcap: configure-libtermcap
21656 configure-libtermcap:
21657         @test ! -f libtermcap/Makefile || exit 0; \
21658         [ -d libtermcap ] || mkdir libtermcap; \
21659         r=`${PWD_COMMAND}`; export r; \
21660         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21661         $(HOST_EXPORTS) \
21662         echo Configuring in libtermcap; \
21663         cd libtermcap || exit 1; \
21664         case $(srcdir) in \
21665           \.) \
21666             srcdiroption="--srcdir=."; \
21667             libsrcdir=".";; \
21668           /* | [A-Za-z]:[\\/]*) \
21669             srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21670             libsrcdir="$$s/libtermcap";; \
21671           *) \
21672             srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21673             libsrcdir="$$s/libtermcap";; \
21674         esac; \
21675         $(SHELL) $${libsrcdir}/configure \
21676           $(HOST_CONFIGARGS) $${srcdiroption}  \
21677           || exit 1
21678 @endif libtermcap
21679
21680 .PHONY: all-libtermcap maybe-all-libtermcap
21681 maybe-all-libtermcap:
21682 @if libtermcap
21683 TARGET-libtermcap=all
21684 maybe-all-libtermcap: all-libtermcap
21685 all-libtermcap: configure-libtermcap
21686         @r=`${PWD_COMMAND}`; export r; \
21687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21688         $(SET_LIB_PATH) \
21689         $(HOST_EXPORTS) \
21690         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS)  \
21691           $(TARGET-libtermcap))
21692 @endif libtermcap
21693
21694 .PHONY: check-libtermcap maybe-check-libtermcap
21695 maybe-check-libtermcap:
21696 @if libtermcap
21697 maybe-check-libtermcap: check-libtermcap
21698
21699 check-libtermcap:
21700
21701 @endif libtermcap
21702
21703 .PHONY: install-libtermcap maybe-install-libtermcap
21704 maybe-install-libtermcap:
21705 @if libtermcap
21706 maybe-install-libtermcap: install-libtermcap
21707
21708 install-libtermcap: installdirs
21709         @r=`${PWD_COMMAND}`; export r; \
21710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21711         $(SET_LIB_PATH) \
21712         $(HOST_EXPORTS) \
21713         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21714
21715 @endif libtermcap
21716
21717 # Other targets (info, dvi, etc.)
21718
21719 .PHONY: maybe-info-libtermcap info-libtermcap
21720 maybe-info-libtermcap:
21721 @if libtermcap
21722 maybe-info-libtermcap: info-libtermcap
21723
21724 info-libtermcap: \
21725     configure-libtermcap 
21726         @[ -f ./libtermcap/Makefile ] || exit 0; \
21727         r=`${PWD_COMMAND}`; export r; \
21728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21729         $(SET_LIB_PATH) \
21730         $(HOST_EXPORTS) \
21731         for flag in $(EXTRA_HOST_FLAGS) ; do \
21732           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21733         done; \
21734         echo "Doing info in libtermcap" ; \
21735         (cd libtermcap && \
21736           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21737                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21738                   "RANLIB=$${RANLIB}" \
21739                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21740                   info) \
21741           || exit 1
21742
21743 @endif libtermcap
21744
21745 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21746 maybe-dvi-libtermcap:
21747 @if libtermcap
21748 maybe-dvi-libtermcap: dvi-libtermcap
21749
21750 dvi-libtermcap: \
21751     configure-libtermcap 
21752         @[ -f ./libtermcap/Makefile ] || exit 0; \
21753         r=`${PWD_COMMAND}`; export r; \
21754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21755         $(SET_LIB_PATH) \
21756         $(HOST_EXPORTS) \
21757         for flag in $(EXTRA_HOST_FLAGS) ; do \
21758           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21759         done; \
21760         echo "Doing dvi in libtermcap" ; \
21761         (cd libtermcap && \
21762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21764                   "RANLIB=$${RANLIB}" \
21765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21766                   dvi) \
21767           || exit 1
21768
21769 @endif libtermcap
21770
21771 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21772 maybe-TAGS-libtermcap:
21773 @if libtermcap
21774 maybe-TAGS-libtermcap: TAGS-libtermcap
21775
21776 TAGS-libtermcap: \
21777     configure-libtermcap 
21778         @[ -f ./libtermcap/Makefile ] || exit 0; \
21779         r=`${PWD_COMMAND}`; export r; \
21780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21781         $(SET_LIB_PATH) \
21782         $(HOST_EXPORTS) \
21783         for flag in $(EXTRA_HOST_FLAGS) ; do \
21784           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21785         done; \
21786         echo "Doing TAGS in libtermcap" ; \
21787         (cd libtermcap && \
21788           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21789                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21790                   "RANLIB=$${RANLIB}" \
21791                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21792                   TAGS) \
21793           || exit 1
21794
21795 @endif libtermcap
21796
21797 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21798 maybe-install-info-libtermcap:
21799 @if libtermcap
21800 maybe-install-info-libtermcap: install-info-libtermcap
21801
21802 install-info-libtermcap: \
21803     configure-libtermcap \
21804     info-libtermcap 
21805         @[ -f ./libtermcap/Makefile ] || exit 0; \
21806         r=`${PWD_COMMAND}`; export r; \
21807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21808         $(SET_LIB_PATH) \
21809         $(HOST_EXPORTS) \
21810         for flag in $(EXTRA_HOST_FLAGS) ; do \
21811           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21812         done; \
21813         echo "Doing install-info in libtermcap" ; \
21814         (cd libtermcap && \
21815           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21816                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21817                   "RANLIB=$${RANLIB}" \
21818                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21819                   install-info) \
21820           || exit 1
21821
21822 @endif libtermcap
21823
21824 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21825 maybe-installcheck-libtermcap:
21826 @if libtermcap
21827 maybe-installcheck-libtermcap: installcheck-libtermcap
21828
21829 installcheck-libtermcap: \
21830     configure-libtermcap 
21831         @[ -f ./libtermcap/Makefile ] || exit 0; \
21832         r=`${PWD_COMMAND}`; export r; \
21833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21834         $(SET_LIB_PATH) \
21835         $(HOST_EXPORTS) \
21836         for flag in $(EXTRA_HOST_FLAGS) ; do \
21837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21838         done; \
21839         echo "Doing installcheck in libtermcap" ; \
21840         (cd libtermcap && \
21841           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21842                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21843                   "RANLIB=$${RANLIB}" \
21844                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21845                   installcheck) \
21846           || exit 1
21847
21848 @endif libtermcap
21849
21850 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21851 maybe-mostlyclean-libtermcap:
21852 @if libtermcap
21853 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21854
21855 # libtermcap doesn't support mostlyclean.
21856 mostlyclean-libtermcap:
21857
21858 @endif libtermcap
21859
21860 .PHONY: maybe-clean-libtermcap clean-libtermcap
21861 maybe-clean-libtermcap:
21862 @if libtermcap
21863 maybe-clean-libtermcap: clean-libtermcap
21864
21865 # libtermcap doesn't support clean.
21866 clean-libtermcap:
21867
21868 @endif libtermcap
21869
21870 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21871 maybe-distclean-libtermcap:
21872 @if libtermcap
21873 maybe-distclean-libtermcap: distclean-libtermcap
21874
21875 # libtermcap doesn't support distclean.
21876 distclean-libtermcap:
21877
21878 @endif libtermcap
21879
21880 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21881 maybe-maintainer-clean-libtermcap:
21882 @if libtermcap
21883 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21884
21885 # libtermcap doesn't support maintainer-clean.
21886 maintainer-clean-libtermcap:
21887
21888 @endif libtermcap
21889
21890
21891 .PHONY: configure-utils maybe-configure-utils
21892 maybe-configure-utils:
21893 @if utils
21894 maybe-configure-utils: configure-utils
21895 configure-utils:
21896         @test ! -f utils/Makefile || exit 0; \
21897         [ -d utils ] || mkdir utils; \
21898         r=`${PWD_COMMAND}`; export r; \
21899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900         $(HOST_EXPORTS) \
21901         echo Configuring in utils; \
21902         cd utils || exit 1; \
21903         case $(srcdir) in \
21904           \.) \
21905             srcdiroption="--srcdir=."; \
21906             libsrcdir=".";; \
21907           /* | [A-Za-z]:[\\/]*) \
21908             srcdiroption="--srcdir=$(srcdir)/utils"; \
21909             libsrcdir="$$s/utils";; \
21910           *) \
21911             srcdiroption="--srcdir=../$(srcdir)/utils"; \
21912             libsrcdir="$$s/utils";; \
21913         esac; \
21914         $(SHELL) $${libsrcdir}/configure \
21915           $(HOST_CONFIGARGS) $${srcdiroption}  \
21916           || exit 1
21917 @endif utils
21918
21919 .PHONY: all-utils maybe-all-utils
21920 maybe-all-utils:
21921 @if utils
21922 TARGET-utils=all
21923 maybe-all-utils: all-utils
21924 all-utils: configure-utils
21925         @r=`${PWD_COMMAND}`; export r; \
21926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21927         $(SET_LIB_PATH) \
21928         $(HOST_EXPORTS) \
21929         (cd utils && $(MAKE) $(FLAGS_TO_PASS)  \
21930           $(TARGET-utils))
21931 @endif utils
21932
21933 .PHONY: check-utils maybe-check-utils
21934 maybe-check-utils:
21935 @if utils
21936 maybe-check-utils: check-utils
21937
21938 check-utils:
21939
21940 @endif utils
21941
21942 .PHONY: install-utils maybe-install-utils
21943 maybe-install-utils:
21944 @if utils
21945 maybe-install-utils: install-utils
21946
21947 install-utils: installdirs
21948         @r=`${PWD_COMMAND}`; export r; \
21949         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21950         $(SET_LIB_PATH) \
21951         $(HOST_EXPORTS) \
21952         (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21953
21954 @endif utils
21955
21956 # Other targets (info, dvi, etc.)
21957
21958 .PHONY: maybe-info-utils info-utils
21959 maybe-info-utils:
21960 @if utils
21961 maybe-info-utils: info-utils
21962
21963 info-utils: \
21964     configure-utils 
21965         @[ -f ./utils/Makefile ] || exit 0; \
21966         r=`${PWD_COMMAND}`; export r; \
21967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21968         $(SET_LIB_PATH) \
21969         $(HOST_EXPORTS) \
21970         for flag in $(EXTRA_HOST_FLAGS) ; do \
21971           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21972         done; \
21973         echo "Doing info in utils" ; \
21974         (cd utils && \
21975           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21976                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21977                   "RANLIB=$${RANLIB}" \
21978                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21979                   info) \
21980           || exit 1
21981
21982 @endif utils
21983
21984 .PHONY: maybe-dvi-utils dvi-utils
21985 maybe-dvi-utils:
21986 @if utils
21987 maybe-dvi-utils: dvi-utils
21988
21989 dvi-utils: \
21990     configure-utils 
21991         @[ -f ./utils/Makefile ] || exit 0; \
21992         r=`${PWD_COMMAND}`; export r; \
21993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21994         $(SET_LIB_PATH) \
21995         $(HOST_EXPORTS) \
21996         for flag in $(EXTRA_HOST_FLAGS) ; do \
21997           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21998         done; \
21999         echo "Doing dvi in utils" ; \
22000         (cd utils && \
22001           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22002                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22003                   "RANLIB=$${RANLIB}" \
22004                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22005                   dvi) \
22006           || exit 1
22007
22008 @endif utils
22009
22010 .PHONY: maybe-TAGS-utils TAGS-utils
22011 maybe-TAGS-utils:
22012 @if utils
22013 maybe-TAGS-utils: TAGS-utils
22014
22015 TAGS-utils: \
22016     configure-utils 
22017         @[ -f ./utils/Makefile ] || exit 0; \
22018         r=`${PWD_COMMAND}`; export r; \
22019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22020         $(SET_LIB_PATH) \
22021         $(HOST_EXPORTS) \
22022         for flag in $(EXTRA_HOST_FLAGS) ; do \
22023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22024         done; \
22025         echo "Doing TAGS in utils" ; \
22026         (cd utils && \
22027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22029                   "RANLIB=$${RANLIB}" \
22030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22031                   TAGS) \
22032           || exit 1
22033
22034 @endif utils
22035
22036 .PHONY: maybe-install-info-utils install-info-utils
22037 maybe-install-info-utils:
22038 @if utils
22039 maybe-install-info-utils: install-info-utils
22040
22041 install-info-utils: \
22042     configure-utils \
22043     info-utils 
22044         @[ -f ./utils/Makefile ] || exit 0; \
22045         r=`${PWD_COMMAND}`; export r; \
22046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22047         $(SET_LIB_PATH) \
22048         $(HOST_EXPORTS) \
22049         for flag in $(EXTRA_HOST_FLAGS) ; do \
22050           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22051         done; \
22052         echo "Doing install-info in utils" ; \
22053         (cd utils && \
22054           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22055                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22056                   "RANLIB=$${RANLIB}" \
22057                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22058                   install-info) \
22059           || exit 1
22060
22061 @endif utils
22062
22063 .PHONY: maybe-installcheck-utils installcheck-utils
22064 maybe-installcheck-utils:
22065 @if utils
22066 maybe-installcheck-utils: installcheck-utils
22067
22068 installcheck-utils: \
22069     configure-utils 
22070         @[ -f ./utils/Makefile ] || exit 0; \
22071         r=`${PWD_COMMAND}`; export r; \
22072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22073         $(SET_LIB_PATH) \
22074         $(HOST_EXPORTS) \
22075         for flag in $(EXTRA_HOST_FLAGS) ; do \
22076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22077         done; \
22078         echo "Doing installcheck in utils" ; \
22079         (cd utils && \
22080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22082                   "RANLIB=$${RANLIB}" \
22083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22084                   installcheck) \
22085           || exit 1
22086
22087 @endif utils
22088
22089 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22090 maybe-mostlyclean-utils:
22091 @if utils
22092 maybe-mostlyclean-utils: mostlyclean-utils
22093
22094 mostlyclean-utils: 
22095         @[ -f ./utils/Makefile ] || exit 0; \
22096         r=`${PWD_COMMAND}`; export r; \
22097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22098         $(SET_LIB_PATH) \
22099         $(HOST_EXPORTS) \
22100         for flag in $(EXTRA_HOST_FLAGS) ; do \
22101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22102         done; \
22103         echo "Doing mostlyclean in utils" ; \
22104         (cd utils && \
22105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22107                   "RANLIB=$${RANLIB}" \
22108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22109                   mostlyclean) \
22110           || exit 1
22111
22112 @endif utils
22113
22114 .PHONY: maybe-clean-utils clean-utils
22115 maybe-clean-utils:
22116 @if utils
22117 maybe-clean-utils: clean-utils
22118
22119 clean-utils: 
22120         @[ -f ./utils/Makefile ] || exit 0; \
22121         r=`${PWD_COMMAND}`; export r; \
22122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22123         $(SET_LIB_PATH) \
22124         $(HOST_EXPORTS) \
22125         for flag in $(EXTRA_HOST_FLAGS) ; do \
22126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22127         done; \
22128         echo "Doing clean in utils" ; \
22129         (cd utils && \
22130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22132                   "RANLIB=$${RANLIB}" \
22133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22134                   clean) \
22135           || exit 1
22136
22137 @endif utils
22138
22139 .PHONY: maybe-distclean-utils distclean-utils
22140 maybe-distclean-utils:
22141 @if utils
22142 maybe-distclean-utils: distclean-utils
22143
22144 distclean-utils: 
22145         @[ -f ./utils/Makefile ] || exit 0; \
22146         r=`${PWD_COMMAND}`; export r; \
22147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22148         $(SET_LIB_PATH) \
22149         $(HOST_EXPORTS) \
22150         for flag in $(EXTRA_HOST_FLAGS) ; do \
22151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22152         done; \
22153         echo "Doing distclean in utils" ; \
22154         (cd utils && \
22155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22157                   "RANLIB=$${RANLIB}" \
22158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22159                   distclean) \
22160           || exit 1
22161
22162 @endif utils
22163
22164 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22165 maybe-maintainer-clean-utils:
22166 @if utils
22167 maybe-maintainer-clean-utils: maintainer-clean-utils
22168
22169 maintainer-clean-utils: 
22170         @[ -f ./utils/Makefile ] || exit 0; \
22171         r=`${PWD_COMMAND}`; export r; \
22172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22173         $(SET_LIB_PATH) \
22174         $(HOST_EXPORTS) \
22175         for flag in $(EXTRA_HOST_FLAGS) ; do \
22176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22177         done; \
22178         echo "Doing maintainer-clean in utils" ; \
22179         (cd utils && \
22180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22182                   "RANLIB=$${RANLIB}" \
22183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22184                   maintainer-clean) \
22185           || exit 1
22186
22187 @endif utils
22188
22189
22190
22191 # ---------------------------------------
22192 # Modules which run on the target machine
22193 # ---------------------------------------
22194
22195 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22196 maybe-configure-target-libstdc++-v3:
22197 @if target-libstdc++-v3
22198 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22199
22200 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22201 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22202         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22203         rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22204         cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22205
22206 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22207         @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22208         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22209         r=`${PWD_COMMAND}`; export r; \
22210         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22211         $(SET_LIB_PATH) \
22212         $(RAW_CXX_TARGET_EXPORTS) \
22213         echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22214         cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22215         case $(srcdir) in \
22216           /* | [A-Za-z]:[\\/]*) \
22217             topdir=$(srcdir) ;; \
22218           *) \
22219             case "$(TARGET_SUBDIR)" in \
22220               .) topdir="../$(srcdir)" ;; \
22221               *) topdir="../../$(srcdir)" ;; \
22222             esac ;; \
22223         esac; \
22224           srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22225           libsrcdir="$$s/libstdc++-v3"; \
22226         rm -f no-such-file || : ; \
22227         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22228           $(TARGET_CONFIGARGS) $${srcdiroption} \
22229           --with-target-subdir="$(TARGET_SUBDIR)"  \
22230           || exit 1
22231 @endif target-libstdc++-v3
22232
22233 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22234 maybe-all-target-libstdc++-v3:
22235 @if target-libstdc++-v3
22236 TARGET-target-libstdc++-v3=all
22237 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22238 all-target-libstdc++-v3: configure-target-libstdc++-v3
22239         @r=`${PWD_COMMAND}`; export r; \
22240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22241         $(SET_LIB_PATH) \
22242         $(RAW_CXX_TARGET_EXPORTS) \
22243         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22244           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   $(TARGET-target-libstdc++-v3))
22245 @endif target-libstdc++-v3
22246
22247 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22248 maybe-check-target-libstdc++-v3:
22249 @if target-libstdc++-v3
22250 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22251
22252 check-target-libstdc++-v3:
22253         @r=`${PWD_COMMAND}`; export r; \
22254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22255         $(SET_LIB_PATH) \
22256         $(RAW_CXX_TARGET_EXPORTS) \
22257         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22258           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
22259
22260 @endif target-libstdc++-v3
22261
22262 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22263 maybe-install-target-libstdc++-v3:
22264 @if target-libstdc++-v3
22265 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22266
22267 install-target-libstdc++-v3: installdirs
22268         @r=`${PWD_COMMAND}`; export r; \
22269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22270         $(SET_LIB_PATH) \
22271         $(RAW_CXX_TARGET_EXPORTS) \
22272         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22273           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
22274
22275 @endif target-libstdc++-v3
22276
22277 # Other targets (info, dvi, etc.)
22278
22279 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22280 maybe-info-target-libstdc++-v3:
22281 @if target-libstdc++-v3
22282 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22283
22284 info-target-libstdc++-v3: \
22285     configure-target-libstdc++-v3 
22286         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22287         r=`${PWD_COMMAND}`; export r; \
22288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289         $(SET_LIB_PATH) \
22290         $(RAW_CXX_TARGET_EXPORTS) \
22291         echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22292         for flag in $(EXTRA_TARGET_FLAGS); do \
22293           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22294         done; \
22295         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22296           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22297                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22298                   "RANLIB=$${RANLIB}" \
22299                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22300                    info) \
22301           || exit 1
22302
22303 @endif target-libstdc++-v3
22304
22305 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22306 maybe-dvi-target-libstdc++-v3:
22307 @if target-libstdc++-v3
22308 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22309
22310 dvi-target-libstdc++-v3: \
22311     configure-target-libstdc++-v3 
22312         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22313         r=`${PWD_COMMAND}`; export r; \
22314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22315         $(SET_LIB_PATH) \
22316         $(RAW_CXX_TARGET_EXPORTS) \
22317         echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22318         for flag in $(EXTRA_TARGET_FLAGS); do \
22319           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22320         done; \
22321         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22322           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324                   "RANLIB=$${RANLIB}" \
22325                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22326                    dvi) \
22327           || exit 1
22328
22329 @endif target-libstdc++-v3
22330
22331 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22332 maybe-TAGS-target-libstdc++-v3:
22333 @if target-libstdc++-v3
22334 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22335
22336 TAGS-target-libstdc++-v3: \
22337     configure-target-libstdc++-v3 
22338         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22339         r=`${PWD_COMMAND}`; export r; \
22340         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341         $(SET_LIB_PATH) \
22342         $(RAW_CXX_TARGET_EXPORTS) \
22343         echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22344         for flag in $(EXTRA_TARGET_FLAGS); do \
22345           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22346         done; \
22347         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22348           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22349                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22350                   "RANLIB=$${RANLIB}" \
22351                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22352                    TAGS) \
22353           || exit 1
22354
22355 @endif target-libstdc++-v3
22356
22357 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22358 maybe-install-info-target-libstdc++-v3:
22359 @if target-libstdc++-v3
22360 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22361
22362 install-info-target-libstdc++-v3: \
22363     configure-target-libstdc++-v3 \
22364     info-target-libstdc++-v3 
22365         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22366         r=`${PWD_COMMAND}`; export r; \
22367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22368         $(SET_LIB_PATH) \
22369         $(RAW_CXX_TARGET_EXPORTS) \
22370         echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22371         for flag in $(EXTRA_TARGET_FLAGS); do \
22372           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22373         done; \
22374         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22375           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22376                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22377                   "RANLIB=$${RANLIB}" \
22378                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22379                    install-info) \
22380           || exit 1
22381
22382 @endif target-libstdc++-v3
22383
22384 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22385 maybe-installcheck-target-libstdc++-v3:
22386 @if target-libstdc++-v3
22387 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22388
22389 installcheck-target-libstdc++-v3: \
22390     configure-target-libstdc++-v3 
22391         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22392         r=`${PWD_COMMAND}`; export r; \
22393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394         $(SET_LIB_PATH) \
22395         $(RAW_CXX_TARGET_EXPORTS) \
22396         echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22397         for flag in $(EXTRA_TARGET_FLAGS); do \
22398           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22399         done; \
22400         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22401           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22402                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22403                   "RANLIB=$${RANLIB}" \
22404                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22405                    installcheck) \
22406           || exit 1
22407
22408 @endif target-libstdc++-v3
22409
22410 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22411 maybe-mostlyclean-target-libstdc++-v3:
22412 @if target-libstdc++-v3
22413 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22414
22415 mostlyclean-target-libstdc++-v3: 
22416         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22417         r=`${PWD_COMMAND}`; export r; \
22418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22419         $(SET_LIB_PATH) \
22420         $(RAW_CXX_TARGET_EXPORTS) \
22421         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22422         for flag in $(EXTRA_TARGET_FLAGS); do \
22423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22424         done; \
22425         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22426           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22427                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22428                   "RANLIB=$${RANLIB}" \
22429                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22430                    mostlyclean) \
22431           || exit 1
22432
22433 @endif target-libstdc++-v3
22434
22435 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22436 maybe-clean-target-libstdc++-v3:
22437 @if target-libstdc++-v3
22438 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22439
22440 clean-target-libstdc++-v3: 
22441         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22442         r=`${PWD_COMMAND}`; export r; \
22443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444         $(SET_LIB_PATH) \
22445         $(RAW_CXX_TARGET_EXPORTS) \
22446         echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22447         for flag in $(EXTRA_TARGET_FLAGS); do \
22448           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22449         done; \
22450         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22451           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22452                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22453                   "RANLIB=$${RANLIB}" \
22454                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22455                    clean) \
22456           || exit 1
22457
22458 @endif target-libstdc++-v3
22459
22460 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22461 maybe-distclean-target-libstdc++-v3:
22462 @if target-libstdc++-v3
22463 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22464
22465 distclean-target-libstdc++-v3: 
22466         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22467         r=`${PWD_COMMAND}`; export r; \
22468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469         $(SET_LIB_PATH) \
22470         $(RAW_CXX_TARGET_EXPORTS) \
22471         echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22472         for flag in $(EXTRA_TARGET_FLAGS); do \
22473           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22474         done; \
22475         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22476           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478                   "RANLIB=$${RANLIB}" \
22479                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22480                    distclean) \
22481           || exit 1
22482
22483 @endif target-libstdc++-v3
22484
22485 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22486 maybe-maintainer-clean-target-libstdc++-v3:
22487 @if target-libstdc++-v3
22488 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22489
22490 maintainer-clean-target-libstdc++-v3: 
22491         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22492         r=`${PWD_COMMAND}`; export r; \
22493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494         $(SET_LIB_PATH) \
22495         $(RAW_CXX_TARGET_EXPORTS) \
22496         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22497         for flag in $(EXTRA_TARGET_FLAGS); do \
22498           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22499         done; \
22500         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22501           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22502                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22503                   "RANLIB=$${RANLIB}" \
22504                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22505                    maintainer-clean) \
22506           || exit 1
22507
22508 @endif target-libstdc++-v3
22509
22510
22511 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22512 maybe-configure-target-libmudflap:
22513 @if target-libmudflap
22514 maybe-configure-target-libmudflap: configure-target-libmudflap
22515
22516 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22517 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22518         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22519         rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22520         cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22521
22522 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22523         @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22524         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22525         r=`${PWD_COMMAND}`; export r; \
22526         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22527         $(SET_LIB_PATH) \
22528         $(NORMAL_TARGET_EXPORTS) \
22529         echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22530         cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22531         case $(srcdir) in \
22532           /* | [A-Za-z]:[\\/]*) \
22533             topdir=$(srcdir) ;; \
22534           *) \
22535             case "$(TARGET_SUBDIR)" in \
22536               .) topdir="../$(srcdir)" ;; \
22537               *) topdir="../../$(srcdir)" ;; \
22538             esac ;; \
22539         esac; \
22540           srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22541           libsrcdir="$$s/libmudflap"; \
22542         rm -f no-such-file || : ; \
22543         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22544           $(TARGET_CONFIGARGS) $${srcdiroption} \
22545           --with-target-subdir="$(TARGET_SUBDIR)"  \
22546           || exit 1
22547 @endif target-libmudflap
22548
22549 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22550 maybe-all-target-libmudflap:
22551 @if target-libmudflap
22552 TARGET-target-libmudflap=all
22553 maybe-all-target-libmudflap: all-target-libmudflap
22554 all-target-libmudflap: configure-target-libmudflap
22555         @r=`${PWD_COMMAND}`; export r; \
22556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22557         $(SET_LIB_PATH) \
22558         $(NORMAL_TARGET_EXPORTS) \
22559         (cd $(TARGET_SUBDIR)/libmudflap && \
22560           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libmudflap))
22561 @endif target-libmudflap
22562
22563 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22564 maybe-check-target-libmudflap:
22565 @if target-libmudflap
22566 maybe-check-target-libmudflap: check-target-libmudflap
22567
22568 check-target-libmudflap:
22569         @r=`${PWD_COMMAND}`; export r; \
22570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22571         $(SET_LIB_PATH) \
22572         $(NORMAL_TARGET_EXPORTS) \
22573         (cd $(TARGET_SUBDIR)/libmudflap && \
22574           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
22575
22576 @endif target-libmudflap
22577
22578 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22579 maybe-install-target-libmudflap:
22580 @if target-libmudflap
22581 maybe-install-target-libmudflap: install-target-libmudflap
22582
22583 install-target-libmudflap: installdirs
22584         @r=`${PWD_COMMAND}`; export r; \
22585         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586         $(SET_LIB_PATH) \
22587         $(NORMAL_TARGET_EXPORTS) \
22588         (cd $(TARGET_SUBDIR)/libmudflap && \
22589           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
22590
22591 @endif target-libmudflap
22592
22593 # Other targets (info, dvi, etc.)
22594
22595 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22596 maybe-info-target-libmudflap:
22597 @if target-libmudflap
22598 maybe-info-target-libmudflap: info-target-libmudflap
22599
22600 info-target-libmudflap: \
22601     configure-target-libmudflap 
22602         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22603         r=`${PWD_COMMAND}`; export r; \
22604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22605         $(SET_LIB_PATH) \
22606         $(NORMAL_TARGET_EXPORTS) \
22607         echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22608         for flag in $(EXTRA_TARGET_FLAGS); do \
22609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22610         done; \
22611         (cd $(TARGET_SUBDIR)/libmudflap && \
22612           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22613                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22614                   "RANLIB=$${RANLIB}" \
22615                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22616                    info) \
22617           || exit 1
22618
22619 @endif target-libmudflap
22620
22621 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22622 maybe-dvi-target-libmudflap:
22623 @if target-libmudflap
22624 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22625
22626 dvi-target-libmudflap: \
22627     configure-target-libmudflap 
22628         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22629         r=`${PWD_COMMAND}`; export r; \
22630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22631         $(SET_LIB_PATH) \
22632         $(NORMAL_TARGET_EXPORTS) \
22633         echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22634         for flag in $(EXTRA_TARGET_FLAGS); do \
22635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22636         done; \
22637         (cd $(TARGET_SUBDIR)/libmudflap && \
22638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22640                   "RANLIB=$${RANLIB}" \
22641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22642                    dvi) \
22643           || exit 1
22644
22645 @endif target-libmudflap
22646
22647 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22648 maybe-TAGS-target-libmudflap:
22649 @if target-libmudflap
22650 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22651
22652 TAGS-target-libmudflap: \
22653     configure-target-libmudflap 
22654         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22655         r=`${PWD_COMMAND}`; export r; \
22656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22657         $(SET_LIB_PATH) \
22658         $(NORMAL_TARGET_EXPORTS) \
22659         echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22660         for flag in $(EXTRA_TARGET_FLAGS); do \
22661           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22662         done; \
22663         (cd $(TARGET_SUBDIR)/libmudflap && \
22664           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22665                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22666                   "RANLIB=$${RANLIB}" \
22667                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22668                    TAGS) \
22669           || exit 1
22670
22671 @endif target-libmudflap
22672
22673 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22674 maybe-install-info-target-libmudflap:
22675 @if target-libmudflap
22676 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22677
22678 install-info-target-libmudflap: \
22679     configure-target-libmudflap \
22680     info-target-libmudflap 
22681         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22682         r=`${PWD_COMMAND}`; export r; \
22683         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22684         $(SET_LIB_PATH) \
22685         $(NORMAL_TARGET_EXPORTS) \
22686         echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22687         for flag in $(EXTRA_TARGET_FLAGS); do \
22688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22689         done; \
22690         (cd $(TARGET_SUBDIR)/libmudflap && \
22691           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22692                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22693                   "RANLIB=$${RANLIB}" \
22694                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22695                    install-info) \
22696           || exit 1
22697
22698 @endif target-libmudflap
22699
22700 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22701 maybe-installcheck-target-libmudflap:
22702 @if target-libmudflap
22703 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22704
22705 installcheck-target-libmudflap: \
22706     configure-target-libmudflap 
22707         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22708         r=`${PWD_COMMAND}`; export r; \
22709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22710         $(SET_LIB_PATH) \
22711         $(NORMAL_TARGET_EXPORTS) \
22712         echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22713         for flag in $(EXTRA_TARGET_FLAGS); do \
22714           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22715         done; \
22716         (cd $(TARGET_SUBDIR)/libmudflap && \
22717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22719                   "RANLIB=$${RANLIB}" \
22720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22721                    installcheck) \
22722           || exit 1
22723
22724 @endif target-libmudflap
22725
22726 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22727 maybe-mostlyclean-target-libmudflap:
22728 @if target-libmudflap
22729 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22730
22731 mostlyclean-target-libmudflap: 
22732         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22733         r=`${PWD_COMMAND}`; export r; \
22734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22735         $(SET_LIB_PATH) \
22736         $(NORMAL_TARGET_EXPORTS) \
22737         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22738         for flag in $(EXTRA_TARGET_FLAGS); do \
22739           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22740         done; \
22741         (cd $(TARGET_SUBDIR)/libmudflap && \
22742           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22743                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22744                   "RANLIB=$${RANLIB}" \
22745                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22746                    mostlyclean) \
22747           || exit 1
22748
22749 @endif target-libmudflap
22750
22751 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22752 maybe-clean-target-libmudflap:
22753 @if target-libmudflap
22754 maybe-clean-target-libmudflap: clean-target-libmudflap
22755
22756 clean-target-libmudflap: 
22757         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22758         r=`${PWD_COMMAND}`; export r; \
22759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22760         $(SET_LIB_PATH) \
22761         $(NORMAL_TARGET_EXPORTS) \
22762         echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22763         for flag in $(EXTRA_TARGET_FLAGS); do \
22764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22765         done; \
22766         (cd $(TARGET_SUBDIR)/libmudflap && \
22767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22769                   "RANLIB=$${RANLIB}" \
22770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22771                    clean) \
22772           || exit 1
22773
22774 @endif target-libmudflap
22775
22776 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22777 maybe-distclean-target-libmudflap:
22778 @if target-libmudflap
22779 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22780
22781 distclean-target-libmudflap: 
22782         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22783         r=`${PWD_COMMAND}`; export r; \
22784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785         $(SET_LIB_PATH) \
22786         $(NORMAL_TARGET_EXPORTS) \
22787         echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22788         for flag in $(EXTRA_TARGET_FLAGS); do \
22789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22790         done; \
22791         (cd $(TARGET_SUBDIR)/libmudflap && \
22792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22794                   "RANLIB=$${RANLIB}" \
22795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22796                    distclean) \
22797           || exit 1
22798
22799 @endif target-libmudflap
22800
22801 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22802 maybe-maintainer-clean-target-libmudflap:
22803 @if target-libmudflap
22804 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22805
22806 maintainer-clean-target-libmudflap: 
22807         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22808         r=`${PWD_COMMAND}`; export r; \
22809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22810         $(SET_LIB_PATH) \
22811         $(NORMAL_TARGET_EXPORTS) \
22812         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22813         for flag in $(EXTRA_TARGET_FLAGS); do \
22814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22815         done; \
22816         (cd $(TARGET_SUBDIR)/libmudflap && \
22817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22819                   "RANLIB=$${RANLIB}" \
22820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22821                    maintainer-clean) \
22822           || exit 1
22823
22824 @endif target-libmudflap
22825
22826
22827 .PHONY: configure-target-newlib maybe-configure-target-newlib
22828 maybe-configure-target-newlib:
22829 @if target-newlib
22830 maybe-configure-target-newlib: configure-target-newlib
22831
22832 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22833 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22834         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22835         rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22836         cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22837
22838 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22839         @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22840         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22841         r=`${PWD_COMMAND}`; export r; \
22842         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22843         $(SET_LIB_PATH) \
22844         $(NORMAL_TARGET_EXPORTS) \
22845         echo Configuring in $(TARGET_SUBDIR)/newlib; \
22846         cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22847         case $(srcdir) in \
22848           /* | [A-Za-z]:[\\/]*) \
22849             topdir=$(srcdir) ;; \
22850           *) \
22851             case "$(TARGET_SUBDIR)" in \
22852               .) topdir="../$(srcdir)" ;; \
22853               *) topdir="../../$(srcdir)" ;; \
22854             esac ;; \
22855         esac; \
22856           srcdiroption="--srcdir=$${topdir}/newlib"; \
22857           libsrcdir="$$s/newlib"; \
22858         rm -f no-such-file || : ; \
22859         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22860           $(TARGET_CONFIGARGS) $${srcdiroption} \
22861           --with-target-subdir="$(TARGET_SUBDIR)"  \
22862           || exit 1
22863 @endif target-newlib
22864
22865 .PHONY: all-target-newlib maybe-all-target-newlib
22866 maybe-all-target-newlib:
22867 @if target-newlib
22868 TARGET-target-newlib=all
22869 maybe-all-target-newlib: all-target-newlib
22870 all-target-newlib: configure-target-newlib
22871         @r=`${PWD_COMMAND}`; export r; \
22872         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873         $(SET_LIB_PATH) \
22874         $(NORMAL_TARGET_EXPORTS) \
22875         (cd $(TARGET_SUBDIR)/newlib && \
22876           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-newlib))
22877 @endif target-newlib
22878
22879 .PHONY: check-target-newlib maybe-check-target-newlib
22880 maybe-check-target-newlib:
22881 @if target-newlib
22882 maybe-check-target-newlib: check-target-newlib
22883
22884 check-target-newlib:
22885         @r=`${PWD_COMMAND}`; export r; \
22886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22887         $(SET_LIB_PATH) \
22888         $(NORMAL_TARGET_EXPORTS) \
22889         (cd $(TARGET_SUBDIR)/newlib && \
22890           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
22891
22892 @endif target-newlib
22893
22894 .PHONY: install-target-newlib maybe-install-target-newlib
22895 maybe-install-target-newlib:
22896 @if target-newlib
22897 maybe-install-target-newlib: install-target-newlib
22898
22899 install-target-newlib: installdirs
22900         @r=`${PWD_COMMAND}`; export r; \
22901         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22902         $(SET_LIB_PATH) \
22903         $(NORMAL_TARGET_EXPORTS) \
22904         (cd $(TARGET_SUBDIR)/newlib && \
22905           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
22906
22907 @endif target-newlib
22908
22909 # Other targets (info, dvi, etc.)
22910
22911 .PHONY: maybe-info-target-newlib info-target-newlib
22912 maybe-info-target-newlib:
22913 @if target-newlib
22914 maybe-info-target-newlib: info-target-newlib
22915
22916 info-target-newlib: \
22917     configure-target-newlib 
22918         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22919         r=`${PWD_COMMAND}`; export r; \
22920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22921         $(SET_LIB_PATH) \
22922         $(NORMAL_TARGET_EXPORTS) \
22923         echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22924         for flag in $(EXTRA_TARGET_FLAGS); do \
22925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22926         done; \
22927         (cd $(TARGET_SUBDIR)/newlib && \
22928           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930                   "RANLIB=$${RANLIB}" \
22931                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22932                    info) \
22933           || exit 1
22934
22935 @endif target-newlib
22936
22937 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22938 maybe-dvi-target-newlib:
22939 @if target-newlib
22940 maybe-dvi-target-newlib: dvi-target-newlib
22941
22942 dvi-target-newlib: \
22943     configure-target-newlib 
22944         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22945         r=`${PWD_COMMAND}`; export r; \
22946         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22947         $(SET_LIB_PATH) \
22948         $(NORMAL_TARGET_EXPORTS) \
22949         echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22950         for flag in $(EXTRA_TARGET_FLAGS); do \
22951           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952         done; \
22953         (cd $(TARGET_SUBDIR)/newlib && \
22954           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22955                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22956                   "RANLIB=$${RANLIB}" \
22957                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22958                    dvi) \
22959           || exit 1
22960
22961 @endif target-newlib
22962
22963 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22964 maybe-TAGS-target-newlib:
22965 @if target-newlib
22966 maybe-TAGS-target-newlib: TAGS-target-newlib
22967
22968 TAGS-target-newlib: \
22969     configure-target-newlib 
22970         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22971         r=`${PWD_COMMAND}`; export r; \
22972         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22973         $(SET_LIB_PATH) \
22974         $(NORMAL_TARGET_EXPORTS) \
22975         echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22976         for flag in $(EXTRA_TARGET_FLAGS); do \
22977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22978         done; \
22979         (cd $(TARGET_SUBDIR)/newlib && \
22980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22982                   "RANLIB=$${RANLIB}" \
22983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22984                    TAGS) \
22985           || exit 1
22986
22987 @endif target-newlib
22988
22989 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22990 maybe-install-info-target-newlib:
22991 @if target-newlib
22992 maybe-install-info-target-newlib: install-info-target-newlib
22993
22994 install-info-target-newlib: \
22995     configure-target-newlib \
22996     info-target-newlib 
22997         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22998         r=`${PWD_COMMAND}`; export r; \
22999         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23000         $(SET_LIB_PATH) \
23001         $(NORMAL_TARGET_EXPORTS) \
23002         echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23003         for flag in $(EXTRA_TARGET_FLAGS); do \
23004           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23005         done; \
23006         (cd $(TARGET_SUBDIR)/newlib && \
23007           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23008                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23009                   "RANLIB=$${RANLIB}" \
23010                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23011                    install-info) \
23012           || exit 1
23013
23014 @endif target-newlib
23015
23016 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23017 maybe-installcheck-target-newlib:
23018 @if target-newlib
23019 maybe-installcheck-target-newlib: installcheck-target-newlib
23020
23021 installcheck-target-newlib: \
23022     configure-target-newlib 
23023         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23024         r=`${PWD_COMMAND}`; export r; \
23025         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23026         $(SET_LIB_PATH) \
23027         $(NORMAL_TARGET_EXPORTS) \
23028         echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23029         for flag in $(EXTRA_TARGET_FLAGS); do \
23030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23031         done; \
23032         (cd $(TARGET_SUBDIR)/newlib && \
23033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23035                   "RANLIB=$${RANLIB}" \
23036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23037                    installcheck) \
23038           || exit 1
23039
23040 @endif target-newlib
23041
23042 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23043 maybe-mostlyclean-target-newlib:
23044 @if target-newlib
23045 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23046
23047 mostlyclean-target-newlib: 
23048         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23049         r=`${PWD_COMMAND}`; export r; \
23050         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051         $(SET_LIB_PATH) \
23052         $(NORMAL_TARGET_EXPORTS) \
23053         echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23054         for flag in $(EXTRA_TARGET_FLAGS); do \
23055           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23056         done; \
23057         (cd $(TARGET_SUBDIR)/newlib && \
23058           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23059                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23060                   "RANLIB=$${RANLIB}" \
23061                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23062                    mostlyclean) \
23063           || exit 1
23064
23065 @endif target-newlib
23066
23067 .PHONY: maybe-clean-target-newlib clean-target-newlib
23068 maybe-clean-target-newlib:
23069 @if target-newlib
23070 maybe-clean-target-newlib: clean-target-newlib
23071
23072 clean-target-newlib: 
23073         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23074         r=`${PWD_COMMAND}`; export r; \
23075         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23076         $(SET_LIB_PATH) \
23077         $(NORMAL_TARGET_EXPORTS) \
23078         echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23079         for flag in $(EXTRA_TARGET_FLAGS); do \
23080           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23081         done; \
23082         (cd $(TARGET_SUBDIR)/newlib && \
23083           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23084                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23085                   "RANLIB=$${RANLIB}" \
23086                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23087                    clean) \
23088           || exit 1
23089
23090 @endif target-newlib
23091
23092 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23093 maybe-distclean-target-newlib:
23094 @if target-newlib
23095 maybe-distclean-target-newlib: distclean-target-newlib
23096
23097 distclean-target-newlib: 
23098         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23099         r=`${PWD_COMMAND}`; export r; \
23100         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23101         $(SET_LIB_PATH) \
23102         $(NORMAL_TARGET_EXPORTS) \
23103         echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23104         for flag in $(EXTRA_TARGET_FLAGS); do \
23105           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23106         done; \
23107         (cd $(TARGET_SUBDIR)/newlib && \
23108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23110                   "RANLIB=$${RANLIB}" \
23111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23112                    distclean) \
23113           || exit 1
23114
23115 @endif target-newlib
23116
23117 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23118 maybe-maintainer-clean-target-newlib:
23119 @if target-newlib
23120 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23121
23122 maintainer-clean-target-newlib: 
23123         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23124         r=`${PWD_COMMAND}`; export r; \
23125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23126         $(SET_LIB_PATH) \
23127         $(NORMAL_TARGET_EXPORTS) \
23128         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23129         for flag in $(EXTRA_TARGET_FLAGS); do \
23130           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23131         done; \
23132         (cd $(TARGET_SUBDIR)/newlib && \
23133           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23134                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23135                   "RANLIB=$${RANLIB}" \
23136                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23137                    maintainer-clean) \
23138           || exit 1
23139
23140 @endif target-newlib
23141
23142
23143 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23144 maybe-configure-target-libgfortran:
23145 @if target-libgfortran
23146 maybe-configure-target-libgfortran: configure-target-libgfortran
23147
23148 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23149 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23150         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23151         rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23152         cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23153
23154 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23155         @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23156         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23157         r=`${PWD_COMMAND}`; export r; \
23158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23159         $(SET_LIB_PATH) \
23160         $(NORMAL_TARGET_EXPORTS) \
23161         echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23162         cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23163         case $(srcdir) in \
23164           /* | [A-Za-z]:[\\/]*) \
23165             topdir=$(srcdir) ;; \
23166           *) \
23167             case "$(TARGET_SUBDIR)" in \
23168               .) topdir="../$(srcdir)" ;; \
23169               *) topdir="../../$(srcdir)" ;; \
23170             esac ;; \
23171         esac; \
23172           srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23173           libsrcdir="$$s/libgfortran"; \
23174         rm -f no-such-file || : ; \
23175         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23176           $(TARGET_CONFIGARGS) $${srcdiroption} \
23177           --with-target-subdir="$(TARGET_SUBDIR)"  \
23178           || exit 1
23179 @endif target-libgfortran
23180
23181 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23182 maybe-all-target-libgfortran:
23183 @if target-libgfortran
23184 TARGET-target-libgfortran=all
23185 maybe-all-target-libgfortran: all-target-libgfortran
23186 all-target-libgfortran: configure-target-libgfortran
23187         @r=`${PWD_COMMAND}`; export r; \
23188         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23189         $(SET_LIB_PATH) \
23190         $(NORMAL_TARGET_EXPORTS) \
23191         (cd $(TARGET_SUBDIR)/libgfortran && \
23192           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libgfortran))
23193 @endif target-libgfortran
23194
23195 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23196 maybe-check-target-libgfortran:
23197 @if target-libgfortran
23198 maybe-check-target-libgfortran: check-target-libgfortran
23199
23200 check-target-libgfortran:
23201         @r=`${PWD_COMMAND}`; export r; \
23202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203         $(SET_LIB_PATH) \
23204         $(NORMAL_TARGET_EXPORTS) \
23205         (cd $(TARGET_SUBDIR)/libgfortran && \
23206           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23207
23208 @endif target-libgfortran
23209
23210 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23211 maybe-install-target-libgfortran:
23212 @if target-libgfortran
23213 maybe-install-target-libgfortran: install-target-libgfortran
23214
23215 install-target-libgfortran: installdirs
23216         @r=`${PWD_COMMAND}`; export r; \
23217         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23218         $(SET_LIB_PATH) \
23219         $(NORMAL_TARGET_EXPORTS) \
23220         (cd $(TARGET_SUBDIR)/libgfortran && \
23221           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23222
23223 @endif target-libgfortran
23224
23225 # Other targets (info, dvi, etc.)
23226
23227 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23228 maybe-info-target-libgfortran:
23229 @if target-libgfortran
23230 maybe-info-target-libgfortran: info-target-libgfortran
23231
23232 info-target-libgfortran: \
23233     configure-target-libgfortran 
23234         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23235         r=`${PWD_COMMAND}`; export r; \
23236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237         $(SET_LIB_PATH) \
23238         $(NORMAL_TARGET_EXPORTS) \
23239         echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23240         for flag in $(EXTRA_TARGET_FLAGS); do \
23241           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23242         done; \
23243         (cd $(TARGET_SUBDIR)/libgfortran && \
23244           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23245                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23246                   "RANLIB=$${RANLIB}" \
23247                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23248                    info) \
23249           || exit 1
23250
23251 @endif target-libgfortran
23252
23253 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23254 maybe-dvi-target-libgfortran:
23255 @if target-libgfortran
23256 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23257
23258 dvi-target-libgfortran: \
23259     configure-target-libgfortran 
23260         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23261         r=`${PWD_COMMAND}`; export r; \
23262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23263         $(SET_LIB_PATH) \
23264         $(NORMAL_TARGET_EXPORTS) \
23265         echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23266         for flag in $(EXTRA_TARGET_FLAGS); do \
23267           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23268         done; \
23269         (cd $(TARGET_SUBDIR)/libgfortran && \
23270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23272                   "RANLIB=$${RANLIB}" \
23273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23274                    dvi) \
23275           || exit 1
23276
23277 @endif target-libgfortran
23278
23279 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23280 maybe-TAGS-target-libgfortran:
23281 @if target-libgfortran
23282 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23283
23284 TAGS-target-libgfortran: \
23285     configure-target-libgfortran 
23286         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23287         r=`${PWD_COMMAND}`; export r; \
23288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23289         $(SET_LIB_PATH) \
23290         $(NORMAL_TARGET_EXPORTS) \
23291         echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23292         for flag in $(EXTRA_TARGET_FLAGS); do \
23293           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23294         done; \
23295         (cd $(TARGET_SUBDIR)/libgfortran && \
23296           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23297                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23298                   "RANLIB=$${RANLIB}" \
23299                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23300                    TAGS) \
23301           || exit 1
23302
23303 @endif target-libgfortran
23304
23305 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23306 maybe-install-info-target-libgfortran:
23307 @if target-libgfortran
23308 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23309
23310 install-info-target-libgfortran: \
23311     configure-target-libgfortran \
23312     info-target-libgfortran 
23313         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23314         r=`${PWD_COMMAND}`; export r; \
23315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23316         $(SET_LIB_PATH) \
23317         $(NORMAL_TARGET_EXPORTS) \
23318         echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23319         for flag in $(EXTRA_TARGET_FLAGS); do \
23320           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23321         done; \
23322         (cd $(TARGET_SUBDIR)/libgfortran && \
23323           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23324                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23325                   "RANLIB=$${RANLIB}" \
23326                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23327                    install-info) \
23328           || exit 1
23329
23330 @endif target-libgfortran
23331
23332 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23333 maybe-installcheck-target-libgfortran:
23334 @if target-libgfortran
23335 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23336
23337 installcheck-target-libgfortran: \
23338     configure-target-libgfortran 
23339         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23340         r=`${PWD_COMMAND}`; export r; \
23341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342         $(SET_LIB_PATH) \
23343         $(NORMAL_TARGET_EXPORTS) \
23344         echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23345         for flag in $(EXTRA_TARGET_FLAGS); do \
23346           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23347         done; \
23348         (cd $(TARGET_SUBDIR)/libgfortran && \
23349           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23350                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23351                   "RANLIB=$${RANLIB}" \
23352                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23353                    installcheck) \
23354           || exit 1
23355
23356 @endif target-libgfortran
23357
23358 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23359 maybe-mostlyclean-target-libgfortran:
23360 @if target-libgfortran
23361 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23362
23363 mostlyclean-target-libgfortran: 
23364         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23365         r=`${PWD_COMMAND}`; export r; \
23366         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367         $(SET_LIB_PATH) \
23368         $(NORMAL_TARGET_EXPORTS) \
23369         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23370         for flag in $(EXTRA_TARGET_FLAGS); do \
23371           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23372         done; \
23373         (cd $(TARGET_SUBDIR)/libgfortran && \
23374           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23375                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23376                   "RANLIB=$${RANLIB}" \
23377                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23378                    mostlyclean) \
23379           || exit 1
23380
23381 @endif target-libgfortran
23382
23383 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23384 maybe-clean-target-libgfortran:
23385 @if target-libgfortran
23386 maybe-clean-target-libgfortran: clean-target-libgfortran
23387
23388 clean-target-libgfortran: 
23389         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23390         r=`${PWD_COMMAND}`; export r; \
23391         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23392         $(SET_LIB_PATH) \
23393         $(NORMAL_TARGET_EXPORTS) \
23394         echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23395         for flag in $(EXTRA_TARGET_FLAGS); do \
23396           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23397         done; \
23398         (cd $(TARGET_SUBDIR)/libgfortran && \
23399           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23400                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23401                   "RANLIB=$${RANLIB}" \
23402                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23403                    clean) \
23404           || exit 1
23405
23406 @endif target-libgfortran
23407
23408 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23409 maybe-distclean-target-libgfortran:
23410 @if target-libgfortran
23411 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23412
23413 distclean-target-libgfortran: 
23414         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23415         r=`${PWD_COMMAND}`; export r; \
23416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23417         $(SET_LIB_PATH) \
23418         $(NORMAL_TARGET_EXPORTS) \
23419         echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23420         for flag in $(EXTRA_TARGET_FLAGS); do \
23421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23422         done; \
23423         (cd $(TARGET_SUBDIR)/libgfortran && \
23424           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23425                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23426                   "RANLIB=$${RANLIB}" \
23427                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23428                    distclean) \
23429           || exit 1
23430
23431 @endif target-libgfortran
23432
23433 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23434 maybe-maintainer-clean-target-libgfortran:
23435 @if target-libgfortran
23436 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23437
23438 maintainer-clean-target-libgfortran: 
23439         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23440         r=`${PWD_COMMAND}`; export r; \
23441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23442         $(SET_LIB_PATH) \
23443         $(NORMAL_TARGET_EXPORTS) \
23444         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23445         for flag in $(EXTRA_TARGET_FLAGS); do \
23446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23447         done; \
23448         (cd $(TARGET_SUBDIR)/libgfortran && \
23449           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23450                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23451                   "RANLIB=$${RANLIB}" \
23452                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23453                    maintainer-clean) \
23454           || exit 1
23455
23456 @endif target-libgfortran
23457
23458
23459 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23460 maybe-configure-target-libobjc:
23461 @if target-libobjc
23462 maybe-configure-target-libobjc: configure-target-libobjc
23463
23464 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23465 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23466         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23467         rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23468         cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23469
23470 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23471         @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23472         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23473         r=`${PWD_COMMAND}`; export r; \
23474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23475         $(SET_LIB_PATH) \
23476         $(NORMAL_TARGET_EXPORTS) \
23477         echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23478         cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23479         case $(srcdir) in \
23480           /* | [A-Za-z]:[\\/]*) \
23481             topdir=$(srcdir) ;; \
23482           *) \
23483             case "$(TARGET_SUBDIR)" in \
23484               .) topdir="../$(srcdir)" ;; \
23485               *) topdir="../../$(srcdir)" ;; \
23486             esac ;; \
23487         esac; \
23488           srcdiroption="--srcdir=$${topdir}/libobjc"; \
23489           libsrcdir="$$s/libobjc"; \
23490         rm -f no-such-file || : ; \
23491         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23492           $(TARGET_CONFIGARGS) $${srcdiroption} \
23493           --with-target-subdir="$(TARGET_SUBDIR)"  \
23494           || exit 1
23495 @endif target-libobjc
23496
23497 .PHONY: all-target-libobjc maybe-all-target-libobjc
23498 maybe-all-target-libobjc:
23499 @if target-libobjc
23500 TARGET-target-libobjc=all
23501 maybe-all-target-libobjc: all-target-libobjc
23502 all-target-libobjc: configure-target-libobjc
23503         @r=`${PWD_COMMAND}`; export r; \
23504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23505         $(SET_LIB_PATH) \
23506         $(NORMAL_TARGET_EXPORTS) \
23507         (cd $(TARGET_SUBDIR)/libobjc && \
23508           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libobjc))
23509 @endif target-libobjc
23510
23511 .PHONY: check-target-libobjc maybe-check-target-libobjc
23512 maybe-check-target-libobjc:
23513 @if target-libobjc
23514 maybe-check-target-libobjc: check-target-libobjc
23515
23516 check-target-libobjc:
23517         @r=`${PWD_COMMAND}`; export r; \
23518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519         $(SET_LIB_PATH) \
23520         $(NORMAL_TARGET_EXPORTS) \
23521         (cd $(TARGET_SUBDIR)/libobjc && \
23522           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23523
23524 @endif target-libobjc
23525
23526 .PHONY: install-target-libobjc maybe-install-target-libobjc
23527 maybe-install-target-libobjc:
23528 @if target-libobjc
23529 maybe-install-target-libobjc: install-target-libobjc
23530
23531 install-target-libobjc: installdirs
23532         @r=`${PWD_COMMAND}`; export r; \
23533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534         $(SET_LIB_PATH) \
23535         $(NORMAL_TARGET_EXPORTS) \
23536         (cd $(TARGET_SUBDIR)/libobjc && \
23537           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23538
23539 @endif target-libobjc
23540
23541 # Other targets (info, dvi, etc.)
23542
23543 .PHONY: maybe-info-target-libobjc info-target-libobjc
23544 maybe-info-target-libobjc:
23545 @if target-libobjc
23546 maybe-info-target-libobjc: info-target-libobjc
23547
23548 info-target-libobjc: \
23549     configure-target-libobjc 
23550         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23551         r=`${PWD_COMMAND}`; export r; \
23552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23553         $(SET_LIB_PATH) \
23554         $(NORMAL_TARGET_EXPORTS) \
23555         echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23556         for flag in $(EXTRA_TARGET_FLAGS); do \
23557           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23558         done; \
23559         (cd $(TARGET_SUBDIR)/libobjc && \
23560           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562                   "RANLIB=$${RANLIB}" \
23563                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23564                    info) \
23565           || exit 1
23566
23567 @endif target-libobjc
23568
23569 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23570 maybe-dvi-target-libobjc:
23571 @if target-libobjc
23572 maybe-dvi-target-libobjc: dvi-target-libobjc
23573
23574 dvi-target-libobjc: \
23575     configure-target-libobjc 
23576         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23577         r=`${PWD_COMMAND}`; export r; \
23578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579         $(SET_LIB_PATH) \
23580         $(NORMAL_TARGET_EXPORTS) \
23581         echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23582         for flag in $(EXTRA_TARGET_FLAGS); do \
23583           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23584         done; \
23585         (cd $(TARGET_SUBDIR)/libobjc && \
23586           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23587                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23588                   "RANLIB=$${RANLIB}" \
23589                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23590                    dvi) \
23591           || exit 1
23592
23593 @endif target-libobjc
23594
23595 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23596 maybe-TAGS-target-libobjc:
23597 @if target-libobjc
23598 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23599
23600 TAGS-target-libobjc: \
23601     configure-target-libobjc 
23602         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23603         r=`${PWD_COMMAND}`; export r; \
23604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23605         $(SET_LIB_PATH) \
23606         $(NORMAL_TARGET_EXPORTS) \
23607         echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23608         for flag in $(EXTRA_TARGET_FLAGS); do \
23609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23610         done; \
23611         (cd $(TARGET_SUBDIR)/libobjc && \
23612           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23613                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23614                   "RANLIB=$${RANLIB}" \
23615                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23616                    TAGS) \
23617           || exit 1
23618
23619 @endif target-libobjc
23620
23621 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23622 maybe-install-info-target-libobjc:
23623 @if target-libobjc
23624 maybe-install-info-target-libobjc: install-info-target-libobjc
23625
23626 install-info-target-libobjc: \
23627     configure-target-libobjc \
23628     info-target-libobjc 
23629         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23630         r=`${PWD_COMMAND}`; export r; \
23631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23632         $(SET_LIB_PATH) \
23633         $(NORMAL_TARGET_EXPORTS) \
23634         echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23635         for flag in $(EXTRA_TARGET_FLAGS); do \
23636           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23637         done; \
23638         (cd $(TARGET_SUBDIR)/libobjc && \
23639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23641                   "RANLIB=$${RANLIB}" \
23642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23643                    install-info) \
23644           || exit 1
23645
23646 @endif target-libobjc
23647
23648 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23649 maybe-installcheck-target-libobjc:
23650 @if target-libobjc
23651 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23652
23653 installcheck-target-libobjc: \
23654     configure-target-libobjc 
23655         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23656         r=`${PWD_COMMAND}`; export r; \
23657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658         $(SET_LIB_PATH) \
23659         $(NORMAL_TARGET_EXPORTS) \
23660         echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23661         for flag in $(EXTRA_TARGET_FLAGS); do \
23662           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23663         done; \
23664         (cd $(TARGET_SUBDIR)/libobjc && \
23665           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23666                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23667                   "RANLIB=$${RANLIB}" \
23668                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23669                    installcheck) \
23670           || exit 1
23671
23672 @endif target-libobjc
23673
23674 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23675 maybe-mostlyclean-target-libobjc:
23676 @if target-libobjc
23677 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23678
23679 mostlyclean-target-libobjc: 
23680         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23681         r=`${PWD_COMMAND}`; export r; \
23682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683         $(SET_LIB_PATH) \
23684         $(NORMAL_TARGET_EXPORTS) \
23685         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23686         for flag in $(EXTRA_TARGET_FLAGS); do \
23687           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23688         done; \
23689         (cd $(TARGET_SUBDIR)/libobjc && \
23690           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692                   "RANLIB=$${RANLIB}" \
23693                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23694                    mostlyclean) \
23695           || exit 1
23696
23697 @endif target-libobjc
23698
23699 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23700 maybe-clean-target-libobjc:
23701 @if target-libobjc
23702 maybe-clean-target-libobjc: clean-target-libobjc
23703
23704 clean-target-libobjc: 
23705         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23706         r=`${PWD_COMMAND}`; export r; \
23707         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708         $(SET_LIB_PATH) \
23709         $(NORMAL_TARGET_EXPORTS) \
23710         echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23711         for flag in $(EXTRA_TARGET_FLAGS); do \
23712           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23713         done; \
23714         (cd $(TARGET_SUBDIR)/libobjc && \
23715           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23716                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23717                   "RANLIB=$${RANLIB}" \
23718                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23719                    clean) \
23720           || exit 1
23721
23722 @endif target-libobjc
23723
23724 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23725 maybe-distclean-target-libobjc:
23726 @if target-libobjc
23727 maybe-distclean-target-libobjc: distclean-target-libobjc
23728
23729 distclean-target-libobjc: 
23730         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23731         r=`${PWD_COMMAND}`; export r; \
23732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23733         $(SET_LIB_PATH) \
23734         $(NORMAL_TARGET_EXPORTS) \
23735         echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23736         for flag in $(EXTRA_TARGET_FLAGS); do \
23737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23738         done; \
23739         (cd $(TARGET_SUBDIR)/libobjc && \
23740           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23741                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23742                   "RANLIB=$${RANLIB}" \
23743                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23744                    distclean) \
23745           || exit 1
23746
23747 @endif target-libobjc
23748
23749 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23750 maybe-maintainer-clean-target-libobjc:
23751 @if target-libobjc
23752 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23753
23754 maintainer-clean-target-libobjc: 
23755         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23756         r=`${PWD_COMMAND}`; export r; \
23757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758         $(SET_LIB_PATH) \
23759         $(NORMAL_TARGET_EXPORTS) \
23760         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23761         for flag in $(EXTRA_TARGET_FLAGS); do \
23762           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23763         done; \
23764         (cd $(TARGET_SUBDIR)/libobjc && \
23765           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23766                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23767                   "RANLIB=$${RANLIB}" \
23768                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23769                    maintainer-clean) \
23770           || exit 1
23771
23772 @endif target-libobjc
23773
23774
23775 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23776 maybe-configure-target-libtermcap:
23777 @if target-libtermcap
23778 maybe-configure-target-libtermcap: configure-target-libtermcap
23779
23780 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23781 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23782         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23783         rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23784         cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23785
23786 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23787         @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23788         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23789         r=`${PWD_COMMAND}`; export r; \
23790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23791         $(SET_LIB_PATH) \
23792         $(NORMAL_TARGET_EXPORTS) \
23793         echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23794         cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23795         case $(srcdir) in \
23796           /* | [A-Za-z]:[\\/]*) \
23797             topdir=$(srcdir) ;; \
23798           *) \
23799             case "$(TARGET_SUBDIR)" in \
23800               .) topdir="../$(srcdir)" ;; \
23801               *) topdir="../../$(srcdir)" ;; \
23802             esac ;; \
23803         esac; \
23804         if [ "$(srcdir)" = "." ] ; then \
23805           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23806             if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23807               if [ -f Makefile ]; then \
23808                 if $(MAKE) distclean; then \
23809                   true; \
23810                 else \
23811                   exit 1; \
23812                 fi; \
23813               else \
23814                 true; \
23815               fi; \
23816             else \
23817               exit 1; \
23818             fi; \
23819           else \
23820             true; \
23821           fi; \
23822           srcdiroption="--srcdir=."; \
23823           libsrcdir="."; \
23824         else \
23825           srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23826           libsrcdir="$$s/libtermcap"; \
23827         fi; \
23828         rm -f no-such-file || : ; \
23829         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23830           $(TARGET_CONFIGARGS) $${srcdiroption} \
23831           --with-target-subdir="$(TARGET_SUBDIR)"  \
23832           || exit 1
23833 @endif target-libtermcap
23834
23835 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23836 maybe-all-target-libtermcap:
23837 @if target-libtermcap
23838 TARGET-target-libtermcap=all
23839 maybe-all-target-libtermcap: all-target-libtermcap
23840 all-target-libtermcap: configure-target-libtermcap
23841         @r=`${PWD_COMMAND}`; export r; \
23842         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23843         $(SET_LIB_PATH) \
23844         $(NORMAL_TARGET_EXPORTS) \
23845         (cd $(TARGET_SUBDIR)/libtermcap && \
23846           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libtermcap))
23847 @endif target-libtermcap
23848
23849 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23850 maybe-check-target-libtermcap:
23851 @if target-libtermcap
23852 maybe-check-target-libtermcap: check-target-libtermcap
23853
23854 # Dummy target for uncheckable module.
23855 check-target-libtermcap:
23856
23857 @endif target-libtermcap
23858
23859 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23860 maybe-install-target-libtermcap:
23861 @if target-libtermcap
23862 maybe-install-target-libtermcap: install-target-libtermcap
23863
23864 install-target-libtermcap: installdirs
23865         @r=`${PWD_COMMAND}`; export r; \
23866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23867         $(SET_LIB_PATH) \
23868         $(NORMAL_TARGET_EXPORTS) \
23869         (cd $(TARGET_SUBDIR)/libtermcap && \
23870           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23871
23872 @endif target-libtermcap
23873
23874 # Other targets (info, dvi, etc.)
23875
23876 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23877 maybe-info-target-libtermcap:
23878 @if target-libtermcap
23879 maybe-info-target-libtermcap: info-target-libtermcap
23880
23881 info-target-libtermcap: \
23882     configure-target-libtermcap 
23883         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23884         r=`${PWD_COMMAND}`; export r; \
23885         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23886         $(SET_LIB_PATH) \
23887         $(NORMAL_TARGET_EXPORTS) \
23888         echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23889         for flag in $(EXTRA_TARGET_FLAGS); do \
23890           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23891         done; \
23892         (cd $(TARGET_SUBDIR)/libtermcap && \
23893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23895                   "RANLIB=$${RANLIB}" \
23896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23897                    info) \
23898           || exit 1
23899
23900 @endif target-libtermcap
23901
23902 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23903 maybe-dvi-target-libtermcap:
23904 @if target-libtermcap
23905 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23906
23907 dvi-target-libtermcap: \
23908     configure-target-libtermcap 
23909         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23910         r=`${PWD_COMMAND}`; export r; \
23911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23912         $(SET_LIB_PATH) \
23913         $(NORMAL_TARGET_EXPORTS) \
23914         echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23915         for flag in $(EXTRA_TARGET_FLAGS); do \
23916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23917         done; \
23918         (cd $(TARGET_SUBDIR)/libtermcap && \
23919           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23920                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23921                   "RANLIB=$${RANLIB}" \
23922                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23923                    dvi) \
23924           || exit 1
23925
23926 @endif target-libtermcap
23927
23928 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23929 maybe-TAGS-target-libtermcap:
23930 @if target-libtermcap
23931 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23932
23933 TAGS-target-libtermcap: \
23934     configure-target-libtermcap 
23935         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23936         r=`${PWD_COMMAND}`; export r; \
23937         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23938         $(SET_LIB_PATH) \
23939         $(NORMAL_TARGET_EXPORTS) \
23940         echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23941         for flag in $(EXTRA_TARGET_FLAGS); do \
23942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23943         done; \
23944         (cd $(TARGET_SUBDIR)/libtermcap && \
23945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23947                   "RANLIB=$${RANLIB}" \
23948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23949                    TAGS) \
23950           || exit 1
23951
23952 @endif target-libtermcap
23953
23954 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23955 maybe-install-info-target-libtermcap:
23956 @if target-libtermcap
23957 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23958
23959 install-info-target-libtermcap: \
23960     configure-target-libtermcap \
23961     info-target-libtermcap 
23962         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23963         r=`${PWD_COMMAND}`; export r; \
23964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965         $(SET_LIB_PATH) \
23966         $(NORMAL_TARGET_EXPORTS) \
23967         echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23968         for flag in $(EXTRA_TARGET_FLAGS); do \
23969           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23970         done; \
23971         (cd $(TARGET_SUBDIR)/libtermcap && \
23972           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23973                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23974                   "RANLIB=$${RANLIB}" \
23975                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23976                    install-info) \
23977           || exit 1
23978
23979 @endif target-libtermcap
23980
23981 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23982 maybe-installcheck-target-libtermcap:
23983 @if target-libtermcap
23984 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23985
23986 installcheck-target-libtermcap: \
23987     configure-target-libtermcap 
23988         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23989         r=`${PWD_COMMAND}`; export r; \
23990         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23991         $(SET_LIB_PATH) \
23992         $(NORMAL_TARGET_EXPORTS) \
23993         echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23994         for flag in $(EXTRA_TARGET_FLAGS); do \
23995           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23996         done; \
23997         (cd $(TARGET_SUBDIR)/libtermcap && \
23998           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23999                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24000                   "RANLIB=$${RANLIB}" \
24001                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24002                    installcheck) \
24003           || exit 1
24004
24005 @endif target-libtermcap
24006
24007 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24008 maybe-mostlyclean-target-libtermcap:
24009 @if target-libtermcap
24010 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24011
24012 # libtermcap doesn't support mostlyclean.
24013 mostlyclean-target-libtermcap:
24014
24015 @endif target-libtermcap
24016
24017 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24018 maybe-clean-target-libtermcap:
24019 @if target-libtermcap
24020 maybe-clean-target-libtermcap: clean-target-libtermcap
24021
24022 # libtermcap doesn't support clean.
24023 clean-target-libtermcap:
24024
24025 @endif target-libtermcap
24026
24027 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24028 maybe-distclean-target-libtermcap:
24029 @if target-libtermcap
24030 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24031
24032 # libtermcap doesn't support distclean.
24033 distclean-target-libtermcap:
24034
24035 @endif target-libtermcap
24036
24037 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24038 maybe-maintainer-clean-target-libtermcap:
24039 @if target-libtermcap
24040 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24041
24042 # libtermcap doesn't support maintainer-clean.
24043 maintainer-clean-target-libtermcap:
24044
24045 @endif target-libtermcap
24046
24047
24048 .PHONY: configure-target-winsup maybe-configure-target-winsup
24049 maybe-configure-target-winsup:
24050 @if target-winsup
24051 maybe-configure-target-winsup: configure-target-winsup
24052
24053 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24054 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24055         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24056         rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24057         cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24058
24059 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24060         @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24061         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24062         r=`${PWD_COMMAND}`; export r; \
24063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24064         $(SET_LIB_PATH) \
24065         $(NORMAL_TARGET_EXPORTS) \
24066         echo Configuring in $(TARGET_SUBDIR)/winsup; \
24067         cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24068         case $(srcdir) in \
24069           /* | [A-Za-z]:[\\/]*) \
24070             topdir=$(srcdir) ;; \
24071           *) \
24072             case "$(TARGET_SUBDIR)" in \
24073               .) topdir="../$(srcdir)" ;; \
24074               *) topdir="../../$(srcdir)" ;; \
24075             esac ;; \
24076         esac; \
24077           srcdiroption="--srcdir=$${topdir}/winsup"; \
24078           libsrcdir="$$s/winsup"; \
24079         rm -f no-such-file || : ; \
24080         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24081           $(TARGET_CONFIGARGS) $${srcdiroption} \
24082           --with-target-subdir="$(TARGET_SUBDIR)"  \
24083           || exit 1
24084 @endif target-winsup
24085
24086 .PHONY: all-target-winsup maybe-all-target-winsup
24087 maybe-all-target-winsup:
24088 @if target-winsup
24089 TARGET-target-winsup=all
24090 maybe-all-target-winsup: all-target-winsup
24091 all-target-winsup: configure-target-winsup
24092         @r=`${PWD_COMMAND}`; export r; \
24093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24094         $(SET_LIB_PATH) \
24095         $(NORMAL_TARGET_EXPORTS) \
24096         (cd $(TARGET_SUBDIR)/winsup && \
24097           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-winsup))
24098 @endif target-winsup
24099
24100 .PHONY: check-target-winsup maybe-check-target-winsup
24101 maybe-check-target-winsup:
24102 @if target-winsup
24103 maybe-check-target-winsup: check-target-winsup
24104
24105 check-target-winsup:
24106         @r=`${PWD_COMMAND}`; export r; \
24107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24108         $(SET_LIB_PATH) \
24109         $(NORMAL_TARGET_EXPORTS) \
24110         (cd $(TARGET_SUBDIR)/winsup && \
24111           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24112
24113 @endif target-winsup
24114
24115 .PHONY: install-target-winsup maybe-install-target-winsup
24116 maybe-install-target-winsup:
24117 @if target-winsup
24118 maybe-install-target-winsup: install-target-winsup
24119
24120 install-target-winsup: installdirs
24121         @r=`${PWD_COMMAND}`; export r; \
24122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123         $(SET_LIB_PATH) \
24124         $(NORMAL_TARGET_EXPORTS) \
24125         (cd $(TARGET_SUBDIR)/winsup && \
24126           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24127
24128 @endif target-winsup
24129
24130 # Other targets (info, dvi, etc.)
24131
24132 .PHONY: maybe-info-target-winsup info-target-winsup
24133 maybe-info-target-winsup:
24134 @if target-winsup
24135 maybe-info-target-winsup: info-target-winsup
24136
24137 info-target-winsup: \
24138     configure-target-winsup 
24139         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24140         r=`${PWD_COMMAND}`; export r; \
24141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24142         $(SET_LIB_PATH) \
24143         $(NORMAL_TARGET_EXPORTS) \
24144         echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24145         for flag in $(EXTRA_TARGET_FLAGS); do \
24146           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24147         done; \
24148         (cd $(TARGET_SUBDIR)/winsup && \
24149           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24150                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24151                   "RANLIB=$${RANLIB}" \
24152                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24153                    info) \
24154           || exit 1
24155
24156 @endif target-winsup
24157
24158 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24159 maybe-dvi-target-winsup:
24160 @if target-winsup
24161 maybe-dvi-target-winsup: dvi-target-winsup
24162
24163 dvi-target-winsup: \
24164     configure-target-winsup 
24165         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24166         r=`${PWD_COMMAND}`; export r; \
24167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24168         $(SET_LIB_PATH) \
24169         $(NORMAL_TARGET_EXPORTS) \
24170         echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24171         for flag in $(EXTRA_TARGET_FLAGS); do \
24172           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24173         done; \
24174         (cd $(TARGET_SUBDIR)/winsup && \
24175           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24176                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24177                   "RANLIB=$${RANLIB}" \
24178                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24179                    dvi) \
24180           || exit 1
24181
24182 @endif target-winsup
24183
24184 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24185 maybe-TAGS-target-winsup:
24186 @if target-winsup
24187 maybe-TAGS-target-winsup: TAGS-target-winsup
24188
24189 TAGS-target-winsup: \
24190     configure-target-winsup 
24191         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24192         r=`${PWD_COMMAND}`; export r; \
24193         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24194         $(SET_LIB_PATH) \
24195         $(NORMAL_TARGET_EXPORTS) \
24196         echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24197         for flag in $(EXTRA_TARGET_FLAGS); do \
24198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24199         done; \
24200         (cd $(TARGET_SUBDIR)/winsup && \
24201           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24202                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24203                   "RANLIB=$${RANLIB}" \
24204                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24205                    TAGS) \
24206           || exit 1
24207
24208 @endif target-winsup
24209
24210 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24211 maybe-install-info-target-winsup:
24212 @if target-winsup
24213 maybe-install-info-target-winsup: install-info-target-winsup
24214
24215 install-info-target-winsup: \
24216     configure-target-winsup \
24217     info-target-winsup 
24218         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24219         r=`${PWD_COMMAND}`; export r; \
24220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24221         $(SET_LIB_PATH) \
24222         $(NORMAL_TARGET_EXPORTS) \
24223         echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24224         for flag in $(EXTRA_TARGET_FLAGS); do \
24225           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24226         done; \
24227         (cd $(TARGET_SUBDIR)/winsup && \
24228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230                   "RANLIB=$${RANLIB}" \
24231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24232                    install-info) \
24233           || exit 1
24234
24235 @endif target-winsup
24236
24237 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24238 maybe-installcheck-target-winsup:
24239 @if target-winsup
24240 maybe-installcheck-target-winsup: installcheck-target-winsup
24241
24242 installcheck-target-winsup: \
24243     configure-target-winsup 
24244         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24245         r=`${PWD_COMMAND}`; export r; \
24246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24247         $(SET_LIB_PATH) \
24248         $(NORMAL_TARGET_EXPORTS) \
24249         echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24250         for flag in $(EXTRA_TARGET_FLAGS); do \
24251           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24252         done; \
24253         (cd $(TARGET_SUBDIR)/winsup && \
24254           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24255                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24256                   "RANLIB=$${RANLIB}" \
24257                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24258                    installcheck) \
24259           || exit 1
24260
24261 @endif target-winsup
24262
24263 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24264 maybe-mostlyclean-target-winsup:
24265 @if target-winsup
24266 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24267
24268 mostlyclean-target-winsup: 
24269         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24270         r=`${PWD_COMMAND}`; export r; \
24271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24272         $(SET_LIB_PATH) \
24273         $(NORMAL_TARGET_EXPORTS) \
24274         echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24275         for flag in $(EXTRA_TARGET_FLAGS); do \
24276           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24277         done; \
24278         (cd $(TARGET_SUBDIR)/winsup && \
24279           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24280                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24281                   "RANLIB=$${RANLIB}" \
24282                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24283                    mostlyclean) \
24284           || exit 1
24285
24286 @endif target-winsup
24287
24288 .PHONY: maybe-clean-target-winsup clean-target-winsup
24289 maybe-clean-target-winsup:
24290 @if target-winsup
24291 maybe-clean-target-winsup: clean-target-winsup
24292
24293 clean-target-winsup: 
24294         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24295         r=`${PWD_COMMAND}`; export r; \
24296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24297         $(SET_LIB_PATH) \
24298         $(NORMAL_TARGET_EXPORTS) \
24299         echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24300         for flag in $(EXTRA_TARGET_FLAGS); do \
24301           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24302         done; \
24303         (cd $(TARGET_SUBDIR)/winsup && \
24304           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24305                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24306                   "RANLIB=$${RANLIB}" \
24307                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24308                    clean) \
24309           || exit 1
24310
24311 @endif target-winsup
24312
24313 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24314 maybe-distclean-target-winsup:
24315 @if target-winsup
24316 maybe-distclean-target-winsup: distclean-target-winsup
24317
24318 distclean-target-winsup: 
24319         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24320         r=`${PWD_COMMAND}`; export r; \
24321         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24322         $(SET_LIB_PATH) \
24323         $(NORMAL_TARGET_EXPORTS) \
24324         echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24325         for flag in $(EXTRA_TARGET_FLAGS); do \
24326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24327         done; \
24328         (cd $(TARGET_SUBDIR)/winsup && \
24329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24331                   "RANLIB=$${RANLIB}" \
24332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24333                    distclean) \
24334           || exit 1
24335
24336 @endif target-winsup
24337
24338 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24339 maybe-maintainer-clean-target-winsup:
24340 @if target-winsup
24341 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24342
24343 maintainer-clean-target-winsup: 
24344         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24345         r=`${PWD_COMMAND}`; export r; \
24346         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347         $(SET_LIB_PATH) \
24348         $(NORMAL_TARGET_EXPORTS) \
24349         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24350         for flag in $(EXTRA_TARGET_FLAGS); do \
24351           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24352         done; \
24353         (cd $(TARGET_SUBDIR)/winsup && \
24354           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24355                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24356                   "RANLIB=$${RANLIB}" \
24357                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24358                    maintainer-clean) \
24359           || exit 1
24360
24361 @endif target-winsup
24362
24363
24364 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24365 maybe-configure-target-libgloss:
24366 @if target-libgloss
24367 maybe-configure-target-libgloss: configure-target-libgloss
24368
24369 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24370 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24371         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24372         rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24373         cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24374
24375 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24376         @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24377         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24378         r=`${PWD_COMMAND}`; export r; \
24379         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24380         $(SET_LIB_PATH) \
24381         $(NORMAL_TARGET_EXPORTS) \
24382         echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24383         cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24384         case $(srcdir) in \
24385           /* | [A-Za-z]:[\\/]*) \
24386             topdir=$(srcdir) ;; \
24387           *) \
24388             case "$(TARGET_SUBDIR)" in \
24389               .) topdir="../$(srcdir)" ;; \
24390               *) topdir="../../$(srcdir)" ;; \
24391             esac ;; \
24392         esac; \
24393           srcdiroption="--srcdir=$${topdir}/libgloss"; \
24394           libsrcdir="$$s/libgloss"; \
24395         rm -f no-such-file || : ; \
24396         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24397           $(TARGET_CONFIGARGS) $${srcdiroption} \
24398           --with-target-subdir="$(TARGET_SUBDIR)"  \
24399           || exit 1
24400 @endif target-libgloss
24401
24402 .PHONY: all-target-libgloss maybe-all-target-libgloss
24403 maybe-all-target-libgloss:
24404 @if target-libgloss
24405 TARGET-target-libgloss=all
24406 maybe-all-target-libgloss: all-target-libgloss
24407 all-target-libgloss: configure-target-libgloss
24408         @r=`${PWD_COMMAND}`; export r; \
24409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24410         $(SET_LIB_PATH) \
24411         $(NORMAL_TARGET_EXPORTS) \
24412         (cd $(TARGET_SUBDIR)/libgloss && \
24413           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libgloss))
24414 @endif target-libgloss
24415
24416 .PHONY: check-target-libgloss maybe-check-target-libgloss
24417 maybe-check-target-libgloss:
24418 @if target-libgloss
24419 maybe-check-target-libgloss: check-target-libgloss
24420
24421 # Dummy target for uncheckable module.
24422 check-target-libgloss:
24423
24424 @endif target-libgloss
24425
24426 .PHONY: install-target-libgloss maybe-install-target-libgloss
24427 maybe-install-target-libgloss:
24428 @if target-libgloss
24429 maybe-install-target-libgloss: install-target-libgloss
24430
24431 install-target-libgloss: installdirs
24432         @r=`${PWD_COMMAND}`; export r; \
24433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434         $(SET_LIB_PATH) \
24435         $(NORMAL_TARGET_EXPORTS) \
24436         (cd $(TARGET_SUBDIR)/libgloss && \
24437           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24438
24439 @endif target-libgloss
24440
24441 # Other targets (info, dvi, etc.)
24442
24443 .PHONY: maybe-info-target-libgloss info-target-libgloss
24444 maybe-info-target-libgloss:
24445 @if target-libgloss
24446 maybe-info-target-libgloss: info-target-libgloss
24447
24448 info-target-libgloss: \
24449     configure-target-libgloss 
24450         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24451         r=`${PWD_COMMAND}`; export r; \
24452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24453         $(SET_LIB_PATH) \
24454         $(NORMAL_TARGET_EXPORTS) \
24455         echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24456         for flag in $(EXTRA_TARGET_FLAGS); do \
24457           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24458         done; \
24459         (cd $(TARGET_SUBDIR)/libgloss && \
24460           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24461                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24462                   "RANLIB=$${RANLIB}" \
24463                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24464                    info) \
24465           || exit 1
24466
24467 @endif target-libgloss
24468
24469 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24470 maybe-dvi-target-libgloss:
24471 @if target-libgloss
24472 maybe-dvi-target-libgloss: dvi-target-libgloss
24473
24474 dvi-target-libgloss: \
24475     configure-target-libgloss 
24476         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24477         r=`${PWD_COMMAND}`; export r; \
24478         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24479         $(SET_LIB_PATH) \
24480         $(NORMAL_TARGET_EXPORTS) \
24481         echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24482         for flag in $(EXTRA_TARGET_FLAGS); do \
24483           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24484         done; \
24485         (cd $(TARGET_SUBDIR)/libgloss && \
24486           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24487                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24488                   "RANLIB=$${RANLIB}" \
24489                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24490                    dvi) \
24491           || exit 1
24492
24493 @endif target-libgloss
24494
24495 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24496 maybe-TAGS-target-libgloss:
24497 @if target-libgloss
24498 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24499
24500 TAGS-target-libgloss: \
24501     configure-target-libgloss 
24502         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24503         r=`${PWD_COMMAND}`; export r; \
24504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24505         $(SET_LIB_PATH) \
24506         $(NORMAL_TARGET_EXPORTS) \
24507         echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24508         for flag in $(EXTRA_TARGET_FLAGS); do \
24509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24510         done; \
24511         (cd $(TARGET_SUBDIR)/libgloss && \
24512           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24513                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24514                   "RANLIB=$${RANLIB}" \
24515                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24516                    TAGS) \
24517           || exit 1
24518
24519 @endif target-libgloss
24520
24521 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24522 maybe-install-info-target-libgloss:
24523 @if target-libgloss
24524 maybe-install-info-target-libgloss: install-info-target-libgloss
24525
24526 install-info-target-libgloss: \
24527     configure-target-libgloss \
24528     info-target-libgloss 
24529         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24530         r=`${PWD_COMMAND}`; export r; \
24531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24532         $(SET_LIB_PATH) \
24533         $(NORMAL_TARGET_EXPORTS) \
24534         echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24535         for flag in $(EXTRA_TARGET_FLAGS); do \
24536           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24537         done; \
24538         (cd $(TARGET_SUBDIR)/libgloss && \
24539           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24540                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24541                   "RANLIB=$${RANLIB}" \
24542                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24543                    install-info) \
24544           || exit 1
24545
24546 @endif target-libgloss
24547
24548 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24549 maybe-installcheck-target-libgloss:
24550 @if target-libgloss
24551 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24552
24553 installcheck-target-libgloss: \
24554     configure-target-libgloss 
24555         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24556         r=`${PWD_COMMAND}`; export r; \
24557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24558         $(SET_LIB_PATH) \
24559         $(NORMAL_TARGET_EXPORTS) \
24560         echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24561         for flag in $(EXTRA_TARGET_FLAGS); do \
24562           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24563         done; \
24564         (cd $(TARGET_SUBDIR)/libgloss && \
24565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24567                   "RANLIB=$${RANLIB}" \
24568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24569                    installcheck) \
24570           || exit 1
24571
24572 @endif target-libgloss
24573
24574 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24575 maybe-mostlyclean-target-libgloss:
24576 @if target-libgloss
24577 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24578
24579 mostlyclean-target-libgloss: 
24580         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24581         r=`${PWD_COMMAND}`; export r; \
24582         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24583         $(SET_LIB_PATH) \
24584         $(NORMAL_TARGET_EXPORTS) \
24585         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24586         for flag in $(EXTRA_TARGET_FLAGS); do \
24587           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24588         done; \
24589         (cd $(TARGET_SUBDIR)/libgloss && \
24590           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24591                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24592                   "RANLIB=$${RANLIB}" \
24593                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24594                    mostlyclean) \
24595           || exit 1
24596
24597 @endif target-libgloss
24598
24599 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24600 maybe-clean-target-libgloss:
24601 @if target-libgloss
24602 maybe-clean-target-libgloss: clean-target-libgloss
24603
24604 clean-target-libgloss: 
24605         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24606         r=`${PWD_COMMAND}`; export r; \
24607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24608         $(SET_LIB_PATH) \
24609         $(NORMAL_TARGET_EXPORTS) \
24610         echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24611         for flag in $(EXTRA_TARGET_FLAGS); do \
24612           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24613         done; \
24614         (cd $(TARGET_SUBDIR)/libgloss && \
24615           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24616                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24617                   "RANLIB=$${RANLIB}" \
24618                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24619                    clean) \
24620           || exit 1
24621
24622 @endif target-libgloss
24623
24624 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24625 maybe-distclean-target-libgloss:
24626 @if target-libgloss
24627 maybe-distclean-target-libgloss: distclean-target-libgloss
24628
24629 distclean-target-libgloss: 
24630         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24631         r=`${PWD_COMMAND}`; export r; \
24632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24633         $(SET_LIB_PATH) \
24634         $(NORMAL_TARGET_EXPORTS) \
24635         echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24636         for flag in $(EXTRA_TARGET_FLAGS); do \
24637           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24638         done; \
24639         (cd $(TARGET_SUBDIR)/libgloss && \
24640           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24641                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24642                   "RANLIB=$${RANLIB}" \
24643                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24644                    distclean) \
24645           || exit 1
24646
24647 @endif target-libgloss
24648
24649 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24650 maybe-maintainer-clean-target-libgloss:
24651 @if target-libgloss
24652 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24653
24654 maintainer-clean-target-libgloss: 
24655         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24656         r=`${PWD_COMMAND}`; export r; \
24657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24658         $(SET_LIB_PATH) \
24659         $(NORMAL_TARGET_EXPORTS) \
24660         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24661         for flag in $(EXTRA_TARGET_FLAGS); do \
24662           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24663         done; \
24664         (cd $(TARGET_SUBDIR)/libgloss && \
24665           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24666                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24667                   "RANLIB=$${RANLIB}" \
24668                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24669                    maintainer-clean) \
24670           || exit 1
24671
24672 @endif target-libgloss
24673
24674
24675 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24676 maybe-configure-target-libiberty:
24677 @if target-libiberty
24678 maybe-configure-target-libiberty: configure-target-libiberty
24679
24680 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24681 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24682         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24683         rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24684         cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24685
24686 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24687         @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24688         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24689         r=`${PWD_COMMAND}`; export r; \
24690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691         $(SET_LIB_PATH) \
24692         $(NORMAL_TARGET_EXPORTS) \
24693         echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24694         cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24695         case $(srcdir) in \
24696           /* | [A-Za-z]:[\\/]*) \
24697             topdir=$(srcdir) ;; \
24698           *) \
24699             case "$(TARGET_SUBDIR)" in \
24700               .) topdir="../$(srcdir)" ;; \
24701               *) topdir="../../$(srcdir)" ;; \
24702             esac ;; \
24703         esac; \
24704           srcdiroption="--srcdir=$${topdir}/libiberty"; \
24705           libsrcdir="$$s/libiberty"; \
24706         rm -f no-such-file || : ; \
24707         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24708           $(TARGET_CONFIGARGS) $${srcdiroption} \
24709           --with-target-subdir="$(TARGET_SUBDIR)"  \
24710           || exit 1
24711 @endif target-libiberty
24712
24713 .PHONY: all-target-libiberty maybe-all-target-libiberty
24714 maybe-all-target-libiberty:
24715 @if target-libiberty
24716 TARGET-target-libiberty=all
24717 maybe-all-target-libiberty: all-target-libiberty
24718 all-target-libiberty: configure-target-libiberty
24719         @r=`${PWD_COMMAND}`; export r; \
24720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24721         $(SET_LIB_PATH) \
24722         $(NORMAL_TARGET_EXPORTS) \
24723         (cd $(TARGET_SUBDIR)/libiberty && \
24724           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libiberty))
24725 @endif target-libiberty
24726
24727 .PHONY: check-target-libiberty maybe-check-target-libiberty
24728 maybe-check-target-libiberty:
24729 @if target-libiberty
24730 maybe-check-target-libiberty: check-target-libiberty
24731
24732 check-target-libiberty:
24733         @r=`${PWD_COMMAND}`; export r; \
24734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24735         $(SET_LIB_PATH) \
24736         $(NORMAL_TARGET_EXPORTS) \
24737         (cd $(TARGET_SUBDIR)/libiberty && \
24738           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24739
24740 @endif target-libiberty
24741
24742 .PHONY: install-target-libiberty maybe-install-target-libiberty
24743 maybe-install-target-libiberty:
24744 @if target-libiberty
24745 maybe-install-target-libiberty: install-target-libiberty
24746
24747 install-target-libiberty: installdirs
24748         @r=`${PWD_COMMAND}`; export r; \
24749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24750         $(SET_LIB_PATH) \
24751         $(NORMAL_TARGET_EXPORTS) \
24752         (cd $(TARGET_SUBDIR)/libiberty && \
24753           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24754
24755 @endif target-libiberty
24756
24757 # Other targets (info, dvi, etc.)
24758
24759 .PHONY: maybe-info-target-libiberty info-target-libiberty
24760 maybe-info-target-libiberty:
24761 @if target-libiberty
24762 maybe-info-target-libiberty: info-target-libiberty
24763
24764 info-target-libiberty: \
24765     configure-target-libiberty 
24766         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24767         r=`${PWD_COMMAND}`; export r; \
24768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24769         $(SET_LIB_PATH) \
24770         $(NORMAL_TARGET_EXPORTS) \
24771         echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24772         for flag in $(EXTRA_TARGET_FLAGS); do \
24773           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24774         done; \
24775         (cd $(TARGET_SUBDIR)/libiberty && \
24776           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24777                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24778                   "RANLIB=$${RANLIB}" \
24779                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24780                    info) \
24781           || exit 1
24782
24783 @endif target-libiberty
24784
24785 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24786 maybe-dvi-target-libiberty:
24787 @if target-libiberty
24788 maybe-dvi-target-libiberty: dvi-target-libiberty
24789
24790 dvi-target-libiberty: \
24791     configure-target-libiberty 
24792         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24793         r=`${PWD_COMMAND}`; export r; \
24794         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24795         $(SET_LIB_PATH) \
24796         $(NORMAL_TARGET_EXPORTS) \
24797         echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24798         for flag in $(EXTRA_TARGET_FLAGS); do \
24799           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24800         done; \
24801         (cd $(TARGET_SUBDIR)/libiberty && \
24802           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24803                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24804                   "RANLIB=$${RANLIB}" \
24805                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24806                    dvi) \
24807           || exit 1
24808
24809 @endif target-libiberty
24810
24811 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24812 maybe-TAGS-target-libiberty:
24813 @if target-libiberty
24814 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24815
24816 TAGS-target-libiberty: \
24817     configure-target-libiberty 
24818         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24819         r=`${PWD_COMMAND}`; export r; \
24820         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24821         $(SET_LIB_PATH) \
24822         $(NORMAL_TARGET_EXPORTS) \
24823         echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24824         for flag in $(EXTRA_TARGET_FLAGS); do \
24825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24826         done; \
24827         (cd $(TARGET_SUBDIR)/libiberty && \
24828           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24829                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24830                   "RANLIB=$${RANLIB}" \
24831                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24832                    TAGS) \
24833           || exit 1
24834
24835 @endif target-libiberty
24836
24837 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24838 maybe-install-info-target-libiberty:
24839 @if target-libiberty
24840 maybe-install-info-target-libiberty: install-info-target-libiberty
24841
24842 install-info-target-libiberty: \
24843     configure-target-libiberty \
24844     info-target-libiberty 
24845         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24846         r=`${PWD_COMMAND}`; export r; \
24847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24848         $(SET_LIB_PATH) \
24849         $(NORMAL_TARGET_EXPORTS) \
24850         echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24851         for flag in $(EXTRA_TARGET_FLAGS); do \
24852           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24853         done; \
24854         (cd $(TARGET_SUBDIR)/libiberty && \
24855           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24856                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24857                   "RANLIB=$${RANLIB}" \
24858                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24859                    install-info) \
24860           || exit 1
24861
24862 @endif target-libiberty
24863
24864 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24865 maybe-installcheck-target-libiberty:
24866 @if target-libiberty
24867 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24868
24869 installcheck-target-libiberty: \
24870     configure-target-libiberty 
24871         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24872         r=`${PWD_COMMAND}`; export r; \
24873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24874         $(SET_LIB_PATH) \
24875         $(NORMAL_TARGET_EXPORTS) \
24876         echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24877         for flag in $(EXTRA_TARGET_FLAGS); do \
24878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24879         done; \
24880         (cd $(TARGET_SUBDIR)/libiberty && \
24881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883                   "RANLIB=$${RANLIB}" \
24884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24885                    installcheck) \
24886           || exit 1
24887
24888 @endif target-libiberty
24889
24890 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24891 maybe-mostlyclean-target-libiberty:
24892 @if target-libiberty
24893 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24894
24895 mostlyclean-target-libiberty: 
24896         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24897         r=`${PWD_COMMAND}`; export r; \
24898         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24899         $(SET_LIB_PATH) \
24900         $(NORMAL_TARGET_EXPORTS) \
24901         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24902         for flag in $(EXTRA_TARGET_FLAGS); do \
24903           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24904         done; \
24905         (cd $(TARGET_SUBDIR)/libiberty && \
24906           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24907                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24908                   "RANLIB=$${RANLIB}" \
24909                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24910                    mostlyclean) \
24911           || exit 1
24912
24913 @endif target-libiberty
24914
24915 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24916 maybe-clean-target-libiberty:
24917 @if target-libiberty
24918 maybe-clean-target-libiberty: clean-target-libiberty
24919
24920 clean-target-libiberty: 
24921         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24922         r=`${PWD_COMMAND}`; export r; \
24923         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24924         $(SET_LIB_PATH) \
24925         $(NORMAL_TARGET_EXPORTS) \
24926         echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24927         for flag in $(EXTRA_TARGET_FLAGS); do \
24928           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24929         done; \
24930         (cd $(TARGET_SUBDIR)/libiberty && \
24931           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24932                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24933                   "RANLIB=$${RANLIB}" \
24934                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24935                    clean) \
24936           || exit 1
24937
24938 @endif target-libiberty
24939
24940 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24941 maybe-distclean-target-libiberty:
24942 @if target-libiberty
24943 maybe-distclean-target-libiberty: distclean-target-libiberty
24944
24945 distclean-target-libiberty: 
24946         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24947         r=`${PWD_COMMAND}`; export r; \
24948         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24949         $(SET_LIB_PATH) \
24950         $(NORMAL_TARGET_EXPORTS) \
24951         echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24952         for flag in $(EXTRA_TARGET_FLAGS); do \
24953           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24954         done; \
24955         (cd $(TARGET_SUBDIR)/libiberty && \
24956           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24957                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24958                   "RANLIB=$${RANLIB}" \
24959                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24960                    distclean) \
24961           || exit 1
24962
24963 @endif target-libiberty
24964
24965 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24966 maybe-maintainer-clean-target-libiberty:
24967 @if target-libiberty
24968 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24969
24970 maintainer-clean-target-libiberty: 
24971         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24972         r=`${PWD_COMMAND}`; export r; \
24973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24974         $(SET_LIB_PATH) \
24975         $(NORMAL_TARGET_EXPORTS) \
24976         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24977         for flag in $(EXTRA_TARGET_FLAGS); do \
24978           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24979         done; \
24980         (cd $(TARGET_SUBDIR)/libiberty && \
24981           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24982                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24983                   "RANLIB=$${RANLIB}" \
24984                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24985                    maintainer-clean) \
24986           || exit 1
24987
24988 @endif target-libiberty
24989
24990
24991 .PHONY: configure-target-gperf maybe-configure-target-gperf
24992 maybe-configure-target-gperf:
24993 @if target-gperf
24994 maybe-configure-target-gperf: configure-target-gperf
24995
24996 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24997 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24998         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24999         rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25000         cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25001
25002 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25003         @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25004         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25005         r=`${PWD_COMMAND}`; export r; \
25006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25007         $(SET_LIB_PATH) \
25008         $(NORMAL_TARGET_EXPORTS) \
25009         echo Configuring in $(TARGET_SUBDIR)/gperf; \
25010         cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25011         case $(srcdir) in \
25012           /* | [A-Za-z]:[\\/]*) \
25013             topdir=$(srcdir) ;; \
25014           *) \
25015             case "$(TARGET_SUBDIR)" in \
25016               .) topdir="../$(srcdir)" ;; \
25017               *) topdir="../../$(srcdir)" ;; \
25018             esac ;; \
25019         esac; \
25020           srcdiroption="--srcdir=$${topdir}/gperf"; \
25021           libsrcdir="$$s/gperf"; \
25022         rm -f no-such-file || : ; \
25023         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25024           $(TARGET_CONFIGARGS) $${srcdiroption} \
25025           --with-target-subdir="$(TARGET_SUBDIR)"  \
25026           || exit 1
25027 @endif target-gperf
25028
25029 .PHONY: all-target-gperf maybe-all-target-gperf
25030 maybe-all-target-gperf:
25031 @if target-gperf
25032 TARGET-target-gperf=all
25033 maybe-all-target-gperf: all-target-gperf
25034 all-target-gperf: configure-target-gperf
25035         @r=`${PWD_COMMAND}`; export r; \
25036         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25037         $(SET_LIB_PATH) \
25038         $(NORMAL_TARGET_EXPORTS) \
25039         (cd $(TARGET_SUBDIR)/gperf && \
25040           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-gperf))
25041 @endif target-gperf
25042
25043 .PHONY: check-target-gperf maybe-check-target-gperf
25044 maybe-check-target-gperf:
25045 @if target-gperf
25046 maybe-check-target-gperf: check-target-gperf
25047
25048 check-target-gperf:
25049         @r=`${PWD_COMMAND}`; export r; \
25050         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25051         $(SET_LIB_PATH) \
25052         $(NORMAL_TARGET_EXPORTS) \
25053         (cd $(TARGET_SUBDIR)/gperf && \
25054           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
25055
25056 @endif target-gperf
25057
25058 .PHONY: install-target-gperf maybe-install-target-gperf
25059 maybe-install-target-gperf:
25060 @if target-gperf
25061 maybe-install-target-gperf: install-target-gperf
25062
25063 install-target-gperf: installdirs
25064         @r=`${PWD_COMMAND}`; export r; \
25065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25066         $(SET_LIB_PATH) \
25067         $(NORMAL_TARGET_EXPORTS) \
25068         (cd $(TARGET_SUBDIR)/gperf && \
25069           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25070
25071 @endif target-gperf
25072
25073 # Other targets (info, dvi, etc.)
25074
25075 .PHONY: maybe-info-target-gperf info-target-gperf
25076 maybe-info-target-gperf:
25077 @if target-gperf
25078 maybe-info-target-gperf: info-target-gperf
25079
25080 info-target-gperf: \
25081     configure-target-gperf 
25082         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25083         r=`${PWD_COMMAND}`; export r; \
25084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25085         $(SET_LIB_PATH) \
25086         $(NORMAL_TARGET_EXPORTS) \
25087         echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25088         for flag in $(EXTRA_TARGET_FLAGS); do \
25089           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25090         done; \
25091         (cd $(TARGET_SUBDIR)/gperf && \
25092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25094                   "RANLIB=$${RANLIB}" \
25095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25096                    info) \
25097           || exit 1
25098
25099 @endif target-gperf
25100
25101 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25102 maybe-dvi-target-gperf:
25103 @if target-gperf
25104 maybe-dvi-target-gperf: dvi-target-gperf
25105
25106 dvi-target-gperf: \
25107     configure-target-gperf 
25108         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25109         r=`${PWD_COMMAND}`; export r; \
25110         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25111         $(SET_LIB_PATH) \
25112         $(NORMAL_TARGET_EXPORTS) \
25113         echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25114         for flag in $(EXTRA_TARGET_FLAGS); do \
25115           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25116         done; \
25117         (cd $(TARGET_SUBDIR)/gperf && \
25118           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25119                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25120                   "RANLIB=$${RANLIB}" \
25121                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25122                    dvi) \
25123           || exit 1
25124
25125 @endif target-gperf
25126
25127 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25128 maybe-TAGS-target-gperf:
25129 @if target-gperf
25130 maybe-TAGS-target-gperf: TAGS-target-gperf
25131
25132 TAGS-target-gperf: \
25133     configure-target-gperf 
25134         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25135         r=`${PWD_COMMAND}`; export r; \
25136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25137         $(SET_LIB_PATH) \
25138         $(NORMAL_TARGET_EXPORTS) \
25139         echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25140         for flag in $(EXTRA_TARGET_FLAGS); do \
25141           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25142         done; \
25143         (cd $(TARGET_SUBDIR)/gperf && \
25144           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25145                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25146                   "RANLIB=$${RANLIB}" \
25147                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25148                    TAGS) \
25149           || exit 1
25150
25151 @endif target-gperf
25152
25153 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25154 maybe-install-info-target-gperf:
25155 @if target-gperf
25156 maybe-install-info-target-gperf: install-info-target-gperf
25157
25158 install-info-target-gperf: \
25159     configure-target-gperf \
25160     info-target-gperf 
25161         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25162         r=`${PWD_COMMAND}`; export r; \
25163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25164         $(SET_LIB_PATH) \
25165         $(NORMAL_TARGET_EXPORTS) \
25166         echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25167         for flag in $(EXTRA_TARGET_FLAGS); do \
25168           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25169         done; \
25170         (cd $(TARGET_SUBDIR)/gperf && \
25171           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25172                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25173                   "RANLIB=$${RANLIB}" \
25174                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25175                    install-info) \
25176           || exit 1
25177
25178 @endif target-gperf
25179
25180 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25181 maybe-installcheck-target-gperf:
25182 @if target-gperf
25183 maybe-installcheck-target-gperf: installcheck-target-gperf
25184
25185 installcheck-target-gperf: \
25186     configure-target-gperf 
25187         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25188         r=`${PWD_COMMAND}`; export r; \
25189         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25190         $(SET_LIB_PATH) \
25191         $(NORMAL_TARGET_EXPORTS) \
25192         echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25193         for flag in $(EXTRA_TARGET_FLAGS); do \
25194           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25195         done; \
25196         (cd $(TARGET_SUBDIR)/gperf && \
25197           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25198                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25199                   "RANLIB=$${RANLIB}" \
25200                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25201                    installcheck) \
25202           || exit 1
25203
25204 @endif target-gperf
25205
25206 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25207 maybe-mostlyclean-target-gperf:
25208 @if target-gperf
25209 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25210
25211 mostlyclean-target-gperf: 
25212         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25213         r=`${PWD_COMMAND}`; export r; \
25214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25215         $(SET_LIB_PATH) \
25216         $(NORMAL_TARGET_EXPORTS) \
25217         echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25218         for flag in $(EXTRA_TARGET_FLAGS); do \
25219           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25220         done; \
25221         (cd $(TARGET_SUBDIR)/gperf && \
25222           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25223                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25224                   "RANLIB=$${RANLIB}" \
25225                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25226                    mostlyclean) \
25227           || exit 1
25228
25229 @endif target-gperf
25230
25231 .PHONY: maybe-clean-target-gperf clean-target-gperf
25232 maybe-clean-target-gperf:
25233 @if target-gperf
25234 maybe-clean-target-gperf: clean-target-gperf
25235
25236 clean-target-gperf: 
25237         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25238         r=`${PWD_COMMAND}`; export r; \
25239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25240         $(SET_LIB_PATH) \
25241         $(NORMAL_TARGET_EXPORTS) \
25242         echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25243         for flag in $(EXTRA_TARGET_FLAGS); do \
25244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25245         done; \
25246         (cd $(TARGET_SUBDIR)/gperf && \
25247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25249                   "RANLIB=$${RANLIB}" \
25250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25251                    clean) \
25252           || exit 1
25253
25254 @endif target-gperf
25255
25256 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25257 maybe-distclean-target-gperf:
25258 @if target-gperf
25259 maybe-distclean-target-gperf: distclean-target-gperf
25260
25261 distclean-target-gperf: 
25262         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25263         r=`${PWD_COMMAND}`; export r; \
25264         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265         $(SET_LIB_PATH) \
25266         $(NORMAL_TARGET_EXPORTS) \
25267         echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25268         for flag in $(EXTRA_TARGET_FLAGS); do \
25269           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25270         done; \
25271         (cd $(TARGET_SUBDIR)/gperf && \
25272           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25273                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25274                   "RANLIB=$${RANLIB}" \
25275                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25276                    distclean) \
25277           || exit 1
25278
25279 @endif target-gperf
25280
25281 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25282 maybe-maintainer-clean-target-gperf:
25283 @if target-gperf
25284 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25285
25286 maintainer-clean-target-gperf: 
25287         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25288         r=`${PWD_COMMAND}`; export r; \
25289         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25290         $(SET_LIB_PATH) \
25291         $(NORMAL_TARGET_EXPORTS) \
25292         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25293         for flag in $(EXTRA_TARGET_FLAGS); do \
25294           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25295         done; \
25296         (cd $(TARGET_SUBDIR)/gperf && \
25297           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25298                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25299                   "RANLIB=$${RANLIB}" \
25300                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25301                    maintainer-clean) \
25302           || exit 1
25303
25304 @endif target-gperf
25305
25306
25307 .PHONY: configure-target-examples maybe-configure-target-examples
25308 maybe-configure-target-examples:
25309 @if target-examples
25310 maybe-configure-target-examples: configure-target-examples
25311
25312 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25313 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25314         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25315         rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25316         cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25317
25318 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25319         @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25320         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25321         r=`${PWD_COMMAND}`; export r; \
25322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323         $(SET_LIB_PATH) \
25324         $(NORMAL_TARGET_EXPORTS) \
25325         echo Configuring in $(TARGET_SUBDIR)/examples; \
25326         cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25327         case $(srcdir) in \
25328           /* | [A-Za-z]:[\\/]*) \
25329             topdir=$(srcdir) ;; \
25330           *) \
25331             case "$(TARGET_SUBDIR)" in \
25332               .) topdir="../$(srcdir)" ;; \
25333               *) topdir="../../$(srcdir)" ;; \
25334             esac ;; \
25335         esac; \
25336           srcdiroption="--srcdir=$${topdir}/examples"; \
25337           libsrcdir="$$s/examples"; \
25338         rm -f no-such-file || : ; \
25339         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25340           $(TARGET_CONFIGARGS) $${srcdiroption} \
25341           --with-target-subdir="$(TARGET_SUBDIR)"  \
25342           || exit 1
25343 @endif target-examples
25344
25345 .PHONY: all-target-examples maybe-all-target-examples
25346 maybe-all-target-examples:
25347 @if target-examples
25348 TARGET-target-examples=all
25349 maybe-all-target-examples: all-target-examples
25350 all-target-examples: configure-target-examples
25351         @r=`${PWD_COMMAND}`; export r; \
25352         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25353         $(SET_LIB_PATH) \
25354         $(NORMAL_TARGET_EXPORTS) \
25355         (cd $(TARGET_SUBDIR)/examples && \
25356           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-examples))
25357 @endif target-examples
25358
25359 .PHONY: check-target-examples maybe-check-target-examples
25360 maybe-check-target-examples:
25361 @if target-examples
25362 maybe-check-target-examples: check-target-examples
25363
25364 # Dummy target for uncheckable module.
25365 check-target-examples:
25366
25367 @endif target-examples
25368
25369 .PHONY: install-target-examples maybe-install-target-examples
25370 maybe-install-target-examples:
25371 @if target-examples
25372 maybe-install-target-examples: install-target-examples
25373
25374 # Dummy target for uninstallable.
25375 install-target-examples:
25376
25377 @endif target-examples
25378
25379 # Other targets (info, dvi, etc.)
25380
25381 .PHONY: maybe-info-target-examples info-target-examples
25382 maybe-info-target-examples:
25383 @if target-examples
25384 maybe-info-target-examples: info-target-examples
25385
25386 info-target-examples: \
25387     configure-target-examples 
25388         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25389         r=`${PWD_COMMAND}`; export r; \
25390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25391         $(SET_LIB_PATH) \
25392         $(NORMAL_TARGET_EXPORTS) \
25393         echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25394         for flag in $(EXTRA_TARGET_FLAGS); do \
25395           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25396         done; \
25397         (cd $(TARGET_SUBDIR)/examples && \
25398           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25399                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25400                   "RANLIB=$${RANLIB}" \
25401                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25402                    info) \
25403           || exit 1
25404
25405 @endif target-examples
25406
25407 .PHONY: maybe-dvi-target-examples dvi-target-examples
25408 maybe-dvi-target-examples:
25409 @if target-examples
25410 maybe-dvi-target-examples: dvi-target-examples
25411
25412 dvi-target-examples: \
25413     configure-target-examples 
25414         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25415         r=`${PWD_COMMAND}`; export r; \
25416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417         $(SET_LIB_PATH) \
25418         $(NORMAL_TARGET_EXPORTS) \
25419         echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25420         for flag in $(EXTRA_TARGET_FLAGS); do \
25421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25422         done; \
25423         (cd $(TARGET_SUBDIR)/examples && \
25424           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25425                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25426                   "RANLIB=$${RANLIB}" \
25427                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25428                    dvi) \
25429           || exit 1
25430
25431 @endif target-examples
25432
25433 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25434 maybe-TAGS-target-examples:
25435 @if target-examples
25436 maybe-TAGS-target-examples: TAGS-target-examples
25437
25438 TAGS-target-examples: \
25439     configure-target-examples 
25440         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25441         r=`${PWD_COMMAND}`; export r; \
25442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25443         $(SET_LIB_PATH) \
25444         $(NORMAL_TARGET_EXPORTS) \
25445         echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25446         for flag in $(EXTRA_TARGET_FLAGS); do \
25447           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25448         done; \
25449         (cd $(TARGET_SUBDIR)/examples && \
25450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25452                   "RANLIB=$${RANLIB}" \
25453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25454                    TAGS) \
25455           || exit 1
25456
25457 @endif target-examples
25458
25459 .PHONY: maybe-install-info-target-examples install-info-target-examples
25460 maybe-install-info-target-examples:
25461 @if target-examples
25462 maybe-install-info-target-examples: install-info-target-examples
25463
25464 install-info-target-examples: \
25465     configure-target-examples \
25466     info-target-examples 
25467         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25468         r=`${PWD_COMMAND}`; export r; \
25469         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25470         $(SET_LIB_PATH) \
25471         $(NORMAL_TARGET_EXPORTS) \
25472         echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25473         for flag in $(EXTRA_TARGET_FLAGS); do \
25474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25475         done; \
25476         (cd $(TARGET_SUBDIR)/examples && \
25477           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25478                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25479                   "RANLIB=$${RANLIB}" \
25480                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25481                    install-info) \
25482           || exit 1
25483
25484 @endif target-examples
25485
25486 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25487 maybe-installcheck-target-examples:
25488 @if target-examples
25489 maybe-installcheck-target-examples: installcheck-target-examples
25490
25491 installcheck-target-examples: \
25492     configure-target-examples 
25493         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25494         r=`${PWD_COMMAND}`; export r; \
25495         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25496         $(SET_LIB_PATH) \
25497         $(NORMAL_TARGET_EXPORTS) \
25498         echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25499         for flag in $(EXTRA_TARGET_FLAGS); do \
25500           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25501         done; \
25502         (cd $(TARGET_SUBDIR)/examples && \
25503           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25504                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25505                   "RANLIB=$${RANLIB}" \
25506                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25507                    installcheck) \
25508           || exit 1
25509
25510 @endif target-examples
25511
25512 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25513 maybe-mostlyclean-target-examples:
25514 @if target-examples
25515 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25516
25517 mostlyclean-target-examples: 
25518         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25519         r=`${PWD_COMMAND}`; export r; \
25520         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25521         $(SET_LIB_PATH) \
25522         $(NORMAL_TARGET_EXPORTS) \
25523         echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25524         for flag in $(EXTRA_TARGET_FLAGS); do \
25525           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25526         done; \
25527         (cd $(TARGET_SUBDIR)/examples && \
25528           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25529                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25530                   "RANLIB=$${RANLIB}" \
25531                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25532                    mostlyclean) \
25533           || exit 1
25534
25535 @endif target-examples
25536
25537 .PHONY: maybe-clean-target-examples clean-target-examples
25538 maybe-clean-target-examples:
25539 @if target-examples
25540 maybe-clean-target-examples: clean-target-examples
25541
25542 clean-target-examples: 
25543         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25544         r=`${PWD_COMMAND}`; export r; \
25545         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25546         $(SET_LIB_PATH) \
25547         $(NORMAL_TARGET_EXPORTS) \
25548         echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25549         for flag in $(EXTRA_TARGET_FLAGS); do \
25550           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25551         done; \
25552         (cd $(TARGET_SUBDIR)/examples && \
25553           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25554                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25555                   "RANLIB=$${RANLIB}" \
25556                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25557                    clean) \
25558           || exit 1
25559
25560 @endif target-examples
25561
25562 .PHONY: maybe-distclean-target-examples distclean-target-examples
25563 maybe-distclean-target-examples:
25564 @if target-examples
25565 maybe-distclean-target-examples: distclean-target-examples
25566
25567 distclean-target-examples: 
25568         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25569         r=`${PWD_COMMAND}`; export r; \
25570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25571         $(SET_LIB_PATH) \
25572         $(NORMAL_TARGET_EXPORTS) \
25573         echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25574         for flag in $(EXTRA_TARGET_FLAGS); do \
25575           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25576         done; \
25577         (cd $(TARGET_SUBDIR)/examples && \
25578           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25579                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25580                   "RANLIB=$${RANLIB}" \
25581                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25582                    distclean) \
25583           || exit 1
25584
25585 @endif target-examples
25586
25587 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25588 maybe-maintainer-clean-target-examples:
25589 @if target-examples
25590 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25591
25592 maintainer-clean-target-examples: 
25593         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25594         r=`${PWD_COMMAND}`; export r; \
25595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25596         $(SET_LIB_PATH) \
25597         $(NORMAL_TARGET_EXPORTS) \
25598         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25599         for flag in $(EXTRA_TARGET_FLAGS); do \
25600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25601         done; \
25602         (cd $(TARGET_SUBDIR)/examples && \
25603           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25604                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25605                   "RANLIB=$${RANLIB}" \
25606                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25607                    maintainer-clean) \
25608           || exit 1
25609
25610 @endif target-examples
25611
25612
25613 .PHONY: configure-target-libffi maybe-configure-target-libffi
25614 maybe-configure-target-libffi:
25615 @if target-libffi
25616 maybe-configure-target-libffi: configure-target-libffi
25617
25618 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25619 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25620         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25621         rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25622         cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25623
25624 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25625         @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25626         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25627         r=`${PWD_COMMAND}`; export r; \
25628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25629         $(SET_LIB_PATH) \
25630         $(NORMAL_TARGET_EXPORTS) \
25631         echo Configuring in $(TARGET_SUBDIR)/libffi; \
25632         cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25633         case $(srcdir) in \
25634           /* | [A-Za-z]:[\\/]*) \
25635             topdir=$(srcdir) ;; \
25636           *) \
25637             case "$(TARGET_SUBDIR)" in \
25638               .) topdir="../$(srcdir)" ;; \
25639               *) topdir="../../$(srcdir)" ;; \
25640             esac ;; \
25641         esac; \
25642           srcdiroption="--srcdir=$${topdir}/libffi"; \
25643           libsrcdir="$$s/libffi"; \
25644         rm -f no-such-file || : ; \
25645         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25646           $(TARGET_CONFIGARGS) $${srcdiroption} \
25647           --with-target-subdir="$(TARGET_SUBDIR)"  \
25648           || exit 1
25649 @endif target-libffi
25650
25651 .PHONY: all-target-libffi maybe-all-target-libffi
25652 maybe-all-target-libffi:
25653 @if target-libffi
25654 TARGET-target-libffi=all
25655 maybe-all-target-libffi: all-target-libffi
25656 all-target-libffi: configure-target-libffi
25657         @r=`${PWD_COMMAND}`; export r; \
25658         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25659         $(SET_LIB_PATH) \
25660         $(NORMAL_TARGET_EXPORTS) \
25661         (cd $(TARGET_SUBDIR)/libffi && \
25662           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libffi))
25663 @endif target-libffi
25664
25665 .PHONY: check-target-libffi maybe-check-target-libffi
25666 maybe-check-target-libffi:
25667 @if target-libffi
25668 maybe-check-target-libffi: check-target-libffi
25669
25670 check-target-libffi:
25671         @r=`${PWD_COMMAND}`; export r; \
25672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673         $(SET_LIB_PATH) \
25674         $(NORMAL_TARGET_EXPORTS) \
25675         (cd $(TARGET_SUBDIR)/libffi && \
25676           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
25677
25678 @endif target-libffi
25679
25680 .PHONY: install-target-libffi maybe-install-target-libffi
25681 maybe-install-target-libffi:
25682 @if target-libffi
25683 maybe-install-target-libffi: install-target-libffi
25684
25685 install-target-libffi: installdirs
25686         @r=`${PWD_COMMAND}`; export r; \
25687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25688         $(SET_LIB_PATH) \
25689         $(NORMAL_TARGET_EXPORTS) \
25690         (cd $(TARGET_SUBDIR)/libffi && \
25691           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25692
25693 @endif target-libffi
25694
25695 # Other targets (info, dvi, etc.)
25696
25697 .PHONY: maybe-info-target-libffi info-target-libffi
25698 maybe-info-target-libffi:
25699 @if target-libffi
25700 maybe-info-target-libffi: info-target-libffi
25701
25702 info-target-libffi: \
25703     configure-target-libffi 
25704         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25705         r=`${PWD_COMMAND}`; export r; \
25706         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25707         $(SET_LIB_PATH) \
25708         $(NORMAL_TARGET_EXPORTS) \
25709         echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25710         for flag in $(EXTRA_TARGET_FLAGS); do \
25711           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25712         done; \
25713         (cd $(TARGET_SUBDIR)/libffi && \
25714           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25715                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25716                   "RANLIB=$${RANLIB}" \
25717                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25718                    info) \
25719           || exit 1
25720
25721 @endif target-libffi
25722
25723 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25724 maybe-dvi-target-libffi:
25725 @if target-libffi
25726 maybe-dvi-target-libffi: dvi-target-libffi
25727
25728 dvi-target-libffi: \
25729     configure-target-libffi 
25730         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25731         r=`${PWD_COMMAND}`; export r; \
25732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25733         $(SET_LIB_PATH) \
25734         $(NORMAL_TARGET_EXPORTS) \
25735         echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25736         for flag in $(EXTRA_TARGET_FLAGS); do \
25737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25738         done; \
25739         (cd $(TARGET_SUBDIR)/libffi && \
25740           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25741                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25742                   "RANLIB=$${RANLIB}" \
25743                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25744                    dvi) \
25745           || exit 1
25746
25747 @endif target-libffi
25748
25749 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25750 maybe-TAGS-target-libffi:
25751 @if target-libffi
25752 maybe-TAGS-target-libffi: TAGS-target-libffi
25753
25754 TAGS-target-libffi: \
25755     configure-target-libffi 
25756         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25757         r=`${PWD_COMMAND}`; export r; \
25758         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25759         $(SET_LIB_PATH) \
25760         $(NORMAL_TARGET_EXPORTS) \
25761         echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25762         for flag in $(EXTRA_TARGET_FLAGS); do \
25763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25764         done; \
25765         (cd $(TARGET_SUBDIR)/libffi && \
25766           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25767                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25768                   "RANLIB=$${RANLIB}" \
25769                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25770                    TAGS) \
25771           || exit 1
25772
25773 @endif target-libffi
25774
25775 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25776 maybe-install-info-target-libffi:
25777 @if target-libffi
25778 maybe-install-info-target-libffi: install-info-target-libffi
25779
25780 install-info-target-libffi: \
25781     configure-target-libffi \
25782     info-target-libffi 
25783         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25784         r=`${PWD_COMMAND}`; export r; \
25785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25786         $(SET_LIB_PATH) \
25787         $(NORMAL_TARGET_EXPORTS) \
25788         echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25789         for flag in $(EXTRA_TARGET_FLAGS); do \
25790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25791         done; \
25792         (cd $(TARGET_SUBDIR)/libffi && \
25793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25795                   "RANLIB=$${RANLIB}" \
25796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25797                    install-info) \
25798           || exit 1
25799
25800 @endif target-libffi
25801
25802 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25803 maybe-installcheck-target-libffi:
25804 @if target-libffi
25805 maybe-installcheck-target-libffi: installcheck-target-libffi
25806
25807 installcheck-target-libffi: \
25808     configure-target-libffi 
25809         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25810         r=`${PWD_COMMAND}`; export r; \
25811         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812         $(SET_LIB_PATH) \
25813         $(NORMAL_TARGET_EXPORTS) \
25814         echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25815         for flag in $(EXTRA_TARGET_FLAGS); do \
25816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25817         done; \
25818         (cd $(TARGET_SUBDIR)/libffi && \
25819           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25820                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25821                   "RANLIB=$${RANLIB}" \
25822                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25823                    installcheck) \
25824           || exit 1
25825
25826 @endif target-libffi
25827
25828 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25829 maybe-mostlyclean-target-libffi:
25830 @if target-libffi
25831 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25832
25833 mostlyclean-target-libffi: 
25834         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25835         r=`${PWD_COMMAND}`; export r; \
25836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837         $(SET_LIB_PATH) \
25838         $(NORMAL_TARGET_EXPORTS) \
25839         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25840         for flag in $(EXTRA_TARGET_FLAGS); do \
25841           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25842         done; \
25843         (cd $(TARGET_SUBDIR)/libffi && \
25844           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846                   "RANLIB=$${RANLIB}" \
25847                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25848                    mostlyclean) \
25849           || exit 1
25850
25851 @endif target-libffi
25852
25853 .PHONY: maybe-clean-target-libffi clean-target-libffi
25854 maybe-clean-target-libffi:
25855 @if target-libffi
25856 maybe-clean-target-libffi: clean-target-libffi
25857
25858 clean-target-libffi: 
25859         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25860         r=`${PWD_COMMAND}`; export r; \
25861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862         $(SET_LIB_PATH) \
25863         $(NORMAL_TARGET_EXPORTS) \
25864         echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25865         for flag in $(EXTRA_TARGET_FLAGS); do \
25866           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867         done; \
25868         (cd $(TARGET_SUBDIR)/libffi && \
25869           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871                   "RANLIB=$${RANLIB}" \
25872                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25873                    clean) \
25874           || exit 1
25875
25876 @endif target-libffi
25877
25878 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25879 maybe-distclean-target-libffi:
25880 @if target-libffi
25881 maybe-distclean-target-libffi: distclean-target-libffi
25882
25883 distclean-target-libffi: 
25884         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25885         r=`${PWD_COMMAND}`; export r; \
25886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887         $(SET_LIB_PATH) \
25888         $(NORMAL_TARGET_EXPORTS) \
25889         echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25890         for flag in $(EXTRA_TARGET_FLAGS); do \
25891           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25892         done; \
25893         (cd $(TARGET_SUBDIR)/libffi && \
25894           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25895                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25896                   "RANLIB=$${RANLIB}" \
25897                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25898                    distclean) \
25899           || exit 1
25900
25901 @endif target-libffi
25902
25903 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25904 maybe-maintainer-clean-target-libffi:
25905 @if target-libffi
25906 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25907
25908 maintainer-clean-target-libffi: 
25909         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25910         r=`${PWD_COMMAND}`; export r; \
25911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912         $(SET_LIB_PATH) \
25913         $(NORMAL_TARGET_EXPORTS) \
25914         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25915         for flag in $(EXTRA_TARGET_FLAGS); do \
25916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25917         done; \
25918         (cd $(TARGET_SUBDIR)/libffi && \
25919           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25920                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25921                   "RANLIB=$${RANLIB}" \
25922                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25923                    maintainer-clean) \
25924           || exit 1
25925
25926 @endif target-libffi
25927
25928
25929 .PHONY: configure-target-libjava maybe-configure-target-libjava
25930 maybe-configure-target-libjava:
25931 @if target-libjava
25932 maybe-configure-target-libjava: configure-target-libjava
25933
25934 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25935 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25936         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25937         rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25938         cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25939
25940 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25941         @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25942         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25943         r=`${PWD_COMMAND}`; export r; \
25944         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25945         $(SET_LIB_PATH) \
25946         $(RAW_CXX_TARGET_EXPORTS) \
25947         echo Configuring in $(TARGET_SUBDIR)/libjava; \
25948         cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25949         case $(srcdir) in \
25950           /* | [A-Za-z]:[\\/]*) \
25951             topdir=$(srcdir) ;; \
25952           *) \
25953             case "$(TARGET_SUBDIR)" in \
25954               .) topdir="../$(srcdir)" ;; \
25955               *) topdir="../../$(srcdir)" ;; \
25956             esac ;; \
25957         esac; \
25958           srcdiroption="--srcdir=$${topdir}/libjava"; \
25959           libsrcdir="$$s/libjava"; \
25960         rm -f no-such-file || : ; \
25961         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25962           $(TARGET_CONFIGARGS) $${srcdiroption} \
25963           --with-target-subdir="$(TARGET_SUBDIR)"  \
25964           || exit 1
25965 @endif target-libjava
25966
25967 .PHONY: all-target-libjava maybe-all-target-libjava
25968 maybe-all-target-libjava:
25969 @if target-libjava
25970 TARGET-target-libjava=all
25971 maybe-all-target-libjava: all-target-libjava
25972 all-target-libjava: configure-target-libjava
25973         @r=`${PWD_COMMAND}`; export r; \
25974         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25975         $(SET_LIB_PATH) \
25976         $(RAW_CXX_TARGET_EXPORTS) \
25977         (cd $(TARGET_SUBDIR)/libjava && \
25978           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   $(TARGET-target-libjava))
25979 @endif target-libjava
25980
25981 .PHONY: check-target-libjava maybe-check-target-libjava
25982 maybe-check-target-libjava:
25983 @if target-libjava
25984 maybe-check-target-libjava: check-target-libjava
25985
25986 check-target-libjava:
25987         @r=`${PWD_COMMAND}`; export r; \
25988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25989         $(SET_LIB_PATH) \
25990         $(RAW_CXX_TARGET_EXPORTS) \
25991         (cd $(TARGET_SUBDIR)/libjava && \
25992           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
25993
25994 @endif target-libjava
25995
25996 .PHONY: install-target-libjava maybe-install-target-libjava
25997 maybe-install-target-libjava:
25998 @if target-libjava
25999 maybe-install-target-libjava: install-target-libjava
26000
26001 install-target-libjava: installdirs
26002         @r=`${PWD_COMMAND}`; export r; \
26003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26004         $(SET_LIB_PATH) \
26005         $(RAW_CXX_TARGET_EXPORTS) \
26006         (cd $(TARGET_SUBDIR)/libjava && \
26007           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26008
26009 @endif target-libjava
26010
26011 # Other targets (info, dvi, etc.)
26012
26013 .PHONY: maybe-info-target-libjava info-target-libjava
26014 maybe-info-target-libjava:
26015 @if target-libjava
26016 maybe-info-target-libjava: info-target-libjava
26017
26018 info-target-libjava: \
26019     configure-target-libjava 
26020         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26021         r=`${PWD_COMMAND}`; export r; \
26022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023         $(SET_LIB_PATH) \
26024         $(RAW_CXX_TARGET_EXPORTS) \
26025         echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26026         for flag in $(EXTRA_TARGET_FLAGS); do \
26027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26028         done; \
26029         (cd $(TARGET_SUBDIR)/libjava && \
26030           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26031                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26032                   "RANLIB=$${RANLIB}" \
26033                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26034                    info) \
26035           || exit 1
26036
26037 @endif target-libjava
26038
26039 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26040 maybe-dvi-target-libjava:
26041 @if target-libjava
26042 maybe-dvi-target-libjava: dvi-target-libjava
26043
26044 dvi-target-libjava: \
26045     configure-target-libjava 
26046         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26047         r=`${PWD_COMMAND}`; export r; \
26048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049         $(SET_LIB_PATH) \
26050         $(RAW_CXX_TARGET_EXPORTS) \
26051         echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26052         for flag in $(EXTRA_TARGET_FLAGS); do \
26053           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26054         done; \
26055         (cd $(TARGET_SUBDIR)/libjava && \
26056           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26057                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26058                   "RANLIB=$${RANLIB}" \
26059                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26060                    dvi) \
26061           || exit 1
26062
26063 @endif target-libjava
26064
26065 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26066 maybe-TAGS-target-libjava:
26067 @if target-libjava
26068 maybe-TAGS-target-libjava: TAGS-target-libjava
26069
26070 TAGS-target-libjava: \
26071     configure-target-libjava 
26072         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26073         r=`${PWD_COMMAND}`; export r; \
26074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26075         $(SET_LIB_PATH) \
26076         $(RAW_CXX_TARGET_EXPORTS) \
26077         echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26078         for flag in $(EXTRA_TARGET_FLAGS); do \
26079           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26080         done; \
26081         (cd $(TARGET_SUBDIR)/libjava && \
26082           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26083                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26084                   "RANLIB=$${RANLIB}" \
26085                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26086                    TAGS) \
26087           || exit 1
26088
26089 @endif target-libjava
26090
26091 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26092 maybe-install-info-target-libjava:
26093 @if target-libjava
26094 maybe-install-info-target-libjava: install-info-target-libjava
26095
26096 install-info-target-libjava: \
26097     configure-target-libjava \
26098     info-target-libjava 
26099         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26100         r=`${PWD_COMMAND}`; export r; \
26101         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26102         $(SET_LIB_PATH) \
26103         $(RAW_CXX_TARGET_EXPORTS) \
26104         echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26105         for flag in $(EXTRA_TARGET_FLAGS); do \
26106           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26107         done; \
26108         (cd $(TARGET_SUBDIR)/libjava && \
26109           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26110                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26111                   "RANLIB=$${RANLIB}" \
26112                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26113                    install-info) \
26114           || exit 1
26115
26116 @endif target-libjava
26117
26118 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26119 maybe-installcheck-target-libjava:
26120 @if target-libjava
26121 maybe-installcheck-target-libjava: installcheck-target-libjava
26122
26123 installcheck-target-libjava: \
26124     configure-target-libjava 
26125         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26126         r=`${PWD_COMMAND}`; export r; \
26127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128         $(SET_LIB_PATH) \
26129         $(RAW_CXX_TARGET_EXPORTS) \
26130         echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26131         for flag in $(EXTRA_TARGET_FLAGS); do \
26132           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26133         done; \
26134         (cd $(TARGET_SUBDIR)/libjava && \
26135           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26136                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26137                   "RANLIB=$${RANLIB}" \
26138                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26139                    installcheck) \
26140           || exit 1
26141
26142 @endif target-libjava
26143
26144 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26145 maybe-mostlyclean-target-libjava:
26146 @if target-libjava
26147 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26148
26149 mostlyclean-target-libjava: 
26150         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26151         r=`${PWD_COMMAND}`; export r; \
26152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26153         $(SET_LIB_PATH) \
26154         $(RAW_CXX_TARGET_EXPORTS) \
26155         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26156         for flag in $(EXTRA_TARGET_FLAGS); do \
26157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26158         done; \
26159         (cd $(TARGET_SUBDIR)/libjava && \
26160           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26161                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26162                   "RANLIB=$${RANLIB}" \
26163                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26164                    mostlyclean) \
26165           || exit 1
26166
26167 @endif target-libjava
26168
26169 .PHONY: maybe-clean-target-libjava clean-target-libjava
26170 maybe-clean-target-libjava:
26171 @if target-libjava
26172 maybe-clean-target-libjava: clean-target-libjava
26173
26174 clean-target-libjava: 
26175         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26176         r=`${PWD_COMMAND}`; export r; \
26177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26178         $(SET_LIB_PATH) \
26179         $(RAW_CXX_TARGET_EXPORTS) \
26180         echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26181         for flag in $(EXTRA_TARGET_FLAGS); do \
26182           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26183         done; \
26184         (cd $(TARGET_SUBDIR)/libjava && \
26185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26187                   "RANLIB=$${RANLIB}" \
26188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26189                    clean) \
26190           || exit 1
26191
26192 @endif target-libjava
26193
26194 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26195 maybe-distclean-target-libjava:
26196 @if target-libjava
26197 maybe-distclean-target-libjava: distclean-target-libjava
26198
26199 distclean-target-libjava: 
26200         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26201         r=`${PWD_COMMAND}`; export r; \
26202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26203         $(SET_LIB_PATH) \
26204         $(RAW_CXX_TARGET_EXPORTS) \
26205         echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26206         for flag in $(EXTRA_TARGET_FLAGS); do \
26207           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26208         done; \
26209         (cd $(TARGET_SUBDIR)/libjava && \
26210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26212                   "RANLIB=$${RANLIB}" \
26213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26214                    distclean) \
26215           || exit 1
26216
26217 @endif target-libjava
26218
26219 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26220 maybe-maintainer-clean-target-libjava:
26221 @if target-libjava
26222 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26223
26224 maintainer-clean-target-libjava: 
26225         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26226         r=`${PWD_COMMAND}`; export r; \
26227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26228         $(SET_LIB_PATH) \
26229         $(RAW_CXX_TARGET_EXPORTS) \
26230         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26231         for flag in $(EXTRA_TARGET_FLAGS); do \
26232           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26233         done; \
26234         (cd $(TARGET_SUBDIR)/libjava && \
26235           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26236                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26237                   "RANLIB=$${RANLIB}" \
26238                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26239                    maintainer-clean) \
26240           || exit 1
26241
26242 @endif target-libjava
26243
26244
26245 .PHONY: configure-target-zlib maybe-configure-target-zlib
26246 maybe-configure-target-zlib:
26247 @if target-zlib
26248 maybe-configure-target-zlib: configure-target-zlib
26249
26250 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26251 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26252         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26253         rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26254         cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26255
26256 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26257         @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26258         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26259         r=`${PWD_COMMAND}`; export r; \
26260         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26261         $(SET_LIB_PATH) \
26262         $(NORMAL_TARGET_EXPORTS) \
26263         echo Configuring in $(TARGET_SUBDIR)/zlib; \
26264         cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26265         case $(srcdir) in \
26266           /* | [A-Za-z]:[\\/]*) \
26267             topdir=$(srcdir) ;; \
26268           *) \
26269             case "$(TARGET_SUBDIR)" in \
26270               .) topdir="../$(srcdir)" ;; \
26271               *) topdir="../../$(srcdir)" ;; \
26272             esac ;; \
26273         esac; \
26274         if [ "$(srcdir)" = "." ] ; then \
26275           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26276             if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26277               if [ -f Makefile ]; then \
26278                 if $(MAKE) distclean; then \
26279                   true; \
26280                 else \
26281                   exit 1; \
26282                 fi; \
26283               else \
26284                 true; \
26285               fi; \
26286             else \
26287               exit 1; \
26288             fi; \
26289           else \
26290             true; \
26291           fi; \
26292           srcdiroption="--srcdir=."; \
26293           libsrcdir="."; \
26294         else \
26295           srcdiroption="--srcdir=$${topdir}/zlib"; \
26296           libsrcdir="$$s/zlib"; \
26297         fi; \
26298         rm -f no-such-file || : ; \
26299         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26300           $(TARGET_CONFIGARGS) $${srcdiroption} \
26301           --with-target-subdir="$(TARGET_SUBDIR)"  \
26302           || exit 1
26303 @endif target-zlib
26304
26305 .PHONY: all-target-zlib maybe-all-target-zlib
26306 maybe-all-target-zlib:
26307 @if target-zlib
26308 TARGET-target-zlib=all
26309 maybe-all-target-zlib: all-target-zlib
26310 all-target-zlib: configure-target-zlib
26311         @r=`${PWD_COMMAND}`; export r; \
26312         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26313         $(SET_LIB_PATH) \
26314         $(NORMAL_TARGET_EXPORTS) \
26315         (cd $(TARGET_SUBDIR)/zlib && \
26316           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-zlib))
26317 @endif target-zlib
26318
26319 .PHONY: check-target-zlib maybe-check-target-zlib
26320 maybe-check-target-zlib:
26321 @if target-zlib
26322 maybe-check-target-zlib: check-target-zlib
26323
26324 check-target-zlib:
26325         @r=`${PWD_COMMAND}`; export r; \
26326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26327         $(SET_LIB_PATH) \
26328         $(NORMAL_TARGET_EXPORTS) \
26329         (cd $(TARGET_SUBDIR)/zlib && \
26330           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26331
26332 @endif target-zlib
26333
26334 .PHONY: install-target-zlib maybe-install-target-zlib
26335 maybe-install-target-zlib:
26336 @if target-zlib
26337 maybe-install-target-zlib: install-target-zlib
26338
26339 install-target-zlib: installdirs
26340         @r=`${PWD_COMMAND}`; export r; \
26341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26342         $(SET_LIB_PATH) \
26343         $(NORMAL_TARGET_EXPORTS) \
26344         (cd $(TARGET_SUBDIR)/zlib && \
26345           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26346
26347 @endif target-zlib
26348
26349 # Other targets (info, dvi, etc.)
26350
26351 .PHONY: maybe-info-target-zlib info-target-zlib
26352 maybe-info-target-zlib:
26353 @if target-zlib
26354 maybe-info-target-zlib: info-target-zlib
26355
26356 info-target-zlib: \
26357     configure-target-zlib 
26358         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26359         r=`${PWD_COMMAND}`; export r; \
26360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26361         $(SET_LIB_PATH) \
26362         $(NORMAL_TARGET_EXPORTS) \
26363         echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26364         for flag in $(EXTRA_TARGET_FLAGS); do \
26365           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26366         done; \
26367         (cd $(TARGET_SUBDIR)/zlib && \
26368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26370                   "RANLIB=$${RANLIB}" \
26371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26372                    info) \
26373           || exit 1
26374
26375 @endif target-zlib
26376
26377 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26378 maybe-dvi-target-zlib:
26379 @if target-zlib
26380 maybe-dvi-target-zlib: dvi-target-zlib
26381
26382 dvi-target-zlib: \
26383     configure-target-zlib 
26384         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26385         r=`${PWD_COMMAND}`; export r; \
26386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387         $(SET_LIB_PATH) \
26388         $(NORMAL_TARGET_EXPORTS) \
26389         echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26390         for flag in $(EXTRA_TARGET_FLAGS); do \
26391           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26392         done; \
26393         (cd $(TARGET_SUBDIR)/zlib && \
26394           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26395                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26396                   "RANLIB=$${RANLIB}" \
26397                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26398                    dvi) \
26399           || exit 1
26400
26401 @endif target-zlib
26402
26403 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26404 maybe-TAGS-target-zlib:
26405 @if target-zlib
26406 maybe-TAGS-target-zlib: TAGS-target-zlib
26407
26408 TAGS-target-zlib: \
26409     configure-target-zlib 
26410         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26411         r=`${PWD_COMMAND}`; export r; \
26412         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26413         $(SET_LIB_PATH) \
26414         $(NORMAL_TARGET_EXPORTS) \
26415         echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26416         for flag in $(EXTRA_TARGET_FLAGS); do \
26417           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26418         done; \
26419         (cd $(TARGET_SUBDIR)/zlib && \
26420           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26421                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26422                   "RANLIB=$${RANLIB}" \
26423                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26424                    TAGS) \
26425           || exit 1
26426
26427 @endif target-zlib
26428
26429 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26430 maybe-install-info-target-zlib:
26431 @if target-zlib
26432 maybe-install-info-target-zlib: install-info-target-zlib
26433
26434 install-info-target-zlib: \
26435     configure-target-zlib \
26436     info-target-zlib 
26437         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26438         r=`${PWD_COMMAND}`; export r; \
26439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440         $(SET_LIB_PATH) \
26441         $(NORMAL_TARGET_EXPORTS) \
26442         echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26443         for flag in $(EXTRA_TARGET_FLAGS); do \
26444           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26445         done; \
26446         (cd $(TARGET_SUBDIR)/zlib && \
26447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26449                   "RANLIB=$${RANLIB}" \
26450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26451                    install-info) \
26452           || exit 1
26453
26454 @endif target-zlib
26455
26456 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26457 maybe-installcheck-target-zlib:
26458 @if target-zlib
26459 maybe-installcheck-target-zlib: installcheck-target-zlib
26460
26461 installcheck-target-zlib: \
26462     configure-target-zlib 
26463         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26464         r=`${PWD_COMMAND}`; export r; \
26465         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26466         $(SET_LIB_PATH) \
26467         $(NORMAL_TARGET_EXPORTS) \
26468         echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26469         for flag in $(EXTRA_TARGET_FLAGS); do \
26470           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26471         done; \
26472         (cd $(TARGET_SUBDIR)/zlib && \
26473           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26474                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26475                   "RANLIB=$${RANLIB}" \
26476                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26477                    installcheck) \
26478           || exit 1
26479
26480 @endif target-zlib
26481
26482 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26483 maybe-mostlyclean-target-zlib:
26484 @if target-zlib
26485 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26486
26487 mostlyclean-target-zlib: 
26488         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26489         r=`${PWD_COMMAND}`; export r; \
26490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26491         $(SET_LIB_PATH) \
26492         $(NORMAL_TARGET_EXPORTS) \
26493         echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26494         for flag in $(EXTRA_TARGET_FLAGS); do \
26495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26496         done; \
26497         (cd $(TARGET_SUBDIR)/zlib && \
26498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26500                   "RANLIB=$${RANLIB}" \
26501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26502                    mostlyclean) \
26503           || exit 1
26504
26505 @endif target-zlib
26506
26507 .PHONY: maybe-clean-target-zlib clean-target-zlib
26508 maybe-clean-target-zlib:
26509 @if target-zlib
26510 maybe-clean-target-zlib: clean-target-zlib
26511
26512 clean-target-zlib: 
26513         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26514         r=`${PWD_COMMAND}`; export r; \
26515         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26516         $(SET_LIB_PATH) \
26517         $(NORMAL_TARGET_EXPORTS) \
26518         echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26519         for flag in $(EXTRA_TARGET_FLAGS); do \
26520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26521         done; \
26522         (cd $(TARGET_SUBDIR)/zlib && \
26523           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26524                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26525                   "RANLIB=$${RANLIB}" \
26526                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26527                    clean) \
26528           || exit 1
26529
26530 @endif target-zlib
26531
26532 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26533 maybe-distclean-target-zlib:
26534 @if target-zlib
26535 maybe-distclean-target-zlib: distclean-target-zlib
26536
26537 distclean-target-zlib: 
26538         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26539         r=`${PWD_COMMAND}`; export r; \
26540         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26541         $(SET_LIB_PATH) \
26542         $(NORMAL_TARGET_EXPORTS) \
26543         echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26544         for flag in $(EXTRA_TARGET_FLAGS); do \
26545           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26546         done; \
26547         (cd $(TARGET_SUBDIR)/zlib && \
26548           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550                   "RANLIB=$${RANLIB}" \
26551                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26552                    distclean) \
26553           || exit 1
26554
26555 @endif target-zlib
26556
26557 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26558 maybe-maintainer-clean-target-zlib:
26559 @if target-zlib
26560 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26561
26562 maintainer-clean-target-zlib: 
26563         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26564         r=`${PWD_COMMAND}`; export r; \
26565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566         $(SET_LIB_PATH) \
26567         $(NORMAL_TARGET_EXPORTS) \
26568         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26569         for flag in $(EXTRA_TARGET_FLAGS); do \
26570           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26571         done; \
26572         (cd $(TARGET_SUBDIR)/zlib && \
26573           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575                   "RANLIB=$${RANLIB}" \
26576                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26577                    maintainer-clean) \
26578           || exit 1
26579
26580 @endif target-zlib
26581
26582
26583 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26584 maybe-configure-target-boehm-gc:
26585 @if target-boehm-gc
26586 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26587
26588 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26589 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26590         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26591         rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26592         cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26593
26594 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26595         @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26596         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26597         r=`${PWD_COMMAND}`; export r; \
26598         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26599         $(SET_LIB_PATH) \
26600         $(NORMAL_TARGET_EXPORTS) \
26601         echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26602         cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26603         case $(srcdir) in \
26604           /* | [A-Za-z]:[\\/]*) \
26605             topdir=$(srcdir) ;; \
26606           *) \
26607             case "$(TARGET_SUBDIR)" in \
26608               .) topdir="../$(srcdir)" ;; \
26609               *) topdir="../../$(srcdir)" ;; \
26610             esac ;; \
26611         esac; \
26612           srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26613           libsrcdir="$$s/boehm-gc"; \
26614         rm -f no-such-file || : ; \
26615         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26616           $(TARGET_CONFIGARGS) $${srcdiroption} \
26617           --with-target-subdir="$(TARGET_SUBDIR)"  \
26618           || exit 1
26619 @endif target-boehm-gc
26620
26621 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26622 maybe-all-target-boehm-gc:
26623 @if target-boehm-gc
26624 TARGET-target-boehm-gc=all
26625 maybe-all-target-boehm-gc: all-target-boehm-gc
26626 all-target-boehm-gc: configure-target-boehm-gc
26627         @r=`${PWD_COMMAND}`; export r; \
26628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26629         $(SET_LIB_PATH) \
26630         $(NORMAL_TARGET_EXPORTS) \
26631         (cd $(TARGET_SUBDIR)/boehm-gc && \
26632           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-boehm-gc))
26633 @endif target-boehm-gc
26634
26635 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26636 maybe-check-target-boehm-gc:
26637 @if target-boehm-gc
26638 maybe-check-target-boehm-gc: check-target-boehm-gc
26639
26640 check-target-boehm-gc:
26641         @r=`${PWD_COMMAND}`; export r; \
26642         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26643         $(SET_LIB_PATH) \
26644         $(NORMAL_TARGET_EXPORTS) \
26645         (cd $(TARGET_SUBDIR)/boehm-gc && \
26646           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26647
26648 @endif target-boehm-gc
26649
26650 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26651 maybe-install-target-boehm-gc:
26652 @if target-boehm-gc
26653 maybe-install-target-boehm-gc: install-target-boehm-gc
26654
26655 install-target-boehm-gc: installdirs
26656         @r=`${PWD_COMMAND}`; export r; \
26657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658         $(SET_LIB_PATH) \
26659         $(NORMAL_TARGET_EXPORTS) \
26660         (cd $(TARGET_SUBDIR)/boehm-gc && \
26661           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26662
26663 @endif target-boehm-gc
26664
26665 # Other targets (info, dvi, etc.)
26666
26667 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26668 maybe-info-target-boehm-gc:
26669 @if target-boehm-gc
26670 maybe-info-target-boehm-gc: info-target-boehm-gc
26671
26672 info-target-boehm-gc: \
26673     configure-target-boehm-gc 
26674         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26675         r=`${PWD_COMMAND}`; export r; \
26676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26677         $(SET_LIB_PATH) \
26678         $(NORMAL_TARGET_EXPORTS) \
26679         echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26680         for flag in $(EXTRA_TARGET_FLAGS); do \
26681           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26682         done; \
26683         (cd $(TARGET_SUBDIR)/boehm-gc && \
26684           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26685                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26686                   "RANLIB=$${RANLIB}" \
26687                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26688                    info) \
26689           || exit 1
26690
26691 @endif target-boehm-gc
26692
26693 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26694 maybe-dvi-target-boehm-gc:
26695 @if target-boehm-gc
26696 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26697
26698 dvi-target-boehm-gc: \
26699     configure-target-boehm-gc 
26700         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26701         r=`${PWD_COMMAND}`; export r; \
26702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26703         $(SET_LIB_PATH) \
26704         $(NORMAL_TARGET_EXPORTS) \
26705         echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26706         for flag in $(EXTRA_TARGET_FLAGS); do \
26707           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26708         done; \
26709         (cd $(TARGET_SUBDIR)/boehm-gc && \
26710           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26711                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26712                   "RANLIB=$${RANLIB}" \
26713                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26714                    dvi) \
26715           || exit 1
26716
26717 @endif target-boehm-gc
26718
26719 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26720 maybe-TAGS-target-boehm-gc:
26721 @if target-boehm-gc
26722 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26723
26724 TAGS-target-boehm-gc: \
26725     configure-target-boehm-gc 
26726         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26727         r=`${PWD_COMMAND}`; export r; \
26728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26729         $(SET_LIB_PATH) \
26730         $(NORMAL_TARGET_EXPORTS) \
26731         echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26732         for flag in $(EXTRA_TARGET_FLAGS); do \
26733           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26734         done; \
26735         (cd $(TARGET_SUBDIR)/boehm-gc && \
26736           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26737                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26738                   "RANLIB=$${RANLIB}" \
26739                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26740                    TAGS) \
26741           || exit 1
26742
26743 @endif target-boehm-gc
26744
26745 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26746 maybe-install-info-target-boehm-gc:
26747 @if target-boehm-gc
26748 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26749
26750 install-info-target-boehm-gc: \
26751     configure-target-boehm-gc \
26752     info-target-boehm-gc 
26753         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26754         r=`${PWD_COMMAND}`; export r; \
26755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26756         $(SET_LIB_PATH) \
26757         $(NORMAL_TARGET_EXPORTS) \
26758         echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26759         for flag in $(EXTRA_TARGET_FLAGS); do \
26760           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26761         done; \
26762         (cd $(TARGET_SUBDIR)/boehm-gc && \
26763           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26764                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26765                   "RANLIB=$${RANLIB}" \
26766                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26767                    install-info) \
26768           || exit 1
26769
26770 @endif target-boehm-gc
26771
26772 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26773 maybe-installcheck-target-boehm-gc:
26774 @if target-boehm-gc
26775 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26776
26777 installcheck-target-boehm-gc: \
26778     configure-target-boehm-gc 
26779         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26780         r=`${PWD_COMMAND}`; export r; \
26781         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26782         $(SET_LIB_PATH) \
26783         $(NORMAL_TARGET_EXPORTS) \
26784         echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26785         for flag in $(EXTRA_TARGET_FLAGS); do \
26786           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26787         done; \
26788         (cd $(TARGET_SUBDIR)/boehm-gc && \
26789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26791                   "RANLIB=$${RANLIB}" \
26792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26793                    installcheck) \
26794           || exit 1
26795
26796 @endif target-boehm-gc
26797
26798 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26799 maybe-mostlyclean-target-boehm-gc:
26800 @if target-boehm-gc
26801 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26802
26803 mostlyclean-target-boehm-gc: 
26804         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26805         r=`${PWD_COMMAND}`; export r; \
26806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26807         $(SET_LIB_PATH) \
26808         $(NORMAL_TARGET_EXPORTS) \
26809         echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26810         for flag in $(EXTRA_TARGET_FLAGS); do \
26811           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26812         done; \
26813         (cd $(TARGET_SUBDIR)/boehm-gc && \
26814           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26815                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26816                   "RANLIB=$${RANLIB}" \
26817                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26818                    mostlyclean) \
26819           || exit 1
26820
26821 @endif target-boehm-gc
26822
26823 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26824 maybe-clean-target-boehm-gc:
26825 @if target-boehm-gc
26826 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26827
26828 clean-target-boehm-gc: 
26829         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26830         r=`${PWD_COMMAND}`; export r; \
26831         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26832         $(SET_LIB_PATH) \
26833         $(NORMAL_TARGET_EXPORTS) \
26834         echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26835         for flag in $(EXTRA_TARGET_FLAGS); do \
26836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26837         done; \
26838         (cd $(TARGET_SUBDIR)/boehm-gc && \
26839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26841                   "RANLIB=$${RANLIB}" \
26842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26843                    clean) \
26844           || exit 1
26845
26846 @endif target-boehm-gc
26847
26848 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26849 maybe-distclean-target-boehm-gc:
26850 @if target-boehm-gc
26851 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26852
26853 distclean-target-boehm-gc: 
26854         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26855         r=`${PWD_COMMAND}`; export r; \
26856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26857         $(SET_LIB_PATH) \
26858         $(NORMAL_TARGET_EXPORTS) \
26859         echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26860         for flag in $(EXTRA_TARGET_FLAGS); do \
26861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26862         done; \
26863         (cd $(TARGET_SUBDIR)/boehm-gc && \
26864           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26865                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26866                   "RANLIB=$${RANLIB}" \
26867                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26868                    distclean) \
26869           || exit 1
26870
26871 @endif target-boehm-gc
26872
26873 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26874 maybe-maintainer-clean-target-boehm-gc:
26875 @if target-boehm-gc
26876 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26877
26878 maintainer-clean-target-boehm-gc: 
26879         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26880         r=`${PWD_COMMAND}`; export r; \
26881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26882         $(SET_LIB_PATH) \
26883         $(NORMAL_TARGET_EXPORTS) \
26884         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26885         for flag in $(EXTRA_TARGET_FLAGS); do \
26886           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26887         done; \
26888         (cd $(TARGET_SUBDIR)/boehm-gc && \
26889           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26890                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26891                   "RANLIB=$${RANLIB}" \
26892                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26893                    maintainer-clean) \
26894           || exit 1
26895
26896 @endif target-boehm-gc
26897
26898
26899 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26900 maybe-configure-target-qthreads:
26901 @if target-qthreads
26902 maybe-configure-target-qthreads: configure-target-qthreads
26903
26904 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26905 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26906         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26907         rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26908         cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26909
26910 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26911         @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26912         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26913         r=`${PWD_COMMAND}`; export r; \
26914         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26915         $(SET_LIB_PATH) \
26916         $(NORMAL_TARGET_EXPORTS) \
26917         echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26918         cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26919         case $(srcdir) in \
26920           /* | [A-Za-z]:[\\/]*) \
26921             topdir=$(srcdir) ;; \
26922           *) \
26923             case "$(TARGET_SUBDIR)" in \
26924               .) topdir="../$(srcdir)" ;; \
26925               *) topdir="../../$(srcdir)" ;; \
26926             esac ;; \
26927         esac; \
26928           srcdiroption="--srcdir=$${topdir}/qthreads"; \
26929           libsrcdir="$$s/qthreads"; \
26930         rm -f no-such-file || : ; \
26931         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26932           $(TARGET_CONFIGARGS) $${srcdiroption} \
26933           --with-target-subdir="$(TARGET_SUBDIR)"  \
26934           || exit 1
26935 @endif target-qthreads
26936
26937 .PHONY: all-target-qthreads maybe-all-target-qthreads
26938 maybe-all-target-qthreads:
26939 @if target-qthreads
26940 TARGET-target-qthreads=all
26941 maybe-all-target-qthreads: all-target-qthreads
26942 all-target-qthreads: configure-target-qthreads
26943         @r=`${PWD_COMMAND}`; export r; \
26944         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26945         $(SET_LIB_PATH) \
26946         $(NORMAL_TARGET_EXPORTS) \
26947         (cd $(TARGET_SUBDIR)/qthreads && \
26948           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-qthreads))
26949 @endif target-qthreads
26950
26951 .PHONY: check-target-qthreads maybe-check-target-qthreads
26952 maybe-check-target-qthreads:
26953 @if target-qthreads
26954 maybe-check-target-qthreads: check-target-qthreads
26955
26956 check-target-qthreads:
26957         @r=`${PWD_COMMAND}`; export r; \
26958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26959         $(SET_LIB_PATH) \
26960         $(NORMAL_TARGET_EXPORTS) \
26961         (cd $(TARGET_SUBDIR)/qthreads && \
26962           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26963
26964 @endif target-qthreads
26965
26966 .PHONY: install-target-qthreads maybe-install-target-qthreads
26967 maybe-install-target-qthreads:
26968 @if target-qthreads
26969 maybe-install-target-qthreads: install-target-qthreads
26970
26971 install-target-qthreads: installdirs
26972         @r=`${PWD_COMMAND}`; export r; \
26973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26974         $(SET_LIB_PATH) \
26975         $(NORMAL_TARGET_EXPORTS) \
26976         (cd $(TARGET_SUBDIR)/qthreads && \
26977           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26978
26979 @endif target-qthreads
26980
26981 # Other targets (info, dvi, etc.)
26982
26983 .PHONY: maybe-info-target-qthreads info-target-qthreads
26984 maybe-info-target-qthreads:
26985 @if target-qthreads
26986 maybe-info-target-qthreads: info-target-qthreads
26987
26988 info-target-qthreads: \
26989     configure-target-qthreads 
26990         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26991         r=`${PWD_COMMAND}`; export r; \
26992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993         $(SET_LIB_PATH) \
26994         $(NORMAL_TARGET_EXPORTS) \
26995         echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26996         for flag in $(EXTRA_TARGET_FLAGS); do \
26997           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26998         done; \
26999         (cd $(TARGET_SUBDIR)/qthreads && \
27000           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27001                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27002                   "RANLIB=$${RANLIB}" \
27003                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27004                    info) \
27005           || exit 1
27006
27007 @endif target-qthreads
27008
27009 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27010 maybe-dvi-target-qthreads:
27011 @if target-qthreads
27012 maybe-dvi-target-qthreads: dvi-target-qthreads
27013
27014 dvi-target-qthreads: \
27015     configure-target-qthreads 
27016         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27017         r=`${PWD_COMMAND}`; export r; \
27018         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27019         $(SET_LIB_PATH) \
27020         $(NORMAL_TARGET_EXPORTS) \
27021         echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27022         for flag in $(EXTRA_TARGET_FLAGS); do \
27023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27024         done; \
27025         (cd $(TARGET_SUBDIR)/qthreads && \
27026           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27027                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27028                   "RANLIB=$${RANLIB}" \
27029                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27030                    dvi) \
27031           || exit 1
27032
27033 @endif target-qthreads
27034
27035 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27036 maybe-TAGS-target-qthreads:
27037 @if target-qthreads
27038 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27039
27040 TAGS-target-qthreads: \
27041     configure-target-qthreads 
27042         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27043         r=`${PWD_COMMAND}`; export r; \
27044         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27045         $(SET_LIB_PATH) \
27046         $(NORMAL_TARGET_EXPORTS) \
27047         echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27048         for flag in $(EXTRA_TARGET_FLAGS); do \
27049           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27050         done; \
27051         (cd $(TARGET_SUBDIR)/qthreads && \
27052           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27053                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27054                   "RANLIB=$${RANLIB}" \
27055                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27056                    TAGS) \
27057           || exit 1
27058
27059 @endif target-qthreads
27060
27061 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27062 maybe-install-info-target-qthreads:
27063 @if target-qthreads
27064 maybe-install-info-target-qthreads: install-info-target-qthreads
27065
27066 install-info-target-qthreads: \
27067     configure-target-qthreads \
27068     info-target-qthreads 
27069         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27070         r=`${PWD_COMMAND}`; export r; \
27071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27072         $(SET_LIB_PATH) \
27073         $(NORMAL_TARGET_EXPORTS) \
27074         echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27075         for flag in $(EXTRA_TARGET_FLAGS); do \
27076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27077         done; \
27078         (cd $(TARGET_SUBDIR)/qthreads && \
27079           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27080                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27081                   "RANLIB=$${RANLIB}" \
27082                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27083                    install-info) \
27084           || exit 1
27085
27086 @endif target-qthreads
27087
27088 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27089 maybe-installcheck-target-qthreads:
27090 @if target-qthreads
27091 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27092
27093 installcheck-target-qthreads: \
27094     configure-target-qthreads 
27095         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27096         r=`${PWD_COMMAND}`; export r; \
27097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27098         $(SET_LIB_PATH) \
27099         $(NORMAL_TARGET_EXPORTS) \
27100         echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27101         for flag in $(EXTRA_TARGET_FLAGS); do \
27102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27103         done; \
27104         (cd $(TARGET_SUBDIR)/qthreads && \
27105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107                   "RANLIB=$${RANLIB}" \
27108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27109                    installcheck) \
27110           || exit 1
27111
27112 @endif target-qthreads
27113
27114 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27115 maybe-mostlyclean-target-qthreads:
27116 @if target-qthreads
27117 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27118
27119 mostlyclean-target-qthreads: 
27120         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27121         r=`${PWD_COMMAND}`; export r; \
27122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123         $(SET_LIB_PATH) \
27124         $(NORMAL_TARGET_EXPORTS) \
27125         echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27126         for flag in $(EXTRA_TARGET_FLAGS); do \
27127           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27128         done; \
27129         (cd $(TARGET_SUBDIR)/qthreads && \
27130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27132                   "RANLIB=$${RANLIB}" \
27133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27134                    mostlyclean) \
27135           || exit 1
27136
27137 @endif target-qthreads
27138
27139 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27140 maybe-clean-target-qthreads:
27141 @if target-qthreads
27142 maybe-clean-target-qthreads: clean-target-qthreads
27143
27144 clean-target-qthreads: 
27145         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27146         r=`${PWD_COMMAND}`; export r; \
27147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27148         $(SET_LIB_PATH) \
27149         $(NORMAL_TARGET_EXPORTS) \
27150         echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27151         for flag in $(EXTRA_TARGET_FLAGS); do \
27152           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27153         done; \
27154         (cd $(TARGET_SUBDIR)/qthreads && \
27155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27157                   "RANLIB=$${RANLIB}" \
27158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27159                    clean) \
27160           || exit 1
27161
27162 @endif target-qthreads
27163
27164 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27165 maybe-distclean-target-qthreads:
27166 @if target-qthreads
27167 maybe-distclean-target-qthreads: distclean-target-qthreads
27168
27169 distclean-target-qthreads: 
27170         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27171         r=`${PWD_COMMAND}`; export r; \
27172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27173         $(SET_LIB_PATH) \
27174         $(NORMAL_TARGET_EXPORTS) \
27175         echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27176         for flag in $(EXTRA_TARGET_FLAGS); do \
27177           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27178         done; \
27179         (cd $(TARGET_SUBDIR)/qthreads && \
27180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27182                   "RANLIB=$${RANLIB}" \
27183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27184                    distclean) \
27185           || exit 1
27186
27187 @endif target-qthreads
27188
27189 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27190 maybe-maintainer-clean-target-qthreads:
27191 @if target-qthreads
27192 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27193
27194 maintainer-clean-target-qthreads: 
27195         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27196         r=`${PWD_COMMAND}`; export r; \
27197         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27198         $(SET_LIB_PATH) \
27199         $(NORMAL_TARGET_EXPORTS) \
27200         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27201         for flag in $(EXTRA_TARGET_FLAGS); do \
27202           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27203         done; \
27204         (cd $(TARGET_SUBDIR)/qthreads && \
27205           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27206                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27207                   "RANLIB=$${RANLIB}" \
27208                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27209                    maintainer-clean) \
27210           || exit 1
27211
27212 @endif target-qthreads
27213
27214
27215 .PHONY: configure-target-rda maybe-configure-target-rda
27216 maybe-configure-target-rda:
27217 @if target-rda
27218 maybe-configure-target-rda: configure-target-rda
27219
27220 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27221 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27222         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27223         rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27224         cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27225
27226 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27227         @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27228         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27229         r=`${PWD_COMMAND}`; export r; \
27230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231         $(SET_LIB_PATH) \
27232         $(NORMAL_TARGET_EXPORTS) \
27233         echo Configuring in $(TARGET_SUBDIR)/rda; \
27234         cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27235         case $(srcdir) in \
27236           /* | [A-Za-z]:[\\/]*) \
27237             topdir=$(srcdir) ;; \
27238           *) \
27239             case "$(TARGET_SUBDIR)" in \
27240               .) topdir="../$(srcdir)" ;; \
27241               *) topdir="../../$(srcdir)" ;; \
27242             esac ;; \
27243         esac; \
27244           srcdiroption="--srcdir=$${topdir}/rda"; \
27245           libsrcdir="$$s/rda"; \
27246         rm -f no-such-file || : ; \
27247         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27248           $(TARGET_CONFIGARGS) $${srcdiroption} \
27249           --with-target-subdir="$(TARGET_SUBDIR)"  \
27250           || exit 1
27251 @endif target-rda
27252
27253 .PHONY: all-target-rda maybe-all-target-rda
27254 maybe-all-target-rda:
27255 @if target-rda
27256 TARGET-target-rda=all
27257 maybe-all-target-rda: all-target-rda
27258 all-target-rda: configure-target-rda
27259         @r=`${PWD_COMMAND}`; export r; \
27260         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27261         $(SET_LIB_PATH) \
27262         $(NORMAL_TARGET_EXPORTS) \
27263         (cd $(TARGET_SUBDIR)/rda && \
27264           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-rda))
27265 @endif target-rda
27266
27267 .PHONY: check-target-rda maybe-check-target-rda
27268 maybe-check-target-rda:
27269 @if target-rda
27270 maybe-check-target-rda: check-target-rda
27271
27272 check-target-rda:
27273         @r=`${PWD_COMMAND}`; export r; \
27274         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27275         $(SET_LIB_PATH) \
27276         $(NORMAL_TARGET_EXPORTS) \
27277         (cd $(TARGET_SUBDIR)/rda && \
27278           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27279
27280 @endif target-rda
27281
27282 .PHONY: install-target-rda maybe-install-target-rda
27283 maybe-install-target-rda:
27284 @if target-rda
27285 maybe-install-target-rda: install-target-rda
27286
27287 install-target-rda: installdirs
27288         @r=`${PWD_COMMAND}`; export r; \
27289         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290         $(SET_LIB_PATH) \
27291         $(NORMAL_TARGET_EXPORTS) \
27292         (cd $(TARGET_SUBDIR)/rda && \
27293           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27294
27295 @endif target-rda
27296
27297 # Other targets (info, dvi, etc.)
27298
27299 .PHONY: maybe-info-target-rda info-target-rda
27300 maybe-info-target-rda:
27301 @if target-rda
27302 maybe-info-target-rda: info-target-rda
27303
27304 info-target-rda: \
27305     configure-target-rda 
27306         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27307         r=`${PWD_COMMAND}`; export r; \
27308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27309         $(SET_LIB_PATH) \
27310         $(NORMAL_TARGET_EXPORTS) \
27311         echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27312         for flag in $(EXTRA_TARGET_FLAGS); do \
27313           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27314         done; \
27315         (cd $(TARGET_SUBDIR)/rda && \
27316           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27317                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27318                   "RANLIB=$${RANLIB}" \
27319                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27320                    info) \
27321           || exit 1
27322
27323 @endif target-rda
27324
27325 .PHONY: maybe-dvi-target-rda dvi-target-rda
27326 maybe-dvi-target-rda:
27327 @if target-rda
27328 maybe-dvi-target-rda: dvi-target-rda
27329
27330 dvi-target-rda: \
27331     configure-target-rda 
27332         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27333         r=`${PWD_COMMAND}`; export r; \
27334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27335         $(SET_LIB_PATH) \
27336         $(NORMAL_TARGET_EXPORTS) \
27337         echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27338         for flag in $(EXTRA_TARGET_FLAGS); do \
27339           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27340         done; \
27341         (cd $(TARGET_SUBDIR)/rda && \
27342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27344                   "RANLIB=$${RANLIB}" \
27345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27346                    dvi) \
27347           || exit 1
27348
27349 @endif target-rda
27350
27351 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27352 maybe-TAGS-target-rda:
27353 @if target-rda
27354 maybe-TAGS-target-rda: TAGS-target-rda
27355
27356 TAGS-target-rda: \
27357     configure-target-rda 
27358         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27359         r=`${PWD_COMMAND}`; export r; \
27360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27361         $(SET_LIB_PATH) \
27362         $(NORMAL_TARGET_EXPORTS) \
27363         echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27364         for flag in $(EXTRA_TARGET_FLAGS); do \
27365           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27366         done; \
27367         (cd $(TARGET_SUBDIR)/rda && \
27368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27370                   "RANLIB=$${RANLIB}" \
27371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27372                    TAGS) \
27373           || exit 1
27374
27375 @endif target-rda
27376
27377 .PHONY: maybe-install-info-target-rda install-info-target-rda
27378 maybe-install-info-target-rda:
27379 @if target-rda
27380 maybe-install-info-target-rda: install-info-target-rda
27381
27382 install-info-target-rda: \
27383     configure-target-rda \
27384     info-target-rda 
27385         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27386         r=`${PWD_COMMAND}`; export r; \
27387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388         $(SET_LIB_PATH) \
27389         $(NORMAL_TARGET_EXPORTS) \
27390         echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27391         for flag in $(EXTRA_TARGET_FLAGS); do \
27392           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27393         done; \
27394         (cd $(TARGET_SUBDIR)/rda && \
27395           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27396                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27397                   "RANLIB=$${RANLIB}" \
27398                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27399                    install-info) \
27400           || exit 1
27401
27402 @endif target-rda
27403
27404 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27405 maybe-installcheck-target-rda:
27406 @if target-rda
27407 maybe-installcheck-target-rda: installcheck-target-rda
27408
27409 installcheck-target-rda: \
27410     configure-target-rda 
27411         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27412         r=`${PWD_COMMAND}`; export r; \
27413         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27414         $(SET_LIB_PATH) \
27415         $(NORMAL_TARGET_EXPORTS) \
27416         echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27417         for flag in $(EXTRA_TARGET_FLAGS); do \
27418           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27419         done; \
27420         (cd $(TARGET_SUBDIR)/rda && \
27421           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27422                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27423                   "RANLIB=$${RANLIB}" \
27424                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27425                    installcheck) \
27426           || exit 1
27427
27428 @endif target-rda
27429
27430 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27431 maybe-mostlyclean-target-rda:
27432 @if target-rda
27433 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27434
27435 mostlyclean-target-rda: 
27436         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27437         r=`${PWD_COMMAND}`; export r; \
27438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27439         $(SET_LIB_PATH) \
27440         $(NORMAL_TARGET_EXPORTS) \
27441         echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27442         for flag in $(EXTRA_TARGET_FLAGS); do \
27443           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27444         done; \
27445         (cd $(TARGET_SUBDIR)/rda && \
27446           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27447                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27448                   "RANLIB=$${RANLIB}" \
27449                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27450                    mostlyclean) \
27451           || exit 1
27452
27453 @endif target-rda
27454
27455 .PHONY: maybe-clean-target-rda clean-target-rda
27456 maybe-clean-target-rda:
27457 @if target-rda
27458 maybe-clean-target-rda: clean-target-rda
27459
27460 clean-target-rda: 
27461         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27462         r=`${PWD_COMMAND}`; export r; \
27463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27464         $(SET_LIB_PATH) \
27465         $(NORMAL_TARGET_EXPORTS) \
27466         echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27467         for flag in $(EXTRA_TARGET_FLAGS); do \
27468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27469         done; \
27470         (cd $(TARGET_SUBDIR)/rda && \
27471           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27472                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27473                   "RANLIB=$${RANLIB}" \
27474                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27475                    clean) \
27476           || exit 1
27477
27478 @endif target-rda
27479
27480 .PHONY: maybe-distclean-target-rda distclean-target-rda
27481 maybe-distclean-target-rda:
27482 @if target-rda
27483 maybe-distclean-target-rda: distclean-target-rda
27484
27485 distclean-target-rda: 
27486         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27487         r=`${PWD_COMMAND}`; export r; \
27488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27489         $(SET_LIB_PATH) \
27490         $(NORMAL_TARGET_EXPORTS) \
27491         echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27492         for flag in $(EXTRA_TARGET_FLAGS); do \
27493           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27494         done; \
27495         (cd $(TARGET_SUBDIR)/rda && \
27496           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27497                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27498                   "RANLIB=$${RANLIB}" \
27499                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27500                    distclean) \
27501           || exit 1
27502
27503 @endif target-rda
27504
27505 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27506 maybe-maintainer-clean-target-rda:
27507 @if target-rda
27508 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27509
27510 maintainer-clean-target-rda: 
27511         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27512         r=`${PWD_COMMAND}`; export r; \
27513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514         $(SET_LIB_PATH) \
27515         $(NORMAL_TARGET_EXPORTS) \
27516         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27517         for flag in $(EXTRA_TARGET_FLAGS); do \
27518           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27519         done; \
27520         (cd $(TARGET_SUBDIR)/rda && \
27521           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27522                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27523                   "RANLIB=$${RANLIB}" \
27524                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27525                    maintainer-clean) \
27526           || exit 1
27527
27528 @endif target-rda
27529
27530
27531 .PHONY: configure-target-libada maybe-configure-target-libada
27532 maybe-configure-target-libada:
27533 @if target-libada
27534 maybe-configure-target-libada: configure-target-libada
27535
27536 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27537 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27538         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27539         rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27540         cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27541
27542 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27543         @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27544         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27545         r=`${PWD_COMMAND}`; export r; \
27546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27547         $(SET_LIB_PATH) \
27548         $(NORMAL_TARGET_EXPORTS) \
27549         echo Configuring in $(TARGET_SUBDIR)/libada; \
27550         cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27551         case $(srcdir) in \
27552           /* | [A-Za-z]:[\\/]*) \
27553             topdir=$(srcdir) ;; \
27554           *) \
27555             case "$(TARGET_SUBDIR)" in \
27556               .) topdir="../$(srcdir)" ;; \
27557               *) topdir="../../$(srcdir)" ;; \
27558             esac ;; \
27559         esac; \
27560           srcdiroption="--srcdir=$${topdir}/libada"; \
27561           libsrcdir="$$s/libada"; \
27562         rm -f no-such-file || : ; \
27563         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27564           $(TARGET_CONFIGARGS) $${srcdiroption} \
27565           --with-target-subdir="$(TARGET_SUBDIR)"  \
27566           || exit 1
27567 @endif target-libada
27568
27569 .PHONY: all-target-libada maybe-all-target-libada
27570 maybe-all-target-libada:
27571 @if target-libada
27572 TARGET-target-libada=all
27573 maybe-all-target-libada: all-target-libada
27574 all-target-libada: configure-target-libada
27575         @r=`${PWD_COMMAND}`; export r; \
27576         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27577         $(SET_LIB_PATH) \
27578         $(NORMAL_TARGET_EXPORTS) \
27579         (cd $(TARGET_SUBDIR)/libada && \
27580           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libada))
27581 @endif target-libada
27582
27583 .PHONY: check-target-libada maybe-check-target-libada
27584 maybe-check-target-libada:
27585 @if target-libada
27586 maybe-check-target-libada: check-target-libada
27587
27588 check-target-libada:
27589         @r=`${PWD_COMMAND}`; export r; \
27590         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27591         $(SET_LIB_PATH) \
27592         $(NORMAL_TARGET_EXPORTS) \
27593         (cd $(TARGET_SUBDIR)/libada && \
27594           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27595
27596 @endif target-libada
27597
27598 .PHONY: install-target-libada maybe-install-target-libada
27599 maybe-install-target-libada:
27600 @if target-libada
27601 maybe-install-target-libada: install-target-libada
27602
27603 install-target-libada: installdirs
27604         @r=`${PWD_COMMAND}`; export r; \
27605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27606         $(SET_LIB_PATH) \
27607         $(NORMAL_TARGET_EXPORTS) \
27608         (cd $(TARGET_SUBDIR)/libada && \
27609           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27610
27611 @endif target-libada
27612
27613 # Other targets (info, dvi, etc.)
27614
27615 .PHONY: maybe-info-target-libada info-target-libada
27616 maybe-info-target-libada:
27617 @if target-libada
27618 maybe-info-target-libada: info-target-libada
27619
27620 info-target-libada: \
27621     configure-target-libada 
27622         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27623         r=`${PWD_COMMAND}`; export r; \
27624         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27625         $(SET_LIB_PATH) \
27626         $(NORMAL_TARGET_EXPORTS) \
27627         echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27628         for flag in $(EXTRA_TARGET_FLAGS); do \
27629           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27630         done; \
27631         (cd $(TARGET_SUBDIR)/libada && \
27632           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27633                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27634                   "RANLIB=$${RANLIB}" \
27635                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27636                    info) \
27637           || exit 1
27638
27639 @endif target-libada
27640
27641 .PHONY: maybe-dvi-target-libada dvi-target-libada
27642 maybe-dvi-target-libada:
27643 @if target-libada
27644 maybe-dvi-target-libada: dvi-target-libada
27645
27646 dvi-target-libada: \
27647     configure-target-libada 
27648         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27649         r=`${PWD_COMMAND}`; export r; \
27650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27651         $(SET_LIB_PATH) \
27652         $(NORMAL_TARGET_EXPORTS) \
27653         echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27654         for flag in $(EXTRA_TARGET_FLAGS); do \
27655           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27656         done; \
27657         (cd $(TARGET_SUBDIR)/libada && \
27658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27660                   "RANLIB=$${RANLIB}" \
27661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27662                    dvi) \
27663           || exit 1
27664
27665 @endif target-libada
27666
27667 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27668 maybe-TAGS-target-libada:
27669 @if target-libada
27670 maybe-TAGS-target-libada: TAGS-target-libada
27671
27672 TAGS-target-libada: \
27673     configure-target-libada 
27674         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27675         r=`${PWD_COMMAND}`; export r; \
27676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27677         $(SET_LIB_PATH) \
27678         $(NORMAL_TARGET_EXPORTS) \
27679         echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27680         for flag in $(EXTRA_TARGET_FLAGS); do \
27681           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27682         done; \
27683         (cd $(TARGET_SUBDIR)/libada && \
27684           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27685                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27686                   "RANLIB=$${RANLIB}" \
27687                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27688                    TAGS) \
27689           || exit 1
27690
27691 @endif target-libada
27692
27693 .PHONY: maybe-install-info-target-libada install-info-target-libada
27694 maybe-install-info-target-libada:
27695 @if target-libada
27696 maybe-install-info-target-libada: install-info-target-libada
27697
27698 install-info-target-libada: \
27699     configure-target-libada \
27700     info-target-libada 
27701         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27702         r=`${PWD_COMMAND}`; export r; \
27703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27704         $(SET_LIB_PATH) \
27705         $(NORMAL_TARGET_EXPORTS) \
27706         echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27707         for flag in $(EXTRA_TARGET_FLAGS); do \
27708           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27709         done; \
27710         (cd $(TARGET_SUBDIR)/libada && \
27711           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713                   "RANLIB=$${RANLIB}" \
27714                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27715                    install-info) \
27716           || exit 1
27717
27718 @endif target-libada
27719
27720 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27721 maybe-installcheck-target-libada:
27722 @if target-libada
27723 maybe-installcheck-target-libada: installcheck-target-libada
27724
27725 installcheck-target-libada: \
27726     configure-target-libada 
27727         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27728         r=`${PWD_COMMAND}`; export r; \
27729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730         $(SET_LIB_PATH) \
27731         $(NORMAL_TARGET_EXPORTS) \
27732         echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27733         for flag in $(EXTRA_TARGET_FLAGS); do \
27734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27735         done; \
27736         (cd $(TARGET_SUBDIR)/libada && \
27737           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27738                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27739                   "RANLIB=$${RANLIB}" \
27740                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27741                    installcheck) \
27742           || exit 1
27743
27744 @endif target-libada
27745
27746 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27747 maybe-mostlyclean-target-libada:
27748 @if target-libada
27749 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27750
27751 mostlyclean-target-libada: 
27752         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27753         r=`${PWD_COMMAND}`; export r; \
27754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755         $(SET_LIB_PATH) \
27756         $(NORMAL_TARGET_EXPORTS) \
27757         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27758         for flag in $(EXTRA_TARGET_FLAGS); do \
27759           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27760         done; \
27761         (cd $(TARGET_SUBDIR)/libada && \
27762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27764                   "RANLIB=$${RANLIB}" \
27765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27766                    mostlyclean) \
27767           || exit 1
27768
27769 @endif target-libada
27770
27771 .PHONY: maybe-clean-target-libada clean-target-libada
27772 maybe-clean-target-libada:
27773 @if target-libada
27774 maybe-clean-target-libada: clean-target-libada
27775
27776 clean-target-libada: 
27777         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27778         r=`${PWD_COMMAND}`; export r; \
27779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780         $(SET_LIB_PATH) \
27781         $(NORMAL_TARGET_EXPORTS) \
27782         echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27783         for flag in $(EXTRA_TARGET_FLAGS); do \
27784           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27785         done; \
27786         (cd $(TARGET_SUBDIR)/libada && \
27787           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27788                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27789                   "RANLIB=$${RANLIB}" \
27790                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27791                    clean) \
27792           || exit 1
27793
27794 @endif target-libada
27795
27796 .PHONY: maybe-distclean-target-libada distclean-target-libada
27797 maybe-distclean-target-libada:
27798 @if target-libada
27799 maybe-distclean-target-libada: distclean-target-libada
27800
27801 distclean-target-libada: 
27802         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27803         r=`${PWD_COMMAND}`; export r; \
27804         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27805         $(SET_LIB_PATH) \
27806         $(NORMAL_TARGET_EXPORTS) \
27807         echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27808         for flag in $(EXTRA_TARGET_FLAGS); do \
27809           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27810         done; \
27811         (cd $(TARGET_SUBDIR)/libada && \
27812           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27813                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27814                   "RANLIB=$${RANLIB}" \
27815                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27816                    distclean) \
27817           || exit 1
27818
27819 @endif target-libada
27820
27821 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27822 maybe-maintainer-clean-target-libada:
27823 @if target-libada
27824 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27825
27826 maintainer-clean-target-libada: 
27827         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27828         r=`${PWD_COMMAND}`; export r; \
27829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27830         $(SET_LIB_PATH) \
27831         $(NORMAL_TARGET_EXPORTS) \
27832         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27833         for flag in $(EXTRA_TARGET_FLAGS); do \
27834           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27835         done; \
27836         (cd $(TARGET_SUBDIR)/libada && \
27837           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27838                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27839                   "RANLIB=$${RANLIB}" \
27840                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27841                    maintainer-clean) \
27842           || exit 1
27843
27844 @endif target-libada
27845
27846
27847
27848 # ----------
27849 # GCC module
27850 # ----------
27851
27852 @if gcc-no-bootstrap
27853 # GCC has some more recursive targets, which trigger the old
27854 # (but still current, until the toplevel bootstrap project
27855 # is finished) compiler bootstrapping rules.
27856
27857 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27858 .PHONY: $(GCC_STRAP_TARGETS)
27859 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
27860         @r=`${PWD_COMMAND}`; export r; \
27861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27862         $(SET_LIB_PATH) \
27863         $(HOST_EXPORTS) \
27864         echo "Bootstrapping the compiler"; \
27865         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27866         @r=`${PWD_COMMAND}`; export r; \
27867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27868         case "$@" in \
27869           *bootstrap4-lean ) \
27870             msg="Comparing stage3 and stage4 of the compiler"; \
27871             compare=compare3-lean ;; \
27872           *bootstrap4 ) \
27873             msg="Comparing stage3 and stage4 of the compiler"; \
27874             compare=compare3 ;; \
27875           *-lean ) \
27876             msg="Comparing stage2 and stage3 of the compiler"; \
27877             compare=compare-lean ;; \
27878           * ) \
27879             msg="Comparing stage2 and stage3 of the compiler"; \
27880             compare=compare ;; \
27881         esac; \
27882         $(SET_LIB_PATH) \
27883         $(HOST_EXPORTS) \
27884         echo "$$msg"; \
27885         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27886         @r=`${PWD_COMMAND}`; export r; \
27887         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27888         $(SET_LIB_PATH) \
27889         echo "Building runtime libraries"; \
27890         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27891
27892 profiledbootstrap: all-prebootstrap configure-gcc
27893         @r=`${PWD_COMMAND}`; export r; \
27894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27895         $(SET_LIB_PATH) \
27896         $(HOST_EXPORTS) \
27897         echo "Bootstrapping training compiler"; \
27898         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27899         @r=`${PWD_COMMAND}`; export r; \
27900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27901         $(SET_LIB_PATH) \
27902         $(HOST_EXPORTS) \
27903         echo "Building feedback based compiler"; \
27904         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27905         @r=`${PWD_COMMAND}`; export r; \
27906         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27907         $(SET_LIB_PATH) \
27908         echo "Building runtime libraries"; \
27909         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27910
27911 .PHONY: cross
27912 cross: all-build all-gas all-ld
27913         @r=`${PWD_COMMAND}`; export r; \
27914         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27915         $(SET_LIB_PATH) \
27916         $(HOST_EXPORTS) \
27917         echo "Building the C and C++ compiler"; \
27918         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27919         @r=`${PWD_COMMAND}`; export r; \
27920         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27921         $(SET_LIB_PATH) \
27922         echo "Building runtime libraries"; \
27923         $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
27924 @endif gcc-no-bootstrap
27925
27926 @if gcc
27927 .PHONY: check-gcc-c++
27928 check-gcc-c++:
27929         @if [ -f ./gcc/Makefile ] ; then \
27930           r=`${PWD_COMMAND}`; export r; \
27931           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932           $(SET_LIB_PATH) \
27933           $(HOST_EXPORTS) \
27934           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27935         else \
27936           true; \
27937         fi
27938
27939 .PHONY: check-c++
27940 check-c++: check-target-libstdc++-v3 check-gcc-c++
27941
27942 # Install the gcc headers files, but not the fixed include files,
27943 # which Cygnus is not allowed to distribute.  This rule is very
27944 # dependent on the workings of the gcc Makefile.in.
27945 .PHONY: gcc-no-fixedincludes
27946 gcc-no-fixedincludes:
27947         @if [ -f ./gcc/Makefile ]; then \
27948           rm -rf gcc/tmp-include; \
27949           mv gcc/include gcc/tmp-include 2>/dev/null; \
27950           mkdir gcc/include; \
27951           cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27952           touch gcc/stmp-fixinc gcc/include/fixed; \
27953           rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27954           r=`${PWD_COMMAND}`; export r; \
27955           s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27956           $(SET_LIB_PATH) \
27957           $(HOST_EXPORTS) \
27958           (cd ./gcc && \
27959            $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27960           rm -rf gcc/include; \
27961           mv gcc/tmp-include gcc/include 2>/dev/null; \
27962         else true; fi
27963 @endif gcc
27964
27965 # ---------------------
27966 # GCC bootstrap support
27967 # ---------------------
27968
27969 # We track the current stage (the one in 'gcc') in the stage_current file.
27970 # stage_last instead tracks the stage that was built last.  These targets
27971 # are dummy when toplevel bootstrap is not active.
27972
27973 .PHONY: unstage
27974 unstage:
27975 @if gcc-bootstrap
27976         @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
27977 @endif gcc-bootstrap
27978
27979 .PHONY: stage
27980 stage:
27981 @if gcc-bootstrap
27982         @$(MAKE) `cat stage_current`-end
27983 @endif gcc-bootstrap
27984
27985 # We name the build directories for the various stages "stage1-gcc",
27986 # "stage2-gcc","stage3-gcc", etc.
27987
27988 # Since the 'compare' process will fail (on debugging information) if any
27989 # directory names are different, we need to link the gcc directory for
27990 # the previous stage to a constant name ('gcc-prev'), and to make the name of
27991 # the build directories constant as well. For the latter, we use naked names
27992 # like 'gcc', because the scripts in that directory assume it.  We use
27993 # mv on platforms where symlinks to directories do not work or are not
27994 # reliable.
27995
27996 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
27997 # be kept, so that libraries can find it.  Ick!
27998
27999 # It would be best to preinstall gcc into a staging area (and in the
28000 # future, gather there all prebootstrap packages).  This would allow
28001 # assemblers and linkers can be bootstrapped as well as the compiler
28002 # (both in a combined tree, or separately).  This however requires some
28003 # change to the gcc driver, again in order to avoid comparison failures.
28004
28005 # Bugs: This is crippled when doing parallel make, the `make all-host'
28006 # and `make all-target' phases can be parallelized.
28007
28008
28009 # 'touch' doesn't work right on some platforms.
28010 STAMP = echo timestamp > 
28011
28012 # Only build the C compiler for stage1, because that is the only one that
28013 # we can guarantee will build with the native compiler, and also it is the
28014 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28015 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28016 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28017
28018 STAGE1_CFLAGS=@stage1_cflags@
28019 STAGE1_LANGUAGES=@stage1_languages@
28020
28021 # We only want to compare .o files, so set this!
28022 objext = .o
28023
28024 # Flags to pass to stage2 and later makes.
28025 POSTSTAGE1_FLAGS_TO_PASS = \
28026         CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28027         STAGE_PREFIX=$$r/stage-gcc/ \
28028         CFLAGS="$(BOOT_CFLAGS)" \
28029         ADAC="\$$(CC)"
28030
28031 # For stage 1:
28032 # * We force-disable intermodule optimizations, even if
28033 #   --enable-intermodule was passed, since the installed compiler probably
28034 #   can't handle them.  Luckily, autoconf always respects
28035 #   the last argument when conflicting --enable arguments are passed.
28036 # * Likewise, we force-disable coverage flags, since the installed compiler
28037 #   probably has never heard of them.
28038 # * We build only C (and possibly Ada).
28039
28040
28041 .PHONY: stage1-start stage1-end
28042
28043 stage1-start::
28044         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28045         echo stage1 > stage_current ; \
28046         echo stage1 > stage_last
28047 @if bfd
28048         @[ -d stage1-bfd ] || mkdir stage1-bfd; \
28049         set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@ 
28050 @endif bfd
28051 @if opcodes
28052         @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
28053         set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@ 
28054 @endif opcodes
28055 @if binutils
28056         @[ -d stage1-binutils ] || mkdir stage1-binutils; \
28057         set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@ 
28058 @endif binutils
28059 @if gas
28060         @[ -d stage1-gas ] || mkdir stage1-gas; \
28061         set stage1-gas gas ; @CREATE_LINK_TO_DIR@ 
28062 @endif gas
28063 @if gcc
28064         @[ -d stage1-gcc ] || mkdir stage1-gcc; \
28065         set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@ 
28066 @endif gcc
28067 @if intl
28068         @[ -d stage1-intl ] || mkdir stage1-intl; \
28069         set stage1-intl intl ; @CREATE_LINK_TO_DIR@ 
28070 @endif intl
28071 @if ld
28072         @[ -d stage1-ld ] || mkdir stage1-ld; \
28073         set stage1-ld ld ; @CREATE_LINK_TO_DIR@ 
28074 @endif ld
28075 @if libcpp
28076         @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
28077         set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@ 
28078 @endif libcpp
28079 @if libiberty
28080         @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
28081         set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@ 
28082 @endif libiberty
28083 @if zlib
28084         @[ -d stage1-zlib ] || mkdir stage1-zlib; \
28085         set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@ 
28086 @endif zlib
28087
28088 stage1-end::
28089         @rm -f stage_current
28090 @if bfd
28091         @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
28092 @endif bfd
28093 @if opcodes
28094         @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
28095 @endif opcodes
28096 @if binutils
28097         @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
28098 @endif binutils
28099 @if gas
28100         @set gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
28101 @endif gas
28102 @if gcc
28103         @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
28104 @endif gcc
28105 @if intl
28106         @set intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
28107 @endif intl
28108 @if ld
28109         @set ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
28110 @endif ld
28111 @if libcpp
28112         @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
28113 @endif libcpp
28114 @if libiberty
28115         @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
28116 @endif libiberty
28117 @if zlib
28118         @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
28119 @endif zlib
28120
28121 # Bubble a bugfix through all the stages up to stage 1.  They
28122 # are remade, but not reconfigured.  The next stage (if any) will not
28123 # be reconfigured as well.
28124 .PHONY: stage1-bubble
28125 stage1-bubble:: 
28126         @if test -f stage1-lean  ; then \
28127           echo Skipping rebuild of stage1 ; \
28128         else \
28129           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
28130         fi
28131
28132 .PHONY: all-stage1 clean-stage1
28133 all-stage1:     \
28134   maybe-all-stage1-bfd \
28135   maybe-all-stage1-opcodes \
28136   maybe-all-stage1-binutils             \
28137   maybe-all-stage1-gas \
28138   maybe-all-stage1-gcc        \
28139   maybe-all-stage1-intl   \
28140   maybe-all-stage1-ld \
28141   maybe-all-stage1-libcpp  \
28142   maybe-all-stage1-libiberty                        \
28143   maybe-all-stage1-zlib       
28144
28145 do-clean: clean-stage1
28146 clean-stage1:     \
28147   maybe-clean-stage1-bfd \
28148   maybe-clean-stage1-opcodes \
28149   maybe-clean-stage1-binutils             \
28150   maybe-clean-stage1-gas \
28151   maybe-clean-stage1-gcc        \
28152   maybe-clean-stage1-intl   \
28153   maybe-clean-stage1-ld \
28154   maybe-clean-stage1-libcpp  \
28155   maybe-clean-stage1-libiberty                        \
28156   maybe-clean-stage1-zlib       
28157
28158
28159 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28160 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28161 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28162
28163 maybe-configure-stage1-bfd:
28164 maybe-all-stage1-bfd:
28165 maybe-clean-stage1-bfd:
28166
28167 @if bfd-bootstrap
28168 maybe-configure-stage1-bfd: configure-stage1-bfd
28169 configure-stage1-bfd:
28170         @$(MAKE) stage1-start
28171         @[ -f bfd/Makefile ] && exit 0 || : ; \
28172         r=`${PWD_COMMAND}`; export r; \
28173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28174         $(HOST_EXPORTS)  \
28175         echo Configuring stage 1 in bfd ; \
28176         cd bfd || exit 1; \
28177         case $(srcdir) in \
28178           \.) \
28179             srcdiroption="--srcdir=."; \
28180             libsrcdir=".";; \
28181           /* | [A-Za-z]:[\\/]*) \
28182             srcdiroption="--srcdir=$(srcdir)/bfd"; \
28183             libsrcdir="$$s/bfd";; \
28184           *) \
28185             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28186             libsrcdir="$$s/bfd";; \
28187         esac; \
28188         $(SHELL) $${libsrcdir}/configure \
28189           $(HOST_CONFIGARGS) $${srcdiroption} \
28190           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28191
28192 maybe-all-stage1-bfd: all-stage1-bfd
28193 all-stage1-bfd: configure-stage1-bfd
28194         @$(MAKE) stage1-start
28195         @r=`${PWD_COMMAND}`; export r; \
28196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28197         $(HOST_EXPORTS)  \
28198         cd bfd && \
28199         $(MAKE) $(FLAGS_TO_PASS)  \
28200                 CFLAGS="$(STAGE1_CFLAGS)" 
28201
28202 maybe-clean-stage1-bfd: clean-stage1-bfd
28203 clean-stage1-bfd:
28204         @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28205           || exit 0 ; \
28206         [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28207         cd bfd && \
28208         $(MAKE) $(FLAGS_TO_PASS)  \
28209                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28210 @endif bfd-bootstrap
28211
28212
28213 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28214 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28215 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28216
28217 maybe-configure-stage1-opcodes:
28218 maybe-all-stage1-opcodes:
28219 maybe-clean-stage1-opcodes:
28220
28221 @if opcodes-bootstrap
28222 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28223 configure-stage1-opcodes:
28224         @$(MAKE) stage1-start
28225         @[ -f opcodes/Makefile ] && exit 0 || : ; \
28226         r=`${PWD_COMMAND}`; export r; \
28227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28228         $(HOST_EXPORTS)  \
28229         echo Configuring stage 1 in opcodes ; \
28230         cd opcodes || exit 1; \
28231         case $(srcdir) in \
28232           \.) \
28233             srcdiroption="--srcdir=."; \
28234             libsrcdir=".";; \
28235           /* | [A-Za-z]:[\\/]*) \
28236             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28237             libsrcdir="$$s/opcodes";; \
28238           *) \
28239             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28240             libsrcdir="$$s/opcodes";; \
28241         esac; \
28242         $(SHELL) $${libsrcdir}/configure \
28243           $(HOST_CONFIGARGS) $${srcdiroption} \
28244           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28245
28246 maybe-all-stage1-opcodes: all-stage1-opcodes
28247 all-stage1-opcodes: configure-stage1-opcodes
28248         @$(MAKE) stage1-start
28249         @r=`${PWD_COMMAND}`; export r; \
28250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28251         $(HOST_EXPORTS)  \
28252         cd opcodes && \
28253         $(MAKE) $(FLAGS_TO_PASS)  \
28254                 CFLAGS="$(STAGE1_CFLAGS)" 
28255
28256 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28257 clean-stage1-opcodes:
28258         @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28259           || exit 0 ; \
28260         [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28261         cd opcodes && \
28262         $(MAKE) $(FLAGS_TO_PASS)  \
28263                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28264 @endif opcodes-bootstrap
28265
28266
28267 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28268 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28269 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28270
28271 maybe-configure-stage1-binutils:
28272 maybe-all-stage1-binutils:
28273 maybe-clean-stage1-binutils:
28274
28275 @if binutils-bootstrap
28276 maybe-configure-stage1-binutils: configure-stage1-binutils
28277 configure-stage1-binutils:
28278         @$(MAKE) stage1-start
28279         @[ -f binutils/Makefile ] && exit 0 || : ; \
28280         r=`${PWD_COMMAND}`; export r; \
28281         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28282         $(HOST_EXPORTS)  \
28283         echo Configuring stage 1 in binutils ; \
28284         cd binutils || exit 1; \
28285         case $(srcdir) in \
28286           \.) \
28287             srcdiroption="--srcdir=."; \
28288             libsrcdir=".";; \
28289           /* | [A-Za-z]:[\\/]*) \
28290             srcdiroption="--srcdir=$(srcdir)/binutils"; \
28291             libsrcdir="$$s/binutils";; \
28292           *) \
28293             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28294             libsrcdir="$$s/binutils";; \
28295         esac; \
28296         $(SHELL) $${libsrcdir}/configure \
28297           $(HOST_CONFIGARGS) $${srcdiroption} \
28298           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28299
28300 maybe-all-stage1-binutils: all-stage1-binutils
28301 all-stage1-binutils: configure-stage1-binutils
28302         @$(MAKE) stage1-start
28303         @r=`${PWD_COMMAND}`; export r; \
28304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28305         $(HOST_EXPORTS)  \
28306         cd binutils && \
28307         $(MAKE) $(FLAGS_TO_PASS)  \
28308                 CFLAGS="$(STAGE1_CFLAGS)" 
28309
28310 maybe-clean-stage1-binutils: clean-stage1-binutils
28311 clean-stage1-binutils:
28312         @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28313           || exit 0 ; \
28314         [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28315         cd binutils && \
28316         $(MAKE) $(FLAGS_TO_PASS)  \
28317                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28318 @endif binutils-bootstrap
28319
28320
28321 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28322 .PHONY: all-stage1-gas maybe-all-stage1-gas
28323 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28324
28325 maybe-configure-stage1-gas:
28326 maybe-all-stage1-gas:
28327 maybe-clean-stage1-gas:
28328
28329 @if gas-bootstrap
28330 maybe-configure-stage1-gas: configure-stage1-gas
28331 configure-stage1-gas:
28332         @$(MAKE) stage1-start
28333         @[ -f gas/Makefile ] && exit 0 || : ; \
28334         r=`${PWD_COMMAND}`; export r; \
28335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28336         $(HOST_EXPORTS)  \
28337         echo Configuring stage 1 in gas ; \
28338         cd gas || exit 1; \
28339         case $(srcdir) in \
28340           \.) \
28341             srcdiroption="--srcdir=."; \
28342             libsrcdir=".";; \
28343           /* | [A-Za-z]:[\\/]*) \
28344             srcdiroption="--srcdir=$(srcdir)/gas"; \
28345             libsrcdir="$$s/gas";; \
28346           *) \
28347             srcdiroption="--srcdir=../$(srcdir)/gas"; \
28348             libsrcdir="$$s/gas";; \
28349         esac; \
28350         $(SHELL) $${libsrcdir}/configure \
28351           $(HOST_CONFIGARGS) $${srcdiroption} \
28352           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28353
28354 maybe-all-stage1-gas: all-stage1-gas
28355 all-stage1-gas: configure-stage1-gas
28356         @$(MAKE) stage1-start
28357         @r=`${PWD_COMMAND}`; export r; \
28358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28359         $(HOST_EXPORTS)  \
28360         cd gas && \
28361         $(MAKE) $(FLAGS_TO_PASS)  \
28362                 CFLAGS="$(STAGE1_CFLAGS)" 
28363
28364 maybe-clean-stage1-gas: clean-stage1-gas
28365 clean-stage1-gas:
28366         @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28367           || exit 0 ; \
28368         [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28369         cd gas && \
28370         $(MAKE) $(FLAGS_TO_PASS)  \
28371                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28372 @endif gas-bootstrap
28373
28374
28375 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28376 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28377 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28378
28379 maybe-configure-stage1-gcc:
28380 maybe-all-stage1-gcc:
28381 maybe-clean-stage1-gcc:
28382
28383 @if gcc-bootstrap
28384 maybe-configure-stage1-gcc: configure-stage1-gcc
28385 configure-stage1-gcc:
28386         @$(MAKE) stage1-start
28387         @[ -f gcc/Makefile ] && exit 0 || : ; \
28388         r=`${PWD_COMMAND}`; export r; \
28389         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28390         $(HOST_EXPORTS)  \
28391         echo Configuring stage 1 in gcc ; \
28392         cd gcc || exit 1; \
28393         case $(srcdir) in \
28394           \.) \
28395             srcdiroption="--srcdir=."; \
28396             libsrcdir=".";; \
28397           /* | [A-Za-z]:[\\/]*) \
28398             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28399             libsrcdir="$$s/gcc";; \
28400           *) \
28401             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28402             libsrcdir="$$s/gcc";; \
28403         esac; \
28404         $(SHELL) $${libsrcdir}/configure \
28405           $(HOST_CONFIGARGS) $${srcdiroption} \
28406           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28407
28408 maybe-all-stage1-gcc: all-stage1-gcc
28409 all-stage1-gcc: configure-stage1-gcc
28410         @$(MAKE) stage1-start
28411         @r=`${PWD_COMMAND}`; export r; \
28412         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28413         $(HOST_EXPORTS)  \
28414         cd gcc && \
28415         $(MAKE) $(FLAGS_TO_PASS)  \
28416                 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28417
28418 maybe-clean-stage1-gcc: clean-stage1-gcc
28419 clean-stage1-gcc:
28420         @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28421           || exit 0 ; \
28422         [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28423         cd gcc && \
28424         $(MAKE) $(FLAGS_TO_PASS)  \
28425                 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28426 @endif gcc-bootstrap
28427
28428
28429 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28430 .PHONY: all-stage1-intl maybe-all-stage1-intl
28431 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28432
28433 maybe-configure-stage1-intl:
28434 maybe-all-stage1-intl:
28435 maybe-clean-stage1-intl:
28436
28437 @if intl-bootstrap
28438 maybe-configure-stage1-intl: configure-stage1-intl
28439 configure-stage1-intl:
28440         @$(MAKE) stage1-start
28441         @[ -f intl/Makefile ] && exit 0 || : ; \
28442         r=`${PWD_COMMAND}`; export r; \
28443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28444         $(HOST_EXPORTS)  \
28445         echo Configuring stage 1 in intl ; \
28446         cd intl || exit 1; \
28447         case $(srcdir) in \
28448           \.) \
28449             srcdiroption="--srcdir=."; \
28450             libsrcdir=".";; \
28451           /* | [A-Za-z]:[\\/]*) \
28452             srcdiroption="--srcdir=$(srcdir)/intl"; \
28453             libsrcdir="$$s/intl";; \
28454           *) \
28455             srcdiroption="--srcdir=../$(srcdir)/intl"; \
28456             libsrcdir="$$s/intl";; \
28457         esac; \
28458         $(SHELL) $${libsrcdir}/configure \
28459           $(HOST_CONFIGARGS) $${srcdiroption} \
28460           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28461
28462 maybe-all-stage1-intl: all-stage1-intl
28463 all-stage1-intl: configure-stage1-intl
28464         @$(MAKE) stage1-start
28465         @r=`${PWD_COMMAND}`; export r; \
28466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28467         $(HOST_EXPORTS)  \
28468         cd intl && \
28469         $(MAKE) $(FLAGS_TO_PASS)  \
28470                 CFLAGS="$(STAGE1_CFLAGS)" 
28471
28472 maybe-clean-stage1-intl: clean-stage1-intl
28473 clean-stage1-intl:
28474         @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28475           || exit 0 ; \
28476         [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28477         cd intl && \
28478         $(MAKE) $(FLAGS_TO_PASS)  \
28479                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28480 @endif intl-bootstrap
28481
28482
28483 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28484 .PHONY: all-stage1-ld maybe-all-stage1-ld
28485 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28486
28487 maybe-configure-stage1-ld:
28488 maybe-all-stage1-ld:
28489 maybe-clean-stage1-ld:
28490
28491 @if ld-bootstrap
28492 maybe-configure-stage1-ld: configure-stage1-ld
28493 configure-stage1-ld:
28494         @$(MAKE) stage1-start
28495         @[ -f ld/Makefile ] && exit 0 || : ; \
28496         r=`${PWD_COMMAND}`; export r; \
28497         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28498         $(HOST_EXPORTS)  \
28499         echo Configuring stage 1 in ld ; \
28500         cd ld || exit 1; \
28501         case $(srcdir) in \
28502           \.) \
28503             srcdiroption="--srcdir=."; \
28504             libsrcdir=".";; \
28505           /* | [A-Za-z]:[\\/]*) \
28506             srcdiroption="--srcdir=$(srcdir)/ld"; \
28507             libsrcdir="$$s/ld";; \
28508           *) \
28509             srcdiroption="--srcdir=../$(srcdir)/ld"; \
28510             libsrcdir="$$s/ld";; \
28511         esac; \
28512         $(SHELL) $${libsrcdir}/configure \
28513           $(HOST_CONFIGARGS) $${srcdiroption} \
28514           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28515
28516 maybe-all-stage1-ld: all-stage1-ld
28517 all-stage1-ld: configure-stage1-ld
28518         @$(MAKE) stage1-start
28519         @r=`${PWD_COMMAND}`; export r; \
28520         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28521         $(HOST_EXPORTS)  \
28522         cd ld && \
28523         $(MAKE) $(FLAGS_TO_PASS)  \
28524                 CFLAGS="$(STAGE1_CFLAGS)" 
28525
28526 maybe-clean-stage1-ld: clean-stage1-ld
28527 clean-stage1-ld:
28528         @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28529           || exit 0 ; \
28530         [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28531         cd ld && \
28532         $(MAKE) $(FLAGS_TO_PASS)  \
28533                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28534 @endif ld-bootstrap
28535
28536
28537 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28538 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28539 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28540
28541 maybe-configure-stage1-libcpp:
28542 maybe-all-stage1-libcpp:
28543 maybe-clean-stage1-libcpp:
28544
28545 @if libcpp-bootstrap
28546 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28547 configure-stage1-libcpp:
28548         @$(MAKE) stage1-start
28549         @[ -f libcpp/Makefile ] && exit 0 || : ; \
28550         r=`${PWD_COMMAND}`; export r; \
28551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28552         $(HOST_EXPORTS)  \
28553         echo Configuring stage 1 in libcpp ; \
28554         cd libcpp || exit 1; \
28555         case $(srcdir) in \
28556           \.) \
28557             srcdiroption="--srcdir=."; \
28558             libsrcdir=".";; \
28559           /* | [A-Za-z]:[\\/]*) \
28560             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28561             libsrcdir="$$s/libcpp";; \
28562           *) \
28563             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28564             libsrcdir="$$s/libcpp";; \
28565         esac; \
28566         $(SHELL) $${libsrcdir}/configure \
28567           $(HOST_CONFIGARGS) $${srcdiroption} \
28568           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28569
28570 maybe-all-stage1-libcpp: all-stage1-libcpp
28571 all-stage1-libcpp: configure-stage1-libcpp
28572         @$(MAKE) stage1-start
28573         @r=`${PWD_COMMAND}`; export r; \
28574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28575         $(HOST_EXPORTS)  \
28576         cd libcpp && \
28577         $(MAKE) $(FLAGS_TO_PASS)  \
28578                 CFLAGS="$(STAGE1_CFLAGS)" 
28579
28580 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28581 clean-stage1-libcpp:
28582         @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28583           || exit 0 ; \
28584         [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28585         cd libcpp && \
28586         $(MAKE) $(FLAGS_TO_PASS)  \
28587                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28588 @endif libcpp-bootstrap
28589
28590
28591 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28592 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28593 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28594
28595 maybe-configure-stage1-libiberty:
28596 maybe-all-stage1-libiberty:
28597 maybe-clean-stage1-libiberty:
28598
28599 @if libiberty-bootstrap
28600 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28601 configure-stage1-libiberty:
28602         @$(MAKE) stage1-start
28603         @[ -f libiberty/Makefile ] && exit 0 || : ; \
28604         r=`${PWD_COMMAND}`; export r; \
28605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28606         $(HOST_EXPORTS)  \
28607         echo Configuring stage 1 in libiberty ; \
28608         cd libiberty || exit 1; \
28609         case $(srcdir) in \
28610           \.) \
28611             srcdiroption="--srcdir=."; \
28612             libsrcdir=".";; \
28613           /* | [A-Za-z]:[\\/]*) \
28614             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28615             libsrcdir="$$s/libiberty";; \
28616           *) \
28617             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28618             libsrcdir="$$s/libiberty";; \
28619         esac; \
28620         $(SHELL) $${libsrcdir}/configure \
28621           $(HOST_CONFIGARGS) $${srcdiroption} \
28622           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28623
28624 maybe-all-stage1-libiberty: all-stage1-libiberty
28625 all-stage1-libiberty: configure-stage1-libiberty
28626         @$(MAKE) stage1-start
28627         @r=`${PWD_COMMAND}`; export r; \
28628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28629         $(HOST_EXPORTS)  \
28630         cd libiberty && \
28631         $(MAKE) $(FLAGS_TO_PASS)  \
28632                 CFLAGS="$(STAGE1_CFLAGS)" 
28633
28634 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28635 clean-stage1-libiberty:
28636         @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28637           || exit 0 ; \
28638         [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28639         cd libiberty && \
28640         $(MAKE) $(FLAGS_TO_PASS)  \
28641                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28642 @endif libiberty-bootstrap
28643
28644
28645 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28646 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28647 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28648
28649 maybe-configure-stage1-zlib:
28650 maybe-all-stage1-zlib:
28651 maybe-clean-stage1-zlib:
28652
28653 @if zlib-bootstrap
28654 maybe-configure-stage1-zlib: configure-stage1-zlib
28655 configure-stage1-zlib:
28656         @$(MAKE) stage1-start
28657         @[ -f zlib/Makefile ] && exit 0 || : ; \
28658         r=`${PWD_COMMAND}`; export r; \
28659         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28660         $(HOST_EXPORTS)  \
28661         echo Configuring stage 1 in zlib ; \
28662         cd zlib || exit 1; \
28663         case $(srcdir) in \
28664           \.) \
28665             srcdiroption="--srcdir=."; \
28666             libsrcdir=".";; \
28667           /* | [A-Za-z]:[\\/]*) \
28668             srcdiroption="--srcdir=$(srcdir)/zlib"; \
28669             libsrcdir="$$s/zlib";; \
28670           *) \
28671             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28672             libsrcdir="$$s/zlib";; \
28673         esac; \
28674         $(SHELL) $${libsrcdir}/configure \
28675           $(HOST_CONFIGARGS) $${srcdiroption} \
28676           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28677
28678 maybe-all-stage1-zlib: all-stage1-zlib
28679 all-stage1-zlib: configure-stage1-zlib
28680         @$(MAKE) stage1-start
28681         @r=`${PWD_COMMAND}`; export r; \
28682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28683         $(HOST_EXPORTS)  \
28684         cd zlib && \
28685         $(MAKE) $(FLAGS_TO_PASS)  \
28686                 CFLAGS="$(STAGE1_CFLAGS)" 
28687
28688 maybe-clean-stage1-zlib: clean-stage1-zlib
28689 clean-stage1-zlib:
28690         @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
28691           || exit 0 ; \
28692         [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
28693         cd zlib && \
28694         $(MAKE) $(FLAGS_TO_PASS)  \
28695                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28696 @endif zlib-bootstrap
28697
28698
28699
28700 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28701 # only possibility, but now it conflicts with no-bootstrap rules
28702 @if gcc-bootstrap
28703
28704
28705
28706
28707 # Rules to wipe a stage and all the following ones, also used for cleanstrap
28708
28709 .PHONY: distclean-stage1
28710 distclean-stage1::
28711         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28712         rm -rf stage1-* 
28713
28714
28715 @endif gcc-bootstrap
28716
28717
28718 .PHONY: stage2-start stage2-end
28719
28720 stage2-start::
28721         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28722         echo stage2 > stage_current ; \
28723         echo stage2 > stage_last
28724 @if bfd
28725         @[ -d stage2-bfd ] || mkdir stage2-bfd; \
28726         set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
28727         set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
28728 @endif bfd
28729 @if opcodes
28730         @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28731         set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
28732         set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
28733 @endif opcodes
28734 @if binutils
28735         @[ -d stage2-binutils ] || mkdir stage2-binutils; \
28736         set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
28737         set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
28738 @endif binutils
28739 @if gas
28740         @[ -d stage2-gas ] || mkdir stage2-gas; \
28741         set stage2-gas gas ; @CREATE_LINK_TO_DIR@  ; \
28742         set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
28743 @endif gas
28744 @if gcc
28745         @[ -d stage2-gcc ] || mkdir stage2-gcc; \
28746         set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
28747         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
28748 @endif gcc
28749 @if intl
28750         @[ -d stage2-intl ] || mkdir stage2-intl; \
28751         set stage2-intl intl ; @CREATE_LINK_TO_DIR@  ; \
28752         set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
28753 @endif intl
28754 @if ld
28755         @[ -d stage2-ld ] || mkdir stage2-ld; \
28756         set stage2-ld ld ; @CREATE_LINK_TO_DIR@  ; \
28757         set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
28758 @endif ld
28759 @if libcpp
28760         @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
28761         set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
28762         set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
28763 @endif libcpp
28764 @if libiberty
28765         @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
28766         set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
28767         set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
28768 @endif libiberty
28769 @if zlib
28770         @[ -d stage2-zlib ] || mkdir stage2-zlib; \
28771         set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
28772         set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
28773 @endif zlib
28774
28775 stage2-end::
28776         @rm -f stage_current
28777 @if bfd
28778         @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@  ; \
28779         set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
28780 @endif bfd
28781 @if opcodes
28782         @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@  ; \
28783         set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
28784 @endif opcodes
28785 @if binutils
28786         @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@  ; \
28787         set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
28788 @endif binutils
28789 @if gas
28790         @set gas stage2-gas ; @UNDO_LINK_TO_DIR@  ; \
28791         set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
28792 @endif gas
28793 @if gcc
28794         @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@  ; \
28795         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
28796 @endif gcc
28797 @if intl
28798         @set intl stage2-intl ; @UNDO_LINK_TO_DIR@  ; \
28799         set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
28800 @endif intl
28801 @if ld
28802         @set ld stage2-ld ; @UNDO_LINK_TO_DIR@  ; \
28803         set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
28804 @endif ld
28805 @if libcpp
28806         @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@  ; \
28807         set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
28808 @endif libcpp
28809 @if libiberty
28810         @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@  ; \
28811         set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
28812 @endif libiberty
28813 @if zlib
28814         @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@  ; \
28815         set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
28816 @endif zlib
28817
28818 # Bubble a bugfix through all the stages up to stage 2.  They
28819 # are remade, but not reconfigured.  The next stage (if any) will not
28820 # be reconfigured as well.
28821 .PHONY: stage2-bubble
28822 stage2-bubble:: stage1-bubble
28823         @if test -f stage2-lean || test -f stage1-lean  ; then \
28824           echo Skipping rebuild of stage2 ; \
28825         else \
28826           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
28827         fi
28828
28829 .PHONY: all-stage2 clean-stage2
28830 all-stage2:     \
28831   maybe-all-stage2-bfd \
28832   maybe-all-stage2-opcodes \
28833   maybe-all-stage2-binutils             \
28834   maybe-all-stage2-gas \
28835   maybe-all-stage2-gcc        \
28836   maybe-all-stage2-intl   \
28837   maybe-all-stage2-ld \
28838   maybe-all-stage2-libcpp  \
28839   maybe-all-stage2-libiberty                        \
28840   maybe-all-stage2-zlib       
28841
28842 do-clean: clean-stage2
28843 clean-stage2:     \
28844   maybe-clean-stage2-bfd \
28845   maybe-clean-stage2-opcodes \
28846   maybe-clean-stage2-binutils             \
28847   maybe-clean-stage2-gas \
28848   maybe-clean-stage2-gcc        \
28849   maybe-clean-stage2-intl   \
28850   maybe-clean-stage2-ld \
28851   maybe-clean-stage2-libcpp  \
28852   maybe-clean-stage2-libiberty                        \
28853   maybe-clean-stage2-zlib       
28854
28855
28856 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
28857 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
28858 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
28859
28860 maybe-configure-stage2-bfd:
28861 maybe-all-stage2-bfd:
28862 maybe-clean-stage2-bfd:
28863
28864 @if bfd-bootstrap
28865 maybe-configure-stage2-bfd: configure-stage2-bfd
28866 configure-stage2-bfd:
28867         @$(MAKE) stage2-start
28868         @[ -f bfd/Makefile ] && exit 0 || : ; \
28869         r=`${PWD_COMMAND}`; export r; \
28870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28871         $(STAGE_HOST_EXPORTS)  \
28872         echo Configuring stage 2 in bfd ; \
28873         cd bfd || exit 1; \
28874         case $(srcdir) in \
28875           \.) \
28876             srcdiroption="--srcdir=."; \
28877             libsrcdir=".";; \
28878           /* | [A-Za-z]:[\\/]*) \
28879             srcdiroption="--srcdir=$(srcdir)/bfd"; \
28880             libsrcdir="$$s/bfd";; \
28881           *) \
28882             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28883             libsrcdir="$$s/bfd";; \
28884         esac; \
28885         $(SHELL) $${libsrcdir}/configure \
28886           $(HOST_CONFIGARGS) $${srcdiroption} \
28887           @stage2_werror_flag@ 
28888
28889 maybe-all-stage2-bfd: all-stage2-bfd
28890 all-stage2-bfd: configure-stage2-bfd
28891         @$(MAKE) stage2-start
28892         @r=`${PWD_COMMAND}`; export r; \
28893         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28894         $(STAGE_HOST_EXPORTS)  \
28895         cd bfd && \
28896         $(MAKE) $(FLAGS_TO_PASS)  \
28897                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28898                  
28899
28900 maybe-clean-stage2-bfd: clean-stage2-bfd
28901 clean-stage2-bfd:
28902         @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
28903           || exit 0 ; \
28904         [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
28905         cd bfd && \
28906         $(MAKE) $(FLAGS_TO_PASS)  \
28907                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28908                   clean
28909 @endif bfd-bootstrap
28910
28911
28912 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
28913 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
28914 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
28915
28916 maybe-configure-stage2-opcodes:
28917 maybe-all-stage2-opcodes:
28918 maybe-clean-stage2-opcodes:
28919
28920 @if opcodes-bootstrap
28921 maybe-configure-stage2-opcodes: configure-stage2-opcodes
28922 configure-stage2-opcodes:
28923         @$(MAKE) stage2-start
28924         @[ -f opcodes/Makefile ] && exit 0 || : ; \
28925         r=`${PWD_COMMAND}`; export r; \
28926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28927         $(STAGE_HOST_EXPORTS)  \
28928         echo Configuring stage 2 in opcodes ; \
28929         cd opcodes || exit 1; \
28930         case $(srcdir) in \
28931           \.) \
28932             srcdiroption="--srcdir=."; \
28933             libsrcdir=".";; \
28934           /* | [A-Za-z]:[\\/]*) \
28935             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28936             libsrcdir="$$s/opcodes";; \
28937           *) \
28938             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28939             libsrcdir="$$s/opcodes";; \
28940         esac; \
28941         $(SHELL) $${libsrcdir}/configure \
28942           $(HOST_CONFIGARGS) $${srcdiroption} \
28943           @stage2_werror_flag@ 
28944
28945 maybe-all-stage2-opcodes: all-stage2-opcodes
28946 all-stage2-opcodes: configure-stage2-opcodes
28947         @$(MAKE) stage2-start
28948         @r=`${PWD_COMMAND}`; export r; \
28949         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28950         $(STAGE_HOST_EXPORTS)  \
28951         cd opcodes && \
28952         $(MAKE) $(FLAGS_TO_PASS)  \
28953                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28954                  
28955
28956 maybe-clean-stage2-opcodes: clean-stage2-opcodes
28957 clean-stage2-opcodes:
28958         @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
28959           || exit 0 ; \
28960         [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
28961         cd opcodes && \
28962         $(MAKE) $(FLAGS_TO_PASS)  \
28963                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28964                   clean
28965 @endif opcodes-bootstrap
28966
28967
28968 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
28969 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
28970 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
28971
28972 maybe-configure-stage2-binutils:
28973 maybe-all-stage2-binutils:
28974 maybe-clean-stage2-binutils:
28975
28976 @if binutils-bootstrap
28977 maybe-configure-stage2-binutils: configure-stage2-binutils
28978 configure-stage2-binutils:
28979         @$(MAKE) stage2-start
28980         @[ -f binutils/Makefile ] && exit 0 || : ; \
28981         r=`${PWD_COMMAND}`; export r; \
28982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28983         $(STAGE_HOST_EXPORTS)  \
28984         echo Configuring stage 2 in binutils ; \
28985         cd binutils || exit 1; \
28986         case $(srcdir) in \
28987           \.) \
28988             srcdiroption="--srcdir=."; \
28989             libsrcdir=".";; \
28990           /* | [A-Za-z]:[\\/]*) \
28991             srcdiroption="--srcdir=$(srcdir)/binutils"; \
28992             libsrcdir="$$s/binutils";; \
28993           *) \
28994             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28995             libsrcdir="$$s/binutils";; \
28996         esac; \
28997         $(SHELL) $${libsrcdir}/configure \
28998           $(HOST_CONFIGARGS) $${srcdiroption} \
28999           @stage2_werror_flag@ 
29000
29001 maybe-all-stage2-binutils: all-stage2-binutils
29002 all-stage2-binutils: configure-stage2-binutils
29003         @$(MAKE) stage2-start
29004         @r=`${PWD_COMMAND}`; export r; \
29005         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29006         $(STAGE_HOST_EXPORTS)  \
29007         cd binutils && \
29008         $(MAKE) $(FLAGS_TO_PASS)  \
29009                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29010                  
29011
29012 maybe-clean-stage2-binutils: clean-stage2-binutils
29013 clean-stage2-binutils:
29014         @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
29015           || exit 0 ; \
29016         [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
29017         cd binutils && \
29018         $(MAKE) $(FLAGS_TO_PASS)  \
29019                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29020                   clean
29021 @endif binutils-bootstrap
29022
29023
29024 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
29025 .PHONY: all-stage2-gas maybe-all-stage2-gas
29026 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
29027
29028 maybe-configure-stage2-gas:
29029 maybe-all-stage2-gas:
29030 maybe-clean-stage2-gas:
29031
29032 @if gas-bootstrap
29033 maybe-configure-stage2-gas: configure-stage2-gas
29034 configure-stage2-gas:
29035         @$(MAKE) stage2-start
29036         @[ -f gas/Makefile ] && exit 0 || : ; \
29037         r=`${PWD_COMMAND}`; export r; \
29038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29039         $(STAGE_HOST_EXPORTS)  \
29040         echo Configuring stage 2 in gas ; \
29041         cd gas || exit 1; \
29042         case $(srcdir) in \
29043           \.) \
29044             srcdiroption="--srcdir=."; \
29045             libsrcdir=".";; \
29046           /* | [A-Za-z]:[\\/]*) \
29047             srcdiroption="--srcdir=$(srcdir)/gas"; \
29048             libsrcdir="$$s/gas";; \
29049           *) \
29050             srcdiroption="--srcdir=../$(srcdir)/gas"; \
29051             libsrcdir="$$s/gas";; \
29052         esac; \
29053         $(SHELL) $${libsrcdir}/configure \
29054           $(HOST_CONFIGARGS) $${srcdiroption} \
29055           @stage2_werror_flag@ 
29056
29057 maybe-all-stage2-gas: all-stage2-gas
29058 all-stage2-gas: configure-stage2-gas
29059         @$(MAKE) stage2-start
29060         @r=`${PWD_COMMAND}`; export r; \
29061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29062         $(STAGE_HOST_EXPORTS)  \
29063         cd gas && \
29064         $(MAKE) $(FLAGS_TO_PASS)  \
29065                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29066                  
29067
29068 maybe-clean-stage2-gas: clean-stage2-gas
29069 clean-stage2-gas:
29070         @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
29071           || exit 0 ; \
29072         [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
29073         cd gas && \
29074         $(MAKE) $(FLAGS_TO_PASS)  \
29075                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29076                   clean
29077 @endif gas-bootstrap
29078
29079
29080 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
29081 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
29082 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
29083
29084 maybe-configure-stage2-gcc:
29085 maybe-all-stage2-gcc:
29086 maybe-clean-stage2-gcc:
29087
29088 @if gcc-bootstrap
29089 maybe-configure-stage2-gcc: configure-stage2-gcc
29090 configure-stage2-gcc:
29091         @$(MAKE) stage2-start
29092         @[ -f gcc/Makefile ] && exit 0 || : ; \
29093         r=`${PWD_COMMAND}`; export r; \
29094         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29095         $(STAGE_HOST_EXPORTS)  \
29096         echo Configuring stage 2 in gcc ; \
29097         cd gcc || exit 1; \
29098         case $(srcdir) in \
29099           \.) \
29100             srcdiroption="--srcdir=."; \
29101             libsrcdir=".";; \
29102           /* | [A-Za-z]:[\\/]*) \
29103             srcdiroption="--srcdir=$(srcdir)/gcc"; \
29104             libsrcdir="$$s/gcc";; \
29105           *) \
29106             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29107             libsrcdir="$$s/gcc";; \
29108         esac; \
29109         $(SHELL) $${libsrcdir}/configure \
29110           $(HOST_CONFIGARGS) $${srcdiroption} \
29111           @stage2_werror_flag@ 
29112
29113 maybe-all-stage2-gcc: all-stage2-gcc
29114 all-stage2-gcc: configure-stage2-gcc
29115         @$(MAKE) stage2-start
29116         @r=`${PWD_COMMAND}`; export r; \
29117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29118         $(STAGE_HOST_EXPORTS)  \
29119         cd gcc && \
29120         $(MAKE) $(FLAGS_TO_PASS)  \
29121                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29122                  $(EXTRA_GCC_FLAGS)
29123
29124 maybe-clean-stage2-gcc: clean-stage2-gcc
29125 clean-stage2-gcc:
29126         @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
29127           || exit 0 ; \
29128         [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
29129         cd gcc && \
29130         $(MAKE) $(FLAGS_TO_PASS)  \
29131                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29132                  $(EXTRA_GCC_FLAGS) clean
29133 @endif gcc-bootstrap
29134
29135
29136 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29137 .PHONY: all-stage2-intl maybe-all-stage2-intl
29138 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29139
29140 maybe-configure-stage2-intl:
29141 maybe-all-stage2-intl:
29142 maybe-clean-stage2-intl:
29143
29144 @if intl-bootstrap
29145 maybe-configure-stage2-intl: configure-stage2-intl
29146 configure-stage2-intl:
29147         @$(MAKE) stage2-start
29148         @[ -f intl/Makefile ] && exit 0 || : ; \
29149         r=`${PWD_COMMAND}`; export r; \
29150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29151         $(STAGE_HOST_EXPORTS)  \
29152         echo Configuring stage 2 in intl ; \
29153         cd intl || exit 1; \
29154         case $(srcdir) in \
29155           \.) \
29156             srcdiroption="--srcdir=."; \
29157             libsrcdir=".";; \
29158           /* | [A-Za-z]:[\\/]*) \
29159             srcdiroption="--srcdir=$(srcdir)/intl"; \
29160             libsrcdir="$$s/intl";; \
29161           *) \
29162             srcdiroption="--srcdir=../$(srcdir)/intl"; \
29163             libsrcdir="$$s/intl";; \
29164         esac; \
29165         $(SHELL) $${libsrcdir}/configure \
29166           $(HOST_CONFIGARGS) $${srcdiroption} \
29167           @stage2_werror_flag@ 
29168
29169 maybe-all-stage2-intl: all-stage2-intl
29170 all-stage2-intl: configure-stage2-intl
29171         @$(MAKE) stage2-start
29172         @r=`${PWD_COMMAND}`; export r; \
29173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29174         $(STAGE_HOST_EXPORTS)  \
29175         cd intl && \
29176         $(MAKE) $(FLAGS_TO_PASS)  \
29177                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29178                  
29179
29180 maybe-clean-stage2-intl: clean-stage2-intl
29181 clean-stage2-intl:
29182         @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29183           || exit 0 ; \
29184         [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29185         cd intl && \
29186         $(MAKE) $(FLAGS_TO_PASS)  \
29187                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29188                   clean
29189 @endif intl-bootstrap
29190
29191
29192 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29193 .PHONY: all-stage2-ld maybe-all-stage2-ld
29194 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29195
29196 maybe-configure-stage2-ld:
29197 maybe-all-stage2-ld:
29198 maybe-clean-stage2-ld:
29199
29200 @if ld-bootstrap
29201 maybe-configure-stage2-ld: configure-stage2-ld
29202 configure-stage2-ld:
29203         @$(MAKE) stage2-start
29204         @[ -f ld/Makefile ] && exit 0 || : ; \
29205         r=`${PWD_COMMAND}`; export r; \
29206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29207         $(STAGE_HOST_EXPORTS)  \
29208         echo Configuring stage 2 in ld ; \
29209         cd ld || exit 1; \
29210         case $(srcdir) in \
29211           \.) \
29212             srcdiroption="--srcdir=."; \
29213             libsrcdir=".";; \
29214           /* | [A-Za-z]:[\\/]*) \
29215             srcdiroption="--srcdir=$(srcdir)/ld"; \
29216             libsrcdir="$$s/ld";; \
29217           *) \
29218             srcdiroption="--srcdir=../$(srcdir)/ld"; \
29219             libsrcdir="$$s/ld";; \
29220         esac; \
29221         $(SHELL) $${libsrcdir}/configure \
29222           $(HOST_CONFIGARGS) $${srcdiroption} \
29223           @stage2_werror_flag@ 
29224
29225 maybe-all-stage2-ld: all-stage2-ld
29226 all-stage2-ld: configure-stage2-ld
29227         @$(MAKE) stage2-start
29228         @r=`${PWD_COMMAND}`; export r; \
29229         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29230         $(STAGE_HOST_EXPORTS)  \
29231         cd ld && \
29232         $(MAKE) $(FLAGS_TO_PASS)  \
29233                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29234                  
29235
29236 maybe-clean-stage2-ld: clean-stage2-ld
29237 clean-stage2-ld:
29238         @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29239           || exit 0 ; \
29240         [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29241         cd ld && \
29242         $(MAKE) $(FLAGS_TO_PASS)  \
29243                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29244                   clean
29245 @endif ld-bootstrap
29246
29247
29248 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29249 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29250 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29251
29252 maybe-configure-stage2-libcpp:
29253 maybe-all-stage2-libcpp:
29254 maybe-clean-stage2-libcpp:
29255
29256 @if libcpp-bootstrap
29257 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29258 configure-stage2-libcpp:
29259         @$(MAKE) stage2-start
29260         @[ -f libcpp/Makefile ] && exit 0 || : ; \
29261         r=`${PWD_COMMAND}`; export r; \
29262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29263         $(STAGE_HOST_EXPORTS)  \
29264         echo Configuring stage 2 in libcpp ; \
29265         cd libcpp || exit 1; \
29266         case $(srcdir) in \
29267           \.) \
29268             srcdiroption="--srcdir=."; \
29269             libsrcdir=".";; \
29270           /* | [A-Za-z]:[\\/]*) \
29271             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29272             libsrcdir="$$s/libcpp";; \
29273           *) \
29274             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29275             libsrcdir="$$s/libcpp";; \
29276         esac; \
29277         $(SHELL) $${libsrcdir}/configure \
29278           $(HOST_CONFIGARGS) $${srcdiroption} \
29279           @stage2_werror_flag@ 
29280
29281 maybe-all-stage2-libcpp: all-stage2-libcpp
29282 all-stage2-libcpp: configure-stage2-libcpp
29283         @$(MAKE) stage2-start
29284         @r=`${PWD_COMMAND}`; export r; \
29285         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29286         $(STAGE_HOST_EXPORTS)  \
29287         cd libcpp && \
29288         $(MAKE) $(FLAGS_TO_PASS)  \
29289                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29290                  
29291
29292 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29293 clean-stage2-libcpp:
29294         @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29295           || exit 0 ; \
29296         [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29297         cd libcpp && \
29298         $(MAKE) $(FLAGS_TO_PASS)  \
29299                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29300                   clean
29301 @endif libcpp-bootstrap
29302
29303
29304 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29305 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29306 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29307
29308 maybe-configure-stage2-libiberty:
29309 maybe-all-stage2-libiberty:
29310 maybe-clean-stage2-libiberty:
29311
29312 @if libiberty-bootstrap
29313 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29314 configure-stage2-libiberty:
29315         @$(MAKE) stage2-start
29316         @[ -f libiberty/Makefile ] && exit 0 || : ; \
29317         r=`${PWD_COMMAND}`; export r; \
29318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29319         $(STAGE_HOST_EXPORTS)  \
29320         echo Configuring stage 2 in libiberty ; \
29321         cd libiberty || exit 1; \
29322         case $(srcdir) in \
29323           \.) \
29324             srcdiroption="--srcdir=."; \
29325             libsrcdir=".";; \
29326           /* | [A-Za-z]:[\\/]*) \
29327             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29328             libsrcdir="$$s/libiberty";; \
29329           *) \
29330             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29331             libsrcdir="$$s/libiberty";; \
29332         esac; \
29333         $(SHELL) $${libsrcdir}/configure \
29334           $(HOST_CONFIGARGS) $${srcdiroption} \
29335           @stage2_werror_flag@ 
29336
29337 maybe-all-stage2-libiberty: all-stage2-libiberty
29338 all-stage2-libiberty: configure-stage2-libiberty
29339         @$(MAKE) stage2-start
29340         @r=`${PWD_COMMAND}`; export r; \
29341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29342         $(STAGE_HOST_EXPORTS)  \
29343         cd libiberty && \
29344         $(MAKE) $(FLAGS_TO_PASS)  \
29345                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29346                  
29347
29348 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29349 clean-stage2-libiberty:
29350         @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29351           || exit 0 ; \
29352         [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29353         cd libiberty && \
29354         $(MAKE) $(FLAGS_TO_PASS)  \
29355                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29356                   clean
29357 @endif libiberty-bootstrap
29358
29359
29360 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29361 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29362 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29363
29364 maybe-configure-stage2-zlib:
29365 maybe-all-stage2-zlib:
29366 maybe-clean-stage2-zlib:
29367
29368 @if zlib-bootstrap
29369 maybe-configure-stage2-zlib: configure-stage2-zlib
29370 configure-stage2-zlib:
29371         @$(MAKE) stage2-start
29372         @[ -f zlib/Makefile ] && exit 0 || : ; \
29373         r=`${PWD_COMMAND}`; export r; \
29374         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29375         $(STAGE_HOST_EXPORTS)  \
29376         echo Configuring stage 2 in zlib ; \
29377         cd zlib || exit 1; \
29378         case $(srcdir) in \
29379           \.) \
29380             srcdiroption="--srcdir=."; \
29381             libsrcdir=".";; \
29382           /* | [A-Za-z]:[\\/]*) \
29383             srcdiroption="--srcdir=$(srcdir)/zlib"; \
29384             libsrcdir="$$s/zlib";; \
29385           *) \
29386             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29387             libsrcdir="$$s/zlib";; \
29388         esac; \
29389         $(SHELL) $${libsrcdir}/configure \
29390           $(HOST_CONFIGARGS) $${srcdiroption} \
29391           @stage2_werror_flag@ 
29392
29393 maybe-all-stage2-zlib: all-stage2-zlib
29394 all-stage2-zlib: configure-stage2-zlib
29395         @$(MAKE) stage2-start
29396         @r=`${PWD_COMMAND}`; export r; \
29397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29398         $(STAGE_HOST_EXPORTS)  \
29399         cd zlib && \
29400         $(MAKE) $(FLAGS_TO_PASS)  \
29401                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29402                  
29403
29404 maybe-clean-stage2-zlib: clean-stage2-zlib
29405 clean-stage2-zlib:
29406         @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29407           || exit 0 ; \
29408         [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29409         cd zlib && \
29410         $(MAKE) $(FLAGS_TO_PASS)  \
29411                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29412                   clean
29413 @endif zlib-bootstrap
29414
29415
29416
29417 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29418 # only possibility, but now it conflicts with no-bootstrap rules
29419 @if gcc-bootstrap
29420
29421
29422
29423 .PHONY: bootstrap2
29424 bootstrap2: stage2-bubble  all
29425
29426
29427 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29428 distclean-stage1:: distclean-stage2 
29429 .PHONY: distclean-stage2
29430 distclean-stage2::
29431         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29432         rm -rf stage2-* 
29433
29434
29435 @endif gcc-bootstrap
29436
29437
29438 .PHONY: stage3-start stage3-end
29439
29440 stage3-start::
29441         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29442         echo stage3 > stage_current ; \
29443         echo stage3 > stage_last
29444 @if bfd
29445         @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29446         set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
29447         set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
29448 @endif bfd
29449 @if opcodes
29450         @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29451         set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
29452         set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
29453 @endif opcodes
29454 @if binutils
29455         @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29456         set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
29457         set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
29458 @endif binutils
29459 @if gas
29460         @[ -d stage3-gas ] || mkdir stage3-gas; \
29461         set stage3-gas gas ; @CREATE_LINK_TO_DIR@  ; \
29462         set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
29463 @endif gas
29464 @if gcc
29465         @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29466         set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
29467         set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
29468 @endif gcc
29469 @if intl
29470         @[ -d stage3-intl ] || mkdir stage3-intl; \
29471         set stage3-intl intl ; @CREATE_LINK_TO_DIR@  ; \
29472         set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
29473 @endif intl
29474 @if ld
29475         @[ -d stage3-ld ] || mkdir stage3-ld; \
29476         set stage3-ld ld ; @CREATE_LINK_TO_DIR@  ; \
29477         set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
29478 @endif ld
29479 @if libcpp
29480         @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29481         set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
29482         set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
29483 @endif libcpp
29484 @if libiberty
29485         @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29486         set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
29487         set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
29488 @endif libiberty
29489 @if zlib
29490         @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29491         set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
29492         set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
29493 @endif zlib
29494
29495 stage3-end::
29496         @rm -f stage_current
29497 @if bfd
29498         @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@  ; \
29499         set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ 
29500 @endif bfd
29501 @if opcodes
29502         @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@  ; \
29503         set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ 
29504 @endif opcodes
29505 @if binutils
29506         @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@  ; \
29507         set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ 
29508 @endif binutils
29509 @if gas
29510         @set gas stage3-gas ; @UNDO_LINK_TO_DIR@  ; \
29511         set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@ 
29512 @endif gas
29513 @if gcc
29514         @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@  ; \
29515         set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ 
29516 @endif gcc
29517 @if intl
29518         @set intl stage3-intl ; @UNDO_LINK_TO_DIR@  ; \
29519         set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@ 
29520 @endif intl
29521 @if ld
29522         @set ld stage3-ld ; @UNDO_LINK_TO_DIR@  ; \
29523         set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@ 
29524 @endif ld
29525 @if libcpp
29526         @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@  ; \
29527         set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ 
29528 @endif libcpp
29529 @if libiberty
29530         @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@  ; \
29531         set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ 
29532 @endif libiberty
29533 @if zlib
29534         @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@  ; \
29535         set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ 
29536 @endif zlib
29537
29538 # Bubble a bugfix through all the stages up to stage 3.  They
29539 # are remade, but not reconfigured.  The next stage (if any) will not
29540 # be reconfigured as well.
29541 .PHONY: stage3-bubble
29542 stage3-bubble:: stage2-bubble
29543         @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29544         @if test -f stage3-lean || test -f stage2-lean  ; then \
29545           echo Skipping rebuild of stage3 ; \
29546         else \
29547           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29548         fi
29549
29550 .PHONY: all-stage3 clean-stage3
29551 all-stage3:     \
29552   maybe-all-stage3-bfd \
29553   maybe-all-stage3-opcodes \
29554   maybe-all-stage3-binutils             \
29555   maybe-all-stage3-gas \
29556   maybe-all-stage3-gcc        \
29557   maybe-all-stage3-intl   \
29558   maybe-all-stage3-ld \
29559   maybe-all-stage3-libcpp  \
29560   maybe-all-stage3-libiberty                        \
29561   maybe-all-stage3-zlib       
29562
29563 do-clean: clean-stage3
29564 clean-stage3:     \
29565   maybe-clean-stage3-bfd \
29566   maybe-clean-stage3-opcodes \
29567   maybe-clean-stage3-binutils             \
29568   maybe-clean-stage3-gas \
29569   maybe-clean-stage3-gcc        \
29570   maybe-clean-stage3-intl   \
29571   maybe-clean-stage3-ld \
29572   maybe-clean-stage3-libcpp  \
29573   maybe-clean-stage3-libiberty                        \
29574   maybe-clean-stage3-zlib       
29575
29576
29577 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29578 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29579 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29580
29581 maybe-configure-stage3-bfd:
29582 maybe-all-stage3-bfd:
29583 maybe-clean-stage3-bfd:
29584
29585 @if bfd-bootstrap
29586 maybe-configure-stage3-bfd: configure-stage3-bfd
29587 configure-stage3-bfd:
29588         @$(MAKE) stage3-start
29589         @[ -f bfd/Makefile ] && exit 0 || : ; \
29590         r=`${PWD_COMMAND}`; export r; \
29591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29592         $(STAGE_HOST_EXPORTS)  \
29593         echo Configuring stage 3 in bfd ; \
29594         cd bfd || exit 1; \
29595         case $(srcdir) in \
29596           \.) \
29597             srcdiroption="--srcdir=."; \
29598             libsrcdir=".";; \
29599           /* | [A-Za-z]:[\\/]*) \
29600             srcdiroption="--srcdir=$(srcdir)/bfd"; \
29601             libsrcdir="$$s/bfd";; \
29602           *) \
29603             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29604             libsrcdir="$$s/bfd";; \
29605         esac; \
29606         $(SHELL) $${libsrcdir}/configure \
29607           $(HOST_CONFIGARGS) $${srcdiroption} \
29608           @stage2_werror_flag@ 
29609
29610 maybe-all-stage3-bfd: all-stage3-bfd
29611 all-stage3-bfd: configure-stage3-bfd
29612         @$(MAKE) stage3-start
29613         @r=`${PWD_COMMAND}`; export r; \
29614         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29615         $(STAGE_HOST_EXPORTS)  \
29616         cd bfd && \
29617         $(MAKE) $(FLAGS_TO_PASS)  \
29618                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29619                  
29620
29621 maybe-clean-stage3-bfd: clean-stage3-bfd
29622 clean-stage3-bfd:
29623         @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29624           || exit 0 ; \
29625         [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29626         cd bfd && \
29627         $(MAKE) $(FLAGS_TO_PASS)  \
29628                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29629                   clean
29630 @endif bfd-bootstrap
29631
29632
29633 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29634 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29635 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29636
29637 maybe-configure-stage3-opcodes:
29638 maybe-all-stage3-opcodes:
29639 maybe-clean-stage3-opcodes:
29640
29641 @if opcodes-bootstrap
29642 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29643 configure-stage3-opcodes:
29644         @$(MAKE) stage3-start
29645         @[ -f opcodes/Makefile ] && exit 0 || : ; \
29646         r=`${PWD_COMMAND}`; export r; \
29647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29648         $(STAGE_HOST_EXPORTS)  \
29649         echo Configuring stage 3 in opcodes ; \
29650         cd opcodes || exit 1; \
29651         case $(srcdir) in \
29652           \.) \
29653             srcdiroption="--srcdir=."; \
29654             libsrcdir=".";; \
29655           /* | [A-Za-z]:[\\/]*) \
29656             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29657             libsrcdir="$$s/opcodes";; \
29658           *) \
29659             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29660             libsrcdir="$$s/opcodes";; \
29661         esac; \
29662         $(SHELL) $${libsrcdir}/configure \
29663           $(HOST_CONFIGARGS) $${srcdiroption} \
29664           @stage2_werror_flag@ 
29665
29666 maybe-all-stage3-opcodes: all-stage3-opcodes
29667 all-stage3-opcodes: configure-stage3-opcodes
29668         @$(MAKE) stage3-start
29669         @r=`${PWD_COMMAND}`; export r; \
29670         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29671         $(STAGE_HOST_EXPORTS)  \
29672         cd opcodes && \
29673         $(MAKE) $(FLAGS_TO_PASS)  \
29674                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29675                  
29676
29677 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29678 clean-stage3-opcodes:
29679         @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
29680           || exit 0 ; \
29681         [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
29682         cd opcodes && \
29683         $(MAKE) $(FLAGS_TO_PASS)  \
29684                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29685                   clean
29686 @endif opcodes-bootstrap
29687
29688
29689 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
29690 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
29691 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
29692
29693 maybe-configure-stage3-binutils:
29694 maybe-all-stage3-binutils:
29695 maybe-clean-stage3-binutils:
29696
29697 @if binutils-bootstrap
29698 maybe-configure-stage3-binutils: configure-stage3-binutils
29699 configure-stage3-binutils:
29700         @$(MAKE) stage3-start
29701         @[ -f binutils/Makefile ] && exit 0 || : ; \
29702         r=`${PWD_COMMAND}`; export r; \
29703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29704         $(STAGE_HOST_EXPORTS)  \
29705         echo Configuring stage 3 in binutils ; \
29706         cd binutils || exit 1; \
29707         case $(srcdir) in \
29708           \.) \
29709             srcdiroption="--srcdir=."; \
29710             libsrcdir=".";; \
29711           /* | [A-Za-z]:[\\/]*) \
29712             srcdiroption="--srcdir=$(srcdir)/binutils"; \
29713             libsrcdir="$$s/binutils";; \
29714           *) \
29715             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29716             libsrcdir="$$s/binutils";; \
29717         esac; \
29718         $(SHELL) $${libsrcdir}/configure \
29719           $(HOST_CONFIGARGS) $${srcdiroption} \
29720           @stage2_werror_flag@ 
29721
29722 maybe-all-stage3-binutils: all-stage3-binutils
29723 all-stage3-binutils: configure-stage3-binutils
29724         @$(MAKE) stage3-start
29725         @r=`${PWD_COMMAND}`; export r; \
29726         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29727         $(STAGE_HOST_EXPORTS)  \
29728         cd binutils && \
29729         $(MAKE) $(FLAGS_TO_PASS)  \
29730                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29731                  
29732
29733 maybe-clean-stage3-binutils: clean-stage3-binutils
29734 clean-stage3-binutils:
29735         @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
29736           || exit 0 ; \
29737         [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
29738         cd binutils && \
29739         $(MAKE) $(FLAGS_TO_PASS)  \
29740                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29741                   clean
29742 @endif binutils-bootstrap
29743
29744
29745 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
29746 .PHONY: all-stage3-gas maybe-all-stage3-gas
29747 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
29748
29749 maybe-configure-stage3-gas:
29750 maybe-all-stage3-gas:
29751 maybe-clean-stage3-gas:
29752
29753 @if gas-bootstrap
29754 maybe-configure-stage3-gas: configure-stage3-gas
29755 configure-stage3-gas:
29756         @$(MAKE) stage3-start
29757         @[ -f gas/Makefile ] && exit 0 || : ; \
29758         r=`${PWD_COMMAND}`; export r; \
29759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29760         $(STAGE_HOST_EXPORTS)  \
29761         echo Configuring stage 3 in gas ; \
29762         cd gas || exit 1; \
29763         case $(srcdir) in \
29764           \.) \
29765             srcdiroption="--srcdir=."; \
29766             libsrcdir=".";; \
29767           /* | [A-Za-z]:[\\/]*) \
29768             srcdiroption="--srcdir=$(srcdir)/gas"; \
29769             libsrcdir="$$s/gas";; \
29770           *) \
29771             srcdiroption="--srcdir=../$(srcdir)/gas"; \
29772             libsrcdir="$$s/gas";; \
29773         esac; \
29774         $(SHELL) $${libsrcdir}/configure \
29775           $(HOST_CONFIGARGS) $${srcdiroption} \
29776           @stage2_werror_flag@ 
29777
29778 maybe-all-stage3-gas: all-stage3-gas
29779 all-stage3-gas: configure-stage3-gas
29780         @$(MAKE) stage3-start
29781         @r=`${PWD_COMMAND}`; export r; \
29782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29783         $(STAGE_HOST_EXPORTS)  \
29784         cd gas && \
29785         $(MAKE) $(FLAGS_TO_PASS)  \
29786                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29787                  
29788
29789 maybe-clean-stage3-gas: clean-stage3-gas
29790 clean-stage3-gas:
29791         @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
29792           || exit 0 ; \
29793         [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
29794         cd gas && \
29795         $(MAKE) $(FLAGS_TO_PASS)  \
29796                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29797                   clean
29798 @endif gas-bootstrap
29799
29800
29801 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
29802 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
29803 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
29804
29805 maybe-configure-stage3-gcc:
29806 maybe-all-stage3-gcc:
29807 maybe-clean-stage3-gcc:
29808
29809 @if gcc-bootstrap
29810 maybe-configure-stage3-gcc: configure-stage3-gcc
29811 configure-stage3-gcc:
29812         @$(MAKE) stage3-start
29813         @[ -f gcc/Makefile ] && exit 0 || : ; \
29814         r=`${PWD_COMMAND}`; export r; \
29815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29816         $(STAGE_HOST_EXPORTS)  \
29817         echo Configuring stage 3 in gcc ; \
29818         cd gcc || exit 1; \
29819         case $(srcdir) in \
29820           \.) \
29821             srcdiroption="--srcdir=."; \
29822             libsrcdir=".";; \
29823           /* | [A-Za-z]:[\\/]*) \
29824             srcdiroption="--srcdir=$(srcdir)/gcc"; \
29825             libsrcdir="$$s/gcc";; \
29826           *) \
29827             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29828             libsrcdir="$$s/gcc";; \
29829         esac; \
29830         $(SHELL) $${libsrcdir}/configure \
29831           $(HOST_CONFIGARGS) $${srcdiroption} \
29832           @stage2_werror_flag@ 
29833
29834 maybe-all-stage3-gcc: all-stage3-gcc
29835 all-stage3-gcc: configure-stage3-gcc
29836         @$(MAKE) stage3-start
29837         @r=`${PWD_COMMAND}`; export r; \
29838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29839         $(STAGE_HOST_EXPORTS)  \
29840         cd gcc && \
29841         $(MAKE) $(FLAGS_TO_PASS)  \
29842                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29843                  $(EXTRA_GCC_FLAGS)
29844
29845 maybe-clean-stage3-gcc: clean-stage3-gcc
29846 clean-stage3-gcc:
29847         @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
29848           || exit 0 ; \
29849         [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
29850         cd gcc && \
29851         $(MAKE) $(FLAGS_TO_PASS)  \
29852                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29853                  $(EXTRA_GCC_FLAGS) clean
29854 @endif gcc-bootstrap
29855
29856
29857 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
29858 .PHONY: all-stage3-intl maybe-all-stage3-intl
29859 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
29860
29861 maybe-configure-stage3-intl:
29862 maybe-all-stage3-intl:
29863 maybe-clean-stage3-intl:
29864
29865 @if intl-bootstrap
29866 maybe-configure-stage3-intl: configure-stage3-intl
29867 configure-stage3-intl:
29868         @$(MAKE) stage3-start
29869         @[ -f intl/Makefile ] && exit 0 || : ; \
29870         r=`${PWD_COMMAND}`; export r; \
29871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29872         $(STAGE_HOST_EXPORTS)  \
29873         echo Configuring stage 3 in intl ; \
29874         cd intl || exit 1; \
29875         case $(srcdir) in \
29876           \.) \
29877             srcdiroption="--srcdir=."; \
29878             libsrcdir=".";; \
29879           /* | [A-Za-z]:[\\/]*) \
29880             srcdiroption="--srcdir=$(srcdir)/intl"; \
29881             libsrcdir="$$s/intl";; \
29882           *) \
29883             srcdiroption="--srcdir=../$(srcdir)/intl"; \
29884             libsrcdir="$$s/intl";; \
29885         esac; \
29886         $(SHELL) $${libsrcdir}/configure \
29887           $(HOST_CONFIGARGS) $${srcdiroption} \
29888           @stage2_werror_flag@ 
29889
29890 maybe-all-stage3-intl: all-stage3-intl
29891 all-stage3-intl: configure-stage3-intl
29892         @$(MAKE) stage3-start
29893         @r=`${PWD_COMMAND}`; export r; \
29894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29895         $(STAGE_HOST_EXPORTS)  \
29896         cd intl && \
29897         $(MAKE) $(FLAGS_TO_PASS)  \
29898                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29899                  
29900
29901 maybe-clean-stage3-intl: clean-stage3-intl
29902 clean-stage3-intl:
29903         @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
29904           || exit 0 ; \
29905         [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
29906         cd intl && \
29907         $(MAKE) $(FLAGS_TO_PASS)  \
29908                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29909                   clean
29910 @endif intl-bootstrap
29911
29912
29913 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
29914 .PHONY: all-stage3-ld maybe-all-stage3-ld
29915 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
29916
29917 maybe-configure-stage3-ld:
29918 maybe-all-stage3-ld:
29919 maybe-clean-stage3-ld:
29920
29921 @if ld-bootstrap
29922 maybe-configure-stage3-ld: configure-stage3-ld
29923 configure-stage3-ld:
29924         @$(MAKE) stage3-start
29925         @[ -f ld/Makefile ] && exit 0 || : ; \
29926         r=`${PWD_COMMAND}`; export r; \
29927         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29928         $(STAGE_HOST_EXPORTS)  \
29929         echo Configuring stage 3 in ld ; \
29930         cd ld || exit 1; \
29931         case $(srcdir) in \
29932           \.) \
29933             srcdiroption="--srcdir=."; \
29934             libsrcdir=".";; \
29935           /* | [A-Za-z]:[\\/]*) \
29936             srcdiroption="--srcdir=$(srcdir)/ld"; \
29937             libsrcdir="$$s/ld";; \
29938           *) \
29939             srcdiroption="--srcdir=../$(srcdir)/ld"; \
29940             libsrcdir="$$s/ld";; \
29941         esac; \
29942         $(SHELL) $${libsrcdir}/configure \
29943           $(HOST_CONFIGARGS) $${srcdiroption} \
29944           @stage2_werror_flag@ 
29945
29946 maybe-all-stage3-ld: all-stage3-ld
29947 all-stage3-ld: configure-stage3-ld
29948         @$(MAKE) stage3-start
29949         @r=`${PWD_COMMAND}`; export r; \
29950         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29951         $(STAGE_HOST_EXPORTS)  \
29952         cd ld && \
29953         $(MAKE) $(FLAGS_TO_PASS)  \
29954                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29955                  
29956
29957 maybe-clean-stage3-ld: clean-stage3-ld
29958 clean-stage3-ld:
29959         @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
29960           || exit 0 ; \
29961         [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
29962         cd ld && \
29963         $(MAKE) $(FLAGS_TO_PASS)  \
29964                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29965                   clean
29966 @endif ld-bootstrap
29967
29968
29969 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
29970 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
29971 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
29972
29973 maybe-configure-stage3-libcpp:
29974 maybe-all-stage3-libcpp:
29975 maybe-clean-stage3-libcpp:
29976
29977 @if libcpp-bootstrap
29978 maybe-configure-stage3-libcpp: configure-stage3-libcpp
29979 configure-stage3-libcpp:
29980         @$(MAKE) stage3-start
29981         @[ -f libcpp/Makefile ] && exit 0 || : ; \
29982         r=`${PWD_COMMAND}`; export r; \
29983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29984         $(STAGE_HOST_EXPORTS)  \
29985         echo Configuring stage 3 in libcpp ; \
29986         cd libcpp || exit 1; \
29987         case $(srcdir) in \
29988           \.) \
29989             srcdiroption="--srcdir=."; \
29990             libsrcdir=".";; \
29991           /* | [A-Za-z]:[\\/]*) \
29992             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29993             libsrcdir="$$s/libcpp";; \
29994           *) \
29995             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29996             libsrcdir="$$s/libcpp";; \
29997         esac; \
29998         $(SHELL) $${libsrcdir}/configure \
29999           $(HOST_CONFIGARGS) $${srcdiroption} \
30000           @stage2_werror_flag@ 
30001
30002 maybe-all-stage3-libcpp: all-stage3-libcpp
30003 all-stage3-libcpp: configure-stage3-libcpp
30004         @$(MAKE) stage3-start
30005         @r=`${PWD_COMMAND}`; export r; \
30006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30007         $(STAGE_HOST_EXPORTS)  \
30008         cd libcpp && \
30009         $(MAKE) $(FLAGS_TO_PASS)  \
30010                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30011                  
30012
30013 maybe-clean-stage3-libcpp: clean-stage3-libcpp
30014 clean-stage3-libcpp:
30015         @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
30016           || exit 0 ; \
30017         [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
30018         cd libcpp && \
30019         $(MAKE) $(FLAGS_TO_PASS)  \
30020                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30021                   clean
30022 @endif libcpp-bootstrap
30023
30024
30025 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
30026 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
30027 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
30028
30029 maybe-configure-stage3-libiberty:
30030 maybe-all-stage3-libiberty:
30031 maybe-clean-stage3-libiberty:
30032
30033 @if libiberty-bootstrap
30034 maybe-configure-stage3-libiberty: configure-stage3-libiberty
30035 configure-stage3-libiberty:
30036         @$(MAKE) stage3-start
30037         @[ -f libiberty/Makefile ] && exit 0 || : ; \
30038         r=`${PWD_COMMAND}`; export r; \
30039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30040         $(STAGE_HOST_EXPORTS)  \
30041         echo Configuring stage 3 in libiberty ; \
30042         cd libiberty || exit 1; \
30043         case $(srcdir) in \
30044           \.) \
30045             srcdiroption="--srcdir=."; \
30046             libsrcdir=".";; \
30047           /* | [A-Za-z]:[\\/]*) \
30048             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30049             libsrcdir="$$s/libiberty";; \
30050           *) \
30051             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30052             libsrcdir="$$s/libiberty";; \
30053         esac; \
30054         $(SHELL) $${libsrcdir}/configure \
30055           $(HOST_CONFIGARGS) $${srcdiroption} \
30056           @stage2_werror_flag@ 
30057
30058 maybe-all-stage3-libiberty: all-stage3-libiberty
30059 all-stage3-libiberty: configure-stage3-libiberty
30060         @$(MAKE) stage3-start
30061         @r=`${PWD_COMMAND}`; export r; \
30062         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30063         $(STAGE_HOST_EXPORTS)  \
30064         cd libiberty && \
30065         $(MAKE) $(FLAGS_TO_PASS)  \
30066                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30067                  
30068
30069 maybe-clean-stage3-libiberty: clean-stage3-libiberty
30070 clean-stage3-libiberty:
30071         @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
30072           || exit 0 ; \
30073         [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
30074         cd libiberty && \
30075         $(MAKE) $(FLAGS_TO_PASS)  \
30076                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30077                   clean
30078 @endif libiberty-bootstrap
30079
30080
30081 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30082 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30083 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30084
30085 maybe-configure-stage3-zlib:
30086 maybe-all-stage3-zlib:
30087 maybe-clean-stage3-zlib:
30088
30089 @if zlib-bootstrap
30090 maybe-configure-stage3-zlib: configure-stage3-zlib
30091 configure-stage3-zlib:
30092         @$(MAKE) stage3-start
30093         @[ -f zlib/Makefile ] && exit 0 || : ; \
30094         r=`${PWD_COMMAND}`; export r; \
30095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30096         $(STAGE_HOST_EXPORTS)  \
30097         echo Configuring stage 3 in zlib ; \
30098         cd zlib || exit 1; \
30099         case $(srcdir) in \
30100           \.) \
30101             srcdiroption="--srcdir=."; \
30102             libsrcdir=".";; \
30103           /* | [A-Za-z]:[\\/]*) \
30104             srcdiroption="--srcdir=$(srcdir)/zlib"; \
30105             libsrcdir="$$s/zlib";; \
30106           *) \
30107             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30108             libsrcdir="$$s/zlib";; \
30109         esac; \
30110         $(SHELL) $${libsrcdir}/configure \
30111           $(HOST_CONFIGARGS) $${srcdiroption} \
30112           @stage2_werror_flag@ 
30113
30114 maybe-all-stage3-zlib: all-stage3-zlib
30115 all-stage3-zlib: configure-stage3-zlib
30116         @$(MAKE) stage3-start
30117         @r=`${PWD_COMMAND}`; export r; \
30118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30119         $(STAGE_HOST_EXPORTS)  \
30120         cd zlib && \
30121         $(MAKE) $(FLAGS_TO_PASS)  \
30122                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30123                  
30124
30125 maybe-clean-stage3-zlib: clean-stage3-zlib
30126 clean-stage3-zlib:
30127         @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
30128           || exit 0 ; \
30129         [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
30130         cd zlib && \
30131         $(MAKE) $(FLAGS_TO_PASS)  \
30132                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30133                   clean
30134 @endif zlib-bootstrap
30135
30136
30137
30138 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30139 # only possibility, but now it conflicts with no-bootstrap rules
30140 @if gcc-bootstrap
30141
30142 compare:
30143         @if test -f stage2-lean; then \
30144           echo Cannot compare object files as stage 2 was deleted. ; \
30145           exit 0 ; \
30146         fi; \
30147         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30148         @r=`${PWD_COMMAND}`; export r; \
30149         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30150         rm -f .bad_compare ; \
30151         cd stage3-gcc; \
30152         files=`find . -name "*$(objext)" -print` ; \
30153         cd .. ; \
30154         for file in $${files} ; do \
30155           f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30156           @do_compare@ > /dev/null 2>&1; \
30157           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30158         done ; \
30159         if [ -f .bad_compare ]; then \
30160           echo "Bootstrap comparison failure!"; \
30161           cat .bad_compare; \
30162           exit 1; \
30163         else \
30164           true; \
30165         fi ; \
30166         $(STAMP) compare
30167         @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30168
30169
30170
30171 .PHONY: bootstrap
30172 bootstrap: stage3-bubble compare all
30173
30174
30175 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30176 distclean-stage2:: distclean-stage3 
30177 .PHONY: distclean-stage3
30178 distclean-stage3::
30179         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30180         rm -rf stage3-* compare 
30181
30182
30183 .PHONY: cleanstrap
30184 cleanstrap: distclean bootstrap
30185
30186 @endif gcc-bootstrap
30187
30188
30189 .PHONY: stage4-start stage4-end
30190
30191 stage4-start::
30192         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30193         echo stage4 > stage_current ; \
30194         echo stage4 > stage_last
30195 @if bfd
30196         @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30197         set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
30198         set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
30199 @endif bfd
30200 @if opcodes
30201         @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30202         set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
30203         set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
30204 @endif opcodes
30205 @if binutils
30206         @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30207         set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
30208         set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
30209 @endif binutils
30210 @if gas
30211         @[ -d stage4-gas ] || mkdir stage4-gas; \
30212         set stage4-gas gas ; @CREATE_LINK_TO_DIR@  ; \
30213         set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
30214 @endif gas
30215 @if gcc
30216         @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30217         set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
30218         set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
30219 @endif gcc
30220 @if intl
30221         @[ -d stage4-intl ] || mkdir stage4-intl; \
30222         set stage4-intl intl ; @CREATE_LINK_TO_DIR@  ; \
30223         set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
30224 @endif intl
30225 @if ld
30226         @[ -d stage4-ld ] || mkdir stage4-ld; \
30227         set stage4-ld ld ; @CREATE_LINK_TO_DIR@  ; \
30228         set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
30229 @endif ld
30230 @if libcpp
30231         @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30232         set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
30233         set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
30234 @endif libcpp
30235 @if libiberty
30236         @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30237         set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
30238         set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
30239 @endif libiberty
30240 @if zlib
30241         @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30242         set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
30243         set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
30244 @endif zlib
30245
30246 stage4-end::
30247         @rm -f stage_current
30248 @if bfd
30249         @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@  ; \
30250         set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ 
30251 @endif bfd
30252 @if opcodes
30253         @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@  ; \
30254         set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ 
30255 @endif opcodes
30256 @if binutils
30257         @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@  ; \
30258         set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ 
30259 @endif binutils
30260 @if gas
30261         @set gas stage4-gas ; @UNDO_LINK_TO_DIR@  ; \
30262         set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@ 
30263 @endif gas
30264 @if gcc
30265         @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@  ; \
30266         set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ 
30267 @endif gcc
30268 @if intl
30269         @set intl stage4-intl ; @UNDO_LINK_TO_DIR@  ; \
30270         set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@ 
30271 @endif intl
30272 @if ld
30273         @set ld stage4-ld ; @UNDO_LINK_TO_DIR@  ; \
30274         set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@ 
30275 @endif ld
30276 @if libcpp
30277         @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@  ; \
30278         set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ 
30279 @endif libcpp
30280 @if libiberty
30281         @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@  ; \
30282         set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ 
30283 @endif libiberty
30284 @if zlib
30285         @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@  ; \
30286         set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ 
30287 @endif zlib
30288
30289 # Bubble a bugfix through all the stages up to stage 4.  They
30290 # are remade, but not reconfigured.  The next stage (if any) will not
30291 # be reconfigured as well.
30292 .PHONY: stage4-bubble
30293 stage4-bubble:: stage3-bubble
30294         @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30295         @if test -f stage4-lean || test -f stage3-lean  ; then \
30296           echo Skipping rebuild of stage4 ; \
30297         else \
30298           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30299         fi
30300
30301 .PHONY: all-stage4 clean-stage4
30302 all-stage4:     \
30303   maybe-all-stage4-bfd \
30304   maybe-all-stage4-opcodes \
30305   maybe-all-stage4-binutils             \
30306   maybe-all-stage4-gas \
30307   maybe-all-stage4-gcc        \
30308   maybe-all-stage4-intl   \
30309   maybe-all-stage4-ld \
30310   maybe-all-stage4-libcpp  \
30311   maybe-all-stage4-libiberty                        \
30312   maybe-all-stage4-zlib       
30313
30314 do-clean: clean-stage4
30315 clean-stage4:     \
30316   maybe-clean-stage4-bfd \
30317   maybe-clean-stage4-opcodes \
30318   maybe-clean-stage4-binutils             \
30319   maybe-clean-stage4-gas \
30320   maybe-clean-stage4-gcc        \
30321   maybe-clean-stage4-intl   \
30322   maybe-clean-stage4-ld \
30323   maybe-clean-stage4-libcpp  \
30324   maybe-clean-stage4-libiberty                        \
30325   maybe-clean-stage4-zlib       
30326
30327
30328 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30329 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30330 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30331
30332 maybe-configure-stage4-bfd:
30333 maybe-all-stage4-bfd:
30334 maybe-clean-stage4-bfd:
30335
30336 @if bfd-bootstrap
30337 maybe-configure-stage4-bfd: configure-stage4-bfd
30338 configure-stage4-bfd:
30339         @$(MAKE) stage4-start
30340         @[ -f bfd/Makefile ] && exit 0 || : ; \
30341         r=`${PWD_COMMAND}`; export r; \
30342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30343         $(STAGE_HOST_EXPORTS)  \
30344         echo Configuring stage 4 in bfd ; \
30345         cd bfd || exit 1; \
30346         case $(srcdir) in \
30347           \.) \
30348             srcdiroption="--srcdir=."; \
30349             libsrcdir=".";; \
30350           /* | [A-Za-z]:[\\/]*) \
30351             srcdiroption="--srcdir=$(srcdir)/bfd"; \
30352             libsrcdir="$$s/bfd";; \
30353           *) \
30354             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30355             libsrcdir="$$s/bfd";; \
30356         esac; \
30357         $(SHELL) $${libsrcdir}/configure \
30358           $(HOST_CONFIGARGS) $${srcdiroption} \
30359           @stage2_werror_flag@ 
30360
30361 maybe-all-stage4-bfd: all-stage4-bfd
30362 all-stage4-bfd: configure-stage4-bfd
30363         @$(MAKE) stage4-start
30364         @r=`${PWD_COMMAND}`; export r; \
30365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30366         $(STAGE_HOST_EXPORTS)  \
30367         cd bfd && \
30368         $(MAKE) $(FLAGS_TO_PASS)  \
30369                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30370                  
30371
30372 maybe-clean-stage4-bfd: clean-stage4-bfd
30373 clean-stage4-bfd:
30374         @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30375           || exit 0 ; \
30376         [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30377         cd bfd && \
30378         $(MAKE) $(FLAGS_TO_PASS)  \
30379                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30380                   clean
30381 @endif bfd-bootstrap
30382
30383
30384 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30385 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30386 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30387
30388 maybe-configure-stage4-opcodes:
30389 maybe-all-stage4-opcodes:
30390 maybe-clean-stage4-opcodes:
30391
30392 @if opcodes-bootstrap
30393 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30394 configure-stage4-opcodes:
30395         @$(MAKE) stage4-start
30396         @[ -f opcodes/Makefile ] && exit 0 || : ; \
30397         r=`${PWD_COMMAND}`; export r; \
30398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30399         $(STAGE_HOST_EXPORTS)  \
30400         echo Configuring stage 4 in opcodes ; \
30401         cd opcodes || exit 1; \
30402         case $(srcdir) in \
30403           \.) \
30404             srcdiroption="--srcdir=."; \
30405             libsrcdir=".";; \
30406           /* | [A-Za-z]:[\\/]*) \
30407             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30408             libsrcdir="$$s/opcodes";; \
30409           *) \
30410             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30411             libsrcdir="$$s/opcodes";; \
30412         esac; \
30413         $(SHELL) $${libsrcdir}/configure \
30414           $(HOST_CONFIGARGS) $${srcdiroption} \
30415           @stage2_werror_flag@ 
30416
30417 maybe-all-stage4-opcodes: all-stage4-opcodes
30418 all-stage4-opcodes: configure-stage4-opcodes
30419         @$(MAKE) stage4-start
30420         @r=`${PWD_COMMAND}`; export r; \
30421         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30422         $(STAGE_HOST_EXPORTS)  \
30423         cd opcodes && \
30424         $(MAKE) $(FLAGS_TO_PASS)  \
30425                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30426                  
30427
30428 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30429 clean-stage4-opcodes:
30430         @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30431           || exit 0 ; \
30432         [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30433         cd opcodes && \
30434         $(MAKE) $(FLAGS_TO_PASS)  \
30435                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30436                   clean
30437 @endif opcodes-bootstrap
30438
30439
30440 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30441 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30442 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30443
30444 maybe-configure-stage4-binutils:
30445 maybe-all-stage4-binutils:
30446 maybe-clean-stage4-binutils:
30447
30448 @if binutils-bootstrap
30449 maybe-configure-stage4-binutils: configure-stage4-binutils
30450 configure-stage4-binutils:
30451         @$(MAKE) stage4-start
30452         @[ -f binutils/Makefile ] && exit 0 || : ; \
30453         r=`${PWD_COMMAND}`; export r; \
30454         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30455         $(STAGE_HOST_EXPORTS)  \
30456         echo Configuring stage 4 in binutils ; \
30457         cd binutils || exit 1; \
30458         case $(srcdir) in \
30459           \.) \
30460             srcdiroption="--srcdir=."; \
30461             libsrcdir=".";; \
30462           /* | [A-Za-z]:[\\/]*) \
30463             srcdiroption="--srcdir=$(srcdir)/binutils"; \
30464             libsrcdir="$$s/binutils";; \
30465           *) \
30466             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30467             libsrcdir="$$s/binutils";; \
30468         esac; \
30469         $(SHELL) $${libsrcdir}/configure \
30470           $(HOST_CONFIGARGS) $${srcdiroption} \
30471           @stage2_werror_flag@ 
30472
30473 maybe-all-stage4-binutils: all-stage4-binutils
30474 all-stage4-binutils: configure-stage4-binutils
30475         @$(MAKE) stage4-start
30476         @r=`${PWD_COMMAND}`; export r; \
30477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30478         $(STAGE_HOST_EXPORTS)  \
30479         cd binutils && \
30480         $(MAKE) $(FLAGS_TO_PASS)  \
30481                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30482                  
30483
30484 maybe-clean-stage4-binutils: clean-stage4-binutils
30485 clean-stage4-binutils:
30486         @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30487           || exit 0 ; \
30488         [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30489         cd binutils && \
30490         $(MAKE) $(FLAGS_TO_PASS)  \
30491                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30492                   clean
30493 @endif binutils-bootstrap
30494
30495
30496 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30497 .PHONY: all-stage4-gas maybe-all-stage4-gas
30498 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30499
30500 maybe-configure-stage4-gas:
30501 maybe-all-stage4-gas:
30502 maybe-clean-stage4-gas:
30503
30504 @if gas-bootstrap
30505 maybe-configure-stage4-gas: configure-stage4-gas
30506 configure-stage4-gas:
30507         @$(MAKE) stage4-start
30508         @[ -f gas/Makefile ] && exit 0 || : ; \
30509         r=`${PWD_COMMAND}`; export r; \
30510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30511         $(STAGE_HOST_EXPORTS)  \
30512         echo Configuring stage 4 in gas ; \
30513         cd gas || exit 1; \
30514         case $(srcdir) in \
30515           \.) \
30516             srcdiroption="--srcdir=."; \
30517             libsrcdir=".";; \
30518           /* | [A-Za-z]:[\\/]*) \
30519             srcdiroption="--srcdir=$(srcdir)/gas"; \
30520             libsrcdir="$$s/gas";; \
30521           *) \
30522             srcdiroption="--srcdir=../$(srcdir)/gas"; \
30523             libsrcdir="$$s/gas";; \
30524         esac; \
30525         $(SHELL) $${libsrcdir}/configure \
30526           $(HOST_CONFIGARGS) $${srcdiroption} \
30527           @stage2_werror_flag@ 
30528
30529 maybe-all-stage4-gas: all-stage4-gas
30530 all-stage4-gas: configure-stage4-gas
30531         @$(MAKE) stage4-start
30532         @r=`${PWD_COMMAND}`; export r; \
30533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30534         $(STAGE_HOST_EXPORTS)  \
30535         cd gas && \
30536         $(MAKE) $(FLAGS_TO_PASS)  \
30537                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30538                  
30539
30540 maybe-clean-stage4-gas: clean-stage4-gas
30541 clean-stage4-gas:
30542         @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30543           || exit 0 ; \
30544         [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30545         cd gas && \
30546         $(MAKE) $(FLAGS_TO_PASS)  \
30547                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30548                   clean
30549 @endif gas-bootstrap
30550
30551
30552 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30553 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30554 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30555
30556 maybe-configure-stage4-gcc:
30557 maybe-all-stage4-gcc:
30558 maybe-clean-stage4-gcc:
30559
30560 @if gcc-bootstrap
30561 maybe-configure-stage4-gcc: configure-stage4-gcc
30562 configure-stage4-gcc:
30563         @$(MAKE) stage4-start
30564         @[ -f gcc/Makefile ] && exit 0 || : ; \
30565         r=`${PWD_COMMAND}`; export r; \
30566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30567         $(STAGE_HOST_EXPORTS)  \
30568         echo Configuring stage 4 in gcc ; \
30569         cd gcc || exit 1; \
30570         case $(srcdir) in \
30571           \.) \
30572             srcdiroption="--srcdir=."; \
30573             libsrcdir=".";; \
30574           /* | [A-Za-z]:[\\/]*) \
30575             srcdiroption="--srcdir=$(srcdir)/gcc"; \
30576             libsrcdir="$$s/gcc";; \
30577           *) \
30578             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30579             libsrcdir="$$s/gcc";; \
30580         esac; \
30581         $(SHELL) $${libsrcdir}/configure \
30582           $(HOST_CONFIGARGS) $${srcdiroption} \
30583           @stage2_werror_flag@ 
30584
30585 maybe-all-stage4-gcc: all-stage4-gcc
30586 all-stage4-gcc: configure-stage4-gcc
30587         @$(MAKE) stage4-start
30588         @r=`${PWD_COMMAND}`; export r; \
30589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30590         $(STAGE_HOST_EXPORTS)  \
30591         cd gcc && \
30592         $(MAKE) $(FLAGS_TO_PASS)  \
30593                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30594                  $(EXTRA_GCC_FLAGS)
30595
30596 maybe-clean-stage4-gcc: clean-stage4-gcc
30597 clean-stage4-gcc:
30598         @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30599           || exit 0 ; \
30600         [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30601         cd gcc && \
30602         $(MAKE) $(FLAGS_TO_PASS)  \
30603                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30604                  $(EXTRA_GCC_FLAGS) clean
30605 @endif gcc-bootstrap
30606
30607
30608 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30609 .PHONY: all-stage4-intl maybe-all-stage4-intl
30610 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30611
30612 maybe-configure-stage4-intl:
30613 maybe-all-stage4-intl:
30614 maybe-clean-stage4-intl:
30615
30616 @if intl-bootstrap
30617 maybe-configure-stage4-intl: configure-stage4-intl
30618 configure-stage4-intl:
30619         @$(MAKE) stage4-start
30620         @[ -f intl/Makefile ] && exit 0 || : ; \
30621         r=`${PWD_COMMAND}`; export r; \
30622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30623         $(STAGE_HOST_EXPORTS)  \
30624         echo Configuring stage 4 in intl ; \
30625         cd intl || exit 1; \
30626         case $(srcdir) in \
30627           \.) \
30628             srcdiroption="--srcdir=."; \
30629             libsrcdir=".";; \
30630           /* | [A-Za-z]:[\\/]*) \
30631             srcdiroption="--srcdir=$(srcdir)/intl"; \
30632             libsrcdir="$$s/intl";; \
30633           *) \
30634             srcdiroption="--srcdir=../$(srcdir)/intl"; \
30635             libsrcdir="$$s/intl";; \
30636         esac; \
30637         $(SHELL) $${libsrcdir}/configure \
30638           $(HOST_CONFIGARGS) $${srcdiroption} \
30639           @stage2_werror_flag@ 
30640
30641 maybe-all-stage4-intl: all-stage4-intl
30642 all-stage4-intl: configure-stage4-intl
30643         @$(MAKE) stage4-start
30644         @r=`${PWD_COMMAND}`; export r; \
30645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30646         $(STAGE_HOST_EXPORTS)  \
30647         cd intl && \
30648         $(MAKE) $(FLAGS_TO_PASS)  \
30649                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30650                  
30651
30652 maybe-clean-stage4-intl: clean-stage4-intl
30653 clean-stage4-intl:
30654         @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
30655           || exit 0 ; \
30656         [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
30657         cd intl && \
30658         $(MAKE) $(FLAGS_TO_PASS)  \
30659                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30660                   clean
30661 @endif intl-bootstrap
30662
30663
30664 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
30665 .PHONY: all-stage4-ld maybe-all-stage4-ld
30666 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
30667
30668 maybe-configure-stage4-ld:
30669 maybe-all-stage4-ld:
30670 maybe-clean-stage4-ld:
30671
30672 @if ld-bootstrap
30673 maybe-configure-stage4-ld: configure-stage4-ld
30674 configure-stage4-ld:
30675         @$(MAKE) stage4-start
30676         @[ -f ld/Makefile ] && exit 0 || : ; \
30677         r=`${PWD_COMMAND}`; export r; \
30678         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30679         $(STAGE_HOST_EXPORTS)  \
30680         echo Configuring stage 4 in ld ; \
30681         cd ld || exit 1; \
30682         case $(srcdir) in \
30683           \.) \
30684             srcdiroption="--srcdir=."; \
30685             libsrcdir=".";; \
30686           /* | [A-Za-z]:[\\/]*) \
30687             srcdiroption="--srcdir=$(srcdir)/ld"; \
30688             libsrcdir="$$s/ld";; \
30689           *) \
30690             srcdiroption="--srcdir=../$(srcdir)/ld"; \
30691             libsrcdir="$$s/ld";; \
30692         esac; \
30693         $(SHELL) $${libsrcdir}/configure \
30694           $(HOST_CONFIGARGS) $${srcdiroption} \
30695           @stage2_werror_flag@ 
30696
30697 maybe-all-stage4-ld: all-stage4-ld
30698 all-stage4-ld: configure-stage4-ld
30699         @$(MAKE) stage4-start
30700         @r=`${PWD_COMMAND}`; export r; \
30701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30702         $(STAGE_HOST_EXPORTS)  \
30703         cd ld && \
30704         $(MAKE) $(FLAGS_TO_PASS)  \
30705                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30706                  
30707
30708 maybe-clean-stage4-ld: clean-stage4-ld
30709 clean-stage4-ld:
30710         @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
30711           || exit 0 ; \
30712         [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
30713         cd ld && \
30714         $(MAKE) $(FLAGS_TO_PASS)  \
30715                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30716                   clean
30717 @endif ld-bootstrap
30718
30719
30720 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
30721 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
30722 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
30723
30724 maybe-configure-stage4-libcpp:
30725 maybe-all-stage4-libcpp:
30726 maybe-clean-stage4-libcpp:
30727
30728 @if libcpp-bootstrap
30729 maybe-configure-stage4-libcpp: configure-stage4-libcpp
30730 configure-stage4-libcpp:
30731         @$(MAKE) stage4-start
30732         @[ -f libcpp/Makefile ] && exit 0 || : ; \
30733         r=`${PWD_COMMAND}`; export r; \
30734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30735         $(STAGE_HOST_EXPORTS)  \
30736         echo Configuring stage 4 in libcpp ; \
30737         cd libcpp || exit 1; \
30738         case $(srcdir) in \
30739           \.) \
30740             srcdiroption="--srcdir=."; \
30741             libsrcdir=".";; \
30742           /* | [A-Za-z]:[\\/]*) \
30743             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30744             libsrcdir="$$s/libcpp";; \
30745           *) \
30746             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30747             libsrcdir="$$s/libcpp";; \
30748         esac; \
30749         $(SHELL) $${libsrcdir}/configure \
30750           $(HOST_CONFIGARGS) $${srcdiroption} \
30751           @stage2_werror_flag@ 
30752
30753 maybe-all-stage4-libcpp: all-stage4-libcpp
30754 all-stage4-libcpp: configure-stage4-libcpp
30755         @$(MAKE) stage4-start
30756         @r=`${PWD_COMMAND}`; export r; \
30757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30758         $(STAGE_HOST_EXPORTS)  \
30759         cd libcpp && \
30760         $(MAKE) $(FLAGS_TO_PASS)  \
30761                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30762                  
30763
30764 maybe-clean-stage4-libcpp: clean-stage4-libcpp
30765 clean-stage4-libcpp:
30766         @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
30767           || exit 0 ; \
30768         [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
30769         cd libcpp && \
30770         $(MAKE) $(FLAGS_TO_PASS)  \
30771                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30772                   clean
30773 @endif libcpp-bootstrap
30774
30775
30776 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
30777 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
30778 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
30779
30780 maybe-configure-stage4-libiberty:
30781 maybe-all-stage4-libiberty:
30782 maybe-clean-stage4-libiberty:
30783
30784 @if libiberty-bootstrap
30785 maybe-configure-stage4-libiberty: configure-stage4-libiberty
30786 configure-stage4-libiberty:
30787         @$(MAKE) stage4-start
30788         @[ -f libiberty/Makefile ] && exit 0 || : ; \
30789         r=`${PWD_COMMAND}`; export r; \
30790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30791         $(STAGE_HOST_EXPORTS)  \
30792         echo Configuring stage 4 in libiberty ; \
30793         cd libiberty || exit 1; \
30794         case $(srcdir) in \
30795           \.) \
30796             srcdiroption="--srcdir=."; \
30797             libsrcdir=".";; \
30798           /* | [A-Za-z]:[\\/]*) \
30799             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30800             libsrcdir="$$s/libiberty";; \
30801           *) \
30802             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30803             libsrcdir="$$s/libiberty";; \
30804         esac; \
30805         $(SHELL) $${libsrcdir}/configure \
30806           $(HOST_CONFIGARGS) $${srcdiroption} \
30807           @stage2_werror_flag@ 
30808
30809 maybe-all-stage4-libiberty: all-stage4-libiberty
30810 all-stage4-libiberty: configure-stage4-libiberty
30811         @$(MAKE) stage4-start
30812         @r=`${PWD_COMMAND}`; export r; \
30813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30814         $(STAGE_HOST_EXPORTS)  \
30815         cd libiberty && \
30816         $(MAKE) $(FLAGS_TO_PASS)  \
30817                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30818                  
30819
30820 maybe-clean-stage4-libiberty: clean-stage4-libiberty
30821 clean-stage4-libiberty:
30822         @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
30823           || exit 0 ; \
30824         [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
30825         cd libiberty && \
30826         $(MAKE) $(FLAGS_TO_PASS)  \
30827                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30828                   clean
30829 @endif libiberty-bootstrap
30830
30831
30832 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30833 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30834 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30835
30836 maybe-configure-stage4-zlib:
30837 maybe-all-stage4-zlib:
30838 maybe-clean-stage4-zlib:
30839
30840 @if zlib-bootstrap
30841 maybe-configure-stage4-zlib: configure-stage4-zlib
30842 configure-stage4-zlib:
30843         @$(MAKE) stage4-start
30844         @[ -f zlib/Makefile ] && exit 0 || : ; \
30845         r=`${PWD_COMMAND}`; export r; \
30846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30847         $(STAGE_HOST_EXPORTS)  \
30848         echo Configuring stage 4 in zlib ; \
30849         cd zlib || exit 1; \
30850         case $(srcdir) in \
30851           \.) \
30852             srcdiroption="--srcdir=."; \
30853             libsrcdir=".";; \
30854           /* | [A-Za-z]:[\\/]*) \
30855             srcdiroption="--srcdir=$(srcdir)/zlib"; \
30856             libsrcdir="$$s/zlib";; \
30857           *) \
30858             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30859             libsrcdir="$$s/zlib";; \
30860         esac; \
30861         $(SHELL) $${libsrcdir}/configure \
30862           $(HOST_CONFIGARGS) $${srcdiroption} \
30863           @stage2_werror_flag@ 
30864
30865 maybe-all-stage4-zlib: all-stage4-zlib
30866 all-stage4-zlib: configure-stage4-zlib
30867         @$(MAKE) stage4-start
30868         @r=`${PWD_COMMAND}`; export r; \
30869         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30870         $(STAGE_HOST_EXPORTS)  \
30871         cd zlib && \
30872         $(MAKE) $(FLAGS_TO_PASS)  \
30873                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30874                  
30875
30876 maybe-clean-stage4-zlib: clean-stage4-zlib
30877 clean-stage4-zlib:
30878         @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
30879           || exit 0 ; \
30880         [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
30881         cd zlib && \
30882         $(MAKE) $(FLAGS_TO_PASS)  \
30883                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30884                   clean
30885 @endif zlib-bootstrap
30886
30887
30888
30889 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30890 # only possibility, but now it conflicts with no-bootstrap rules
30891 @if gcc-bootstrap
30892
30893 compare3:
30894         @if test -f stage3-lean; then \
30895           echo Cannot compare object files as stage 3 was deleted. ; \
30896           exit 0 ; \
30897         fi; \
30898         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30899         @r=`${PWD_COMMAND}`; export r; \
30900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901         rm -f .bad_compare ; \
30902         cd stage4-gcc; \
30903         files=`find . -name "*$(objext)" -print` ; \
30904         cd .. ; \
30905         for file in $${files} ; do \
30906           f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
30907           @do_compare@ > /dev/null 2>&1; \
30908           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30909         done ; \
30910         if [ -f .bad_compare ]; then \
30911           echo "Bootstrap comparison failure!"; \
30912           cat .bad_compare; \
30913           exit 1; \
30914         else \
30915           true; \
30916         fi ; \
30917         $(STAMP) compare3
30918         @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
30919
30920
30921
30922 .PHONY: bootstrap4
30923 bootstrap4: stage4-bubble compare3 all
30924
30925
30926 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30927 distclean-stage3:: distclean-stage4 
30928 .PHONY: distclean-stage4
30929 distclean-stage4::
30930         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30931         rm -rf stage4-* compare3 
30932
30933
30934 @endif gcc-bootstrap
30935
30936
30937 .PHONY: stageprofile-start stageprofile-end
30938
30939 stageprofile-start::
30940         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30941         echo stageprofile > stage_current ; \
30942         echo stageprofile > stage_last
30943 @if bfd
30944         @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
30945         set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
30946         set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
30947 @endif bfd
30948 @if opcodes
30949         @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
30950         set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
30951         set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
30952 @endif opcodes
30953 @if binutils
30954         @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
30955         set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
30956         set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
30957 @endif binutils
30958 @if gas
30959         @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
30960         set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@  ; \
30961         set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
30962 @endif gas
30963 @if gcc
30964         @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
30965         set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
30966         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
30967 @endif gcc
30968 @if intl
30969         @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
30970         set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@  ; \
30971         set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
30972 @endif intl
30973 @if ld
30974         @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
30975         set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@  ; \
30976         set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
30977 @endif ld
30978 @if libcpp
30979         @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
30980         set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
30981         set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
30982 @endif libcpp
30983 @if libiberty
30984         @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
30985         set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
30986         set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
30987 @endif libiberty
30988 @if zlib
30989         @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
30990         set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
30991         set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
30992 @endif zlib
30993
30994 stageprofile-end::
30995         @rm -f stage_current
30996 @if bfd
30997         @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@  ; \
30998         set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
30999 @endif bfd
31000 @if opcodes
31001         @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@  ; \
31002         set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
31003 @endif opcodes
31004 @if binutils
31005         @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@  ; \
31006         set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
31007 @endif binutils
31008 @if gas
31009         @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@  ; \
31010         set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
31011 @endif gas
31012 @if gcc
31013         @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@  ; \
31014         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
31015 @endif gcc
31016 @if intl
31017         @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@  ; \
31018         set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
31019 @endif intl
31020 @if ld
31021         @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@  ; \
31022         set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
31023 @endif ld
31024 @if libcpp
31025         @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@  ; \
31026         set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
31027 @endif libcpp
31028 @if libiberty
31029         @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@  ; \
31030         set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
31031 @endif libiberty
31032 @if zlib
31033         @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@  ; \
31034         set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
31035 @endif zlib
31036
31037 # Bubble a bugfix through all the stages up to stage profile.  They
31038 # are remade, but not reconfigured.  The next stage (if any) will not
31039 # be reconfigured as well.
31040 .PHONY: stageprofile-bubble
31041 stageprofile-bubble:: stage1-bubble
31042         @if test -f stageprofile-lean || test -f stage1-lean  ; then \
31043           echo Skipping rebuild of stageprofile ; \
31044         else \
31045           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
31046         fi
31047
31048 .PHONY: all-stageprofile clean-stageprofile
31049 all-stageprofile:     \
31050   maybe-all-stageprofile-bfd \
31051   maybe-all-stageprofile-opcodes \
31052   maybe-all-stageprofile-binutils             \
31053   maybe-all-stageprofile-gas \
31054   maybe-all-stageprofile-gcc        \
31055   maybe-all-stageprofile-intl   \
31056   maybe-all-stageprofile-ld \
31057   maybe-all-stageprofile-libcpp  \
31058   maybe-all-stageprofile-libiberty                        \
31059   maybe-all-stageprofile-zlib       
31060
31061 do-clean: clean-stageprofile
31062 clean-stageprofile:     \
31063   maybe-clean-stageprofile-bfd \
31064   maybe-clean-stageprofile-opcodes \
31065   maybe-clean-stageprofile-binutils             \
31066   maybe-clean-stageprofile-gas \
31067   maybe-clean-stageprofile-gcc        \
31068   maybe-clean-stageprofile-intl   \
31069   maybe-clean-stageprofile-ld \
31070   maybe-clean-stageprofile-libcpp  \
31071   maybe-clean-stageprofile-libiberty                        \
31072   maybe-clean-stageprofile-zlib       
31073
31074
31075 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
31076 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
31077 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
31078
31079 maybe-configure-stageprofile-bfd:
31080 maybe-all-stageprofile-bfd:
31081 maybe-clean-stageprofile-bfd:
31082
31083 @if bfd-bootstrap
31084 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
31085 configure-stageprofile-bfd:
31086         @$(MAKE) stageprofile-start
31087         @[ -f bfd/Makefile ] && exit 0 || : ; \
31088         r=`${PWD_COMMAND}`; export r; \
31089         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31090         $(STAGE_HOST_EXPORTS)  \
31091         echo Configuring stage profile in bfd ; \
31092         cd bfd || exit 1; \
31093         case $(srcdir) in \
31094           \.) \
31095             srcdiroption="--srcdir=."; \
31096             libsrcdir=".";; \
31097           /* | [A-Za-z]:[\\/]*) \
31098             srcdiroption="--srcdir=$(srcdir)/bfd"; \
31099             libsrcdir="$$s/bfd";; \
31100           *) \
31101             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31102             libsrcdir="$$s/bfd";; \
31103         esac; \
31104         $(SHELL) $${libsrcdir}/configure \
31105           $(HOST_CONFIGARGS) $${srcdiroption} \
31106           @stage2_werror_flag@ 
31107
31108 maybe-all-stageprofile-bfd: all-stageprofile-bfd
31109 all-stageprofile-bfd: configure-stageprofile-bfd
31110         @$(MAKE) stageprofile-start
31111         @r=`${PWD_COMMAND}`; export r; \
31112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31113         $(STAGE_HOST_EXPORTS)  \
31114         cd bfd && \
31115         $(MAKE) $(FLAGS_TO_PASS)  \
31116                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31117                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31118
31119 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
31120 clean-stageprofile-bfd:
31121         @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
31122           || exit 0 ; \
31123         [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
31124         cd bfd && \
31125         $(MAKE) $(FLAGS_TO_PASS)  \
31126                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31127                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31128 @endif bfd-bootstrap
31129
31130
31131 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
31132 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
31133 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31134
31135 maybe-configure-stageprofile-opcodes:
31136 maybe-all-stageprofile-opcodes:
31137 maybe-clean-stageprofile-opcodes:
31138
31139 @if opcodes-bootstrap
31140 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31141 configure-stageprofile-opcodes:
31142         @$(MAKE) stageprofile-start
31143         @[ -f opcodes/Makefile ] && exit 0 || : ; \
31144         r=`${PWD_COMMAND}`; export r; \
31145         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31146         $(STAGE_HOST_EXPORTS)  \
31147         echo Configuring stage profile in opcodes ; \
31148         cd opcodes || exit 1; \
31149         case $(srcdir) in \
31150           \.) \
31151             srcdiroption="--srcdir=."; \
31152             libsrcdir=".";; \
31153           /* | [A-Za-z]:[\\/]*) \
31154             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31155             libsrcdir="$$s/opcodes";; \
31156           *) \
31157             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31158             libsrcdir="$$s/opcodes";; \
31159         esac; \
31160         $(SHELL) $${libsrcdir}/configure \
31161           $(HOST_CONFIGARGS) $${srcdiroption} \
31162           @stage2_werror_flag@ 
31163
31164 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31165 all-stageprofile-opcodes: configure-stageprofile-opcodes
31166         @$(MAKE) stageprofile-start
31167         @r=`${PWD_COMMAND}`; export r; \
31168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31169         $(STAGE_HOST_EXPORTS)  \
31170         cd opcodes && \
31171         $(MAKE) $(FLAGS_TO_PASS)  \
31172                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31173                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31174
31175 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31176 clean-stageprofile-opcodes:
31177         @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31178           || exit 0 ; \
31179         [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31180         cd opcodes && \
31181         $(MAKE) $(FLAGS_TO_PASS)  \
31182                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31183                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31184 @endif opcodes-bootstrap
31185
31186
31187 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31188 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31189 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31190
31191 maybe-configure-stageprofile-binutils:
31192 maybe-all-stageprofile-binutils:
31193 maybe-clean-stageprofile-binutils:
31194
31195 @if binutils-bootstrap
31196 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31197 configure-stageprofile-binutils:
31198         @$(MAKE) stageprofile-start
31199         @[ -f binutils/Makefile ] && exit 0 || : ; \
31200         r=`${PWD_COMMAND}`; export r; \
31201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31202         $(STAGE_HOST_EXPORTS)  \
31203         echo Configuring stage profile in binutils ; \
31204         cd binutils || exit 1; \
31205         case $(srcdir) in \
31206           \.) \
31207             srcdiroption="--srcdir=."; \
31208             libsrcdir=".";; \
31209           /* | [A-Za-z]:[\\/]*) \
31210             srcdiroption="--srcdir=$(srcdir)/binutils"; \
31211             libsrcdir="$$s/binutils";; \
31212           *) \
31213             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31214             libsrcdir="$$s/binutils";; \
31215         esac; \
31216         $(SHELL) $${libsrcdir}/configure \
31217           $(HOST_CONFIGARGS) $${srcdiroption} \
31218           @stage2_werror_flag@ 
31219
31220 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31221 all-stageprofile-binutils: configure-stageprofile-binutils
31222         @$(MAKE) stageprofile-start
31223         @r=`${PWD_COMMAND}`; export r; \
31224         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31225         $(STAGE_HOST_EXPORTS)  \
31226         cd binutils && \
31227         $(MAKE) $(FLAGS_TO_PASS)  \
31228                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31229                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31230
31231 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31232 clean-stageprofile-binutils:
31233         @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31234           || exit 0 ; \
31235         [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31236         cd binutils && \
31237         $(MAKE) $(FLAGS_TO_PASS)  \
31238                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31239                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31240 @endif binutils-bootstrap
31241
31242
31243 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31244 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31245 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31246
31247 maybe-configure-stageprofile-gas:
31248 maybe-all-stageprofile-gas:
31249 maybe-clean-stageprofile-gas:
31250
31251 @if gas-bootstrap
31252 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31253 configure-stageprofile-gas:
31254         @$(MAKE) stageprofile-start
31255         @[ -f gas/Makefile ] && exit 0 || : ; \
31256         r=`${PWD_COMMAND}`; export r; \
31257         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31258         $(STAGE_HOST_EXPORTS)  \
31259         echo Configuring stage profile in gas ; \
31260         cd gas || exit 1; \
31261         case $(srcdir) in \
31262           \.) \
31263             srcdiroption="--srcdir=."; \
31264             libsrcdir=".";; \
31265           /* | [A-Za-z]:[\\/]*) \
31266             srcdiroption="--srcdir=$(srcdir)/gas"; \
31267             libsrcdir="$$s/gas";; \
31268           *) \
31269             srcdiroption="--srcdir=../$(srcdir)/gas"; \
31270             libsrcdir="$$s/gas";; \
31271         esac; \
31272         $(SHELL) $${libsrcdir}/configure \
31273           $(HOST_CONFIGARGS) $${srcdiroption} \
31274           @stage2_werror_flag@ 
31275
31276 maybe-all-stageprofile-gas: all-stageprofile-gas
31277 all-stageprofile-gas: configure-stageprofile-gas
31278         @$(MAKE) stageprofile-start
31279         @r=`${PWD_COMMAND}`; export r; \
31280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31281         $(STAGE_HOST_EXPORTS)  \
31282         cd gas && \
31283         $(MAKE) $(FLAGS_TO_PASS)  \
31284                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31285                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31286
31287 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31288 clean-stageprofile-gas:
31289         @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31290           || exit 0 ; \
31291         [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31292         cd gas && \
31293         $(MAKE) $(FLAGS_TO_PASS)  \
31294                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31295                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31296 @endif gas-bootstrap
31297
31298
31299 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31300 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31301 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31302
31303 maybe-configure-stageprofile-gcc:
31304 maybe-all-stageprofile-gcc:
31305 maybe-clean-stageprofile-gcc:
31306
31307 @if gcc-bootstrap
31308 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31309 configure-stageprofile-gcc:
31310         @$(MAKE) stageprofile-start
31311         @[ -f gcc/Makefile ] && exit 0 || : ; \
31312         r=`${PWD_COMMAND}`; export r; \
31313         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31314         $(STAGE_HOST_EXPORTS)  \
31315         echo Configuring stage profile in gcc ; \
31316         cd gcc || exit 1; \
31317         case $(srcdir) in \
31318           \.) \
31319             srcdiroption="--srcdir=."; \
31320             libsrcdir=".";; \
31321           /* | [A-Za-z]:[\\/]*) \
31322             srcdiroption="--srcdir=$(srcdir)/gcc"; \
31323             libsrcdir="$$s/gcc";; \
31324           *) \
31325             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31326             libsrcdir="$$s/gcc";; \
31327         esac; \
31328         $(SHELL) $${libsrcdir}/configure \
31329           $(HOST_CONFIGARGS) $${srcdiroption} \
31330           @stage2_werror_flag@ 
31331
31332 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31333 all-stageprofile-gcc: configure-stageprofile-gcc
31334         @$(MAKE) stageprofile-start
31335         @r=`${PWD_COMMAND}`; export r; \
31336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31337         $(STAGE_HOST_EXPORTS)  \
31338         cd gcc && \
31339         $(MAKE) $(FLAGS_TO_PASS)  \
31340                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31341                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31342
31343 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31344 clean-stageprofile-gcc:
31345         @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31346           || exit 0 ; \
31347         [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31348         cd gcc && \
31349         $(MAKE) $(FLAGS_TO_PASS)  \
31350                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31351                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31352 @endif gcc-bootstrap
31353
31354
31355 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31356 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31357 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31358
31359 maybe-configure-stageprofile-intl:
31360 maybe-all-stageprofile-intl:
31361 maybe-clean-stageprofile-intl:
31362
31363 @if intl-bootstrap
31364 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31365 configure-stageprofile-intl:
31366         @$(MAKE) stageprofile-start
31367         @[ -f intl/Makefile ] && exit 0 || : ; \
31368         r=`${PWD_COMMAND}`; export r; \
31369         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31370         $(STAGE_HOST_EXPORTS)  \
31371         echo Configuring stage profile in intl ; \
31372         cd intl || exit 1; \
31373         case $(srcdir) in \
31374           \.) \
31375             srcdiroption="--srcdir=."; \
31376             libsrcdir=".";; \
31377           /* | [A-Za-z]:[\\/]*) \
31378             srcdiroption="--srcdir=$(srcdir)/intl"; \
31379             libsrcdir="$$s/intl";; \
31380           *) \
31381             srcdiroption="--srcdir=../$(srcdir)/intl"; \
31382             libsrcdir="$$s/intl";; \
31383         esac; \
31384         $(SHELL) $${libsrcdir}/configure \
31385           $(HOST_CONFIGARGS) $${srcdiroption} \
31386           @stage2_werror_flag@ 
31387
31388 maybe-all-stageprofile-intl: all-stageprofile-intl
31389 all-stageprofile-intl: configure-stageprofile-intl
31390         @$(MAKE) stageprofile-start
31391         @r=`${PWD_COMMAND}`; export r; \
31392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31393         $(STAGE_HOST_EXPORTS)  \
31394         cd intl && \
31395         $(MAKE) $(FLAGS_TO_PASS)  \
31396                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31397                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31398
31399 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31400 clean-stageprofile-intl:
31401         @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31402           || exit 0 ; \
31403         [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31404         cd intl && \
31405         $(MAKE) $(FLAGS_TO_PASS)  \
31406                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31407                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31408 @endif intl-bootstrap
31409
31410
31411 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31412 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31413 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31414
31415 maybe-configure-stageprofile-ld:
31416 maybe-all-stageprofile-ld:
31417 maybe-clean-stageprofile-ld:
31418
31419 @if ld-bootstrap
31420 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31421 configure-stageprofile-ld:
31422         @$(MAKE) stageprofile-start
31423         @[ -f ld/Makefile ] && exit 0 || : ; \
31424         r=`${PWD_COMMAND}`; export r; \
31425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31426         $(STAGE_HOST_EXPORTS)  \
31427         echo Configuring stage profile in ld ; \
31428         cd ld || exit 1; \
31429         case $(srcdir) in \
31430           \.) \
31431             srcdiroption="--srcdir=."; \
31432             libsrcdir=".";; \
31433           /* | [A-Za-z]:[\\/]*) \
31434             srcdiroption="--srcdir=$(srcdir)/ld"; \
31435             libsrcdir="$$s/ld";; \
31436           *) \
31437             srcdiroption="--srcdir=../$(srcdir)/ld"; \
31438             libsrcdir="$$s/ld";; \
31439         esac; \
31440         $(SHELL) $${libsrcdir}/configure \
31441           $(HOST_CONFIGARGS) $${srcdiroption} \
31442           @stage2_werror_flag@ 
31443
31444 maybe-all-stageprofile-ld: all-stageprofile-ld
31445 all-stageprofile-ld: configure-stageprofile-ld
31446         @$(MAKE) stageprofile-start
31447         @r=`${PWD_COMMAND}`; export r; \
31448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31449         $(STAGE_HOST_EXPORTS)  \
31450         cd ld && \
31451         $(MAKE) $(FLAGS_TO_PASS)  \
31452                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31453                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31454
31455 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31456 clean-stageprofile-ld:
31457         @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31458           || exit 0 ; \
31459         [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31460         cd ld && \
31461         $(MAKE) $(FLAGS_TO_PASS)  \
31462                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31463                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31464 @endif ld-bootstrap
31465
31466
31467 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31468 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31469 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31470
31471 maybe-configure-stageprofile-libcpp:
31472 maybe-all-stageprofile-libcpp:
31473 maybe-clean-stageprofile-libcpp:
31474
31475 @if libcpp-bootstrap
31476 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31477 configure-stageprofile-libcpp:
31478         @$(MAKE) stageprofile-start
31479         @[ -f libcpp/Makefile ] && exit 0 || : ; \
31480         r=`${PWD_COMMAND}`; export r; \
31481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31482         $(STAGE_HOST_EXPORTS)  \
31483         echo Configuring stage profile in libcpp ; \
31484         cd libcpp || exit 1; \
31485         case $(srcdir) in \
31486           \.) \
31487             srcdiroption="--srcdir=."; \
31488             libsrcdir=".";; \
31489           /* | [A-Za-z]:[\\/]*) \
31490             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31491             libsrcdir="$$s/libcpp";; \
31492           *) \
31493             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31494             libsrcdir="$$s/libcpp";; \
31495         esac; \
31496         $(SHELL) $${libsrcdir}/configure \
31497           $(HOST_CONFIGARGS) $${srcdiroption} \
31498           @stage2_werror_flag@ 
31499
31500 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31501 all-stageprofile-libcpp: configure-stageprofile-libcpp
31502         @$(MAKE) stageprofile-start
31503         @r=`${PWD_COMMAND}`; export r; \
31504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31505         $(STAGE_HOST_EXPORTS)  \
31506         cd libcpp && \
31507         $(MAKE) $(FLAGS_TO_PASS)  \
31508                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31509                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31510
31511 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31512 clean-stageprofile-libcpp:
31513         @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31514           || exit 0 ; \
31515         [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31516         cd libcpp && \
31517         $(MAKE) $(FLAGS_TO_PASS)  \
31518                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31519                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31520 @endif libcpp-bootstrap
31521
31522
31523 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
31524 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
31525 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
31526
31527 maybe-configure-stageprofile-libiberty:
31528 maybe-all-stageprofile-libiberty:
31529 maybe-clean-stageprofile-libiberty:
31530
31531 @if libiberty-bootstrap
31532 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31533 configure-stageprofile-libiberty:
31534         @$(MAKE) stageprofile-start
31535         @[ -f libiberty/Makefile ] && exit 0 || : ; \
31536         r=`${PWD_COMMAND}`; export r; \
31537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31538         $(STAGE_HOST_EXPORTS)  \
31539         echo Configuring stage profile in libiberty ; \
31540         cd libiberty || exit 1; \
31541         case $(srcdir) in \
31542           \.) \
31543             srcdiroption="--srcdir=."; \
31544             libsrcdir=".";; \
31545           /* | [A-Za-z]:[\\/]*) \
31546             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31547             libsrcdir="$$s/libiberty";; \
31548           *) \
31549             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31550             libsrcdir="$$s/libiberty";; \
31551         esac; \
31552         $(SHELL) $${libsrcdir}/configure \
31553           $(HOST_CONFIGARGS) $${srcdiroption} \
31554           @stage2_werror_flag@ 
31555
31556 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31557 all-stageprofile-libiberty: configure-stageprofile-libiberty
31558         @$(MAKE) stageprofile-start
31559         @r=`${PWD_COMMAND}`; export r; \
31560         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31561         $(STAGE_HOST_EXPORTS)  \
31562         cd libiberty && \
31563         $(MAKE) $(FLAGS_TO_PASS)  \
31564                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31565                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31566
31567 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
31568 clean-stageprofile-libiberty:
31569         @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
31570           || exit 0 ; \
31571         [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
31572         cd libiberty && \
31573         $(MAKE) $(FLAGS_TO_PASS)  \
31574                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31575                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31576 @endif libiberty-bootstrap
31577
31578
31579 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31580 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
31581 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
31582
31583 maybe-configure-stageprofile-zlib:
31584 maybe-all-stageprofile-zlib:
31585 maybe-clean-stageprofile-zlib:
31586
31587 @if zlib-bootstrap
31588 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31589 configure-stageprofile-zlib:
31590         @$(MAKE) stageprofile-start
31591         @[ -f zlib/Makefile ] && exit 0 || : ; \
31592         r=`${PWD_COMMAND}`; export r; \
31593         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31594         $(STAGE_HOST_EXPORTS)  \
31595         echo Configuring stage profile in zlib ; \
31596         cd zlib || exit 1; \
31597         case $(srcdir) in \
31598           \.) \
31599             srcdiroption="--srcdir=."; \
31600             libsrcdir=".";; \
31601           /* | [A-Za-z]:[\\/]*) \
31602             srcdiroption="--srcdir=$(srcdir)/zlib"; \
31603             libsrcdir="$$s/zlib";; \
31604           *) \
31605             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31606             libsrcdir="$$s/zlib";; \
31607         esac; \
31608         $(SHELL) $${libsrcdir}/configure \
31609           $(HOST_CONFIGARGS) $${srcdiroption} \
31610           @stage2_werror_flag@ 
31611
31612 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31613 all-stageprofile-zlib: configure-stageprofile-zlib
31614         @$(MAKE) stageprofile-start
31615         @r=`${PWD_COMMAND}`; export r; \
31616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31617         $(STAGE_HOST_EXPORTS)  \
31618         cd zlib && \
31619         $(MAKE) $(FLAGS_TO_PASS)  \
31620                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31621                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31622
31623 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
31624 clean-stageprofile-zlib:
31625         @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
31626           || exit 0 ; \
31627         [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
31628         cd zlib && \
31629         $(MAKE) $(FLAGS_TO_PASS)  \
31630                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31631                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31632 @endif zlib-bootstrap
31633
31634
31635
31636 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31637 # only possibility, but now it conflicts with no-bootstrap rules
31638 @if gcc-bootstrap
31639
31640
31641
31642
31643 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31644 distclean-stage1:: distclean-stageprofile 
31645 .PHONY: distclean-stageprofile
31646 distclean-stageprofile::
31647         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31648         rm -rf stageprofile-* 
31649
31650
31651 @endif gcc-bootstrap
31652
31653
31654 .PHONY: stagefeedback-start stagefeedback-end
31655
31656 stagefeedback-start::
31657         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31658         echo stagefeedback > stage_current ; \
31659         echo stagefeedback > stage_last
31660 @if bfd
31661         @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31662         set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
31663         set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
31664 @endif bfd
31665 @if opcodes
31666         @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31667         set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
31668         set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
31669 @endif opcodes
31670 @if binutils
31671         @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31672         set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
31673         set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
31674 @endif binutils
31675 @if gas
31676         @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31677         set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@  ; \
31678         set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
31679 @endif gas
31680 @if gcc
31681         @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
31682         set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
31683         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
31684 @endif gcc
31685 @if intl
31686         @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
31687         set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@  ; \
31688         set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
31689 @endif intl
31690 @if ld
31691         @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
31692         set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@  ; \
31693         set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
31694 @endif ld
31695 @if libcpp
31696         @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
31697         set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
31698         set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
31699 @endif libcpp
31700 @if libiberty
31701         @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
31702         set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
31703         set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
31704 @endif libiberty
31705 @if zlib
31706         @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
31707         set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
31708         set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
31709 @endif zlib
31710
31711 stagefeedback-end::
31712         @rm -f stage_current
31713 @if bfd
31714         @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@  ; \
31715         set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
31716 @endif bfd
31717 @if opcodes
31718         @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@  ; \
31719         set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
31720 @endif opcodes
31721 @if binutils
31722         @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@  ; \
31723         set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
31724 @endif binutils
31725 @if gas
31726         @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@  ; \
31727         set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
31728 @endif gas
31729 @if gcc
31730         @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@  ; \
31731         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
31732 @endif gcc
31733 @if intl
31734         @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@  ; \
31735         set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
31736 @endif intl
31737 @if ld
31738         @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@  ; \
31739         set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
31740 @endif ld
31741 @if libcpp
31742         @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@  ; \
31743         set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
31744 @endif libcpp
31745 @if libiberty
31746         @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@  ; \
31747         set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
31748 @endif libiberty
31749 @if zlib
31750         @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@  ; \
31751         set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
31752 @endif zlib
31753
31754 # Bubble a bugfix through all the stages up to stage feedback.  They
31755 # are remade, but not reconfigured.  The next stage (if any) will not
31756 # be reconfigured as well.
31757 .PHONY: stagefeedback-bubble
31758 stagefeedback-bubble:: stage1-bubble
31759         @if test -f stagefeedback-lean || test -f stage1-lean  ; then \
31760           echo Skipping rebuild of stagefeedback ; \
31761         else \
31762           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
31763         fi
31764
31765 .PHONY: all-stagefeedback clean-stagefeedback
31766 all-stagefeedback:     \
31767   maybe-all-stagefeedback-bfd \
31768   maybe-all-stagefeedback-opcodes \
31769   maybe-all-stagefeedback-binutils             \
31770   maybe-all-stagefeedback-gas \
31771   maybe-all-stagefeedback-gcc        \
31772   maybe-all-stagefeedback-intl   \
31773   maybe-all-stagefeedback-ld \
31774   maybe-all-stagefeedback-libcpp  \
31775   maybe-all-stagefeedback-libiberty                        \
31776   maybe-all-stagefeedback-zlib       
31777
31778 do-clean: clean-stagefeedback
31779 clean-stagefeedback:     \
31780   maybe-clean-stagefeedback-bfd \
31781   maybe-clean-stagefeedback-opcodes \
31782   maybe-clean-stagefeedback-binutils             \
31783   maybe-clean-stagefeedback-gas \
31784   maybe-clean-stagefeedback-gcc        \
31785   maybe-clean-stagefeedback-intl   \
31786   maybe-clean-stagefeedback-ld \
31787   maybe-clean-stagefeedback-libcpp  \
31788   maybe-clean-stagefeedback-libiberty                        \
31789   maybe-clean-stagefeedback-zlib       
31790
31791
31792 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
31793 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
31794 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
31795
31796 maybe-configure-stagefeedback-bfd:
31797 maybe-all-stagefeedback-bfd:
31798 maybe-clean-stagefeedback-bfd:
31799
31800 @if bfd-bootstrap
31801 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
31802 configure-stagefeedback-bfd:
31803         @$(MAKE) stagefeedback-start
31804         @[ -f bfd/Makefile ] && exit 0 || : ; \
31805         r=`${PWD_COMMAND}`; export r; \
31806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31807         $(STAGE_HOST_EXPORTS)  \
31808         echo Configuring stage feedback in bfd ; \
31809         cd bfd || exit 1; \
31810         case $(srcdir) in \
31811           \.) \
31812             srcdiroption="--srcdir=."; \
31813             libsrcdir=".";; \
31814           /* | [A-Za-z]:[\\/]*) \
31815             srcdiroption="--srcdir=$(srcdir)/bfd"; \
31816             libsrcdir="$$s/bfd";; \
31817           *) \
31818             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31819             libsrcdir="$$s/bfd";; \
31820         esac; \
31821         $(SHELL) $${libsrcdir}/configure \
31822           $(HOST_CONFIGARGS) $${srcdiroption} \
31823           @stage2_werror_flag@ 
31824
31825 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
31826 all-stagefeedback-bfd: configure-stagefeedback-bfd
31827         @$(MAKE) stagefeedback-start
31828         @r=`${PWD_COMMAND}`; export r; \
31829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31830         $(STAGE_HOST_EXPORTS)  \
31831         cd bfd && \
31832         $(MAKE) $(FLAGS_TO_PASS)  \
31833                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31834                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31835
31836 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
31837 clean-stagefeedback-bfd:
31838         @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
31839           || exit 0 ; \
31840         [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
31841         cd bfd && \
31842         $(MAKE) $(FLAGS_TO_PASS)  \
31843                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31844                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31845 @endif bfd-bootstrap
31846
31847
31848 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
31849 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
31850 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
31851
31852 maybe-configure-stagefeedback-opcodes:
31853 maybe-all-stagefeedback-opcodes:
31854 maybe-clean-stagefeedback-opcodes:
31855
31856 @if opcodes-bootstrap
31857 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
31858 configure-stagefeedback-opcodes:
31859         @$(MAKE) stagefeedback-start
31860         @[ -f opcodes/Makefile ] && exit 0 || : ; \
31861         r=`${PWD_COMMAND}`; export r; \
31862         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31863         $(STAGE_HOST_EXPORTS)  \
31864         echo Configuring stage feedback in opcodes ; \
31865         cd opcodes || exit 1; \
31866         case $(srcdir) in \
31867           \.) \
31868             srcdiroption="--srcdir=."; \
31869             libsrcdir=".";; \
31870           /* | [A-Za-z]:[\\/]*) \
31871             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31872             libsrcdir="$$s/opcodes";; \
31873           *) \
31874             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31875             libsrcdir="$$s/opcodes";; \
31876         esac; \
31877         $(SHELL) $${libsrcdir}/configure \
31878           $(HOST_CONFIGARGS) $${srcdiroption} \
31879           @stage2_werror_flag@ 
31880
31881 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
31882 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
31883         @$(MAKE) stagefeedback-start
31884         @r=`${PWD_COMMAND}`; export r; \
31885         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31886         $(STAGE_HOST_EXPORTS)  \
31887         cd opcodes && \
31888         $(MAKE) $(FLAGS_TO_PASS)  \
31889                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31890                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31891
31892 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
31893 clean-stagefeedback-opcodes:
31894         @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
31895           || exit 0 ; \
31896         [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
31897         cd opcodes && \
31898         $(MAKE) $(FLAGS_TO_PASS)  \
31899                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31900                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31901 @endif opcodes-bootstrap
31902
31903
31904 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
31905 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
31906 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
31907
31908 maybe-configure-stagefeedback-binutils:
31909 maybe-all-stagefeedback-binutils:
31910 maybe-clean-stagefeedback-binutils:
31911
31912 @if binutils-bootstrap
31913 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
31914 configure-stagefeedback-binutils:
31915         @$(MAKE) stagefeedback-start
31916         @[ -f binutils/Makefile ] && exit 0 || : ; \
31917         r=`${PWD_COMMAND}`; export r; \
31918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31919         $(STAGE_HOST_EXPORTS)  \
31920         echo Configuring stage feedback in binutils ; \
31921         cd binutils || exit 1; \
31922         case $(srcdir) in \
31923           \.) \
31924             srcdiroption="--srcdir=."; \
31925             libsrcdir=".";; \
31926           /* | [A-Za-z]:[\\/]*) \
31927             srcdiroption="--srcdir=$(srcdir)/binutils"; \
31928             libsrcdir="$$s/binutils";; \
31929           *) \
31930             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31931             libsrcdir="$$s/binutils";; \
31932         esac; \
31933         $(SHELL) $${libsrcdir}/configure \
31934           $(HOST_CONFIGARGS) $${srcdiroption} \
31935           @stage2_werror_flag@ 
31936
31937 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
31938 all-stagefeedback-binutils: configure-stagefeedback-binutils
31939         @$(MAKE) stagefeedback-start
31940         @r=`${PWD_COMMAND}`; export r; \
31941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31942         $(STAGE_HOST_EXPORTS)  \
31943         cd binutils && \
31944         $(MAKE) $(FLAGS_TO_PASS)  \
31945                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31946                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31947
31948 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
31949 clean-stagefeedback-binutils:
31950         @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
31951           || exit 0 ; \
31952         [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
31953         cd binutils && \
31954         $(MAKE) $(FLAGS_TO_PASS)  \
31955                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31956                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31957 @endif binutils-bootstrap
31958
31959
31960 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
31961 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
31962 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
31963
31964 maybe-configure-stagefeedback-gas:
31965 maybe-all-stagefeedback-gas:
31966 maybe-clean-stagefeedback-gas:
31967
31968 @if gas-bootstrap
31969 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
31970 configure-stagefeedback-gas:
31971         @$(MAKE) stagefeedback-start
31972         @[ -f gas/Makefile ] && exit 0 || : ; \
31973         r=`${PWD_COMMAND}`; export r; \
31974         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31975         $(STAGE_HOST_EXPORTS)  \
31976         echo Configuring stage feedback in gas ; \
31977         cd gas || exit 1; \
31978         case $(srcdir) in \
31979           \.) \
31980             srcdiroption="--srcdir=."; \
31981             libsrcdir=".";; \
31982           /* | [A-Za-z]:[\\/]*) \
31983             srcdiroption="--srcdir=$(srcdir)/gas"; \
31984             libsrcdir="$$s/gas";; \
31985           *) \
31986             srcdiroption="--srcdir=../$(srcdir)/gas"; \
31987             libsrcdir="$$s/gas";; \
31988         esac; \
31989         $(SHELL) $${libsrcdir}/configure \
31990           $(HOST_CONFIGARGS) $${srcdiroption} \
31991           @stage2_werror_flag@ 
31992
31993 maybe-all-stagefeedback-gas: all-stagefeedback-gas
31994 all-stagefeedback-gas: configure-stagefeedback-gas
31995         @$(MAKE) stagefeedback-start
31996         @r=`${PWD_COMMAND}`; export r; \
31997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31998         $(STAGE_HOST_EXPORTS)  \
31999         cd gas && \
32000         $(MAKE) $(FLAGS_TO_PASS)  \
32001                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32002                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32003
32004 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
32005 clean-stagefeedback-gas:
32006         @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
32007           || exit 0 ; \
32008         [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
32009         cd gas && \
32010         $(MAKE) $(FLAGS_TO_PASS)  \
32011                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32012                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32013 @endif gas-bootstrap
32014
32015
32016 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
32017 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
32018 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
32019
32020 maybe-configure-stagefeedback-gcc:
32021 maybe-all-stagefeedback-gcc:
32022 maybe-clean-stagefeedback-gcc:
32023
32024 @if gcc-bootstrap
32025 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
32026 configure-stagefeedback-gcc:
32027         @$(MAKE) stagefeedback-start
32028         @[ -f gcc/Makefile ] && exit 0 || : ; \
32029         r=`${PWD_COMMAND}`; export r; \
32030         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32031         $(STAGE_HOST_EXPORTS)  \
32032         echo Configuring stage feedback in gcc ; \
32033         cd gcc || exit 1; \
32034         case $(srcdir) in \
32035           \.) \
32036             srcdiroption="--srcdir=."; \
32037             libsrcdir=".";; \
32038           /* | [A-Za-z]:[\\/]*) \
32039             srcdiroption="--srcdir=$(srcdir)/gcc"; \
32040             libsrcdir="$$s/gcc";; \
32041           *) \
32042             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32043             libsrcdir="$$s/gcc";; \
32044         esac; \
32045         $(SHELL) $${libsrcdir}/configure \
32046           $(HOST_CONFIGARGS) $${srcdiroption} \
32047           @stage2_werror_flag@ 
32048
32049 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
32050 all-stagefeedback-gcc: configure-stagefeedback-gcc
32051         @$(MAKE) stagefeedback-start
32052         @r=`${PWD_COMMAND}`; export r; \
32053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32054         $(STAGE_HOST_EXPORTS)  \
32055         cd gcc && \
32056         $(MAKE) $(FLAGS_TO_PASS)  \
32057                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32058                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
32059
32060 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
32061 clean-stagefeedback-gcc:
32062         @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
32063           || exit 0 ; \
32064         [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
32065         cd gcc && \
32066         $(MAKE) $(FLAGS_TO_PASS)  \
32067                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32068                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
32069 @endif gcc-bootstrap
32070
32071
32072 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
32073 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
32074 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
32075
32076 maybe-configure-stagefeedback-intl:
32077 maybe-all-stagefeedback-intl:
32078 maybe-clean-stagefeedback-intl:
32079
32080 @if intl-bootstrap
32081 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
32082 configure-stagefeedback-intl:
32083         @$(MAKE) stagefeedback-start
32084         @[ -f intl/Makefile ] && exit 0 || : ; \
32085         r=`${PWD_COMMAND}`; export r; \
32086         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32087         $(STAGE_HOST_EXPORTS)  \
32088         echo Configuring stage feedback in intl ; \
32089         cd intl || exit 1; \
32090         case $(srcdir) in \
32091           \.) \
32092             srcdiroption="--srcdir=."; \
32093             libsrcdir=".";; \
32094           /* | [A-Za-z]:[\\/]*) \
32095             srcdiroption="--srcdir=$(srcdir)/intl"; \
32096             libsrcdir="$$s/intl";; \
32097           *) \
32098             srcdiroption="--srcdir=../$(srcdir)/intl"; \
32099             libsrcdir="$$s/intl";; \
32100         esac; \
32101         $(SHELL) $${libsrcdir}/configure \
32102           $(HOST_CONFIGARGS) $${srcdiroption} \
32103           @stage2_werror_flag@ 
32104
32105 maybe-all-stagefeedback-intl: all-stagefeedback-intl
32106 all-stagefeedback-intl: configure-stagefeedback-intl
32107         @$(MAKE) stagefeedback-start
32108         @r=`${PWD_COMMAND}`; export r; \
32109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32110         $(STAGE_HOST_EXPORTS)  \
32111         cd intl && \
32112         $(MAKE) $(FLAGS_TO_PASS)  \
32113                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32114                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32115
32116 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
32117 clean-stagefeedback-intl:
32118         @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
32119           || exit 0 ; \
32120         [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
32121         cd intl && \
32122         $(MAKE) $(FLAGS_TO_PASS)  \
32123                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32124                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32125 @endif intl-bootstrap
32126
32127
32128 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
32129 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
32130 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
32131
32132 maybe-configure-stagefeedback-ld:
32133 maybe-all-stagefeedback-ld:
32134 maybe-clean-stagefeedback-ld:
32135
32136 @if ld-bootstrap
32137 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32138 configure-stagefeedback-ld:
32139         @$(MAKE) stagefeedback-start
32140         @[ -f ld/Makefile ] && exit 0 || : ; \
32141         r=`${PWD_COMMAND}`; export r; \
32142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32143         $(STAGE_HOST_EXPORTS)  \
32144         echo Configuring stage feedback in ld ; \
32145         cd ld || exit 1; \
32146         case $(srcdir) in \
32147           \.) \
32148             srcdiroption="--srcdir=."; \
32149             libsrcdir=".";; \
32150           /* | [A-Za-z]:[\\/]*) \
32151             srcdiroption="--srcdir=$(srcdir)/ld"; \
32152             libsrcdir="$$s/ld";; \
32153           *) \
32154             srcdiroption="--srcdir=../$(srcdir)/ld"; \
32155             libsrcdir="$$s/ld";; \
32156         esac; \
32157         $(SHELL) $${libsrcdir}/configure \
32158           $(HOST_CONFIGARGS) $${srcdiroption} \
32159           @stage2_werror_flag@ 
32160
32161 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32162 all-stagefeedback-ld: configure-stagefeedback-ld
32163         @$(MAKE) stagefeedback-start
32164         @r=`${PWD_COMMAND}`; export r; \
32165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32166         $(STAGE_HOST_EXPORTS)  \
32167         cd ld && \
32168         $(MAKE) $(FLAGS_TO_PASS)  \
32169                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32170                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32171
32172 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32173 clean-stagefeedback-ld:
32174         @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32175           || exit 0 ; \
32176         [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32177         cd ld && \
32178         $(MAKE) $(FLAGS_TO_PASS)  \
32179                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32180                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32181 @endif ld-bootstrap
32182
32183
32184 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32185 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32186 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32187
32188 maybe-configure-stagefeedback-libcpp:
32189 maybe-all-stagefeedback-libcpp:
32190 maybe-clean-stagefeedback-libcpp:
32191
32192 @if libcpp-bootstrap
32193 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32194 configure-stagefeedback-libcpp:
32195         @$(MAKE) stagefeedback-start
32196         @[ -f libcpp/Makefile ] && exit 0 || : ; \
32197         r=`${PWD_COMMAND}`; export r; \
32198         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32199         $(STAGE_HOST_EXPORTS)  \
32200         echo Configuring stage feedback in libcpp ; \
32201         cd libcpp || exit 1; \
32202         case $(srcdir) in \
32203           \.) \
32204             srcdiroption="--srcdir=."; \
32205             libsrcdir=".";; \
32206           /* | [A-Za-z]:[\\/]*) \
32207             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32208             libsrcdir="$$s/libcpp";; \
32209           *) \
32210             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32211             libsrcdir="$$s/libcpp";; \
32212         esac; \
32213         $(SHELL) $${libsrcdir}/configure \
32214           $(HOST_CONFIGARGS) $${srcdiroption} \
32215           @stage2_werror_flag@ 
32216
32217 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32218 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32219         @$(MAKE) stagefeedback-start
32220         @r=`${PWD_COMMAND}`; export r; \
32221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32222         $(STAGE_HOST_EXPORTS)  \
32223         cd libcpp && \
32224         $(MAKE) $(FLAGS_TO_PASS)  \
32225                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32226                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32227
32228 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32229 clean-stagefeedback-libcpp:
32230         @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32231           || exit 0 ; \
32232         [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32233         cd libcpp && \
32234         $(MAKE) $(FLAGS_TO_PASS)  \
32235                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32236                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32237 @endif libcpp-bootstrap
32238
32239
32240 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32241 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32242 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32243
32244 maybe-configure-stagefeedback-libiberty:
32245 maybe-all-stagefeedback-libiberty:
32246 maybe-clean-stagefeedback-libiberty:
32247
32248 @if libiberty-bootstrap
32249 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32250 configure-stagefeedback-libiberty:
32251         @$(MAKE) stagefeedback-start
32252         @[ -f libiberty/Makefile ] && exit 0 || : ; \
32253         r=`${PWD_COMMAND}`; export r; \
32254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32255         $(STAGE_HOST_EXPORTS)  \
32256         echo Configuring stage feedback in libiberty ; \
32257         cd libiberty || exit 1; \
32258         case $(srcdir) in \
32259           \.) \
32260             srcdiroption="--srcdir=."; \
32261             libsrcdir=".";; \
32262           /* | [A-Za-z]:[\\/]*) \
32263             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32264             libsrcdir="$$s/libiberty";; \
32265           *) \
32266             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32267             libsrcdir="$$s/libiberty";; \
32268         esac; \
32269         $(SHELL) $${libsrcdir}/configure \
32270           $(HOST_CONFIGARGS) $${srcdiroption} \
32271           @stage2_werror_flag@ 
32272
32273 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32274 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32275         @$(MAKE) stagefeedback-start
32276         @r=`${PWD_COMMAND}`; export r; \
32277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32278         $(STAGE_HOST_EXPORTS)  \
32279         cd libiberty && \
32280         $(MAKE) $(FLAGS_TO_PASS)  \
32281                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32282                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32283
32284 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32285 clean-stagefeedback-libiberty:
32286         @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32287           || exit 0 ; \
32288         [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32289         cd libiberty && \
32290         $(MAKE) $(FLAGS_TO_PASS)  \
32291                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32292                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32293 @endif libiberty-bootstrap
32294
32295
32296 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32297 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32298 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32299
32300 maybe-configure-stagefeedback-zlib:
32301 maybe-all-stagefeedback-zlib:
32302 maybe-clean-stagefeedback-zlib:
32303
32304 @if zlib-bootstrap
32305 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32306 configure-stagefeedback-zlib:
32307         @$(MAKE) stagefeedback-start
32308         @[ -f zlib/Makefile ] && exit 0 || : ; \
32309         r=`${PWD_COMMAND}`; export r; \
32310         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32311         $(STAGE_HOST_EXPORTS)  \
32312         echo Configuring stage feedback in zlib ; \
32313         cd zlib || exit 1; \
32314         case $(srcdir) in \
32315           \.) \
32316             srcdiroption="--srcdir=."; \
32317             libsrcdir=".";; \
32318           /* | [A-Za-z]:[\\/]*) \
32319             srcdiroption="--srcdir=$(srcdir)/zlib"; \
32320             libsrcdir="$$s/zlib";; \
32321           *) \
32322             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32323             libsrcdir="$$s/zlib";; \
32324         esac; \
32325         $(SHELL) $${libsrcdir}/configure \
32326           $(HOST_CONFIGARGS) $${srcdiroption} \
32327           @stage2_werror_flag@ 
32328
32329 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32330 all-stagefeedback-zlib: configure-stagefeedback-zlib
32331         @$(MAKE) stagefeedback-start
32332         @r=`${PWD_COMMAND}`; export r; \
32333         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32334         $(STAGE_HOST_EXPORTS)  \
32335         cd zlib && \
32336         $(MAKE) $(FLAGS_TO_PASS)  \
32337                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32338                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32339
32340 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32341 clean-stagefeedback-zlib:
32342         @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32343           || exit 0 ; \
32344         [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32345         cd zlib && \
32346         $(MAKE) $(FLAGS_TO_PASS)  \
32347                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32348                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32349 @endif zlib-bootstrap
32350
32351
32352
32353 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32354 # only possibility, but now it conflicts with no-bootstrap rules
32355 @if gcc-bootstrap
32356
32357
32358
32359
32360 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32361 distclean-stage1:: distclean-stagefeedback 
32362 .PHONY: distclean-stagefeedback
32363 distclean-stagefeedback::
32364         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32365         rm -rf stagefeedback-* 
32366
32367
32368 @endif gcc-bootstrap
32369
32370
32371
32372 stagefeedback-start::
32373         @r=`${PWD_COMMAND}`; export r; \
32374         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375         cd stageprofile-gcc && \
32376           { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32377           { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32378
32379 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32380 # only possibility, but now it conflicts with no-bootstrap rules
32381 @if gcc-bootstrap
32382 profiledbootstrap:
32383         @r=`${PWD_COMMAND}`; export r; \
32384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32385         $(SET_LIB_PATH) \
32386         $(HOST_EXPORTS) \
32387         echo "Bootstrapping the compiler"; \
32388         $(MAKE) stageprofile-bubble distclean-stagefeedback
32389         @r=`${PWD_COMMAND}`; export r; \
32390         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32391         $(SET_LIB_PATH) \
32392         echo "Building runtime libraries and training compiler"; \
32393         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32394         @r=`${PWD_COMMAND}`; export r; \
32395         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32396         $(SET_LIB_PATH) \
32397         $(HOST_EXPORTS) \
32398         echo "Building feedback based compiler"; \
32399         $(MAKE) stagefeedback-bubble stagefeedback-end
32400 @endif gcc-bootstrap
32401
32402 @if gcc-bootstrap
32403 NOTPARALLEL = .NOTPARALLEL
32404 $(NOTPARALLEL):
32405 do-distclean: distclean-stage1
32406 @endif gcc-bootstrap
32407
32408 # --------------------------------------
32409 # Dependencies between different modules
32410 # --------------------------------------
32411
32412 # Generic dependencies for target modules on host stuff, especially gcc
32413
32414 configure-target-libstdc++-v3: maybe-all-gcc
32415
32416 configure-target-libmudflap: maybe-all-gcc
32417
32418 configure-target-newlib: maybe-all-gcc
32419
32420 configure-target-libgfortran: maybe-all-gcc
32421
32422 configure-target-libobjc: maybe-all-gcc
32423
32424 configure-target-libtermcap: maybe-all-gcc
32425
32426 configure-target-winsup: maybe-all-gcc
32427
32428 configure-target-libgloss: maybe-all-gcc
32429
32430 configure-target-libiberty: maybe-all-gcc
32431
32432 configure-target-gperf: maybe-all-gcc
32433
32434 configure-target-examples: maybe-all-gcc
32435
32436 configure-target-libffi: maybe-all-gcc
32437
32438 configure-target-libjava: maybe-all-gcc
32439
32440 configure-target-zlib: maybe-all-gcc
32441
32442 configure-target-boehm-gc: maybe-all-gcc
32443
32444 configure-target-qthreads: maybe-all-gcc
32445
32446 configure-target-rda: maybe-all-gcc
32447
32448 configure-target-libada: maybe-all-gcc
32449
32450
32451
32452 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32453
32454 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32455 configure-target-gperf: maybe-all-target-libstdc++-v3
32456
32457 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32458
32459 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32460
32461 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32462
32463 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32464 configure-target-libjava: maybe-all-target-libstdc++-v3
32465
32466 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32467
32468 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32469
32470 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32471
32472 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32473
32474 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32475
32476 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32477
32478 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32479
32480 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32481
32482
32483 # There are two types of dependencies here: 'hard' dependencies, where one
32484 # module simply won't build without the other; and 'soft' dependencies, where
32485 # if the depended-on module is missing, the depending module will do without
32486 # or find a substitute somewhere (perhaps installed).  Soft dependencies
32487 # are made here to depend on a 'maybe-' target.  If you're not sure,
32488 # it's safer to use a soft dependency.
32489
32490
32491
32492
32493
32494 # With all the machinery above in place, it is pretty easy to generate
32495 # dependencies.  Host dependencies are a bit more complex because we have
32496 # to check for bootstrap/prebootstrap dependencies.  To resolve
32497 # prebootstrap dependencies, prebootstrap modules are gathered in
32498 # a hash table.
32499 all-build-bison: maybe-all-build-texinfo
32500 all-build-byacc: maybe-all-build-texinfo
32501 all-build-flex: maybe-all-build-texinfo
32502 all-build-flex: maybe-all-build-bison
32503 all-build-flex: maybe-all-build-byacc
32504 all-build-flex: maybe-all-build-m4
32505 all-build-libiberty: maybe-all-build-texinfo
32506 all-build-m4: maybe-all-build-texinfo
32507 all-build-fixincludes: maybe-all-build-libiberty
32508 configure-gcc: maybe-configure-intl
32509
32510 configure-stage1-gcc: maybe-configure-stage1-intl
32511 configure-stage2-gcc: maybe-configure-stage2-intl
32512 configure-stage3-gcc: maybe-configure-stage3-intl
32513 configure-stage4-gcc: maybe-configure-stage4-intl
32514 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32515 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32516 configure-gcc: maybe-configure-binutils
32517
32518 configure-stage1-gcc: maybe-configure-stage1-binutils
32519 configure-stage2-gcc: maybe-configure-stage2-binutils
32520 configure-stage3-gcc: maybe-configure-stage3-binutils
32521 configure-stage4-gcc: maybe-configure-stage4-binutils
32522 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32523 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32524 configure-gcc: maybe-configure-gas
32525
32526 configure-stage1-gcc: maybe-configure-stage1-gas
32527 configure-stage2-gcc: maybe-configure-stage2-gas
32528 configure-stage3-gcc: maybe-configure-stage3-gas
32529 configure-stage4-gcc: maybe-configure-stage4-gas
32530 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32531 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32532 configure-gcc: maybe-configure-ld
32533
32534 configure-stage1-gcc: maybe-configure-stage1-ld
32535 configure-stage2-gcc: maybe-configure-stage2-ld
32536 configure-stage3-gcc: maybe-configure-stage3-ld
32537 configure-stage4-gcc: maybe-configure-stage4-ld
32538 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32539 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32540 all-gcc: all-libiberty
32541
32542 all-stage1-gcc: all-stage1-libiberty
32543 all-stage2-gcc: all-stage2-libiberty
32544 all-stage3-gcc: all-stage3-libiberty
32545 all-stage4-gcc: all-stage4-libiberty
32546 all-stageprofile-gcc: all-stageprofile-libiberty
32547 all-stagefeedback-gcc: all-stagefeedback-libiberty
32548 all-gcc: maybe-all-intl
32549
32550 all-stage1-gcc: maybe-all-stage1-intl
32551 all-stage2-gcc: maybe-all-stage2-intl
32552 all-stage3-gcc: maybe-all-stage3-intl
32553 all-stage4-gcc: maybe-all-stage4-intl
32554 all-stageprofile-gcc: maybe-all-stageprofile-intl
32555 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32556 all-gcc: maybe-all-build-texinfo
32557
32558 all-stage1-gcc: maybe-all-build-texinfo
32559 all-stage2-gcc: maybe-all-build-texinfo
32560 all-stage3-gcc: maybe-all-build-texinfo
32561 all-stage4-gcc: maybe-all-build-texinfo
32562 all-stageprofile-gcc: maybe-all-build-texinfo
32563 all-stagefeedback-gcc: maybe-all-build-texinfo
32564 all-prebootstrap: maybe-all-build-texinfo
32565 all-gcc: maybe-all-build-bison
32566
32567 all-stage1-gcc: maybe-all-build-bison
32568 all-stage2-gcc: maybe-all-build-bison
32569 all-stage3-gcc: maybe-all-build-bison
32570 all-stage4-gcc: maybe-all-build-bison
32571 all-stageprofile-gcc: maybe-all-build-bison
32572 all-stagefeedback-gcc: maybe-all-build-bison
32573 all-prebootstrap: maybe-all-build-bison
32574 all-gcc: maybe-all-build-byacc
32575
32576 all-stage1-gcc: maybe-all-build-byacc
32577 all-stage2-gcc: maybe-all-build-byacc
32578 all-stage3-gcc: maybe-all-build-byacc
32579 all-stage4-gcc: maybe-all-build-byacc
32580 all-stageprofile-gcc: maybe-all-build-byacc
32581 all-stagefeedback-gcc: maybe-all-build-byacc
32582 all-prebootstrap: maybe-all-build-byacc
32583 all-gcc: maybe-all-build-flex
32584
32585 all-stage1-gcc: maybe-all-build-flex
32586 all-stage2-gcc: maybe-all-build-flex
32587 all-stage3-gcc: maybe-all-build-flex
32588 all-stage4-gcc: maybe-all-build-flex
32589 all-stageprofile-gcc: maybe-all-build-flex
32590 all-stagefeedback-gcc: maybe-all-build-flex
32591 all-prebootstrap: maybe-all-build-flex
32592 all-gcc: maybe-all-build-libiberty
32593
32594 all-stage1-gcc: maybe-all-build-libiberty
32595 all-stage2-gcc: maybe-all-build-libiberty
32596 all-stage3-gcc: maybe-all-build-libiberty
32597 all-stage4-gcc: maybe-all-build-libiberty
32598 all-stageprofile-gcc: maybe-all-build-libiberty
32599 all-stagefeedback-gcc: maybe-all-build-libiberty
32600 all-prebootstrap: maybe-all-build-libiberty
32601 all-gcc: maybe-all-build-fixincludes
32602
32603 all-stage1-gcc: maybe-all-build-fixincludes
32604 all-stage2-gcc: maybe-all-build-fixincludes
32605 all-stage3-gcc: maybe-all-build-fixincludes
32606 all-stage4-gcc: maybe-all-build-fixincludes
32607 all-stageprofile-gcc: maybe-all-build-fixincludes
32608 all-stagefeedback-gcc: maybe-all-build-fixincludes
32609 all-prebootstrap: maybe-all-build-fixincludes
32610 all-gcc: maybe-all-binutils
32611
32612 all-stage1-gcc: maybe-all-stage1-binutils
32613 all-stage2-gcc: maybe-all-stage2-binutils
32614 all-stage3-gcc: maybe-all-stage3-binutils
32615 all-stage4-gcc: maybe-all-stage4-binutils
32616 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32617 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32618 all-gcc: maybe-all-gas
32619
32620 all-stage1-gcc: maybe-all-stage1-gas
32621 all-stage2-gcc: maybe-all-stage2-gas
32622 all-stage3-gcc: maybe-all-stage3-gas
32623 all-stage4-gcc: maybe-all-stage4-gas
32624 all-stageprofile-gcc: maybe-all-stageprofile-gas
32625 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32626 all-gcc: maybe-all-ld
32627
32628 all-stage1-gcc: maybe-all-stage1-ld
32629 all-stage2-gcc: maybe-all-stage2-ld
32630 all-stage3-gcc: maybe-all-stage3-ld
32631 all-stage4-gcc: maybe-all-stage4-ld
32632 all-stageprofile-gcc: maybe-all-stageprofile-ld
32633 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32634 all-gcc: maybe-all-zlib
32635
32636 all-stage1-gcc: maybe-all-stage1-zlib
32637 all-stage2-gcc: maybe-all-stage2-zlib
32638 all-stage3-gcc: maybe-all-stage3-zlib
32639 all-stage4-gcc: maybe-all-stage4-zlib
32640 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32641 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32642 all-gcc: all-libcpp
32643
32644 all-stage1-gcc: all-stage1-libcpp
32645 all-stage2-gcc: all-stage2-libcpp
32646 all-stage3-gcc: all-stage3-libcpp
32647 all-stage4-gcc: all-stage4-libcpp
32648 all-stageprofile-gcc: all-stageprofile-libcpp
32649 all-stagefeedback-gcc: all-stagefeedback-libcpp
32650 all-gcc: maybe-all-build-libiberty
32651
32652 all-stage1-gcc: maybe-all-build-libiberty
32653 all-stage2-gcc: maybe-all-build-libiberty
32654 all-stage3-gcc: maybe-all-build-libiberty
32655 all-stage4-gcc: maybe-all-build-libiberty
32656 all-stageprofile-gcc: maybe-all-build-libiberty
32657 all-stagefeedback-gcc: maybe-all-build-libiberty
32658 all-prebootstrap: maybe-all-build-libiberty
32659 configure-libcpp: configure-libiberty
32660
32661 configure-stage1-libcpp: configure-stage1-libiberty
32662 configure-stage2-libcpp: configure-stage2-libiberty
32663 configure-stage3-libcpp: configure-stage3-libiberty
32664 configure-stage4-libcpp: configure-stage4-libiberty
32665 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32666 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32667 configure-libcpp: maybe-configure-intl
32668
32669 configure-stage1-libcpp: maybe-configure-stage1-intl
32670 configure-stage2-libcpp: maybe-configure-stage2-intl
32671 configure-stage3-libcpp: maybe-configure-stage3-intl
32672 configure-stage4-libcpp: maybe-configure-stage4-intl
32673 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32674 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
32675 all-libcpp: all-libiberty
32676
32677 all-stage1-libcpp: all-stage1-libiberty
32678 all-stage2-libcpp: all-stage2-libiberty
32679 all-stage3-libcpp: all-stage3-libiberty
32680 all-stage4-libcpp: all-stage4-libiberty
32681 all-stageprofile-libcpp: all-stageprofile-libiberty
32682 all-stagefeedback-libcpp: all-stagefeedback-libiberty
32683 all-libcpp: maybe-all-intl
32684
32685 all-stage1-libcpp: maybe-all-stage1-intl
32686 all-stage2-libcpp: maybe-all-stage2-intl
32687 all-stage3-libcpp: maybe-all-stage3-intl
32688 all-stage4-libcpp: maybe-all-stage4-intl
32689 all-stageprofile-libcpp: maybe-all-stageprofile-intl
32690 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
32691 configure-gdb: maybe-configure-itcl
32692 configure-gdb: maybe-configure-tcl
32693 configure-gdb: maybe-configure-tk
32694 configure-gdb: maybe-configure-sim
32695 all-gdb: maybe-all-libiberty
32696 all-gdb: maybe-all-opcodes
32697 all-gdb: maybe-all-bfd
32698 all-gdb: maybe-all-readline
32699 all-gdb: maybe-all-build-bison
32700 all-gdb: maybe-all-build-byacc
32701 all-gdb: maybe-all-sim
32702 install-gdb: maybe-install-tcl
32703 install-gdb: maybe-install-tk
32704 install-gdb: maybe-install-itcl
32705 install-gdb: maybe-install-libgui
32706 configure-libgui: maybe-configure-tcl
32707 configure-libgui: maybe-configure-tk
32708 all-libgui: maybe-all-tcl
32709 all-libgui: maybe-all-tk
32710 all-libgui: maybe-all-itcl
32711 configure-bfd: configure-libiberty
32712
32713 configure-stage1-bfd: configure-stage1-libiberty
32714 configure-stage2-bfd: configure-stage2-libiberty
32715 configure-stage3-bfd: configure-stage3-libiberty
32716 configure-stage4-bfd: configure-stage4-libiberty
32717 configure-stageprofile-bfd: configure-stageprofile-libiberty
32718 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
32719 all-bfd: maybe-all-libiberty
32720
32721 all-stage1-bfd: maybe-all-stage1-libiberty
32722 all-stage2-bfd: maybe-all-stage2-libiberty
32723 all-stage3-bfd: maybe-all-stage3-libiberty
32724 all-stage4-bfd: maybe-all-stage4-libiberty
32725 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
32726 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
32727 all-bfd: maybe-all-intl
32728
32729 all-stage1-bfd: maybe-all-stage1-intl
32730 all-stage2-bfd: maybe-all-stage2-intl
32731 all-stage3-bfd: maybe-all-stage3-intl
32732 all-stage4-bfd: maybe-all-stage4-intl
32733 all-stageprofile-bfd: maybe-all-stageprofile-intl
32734 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
32735 all-binutils: maybe-all-libiberty
32736
32737 all-stage1-binutils: maybe-all-stage1-libiberty
32738 all-stage2-binutils: maybe-all-stage2-libiberty
32739 all-stage3-binutils: maybe-all-stage3-libiberty
32740 all-stage4-binutils: maybe-all-stage4-libiberty
32741 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
32742 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
32743 all-binutils: maybe-all-opcodes
32744
32745 all-stage1-binutils: maybe-all-stage1-opcodes
32746 all-stage2-binutils: maybe-all-stage2-opcodes
32747 all-stage3-binutils: maybe-all-stage3-opcodes
32748 all-stage4-binutils: maybe-all-stage4-opcodes
32749 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
32750 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
32751 all-binutils: maybe-all-bfd
32752
32753 all-stage1-binutils: maybe-all-stage1-bfd
32754 all-stage2-binutils: maybe-all-stage2-bfd
32755 all-stage3-binutils: maybe-all-stage3-bfd
32756 all-stage4-binutils: maybe-all-stage4-bfd
32757 all-stageprofile-binutils: maybe-all-stageprofile-bfd
32758 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
32759 all-binutils: maybe-all-build-flex
32760
32761 all-stage1-binutils: maybe-all-build-flex
32762 all-stage2-binutils: maybe-all-build-flex
32763 all-stage3-binutils: maybe-all-build-flex
32764 all-stage4-binutils: maybe-all-build-flex
32765 all-stageprofile-binutils: maybe-all-build-flex
32766 all-stagefeedback-binutils: maybe-all-build-flex
32767 all-prebootstrap: maybe-all-build-flex
32768 all-binutils: maybe-all-build-bison
32769
32770 all-stage1-binutils: maybe-all-build-bison
32771 all-stage2-binutils: maybe-all-build-bison
32772 all-stage3-binutils: maybe-all-build-bison
32773 all-stage4-binutils: maybe-all-build-bison
32774 all-stageprofile-binutils: maybe-all-build-bison
32775 all-stagefeedback-binutils: maybe-all-build-bison
32776 all-prebootstrap: maybe-all-build-bison
32777 all-binutils: maybe-all-build-byacc
32778
32779 all-stage1-binutils: maybe-all-build-byacc
32780 all-stage2-binutils: maybe-all-build-byacc
32781 all-stage3-binutils: maybe-all-build-byacc
32782 all-stage4-binutils: maybe-all-build-byacc
32783 all-stageprofile-binutils: maybe-all-build-byacc
32784 all-stagefeedback-binutils: maybe-all-build-byacc
32785 all-prebootstrap: maybe-all-build-byacc
32786 all-binutils: maybe-all-intl
32787
32788 all-stage1-binutils: maybe-all-stage1-intl
32789 all-stage2-binutils: maybe-all-stage2-intl
32790 all-stage3-binutils: maybe-all-stage3-intl
32791 all-stage4-binutils: maybe-all-stage4-intl
32792 all-stageprofile-binutils: maybe-all-stageprofile-intl
32793 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
32794 install-binutils: maybe-install-opcodes
32795 install-opcodes: maybe-install-bfd
32796 all-gas: maybe-all-libiberty
32797
32798 all-stage1-gas: maybe-all-stage1-libiberty
32799 all-stage2-gas: maybe-all-stage2-libiberty
32800 all-stage3-gas: maybe-all-stage3-libiberty
32801 all-stage4-gas: maybe-all-stage4-libiberty
32802 all-stageprofile-gas: maybe-all-stageprofile-libiberty
32803 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
32804 all-gas: maybe-all-opcodes
32805
32806 all-stage1-gas: maybe-all-stage1-opcodes
32807 all-stage2-gas: maybe-all-stage2-opcodes
32808 all-stage3-gas: maybe-all-stage3-opcodes
32809 all-stage4-gas: maybe-all-stage4-opcodes
32810 all-stageprofile-gas: maybe-all-stageprofile-opcodes
32811 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
32812 all-gas: maybe-all-bfd
32813
32814 all-stage1-gas: maybe-all-stage1-bfd
32815 all-stage2-gas: maybe-all-stage2-bfd
32816 all-stage3-gas: maybe-all-stage3-bfd
32817 all-stage4-gas: maybe-all-stage4-bfd
32818 all-stageprofile-gas: maybe-all-stageprofile-bfd
32819 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
32820 all-gas: maybe-all-intl
32821
32822 all-stage1-gas: maybe-all-stage1-intl
32823 all-stage2-gas: maybe-all-stage2-intl
32824 all-stage3-gas: maybe-all-stage3-intl
32825 all-stage4-gas: maybe-all-stage4-intl
32826 all-stageprofile-gas: maybe-all-stageprofile-intl
32827 all-stagefeedback-gas: maybe-all-stagefeedback-intl
32828 all-gprof: maybe-all-libiberty
32829 all-gprof: maybe-all-bfd
32830 all-gprof: maybe-all-opcodes
32831 all-gprof: maybe-all-intl
32832 all-ld: maybe-all-libiberty
32833
32834 all-stage1-ld: maybe-all-stage1-libiberty
32835 all-stage2-ld: maybe-all-stage2-libiberty
32836 all-stage3-ld: maybe-all-stage3-libiberty
32837 all-stage4-ld: maybe-all-stage4-libiberty
32838 all-stageprofile-ld: maybe-all-stageprofile-libiberty
32839 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
32840 all-ld: maybe-all-bfd
32841
32842 all-stage1-ld: maybe-all-stage1-bfd
32843 all-stage2-ld: maybe-all-stage2-bfd
32844 all-stage3-ld: maybe-all-stage3-bfd
32845 all-stage4-ld: maybe-all-stage4-bfd
32846 all-stageprofile-ld: maybe-all-stageprofile-bfd
32847 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
32848 all-ld: maybe-all-opcodes
32849
32850 all-stage1-ld: maybe-all-stage1-opcodes
32851 all-stage2-ld: maybe-all-stage2-opcodes
32852 all-stage3-ld: maybe-all-stage3-opcodes
32853 all-stage4-ld: maybe-all-stage4-opcodes
32854 all-stageprofile-ld: maybe-all-stageprofile-opcodes
32855 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
32856 all-ld: maybe-all-build-bison
32857
32858 all-stage1-ld: maybe-all-build-bison
32859 all-stage2-ld: maybe-all-build-bison
32860 all-stage3-ld: maybe-all-build-bison
32861 all-stage4-ld: maybe-all-build-bison
32862 all-stageprofile-ld: maybe-all-build-bison
32863 all-stagefeedback-ld: maybe-all-build-bison
32864 all-prebootstrap: maybe-all-build-bison
32865 all-ld: maybe-all-build-byacc
32866
32867 all-stage1-ld: maybe-all-build-byacc
32868 all-stage2-ld: maybe-all-build-byacc
32869 all-stage3-ld: maybe-all-build-byacc
32870 all-stage4-ld: maybe-all-build-byacc
32871 all-stageprofile-ld: maybe-all-build-byacc
32872 all-stagefeedback-ld: maybe-all-build-byacc
32873 all-prebootstrap: maybe-all-build-byacc
32874 all-ld: maybe-all-build-flex
32875
32876 all-stage1-ld: maybe-all-build-flex
32877 all-stage2-ld: maybe-all-build-flex
32878 all-stage3-ld: maybe-all-build-flex
32879 all-stage4-ld: maybe-all-build-flex
32880 all-stageprofile-ld: maybe-all-build-flex
32881 all-stagefeedback-ld: maybe-all-build-flex
32882 all-prebootstrap: maybe-all-build-flex
32883 all-ld: maybe-all-intl
32884
32885 all-stage1-ld: maybe-all-stage1-intl
32886 all-stage2-ld: maybe-all-stage2-intl
32887 all-stage3-ld: maybe-all-stage3-intl
32888 all-stage4-ld: maybe-all-stage4-intl
32889 all-stageprofile-ld: maybe-all-stageprofile-intl
32890 all-stagefeedback-ld: maybe-all-stagefeedback-intl
32891 all-opcodes: maybe-all-bfd
32892
32893 all-stage1-opcodes: maybe-all-stage1-bfd
32894 all-stage2-opcodes: maybe-all-stage2-bfd
32895 all-stage3-opcodes: maybe-all-stage3-bfd
32896 all-stage4-opcodes: maybe-all-stage4-bfd
32897 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
32898 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
32899 all-opcodes: maybe-all-libiberty
32900
32901 all-stage1-opcodes: maybe-all-stage1-libiberty
32902 all-stage2-opcodes: maybe-all-stage2-libiberty
32903 all-stage3-opcodes: maybe-all-stage3-libiberty
32904 all-stage4-opcodes: maybe-all-stage4-libiberty
32905 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
32906 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
32907 all-dejagnu: maybe-all-tcl
32908 all-dejagnu: maybe-all-expect
32909 all-dejagnu: maybe-all-tk
32910 configure-expect: maybe-configure-tcl
32911 configure-expect: maybe-configure-tk
32912 all-expect: maybe-all-tcl
32913 all-expect: maybe-all-tk
32914 configure-itcl: maybe-configure-tcl
32915 configure-itcl: maybe-configure-tk
32916 all-itcl: maybe-all-tcl
32917 all-itcl: maybe-all-tk
32918 install-itcl: maybe-install-tcl
32919 configure-tk: maybe-configure-tcl
32920 all-tk: maybe-all-tcl
32921 all-sid: maybe-all-libiberty
32922 all-sid: maybe-all-bfd
32923 all-sid: maybe-all-opcodes
32924 all-sid: maybe-all-tcl
32925 all-sid: maybe-all-tk
32926 install-sid: maybe-install-tcl
32927 install-sid: maybe-install-tk
32928 all-sim: maybe-all-libiberty
32929 all-sim: maybe-all-bfd
32930 all-sim: maybe-all-opcodes
32931 all-sim: maybe-all-readline
32932 all-sim: maybe-configure-gdb
32933 all-fastjar: maybe-all-zlib
32934 all-fastjar: maybe-all-build-texinfo
32935 all-fastjar: maybe-all-libiberty
32936 all-autoconf: maybe-all-m4
32937 all-autoconf: maybe-all-build-texinfo
32938 all-automake: maybe-all-m4
32939 all-automake: maybe-all-build-texinfo
32940 all-automake: maybe-all-autoconf
32941 all-bison: maybe-all-intl
32942 all-bison: maybe-all-build-texinfo
32943 all-diff: maybe-all-intl
32944 all-diff: maybe-all-build-texinfo
32945 all-fileutils: maybe-all-intl
32946 all-fileutils: maybe-all-build-texinfo
32947 all-flex: maybe-all-build-bison
32948 all-flex: maybe-all-build-byacc
32949 all-flex: maybe-all-intl
32950 all-flex: maybe-all-m4
32951 all-flex: maybe-all-build-texinfo
32952 all-gzip: maybe-all-intl
32953 all-gzip: maybe-all-zlib
32954 all-gzip: maybe-all-build-texinfo
32955 all-hello: maybe-all-intl
32956 all-hello: maybe-all-build-texinfo
32957 all-m4: maybe-all-intl
32958 all-m4: maybe-all-build-texinfo
32959 all-make: maybe-all-intl
32960 all-make: maybe-all-build-texinfo
32961 all-patch: maybe-all-build-texinfo
32962 all-make: maybe-all-build-texinfo
32963 all-prms: maybe-all-libiberty
32964 all-recode: maybe-all-build-texinfo
32965 all-sed: maybe-all-build-texinfo
32966 all-send-pr: maybe-all-prms
32967 all-tar: maybe-all-build-texinfo
32968 all-uudecode: maybe-all-build-texinfo
32969 configure-target-boehm-gc: maybe-configure-target-qthreads
32970 configure-target-fastjar: maybe-configure-target-zlib
32971 all-target-fastjar: maybe-all-target-zlib
32972 all-target-fastjar: maybe-all-target-libiberty
32973 configure-target-libjava: maybe-configure-target-zlib
32974 configure-target-libjava: maybe-configure-target-boehm-gc
32975 configure-target-libjava: maybe-configure-target-qthreads
32976 configure-target-libjava: maybe-configure-target-libffi
32977 all-target-libjava: maybe-all-fastjar
32978 all-target-libjava: maybe-all-target-zlib
32979 all-target-libjava: maybe-all-target-boehm-gc
32980 all-target-libjava: maybe-all-target-qthreads
32981 all-target-libjava: maybe-all-target-libffi
32982 all-target-libobjc: maybe-all-target-libiberty
32983 all-target-libstdc++-v3: maybe-all-target-libiberty
32984 all-target-libgloss: maybe-configure-target-newlib
32985 all-target-winsup: maybe-all-target-libiberty
32986 all-target-winsup: maybe-all-target-libtermcap
32987
32988
32989 # Non-toplevel bootstrap rules must depend on several packages, to be built
32990 # before gcc.  Another wart that will go away, hopefully soon.
32991 @if gcc-no-bootstrap
32992
32993 all-prebootstrap: maybe-all-bfd
32994 all-prebootstrap: maybe-all-opcodes
32995 all-prebootstrap: maybe-all-binutils
32996 all-prebootstrap: maybe-all-gas
32997 all-prebootstrap: maybe-all-intl
32998 all-prebootstrap: maybe-all-ld
32999 all-prebootstrap: maybe-all-libcpp
33000 all-prebootstrap: maybe-all-libiberty
33001 all-prebootstrap: maybe-all-zlib
33002 @endif gcc-no-bootstrap
33003
33004 GDB_TK = @GDB_TK@
33005 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
33006
33007 # Serialization dependencies.  Host configures don't work well in parallel to
33008 # each other, due to contention over config.cache.  Target configures and 
33009 # build configures are similar.
33010 @serialization_dependencies@
33011
33012 # --------------------------------
33013 # Regenerating top level configury
33014 # --------------------------------
33015
33016 # Multilib.out tells target dirs what multilibs they should build.
33017 # There is really only one copy.  We use the 'timestamp' method to
33018 # work around various timestamp bugs on some systems.
33019 # We use move-if-change so that it's only considered updated when it
33020 # actually changes, because it has to depend on a phony target.
33021 multilib.out: maybe-all-gcc
33022         @r=`${PWD_COMMAND}`; export r; \
33023         echo "Checking multilib configuration..."; \
33024         $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
33025         $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
33026
33027 # Rebuilding Makefile.in, using autogen.
33028 AUTOGEN = autogen
33029 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
33030         cd $(srcdir) && $(AUTOGEN) Makefile.def
33031
33032 # Rebuilding Makefile.
33033 Makefile: $(srcdir)/Makefile.in config.status
33034         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
33035
33036 config.status: configure $(gcc_version_trigger)
33037         CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
33038
33039 # Rebuilding configure.
33040 AUTOCONF = autoconf
33041 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
33042         cd $(srcdir) && $(AUTOCONF)
33043
33044 # ------------------------------
33045 # Special directives to GNU Make
33046 # ------------------------------
33047
33048 # Don't pass command-line variables to submakes.
33049 .NOEXPORT:
33050 MAKEOVERRIDES=
33051
33052 # end of Makefile.in