2004-09-09 Daniel Berlin <dberlin@dberlin.org>
[external/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   $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
105
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
113
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory.  It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
117 # re-runs configure.
118 BASE_EXPORTS = \
119         FLEX="$(FLEX)"; export FLEX; \
120         LEX="$(LEX)"; export LEX; \
121         BISON="$(BISON)"; export BISON; \
122         YACC="$(YACC)"; export YACC; \
123         M4="$(M4)"; export M4; \
124         MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
125
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
128 BUILD_EXPORTS = \
129         $(BASE_EXPORTS) \
130         AR="$(AR_FOR_BUILD)"; export AR; \
131         AS="$(AS_FOR_BUILD)"; export AS; \
132         CC="$(CC_FOR_BUILD)"; export CC; \
133         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135         CXX="$(CXX_FOR_BUILD)"; export CXX; \
136         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140         LD="$(LD_FOR_BUILD)"; export LD; \
141         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142         NM="$(NM_FOR_BUILD)"; export NM; \
143         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
145
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
153 HOST_EXPORTS = \
154         $(BASE_EXPORTS) \
155         CC="$(CC)"; export CC; \
156         CFLAGS="$(CFLAGS)"; export CFLAGS; \
157         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158         CXX="$(CXX)"; export CXX; \
159         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160         AR="$(AR)"; export AR; \
161         AS="$(AS)"; export AS; \
162         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164         LD="$(LD)"; export LD; \
165         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166         NM="$(NM)"; export NM; \
167         RANLIB="$(RANLIB)"; export RANLIB; \
168         WINDRES="$(WINDRES)"; export WINDRES; \
169         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173         GMPINC="$(HOST_GMPINC)"; export GMPINC;
174
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
177         $(HOST_EXPORTS) \
178         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
180
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192         $(BASE_EXPORTS) \
193         AR="$(AR_FOR_TARGET)"; export AR; \
194         AS="$(AS_FOR_TARGET)"; export AS; \
195         CC="$(CC_FOR_TARGET)"; export CC; \
196         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203         LD="$(LD_FOR_TARGET)"; export LD; \
204         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205         NM="$(NM_FOR_TARGET)"; export NM; \
206         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
208
209 RAW_CXX_TARGET_EXPORTS = \
210         $(BASE_TARGET_EXPORTS) \
211         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
213
214 NORMAL_TARGET_EXPORTS = \
215         $(BASE_TARGET_EXPORTS) \
216         CXX="$(CXX_FOR_TARGET)"; export CXX;
217
218 # Where to find GMP
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
221
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
225
226 SHELL = @config_shell@
227
228 # pwd command to use.  Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters.  The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
235
236 # compilers to use to create programs which must be run in the build
237 # environment.
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
240
241 CXX_FOR_BUILD = $(CXX)
242
243 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BUILD_PREFIX = @BUILD_PREFIX@
246 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
247
248 # Flags to pass to stage2 and later makes.  They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BOOT_CFLAGS= -g -O2
251
252 CONFIGURED_BISON = @CONFIGURED_BISON@
253 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
254             echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
255          else \
256             echo ${CONFIGURED_BISON} ; \
257          fi`
258
259 CONFIGURED_YACC = @CONFIGURED_YACC@
260 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
261             echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
262         elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
263             echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
264         else \
265             echo ${CONFIGURED_YACC} ; \
266         fi`
267
268 CONFIGURED_FLEX = @CONFIGURED_FLEX@
269 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
270         then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
271         else echo ${CONFIGURED_FLEX} ; fi`
272
273 CONFIGURED_LEX = @CONFIGURED_LEX@
274 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275         then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276         else echo ${CONFIGURED_LEX} ; fi`
277
278 CONFIGURED_M4 = @CONFIGURED_M4@
279 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
280         then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
281         else echo ${CONFIGURED_M4} ; fi`
282
283 # For an installed makeinfo, we require it to be from texinfo 4.2 or
284 # higher, else we use the "missing" dummy.  We also pass the subdirectory
285 # makeinfo even if only the Makefile is there, because Texinfo builds its
286 # manual when made, and it requires its own version.
287 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
288 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
289         then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
290         else if (${CONFIGURED_MAKEINFO} --version \
291           | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
292         then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
293
294 # This just becomes part of the MAKEINFO definition passed down to
295 # sub-makes.  It lets flags be given on the command line while still
296 # using the makeinfo from the object tree.
297 # (Default to avoid splitting info files by setting the threshold high.)
298 MAKEINFOFLAGS = --split-size=5000000
299
300 EXPECT = `if [ -f $$r/expect/expect ] ; \
301         then echo $$r/expect/expect ; \
302         else echo expect ; fi`
303
304 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
305         then echo $$s/dejagnu/runtest ; \
306         else echo runtest ; fi`
307
308 # ---------------------------------------------
309 # Programs producing files for the HOST machine
310 # ---------------------------------------------
311
312 # This is the list of directories that may be needed in RPATH_ENVVAR
313 # so that programs built for the host machine work.
314 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
315
316 AS = @AS@
317
318 AR = @AR@
319 AR_FLAGS = rc
320
321 CC = @CC@
322 CFLAGS = @CFLAGS@
323 LIBCFLAGS = $(CFLAGS)
324
325 CXX = @CXX@
326 CXXFLAGS = @CXXFLAGS@
327 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
328
329 DLLTOOL = @DLLTOOL@
330
331 NM = @NM@
332
333 LD = @LD@
334 LDFLAGS = 
335
336 RANLIB = @RANLIB@
337
338 WINDRES = @WINDRES@
339
340 PICFLAG = 
341
342 # -----------------------------------------------
343 # Programs producing files for the TARGET machine
344 # -----------------------------------------------
345
346 # This is the list of directories that may be needed in RPATH_ENVVAR
347 # so that prorgams built for the target machine work.
348 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
349
350 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
351
352 AR_FOR_TARGET=@AR_FOR_TARGET@
353 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
354 USUAL_AR_FOR_TARGET = ` \
355   if [ -f $$r/binutils/ar ] ; then \
356     echo $$r/binutils/ar ; \
357   else \
358     if [ '$(host)' = '$(target)' ] ; then \
359       echo $(AR); \
360     else \
361       echo $(CONFIGURED_AR_FOR_TARGET) ; \
362     fi; \
363   fi`
364
365 AS_FOR_TARGET=@AS_FOR_TARGET@
366 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
367 USUAL_AS_FOR_TARGET = ` \
368   if [ -f $$r/gas/as-new ] ; then \
369     echo $$r/gas/as-new ; \
370   elif [ -f $$r/gcc/xgcc ]; then \
371     $(CC_FOR_TARGET) -print-prog-name=as ; \
372   else \
373     if [ '$(host)' = '$(target)' ] ; then \
374       echo $(AS); \
375     else \
376       echo $(CONFIGURED_AS_FOR_TARGET) ; \
377     fi; \
378   fi`
379
380 CC_FOR_TARGET = @CC_FOR_TARGET@
381 # During gcc bootstrap, if we use some random cc for stage1 then
382 # CFLAGS will be just -g.  We want to ensure that TARGET libraries
383 # (which we know are built with gcc) are built with optimizations so
384 # prepend -O2 when setting CFLAGS_FOR_TARGET.
385 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
386 # If GCC_FOR_TARGET is not overriden on the command line, then this
387 # variable is passed down to the gcc Makefile, where it is used to
388 # build libgcc2.a.  We define it here so that it can itself be
389 # overridden on the command line.
390 GCC_FOR_TARGET=@GCC_FOR_TARGET@
391 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
392 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
393
394 CXX_FOR_TARGET = @CXX_FOR_TARGET@
395 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
396 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
397 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
398 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
399 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
400
401 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
402 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
403 USUAL_DLLTOOL_FOR_TARGET = ` \
404   if [ -f $$r/binutils/dlltool ] ; then \
405     echo $$r/binutils/dlltool ; \
406   else \
407     if [ '$(host)' = '$(target)' ] ; then \
408       echo $(DLLTOOL); \
409     else \
410       echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
411     fi; \
412   fi`
413
414 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
415 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
416
417 LD_FOR_TARGET=@LD_FOR_TARGET@
418 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
419 USUAL_LD_FOR_TARGET = ` \
420   if [ -f $$r/ld/ld-new ] ; then \
421     echo $$r/ld/ld-new ; \
422   elif [ -f $$r/gcc/xgcc ]; then \
423     $(CC_FOR_TARGET) -print-prog-name=ld ; \
424   else \
425     if [ '$(host)' = '$(target)' ] ; then \
426       echo $(LD); \
427     else \
428       echo $(CONFIGURED_LD_FOR_TARGET) ; \
429     fi; \
430   fi`
431
432 LDFLAGS_FOR_TARGET = 
433
434 NM_FOR_TARGET=@NM_FOR_TARGET@
435 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
436 USUAL_NM_FOR_TARGET = ` \
437   if [ -f $$r/binutils/nm-new ] ; then \
438     echo $$r/binutils/nm-new ; \
439   elif [ -f $$r/gcc/xgcc ]; then \
440     $(CC_FOR_TARGET) -print-prog-name=nm ; \
441   else \
442     if [ '$(host)' = '$(target)' ] ; then \
443       echo $(NM); \
444     else \
445       echo $(CONFIGURED_NM_FOR_TARGET) ; \
446     fi; \
447   fi`
448
449 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
450 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
451 USUAL_RANLIB_FOR_TARGET = ` \
452   if [ -f $$r/binutils/ranlib ] ; then \
453     echo $$r/binutils/ranlib ; \
454   else \
455     if [ '$(host)' = '$(target)' ] ; then \
456       if [ x'$(RANLIB)' != x ]; then \
457          echo $(RANLIB); \
458       else \
459          echo ranlib; \
460       fi; \
461     else \
462       echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
463     fi; \
464   fi`
465
466 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
467 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
468 USUAL_WINDRES_FOR_TARGET = ` \
469   if [ -f $$r/binutils/windres ] ; then \
470     echo $$r/binutils/windres ; \
471   else \
472     if [ '$(host)' = '$(target)' ] ; then \
473       echo $(WINDRES); \
474     else \
475       echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
476     fi; \
477   fi`
478
479 PICFLAG_FOR_TARGET = 
480
481 # ------------------------------------
482 # Miscellaneous targets and flag lists
483 # ------------------------------------
484
485 # The first rule in the file had better be this one.  Don't put any above it.
486 # This lives here to allow makefile fragments to contain dependencies.
487 @default_target@:
488
489 #### host and target specific makefile fragments come in here.
490 @target_makefile_frag@
491 @alphaieee_frag@
492 @ospace_frag@
493 @host_makefile_frag@
494 ###
495
496 # Flags to pass down to all sub-makes.
497 BASE_FLAGS_TO_PASS = \
498         "DESTDIR=$(DESTDIR)" \
499         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
500         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
501         "bindir=$(bindir)" \
502         "datadir=$(datadir)" \
503         "exec_prefix=$(exec_prefix)" \
504         "includedir=$(includedir)" \
505         "infodir=$(infodir)" \
506         "libdir=$(libdir)" \
507         "libexecdir=$(libexecdir)" \
508         "lispdir=$(lispdir)" \
509         "libstdcxx_incdir=$(libstdcxx_incdir)" \
510         "libsubdir=$(libsubdir)" \
511         "localstatedir=$(localstatedir)" \
512         "mandir=$(mandir)" \
513         "oldincludedir=$(oldincludedir)" \
514         "prefix=$(prefix)" \
515         "sbindir=$(sbindir)" \
516         "sharedstatedir=$(sharedstatedir)" \
517         "sysconfdir=$(sysconfdir)" \
518         "tooldir=$(tooldir)" \
519         "build_tooldir=$(build_tooldir)" \
520         "gxx_include_dir=$(gxx_include_dir)" \
521         "gcc_version=$(gcc_version)" \
522         "gcc_version_trigger=$(gcc_version_trigger)" \
523         "target_alias=$(target_alias)" \
524         "BISON=$(BISON)" \
525         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
526         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
527         "EXPECT=$(EXPECT)" \
528         "FLEX=$(FLEX)" \
529         "INSTALL=$(INSTALL)" \
530         "INSTALL_DATA=$(INSTALL_DATA)" \
531         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
532         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
533         "LEX=$(LEX)" \
534         "M4=$(M4)" \
535         "MAKE=$(MAKE)" \
536         "RUNTEST=$(RUNTEST)" \
537         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
538         "SHELL=$(SHELL)" \
539         "YACC=$(YACC)" \
540         "AR_FLAGS=$(AR_FLAGS)" \
541         "CFLAGS=$(CFLAGS)" \
542         "CXXFLAGS=$(CXXFLAGS)" \
543         "LDFLAGS=$(LDFLAGS)" \
544         "LIBCFLAGS=$(LIBCFLAGS)" \
545         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
546         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
547         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
548         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
549         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
550         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
551         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
552         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
553         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
554         "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
555         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
556         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
557         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
558         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
559         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
560         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
561         "CONFIG_SHELL=$(SHELL)" \
562         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
563
564 # For any flags above that may contain shell code that varies from one
565 # target library to another.  When doing recursive invocations of the
566 # top-level Makefile, we don't want the outer make to evaluate them,
567 # so we pass these variables down unchanged.  They must not contain
568 # single nor double quotes.
569 RECURSE_FLAGS = \
570         CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
571         RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
572
573 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
574
575 # Flags to pass down to most sub-makes, in which we're building with
576 # the host environment.
577 EXTRA_HOST_FLAGS = \
578         'AR=$(AR)' \
579         'AS=$(AS)' \
580         'CC=$(CC)' \
581         'CXX=$(CXX)' \
582         'DLLTOOL=$(DLLTOOL)' \
583         'LD=$(LD)' \
584         'NM=$(NM)' \
585         'RANLIB=$(RANLIB)' \
586         'WINDRES=$(WINDRES)'
587
588 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
589
590 # Flags that are concerned with the location of the X11 include files
591 # and library files
592 #
593 # NOTE: until the top-level is getting the values via autoconf, it only
594 # causes problems to have this top-level Makefile overriding the autoconf-set
595 # values in child directories.  Only variables that don't conflict with
596 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
597 #
598 X11_FLAGS_TO_PASS = \
599         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
600         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
601
602 # Flags to pass down to makes which are built with the target environment.
603 # The double $ decreases the length of the command line; the variables
604 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
605 EXTRA_TARGET_FLAGS = \
606         'AR=$$(AR_FOR_TARGET)' \
607         'AS=$$(AS_FOR_TARGET)' \
608         'CC=$$(CC_FOR_TARGET)' \
609         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
610         'CXX=$$(CXX_FOR_TARGET)' \
611         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
612         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
613         'LD=$$(LD_FOR_TARGET)' \
614         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
615         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
616         'NM=$$(NM_FOR_TARGET)' \
617         'RANLIB=$$(RANLIB_FOR_TARGET)' \
618         'WINDRES=$$(WINDRES_FOR_TARGET)'
619
620 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
621
622 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
623 # unfortunately needs the native compiler and the target ar and
624 # ranlib.
625 # If any variables are added here, they must be added to do-*, below.
626 # The BUILD_* variables are a special case, which are used for the gcc
627 # cross-building scheme.
628 EXTRA_GCC_FLAGS = \
629         'BUILD_PREFIX=$(BUILD_PREFIX)' \
630         'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
631         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
632         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
633         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
634         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639         "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640         "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
642
643 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
644
645 .PHONY: configure-host
646 configure-host:  \
647     maybe-configure-ash \
648     maybe-configure-autoconf \
649     maybe-configure-automake \
650     maybe-configure-bash \
651     maybe-configure-bfd \
652     maybe-configure-opcodes \
653     maybe-configure-binutils \
654     maybe-configure-bison \
655     maybe-configure-byacc \
656     maybe-configure-bzip2 \
657     maybe-configure-dejagnu \
658     maybe-configure-diff \
659     maybe-configure-dosutils \
660     maybe-configure-etc \
661     maybe-configure-fastjar \
662     maybe-configure-fileutils \
663     maybe-configure-findutils \
664     maybe-configure-find \
665     maybe-configure-flex \
666     maybe-configure-gas \
667     maybe-configure-gcc \
668     maybe-configure-gawk \
669     maybe-configure-gettext \
670     maybe-configure-gnuserv \
671     maybe-configure-gprof \
672     maybe-configure-gzip \
673     maybe-configure-hello \
674     maybe-configure-indent \
675     maybe-configure-intl \
676     maybe-configure-tcl \
677     maybe-configure-itcl \
678     maybe-configure-ld \
679     maybe-configure-libcpp \
680     maybe-configure-libgui \
681     maybe-configure-libiberty \
682     maybe-configure-libtool \
683     maybe-configure-m4 \
684     maybe-configure-make \
685     maybe-configure-mmalloc \
686     maybe-configure-patch \
687     maybe-configure-perl \
688     maybe-configure-prms \
689     maybe-configure-rcs \
690     maybe-configure-readline \
691     maybe-configure-release \
692     maybe-configure-recode \
693     maybe-configure-sed \
694     maybe-configure-send-pr \
695     maybe-configure-shellutils \
696     maybe-configure-sid \
697     maybe-configure-sim \
698     maybe-configure-tar \
699     maybe-configure-texinfo \
700     maybe-configure-textutils \
701     maybe-configure-time \
702     maybe-configure-uudecode \
703     maybe-configure-wdiff \
704     maybe-configure-zip \
705     maybe-configure-zlib \
706     maybe-configure-gdb \
707     maybe-configure-expect \
708     maybe-configure-guile \
709     maybe-configure-tk \
710     maybe-configure-libtermcap \
711     maybe-configure-utils
712 .PHONY: configure-target
713 configure-target:  \
714     maybe-configure-target-libstdc++-v3 \
715     maybe-configure-target-libmudflap \
716     maybe-configure-target-newlib \
717     maybe-configure-target-libgfortran \
718     maybe-configure-target-libobjc \
719     maybe-configure-target-libtermcap \
720     maybe-configure-target-winsup \
721     maybe-configure-target-libgloss \
722     maybe-configure-target-libiberty \
723     maybe-configure-target-gperf \
724     maybe-configure-target-examples \
725     maybe-configure-target-libffi \
726     maybe-configure-target-libjava \
727     maybe-configure-target-zlib \
728     maybe-configure-target-boehm-gc \
729     maybe-configure-target-qthreads \
730     maybe-configure-target-rda \
731     maybe-configure-target-libada
732
733 # The target built for a native non-bootstrap build.
734 .PHONY: all
735 all: unstage all-host all-target stage
736
737 .PHONY: all-build
738 all-build:  \
739     maybe-all-build-libiberty \
740     maybe-all-build-bison \
741     maybe-all-build-byacc \
742     maybe-all-build-flex \
743     maybe-all-build-m4 \
744     maybe-all-build-texinfo \
745     maybe-all-build-fixincludes
746 .PHONY: all-host
747 all-host:  \
748     maybe-all-ash \
749     maybe-all-autoconf \
750     maybe-all-automake \
751     maybe-all-bash \
752     maybe-all-bfd \
753     maybe-all-opcodes \
754     maybe-all-binutils \
755     maybe-all-bison \
756     maybe-all-byacc \
757     maybe-all-bzip2 \
758     maybe-all-dejagnu \
759     maybe-all-diff \
760     maybe-all-dosutils \
761     maybe-all-etc \
762     maybe-all-fastjar \
763     maybe-all-fileutils \
764     maybe-all-findutils \
765     maybe-all-find \
766     maybe-all-flex \
767     maybe-all-gas \
768     maybe-all-gcc \
769     maybe-all-gawk \
770     maybe-all-gettext \
771     maybe-all-gnuserv \
772     maybe-all-gprof \
773     maybe-all-gzip \
774     maybe-all-hello \
775     maybe-all-indent \
776     maybe-all-intl \
777     maybe-all-tcl \
778     maybe-all-itcl \
779     maybe-all-ld \
780     maybe-all-libcpp \
781     maybe-all-libgui \
782     maybe-all-libiberty \
783     maybe-all-libtool \
784     maybe-all-m4 \
785     maybe-all-make \
786     maybe-all-mmalloc \
787     maybe-all-patch \
788     maybe-all-perl \
789     maybe-all-prms \
790     maybe-all-rcs \
791     maybe-all-readline \
792     maybe-all-release \
793     maybe-all-recode \
794     maybe-all-sed \
795     maybe-all-send-pr \
796     maybe-all-shellutils \
797     maybe-all-sid \
798     maybe-all-sim \
799     maybe-all-tar \
800     maybe-all-texinfo \
801     maybe-all-textutils \
802     maybe-all-time \
803     maybe-all-uudecode \
804     maybe-all-wdiff \
805     maybe-all-zip \
806     maybe-all-zlib \
807     maybe-all-gdb \
808     maybe-all-expect \
809     maybe-all-guile \
810     maybe-all-tk \
811     maybe-all-libtermcap \
812     maybe-all-utils
813 .PHONY: all-target
814 all-target:  \
815     maybe-all-target-libstdc++-v3 \
816     maybe-all-target-libmudflap \
817     maybe-all-target-newlib \
818     maybe-all-target-libgfortran \
819     maybe-all-target-libobjc \
820     maybe-all-target-libtermcap \
821     maybe-all-target-winsup \
822     maybe-all-target-libgloss \
823     maybe-all-target-libiberty \
824     maybe-all-target-gperf \
825     maybe-all-target-examples \
826     maybe-all-target-libffi \
827     maybe-all-target-libjava \
828     maybe-all-target-zlib \
829     maybe-all-target-boehm-gc \
830     maybe-all-target-qthreads \
831     maybe-all-target-rda \
832     maybe-all-target-libada
833
834 # Do a target for all the subdirectories.  A ``make do-X'' will do a
835 # ``make X'' in all subdirectories (because, in general, there is a
836 # dependency (below) of X upon do-X, a ``make X'' will also do this,
837 # but it may do additional work as well).
838
839 .PHONY: do-info
840 do-info: unstage info-host info-target stage
841
842 .PHONY: info-host
843 info-host:  \
844     maybe-info-ash \
845     maybe-info-autoconf \
846     maybe-info-automake \
847     maybe-info-bash \
848     maybe-info-bfd \
849     maybe-info-opcodes \
850     maybe-info-binutils \
851     maybe-info-bison \
852     maybe-info-byacc \
853     maybe-info-bzip2 \
854     maybe-info-dejagnu \
855     maybe-info-diff \
856     maybe-info-dosutils \
857     maybe-info-etc \
858     maybe-info-fastjar \
859     maybe-info-fileutils \
860     maybe-info-findutils \
861     maybe-info-find \
862     maybe-info-flex \
863     maybe-info-gas \
864     maybe-info-gcc \
865     maybe-info-gawk \
866     maybe-info-gettext \
867     maybe-info-gnuserv \
868     maybe-info-gprof \
869     maybe-info-gzip \
870     maybe-info-hello \
871     maybe-info-indent \
872     maybe-info-intl \
873     maybe-info-tcl \
874     maybe-info-itcl \
875     maybe-info-ld \
876     maybe-info-libcpp \
877     maybe-info-libgui \
878     maybe-info-libiberty \
879     maybe-info-libtool \
880     maybe-info-m4 \
881     maybe-info-make \
882     maybe-info-mmalloc \
883     maybe-info-patch \
884     maybe-info-perl \
885     maybe-info-prms \
886     maybe-info-rcs \
887     maybe-info-readline \
888     maybe-info-release \
889     maybe-info-recode \
890     maybe-info-sed \
891     maybe-info-send-pr \
892     maybe-info-shellutils \
893     maybe-info-sid \
894     maybe-info-sim \
895     maybe-info-tar \
896     maybe-info-texinfo \
897     maybe-info-textutils \
898     maybe-info-time \
899     maybe-info-uudecode \
900     maybe-info-wdiff \
901     maybe-info-zip \
902     maybe-info-zlib \
903     maybe-info-gdb \
904     maybe-info-expect \
905     maybe-info-guile \
906     maybe-info-tk \
907     maybe-info-libtermcap \
908     maybe-info-utils
909
910 .PHONY: info-target
911 info-target:  \
912     maybe-info-target-libstdc++-v3 \
913     maybe-info-target-libmudflap \
914     maybe-info-target-newlib \
915     maybe-info-target-libgfortran \
916     maybe-info-target-libobjc \
917     maybe-info-target-libtermcap \
918     maybe-info-target-winsup \
919     maybe-info-target-libgloss \
920     maybe-info-target-libiberty \
921     maybe-info-target-gperf \
922     maybe-info-target-examples \
923     maybe-info-target-libffi \
924     maybe-info-target-libjava \
925     maybe-info-target-zlib \
926     maybe-info-target-boehm-gc \
927     maybe-info-target-qthreads \
928     maybe-info-target-rda \
929     maybe-info-target-libada
930
931 .PHONY: do-dvi
932 do-dvi: unstage dvi-host dvi-target stage
933
934 .PHONY: dvi-host
935 dvi-host:  \
936     maybe-dvi-ash \
937     maybe-dvi-autoconf \
938     maybe-dvi-automake \
939     maybe-dvi-bash \
940     maybe-dvi-bfd \
941     maybe-dvi-opcodes \
942     maybe-dvi-binutils \
943     maybe-dvi-bison \
944     maybe-dvi-byacc \
945     maybe-dvi-bzip2 \
946     maybe-dvi-dejagnu \
947     maybe-dvi-diff \
948     maybe-dvi-dosutils \
949     maybe-dvi-etc \
950     maybe-dvi-fastjar \
951     maybe-dvi-fileutils \
952     maybe-dvi-findutils \
953     maybe-dvi-find \
954     maybe-dvi-flex \
955     maybe-dvi-gas \
956     maybe-dvi-gcc \
957     maybe-dvi-gawk \
958     maybe-dvi-gettext \
959     maybe-dvi-gnuserv \
960     maybe-dvi-gprof \
961     maybe-dvi-gzip \
962     maybe-dvi-hello \
963     maybe-dvi-indent \
964     maybe-dvi-intl \
965     maybe-dvi-tcl \
966     maybe-dvi-itcl \
967     maybe-dvi-ld \
968     maybe-dvi-libcpp \
969     maybe-dvi-libgui \
970     maybe-dvi-libiberty \
971     maybe-dvi-libtool \
972     maybe-dvi-m4 \
973     maybe-dvi-make \
974     maybe-dvi-mmalloc \
975     maybe-dvi-patch \
976     maybe-dvi-perl \
977     maybe-dvi-prms \
978     maybe-dvi-rcs \
979     maybe-dvi-readline \
980     maybe-dvi-release \
981     maybe-dvi-recode \
982     maybe-dvi-sed \
983     maybe-dvi-send-pr \
984     maybe-dvi-shellutils \
985     maybe-dvi-sid \
986     maybe-dvi-sim \
987     maybe-dvi-tar \
988     maybe-dvi-texinfo \
989     maybe-dvi-textutils \
990     maybe-dvi-time \
991     maybe-dvi-uudecode \
992     maybe-dvi-wdiff \
993     maybe-dvi-zip \
994     maybe-dvi-zlib \
995     maybe-dvi-gdb \
996     maybe-dvi-expect \
997     maybe-dvi-guile \
998     maybe-dvi-tk \
999     maybe-dvi-libtermcap \
1000     maybe-dvi-utils
1001
1002 .PHONY: dvi-target
1003 dvi-target:  \
1004     maybe-dvi-target-libstdc++-v3 \
1005     maybe-dvi-target-libmudflap \
1006     maybe-dvi-target-newlib \
1007     maybe-dvi-target-libgfortran \
1008     maybe-dvi-target-libobjc \
1009     maybe-dvi-target-libtermcap \
1010     maybe-dvi-target-winsup \
1011     maybe-dvi-target-libgloss \
1012     maybe-dvi-target-libiberty \
1013     maybe-dvi-target-gperf \
1014     maybe-dvi-target-examples \
1015     maybe-dvi-target-libffi \
1016     maybe-dvi-target-libjava \
1017     maybe-dvi-target-zlib \
1018     maybe-dvi-target-boehm-gc \
1019     maybe-dvi-target-qthreads \
1020     maybe-dvi-target-rda \
1021     maybe-dvi-target-libada
1022
1023 .PHONY: do-TAGS
1024 do-TAGS: unstage TAGS-host TAGS-target stage
1025
1026 .PHONY: TAGS-host
1027 TAGS-host:  \
1028     maybe-TAGS-ash \
1029     maybe-TAGS-autoconf \
1030     maybe-TAGS-automake \
1031     maybe-TAGS-bash \
1032     maybe-TAGS-bfd \
1033     maybe-TAGS-opcodes \
1034     maybe-TAGS-binutils \
1035     maybe-TAGS-bison \
1036     maybe-TAGS-byacc \
1037     maybe-TAGS-bzip2 \
1038     maybe-TAGS-dejagnu \
1039     maybe-TAGS-diff \
1040     maybe-TAGS-dosutils \
1041     maybe-TAGS-etc \
1042     maybe-TAGS-fastjar \
1043     maybe-TAGS-fileutils \
1044     maybe-TAGS-findutils \
1045     maybe-TAGS-find \
1046     maybe-TAGS-flex \
1047     maybe-TAGS-gas \
1048     maybe-TAGS-gcc \
1049     maybe-TAGS-gawk \
1050     maybe-TAGS-gettext \
1051     maybe-TAGS-gnuserv \
1052     maybe-TAGS-gprof \
1053     maybe-TAGS-gzip \
1054     maybe-TAGS-hello \
1055     maybe-TAGS-indent \
1056     maybe-TAGS-intl \
1057     maybe-TAGS-tcl \
1058     maybe-TAGS-itcl \
1059     maybe-TAGS-ld \
1060     maybe-TAGS-libcpp \
1061     maybe-TAGS-libgui \
1062     maybe-TAGS-libiberty \
1063     maybe-TAGS-libtool \
1064     maybe-TAGS-m4 \
1065     maybe-TAGS-make \
1066     maybe-TAGS-mmalloc \
1067     maybe-TAGS-patch \
1068     maybe-TAGS-perl \
1069     maybe-TAGS-prms \
1070     maybe-TAGS-rcs \
1071     maybe-TAGS-readline \
1072     maybe-TAGS-release \
1073     maybe-TAGS-recode \
1074     maybe-TAGS-sed \
1075     maybe-TAGS-send-pr \
1076     maybe-TAGS-shellutils \
1077     maybe-TAGS-sid \
1078     maybe-TAGS-sim \
1079     maybe-TAGS-tar \
1080     maybe-TAGS-texinfo \
1081     maybe-TAGS-textutils \
1082     maybe-TAGS-time \
1083     maybe-TAGS-uudecode \
1084     maybe-TAGS-wdiff \
1085     maybe-TAGS-zip \
1086     maybe-TAGS-zlib \
1087     maybe-TAGS-gdb \
1088     maybe-TAGS-expect \
1089     maybe-TAGS-guile \
1090     maybe-TAGS-tk \
1091     maybe-TAGS-libtermcap \
1092     maybe-TAGS-utils
1093
1094 .PHONY: TAGS-target
1095 TAGS-target:  \
1096     maybe-TAGS-target-libstdc++-v3 \
1097     maybe-TAGS-target-libmudflap \
1098     maybe-TAGS-target-newlib \
1099     maybe-TAGS-target-libgfortran \
1100     maybe-TAGS-target-libobjc \
1101     maybe-TAGS-target-libtermcap \
1102     maybe-TAGS-target-winsup \
1103     maybe-TAGS-target-libgloss \
1104     maybe-TAGS-target-libiberty \
1105     maybe-TAGS-target-gperf \
1106     maybe-TAGS-target-examples \
1107     maybe-TAGS-target-libffi \
1108     maybe-TAGS-target-libjava \
1109     maybe-TAGS-target-zlib \
1110     maybe-TAGS-target-boehm-gc \
1111     maybe-TAGS-target-qthreads \
1112     maybe-TAGS-target-rda \
1113     maybe-TAGS-target-libada
1114
1115 .PHONY: do-install-info
1116 do-install-info: unstage install-info-host install-info-target stage
1117
1118 .PHONY: install-info-host
1119 install-info-host:  \
1120     maybe-install-info-ash \
1121     maybe-install-info-autoconf \
1122     maybe-install-info-automake \
1123     maybe-install-info-bash \
1124     maybe-install-info-bfd \
1125     maybe-install-info-opcodes \
1126     maybe-install-info-binutils \
1127     maybe-install-info-bison \
1128     maybe-install-info-byacc \
1129     maybe-install-info-bzip2 \
1130     maybe-install-info-dejagnu \
1131     maybe-install-info-diff \
1132     maybe-install-info-dosutils \
1133     maybe-install-info-etc \
1134     maybe-install-info-fastjar \
1135     maybe-install-info-fileutils \
1136     maybe-install-info-findutils \
1137     maybe-install-info-find \
1138     maybe-install-info-flex \
1139     maybe-install-info-gas \
1140     maybe-install-info-gcc \
1141     maybe-install-info-gawk \
1142     maybe-install-info-gettext \
1143     maybe-install-info-gnuserv \
1144     maybe-install-info-gprof \
1145     maybe-install-info-gzip \
1146     maybe-install-info-hello \
1147     maybe-install-info-indent \
1148     maybe-install-info-intl \
1149     maybe-install-info-tcl \
1150     maybe-install-info-itcl \
1151     maybe-install-info-ld \
1152     maybe-install-info-libcpp \
1153     maybe-install-info-libgui \
1154     maybe-install-info-libiberty \
1155     maybe-install-info-libtool \
1156     maybe-install-info-m4 \
1157     maybe-install-info-make \
1158     maybe-install-info-mmalloc \
1159     maybe-install-info-patch \
1160     maybe-install-info-perl \
1161     maybe-install-info-prms \
1162     maybe-install-info-rcs \
1163     maybe-install-info-readline \
1164     maybe-install-info-release \
1165     maybe-install-info-recode \
1166     maybe-install-info-sed \
1167     maybe-install-info-send-pr \
1168     maybe-install-info-shellutils \
1169     maybe-install-info-sid \
1170     maybe-install-info-sim \
1171     maybe-install-info-tar \
1172     maybe-install-info-texinfo \
1173     maybe-install-info-textutils \
1174     maybe-install-info-time \
1175     maybe-install-info-uudecode \
1176     maybe-install-info-wdiff \
1177     maybe-install-info-zip \
1178     maybe-install-info-zlib \
1179     maybe-install-info-gdb \
1180     maybe-install-info-expect \
1181     maybe-install-info-guile \
1182     maybe-install-info-tk \
1183     maybe-install-info-libtermcap \
1184     maybe-install-info-utils
1185
1186 .PHONY: install-info-target
1187 install-info-target:  \
1188     maybe-install-info-target-libstdc++-v3 \
1189     maybe-install-info-target-libmudflap \
1190     maybe-install-info-target-newlib \
1191     maybe-install-info-target-libgfortran \
1192     maybe-install-info-target-libobjc \
1193     maybe-install-info-target-libtermcap \
1194     maybe-install-info-target-winsup \
1195     maybe-install-info-target-libgloss \
1196     maybe-install-info-target-libiberty \
1197     maybe-install-info-target-gperf \
1198     maybe-install-info-target-examples \
1199     maybe-install-info-target-libffi \
1200     maybe-install-info-target-libjava \
1201     maybe-install-info-target-zlib \
1202     maybe-install-info-target-boehm-gc \
1203     maybe-install-info-target-qthreads \
1204     maybe-install-info-target-rda \
1205     maybe-install-info-target-libada
1206
1207 .PHONY: do-installcheck
1208 do-installcheck: unstage installcheck-host installcheck-target stage
1209
1210 .PHONY: installcheck-host
1211 installcheck-host:  \
1212     maybe-installcheck-ash \
1213     maybe-installcheck-autoconf \
1214     maybe-installcheck-automake \
1215     maybe-installcheck-bash \
1216     maybe-installcheck-bfd \
1217     maybe-installcheck-opcodes \
1218     maybe-installcheck-binutils \
1219     maybe-installcheck-bison \
1220     maybe-installcheck-byacc \
1221     maybe-installcheck-bzip2 \
1222     maybe-installcheck-dejagnu \
1223     maybe-installcheck-diff \
1224     maybe-installcheck-dosutils \
1225     maybe-installcheck-etc \
1226     maybe-installcheck-fastjar \
1227     maybe-installcheck-fileutils \
1228     maybe-installcheck-findutils \
1229     maybe-installcheck-find \
1230     maybe-installcheck-flex \
1231     maybe-installcheck-gas \
1232     maybe-installcheck-gcc \
1233     maybe-installcheck-gawk \
1234     maybe-installcheck-gettext \
1235     maybe-installcheck-gnuserv \
1236     maybe-installcheck-gprof \
1237     maybe-installcheck-gzip \
1238     maybe-installcheck-hello \
1239     maybe-installcheck-indent \
1240     maybe-installcheck-intl \
1241     maybe-installcheck-tcl \
1242     maybe-installcheck-itcl \
1243     maybe-installcheck-ld \
1244     maybe-installcheck-libcpp \
1245     maybe-installcheck-libgui \
1246     maybe-installcheck-libiberty \
1247     maybe-installcheck-libtool \
1248     maybe-installcheck-m4 \
1249     maybe-installcheck-make \
1250     maybe-installcheck-mmalloc \
1251     maybe-installcheck-patch \
1252     maybe-installcheck-perl \
1253     maybe-installcheck-prms \
1254     maybe-installcheck-rcs \
1255     maybe-installcheck-readline \
1256     maybe-installcheck-release \
1257     maybe-installcheck-recode \
1258     maybe-installcheck-sed \
1259     maybe-installcheck-send-pr \
1260     maybe-installcheck-shellutils \
1261     maybe-installcheck-sid \
1262     maybe-installcheck-sim \
1263     maybe-installcheck-tar \
1264     maybe-installcheck-texinfo \
1265     maybe-installcheck-textutils \
1266     maybe-installcheck-time \
1267     maybe-installcheck-uudecode \
1268     maybe-installcheck-wdiff \
1269     maybe-installcheck-zip \
1270     maybe-installcheck-zlib \
1271     maybe-installcheck-gdb \
1272     maybe-installcheck-expect \
1273     maybe-installcheck-guile \
1274     maybe-installcheck-tk \
1275     maybe-installcheck-libtermcap \
1276     maybe-installcheck-utils
1277
1278 .PHONY: installcheck-target
1279 installcheck-target:  \
1280     maybe-installcheck-target-libstdc++-v3 \
1281     maybe-installcheck-target-libmudflap \
1282     maybe-installcheck-target-newlib \
1283     maybe-installcheck-target-libgfortran \
1284     maybe-installcheck-target-libobjc \
1285     maybe-installcheck-target-libtermcap \
1286     maybe-installcheck-target-winsup \
1287     maybe-installcheck-target-libgloss \
1288     maybe-installcheck-target-libiberty \
1289     maybe-installcheck-target-gperf \
1290     maybe-installcheck-target-examples \
1291     maybe-installcheck-target-libffi \
1292     maybe-installcheck-target-libjava \
1293     maybe-installcheck-target-zlib \
1294     maybe-installcheck-target-boehm-gc \
1295     maybe-installcheck-target-qthreads \
1296     maybe-installcheck-target-rda \
1297     maybe-installcheck-target-libada
1298
1299 .PHONY: do-mostlyclean
1300 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1301
1302 .PHONY: mostlyclean-host
1303 mostlyclean-host:  \
1304     maybe-mostlyclean-ash \
1305     maybe-mostlyclean-autoconf \
1306     maybe-mostlyclean-automake \
1307     maybe-mostlyclean-bash \
1308     maybe-mostlyclean-bfd \
1309     maybe-mostlyclean-opcodes \
1310     maybe-mostlyclean-binutils \
1311     maybe-mostlyclean-bison \
1312     maybe-mostlyclean-byacc \
1313     maybe-mostlyclean-bzip2 \
1314     maybe-mostlyclean-dejagnu \
1315     maybe-mostlyclean-diff \
1316     maybe-mostlyclean-dosutils \
1317     maybe-mostlyclean-etc \
1318     maybe-mostlyclean-fastjar \
1319     maybe-mostlyclean-fileutils \
1320     maybe-mostlyclean-findutils \
1321     maybe-mostlyclean-find \
1322     maybe-mostlyclean-flex \
1323     maybe-mostlyclean-gas \
1324     maybe-mostlyclean-gcc \
1325     maybe-mostlyclean-gawk \
1326     maybe-mostlyclean-gettext \
1327     maybe-mostlyclean-gnuserv \
1328     maybe-mostlyclean-gprof \
1329     maybe-mostlyclean-gzip \
1330     maybe-mostlyclean-hello \
1331     maybe-mostlyclean-indent \
1332     maybe-mostlyclean-intl \
1333     maybe-mostlyclean-tcl \
1334     maybe-mostlyclean-itcl \
1335     maybe-mostlyclean-ld \
1336     maybe-mostlyclean-libcpp \
1337     maybe-mostlyclean-libgui \
1338     maybe-mostlyclean-libiberty \
1339     maybe-mostlyclean-libtool \
1340     maybe-mostlyclean-m4 \
1341     maybe-mostlyclean-make \
1342     maybe-mostlyclean-mmalloc \
1343     maybe-mostlyclean-patch \
1344     maybe-mostlyclean-perl \
1345     maybe-mostlyclean-prms \
1346     maybe-mostlyclean-rcs \
1347     maybe-mostlyclean-readline \
1348     maybe-mostlyclean-release \
1349     maybe-mostlyclean-recode \
1350     maybe-mostlyclean-sed \
1351     maybe-mostlyclean-send-pr \
1352     maybe-mostlyclean-shellutils \
1353     maybe-mostlyclean-sid \
1354     maybe-mostlyclean-sim \
1355     maybe-mostlyclean-tar \
1356     maybe-mostlyclean-texinfo \
1357     maybe-mostlyclean-textutils \
1358     maybe-mostlyclean-time \
1359     maybe-mostlyclean-uudecode \
1360     maybe-mostlyclean-wdiff \
1361     maybe-mostlyclean-zip \
1362     maybe-mostlyclean-zlib \
1363     maybe-mostlyclean-gdb \
1364     maybe-mostlyclean-expect \
1365     maybe-mostlyclean-guile \
1366     maybe-mostlyclean-tk \
1367     maybe-mostlyclean-libtermcap \
1368     maybe-mostlyclean-utils
1369
1370 .PHONY: mostlyclean-target
1371 mostlyclean-target:  \
1372     maybe-mostlyclean-target-libstdc++-v3 \
1373     maybe-mostlyclean-target-libmudflap \
1374     maybe-mostlyclean-target-newlib \
1375     maybe-mostlyclean-target-libgfortran \
1376     maybe-mostlyclean-target-libobjc \
1377     maybe-mostlyclean-target-libtermcap \
1378     maybe-mostlyclean-target-winsup \
1379     maybe-mostlyclean-target-libgloss \
1380     maybe-mostlyclean-target-libiberty \
1381     maybe-mostlyclean-target-gperf \
1382     maybe-mostlyclean-target-examples \
1383     maybe-mostlyclean-target-libffi \
1384     maybe-mostlyclean-target-libjava \
1385     maybe-mostlyclean-target-zlib \
1386     maybe-mostlyclean-target-boehm-gc \
1387     maybe-mostlyclean-target-qthreads \
1388     maybe-mostlyclean-target-rda \
1389     maybe-mostlyclean-target-libada
1390
1391 .PHONY: do-clean
1392 do-clean: unstage clean-host clean-target stage
1393
1394 .PHONY: clean-host
1395 clean-host:  \
1396     maybe-clean-ash \
1397     maybe-clean-autoconf \
1398     maybe-clean-automake \
1399     maybe-clean-bash \
1400     maybe-clean-bfd \
1401     maybe-clean-opcodes \
1402     maybe-clean-binutils \
1403     maybe-clean-bison \
1404     maybe-clean-byacc \
1405     maybe-clean-bzip2 \
1406     maybe-clean-dejagnu \
1407     maybe-clean-diff \
1408     maybe-clean-dosutils \
1409     maybe-clean-etc \
1410     maybe-clean-fastjar \
1411     maybe-clean-fileutils \
1412     maybe-clean-findutils \
1413     maybe-clean-find \
1414     maybe-clean-flex \
1415     maybe-clean-gas \
1416     maybe-clean-gcc \
1417     maybe-clean-gawk \
1418     maybe-clean-gettext \
1419     maybe-clean-gnuserv \
1420     maybe-clean-gprof \
1421     maybe-clean-gzip \
1422     maybe-clean-hello \
1423     maybe-clean-indent \
1424     maybe-clean-intl \
1425     maybe-clean-tcl \
1426     maybe-clean-itcl \
1427     maybe-clean-ld \
1428     maybe-clean-libcpp \
1429     maybe-clean-libgui \
1430     maybe-clean-libiberty \
1431     maybe-clean-libtool \
1432     maybe-clean-m4 \
1433     maybe-clean-make \
1434     maybe-clean-mmalloc \
1435     maybe-clean-patch \
1436     maybe-clean-perl \
1437     maybe-clean-prms \
1438     maybe-clean-rcs \
1439     maybe-clean-readline \
1440     maybe-clean-release \
1441     maybe-clean-recode \
1442     maybe-clean-sed \
1443     maybe-clean-send-pr \
1444     maybe-clean-shellutils \
1445     maybe-clean-sid \
1446     maybe-clean-sim \
1447     maybe-clean-tar \
1448     maybe-clean-texinfo \
1449     maybe-clean-textutils \
1450     maybe-clean-time \
1451     maybe-clean-uudecode \
1452     maybe-clean-wdiff \
1453     maybe-clean-zip \
1454     maybe-clean-zlib \
1455     maybe-clean-gdb \
1456     maybe-clean-expect \
1457     maybe-clean-guile \
1458     maybe-clean-tk \
1459     maybe-clean-libtermcap \
1460     maybe-clean-utils
1461
1462 .PHONY: clean-target
1463 clean-target:  \
1464     maybe-clean-target-libstdc++-v3 \
1465     maybe-clean-target-libmudflap \
1466     maybe-clean-target-newlib \
1467     maybe-clean-target-libgfortran \
1468     maybe-clean-target-libobjc \
1469     maybe-clean-target-libtermcap \
1470     maybe-clean-target-winsup \
1471     maybe-clean-target-libgloss \
1472     maybe-clean-target-libiberty \
1473     maybe-clean-target-gperf \
1474     maybe-clean-target-examples \
1475     maybe-clean-target-libffi \
1476     maybe-clean-target-libjava \
1477     maybe-clean-target-zlib \
1478     maybe-clean-target-boehm-gc \
1479     maybe-clean-target-qthreads \
1480     maybe-clean-target-rda \
1481     maybe-clean-target-libada
1482
1483 .PHONY: do-distclean
1484 do-distclean: unstage distclean-host distclean-target stage
1485
1486 .PHONY: distclean-host
1487 distclean-host:  \
1488     maybe-distclean-ash \
1489     maybe-distclean-autoconf \
1490     maybe-distclean-automake \
1491     maybe-distclean-bash \
1492     maybe-distclean-bfd \
1493     maybe-distclean-opcodes \
1494     maybe-distclean-binutils \
1495     maybe-distclean-bison \
1496     maybe-distclean-byacc \
1497     maybe-distclean-bzip2 \
1498     maybe-distclean-dejagnu \
1499     maybe-distclean-diff \
1500     maybe-distclean-dosutils \
1501     maybe-distclean-etc \
1502     maybe-distclean-fastjar \
1503     maybe-distclean-fileutils \
1504     maybe-distclean-findutils \
1505     maybe-distclean-find \
1506     maybe-distclean-flex \
1507     maybe-distclean-gas \
1508     maybe-distclean-gcc \
1509     maybe-distclean-gawk \
1510     maybe-distclean-gettext \
1511     maybe-distclean-gnuserv \
1512     maybe-distclean-gprof \
1513     maybe-distclean-gzip \
1514     maybe-distclean-hello \
1515     maybe-distclean-indent \
1516     maybe-distclean-intl \
1517     maybe-distclean-tcl \
1518     maybe-distclean-itcl \
1519     maybe-distclean-ld \
1520     maybe-distclean-libcpp \
1521     maybe-distclean-libgui \
1522     maybe-distclean-libiberty \
1523     maybe-distclean-libtool \
1524     maybe-distclean-m4 \
1525     maybe-distclean-make \
1526     maybe-distclean-mmalloc \
1527     maybe-distclean-patch \
1528     maybe-distclean-perl \
1529     maybe-distclean-prms \
1530     maybe-distclean-rcs \
1531     maybe-distclean-readline \
1532     maybe-distclean-release \
1533     maybe-distclean-recode \
1534     maybe-distclean-sed \
1535     maybe-distclean-send-pr \
1536     maybe-distclean-shellutils \
1537     maybe-distclean-sid \
1538     maybe-distclean-sim \
1539     maybe-distclean-tar \
1540     maybe-distclean-texinfo \
1541     maybe-distclean-textutils \
1542     maybe-distclean-time \
1543     maybe-distclean-uudecode \
1544     maybe-distclean-wdiff \
1545     maybe-distclean-zip \
1546     maybe-distclean-zlib \
1547     maybe-distclean-gdb \
1548     maybe-distclean-expect \
1549     maybe-distclean-guile \
1550     maybe-distclean-tk \
1551     maybe-distclean-libtermcap \
1552     maybe-distclean-utils
1553
1554 .PHONY: distclean-target
1555 distclean-target:  \
1556     maybe-distclean-target-libstdc++-v3 \
1557     maybe-distclean-target-libmudflap \
1558     maybe-distclean-target-newlib \
1559     maybe-distclean-target-libgfortran \
1560     maybe-distclean-target-libobjc \
1561     maybe-distclean-target-libtermcap \
1562     maybe-distclean-target-winsup \
1563     maybe-distclean-target-libgloss \
1564     maybe-distclean-target-libiberty \
1565     maybe-distclean-target-gperf \
1566     maybe-distclean-target-examples \
1567     maybe-distclean-target-libffi \
1568     maybe-distclean-target-libjava \
1569     maybe-distclean-target-zlib \
1570     maybe-distclean-target-boehm-gc \
1571     maybe-distclean-target-qthreads \
1572     maybe-distclean-target-rda \
1573     maybe-distclean-target-libada
1574
1575 .PHONY: do-maintainer-clean
1576 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1577
1578 .PHONY: maintainer-clean-host
1579 maintainer-clean-host:  \
1580     maybe-maintainer-clean-ash \
1581     maybe-maintainer-clean-autoconf \
1582     maybe-maintainer-clean-automake \
1583     maybe-maintainer-clean-bash \
1584     maybe-maintainer-clean-bfd \
1585     maybe-maintainer-clean-opcodes \
1586     maybe-maintainer-clean-binutils \
1587     maybe-maintainer-clean-bison \
1588     maybe-maintainer-clean-byacc \
1589     maybe-maintainer-clean-bzip2 \
1590     maybe-maintainer-clean-dejagnu \
1591     maybe-maintainer-clean-diff \
1592     maybe-maintainer-clean-dosutils \
1593     maybe-maintainer-clean-etc \
1594     maybe-maintainer-clean-fastjar \
1595     maybe-maintainer-clean-fileutils \
1596     maybe-maintainer-clean-findutils \
1597     maybe-maintainer-clean-find \
1598     maybe-maintainer-clean-flex \
1599     maybe-maintainer-clean-gas \
1600     maybe-maintainer-clean-gcc \
1601     maybe-maintainer-clean-gawk \
1602     maybe-maintainer-clean-gettext \
1603     maybe-maintainer-clean-gnuserv \
1604     maybe-maintainer-clean-gprof \
1605     maybe-maintainer-clean-gzip \
1606     maybe-maintainer-clean-hello \
1607     maybe-maintainer-clean-indent \
1608     maybe-maintainer-clean-intl \
1609     maybe-maintainer-clean-tcl \
1610     maybe-maintainer-clean-itcl \
1611     maybe-maintainer-clean-ld \
1612     maybe-maintainer-clean-libcpp \
1613     maybe-maintainer-clean-libgui \
1614     maybe-maintainer-clean-libiberty \
1615     maybe-maintainer-clean-libtool \
1616     maybe-maintainer-clean-m4 \
1617     maybe-maintainer-clean-make \
1618     maybe-maintainer-clean-mmalloc \
1619     maybe-maintainer-clean-patch \
1620     maybe-maintainer-clean-perl \
1621     maybe-maintainer-clean-prms \
1622     maybe-maintainer-clean-rcs \
1623     maybe-maintainer-clean-readline \
1624     maybe-maintainer-clean-release \
1625     maybe-maintainer-clean-recode \
1626     maybe-maintainer-clean-sed \
1627     maybe-maintainer-clean-send-pr \
1628     maybe-maintainer-clean-shellutils \
1629     maybe-maintainer-clean-sid \
1630     maybe-maintainer-clean-sim \
1631     maybe-maintainer-clean-tar \
1632     maybe-maintainer-clean-texinfo \
1633     maybe-maintainer-clean-textutils \
1634     maybe-maintainer-clean-time \
1635     maybe-maintainer-clean-uudecode \
1636     maybe-maintainer-clean-wdiff \
1637     maybe-maintainer-clean-zip \
1638     maybe-maintainer-clean-zlib \
1639     maybe-maintainer-clean-gdb \
1640     maybe-maintainer-clean-expect \
1641     maybe-maintainer-clean-guile \
1642     maybe-maintainer-clean-tk \
1643     maybe-maintainer-clean-libtermcap \
1644     maybe-maintainer-clean-utils
1645
1646 .PHONY: maintainer-clean-target
1647 maintainer-clean-target:  \
1648     maybe-maintainer-clean-target-libstdc++-v3 \
1649     maybe-maintainer-clean-target-libmudflap \
1650     maybe-maintainer-clean-target-newlib \
1651     maybe-maintainer-clean-target-libgfortran \
1652     maybe-maintainer-clean-target-libobjc \
1653     maybe-maintainer-clean-target-libtermcap \
1654     maybe-maintainer-clean-target-winsup \
1655     maybe-maintainer-clean-target-libgloss \
1656     maybe-maintainer-clean-target-libiberty \
1657     maybe-maintainer-clean-target-gperf \
1658     maybe-maintainer-clean-target-examples \
1659     maybe-maintainer-clean-target-libffi \
1660     maybe-maintainer-clean-target-libjava \
1661     maybe-maintainer-clean-target-zlib \
1662     maybe-maintainer-clean-target-boehm-gc \
1663     maybe-maintainer-clean-target-qthreads \
1664     maybe-maintainer-clean-target-rda \
1665     maybe-maintainer-clean-target-libada
1666
1667
1668 # Here are the targets which correspond to the do-X targets.
1669
1670 .PHONY: info installcheck dvi install-info
1671 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1672 .PHONY: local-clean local-distclean local-maintainer-clean
1673 info: do-info
1674 installcheck: do-installcheck
1675 dvi: do-dvi
1676
1677 # Make sure makeinfo is built before we do a `make info', if we're
1678 # in fact building texinfo.
1679 do-info: maybe-all-texinfo
1680
1681 install-info: do-install-info dir.info
1682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1683         if [ -f dir.info ] ; then \
1684           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1685         else true ; fi
1686
1687 local-clean:
1688         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1689
1690 local-distclean:
1691         -rm -f Makefile config.status config.cache mh-frag mt-frag
1692         -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1693         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1694           rm -rf $(TARGET_SUBDIR); \
1695         else true; fi
1696         -rm -rf $(BUILD_SUBDIR)
1697         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1698         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1699         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1700         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1701         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1702
1703 local-maintainer-clean:
1704         @echo "This command is intended for maintainers to use;"
1705         @echo "it deletes files that may require special tools to rebuild."
1706
1707 clean: do-clean local-clean
1708 mostlyclean: do-mostlyclean local-clean
1709 distclean: do-distclean local-clean local-distclean
1710 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
1711 maintainer-clean: local-distclean
1712 realclean: maintainer-clean
1713
1714 # Extra dependency for clean-target, owing to the mixed nature of gcc
1715 clean-target: clean-target-libgcc
1716 clean-target-libgcc:
1717         test ! -d gcc/libgcc || \
1718         (cd gcc/libgcc && find . -type d -print) | \
1719         while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1720         -rm -rf gcc/libgcc
1721
1722 # Check target.
1723
1724 .PHONY: check do-check
1725 check: do-check
1726
1727 # Only include modules actually being configured and built.
1728 do-check: unstage  \
1729     maybe-check-ash \
1730     maybe-check-autoconf \
1731     maybe-check-automake \
1732     maybe-check-bash \
1733     maybe-check-bfd \
1734     maybe-check-opcodes \
1735     maybe-check-binutils \
1736     maybe-check-bison \
1737     maybe-check-byacc \
1738     maybe-check-bzip2 \
1739     maybe-check-dejagnu \
1740     maybe-check-diff \
1741     maybe-check-dosutils \
1742     maybe-check-etc \
1743     maybe-check-fastjar \
1744     maybe-check-fileutils \
1745     maybe-check-findutils \
1746     maybe-check-find \
1747     maybe-check-flex \
1748     maybe-check-gas \
1749     maybe-check-gcc \
1750     maybe-check-gawk \
1751     maybe-check-gettext \
1752     maybe-check-gnuserv \
1753     maybe-check-gprof \
1754     maybe-check-gzip \
1755     maybe-check-hello \
1756     maybe-check-indent \
1757     maybe-check-intl \
1758     maybe-check-tcl \
1759     maybe-check-itcl \
1760     maybe-check-ld \
1761     maybe-check-libcpp \
1762     maybe-check-libgui \
1763     maybe-check-libiberty \
1764     maybe-check-libtool \
1765     maybe-check-m4 \
1766     maybe-check-make \
1767     maybe-check-mmalloc \
1768     maybe-check-patch \
1769     maybe-check-perl \
1770     maybe-check-prms \
1771     maybe-check-rcs \
1772     maybe-check-readline \
1773     maybe-check-release \
1774     maybe-check-recode \
1775     maybe-check-sed \
1776     maybe-check-send-pr \
1777     maybe-check-shellutils \
1778     maybe-check-sid \
1779     maybe-check-sim \
1780     maybe-check-tar \
1781     maybe-check-texinfo \
1782     maybe-check-textutils \
1783     maybe-check-time \
1784     maybe-check-uudecode \
1785     maybe-check-wdiff \
1786     maybe-check-zip \
1787     maybe-check-zlib \
1788     maybe-check-gdb \
1789     maybe-check-expect \
1790     maybe-check-guile \
1791     maybe-check-tk \
1792     maybe-check-libtermcap \
1793     maybe-check-utils \
1794     maybe-check-target-libstdc++-v3 \
1795     maybe-check-target-libmudflap \
1796     maybe-check-target-newlib \
1797     maybe-check-target-libgfortran \
1798     maybe-check-target-libobjc \
1799     maybe-check-target-libtermcap \
1800     maybe-check-target-winsup \
1801     maybe-check-target-libgloss \
1802     maybe-check-target-libiberty \
1803     maybe-check-target-gperf \
1804     maybe-check-target-examples \
1805     maybe-check-target-libffi \
1806     maybe-check-target-libjava \
1807     maybe-check-target-zlib \
1808     maybe-check-target-boehm-gc \
1809     maybe-check-target-qthreads \
1810     maybe-check-target-rda \
1811     maybe-check-target-libada stage
1812
1813 # Automated reporting of test results.
1814
1815 warning.log: build.log
1816         $(srcdir)/contrib/warn_summary build.log > $@
1817
1818 mail-report.log:
1819         if test x'$(BOOT_CFLAGS)' != x''; then \
1820             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1821         fi; \
1822         $(srcdir)/contrib/test_summary -t >$@
1823         chmod +x $@
1824         echo If you really want to send e-mail, run ./$@ now
1825
1826 mail-report-with-warnings.log: warning.log
1827         if test x'$(BOOT_CFLAGS)' != x''; then \
1828             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1829         fi; \
1830         $(srcdir)/contrib/test_summary -t -i warning.log >$@
1831         chmod +x $@
1832         echo If you really want to send e-mail, run ./$@ now
1833
1834 # Installation targets.
1835
1836 .PHONY: install uninstall
1837 install: installdirs install-host install-target
1838
1839 .PHONY: install-host-nogcc
1840 install-host-nogcc:  \
1841     maybe-install-ash \
1842     maybe-install-autoconf \
1843     maybe-install-automake \
1844     maybe-install-bash \
1845     maybe-install-bfd \
1846     maybe-install-opcodes \
1847     maybe-install-binutils \
1848     maybe-install-bison \
1849     maybe-install-byacc \
1850     maybe-install-bzip2 \
1851     maybe-install-dejagnu \
1852     maybe-install-diff \
1853     maybe-install-dosutils \
1854     maybe-install-etc \
1855     maybe-install-fastjar \
1856     maybe-install-fileutils \
1857     maybe-install-findutils \
1858     maybe-install-find \
1859     maybe-install-flex \
1860     maybe-install-gas \
1861     maybe-install-gawk \
1862     maybe-install-gettext \
1863     maybe-install-gnuserv \
1864     maybe-install-gprof \
1865     maybe-install-gzip \
1866     maybe-install-hello \
1867     maybe-install-indent \
1868     maybe-install-intl \
1869     maybe-install-tcl \
1870     maybe-install-itcl \
1871     maybe-install-ld \
1872     maybe-install-libcpp \
1873     maybe-install-libgui \
1874     maybe-install-libiberty \
1875     maybe-install-libtool \
1876     maybe-install-m4 \
1877     maybe-install-make \
1878     maybe-install-mmalloc \
1879     maybe-install-patch \
1880     maybe-install-perl \
1881     maybe-install-prms \
1882     maybe-install-rcs \
1883     maybe-install-readline \
1884     maybe-install-release \
1885     maybe-install-recode \
1886     maybe-install-sed \
1887     maybe-install-send-pr \
1888     maybe-install-shellutils \
1889     maybe-install-sid \
1890     maybe-install-sim \
1891     maybe-install-tar \
1892     maybe-install-texinfo \
1893     maybe-install-textutils \
1894     maybe-install-time \
1895     maybe-install-uudecode \
1896     maybe-install-wdiff \
1897     maybe-install-zip \
1898     maybe-install-zlib \
1899     maybe-install-gdb \
1900     maybe-install-expect \
1901     maybe-install-guile \
1902     maybe-install-tk \
1903     maybe-install-libtermcap \
1904     maybe-install-utils
1905
1906 .PHONY: install-host
1907 install-host:  \
1908     maybe-install-ash \
1909     maybe-install-autoconf \
1910     maybe-install-automake \
1911     maybe-install-bash \
1912     maybe-install-bfd \
1913     maybe-install-opcodes \
1914     maybe-install-binutils \
1915     maybe-install-bison \
1916     maybe-install-byacc \
1917     maybe-install-bzip2 \
1918     maybe-install-dejagnu \
1919     maybe-install-diff \
1920     maybe-install-dosutils \
1921     maybe-install-etc \
1922     maybe-install-fastjar \
1923     maybe-install-fileutils \
1924     maybe-install-findutils \
1925     maybe-install-find \
1926     maybe-install-flex \
1927     maybe-install-gas \
1928     maybe-install-gcc \
1929     maybe-install-gawk \
1930     maybe-install-gettext \
1931     maybe-install-gnuserv \
1932     maybe-install-gprof \
1933     maybe-install-gzip \
1934     maybe-install-hello \
1935     maybe-install-indent \
1936     maybe-install-intl \
1937     maybe-install-tcl \
1938     maybe-install-itcl \
1939     maybe-install-ld \
1940     maybe-install-libcpp \
1941     maybe-install-libgui \
1942     maybe-install-libiberty \
1943     maybe-install-libtool \
1944     maybe-install-m4 \
1945     maybe-install-make \
1946     maybe-install-mmalloc \
1947     maybe-install-patch \
1948     maybe-install-perl \
1949     maybe-install-prms \
1950     maybe-install-rcs \
1951     maybe-install-readline \
1952     maybe-install-release \
1953     maybe-install-recode \
1954     maybe-install-sed \
1955     maybe-install-send-pr \
1956     maybe-install-shellutils \
1957     maybe-install-sid \
1958     maybe-install-sim \
1959     maybe-install-tar \
1960     maybe-install-texinfo \
1961     maybe-install-textutils \
1962     maybe-install-time \
1963     maybe-install-uudecode \
1964     maybe-install-wdiff \
1965     maybe-install-zip \
1966     maybe-install-zlib \
1967     maybe-install-gdb \
1968     maybe-install-expect \
1969     maybe-install-guile \
1970     maybe-install-tk \
1971     maybe-install-libtermcap \
1972     maybe-install-utils
1973
1974 .PHONY: install-target
1975 install-target:  \
1976     maybe-install-target-libstdc++-v3 \
1977     maybe-install-target-libmudflap \
1978     maybe-install-target-newlib \
1979     maybe-install-target-libgfortran \
1980     maybe-install-target-libobjc \
1981     maybe-install-target-libtermcap \
1982     maybe-install-target-winsup \
1983     maybe-install-target-libgloss \
1984     maybe-install-target-libiberty \
1985     maybe-install-target-gperf \
1986     maybe-install-target-examples \
1987     maybe-install-target-libffi \
1988     maybe-install-target-libjava \
1989     maybe-install-target-zlib \
1990     maybe-install-target-boehm-gc \
1991     maybe-install-target-qthreads \
1992     maybe-install-target-rda \
1993     maybe-install-target-libada
1994
1995 uninstall:
1996         @echo "the uninstall target is not supported in this tree"
1997
1998 .PHONY: install.all
1999 install.all: install-no-fixedincludes
2000         @if [ -f ./gcc/Makefile ] ; then \
2001                 r=`${PWD_COMMAND}` ; export r ; \
2002                 $(SET_LIB_PATH) \
2003                 $(HOST_EXPORTS) \
2004                 (cd ./gcc && \
2005                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2006         else \
2007                 true ; \
2008         fi
2009
2010 # install-no-fixedincludes is used because Cygnus can not distribute
2011 # the fixed header files.
2012 .PHONY: install-no-fixedincludes
2013 install-no-fixedincludes: installdirs install-host-nogcc \
2014         install-target gcc-no-fixedincludes
2015
2016 ### other supporting targets
2017
2018 MAKEDIRS= \
2019         $(DESTDIR)$(prefix) \
2020         $(DESTDIR)$(exec_prefix)
2021 .PHONY: installdirs
2022 installdirs: mkinstalldirs
2023         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2024
2025 dir.info: do-install-info
2026         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2027           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2028           mv -f dir.info.new dir.info ; \
2029         else true ; \
2030         fi
2031
2032 dist:
2033         @echo "Building a full distribution of this tree isn't done"
2034         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
2035
2036 etags tags: TAGS
2037
2038 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
2039 # ability to use several tags files at once, so there is probably no need
2040 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
2041 # (if we felt like it) have this Makefile write a piece of elisp which
2042 # the user could load to tell emacs19 where all the TAGS files we just
2043 # built are.
2044 TAGS: do-TAGS
2045
2046 # --------------------------------------
2047 # Modules which run on the build machine
2048 # --------------------------------------
2049
2050 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2051 maybe-configure-build-libiberty:
2052 @if build-libiberty
2053 maybe-configure-build-libiberty: configure-build-libiberty
2054 configure-build-libiberty:
2055         @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2056         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2057         r=`${PWD_COMMAND}`; export r; \
2058         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2059         $(BUILD_EXPORTS) \
2060         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2061         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2062         case $(srcdir) in \
2063           /* | [A-Za-z]:[\\/]*) \
2064             topdir=$(srcdir) ;; \
2065           *) \
2066             case "$(BUILD_SUBDIR)" in \
2067               .) topdir="../$(srcdir)" ;; \
2068               *) topdir="../../$(srcdir)" ;; \
2069             esac ;; \
2070         esac; \
2071         if [ "$(srcdir)" = "." ] ; then \
2072           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2073             if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2074               if [ -f Makefile ]; then \
2075                 if $(MAKE) distclean; then \
2076                   true; \
2077                 else \
2078                   exit 1; \
2079                 fi; \
2080               else \
2081                 true; \
2082               fi; \
2083             else \
2084               exit 1; \
2085             fi; \
2086           else \
2087             true; \
2088           fi; \
2089           srcdiroption="--srcdir=."; \
2090           libsrcdir="."; \
2091         else \
2092           srcdiroption="--srcdir=$${topdir}/libiberty"; \
2093           libsrcdir="$$s/libiberty"; \
2094         fi; \
2095         rm -f no-such-file || : ; \
2096         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2097           $(BUILD_CONFIGARGS) $${srcdiroption} \
2098           --with-build-subdir="$(BUILD_SUBDIR)"  \
2099           || exit 1
2100 @endif build-libiberty
2101
2102 .PHONY: all-build-libiberty maybe-all-build-libiberty
2103 maybe-all-build-libiberty:
2104 @if build-libiberty
2105 TARGET-build-libiberty=all
2106 maybe-all-build-libiberty: all-build-libiberty
2107 all-build-libiberty: configure-build-libiberty
2108         @r=`${PWD_COMMAND}`; export r; \
2109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2110         $(BUILD_EXPORTS) \
2111         (cd $(BUILD_SUBDIR)/libiberty && \
2112           $(MAKE)  $(TARGET-build-libiberty))
2113 @endif build-libiberty
2114
2115 .PHONY: configure-build-bison maybe-configure-build-bison
2116 maybe-configure-build-bison:
2117 @if build-bison
2118 maybe-configure-build-bison: configure-build-bison
2119 configure-build-bison:
2120         @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2121         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2122         r=`${PWD_COMMAND}`; export r; \
2123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2124         $(BUILD_EXPORTS) \
2125         echo Configuring in $(BUILD_SUBDIR)/bison; \
2126         cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2127         case $(srcdir) in \
2128           /* | [A-Za-z]:[\\/]*) \
2129             topdir=$(srcdir) ;; \
2130           *) \
2131             case "$(BUILD_SUBDIR)" in \
2132               .) topdir="../$(srcdir)" ;; \
2133               *) topdir="../../$(srcdir)" ;; \
2134             esac ;; \
2135         esac; \
2136         if [ "$(srcdir)" = "." ] ; then \
2137           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2138             if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2139               if [ -f Makefile ]; then \
2140                 if $(MAKE) distclean; then \
2141                   true; \
2142                 else \
2143                   exit 1; \
2144                 fi; \
2145               else \
2146                 true; \
2147               fi; \
2148             else \
2149               exit 1; \
2150             fi; \
2151           else \
2152             true; \
2153           fi; \
2154           srcdiroption="--srcdir=."; \
2155           libsrcdir="."; \
2156         else \
2157           srcdiroption="--srcdir=$${topdir}/bison"; \
2158           libsrcdir="$$s/bison"; \
2159         fi; \
2160         rm -f no-such-file || : ; \
2161         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2162           $(BUILD_CONFIGARGS) $${srcdiroption} \
2163           --with-build-subdir="$(BUILD_SUBDIR)"  \
2164           || exit 1
2165 @endif build-bison
2166
2167 .PHONY: all-build-bison maybe-all-build-bison
2168 maybe-all-build-bison:
2169 @if build-bison
2170 TARGET-build-bison=all
2171 maybe-all-build-bison: all-build-bison
2172 all-build-bison: configure-build-bison
2173         @r=`${PWD_COMMAND}`; export r; \
2174         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2175         $(BUILD_EXPORTS) \
2176         (cd $(BUILD_SUBDIR)/bison && \
2177           $(MAKE)  $(TARGET-build-bison))
2178 @endif build-bison
2179
2180 .PHONY: configure-build-byacc maybe-configure-build-byacc
2181 maybe-configure-build-byacc:
2182 @if build-byacc
2183 maybe-configure-build-byacc: configure-build-byacc
2184 configure-build-byacc:
2185         @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2186         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2187         r=`${PWD_COMMAND}`; export r; \
2188         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2189         $(BUILD_EXPORTS) \
2190         echo Configuring in $(BUILD_SUBDIR)/byacc; \
2191         cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2192         case $(srcdir) in \
2193           /* | [A-Za-z]:[\\/]*) \
2194             topdir=$(srcdir) ;; \
2195           *) \
2196             case "$(BUILD_SUBDIR)" in \
2197               .) topdir="../$(srcdir)" ;; \
2198               *) topdir="../../$(srcdir)" ;; \
2199             esac ;; \
2200         esac; \
2201         if [ "$(srcdir)" = "." ] ; then \
2202           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2203             if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2204               if [ -f Makefile ]; then \
2205                 if $(MAKE) distclean; then \
2206                   true; \
2207                 else \
2208                   exit 1; \
2209                 fi; \
2210               else \
2211                 true; \
2212               fi; \
2213             else \
2214               exit 1; \
2215             fi; \
2216           else \
2217             true; \
2218           fi; \
2219           srcdiroption="--srcdir=."; \
2220           libsrcdir="."; \
2221         else \
2222           srcdiroption="--srcdir=$${topdir}/byacc"; \
2223           libsrcdir="$$s/byacc"; \
2224         fi; \
2225         rm -f no-such-file || : ; \
2226         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2227           $(BUILD_CONFIGARGS) $${srcdiroption} \
2228           --with-build-subdir="$(BUILD_SUBDIR)"  \
2229           || exit 1
2230 @endif build-byacc
2231
2232 .PHONY: all-build-byacc maybe-all-build-byacc
2233 maybe-all-build-byacc:
2234 @if build-byacc
2235 TARGET-build-byacc=all
2236 maybe-all-build-byacc: all-build-byacc
2237 all-build-byacc: configure-build-byacc
2238         @r=`${PWD_COMMAND}`; export r; \
2239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2240         $(BUILD_EXPORTS) \
2241         (cd $(BUILD_SUBDIR)/byacc && \
2242           $(MAKE)  $(TARGET-build-byacc))
2243 @endif build-byacc
2244
2245 .PHONY: configure-build-flex maybe-configure-build-flex
2246 maybe-configure-build-flex:
2247 @if build-flex
2248 maybe-configure-build-flex: configure-build-flex
2249 configure-build-flex:
2250         @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2251         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2252         r=`${PWD_COMMAND}`; export r; \
2253         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2254         $(BUILD_EXPORTS) \
2255         echo Configuring in $(BUILD_SUBDIR)/flex; \
2256         cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2257         case $(srcdir) in \
2258           /* | [A-Za-z]:[\\/]*) \
2259             topdir=$(srcdir) ;; \
2260           *) \
2261             case "$(BUILD_SUBDIR)" in \
2262               .) topdir="../$(srcdir)" ;; \
2263               *) topdir="../../$(srcdir)" ;; \
2264             esac ;; \
2265         esac; \
2266         if [ "$(srcdir)" = "." ] ; then \
2267           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2268             if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2269               if [ -f Makefile ]; then \
2270                 if $(MAKE) distclean; then \
2271                   true; \
2272                 else \
2273                   exit 1; \
2274                 fi; \
2275               else \
2276                 true; \
2277               fi; \
2278             else \
2279               exit 1; \
2280             fi; \
2281           else \
2282             true; \
2283           fi; \
2284           srcdiroption="--srcdir=."; \
2285           libsrcdir="."; \
2286         else \
2287           srcdiroption="--srcdir=$${topdir}/flex"; \
2288           libsrcdir="$$s/flex"; \
2289         fi; \
2290         rm -f no-such-file || : ; \
2291         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2292           $(BUILD_CONFIGARGS) $${srcdiroption} \
2293           --with-build-subdir="$(BUILD_SUBDIR)"  \
2294           || exit 1
2295 @endif build-flex
2296
2297 .PHONY: all-build-flex maybe-all-build-flex
2298 maybe-all-build-flex:
2299 @if build-flex
2300 TARGET-build-flex=all
2301 maybe-all-build-flex: all-build-flex
2302 all-build-flex: configure-build-flex
2303         @r=`${PWD_COMMAND}`; export r; \
2304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2305         $(BUILD_EXPORTS) \
2306         (cd $(BUILD_SUBDIR)/flex && \
2307           $(MAKE)  $(TARGET-build-flex))
2308 @endif build-flex
2309
2310 .PHONY: configure-build-m4 maybe-configure-build-m4
2311 maybe-configure-build-m4:
2312 @if build-m4
2313 maybe-configure-build-m4: configure-build-m4
2314 configure-build-m4:
2315         @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2316         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2317         r=`${PWD_COMMAND}`; export r; \
2318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2319         $(BUILD_EXPORTS) \
2320         echo Configuring in $(BUILD_SUBDIR)/m4; \
2321         cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2322         case $(srcdir) in \
2323           /* | [A-Za-z]:[\\/]*) \
2324             topdir=$(srcdir) ;; \
2325           *) \
2326             case "$(BUILD_SUBDIR)" in \
2327               .) topdir="../$(srcdir)" ;; \
2328               *) topdir="../../$(srcdir)" ;; \
2329             esac ;; \
2330         esac; \
2331         if [ "$(srcdir)" = "." ] ; then \
2332           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2333             if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2334               if [ -f Makefile ]; then \
2335                 if $(MAKE) distclean; then \
2336                   true; \
2337                 else \
2338                   exit 1; \
2339                 fi; \
2340               else \
2341                 true; \
2342               fi; \
2343             else \
2344               exit 1; \
2345             fi; \
2346           else \
2347             true; \
2348           fi; \
2349           srcdiroption="--srcdir=."; \
2350           libsrcdir="."; \
2351         else \
2352           srcdiroption="--srcdir=$${topdir}/m4"; \
2353           libsrcdir="$$s/m4"; \
2354         fi; \
2355         rm -f no-such-file || : ; \
2356         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2357           $(BUILD_CONFIGARGS) $${srcdiroption} \
2358           --with-build-subdir="$(BUILD_SUBDIR)"  \
2359           || exit 1
2360 @endif build-m4
2361
2362 .PHONY: all-build-m4 maybe-all-build-m4
2363 maybe-all-build-m4:
2364 @if build-m4
2365 TARGET-build-m4=all
2366 maybe-all-build-m4: all-build-m4
2367 all-build-m4: configure-build-m4
2368         @r=`${PWD_COMMAND}`; export r; \
2369         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2370         $(BUILD_EXPORTS) \
2371         (cd $(BUILD_SUBDIR)/m4 && \
2372           $(MAKE)  $(TARGET-build-m4))
2373 @endif build-m4
2374
2375 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2376 maybe-configure-build-texinfo:
2377 @if build-texinfo
2378 maybe-configure-build-texinfo: configure-build-texinfo
2379 configure-build-texinfo:
2380         @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2381         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2382         r=`${PWD_COMMAND}`; export r; \
2383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2384         $(BUILD_EXPORTS) \
2385         echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2386         cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2387         case $(srcdir) in \
2388           /* | [A-Za-z]:[\\/]*) \
2389             topdir=$(srcdir) ;; \
2390           *) \
2391             case "$(BUILD_SUBDIR)" in \
2392               .) topdir="../$(srcdir)" ;; \
2393               *) topdir="../../$(srcdir)" ;; \
2394             esac ;; \
2395         esac; \
2396         if [ "$(srcdir)" = "." ] ; then \
2397           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2398             if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2399               if [ -f Makefile ]; then \
2400                 if $(MAKE) distclean; then \
2401                   true; \
2402                 else \
2403                   exit 1; \
2404                 fi; \
2405               else \
2406                 true; \
2407               fi; \
2408             else \
2409               exit 1; \
2410             fi; \
2411           else \
2412             true; \
2413           fi; \
2414           srcdiroption="--srcdir=."; \
2415           libsrcdir="."; \
2416         else \
2417           srcdiroption="--srcdir=$${topdir}/texinfo"; \
2418           libsrcdir="$$s/texinfo"; \
2419         fi; \
2420         rm -f no-such-file || : ; \
2421         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2422           $(BUILD_CONFIGARGS) $${srcdiroption} \
2423           --with-build-subdir="$(BUILD_SUBDIR)"  \
2424           || exit 1
2425 @endif build-texinfo
2426
2427 .PHONY: all-build-texinfo maybe-all-build-texinfo
2428 maybe-all-build-texinfo:
2429 @if build-texinfo
2430 TARGET-build-texinfo=all
2431 maybe-all-build-texinfo: all-build-texinfo
2432 all-build-texinfo: configure-build-texinfo
2433         @r=`${PWD_COMMAND}`; export r; \
2434         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2435         $(BUILD_EXPORTS) \
2436         (cd $(BUILD_SUBDIR)/texinfo && \
2437           $(MAKE)  $(TARGET-build-texinfo))
2438 @endif build-texinfo
2439
2440 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2441 maybe-configure-build-fixincludes:
2442 @if build-fixincludes
2443 maybe-configure-build-fixincludes: configure-build-fixincludes
2444 configure-build-fixincludes:
2445         @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2446         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2447         r=`${PWD_COMMAND}`; export r; \
2448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2449         $(BUILD_EXPORTS) \
2450         echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2451         cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2452         case $(srcdir) in \
2453           /* | [A-Za-z]:[\\/]*) \
2454             topdir=$(srcdir) ;; \
2455           *) \
2456             case "$(BUILD_SUBDIR)" in \
2457               .) topdir="../$(srcdir)" ;; \
2458               *) topdir="../../$(srcdir)" ;; \
2459             esac ;; \
2460         esac; \
2461         if [ "$(srcdir)" = "." ] ; then \
2462           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2463             if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2464               if [ -f Makefile ]; then \
2465                 if $(MAKE) distclean; then \
2466                   true; \
2467                 else \
2468                   exit 1; \
2469                 fi; \
2470               else \
2471                 true; \
2472               fi; \
2473             else \
2474               exit 1; \
2475             fi; \
2476           else \
2477             true; \
2478           fi; \
2479           srcdiroption="--srcdir=."; \
2480           libsrcdir="."; \
2481         else \
2482           srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2483           libsrcdir="$$s/fixincludes"; \
2484         fi; \
2485         rm -f no-such-file || : ; \
2486         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2487           $(BUILD_CONFIGARGS) $${srcdiroption} \
2488           --with-build-subdir="$(BUILD_SUBDIR)"  \
2489           || exit 1
2490 @endif build-fixincludes
2491
2492 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2493 maybe-all-build-fixincludes:
2494 @if build-fixincludes
2495 TARGET-build-fixincludes=all
2496 maybe-all-build-fixincludes: all-build-fixincludes
2497 all-build-fixincludes: configure-build-fixincludes
2498         @r=`${PWD_COMMAND}`; export r; \
2499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2500         $(BUILD_EXPORTS) \
2501         (cd $(BUILD_SUBDIR)/fixincludes && \
2502           $(MAKE)  $(TARGET-build-fixincludes))
2503 @endif build-fixincludes
2504
2505
2506 # --------------------------------------
2507 # Modules which run on the host machine
2508 # --------------------------------------
2509
2510 .PHONY: configure-ash maybe-configure-ash
2511 maybe-configure-ash:
2512 @if ash
2513 maybe-configure-ash: configure-ash
2514 configure-ash:
2515         @test ! -f ash/Makefile || exit 0; \
2516         [ -d ash ] || mkdir ash; \
2517         r=`${PWD_COMMAND}`; export r; \
2518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519         $(HOST_EXPORTS) \
2520         echo Configuring in ash; \
2521         cd ash || exit 1; \
2522         case $(srcdir) in \
2523           \.) \
2524             srcdiroption="--srcdir=."; \
2525             libsrcdir=".";; \
2526           /* | [A-Za-z]:[\\/]*) \
2527             srcdiroption="--srcdir=$(srcdir)/ash"; \
2528             libsrcdir="$$s/ash";; \
2529           *) \
2530             srcdiroption="--srcdir=../$(srcdir)/ash"; \
2531             libsrcdir="$$s/ash";; \
2532         esac; \
2533         $(SHELL) $${libsrcdir}/configure \
2534           $(HOST_CONFIGARGS) $${srcdiroption}  \
2535           || exit 1
2536 @endif ash
2537
2538 .PHONY: all-ash maybe-all-ash
2539 maybe-all-ash:
2540 @if ash
2541 maybe-all-ash: all-ash
2542 all-ash: configure-ash
2543         @r=`${PWD_COMMAND}`; export r; \
2544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2545         $(SET_LIB_PATH) \
2546         $(HOST_EXPORTS) \
2547         (cd ash && $(MAKE) $(FLAGS_TO_PASS)  all)
2548 @endif ash
2549
2550 .PHONY: check-ash maybe-check-ash
2551 maybe-check-ash:
2552 @if ash
2553 maybe-check-ash: check-ash
2554
2555 check-ash:
2556         @r=`${PWD_COMMAND}`; export r; \
2557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2558         $(SET_LIB_PATH) \
2559         $(HOST_EXPORTS) \
2560         (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2561
2562 @endif ash
2563
2564 .PHONY: install-ash maybe-install-ash
2565 maybe-install-ash:
2566 @if ash
2567 maybe-install-ash: install-ash
2568
2569 install-ash: installdirs
2570         @r=`${PWD_COMMAND}`; export r; \
2571         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2572         $(SET_LIB_PATH) \
2573         $(HOST_EXPORTS) \
2574         (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2575
2576 @endif ash
2577
2578 # Other targets (info, dvi, etc.)
2579
2580 .PHONY: maybe-info-ash info-ash
2581 maybe-info-ash:
2582 @if ash
2583 maybe-info-ash: info-ash
2584
2585 info-ash: \
2586     configure-ash 
2587         @[ -f ./ash/Makefile ] || exit 0; \
2588         r=`${PWD_COMMAND}`; export r; \
2589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2590         $(SET_LIB_PATH) \
2591         $(HOST_EXPORTS) \
2592         for flag in $(EXTRA_HOST_FLAGS) ; do \
2593           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2594         done; \
2595         echo "Doing info in ash" ; \
2596         (cd ash && \
2597           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2598                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2599                   "RANLIB=$${RANLIB}" \
2600                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2601                   info) \
2602           || exit 1
2603
2604 @endif ash
2605
2606 .PHONY: maybe-dvi-ash dvi-ash
2607 maybe-dvi-ash:
2608 @if ash
2609 maybe-dvi-ash: dvi-ash
2610
2611 dvi-ash: \
2612     configure-ash 
2613         @[ -f ./ash/Makefile ] || exit 0; \
2614         r=`${PWD_COMMAND}`; export r; \
2615         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2616         $(SET_LIB_PATH) \
2617         $(HOST_EXPORTS) \
2618         for flag in $(EXTRA_HOST_FLAGS) ; do \
2619           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2620         done; \
2621         echo "Doing dvi in ash" ; \
2622         (cd ash && \
2623           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2624                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2625                   "RANLIB=$${RANLIB}" \
2626                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2627                   dvi) \
2628           || exit 1
2629
2630 @endif ash
2631
2632 .PHONY: maybe-TAGS-ash TAGS-ash
2633 maybe-TAGS-ash:
2634 @if ash
2635 maybe-TAGS-ash: TAGS-ash
2636
2637 TAGS-ash: \
2638     configure-ash 
2639         @[ -f ./ash/Makefile ] || exit 0; \
2640         r=`${PWD_COMMAND}`; export r; \
2641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2642         $(SET_LIB_PATH) \
2643         $(HOST_EXPORTS) \
2644         for flag in $(EXTRA_HOST_FLAGS) ; do \
2645           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2646         done; \
2647         echo "Doing TAGS in ash" ; \
2648         (cd ash && \
2649           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2650                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2651                   "RANLIB=$${RANLIB}" \
2652                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2653                   TAGS) \
2654           || exit 1
2655
2656 @endif ash
2657
2658 .PHONY: maybe-install-info-ash install-info-ash
2659 maybe-install-info-ash:
2660 @if ash
2661 maybe-install-info-ash: install-info-ash
2662
2663 install-info-ash: \
2664     configure-ash \
2665     info-ash 
2666         @[ -f ./ash/Makefile ] || exit 0; \
2667         r=`${PWD_COMMAND}`; export r; \
2668         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2669         $(SET_LIB_PATH) \
2670         $(HOST_EXPORTS) \
2671         for flag in $(EXTRA_HOST_FLAGS) ; do \
2672           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2673         done; \
2674         echo "Doing install-info in ash" ; \
2675         (cd ash && \
2676           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2677                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2678                   "RANLIB=$${RANLIB}" \
2679                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2680                   install-info) \
2681           || exit 1
2682
2683 @endif ash
2684
2685 .PHONY: maybe-installcheck-ash installcheck-ash
2686 maybe-installcheck-ash:
2687 @if ash
2688 maybe-installcheck-ash: installcheck-ash
2689
2690 installcheck-ash: \
2691     configure-ash 
2692         @[ -f ./ash/Makefile ] || exit 0; \
2693         r=`${PWD_COMMAND}`; export r; \
2694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2695         $(SET_LIB_PATH) \
2696         $(HOST_EXPORTS) \
2697         for flag in $(EXTRA_HOST_FLAGS) ; do \
2698           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2699         done; \
2700         echo "Doing installcheck in ash" ; \
2701         (cd ash && \
2702           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2703                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2704                   "RANLIB=$${RANLIB}" \
2705                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2706                   installcheck) \
2707           || exit 1
2708
2709 @endif ash
2710
2711 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2712 maybe-mostlyclean-ash:
2713 @if ash
2714 maybe-mostlyclean-ash: mostlyclean-ash
2715
2716 mostlyclean-ash: 
2717         @[ -f ./ash/Makefile ] || exit 0; \
2718         r=`${PWD_COMMAND}`; export r; \
2719         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2720         $(SET_LIB_PATH) \
2721         $(HOST_EXPORTS) \
2722         for flag in $(EXTRA_HOST_FLAGS) ; do \
2723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2724         done; \
2725         echo "Doing mostlyclean in ash" ; \
2726         (cd ash && \
2727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729                   "RANLIB=$${RANLIB}" \
2730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2731                   mostlyclean) \
2732           || exit 1
2733
2734 @endif ash
2735
2736 .PHONY: maybe-clean-ash clean-ash
2737 maybe-clean-ash:
2738 @if ash
2739 maybe-clean-ash: clean-ash
2740
2741 clean-ash: 
2742         @[ -f ./ash/Makefile ] || exit 0; \
2743         r=`${PWD_COMMAND}`; export r; \
2744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2745         $(SET_LIB_PATH) \
2746         $(HOST_EXPORTS) \
2747         for flag in $(EXTRA_HOST_FLAGS) ; do \
2748           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2749         done; \
2750         echo "Doing clean in ash" ; \
2751         (cd ash && \
2752           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2753                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2754                   "RANLIB=$${RANLIB}" \
2755                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2756                   clean) \
2757           || exit 1
2758
2759 @endif ash
2760
2761 .PHONY: maybe-distclean-ash distclean-ash
2762 maybe-distclean-ash:
2763 @if ash
2764 maybe-distclean-ash: distclean-ash
2765
2766 distclean-ash: 
2767         @[ -f ./ash/Makefile ] || exit 0; \
2768         r=`${PWD_COMMAND}`; export r; \
2769         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2770         $(SET_LIB_PATH) \
2771         $(HOST_EXPORTS) \
2772         for flag in $(EXTRA_HOST_FLAGS) ; do \
2773           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2774         done; \
2775         echo "Doing distclean in ash" ; \
2776         (cd ash && \
2777           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2778                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2779                   "RANLIB=$${RANLIB}" \
2780                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2781                   distclean) \
2782           || exit 1
2783
2784 @endif ash
2785
2786 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2787 maybe-maintainer-clean-ash:
2788 @if ash
2789 maybe-maintainer-clean-ash: maintainer-clean-ash
2790
2791 maintainer-clean-ash: 
2792         @[ -f ./ash/Makefile ] || exit 0; \
2793         r=`${PWD_COMMAND}`; export r; \
2794         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2795         $(SET_LIB_PATH) \
2796         $(HOST_EXPORTS) \
2797         for flag in $(EXTRA_HOST_FLAGS) ; do \
2798           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2799         done; \
2800         echo "Doing maintainer-clean in ash" ; \
2801         (cd ash && \
2802           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2803                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2804                   "RANLIB=$${RANLIB}" \
2805                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2806                   maintainer-clean) \
2807           || exit 1
2808
2809 @endif ash
2810
2811
2812 .PHONY: configure-autoconf maybe-configure-autoconf
2813 maybe-configure-autoconf:
2814 @if autoconf
2815 maybe-configure-autoconf: configure-autoconf
2816 configure-autoconf:
2817         @test ! -f autoconf/Makefile || exit 0; \
2818         [ -d autoconf ] || mkdir autoconf; \
2819         r=`${PWD_COMMAND}`; export r; \
2820         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2821         $(HOST_EXPORTS) \
2822         echo Configuring in autoconf; \
2823         cd autoconf || exit 1; \
2824         case $(srcdir) in \
2825           \.) \
2826             srcdiroption="--srcdir=."; \
2827             libsrcdir=".";; \
2828           /* | [A-Za-z]:[\\/]*) \
2829             srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2830             libsrcdir="$$s/autoconf";; \
2831           *) \
2832             srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2833             libsrcdir="$$s/autoconf";; \
2834         esac; \
2835         $(SHELL) $${libsrcdir}/configure \
2836           $(HOST_CONFIGARGS) $${srcdiroption}  \
2837           || exit 1
2838 @endif autoconf
2839
2840 .PHONY: all-autoconf maybe-all-autoconf
2841 maybe-all-autoconf:
2842 @if autoconf
2843 maybe-all-autoconf: all-autoconf
2844 all-autoconf: configure-autoconf
2845         @r=`${PWD_COMMAND}`; export r; \
2846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847         $(SET_LIB_PATH) \
2848         $(HOST_EXPORTS) \
2849         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS)  all)
2850 @endif autoconf
2851
2852 .PHONY: check-autoconf maybe-check-autoconf
2853 maybe-check-autoconf:
2854 @if autoconf
2855 maybe-check-autoconf: check-autoconf
2856
2857 check-autoconf:
2858         @r=`${PWD_COMMAND}`; export r; \
2859         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2860         $(SET_LIB_PATH) \
2861         $(HOST_EXPORTS) \
2862         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2863
2864 @endif autoconf
2865
2866 .PHONY: install-autoconf maybe-install-autoconf
2867 maybe-install-autoconf:
2868 @if autoconf
2869 maybe-install-autoconf: install-autoconf
2870
2871 install-autoconf: installdirs
2872         @r=`${PWD_COMMAND}`; export r; \
2873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874         $(SET_LIB_PATH) \
2875         $(HOST_EXPORTS) \
2876         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2877
2878 @endif autoconf
2879
2880 # Other targets (info, dvi, etc.)
2881
2882 .PHONY: maybe-info-autoconf info-autoconf
2883 maybe-info-autoconf:
2884 @if autoconf
2885 maybe-info-autoconf: info-autoconf
2886
2887 info-autoconf: \
2888     configure-autoconf 
2889         @[ -f ./autoconf/Makefile ] || exit 0; \
2890         r=`${PWD_COMMAND}`; export r; \
2891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2892         $(SET_LIB_PATH) \
2893         $(HOST_EXPORTS) \
2894         for flag in $(EXTRA_HOST_FLAGS) ; do \
2895           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2896         done; \
2897         echo "Doing info in autoconf" ; \
2898         (cd autoconf && \
2899           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2900                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2901                   "RANLIB=$${RANLIB}" \
2902                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2903                   info) \
2904           || exit 1
2905
2906 @endif autoconf
2907
2908 .PHONY: maybe-dvi-autoconf dvi-autoconf
2909 maybe-dvi-autoconf:
2910 @if autoconf
2911 maybe-dvi-autoconf: dvi-autoconf
2912
2913 dvi-autoconf: \
2914     configure-autoconf 
2915         @[ -f ./autoconf/Makefile ] || exit 0; \
2916         r=`${PWD_COMMAND}`; export r; \
2917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2918         $(SET_LIB_PATH) \
2919         $(HOST_EXPORTS) \
2920         for flag in $(EXTRA_HOST_FLAGS) ; do \
2921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2922         done; \
2923         echo "Doing dvi in autoconf" ; \
2924         (cd autoconf && \
2925           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2926                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2927                   "RANLIB=$${RANLIB}" \
2928                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2929                   dvi) \
2930           || exit 1
2931
2932 @endif autoconf
2933
2934 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2935 maybe-TAGS-autoconf:
2936 @if autoconf
2937 maybe-TAGS-autoconf: TAGS-autoconf
2938
2939 TAGS-autoconf: \
2940     configure-autoconf 
2941         @[ -f ./autoconf/Makefile ] || exit 0; \
2942         r=`${PWD_COMMAND}`; export r; \
2943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2944         $(SET_LIB_PATH) \
2945         $(HOST_EXPORTS) \
2946         for flag in $(EXTRA_HOST_FLAGS) ; do \
2947           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2948         done; \
2949         echo "Doing TAGS in autoconf" ; \
2950         (cd autoconf && \
2951           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2952                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2953                   "RANLIB=$${RANLIB}" \
2954                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2955                   TAGS) \
2956           || exit 1
2957
2958 @endif autoconf
2959
2960 .PHONY: maybe-install-info-autoconf install-info-autoconf
2961 maybe-install-info-autoconf:
2962 @if autoconf
2963 maybe-install-info-autoconf: install-info-autoconf
2964
2965 install-info-autoconf: \
2966     configure-autoconf \
2967     info-autoconf 
2968         @[ -f ./autoconf/Makefile ] || exit 0; \
2969         r=`${PWD_COMMAND}`; export r; \
2970         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2971         $(SET_LIB_PATH) \
2972         $(HOST_EXPORTS) \
2973         for flag in $(EXTRA_HOST_FLAGS) ; do \
2974           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2975         done; \
2976         echo "Doing install-info in autoconf" ; \
2977         (cd autoconf && \
2978           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2979                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2980                   "RANLIB=$${RANLIB}" \
2981                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2982                   install-info) \
2983           || exit 1
2984
2985 @endif autoconf
2986
2987 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2988 maybe-installcheck-autoconf:
2989 @if autoconf
2990 maybe-installcheck-autoconf: installcheck-autoconf
2991
2992 installcheck-autoconf: \
2993     configure-autoconf 
2994         @[ -f ./autoconf/Makefile ] || exit 0; \
2995         r=`${PWD_COMMAND}`; export r; \
2996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2997         $(SET_LIB_PATH) \
2998         $(HOST_EXPORTS) \
2999         for flag in $(EXTRA_HOST_FLAGS) ; do \
3000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3001         done; \
3002         echo "Doing installcheck in autoconf" ; \
3003         (cd autoconf && \
3004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3006                   "RANLIB=$${RANLIB}" \
3007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3008                   installcheck) \
3009           || exit 1
3010
3011 @endif autoconf
3012
3013 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3014 maybe-mostlyclean-autoconf:
3015 @if autoconf
3016 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3017
3018 mostlyclean-autoconf: 
3019         @[ -f ./autoconf/Makefile ] || exit 0; \
3020         r=`${PWD_COMMAND}`; export r; \
3021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022         $(SET_LIB_PATH) \
3023         $(HOST_EXPORTS) \
3024         for flag in $(EXTRA_HOST_FLAGS) ; do \
3025           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3026         done; \
3027         echo "Doing mostlyclean in autoconf" ; \
3028         (cd autoconf && \
3029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3031                   "RANLIB=$${RANLIB}" \
3032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3033                   mostlyclean) \
3034           || exit 1
3035
3036 @endif autoconf
3037
3038 .PHONY: maybe-clean-autoconf clean-autoconf
3039 maybe-clean-autoconf:
3040 @if autoconf
3041 maybe-clean-autoconf: clean-autoconf
3042
3043 clean-autoconf: 
3044         @[ -f ./autoconf/Makefile ] || exit 0; \
3045         r=`${PWD_COMMAND}`; export r; \
3046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047         $(SET_LIB_PATH) \
3048         $(HOST_EXPORTS) \
3049         for flag in $(EXTRA_HOST_FLAGS) ; do \
3050           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3051         done; \
3052         echo "Doing clean in autoconf" ; \
3053         (cd autoconf && \
3054           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3055                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3056                   "RANLIB=$${RANLIB}" \
3057                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3058                   clean) \
3059           || exit 1
3060
3061 @endif autoconf
3062
3063 .PHONY: maybe-distclean-autoconf distclean-autoconf
3064 maybe-distclean-autoconf:
3065 @if autoconf
3066 maybe-distclean-autoconf: distclean-autoconf
3067
3068 distclean-autoconf: 
3069         @[ -f ./autoconf/Makefile ] || exit 0; \
3070         r=`${PWD_COMMAND}`; export r; \
3071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072         $(SET_LIB_PATH) \
3073         $(HOST_EXPORTS) \
3074         for flag in $(EXTRA_HOST_FLAGS) ; do \
3075           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3076         done; \
3077         echo "Doing distclean in autoconf" ; \
3078         (cd autoconf && \
3079           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3080                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3081                   "RANLIB=$${RANLIB}" \
3082                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3083                   distclean) \
3084           || exit 1
3085
3086 @endif autoconf
3087
3088 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3089 maybe-maintainer-clean-autoconf:
3090 @if autoconf
3091 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3092
3093 maintainer-clean-autoconf: 
3094         @[ -f ./autoconf/Makefile ] || exit 0; \
3095         r=`${PWD_COMMAND}`; export r; \
3096         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097         $(SET_LIB_PATH) \
3098         $(HOST_EXPORTS) \
3099         for flag in $(EXTRA_HOST_FLAGS) ; do \
3100           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3101         done; \
3102         echo "Doing maintainer-clean in autoconf" ; \
3103         (cd autoconf && \
3104           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3105                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3106                   "RANLIB=$${RANLIB}" \
3107                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3108                   maintainer-clean) \
3109           || exit 1
3110
3111 @endif autoconf
3112
3113
3114 .PHONY: configure-automake maybe-configure-automake
3115 maybe-configure-automake:
3116 @if automake
3117 maybe-configure-automake: configure-automake
3118 configure-automake:
3119         @test ! -f automake/Makefile || exit 0; \
3120         [ -d automake ] || mkdir automake; \
3121         r=`${PWD_COMMAND}`; export r; \
3122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3123         $(HOST_EXPORTS) \
3124         echo Configuring in automake; \
3125         cd automake || exit 1; \
3126         case $(srcdir) in \
3127           \.) \
3128             srcdiroption="--srcdir=."; \
3129             libsrcdir=".";; \
3130           /* | [A-Za-z]:[\\/]*) \
3131             srcdiroption="--srcdir=$(srcdir)/automake"; \
3132             libsrcdir="$$s/automake";; \
3133           *) \
3134             srcdiroption="--srcdir=../$(srcdir)/automake"; \
3135             libsrcdir="$$s/automake";; \
3136         esac; \
3137         $(SHELL) $${libsrcdir}/configure \
3138           $(HOST_CONFIGARGS) $${srcdiroption}  \
3139           || exit 1
3140 @endif automake
3141
3142 .PHONY: all-automake maybe-all-automake
3143 maybe-all-automake:
3144 @if automake
3145 maybe-all-automake: all-automake
3146 all-automake: configure-automake
3147         @r=`${PWD_COMMAND}`; export r; \
3148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3149         $(SET_LIB_PATH) \
3150         $(HOST_EXPORTS) \
3151         (cd automake && $(MAKE) $(FLAGS_TO_PASS)  all)
3152 @endif automake
3153
3154 .PHONY: check-automake maybe-check-automake
3155 maybe-check-automake:
3156 @if automake
3157 maybe-check-automake: check-automake
3158
3159 check-automake:
3160         @r=`${PWD_COMMAND}`; export r; \
3161         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3162         $(SET_LIB_PATH) \
3163         $(HOST_EXPORTS) \
3164         (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3165
3166 @endif automake
3167
3168 .PHONY: install-automake maybe-install-automake
3169 maybe-install-automake:
3170 @if automake
3171 maybe-install-automake: install-automake
3172
3173 install-automake: installdirs
3174         @r=`${PWD_COMMAND}`; export r; \
3175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3176         $(SET_LIB_PATH) \
3177         $(HOST_EXPORTS) \
3178         (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3179
3180 @endif automake
3181
3182 # Other targets (info, dvi, etc.)
3183
3184 .PHONY: maybe-info-automake info-automake
3185 maybe-info-automake:
3186 @if automake
3187 maybe-info-automake: info-automake
3188
3189 info-automake: \
3190     configure-automake 
3191         @[ -f ./automake/Makefile ] || exit 0; \
3192         r=`${PWD_COMMAND}`; export r; \
3193         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194         $(SET_LIB_PATH) \
3195         $(HOST_EXPORTS) \
3196         for flag in $(EXTRA_HOST_FLAGS) ; do \
3197           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3198         done; \
3199         echo "Doing info in automake" ; \
3200         (cd automake && \
3201           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3202                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3203                   "RANLIB=$${RANLIB}" \
3204                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3205                   info) \
3206           || exit 1
3207
3208 @endif automake
3209
3210 .PHONY: maybe-dvi-automake dvi-automake
3211 maybe-dvi-automake:
3212 @if automake
3213 maybe-dvi-automake: dvi-automake
3214
3215 dvi-automake: \
3216     configure-automake 
3217         @[ -f ./automake/Makefile ] || exit 0; \
3218         r=`${PWD_COMMAND}`; export r; \
3219         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3220         $(SET_LIB_PATH) \
3221         $(HOST_EXPORTS) \
3222         for flag in $(EXTRA_HOST_FLAGS) ; do \
3223           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3224         done; \
3225         echo "Doing dvi in automake" ; \
3226         (cd automake && \
3227           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3228                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3229                   "RANLIB=$${RANLIB}" \
3230                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3231                   dvi) \
3232           || exit 1
3233
3234 @endif automake
3235
3236 .PHONY: maybe-TAGS-automake TAGS-automake
3237 maybe-TAGS-automake:
3238 @if automake
3239 maybe-TAGS-automake: TAGS-automake
3240
3241 TAGS-automake: \
3242     configure-automake 
3243         @[ -f ./automake/Makefile ] || exit 0; \
3244         r=`${PWD_COMMAND}`; export r; \
3245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3246         $(SET_LIB_PATH) \
3247         $(HOST_EXPORTS) \
3248         for flag in $(EXTRA_HOST_FLAGS) ; do \
3249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3250         done; \
3251         echo "Doing TAGS in automake" ; \
3252         (cd automake && \
3253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3255                   "RANLIB=$${RANLIB}" \
3256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3257                   TAGS) \
3258           || exit 1
3259
3260 @endif automake
3261
3262 .PHONY: maybe-install-info-automake install-info-automake
3263 maybe-install-info-automake:
3264 @if automake
3265 maybe-install-info-automake: install-info-automake
3266
3267 install-info-automake: \
3268     configure-automake \
3269     info-automake 
3270         @[ -f ./automake/Makefile ] || exit 0; \
3271         r=`${PWD_COMMAND}`; export r; \
3272         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273         $(SET_LIB_PATH) \
3274         $(HOST_EXPORTS) \
3275         for flag in $(EXTRA_HOST_FLAGS) ; do \
3276           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3277         done; \
3278         echo "Doing install-info in automake" ; \
3279         (cd automake && \
3280           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3281                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3282                   "RANLIB=$${RANLIB}" \
3283                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3284                   install-info) \
3285           || exit 1
3286
3287 @endif automake
3288
3289 .PHONY: maybe-installcheck-automake installcheck-automake
3290 maybe-installcheck-automake:
3291 @if automake
3292 maybe-installcheck-automake: installcheck-automake
3293
3294 installcheck-automake: \
3295     configure-automake 
3296         @[ -f ./automake/Makefile ] || exit 0; \
3297         r=`${PWD_COMMAND}`; export r; \
3298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3299         $(SET_LIB_PATH) \
3300         $(HOST_EXPORTS) \
3301         for flag in $(EXTRA_HOST_FLAGS) ; do \
3302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3303         done; \
3304         echo "Doing installcheck in automake" ; \
3305         (cd automake && \
3306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3308                   "RANLIB=$${RANLIB}" \
3309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3310                   installcheck) \
3311           || exit 1
3312
3313 @endif automake
3314
3315 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3316 maybe-mostlyclean-automake:
3317 @if automake
3318 maybe-mostlyclean-automake: mostlyclean-automake
3319
3320 mostlyclean-automake: 
3321         @[ -f ./automake/Makefile ] || exit 0; \
3322         r=`${PWD_COMMAND}`; export r; \
3323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324         $(SET_LIB_PATH) \
3325         $(HOST_EXPORTS) \
3326         for flag in $(EXTRA_HOST_FLAGS) ; do \
3327           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3328         done; \
3329         echo "Doing mostlyclean in automake" ; \
3330         (cd automake && \
3331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3333                   "RANLIB=$${RANLIB}" \
3334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3335                   mostlyclean) \
3336           || exit 1
3337
3338 @endif automake
3339
3340 .PHONY: maybe-clean-automake clean-automake
3341 maybe-clean-automake:
3342 @if automake
3343 maybe-clean-automake: clean-automake
3344
3345 clean-automake: 
3346         @[ -f ./automake/Makefile ] || exit 0; \
3347         r=`${PWD_COMMAND}`; export r; \
3348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349         $(SET_LIB_PATH) \
3350         $(HOST_EXPORTS) \
3351         for flag in $(EXTRA_HOST_FLAGS) ; do \
3352           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3353         done; \
3354         echo "Doing clean in automake" ; \
3355         (cd automake && \
3356           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3357                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3358                   "RANLIB=$${RANLIB}" \
3359                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3360                   clean) \
3361           || exit 1
3362
3363 @endif automake
3364
3365 .PHONY: maybe-distclean-automake distclean-automake
3366 maybe-distclean-automake:
3367 @if automake
3368 maybe-distclean-automake: distclean-automake
3369
3370 distclean-automake: 
3371         @[ -f ./automake/Makefile ] || exit 0; \
3372         r=`${PWD_COMMAND}`; export r; \
3373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374         $(SET_LIB_PATH) \
3375         $(HOST_EXPORTS) \
3376         for flag in $(EXTRA_HOST_FLAGS) ; do \
3377           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378         done; \
3379         echo "Doing distclean in automake" ; \
3380         (cd automake && \
3381           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383                   "RANLIB=$${RANLIB}" \
3384                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3385                   distclean) \
3386           || exit 1
3387
3388 @endif automake
3389
3390 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3391 maybe-maintainer-clean-automake:
3392 @if automake
3393 maybe-maintainer-clean-automake: maintainer-clean-automake
3394
3395 maintainer-clean-automake: 
3396         @[ -f ./automake/Makefile ] || exit 0; \
3397         r=`${PWD_COMMAND}`; export r; \
3398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399         $(SET_LIB_PATH) \
3400         $(HOST_EXPORTS) \
3401         for flag in $(EXTRA_HOST_FLAGS) ; do \
3402           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403         done; \
3404         echo "Doing maintainer-clean in automake" ; \
3405         (cd automake && \
3406           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408                   "RANLIB=$${RANLIB}" \
3409                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3410                   maintainer-clean) \
3411           || exit 1
3412
3413 @endif automake
3414
3415
3416 .PHONY: configure-bash maybe-configure-bash
3417 maybe-configure-bash:
3418 @if bash
3419 maybe-configure-bash: configure-bash
3420 configure-bash:
3421         @test ! -f bash/Makefile || exit 0; \
3422         [ -d bash ] || mkdir bash; \
3423         r=`${PWD_COMMAND}`; export r; \
3424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425         $(HOST_EXPORTS) \
3426         echo Configuring in bash; \
3427         cd bash || exit 1; \
3428         case $(srcdir) in \
3429           \.) \
3430             srcdiroption="--srcdir=."; \
3431             libsrcdir=".";; \
3432           /* | [A-Za-z]:[\\/]*) \
3433             srcdiroption="--srcdir=$(srcdir)/bash"; \
3434             libsrcdir="$$s/bash";; \
3435           *) \
3436             srcdiroption="--srcdir=../$(srcdir)/bash"; \
3437             libsrcdir="$$s/bash";; \
3438         esac; \
3439         $(SHELL) $${libsrcdir}/configure \
3440           $(HOST_CONFIGARGS) $${srcdiroption}  \
3441           || exit 1
3442 @endif bash
3443
3444 .PHONY: all-bash maybe-all-bash
3445 maybe-all-bash:
3446 @if bash
3447 maybe-all-bash: all-bash
3448 all-bash: configure-bash
3449         @r=`${PWD_COMMAND}`; export r; \
3450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3451         $(SET_LIB_PATH) \
3452         $(HOST_EXPORTS) \
3453         (cd bash && $(MAKE) $(FLAGS_TO_PASS)  all)
3454 @endif bash
3455
3456 .PHONY: check-bash maybe-check-bash
3457 maybe-check-bash:
3458 @if bash
3459 maybe-check-bash: check-bash
3460
3461 check-bash:
3462         @r=`${PWD_COMMAND}`; export r; \
3463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464         $(SET_LIB_PATH) \
3465         $(HOST_EXPORTS) \
3466         (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3467
3468 @endif bash
3469
3470 .PHONY: install-bash maybe-install-bash
3471 maybe-install-bash:
3472 @if bash
3473 maybe-install-bash: install-bash
3474
3475 install-bash: installdirs
3476         @r=`${PWD_COMMAND}`; export r; \
3477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478         $(SET_LIB_PATH) \
3479         $(HOST_EXPORTS) \
3480         (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3481
3482 @endif bash
3483
3484 # Other targets (info, dvi, etc.)
3485
3486 .PHONY: maybe-info-bash info-bash
3487 maybe-info-bash:
3488 @if bash
3489 maybe-info-bash: info-bash
3490
3491 info-bash: \
3492     configure-bash 
3493         @[ -f ./bash/Makefile ] || exit 0; \
3494         r=`${PWD_COMMAND}`; export r; \
3495         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3496         $(SET_LIB_PATH) \
3497         $(HOST_EXPORTS) \
3498         for flag in $(EXTRA_HOST_FLAGS) ; do \
3499           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3500         done; \
3501         echo "Doing info in bash" ; \
3502         (cd bash && \
3503           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3504                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3505                   "RANLIB=$${RANLIB}" \
3506                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3507                   info) \
3508           || exit 1
3509
3510 @endif bash
3511
3512 .PHONY: maybe-dvi-bash dvi-bash
3513 maybe-dvi-bash:
3514 @if bash
3515 maybe-dvi-bash: dvi-bash
3516
3517 dvi-bash: \
3518     configure-bash 
3519         @[ -f ./bash/Makefile ] || exit 0; \
3520         r=`${PWD_COMMAND}`; export r; \
3521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522         $(SET_LIB_PATH) \
3523         $(HOST_EXPORTS) \
3524         for flag in $(EXTRA_HOST_FLAGS) ; do \
3525           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3526         done; \
3527         echo "Doing dvi in bash" ; \
3528         (cd bash && \
3529           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3530                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3531                   "RANLIB=$${RANLIB}" \
3532                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3533                   dvi) \
3534           || exit 1
3535
3536 @endif bash
3537
3538 .PHONY: maybe-TAGS-bash TAGS-bash
3539 maybe-TAGS-bash:
3540 @if bash
3541 maybe-TAGS-bash: TAGS-bash
3542
3543 TAGS-bash: \
3544     configure-bash 
3545         @[ -f ./bash/Makefile ] || exit 0; \
3546         r=`${PWD_COMMAND}`; export r; \
3547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548         $(SET_LIB_PATH) \
3549         $(HOST_EXPORTS) \
3550         for flag in $(EXTRA_HOST_FLAGS) ; do \
3551           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3552         done; \
3553         echo "Doing TAGS in bash" ; \
3554         (cd bash && \
3555           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3556                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3557                   "RANLIB=$${RANLIB}" \
3558                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3559                   TAGS) \
3560           || exit 1
3561
3562 @endif bash
3563
3564 .PHONY: maybe-install-info-bash install-info-bash
3565 maybe-install-info-bash:
3566 @if bash
3567 maybe-install-info-bash: install-info-bash
3568
3569 install-info-bash: \
3570     configure-bash \
3571     info-bash 
3572         @[ -f ./bash/Makefile ] || exit 0; \
3573         r=`${PWD_COMMAND}`; export r; \
3574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3575         $(SET_LIB_PATH) \
3576         $(HOST_EXPORTS) \
3577         for flag in $(EXTRA_HOST_FLAGS) ; do \
3578           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579         done; \
3580         echo "Doing install-info in bash" ; \
3581         (cd bash && \
3582           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584                   "RANLIB=$${RANLIB}" \
3585                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586                   install-info) \
3587           || exit 1
3588
3589 @endif bash
3590
3591 .PHONY: maybe-installcheck-bash installcheck-bash
3592 maybe-installcheck-bash:
3593 @if bash
3594 maybe-installcheck-bash: installcheck-bash
3595
3596 installcheck-bash: \
3597     configure-bash 
3598         @[ -f ./bash/Makefile ] || exit 0; \
3599         r=`${PWD_COMMAND}`; export r; \
3600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3601         $(SET_LIB_PATH) \
3602         $(HOST_EXPORTS) \
3603         for flag in $(EXTRA_HOST_FLAGS) ; do \
3604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3605         done; \
3606         echo "Doing installcheck in bash" ; \
3607         (cd bash && \
3608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610                   "RANLIB=$${RANLIB}" \
3611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3612                   installcheck) \
3613           || exit 1
3614
3615 @endif bash
3616
3617 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3618 maybe-mostlyclean-bash:
3619 @if bash
3620 maybe-mostlyclean-bash: mostlyclean-bash
3621
3622 mostlyclean-bash: 
3623         @[ -f ./bash/Makefile ] || exit 0; \
3624         r=`${PWD_COMMAND}`; export r; \
3625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626         $(SET_LIB_PATH) \
3627         $(HOST_EXPORTS) \
3628         for flag in $(EXTRA_HOST_FLAGS) ; do \
3629           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3630         done; \
3631         echo "Doing mostlyclean in bash" ; \
3632         (cd bash && \
3633           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3634                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3635                   "RANLIB=$${RANLIB}" \
3636                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3637                   mostlyclean) \
3638           || exit 1
3639
3640 @endif bash
3641
3642 .PHONY: maybe-clean-bash clean-bash
3643 maybe-clean-bash:
3644 @if bash
3645 maybe-clean-bash: clean-bash
3646
3647 clean-bash: 
3648         @[ -f ./bash/Makefile ] || exit 0; \
3649         r=`${PWD_COMMAND}`; export r; \
3650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3651         $(SET_LIB_PATH) \
3652         $(HOST_EXPORTS) \
3653         for flag in $(EXTRA_HOST_FLAGS) ; do \
3654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655         done; \
3656         echo "Doing clean in bash" ; \
3657         (cd bash && \
3658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660                   "RANLIB=$${RANLIB}" \
3661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3662                   clean) \
3663           || exit 1
3664
3665 @endif bash
3666
3667 .PHONY: maybe-distclean-bash distclean-bash
3668 maybe-distclean-bash:
3669 @if bash
3670 maybe-distclean-bash: distclean-bash
3671
3672 distclean-bash: 
3673         @[ -f ./bash/Makefile ] || exit 0; \
3674         r=`${PWD_COMMAND}`; export r; \
3675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676         $(SET_LIB_PATH) \
3677         $(HOST_EXPORTS) \
3678         for flag in $(EXTRA_HOST_FLAGS) ; do \
3679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680         done; \
3681         echo "Doing distclean in bash" ; \
3682         (cd bash && \
3683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685                   "RANLIB=$${RANLIB}" \
3686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3687                   distclean) \
3688           || exit 1
3689
3690 @endif bash
3691
3692 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3693 maybe-maintainer-clean-bash:
3694 @if bash
3695 maybe-maintainer-clean-bash: maintainer-clean-bash
3696
3697 maintainer-clean-bash: 
3698         @[ -f ./bash/Makefile ] || exit 0; \
3699         r=`${PWD_COMMAND}`; export r; \
3700         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701         $(SET_LIB_PATH) \
3702         $(HOST_EXPORTS) \
3703         for flag in $(EXTRA_HOST_FLAGS) ; do \
3704           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3705         done; \
3706         echo "Doing maintainer-clean in bash" ; \
3707         (cd bash && \
3708           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710                   "RANLIB=$${RANLIB}" \
3711                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3712                   maintainer-clean) \
3713           || exit 1
3714
3715 @endif bash
3716
3717
3718 .PHONY: configure-bfd maybe-configure-bfd
3719 maybe-configure-bfd:
3720 @if bfd
3721 maybe-configure-bfd: configure-bfd
3722 configure-bfd:
3723         @test -f stage_last && exit 0; \
3724         test ! -f bfd/Makefile || exit 0; \
3725         [ -d bfd ] || mkdir bfd; \
3726         r=`${PWD_COMMAND}`; export r; \
3727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728         $(HOST_EXPORTS) \
3729         echo Configuring in bfd; \
3730         cd bfd || exit 1; \
3731         case $(srcdir) in \
3732           \.) \
3733             srcdiroption="--srcdir=."; \
3734             libsrcdir=".";; \
3735           /* | [A-Za-z]:[\\/]*) \
3736             srcdiroption="--srcdir=$(srcdir)/bfd"; \
3737             libsrcdir="$$s/bfd";; \
3738           *) \
3739             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3740             libsrcdir="$$s/bfd";; \
3741         esac; \
3742         $(SHELL) $${libsrcdir}/configure \
3743           $(HOST_CONFIGARGS) $${srcdiroption}  \
3744           || exit 1
3745 @endif bfd
3746
3747 .PHONY: all-bfd maybe-all-bfd
3748 maybe-all-bfd:
3749 @if bfd
3750 maybe-all-bfd: all-bfd
3751 all-bfd: configure-bfd
3752         @test -f stage_last && exit 0; \
3753         r=`${PWD_COMMAND}`; export r; \
3754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3755         $(SET_LIB_PATH) \
3756         $(HOST_EXPORTS) \
3757         (cd bfd && $(MAKE) $(FLAGS_TO_PASS)  all)
3758 @endif bfd
3759
3760 .PHONY: check-bfd maybe-check-bfd
3761 maybe-check-bfd:
3762 @if bfd
3763 maybe-check-bfd: check-bfd
3764
3765 check-bfd:
3766         @r=`${PWD_COMMAND}`; export r; \
3767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3768         $(SET_LIB_PATH) \
3769         $(HOST_EXPORTS) \
3770         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3771
3772 @endif bfd
3773
3774 .PHONY: install-bfd maybe-install-bfd
3775 maybe-install-bfd:
3776 @if bfd
3777 maybe-install-bfd: install-bfd
3778
3779 install-bfd: installdirs
3780         @r=`${PWD_COMMAND}`; export r; \
3781         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3782         $(SET_LIB_PATH) \
3783         $(HOST_EXPORTS) \
3784         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3785
3786 @endif bfd
3787
3788 # Other targets (info, dvi, etc.)
3789
3790 .PHONY: maybe-info-bfd info-bfd
3791 maybe-info-bfd:
3792 @if bfd
3793 maybe-info-bfd: info-bfd
3794
3795 info-bfd: \
3796     configure-bfd 
3797         @[ -f ./bfd/Makefile ] || exit 0; \
3798         r=`${PWD_COMMAND}`; export r; \
3799         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800         $(SET_LIB_PATH) \
3801         $(HOST_EXPORTS) \
3802         for flag in $(EXTRA_HOST_FLAGS) ; do \
3803           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3804         done; \
3805         echo "Doing info in bfd" ; \
3806         (cd bfd && \
3807           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3808                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3809                   "RANLIB=$${RANLIB}" \
3810                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3811                   info) \
3812           || exit 1
3813
3814 @endif bfd
3815
3816 .PHONY: maybe-dvi-bfd dvi-bfd
3817 maybe-dvi-bfd:
3818 @if bfd
3819 maybe-dvi-bfd: dvi-bfd
3820
3821 dvi-bfd: \
3822     configure-bfd 
3823         @[ -f ./bfd/Makefile ] || exit 0; \
3824         r=`${PWD_COMMAND}`; export r; \
3825         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826         $(SET_LIB_PATH) \
3827         $(HOST_EXPORTS) \
3828         for flag in $(EXTRA_HOST_FLAGS) ; do \
3829           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830         done; \
3831         echo "Doing dvi in bfd" ; \
3832         (cd bfd && \
3833           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835                   "RANLIB=$${RANLIB}" \
3836                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3837                   dvi) \
3838           || exit 1
3839
3840 @endif bfd
3841
3842 .PHONY: maybe-TAGS-bfd TAGS-bfd
3843 maybe-TAGS-bfd:
3844 @if bfd
3845 maybe-TAGS-bfd: TAGS-bfd
3846
3847 TAGS-bfd: \
3848     configure-bfd 
3849         @[ -f ./bfd/Makefile ] || exit 0; \
3850         r=`${PWD_COMMAND}`; export r; \
3851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852         $(SET_LIB_PATH) \
3853         $(HOST_EXPORTS) \
3854         for flag in $(EXTRA_HOST_FLAGS) ; do \
3855           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3856         done; \
3857         echo "Doing TAGS in bfd" ; \
3858         (cd bfd && \
3859           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3860                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3861                   "RANLIB=$${RANLIB}" \
3862                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3863                   TAGS) \
3864           || exit 1
3865
3866 @endif bfd
3867
3868 .PHONY: maybe-install-info-bfd install-info-bfd
3869 maybe-install-info-bfd:
3870 @if bfd
3871 maybe-install-info-bfd: install-info-bfd
3872
3873 install-info-bfd: \
3874     configure-bfd \
3875     info-bfd 
3876         @[ -f ./bfd/Makefile ] || exit 0; \
3877         r=`${PWD_COMMAND}`; export r; \
3878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879         $(SET_LIB_PATH) \
3880         $(HOST_EXPORTS) \
3881         for flag in $(EXTRA_HOST_FLAGS) ; do \
3882           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3883         done; \
3884         echo "Doing install-info in bfd" ; \
3885         (cd bfd && \
3886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3888                   "RANLIB=$${RANLIB}" \
3889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3890                   install-info) \
3891           || exit 1
3892
3893 @endif bfd
3894
3895 .PHONY: maybe-installcheck-bfd installcheck-bfd
3896 maybe-installcheck-bfd:
3897 @if bfd
3898 maybe-installcheck-bfd: installcheck-bfd
3899
3900 installcheck-bfd: \
3901     configure-bfd 
3902         @[ -f ./bfd/Makefile ] || exit 0; \
3903         r=`${PWD_COMMAND}`; export r; \
3904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905         $(SET_LIB_PATH) \
3906         $(HOST_EXPORTS) \
3907         for flag in $(EXTRA_HOST_FLAGS) ; do \
3908           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3909         done; \
3910         echo "Doing installcheck in bfd" ; \
3911         (cd bfd && \
3912           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3913                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3914                   "RANLIB=$${RANLIB}" \
3915                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3916                   installcheck) \
3917           || exit 1
3918
3919 @endif bfd
3920
3921 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3922 maybe-mostlyclean-bfd:
3923 @if bfd
3924 maybe-mostlyclean-bfd: mostlyclean-bfd
3925
3926 mostlyclean-bfd: 
3927         @[ -f ./bfd/Makefile ] || exit 0; \
3928         r=`${PWD_COMMAND}`; export r; \
3929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3930         $(SET_LIB_PATH) \
3931         $(HOST_EXPORTS) \
3932         for flag in $(EXTRA_HOST_FLAGS) ; do \
3933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3934         done; \
3935         echo "Doing mostlyclean in bfd" ; \
3936         (cd bfd && \
3937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939                   "RANLIB=$${RANLIB}" \
3940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3941                   mostlyclean) \
3942           || exit 1
3943
3944 @endif bfd
3945
3946 .PHONY: maybe-clean-bfd clean-bfd
3947 maybe-clean-bfd:
3948 @if bfd
3949 maybe-clean-bfd: clean-bfd
3950
3951 clean-bfd: 
3952         @[ -f ./bfd/Makefile ] || exit 0; \
3953         r=`${PWD_COMMAND}`; export r; \
3954         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955         $(SET_LIB_PATH) \
3956         $(HOST_EXPORTS) \
3957         for flag in $(EXTRA_HOST_FLAGS) ; do \
3958           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3959         done; \
3960         echo "Doing clean in bfd" ; \
3961         (cd bfd && \
3962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3964                   "RANLIB=$${RANLIB}" \
3965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3966                   clean) \
3967           || exit 1
3968
3969 @endif bfd
3970
3971 .PHONY: maybe-distclean-bfd distclean-bfd
3972 maybe-distclean-bfd:
3973 @if bfd
3974 maybe-distclean-bfd: distclean-bfd
3975
3976 distclean-bfd: 
3977         @[ -f ./bfd/Makefile ] || exit 0; \
3978         r=`${PWD_COMMAND}`; export r; \
3979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3980         $(SET_LIB_PATH) \
3981         $(HOST_EXPORTS) \
3982         for flag in $(EXTRA_HOST_FLAGS) ; do \
3983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3984         done; \
3985         echo "Doing distclean in bfd" ; \
3986         (cd bfd && \
3987           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3988                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3989                   "RANLIB=$${RANLIB}" \
3990                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3991                   distclean) \
3992           || exit 1
3993
3994 @endif bfd
3995
3996 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3997 maybe-maintainer-clean-bfd:
3998 @if bfd
3999 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4000
4001 maintainer-clean-bfd: 
4002         @[ -f ./bfd/Makefile ] || exit 0; \
4003         r=`${PWD_COMMAND}`; export r; \
4004         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4005         $(SET_LIB_PATH) \
4006         $(HOST_EXPORTS) \
4007         for flag in $(EXTRA_HOST_FLAGS) ; do \
4008           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4009         done; \
4010         echo "Doing maintainer-clean in bfd" ; \
4011         (cd bfd && \
4012           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4013                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4014                   "RANLIB=$${RANLIB}" \
4015                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4016                   maintainer-clean) \
4017           || exit 1
4018
4019 @endif bfd
4020
4021
4022 .PHONY: configure-opcodes maybe-configure-opcodes
4023 maybe-configure-opcodes:
4024 @if opcodes
4025 maybe-configure-opcodes: configure-opcodes
4026 configure-opcodes:
4027         @test -f stage_last && exit 0; \
4028         test ! -f opcodes/Makefile || exit 0; \
4029         [ -d opcodes ] || mkdir opcodes; \
4030         r=`${PWD_COMMAND}`; export r; \
4031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4032         $(HOST_EXPORTS) \
4033         echo Configuring in opcodes; \
4034         cd opcodes || exit 1; \
4035         case $(srcdir) in \
4036           \.) \
4037             srcdiroption="--srcdir=."; \
4038             libsrcdir=".";; \
4039           /* | [A-Za-z]:[\\/]*) \
4040             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4041             libsrcdir="$$s/opcodes";; \
4042           *) \
4043             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4044             libsrcdir="$$s/opcodes";; \
4045         esac; \
4046         $(SHELL) $${libsrcdir}/configure \
4047           $(HOST_CONFIGARGS) $${srcdiroption}  \
4048           || exit 1
4049 @endif opcodes
4050
4051 .PHONY: all-opcodes maybe-all-opcodes
4052 maybe-all-opcodes:
4053 @if opcodes
4054 maybe-all-opcodes: all-opcodes
4055 all-opcodes: configure-opcodes
4056         @test -f stage_last && exit 0; \
4057         r=`${PWD_COMMAND}`; export r; \
4058         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4059         $(SET_LIB_PATH) \
4060         $(HOST_EXPORTS) \
4061         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS)  all)
4062 @endif opcodes
4063
4064 .PHONY: check-opcodes maybe-check-opcodes
4065 maybe-check-opcodes:
4066 @if opcodes
4067 maybe-check-opcodes: check-opcodes
4068
4069 check-opcodes:
4070         @r=`${PWD_COMMAND}`; export r; \
4071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4072         $(SET_LIB_PATH) \
4073         $(HOST_EXPORTS) \
4074         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4075
4076 @endif opcodes
4077
4078 .PHONY: install-opcodes maybe-install-opcodes
4079 maybe-install-opcodes:
4080 @if opcodes
4081 maybe-install-opcodes: install-opcodes
4082
4083 install-opcodes: installdirs
4084         @r=`${PWD_COMMAND}`; export r; \
4085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4086         $(SET_LIB_PATH) \
4087         $(HOST_EXPORTS) \
4088         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4089
4090 @endif opcodes
4091
4092 # Other targets (info, dvi, etc.)
4093
4094 .PHONY: maybe-info-opcodes info-opcodes
4095 maybe-info-opcodes:
4096 @if opcodes
4097 maybe-info-opcodes: info-opcodes
4098
4099 info-opcodes: \
4100     configure-opcodes 
4101         @[ -f ./opcodes/Makefile ] || exit 0; \
4102         r=`${PWD_COMMAND}`; export r; \
4103         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4104         $(SET_LIB_PATH) \
4105         $(HOST_EXPORTS) \
4106         for flag in $(EXTRA_HOST_FLAGS) ; do \
4107           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4108         done; \
4109         echo "Doing info in opcodes" ; \
4110         (cd opcodes && \
4111           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4112                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4113                   "RANLIB=$${RANLIB}" \
4114                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4115                   info) \
4116           || exit 1
4117
4118 @endif opcodes
4119
4120 .PHONY: maybe-dvi-opcodes dvi-opcodes
4121 maybe-dvi-opcodes:
4122 @if opcodes
4123 maybe-dvi-opcodes: dvi-opcodes
4124
4125 dvi-opcodes: \
4126     configure-opcodes 
4127         @[ -f ./opcodes/Makefile ] || exit 0; \
4128         r=`${PWD_COMMAND}`; export r; \
4129         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4130         $(SET_LIB_PATH) \
4131         $(HOST_EXPORTS) \
4132         for flag in $(EXTRA_HOST_FLAGS) ; do \
4133           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4134         done; \
4135         echo "Doing dvi in opcodes" ; \
4136         (cd opcodes && \
4137           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4138                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4139                   "RANLIB=$${RANLIB}" \
4140                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4141                   dvi) \
4142           || exit 1
4143
4144 @endif opcodes
4145
4146 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4147 maybe-TAGS-opcodes:
4148 @if opcodes
4149 maybe-TAGS-opcodes: TAGS-opcodes
4150
4151 TAGS-opcodes: \
4152     configure-opcodes 
4153         @[ -f ./opcodes/Makefile ] || exit 0; \
4154         r=`${PWD_COMMAND}`; export r; \
4155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156         $(SET_LIB_PATH) \
4157         $(HOST_EXPORTS) \
4158         for flag in $(EXTRA_HOST_FLAGS) ; do \
4159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4160         done; \
4161         echo "Doing TAGS in opcodes" ; \
4162         (cd opcodes && \
4163           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4164                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4165                   "RANLIB=$${RANLIB}" \
4166                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4167                   TAGS) \
4168           || exit 1
4169
4170 @endif opcodes
4171
4172 .PHONY: maybe-install-info-opcodes install-info-opcodes
4173 maybe-install-info-opcodes:
4174 @if opcodes
4175 maybe-install-info-opcodes: install-info-opcodes
4176
4177 install-info-opcodes: \
4178     configure-opcodes \
4179     info-opcodes 
4180         @[ -f ./opcodes/Makefile ] || exit 0; \
4181         r=`${PWD_COMMAND}`; export r; \
4182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4183         $(SET_LIB_PATH) \
4184         $(HOST_EXPORTS) \
4185         for flag in $(EXTRA_HOST_FLAGS) ; do \
4186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4187         done; \
4188         echo "Doing install-info in opcodes" ; \
4189         (cd opcodes && \
4190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4192                   "RANLIB=$${RANLIB}" \
4193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4194                   install-info) \
4195           || exit 1
4196
4197 @endif opcodes
4198
4199 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4200 maybe-installcheck-opcodes:
4201 @if opcodes
4202 maybe-installcheck-opcodes: installcheck-opcodes
4203
4204 installcheck-opcodes: \
4205     configure-opcodes 
4206         @[ -f ./opcodes/Makefile ] || exit 0; \
4207         r=`${PWD_COMMAND}`; export r; \
4208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4209         $(SET_LIB_PATH) \
4210         $(HOST_EXPORTS) \
4211         for flag in $(EXTRA_HOST_FLAGS) ; do \
4212           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4213         done; \
4214         echo "Doing installcheck in opcodes" ; \
4215         (cd opcodes && \
4216           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4217                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4218                   "RANLIB=$${RANLIB}" \
4219                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4220                   installcheck) \
4221           || exit 1
4222
4223 @endif opcodes
4224
4225 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4226 maybe-mostlyclean-opcodes:
4227 @if opcodes
4228 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4229
4230 mostlyclean-opcodes: 
4231         @[ -f ./opcodes/Makefile ] || exit 0; \
4232         r=`${PWD_COMMAND}`; export r; \
4233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234         $(SET_LIB_PATH) \
4235         $(HOST_EXPORTS) \
4236         for flag in $(EXTRA_HOST_FLAGS) ; do \
4237           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4238         done; \
4239         echo "Doing mostlyclean in opcodes" ; \
4240         (cd opcodes && \
4241           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4242                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4243                   "RANLIB=$${RANLIB}" \
4244                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4245                   mostlyclean) \
4246           || exit 1
4247
4248 @endif opcodes
4249
4250 .PHONY: maybe-clean-opcodes clean-opcodes
4251 maybe-clean-opcodes:
4252 @if opcodes
4253 maybe-clean-opcodes: clean-opcodes
4254
4255 clean-opcodes: 
4256         @[ -f ./opcodes/Makefile ] || exit 0; \
4257         r=`${PWD_COMMAND}`; export r; \
4258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4259         $(SET_LIB_PATH) \
4260         $(HOST_EXPORTS) \
4261         for flag in $(EXTRA_HOST_FLAGS) ; do \
4262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4263         done; \
4264         echo "Doing clean in opcodes" ; \
4265         (cd opcodes && \
4266           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4267                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4268                   "RANLIB=$${RANLIB}" \
4269                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4270                   clean) \
4271           || exit 1
4272
4273 @endif opcodes
4274
4275 .PHONY: maybe-distclean-opcodes distclean-opcodes
4276 maybe-distclean-opcodes:
4277 @if opcodes
4278 maybe-distclean-opcodes: distclean-opcodes
4279
4280 distclean-opcodes: 
4281         @[ -f ./opcodes/Makefile ] || exit 0; \
4282         r=`${PWD_COMMAND}`; export r; \
4283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4284         $(SET_LIB_PATH) \
4285         $(HOST_EXPORTS) \
4286         for flag in $(EXTRA_HOST_FLAGS) ; do \
4287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4288         done; \
4289         echo "Doing distclean in opcodes" ; \
4290         (cd opcodes && \
4291           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4292                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4293                   "RANLIB=$${RANLIB}" \
4294                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4295                   distclean) \
4296           || exit 1
4297
4298 @endif opcodes
4299
4300 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4301 maybe-maintainer-clean-opcodes:
4302 @if opcodes
4303 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4304
4305 maintainer-clean-opcodes: 
4306         @[ -f ./opcodes/Makefile ] || exit 0; \
4307         r=`${PWD_COMMAND}`; export r; \
4308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4309         $(SET_LIB_PATH) \
4310         $(HOST_EXPORTS) \
4311         for flag in $(EXTRA_HOST_FLAGS) ; do \
4312           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4313         done; \
4314         echo "Doing maintainer-clean in opcodes" ; \
4315         (cd opcodes && \
4316           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4317                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4318                   "RANLIB=$${RANLIB}" \
4319                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4320                   maintainer-clean) \
4321           || exit 1
4322
4323 @endif opcodes
4324
4325
4326 .PHONY: configure-binutils maybe-configure-binutils
4327 maybe-configure-binutils:
4328 @if binutils
4329 maybe-configure-binutils: configure-binutils
4330 configure-binutils:
4331         @test -f stage_last && exit 0; \
4332         test ! -f binutils/Makefile || exit 0; \
4333         [ -d binutils ] || mkdir binutils; \
4334         r=`${PWD_COMMAND}`; export r; \
4335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4336         $(HOST_EXPORTS) \
4337         echo Configuring in binutils; \
4338         cd binutils || exit 1; \
4339         case $(srcdir) in \
4340           \.) \
4341             srcdiroption="--srcdir=."; \
4342             libsrcdir=".";; \
4343           /* | [A-Za-z]:[\\/]*) \
4344             srcdiroption="--srcdir=$(srcdir)/binutils"; \
4345             libsrcdir="$$s/binutils";; \
4346           *) \
4347             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4348             libsrcdir="$$s/binutils";; \
4349         esac; \
4350         $(SHELL) $${libsrcdir}/configure \
4351           $(HOST_CONFIGARGS) $${srcdiroption}  \
4352           || exit 1
4353 @endif binutils
4354
4355 .PHONY: all-binutils maybe-all-binutils
4356 maybe-all-binutils:
4357 @if binutils
4358 maybe-all-binutils: all-binutils
4359 all-binutils: configure-binutils
4360         @test -f stage_last && exit 0; \
4361         r=`${PWD_COMMAND}`; export r; \
4362         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4363         $(SET_LIB_PATH) \
4364         $(HOST_EXPORTS) \
4365         (cd binutils && $(MAKE) $(FLAGS_TO_PASS)  all)
4366 @endif binutils
4367
4368 .PHONY: check-binutils maybe-check-binutils
4369 maybe-check-binutils:
4370 @if binutils
4371 maybe-check-binutils: check-binutils
4372
4373 check-binutils:
4374         @r=`${PWD_COMMAND}`; export r; \
4375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4376         $(SET_LIB_PATH) \
4377         $(HOST_EXPORTS) \
4378         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4379
4380 @endif binutils
4381
4382 .PHONY: install-binutils maybe-install-binutils
4383 maybe-install-binutils:
4384 @if binutils
4385 maybe-install-binutils: install-binutils
4386
4387 install-binutils: installdirs
4388         @r=`${PWD_COMMAND}`; export r; \
4389         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390         $(SET_LIB_PATH) \
4391         $(HOST_EXPORTS) \
4392         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4393
4394 @endif binutils
4395
4396 # Other targets (info, dvi, etc.)
4397
4398 .PHONY: maybe-info-binutils info-binutils
4399 maybe-info-binutils:
4400 @if binutils
4401 maybe-info-binutils: info-binutils
4402
4403 info-binutils: \
4404     configure-binutils 
4405         @[ -f ./binutils/Makefile ] || exit 0; \
4406         r=`${PWD_COMMAND}`; export r; \
4407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4408         $(SET_LIB_PATH) \
4409         $(HOST_EXPORTS) \
4410         for flag in $(EXTRA_HOST_FLAGS) ; do \
4411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4412         done; \
4413         echo "Doing info in binutils" ; \
4414         (cd binutils && \
4415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4417                   "RANLIB=$${RANLIB}" \
4418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4419                   info) \
4420           || exit 1
4421
4422 @endif binutils
4423
4424 .PHONY: maybe-dvi-binutils dvi-binutils
4425 maybe-dvi-binutils:
4426 @if binutils
4427 maybe-dvi-binutils: dvi-binutils
4428
4429 dvi-binutils: \
4430     configure-binutils 
4431         @[ -f ./binutils/Makefile ] || exit 0; \
4432         r=`${PWD_COMMAND}`; export r; \
4433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4434         $(SET_LIB_PATH) \
4435         $(HOST_EXPORTS) \
4436         for flag in $(EXTRA_HOST_FLAGS) ; do \
4437           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4438         done; \
4439         echo "Doing dvi in binutils" ; \
4440         (cd binutils && \
4441           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4442                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4443                   "RANLIB=$${RANLIB}" \
4444                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4445                   dvi) \
4446           || exit 1
4447
4448 @endif binutils
4449
4450 .PHONY: maybe-TAGS-binutils TAGS-binutils
4451 maybe-TAGS-binutils:
4452 @if binutils
4453 maybe-TAGS-binutils: TAGS-binutils
4454
4455 TAGS-binutils: \
4456     configure-binutils 
4457         @[ -f ./binutils/Makefile ] || exit 0; \
4458         r=`${PWD_COMMAND}`; export r; \
4459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4460         $(SET_LIB_PATH) \
4461         $(HOST_EXPORTS) \
4462         for flag in $(EXTRA_HOST_FLAGS) ; do \
4463           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4464         done; \
4465         echo "Doing TAGS in binutils" ; \
4466         (cd binutils && \
4467           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4468                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4469                   "RANLIB=$${RANLIB}" \
4470                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4471                   TAGS) \
4472           || exit 1
4473
4474 @endif binutils
4475
4476 .PHONY: maybe-install-info-binutils install-info-binutils
4477 maybe-install-info-binutils:
4478 @if binutils
4479 maybe-install-info-binutils: install-info-binutils
4480
4481 install-info-binutils: \
4482     configure-binutils \
4483     info-binutils 
4484         @[ -f ./binutils/Makefile ] || exit 0; \
4485         r=`${PWD_COMMAND}`; export r; \
4486         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4487         $(SET_LIB_PATH) \
4488         $(HOST_EXPORTS) \
4489         for flag in $(EXTRA_HOST_FLAGS) ; do \
4490           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4491         done; \
4492         echo "Doing install-info in binutils" ; \
4493         (cd binutils && \
4494           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4495                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4496                   "RANLIB=$${RANLIB}" \
4497                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4498                   install-info) \
4499           || exit 1
4500
4501 @endif binutils
4502
4503 .PHONY: maybe-installcheck-binutils installcheck-binutils
4504 maybe-installcheck-binutils:
4505 @if binutils
4506 maybe-installcheck-binutils: installcheck-binutils
4507
4508 installcheck-binutils: \
4509     configure-binutils 
4510         @[ -f ./binutils/Makefile ] || exit 0; \
4511         r=`${PWD_COMMAND}`; export r; \
4512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513         $(SET_LIB_PATH) \
4514         $(HOST_EXPORTS) \
4515         for flag in $(EXTRA_HOST_FLAGS) ; do \
4516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4517         done; \
4518         echo "Doing installcheck in binutils" ; \
4519         (cd binutils && \
4520           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4521                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4522                   "RANLIB=$${RANLIB}" \
4523                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4524                   installcheck) \
4525           || exit 1
4526
4527 @endif binutils
4528
4529 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4530 maybe-mostlyclean-binutils:
4531 @if binutils
4532 maybe-mostlyclean-binutils: mostlyclean-binutils
4533
4534 mostlyclean-binutils: 
4535         @[ -f ./binutils/Makefile ] || exit 0; \
4536         r=`${PWD_COMMAND}`; export r; \
4537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538         $(SET_LIB_PATH) \
4539         $(HOST_EXPORTS) \
4540         for flag in $(EXTRA_HOST_FLAGS) ; do \
4541           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4542         done; \
4543         echo "Doing mostlyclean in binutils" ; \
4544         (cd binutils && \
4545           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4546                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4547                   "RANLIB=$${RANLIB}" \
4548                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4549                   mostlyclean) \
4550           || exit 1
4551
4552 @endif binutils
4553
4554 .PHONY: maybe-clean-binutils clean-binutils
4555 maybe-clean-binutils:
4556 @if binutils
4557 maybe-clean-binutils: clean-binutils
4558
4559 clean-binutils: 
4560         @[ -f ./binutils/Makefile ] || exit 0; \
4561         r=`${PWD_COMMAND}`; export r; \
4562         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563         $(SET_LIB_PATH) \
4564         $(HOST_EXPORTS) \
4565         for flag in $(EXTRA_HOST_FLAGS) ; do \
4566           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4567         done; \
4568         echo "Doing clean in binutils" ; \
4569         (cd binutils && \
4570           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4571                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4572                   "RANLIB=$${RANLIB}" \
4573                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4574                   clean) \
4575           || exit 1
4576
4577 @endif binutils
4578
4579 .PHONY: maybe-distclean-binutils distclean-binutils
4580 maybe-distclean-binutils:
4581 @if binutils
4582 maybe-distclean-binutils: distclean-binutils
4583
4584 distclean-binutils: 
4585         @[ -f ./binutils/Makefile ] || exit 0; \
4586         r=`${PWD_COMMAND}`; export r; \
4587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4588         $(SET_LIB_PATH) \
4589         $(HOST_EXPORTS) \
4590         for flag in $(EXTRA_HOST_FLAGS) ; do \
4591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4592         done; \
4593         echo "Doing distclean in binutils" ; \
4594         (cd binutils && \
4595           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597                   "RANLIB=$${RANLIB}" \
4598                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4599                   distclean) \
4600           || exit 1
4601
4602 @endif binutils
4603
4604 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4605 maybe-maintainer-clean-binutils:
4606 @if binutils
4607 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4608
4609 maintainer-clean-binutils: 
4610         @[ -f ./binutils/Makefile ] || exit 0; \
4611         r=`${PWD_COMMAND}`; export r; \
4612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4613         $(SET_LIB_PATH) \
4614         $(HOST_EXPORTS) \
4615         for flag in $(EXTRA_HOST_FLAGS) ; do \
4616           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4617         done; \
4618         echo "Doing maintainer-clean in binutils" ; \
4619         (cd binutils && \
4620           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4621                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4622                   "RANLIB=$${RANLIB}" \
4623                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4624                   maintainer-clean) \
4625           || exit 1
4626
4627 @endif binutils
4628
4629
4630 .PHONY: configure-bison maybe-configure-bison
4631 maybe-configure-bison:
4632 @if bison
4633 maybe-configure-bison: configure-bison
4634 configure-bison:
4635         @test ! -f bison/Makefile || exit 0; \
4636         [ -d bison ] || mkdir bison; \
4637         r=`${PWD_COMMAND}`; export r; \
4638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4639         $(HOST_EXPORTS) \
4640         echo Configuring in bison; \
4641         cd bison || exit 1; \
4642         case $(srcdir) in \
4643           \.) \
4644             srcdiroption="--srcdir=."; \
4645             libsrcdir=".";; \
4646           /* | [A-Za-z]:[\\/]*) \
4647             srcdiroption="--srcdir=$(srcdir)/bison"; \
4648             libsrcdir="$$s/bison";; \
4649           *) \
4650             srcdiroption="--srcdir=../$(srcdir)/bison"; \
4651             libsrcdir="$$s/bison";; \
4652         esac; \
4653         $(SHELL) $${libsrcdir}/configure \
4654           $(HOST_CONFIGARGS) $${srcdiroption}  \
4655           || exit 1
4656 @endif bison
4657
4658 .PHONY: all-bison maybe-all-bison
4659 maybe-all-bison:
4660 @if bison
4661 maybe-all-bison: all-bison
4662 all-bison: configure-bison
4663         @r=`${PWD_COMMAND}`; export r; \
4664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4665         $(SET_LIB_PATH) \
4666         $(HOST_EXPORTS) \
4667         (cd bison && $(MAKE) $(FLAGS_TO_PASS)  all)
4668 @endif bison
4669
4670 .PHONY: check-bison maybe-check-bison
4671 maybe-check-bison:
4672 @if bison
4673 maybe-check-bison: check-bison
4674
4675 # This module is only tested in a native toolchain.
4676 check-bison:
4677         @if [ '$(host)' = '$(target)' ] ; then \
4678           r=`${PWD_COMMAND}`; export r; \
4679           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4680           $(SET_LIB_PATH) \
4681           $(HOST_EXPORTS) \
4682           (cd bison && $(MAKE) $(FLAGS_TO_PASS)  check); \
4683         fi
4684
4685 @endif bison
4686
4687 .PHONY: install-bison maybe-install-bison
4688 maybe-install-bison:
4689 @if bison
4690 maybe-install-bison: install-bison
4691
4692 install-bison: installdirs
4693         @r=`${PWD_COMMAND}`; export r; \
4694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4695         $(SET_LIB_PATH) \
4696         $(HOST_EXPORTS) \
4697         (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4698
4699 @endif bison
4700
4701 # Other targets (info, dvi, etc.)
4702
4703 .PHONY: maybe-info-bison info-bison
4704 maybe-info-bison:
4705 @if bison
4706 maybe-info-bison: info-bison
4707
4708 info-bison: \
4709     configure-bison 
4710         @[ -f ./bison/Makefile ] || exit 0; \
4711         r=`${PWD_COMMAND}`; export r; \
4712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713         $(SET_LIB_PATH) \
4714         $(HOST_EXPORTS) \
4715         for flag in $(EXTRA_HOST_FLAGS) ; do \
4716           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4717         done; \
4718         echo "Doing info in bison" ; \
4719         (cd bison && \
4720           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4721                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4722                   "RANLIB=$${RANLIB}" \
4723                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4724                   info) \
4725           || exit 1
4726
4727 @endif bison
4728
4729 .PHONY: maybe-dvi-bison dvi-bison
4730 maybe-dvi-bison:
4731 @if bison
4732 maybe-dvi-bison: dvi-bison
4733
4734 dvi-bison: \
4735     configure-bison 
4736         @[ -f ./bison/Makefile ] || exit 0; \
4737         r=`${PWD_COMMAND}`; export r; \
4738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4739         $(SET_LIB_PATH) \
4740         $(HOST_EXPORTS) \
4741         for flag in $(EXTRA_HOST_FLAGS) ; do \
4742           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4743         done; \
4744         echo "Doing dvi in bison" ; \
4745         (cd bison && \
4746           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4747                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4748                   "RANLIB=$${RANLIB}" \
4749                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4750                   dvi) \
4751           || exit 1
4752
4753 @endif bison
4754
4755 .PHONY: maybe-TAGS-bison TAGS-bison
4756 maybe-TAGS-bison:
4757 @if bison
4758 maybe-TAGS-bison: TAGS-bison
4759
4760 TAGS-bison: \
4761     configure-bison 
4762         @[ -f ./bison/Makefile ] || exit 0; \
4763         r=`${PWD_COMMAND}`; export r; \
4764         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4765         $(SET_LIB_PATH) \
4766         $(HOST_EXPORTS) \
4767         for flag in $(EXTRA_HOST_FLAGS) ; do \
4768           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4769         done; \
4770         echo "Doing TAGS in bison" ; \
4771         (cd bison && \
4772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4774                   "RANLIB=$${RANLIB}" \
4775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4776                   TAGS) \
4777           || exit 1
4778
4779 @endif bison
4780
4781 .PHONY: maybe-install-info-bison install-info-bison
4782 maybe-install-info-bison:
4783 @if bison
4784 maybe-install-info-bison: install-info-bison
4785
4786 install-info-bison: \
4787     configure-bison \
4788     info-bison 
4789         @[ -f ./bison/Makefile ] || exit 0; \
4790         r=`${PWD_COMMAND}`; export r; \
4791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4792         $(SET_LIB_PATH) \
4793         $(HOST_EXPORTS) \
4794         for flag in $(EXTRA_HOST_FLAGS) ; do \
4795           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4796         done; \
4797         echo "Doing install-info in bison" ; \
4798         (cd bison && \
4799           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4800                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4801                   "RANLIB=$${RANLIB}" \
4802                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4803                   install-info) \
4804           || exit 1
4805
4806 @endif bison
4807
4808 .PHONY: maybe-installcheck-bison installcheck-bison
4809 maybe-installcheck-bison:
4810 @if bison
4811 maybe-installcheck-bison: installcheck-bison
4812
4813 installcheck-bison: \
4814     configure-bison 
4815         @[ -f ./bison/Makefile ] || exit 0; \
4816         r=`${PWD_COMMAND}`; export r; \
4817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4818         $(SET_LIB_PATH) \
4819         $(HOST_EXPORTS) \
4820         for flag in $(EXTRA_HOST_FLAGS) ; do \
4821           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4822         done; \
4823         echo "Doing installcheck in bison" ; \
4824         (cd bison && \
4825           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4826                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4827                   "RANLIB=$${RANLIB}" \
4828                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4829                   installcheck) \
4830           || exit 1
4831
4832 @endif bison
4833
4834 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4835 maybe-mostlyclean-bison:
4836 @if bison
4837 maybe-mostlyclean-bison: mostlyclean-bison
4838
4839 mostlyclean-bison: 
4840         @[ -f ./bison/Makefile ] || exit 0; \
4841         r=`${PWD_COMMAND}`; export r; \
4842         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4843         $(SET_LIB_PATH) \
4844         $(HOST_EXPORTS) \
4845         for flag in $(EXTRA_HOST_FLAGS) ; do \
4846           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4847         done; \
4848         echo "Doing mostlyclean in bison" ; \
4849         (cd bison && \
4850           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4851                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4852                   "RANLIB=$${RANLIB}" \
4853                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4854                   mostlyclean) \
4855           || exit 1
4856
4857 @endif bison
4858
4859 .PHONY: maybe-clean-bison clean-bison
4860 maybe-clean-bison:
4861 @if bison
4862 maybe-clean-bison: clean-bison
4863
4864 clean-bison: 
4865         @[ -f ./bison/Makefile ] || exit 0; \
4866         r=`${PWD_COMMAND}`; export r; \
4867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4868         $(SET_LIB_PATH) \
4869         $(HOST_EXPORTS) \
4870         for flag in $(EXTRA_HOST_FLAGS) ; do \
4871           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4872         done; \
4873         echo "Doing clean in bison" ; \
4874         (cd bison && \
4875           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4876                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4877                   "RANLIB=$${RANLIB}" \
4878                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4879                   clean) \
4880           || exit 1
4881
4882 @endif bison
4883
4884 .PHONY: maybe-distclean-bison distclean-bison
4885 maybe-distclean-bison:
4886 @if bison
4887 maybe-distclean-bison: distclean-bison
4888
4889 distclean-bison: 
4890         @[ -f ./bison/Makefile ] || exit 0; \
4891         r=`${PWD_COMMAND}`; export r; \
4892         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4893         $(SET_LIB_PATH) \
4894         $(HOST_EXPORTS) \
4895         for flag in $(EXTRA_HOST_FLAGS) ; do \
4896           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4897         done; \
4898         echo "Doing distclean in bison" ; \
4899         (cd bison && \
4900           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4901                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4902                   "RANLIB=$${RANLIB}" \
4903                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4904                   distclean) \
4905           || exit 1
4906
4907 @endif bison
4908
4909 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4910 maybe-maintainer-clean-bison:
4911 @if bison
4912 maybe-maintainer-clean-bison: maintainer-clean-bison
4913
4914 maintainer-clean-bison: 
4915         @[ -f ./bison/Makefile ] || exit 0; \
4916         r=`${PWD_COMMAND}`; export r; \
4917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4918         $(SET_LIB_PATH) \
4919         $(HOST_EXPORTS) \
4920         for flag in $(EXTRA_HOST_FLAGS) ; do \
4921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4922         done; \
4923         echo "Doing maintainer-clean in bison" ; \
4924         (cd bison && \
4925           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4926                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4927                   "RANLIB=$${RANLIB}" \
4928                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4929                   maintainer-clean) \
4930           || exit 1
4931
4932 @endif bison
4933
4934
4935 .PHONY: configure-byacc maybe-configure-byacc
4936 maybe-configure-byacc:
4937 @if byacc
4938 maybe-configure-byacc: configure-byacc
4939 configure-byacc:
4940         @test ! -f byacc/Makefile || exit 0; \
4941         [ -d byacc ] || mkdir byacc; \
4942         r=`${PWD_COMMAND}`; export r; \
4943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4944         $(HOST_EXPORTS) \
4945         echo Configuring in byacc; \
4946         cd byacc || exit 1; \
4947         case $(srcdir) in \
4948           \.) \
4949             srcdiroption="--srcdir=."; \
4950             libsrcdir=".";; \
4951           /* | [A-Za-z]:[\\/]*) \
4952             srcdiroption="--srcdir=$(srcdir)/byacc"; \
4953             libsrcdir="$$s/byacc";; \
4954           *) \
4955             srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4956             libsrcdir="$$s/byacc";; \
4957         esac; \
4958         $(SHELL) $${libsrcdir}/configure \
4959           $(HOST_CONFIGARGS) $${srcdiroption}  \
4960           || exit 1
4961 @endif byacc
4962
4963 .PHONY: all-byacc maybe-all-byacc
4964 maybe-all-byacc:
4965 @if byacc
4966 maybe-all-byacc: all-byacc
4967 all-byacc: configure-byacc
4968         @r=`${PWD_COMMAND}`; export r; \
4969         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4970         $(SET_LIB_PATH) \
4971         $(HOST_EXPORTS) \
4972         (cd byacc && $(MAKE) $(FLAGS_TO_PASS)  all)
4973 @endif byacc
4974
4975 .PHONY: check-byacc maybe-check-byacc
4976 maybe-check-byacc:
4977 @if byacc
4978 maybe-check-byacc: check-byacc
4979
4980 # This module is only tested in a native toolchain.
4981 check-byacc:
4982         @if [ '$(host)' = '$(target)' ] ; then \
4983           r=`${PWD_COMMAND}`; export r; \
4984           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4985           $(SET_LIB_PATH) \
4986           $(HOST_EXPORTS) \
4987           (cd byacc && $(MAKE) $(FLAGS_TO_PASS)  check); \
4988         fi
4989
4990 @endif byacc
4991
4992 .PHONY: install-byacc maybe-install-byacc
4993 maybe-install-byacc:
4994 @if byacc
4995 maybe-install-byacc: install-byacc
4996
4997 install-byacc: installdirs
4998         @r=`${PWD_COMMAND}`; export r; \
4999         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5000         $(SET_LIB_PATH) \
5001         $(HOST_EXPORTS) \
5002         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5003
5004 @endif byacc
5005
5006 # Other targets (info, dvi, etc.)
5007
5008 .PHONY: maybe-info-byacc info-byacc
5009 maybe-info-byacc:
5010 @if byacc
5011 maybe-info-byacc: info-byacc
5012
5013 info-byacc: \
5014     configure-byacc 
5015         @[ -f ./byacc/Makefile ] || exit 0; \
5016         r=`${PWD_COMMAND}`; export r; \
5017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5018         $(SET_LIB_PATH) \
5019         $(HOST_EXPORTS) \
5020         for flag in $(EXTRA_HOST_FLAGS) ; do \
5021           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5022         done; \
5023         echo "Doing info in byacc" ; \
5024         (cd byacc && \
5025           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5026                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5027                   "RANLIB=$${RANLIB}" \
5028                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5029                   info) \
5030           || exit 1
5031
5032 @endif byacc
5033
5034 .PHONY: maybe-dvi-byacc dvi-byacc
5035 maybe-dvi-byacc:
5036 @if byacc
5037 maybe-dvi-byacc: dvi-byacc
5038
5039 dvi-byacc: \
5040     configure-byacc 
5041         @[ -f ./byacc/Makefile ] || exit 0; \
5042         r=`${PWD_COMMAND}`; export r; \
5043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044         $(SET_LIB_PATH) \
5045         $(HOST_EXPORTS) \
5046         for flag in $(EXTRA_HOST_FLAGS) ; do \
5047           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5048         done; \
5049         echo "Doing dvi in byacc" ; \
5050         (cd byacc && \
5051           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5052                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5053                   "RANLIB=$${RANLIB}" \
5054                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5055                   dvi) \
5056           || exit 1
5057
5058 @endif byacc
5059
5060 .PHONY: maybe-TAGS-byacc TAGS-byacc
5061 maybe-TAGS-byacc:
5062 @if byacc
5063 maybe-TAGS-byacc: TAGS-byacc
5064
5065 TAGS-byacc: \
5066     configure-byacc 
5067         @[ -f ./byacc/Makefile ] || exit 0; \
5068         r=`${PWD_COMMAND}`; export r; \
5069         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5070         $(SET_LIB_PATH) \
5071         $(HOST_EXPORTS) \
5072         for flag in $(EXTRA_HOST_FLAGS) ; do \
5073           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5074         done; \
5075         echo "Doing TAGS in byacc" ; \
5076         (cd byacc && \
5077           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5078                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5079                   "RANLIB=$${RANLIB}" \
5080                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5081                   TAGS) \
5082           || exit 1
5083
5084 @endif byacc
5085
5086 .PHONY: maybe-install-info-byacc install-info-byacc
5087 maybe-install-info-byacc:
5088 @if byacc
5089 maybe-install-info-byacc: install-info-byacc
5090
5091 install-info-byacc: \
5092     configure-byacc \
5093     info-byacc 
5094         @[ -f ./byacc/Makefile ] || exit 0; \
5095         r=`${PWD_COMMAND}`; export r; \
5096         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5097         $(SET_LIB_PATH) \
5098         $(HOST_EXPORTS) \
5099         for flag in $(EXTRA_HOST_FLAGS) ; do \
5100           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5101         done; \
5102         echo "Doing install-info in byacc" ; \
5103         (cd byacc && \
5104           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5105                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5106                   "RANLIB=$${RANLIB}" \
5107                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5108                   install-info) \
5109           || exit 1
5110
5111 @endif byacc
5112
5113 .PHONY: maybe-installcheck-byacc installcheck-byacc
5114 maybe-installcheck-byacc:
5115 @if byacc
5116 maybe-installcheck-byacc: installcheck-byacc
5117
5118 installcheck-byacc: \
5119     configure-byacc 
5120         @[ -f ./byacc/Makefile ] || exit 0; \
5121         r=`${PWD_COMMAND}`; export r; \
5122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5123         $(SET_LIB_PATH) \
5124         $(HOST_EXPORTS) \
5125         for flag in $(EXTRA_HOST_FLAGS) ; do \
5126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5127         done; \
5128         echo "Doing installcheck in byacc" ; \
5129         (cd byacc && \
5130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5132                   "RANLIB=$${RANLIB}" \
5133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5134                   installcheck) \
5135           || exit 1
5136
5137 @endif byacc
5138
5139 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5140 maybe-mostlyclean-byacc:
5141 @if byacc
5142 maybe-mostlyclean-byacc: mostlyclean-byacc
5143
5144 mostlyclean-byacc: 
5145         @[ -f ./byacc/Makefile ] || exit 0; \
5146         r=`${PWD_COMMAND}`; export r; \
5147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148         $(SET_LIB_PATH) \
5149         $(HOST_EXPORTS) \
5150         for flag in $(EXTRA_HOST_FLAGS) ; do \
5151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5152         done; \
5153         echo "Doing mostlyclean in byacc" ; \
5154         (cd byacc && \
5155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5157                   "RANLIB=$${RANLIB}" \
5158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5159                   mostlyclean) \
5160           || exit 1
5161
5162 @endif byacc
5163
5164 .PHONY: maybe-clean-byacc clean-byacc
5165 maybe-clean-byacc:
5166 @if byacc
5167 maybe-clean-byacc: clean-byacc
5168
5169 clean-byacc: 
5170         @[ -f ./byacc/Makefile ] || exit 0; \
5171         r=`${PWD_COMMAND}`; export r; \
5172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173         $(SET_LIB_PATH) \
5174         $(HOST_EXPORTS) \
5175         for flag in $(EXTRA_HOST_FLAGS) ; do \
5176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5177         done; \
5178         echo "Doing clean in byacc" ; \
5179         (cd byacc && \
5180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5182                   "RANLIB=$${RANLIB}" \
5183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5184                   clean) \
5185           || exit 1
5186
5187 @endif byacc
5188
5189 .PHONY: maybe-distclean-byacc distclean-byacc
5190 maybe-distclean-byacc:
5191 @if byacc
5192 maybe-distclean-byacc: distclean-byacc
5193
5194 distclean-byacc: 
5195         @[ -f ./byacc/Makefile ] || exit 0; \
5196         r=`${PWD_COMMAND}`; export r; \
5197         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5198         $(SET_LIB_PATH) \
5199         $(HOST_EXPORTS) \
5200         for flag in $(EXTRA_HOST_FLAGS) ; do \
5201           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5202         done; \
5203         echo "Doing distclean in byacc" ; \
5204         (cd byacc && \
5205           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5206                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5207                   "RANLIB=$${RANLIB}" \
5208                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5209                   distclean) \
5210           || exit 1
5211
5212 @endif byacc
5213
5214 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5215 maybe-maintainer-clean-byacc:
5216 @if byacc
5217 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5218
5219 maintainer-clean-byacc: 
5220         @[ -f ./byacc/Makefile ] || exit 0; \
5221         r=`${PWD_COMMAND}`; export r; \
5222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5223         $(SET_LIB_PATH) \
5224         $(HOST_EXPORTS) \
5225         for flag in $(EXTRA_HOST_FLAGS) ; do \
5226           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5227         done; \
5228         echo "Doing maintainer-clean in byacc" ; \
5229         (cd byacc && \
5230           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5231                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5232                   "RANLIB=$${RANLIB}" \
5233                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5234                   maintainer-clean) \
5235           || exit 1
5236
5237 @endif byacc
5238
5239
5240 .PHONY: configure-bzip2 maybe-configure-bzip2
5241 maybe-configure-bzip2:
5242 @if bzip2
5243 maybe-configure-bzip2: configure-bzip2
5244 configure-bzip2:
5245         @test ! -f bzip2/Makefile || exit 0; \
5246         [ -d bzip2 ] || mkdir bzip2; \
5247         r=`${PWD_COMMAND}`; export r; \
5248         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5249         $(HOST_EXPORTS) \
5250         echo Configuring in bzip2; \
5251         cd bzip2 || exit 1; \
5252         case $(srcdir) in \
5253           \.) \
5254             srcdiroption="--srcdir=."; \
5255             libsrcdir=".";; \
5256           /* | [A-Za-z]:[\\/]*) \
5257             srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5258             libsrcdir="$$s/bzip2";; \
5259           *) \
5260             srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5261             libsrcdir="$$s/bzip2";; \
5262         esac; \
5263         $(SHELL) $${libsrcdir}/configure \
5264           $(HOST_CONFIGARGS) $${srcdiroption}  \
5265           || exit 1
5266 @endif bzip2
5267
5268 .PHONY: all-bzip2 maybe-all-bzip2
5269 maybe-all-bzip2:
5270 @if bzip2
5271 maybe-all-bzip2: all-bzip2
5272 all-bzip2: configure-bzip2
5273         @r=`${PWD_COMMAND}`; export r; \
5274         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5275         $(SET_LIB_PATH) \
5276         $(HOST_EXPORTS) \
5277         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS)  all)
5278 @endif bzip2
5279
5280 .PHONY: check-bzip2 maybe-check-bzip2
5281 maybe-check-bzip2:
5282 @if bzip2
5283 maybe-check-bzip2: check-bzip2
5284
5285 check-bzip2:
5286         @r=`${PWD_COMMAND}`; export r; \
5287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5288         $(SET_LIB_PATH) \
5289         $(HOST_EXPORTS) \
5290         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5291
5292 @endif bzip2
5293
5294 .PHONY: install-bzip2 maybe-install-bzip2
5295 maybe-install-bzip2:
5296 @if bzip2
5297 maybe-install-bzip2: install-bzip2
5298
5299 install-bzip2: installdirs
5300         @r=`${PWD_COMMAND}`; export r; \
5301         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5302         $(SET_LIB_PATH) \
5303         $(HOST_EXPORTS) \
5304         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5305
5306 @endif bzip2
5307
5308 # Other targets (info, dvi, etc.)
5309
5310 .PHONY: maybe-info-bzip2 info-bzip2
5311 maybe-info-bzip2:
5312 @if bzip2
5313 maybe-info-bzip2: info-bzip2
5314
5315 info-bzip2: \
5316     configure-bzip2 
5317         @[ -f ./bzip2/Makefile ] || exit 0; \
5318         r=`${PWD_COMMAND}`; export r; \
5319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5320         $(SET_LIB_PATH) \
5321         $(HOST_EXPORTS) \
5322         for flag in $(EXTRA_HOST_FLAGS) ; do \
5323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5324         done; \
5325         echo "Doing info in bzip2" ; \
5326         (cd bzip2 && \
5327           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5328                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5329                   "RANLIB=$${RANLIB}" \
5330                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5331                   info) \
5332           || exit 1
5333
5334 @endif bzip2
5335
5336 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5337 maybe-dvi-bzip2:
5338 @if bzip2
5339 maybe-dvi-bzip2: dvi-bzip2
5340
5341 dvi-bzip2: \
5342     configure-bzip2 
5343         @[ -f ./bzip2/Makefile ] || exit 0; \
5344         r=`${PWD_COMMAND}`; export r; \
5345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5346         $(SET_LIB_PATH) \
5347         $(HOST_EXPORTS) \
5348         for flag in $(EXTRA_HOST_FLAGS) ; do \
5349           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5350         done; \
5351         echo "Doing dvi in bzip2" ; \
5352         (cd bzip2 && \
5353           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5354                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5355                   "RANLIB=$${RANLIB}" \
5356                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5357                   dvi) \
5358           || exit 1
5359
5360 @endif bzip2
5361
5362 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5363 maybe-TAGS-bzip2:
5364 @if bzip2
5365 maybe-TAGS-bzip2: TAGS-bzip2
5366
5367 TAGS-bzip2: \
5368     configure-bzip2 
5369         @[ -f ./bzip2/Makefile ] || exit 0; \
5370         r=`${PWD_COMMAND}`; export r; \
5371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5372         $(SET_LIB_PATH) \
5373         $(HOST_EXPORTS) \
5374         for flag in $(EXTRA_HOST_FLAGS) ; do \
5375           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5376         done; \
5377         echo "Doing TAGS in bzip2" ; \
5378         (cd bzip2 && \
5379           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5380                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5381                   "RANLIB=$${RANLIB}" \
5382                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5383                   TAGS) \
5384           || exit 1
5385
5386 @endif bzip2
5387
5388 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5389 maybe-install-info-bzip2:
5390 @if bzip2
5391 maybe-install-info-bzip2: install-info-bzip2
5392
5393 install-info-bzip2: \
5394     configure-bzip2 \
5395     info-bzip2 
5396         @[ -f ./bzip2/Makefile ] || exit 0; \
5397         r=`${PWD_COMMAND}`; export r; \
5398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5399         $(SET_LIB_PATH) \
5400         $(HOST_EXPORTS) \
5401         for flag in $(EXTRA_HOST_FLAGS) ; do \
5402           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5403         done; \
5404         echo "Doing install-info in bzip2" ; \
5405         (cd bzip2 && \
5406           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5407                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5408                   "RANLIB=$${RANLIB}" \
5409                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5410                   install-info) \
5411           || exit 1
5412
5413 @endif bzip2
5414
5415 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5416 maybe-installcheck-bzip2:
5417 @if bzip2
5418 maybe-installcheck-bzip2: installcheck-bzip2
5419
5420 installcheck-bzip2: \
5421     configure-bzip2 
5422         @[ -f ./bzip2/Makefile ] || exit 0; \
5423         r=`${PWD_COMMAND}`; export r; \
5424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5425         $(SET_LIB_PATH) \
5426         $(HOST_EXPORTS) \
5427         for flag in $(EXTRA_HOST_FLAGS) ; do \
5428           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5429         done; \
5430         echo "Doing installcheck in bzip2" ; \
5431         (cd bzip2 && \
5432           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5433                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5434                   "RANLIB=$${RANLIB}" \
5435                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5436                   installcheck) \
5437           || exit 1
5438
5439 @endif bzip2
5440
5441 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5442 maybe-mostlyclean-bzip2:
5443 @if bzip2
5444 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5445
5446 mostlyclean-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 mostlyclean 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                   mostlyclean) \
5462           || exit 1
5463
5464 @endif bzip2
5465
5466 .PHONY: maybe-clean-bzip2 clean-bzip2
5467 maybe-clean-bzip2:
5468 @if bzip2
5469 maybe-clean-bzip2: clean-bzip2
5470
5471 clean-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 clean 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                   clean) \
5487           || exit 1
5488
5489 @endif bzip2
5490
5491 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5492 maybe-distclean-bzip2:
5493 @if bzip2
5494 maybe-distclean-bzip2: distclean-bzip2
5495
5496 distclean-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 distclean 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                   distclean) \
5512           || exit 1
5513
5514 @endif bzip2
5515
5516 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5517 maybe-maintainer-clean-bzip2:
5518 @if bzip2
5519 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5520
5521 maintainer-clean-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 maintainer-clean 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                   maintainer-clean) \
5537           || exit 1
5538
5539 @endif bzip2
5540
5541
5542 .PHONY: configure-dejagnu maybe-configure-dejagnu
5543 maybe-configure-dejagnu:
5544 @if dejagnu
5545 maybe-configure-dejagnu: configure-dejagnu
5546 configure-dejagnu:
5547         @test ! -f dejagnu/Makefile || exit 0; \
5548         [ -d dejagnu ] || mkdir dejagnu; \
5549         r=`${PWD_COMMAND}`; export r; \
5550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5551         $(HOST_EXPORTS) \
5552         echo Configuring in dejagnu; \
5553         cd dejagnu || exit 1; \
5554         case $(srcdir) in \
5555           \.) \
5556             srcdiroption="--srcdir=."; \
5557             libsrcdir=".";; \
5558           /* | [A-Za-z]:[\\/]*) \
5559             srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5560             libsrcdir="$$s/dejagnu";; \
5561           *) \
5562             srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5563             libsrcdir="$$s/dejagnu";; \
5564         esac; \
5565         $(SHELL) $${libsrcdir}/configure \
5566           $(HOST_CONFIGARGS) $${srcdiroption}  \
5567           || exit 1
5568 @endif dejagnu
5569
5570 .PHONY: all-dejagnu maybe-all-dejagnu
5571 maybe-all-dejagnu:
5572 @if dejagnu
5573 maybe-all-dejagnu: all-dejagnu
5574 all-dejagnu: configure-dejagnu
5575         @r=`${PWD_COMMAND}`; export r; \
5576         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5577         $(SET_LIB_PATH) \
5578         $(HOST_EXPORTS) \
5579         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS)  all)
5580 @endif dejagnu
5581
5582 .PHONY: check-dejagnu maybe-check-dejagnu
5583 maybe-check-dejagnu:
5584 @if dejagnu
5585 maybe-check-dejagnu: check-dejagnu
5586
5587 check-dejagnu:
5588         @r=`${PWD_COMMAND}`; export r; \
5589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5590         $(SET_LIB_PATH) \
5591         $(HOST_EXPORTS) \
5592         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5593
5594 @endif dejagnu
5595
5596 .PHONY: install-dejagnu maybe-install-dejagnu
5597 maybe-install-dejagnu:
5598 @if dejagnu
5599 maybe-install-dejagnu: install-dejagnu
5600
5601 install-dejagnu: installdirs
5602         @r=`${PWD_COMMAND}`; export r; \
5603         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604         $(SET_LIB_PATH) \
5605         $(HOST_EXPORTS) \
5606         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5607
5608 @endif dejagnu
5609
5610 # Other targets (info, dvi, etc.)
5611
5612 .PHONY: maybe-info-dejagnu info-dejagnu
5613 maybe-info-dejagnu:
5614 @if dejagnu
5615 maybe-info-dejagnu: info-dejagnu
5616
5617 info-dejagnu: \
5618     configure-dejagnu 
5619         @[ -f ./dejagnu/Makefile ] || exit 0; \
5620         r=`${PWD_COMMAND}`; export r; \
5621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5622         $(SET_LIB_PATH) \
5623         $(HOST_EXPORTS) \
5624         for flag in $(EXTRA_HOST_FLAGS) ; do \
5625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5626         done; \
5627         echo "Doing info in dejagnu" ; \
5628         (cd dejagnu && \
5629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5631                   "RANLIB=$${RANLIB}" \
5632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5633                   info) \
5634           || exit 1
5635
5636 @endif dejagnu
5637
5638 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5639 maybe-dvi-dejagnu:
5640 @if dejagnu
5641 maybe-dvi-dejagnu: dvi-dejagnu
5642
5643 dvi-dejagnu: \
5644     configure-dejagnu 
5645         @[ -f ./dejagnu/Makefile ] || exit 0; \
5646         r=`${PWD_COMMAND}`; export r; \
5647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5648         $(SET_LIB_PATH) \
5649         $(HOST_EXPORTS) \
5650         for flag in $(EXTRA_HOST_FLAGS) ; do \
5651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5652         done; \
5653         echo "Doing dvi in dejagnu" ; \
5654         (cd dejagnu && \
5655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5657                   "RANLIB=$${RANLIB}" \
5658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5659                   dvi) \
5660           || exit 1
5661
5662 @endif dejagnu
5663
5664 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5665 maybe-TAGS-dejagnu:
5666 @if dejagnu
5667 maybe-TAGS-dejagnu: TAGS-dejagnu
5668
5669 TAGS-dejagnu: \
5670     configure-dejagnu 
5671         @[ -f ./dejagnu/Makefile ] || exit 0; \
5672         r=`${PWD_COMMAND}`; export r; \
5673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5674         $(SET_LIB_PATH) \
5675         $(HOST_EXPORTS) \
5676         for flag in $(EXTRA_HOST_FLAGS) ; do \
5677           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5678         done; \
5679         echo "Doing TAGS in dejagnu" ; \
5680         (cd dejagnu && \
5681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5683                   "RANLIB=$${RANLIB}" \
5684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5685                   TAGS) \
5686           || exit 1
5687
5688 @endif dejagnu
5689
5690 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5691 maybe-install-info-dejagnu:
5692 @if dejagnu
5693 maybe-install-info-dejagnu: install-info-dejagnu
5694
5695 install-info-dejagnu: \
5696     configure-dejagnu \
5697     info-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 install-info 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                   install-info) \
5713           || exit 1
5714
5715 @endif dejagnu
5716
5717 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5718 maybe-installcheck-dejagnu:
5719 @if dejagnu
5720 maybe-installcheck-dejagnu: installcheck-dejagnu
5721
5722 installcheck-dejagnu: \
5723     configure-dejagnu 
5724         @[ -f ./dejagnu/Makefile ] || exit 0; \
5725         r=`${PWD_COMMAND}`; export r; \
5726         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5727         $(SET_LIB_PATH) \
5728         $(HOST_EXPORTS) \
5729         for flag in $(EXTRA_HOST_FLAGS) ; do \
5730           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5731         done; \
5732         echo "Doing installcheck in dejagnu" ; \
5733         (cd dejagnu && \
5734           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5735                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5736                   "RANLIB=$${RANLIB}" \
5737                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5738                   installcheck) \
5739           || exit 1
5740
5741 @endif dejagnu
5742
5743 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5744 maybe-mostlyclean-dejagnu:
5745 @if dejagnu
5746 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5747
5748 mostlyclean-dejagnu: 
5749         @[ -f ./dejagnu/Makefile ] || exit 0; \
5750         r=`${PWD_COMMAND}`; export r; \
5751         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5752         $(SET_LIB_PATH) \
5753         $(HOST_EXPORTS) \
5754         for flag in $(EXTRA_HOST_FLAGS) ; do \
5755           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5756         done; \
5757         echo "Doing mostlyclean in dejagnu" ; \
5758         (cd dejagnu && \
5759           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761                   "RANLIB=$${RANLIB}" \
5762                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5763                   mostlyclean) \
5764           || exit 1
5765
5766 @endif dejagnu
5767
5768 .PHONY: maybe-clean-dejagnu clean-dejagnu
5769 maybe-clean-dejagnu:
5770 @if dejagnu
5771 maybe-clean-dejagnu: clean-dejagnu
5772
5773 clean-dejagnu: 
5774         @[ -f ./dejagnu/Makefile ] || exit 0; \
5775         r=`${PWD_COMMAND}`; export r; \
5776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5777         $(SET_LIB_PATH) \
5778         $(HOST_EXPORTS) \
5779         for flag in $(EXTRA_HOST_FLAGS) ; do \
5780           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5781         done; \
5782         echo "Doing clean in dejagnu" ; \
5783         (cd dejagnu && \
5784           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5785                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5786                   "RANLIB=$${RANLIB}" \
5787                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5788                   clean) \
5789           || exit 1
5790
5791 @endif dejagnu
5792
5793 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5794 maybe-distclean-dejagnu:
5795 @if dejagnu
5796 maybe-distclean-dejagnu: distclean-dejagnu
5797
5798 distclean-dejagnu: 
5799         @[ -f ./dejagnu/Makefile ] || exit 0; \
5800         r=`${PWD_COMMAND}`; export r; \
5801         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5802         $(SET_LIB_PATH) \
5803         $(HOST_EXPORTS) \
5804         for flag in $(EXTRA_HOST_FLAGS) ; do \
5805           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5806         done; \
5807         echo "Doing distclean in dejagnu" ; \
5808         (cd dejagnu && \
5809           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5810                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5811                   "RANLIB=$${RANLIB}" \
5812                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5813                   distclean) \
5814           || exit 1
5815
5816 @endif dejagnu
5817
5818 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5819 maybe-maintainer-clean-dejagnu:
5820 @if dejagnu
5821 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5822
5823 maintainer-clean-dejagnu: 
5824         @[ -f ./dejagnu/Makefile ] || exit 0; \
5825         r=`${PWD_COMMAND}`; export r; \
5826         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827         $(SET_LIB_PATH) \
5828         $(HOST_EXPORTS) \
5829         for flag in $(EXTRA_HOST_FLAGS) ; do \
5830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5831         done; \
5832         echo "Doing maintainer-clean in dejagnu" ; \
5833         (cd dejagnu && \
5834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5836                   "RANLIB=$${RANLIB}" \
5837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5838                   maintainer-clean) \
5839           || exit 1
5840
5841 @endif dejagnu
5842
5843
5844 .PHONY: configure-diff maybe-configure-diff
5845 maybe-configure-diff:
5846 @if diff
5847 maybe-configure-diff: configure-diff
5848 configure-diff:
5849         @test ! -f diff/Makefile || exit 0; \
5850         [ -d diff ] || mkdir diff; \
5851         r=`${PWD_COMMAND}`; export r; \
5852         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5853         $(HOST_EXPORTS) \
5854         echo Configuring in diff; \
5855         cd diff || exit 1; \
5856         case $(srcdir) in \
5857           \.) \
5858             srcdiroption="--srcdir=."; \
5859             libsrcdir=".";; \
5860           /* | [A-Za-z]:[\\/]*) \
5861             srcdiroption="--srcdir=$(srcdir)/diff"; \
5862             libsrcdir="$$s/diff";; \
5863           *) \
5864             srcdiroption="--srcdir=../$(srcdir)/diff"; \
5865             libsrcdir="$$s/diff";; \
5866         esac; \
5867         $(SHELL) $${libsrcdir}/configure \
5868           $(HOST_CONFIGARGS) $${srcdiroption}  \
5869           || exit 1
5870 @endif diff
5871
5872 .PHONY: all-diff maybe-all-diff
5873 maybe-all-diff:
5874 @if diff
5875 maybe-all-diff: all-diff
5876 all-diff: configure-diff
5877         @r=`${PWD_COMMAND}`; export r; \
5878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5879         $(SET_LIB_PATH) \
5880         $(HOST_EXPORTS) \
5881         (cd diff && $(MAKE) $(FLAGS_TO_PASS)  all)
5882 @endif diff
5883
5884 .PHONY: check-diff maybe-check-diff
5885 maybe-check-diff:
5886 @if diff
5887 maybe-check-diff: check-diff
5888
5889 check-diff:
5890         @r=`${PWD_COMMAND}`; export r; \
5891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5892         $(SET_LIB_PATH) \
5893         $(HOST_EXPORTS) \
5894         (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5895
5896 @endif diff
5897
5898 .PHONY: install-diff maybe-install-diff
5899 maybe-install-diff:
5900 @if diff
5901 maybe-install-diff: install-diff
5902
5903 install-diff: installdirs
5904         @r=`${PWD_COMMAND}`; export r; \
5905         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5906         $(SET_LIB_PATH) \
5907         $(HOST_EXPORTS) \
5908         (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5909
5910 @endif diff
5911
5912 # Other targets (info, dvi, etc.)
5913
5914 .PHONY: maybe-info-diff info-diff
5915 maybe-info-diff:
5916 @if diff
5917 maybe-info-diff: info-diff
5918
5919 info-diff: \
5920     configure-diff 
5921         @[ -f ./diff/Makefile ] || exit 0; \
5922         r=`${PWD_COMMAND}`; export r; \
5923         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5924         $(SET_LIB_PATH) \
5925         $(HOST_EXPORTS) \
5926         for flag in $(EXTRA_HOST_FLAGS) ; do \
5927           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5928         done; \
5929         echo "Doing info in diff" ; \
5930         (cd diff && \
5931           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5932                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5933                   "RANLIB=$${RANLIB}" \
5934                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5935                   info) \
5936           || exit 1
5937
5938 @endif diff
5939
5940 .PHONY: maybe-dvi-diff dvi-diff
5941 maybe-dvi-diff:
5942 @if diff
5943 maybe-dvi-diff: dvi-diff
5944
5945 dvi-diff: \
5946     configure-diff 
5947         @[ -f ./diff/Makefile ] || exit 0; \
5948         r=`${PWD_COMMAND}`; export r; \
5949         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5950         $(SET_LIB_PATH) \
5951         $(HOST_EXPORTS) \
5952         for flag in $(EXTRA_HOST_FLAGS) ; do \
5953           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5954         done; \
5955         echo "Doing dvi in diff" ; \
5956         (cd diff && \
5957           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5958                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5959                   "RANLIB=$${RANLIB}" \
5960                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5961                   dvi) \
5962           || exit 1
5963
5964 @endif diff
5965
5966 .PHONY: maybe-TAGS-diff TAGS-diff
5967 maybe-TAGS-diff:
5968 @if diff
5969 maybe-TAGS-diff: TAGS-diff
5970
5971 TAGS-diff: \
5972     configure-diff 
5973         @[ -f ./diff/Makefile ] || exit 0; \
5974         r=`${PWD_COMMAND}`; export r; \
5975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5976         $(SET_LIB_PATH) \
5977         $(HOST_EXPORTS) \
5978         for flag in $(EXTRA_HOST_FLAGS) ; do \
5979           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5980         done; \
5981         echo "Doing TAGS in diff" ; \
5982         (cd diff && \
5983           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5984                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5985                   "RANLIB=$${RANLIB}" \
5986                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5987                   TAGS) \
5988           || exit 1
5989
5990 @endif diff
5991
5992 .PHONY: maybe-install-info-diff install-info-diff
5993 maybe-install-info-diff:
5994 @if diff
5995 maybe-install-info-diff: install-info-diff
5996
5997 install-info-diff: \
5998     configure-diff \
5999     info-diff 
6000         @[ -f ./diff/Makefile ] || exit 0; \
6001         r=`${PWD_COMMAND}`; export r; \
6002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6003         $(SET_LIB_PATH) \
6004         $(HOST_EXPORTS) \
6005         for flag in $(EXTRA_HOST_FLAGS) ; do \
6006           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6007         done; \
6008         echo "Doing install-info in diff" ; \
6009         (cd diff && \
6010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6012                   "RANLIB=$${RANLIB}" \
6013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6014                   install-info) \
6015           || exit 1
6016
6017 @endif diff
6018
6019 .PHONY: maybe-installcheck-diff installcheck-diff
6020 maybe-installcheck-diff:
6021 @if diff
6022 maybe-installcheck-diff: installcheck-diff
6023
6024 installcheck-diff: \
6025     configure-diff 
6026         @[ -f ./diff/Makefile ] || exit 0; \
6027         r=`${PWD_COMMAND}`; export r; \
6028         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6029         $(SET_LIB_PATH) \
6030         $(HOST_EXPORTS) \
6031         for flag in $(EXTRA_HOST_FLAGS) ; do \
6032           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6033         done; \
6034         echo "Doing installcheck in diff" ; \
6035         (cd diff && \
6036           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6037                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6038                   "RANLIB=$${RANLIB}" \
6039                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6040                   installcheck) \
6041           || exit 1
6042
6043 @endif diff
6044
6045 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6046 maybe-mostlyclean-diff:
6047 @if diff
6048 maybe-mostlyclean-diff: mostlyclean-diff
6049
6050 mostlyclean-diff: 
6051         @[ -f ./diff/Makefile ] || exit 0; \
6052         r=`${PWD_COMMAND}`; export r; \
6053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6054         $(SET_LIB_PATH) \
6055         $(HOST_EXPORTS) \
6056         for flag in $(EXTRA_HOST_FLAGS) ; do \
6057           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6058         done; \
6059         echo "Doing mostlyclean in diff" ; \
6060         (cd diff && \
6061           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6062                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6063                   "RANLIB=$${RANLIB}" \
6064                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6065                   mostlyclean) \
6066           || exit 1
6067
6068 @endif diff
6069
6070 .PHONY: maybe-clean-diff clean-diff
6071 maybe-clean-diff:
6072 @if diff
6073 maybe-clean-diff: clean-diff
6074
6075 clean-diff: 
6076         @[ -f ./diff/Makefile ] || exit 0; \
6077         r=`${PWD_COMMAND}`; export r; \
6078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6079         $(SET_LIB_PATH) \
6080         $(HOST_EXPORTS) \
6081         for flag in $(EXTRA_HOST_FLAGS) ; do \
6082           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6083         done; \
6084         echo "Doing clean in diff" ; \
6085         (cd diff && \
6086           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6087                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6088                   "RANLIB=$${RANLIB}" \
6089                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6090                   clean) \
6091           || exit 1
6092
6093 @endif diff
6094
6095 .PHONY: maybe-distclean-diff distclean-diff
6096 maybe-distclean-diff:
6097 @if diff
6098 maybe-distclean-diff: distclean-diff
6099
6100 distclean-diff: 
6101         @[ -f ./diff/Makefile ] || exit 0; \
6102         r=`${PWD_COMMAND}`; export r; \
6103         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6104         $(SET_LIB_PATH) \
6105         $(HOST_EXPORTS) \
6106         for flag in $(EXTRA_HOST_FLAGS) ; do \
6107           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6108         done; \
6109         echo "Doing distclean in diff" ; \
6110         (cd diff && \
6111           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6112                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6113                   "RANLIB=$${RANLIB}" \
6114                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6115                   distclean) \
6116           || exit 1
6117
6118 @endif diff
6119
6120 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6121 maybe-maintainer-clean-diff:
6122 @if diff
6123 maybe-maintainer-clean-diff: maintainer-clean-diff
6124
6125 maintainer-clean-diff: 
6126         @[ -f ./diff/Makefile ] || exit 0; \
6127         r=`${PWD_COMMAND}`; export r; \
6128         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6129         $(SET_LIB_PATH) \
6130         $(HOST_EXPORTS) \
6131         for flag in $(EXTRA_HOST_FLAGS) ; do \
6132           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6133         done; \
6134         echo "Doing maintainer-clean in diff" ; \
6135         (cd diff && \
6136           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6137                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6138                   "RANLIB=$${RANLIB}" \
6139                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6140                   maintainer-clean) \
6141           || exit 1
6142
6143 @endif diff
6144
6145
6146 .PHONY: configure-dosutils maybe-configure-dosutils
6147 maybe-configure-dosutils:
6148 @if dosutils
6149 maybe-configure-dosutils: configure-dosutils
6150 configure-dosutils:
6151         @test ! -f dosutils/Makefile || exit 0; \
6152         [ -d dosutils ] || mkdir dosutils; \
6153         r=`${PWD_COMMAND}`; export r; \
6154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6155         $(HOST_EXPORTS) \
6156         echo Configuring in dosutils; \
6157         cd dosutils || exit 1; \
6158         case $(srcdir) in \
6159           \.) \
6160             srcdiroption="--srcdir=."; \
6161             libsrcdir=".";; \
6162           /* | [A-Za-z]:[\\/]*) \
6163             srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6164             libsrcdir="$$s/dosutils";; \
6165           *) \
6166             srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6167             libsrcdir="$$s/dosutils";; \
6168         esac; \
6169         $(SHELL) $${libsrcdir}/configure \
6170           $(HOST_CONFIGARGS) $${srcdiroption}  \
6171           || exit 1
6172 @endif dosutils
6173
6174 .PHONY: all-dosutils maybe-all-dosutils
6175 maybe-all-dosutils:
6176 @if dosutils
6177 maybe-all-dosutils: all-dosutils
6178 all-dosutils: configure-dosutils
6179         @r=`${PWD_COMMAND}`; export r; \
6180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6181         $(SET_LIB_PATH) \
6182         $(HOST_EXPORTS) \
6183         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS)  all)
6184 @endif dosutils
6185
6186 .PHONY: check-dosutils maybe-check-dosutils
6187 maybe-check-dosutils:
6188 @if dosutils
6189 maybe-check-dosutils: check-dosutils
6190
6191 check-dosutils:
6192
6193 @endif dosutils
6194
6195 .PHONY: install-dosutils maybe-install-dosutils
6196 maybe-install-dosutils:
6197 @if dosutils
6198 maybe-install-dosutils: install-dosutils
6199
6200 install-dosutils: installdirs
6201         @r=`${PWD_COMMAND}`; export r; \
6202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6203         $(SET_LIB_PATH) \
6204         $(HOST_EXPORTS) \
6205         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6206
6207 @endif dosutils
6208
6209 # Other targets (info, dvi, etc.)
6210
6211 .PHONY: maybe-info-dosutils info-dosutils
6212 maybe-info-dosutils:
6213 @if dosutils
6214 maybe-info-dosutils: info-dosutils
6215
6216 info-dosutils: \
6217     configure-dosutils 
6218         @[ -f ./dosutils/Makefile ] || exit 0; \
6219         r=`${PWD_COMMAND}`; export r; \
6220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6221         $(SET_LIB_PATH) \
6222         $(HOST_EXPORTS) \
6223         for flag in $(EXTRA_HOST_FLAGS) ; do \
6224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6225         done; \
6226         echo "Doing info in dosutils" ; \
6227         (cd dosutils && \
6228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6230                   "RANLIB=$${RANLIB}" \
6231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6232                   info) \
6233           || exit 1
6234
6235 @endif dosutils
6236
6237 .PHONY: maybe-dvi-dosutils dvi-dosutils
6238 maybe-dvi-dosutils:
6239 @if dosutils
6240 maybe-dvi-dosutils: dvi-dosutils
6241
6242 dvi-dosutils: \
6243     configure-dosutils 
6244         @[ -f ./dosutils/Makefile ] || exit 0; \
6245         r=`${PWD_COMMAND}`; export r; \
6246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6247         $(SET_LIB_PATH) \
6248         $(HOST_EXPORTS) \
6249         for flag in $(EXTRA_HOST_FLAGS) ; do \
6250           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6251         done; \
6252         echo "Doing dvi in dosutils" ; \
6253         (cd dosutils && \
6254           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6255                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6256                   "RANLIB=$${RANLIB}" \
6257                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6258                   dvi) \
6259           || exit 1
6260
6261 @endif dosutils
6262
6263 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6264 maybe-TAGS-dosutils:
6265 @if dosutils
6266 maybe-TAGS-dosutils: TAGS-dosutils
6267
6268 TAGS-dosutils: \
6269     configure-dosutils 
6270         @[ -f ./dosutils/Makefile ] || exit 0; \
6271         r=`${PWD_COMMAND}`; export r; \
6272         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6273         $(SET_LIB_PATH) \
6274         $(HOST_EXPORTS) \
6275         for flag in $(EXTRA_HOST_FLAGS) ; do \
6276           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6277         done; \
6278         echo "Doing TAGS in dosutils" ; \
6279         (cd dosutils && \
6280           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6281                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6282                   "RANLIB=$${RANLIB}" \
6283                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6284                   TAGS) \
6285           || exit 1
6286
6287 @endif dosutils
6288
6289 .PHONY: maybe-install-info-dosutils install-info-dosutils
6290 maybe-install-info-dosutils:
6291 @if dosutils
6292 maybe-install-info-dosutils: install-info-dosutils
6293
6294 install-info-dosutils: \
6295     configure-dosutils \
6296     info-dosutils 
6297         @[ -f ./dosutils/Makefile ] || exit 0; \
6298         r=`${PWD_COMMAND}`; export r; \
6299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6300         $(SET_LIB_PATH) \
6301         $(HOST_EXPORTS) \
6302         for flag in $(EXTRA_HOST_FLAGS) ; do \
6303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6304         done; \
6305         echo "Doing install-info in dosutils" ; \
6306         (cd dosutils && \
6307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6309                   "RANLIB=$${RANLIB}" \
6310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6311                   install-info) \
6312           || exit 1
6313
6314 @endif dosutils
6315
6316 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6317 maybe-installcheck-dosutils:
6318 @if dosutils
6319 maybe-installcheck-dosutils: installcheck-dosutils
6320
6321 installcheck-dosutils: \
6322     configure-dosutils 
6323         @[ -f ./dosutils/Makefile ] || exit 0; \
6324         r=`${PWD_COMMAND}`; export r; \
6325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6326         $(SET_LIB_PATH) \
6327         $(HOST_EXPORTS) \
6328         for flag in $(EXTRA_HOST_FLAGS) ; do \
6329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6330         done; \
6331         echo "Doing installcheck in dosutils" ; \
6332         (cd dosutils && \
6333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6335                   "RANLIB=$${RANLIB}" \
6336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6337                   installcheck) \
6338           || exit 1
6339
6340 @endif dosutils
6341
6342 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6343 maybe-mostlyclean-dosutils:
6344 @if dosutils
6345 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6346
6347 mostlyclean-dosutils: 
6348         @[ -f ./dosutils/Makefile ] || exit 0; \
6349         r=`${PWD_COMMAND}`; export r; \
6350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351         $(SET_LIB_PATH) \
6352         $(HOST_EXPORTS) \
6353         for flag in $(EXTRA_HOST_FLAGS) ; do \
6354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6355         done; \
6356         echo "Doing mostlyclean in dosutils" ; \
6357         (cd dosutils && \
6358           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6359                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6360                   "RANLIB=$${RANLIB}" \
6361                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6362                   mostlyclean) \
6363           || exit 1
6364
6365 @endif dosutils
6366
6367 .PHONY: maybe-clean-dosutils clean-dosutils
6368 maybe-clean-dosutils:
6369 @if dosutils
6370 maybe-clean-dosutils: clean-dosutils
6371
6372 clean-dosutils: 
6373         @[ -f ./dosutils/Makefile ] || exit 0; \
6374         r=`${PWD_COMMAND}`; export r; \
6375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6376         $(SET_LIB_PATH) \
6377         $(HOST_EXPORTS) \
6378         for flag in $(EXTRA_HOST_FLAGS) ; do \
6379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6380         done; \
6381         echo "Doing clean in dosutils" ; \
6382         (cd dosutils && \
6383           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6384                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6385                   "RANLIB=$${RANLIB}" \
6386                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6387                   clean) \
6388           || exit 1
6389
6390 @endif dosutils
6391
6392 .PHONY: maybe-distclean-dosutils distclean-dosutils
6393 maybe-distclean-dosutils:
6394 @if dosutils
6395 maybe-distclean-dosutils: distclean-dosutils
6396
6397 distclean-dosutils: 
6398         @[ -f ./dosutils/Makefile ] || exit 0; \
6399         r=`${PWD_COMMAND}`; export r; \
6400         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401         $(SET_LIB_PATH) \
6402         $(HOST_EXPORTS) \
6403         for flag in $(EXTRA_HOST_FLAGS) ; do \
6404           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6405         done; \
6406         echo "Doing distclean in dosutils" ; \
6407         (cd dosutils && \
6408           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410                   "RANLIB=$${RANLIB}" \
6411                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6412                   distclean) \
6413           || exit 1
6414
6415 @endif dosutils
6416
6417 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6418 maybe-maintainer-clean-dosutils:
6419 @if dosutils
6420 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6421
6422 maintainer-clean-dosutils: 
6423         @[ -f ./dosutils/Makefile ] || exit 0; \
6424         r=`${PWD_COMMAND}`; export r; \
6425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6426         $(SET_LIB_PATH) \
6427         $(HOST_EXPORTS) \
6428         for flag in $(EXTRA_HOST_FLAGS) ; do \
6429           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6430         done; \
6431         echo "Doing maintainer-clean in dosutils" ; \
6432         (cd dosutils && \
6433           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6434                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6435                   "RANLIB=$${RANLIB}" \
6436                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6437                   maintainer-clean) \
6438           || exit 1
6439
6440 @endif dosutils
6441
6442
6443 .PHONY: configure-etc maybe-configure-etc
6444 maybe-configure-etc:
6445 @if etc
6446 maybe-configure-etc: configure-etc
6447 configure-etc:
6448         @test ! -f etc/Makefile || exit 0; \
6449         [ -d etc ] || mkdir etc; \
6450         r=`${PWD_COMMAND}`; export r; \
6451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6452         $(HOST_EXPORTS) \
6453         echo Configuring in etc; \
6454         cd etc || exit 1; \
6455         case $(srcdir) in \
6456           \.) \
6457             srcdiroption="--srcdir=."; \
6458             libsrcdir=".";; \
6459           /* | [A-Za-z]:[\\/]*) \
6460             srcdiroption="--srcdir=$(srcdir)/etc"; \
6461             libsrcdir="$$s/etc";; \
6462           *) \
6463             srcdiroption="--srcdir=../$(srcdir)/etc"; \
6464             libsrcdir="$$s/etc";; \
6465         esac; \
6466         $(SHELL) $${libsrcdir}/configure \
6467           $(HOST_CONFIGARGS) $${srcdiroption}  \
6468           || exit 1
6469 @endif etc
6470
6471 .PHONY: all-etc maybe-all-etc
6472 maybe-all-etc:
6473 @if etc
6474 maybe-all-etc: all-etc
6475 all-etc: configure-etc
6476         @r=`${PWD_COMMAND}`; export r; \
6477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6478         $(SET_LIB_PATH) \
6479         $(HOST_EXPORTS) \
6480         (cd etc && $(MAKE) $(FLAGS_TO_PASS)  all)
6481 @endif etc
6482
6483 .PHONY: check-etc maybe-check-etc
6484 maybe-check-etc:
6485 @if etc
6486 maybe-check-etc: check-etc
6487
6488 check-etc:
6489         @r=`${PWD_COMMAND}`; export r; \
6490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6491         $(SET_LIB_PATH) \
6492         $(HOST_EXPORTS) \
6493         (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6494
6495 @endif etc
6496
6497 .PHONY: install-etc maybe-install-etc
6498 maybe-install-etc:
6499 @if etc
6500 maybe-install-etc: install-etc
6501
6502 install-etc: installdirs
6503         @r=`${PWD_COMMAND}`; export r; \
6504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505         $(SET_LIB_PATH) \
6506         $(HOST_EXPORTS) \
6507         (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6508
6509 @endif etc
6510
6511 # Other targets (info, dvi, etc.)
6512
6513 .PHONY: maybe-info-etc info-etc
6514 maybe-info-etc:
6515 @if etc
6516 maybe-info-etc: info-etc
6517
6518 info-etc: \
6519     configure-etc 
6520         @[ -f ./etc/Makefile ] || exit 0; \
6521         r=`${PWD_COMMAND}`; export r; \
6522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6523         $(SET_LIB_PATH) \
6524         $(HOST_EXPORTS) \
6525         for flag in $(EXTRA_HOST_FLAGS) ; do \
6526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6527         done; \
6528         echo "Doing info in etc" ; \
6529         (cd etc && \
6530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532                   "RANLIB=$${RANLIB}" \
6533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6534                   info) \
6535           || exit 1
6536
6537 @endif etc
6538
6539 .PHONY: maybe-dvi-etc dvi-etc
6540 maybe-dvi-etc:
6541 @if etc
6542 maybe-dvi-etc: dvi-etc
6543
6544 dvi-etc: \
6545     configure-etc 
6546         @[ -f ./etc/Makefile ] || exit 0; \
6547         r=`${PWD_COMMAND}`; export r; \
6548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6549         $(SET_LIB_PATH) \
6550         $(HOST_EXPORTS) \
6551         for flag in $(EXTRA_HOST_FLAGS) ; do \
6552           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6553         done; \
6554         echo "Doing dvi in etc" ; \
6555         (cd etc && \
6556           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6557                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6558                   "RANLIB=$${RANLIB}" \
6559                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6560                   dvi) \
6561           || exit 1
6562
6563 @endif etc
6564
6565 .PHONY: maybe-TAGS-etc TAGS-etc
6566 maybe-TAGS-etc:
6567 @if etc
6568 maybe-TAGS-etc: TAGS-etc
6569
6570 TAGS-etc: \
6571     configure-etc 
6572         @[ -f ./etc/Makefile ] || exit 0; \
6573         r=`${PWD_COMMAND}`; export r; \
6574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6575         $(SET_LIB_PATH) \
6576         $(HOST_EXPORTS) \
6577         for flag in $(EXTRA_HOST_FLAGS) ; do \
6578           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6579         done; \
6580         echo "Doing TAGS in etc" ; \
6581         (cd etc && \
6582           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6583                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6584                   "RANLIB=$${RANLIB}" \
6585                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6586                   TAGS) \
6587           || exit 1
6588
6589 @endif etc
6590
6591 .PHONY: maybe-install-info-etc install-info-etc
6592 maybe-install-info-etc:
6593 @if etc
6594 maybe-install-info-etc: install-info-etc
6595
6596 install-info-etc: \
6597     configure-etc \
6598     info-etc 
6599         @[ -f ./etc/Makefile ] || exit 0; \
6600         r=`${PWD_COMMAND}`; export r; \
6601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6602         $(SET_LIB_PATH) \
6603         $(HOST_EXPORTS) \
6604         for flag in $(EXTRA_HOST_FLAGS) ; do \
6605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6606         done; \
6607         echo "Doing install-info in etc" ; \
6608         (cd etc && \
6609           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6610                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6611                   "RANLIB=$${RANLIB}" \
6612                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6613                   install-info) \
6614           || exit 1
6615
6616 @endif etc
6617
6618 .PHONY: maybe-installcheck-etc installcheck-etc
6619 maybe-installcheck-etc:
6620 @if etc
6621 maybe-installcheck-etc: installcheck-etc
6622
6623 installcheck-etc: \
6624     configure-etc 
6625         @[ -f ./etc/Makefile ] || exit 0; \
6626         r=`${PWD_COMMAND}`; export r; \
6627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6628         $(SET_LIB_PATH) \
6629         $(HOST_EXPORTS) \
6630         for flag in $(EXTRA_HOST_FLAGS) ; do \
6631           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6632         done; \
6633         echo "Doing installcheck in etc" ; \
6634         (cd etc && \
6635           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6636                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6637                   "RANLIB=$${RANLIB}" \
6638                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6639                   installcheck) \
6640           || exit 1
6641
6642 @endif etc
6643
6644 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6645 maybe-mostlyclean-etc:
6646 @if etc
6647 maybe-mostlyclean-etc: mostlyclean-etc
6648
6649 mostlyclean-etc: 
6650         @[ -f ./etc/Makefile ] || exit 0; \
6651         r=`${PWD_COMMAND}`; export r; \
6652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6653         $(SET_LIB_PATH) \
6654         $(HOST_EXPORTS) \
6655         for flag in $(EXTRA_HOST_FLAGS) ; do \
6656           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6657         done; \
6658         echo "Doing mostlyclean in etc" ; \
6659         (cd etc && \
6660           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6661                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6662                   "RANLIB=$${RANLIB}" \
6663                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6664                   mostlyclean) \
6665           || exit 1
6666
6667 @endif etc
6668
6669 .PHONY: maybe-clean-etc clean-etc
6670 maybe-clean-etc:
6671 @if etc
6672 maybe-clean-etc: clean-etc
6673
6674 clean-etc: 
6675         @[ -f ./etc/Makefile ] || exit 0; \
6676         r=`${PWD_COMMAND}`; export r; \
6677         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6678         $(SET_LIB_PATH) \
6679         $(HOST_EXPORTS) \
6680         for flag in $(EXTRA_HOST_FLAGS) ; do \
6681           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6682         done; \
6683         echo "Doing clean in etc" ; \
6684         (cd etc && \
6685           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6686                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6687                   "RANLIB=$${RANLIB}" \
6688                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6689                   clean) \
6690           || exit 1
6691
6692 @endif etc
6693
6694 .PHONY: maybe-distclean-etc distclean-etc
6695 maybe-distclean-etc:
6696 @if etc
6697 maybe-distclean-etc: distclean-etc
6698
6699 distclean-etc: 
6700         @[ -f ./etc/Makefile ] || exit 0; \
6701         r=`${PWD_COMMAND}`; export r; \
6702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6703         $(SET_LIB_PATH) \
6704         $(HOST_EXPORTS) \
6705         for flag in $(EXTRA_HOST_FLAGS) ; do \
6706           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6707         done; \
6708         echo "Doing distclean in etc" ; \
6709         (cd etc && \
6710           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6711                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6712                   "RANLIB=$${RANLIB}" \
6713                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6714                   distclean) \
6715           || exit 1
6716
6717 @endif etc
6718
6719 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6720 maybe-maintainer-clean-etc:
6721 @if etc
6722 maybe-maintainer-clean-etc: maintainer-clean-etc
6723
6724 maintainer-clean-etc: 
6725         @[ -f ./etc/Makefile ] || exit 0; \
6726         r=`${PWD_COMMAND}`; export r; \
6727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6728         $(SET_LIB_PATH) \
6729         $(HOST_EXPORTS) \
6730         for flag in $(EXTRA_HOST_FLAGS) ; do \
6731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6732         done; \
6733         echo "Doing maintainer-clean in etc" ; \
6734         (cd etc && \
6735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6737                   "RANLIB=$${RANLIB}" \
6738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6739                   maintainer-clean) \
6740           || exit 1
6741
6742 @endif etc
6743
6744
6745 .PHONY: configure-fastjar maybe-configure-fastjar
6746 maybe-configure-fastjar:
6747 @if fastjar
6748 maybe-configure-fastjar: configure-fastjar
6749 configure-fastjar:
6750         @test ! -f fastjar/Makefile || exit 0; \
6751         [ -d fastjar ] || mkdir fastjar; \
6752         r=`${PWD_COMMAND}`; export r; \
6753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6754         $(HOST_EXPORTS) \
6755         echo Configuring in fastjar; \
6756         cd fastjar || exit 1; \
6757         case $(srcdir) in \
6758           \.) \
6759             srcdiroption="--srcdir=."; \
6760             libsrcdir=".";; \
6761           /* | [A-Za-z]:[\\/]*) \
6762             srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6763             libsrcdir="$$s/fastjar";; \
6764           *) \
6765             srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6766             libsrcdir="$$s/fastjar";; \
6767         esac; \
6768         $(SHELL) $${libsrcdir}/configure \
6769           $(HOST_CONFIGARGS) $${srcdiroption}  \
6770           || exit 1
6771 @endif fastjar
6772
6773 .PHONY: all-fastjar maybe-all-fastjar
6774 maybe-all-fastjar:
6775 @if fastjar
6776 maybe-all-fastjar: all-fastjar
6777 all-fastjar: configure-fastjar
6778         @r=`${PWD_COMMAND}`; export r; \
6779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780         $(SET_LIB_PATH) \
6781         $(HOST_EXPORTS) \
6782         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS)  all)
6783 @endif fastjar
6784
6785 .PHONY: check-fastjar maybe-check-fastjar
6786 maybe-check-fastjar:
6787 @if fastjar
6788 maybe-check-fastjar: check-fastjar
6789
6790 # This module is only tested in a native toolchain.
6791 check-fastjar:
6792         @if [ '$(host)' = '$(target)' ] ; then \
6793           r=`${PWD_COMMAND}`; export r; \
6794           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6795           $(SET_LIB_PATH) \
6796           $(HOST_EXPORTS) \
6797           (cd fastjar && $(MAKE) $(FLAGS_TO_PASS)  check); \
6798         fi
6799
6800 @endif fastjar
6801
6802 .PHONY: install-fastjar maybe-install-fastjar
6803 maybe-install-fastjar:
6804 @if fastjar
6805 maybe-install-fastjar: install-fastjar
6806
6807 install-fastjar: installdirs
6808         @r=`${PWD_COMMAND}`; export r; \
6809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6810         $(SET_LIB_PATH) \
6811         $(HOST_EXPORTS) \
6812         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6813
6814 @endif fastjar
6815
6816 # Other targets (info, dvi, etc.)
6817
6818 .PHONY: maybe-info-fastjar info-fastjar
6819 maybe-info-fastjar:
6820 @if fastjar
6821 maybe-info-fastjar: info-fastjar
6822
6823 info-fastjar: \
6824     configure-fastjar 
6825         @[ -f ./fastjar/Makefile ] || exit 0; \
6826         r=`${PWD_COMMAND}`; export r; \
6827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6828         $(SET_LIB_PATH) \
6829         $(HOST_EXPORTS) \
6830         for flag in $(EXTRA_HOST_FLAGS) ; do \
6831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6832         done; \
6833         echo "Doing info in fastjar" ; \
6834         (cd fastjar && \
6835           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6836                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6837                   "RANLIB=$${RANLIB}" \
6838                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6839                   info) \
6840           || exit 1
6841
6842 @endif fastjar
6843
6844 .PHONY: maybe-dvi-fastjar dvi-fastjar
6845 maybe-dvi-fastjar:
6846 @if fastjar
6847 maybe-dvi-fastjar: dvi-fastjar
6848
6849 dvi-fastjar: \
6850     configure-fastjar 
6851         @[ -f ./fastjar/Makefile ] || exit 0; \
6852         r=`${PWD_COMMAND}`; export r; \
6853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6854         $(SET_LIB_PATH) \
6855         $(HOST_EXPORTS) \
6856         for flag in $(EXTRA_HOST_FLAGS) ; do \
6857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6858         done; \
6859         echo "Doing dvi in fastjar" ; \
6860         (cd fastjar && \
6861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6863                   "RANLIB=$${RANLIB}" \
6864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6865                   dvi) \
6866           || exit 1
6867
6868 @endif fastjar
6869
6870 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6871 maybe-TAGS-fastjar:
6872 @if fastjar
6873 maybe-TAGS-fastjar: TAGS-fastjar
6874
6875 TAGS-fastjar: \
6876     configure-fastjar 
6877         @[ -f ./fastjar/Makefile ] || exit 0; \
6878         r=`${PWD_COMMAND}`; export r; \
6879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6880         $(SET_LIB_PATH) \
6881         $(HOST_EXPORTS) \
6882         for flag in $(EXTRA_HOST_FLAGS) ; do \
6883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6884         done; \
6885         echo "Doing TAGS in fastjar" ; \
6886         (cd fastjar && \
6887           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6888                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6889                   "RANLIB=$${RANLIB}" \
6890                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6891                   TAGS) \
6892           || exit 1
6893
6894 @endif fastjar
6895
6896 .PHONY: maybe-install-info-fastjar install-info-fastjar
6897 maybe-install-info-fastjar:
6898 @if fastjar
6899 maybe-install-info-fastjar: install-info-fastjar
6900
6901 install-info-fastjar: \
6902     configure-fastjar \
6903     info-fastjar 
6904         @[ -f ./fastjar/Makefile ] || exit 0; \
6905         r=`${PWD_COMMAND}`; export r; \
6906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6907         $(SET_LIB_PATH) \
6908         $(HOST_EXPORTS) \
6909         for flag in $(EXTRA_HOST_FLAGS) ; do \
6910           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6911         done; \
6912         echo "Doing install-info in fastjar" ; \
6913         (cd fastjar && \
6914           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6915                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6916                   "RANLIB=$${RANLIB}" \
6917                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6918                   install-info) \
6919           || exit 1
6920
6921 @endif fastjar
6922
6923 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6924 maybe-installcheck-fastjar:
6925 @if fastjar
6926 maybe-installcheck-fastjar: installcheck-fastjar
6927
6928 installcheck-fastjar: \
6929     configure-fastjar 
6930         @[ -f ./fastjar/Makefile ] || exit 0; \
6931         r=`${PWD_COMMAND}`; export r; \
6932         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933         $(SET_LIB_PATH) \
6934         $(HOST_EXPORTS) \
6935         for flag in $(EXTRA_HOST_FLAGS) ; do \
6936           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6937         done; \
6938         echo "Doing installcheck in fastjar" ; \
6939         (cd fastjar && \
6940           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6941                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6942                   "RANLIB=$${RANLIB}" \
6943                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6944                   installcheck) \
6945           || exit 1
6946
6947 @endif fastjar
6948
6949 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6950 maybe-mostlyclean-fastjar:
6951 @if fastjar
6952 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6953
6954 mostlyclean-fastjar: 
6955         @[ -f ./fastjar/Makefile ] || exit 0; \
6956         r=`${PWD_COMMAND}`; export r; \
6957         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6958         $(SET_LIB_PATH) \
6959         $(HOST_EXPORTS) \
6960         for flag in $(EXTRA_HOST_FLAGS) ; do \
6961           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6962         done; \
6963         echo "Doing mostlyclean in fastjar" ; \
6964         (cd fastjar && \
6965           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6966                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6967                   "RANLIB=$${RANLIB}" \
6968                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6969                   mostlyclean) \
6970           || exit 1
6971
6972 @endif fastjar
6973
6974 .PHONY: maybe-clean-fastjar clean-fastjar
6975 maybe-clean-fastjar:
6976 @if fastjar
6977 maybe-clean-fastjar: clean-fastjar
6978
6979 clean-fastjar: 
6980         @[ -f ./fastjar/Makefile ] || exit 0; \
6981         r=`${PWD_COMMAND}`; export r; \
6982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6983         $(SET_LIB_PATH) \
6984         $(HOST_EXPORTS) \
6985         for flag in $(EXTRA_HOST_FLAGS) ; do \
6986           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6987         done; \
6988         echo "Doing clean in fastjar" ; \
6989         (cd fastjar && \
6990           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6991                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6992                   "RANLIB=$${RANLIB}" \
6993                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6994                   clean) \
6995           || exit 1
6996
6997 @endif fastjar
6998
6999 .PHONY: maybe-distclean-fastjar distclean-fastjar
7000 maybe-distclean-fastjar:
7001 @if fastjar
7002 maybe-distclean-fastjar: distclean-fastjar
7003
7004 distclean-fastjar: 
7005         @[ -f ./fastjar/Makefile ] || exit 0; \
7006         r=`${PWD_COMMAND}`; export r; \
7007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7008         $(SET_LIB_PATH) \
7009         $(HOST_EXPORTS) \
7010         for flag in $(EXTRA_HOST_FLAGS) ; do \
7011           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7012         done; \
7013         echo "Doing distclean in fastjar" ; \
7014         (cd fastjar && \
7015           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7016                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7017                   "RANLIB=$${RANLIB}" \
7018                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7019                   distclean) \
7020           || exit 1
7021
7022 @endif fastjar
7023
7024 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7025 maybe-maintainer-clean-fastjar:
7026 @if fastjar
7027 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7028
7029 maintainer-clean-fastjar: 
7030         @[ -f ./fastjar/Makefile ] || exit 0; \
7031         r=`${PWD_COMMAND}`; export r; \
7032         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7033         $(SET_LIB_PATH) \
7034         $(HOST_EXPORTS) \
7035         for flag in $(EXTRA_HOST_FLAGS) ; do \
7036           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7037         done; \
7038         echo "Doing maintainer-clean in fastjar" ; \
7039         (cd fastjar && \
7040           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7041                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7042                   "RANLIB=$${RANLIB}" \
7043                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7044                   maintainer-clean) \
7045           || exit 1
7046
7047 @endif fastjar
7048
7049
7050 .PHONY: configure-fileutils maybe-configure-fileutils
7051 maybe-configure-fileutils:
7052 @if fileutils
7053 maybe-configure-fileutils: configure-fileutils
7054 configure-fileutils:
7055         @test ! -f fileutils/Makefile || exit 0; \
7056         [ -d fileutils ] || mkdir fileutils; \
7057         r=`${PWD_COMMAND}`; export r; \
7058         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7059         $(HOST_EXPORTS) \
7060         echo Configuring in fileutils; \
7061         cd fileutils || exit 1; \
7062         case $(srcdir) in \
7063           \.) \
7064             srcdiroption="--srcdir=."; \
7065             libsrcdir=".";; \
7066           /* | [A-Za-z]:[\\/]*) \
7067             srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7068             libsrcdir="$$s/fileutils";; \
7069           *) \
7070             srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7071             libsrcdir="$$s/fileutils";; \
7072         esac; \
7073         $(SHELL) $${libsrcdir}/configure \
7074           $(HOST_CONFIGARGS) $${srcdiroption}  \
7075           || exit 1
7076 @endif fileutils
7077
7078 .PHONY: all-fileutils maybe-all-fileutils
7079 maybe-all-fileutils:
7080 @if fileutils
7081 maybe-all-fileutils: all-fileutils
7082 all-fileutils: configure-fileutils
7083         @r=`${PWD_COMMAND}`; export r; \
7084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7085         $(SET_LIB_PATH) \
7086         $(HOST_EXPORTS) \
7087         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS)  all)
7088 @endif fileutils
7089
7090 .PHONY: check-fileutils maybe-check-fileutils
7091 maybe-check-fileutils:
7092 @if fileutils
7093 maybe-check-fileutils: check-fileutils
7094
7095 check-fileutils:
7096         @r=`${PWD_COMMAND}`; export r; \
7097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098         $(SET_LIB_PATH) \
7099         $(HOST_EXPORTS) \
7100         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7101
7102 @endif fileutils
7103
7104 .PHONY: install-fileutils maybe-install-fileutils
7105 maybe-install-fileutils:
7106 @if fileutils
7107 maybe-install-fileutils: install-fileutils
7108
7109 install-fileutils: installdirs
7110         @r=`${PWD_COMMAND}`; export r; \
7111         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7112         $(SET_LIB_PATH) \
7113         $(HOST_EXPORTS) \
7114         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7115
7116 @endif fileutils
7117
7118 # Other targets (info, dvi, etc.)
7119
7120 .PHONY: maybe-info-fileutils info-fileutils
7121 maybe-info-fileutils:
7122 @if fileutils
7123 maybe-info-fileutils: info-fileutils
7124
7125 info-fileutils: \
7126     configure-fileutils 
7127         @[ -f ./fileutils/Makefile ] || exit 0; \
7128         r=`${PWD_COMMAND}`; export r; \
7129         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7130         $(SET_LIB_PATH) \
7131         $(HOST_EXPORTS) \
7132         for flag in $(EXTRA_HOST_FLAGS) ; do \
7133           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7134         done; \
7135         echo "Doing info in fileutils" ; \
7136         (cd fileutils && \
7137           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139                   "RANLIB=$${RANLIB}" \
7140                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7141                   info) \
7142           || exit 1
7143
7144 @endif fileutils
7145
7146 .PHONY: maybe-dvi-fileutils dvi-fileutils
7147 maybe-dvi-fileutils:
7148 @if fileutils
7149 maybe-dvi-fileutils: dvi-fileutils
7150
7151 dvi-fileutils: \
7152     configure-fileutils 
7153         @[ -f ./fileutils/Makefile ] || exit 0; \
7154         r=`${PWD_COMMAND}`; export r; \
7155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7156         $(SET_LIB_PATH) \
7157         $(HOST_EXPORTS) \
7158         for flag in $(EXTRA_HOST_FLAGS) ; do \
7159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7160         done; \
7161         echo "Doing dvi in fileutils" ; \
7162         (cd fileutils && \
7163           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7164                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7165                   "RANLIB=$${RANLIB}" \
7166                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7167                   dvi) \
7168           || exit 1
7169
7170 @endif fileutils
7171
7172 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7173 maybe-TAGS-fileutils:
7174 @if fileutils
7175 maybe-TAGS-fileutils: TAGS-fileutils
7176
7177 TAGS-fileutils: \
7178     configure-fileutils 
7179         @[ -f ./fileutils/Makefile ] || exit 0; \
7180         r=`${PWD_COMMAND}`; export r; \
7181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7182         $(SET_LIB_PATH) \
7183         $(HOST_EXPORTS) \
7184         for flag in $(EXTRA_HOST_FLAGS) ; do \
7185           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7186         done; \
7187         echo "Doing TAGS in fileutils" ; \
7188         (cd fileutils && \
7189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7191                   "RANLIB=$${RANLIB}" \
7192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7193                   TAGS) \
7194           || exit 1
7195
7196 @endif fileutils
7197
7198 .PHONY: maybe-install-info-fileutils install-info-fileutils
7199 maybe-install-info-fileutils:
7200 @if fileutils
7201 maybe-install-info-fileutils: install-info-fileutils
7202
7203 install-info-fileutils: \
7204     configure-fileutils \
7205     info-fileutils 
7206         @[ -f ./fileutils/Makefile ] || exit 0; \
7207         r=`${PWD_COMMAND}`; export r; \
7208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209         $(SET_LIB_PATH) \
7210         $(HOST_EXPORTS) \
7211         for flag in $(EXTRA_HOST_FLAGS) ; do \
7212           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7213         done; \
7214         echo "Doing install-info in fileutils" ; \
7215         (cd fileutils && \
7216           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7217                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7218                   "RANLIB=$${RANLIB}" \
7219                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7220                   install-info) \
7221           || exit 1
7222
7223 @endif fileutils
7224
7225 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7226 maybe-installcheck-fileutils:
7227 @if fileutils
7228 maybe-installcheck-fileutils: installcheck-fileutils
7229
7230 installcheck-fileutils: \
7231     configure-fileutils 
7232         @[ -f ./fileutils/Makefile ] || exit 0; \
7233         r=`${PWD_COMMAND}`; export r; \
7234         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7235         $(SET_LIB_PATH) \
7236         $(HOST_EXPORTS) \
7237         for flag in $(EXTRA_HOST_FLAGS) ; do \
7238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7239         done; \
7240         echo "Doing installcheck in fileutils" ; \
7241         (cd fileutils && \
7242           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7243                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7244                   "RANLIB=$${RANLIB}" \
7245                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7246                   installcheck) \
7247           || exit 1
7248
7249 @endif fileutils
7250
7251 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7252 maybe-mostlyclean-fileutils:
7253 @if fileutils
7254 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7255
7256 mostlyclean-fileutils: 
7257         @[ -f ./fileutils/Makefile ] || exit 0; \
7258         r=`${PWD_COMMAND}`; export r; \
7259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7260         $(SET_LIB_PATH) \
7261         $(HOST_EXPORTS) \
7262         for flag in $(EXTRA_HOST_FLAGS) ; do \
7263           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7264         done; \
7265         echo "Doing mostlyclean in fileutils" ; \
7266         (cd fileutils && \
7267           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7268                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7269                   "RANLIB=$${RANLIB}" \
7270                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7271                   mostlyclean) \
7272           || exit 1
7273
7274 @endif fileutils
7275
7276 .PHONY: maybe-clean-fileutils clean-fileutils
7277 maybe-clean-fileutils:
7278 @if fileutils
7279 maybe-clean-fileutils: clean-fileutils
7280
7281 clean-fileutils: 
7282         @[ -f ./fileutils/Makefile ] || exit 0; \
7283         r=`${PWD_COMMAND}`; export r; \
7284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285         $(SET_LIB_PATH) \
7286         $(HOST_EXPORTS) \
7287         for flag in $(EXTRA_HOST_FLAGS) ; do \
7288           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7289         done; \
7290         echo "Doing clean in fileutils" ; \
7291         (cd fileutils && \
7292           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7293                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7294                   "RANLIB=$${RANLIB}" \
7295                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7296                   clean) \
7297           || exit 1
7298
7299 @endif fileutils
7300
7301 .PHONY: maybe-distclean-fileutils distclean-fileutils
7302 maybe-distclean-fileutils:
7303 @if fileutils
7304 maybe-distclean-fileutils: distclean-fileutils
7305
7306 distclean-fileutils: 
7307         @[ -f ./fileutils/Makefile ] || exit 0; \
7308         r=`${PWD_COMMAND}`; export r; \
7309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310         $(SET_LIB_PATH) \
7311         $(HOST_EXPORTS) \
7312         for flag in $(EXTRA_HOST_FLAGS) ; do \
7313           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7314         done; \
7315         echo "Doing distclean in fileutils" ; \
7316         (cd fileutils && \
7317           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7318                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7319                   "RANLIB=$${RANLIB}" \
7320                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7321                   distclean) \
7322           || exit 1
7323
7324 @endif fileutils
7325
7326 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7327 maybe-maintainer-clean-fileutils:
7328 @if fileutils
7329 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7330
7331 maintainer-clean-fileutils: 
7332         @[ -f ./fileutils/Makefile ] || exit 0; \
7333         r=`${PWD_COMMAND}`; export r; \
7334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335         $(SET_LIB_PATH) \
7336         $(HOST_EXPORTS) \
7337         for flag in $(EXTRA_HOST_FLAGS) ; do \
7338           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7339         done; \
7340         echo "Doing maintainer-clean in fileutils" ; \
7341         (cd fileutils && \
7342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7344                   "RANLIB=$${RANLIB}" \
7345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7346                   maintainer-clean) \
7347           || exit 1
7348
7349 @endif fileutils
7350
7351
7352 .PHONY: configure-findutils maybe-configure-findutils
7353 maybe-configure-findutils:
7354 @if findutils
7355 maybe-configure-findutils: configure-findutils
7356 configure-findutils:
7357         @test ! -f findutils/Makefile || exit 0; \
7358         [ -d findutils ] || mkdir findutils; \
7359         r=`${PWD_COMMAND}`; export r; \
7360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361         $(HOST_EXPORTS) \
7362         echo Configuring in findutils; \
7363         cd findutils || exit 1; \
7364         case $(srcdir) in \
7365           \.) \
7366             srcdiroption="--srcdir=."; \
7367             libsrcdir=".";; \
7368           /* | [A-Za-z]:[\\/]*) \
7369             srcdiroption="--srcdir=$(srcdir)/findutils"; \
7370             libsrcdir="$$s/findutils";; \
7371           *) \
7372             srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7373             libsrcdir="$$s/findutils";; \
7374         esac; \
7375         $(SHELL) $${libsrcdir}/configure \
7376           $(HOST_CONFIGARGS) $${srcdiroption}  \
7377           || exit 1
7378 @endif findutils
7379
7380 .PHONY: all-findutils maybe-all-findutils
7381 maybe-all-findutils:
7382 @if findutils
7383 maybe-all-findutils: all-findutils
7384 all-findutils: configure-findutils
7385         @r=`${PWD_COMMAND}`; export r; \
7386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387         $(SET_LIB_PATH) \
7388         $(HOST_EXPORTS) \
7389         (cd findutils && $(MAKE) $(FLAGS_TO_PASS)  all)
7390 @endif findutils
7391
7392 .PHONY: check-findutils maybe-check-findutils
7393 maybe-check-findutils:
7394 @if findutils
7395 maybe-check-findutils: check-findutils
7396
7397 check-findutils:
7398         @r=`${PWD_COMMAND}`; export r; \
7399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7400         $(SET_LIB_PATH) \
7401         $(HOST_EXPORTS) \
7402         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7403
7404 @endif findutils
7405
7406 .PHONY: install-findutils maybe-install-findutils
7407 maybe-install-findutils:
7408 @if findutils
7409 maybe-install-findutils: install-findutils
7410
7411 install-findutils: installdirs
7412         @r=`${PWD_COMMAND}`; export r; \
7413         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7414         $(SET_LIB_PATH) \
7415         $(HOST_EXPORTS) \
7416         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7417
7418 @endif findutils
7419
7420 # Other targets (info, dvi, etc.)
7421
7422 .PHONY: maybe-info-findutils info-findutils
7423 maybe-info-findutils:
7424 @if findutils
7425 maybe-info-findutils: info-findutils
7426
7427 info-findutils: \
7428     configure-findutils 
7429         @[ -f ./findutils/Makefile ] || exit 0; \
7430         r=`${PWD_COMMAND}`; export r; \
7431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7432         $(SET_LIB_PATH) \
7433         $(HOST_EXPORTS) \
7434         for flag in $(EXTRA_HOST_FLAGS) ; do \
7435           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7436         done; \
7437         echo "Doing info in findutils" ; \
7438         (cd findutils && \
7439           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7440                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7441                   "RANLIB=$${RANLIB}" \
7442                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7443                   info) \
7444           || exit 1
7445
7446 @endif findutils
7447
7448 .PHONY: maybe-dvi-findutils dvi-findutils
7449 maybe-dvi-findutils:
7450 @if findutils
7451 maybe-dvi-findutils: dvi-findutils
7452
7453 dvi-findutils: \
7454     configure-findutils 
7455         @[ -f ./findutils/Makefile ] || exit 0; \
7456         r=`${PWD_COMMAND}`; export r; \
7457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7458         $(SET_LIB_PATH) \
7459         $(HOST_EXPORTS) \
7460         for flag in $(EXTRA_HOST_FLAGS) ; do \
7461           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7462         done; \
7463         echo "Doing dvi in findutils" ; \
7464         (cd findutils && \
7465           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7466                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7467                   "RANLIB=$${RANLIB}" \
7468                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7469                   dvi) \
7470           || exit 1
7471
7472 @endif findutils
7473
7474 .PHONY: maybe-TAGS-findutils TAGS-findutils
7475 maybe-TAGS-findutils:
7476 @if findutils
7477 maybe-TAGS-findutils: TAGS-findutils
7478
7479 TAGS-findutils: \
7480     configure-findutils 
7481         @[ -f ./findutils/Makefile ] || exit 0; \
7482         r=`${PWD_COMMAND}`; export r; \
7483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7484         $(SET_LIB_PATH) \
7485         $(HOST_EXPORTS) \
7486         for flag in $(EXTRA_HOST_FLAGS) ; do \
7487           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7488         done; \
7489         echo "Doing TAGS in findutils" ; \
7490         (cd findutils && \
7491           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7492                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7493                   "RANLIB=$${RANLIB}" \
7494                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7495                   TAGS) \
7496           || exit 1
7497
7498 @endif findutils
7499
7500 .PHONY: maybe-install-info-findutils install-info-findutils
7501 maybe-install-info-findutils:
7502 @if findutils
7503 maybe-install-info-findutils: install-info-findutils
7504
7505 install-info-findutils: \
7506     configure-findutils \
7507     info-findutils 
7508         @[ -f ./findutils/Makefile ] || exit 0; \
7509         r=`${PWD_COMMAND}`; export r; \
7510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7511         $(SET_LIB_PATH) \
7512         $(HOST_EXPORTS) \
7513         for flag in $(EXTRA_HOST_FLAGS) ; do \
7514           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7515         done; \
7516         echo "Doing install-info in findutils" ; \
7517         (cd findutils && \
7518           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7519                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7520                   "RANLIB=$${RANLIB}" \
7521                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7522                   install-info) \
7523           || exit 1
7524
7525 @endif findutils
7526
7527 .PHONY: maybe-installcheck-findutils installcheck-findutils
7528 maybe-installcheck-findutils:
7529 @if findutils
7530 maybe-installcheck-findutils: installcheck-findutils
7531
7532 installcheck-findutils: \
7533     configure-findutils 
7534         @[ -f ./findutils/Makefile ] || exit 0; \
7535         r=`${PWD_COMMAND}`; export r; \
7536         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7537         $(SET_LIB_PATH) \
7538         $(HOST_EXPORTS) \
7539         for flag in $(EXTRA_HOST_FLAGS) ; do \
7540           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7541         done; \
7542         echo "Doing installcheck in findutils" ; \
7543         (cd findutils && \
7544           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7545                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7546                   "RANLIB=$${RANLIB}" \
7547                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7548                   installcheck) \
7549           || exit 1
7550
7551 @endif findutils
7552
7553 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7554 maybe-mostlyclean-findutils:
7555 @if findutils
7556 maybe-mostlyclean-findutils: mostlyclean-findutils
7557
7558 mostlyclean-findutils: 
7559         @[ -f ./findutils/Makefile ] || exit 0; \
7560         r=`${PWD_COMMAND}`; export r; \
7561         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7562         $(SET_LIB_PATH) \
7563         $(HOST_EXPORTS) \
7564         for flag in $(EXTRA_HOST_FLAGS) ; do \
7565           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7566         done; \
7567         echo "Doing mostlyclean in findutils" ; \
7568         (cd findutils && \
7569           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7570                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7571                   "RANLIB=$${RANLIB}" \
7572                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7573                   mostlyclean) \
7574           || exit 1
7575
7576 @endif findutils
7577
7578 .PHONY: maybe-clean-findutils clean-findutils
7579 maybe-clean-findutils:
7580 @if findutils
7581 maybe-clean-findutils: clean-findutils
7582
7583 clean-findutils: 
7584         @[ -f ./findutils/Makefile ] || exit 0; \
7585         r=`${PWD_COMMAND}`; export r; \
7586         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7587         $(SET_LIB_PATH) \
7588         $(HOST_EXPORTS) \
7589         for flag in $(EXTRA_HOST_FLAGS) ; do \
7590           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7591         done; \
7592         echo "Doing clean in findutils" ; \
7593         (cd findutils && \
7594           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7595                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7596                   "RANLIB=$${RANLIB}" \
7597                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7598                   clean) \
7599           || exit 1
7600
7601 @endif findutils
7602
7603 .PHONY: maybe-distclean-findutils distclean-findutils
7604 maybe-distclean-findutils:
7605 @if findutils
7606 maybe-distclean-findutils: distclean-findutils
7607
7608 distclean-findutils: 
7609         @[ -f ./findutils/Makefile ] || exit 0; \
7610         r=`${PWD_COMMAND}`; export r; \
7611         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7612         $(SET_LIB_PATH) \
7613         $(HOST_EXPORTS) \
7614         for flag in $(EXTRA_HOST_FLAGS) ; do \
7615           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7616         done; \
7617         echo "Doing distclean in findutils" ; \
7618         (cd findutils && \
7619           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7620                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7621                   "RANLIB=$${RANLIB}" \
7622                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7623                   distclean) \
7624           || exit 1
7625
7626 @endif findutils
7627
7628 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7629 maybe-maintainer-clean-findutils:
7630 @if findutils
7631 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7632
7633 maintainer-clean-findutils: 
7634         @[ -f ./findutils/Makefile ] || exit 0; \
7635         r=`${PWD_COMMAND}`; export r; \
7636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7637         $(SET_LIB_PATH) \
7638         $(HOST_EXPORTS) \
7639         for flag in $(EXTRA_HOST_FLAGS) ; do \
7640           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7641         done; \
7642         echo "Doing maintainer-clean in findutils" ; \
7643         (cd findutils && \
7644           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7645                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7646                   "RANLIB=$${RANLIB}" \
7647                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7648                   maintainer-clean) \
7649           || exit 1
7650
7651 @endif findutils
7652
7653
7654 .PHONY: configure-find maybe-configure-find
7655 maybe-configure-find:
7656 @if find
7657 maybe-configure-find: configure-find
7658 configure-find:
7659         @test ! -f find/Makefile || exit 0; \
7660         [ -d find ] || mkdir find; \
7661         r=`${PWD_COMMAND}`; export r; \
7662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7663         $(HOST_EXPORTS) \
7664         echo Configuring in find; \
7665         cd find || exit 1; \
7666         case $(srcdir) in \
7667           \.) \
7668             srcdiroption="--srcdir=."; \
7669             libsrcdir=".";; \
7670           /* | [A-Za-z]:[\\/]*) \
7671             srcdiroption="--srcdir=$(srcdir)/find"; \
7672             libsrcdir="$$s/find";; \
7673           *) \
7674             srcdiroption="--srcdir=../$(srcdir)/find"; \
7675             libsrcdir="$$s/find";; \
7676         esac; \
7677         $(SHELL) $${libsrcdir}/configure \
7678           $(HOST_CONFIGARGS) $${srcdiroption}  \
7679           || exit 1
7680 @endif find
7681
7682 .PHONY: all-find maybe-all-find
7683 maybe-all-find:
7684 @if find
7685 maybe-all-find: all-find
7686 all-find: configure-find
7687         @r=`${PWD_COMMAND}`; export r; \
7688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7689         $(SET_LIB_PATH) \
7690         $(HOST_EXPORTS) \
7691         (cd find && $(MAKE) $(FLAGS_TO_PASS)  all)
7692 @endif find
7693
7694 .PHONY: check-find maybe-check-find
7695 maybe-check-find:
7696 @if find
7697 maybe-check-find: check-find
7698
7699 check-find:
7700         @r=`${PWD_COMMAND}`; export r; \
7701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7702         $(SET_LIB_PATH) \
7703         $(HOST_EXPORTS) \
7704         (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7705
7706 @endif find
7707
7708 .PHONY: install-find maybe-install-find
7709 maybe-install-find:
7710 @if find
7711 maybe-install-find: install-find
7712
7713 install-find: installdirs
7714         @r=`${PWD_COMMAND}`; export r; \
7715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7716         $(SET_LIB_PATH) \
7717         $(HOST_EXPORTS) \
7718         (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7719
7720 @endif find
7721
7722 # Other targets (info, dvi, etc.)
7723
7724 .PHONY: maybe-info-find info-find
7725 maybe-info-find:
7726 @if find
7727 maybe-info-find: info-find
7728
7729 info-find: \
7730     configure-find 
7731         @[ -f ./find/Makefile ] || exit 0; \
7732         r=`${PWD_COMMAND}`; export r; \
7733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7734         $(SET_LIB_PATH) \
7735         $(HOST_EXPORTS) \
7736         for flag in $(EXTRA_HOST_FLAGS) ; do \
7737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7738         done; \
7739         echo "Doing info in find" ; \
7740         (cd find && \
7741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7743                   "RANLIB=$${RANLIB}" \
7744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7745                   info) \
7746           || exit 1
7747
7748 @endif find
7749
7750 .PHONY: maybe-dvi-find dvi-find
7751 maybe-dvi-find:
7752 @if find
7753 maybe-dvi-find: dvi-find
7754
7755 dvi-find: \
7756     configure-find 
7757         @[ -f ./find/Makefile ] || exit 0; \
7758         r=`${PWD_COMMAND}`; export r; \
7759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7760         $(SET_LIB_PATH) \
7761         $(HOST_EXPORTS) \
7762         for flag in $(EXTRA_HOST_FLAGS) ; do \
7763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7764         done; \
7765         echo "Doing dvi in find" ; \
7766         (cd find && \
7767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7769                   "RANLIB=$${RANLIB}" \
7770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7771                   dvi) \
7772           || exit 1
7773
7774 @endif find
7775
7776 .PHONY: maybe-TAGS-find TAGS-find
7777 maybe-TAGS-find:
7778 @if find
7779 maybe-TAGS-find: TAGS-find
7780
7781 TAGS-find: \
7782     configure-find 
7783         @[ -f ./find/Makefile ] || exit 0; \
7784         r=`${PWD_COMMAND}`; export r; \
7785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7786         $(SET_LIB_PATH) \
7787         $(HOST_EXPORTS) \
7788         for flag in $(EXTRA_HOST_FLAGS) ; do \
7789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7790         done; \
7791         echo "Doing TAGS in find" ; \
7792         (cd find && \
7793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7795                   "RANLIB=$${RANLIB}" \
7796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7797                   TAGS) \
7798           || exit 1
7799
7800 @endif find
7801
7802 .PHONY: maybe-install-info-find install-info-find
7803 maybe-install-info-find:
7804 @if find
7805 maybe-install-info-find: install-info-find
7806
7807 install-info-find: \
7808     configure-find \
7809     info-find 
7810         @[ -f ./find/Makefile ] || exit 0; \
7811         r=`${PWD_COMMAND}`; export r; \
7812         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7813         $(SET_LIB_PATH) \
7814         $(HOST_EXPORTS) \
7815         for flag in $(EXTRA_HOST_FLAGS) ; do \
7816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7817         done; \
7818         echo "Doing install-info in find" ; \
7819         (cd find && \
7820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7822                   "RANLIB=$${RANLIB}" \
7823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7824                   install-info) \
7825           || exit 1
7826
7827 @endif find
7828
7829 .PHONY: maybe-installcheck-find installcheck-find
7830 maybe-installcheck-find:
7831 @if find
7832 maybe-installcheck-find: installcheck-find
7833
7834 installcheck-find: \
7835     configure-find 
7836         @[ -f ./find/Makefile ] || exit 0; \
7837         r=`${PWD_COMMAND}`; export r; \
7838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7839         $(SET_LIB_PATH) \
7840         $(HOST_EXPORTS) \
7841         for flag in $(EXTRA_HOST_FLAGS) ; do \
7842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7843         done; \
7844         echo "Doing installcheck in find" ; \
7845         (cd find && \
7846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7848                   "RANLIB=$${RANLIB}" \
7849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7850                   installcheck) \
7851           || exit 1
7852
7853 @endif find
7854
7855 .PHONY: maybe-mostlyclean-find mostlyclean-find
7856 maybe-mostlyclean-find:
7857 @if find
7858 maybe-mostlyclean-find: mostlyclean-find
7859
7860 mostlyclean-find: 
7861         @[ -f ./find/Makefile ] || exit 0; \
7862         r=`${PWD_COMMAND}`; export r; \
7863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7864         $(SET_LIB_PATH) \
7865         $(HOST_EXPORTS) \
7866         for flag in $(EXTRA_HOST_FLAGS) ; do \
7867           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7868         done; \
7869         echo "Doing mostlyclean in find" ; \
7870         (cd find && \
7871           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7872                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7873                   "RANLIB=$${RANLIB}" \
7874                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7875                   mostlyclean) \
7876           || exit 1
7877
7878 @endif find
7879
7880 .PHONY: maybe-clean-find clean-find
7881 maybe-clean-find:
7882 @if find
7883 maybe-clean-find: clean-find
7884
7885 clean-find: 
7886         @[ -f ./find/Makefile ] || exit 0; \
7887         r=`${PWD_COMMAND}`; export r; \
7888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889         $(SET_LIB_PATH) \
7890         $(HOST_EXPORTS) \
7891         for flag in $(EXTRA_HOST_FLAGS) ; do \
7892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7893         done; \
7894         echo "Doing clean in find" ; \
7895         (cd find && \
7896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7898                   "RANLIB=$${RANLIB}" \
7899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7900                   clean) \
7901           || exit 1
7902
7903 @endif find
7904
7905 .PHONY: maybe-distclean-find distclean-find
7906 maybe-distclean-find:
7907 @if find
7908 maybe-distclean-find: distclean-find
7909
7910 distclean-find: 
7911         @[ -f ./find/Makefile ] || exit 0; \
7912         r=`${PWD_COMMAND}`; export r; \
7913         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7914         $(SET_LIB_PATH) \
7915         $(HOST_EXPORTS) \
7916         for flag in $(EXTRA_HOST_FLAGS) ; do \
7917           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7918         done; \
7919         echo "Doing distclean in find" ; \
7920         (cd find && \
7921           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7922                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7923                   "RANLIB=$${RANLIB}" \
7924                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7925                   distclean) \
7926           || exit 1
7927
7928 @endif find
7929
7930 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7931 maybe-maintainer-clean-find:
7932 @if find
7933 maybe-maintainer-clean-find: maintainer-clean-find
7934
7935 maintainer-clean-find: 
7936         @[ -f ./find/Makefile ] || exit 0; \
7937         r=`${PWD_COMMAND}`; export r; \
7938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7939         $(SET_LIB_PATH) \
7940         $(HOST_EXPORTS) \
7941         for flag in $(EXTRA_HOST_FLAGS) ; do \
7942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943         done; \
7944         echo "Doing maintainer-clean in find" ; \
7945         (cd find && \
7946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948                   "RANLIB=$${RANLIB}" \
7949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7950                   maintainer-clean) \
7951           || exit 1
7952
7953 @endif find
7954
7955
7956 .PHONY: configure-flex maybe-configure-flex
7957 maybe-configure-flex:
7958 @if flex
7959 maybe-configure-flex: configure-flex
7960 configure-flex:
7961         @test ! -f flex/Makefile || exit 0; \
7962         [ -d flex ] || mkdir flex; \
7963         r=`${PWD_COMMAND}`; export r; \
7964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7965         $(HOST_EXPORTS) \
7966         echo Configuring in flex; \
7967         cd flex || exit 1; \
7968         case $(srcdir) in \
7969           \.) \
7970             srcdiroption="--srcdir=."; \
7971             libsrcdir=".";; \
7972           /* | [A-Za-z]:[\\/]*) \
7973             srcdiroption="--srcdir=$(srcdir)/flex"; \
7974             libsrcdir="$$s/flex";; \
7975           *) \
7976             srcdiroption="--srcdir=../$(srcdir)/flex"; \
7977             libsrcdir="$$s/flex";; \
7978         esac; \
7979         $(SHELL) $${libsrcdir}/configure \
7980           $(HOST_CONFIGARGS) $${srcdiroption}  \
7981           || exit 1
7982 @endif flex
7983
7984 .PHONY: all-flex maybe-all-flex
7985 maybe-all-flex:
7986 @if flex
7987 maybe-all-flex: all-flex
7988 all-flex: configure-flex
7989         @r=`${PWD_COMMAND}`; export r; \
7990         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7991         $(SET_LIB_PATH) \
7992         $(HOST_EXPORTS) \
7993         (cd flex && $(MAKE) $(FLAGS_TO_PASS)  all)
7994 @endif flex
7995
7996 .PHONY: check-flex maybe-check-flex
7997 maybe-check-flex:
7998 @if flex
7999 maybe-check-flex: check-flex
8000
8001 # This module is only tested in a native toolchain.
8002 check-flex:
8003         @if [ '$(host)' = '$(target)' ] ; then \
8004           r=`${PWD_COMMAND}`; export r; \
8005           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8006           $(SET_LIB_PATH) \
8007           $(HOST_EXPORTS) \
8008           (cd flex && $(MAKE) $(FLAGS_TO_PASS)  check); \
8009         fi
8010
8011 @endif flex
8012
8013 .PHONY: install-flex maybe-install-flex
8014 maybe-install-flex:
8015 @if flex
8016 maybe-install-flex: install-flex
8017
8018 install-flex: installdirs
8019         @r=`${PWD_COMMAND}`; export r; \
8020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8021         $(SET_LIB_PATH) \
8022         $(HOST_EXPORTS) \
8023         (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8024
8025 @endif flex
8026
8027 # Other targets (info, dvi, etc.)
8028
8029 .PHONY: maybe-info-flex info-flex
8030 maybe-info-flex:
8031 @if flex
8032 maybe-info-flex: info-flex
8033
8034 info-flex: \
8035     configure-flex 
8036         @[ -f ./flex/Makefile ] || exit 0; \
8037         r=`${PWD_COMMAND}`; export r; \
8038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8039         $(SET_LIB_PATH) \
8040         $(HOST_EXPORTS) \
8041         for flag in $(EXTRA_HOST_FLAGS) ; do \
8042           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8043         done; \
8044         echo "Doing info in flex" ; \
8045         (cd flex && \
8046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8048                   "RANLIB=$${RANLIB}" \
8049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8050                   info) \
8051           || exit 1
8052
8053 @endif flex
8054
8055 .PHONY: maybe-dvi-flex dvi-flex
8056 maybe-dvi-flex:
8057 @if flex
8058 maybe-dvi-flex: dvi-flex
8059
8060 dvi-flex: \
8061     configure-flex 
8062         @[ -f ./flex/Makefile ] || exit 0; \
8063         r=`${PWD_COMMAND}`; export r; \
8064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8065         $(SET_LIB_PATH) \
8066         $(HOST_EXPORTS) \
8067         for flag in $(EXTRA_HOST_FLAGS) ; do \
8068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8069         done; \
8070         echo "Doing dvi in flex" ; \
8071         (cd flex && \
8072           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8073                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8074                   "RANLIB=$${RANLIB}" \
8075                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8076                   dvi) \
8077           || exit 1
8078
8079 @endif flex
8080
8081 .PHONY: maybe-TAGS-flex TAGS-flex
8082 maybe-TAGS-flex:
8083 @if flex
8084 maybe-TAGS-flex: TAGS-flex
8085
8086 TAGS-flex: \
8087     configure-flex 
8088         @[ -f ./flex/Makefile ] || exit 0; \
8089         r=`${PWD_COMMAND}`; export r; \
8090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8091         $(SET_LIB_PATH) \
8092         $(HOST_EXPORTS) \
8093         for flag in $(EXTRA_HOST_FLAGS) ; do \
8094           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8095         done; \
8096         echo "Doing TAGS in flex" ; \
8097         (cd flex && \
8098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8100                   "RANLIB=$${RANLIB}" \
8101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8102                   TAGS) \
8103           || exit 1
8104
8105 @endif flex
8106
8107 .PHONY: maybe-install-info-flex install-info-flex
8108 maybe-install-info-flex:
8109 @if flex
8110 maybe-install-info-flex: install-info-flex
8111
8112 install-info-flex: \
8113     configure-flex \
8114     info-flex 
8115         @[ -f ./flex/Makefile ] || exit 0; \
8116         r=`${PWD_COMMAND}`; export r; \
8117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8118         $(SET_LIB_PATH) \
8119         $(HOST_EXPORTS) \
8120         for flag in $(EXTRA_HOST_FLAGS) ; do \
8121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8122         done; \
8123         echo "Doing install-info in flex" ; \
8124         (cd flex && \
8125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8127                   "RANLIB=$${RANLIB}" \
8128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8129                   install-info) \
8130           || exit 1
8131
8132 @endif flex
8133
8134 .PHONY: maybe-installcheck-flex installcheck-flex
8135 maybe-installcheck-flex:
8136 @if flex
8137 maybe-installcheck-flex: installcheck-flex
8138
8139 installcheck-flex: \
8140     configure-flex 
8141         @[ -f ./flex/Makefile ] || exit 0; \
8142         r=`${PWD_COMMAND}`; export r; \
8143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8144         $(SET_LIB_PATH) \
8145         $(HOST_EXPORTS) \
8146         for flag in $(EXTRA_HOST_FLAGS) ; do \
8147           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8148         done; \
8149         echo "Doing installcheck in flex" ; \
8150         (cd flex && \
8151           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8152                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8153                   "RANLIB=$${RANLIB}" \
8154                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8155                   installcheck) \
8156           || exit 1
8157
8158 @endif flex
8159
8160 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8161 maybe-mostlyclean-flex:
8162 @if flex
8163 maybe-mostlyclean-flex: mostlyclean-flex
8164
8165 mostlyclean-flex: 
8166         @[ -f ./flex/Makefile ] || exit 0; \
8167         r=`${PWD_COMMAND}`; export r; \
8168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8169         $(SET_LIB_PATH) \
8170         $(HOST_EXPORTS) \
8171         for flag in $(EXTRA_HOST_FLAGS) ; do \
8172           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8173         done; \
8174         echo "Doing mostlyclean in flex" ; \
8175         (cd flex && \
8176           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8177                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8178                   "RANLIB=$${RANLIB}" \
8179                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8180                   mostlyclean) \
8181           || exit 1
8182
8183 @endif flex
8184
8185 .PHONY: maybe-clean-flex clean-flex
8186 maybe-clean-flex:
8187 @if flex
8188 maybe-clean-flex: clean-flex
8189
8190 clean-flex: 
8191         @[ -f ./flex/Makefile ] || exit 0; \
8192         r=`${PWD_COMMAND}`; export r; \
8193         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8194         $(SET_LIB_PATH) \
8195         $(HOST_EXPORTS) \
8196         for flag in $(EXTRA_HOST_FLAGS) ; do \
8197           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8198         done; \
8199         echo "Doing clean in flex" ; \
8200         (cd flex && \
8201           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203                   "RANLIB=$${RANLIB}" \
8204                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8205                   clean) \
8206           || exit 1
8207
8208 @endif flex
8209
8210 .PHONY: maybe-distclean-flex distclean-flex
8211 maybe-distclean-flex:
8212 @if flex
8213 maybe-distclean-flex: distclean-flex
8214
8215 distclean-flex: 
8216         @[ -f ./flex/Makefile ] || exit 0; \
8217         r=`${PWD_COMMAND}`; export r; \
8218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8219         $(SET_LIB_PATH) \
8220         $(HOST_EXPORTS) \
8221         for flag in $(EXTRA_HOST_FLAGS) ; do \
8222           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8223         done; \
8224         echo "Doing distclean in flex" ; \
8225         (cd flex && \
8226           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228                   "RANLIB=$${RANLIB}" \
8229                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8230                   distclean) \
8231           || exit 1
8232
8233 @endif flex
8234
8235 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8236 maybe-maintainer-clean-flex:
8237 @if flex
8238 maybe-maintainer-clean-flex: maintainer-clean-flex
8239
8240 maintainer-clean-flex: 
8241         @[ -f ./flex/Makefile ] || exit 0; \
8242         r=`${PWD_COMMAND}`; export r; \
8243         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8244         $(SET_LIB_PATH) \
8245         $(HOST_EXPORTS) \
8246         for flag in $(EXTRA_HOST_FLAGS) ; do \
8247           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8248         done; \
8249         echo "Doing maintainer-clean in flex" ; \
8250         (cd flex && \
8251           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8252                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8253                   "RANLIB=$${RANLIB}" \
8254                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8255                   maintainer-clean) \
8256           || exit 1
8257
8258 @endif flex
8259
8260
8261 .PHONY: configure-gas maybe-configure-gas
8262 maybe-configure-gas:
8263 @if gas
8264 maybe-configure-gas: configure-gas
8265 configure-gas:
8266         @test -f stage_last && exit 0; \
8267         test ! -f gas/Makefile || exit 0; \
8268         [ -d gas ] || mkdir gas; \
8269         r=`${PWD_COMMAND}`; export r; \
8270         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271         $(HOST_EXPORTS) \
8272         echo Configuring in gas; \
8273         cd gas || exit 1; \
8274         case $(srcdir) in \
8275           \.) \
8276             srcdiroption="--srcdir=."; \
8277             libsrcdir=".";; \
8278           /* | [A-Za-z]:[\\/]*) \
8279             srcdiroption="--srcdir=$(srcdir)/gas"; \
8280             libsrcdir="$$s/gas";; \
8281           *) \
8282             srcdiroption="--srcdir=../$(srcdir)/gas"; \
8283             libsrcdir="$$s/gas";; \
8284         esac; \
8285         $(SHELL) $${libsrcdir}/configure \
8286           $(HOST_CONFIGARGS) $${srcdiroption}  \
8287           || exit 1
8288 @endif gas
8289
8290 .PHONY: all-gas maybe-all-gas
8291 maybe-all-gas:
8292 @if gas
8293 maybe-all-gas: all-gas
8294 all-gas: configure-gas
8295         @test -f stage_last && exit 0; \
8296         r=`${PWD_COMMAND}`; export r; \
8297         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8298         $(SET_LIB_PATH) \
8299         $(HOST_EXPORTS) \
8300         (cd gas && $(MAKE) $(FLAGS_TO_PASS)  all)
8301 @endif gas
8302
8303 .PHONY: check-gas maybe-check-gas
8304 maybe-check-gas:
8305 @if gas
8306 maybe-check-gas: check-gas
8307
8308 check-gas:
8309         @r=`${PWD_COMMAND}`; export r; \
8310         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8311         $(SET_LIB_PATH) \
8312         $(HOST_EXPORTS) \
8313         (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8314
8315 @endif gas
8316
8317 .PHONY: install-gas maybe-install-gas
8318 maybe-install-gas:
8319 @if gas
8320 maybe-install-gas: install-gas
8321
8322 install-gas: installdirs
8323         @r=`${PWD_COMMAND}`; export r; \
8324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325         $(SET_LIB_PATH) \
8326         $(HOST_EXPORTS) \
8327         (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8328
8329 @endif gas
8330
8331 # Other targets (info, dvi, etc.)
8332
8333 .PHONY: maybe-info-gas info-gas
8334 maybe-info-gas:
8335 @if gas
8336 maybe-info-gas: info-gas
8337
8338 info-gas: \
8339     configure-gas 
8340         @[ -f ./gas/Makefile ] || exit 0; \
8341         r=`${PWD_COMMAND}`; export r; \
8342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8343         $(SET_LIB_PATH) \
8344         $(HOST_EXPORTS) \
8345         for flag in $(EXTRA_HOST_FLAGS) ; do \
8346           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8347         done; \
8348         echo "Doing info in gas" ; \
8349         (cd gas && \
8350           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8351                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8352                   "RANLIB=$${RANLIB}" \
8353                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8354                   info) \
8355           || exit 1
8356
8357 @endif gas
8358
8359 .PHONY: maybe-dvi-gas dvi-gas
8360 maybe-dvi-gas:
8361 @if gas
8362 maybe-dvi-gas: dvi-gas
8363
8364 dvi-gas: \
8365     configure-gas 
8366         @[ -f ./gas/Makefile ] || exit 0; \
8367         r=`${PWD_COMMAND}`; export r; \
8368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8369         $(SET_LIB_PATH) \
8370         $(HOST_EXPORTS) \
8371         for flag in $(EXTRA_HOST_FLAGS) ; do \
8372           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8373         done; \
8374         echo "Doing dvi in gas" ; \
8375         (cd gas && \
8376           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8377                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8378                   "RANLIB=$${RANLIB}" \
8379                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8380                   dvi) \
8381           || exit 1
8382
8383 @endif gas
8384
8385 .PHONY: maybe-TAGS-gas TAGS-gas
8386 maybe-TAGS-gas:
8387 @if gas
8388 maybe-TAGS-gas: TAGS-gas
8389
8390 TAGS-gas: \
8391     configure-gas 
8392         @[ -f ./gas/Makefile ] || exit 0; \
8393         r=`${PWD_COMMAND}`; export r; \
8394         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8395         $(SET_LIB_PATH) \
8396         $(HOST_EXPORTS) \
8397         for flag in $(EXTRA_HOST_FLAGS) ; do \
8398           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8399         done; \
8400         echo "Doing TAGS in gas" ; \
8401         (cd gas && \
8402           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8403                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8404                   "RANLIB=$${RANLIB}" \
8405                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8406                   TAGS) \
8407           || exit 1
8408
8409 @endif gas
8410
8411 .PHONY: maybe-install-info-gas install-info-gas
8412 maybe-install-info-gas:
8413 @if gas
8414 maybe-install-info-gas: install-info-gas
8415
8416 install-info-gas: \
8417     configure-gas \
8418     info-gas 
8419         @[ -f ./gas/Makefile ] || exit 0; \
8420         r=`${PWD_COMMAND}`; export r; \
8421         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8422         $(SET_LIB_PATH) \
8423         $(HOST_EXPORTS) \
8424         for flag in $(EXTRA_HOST_FLAGS) ; do \
8425           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8426         done; \
8427         echo "Doing install-info in gas" ; \
8428         (cd gas && \
8429           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8430                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8431                   "RANLIB=$${RANLIB}" \
8432                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8433                   install-info) \
8434           || exit 1
8435
8436 @endif gas
8437
8438 .PHONY: maybe-installcheck-gas installcheck-gas
8439 maybe-installcheck-gas:
8440 @if gas
8441 maybe-installcheck-gas: installcheck-gas
8442
8443 installcheck-gas: \
8444     configure-gas 
8445         @[ -f ./gas/Makefile ] || exit 0; \
8446         r=`${PWD_COMMAND}`; export r; \
8447         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8448         $(SET_LIB_PATH) \
8449         $(HOST_EXPORTS) \
8450         for flag in $(EXTRA_HOST_FLAGS) ; do \
8451           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8452         done; \
8453         echo "Doing installcheck in gas" ; \
8454         (cd gas && \
8455           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8456                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8457                   "RANLIB=$${RANLIB}" \
8458                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8459                   installcheck) \
8460           || exit 1
8461
8462 @endif gas
8463
8464 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8465 maybe-mostlyclean-gas:
8466 @if gas
8467 maybe-mostlyclean-gas: mostlyclean-gas
8468
8469 mostlyclean-gas: 
8470         @[ -f ./gas/Makefile ] || exit 0; \
8471         r=`${PWD_COMMAND}`; export r; \
8472         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8473         $(SET_LIB_PATH) \
8474         $(HOST_EXPORTS) \
8475         for flag in $(EXTRA_HOST_FLAGS) ; do \
8476           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8477         done; \
8478         echo "Doing mostlyclean in gas" ; \
8479         (cd gas && \
8480           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8481                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8482                   "RANLIB=$${RANLIB}" \
8483                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8484                   mostlyclean) \
8485           || exit 1
8486
8487 @endif gas
8488
8489 .PHONY: maybe-clean-gas clean-gas
8490 maybe-clean-gas:
8491 @if gas
8492 maybe-clean-gas: clean-gas
8493
8494 clean-gas: 
8495         @[ -f ./gas/Makefile ] || exit 0; \
8496         r=`${PWD_COMMAND}`; export r; \
8497         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498         $(SET_LIB_PATH) \
8499         $(HOST_EXPORTS) \
8500         for flag in $(EXTRA_HOST_FLAGS) ; do \
8501           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8502         done; \
8503         echo "Doing clean in gas" ; \
8504         (cd gas && \
8505           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8506                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8507                   "RANLIB=$${RANLIB}" \
8508                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8509                   clean) \
8510           || exit 1
8511
8512 @endif gas
8513
8514 .PHONY: maybe-distclean-gas distclean-gas
8515 maybe-distclean-gas:
8516 @if gas
8517 maybe-distclean-gas: distclean-gas
8518
8519 distclean-gas: 
8520         @[ -f ./gas/Makefile ] || exit 0; \
8521         r=`${PWD_COMMAND}`; export r; \
8522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8523         $(SET_LIB_PATH) \
8524         $(HOST_EXPORTS) \
8525         for flag in $(EXTRA_HOST_FLAGS) ; do \
8526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527         done; \
8528         echo "Doing distclean in gas" ; \
8529         (cd gas && \
8530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532                   "RANLIB=$${RANLIB}" \
8533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534                   distclean) \
8535           || exit 1
8536
8537 @endif gas
8538
8539 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8540 maybe-maintainer-clean-gas:
8541 @if gas
8542 maybe-maintainer-clean-gas: maintainer-clean-gas
8543
8544 maintainer-clean-gas: 
8545         @[ -f ./gas/Makefile ] || exit 0; \
8546         r=`${PWD_COMMAND}`; export r; \
8547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8548         $(SET_LIB_PATH) \
8549         $(HOST_EXPORTS) \
8550         for flag in $(EXTRA_HOST_FLAGS) ; do \
8551           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8552         done; \
8553         echo "Doing maintainer-clean in gas" ; \
8554         (cd gas && \
8555           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8556                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8557                   "RANLIB=$${RANLIB}" \
8558                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8559                   maintainer-clean) \
8560           || exit 1
8561
8562 @endif gas
8563
8564
8565 .PHONY: configure-gcc maybe-configure-gcc
8566 maybe-configure-gcc:
8567 @if gcc
8568 maybe-configure-gcc: configure-gcc
8569 configure-gcc:
8570         @test -f stage_last && exit 0; \
8571         test ! -f gcc/Makefile || exit 0; \
8572         [ -d gcc ] || mkdir gcc; \
8573         r=`${PWD_COMMAND}`; export r; \
8574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8575         $(HOST_EXPORTS) \
8576         echo Configuring in gcc; \
8577         cd gcc || exit 1; \
8578         case $(srcdir) in \
8579           \.) \
8580             srcdiroption="--srcdir=."; \
8581             libsrcdir=".";; \
8582           /* | [A-Za-z]:[\\/]*) \
8583             srcdiroption="--srcdir=$(srcdir)/gcc"; \
8584             libsrcdir="$$s/gcc";; \
8585           *) \
8586             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8587             libsrcdir="$$s/gcc";; \
8588         esac; \
8589         $(SHELL) $${libsrcdir}/configure \
8590           $(HOST_CONFIGARGS) $${srcdiroption}  \
8591           || exit 1
8592 @endif gcc
8593
8594 .PHONY: all-gcc maybe-all-gcc
8595 maybe-all-gcc:
8596 @if gcc
8597 maybe-all-gcc: all-gcc
8598 all-gcc: configure-gcc
8599         @test -f stage_last && exit 0; \
8600         r=`${PWD_COMMAND}`; export r; \
8601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602         $(SET_LIB_PATH) \
8603         $(HOST_EXPORTS) \
8604         (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)  \
8605             `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8606 @endif gcc
8607
8608 .PHONY: check-gcc maybe-check-gcc
8609 maybe-check-gcc:
8610 @if gcc
8611 maybe-check-gcc: check-gcc
8612
8613 check-gcc:
8614         @r=`${PWD_COMMAND}`; export r; \
8615         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8616         $(SET_LIB_PATH) \
8617         $(HOST_EXPORTS) \
8618         (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8619
8620 @endif gcc
8621
8622 .PHONY: install-gcc maybe-install-gcc
8623 maybe-install-gcc:
8624 @if gcc
8625 maybe-install-gcc: install-gcc
8626
8627 install-gcc: installdirs
8628         @r=`${PWD_COMMAND}`; export r; \
8629         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8630         $(SET_LIB_PATH) \
8631         $(HOST_EXPORTS) \
8632         (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8633
8634 @endif gcc
8635
8636 # Other targets (info, dvi, etc.)
8637
8638 .PHONY: maybe-info-gcc info-gcc
8639 maybe-info-gcc:
8640 @if gcc
8641 maybe-info-gcc: info-gcc
8642
8643 info-gcc: \
8644     configure-gcc 
8645         @[ -f ./gcc/Makefile ] || exit 0; \
8646         r=`${PWD_COMMAND}`; export r; \
8647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8648         $(SET_LIB_PATH) \
8649         $(HOST_EXPORTS) \
8650         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8652         done; \
8653         echo "Doing info in gcc" ; \
8654         (cd gcc && \
8655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8657                   "RANLIB=$${RANLIB}" \
8658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8659                   info) \
8660           || exit 1
8661
8662 @endif gcc
8663
8664 .PHONY: maybe-dvi-gcc dvi-gcc
8665 maybe-dvi-gcc:
8666 @if gcc
8667 maybe-dvi-gcc: dvi-gcc
8668
8669 dvi-gcc: \
8670     configure-gcc 
8671         @[ -f ./gcc/Makefile ] || exit 0; \
8672         r=`${PWD_COMMAND}`; export r; \
8673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8674         $(SET_LIB_PATH) \
8675         $(HOST_EXPORTS) \
8676         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8677           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8678         done; \
8679         echo "Doing dvi in gcc" ; \
8680         (cd gcc && \
8681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8683                   "RANLIB=$${RANLIB}" \
8684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8685                   dvi) \
8686           || exit 1
8687
8688 @endif gcc
8689
8690 .PHONY: maybe-TAGS-gcc TAGS-gcc
8691 maybe-TAGS-gcc:
8692 @if gcc
8693 maybe-TAGS-gcc: TAGS-gcc
8694
8695 TAGS-gcc: \
8696     configure-gcc 
8697         @[ -f ./gcc/Makefile ] || exit 0; \
8698         r=`${PWD_COMMAND}`; export r; \
8699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8700         $(SET_LIB_PATH) \
8701         $(HOST_EXPORTS) \
8702         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8703           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8704         done; \
8705         echo "Doing TAGS in gcc" ; \
8706         (cd gcc && \
8707           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8708                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8709                   "RANLIB=$${RANLIB}" \
8710                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8711                   TAGS) \
8712           || exit 1
8713
8714 @endif gcc
8715
8716 .PHONY: maybe-install-info-gcc install-info-gcc
8717 maybe-install-info-gcc:
8718 @if gcc
8719 maybe-install-info-gcc: install-info-gcc
8720
8721 install-info-gcc: \
8722     configure-gcc \
8723     info-gcc 
8724         @[ -f ./gcc/Makefile ] || exit 0; \
8725         r=`${PWD_COMMAND}`; export r; \
8726         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8727         $(SET_LIB_PATH) \
8728         $(HOST_EXPORTS) \
8729         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8730           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8731         done; \
8732         echo "Doing install-info in gcc" ; \
8733         (cd gcc && \
8734           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8735                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8736                   "RANLIB=$${RANLIB}" \
8737                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8738                   install-info) \
8739           || exit 1
8740
8741 @endif gcc
8742
8743 .PHONY: maybe-installcheck-gcc installcheck-gcc
8744 maybe-installcheck-gcc:
8745 @if gcc
8746 maybe-installcheck-gcc: installcheck-gcc
8747
8748 installcheck-gcc: \
8749     configure-gcc 
8750         @[ -f ./gcc/Makefile ] || exit 0; \
8751         r=`${PWD_COMMAND}`; export r; \
8752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8753         $(SET_LIB_PATH) \
8754         $(HOST_EXPORTS) \
8755         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8757         done; \
8758         echo "Doing installcheck in gcc" ; \
8759         (cd gcc && \
8760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8762                   "RANLIB=$${RANLIB}" \
8763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8764                   installcheck) \
8765           || exit 1
8766
8767 @endif gcc
8768
8769 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8770 maybe-mostlyclean-gcc:
8771 @if gcc
8772 maybe-mostlyclean-gcc: mostlyclean-gcc
8773
8774 mostlyclean-gcc: 
8775         @[ -f ./gcc/Makefile ] || exit 0; \
8776         r=`${PWD_COMMAND}`; export r; \
8777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8778         $(SET_LIB_PATH) \
8779         $(HOST_EXPORTS) \
8780         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8781           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8782         done; \
8783         echo "Doing mostlyclean in gcc" ; \
8784         (cd gcc && \
8785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8787                   "RANLIB=$${RANLIB}" \
8788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8789                   mostlyclean) \
8790           || exit 1
8791
8792 @endif gcc
8793
8794 .PHONY: maybe-clean-gcc clean-gcc
8795 maybe-clean-gcc:
8796 @if gcc
8797 maybe-clean-gcc: clean-gcc
8798
8799 clean-gcc: 
8800         @[ -f ./gcc/Makefile ] || exit 0; \
8801         r=`${PWD_COMMAND}`; export r; \
8802         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8803         $(SET_LIB_PATH) \
8804         $(HOST_EXPORTS) \
8805         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8806           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8807         done; \
8808         echo "Doing clean in gcc" ; \
8809         (cd gcc && \
8810           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8811                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8812                   "RANLIB=$${RANLIB}" \
8813                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8814                   clean) \
8815           || exit 1
8816
8817 @endif gcc
8818
8819 .PHONY: maybe-distclean-gcc distclean-gcc
8820 maybe-distclean-gcc:
8821 @if gcc
8822 maybe-distclean-gcc: distclean-gcc
8823
8824 distclean-gcc: 
8825         @[ -f ./gcc/Makefile ] || exit 0; \
8826         r=`${PWD_COMMAND}`; export r; \
8827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8828         $(SET_LIB_PATH) \
8829         $(HOST_EXPORTS) \
8830         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8832         done; \
8833         echo "Doing distclean in gcc" ; \
8834         (cd gcc && \
8835           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8836                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8837                   "RANLIB=$${RANLIB}" \
8838                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8839                   distclean) \
8840           || exit 1
8841
8842 @endif gcc
8843
8844 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8845 maybe-maintainer-clean-gcc:
8846 @if gcc
8847 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8848
8849 maintainer-clean-gcc: 
8850         @[ -f ./gcc/Makefile ] || exit 0; \
8851         r=`${PWD_COMMAND}`; export r; \
8852         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8853         $(SET_LIB_PATH) \
8854         $(HOST_EXPORTS) \
8855         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8857         done; \
8858         echo "Doing maintainer-clean in gcc" ; \
8859         (cd gcc && \
8860           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8861                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8862                   "RANLIB=$${RANLIB}" \
8863                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8864                   maintainer-clean) \
8865           || exit 1
8866
8867 @endif gcc
8868
8869
8870 .PHONY: configure-gawk maybe-configure-gawk
8871 maybe-configure-gawk:
8872 @if gawk
8873 maybe-configure-gawk: configure-gawk
8874 configure-gawk:
8875         @test ! -f gawk/Makefile || exit 0; \
8876         [ -d gawk ] || mkdir gawk; \
8877         r=`${PWD_COMMAND}`; export r; \
8878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8879         $(HOST_EXPORTS) \
8880         echo Configuring in gawk; \
8881         cd gawk || exit 1; \
8882         case $(srcdir) in \
8883           \.) \
8884             srcdiroption="--srcdir=."; \
8885             libsrcdir=".";; \
8886           /* | [A-Za-z]:[\\/]*) \
8887             srcdiroption="--srcdir=$(srcdir)/gawk"; \
8888             libsrcdir="$$s/gawk";; \
8889           *) \
8890             srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8891             libsrcdir="$$s/gawk";; \
8892         esac; \
8893         $(SHELL) $${libsrcdir}/configure \
8894           $(HOST_CONFIGARGS) $${srcdiroption}  \
8895           || exit 1
8896 @endif gawk
8897
8898 .PHONY: all-gawk maybe-all-gawk
8899 maybe-all-gawk:
8900 @if gawk
8901 maybe-all-gawk: all-gawk
8902 all-gawk: configure-gawk
8903         @r=`${PWD_COMMAND}`; export r; \
8904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8905         $(SET_LIB_PATH) \
8906         $(HOST_EXPORTS) \
8907         (cd gawk && $(MAKE) $(FLAGS_TO_PASS)  all)
8908 @endif gawk
8909
8910 .PHONY: check-gawk maybe-check-gawk
8911 maybe-check-gawk:
8912 @if gawk
8913 maybe-check-gawk: check-gawk
8914
8915 check-gawk:
8916         @r=`${PWD_COMMAND}`; export r; \
8917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8918         $(SET_LIB_PATH) \
8919         $(HOST_EXPORTS) \
8920         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8921
8922 @endif gawk
8923
8924 .PHONY: install-gawk maybe-install-gawk
8925 maybe-install-gawk:
8926 @if gawk
8927 maybe-install-gawk: install-gawk
8928
8929 install-gawk: installdirs
8930         @r=`${PWD_COMMAND}`; export r; \
8931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932         $(SET_LIB_PATH) \
8933         $(HOST_EXPORTS) \
8934         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8935
8936 @endif gawk
8937
8938 # Other targets (info, dvi, etc.)
8939
8940 .PHONY: maybe-info-gawk info-gawk
8941 maybe-info-gawk:
8942 @if gawk
8943 maybe-info-gawk: info-gawk
8944
8945 info-gawk: \
8946     configure-gawk 
8947         @[ -f ./gawk/Makefile ] || exit 0; \
8948         r=`${PWD_COMMAND}`; export r; \
8949         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8950         $(SET_LIB_PATH) \
8951         $(HOST_EXPORTS) \
8952         for flag in $(EXTRA_HOST_FLAGS) ; do \
8953           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8954         done; \
8955         echo "Doing info in gawk" ; \
8956         (cd gawk && \
8957           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8958                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8959                   "RANLIB=$${RANLIB}" \
8960                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8961                   info) \
8962           || exit 1
8963
8964 @endif gawk
8965
8966 .PHONY: maybe-dvi-gawk dvi-gawk
8967 maybe-dvi-gawk:
8968 @if gawk
8969 maybe-dvi-gawk: dvi-gawk
8970
8971 dvi-gawk: \
8972     configure-gawk 
8973         @[ -f ./gawk/Makefile ] || exit 0; \
8974         r=`${PWD_COMMAND}`; export r; \
8975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8976         $(SET_LIB_PATH) \
8977         $(HOST_EXPORTS) \
8978         for flag in $(EXTRA_HOST_FLAGS) ; do \
8979           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8980         done; \
8981         echo "Doing dvi in gawk" ; \
8982         (cd gawk && \
8983           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8984                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8985                   "RANLIB=$${RANLIB}" \
8986                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8987                   dvi) \
8988           || exit 1
8989
8990 @endif gawk
8991
8992 .PHONY: maybe-TAGS-gawk TAGS-gawk
8993 maybe-TAGS-gawk:
8994 @if gawk
8995 maybe-TAGS-gawk: TAGS-gawk
8996
8997 TAGS-gawk: \
8998     configure-gawk 
8999         @[ -f ./gawk/Makefile ] || exit 0; \
9000         r=`${PWD_COMMAND}`; export r; \
9001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9002         $(SET_LIB_PATH) \
9003         $(HOST_EXPORTS) \
9004         for flag in $(EXTRA_HOST_FLAGS) ; do \
9005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9006         done; \
9007         echo "Doing TAGS in gawk" ; \
9008         (cd gawk && \
9009           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9010                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9011                   "RANLIB=$${RANLIB}" \
9012                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9013                   TAGS) \
9014           || exit 1
9015
9016 @endif gawk
9017
9018 .PHONY: maybe-install-info-gawk install-info-gawk
9019 maybe-install-info-gawk:
9020 @if gawk
9021 maybe-install-info-gawk: install-info-gawk
9022
9023 install-info-gawk: \
9024     configure-gawk \
9025     info-gawk 
9026         @[ -f ./gawk/Makefile ] || exit 0; \
9027         r=`${PWD_COMMAND}`; export r; \
9028         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9029         $(SET_LIB_PATH) \
9030         $(HOST_EXPORTS) \
9031         for flag in $(EXTRA_HOST_FLAGS) ; do \
9032           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9033         done; \
9034         echo "Doing install-info in gawk" ; \
9035         (cd gawk && \
9036           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038                   "RANLIB=$${RANLIB}" \
9039                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9040                   install-info) \
9041           || exit 1
9042
9043 @endif gawk
9044
9045 .PHONY: maybe-installcheck-gawk installcheck-gawk
9046 maybe-installcheck-gawk:
9047 @if gawk
9048 maybe-installcheck-gawk: installcheck-gawk
9049
9050 installcheck-gawk: \
9051     configure-gawk 
9052         @[ -f ./gawk/Makefile ] || exit 0; \
9053         r=`${PWD_COMMAND}`; export r; \
9054         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9055         $(SET_LIB_PATH) \
9056         $(HOST_EXPORTS) \
9057         for flag in $(EXTRA_HOST_FLAGS) ; do \
9058           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9059         done; \
9060         echo "Doing installcheck in gawk" ; \
9061         (cd gawk && \
9062           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9063                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9064                   "RANLIB=$${RANLIB}" \
9065                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9066                   installcheck) \
9067           || exit 1
9068
9069 @endif gawk
9070
9071 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9072 maybe-mostlyclean-gawk:
9073 @if gawk
9074 maybe-mostlyclean-gawk: mostlyclean-gawk
9075
9076 mostlyclean-gawk: 
9077         @[ -f ./gawk/Makefile ] || exit 0; \
9078         r=`${PWD_COMMAND}`; export r; \
9079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9080         $(SET_LIB_PATH) \
9081         $(HOST_EXPORTS) \
9082         for flag in $(EXTRA_HOST_FLAGS) ; do \
9083           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9084         done; \
9085         echo "Doing mostlyclean in gawk" ; \
9086         (cd gawk && \
9087           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9088                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9089                   "RANLIB=$${RANLIB}" \
9090                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9091                   mostlyclean) \
9092           || exit 1
9093
9094 @endif gawk
9095
9096 .PHONY: maybe-clean-gawk clean-gawk
9097 maybe-clean-gawk:
9098 @if gawk
9099 maybe-clean-gawk: clean-gawk
9100
9101 clean-gawk: 
9102         @[ -f ./gawk/Makefile ] || exit 0; \
9103         r=`${PWD_COMMAND}`; export r; \
9104         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9105         $(SET_LIB_PATH) \
9106         $(HOST_EXPORTS) \
9107         for flag in $(EXTRA_HOST_FLAGS) ; do \
9108           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9109         done; \
9110         echo "Doing clean in gawk" ; \
9111         (cd gawk && \
9112           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9113                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9114                   "RANLIB=$${RANLIB}" \
9115                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9116                   clean) \
9117           || exit 1
9118
9119 @endif gawk
9120
9121 .PHONY: maybe-distclean-gawk distclean-gawk
9122 maybe-distclean-gawk:
9123 @if gawk
9124 maybe-distclean-gawk: distclean-gawk
9125
9126 distclean-gawk: 
9127         @[ -f ./gawk/Makefile ] || exit 0; \
9128         r=`${PWD_COMMAND}`; export r; \
9129         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130         $(SET_LIB_PATH) \
9131         $(HOST_EXPORTS) \
9132         for flag in $(EXTRA_HOST_FLAGS) ; do \
9133           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9134         done; \
9135         echo "Doing distclean in gawk" ; \
9136         (cd gawk && \
9137           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9138                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9139                   "RANLIB=$${RANLIB}" \
9140                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9141                   distclean) \
9142           || exit 1
9143
9144 @endif gawk
9145
9146 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9147 maybe-maintainer-clean-gawk:
9148 @if gawk
9149 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9150
9151 maintainer-clean-gawk: 
9152         @[ -f ./gawk/Makefile ] || exit 0; \
9153         r=`${PWD_COMMAND}`; export r; \
9154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155         $(SET_LIB_PATH) \
9156         $(HOST_EXPORTS) \
9157         for flag in $(EXTRA_HOST_FLAGS) ; do \
9158           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9159         done; \
9160         echo "Doing maintainer-clean in gawk" ; \
9161         (cd gawk && \
9162           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9163                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9164                   "RANLIB=$${RANLIB}" \
9165                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9166                   maintainer-clean) \
9167           || exit 1
9168
9169 @endif gawk
9170
9171
9172 .PHONY: configure-gettext maybe-configure-gettext
9173 maybe-configure-gettext:
9174 @if gettext
9175 maybe-configure-gettext: configure-gettext
9176 configure-gettext:
9177         @test ! -f gettext/Makefile || exit 0; \
9178         [ -d gettext ] || mkdir gettext; \
9179         r=`${PWD_COMMAND}`; export r; \
9180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9181         $(HOST_EXPORTS) \
9182         echo Configuring in gettext; \
9183         cd gettext || exit 1; \
9184         case $(srcdir) in \
9185           \.) \
9186             srcdiroption="--srcdir=."; \
9187             libsrcdir=".";; \
9188           /* | [A-Za-z]:[\\/]*) \
9189             srcdiroption="--srcdir=$(srcdir)/gettext"; \
9190             libsrcdir="$$s/gettext";; \
9191           *) \
9192             srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9193             libsrcdir="$$s/gettext";; \
9194         esac; \
9195         $(SHELL) $${libsrcdir}/configure \
9196           $(HOST_CONFIGARGS) $${srcdiroption}  \
9197           || exit 1
9198 @endif gettext
9199
9200 .PHONY: all-gettext maybe-all-gettext
9201 maybe-all-gettext:
9202 @if gettext
9203 maybe-all-gettext: all-gettext
9204 all-gettext: configure-gettext
9205         @r=`${PWD_COMMAND}`; export r; \
9206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9207         $(SET_LIB_PATH) \
9208         $(HOST_EXPORTS) \
9209         (cd gettext && $(MAKE) $(FLAGS_TO_PASS)  all)
9210 @endif gettext
9211
9212 .PHONY: check-gettext maybe-check-gettext
9213 maybe-check-gettext:
9214 @if gettext
9215 maybe-check-gettext: check-gettext
9216
9217 check-gettext:
9218         @r=`${PWD_COMMAND}`; export r; \
9219         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9220         $(SET_LIB_PATH) \
9221         $(HOST_EXPORTS) \
9222         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9223
9224 @endif gettext
9225
9226 .PHONY: install-gettext maybe-install-gettext
9227 maybe-install-gettext:
9228 @if gettext
9229 maybe-install-gettext: install-gettext
9230
9231 install-gettext: installdirs
9232         @r=`${PWD_COMMAND}`; export r; \
9233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9234         $(SET_LIB_PATH) \
9235         $(HOST_EXPORTS) \
9236         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9237
9238 @endif gettext
9239
9240 # Other targets (info, dvi, etc.)
9241
9242 .PHONY: maybe-info-gettext info-gettext
9243 maybe-info-gettext:
9244 @if gettext
9245 maybe-info-gettext: info-gettext
9246
9247 info-gettext: \
9248     configure-gettext 
9249         @[ -f ./gettext/Makefile ] || exit 0; \
9250         r=`${PWD_COMMAND}`; export r; \
9251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9252         $(SET_LIB_PATH) \
9253         $(HOST_EXPORTS) \
9254         for flag in $(EXTRA_HOST_FLAGS) ; do \
9255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9256         done; \
9257         echo "Doing info in gettext" ; \
9258         (cd gettext && \
9259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9261                   "RANLIB=$${RANLIB}" \
9262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9263                   info) \
9264           || exit 1
9265
9266 @endif gettext
9267
9268 .PHONY: maybe-dvi-gettext dvi-gettext
9269 maybe-dvi-gettext:
9270 @if gettext
9271 maybe-dvi-gettext: dvi-gettext
9272
9273 dvi-gettext: \
9274     configure-gettext 
9275         @[ -f ./gettext/Makefile ] || exit 0; \
9276         r=`${PWD_COMMAND}`; export r; \
9277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9278         $(SET_LIB_PATH) \
9279         $(HOST_EXPORTS) \
9280         for flag in $(EXTRA_HOST_FLAGS) ; do \
9281           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9282         done; \
9283         echo "Doing dvi in gettext" ; \
9284         (cd gettext && \
9285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9287                   "RANLIB=$${RANLIB}" \
9288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9289                   dvi) \
9290           || exit 1
9291
9292 @endif gettext
9293
9294 .PHONY: maybe-TAGS-gettext TAGS-gettext
9295 maybe-TAGS-gettext:
9296 @if gettext
9297 maybe-TAGS-gettext: TAGS-gettext
9298
9299 TAGS-gettext: \
9300     configure-gettext 
9301         @[ -f ./gettext/Makefile ] || exit 0; \
9302         r=`${PWD_COMMAND}`; export r; \
9303         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9304         $(SET_LIB_PATH) \
9305         $(HOST_EXPORTS) \
9306         for flag in $(EXTRA_HOST_FLAGS) ; do \
9307           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9308         done; \
9309         echo "Doing TAGS in gettext" ; \
9310         (cd gettext && \
9311           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9312                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9313                   "RANLIB=$${RANLIB}" \
9314                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9315                   TAGS) \
9316           || exit 1
9317
9318 @endif gettext
9319
9320 .PHONY: maybe-install-info-gettext install-info-gettext
9321 maybe-install-info-gettext:
9322 @if gettext
9323 maybe-install-info-gettext: install-info-gettext
9324
9325 install-info-gettext: \
9326     configure-gettext \
9327     info-gettext 
9328         @[ -f ./gettext/Makefile ] || exit 0; \
9329         r=`${PWD_COMMAND}`; export r; \
9330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9331         $(SET_LIB_PATH) \
9332         $(HOST_EXPORTS) \
9333         for flag in $(EXTRA_HOST_FLAGS) ; do \
9334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9335         done; \
9336         echo "Doing install-info in gettext" ; \
9337         (cd gettext && \
9338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9340                   "RANLIB=$${RANLIB}" \
9341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9342                   install-info) \
9343           || exit 1
9344
9345 @endif gettext
9346
9347 .PHONY: maybe-installcheck-gettext installcheck-gettext
9348 maybe-installcheck-gettext:
9349 @if gettext
9350 maybe-installcheck-gettext: installcheck-gettext
9351
9352 installcheck-gettext: \
9353     configure-gettext 
9354         @[ -f ./gettext/Makefile ] || exit 0; \
9355         r=`${PWD_COMMAND}`; export r; \
9356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9357         $(SET_LIB_PATH) \
9358         $(HOST_EXPORTS) \
9359         for flag in $(EXTRA_HOST_FLAGS) ; do \
9360           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9361         done; \
9362         echo "Doing installcheck in gettext" ; \
9363         (cd gettext && \
9364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9366                   "RANLIB=$${RANLIB}" \
9367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9368                   installcheck) \
9369           || exit 1
9370
9371 @endif gettext
9372
9373 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9374 maybe-mostlyclean-gettext:
9375 @if gettext
9376 maybe-mostlyclean-gettext: mostlyclean-gettext
9377
9378 mostlyclean-gettext: 
9379         @[ -f ./gettext/Makefile ] || exit 0; \
9380         r=`${PWD_COMMAND}`; export r; \
9381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9382         $(SET_LIB_PATH) \
9383         $(HOST_EXPORTS) \
9384         for flag in $(EXTRA_HOST_FLAGS) ; do \
9385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9386         done; \
9387         echo "Doing mostlyclean in gettext" ; \
9388         (cd gettext && \
9389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9391                   "RANLIB=$${RANLIB}" \
9392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9393                   mostlyclean) \
9394           || exit 1
9395
9396 @endif gettext
9397
9398 .PHONY: maybe-clean-gettext clean-gettext
9399 maybe-clean-gettext:
9400 @if gettext
9401 maybe-clean-gettext: clean-gettext
9402
9403 clean-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 clean 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                   clean) \
9419           || exit 1
9420
9421 @endif gettext
9422
9423 .PHONY: maybe-distclean-gettext distclean-gettext
9424 maybe-distclean-gettext:
9425 @if gettext
9426 maybe-distclean-gettext: distclean-gettext
9427
9428 distclean-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 distclean 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                   distclean) \
9444           || exit 1
9445
9446 @endif gettext
9447
9448 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9449 maybe-maintainer-clean-gettext:
9450 @if gettext
9451 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9452
9453 maintainer-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 maintainer-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                   maintainer-clean) \
9469           || exit 1
9470
9471 @endif gettext
9472
9473
9474 .PHONY: configure-gnuserv maybe-configure-gnuserv
9475 maybe-configure-gnuserv:
9476 @if gnuserv
9477 maybe-configure-gnuserv: configure-gnuserv
9478 configure-gnuserv:
9479         @test ! -f gnuserv/Makefile || exit 0; \
9480         [ -d gnuserv ] || mkdir gnuserv; \
9481         r=`${PWD_COMMAND}`; export r; \
9482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9483         $(HOST_EXPORTS) \
9484         echo Configuring in gnuserv; \
9485         cd gnuserv || exit 1; \
9486         case $(srcdir) in \
9487           \.) \
9488             srcdiroption="--srcdir=."; \
9489             libsrcdir=".";; \
9490           /* | [A-Za-z]:[\\/]*) \
9491             srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9492             libsrcdir="$$s/gnuserv";; \
9493           *) \
9494             srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9495             libsrcdir="$$s/gnuserv";; \
9496         esac; \
9497         $(SHELL) $${libsrcdir}/configure \
9498           $(HOST_CONFIGARGS) $${srcdiroption}  \
9499           || exit 1
9500 @endif gnuserv
9501
9502 .PHONY: all-gnuserv maybe-all-gnuserv
9503 maybe-all-gnuserv:
9504 @if gnuserv
9505 maybe-all-gnuserv: all-gnuserv
9506 all-gnuserv: configure-gnuserv
9507         @r=`${PWD_COMMAND}`; export r; \
9508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9509         $(SET_LIB_PATH) \
9510         $(HOST_EXPORTS) \
9511         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS)  all)
9512 @endif gnuserv
9513
9514 .PHONY: check-gnuserv maybe-check-gnuserv
9515 maybe-check-gnuserv:
9516 @if gnuserv
9517 maybe-check-gnuserv: check-gnuserv
9518
9519 check-gnuserv:
9520         @r=`${PWD_COMMAND}`; export r; \
9521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9522         $(SET_LIB_PATH) \
9523         $(HOST_EXPORTS) \
9524         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9525
9526 @endif gnuserv
9527
9528 .PHONY: install-gnuserv maybe-install-gnuserv
9529 maybe-install-gnuserv:
9530 @if gnuserv
9531 maybe-install-gnuserv: install-gnuserv
9532
9533 install-gnuserv: installdirs
9534         @r=`${PWD_COMMAND}`; export r; \
9535         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536         $(SET_LIB_PATH) \
9537         $(HOST_EXPORTS) \
9538         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9539
9540 @endif gnuserv
9541
9542 # Other targets (info, dvi, etc.)
9543
9544 .PHONY: maybe-info-gnuserv info-gnuserv
9545 maybe-info-gnuserv:
9546 @if gnuserv
9547 maybe-info-gnuserv: info-gnuserv
9548
9549 info-gnuserv: \
9550     configure-gnuserv 
9551         @[ -f ./gnuserv/Makefile ] || exit 0; \
9552         r=`${PWD_COMMAND}`; export r; \
9553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554         $(SET_LIB_PATH) \
9555         $(HOST_EXPORTS) \
9556         for flag in $(EXTRA_HOST_FLAGS) ; do \
9557           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9558         done; \
9559         echo "Doing info in gnuserv" ; \
9560         (cd gnuserv && \
9561           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9562                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9563                   "RANLIB=$${RANLIB}" \
9564                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9565                   info) \
9566           || exit 1
9567
9568 @endif gnuserv
9569
9570 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9571 maybe-dvi-gnuserv:
9572 @if gnuserv
9573 maybe-dvi-gnuserv: dvi-gnuserv
9574
9575 dvi-gnuserv: \
9576     configure-gnuserv 
9577         @[ -f ./gnuserv/Makefile ] || exit 0; \
9578         r=`${PWD_COMMAND}`; export r; \
9579         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9580         $(SET_LIB_PATH) \
9581         $(HOST_EXPORTS) \
9582         for flag in $(EXTRA_HOST_FLAGS) ; do \
9583           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9584         done; \
9585         echo "Doing dvi in gnuserv" ; \
9586         (cd gnuserv && \
9587           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589                   "RANLIB=$${RANLIB}" \
9590                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9591                   dvi) \
9592           || exit 1
9593
9594 @endif gnuserv
9595
9596 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9597 maybe-TAGS-gnuserv:
9598 @if gnuserv
9599 maybe-TAGS-gnuserv: TAGS-gnuserv
9600
9601 TAGS-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 TAGS 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                   TAGS) \
9618           || exit 1
9619
9620 @endif gnuserv
9621
9622 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9623 maybe-install-info-gnuserv:
9624 @if gnuserv
9625 maybe-install-info-gnuserv: install-info-gnuserv
9626
9627 install-info-gnuserv: \
9628     configure-gnuserv \
9629     info-gnuserv 
9630         @[ -f ./gnuserv/Makefile ] || exit 0; \
9631         r=`${PWD_COMMAND}`; export r; \
9632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633         $(SET_LIB_PATH) \
9634         $(HOST_EXPORTS) \
9635         for flag in $(EXTRA_HOST_FLAGS) ; do \
9636           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9637         done; \
9638         echo "Doing install-info in gnuserv" ; \
9639         (cd gnuserv && \
9640           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9641                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9642                   "RANLIB=$${RANLIB}" \
9643                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9644                   install-info) \
9645           || exit 1
9646
9647 @endif gnuserv
9648
9649 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9650 maybe-installcheck-gnuserv:
9651 @if gnuserv
9652 maybe-installcheck-gnuserv: installcheck-gnuserv
9653
9654 installcheck-gnuserv: \
9655     configure-gnuserv 
9656         @[ -f ./gnuserv/Makefile ] || exit 0; \
9657         r=`${PWD_COMMAND}`; export r; \
9658         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9659         $(SET_LIB_PATH) \
9660         $(HOST_EXPORTS) \
9661         for flag in $(EXTRA_HOST_FLAGS) ; do \
9662           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9663         done; \
9664         echo "Doing installcheck in gnuserv" ; \
9665         (cd gnuserv && \
9666           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9667                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9668                   "RANLIB=$${RANLIB}" \
9669                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9670                   installcheck) \
9671           || exit 1
9672
9673 @endif gnuserv
9674
9675 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9676 maybe-mostlyclean-gnuserv:
9677 @if gnuserv
9678 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9679
9680 mostlyclean-gnuserv: 
9681         @[ -f ./gnuserv/Makefile ] || exit 0; \
9682         r=`${PWD_COMMAND}`; export r; \
9683         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9684         $(SET_LIB_PATH) \
9685         $(HOST_EXPORTS) \
9686         for flag in $(EXTRA_HOST_FLAGS) ; do \
9687           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9688         done; \
9689         echo "Doing mostlyclean in gnuserv" ; \
9690         (cd gnuserv && \
9691           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9692                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9693                   "RANLIB=$${RANLIB}" \
9694                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9695                   mostlyclean) \
9696           || exit 1
9697
9698 @endif gnuserv
9699
9700 .PHONY: maybe-clean-gnuserv clean-gnuserv
9701 maybe-clean-gnuserv:
9702 @if gnuserv
9703 maybe-clean-gnuserv: clean-gnuserv
9704
9705 clean-gnuserv: 
9706         @[ -f ./gnuserv/Makefile ] || exit 0; \
9707         r=`${PWD_COMMAND}`; export r; \
9708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9709         $(SET_LIB_PATH) \
9710         $(HOST_EXPORTS) \
9711         for flag in $(EXTRA_HOST_FLAGS) ; do \
9712           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9713         done; \
9714         echo "Doing clean in gnuserv" ; \
9715         (cd gnuserv && \
9716           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9717                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9718                   "RANLIB=$${RANLIB}" \
9719                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9720                   clean) \
9721           || exit 1
9722
9723 @endif gnuserv
9724
9725 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9726 maybe-distclean-gnuserv:
9727 @if gnuserv
9728 maybe-distclean-gnuserv: distclean-gnuserv
9729
9730 distclean-gnuserv: 
9731         @[ -f ./gnuserv/Makefile ] || exit 0; \
9732         r=`${PWD_COMMAND}`; export r; \
9733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9734         $(SET_LIB_PATH) \
9735         $(HOST_EXPORTS) \
9736         for flag in $(EXTRA_HOST_FLAGS) ; do \
9737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9738         done; \
9739         echo "Doing distclean in gnuserv" ; \
9740         (cd gnuserv && \
9741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9743                   "RANLIB=$${RANLIB}" \
9744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9745                   distclean) \
9746           || exit 1
9747
9748 @endif gnuserv
9749
9750 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9751 maybe-maintainer-clean-gnuserv:
9752 @if gnuserv
9753 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9754
9755 maintainer-clean-gnuserv: 
9756         @[ -f ./gnuserv/Makefile ] || exit 0; \
9757         r=`${PWD_COMMAND}`; export r; \
9758         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759         $(SET_LIB_PATH) \
9760         $(HOST_EXPORTS) \
9761         for flag in $(EXTRA_HOST_FLAGS) ; do \
9762           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9763         done; \
9764         echo "Doing maintainer-clean in gnuserv" ; \
9765         (cd gnuserv && \
9766           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9767                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9768                   "RANLIB=$${RANLIB}" \
9769                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9770                   maintainer-clean) \
9771           || exit 1
9772
9773 @endif gnuserv
9774
9775
9776 .PHONY: configure-gprof maybe-configure-gprof
9777 maybe-configure-gprof:
9778 @if gprof
9779 maybe-configure-gprof: configure-gprof
9780 configure-gprof:
9781         @test ! -f gprof/Makefile || exit 0; \
9782         [ -d gprof ] || mkdir gprof; \
9783         r=`${PWD_COMMAND}`; export r; \
9784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9785         $(HOST_EXPORTS) \
9786         echo Configuring in gprof; \
9787         cd gprof || exit 1; \
9788         case $(srcdir) in \
9789           \.) \
9790             srcdiroption="--srcdir=."; \
9791             libsrcdir=".";; \
9792           /* | [A-Za-z]:[\\/]*) \
9793             srcdiroption="--srcdir=$(srcdir)/gprof"; \
9794             libsrcdir="$$s/gprof";; \
9795           *) \
9796             srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9797             libsrcdir="$$s/gprof";; \
9798         esac; \
9799         $(SHELL) $${libsrcdir}/configure \
9800           $(HOST_CONFIGARGS) $${srcdiroption}  \
9801           || exit 1
9802 @endif gprof
9803
9804 .PHONY: all-gprof maybe-all-gprof
9805 maybe-all-gprof:
9806 @if gprof
9807 maybe-all-gprof: all-gprof
9808 all-gprof: configure-gprof
9809         @r=`${PWD_COMMAND}`; export r; \
9810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811         $(SET_LIB_PATH) \
9812         $(HOST_EXPORTS) \
9813         (cd gprof && $(MAKE) $(FLAGS_TO_PASS)  all)
9814 @endif gprof
9815
9816 .PHONY: check-gprof maybe-check-gprof
9817 maybe-check-gprof:
9818 @if gprof
9819 maybe-check-gprof: check-gprof
9820
9821 check-gprof:
9822         @r=`${PWD_COMMAND}`; export r; \
9823         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9824         $(SET_LIB_PATH) \
9825         $(HOST_EXPORTS) \
9826         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9827
9828 @endif gprof
9829
9830 .PHONY: install-gprof maybe-install-gprof
9831 maybe-install-gprof:
9832 @if gprof
9833 maybe-install-gprof: install-gprof
9834
9835 install-gprof: installdirs
9836         @r=`${PWD_COMMAND}`; export r; \
9837         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9838         $(SET_LIB_PATH) \
9839         $(HOST_EXPORTS) \
9840         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9841
9842 @endif gprof
9843
9844 # Other targets (info, dvi, etc.)
9845
9846 .PHONY: maybe-info-gprof info-gprof
9847 maybe-info-gprof:
9848 @if gprof
9849 maybe-info-gprof: info-gprof
9850
9851 info-gprof: \
9852     configure-gprof 
9853         @[ -f ./gprof/Makefile ] || exit 0; \
9854         r=`${PWD_COMMAND}`; export r; \
9855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9856         $(SET_LIB_PATH) \
9857         $(HOST_EXPORTS) \
9858         for flag in $(EXTRA_HOST_FLAGS) ; do \
9859           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9860         done; \
9861         echo "Doing info in gprof" ; \
9862         (cd gprof && \
9863           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9864                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9865                   "RANLIB=$${RANLIB}" \
9866                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9867                   info) \
9868           || exit 1
9869
9870 @endif gprof
9871
9872 .PHONY: maybe-dvi-gprof dvi-gprof
9873 maybe-dvi-gprof:
9874 @if gprof
9875 maybe-dvi-gprof: dvi-gprof
9876
9877 dvi-gprof: \
9878     configure-gprof 
9879         @[ -f ./gprof/Makefile ] || exit 0; \
9880         r=`${PWD_COMMAND}`; export r; \
9881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9882         $(SET_LIB_PATH) \
9883         $(HOST_EXPORTS) \
9884         for flag in $(EXTRA_HOST_FLAGS) ; do \
9885           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9886         done; \
9887         echo "Doing dvi in gprof" ; \
9888         (cd gprof && \
9889           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891                   "RANLIB=$${RANLIB}" \
9892                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9893                   dvi) \
9894           || exit 1
9895
9896 @endif gprof
9897
9898 .PHONY: maybe-TAGS-gprof TAGS-gprof
9899 maybe-TAGS-gprof:
9900 @if gprof
9901 maybe-TAGS-gprof: TAGS-gprof
9902
9903 TAGS-gprof: \
9904     configure-gprof 
9905         @[ -f ./gprof/Makefile ] || exit 0; \
9906         r=`${PWD_COMMAND}`; export r; \
9907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9908         $(SET_LIB_PATH) \
9909         $(HOST_EXPORTS) \
9910         for flag in $(EXTRA_HOST_FLAGS) ; do \
9911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9912         done; \
9913         echo "Doing TAGS in gprof" ; \
9914         (cd gprof && \
9915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9917                   "RANLIB=$${RANLIB}" \
9918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9919                   TAGS) \
9920           || exit 1
9921
9922 @endif gprof
9923
9924 .PHONY: maybe-install-info-gprof install-info-gprof
9925 maybe-install-info-gprof:
9926 @if gprof
9927 maybe-install-info-gprof: install-info-gprof
9928
9929 install-info-gprof: \
9930     configure-gprof \
9931     info-gprof 
9932         @[ -f ./gprof/Makefile ] || exit 0; \
9933         r=`${PWD_COMMAND}`; export r; \
9934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9935         $(SET_LIB_PATH) \
9936         $(HOST_EXPORTS) \
9937         for flag in $(EXTRA_HOST_FLAGS) ; do \
9938           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9939         done; \
9940         echo "Doing install-info in gprof" ; \
9941         (cd gprof && \
9942           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9943                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9944                   "RANLIB=$${RANLIB}" \
9945                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9946                   install-info) \
9947           || exit 1
9948
9949 @endif gprof
9950
9951 .PHONY: maybe-installcheck-gprof installcheck-gprof
9952 maybe-installcheck-gprof:
9953 @if gprof
9954 maybe-installcheck-gprof: installcheck-gprof
9955
9956 installcheck-gprof: \
9957     configure-gprof 
9958         @[ -f ./gprof/Makefile ] || exit 0; \
9959         r=`${PWD_COMMAND}`; export r; \
9960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9961         $(SET_LIB_PATH) \
9962         $(HOST_EXPORTS) \
9963         for flag in $(EXTRA_HOST_FLAGS) ; do \
9964           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9965         done; \
9966         echo "Doing installcheck in gprof" ; \
9967         (cd gprof && \
9968           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9969                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9970                   "RANLIB=$${RANLIB}" \
9971                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9972                   installcheck) \
9973           || exit 1
9974
9975 @endif gprof
9976
9977 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9978 maybe-mostlyclean-gprof:
9979 @if gprof
9980 maybe-mostlyclean-gprof: mostlyclean-gprof
9981
9982 mostlyclean-gprof: 
9983         @[ -f ./gprof/Makefile ] || exit 0; \
9984         r=`${PWD_COMMAND}`; export r; \
9985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9986         $(SET_LIB_PATH) \
9987         $(HOST_EXPORTS) \
9988         for flag in $(EXTRA_HOST_FLAGS) ; do \
9989           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9990         done; \
9991         echo "Doing mostlyclean in gprof" ; \
9992         (cd gprof && \
9993           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9994                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9995                   "RANLIB=$${RANLIB}" \
9996                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9997                   mostlyclean) \
9998           || exit 1
9999
10000 @endif gprof
10001
10002 .PHONY: maybe-clean-gprof clean-gprof
10003 maybe-clean-gprof:
10004 @if gprof
10005 maybe-clean-gprof: clean-gprof
10006
10007 clean-gprof: 
10008         @[ -f ./gprof/Makefile ] || exit 0; \
10009         r=`${PWD_COMMAND}`; export r; \
10010         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10011         $(SET_LIB_PATH) \
10012         $(HOST_EXPORTS) \
10013         for flag in $(EXTRA_HOST_FLAGS) ; do \
10014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10015         done; \
10016         echo "Doing clean in gprof" ; \
10017         (cd gprof && \
10018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10020                   "RANLIB=$${RANLIB}" \
10021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10022                   clean) \
10023           || exit 1
10024
10025 @endif gprof
10026
10027 .PHONY: maybe-distclean-gprof distclean-gprof
10028 maybe-distclean-gprof:
10029 @if gprof
10030 maybe-distclean-gprof: distclean-gprof
10031
10032 distclean-gprof: 
10033         @[ -f ./gprof/Makefile ] || exit 0; \
10034         r=`${PWD_COMMAND}`; export r; \
10035         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10036         $(SET_LIB_PATH) \
10037         $(HOST_EXPORTS) \
10038         for flag in $(EXTRA_HOST_FLAGS) ; do \
10039           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10040         done; \
10041         echo "Doing distclean in gprof" ; \
10042         (cd gprof && \
10043           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10044                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10045                   "RANLIB=$${RANLIB}" \
10046                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10047                   distclean) \
10048           || exit 1
10049
10050 @endif gprof
10051
10052 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10053 maybe-maintainer-clean-gprof:
10054 @if gprof
10055 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10056
10057 maintainer-clean-gprof: 
10058         @[ -f ./gprof/Makefile ] || exit 0; \
10059         r=`${PWD_COMMAND}`; export r; \
10060         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061         $(SET_LIB_PATH) \
10062         $(HOST_EXPORTS) \
10063         for flag in $(EXTRA_HOST_FLAGS) ; do \
10064           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10065         done; \
10066         echo "Doing maintainer-clean in gprof" ; \
10067         (cd gprof && \
10068           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10069                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10070                   "RANLIB=$${RANLIB}" \
10071                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10072                   maintainer-clean) \
10073           || exit 1
10074
10075 @endif gprof
10076
10077
10078 .PHONY: configure-gzip maybe-configure-gzip
10079 maybe-configure-gzip:
10080 @if gzip
10081 maybe-configure-gzip: configure-gzip
10082 configure-gzip:
10083         @test ! -f gzip/Makefile || exit 0; \
10084         [ -d gzip ] || mkdir gzip; \
10085         r=`${PWD_COMMAND}`; export r; \
10086         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10087         $(HOST_EXPORTS) \
10088         echo Configuring in gzip; \
10089         cd gzip || exit 1; \
10090         case $(srcdir) in \
10091           \.) \
10092             srcdiroption="--srcdir=."; \
10093             libsrcdir=".";; \
10094           /* | [A-Za-z]:[\\/]*) \
10095             srcdiroption="--srcdir=$(srcdir)/gzip"; \
10096             libsrcdir="$$s/gzip";; \
10097           *) \
10098             srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10099             libsrcdir="$$s/gzip";; \
10100         esac; \
10101         $(SHELL) $${libsrcdir}/configure \
10102           $(HOST_CONFIGARGS) $${srcdiroption}  \
10103           || exit 1
10104 @endif gzip
10105
10106 .PHONY: all-gzip maybe-all-gzip
10107 maybe-all-gzip:
10108 @if gzip
10109 maybe-all-gzip: all-gzip
10110 all-gzip: configure-gzip
10111         @r=`${PWD_COMMAND}`; export r; \
10112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10113         $(SET_LIB_PATH) \
10114         $(HOST_EXPORTS) \
10115         (cd gzip && $(MAKE) $(FLAGS_TO_PASS)  all)
10116 @endif gzip
10117
10118 .PHONY: check-gzip maybe-check-gzip
10119 maybe-check-gzip:
10120 @if gzip
10121 maybe-check-gzip: check-gzip
10122
10123 check-gzip:
10124         @r=`${PWD_COMMAND}`; export r; \
10125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10126         $(SET_LIB_PATH) \
10127         $(HOST_EXPORTS) \
10128         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10129
10130 @endif gzip
10131
10132 .PHONY: install-gzip maybe-install-gzip
10133 maybe-install-gzip:
10134 @if gzip
10135 maybe-install-gzip: install-gzip
10136
10137 install-gzip: installdirs
10138         @r=`${PWD_COMMAND}`; export r; \
10139         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10140         $(SET_LIB_PATH) \
10141         $(HOST_EXPORTS) \
10142         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10143
10144 @endif gzip
10145
10146 # Other targets (info, dvi, etc.)
10147
10148 .PHONY: maybe-info-gzip info-gzip
10149 maybe-info-gzip:
10150 @if gzip
10151 maybe-info-gzip: info-gzip
10152
10153 info-gzip: \
10154     configure-gzip 
10155         @[ -f ./gzip/Makefile ] || exit 0; \
10156         r=`${PWD_COMMAND}`; export r; \
10157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158         $(SET_LIB_PATH) \
10159         $(HOST_EXPORTS) \
10160         for flag in $(EXTRA_HOST_FLAGS) ; do \
10161           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10162         done; \
10163         echo "Doing info in gzip" ; \
10164         (cd gzip && \
10165           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10166                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10167                   "RANLIB=$${RANLIB}" \
10168                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10169                   info) \
10170           || exit 1
10171
10172 @endif gzip
10173
10174 .PHONY: maybe-dvi-gzip dvi-gzip
10175 maybe-dvi-gzip:
10176 @if gzip
10177 maybe-dvi-gzip: dvi-gzip
10178
10179 dvi-gzip: \
10180     configure-gzip 
10181         @[ -f ./gzip/Makefile ] || exit 0; \
10182         r=`${PWD_COMMAND}`; export r; \
10183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184         $(SET_LIB_PATH) \
10185         $(HOST_EXPORTS) \
10186         for flag in $(EXTRA_HOST_FLAGS) ; do \
10187           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10188         done; \
10189         echo "Doing dvi in gzip" ; \
10190         (cd gzip && \
10191           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10192                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10193                   "RANLIB=$${RANLIB}" \
10194                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10195                   dvi) \
10196           || exit 1
10197
10198 @endif gzip
10199
10200 .PHONY: maybe-TAGS-gzip TAGS-gzip
10201 maybe-TAGS-gzip:
10202 @if gzip
10203 maybe-TAGS-gzip: TAGS-gzip
10204
10205 TAGS-gzip: \
10206     configure-gzip 
10207         @[ -f ./gzip/Makefile ] || exit 0; \
10208         r=`${PWD_COMMAND}`; export r; \
10209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10210         $(SET_LIB_PATH) \
10211         $(HOST_EXPORTS) \
10212         for flag in $(EXTRA_HOST_FLAGS) ; do \
10213           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10214         done; \
10215         echo "Doing TAGS in gzip" ; \
10216         (cd gzip && \
10217           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10218                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10219                   "RANLIB=$${RANLIB}" \
10220                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10221                   TAGS) \
10222           || exit 1
10223
10224 @endif gzip
10225
10226 .PHONY: maybe-install-info-gzip install-info-gzip
10227 maybe-install-info-gzip:
10228 @if gzip
10229 maybe-install-info-gzip: install-info-gzip
10230
10231 install-info-gzip: \
10232     configure-gzip \
10233     info-gzip 
10234         @[ -f ./gzip/Makefile ] || exit 0; \
10235         r=`${PWD_COMMAND}`; export r; \
10236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10237         $(SET_LIB_PATH) \
10238         $(HOST_EXPORTS) \
10239         for flag in $(EXTRA_HOST_FLAGS) ; do \
10240           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10241         done; \
10242         echo "Doing install-info in gzip" ; \
10243         (cd gzip && \
10244           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10245                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10246                   "RANLIB=$${RANLIB}" \
10247                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10248                   install-info) \
10249           || exit 1
10250
10251 @endif gzip
10252
10253 .PHONY: maybe-installcheck-gzip installcheck-gzip
10254 maybe-installcheck-gzip:
10255 @if gzip
10256 maybe-installcheck-gzip: installcheck-gzip
10257
10258 installcheck-gzip: \
10259     configure-gzip 
10260         @[ -f ./gzip/Makefile ] || exit 0; \
10261         r=`${PWD_COMMAND}`; export r; \
10262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10263         $(SET_LIB_PATH) \
10264         $(HOST_EXPORTS) \
10265         for flag in $(EXTRA_HOST_FLAGS) ; do \
10266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10267         done; \
10268         echo "Doing installcheck in gzip" ; \
10269         (cd gzip && \
10270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10272                   "RANLIB=$${RANLIB}" \
10273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10274                   installcheck) \
10275           || exit 1
10276
10277 @endif gzip
10278
10279 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10280 maybe-mostlyclean-gzip:
10281 @if gzip
10282 maybe-mostlyclean-gzip: mostlyclean-gzip
10283
10284 mostlyclean-gzip: 
10285         @[ -f ./gzip/Makefile ] || exit 0; \
10286         r=`${PWD_COMMAND}`; export r; \
10287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10288         $(SET_LIB_PATH) \
10289         $(HOST_EXPORTS) \
10290         for flag in $(EXTRA_HOST_FLAGS) ; do \
10291           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10292         done; \
10293         echo "Doing mostlyclean in gzip" ; \
10294         (cd gzip && \
10295           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10296                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10297                   "RANLIB=$${RANLIB}" \
10298                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10299                   mostlyclean) \
10300           || exit 1
10301
10302 @endif gzip
10303
10304 .PHONY: maybe-clean-gzip clean-gzip
10305 maybe-clean-gzip:
10306 @if gzip
10307 maybe-clean-gzip: clean-gzip
10308
10309 clean-gzip: 
10310         @[ -f ./gzip/Makefile ] || exit 0; \
10311         r=`${PWD_COMMAND}`; export r; \
10312         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10313         $(SET_LIB_PATH) \
10314         $(HOST_EXPORTS) \
10315         for flag in $(EXTRA_HOST_FLAGS) ; do \
10316           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10317         done; \
10318         echo "Doing clean in gzip" ; \
10319         (cd gzip && \
10320           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10321                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10322                   "RANLIB=$${RANLIB}" \
10323                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10324                   clean) \
10325           || exit 1
10326
10327 @endif gzip
10328
10329 .PHONY: maybe-distclean-gzip distclean-gzip
10330 maybe-distclean-gzip:
10331 @if gzip
10332 maybe-distclean-gzip: distclean-gzip
10333
10334 distclean-gzip: 
10335         @[ -f ./gzip/Makefile ] || exit 0; \
10336         r=`${PWD_COMMAND}`; export r; \
10337         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338         $(SET_LIB_PATH) \
10339         $(HOST_EXPORTS) \
10340         for flag in $(EXTRA_HOST_FLAGS) ; do \
10341           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10342         done; \
10343         echo "Doing distclean in gzip" ; \
10344         (cd gzip && \
10345           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10346                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10347                   "RANLIB=$${RANLIB}" \
10348                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10349                   distclean) \
10350           || exit 1
10351
10352 @endif gzip
10353
10354 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10355 maybe-maintainer-clean-gzip:
10356 @if gzip
10357 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10358
10359 maintainer-clean-gzip: 
10360         @[ -f ./gzip/Makefile ] || exit 0; \
10361         r=`${PWD_COMMAND}`; export r; \
10362         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10363         $(SET_LIB_PATH) \
10364         $(HOST_EXPORTS) \
10365         for flag in $(EXTRA_HOST_FLAGS) ; do \
10366           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10367         done; \
10368         echo "Doing maintainer-clean in gzip" ; \
10369         (cd gzip && \
10370           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10371                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10372                   "RANLIB=$${RANLIB}" \
10373                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10374                   maintainer-clean) \
10375           || exit 1
10376
10377 @endif gzip
10378
10379
10380 .PHONY: configure-hello maybe-configure-hello
10381 maybe-configure-hello:
10382 @if hello
10383 maybe-configure-hello: configure-hello
10384 configure-hello:
10385         @test ! -f hello/Makefile || exit 0; \
10386         [ -d hello ] || mkdir hello; \
10387         r=`${PWD_COMMAND}`; export r; \
10388         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10389         $(HOST_EXPORTS) \
10390         echo Configuring in hello; \
10391         cd hello || exit 1; \
10392         case $(srcdir) in \
10393           \.) \
10394             srcdiroption="--srcdir=."; \
10395             libsrcdir=".";; \
10396           /* | [A-Za-z]:[\\/]*) \
10397             srcdiroption="--srcdir=$(srcdir)/hello"; \
10398             libsrcdir="$$s/hello";; \
10399           *) \
10400             srcdiroption="--srcdir=../$(srcdir)/hello"; \
10401             libsrcdir="$$s/hello";; \
10402         esac; \
10403         $(SHELL) $${libsrcdir}/configure \
10404           $(HOST_CONFIGARGS) $${srcdiroption}  \
10405           || exit 1
10406 @endif hello
10407
10408 .PHONY: all-hello maybe-all-hello
10409 maybe-all-hello:
10410 @if hello
10411 maybe-all-hello: all-hello
10412 all-hello: configure-hello
10413         @r=`${PWD_COMMAND}`; export r; \
10414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10415         $(SET_LIB_PATH) \
10416         $(HOST_EXPORTS) \
10417         (cd hello && $(MAKE) $(FLAGS_TO_PASS)  all)
10418 @endif hello
10419
10420 .PHONY: check-hello maybe-check-hello
10421 maybe-check-hello:
10422 @if hello
10423 maybe-check-hello: check-hello
10424
10425 check-hello:
10426         @r=`${PWD_COMMAND}`; export r; \
10427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10428         $(SET_LIB_PATH) \
10429         $(HOST_EXPORTS) \
10430         (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10431
10432 @endif hello
10433
10434 .PHONY: install-hello maybe-install-hello
10435 maybe-install-hello:
10436 @if hello
10437 maybe-install-hello: install-hello
10438
10439 install-hello: installdirs
10440         @r=`${PWD_COMMAND}`; export r; \
10441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10442         $(SET_LIB_PATH) \
10443         $(HOST_EXPORTS) \
10444         (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10445
10446 @endif hello
10447
10448 # Other targets (info, dvi, etc.)
10449
10450 .PHONY: maybe-info-hello info-hello
10451 maybe-info-hello:
10452 @if hello
10453 maybe-info-hello: info-hello
10454
10455 info-hello: \
10456     configure-hello 
10457         @[ -f ./hello/Makefile ] || exit 0; \
10458         r=`${PWD_COMMAND}`; export r; \
10459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10460         $(SET_LIB_PATH) \
10461         $(HOST_EXPORTS) \
10462         for flag in $(EXTRA_HOST_FLAGS) ; do \
10463           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10464         done; \
10465         echo "Doing info in hello" ; \
10466         (cd hello && \
10467           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10468                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10469                   "RANLIB=$${RANLIB}" \
10470                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10471                   info) \
10472           || exit 1
10473
10474 @endif hello
10475
10476 .PHONY: maybe-dvi-hello dvi-hello
10477 maybe-dvi-hello:
10478 @if hello
10479 maybe-dvi-hello: dvi-hello
10480
10481 dvi-hello: \
10482     configure-hello 
10483         @[ -f ./hello/Makefile ] || exit 0; \
10484         r=`${PWD_COMMAND}`; export r; \
10485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10486         $(SET_LIB_PATH) \
10487         $(HOST_EXPORTS) \
10488         for flag in $(EXTRA_HOST_FLAGS) ; do \
10489           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10490         done; \
10491         echo "Doing dvi in hello" ; \
10492         (cd hello && \
10493           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10494                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10495                   "RANLIB=$${RANLIB}" \
10496                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10497                   dvi) \
10498           || exit 1
10499
10500 @endif hello
10501
10502 .PHONY: maybe-TAGS-hello TAGS-hello
10503 maybe-TAGS-hello:
10504 @if hello
10505 maybe-TAGS-hello: TAGS-hello
10506
10507 TAGS-hello: \
10508     configure-hello 
10509         @[ -f ./hello/Makefile ] || exit 0; \
10510         r=`${PWD_COMMAND}`; export r; \
10511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10512         $(SET_LIB_PATH) \
10513         $(HOST_EXPORTS) \
10514         for flag in $(EXTRA_HOST_FLAGS) ; do \
10515           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10516         done; \
10517         echo "Doing TAGS in hello" ; \
10518         (cd hello && \
10519           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10520                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10521                   "RANLIB=$${RANLIB}" \
10522                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10523                   TAGS) \
10524           || exit 1
10525
10526 @endif hello
10527
10528 .PHONY: maybe-install-info-hello install-info-hello
10529 maybe-install-info-hello:
10530 @if hello
10531 maybe-install-info-hello: install-info-hello
10532
10533 install-info-hello: \
10534     configure-hello \
10535     info-hello 
10536         @[ -f ./hello/Makefile ] || exit 0; \
10537         r=`${PWD_COMMAND}`; export r; \
10538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10539         $(SET_LIB_PATH) \
10540         $(HOST_EXPORTS) \
10541         for flag in $(EXTRA_HOST_FLAGS) ; do \
10542           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10543         done; \
10544         echo "Doing install-info in hello" ; \
10545         (cd hello && \
10546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10548                   "RANLIB=$${RANLIB}" \
10549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10550                   install-info) \
10551           || exit 1
10552
10553 @endif hello
10554
10555 .PHONY: maybe-installcheck-hello installcheck-hello
10556 maybe-installcheck-hello:
10557 @if hello
10558 maybe-installcheck-hello: installcheck-hello
10559
10560 installcheck-hello: \
10561     configure-hello 
10562         @[ -f ./hello/Makefile ] || exit 0; \
10563         r=`${PWD_COMMAND}`; export r; \
10564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10565         $(SET_LIB_PATH) \
10566         $(HOST_EXPORTS) \
10567         for flag in $(EXTRA_HOST_FLAGS) ; do \
10568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10569         done; \
10570         echo "Doing installcheck in hello" ; \
10571         (cd hello && \
10572           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10573                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10574                   "RANLIB=$${RANLIB}" \
10575                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10576                   installcheck) \
10577           || exit 1
10578
10579 @endif hello
10580
10581 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10582 maybe-mostlyclean-hello:
10583 @if hello
10584 maybe-mostlyclean-hello: mostlyclean-hello
10585
10586 mostlyclean-hello: 
10587         @[ -f ./hello/Makefile ] || exit 0; \
10588         r=`${PWD_COMMAND}`; export r; \
10589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10590         $(SET_LIB_PATH) \
10591         $(HOST_EXPORTS) \
10592         for flag in $(EXTRA_HOST_FLAGS) ; do \
10593           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10594         done; \
10595         echo "Doing mostlyclean in hello" ; \
10596         (cd hello && \
10597           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10598                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10599                   "RANLIB=$${RANLIB}" \
10600                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10601                   mostlyclean) \
10602           || exit 1
10603
10604 @endif hello
10605
10606 .PHONY: maybe-clean-hello clean-hello
10607 maybe-clean-hello:
10608 @if hello
10609 maybe-clean-hello: clean-hello
10610
10611 clean-hello: 
10612         @[ -f ./hello/Makefile ] || exit 0; \
10613         r=`${PWD_COMMAND}`; export r; \
10614         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10615         $(SET_LIB_PATH) \
10616         $(HOST_EXPORTS) \
10617         for flag in $(EXTRA_HOST_FLAGS) ; do \
10618           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10619         done; \
10620         echo "Doing clean in hello" ; \
10621         (cd hello && \
10622           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10623                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10624                   "RANLIB=$${RANLIB}" \
10625                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10626                   clean) \
10627           || exit 1
10628
10629 @endif hello
10630
10631 .PHONY: maybe-distclean-hello distclean-hello
10632 maybe-distclean-hello:
10633 @if hello
10634 maybe-distclean-hello: distclean-hello
10635
10636 distclean-hello: 
10637         @[ -f ./hello/Makefile ] || exit 0; \
10638         r=`${PWD_COMMAND}`; export r; \
10639         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10640         $(SET_LIB_PATH) \
10641         $(HOST_EXPORTS) \
10642         for flag in $(EXTRA_HOST_FLAGS) ; do \
10643           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10644         done; \
10645         echo "Doing distclean in hello" ; \
10646         (cd hello && \
10647           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10648                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10649                   "RANLIB=$${RANLIB}" \
10650                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10651                   distclean) \
10652           || exit 1
10653
10654 @endif hello
10655
10656 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10657 maybe-maintainer-clean-hello:
10658 @if hello
10659 maybe-maintainer-clean-hello: maintainer-clean-hello
10660
10661 maintainer-clean-hello: 
10662         @[ -f ./hello/Makefile ] || exit 0; \
10663         r=`${PWD_COMMAND}`; export r; \
10664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10665         $(SET_LIB_PATH) \
10666         $(HOST_EXPORTS) \
10667         for flag in $(EXTRA_HOST_FLAGS) ; do \
10668           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10669         done; \
10670         echo "Doing maintainer-clean in hello" ; \
10671         (cd hello && \
10672           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10673                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10674                   "RANLIB=$${RANLIB}" \
10675                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10676                   maintainer-clean) \
10677           || exit 1
10678
10679 @endif hello
10680
10681
10682 .PHONY: configure-indent maybe-configure-indent
10683 maybe-configure-indent:
10684 @if indent
10685 maybe-configure-indent: configure-indent
10686 configure-indent:
10687         @test ! -f indent/Makefile || exit 0; \
10688         [ -d indent ] || mkdir indent; \
10689         r=`${PWD_COMMAND}`; export r; \
10690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10691         $(HOST_EXPORTS) \
10692         echo Configuring in indent; \
10693         cd indent || exit 1; \
10694         case $(srcdir) in \
10695           \.) \
10696             srcdiroption="--srcdir=."; \
10697             libsrcdir=".";; \
10698           /* | [A-Za-z]:[\\/]*) \
10699             srcdiroption="--srcdir=$(srcdir)/indent"; \
10700             libsrcdir="$$s/indent";; \
10701           *) \
10702             srcdiroption="--srcdir=../$(srcdir)/indent"; \
10703             libsrcdir="$$s/indent";; \
10704         esac; \
10705         $(SHELL) $${libsrcdir}/configure \
10706           $(HOST_CONFIGARGS) $${srcdiroption}  \
10707           || exit 1
10708 @endif indent
10709
10710 .PHONY: all-indent maybe-all-indent
10711 maybe-all-indent:
10712 @if indent
10713 maybe-all-indent: all-indent
10714 all-indent: configure-indent
10715         @r=`${PWD_COMMAND}`; export r; \
10716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10717         $(SET_LIB_PATH) \
10718         $(HOST_EXPORTS) \
10719         (cd indent && $(MAKE) $(FLAGS_TO_PASS)  all)
10720 @endif indent
10721
10722 .PHONY: check-indent maybe-check-indent
10723 maybe-check-indent:
10724 @if indent
10725 maybe-check-indent: check-indent
10726
10727 check-indent:
10728         @r=`${PWD_COMMAND}`; export r; \
10729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10730         $(SET_LIB_PATH) \
10731         $(HOST_EXPORTS) \
10732         (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10733
10734 @endif indent
10735
10736 .PHONY: install-indent maybe-install-indent
10737 maybe-install-indent:
10738 @if indent
10739 maybe-install-indent: install-indent
10740
10741 install-indent: installdirs
10742         @r=`${PWD_COMMAND}`; export r; \
10743         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10744         $(SET_LIB_PATH) \
10745         $(HOST_EXPORTS) \
10746         (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10747
10748 @endif indent
10749
10750 # Other targets (info, dvi, etc.)
10751
10752 .PHONY: maybe-info-indent info-indent
10753 maybe-info-indent:
10754 @if indent
10755 maybe-info-indent: info-indent
10756
10757 info-indent: \
10758     configure-indent 
10759         @[ -f ./indent/Makefile ] || exit 0; \
10760         r=`${PWD_COMMAND}`; export r; \
10761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10762         $(SET_LIB_PATH) \
10763         $(HOST_EXPORTS) \
10764         for flag in $(EXTRA_HOST_FLAGS) ; do \
10765           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10766         done; \
10767         echo "Doing info in indent" ; \
10768         (cd indent && \
10769           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10770                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10771                   "RANLIB=$${RANLIB}" \
10772                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10773                   info) \
10774           || exit 1
10775
10776 @endif indent
10777
10778 .PHONY: maybe-dvi-indent dvi-indent
10779 maybe-dvi-indent:
10780 @if indent
10781 maybe-dvi-indent: dvi-indent
10782
10783 dvi-indent: \
10784     configure-indent 
10785         @[ -f ./indent/Makefile ] || exit 0; \
10786         r=`${PWD_COMMAND}`; export r; \
10787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10788         $(SET_LIB_PATH) \
10789         $(HOST_EXPORTS) \
10790         for flag in $(EXTRA_HOST_FLAGS) ; do \
10791           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10792         done; \
10793         echo "Doing dvi in indent" ; \
10794         (cd indent && \
10795           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10796                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10797                   "RANLIB=$${RANLIB}" \
10798                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10799                   dvi) \
10800           || exit 1
10801
10802 @endif indent
10803
10804 .PHONY: maybe-TAGS-indent TAGS-indent
10805 maybe-TAGS-indent:
10806 @if indent
10807 maybe-TAGS-indent: TAGS-indent
10808
10809 TAGS-indent: \
10810     configure-indent 
10811         @[ -f ./indent/Makefile ] || exit 0; \
10812         r=`${PWD_COMMAND}`; export r; \
10813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10814         $(SET_LIB_PATH) \
10815         $(HOST_EXPORTS) \
10816         for flag in $(EXTRA_HOST_FLAGS) ; do \
10817           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10818         done; \
10819         echo "Doing TAGS in indent" ; \
10820         (cd indent && \
10821           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10822                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10823                   "RANLIB=$${RANLIB}" \
10824                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10825                   TAGS) \
10826           || exit 1
10827
10828 @endif indent
10829
10830 .PHONY: maybe-install-info-indent install-info-indent
10831 maybe-install-info-indent:
10832 @if indent
10833 maybe-install-info-indent: install-info-indent
10834
10835 install-info-indent: \
10836     configure-indent \
10837     info-indent 
10838         @[ -f ./indent/Makefile ] || exit 0; \
10839         r=`${PWD_COMMAND}`; export r; \
10840         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10841         $(SET_LIB_PATH) \
10842         $(HOST_EXPORTS) \
10843         for flag in $(EXTRA_HOST_FLAGS) ; do \
10844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10845         done; \
10846         echo "Doing install-info in indent" ; \
10847         (cd indent && \
10848           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10849                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10850                   "RANLIB=$${RANLIB}" \
10851                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10852                   install-info) \
10853           || exit 1
10854
10855 @endif indent
10856
10857 .PHONY: maybe-installcheck-indent installcheck-indent
10858 maybe-installcheck-indent:
10859 @if indent
10860 maybe-installcheck-indent: installcheck-indent
10861
10862 installcheck-indent: \
10863     configure-indent 
10864         @[ -f ./indent/Makefile ] || exit 0; \
10865         r=`${PWD_COMMAND}`; export r; \
10866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10867         $(SET_LIB_PATH) \
10868         $(HOST_EXPORTS) \
10869         for flag in $(EXTRA_HOST_FLAGS) ; do \
10870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10871         done; \
10872         echo "Doing installcheck in indent" ; \
10873         (cd indent && \
10874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10876                   "RANLIB=$${RANLIB}" \
10877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10878                   installcheck) \
10879           || exit 1
10880
10881 @endif indent
10882
10883 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10884 maybe-mostlyclean-indent:
10885 @if indent
10886 maybe-mostlyclean-indent: mostlyclean-indent
10887
10888 mostlyclean-indent: 
10889         @[ -f ./indent/Makefile ] || exit 0; \
10890         r=`${PWD_COMMAND}`; export r; \
10891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10892         $(SET_LIB_PATH) \
10893         $(HOST_EXPORTS) \
10894         for flag in $(EXTRA_HOST_FLAGS) ; do \
10895           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10896         done; \
10897         echo "Doing mostlyclean in indent" ; \
10898         (cd indent && \
10899           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10900                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10901                   "RANLIB=$${RANLIB}" \
10902                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10903                   mostlyclean) \
10904           || exit 1
10905
10906 @endif indent
10907
10908 .PHONY: maybe-clean-indent clean-indent
10909 maybe-clean-indent:
10910 @if indent
10911 maybe-clean-indent: clean-indent
10912
10913 clean-indent: 
10914         @[ -f ./indent/Makefile ] || exit 0; \
10915         r=`${PWD_COMMAND}`; export r; \
10916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10917         $(SET_LIB_PATH) \
10918         $(HOST_EXPORTS) \
10919         for flag in $(EXTRA_HOST_FLAGS) ; do \
10920           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10921         done; \
10922         echo "Doing clean in indent" ; \
10923         (cd indent && \
10924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10926                   "RANLIB=$${RANLIB}" \
10927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10928                   clean) \
10929           || exit 1
10930
10931 @endif indent
10932
10933 .PHONY: maybe-distclean-indent distclean-indent
10934 maybe-distclean-indent:
10935 @if indent
10936 maybe-distclean-indent: distclean-indent
10937
10938 distclean-indent: 
10939         @[ -f ./indent/Makefile ] || exit 0; \
10940         r=`${PWD_COMMAND}`; export r; \
10941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10942         $(SET_LIB_PATH) \
10943         $(HOST_EXPORTS) \
10944         for flag in $(EXTRA_HOST_FLAGS) ; do \
10945           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10946         done; \
10947         echo "Doing distclean in indent" ; \
10948         (cd indent && \
10949           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10950                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10951                   "RANLIB=$${RANLIB}" \
10952                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10953                   distclean) \
10954           || exit 1
10955
10956 @endif indent
10957
10958 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10959 maybe-maintainer-clean-indent:
10960 @if indent
10961 maybe-maintainer-clean-indent: maintainer-clean-indent
10962
10963 maintainer-clean-indent: 
10964         @[ -f ./indent/Makefile ] || exit 0; \
10965         r=`${PWD_COMMAND}`; export r; \
10966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10967         $(SET_LIB_PATH) \
10968         $(HOST_EXPORTS) \
10969         for flag in $(EXTRA_HOST_FLAGS) ; do \
10970           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10971         done; \
10972         echo "Doing maintainer-clean in indent" ; \
10973         (cd indent && \
10974           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10975                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10976                   "RANLIB=$${RANLIB}" \
10977                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10978                   maintainer-clean) \
10979           || exit 1
10980
10981 @endif indent
10982
10983
10984 .PHONY: configure-intl maybe-configure-intl
10985 maybe-configure-intl:
10986 @if intl
10987 maybe-configure-intl: configure-intl
10988 configure-intl:
10989         @test -f stage_last && exit 0; \
10990         test ! -f intl/Makefile || exit 0; \
10991         [ -d intl ] || mkdir intl; \
10992         r=`${PWD_COMMAND}`; export r; \
10993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10994         $(HOST_EXPORTS) \
10995         echo Configuring in intl; \
10996         cd intl || exit 1; \
10997         case $(srcdir) in \
10998           \.) \
10999             srcdiroption="--srcdir=."; \
11000             libsrcdir=".";; \
11001           /* | [A-Za-z]:[\\/]*) \
11002             srcdiroption="--srcdir=$(srcdir)/intl"; \
11003             libsrcdir="$$s/intl";; \
11004           *) \
11005             srcdiroption="--srcdir=../$(srcdir)/intl"; \
11006             libsrcdir="$$s/intl";; \
11007         esac; \
11008         $(SHELL) $${libsrcdir}/configure \
11009           $(HOST_CONFIGARGS) $${srcdiroption}  \
11010           || exit 1
11011 @endif intl
11012
11013 .PHONY: all-intl maybe-all-intl
11014 maybe-all-intl:
11015 @if intl
11016 maybe-all-intl: all-intl
11017 all-intl: configure-intl
11018         @test -f stage_last && exit 0; \
11019         r=`${PWD_COMMAND}`; export r; \
11020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11021         $(SET_LIB_PATH) \
11022         $(HOST_EXPORTS) \
11023         (cd intl && $(MAKE) $(FLAGS_TO_PASS)  all)
11024 @endif intl
11025
11026 .PHONY: check-intl maybe-check-intl
11027 maybe-check-intl:
11028 @if intl
11029 maybe-check-intl: check-intl
11030
11031 check-intl:
11032         @r=`${PWD_COMMAND}`; export r; \
11033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11034         $(SET_LIB_PATH) \
11035         $(HOST_EXPORTS) \
11036         (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11037
11038 @endif intl
11039
11040 .PHONY: install-intl maybe-install-intl
11041 maybe-install-intl:
11042 @if intl
11043 maybe-install-intl: install-intl
11044
11045 install-intl: installdirs
11046         @r=`${PWD_COMMAND}`; export r; \
11047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048         $(SET_LIB_PATH) \
11049         $(HOST_EXPORTS) \
11050         (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11051
11052 @endif intl
11053
11054 # Other targets (info, dvi, etc.)
11055
11056 .PHONY: maybe-info-intl info-intl
11057 maybe-info-intl:
11058 @if intl
11059 maybe-info-intl: info-intl
11060
11061 info-intl: \
11062     configure-intl 
11063         @[ -f ./intl/Makefile ] || exit 0; \
11064         r=`${PWD_COMMAND}`; export r; \
11065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066         $(SET_LIB_PATH) \
11067         $(HOST_EXPORTS) \
11068         for flag in $(EXTRA_HOST_FLAGS) ; do \
11069           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11070         done; \
11071         echo "Doing info in intl" ; \
11072         (cd intl && \
11073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11075                   "RANLIB=$${RANLIB}" \
11076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11077                   info) \
11078           || exit 1
11079
11080 @endif intl
11081
11082 .PHONY: maybe-dvi-intl dvi-intl
11083 maybe-dvi-intl:
11084 @if intl
11085 maybe-dvi-intl: dvi-intl
11086
11087 dvi-intl: \
11088     configure-intl 
11089         @[ -f ./intl/Makefile ] || exit 0; \
11090         r=`${PWD_COMMAND}`; export r; \
11091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11092         $(SET_LIB_PATH) \
11093         $(HOST_EXPORTS) \
11094         for flag in $(EXTRA_HOST_FLAGS) ; do \
11095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11096         done; \
11097         echo "Doing dvi in intl" ; \
11098         (cd intl && \
11099           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11100                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11101                   "RANLIB=$${RANLIB}" \
11102                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11103                   dvi) \
11104           || exit 1
11105
11106 @endif intl
11107
11108 .PHONY: maybe-TAGS-intl TAGS-intl
11109 maybe-TAGS-intl:
11110 @if intl
11111 maybe-TAGS-intl: TAGS-intl
11112
11113 TAGS-intl: \
11114     configure-intl 
11115         @[ -f ./intl/Makefile ] || exit 0; \
11116         r=`${PWD_COMMAND}`; export r; \
11117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11118         $(SET_LIB_PATH) \
11119         $(HOST_EXPORTS) \
11120         for flag in $(EXTRA_HOST_FLAGS) ; do \
11121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11122         done; \
11123         echo "Doing TAGS in intl" ; \
11124         (cd intl && \
11125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11127                   "RANLIB=$${RANLIB}" \
11128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11129                   TAGS) \
11130           || exit 1
11131
11132 @endif intl
11133
11134 .PHONY: maybe-install-info-intl install-info-intl
11135 maybe-install-info-intl:
11136 @if intl
11137 maybe-install-info-intl: install-info-intl
11138
11139 install-info-intl: \
11140     configure-intl \
11141     info-intl 
11142         @[ -f ./intl/Makefile ] || exit 0; \
11143         r=`${PWD_COMMAND}`; export r; \
11144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11145         $(SET_LIB_PATH) \
11146         $(HOST_EXPORTS) \
11147         for flag in $(EXTRA_HOST_FLAGS) ; do \
11148           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11149         done; \
11150         echo "Doing install-info in intl" ; \
11151         (cd intl && \
11152           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11153                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11154                   "RANLIB=$${RANLIB}" \
11155                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11156                   install-info) \
11157           || exit 1
11158
11159 @endif intl
11160
11161 .PHONY: maybe-installcheck-intl installcheck-intl
11162 maybe-installcheck-intl:
11163 @if intl
11164 maybe-installcheck-intl: installcheck-intl
11165
11166 installcheck-intl: \
11167     configure-intl 
11168         @[ -f ./intl/Makefile ] || exit 0; \
11169         r=`${PWD_COMMAND}`; export r; \
11170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11171         $(SET_LIB_PATH) \
11172         $(HOST_EXPORTS) \
11173         for flag in $(EXTRA_HOST_FLAGS) ; do \
11174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11175         done; \
11176         echo "Doing installcheck in intl" ; \
11177         (cd intl && \
11178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11180                   "RANLIB=$${RANLIB}" \
11181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11182                   installcheck) \
11183           || exit 1
11184
11185 @endif intl
11186
11187 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11188 maybe-mostlyclean-intl:
11189 @if intl
11190 maybe-mostlyclean-intl: mostlyclean-intl
11191
11192 mostlyclean-intl: 
11193         @[ -f ./intl/Makefile ] || exit 0; \
11194         r=`${PWD_COMMAND}`; export r; \
11195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11196         $(SET_LIB_PATH) \
11197         $(HOST_EXPORTS) \
11198         for flag in $(EXTRA_HOST_FLAGS) ; do \
11199           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11200         done; \
11201         echo "Doing mostlyclean in intl" ; \
11202         (cd intl && \
11203           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11204                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11205                   "RANLIB=$${RANLIB}" \
11206                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11207                   mostlyclean) \
11208           || exit 1
11209
11210 @endif intl
11211
11212 .PHONY: maybe-clean-intl clean-intl
11213 maybe-clean-intl:
11214 @if intl
11215 maybe-clean-intl: clean-intl
11216
11217 clean-intl: 
11218         @[ -f ./intl/Makefile ] || exit 0; \
11219         r=`${PWD_COMMAND}`; export r; \
11220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11221         $(SET_LIB_PATH) \
11222         $(HOST_EXPORTS) \
11223         for flag in $(EXTRA_HOST_FLAGS) ; do \
11224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11225         done; \
11226         echo "Doing clean in intl" ; \
11227         (cd intl && \
11228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11230                   "RANLIB=$${RANLIB}" \
11231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11232                   clean) \
11233           || exit 1
11234
11235 @endif intl
11236
11237 .PHONY: maybe-distclean-intl distclean-intl
11238 maybe-distclean-intl:
11239 @if intl
11240 maybe-distclean-intl: distclean-intl
11241
11242 distclean-intl: 
11243         @[ -f ./intl/Makefile ] || exit 0; \
11244         r=`${PWD_COMMAND}`; export r; \
11245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11246         $(SET_LIB_PATH) \
11247         $(HOST_EXPORTS) \
11248         for flag in $(EXTRA_HOST_FLAGS) ; do \
11249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11250         done; \
11251         echo "Doing distclean in intl" ; \
11252         (cd intl && \
11253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11255                   "RANLIB=$${RANLIB}" \
11256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11257                   distclean) \
11258           || exit 1
11259
11260 @endif intl
11261
11262 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11263 maybe-maintainer-clean-intl:
11264 @if intl
11265 maybe-maintainer-clean-intl: maintainer-clean-intl
11266
11267 maintainer-clean-intl: 
11268         @[ -f ./intl/Makefile ] || exit 0; \
11269         r=`${PWD_COMMAND}`; export r; \
11270         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11271         $(SET_LIB_PATH) \
11272         $(HOST_EXPORTS) \
11273         for flag in $(EXTRA_HOST_FLAGS) ; do \
11274           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11275         done; \
11276         echo "Doing maintainer-clean in intl" ; \
11277         (cd intl && \
11278           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11279                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11280                   "RANLIB=$${RANLIB}" \
11281                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11282                   maintainer-clean) \
11283           || exit 1
11284
11285 @endif intl
11286
11287
11288 .PHONY: configure-tcl maybe-configure-tcl
11289 maybe-configure-tcl:
11290 @if tcl
11291 maybe-configure-tcl: configure-tcl
11292 configure-tcl:
11293         @test ! -f tcl/Makefile || exit 0; \
11294         [ -d tcl ] || mkdir tcl; \
11295         r=`${PWD_COMMAND}`; export r; \
11296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11297         $(HOST_EXPORTS) \
11298         echo Configuring in tcl; \
11299         cd tcl || exit 1; \
11300         case $(srcdir) in \
11301           \.) \
11302             srcdiroption="--srcdir=."; \
11303             libsrcdir=".";; \
11304           /* | [A-Za-z]:[\\/]*) \
11305             srcdiroption="--srcdir=$(srcdir)/tcl"; \
11306             libsrcdir="$$s/tcl";; \
11307           *) \
11308             srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11309             libsrcdir="$$s/tcl";; \
11310         esac; \
11311         $(SHELL) $${libsrcdir}/configure \
11312           $(HOST_CONFIGARGS) $${srcdiroption}  \
11313           || exit 1
11314 @endif tcl
11315
11316 .PHONY: all-tcl maybe-all-tcl
11317 maybe-all-tcl:
11318 @if tcl
11319 maybe-all-tcl: all-tcl
11320 all-tcl: configure-tcl
11321         @r=`${PWD_COMMAND}`; export r; \
11322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11323         $(SET_LIB_PATH) \
11324         $(HOST_EXPORTS) \
11325         (cd tcl && $(MAKE) $(FLAGS_TO_PASS)  all)
11326 @endif tcl
11327
11328 .PHONY: check-tcl maybe-check-tcl
11329 maybe-check-tcl:
11330 @if tcl
11331 maybe-check-tcl: check-tcl
11332
11333 check-tcl:
11334         @r=`${PWD_COMMAND}`; export r; \
11335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11336         $(SET_LIB_PATH) \
11337         $(HOST_EXPORTS) \
11338         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11339
11340 @endif tcl
11341
11342 .PHONY: install-tcl maybe-install-tcl
11343 maybe-install-tcl:
11344 @if tcl
11345 maybe-install-tcl: install-tcl
11346
11347 install-tcl: installdirs
11348         @r=`${PWD_COMMAND}`; export r; \
11349         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11350         $(SET_LIB_PATH) \
11351         $(HOST_EXPORTS) \
11352         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11353
11354 @endif tcl
11355
11356 # Other targets (info, dvi, etc.)
11357
11358 .PHONY: maybe-info-tcl info-tcl
11359 maybe-info-tcl:
11360 @if tcl
11361 maybe-info-tcl: info-tcl
11362
11363 info-tcl: \
11364     configure-tcl 
11365         @[ -f ./tcl/Makefile ] || exit 0; \
11366         r=`${PWD_COMMAND}`; export r; \
11367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11368         $(SET_LIB_PATH) \
11369         $(HOST_EXPORTS) \
11370         for flag in $(EXTRA_HOST_FLAGS) ; do \
11371           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11372         done; \
11373         echo "Doing info in tcl" ; \
11374         (cd tcl && \
11375           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11376                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11377                   "RANLIB=$${RANLIB}" \
11378                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11379                   info) \
11380           || exit 1
11381
11382 @endif tcl
11383
11384 .PHONY: maybe-dvi-tcl dvi-tcl
11385 maybe-dvi-tcl:
11386 @if tcl
11387 maybe-dvi-tcl: dvi-tcl
11388
11389 dvi-tcl: \
11390     configure-tcl 
11391         @[ -f ./tcl/Makefile ] || exit 0; \
11392         r=`${PWD_COMMAND}`; export r; \
11393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11394         $(SET_LIB_PATH) \
11395         $(HOST_EXPORTS) \
11396         for flag in $(EXTRA_HOST_FLAGS) ; do \
11397           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11398         done; \
11399         echo "Doing dvi in tcl" ; \
11400         (cd tcl && \
11401           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11402                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11403                   "RANLIB=$${RANLIB}" \
11404                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11405                   dvi) \
11406           || exit 1
11407
11408 @endif tcl
11409
11410 .PHONY: maybe-TAGS-tcl TAGS-tcl
11411 maybe-TAGS-tcl:
11412 @if tcl
11413 maybe-TAGS-tcl: TAGS-tcl
11414
11415 TAGS-tcl: \
11416     configure-tcl 
11417         @[ -f ./tcl/Makefile ] || exit 0; \
11418         r=`${PWD_COMMAND}`; export r; \
11419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11420         $(SET_LIB_PATH) \
11421         $(HOST_EXPORTS) \
11422         for flag in $(EXTRA_HOST_FLAGS) ; do \
11423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11424         done; \
11425         echo "Doing TAGS in tcl" ; \
11426         (cd tcl && \
11427           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11428                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11429                   "RANLIB=$${RANLIB}" \
11430                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11431                   TAGS) \
11432           || exit 1
11433
11434 @endif tcl
11435
11436 .PHONY: maybe-install-info-tcl install-info-tcl
11437 maybe-install-info-tcl:
11438 @if tcl
11439 maybe-install-info-tcl: install-info-tcl
11440
11441 install-info-tcl: \
11442     configure-tcl \
11443     info-tcl 
11444         @[ -f ./tcl/Makefile ] || exit 0; \
11445         r=`${PWD_COMMAND}`; export r; \
11446         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11447         $(SET_LIB_PATH) \
11448         $(HOST_EXPORTS) \
11449         for flag in $(EXTRA_HOST_FLAGS) ; do \
11450           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11451         done; \
11452         echo "Doing install-info in tcl" ; \
11453         (cd tcl && \
11454           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11455                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11456                   "RANLIB=$${RANLIB}" \
11457                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11458                   install-info) \
11459           || exit 1
11460
11461 @endif tcl
11462
11463 .PHONY: maybe-installcheck-tcl installcheck-tcl
11464 maybe-installcheck-tcl:
11465 @if tcl
11466 maybe-installcheck-tcl: installcheck-tcl
11467
11468 installcheck-tcl: \
11469     configure-tcl 
11470         @[ -f ./tcl/Makefile ] || exit 0; \
11471         r=`${PWD_COMMAND}`; export r; \
11472         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11473         $(SET_LIB_PATH) \
11474         $(HOST_EXPORTS) \
11475         for flag in $(EXTRA_HOST_FLAGS) ; do \
11476           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11477         done; \
11478         echo "Doing installcheck in tcl" ; \
11479         (cd tcl && \
11480           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11481                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11482                   "RANLIB=$${RANLIB}" \
11483                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11484                   installcheck) \
11485           || exit 1
11486
11487 @endif tcl
11488
11489 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11490 maybe-mostlyclean-tcl:
11491 @if tcl
11492 maybe-mostlyclean-tcl: mostlyclean-tcl
11493
11494 # tcl doesn't support mostlyclean.
11495 mostlyclean-tcl:
11496
11497 @endif tcl
11498
11499 .PHONY: maybe-clean-tcl clean-tcl
11500 maybe-clean-tcl:
11501 @if tcl
11502 maybe-clean-tcl: clean-tcl
11503
11504 clean-tcl: 
11505         @[ -f ./tcl/Makefile ] || exit 0; \
11506         r=`${PWD_COMMAND}`; export r; \
11507         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11508         $(SET_LIB_PATH) \
11509         $(HOST_EXPORTS) \
11510         for flag in $(EXTRA_HOST_FLAGS) ; do \
11511           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11512         done; \
11513         echo "Doing clean in tcl" ; \
11514         (cd tcl && \
11515           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11516                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11517                   "RANLIB=$${RANLIB}" \
11518                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11519                   clean) \
11520           || exit 1
11521
11522 @endif tcl
11523
11524 .PHONY: maybe-distclean-tcl distclean-tcl
11525 maybe-distclean-tcl:
11526 @if tcl
11527 maybe-distclean-tcl: distclean-tcl
11528
11529 distclean-tcl: 
11530         @[ -f ./tcl/Makefile ] || exit 0; \
11531         r=`${PWD_COMMAND}`; export r; \
11532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11533         $(SET_LIB_PATH) \
11534         $(HOST_EXPORTS) \
11535         for flag in $(EXTRA_HOST_FLAGS) ; do \
11536           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11537         done; \
11538         echo "Doing distclean in tcl" ; \
11539         (cd tcl && \
11540           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11541                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11542                   "RANLIB=$${RANLIB}" \
11543                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11544                   distclean) \
11545           || exit 1
11546
11547 @endif tcl
11548
11549 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11550 maybe-maintainer-clean-tcl:
11551 @if tcl
11552 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11553
11554 maintainer-clean-tcl: 
11555         @[ -f ./tcl/Makefile ] || exit 0; \
11556         r=`${PWD_COMMAND}`; export r; \
11557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11558         $(SET_LIB_PATH) \
11559         $(HOST_EXPORTS) \
11560         for flag in $(EXTRA_HOST_FLAGS) ; do \
11561           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11562         done; \
11563         echo "Doing maintainer-clean in tcl" ; \
11564         (cd tcl && \
11565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11567                   "RANLIB=$${RANLIB}" \
11568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11569                   maintainer-clean) \
11570           || exit 1
11571
11572 @endif tcl
11573
11574
11575 .PHONY: configure-itcl maybe-configure-itcl
11576 maybe-configure-itcl:
11577 @if itcl
11578 maybe-configure-itcl: configure-itcl
11579 configure-itcl:
11580         @test ! -f itcl/Makefile || exit 0; \
11581         [ -d itcl ] || mkdir itcl; \
11582         r=`${PWD_COMMAND}`; export r; \
11583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11584         $(HOST_EXPORTS) \
11585         echo Configuring in itcl; \
11586         cd itcl || exit 1; \
11587         case $(srcdir) in \
11588           \.) \
11589             srcdiroption="--srcdir=."; \
11590             libsrcdir=".";; \
11591           /* | [A-Za-z]:[\\/]*) \
11592             srcdiroption="--srcdir=$(srcdir)/itcl"; \
11593             libsrcdir="$$s/itcl";; \
11594           *) \
11595             srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11596             libsrcdir="$$s/itcl";; \
11597         esac; \
11598         $(SHELL) $${libsrcdir}/configure \
11599           $(HOST_CONFIGARGS) $${srcdiroption}  \
11600           || exit 1
11601 @endif itcl
11602
11603 .PHONY: all-itcl maybe-all-itcl
11604 maybe-all-itcl:
11605 @if itcl
11606 maybe-all-itcl: all-itcl
11607 all-itcl: configure-itcl
11608         @r=`${PWD_COMMAND}`; export r; \
11609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11610         $(SET_LIB_PATH) \
11611         $(HOST_EXPORTS) \
11612         (cd itcl && $(MAKE) $(FLAGS_TO_PASS)  all)
11613 @endif itcl
11614
11615 .PHONY: check-itcl maybe-check-itcl
11616 maybe-check-itcl:
11617 @if itcl
11618 maybe-check-itcl: check-itcl
11619
11620 check-itcl:
11621         @r=`${PWD_COMMAND}`; export r; \
11622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623         $(SET_LIB_PATH) \
11624         $(HOST_EXPORTS) \
11625         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11626
11627 @endif itcl
11628
11629 .PHONY: install-itcl maybe-install-itcl
11630 maybe-install-itcl:
11631 @if itcl
11632 maybe-install-itcl: install-itcl
11633
11634 install-itcl: installdirs
11635         @r=`${PWD_COMMAND}`; export r; \
11636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637         $(SET_LIB_PATH) \
11638         $(HOST_EXPORTS) \
11639         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11640
11641 @endif itcl
11642
11643 # Other targets (info, dvi, etc.)
11644
11645 .PHONY: maybe-info-itcl info-itcl
11646 maybe-info-itcl:
11647 @if itcl
11648 maybe-info-itcl: info-itcl
11649
11650 info-itcl: \
11651     configure-itcl 
11652         @[ -f ./itcl/Makefile ] || exit 0; \
11653         r=`${PWD_COMMAND}`; export r; \
11654         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11655         $(SET_LIB_PATH) \
11656         $(HOST_EXPORTS) \
11657         for flag in $(EXTRA_HOST_FLAGS) ; do \
11658           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11659         done; \
11660         echo "Doing info in itcl" ; \
11661         (cd itcl && \
11662           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11663                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11664                   "RANLIB=$${RANLIB}" \
11665                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11666                   info) \
11667           || exit 1
11668
11669 @endif itcl
11670
11671 .PHONY: maybe-dvi-itcl dvi-itcl
11672 maybe-dvi-itcl:
11673 @if itcl
11674 maybe-dvi-itcl: dvi-itcl
11675
11676 dvi-itcl: \
11677     configure-itcl 
11678         @[ -f ./itcl/Makefile ] || exit 0; \
11679         r=`${PWD_COMMAND}`; export r; \
11680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11681         $(SET_LIB_PATH) \
11682         $(HOST_EXPORTS) \
11683         for flag in $(EXTRA_HOST_FLAGS) ; do \
11684           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685         done; \
11686         echo "Doing dvi in itcl" ; \
11687         (cd itcl && \
11688           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690                   "RANLIB=$${RANLIB}" \
11691                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11692                   dvi) \
11693           || exit 1
11694
11695 @endif itcl
11696
11697 .PHONY: maybe-TAGS-itcl TAGS-itcl
11698 maybe-TAGS-itcl:
11699 @if itcl
11700 maybe-TAGS-itcl: TAGS-itcl
11701
11702 TAGS-itcl: \
11703     configure-itcl 
11704         @[ -f ./itcl/Makefile ] || exit 0; \
11705         r=`${PWD_COMMAND}`; export r; \
11706         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707         $(SET_LIB_PATH) \
11708         $(HOST_EXPORTS) \
11709         for flag in $(EXTRA_HOST_FLAGS) ; do \
11710           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11711         done; \
11712         echo "Doing TAGS in itcl" ; \
11713         (cd itcl && \
11714           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716                   "RANLIB=$${RANLIB}" \
11717                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11718                   TAGS) \
11719           || exit 1
11720
11721 @endif itcl
11722
11723 .PHONY: maybe-install-info-itcl install-info-itcl
11724 maybe-install-info-itcl:
11725 @if itcl
11726 maybe-install-info-itcl: install-info-itcl
11727
11728 install-info-itcl: \
11729     configure-itcl \
11730     info-itcl 
11731         @[ -f ./itcl/Makefile ] || exit 0; \
11732         r=`${PWD_COMMAND}`; export r; \
11733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11734         $(SET_LIB_PATH) \
11735         $(HOST_EXPORTS) \
11736         for flag in $(EXTRA_HOST_FLAGS) ; do \
11737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738         done; \
11739         echo "Doing install-info in itcl" ; \
11740         (cd itcl && \
11741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11743                   "RANLIB=$${RANLIB}" \
11744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11745                   install-info) \
11746           || exit 1
11747
11748 @endif itcl
11749
11750 .PHONY: maybe-installcheck-itcl installcheck-itcl
11751 maybe-installcheck-itcl:
11752 @if itcl
11753 maybe-installcheck-itcl: installcheck-itcl
11754
11755 installcheck-itcl: \
11756     configure-itcl 
11757         @[ -f ./itcl/Makefile ] || exit 0; \
11758         r=`${PWD_COMMAND}`; export r; \
11759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11760         $(SET_LIB_PATH) \
11761         $(HOST_EXPORTS) \
11762         for flag in $(EXTRA_HOST_FLAGS) ; do \
11763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11764         done; \
11765         echo "Doing installcheck in itcl" ; \
11766         (cd itcl && \
11767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11769                   "RANLIB=$${RANLIB}" \
11770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11771                   installcheck) \
11772           || exit 1
11773
11774 @endif itcl
11775
11776 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11777 maybe-mostlyclean-itcl:
11778 @if itcl
11779 maybe-mostlyclean-itcl: mostlyclean-itcl
11780
11781 mostlyclean-itcl: 
11782         @[ -f ./itcl/Makefile ] || exit 0; \
11783         r=`${PWD_COMMAND}`; export r; \
11784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11785         $(SET_LIB_PATH) \
11786         $(HOST_EXPORTS) \
11787         for flag in $(EXTRA_HOST_FLAGS) ; do \
11788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11789         done; \
11790         echo "Doing mostlyclean in itcl" ; \
11791         (cd itcl && \
11792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794                   "RANLIB=$${RANLIB}" \
11795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11796                   mostlyclean) \
11797           || exit 1
11798
11799 @endif itcl
11800
11801 .PHONY: maybe-clean-itcl clean-itcl
11802 maybe-clean-itcl:
11803 @if itcl
11804 maybe-clean-itcl: clean-itcl
11805
11806 clean-itcl: 
11807         @[ -f ./itcl/Makefile ] || exit 0; \
11808         r=`${PWD_COMMAND}`; export r; \
11809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810         $(SET_LIB_PATH) \
11811         $(HOST_EXPORTS) \
11812         for flag in $(EXTRA_HOST_FLAGS) ; do \
11813           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11814         done; \
11815         echo "Doing clean in itcl" ; \
11816         (cd itcl && \
11817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11819                   "RANLIB=$${RANLIB}" \
11820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11821                   clean) \
11822           || exit 1
11823
11824 @endif itcl
11825
11826 .PHONY: maybe-distclean-itcl distclean-itcl
11827 maybe-distclean-itcl:
11828 @if itcl
11829 maybe-distclean-itcl: distclean-itcl
11830
11831 distclean-itcl: 
11832         @[ -f ./itcl/Makefile ] || exit 0; \
11833         r=`${PWD_COMMAND}`; export r; \
11834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11835         $(SET_LIB_PATH) \
11836         $(HOST_EXPORTS) \
11837         for flag in $(EXTRA_HOST_FLAGS) ; do \
11838           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11839         done; \
11840         echo "Doing distclean in itcl" ; \
11841         (cd itcl && \
11842           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11843                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11844                   "RANLIB=$${RANLIB}" \
11845                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11846                   distclean) \
11847           || exit 1
11848
11849 @endif itcl
11850
11851 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11852 maybe-maintainer-clean-itcl:
11853 @if itcl
11854 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11855
11856 maintainer-clean-itcl: 
11857         @[ -f ./itcl/Makefile ] || exit 0; \
11858         r=`${PWD_COMMAND}`; export r; \
11859         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11860         $(SET_LIB_PATH) \
11861         $(HOST_EXPORTS) \
11862         for flag in $(EXTRA_HOST_FLAGS) ; do \
11863           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11864         done; \
11865         echo "Doing maintainer-clean in itcl" ; \
11866         (cd itcl && \
11867           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11868                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11869                   "RANLIB=$${RANLIB}" \
11870                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11871                   maintainer-clean) \
11872           || exit 1
11873
11874 @endif itcl
11875
11876
11877 .PHONY: configure-ld maybe-configure-ld
11878 maybe-configure-ld:
11879 @if ld
11880 maybe-configure-ld: configure-ld
11881 configure-ld:
11882         @test -f stage_last && exit 0; \
11883         test ! -f ld/Makefile || exit 0; \
11884         [ -d ld ] || mkdir ld; \
11885         r=`${PWD_COMMAND}`; export r; \
11886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11887         $(HOST_EXPORTS) \
11888         echo Configuring in ld; \
11889         cd ld || exit 1; \
11890         case $(srcdir) in \
11891           \.) \
11892             srcdiroption="--srcdir=."; \
11893             libsrcdir=".";; \
11894           /* | [A-Za-z]:[\\/]*) \
11895             srcdiroption="--srcdir=$(srcdir)/ld"; \
11896             libsrcdir="$$s/ld";; \
11897           *) \
11898             srcdiroption="--srcdir=../$(srcdir)/ld"; \
11899             libsrcdir="$$s/ld";; \
11900         esac; \
11901         $(SHELL) $${libsrcdir}/configure \
11902           $(HOST_CONFIGARGS) $${srcdiroption}  \
11903           || exit 1
11904 @endif ld
11905
11906 .PHONY: all-ld maybe-all-ld
11907 maybe-all-ld:
11908 @if ld
11909 maybe-all-ld: all-ld
11910 all-ld: configure-ld
11911         @test -f stage_last && exit 0; \
11912         r=`${PWD_COMMAND}`; export r; \
11913         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11914         $(SET_LIB_PATH) \
11915         $(HOST_EXPORTS) \
11916         (cd ld && $(MAKE) $(FLAGS_TO_PASS)  all)
11917 @endif ld
11918
11919 .PHONY: check-ld maybe-check-ld
11920 maybe-check-ld:
11921 @if ld
11922 maybe-check-ld: check-ld
11923
11924 check-ld:
11925         @r=`${PWD_COMMAND}`; export r; \
11926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11927         $(SET_LIB_PATH) \
11928         $(HOST_EXPORTS) \
11929         (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11930
11931 @endif ld
11932
11933 .PHONY: install-ld maybe-install-ld
11934 maybe-install-ld:
11935 @if ld
11936 maybe-install-ld: install-ld
11937
11938 install-ld: installdirs
11939         @r=`${PWD_COMMAND}`; export r; \
11940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11941         $(SET_LIB_PATH) \
11942         $(HOST_EXPORTS) \
11943         (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11944
11945 @endif ld
11946
11947 # Other targets (info, dvi, etc.)
11948
11949 .PHONY: maybe-info-ld info-ld
11950 maybe-info-ld:
11951 @if ld
11952 maybe-info-ld: info-ld
11953
11954 info-ld: \
11955     configure-ld 
11956         @[ -f ./ld/Makefile ] || exit 0; \
11957         r=`${PWD_COMMAND}`; export r; \
11958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959         $(SET_LIB_PATH) \
11960         $(HOST_EXPORTS) \
11961         for flag in $(EXTRA_HOST_FLAGS) ; do \
11962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11963         done; \
11964         echo "Doing info in ld" ; \
11965         (cd ld && \
11966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11968                   "RANLIB=$${RANLIB}" \
11969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11970                   info) \
11971           || exit 1
11972
11973 @endif ld
11974
11975 .PHONY: maybe-dvi-ld dvi-ld
11976 maybe-dvi-ld:
11977 @if ld
11978 maybe-dvi-ld: dvi-ld
11979
11980 dvi-ld: \
11981     configure-ld 
11982         @[ -f ./ld/Makefile ] || exit 0; \
11983         r=`${PWD_COMMAND}`; export r; \
11984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11985         $(SET_LIB_PATH) \
11986         $(HOST_EXPORTS) \
11987         for flag in $(EXTRA_HOST_FLAGS) ; do \
11988           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11989         done; \
11990         echo "Doing dvi in ld" ; \
11991         (cd ld && \
11992           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11993                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11994                   "RANLIB=$${RANLIB}" \
11995                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11996                   dvi) \
11997           || exit 1
11998
11999 @endif ld
12000
12001 .PHONY: maybe-TAGS-ld TAGS-ld
12002 maybe-TAGS-ld:
12003 @if ld
12004 maybe-TAGS-ld: TAGS-ld
12005
12006 TAGS-ld: \
12007     configure-ld 
12008         @[ -f ./ld/Makefile ] || exit 0; \
12009         r=`${PWD_COMMAND}`; export r; \
12010         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12011         $(SET_LIB_PATH) \
12012         $(HOST_EXPORTS) \
12013         for flag in $(EXTRA_HOST_FLAGS) ; do \
12014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12015         done; \
12016         echo "Doing TAGS in ld" ; \
12017         (cd ld && \
12018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12020                   "RANLIB=$${RANLIB}" \
12021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12022                   TAGS) \
12023           || exit 1
12024
12025 @endif ld
12026
12027 .PHONY: maybe-install-info-ld install-info-ld
12028 maybe-install-info-ld:
12029 @if ld
12030 maybe-install-info-ld: install-info-ld
12031
12032 install-info-ld: \
12033     configure-ld \
12034     info-ld 
12035         @[ -f ./ld/Makefile ] || exit 0; \
12036         r=`${PWD_COMMAND}`; export r; \
12037         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12038         $(SET_LIB_PATH) \
12039         $(HOST_EXPORTS) \
12040         for flag in $(EXTRA_HOST_FLAGS) ; do \
12041           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12042         done; \
12043         echo "Doing install-info in ld" ; \
12044         (cd ld && \
12045           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12046                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12047                   "RANLIB=$${RANLIB}" \
12048                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12049                   install-info) \
12050           || exit 1
12051
12052 @endif ld
12053
12054 .PHONY: maybe-installcheck-ld installcheck-ld
12055 maybe-installcheck-ld:
12056 @if ld
12057 maybe-installcheck-ld: installcheck-ld
12058
12059 installcheck-ld: \
12060     configure-ld 
12061         @[ -f ./ld/Makefile ] || exit 0; \
12062         r=`${PWD_COMMAND}`; export r; \
12063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12064         $(SET_LIB_PATH) \
12065         $(HOST_EXPORTS) \
12066         for flag in $(EXTRA_HOST_FLAGS) ; do \
12067           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12068         done; \
12069         echo "Doing installcheck in ld" ; \
12070         (cd ld && \
12071           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12072                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12073                   "RANLIB=$${RANLIB}" \
12074                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12075                   installcheck) \
12076           || exit 1
12077
12078 @endif ld
12079
12080 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12081 maybe-mostlyclean-ld:
12082 @if ld
12083 maybe-mostlyclean-ld: mostlyclean-ld
12084
12085 mostlyclean-ld: 
12086         @[ -f ./ld/Makefile ] || exit 0; \
12087         r=`${PWD_COMMAND}`; export r; \
12088         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12089         $(SET_LIB_PATH) \
12090         $(HOST_EXPORTS) \
12091         for flag in $(EXTRA_HOST_FLAGS) ; do \
12092           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12093         done; \
12094         echo "Doing mostlyclean in ld" ; \
12095         (cd ld && \
12096           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12097                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12098                   "RANLIB=$${RANLIB}" \
12099                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12100                   mostlyclean) \
12101           || exit 1
12102
12103 @endif ld
12104
12105 .PHONY: maybe-clean-ld clean-ld
12106 maybe-clean-ld:
12107 @if ld
12108 maybe-clean-ld: clean-ld
12109
12110 clean-ld: 
12111         @[ -f ./ld/Makefile ] || exit 0; \
12112         r=`${PWD_COMMAND}`; export r; \
12113         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12114         $(SET_LIB_PATH) \
12115         $(HOST_EXPORTS) \
12116         for flag in $(EXTRA_HOST_FLAGS) ; do \
12117           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12118         done; \
12119         echo "Doing clean in ld" ; \
12120         (cd ld && \
12121           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123                   "RANLIB=$${RANLIB}" \
12124                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12125                   clean) \
12126           || exit 1
12127
12128 @endif ld
12129
12130 .PHONY: maybe-distclean-ld distclean-ld
12131 maybe-distclean-ld:
12132 @if ld
12133 maybe-distclean-ld: distclean-ld
12134
12135 distclean-ld: 
12136         @[ -f ./ld/Makefile ] || exit 0; \
12137         r=`${PWD_COMMAND}`; export r; \
12138         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12139         $(SET_LIB_PATH) \
12140         $(HOST_EXPORTS) \
12141         for flag in $(EXTRA_HOST_FLAGS) ; do \
12142           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12143         done; \
12144         echo "Doing distclean in ld" ; \
12145         (cd ld && \
12146           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12147                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12148                   "RANLIB=$${RANLIB}" \
12149                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12150                   distclean) \
12151           || exit 1
12152
12153 @endif ld
12154
12155 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12156 maybe-maintainer-clean-ld:
12157 @if ld
12158 maybe-maintainer-clean-ld: maintainer-clean-ld
12159
12160 maintainer-clean-ld: 
12161         @[ -f ./ld/Makefile ] || exit 0; \
12162         r=`${PWD_COMMAND}`; export r; \
12163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12164         $(SET_LIB_PATH) \
12165         $(HOST_EXPORTS) \
12166         for flag in $(EXTRA_HOST_FLAGS) ; do \
12167           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12168         done; \
12169         echo "Doing maintainer-clean in ld" ; \
12170         (cd ld && \
12171           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12172                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12173                   "RANLIB=$${RANLIB}" \
12174                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12175                   maintainer-clean) \
12176           || exit 1
12177
12178 @endif ld
12179
12180
12181 .PHONY: configure-libcpp maybe-configure-libcpp
12182 maybe-configure-libcpp:
12183 @if libcpp
12184 maybe-configure-libcpp: configure-libcpp
12185 configure-libcpp:
12186         @test -f stage_last && exit 0; \
12187         test ! -f libcpp/Makefile || exit 0; \
12188         [ -d libcpp ] || mkdir libcpp; \
12189         r=`${PWD_COMMAND}`; export r; \
12190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12191         $(HOST_EXPORTS) \
12192         echo Configuring in libcpp; \
12193         cd libcpp || exit 1; \
12194         case $(srcdir) in \
12195           \.) \
12196             srcdiroption="--srcdir=."; \
12197             libsrcdir=".";; \
12198           /* | [A-Za-z]:[\\/]*) \
12199             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12200             libsrcdir="$$s/libcpp";; \
12201           *) \
12202             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12203             libsrcdir="$$s/libcpp";; \
12204         esac; \
12205         $(SHELL) $${libsrcdir}/configure \
12206           $(HOST_CONFIGARGS) $${srcdiroption}  \
12207           || exit 1
12208 @endif libcpp
12209
12210 .PHONY: all-libcpp maybe-all-libcpp
12211 maybe-all-libcpp:
12212 @if libcpp
12213 maybe-all-libcpp: all-libcpp
12214 all-libcpp: configure-libcpp
12215         @test -f stage_last && exit 0; \
12216         r=`${PWD_COMMAND}`; export r; \
12217         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12218         $(SET_LIB_PATH) \
12219         $(HOST_EXPORTS) \
12220         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS)  all)
12221 @endif libcpp
12222
12223 .PHONY: check-libcpp maybe-check-libcpp
12224 maybe-check-libcpp:
12225 @if libcpp
12226 maybe-check-libcpp: check-libcpp
12227
12228 check-libcpp:
12229         @r=`${PWD_COMMAND}`; export r; \
12230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12231         $(SET_LIB_PATH) \
12232         $(HOST_EXPORTS) \
12233         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12234
12235 @endif libcpp
12236
12237 .PHONY: install-libcpp maybe-install-libcpp
12238 maybe-install-libcpp:
12239 @if libcpp
12240 maybe-install-libcpp: install-libcpp
12241
12242 install-libcpp: installdirs
12243         @r=`${PWD_COMMAND}`; export r; \
12244         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12245         $(SET_LIB_PATH) \
12246         $(HOST_EXPORTS) \
12247         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12248
12249 @endif libcpp
12250
12251 # Other targets (info, dvi, etc.)
12252
12253 .PHONY: maybe-info-libcpp info-libcpp
12254 maybe-info-libcpp:
12255 @if libcpp
12256 maybe-info-libcpp: info-libcpp
12257
12258 info-libcpp: \
12259     configure-libcpp 
12260         @[ -f ./libcpp/Makefile ] || exit 0; \
12261         r=`${PWD_COMMAND}`; export r; \
12262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12263         $(SET_LIB_PATH) \
12264         $(HOST_EXPORTS) \
12265         for flag in $(EXTRA_HOST_FLAGS) ; do \
12266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12267         done; \
12268         echo "Doing info in libcpp" ; \
12269         (cd libcpp && \
12270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12272                   "RANLIB=$${RANLIB}" \
12273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12274                   info) \
12275           || exit 1
12276
12277 @endif libcpp
12278
12279 .PHONY: maybe-dvi-libcpp dvi-libcpp
12280 maybe-dvi-libcpp:
12281 @if libcpp
12282 maybe-dvi-libcpp: dvi-libcpp
12283
12284 dvi-libcpp: \
12285     configure-libcpp 
12286         @[ -f ./libcpp/Makefile ] || exit 0; \
12287         r=`${PWD_COMMAND}`; export r; \
12288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12289         $(SET_LIB_PATH) \
12290         $(HOST_EXPORTS) \
12291         for flag in $(EXTRA_HOST_FLAGS) ; do \
12292           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12293         done; \
12294         echo "Doing dvi in libcpp" ; \
12295         (cd libcpp && \
12296           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12297                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12298                   "RANLIB=$${RANLIB}" \
12299                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12300                   dvi) \
12301           || exit 1
12302
12303 @endif libcpp
12304
12305 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12306 maybe-TAGS-libcpp:
12307 @if libcpp
12308 maybe-TAGS-libcpp: TAGS-libcpp
12309
12310 TAGS-libcpp: \
12311     configure-libcpp 
12312         @[ -f ./libcpp/Makefile ] || exit 0; \
12313         r=`${PWD_COMMAND}`; export r; \
12314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12315         $(SET_LIB_PATH) \
12316         $(HOST_EXPORTS) \
12317         for flag in $(EXTRA_HOST_FLAGS) ; do \
12318           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12319         done; \
12320         echo "Doing TAGS in libcpp" ; \
12321         (cd libcpp && \
12322           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12323                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12324                   "RANLIB=$${RANLIB}" \
12325                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12326                   TAGS) \
12327           || exit 1
12328
12329 @endif libcpp
12330
12331 .PHONY: maybe-install-info-libcpp install-info-libcpp
12332 maybe-install-info-libcpp:
12333 @if libcpp
12334 maybe-install-info-libcpp: install-info-libcpp
12335
12336 install-info-libcpp: \
12337     configure-libcpp \
12338     info-libcpp 
12339         @[ -f ./libcpp/Makefile ] || exit 0; \
12340         r=`${PWD_COMMAND}`; export r; \
12341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12342         $(SET_LIB_PATH) \
12343         $(HOST_EXPORTS) \
12344         for flag in $(EXTRA_HOST_FLAGS) ; do \
12345           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12346         done; \
12347         echo "Doing install-info in libcpp" ; \
12348         (cd libcpp && \
12349           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12350                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12351                   "RANLIB=$${RANLIB}" \
12352                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12353                   install-info) \
12354           || exit 1
12355
12356 @endif libcpp
12357
12358 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12359 maybe-installcheck-libcpp:
12360 @if libcpp
12361 maybe-installcheck-libcpp: installcheck-libcpp
12362
12363 installcheck-libcpp: \
12364     configure-libcpp 
12365         @[ -f ./libcpp/Makefile ] || exit 0; \
12366         r=`${PWD_COMMAND}`; export r; \
12367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12368         $(SET_LIB_PATH) \
12369         $(HOST_EXPORTS) \
12370         for flag in $(EXTRA_HOST_FLAGS) ; do \
12371           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12372         done; \
12373         echo "Doing installcheck in libcpp" ; \
12374         (cd libcpp && \
12375           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12376                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12377                   "RANLIB=$${RANLIB}" \
12378                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12379                   installcheck) \
12380           || exit 1
12381
12382 @endif libcpp
12383
12384 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12385 maybe-mostlyclean-libcpp:
12386 @if libcpp
12387 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12388
12389 mostlyclean-libcpp: 
12390         @[ -f ./libcpp/Makefile ] || exit 0; \
12391         r=`${PWD_COMMAND}`; export r; \
12392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12393         $(SET_LIB_PATH) \
12394         $(HOST_EXPORTS) \
12395         for flag in $(EXTRA_HOST_FLAGS) ; do \
12396           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12397         done; \
12398         echo "Doing mostlyclean in libcpp" ; \
12399         (cd libcpp && \
12400           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12401                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12402                   "RANLIB=$${RANLIB}" \
12403                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12404                   mostlyclean) \
12405           || exit 1
12406
12407 @endif libcpp
12408
12409 .PHONY: maybe-clean-libcpp clean-libcpp
12410 maybe-clean-libcpp:
12411 @if libcpp
12412 maybe-clean-libcpp: clean-libcpp
12413
12414 clean-libcpp: 
12415         @[ -f ./libcpp/Makefile ] || exit 0; \
12416         r=`${PWD_COMMAND}`; export r; \
12417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12418         $(SET_LIB_PATH) \
12419         $(HOST_EXPORTS) \
12420         for flag in $(EXTRA_HOST_FLAGS) ; do \
12421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12422         done; \
12423         echo "Doing clean in libcpp" ; \
12424         (cd libcpp && \
12425           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12426                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12427                   "RANLIB=$${RANLIB}" \
12428                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12429                   clean) \
12430           || exit 1
12431
12432 @endif libcpp
12433
12434 .PHONY: maybe-distclean-libcpp distclean-libcpp
12435 maybe-distclean-libcpp:
12436 @if libcpp
12437 maybe-distclean-libcpp: distclean-libcpp
12438
12439 distclean-libcpp: 
12440         @[ -f ./libcpp/Makefile ] || exit 0; \
12441         r=`${PWD_COMMAND}`; export r; \
12442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12443         $(SET_LIB_PATH) \
12444         $(HOST_EXPORTS) \
12445         for flag in $(EXTRA_HOST_FLAGS) ; do \
12446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12447         done; \
12448         echo "Doing distclean in libcpp" ; \
12449         (cd libcpp && \
12450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12452                   "RANLIB=$${RANLIB}" \
12453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12454                   distclean) \
12455           || exit 1
12456
12457 @endif libcpp
12458
12459 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12460 maybe-maintainer-clean-libcpp:
12461 @if libcpp
12462 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12463
12464 maintainer-clean-libcpp: 
12465         @[ -f ./libcpp/Makefile ] || exit 0; \
12466         r=`${PWD_COMMAND}`; export r; \
12467         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12468         $(SET_LIB_PATH) \
12469         $(HOST_EXPORTS) \
12470         for flag in $(EXTRA_HOST_FLAGS) ; do \
12471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12472         done; \
12473         echo "Doing maintainer-clean in libcpp" ; \
12474         (cd libcpp && \
12475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12477                   "RANLIB=$${RANLIB}" \
12478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12479                   maintainer-clean) \
12480           || exit 1
12481
12482 @endif libcpp
12483
12484
12485 .PHONY: configure-libgui maybe-configure-libgui
12486 maybe-configure-libgui:
12487 @if libgui
12488 maybe-configure-libgui: configure-libgui
12489 configure-libgui:
12490         @test ! -f libgui/Makefile || exit 0; \
12491         [ -d libgui ] || mkdir libgui; \
12492         r=`${PWD_COMMAND}`; export r; \
12493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12494         $(HOST_EXPORTS) \
12495         echo Configuring in libgui; \
12496         cd libgui || exit 1; \
12497         case $(srcdir) in \
12498           \.) \
12499             srcdiroption="--srcdir=."; \
12500             libsrcdir=".";; \
12501           /* | [A-Za-z]:[\\/]*) \
12502             srcdiroption="--srcdir=$(srcdir)/libgui"; \
12503             libsrcdir="$$s/libgui";; \
12504           *) \
12505             srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12506             libsrcdir="$$s/libgui";; \
12507         esac; \
12508         $(SHELL) $${libsrcdir}/configure \
12509           $(HOST_CONFIGARGS) $${srcdiroption}  \
12510           || exit 1
12511 @endif libgui
12512
12513 .PHONY: all-libgui maybe-all-libgui
12514 maybe-all-libgui:
12515 @if libgui
12516 maybe-all-libgui: all-libgui
12517 all-libgui: configure-libgui
12518         @r=`${PWD_COMMAND}`; export r; \
12519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12520         $(SET_LIB_PATH) \
12521         $(HOST_EXPORTS) \
12522         (cd libgui && $(MAKE) $(FLAGS_TO_PASS)  all)
12523 @endif libgui
12524
12525 .PHONY: check-libgui maybe-check-libgui
12526 maybe-check-libgui:
12527 @if libgui
12528 maybe-check-libgui: check-libgui
12529
12530 check-libgui:
12531         @r=`${PWD_COMMAND}`; export r; \
12532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12533         $(SET_LIB_PATH) \
12534         $(HOST_EXPORTS) \
12535         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12536
12537 @endif libgui
12538
12539 .PHONY: install-libgui maybe-install-libgui
12540 maybe-install-libgui:
12541 @if libgui
12542 maybe-install-libgui: install-libgui
12543
12544 install-libgui: installdirs
12545         @r=`${PWD_COMMAND}`; export r; \
12546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12547         $(SET_LIB_PATH) \
12548         $(HOST_EXPORTS) \
12549         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12550
12551 @endif libgui
12552
12553 # Other targets (info, dvi, etc.)
12554
12555 .PHONY: maybe-info-libgui info-libgui
12556 maybe-info-libgui:
12557 @if libgui
12558 maybe-info-libgui: info-libgui
12559
12560 info-libgui: \
12561     configure-libgui 
12562         @[ -f ./libgui/Makefile ] || exit 0; \
12563         r=`${PWD_COMMAND}`; export r; \
12564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12565         $(SET_LIB_PATH) \
12566         $(HOST_EXPORTS) \
12567         for flag in $(EXTRA_HOST_FLAGS) ; do \
12568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12569         done; \
12570         echo "Doing info in libgui" ; \
12571         (cd libgui && \
12572           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12573                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12574                   "RANLIB=$${RANLIB}" \
12575                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12576                   info) \
12577           || exit 1
12578
12579 @endif libgui
12580
12581 .PHONY: maybe-dvi-libgui dvi-libgui
12582 maybe-dvi-libgui:
12583 @if libgui
12584 maybe-dvi-libgui: dvi-libgui
12585
12586 dvi-libgui: \
12587     configure-libgui 
12588         @[ -f ./libgui/Makefile ] || exit 0; \
12589         r=`${PWD_COMMAND}`; export r; \
12590         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12591         $(SET_LIB_PATH) \
12592         $(HOST_EXPORTS) \
12593         for flag in $(EXTRA_HOST_FLAGS) ; do \
12594           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12595         done; \
12596         echo "Doing dvi in libgui" ; \
12597         (cd libgui && \
12598           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12599                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12600                   "RANLIB=$${RANLIB}" \
12601                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12602                   dvi) \
12603           || exit 1
12604
12605 @endif libgui
12606
12607 .PHONY: maybe-TAGS-libgui TAGS-libgui
12608 maybe-TAGS-libgui:
12609 @if libgui
12610 maybe-TAGS-libgui: TAGS-libgui
12611
12612 TAGS-libgui: \
12613     configure-libgui 
12614         @[ -f ./libgui/Makefile ] || exit 0; \
12615         r=`${PWD_COMMAND}`; export r; \
12616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12617         $(SET_LIB_PATH) \
12618         $(HOST_EXPORTS) \
12619         for flag in $(EXTRA_HOST_FLAGS) ; do \
12620           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12621         done; \
12622         echo "Doing TAGS in libgui" ; \
12623         (cd libgui && \
12624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12626                   "RANLIB=$${RANLIB}" \
12627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12628                   TAGS) \
12629           || exit 1
12630
12631 @endif libgui
12632
12633 .PHONY: maybe-install-info-libgui install-info-libgui
12634 maybe-install-info-libgui:
12635 @if libgui
12636 maybe-install-info-libgui: install-info-libgui
12637
12638 install-info-libgui: \
12639     configure-libgui \
12640     info-libgui 
12641         @[ -f ./libgui/Makefile ] || exit 0; \
12642         r=`${PWD_COMMAND}`; export r; \
12643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12644         $(SET_LIB_PATH) \
12645         $(HOST_EXPORTS) \
12646         for flag in $(EXTRA_HOST_FLAGS) ; do \
12647           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12648         done; \
12649         echo "Doing install-info in libgui" ; \
12650         (cd libgui && \
12651           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12652                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12653                   "RANLIB=$${RANLIB}" \
12654                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12655                   install-info) \
12656           || exit 1
12657
12658 @endif libgui
12659
12660 .PHONY: maybe-installcheck-libgui installcheck-libgui
12661 maybe-installcheck-libgui:
12662 @if libgui
12663 maybe-installcheck-libgui: installcheck-libgui
12664
12665 installcheck-libgui: \
12666     configure-libgui 
12667         @[ -f ./libgui/Makefile ] || exit 0; \
12668         r=`${PWD_COMMAND}`; export r; \
12669         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12670         $(SET_LIB_PATH) \
12671         $(HOST_EXPORTS) \
12672         for flag in $(EXTRA_HOST_FLAGS) ; do \
12673           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12674         done; \
12675         echo "Doing installcheck in libgui" ; \
12676         (cd libgui && \
12677           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12678                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12679                   "RANLIB=$${RANLIB}" \
12680                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12681                   installcheck) \
12682           || exit 1
12683
12684 @endif libgui
12685
12686 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12687 maybe-mostlyclean-libgui:
12688 @if libgui
12689 maybe-mostlyclean-libgui: mostlyclean-libgui
12690
12691 mostlyclean-libgui: 
12692         @[ -f ./libgui/Makefile ] || exit 0; \
12693         r=`${PWD_COMMAND}`; export r; \
12694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695         $(SET_LIB_PATH) \
12696         $(HOST_EXPORTS) \
12697         for flag in $(EXTRA_HOST_FLAGS) ; do \
12698           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12699         done; \
12700         echo "Doing mostlyclean in libgui" ; \
12701         (cd libgui && \
12702           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12703                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12704                   "RANLIB=$${RANLIB}" \
12705                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12706                   mostlyclean) \
12707           || exit 1
12708
12709 @endif libgui
12710
12711 .PHONY: maybe-clean-libgui clean-libgui
12712 maybe-clean-libgui:
12713 @if libgui
12714 maybe-clean-libgui: clean-libgui
12715
12716 clean-libgui: 
12717         @[ -f ./libgui/Makefile ] || exit 0; \
12718         r=`${PWD_COMMAND}`; export r; \
12719         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12720         $(SET_LIB_PATH) \
12721         $(HOST_EXPORTS) \
12722         for flag in $(EXTRA_HOST_FLAGS) ; do \
12723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12724         done; \
12725         echo "Doing clean in libgui" ; \
12726         (cd libgui && \
12727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12729                   "RANLIB=$${RANLIB}" \
12730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12731                   clean) \
12732           || exit 1
12733
12734 @endif libgui
12735
12736 .PHONY: maybe-distclean-libgui distclean-libgui
12737 maybe-distclean-libgui:
12738 @if libgui
12739 maybe-distclean-libgui: distclean-libgui
12740
12741 distclean-libgui: 
12742         @[ -f ./libgui/Makefile ] || exit 0; \
12743         r=`${PWD_COMMAND}`; export r; \
12744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12745         $(SET_LIB_PATH) \
12746         $(HOST_EXPORTS) \
12747         for flag in $(EXTRA_HOST_FLAGS) ; do \
12748           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12749         done; \
12750         echo "Doing distclean in libgui" ; \
12751         (cd libgui && \
12752           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12753                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12754                   "RANLIB=$${RANLIB}" \
12755                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12756                   distclean) \
12757           || exit 1
12758
12759 @endif libgui
12760
12761 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12762 maybe-maintainer-clean-libgui:
12763 @if libgui
12764 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12765
12766 maintainer-clean-libgui: 
12767         @[ -f ./libgui/Makefile ] || exit 0; \
12768         r=`${PWD_COMMAND}`; export r; \
12769         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770         $(SET_LIB_PATH) \
12771         $(HOST_EXPORTS) \
12772         for flag in $(EXTRA_HOST_FLAGS) ; do \
12773           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12774         done; \
12775         echo "Doing maintainer-clean in libgui" ; \
12776         (cd libgui && \
12777           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12778                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12779                   "RANLIB=$${RANLIB}" \
12780                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12781                   maintainer-clean) \
12782           || exit 1
12783
12784 @endif libgui
12785
12786
12787 .PHONY: configure-libiberty maybe-configure-libiberty
12788 maybe-configure-libiberty:
12789 @if libiberty
12790 maybe-configure-libiberty: configure-libiberty
12791 configure-libiberty:
12792         @test -f stage_last && exit 0; \
12793         test ! -f libiberty/Makefile || exit 0; \
12794         [ -d libiberty ] || mkdir libiberty; \
12795         r=`${PWD_COMMAND}`; export r; \
12796         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12797         $(HOST_EXPORTS) \
12798         echo Configuring in libiberty; \
12799         cd libiberty || exit 1; \
12800         case $(srcdir) in \
12801           \.) \
12802             srcdiroption="--srcdir=."; \
12803             libsrcdir=".";; \
12804           /* | [A-Za-z]:[\\/]*) \
12805             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12806             libsrcdir="$$s/libiberty";; \
12807           *) \
12808             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12809             libsrcdir="$$s/libiberty";; \
12810         esac; \
12811         $(SHELL) $${libsrcdir}/configure \
12812           $(HOST_CONFIGARGS) $${srcdiroption}  \
12813           || exit 1
12814 @endif libiberty
12815
12816 .PHONY: all-libiberty maybe-all-libiberty
12817 maybe-all-libiberty:
12818 @if libiberty
12819 maybe-all-libiberty: all-libiberty
12820 all-libiberty: configure-libiberty
12821         @test -f stage_last && exit 0; \
12822         r=`${PWD_COMMAND}`; export r; \
12823         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12824         $(SET_LIB_PATH) \
12825         $(HOST_EXPORTS) \
12826         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS)  all)
12827 @endif libiberty
12828
12829 .PHONY: check-libiberty maybe-check-libiberty
12830 maybe-check-libiberty:
12831 @if libiberty
12832 maybe-check-libiberty: check-libiberty
12833
12834 check-libiberty:
12835         @r=`${PWD_COMMAND}`; export r; \
12836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12837         $(SET_LIB_PATH) \
12838         $(HOST_EXPORTS) \
12839         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12840
12841 @endif libiberty
12842
12843 .PHONY: install-libiberty maybe-install-libiberty
12844 maybe-install-libiberty:
12845 @if libiberty
12846 maybe-install-libiberty: install-libiberty
12847
12848 install-libiberty: installdirs
12849         @r=`${PWD_COMMAND}`; export r; \
12850         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851         $(SET_LIB_PATH) \
12852         $(HOST_EXPORTS) \
12853         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12854
12855 @endif libiberty
12856
12857 # Other targets (info, dvi, etc.)
12858
12859 .PHONY: maybe-info-libiberty info-libiberty
12860 maybe-info-libiberty:
12861 @if libiberty
12862 maybe-info-libiberty: info-libiberty
12863
12864 info-libiberty: \
12865     configure-libiberty 
12866         @[ -f ./libiberty/Makefile ] || exit 0; \
12867         r=`${PWD_COMMAND}`; export r; \
12868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12869         $(SET_LIB_PATH) \
12870         $(HOST_EXPORTS) \
12871         for flag in $(EXTRA_HOST_FLAGS) ; do \
12872           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12873         done; \
12874         echo "Doing info in libiberty" ; \
12875         (cd libiberty && \
12876           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12877                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12878                   "RANLIB=$${RANLIB}" \
12879                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12880                   info) \
12881           || exit 1
12882
12883 @endif libiberty
12884
12885 .PHONY: maybe-dvi-libiberty dvi-libiberty
12886 maybe-dvi-libiberty:
12887 @if libiberty
12888 maybe-dvi-libiberty: dvi-libiberty
12889
12890 dvi-libiberty: \
12891     configure-libiberty 
12892         @[ -f ./libiberty/Makefile ] || exit 0; \
12893         r=`${PWD_COMMAND}`; export r; \
12894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12895         $(SET_LIB_PATH) \
12896         $(HOST_EXPORTS) \
12897         for flag in $(EXTRA_HOST_FLAGS) ; do \
12898           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12899         done; \
12900         echo "Doing dvi in libiberty" ; \
12901         (cd libiberty && \
12902           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12903                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12904                   "RANLIB=$${RANLIB}" \
12905                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12906                   dvi) \
12907           || exit 1
12908
12909 @endif libiberty
12910
12911 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12912 maybe-TAGS-libiberty:
12913 @if libiberty
12914 maybe-TAGS-libiberty: TAGS-libiberty
12915
12916 TAGS-libiberty: \
12917     configure-libiberty 
12918         @[ -f ./libiberty/Makefile ] || exit 0; \
12919         r=`${PWD_COMMAND}`; export r; \
12920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921         $(SET_LIB_PATH) \
12922         $(HOST_EXPORTS) \
12923         for flag in $(EXTRA_HOST_FLAGS) ; do \
12924           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12925         done; \
12926         echo "Doing TAGS in libiberty" ; \
12927         (cd libiberty && \
12928           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12929                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12930                   "RANLIB=$${RANLIB}" \
12931                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12932                   TAGS) \
12933           || exit 1
12934
12935 @endif libiberty
12936
12937 .PHONY: maybe-install-info-libiberty install-info-libiberty
12938 maybe-install-info-libiberty:
12939 @if libiberty
12940 maybe-install-info-libiberty: install-info-libiberty
12941
12942 install-info-libiberty: \
12943     configure-libiberty \
12944     info-libiberty 
12945         @[ -f ./libiberty/Makefile ] || exit 0; \
12946         r=`${PWD_COMMAND}`; export r; \
12947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12948         $(SET_LIB_PATH) \
12949         $(HOST_EXPORTS) \
12950         for flag in $(EXTRA_HOST_FLAGS) ; do \
12951           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12952         done; \
12953         echo "Doing install-info in libiberty" ; \
12954         (cd libiberty && \
12955           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12956                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12957                   "RANLIB=$${RANLIB}" \
12958                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12959                   install-info) \
12960           || exit 1
12961
12962 @endif libiberty
12963
12964 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12965 maybe-installcheck-libiberty:
12966 @if libiberty
12967 maybe-installcheck-libiberty: installcheck-libiberty
12968
12969 installcheck-libiberty: \
12970     configure-libiberty 
12971         @[ -f ./libiberty/Makefile ] || exit 0; \
12972         r=`${PWD_COMMAND}`; export r; \
12973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12974         $(SET_LIB_PATH) \
12975         $(HOST_EXPORTS) \
12976         for flag in $(EXTRA_HOST_FLAGS) ; do \
12977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12978         done; \
12979         echo "Doing installcheck in libiberty" ; \
12980         (cd libiberty && \
12981           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12982                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12983                   "RANLIB=$${RANLIB}" \
12984                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12985                   installcheck) \
12986           || exit 1
12987
12988 @endif libiberty
12989
12990 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12991 maybe-mostlyclean-libiberty:
12992 @if libiberty
12993 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12994
12995 mostlyclean-libiberty: 
12996         @[ -f ./libiberty/Makefile ] || exit 0; \
12997         r=`${PWD_COMMAND}`; export r; \
12998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12999         $(SET_LIB_PATH) \
13000         $(HOST_EXPORTS) \
13001         for flag in $(EXTRA_HOST_FLAGS) ; do \
13002           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13003         done; \
13004         echo "Doing mostlyclean in libiberty" ; \
13005         (cd libiberty && \
13006           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13007                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13008                   "RANLIB=$${RANLIB}" \
13009                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13010                   mostlyclean) \
13011           || exit 1
13012
13013 @endif libiberty
13014
13015 .PHONY: maybe-clean-libiberty clean-libiberty
13016 maybe-clean-libiberty:
13017 @if libiberty
13018 maybe-clean-libiberty: clean-libiberty
13019
13020 clean-libiberty: 
13021         @[ -f ./libiberty/Makefile ] || exit 0; \
13022         r=`${PWD_COMMAND}`; export r; \
13023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024         $(SET_LIB_PATH) \
13025         $(HOST_EXPORTS) \
13026         for flag in $(EXTRA_HOST_FLAGS) ; do \
13027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13028         done; \
13029         echo "Doing clean in libiberty" ; \
13030         (cd libiberty && \
13031           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13032                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13033                   "RANLIB=$${RANLIB}" \
13034                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13035                   clean) \
13036           || exit 1
13037
13038 @endif libiberty
13039
13040 .PHONY: maybe-distclean-libiberty distclean-libiberty
13041 maybe-distclean-libiberty:
13042 @if libiberty
13043 maybe-distclean-libiberty: distclean-libiberty
13044
13045 distclean-libiberty: 
13046         @[ -f ./libiberty/Makefile ] || exit 0; \
13047         r=`${PWD_COMMAND}`; export r; \
13048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13049         $(SET_LIB_PATH) \
13050         $(HOST_EXPORTS) \
13051         for flag in $(EXTRA_HOST_FLAGS) ; do \
13052           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13053         done; \
13054         echo "Doing distclean in libiberty" ; \
13055         (cd libiberty && \
13056           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13057                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13058                   "RANLIB=$${RANLIB}" \
13059                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13060                   distclean) \
13061           || exit 1
13062
13063 @endif libiberty
13064
13065 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13066 maybe-maintainer-clean-libiberty:
13067 @if libiberty
13068 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13069
13070 maintainer-clean-libiberty: 
13071         @[ -f ./libiberty/Makefile ] || exit 0; \
13072         r=`${PWD_COMMAND}`; export r; \
13073         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13074         $(SET_LIB_PATH) \
13075         $(HOST_EXPORTS) \
13076         for flag in $(EXTRA_HOST_FLAGS) ; do \
13077           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13078         done; \
13079         echo "Doing maintainer-clean in libiberty" ; \
13080         (cd libiberty && \
13081           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13082                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13083                   "RANLIB=$${RANLIB}" \
13084                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13085                   maintainer-clean) \
13086           || exit 1
13087
13088 @endif libiberty
13089
13090
13091 .PHONY: configure-libtool maybe-configure-libtool
13092 maybe-configure-libtool:
13093 @if libtool
13094 maybe-configure-libtool: configure-libtool
13095 configure-libtool:
13096         @test ! -f libtool/Makefile || exit 0; \
13097         [ -d libtool ] || mkdir libtool; \
13098         r=`${PWD_COMMAND}`; export r; \
13099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13100         $(HOST_EXPORTS) \
13101         echo Configuring in libtool; \
13102         cd libtool || exit 1; \
13103         case $(srcdir) in \
13104           \.) \
13105             srcdiroption="--srcdir=."; \
13106             libsrcdir=".";; \
13107           /* | [A-Za-z]:[\\/]*) \
13108             srcdiroption="--srcdir=$(srcdir)/libtool"; \
13109             libsrcdir="$$s/libtool";; \
13110           *) \
13111             srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13112             libsrcdir="$$s/libtool";; \
13113         esac; \
13114         $(SHELL) $${libsrcdir}/configure \
13115           $(HOST_CONFIGARGS) $${srcdiroption}  \
13116           || exit 1
13117 @endif libtool
13118
13119 .PHONY: all-libtool maybe-all-libtool
13120 maybe-all-libtool:
13121 @if libtool
13122 maybe-all-libtool: all-libtool
13123 all-libtool: configure-libtool
13124         @r=`${PWD_COMMAND}`; export r; \
13125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126         $(SET_LIB_PATH) \
13127         $(HOST_EXPORTS) \
13128         (cd libtool && $(MAKE) $(FLAGS_TO_PASS)  all)
13129 @endif libtool
13130
13131 .PHONY: check-libtool maybe-check-libtool
13132 maybe-check-libtool:
13133 @if libtool
13134 maybe-check-libtool: check-libtool
13135
13136 check-libtool:
13137         @r=`${PWD_COMMAND}`; export r; \
13138         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13139         $(SET_LIB_PATH) \
13140         $(HOST_EXPORTS) \
13141         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13142
13143 @endif libtool
13144
13145 .PHONY: install-libtool maybe-install-libtool
13146 maybe-install-libtool:
13147 @if libtool
13148 maybe-install-libtool: install-libtool
13149
13150 install-libtool: installdirs
13151         @r=`${PWD_COMMAND}`; export r; \
13152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13153         $(SET_LIB_PATH) \
13154         $(HOST_EXPORTS) \
13155         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13156
13157 @endif libtool
13158
13159 # Other targets (info, dvi, etc.)
13160
13161 .PHONY: maybe-info-libtool info-libtool
13162 maybe-info-libtool:
13163 @if libtool
13164 maybe-info-libtool: info-libtool
13165
13166 info-libtool: \
13167     configure-libtool 
13168         @[ -f ./libtool/Makefile ] || exit 0; \
13169         r=`${PWD_COMMAND}`; export r; \
13170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13171         $(SET_LIB_PATH) \
13172         $(HOST_EXPORTS) \
13173         for flag in $(EXTRA_HOST_FLAGS) ; do \
13174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13175         done; \
13176         echo "Doing info in libtool" ; \
13177         (cd libtool && \
13178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13180                   "RANLIB=$${RANLIB}" \
13181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13182                   info) \
13183           || exit 1
13184
13185 @endif libtool
13186
13187 .PHONY: maybe-dvi-libtool dvi-libtool
13188 maybe-dvi-libtool:
13189 @if libtool
13190 maybe-dvi-libtool: dvi-libtool
13191
13192 dvi-libtool: \
13193     configure-libtool 
13194         @[ -f ./libtool/Makefile ] || exit 0; \
13195         r=`${PWD_COMMAND}`; export r; \
13196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13197         $(SET_LIB_PATH) \
13198         $(HOST_EXPORTS) \
13199         for flag in $(EXTRA_HOST_FLAGS) ; do \
13200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13201         done; \
13202         echo "Doing dvi in libtool" ; \
13203         (cd libtool && \
13204           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13205                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13206                   "RANLIB=$${RANLIB}" \
13207                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13208                   dvi) \
13209           || exit 1
13210
13211 @endif libtool
13212
13213 .PHONY: maybe-TAGS-libtool TAGS-libtool
13214 maybe-TAGS-libtool:
13215 @if libtool
13216 maybe-TAGS-libtool: TAGS-libtool
13217
13218 TAGS-libtool: \
13219     configure-libtool 
13220         @[ -f ./libtool/Makefile ] || exit 0; \
13221         r=`${PWD_COMMAND}`; export r; \
13222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13223         $(SET_LIB_PATH) \
13224         $(HOST_EXPORTS) \
13225         for flag in $(EXTRA_HOST_FLAGS) ; do \
13226           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13227         done; \
13228         echo "Doing TAGS in libtool" ; \
13229         (cd libtool && \
13230           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13231                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13232                   "RANLIB=$${RANLIB}" \
13233                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13234                   TAGS) \
13235           || exit 1
13236
13237 @endif libtool
13238
13239 .PHONY: maybe-install-info-libtool install-info-libtool
13240 maybe-install-info-libtool:
13241 @if libtool
13242 maybe-install-info-libtool: install-info-libtool
13243
13244 install-info-libtool: \
13245     configure-libtool \
13246     info-libtool 
13247         @[ -f ./libtool/Makefile ] || exit 0; \
13248         r=`${PWD_COMMAND}`; export r; \
13249         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13250         $(SET_LIB_PATH) \
13251         $(HOST_EXPORTS) \
13252         for flag in $(EXTRA_HOST_FLAGS) ; do \
13253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13254         done; \
13255         echo "Doing install-info in libtool" ; \
13256         (cd libtool && \
13257           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13258                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13259                   "RANLIB=$${RANLIB}" \
13260                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13261                   install-info) \
13262           || exit 1
13263
13264 @endif libtool
13265
13266 .PHONY: maybe-installcheck-libtool installcheck-libtool
13267 maybe-installcheck-libtool:
13268 @if libtool
13269 maybe-installcheck-libtool: installcheck-libtool
13270
13271 installcheck-libtool: \
13272     configure-libtool 
13273         @[ -f ./libtool/Makefile ] || exit 0; \
13274         r=`${PWD_COMMAND}`; export r; \
13275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13276         $(SET_LIB_PATH) \
13277         $(HOST_EXPORTS) \
13278         for flag in $(EXTRA_HOST_FLAGS) ; do \
13279           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13280         done; \
13281         echo "Doing installcheck in libtool" ; \
13282         (cd libtool && \
13283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13285                   "RANLIB=$${RANLIB}" \
13286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13287                   installcheck) \
13288           || exit 1
13289
13290 @endif libtool
13291
13292 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13293 maybe-mostlyclean-libtool:
13294 @if libtool
13295 maybe-mostlyclean-libtool: mostlyclean-libtool
13296
13297 mostlyclean-libtool: 
13298         @[ -f ./libtool/Makefile ] || exit 0; \
13299         r=`${PWD_COMMAND}`; export r; \
13300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13301         $(SET_LIB_PATH) \
13302         $(HOST_EXPORTS) \
13303         for flag in $(EXTRA_HOST_FLAGS) ; do \
13304           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13305         done; \
13306         echo "Doing mostlyclean in libtool" ; \
13307         (cd libtool && \
13308           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13309                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13310                   "RANLIB=$${RANLIB}" \
13311                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13312                   mostlyclean) \
13313           || exit 1
13314
13315 @endif libtool
13316
13317 .PHONY: maybe-clean-libtool clean-libtool
13318 maybe-clean-libtool:
13319 @if libtool
13320 maybe-clean-libtool: clean-libtool
13321
13322 clean-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 clean 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                   clean) \
13338           || exit 1
13339
13340 @endif libtool
13341
13342 .PHONY: maybe-distclean-libtool distclean-libtool
13343 maybe-distclean-libtool:
13344 @if libtool
13345 maybe-distclean-libtool: distclean-libtool
13346
13347 distclean-libtool: 
13348         @[ -f ./libtool/Makefile ] || exit 0; \
13349         r=`${PWD_COMMAND}`; export r; \
13350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13351         $(SET_LIB_PATH) \
13352         $(HOST_EXPORTS) \
13353         for flag in $(EXTRA_HOST_FLAGS) ; do \
13354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13355         done; \
13356         echo "Doing distclean in libtool" ; \
13357         (cd libtool && \
13358           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13359                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13360                   "RANLIB=$${RANLIB}" \
13361                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13362                   distclean) \
13363           || exit 1
13364
13365 @endif libtool
13366
13367 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13368 maybe-maintainer-clean-libtool:
13369 @if libtool
13370 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13371
13372 maintainer-clean-libtool: 
13373         @[ -f ./libtool/Makefile ] || exit 0; \
13374         r=`${PWD_COMMAND}`; export r; \
13375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376         $(SET_LIB_PATH) \
13377         $(HOST_EXPORTS) \
13378         for flag in $(EXTRA_HOST_FLAGS) ; do \
13379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13380         done; \
13381         echo "Doing maintainer-clean in libtool" ; \
13382         (cd libtool && \
13383           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13384                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13385                   "RANLIB=$${RANLIB}" \
13386                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13387                   maintainer-clean) \
13388           || exit 1
13389
13390 @endif libtool
13391
13392
13393 .PHONY: configure-m4 maybe-configure-m4
13394 maybe-configure-m4:
13395 @if m4
13396 maybe-configure-m4: configure-m4
13397 configure-m4:
13398         @test ! -f m4/Makefile || exit 0; \
13399         [ -d m4 ] || mkdir m4; \
13400         r=`${PWD_COMMAND}`; export r; \
13401         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13402         $(HOST_EXPORTS) \
13403         echo Configuring in m4; \
13404         cd m4 || exit 1; \
13405         case $(srcdir) in \
13406           \.) \
13407             srcdiroption="--srcdir=."; \
13408             libsrcdir=".";; \
13409           /* | [A-Za-z]:[\\/]*) \
13410             srcdiroption="--srcdir=$(srcdir)/m4"; \
13411             libsrcdir="$$s/m4";; \
13412           *) \
13413             srcdiroption="--srcdir=../$(srcdir)/m4"; \
13414             libsrcdir="$$s/m4";; \
13415         esac; \
13416         $(SHELL) $${libsrcdir}/configure \
13417           $(HOST_CONFIGARGS) $${srcdiroption}  \
13418           || exit 1
13419 @endif m4
13420
13421 .PHONY: all-m4 maybe-all-m4
13422 maybe-all-m4:
13423 @if m4
13424 maybe-all-m4: all-m4
13425 all-m4: configure-m4
13426         @r=`${PWD_COMMAND}`; export r; \
13427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13428         $(SET_LIB_PATH) \
13429         $(HOST_EXPORTS) \
13430         (cd m4 && $(MAKE) $(FLAGS_TO_PASS)  all)
13431 @endif m4
13432
13433 .PHONY: check-m4 maybe-check-m4
13434 maybe-check-m4:
13435 @if m4
13436 maybe-check-m4: check-m4
13437
13438 check-m4:
13439         @r=`${PWD_COMMAND}`; export r; \
13440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13441         $(SET_LIB_PATH) \
13442         $(HOST_EXPORTS) \
13443         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13444
13445 @endif m4
13446
13447 .PHONY: install-m4 maybe-install-m4
13448 maybe-install-m4:
13449 @if m4
13450 maybe-install-m4: install-m4
13451
13452 install-m4: installdirs
13453         @r=`${PWD_COMMAND}`; export r; \
13454         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13455         $(SET_LIB_PATH) \
13456         $(HOST_EXPORTS) \
13457         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13458
13459 @endif m4
13460
13461 # Other targets (info, dvi, etc.)
13462
13463 .PHONY: maybe-info-m4 info-m4
13464 maybe-info-m4:
13465 @if m4
13466 maybe-info-m4: info-m4
13467
13468 info-m4: \
13469     configure-m4 
13470         @[ -f ./m4/Makefile ] || exit 0; \
13471         r=`${PWD_COMMAND}`; export r; \
13472         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13473         $(SET_LIB_PATH) \
13474         $(HOST_EXPORTS) \
13475         for flag in $(EXTRA_HOST_FLAGS) ; do \
13476           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13477         done; \
13478         echo "Doing info in m4" ; \
13479         (cd m4 && \
13480           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13481                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13482                   "RANLIB=$${RANLIB}" \
13483                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13484                   info) \
13485           || exit 1
13486
13487 @endif m4
13488
13489 .PHONY: maybe-dvi-m4 dvi-m4
13490 maybe-dvi-m4:
13491 @if m4
13492 maybe-dvi-m4: dvi-m4
13493
13494 dvi-m4: \
13495     configure-m4 
13496         @[ -f ./m4/Makefile ] || exit 0; \
13497         r=`${PWD_COMMAND}`; export r; \
13498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13499         $(SET_LIB_PATH) \
13500         $(HOST_EXPORTS) \
13501         for flag in $(EXTRA_HOST_FLAGS) ; do \
13502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503         done; \
13504         echo "Doing dvi in m4" ; \
13505         (cd m4 && \
13506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508                   "RANLIB=$${RANLIB}" \
13509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13510                   dvi) \
13511           || exit 1
13512
13513 @endif m4
13514
13515 .PHONY: maybe-TAGS-m4 TAGS-m4
13516 maybe-TAGS-m4:
13517 @if m4
13518 maybe-TAGS-m4: TAGS-m4
13519
13520 TAGS-m4: \
13521     configure-m4 
13522         @[ -f ./m4/Makefile ] || exit 0; \
13523         r=`${PWD_COMMAND}`; export r; \
13524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13525         $(SET_LIB_PATH) \
13526         $(HOST_EXPORTS) \
13527         for flag in $(EXTRA_HOST_FLAGS) ; do \
13528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13529         done; \
13530         echo "Doing TAGS in m4" ; \
13531         (cd m4 && \
13532           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13533                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13534                   "RANLIB=$${RANLIB}" \
13535                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13536                   TAGS) \
13537           || exit 1
13538
13539 @endif m4
13540
13541 .PHONY: maybe-install-info-m4 install-info-m4
13542 maybe-install-info-m4:
13543 @if m4
13544 maybe-install-info-m4: install-info-m4
13545
13546 install-info-m4: \
13547     configure-m4 \
13548     info-m4 
13549         @[ -f ./m4/Makefile ] || exit 0; \
13550         r=`${PWD_COMMAND}`; export r; \
13551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552         $(SET_LIB_PATH) \
13553         $(HOST_EXPORTS) \
13554         for flag in $(EXTRA_HOST_FLAGS) ; do \
13555           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13556         done; \
13557         echo "Doing install-info in m4" ; \
13558         (cd m4 && \
13559           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13560                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13561                   "RANLIB=$${RANLIB}" \
13562                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13563                   install-info) \
13564           || exit 1
13565
13566 @endif m4
13567
13568 .PHONY: maybe-installcheck-m4 installcheck-m4
13569 maybe-installcheck-m4:
13570 @if m4
13571 maybe-installcheck-m4: installcheck-m4
13572
13573 installcheck-m4: \
13574     configure-m4 
13575         @[ -f ./m4/Makefile ] || exit 0; \
13576         r=`${PWD_COMMAND}`; export r; \
13577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13578         $(SET_LIB_PATH) \
13579         $(HOST_EXPORTS) \
13580         for flag in $(EXTRA_HOST_FLAGS) ; do \
13581           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582         done; \
13583         echo "Doing installcheck in m4" ; \
13584         (cd m4 && \
13585           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13586                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13587                   "RANLIB=$${RANLIB}" \
13588                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13589                   installcheck) \
13590           || exit 1
13591
13592 @endif m4
13593
13594 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13595 maybe-mostlyclean-m4:
13596 @if m4
13597 maybe-mostlyclean-m4: mostlyclean-m4
13598
13599 mostlyclean-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 mostlyclean 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                   mostlyclean) \
13615           || exit 1
13616
13617 @endif m4
13618
13619 .PHONY: maybe-clean-m4 clean-m4
13620 maybe-clean-m4:
13621 @if m4
13622 maybe-clean-m4: clean-m4
13623
13624 clean-m4: 
13625         @[ -f ./m4/Makefile ] || exit 0; \
13626         r=`${PWD_COMMAND}`; export r; \
13627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13628         $(SET_LIB_PATH) \
13629         $(HOST_EXPORTS) \
13630         for flag in $(EXTRA_HOST_FLAGS) ; do \
13631           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13632         done; \
13633         echo "Doing clean in m4" ; \
13634         (cd m4 && \
13635           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637                   "RANLIB=$${RANLIB}" \
13638                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13639                   clean) \
13640           || exit 1
13641
13642 @endif m4
13643
13644 .PHONY: maybe-distclean-m4 distclean-m4
13645 maybe-distclean-m4:
13646 @if m4
13647 maybe-distclean-m4: distclean-m4
13648
13649 distclean-m4: 
13650         @[ -f ./m4/Makefile ] || exit 0; \
13651         r=`${PWD_COMMAND}`; export r; \
13652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13653         $(SET_LIB_PATH) \
13654         $(HOST_EXPORTS) \
13655         for flag in $(EXTRA_HOST_FLAGS) ; do \
13656           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13657         done; \
13658         echo "Doing distclean in m4" ; \
13659         (cd m4 && \
13660           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13661                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13662                   "RANLIB=$${RANLIB}" \
13663                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13664                   distclean) \
13665           || exit 1
13666
13667 @endif m4
13668
13669 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13670 maybe-maintainer-clean-m4:
13671 @if m4
13672 maybe-maintainer-clean-m4: maintainer-clean-m4
13673
13674 maintainer-clean-m4: 
13675         @[ -f ./m4/Makefile ] || exit 0; \
13676         r=`${PWD_COMMAND}`; export r; \
13677         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13678         $(SET_LIB_PATH) \
13679         $(HOST_EXPORTS) \
13680         for flag in $(EXTRA_HOST_FLAGS) ; do \
13681           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13682         done; \
13683         echo "Doing maintainer-clean in m4" ; \
13684         (cd m4 && \
13685           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13686                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13687                   "RANLIB=$${RANLIB}" \
13688                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13689                   maintainer-clean) \
13690           || exit 1
13691
13692 @endif m4
13693
13694
13695 .PHONY: configure-make maybe-configure-make
13696 maybe-configure-make:
13697 @if make
13698 maybe-configure-make: configure-make
13699 configure-make:
13700         @test ! -f make/Makefile || exit 0; \
13701         [ -d make ] || mkdir make; \
13702         r=`${PWD_COMMAND}`; export r; \
13703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13704         $(HOST_EXPORTS) \
13705         echo Configuring in make; \
13706         cd make || exit 1; \
13707         case $(srcdir) in \
13708           \.) \
13709             srcdiroption="--srcdir=."; \
13710             libsrcdir=".";; \
13711           /* | [A-Za-z]:[\\/]*) \
13712             srcdiroption="--srcdir=$(srcdir)/make"; \
13713             libsrcdir="$$s/make";; \
13714           *) \
13715             srcdiroption="--srcdir=../$(srcdir)/make"; \
13716             libsrcdir="$$s/make";; \
13717         esac; \
13718         $(SHELL) $${libsrcdir}/configure \
13719           $(HOST_CONFIGARGS) $${srcdiroption}  \
13720           || exit 1
13721 @endif make
13722
13723 .PHONY: all-make maybe-all-make
13724 maybe-all-make:
13725 @if make
13726 maybe-all-make: all-make
13727 all-make: configure-make
13728         @r=`${PWD_COMMAND}`; export r; \
13729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13730         $(SET_LIB_PATH) \
13731         $(HOST_EXPORTS) \
13732         (cd make && $(MAKE) $(FLAGS_TO_PASS)  all)
13733 @endif make
13734
13735 .PHONY: check-make maybe-check-make
13736 maybe-check-make:
13737 @if make
13738 maybe-check-make: check-make
13739
13740 check-make:
13741         @r=`${PWD_COMMAND}`; export r; \
13742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13743         $(SET_LIB_PATH) \
13744         $(HOST_EXPORTS) \
13745         (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13746
13747 @endif make
13748
13749 .PHONY: install-make maybe-install-make
13750 maybe-install-make:
13751 @if make
13752 maybe-install-make: install-make
13753
13754 install-make: installdirs
13755         @r=`${PWD_COMMAND}`; export r; \
13756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757         $(SET_LIB_PATH) \
13758         $(HOST_EXPORTS) \
13759         (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13760
13761 @endif make
13762
13763 # Other targets (info, dvi, etc.)
13764
13765 .PHONY: maybe-info-make info-make
13766 maybe-info-make:
13767 @if make
13768 maybe-info-make: info-make
13769
13770 info-make: \
13771     configure-make 
13772         @[ -f ./make/Makefile ] || exit 0; \
13773         r=`${PWD_COMMAND}`; export r; \
13774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13775         $(SET_LIB_PATH) \
13776         $(HOST_EXPORTS) \
13777         for flag in $(EXTRA_HOST_FLAGS) ; do \
13778           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13779         done; \
13780         echo "Doing info in make" ; \
13781         (cd make && \
13782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13784                   "RANLIB=$${RANLIB}" \
13785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13786                   info) \
13787           || exit 1
13788
13789 @endif make
13790
13791 .PHONY: maybe-dvi-make dvi-make
13792 maybe-dvi-make:
13793 @if make
13794 maybe-dvi-make: dvi-make
13795
13796 dvi-make: \
13797     configure-make 
13798         @[ -f ./make/Makefile ] || exit 0; \
13799         r=`${PWD_COMMAND}`; export r; \
13800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13801         $(SET_LIB_PATH) \
13802         $(HOST_EXPORTS) \
13803         for flag in $(EXTRA_HOST_FLAGS) ; do \
13804           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13805         done; \
13806         echo "Doing dvi in make" ; \
13807         (cd make && \
13808           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13809                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13810                   "RANLIB=$${RANLIB}" \
13811                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13812                   dvi) \
13813           || exit 1
13814
13815 @endif make
13816
13817 .PHONY: maybe-TAGS-make TAGS-make
13818 maybe-TAGS-make:
13819 @if make
13820 maybe-TAGS-make: TAGS-make
13821
13822 TAGS-make: \
13823     configure-make 
13824         @[ -f ./make/Makefile ] || exit 0; \
13825         r=`${PWD_COMMAND}`; export r; \
13826         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13827         $(SET_LIB_PATH) \
13828         $(HOST_EXPORTS) \
13829         for flag in $(EXTRA_HOST_FLAGS) ; do \
13830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13831         done; \
13832         echo "Doing TAGS in make" ; \
13833         (cd make && \
13834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13836                   "RANLIB=$${RANLIB}" \
13837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13838                   TAGS) \
13839           || exit 1
13840
13841 @endif make
13842
13843 .PHONY: maybe-install-info-make install-info-make
13844 maybe-install-info-make:
13845 @if make
13846 maybe-install-info-make: install-info-make
13847
13848 install-info-make: \
13849     configure-make \
13850     info-make 
13851         @[ -f ./make/Makefile ] || exit 0; \
13852         r=`${PWD_COMMAND}`; export r; \
13853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854         $(SET_LIB_PATH) \
13855         $(HOST_EXPORTS) \
13856         for flag in $(EXTRA_HOST_FLAGS) ; do \
13857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13858         done; \
13859         echo "Doing install-info in make" ; \
13860         (cd make && \
13861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13863                   "RANLIB=$${RANLIB}" \
13864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13865                   install-info) \
13866           || exit 1
13867
13868 @endif make
13869
13870 .PHONY: maybe-installcheck-make installcheck-make
13871 maybe-installcheck-make:
13872 @if make
13873 maybe-installcheck-make: installcheck-make
13874
13875 installcheck-make: \
13876     configure-make 
13877         @[ -f ./make/Makefile ] || exit 0; \
13878         r=`${PWD_COMMAND}`; export r; \
13879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13880         $(SET_LIB_PATH) \
13881         $(HOST_EXPORTS) \
13882         for flag in $(EXTRA_HOST_FLAGS) ; do \
13883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13884         done; \
13885         echo "Doing installcheck in make" ; \
13886         (cd make && \
13887           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13888                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13889                   "RANLIB=$${RANLIB}" \
13890                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13891                   installcheck) \
13892           || exit 1
13893
13894 @endif make
13895
13896 .PHONY: maybe-mostlyclean-make mostlyclean-make
13897 maybe-mostlyclean-make:
13898 @if make
13899 maybe-mostlyclean-make: mostlyclean-make
13900
13901 mostlyclean-make: 
13902         @[ -f ./make/Makefile ] || exit 0; \
13903         r=`${PWD_COMMAND}`; export r; \
13904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13905         $(SET_LIB_PATH) \
13906         $(HOST_EXPORTS) \
13907         for flag in $(EXTRA_HOST_FLAGS) ; do \
13908           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13909         done; \
13910         echo "Doing mostlyclean in make" ; \
13911         (cd make && \
13912           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13913                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13914                   "RANLIB=$${RANLIB}" \
13915                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13916                   mostlyclean) \
13917           || exit 1
13918
13919 @endif make
13920
13921 .PHONY: maybe-clean-make clean-make
13922 maybe-clean-make:
13923 @if make
13924 maybe-clean-make: clean-make
13925
13926 clean-make: 
13927         @[ -f ./make/Makefile ] || exit 0; \
13928         r=`${PWD_COMMAND}`; export r; \
13929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13930         $(SET_LIB_PATH) \
13931         $(HOST_EXPORTS) \
13932         for flag in $(EXTRA_HOST_FLAGS) ; do \
13933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13934         done; \
13935         echo "Doing clean in make" ; \
13936         (cd make && \
13937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13939                   "RANLIB=$${RANLIB}" \
13940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13941                   clean) \
13942           || exit 1
13943
13944 @endif make
13945
13946 .PHONY: maybe-distclean-make distclean-make
13947 maybe-distclean-make:
13948 @if make
13949 maybe-distclean-make: distclean-make
13950
13951 distclean-make: 
13952         @[ -f ./make/Makefile ] || exit 0; \
13953         r=`${PWD_COMMAND}`; export r; \
13954         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13955         $(SET_LIB_PATH) \
13956         $(HOST_EXPORTS) \
13957         for flag in $(EXTRA_HOST_FLAGS) ; do \
13958           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13959         done; \
13960         echo "Doing distclean in make" ; \
13961         (cd make && \
13962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13964                   "RANLIB=$${RANLIB}" \
13965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13966                   distclean) \
13967           || exit 1
13968
13969 @endif make
13970
13971 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13972 maybe-maintainer-clean-make:
13973 @if make
13974 maybe-maintainer-clean-make: maintainer-clean-make
13975
13976 maintainer-clean-make: 
13977         @[ -f ./make/Makefile ] || exit 0; \
13978         r=`${PWD_COMMAND}`; export r; \
13979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13980         $(SET_LIB_PATH) \
13981         $(HOST_EXPORTS) \
13982         for flag in $(EXTRA_HOST_FLAGS) ; do \
13983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13984         done; \
13985         echo "Doing maintainer-clean in make" ; \
13986         (cd make && \
13987           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13988                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13989                   "RANLIB=$${RANLIB}" \
13990                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13991                   maintainer-clean) \
13992           || exit 1
13993
13994 @endif make
13995
13996
13997 .PHONY: configure-mmalloc maybe-configure-mmalloc
13998 maybe-configure-mmalloc:
13999 @if mmalloc
14000 maybe-configure-mmalloc: configure-mmalloc
14001 configure-mmalloc:
14002         @test ! -f mmalloc/Makefile || exit 0; \
14003         [ -d mmalloc ] || mkdir mmalloc; \
14004         r=`${PWD_COMMAND}`; export r; \
14005         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14006         $(HOST_EXPORTS) \
14007         echo Configuring in mmalloc; \
14008         cd mmalloc || exit 1; \
14009         case $(srcdir) in \
14010           \.) \
14011             srcdiroption="--srcdir=."; \
14012             libsrcdir=".";; \
14013           /* | [A-Za-z]:[\\/]*) \
14014             srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14015             libsrcdir="$$s/mmalloc";; \
14016           *) \
14017             srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14018             libsrcdir="$$s/mmalloc";; \
14019         esac; \
14020         $(SHELL) $${libsrcdir}/configure \
14021           $(HOST_CONFIGARGS) $${srcdiroption}  \
14022           || exit 1
14023 @endif mmalloc
14024
14025 .PHONY: all-mmalloc maybe-all-mmalloc
14026 maybe-all-mmalloc:
14027 @if mmalloc
14028 maybe-all-mmalloc: all-mmalloc
14029 all-mmalloc: configure-mmalloc
14030         @r=`${PWD_COMMAND}`; export r; \
14031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14032         $(SET_LIB_PATH) \
14033         $(HOST_EXPORTS) \
14034         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS)  all)
14035 @endif mmalloc
14036
14037 .PHONY: check-mmalloc maybe-check-mmalloc
14038 maybe-check-mmalloc:
14039 @if mmalloc
14040 maybe-check-mmalloc: check-mmalloc
14041
14042 check-mmalloc:
14043
14044 @endif mmalloc
14045
14046 .PHONY: install-mmalloc maybe-install-mmalloc
14047 maybe-install-mmalloc:
14048 @if mmalloc
14049 maybe-install-mmalloc: install-mmalloc
14050
14051 install-mmalloc: installdirs
14052         @r=`${PWD_COMMAND}`; export r; \
14053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14054         $(SET_LIB_PATH) \
14055         $(HOST_EXPORTS) \
14056         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14057
14058 @endif mmalloc
14059
14060 # Other targets (info, dvi, etc.)
14061
14062 .PHONY: maybe-info-mmalloc info-mmalloc
14063 maybe-info-mmalloc:
14064 @if mmalloc
14065 maybe-info-mmalloc: info-mmalloc
14066
14067 info-mmalloc: \
14068     configure-mmalloc 
14069         @[ -f ./mmalloc/Makefile ] || exit 0; \
14070         r=`${PWD_COMMAND}`; export r; \
14071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14072         $(SET_LIB_PATH) \
14073         $(HOST_EXPORTS) \
14074         for flag in $(EXTRA_HOST_FLAGS) ; do \
14075           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14076         done; \
14077         echo "Doing info in mmalloc" ; \
14078         (cd mmalloc && \
14079           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14080                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14081                   "RANLIB=$${RANLIB}" \
14082                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14083                   info) \
14084           || exit 1
14085
14086 @endif mmalloc
14087
14088 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14089 maybe-dvi-mmalloc:
14090 @if mmalloc
14091 maybe-dvi-mmalloc: dvi-mmalloc
14092
14093 dvi-mmalloc: \
14094     configure-mmalloc 
14095         @[ -f ./mmalloc/Makefile ] || exit 0; \
14096         r=`${PWD_COMMAND}`; export r; \
14097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14098         $(SET_LIB_PATH) \
14099         $(HOST_EXPORTS) \
14100         for flag in $(EXTRA_HOST_FLAGS) ; do \
14101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14102         done; \
14103         echo "Doing dvi in mmalloc" ; \
14104         (cd mmalloc && \
14105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14107                   "RANLIB=$${RANLIB}" \
14108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14109                   dvi) \
14110           || exit 1
14111
14112 @endif mmalloc
14113
14114 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14115 maybe-TAGS-mmalloc:
14116 @if mmalloc
14117 maybe-TAGS-mmalloc: TAGS-mmalloc
14118
14119 TAGS-mmalloc: \
14120     configure-mmalloc 
14121         @[ -f ./mmalloc/Makefile ] || exit 0; \
14122         r=`${PWD_COMMAND}`; export r; \
14123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14124         $(SET_LIB_PATH) \
14125         $(HOST_EXPORTS) \
14126         for flag in $(EXTRA_HOST_FLAGS) ; do \
14127           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14128         done; \
14129         echo "Doing TAGS in mmalloc" ; \
14130         (cd mmalloc && \
14131           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14132                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14133                   "RANLIB=$${RANLIB}" \
14134                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14135                   TAGS) \
14136           || exit 1
14137
14138 @endif mmalloc
14139
14140 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14141 maybe-install-info-mmalloc:
14142 @if mmalloc
14143 maybe-install-info-mmalloc: install-info-mmalloc
14144
14145 install-info-mmalloc: \
14146     configure-mmalloc \
14147     info-mmalloc 
14148         @[ -f ./mmalloc/Makefile ] || exit 0; \
14149         r=`${PWD_COMMAND}`; export r; \
14150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14151         $(SET_LIB_PATH) \
14152         $(HOST_EXPORTS) \
14153         for flag in $(EXTRA_HOST_FLAGS) ; do \
14154           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14155         done; \
14156         echo "Doing install-info in mmalloc" ; \
14157         (cd mmalloc && \
14158           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14159                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14160                   "RANLIB=$${RANLIB}" \
14161                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14162                   install-info) \
14163           || exit 1
14164
14165 @endif mmalloc
14166
14167 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14168 maybe-installcheck-mmalloc:
14169 @if mmalloc
14170 maybe-installcheck-mmalloc: installcheck-mmalloc
14171
14172 installcheck-mmalloc: \
14173     configure-mmalloc 
14174         @[ -f ./mmalloc/Makefile ] || exit 0; \
14175         r=`${PWD_COMMAND}`; export r; \
14176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14177         $(SET_LIB_PATH) \
14178         $(HOST_EXPORTS) \
14179         for flag in $(EXTRA_HOST_FLAGS) ; do \
14180           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14181         done; \
14182         echo "Doing installcheck in mmalloc" ; \
14183         (cd mmalloc && \
14184           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14185                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14186                   "RANLIB=$${RANLIB}" \
14187                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14188                   installcheck) \
14189           || exit 1
14190
14191 @endif mmalloc
14192
14193 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14194 maybe-mostlyclean-mmalloc:
14195 @if mmalloc
14196 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14197
14198 mostlyclean-mmalloc: 
14199         @[ -f ./mmalloc/Makefile ] || exit 0; \
14200         r=`${PWD_COMMAND}`; export r; \
14201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14202         $(SET_LIB_PATH) \
14203         $(HOST_EXPORTS) \
14204         for flag in $(EXTRA_HOST_FLAGS) ; do \
14205           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14206         done; \
14207         echo "Doing mostlyclean in mmalloc" ; \
14208         (cd mmalloc && \
14209           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14210                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14211                   "RANLIB=$${RANLIB}" \
14212                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14213                   mostlyclean) \
14214           || exit 1
14215
14216 @endif mmalloc
14217
14218 .PHONY: maybe-clean-mmalloc clean-mmalloc
14219 maybe-clean-mmalloc:
14220 @if mmalloc
14221 maybe-clean-mmalloc: clean-mmalloc
14222
14223 clean-mmalloc: 
14224         @[ -f ./mmalloc/Makefile ] || exit 0; \
14225         r=`${PWD_COMMAND}`; export r; \
14226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14227         $(SET_LIB_PATH) \
14228         $(HOST_EXPORTS) \
14229         for flag in $(EXTRA_HOST_FLAGS) ; do \
14230           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14231         done; \
14232         echo "Doing clean in mmalloc" ; \
14233         (cd mmalloc && \
14234           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14235                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14236                   "RANLIB=$${RANLIB}" \
14237                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14238                   clean) \
14239           || exit 1
14240
14241 @endif mmalloc
14242
14243 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14244 maybe-distclean-mmalloc:
14245 @if mmalloc
14246 maybe-distclean-mmalloc: distclean-mmalloc
14247
14248 distclean-mmalloc: 
14249         @[ -f ./mmalloc/Makefile ] || exit 0; \
14250         r=`${PWD_COMMAND}`; export r; \
14251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14252         $(SET_LIB_PATH) \
14253         $(HOST_EXPORTS) \
14254         for flag in $(EXTRA_HOST_FLAGS) ; do \
14255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14256         done; \
14257         echo "Doing distclean in mmalloc" ; \
14258         (cd mmalloc && \
14259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14261                   "RANLIB=$${RANLIB}" \
14262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14263                   distclean) \
14264           || exit 1
14265
14266 @endif mmalloc
14267
14268 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14269 maybe-maintainer-clean-mmalloc:
14270 @if mmalloc
14271 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14272
14273 maintainer-clean-mmalloc: 
14274         @[ -f ./mmalloc/Makefile ] || exit 0; \
14275         r=`${PWD_COMMAND}`; export r; \
14276         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14277         $(SET_LIB_PATH) \
14278         $(HOST_EXPORTS) \
14279         for flag in $(EXTRA_HOST_FLAGS) ; do \
14280           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14281         done; \
14282         echo "Doing maintainer-clean in mmalloc" ; \
14283         (cd mmalloc && \
14284           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14285                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14286                   "RANLIB=$${RANLIB}" \
14287                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14288                   maintainer-clean) \
14289           || exit 1
14290
14291 @endif mmalloc
14292
14293
14294 .PHONY: configure-patch maybe-configure-patch
14295 maybe-configure-patch:
14296 @if patch
14297 maybe-configure-patch: configure-patch
14298 configure-patch:
14299         @test ! -f patch/Makefile || exit 0; \
14300         [ -d patch ] || mkdir patch; \
14301         r=`${PWD_COMMAND}`; export r; \
14302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14303         $(HOST_EXPORTS) \
14304         echo Configuring in patch; \
14305         cd patch || exit 1; \
14306         case $(srcdir) in \
14307           \.) \
14308             srcdiroption="--srcdir=."; \
14309             libsrcdir=".";; \
14310           /* | [A-Za-z]:[\\/]*) \
14311             srcdiroption="--srcdir=$(srcdir)/patch"; \
14312             libsrcdir="$$s/patch";; \
14313           *) \
14314             srcdiroption="--srcdir=../$(srcdir)/patch"; \
14315             libsrcdir="$$s/patch";; \
14316         esac; \
14317         $(SHELL) $${libsrcdir}/configure \
14318           $(HOST_CONFIGARGS) $${srcdiroption}  \
14319           || exit 1
14320 @endif patch
14321
14322 .PHONY: all-patch maybe-all-patch
14323 maybe-all-patch:
14324 @if patch
14325 maybe-all-patch: all-patch
14326 all-patch: configure-patch
14327         @r=`${PWD_COMMAND}`; export r; \
14328         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14329         $(SET_LIB_PATH) \
14330         $(HOST_EXPORTS) \
14331         (cd patch && $(MAKE) $(FLAGS_TO_PASS)  all)
14332 @endif patch
14333
14334 .PHONY: check-patch maybe-check-patch
14335 maybe-check-patch:
14336 @if patch
14337 maybe-check-patch: check-patch
14338
14339 check-patch:
14340         @r=`${PWD_COMMAND}`; export r; \
14341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14342         $(SET_LIB_PATH) \
14343         $(HOST_EXPORTS) \
14344         (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14345
14346 @endif patch
14347
14348 .PHONY: install-patch maybe-install-patch
14349 maybe-install-patch:
14350 @if patch
14351 maybe-install-patch: install-patch
14352
14353 install-patch: installdirs
14354         @r=`${PWD_COMMAND}`; export r; \
14355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14356         $(SET_LIB_PATH) \
14357         $(HOST_EXPORTS) \
14358         (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14359
14360 @endif patch
14361
14362 # Other targets (info, dvi, etc.)
14363
14364 .PHONY: maybe-info-patch info-patch
14365 maybe-info-patch:
14366 @if patch
14367 maybe-info-patch: info-patch
14368
14369 info-patch: \
14370     configure-patch 
14371         @[ -f ./patch/Makefile ] || exit 0; \
14372         r=`${PWD_COMMAND}`; export r; \
14373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14374         $(SET_LIB_PATH) \
14375         $(HOST_EXPORTS) \
14376         for flag in $(EXTRA_HOST_FLAGS) ; do \
14377           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14378         done; \
14379         echo "Doing info in patch" ; \
14380         (cd patch && \
14381           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14382                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14383                   "RANLIB=$${RANLIB}" \
14384                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14385                   info) \
14386           || exit 1
14387
14388 @endif patch
14389
14390 .PHONY: maybe-dvi-patch dvi-patch
14391 maybe-dvi-patch:
14392 @if patch
14393 maybe-dvi-patch: dvi-patch
14394
14395 dvi-patch: \
14396     configure-patch 
14397         @[ -f ./patch/Makefile ] || exit 0; \
14398         r=`${PWD_COMMAND}`; export r; \
14399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14400         $(SET_LIB_PATH) \
14401         $(HOST_EXPORTS) \
14402         for flag in $(EXTRA_HOST_FLAGS) ; do \
14403           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14404         done; \
14405         echo "Doing dvi in patch" ; \
14406         (cd patch && \
14407           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14408                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14409                   "RANLIB=$${RANLIB}" \
14410                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14411                   dvi) \
14412           || exit 1
14413
14414 @endif patch
14415
14416 .PHONY: maybe-TAGS-patch TAGS-patch
14417 maybe-TAGS-patch:
14418 @if patch
14419 maybe-TAGS-patch: TAGS-patch
14420
14421 TAGS-patch: \
14422     configure-patch 
14423         @[ -f ./patch/Makefile ] || exit 0; \
14424         r=`${PWD_COMMAND}`; export r; \
14425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14426         $(SET_LIB_PATH) \
14427         $(HOST_EXPORTS) \
14428         for flag in $(EXTRA_HOST_FLAGS) ; do \
14429           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14430         done; \
14431         echo "Doing TAGS in patch" ; \
14432         (cd patch && \
14433           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14434                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14435                   "RANLIB=$${RANLIB}" \
14436                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14437                   TAGS) \
14438           || exit 1
14439
14440 @endif patch
14441
14442 .PHONY: maybe-install-info-patch install-info-patch
14443 maybe-install-info-patch:
14444 @if patch
14445 maybe-install-info-patch: install-info-patch
14446
14447 install-info-patch: \
14448     configure-patch \
14449     info-patch 
14450         @[ -f ./patch/Makefile ] || exit 0; \
14451         r=`${PWD_COMMAND}`; export r; \
14452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14453         $(SET_LIB_PATH) \
14454         $(HOST_EXPORTS) \
14455         for flag in $(EXTRA_HOST_FLAGS) ; do \
14456           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14457         done; \
14458         echo "Doing install-info in patch" ; \
14459         (cd patch && \
14460           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462                   "RANLIB=$${RANLIB}" \
14463                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14464                   install-info) \
14465           || exit 1
14466
14467 @endif patch
14468
14469 .PHONY: maybe-installcheck-patch installcheck-patch
14470 maybe-installcheck-patch:
14471 @if patch
14472 maybe-installcheck-patch: installcheck-patch
14473
14474 installcheck-patch: \
14475     configure-patch 
14476         @[ -f ./patch/Makefile ] || exit 0; \
14477         r=`${PWD_COMMAND}`; export r; \
14478         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14479         $(SET_LIB_PATH) \
14480         $(HOST_EXPORTS) \
14481         for flag in $(EXTRA_HOST_FLAGS) ; do \
14482           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14483         done; \
14484         echo "Doing installcheck in patch" ; \
14485         (cd patch && \
14486           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14487                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14488                   "RANLIB=$${RANLIB}" \
14489                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14490                   installcheck) \
14491           || exit 1
14492
14493 @endif patch
14494
14495 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14496 maybe-mostlyclean-patch:
14497 @if patch
14498 maybe-mostlyclean-patch: mostlyclean-patch
14499
14500 mostlyclean-patch: 
14501         @[ -f ./patch/Makefile ] || exit 0; \
14502         r=`${PWD_COMMAND}`; export r; \
14503         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504         $(SET_LIB_PATH) \
14505         $(HOST_EXPORTS) \
14506         for flag in $(EXTRA_HOST_FLAGS) ; do \
14507           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14508         done; \
14509         echo "Doing mostlyclean in patch" ; \
14510         (cd patch && \
14511           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14512                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14513                   "RANLIB=$${RANLIB}" \
14514                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14515                   mostlyclean) \
14516           || exit 1
14517
14518 @endif patch
14519
14520 .PHONY: maybe-clean-patch clean-patch
14521 maybe-clean-patch:
14522 @if patch
14523 maybe-clean-patch: clean-patch
14524
14525 clean-patch: 
14526         @[ -f ./patch/Makefile ] || exit 0; \
14527         r=`${PWD_COMMAND}`; export r; \
14528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14529         $(SET_LIB_PATH) \
14530         $(HOST_EXPORTS) \
14531         for flag in $(EXTRA_HOST_FLAGS) ; do \
14532           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14533         done; \
14534         echo "Doing clean in patch" ; \
14535         (cd patch && \
14536           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14537                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14538                   "RANLIB=$${RANLIB}" \
14539                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14540                   clean) \
14541           || exit 1
14542
14543 @endif patch
14544
14545 .PHONY: maybe-distclean-patch distclean-patch
14546 maybe-distclean-patch:
14547 @if patch
14548 maybe-distclean-patch: distclean-patch
14549
14550 distclean-patch: 
14551         @[ -f ./patch/Makefile ] || exit 0; \
14552         r=`${PWD_COMMAND}`; export r; \
14553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554         $(SET_LIB_PATH) \
14555         $(HOST_EXPORTS) \
14556         for flag in $(EXTRA_HOST_FLAGS) ; do \
14557           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14558         done; \
14559         echo "Doing distclean in patch" ; \
14560         (cd patch && \
14561           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14562                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14563                   "RANLIB=$${RANLIB}" \
14564                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14565                   distclean) \
14566           || exit 1
14567
14568 @endif patch
14569
14570 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14571 maybe-maintainer-clean-patch:
14572 @if patch
14573 maybe-maintainer-clean-patch: maintainer-clean-patch
14574
14575 maintainer-clean-patch: 
14576         @[ -f ./patch/Makefile ] || exit 0; \
14577         r=`${PWD_COMMAND}`; export r; \
14578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579         $(SET_LIB_PATH) \
14580         $(HOST_EXPORTS) \
14581         for flag in $(EXTRA_HOST_FLAGS) ; do \
14582           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14583         done; \
14584         echo "Doing maintainer-clean in patch" ; \
14585         (cd patch && \
14586           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14587                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14588                   "RANLIB=$${RANLIB}" \
14589                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14590                   maintainer-clean) \
14591           || exit 1
14592
14593 @endif patch
14594
14595
14596 .PHONY: configure-perl maybe-configure-perl
14597 maybe-configure-perl:
14598 @if perl
14599 maybe-configure-perl: configure-perl
14600 configure-perl:
14601         @test ! -f perl/Makefile || exit 0; \
14602         [ -d perl ] || mkdir perl; \
14603         r=`${PWD_COMMAND}`; export r; \
14604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605         $(HOST_EXPORTS) \
14606         echo Configuring in perl; \
14607         cd perl || exit 1; \
14608         case $(srcdir) in \
14609           \.) \
14610             srcdiroption="--srcdir=."; \
14611             libsrcdir=".";; \
14612           /* | [A-Za-z]:[\\/]*) \
14613             srcdiroption="--srcdir=$(srcdir)/perl"; \
14614             libsrcdir="$$s/perl";; \
14615           *) \
14616             srcdiroption="--srcdir=../$(srcdir)/perl"; \
14617             libsrcdir="$$s/perl";; \
14618         esac; \
14619         $(SHELL) $${libsrcdir}/configure \
14620           $(HOST_CONFIGARGS) $${srcdiroption}  \
14621           || exit 1
14622 @endif perl
14623
14624 .PHONY: all-perl maybe-all-perl
14625 maybe-all-perl:
14626 @if perl
14627 maybe-all-perl: all-perl
14628 all-perl: configure-perl
14629         @r=`${PWD_COMMAND}`; export r; \
14630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14631         $(SET_LIB_PATH) \
14632         $(HOST_EXPORTS) \
14633         (cd perl && $(MAKE) $(FLAGS_TO_PASS)  all)
14634 @endif perl
14635
14636 .PHONY: check-perl maybe-check-perl
14637 maybe-check-perl:
14638 @if perl
14639 maybe-check-perl: check-perl
14640
14641 check-perl:
14642         @r=`${PWD_COMMAND}`; export r; \
14643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14644         $(SET_LIB_PATH) \
14645         $(HOST_EXPORTS) \
14646         (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14647
14648 @endif perl
14649
14650 .PHONY: install-perl maybe-install-perl
14651 maybe-install-perl:
14652 @if perl
14653 maybe-install-perl: install-perl
14654
14655 install-perl: installdirs
14656         @r=`${PWD_COMMAND}`; export r; \
14657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14658         $(SET_LIB_PATH) \
14659         $(HOST_EXPORTS) \
14660         (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14661
14662 @endif perl
14663
14664 # Other targets (info, dvi, etc.)
14665
14666 .PHONY: maybe-info-perl info-perl
14667 maybe-info-perl:
14668 @if perl
14669 maybe-info-perl: info-perl
14670
14671 info-perl: \
14672     configure-perl 
14673         @[ -f ./perl/Makefile ] || exit 0; \
14674         r=`${PWD_COMMAND}`; export r; \
14675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676         $(SET_LIB_PATH) \
14677         $(HOST_EXPORTS) \
14678         for flag in $(EXTRA_HOST_FLAGS) ; do \
14679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14680         done; \
14681         echo "Doing info in perl" ; \
14682         (cd perl && \
14683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14685                   "RANLIB=$${RANLIB}" \
14686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14687                   info) \
14688           || exit 1
14689
14690 @endif perl
14691
14692 .PHONY: maybe-dvi-perl dvi-perl
14693 maybe-dvi-perl:
14694 @if perl
14695 maybe-dvi-perl: dvi-perl
14696
14697 dvi-perl: \
14698     configure-perl 
14699         @[ -f ./perl/Makefile ] || exit 0; \
14700         r=`${PWD_COMMAND}`; export r; \
14701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14702         $(SET_LIB_PATH) \
14703         $(HOST_EXPORTS) \
14704         for flag in $(EXTRA_HOST_FLAGS) ; do \
14705           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14706         done; \
14707         echo "Doing dvi in perl" ; \
14708         (cd perl && \
14709           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14710                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14711                   "RANLIB=$${RANLIB}" \
14712                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14713                   dvi) \
14714           || exit 1
14715
14716 @endif perl
14717
14718 .PHONY: maybe-TAGS-perl TAGS-perl
14719 maybe-TAGS-perl:
14720 @if perl
14721 maybe-TAGS-perl: TAGS-perl
14722
14723 TAGS-perl: \
14724     configure-perl 
14725         @[ -f ./perl/Makefile ] || exit 0; \
14726         r=`${PWD_COMMAND}`; export r; \
14727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14728         $(SET_LIB_PATH) \
14729         $(HOST_EXPORTS) \
14730         for flag in $(EXTRA_HOST_FLAGS) ; do \
14731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14732         done; \
14733         echo "Doing TAGS in perl" ; \
14734         (cd perl && \
14735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737                   "RANLIB=$${RANLIB}" \
14738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14739                   TAGS) \
14740           || exit 1
14741
14742 @endif perl
14743
14744 .PHONY: maybe-install-info-perl install-info-perl
14745 maybe-install-info-perl:
14746 @if perl
14747 maybe-install-info-perl: install-info-perl
14748
14749 install-info-perl: \
14750     configure-perl \
14751     info-perl 
14752         @[ -f ./perl/Makefile ] || exit 0; \
14753         r=`${PWD_COMMAND}`; export r; \
14754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14755         $(SET_LIB_PATH) \
14756         $(HOST_EXPORTS) \
14757         for flag in $(EXTRA_HOST_FLAGS) ; do \
14758           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14759         done; \
14760         echo "Doing install-info in perl" ; \
14761         (cd perl && \
14762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14764                   "RANLIB=$${RANLIB}" \
14765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14766                   install-info) \
14767           || exit 1
14768
14769 @endif perl
14770
14771 .PHONY: maybe-installcheck-perl installcheck-perl
14772 maybe-installcheck-perl:
14773 @if perl
14774 maybe-installcheck-perl: installcheck-perl
14775
14776 installcheck-perl: \
14777     configure-perl 
14778         @[ -f ./perl/Makefile ] || exit 0; \
14779         r=`${PWD_COMMAND}`; export r; \
14780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14781         $(SET_LIB_PATH) \
14782         $(HOST_EXPORTS) \
14783         for flag in $(EXTRA_HOST_FLAGS) ; do \
14784           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14785         done; \
14786         echo "Doing installcheck in perl" ; \
14787         (cd perl && \
14788           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14789                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14790                   "RANLIB=$${RANLIB}" \
14791                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14792                   installcheck) \
14793           || exit 1
14794
14795 @endif perl
14796
14797 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14798 maybe-mostlyclean-perl:
14799 @if perl
14800 maybe-mostlyclean-perl: mostlyclean-perl
14801
14802 mostlyclean-perl: 
14803         @[ -f ./perl/Makefile ] || exit 0; \
14804         r=`${PWD_COMMAND}`; export r; \
14805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14806         $(SET_LIB_PATH) \
14807         $(HOST_EXPORTS) \
14808         for flag in $(EXTRA_HOST_FLAGS) ; do \
14809           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14810         done; \
14811         echo "Doing mostlyclean in perl" ; \
14812         (cd perl && \
14813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14815                   "RANLIB=$${RANLIB}" \
14816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14817                   mostlyclean) \
14818           || exit 1
14819
14820 @endif perl
14821
14822 .PHONY: maybe-clean-perl clean-perl
14823 maybe-clean-perl:
14824 @if perl
14825 maybe-clean-perl: clean-perl
14826
14827 clean-perl: 
14828         @[ -f ./perl/Makefile ] || exit 0; \
14829         r=`${PWD_COMMAND}`; export r; \
14830         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14831         $(SET_LIB_PATH) \
14832         $(HOST_EXPORTS) \
14833         for flag in $(EXTRA_HOST_FLAGS) ; do \
14834           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14835         done; \
14836         echo "Doing clean in perl" ; \
14837         (cd perl && \
14838           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14839                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14840                   "RANLIB=$${RANLIB}" \
14841                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14842                   clean) \
14843           || exit 1
14844
14845 @endif perl
14846
14847 .PHONY: maybe-distclean-perl distclean-perl
14848 maybe-distclean-perl:
14849 @if perl
14850 maybe-distclean-perl: distclean-perl
14851
14852 distclean-perl: 
14853         @[ -f ./perl/Makefile ] || exit 0; \
14854         r=`${PWD_COMMAND}`; export r; \
14855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14856         $(SET_LIB_PATH) \
14857         $(HOST_EXPORTS) \
14858         for flag in $(EXTRA_HOST_FLAGS) ; do \
14859           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14860         done; \
14861         echo "Doing distclean in perl" ; \
14862         (cd perl && \
14863           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14864                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14865                   "RANLIB=$${RANLIB}" \
14866                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14867                   distclean) \
14868           || exit 1
14869
14870 @endif perl
14871
14872 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14873 maybe-maintainer-clean-perl:
14874 @if perl
14875 maybe-maintainer-clean-perl: maintainer-clean-perl
14876
14877 maintainer-clean-perl: 
14878         @[ -f ./perl/Makefile ] || exit 0; \
14879         r=`${PWD_COMMAND}`; export r; \
14880         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14881         $(SET_LIB_PATH) \
14882         $(HOST_EXPORTS) \
14883         for flag in $(EXTRA_HOST_FLAGS) ; do \
14884           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14885         done; \
14886         echo "Doing maintainer-clean in perl" ; \
14887         (cd perl && \
14888           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14889                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14890                   "RANLIB=$${RANLIB}" \
14891                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14892                   maintainer-clean) \
14893           || exit 1
14894
14895 @endif perl
14896
14897
14898 .PHONY: configure-prms maybe-configure-prms
14899 maybe-configure-prms:
14900 @if prms
14901 maybe-configure-prms: configure-prms
14902 configure-prms:
14903         @test ! -f prms/Makefile || exit 0; \
14904         [ -d prms ] || mkdir prms; \
14905         r=`${PWD_COMMAND}`; export r; \
14906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14907         $(HOST_EXPORTS) \
14908         echo Configuring in prms; \
14909         cd prms || exit 1; \
14910         case $(srcdir) in \
14911           \.) \
14912             srcdiroption="--srcdir=."; \
14913             libsrcdir=".";; \
14914           /* | [A-Za-z]:[\\/]*) \
14915             srcdiroption="--srcdir=$(srcdir)/prms"; \
14916             libsrcdir="$$s/prms";; \
14917           *) \
14918             srcdiroption="--srcdir=../$(srcdir)/prms"; \
14919             libsrcdir="$$s/prms";; \
14920         esac; \
14921         $(SHELL) $${libsrcdir}/configure \
14922           $(HOST_CONFIGARGS) $${srcdiroption}  \
14923           || exit 1
14924 @endif prms
14925
14926 .PHONY: all-prms maybe-all-prms
14927 maybe-all-prms:
14928 @if prms
14929 maybe-all-prms: all-prms
14930 all-prms: configure-prms
14931         @r=`${PWD_COMMAND}`; export r; \
14932         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14933         $(SET_LIB_PATH) \
14934         $(HOST_EXPORTS) \
14935         (cd prms && $(MAKE) $(FLAGS_TO_PASS)  all)
14936 @endif prms
14937
14938 .PHONY: check-prms maybe-check-prms
14939 maybe-check-prms:
14940 @if prms
14941 maybe-check-prms: check-prms
14942
14943 check-prms:
14944         @r=`${PWD_COMMAND}`; export r; \
14945         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14946         $(SET_LIB_PATH) \
14947         $(HOST_EXPORTS) \
14948         (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14949
14950 @endif prms
14951
14952 .PHONY: install-prms maybe-install-prms
14953 maybe-install-prms:
14954 @if prms
14955 maybe-install-prms: install-prms
14956
14957 install-prms: installdirs
14958         @r=`${PWD_COMMAND}`; export r; \
14959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14960         $(SET_LIB_PATH) \
14961         $(HOST_EXPORTS) \
14962         (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14963
14964 @endif prms
14965
14966 # Other targets (info, dvi, etc.)
14967
14968 .PHONY: maybe-info-prms info-prms
14969 maybe-info-prms:
14970 @if prms
14971 maybe-info-prms: info-prms
14972
14973 info-prms: \
14974     configure-prms 
14975         @[ -f ./prms/Makefile ] || exit 0; \
14976         r=`${PWD_COMMAND}`; export r; \
14977         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14978         $(SET_LIB_PATH) \
14979         $(HOST_EXPORTS) \
14980         for flag in $(EXTRA_HOST_FLAGS) ; do \
14981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14982         done; \
14983         echo "Doing info in prms" ; \
14984         (cd prms && \
14985           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14986                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14987                   "RANLIB=$${RANLIB}" \
14988                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14989                   info) \
14990           || exit 1
14991
14992 @endif prms
14993
14994 .PHONY: maybe-dvi-prms dvi-prms
14995 maybe-dvi-prms:
14996 @if prms
14997 maybe-dvi-prms: dvi-prms
14998
14999 dvi-prms: \
15000     configure-prms 
15001         @[ -f ./prms/Makefile ] || exit 0; \
15002         r=`${PWD_COMMAND}`; export r; \
15003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15004         $(SET_LIB_PATH) \
15005         $(HOST_EXPORTS) \
15006         for flag in $(EXTRA_HOST_FLAGS) ; do \
15007           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15008         done; \
15009         echo "Doing dvi in prms" ; \
15010         (cd prms && \
15011           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15012                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15013                   "RANLIB=$${RANLIB}" \
15014                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15015                   dvi) \
15016           || exit 1
15017
15018 @endif prms
15019
15020 .PHONY: maybe-TAGS-prms TAGS-prms
15021 maybe-TAGS-prms:
15022 @if prms
15023 maybe-TAGS-prms: TAGS-prms
15024
15025 TAGS-prms: \
15026     configure-prms 
15027         @[ -f ./prms/Makefile ] || exit 0; \
15028         r=`${PWD_COMMAND}`; export r; \
15029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15030         $(SET_LIB_PATH) \
15031         $(HOST_EXPORTS) \
15032         for flag in $(EXTRA_HOST_FLAGS) ; do \
15033           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15034         done; \
15035         echo "Doing TAGS in prms" ; \
15036         (cd prms && \
15037           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15038                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15039                   "RANLIB=$${RANLIB}" \
15040                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15041                   TAGS) \
15042           || exit 1
15043
15044 @endif prms
15045
15046 .PHONY: maybe-install-info-prms install-info-prms
15047 maybe-install-info-prms:
15048 @if prms
15049 maybe-install-info-prms: install-info-prms
15050
15051 install-info-prms: \
15052     configure-prms \
15053     info-prms 
15054         @[ -f ./prms/Makefile ] || exit 0; \
15055         r=`${PWD_COMMAND}`; export r; \
15056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15057         $(SET_LIB_PATH) \
15058         $(HOST_EXPORTS) \
15059         for flag in $(EXTRA_HOST_FLAGS) ; do \
15060           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15061         done; \
15062         echo "Doing install-info in prms" ; \
15063         (cd prms && \
15064           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15065                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15066                   "RANLIB=$${RANLIB}" \
15067                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15068                   install-info) \
15069           || exit 1
15070
15071 @endif prms
15072
15073 .PHONY: maybe-installcheck-prms installcheck-prms
15074 maybe-installcheck-prms:
15075 @if prms
15076 maybe-installcheck-prms: installcheck-prms
15077
15078 installcheck-prms: \
15079     configure-prms 
15080         @[ -f ./prms/Makefile ] || exit 0; \
15081         r=`${PWD_COMMAND}`; export r; \
15082         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15083         $(SET_LIB_PATH) \
15084         $(HOST_EXPORTS) \
15085         for flag in $(EXTRA_HOST_FLAGS) ; do \
15086           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15087         done; \
15088         echo "Doing installcheck in prms" ; \
15089         (cd prms && \
15090           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15091                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15092                   "RANLIB=$${RANLIB}" \
15093                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15094                   installcheck) \
15095           || exit 1
15096
15097 @endif prms
15098
15099 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15100 maybe-mostlyclean-prms:
15101 @if prms
15102 maybe-mostlyclean-prms: mostlyclean-prms
15103
15104 mostlyclean-prms: 
15105         @[ -f ./prms/Makefile ] || exit 0; \
15106         r=`${PWD_COMMAND}`; export r; \
15107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15108         $(SET_LIB_PATH) \
15109         $(HOST_EXPORTS) \
15110         for flag in $(EXTRA_HOST_FLAGS) ; do \
15111           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15112         done; \
15113         echo "Doing mostlyclean in prms" ; \
15114         (cd prms && \
15115           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15116                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15117                   "RANLIB=$${RANLIB}" \
15118                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15119                   mostlyclean) \
15120           || exit 1
15121
15122 @endif prms
15123
15124 .PHONY: maybe-clean-prms clean-prms
15125 maybe-clean-prms:
15126 @if prms
15127 maybe-clean-prms: clean-prms
15128
15129 clean-prms: 
15130         @[ -f ./prms/Makefile ] || exit 0; \
15131         r=`${PWD_COMMAND}`; export r; \
15132         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15133         $(SET_LIB_PATH) \
15134         $(HOST_EXPORTS) \
15135         for flag in $(EXTRA_HOST_FLAGS) ; do \
15136           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15137         done; \
15138         echo "Doing clean in prms" ; \
15139         (cd prms && \
15140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15142                   "RANLIB=$${RANLIB}" \
15143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15144                   clean) \
15145           || exit 1
15146
15147 @endif prms
15148
15149 .PHONY: maybe-distclean-prms distclean-prms
15150 maybe-distclean-prms:
15151 @if prms
15152 maybe-distclean-prms: distclean-prms
15153
15154 distclean-prms: 
15155         @[ -f ./prms/Makefile ] || exit 0; \
15156         r=`${PWD_COMMAND}`; export r; \
15157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15158         $(SET_LIB_PATH) \
15159         $(HOST_EXPORTS) \
15160         for flag in $(EXTRA_HOST_FLAGS) ; do \
15161           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15162         done; \
15163         echo "Doing distclean in prms" ; \
15164         (cd prms && \
15165           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15166                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15167                   "RANLIB=$${RANLIB}" \
15168                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15169                   distclean) \
15170           || exit 1
15171
15172 @endif prms
15173
15174 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15175 maybe-maintainer-clean-prms:
15176 @if prms
15177 maybe-maintainer-clean-prms: maintainer-clean-prms
15178
15179 maintainer-clean-prms: 
15180         @[ -f ./prms/Makefile ] || exit 0; \
15181         r=`${PWD_COMMAND}`; export r; \
15182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15183         $(SET_LIB_PATH) \
15184         $(HOST_EXPORTS) \
15185         for flag in $(EXTRA_HOST_FLAGS) ; do \
15186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15187         done; \
15188         echo "Doing maintainer-clean in prms" ; \
15189         (cd prms && \
15190           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15191                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15192                   "RANLIB=$${RANLIB}" \
15193                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15194                   maintainer-clean) \
15195           || exit 1
15196
15197 @endif prms
15198
15199
15200 .PHONY: configure-rcs maybe-configure-rcs
15201 maybe-configure-rcs:
15202 @if rcs
15203 maybe-configure-rcs: configure-rcs
15204 configure-rcs:
15205         @test ! -f rcs/Makefile || exit 0; \
15206         [ -d rcs ] || mkdir rcs; \
15207         r=`${PWD_COMMAND}`; export r; \
15208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15209         $(HOST_EXPORTS) \
15210         echo Configuring in rcs; \
15211         cd rcs || exit 1; \
15212         case $(srcdir) in \
15213           \.) \
15214             srcdiroption="--srcdir=."; \
15215             libsrcdir=".";; \
15216           /* | [A-Za-z]:[\\/]*) \
15217             srcdiroption="--srcdir=$(srcdir)/rcs"; \
15218             libsrcdir="$$s/rcs";; \
15219           *) \
15220             srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15221             libsrcdir="$$s/rcs";; \
15222         esac; \
15223         $(SHELL) $${libsrcdir}/configure \
15224           $(HOST_CONFIGARGS) $${srcdiroption}  \
15225           || exit 1
15226 @endif rcs
15227
15228 .PHONY: all-rcs maybe-all-rcs
15229 maybe-all-rcs:
15230 @if rcs
15231 maybe-all-rcs: all-rcs
15232 all-rcs: configure-rcs
15233         @r=`${PWD_COMMAND}`; export r; \
15234         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15235         $(SET_LIB_PATH) \
15236         $(HOST_EXPORTS) \
15237         (cd rcs && $(MAKE) $(FLAGS_TO_PASS)  all)
15238 @endif rcs
15239
15240 .PHONY: check-rcs maybe-check-rcs
15241 maybe-check-rcs:
15242 @if rcs
15243 maybe-check-rcs: check-rcs
15244
15245 check-rcs:
15246         @r=`${PWD_COMMAND}`; export r; \
15247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15248         $(SET_LIB_PATH) \
15249         $(HOST_EXPORTS) \
15250         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15251
15252 @endif rcs
15253
15254 .PHONY: install-rcs maybe-install-rcs
15255 maybe-install-rcs:
15256 @if rcs
15257 maybe-install-rcs: install-rcs
15258
15259 install-rcs: installdirs
15260         @r=`${PWD_COMMAND}`; export r; \
15261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15262         $(SET_LIB_PATH) \
15263         $(HOST_EXPORTS) \
15264         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15265
15266 @endif rcs
15267
15268 # Other targets (info, dvi, etc.)
15269
15270 .PHONY: maybe-info-rcs info-rcs
15271 maybe-info-rcs:
15272 @if rcs
15273 maybe-info-rcs: info-rcs
15274
15275 info-rcs: \
15276     configure-rcs 
15277         @[ -f ./rcs/Makefile ] || exit 0; \
15278         r=`${PWD_COMMAND}`; export r; \
15279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15280         $(SET_LIB_PATH) \
15281         $(HOST_EXPORTS) \
15282         for flag in $(EXTRA_HOST_FLAGS) ; do \
15283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15284         done; \
15285         echo "Doing info in rcs" ; \
15286         (cd rcs && \
15287           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289                   "RANLIB=$${RANLIB}" \
15290                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15291                   info) \
15292           || exit 1
15293
15294 @endif rcs
15295
15296 .PHONY: maybe-dvi-rcs dvi-rcs
15297 maybe-dvi-rcs:
15298 @if rcs
15299 maybe-dvi-rcs: dvi-rcs
15300
15301 dvi-rcs: \
15302     configure-rcs 
15303         @[ -f ./rcs/Makefile ] || exit 0; \
15304         r=`${PWD_COMMAND}`; export r; \
15305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306         $(SET_LIB_PATH) \
15307         $(HOST_EXPORTS) \
15308         for flag in $(EXTRA_HOST_FLAGS) ; do \
15309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15310         done; \
15311         echo "Doing dvi in rcs" ; \
15312         (cd rcs && \
15313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15315                   "RANLIB=$${RANLIB}" \
15316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15317                   dvi) \
15318           || exit 1
15319
15320 @endif rcs
15321
15322 .PHONY: maybe-TAGS-rcs TAGS-rcs
15323 maybe-TAGS-rcs:
15324 @if rcs
15325 maybe-TAGS-rcs: TAGS-rcs
15326
15327 TAGS-rcs: \
15328     configure-rcs 
15329         @[ -f ./rcs/Makefile ] || exit 0; \
15330         r=`${PWD_COMMAND}`; export r; \
15331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332         $(SET_LIB_PATH) \
15333         $(HOST_EXPORTS) \
15334         for flag in $(EXTRA_HOST_FLAGS) ; do \
15335           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15336         done; \
15337         echo "Doing TAGS in rcs" ; \
15338         (cd rcs && \
15339           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15340                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15341                   "RANLIB=$${RANLIB}" \
15342                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15343                   TAGS) \
15344           || exit 1
15345
15346 @endif rcs
15347
15348 .PHONY: maybe-install-info-rcs install-info-rcs
15349 maybe-install-info-rcs:
15350 @if rcs
15351 maybe-install-info-rcs: install-info-rcs
15352
15353 install-info-rcs: \
15354     configure-rcs \
15355     info-rcs 
15356         @[ -f ./rcs/Makefile ] || exit 0; \
15357         r=`${PWD_COMMAND}`; export r; \
15358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15359         $(SET_LIB_PATH) \
15360         $(HOST_EXPORTS) \
15361         for flag in $(EXTRA_HOST_FLAGS) ; do \
15362           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15363         done; \
15364         echo "Doing install-info in rcs" ; \
15365         (cd rcs && \
15366           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15367                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15368                   "RANLIB=$${RANLIB}" \
15369                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15370                   install-info) \
15371           || exit 1
15372
15373 @endif rcs
15374
15375 .PHONY: maybe-installcheck-rcs installcheck-rcs
15376 maybe-installcheck-rcs:
15377 @if rcs
15378 maybe-installcheck-rcs: installcheck-rcs
15379
15380 installcheck-rcs: \
15381     configure-rcs 
15382         @[ -f ./rcs/Makefile ] || exit 0; \
15383         r=`${PWD_COMMAND}`; export r; \
15384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15385         $(SET_LIB_PATH) \
15386         $(HOST_EXPORTS) \
15387         for flag in $(EXTRA_HOST_FLAGS) ; do \
15388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15389         done; \
15390         echo "Doing installcheck in rcs" ; \
15391         (cd rcs && \
15392           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15393                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15394                   "RANLIB=$${RANLIB}" \
15395                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15396                   installcheck) \
15397           || exit 1
15398
15399 @endif rcs
15400
15401 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15402 maybe-mostlyclean-rcs:
15403 @if rcs
15404 maybe-mostlyclean-rcs: mostlyclean-rcs
15405
15406 mostlyclean-rcs: 
15407         @[ -f ./rcs/Makefile ] || exit 0; \
15408         r=`${PWD_COMMAND}`; export r; \
15409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15410         $(SET_LIB_PATH) \
15411         $(HOST_EXPORTS) \
15412         for flag in $(EXTRA_HOST_FLAGS) ; do \
15413           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15414         done; \
15415         echo "Doing mostlyclean in rcs" ; \
15416         (cd rcs && \
15417           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15418                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15419                   "RANLIB=$${RANLIB}" \
15420                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15421                   mostlyclean) \
15422           || exit 1
15423
15424 @endif rcs
15425
15426 .PHONY: maybe-clean-rcs clean-rcs
15427 maybe-clean-rcs:
15428 @if rcs
15429 maybe-clean-rcs: clean-rcs
15430
15431 clean-rcs: 
15432         @[ -f ./rcs/Makefile ] || exit 0; \
15433         r=`${PWD_COMMAND}`; export r; \
15434         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15435         $(SET_LIB_PATH) \
15436         $(HOST_EXPORTS) \
15437         for flag in $(EXTRA_HOST_FLAGS) ; do \
15438           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15439         done; \
15440         echo "Doing clean in rcs" ; \
15441         (cd rcs && \
15442           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15443                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15444                   "RANLIB=$${RANLIB}" \
15445                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15446                   clean) \
15447           || exit 1
15448
15449 @endif rcs
15450
15451 .PHONY: maybe-distclean-rcs distclean-rcs
15452 maybe-distclean-rcs:
15453 @if rcs
15454 maybe-distclean-rcs: distclean-rcs
15455
15456 distclean-rcs: 
15457         @[ -f ./rcs/Makefile ] || exit 0; \
15458         r=`${PWD_COMMAND}`; export r; \
15459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15460         $(SET_LIB_PATH) \
15461         $(HOST_EXPORTS) \
15462         for flag in $(EXTRA_HOST_FLAGS) ; do \
15463           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15464         done; \
15465         echo "Doing distclean in rcs" ; \
15466         (cd rcs && \
15467           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15468                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15469                   "RANLIB=$${RANLIB}" \
15470                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15471                   distclean) \
15472           || exit 1
15473
15474 @endif rcs
15475
15476 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15477 maybe-maintainer-clean-rcs:
15478 @if rcs
15479 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15480
15481 maintainer-clean-rcs: 
15482         @[ -f ./rcs/Makefile ] || exit 0; \
15483         r=`${PWD_COMMAND}`; export r; \
15484         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485         $(SET_LIB_PATH) \
15486         $(HOST_EXPORTS) \
15487         for flag in $(EXTRA_HOST_FLAGS) ; do \
15488           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15489         done; \
15490         echo "Doing maintainer-clean in rcs" ; \
15491         (cd rcs && \
15492           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15493                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15494                   "RANLIB=$${RANLIB}" \
15495                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15496                   maintainer-clean) \
15497           || exit 1
15498
15499 @endif rcs
15500
15501
15502 .PHONY: configure-readline maybe-configure-readline
15503 maybe-configure-readline:
15504 @if readline
15505 maybe-configure-readline: configure-readline
15506 configure-readline:
15507         @test ! -f readline/Makefile || exit 0; \
15508         [ -d readline ] || mkdir readline; \
15509         r=`${PWD_COMMAND}`; export r; \
15510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15511         $(HOST_EXPORTS) \
15512         echo Configuring in readline; \
15513         cd readline || exit 1; \
15514         case $(srcdir) in \
15515           \.) \
15516             srcdiroption="--srcdir=."; \
15517             libsrcdir=".";; \
15518           /* | [A-Za-z]:[\\/]*) \
15519             srcdiroption="--srcdir=$(srcdir)/readline"; \
15520             libsrcdir="$$s/readline";; \
15521           *) \
15522             srcdiroption="--srcdir=../$(srcdir)/readline"; \
15523             libsrcdir="$$s/readline";; \
15524         esac; \
15525         $(SHELL) $${libsrcdir}/configure \
15526           $(HOST_CONFIGARGS) $${srcdiroption}  \
15527           || exit 1
15528 @endif readline
15529
15530 .PHONY: all-readline maybe-all-readline
15531 maybe-all-readline:
15532 @if readline
15533 maybe-all-readline: all-readline
15534 all-readline: configure-readline
15535         @r=`${PWD_COMMAND}`; export r; \
15536         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15537         $(SET_LIB_PATH) \
15538         $(HOST_EXPORTS) \
15539         (cd readline && $(MAKE) $(FLAGS_TO_PASS)  all)
15540 @endif readline
15541
15542 .PHONY: check-readline maybe-check-readline
15543 maybe-check-readline:
15544 @if readline
15545 maybe-check-readline: check-readline
15546
15547 check-readline:
15548         @r=`${PWD_COMMAND}`; export r; \
15549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15550         $(SET_LIB_PATH) \
15551         $(HOST_EXPORTS) \
15552         (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15553
15554 @endif readline
15555
15556 .PHONY: install-readline maybe-install-readline
15557 maybe-install-readline:
15558 @if readline
15559 maybe-install-readline: install-readline
15560
15561 install-readline: installdirs
15562         @r=`${PWD_COMMAND}`; export r; \
15563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15564         $(SET_LIB_PATH) \
15565         $(HOST_EXPORTS) \
15566         (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15567
15568 @endif readline
15569
15570 # Other targets (info, dvi, etc.)
15571
15572 .PHONY: maybe-info-readline info-readline
15573 maybe-info-readline:
15574 @if readline
15575 maybe-info-readline: info-readline
15576
15577 info-readline: \
15578     configure-readline 
15579         @[ -f ./readline/Makefile ] || exit 0; \
15580         r=`${PWD_COMMAND}`; export r; \
15581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582         $(SET_LIB_PATH) \
15583         $(HOST_EXPORTS) \
15584         for flag in $(EXTRA_HOST_FLAGS) ; do \
15585           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15586         done; \
15587         echo "Doing info in readline" ; \
15588         (cd readline && \
15589           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15590                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15591                   "RANLIB=$${RANLIB}" \
15592                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15593                   info) \
15594           || exit 1
15595
15596 @endif readline
15597
15598 .PHONY: maybe-dvi-readline dvi-readline
15599 maybe-dvi-readline:
15600 @if readline
15601 maybe-dvi-readline: dvi-readline
15602
15603 dvi-readline: \
15604     configure-readline 
15605         @[ -f ./readline/Makefile ] || exit 0; \
15606         r=`${PWD_COMMAND}`; export r; \
15607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15608         $(SET_LIB_PATH) \
15609         $(HOST_EXPORTS) \
15610         for flag in $(EXTRA_HOST_FLAGS) ; do \
15611           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15612         done; \
15613         echo "Doing dvi in readline" ; \
15614         (cd readline && \
15615           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15616                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15617                   "RANLIB=$${RANLIB}" \
15618                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15619                   dvi) \
15620           || exit 1
15621
15622 @endif readline
15623
15624 .PHONY: maybe-TAGS-readline TAGS-readline
15625 maybe-TAGS-readline:
15626 @if readline
15627 maybe-TAGS-readline: TAGS-readline
15628
15629 TAGS-readline: \
15630     configure-readline 
15631         @[ -f ./readline/Makefile ] || exit 0; \
15632         r=`${PWD_COMMAND}`; export r; \
15633         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15634         $(SET_LIB_PATH) \
15635         $(HOST_EXPORTS) \
15636         for flag in $(EXTRA_HOST_FLAGS) ; do \
15637           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15638         done; \
15639         echo "Doing TAGS in readline" ; \
15640         (cd readline && \
15641           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15642                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15643                   "RANLIB=$${RANLIB}" \
15644                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15645                   TAGS) \
15646           || exit 1
15647
15648 @endif readline
15649
15650 .PHONY: maybe-install-info-readline install-info-readline
15651 maybe-install-info-readline:
15652 @if readline
15653 maybe-install-info-readline: install-info-readline
15654
15655 install-info-readline: \
15656     configure-readline \
15657     info-readline 
15658         @[ -f ./readline/Makefile ] || exit 0; \
15659         r=`${PWD_COMMAND}`; export r; \
15660         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15661         $(SET_LIB_PATH) \
15662         $(HOST_EXPORTS) \
15663         for flag in $(EXTRA_HOST_FLAGS) ; do \
15664           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15665         done; \
15666         echo "Doing install-info in readline" ; \
15667         (cd readline && \
15668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15670                   "RANLIB=$${RANLIB}" \
15671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15672                   install-info) \
15673           || exit 1
15674
15675 @endif readline
15676
15677 .PHONY: maybe-installcheck-readline installcheck-readline
15678 maybe-installcheck-readline:
15679 @if readline
15680 maybe-installcheck-readline: installcheck-readline
15681
15682 installcheck-readline: \
15683     configure-readline 
15684         @[ -f ./readline/Makefile ] || exit 0; \
15685         r=`${PWD_COMMAND}`; export r; \
15686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15687         $(SET_LIB_PATH) \
15688         $(HOST_EXPORTS) \
15689         for flag in $(EXTRA_HOST_FLAGS) ; do \
15690           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15691         done; \
15692         echo "Doing installcheck in readline" ; \
15693         (cd readline && \
15694           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15695                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15696                   "RANLIB=$${RANLIB}" \
15697                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15698                   installcheck) \
15699           || exit 1
15700
15701 @endif readline
15702
15703 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15704 maybe-mostlyclean-readline:
15705 @if readline
15706 maybe-mostlyclean-readline: mostlyclean-readline
15707
15708 mostlyclean-readline: 
15709         @[ -f ./readline/Makefile ] || exit 0; \
15710         r=`${PWD_COMMAND}`; export r; \
15711         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712         $(SET_LIB_PATH) \
15713         $(HOST_EXPORTS) \
15714         for flag in $(EXTRA_HOST_FLAGS) ; do \
15715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15716         done; \
15717         echo "Doing mostlyclean in readline" ; \
15718         (cd readline && \
15719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15721                   "RANLIB=$${RANLIB}" \
15722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15723                   mostlyclean) \
15724           || exit 1
15725
15726 @endif readline
15727
15728 .PHONY: maybe-clean-readline clean-readline
15729 maybe-clean-readline:
15730 @if readline
15731 maybe-clean-readline: clean-readline
15732
15733 clean-readline: 
15734         @[ -f ./readline/Makefile ] || exit 0; \
15735         r=`${PWD_COMMAND}`; export r; \
15736         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15737         $(SET_LIB_PATH) \
15738         $(HOST_EXPORTS) \
15739         for flag in $(EXTRA_HOST_FLAGS) ; do \
15740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15741         done; \
15742         echo "Doing clean in readline" ; \
15743         (cd readline && \
15744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15746                   "RANLIB=$${RANLIB}" \
15747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15748                   clean) \
15749           || exit 1
15750
15751 @endif readline
15752
15753 .PHONY: maybe-distclean-readline distclean-readline
15754 maybe-distclean-readline:
15755 @if readline
15756 maybe-distclean-readline: distclean-readline
15757
15758 distclean-readline: 
15759         @[ -f ./readline/Makefile ] || exit 0; \
15760         r=`${PWD_COMMAND}`; export r; \
15761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15762         $(SET_LIB_PATH) \
15763         $(HOST_EXPORTS) \
15764         for flag in $(EXTRA_HOST_FLAGS) ; do \
15765           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15766         done; \
15767         echo "Doing distclean in readline" ; \
15768         (cd readline && \
15769           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15770                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15771                   "RANLIB=$${RANLIB}" \
15772                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15773                   distclean) \
15774           || exit 1
15775
15776 @endif readline
15777
15778 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15779 maybe-maintainer-clean-readline:
15780 @if readline
15781 maybe-maintainer-clean-readline: maintainer-clean-readline
15782
15783 maintainer-clean-readline: 
15784         @[ -f ./readline/Makefile ] || exit 0; \
15785         r=`${PWD_COMMAND}`; export r; \
15786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787         $(SET_LIB_PATH) \
15788         $(HOST_EXPORTS) \
15789         for flag in $(EXTRA_HOST_FLAGS) ; do \
15790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15791         done; \
15792         echo "Doing maintainer-clean in readline" ; \
15793         (cd readline && \
15794           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15795                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15796                   "RANLIB=$${RANLIB}" \
15797                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15798                   maintainer-clean) \
15799           || exit 1
15800
15801 @endif readline
15802
15803
15804 .PHONY: configure-release maybe-configure-release
15805 maybe-configure-release:
15806 @if release
15807 maybe-configure-release: configure-release
15808 configure-release:
15809         @test ! -f release/Makefile || exit 0; \
15810         [ -d release ] || mkdir release; \
15811         r=`${PWD_COMMAND}`; export r; \
15812         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15813         $(HOST_EXPORTS) \
15814         echo Configuring in release; \
15815         cd release || exit 1; \
15816         case $(srcdir) in \
15817           \.) \
15818             srcdiroption="--srcdir=."; \
15819             libsrcdir=".";; \
15820           /* | [A-Za-z]:[\\/]*) \
15821             srcdiroption="--srcdir=$(srcdir)/release"; \
15822             libsrcdir="$$s/release";; \
15823           *) \
15824             srcdiroption="--srcdir=../$(srcdir)/release"; \
15825             libsrcdir="$$s/release";; \
15826         esac; \
15827         $(SHELL) $${libsrcdir}/configure \
15828           $(HOST_CONFIGARGS) $${srcdiroption}  \
15829           || exit 1
15830 @endif release
15831
15832 .PHONY: all-release maybe-all-release
15833 maybe-all-release:
15834 @if release
15835 maybe-all-release: all-release
15836 all-release: configure-release
15837         @r=`${PWD_COMMAND}`; export r; \
15838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15839         $(SET_LIB_PATH) \
15840         $(HOST_EXPORTS) \
15841         (cd release && $(MAKE) $(FLAGS_TO_PASS)  all)
15842 @endif release
15843
15844 .PHONY: check-release maybe-check-release
15845 maybe-check-release:
15846 @if release
15847 maybe-check-release: check-release
15848
15849 check-release:
15850
15851 @endif release
15852
15853 .PHONY: install-release maybe-install-release
15854 maybe-install-release:
15855 @if release
15856 maybe-install-release: install-release
15857
15858 install-release:
15859
15860 @endif release
15861
15862 # Other targets (info, dvi, etc.)
15863
15864 .PHONY: maybe-info-release info-release
15865 maybe-info-release:
15866 @if release
15867 maybe-info-release: info-release
15868
15869 info-release: \
15870     configure-release 
15871         @[ -f ./release/Makefile ] || exit 0; \
15872         r=`${PWD_COMMAND}`; export r; \
15873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874         $(SET_LIB_PATH) \
15875         $(HOST_EXPORTS) \
15876         for flag in $(EXTRA_HOST_FLAGS) ; do \
15877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15878         done; \
15879         echo "Doing info in release" ; \
15880         (cd release && \
15881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883                   "RANLIB=$${RANLIB}" \
15884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15885                   info) \
15886           || exit 1
15887
15888 @endif release
15889
15890 .PHONY: maybe-dvi-release dvi-release
15891 maybe-dvi-release:
15892 @if release
15893 maybe-dvi-release: dvi-release
15894
15895 dvi-release: \
15896     configure-release 
15897         @[ -f ./release/Makefile ] || exit 0; \
15898         r=`${PWD_COMMAND}`; export r; \
15899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15900         $(SET_LIB_PATH) \
15901         $(HOST_EXPORTS) \
15902         for flag in $(EXTRA_HOST_FLAGS) ; do \
15903           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15904         done; \
15905         echo "Doing dvi in release" ; \
15906         (cd release && \
15907           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15908                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15909                   "RANLIB=$${RANLIB}" \
15910                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15911                   dvi) \
15912           || exit 1
15913
15914 @endif release
15915
15916 .PHONY: maybe-TAGS-release TAGS-release
15917 maybe-TAGS-release:
15918 @if release
15919 maybe-TAGS-release: TAGS-release
15920
15921 TAGS-release: \
15922     configure-release 
15923         @[ -f ./release/Makefile ] || exit 0; \
15924         r=`${PWD_COMMAND}`; export r; \
15925         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15926         $(SET_LIB_PATH) \
15927         $(HOST_EXPORTS) \
15928         for flag in $(EXTRA_HOST_FLAGS) ; do \
15929           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15930         done; \
15931         echo "Doing TAGS in release" ; \
15932         (cd release && \
15933           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15934                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15935                   "RANLIB=$${RANLIB}" \
15936                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15937                   TAGS) \
15938           || exit 1
15939
15940 @endif release
15941
15942 .PHONY: maybe-install-info-release install-info-release
15943 maybe-install-info-release:
15944 @if release
15945 maybe-install-info-release: install-info-release
15946
15947 install-info-release: \
15948     configure-release \
15949     info-release 
15950         @[ -f ./release/Makefile ] || exit 0; \
15951         r=`${PWD_COMMAND}`; export r; \
15952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15953         $(SET_LIB_PATH) \
15954         $(HOST_EXPORTS) \
15955         for flag in $(EXTRA_HOST_FLAGS) ; do \
15956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15957         done; \
15958         echo "Doing install-info in release" ; \
15959         (cd release && \
15960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15962                   "RANLIB=$${RANLIB}" \
15963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15964                   install-info) \
15965           || exit 1
15966
15967 @endif release
15968
15969 .PHONY: maybe-installcheck-release installcheck-release
15970 maybe-installcheck-release:
15971 @if release
15972 maybe-installcheck-release: installcheck-release
15973
15974 installcheck-release: \
15975     configure-release 
15976         @[ -f ./release/Makefile ] || exit 0; \
15977         r=`${PWD_COMMAND}`; export r; \
15978         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15979         $(SET_LIB_PATH) \
15980         $(HOST_EXPORTS) \
15981         for flag in $(EXTRA_HOST_FLAGS) ; do \
15982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15983         done; \
15984         echo "Doing installcheck in release" ; \
15985         (cd release && \
15986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15988                   "RANLIB=$${RANLIB}" \
15989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15990                   installcheck) \
15991           || exit 1
15992
15993 @endif release
15994
15995 .PHONY: maybe-mostlyclean-release mostlyclean-release
15996 maybe-mostlyclean-release:
15997 @if release
15998 maybe-mostlyclean-release: mostlyclean-release
15999
16000 mostlyclean-release: 
16001         @[ -f ./release/Makefile ] || exit 0; \
16002         r=`${PWD_COMMAND}`; export r; \
16003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16004         $(SET_LIB_PATH) \
16005         $(HOST_EXPORTS) \
16006         for flag in $(EXTRA_HOST_FLAGS) ; do \
16007           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16008         done; \
16009         echo "Doing mostlyclean in release" ; \
16010         (cd release && \
16011           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16012                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16013                   "RANLIB=$${RANLIB}" \
16014                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16015                   mostlyclean) \
16016           || exit 1
16017
16018 @endif release
16019
16020 .PHONY: maybe-clean-release clean-release
16021 maybe-clean-release:
16022 @if release
16023 maybe-clean-release: clean-release
16024
16025 clean-release: 
16026         @[ -f ./release/Makefile ] || exit 0; \
16027         r=`${PWD_COMMAND}`; export r; \
16028         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16029         $(SET_LIB_PATH) \
16030         $(HOST_EXPORTS) \
16031         for flag in $(EXTRA_HOST_FLAGS) ; do \
16032           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16033         done; \
16034         echo "Doing clean in release" ; \
16035         (cd release && \
16036           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16037                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16038                   "RANLIB=$${RANLIB}" \
16039                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16040                   clean) \
16041           || exit 1
16042
16043 @endif release
16044
16045 .PHONY: maybe-distclean-release distclean-release
16046 maybe-distclean-release:
16047 @if release
16048 maybe-distclean-release: distclean-release
16049
16050 distclean-release: 
16051         @[ -f ./release/Makefile ] || exit 0; \
16052         r=`${PWD_COMMAND}`; export r; \
16053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16054         $(SET_LIB_PATH) \
16055         $(HOST_EXPORTS) \
16056         for flag in $(EXTRA_HOST_FLAGS) ; do \
16057           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16058         done; \
16059         echo "Doing distclean in release" ; \
16060         (cd release && \
16061           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16062                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16063                   "RANLIB=$${RANLIB}" \
16064                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16065                   distclean) \
16066           || exit 1
16067
16068 @endif release
16069
16070 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16071 maybe-maintainer-clean-release:
16072 @if release
16073 maybe-maintainer-clean-release: maintainer-clean-release
16074
16075 maintainer-clean-release: 
16076         @[ -f ./release/Makefile ] || exit 0; \
16077         r=`${PWD_COMMAND}`; export r; \
16078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16079         $(SET_LIB_PATH) \
16080         $(HOST_EXPORTS) \
16081         for flag in $(EXTRA_HOST_FLAGS) ; do \
16082           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16083         done; \
16084         echo "Doing maintainer-clean in release" ; \
16085         (cd release && \
16086           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16087                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16088                   "RANLIB=$${RANLIB}" \
16089                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16090                   maintainer-clean) \
16091           || exit 1
16092
16093 @endif release
16094
16095
16096 .PHONY: configure-recode maybe-configure-recode
16097 maybe-configure-recode:
16098 @if recode
16099 maybe-configure-recode: configure-recode
16100 configure-recode:
16101         @test ! -f recode/Makefile || exit 0; \
16102         [ -d recode ] || mkdir recode; \
16103         r=`${PWD_COMMAND}`; export r; \
16104         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16105         $(HOST_EXPORTS) \
16106         echo Configuring in recode; \
16107         cd recode || exit 1; \
16108         case $(srcdir) in \
16109           \.) \
16110             srcdiroption="--srcdir=."; \
16111             libsrcdir=".";; \
16112           /* | [A-Za-z]:[\\/]*) \
16113             srcdiroption="--srcdir=$(srcdir)/recode"; \
16114             libsrcdir="$$s/recode";; \
16115           *) \
16116             srcdiroption="--srcdir=../$(srcdir)/recode"; \
16117             libsrcdir="$$s/recode";; \
16118         esac; \
16119         $(SHELL) $${libsrcdir}/configure \
16120           $(HOST_CONFIGARGS) $${srcdiroption}  \
16121           || exit 1
16122 @endif recode
16123
16124 .PHONY: all-recode maybe-all-recode
16125 maybe-all-recode:
16126 @if recode
16127 maybe-all-recode: all-recode
16128 all-recode: configure-recode
16129         @r=`${PWD_COMMAND}`; export r; \
16130         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16131         $(SET_LIB_PATH) \
16132         $(HOST_EXPORTS) \
16133         (cd recode && $(MAKE) $(FLAGS_TO_PASS)  all)
16134 @endif recode
16135
16136 .PHONY: check-recode maybe-check-recode
16137 maybe-check-recode:
16138 @if recode
16139 maybe-check-recode: check-recode
16140
16141 check-recode:
16142         @r=`${PWD_COMMAND}`; export r; \
16143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16144         $(SET_LIB_PATH) \
16145         $(HOST_EXPORTS) \
16146         (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16147
16148 @endif recode
16149
16150 .PHONY: install-recode maybe-install-recode
16151 maybe-install-recode:
16152 @if recode
16153 maybe-install-recode: install-recode
16154
16155 install-recode: installdirs
16156         @r=`${PWD_COMMAND}`; export r; \
16157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16158         $(SET_LIB_PATH) \
16159         $(HOST_EXPORTS) \
16160         (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16161
16162 @endif recode
16163
16164 # Other targets (info, dvi, etc.)
16165
16166 .PHONY: maybe-info-recode info-recode
16167 maybe-info-recode:
16168 @if recode
16169 maybe-info-recode: info-recode
16170
16171 info-recode: \
16172     configure-recode 
16173         @[ -f ./recode/Makefile ] || exit 0; \
16174         r=`${PWD_COMMAND}`; export r; \
16175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16176         $(SET_LIB_PATH) \
16177         $(HOST_EXPORTS) \
16178         for flag in $(EXTRA_HOST_FLAGS) ; do \
16179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16180         done; \
16181         echo "Doing info in recode" ; \
16182         (cd recode && \
16183           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16184                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16185                   "RANLIB=$${RANLIB}" \
16186                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16187                   info) \
16188           || exit 1
16189
16190 @endif recode
16191
16192 .PHONY: maybe-dvi-recode dvi-recode
16193 maybe-dvi-recode:
16194 @if recode
16195 maybe-dvi-recode: dvi-recode
16196
16197 dvi-recode: \
16198     configure-recode 
16199         @[ -f ./recode/Makefile ] || exit 0; \
16200         r=`${PWD_COMMAND}`; export r; \
16201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202         $(SET_LIB_PATH) \
16203         $(HOST_EXPORTS) \
16204         for flag in $(EXTRA_HOST_FLAGS) ; do \
16205           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16206         done; \
16207         echo "Doing dvi in recode" ; \
16208         (cd recode && \
16209           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16210                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16211                   "RANLIB=$${RANLIB}" \
16212                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16213                   dvi) \
16214           || exit 1
16215
16216 @endif recode
16217
16218 .PHONY: maybe-TAGS-recode TAGS-recode
16219 maybe-TAGS-recode:
16220 @if recode
16221 maybe-TAGS-recode: TAGS-recode
16222
16223 TAGS-recode: \
16224     configure-recode 
16225         @[ -f ./recode/Makefile ] || exit 0; \
16226         r=`${PWD_COMMAND}`; export r; \
16227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16228         $(SET_LIB_PATH) \
16229         $(HOST_EXPORTS) \
16230         for flag in $(EXTRA_HOST_FLAGS) ; do \
16231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16232         done; \
16233         echo "Doing TAGS in recode" ; \
16234         (cd recode && \
16235           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16236                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16237                   "RANLIB=$${RANLIB}" \
16238                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16239                   TAGS) \
16240           || exit 1
16241
16242 @endif recode
16243
16244 .PHONY: maybe-install-info-recode install-info-recode
16245 maybe-install-info-recode:
16246 @if recode
16247 maybe-install-info-recode: install-info-recode
16248
16249 install-info-recode: \
16250     configure-recode \
16251     info-recode 
16252         @[ -f ./recode/Makefile ] || exit 0; \
16253         r=`${PWD_COMMAND}`; export r; \
16254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16255         $(SET_LIB_PATH) \
16256         $(HOST_EXPORTS) \
16257         for flag in $(EXTRA_HOST_FLAGS) ; do \
16258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16259         done; \
16260         echo "Doing install-info in recode" ; \
16261         (cd recode && \
16262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16264                   "RANLIB=$${RANLIB}" \
16265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16266                   install-info) \
16267           || exit 1
16268
16269 @endif recode
16270
16271 .PHONY: maybe-installcheck-recode installcheck-recode
16272 maybe-installcheck-recode:
16273 @if recode
16274 maybe-installcheck-recode: installcheck-recode
16275
16276 installcheck-recode: \
16277     configure-recode 
16278         @[ -f ./recode/Makefile ] || exit 0; \
16279         r=`${PWD_COMMAND}`; export r; \
16280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16281         $(SET_LIB_PATH) \
16282         $(HOST_EXPORTS) \
16283         for flag in $(EXTRA_HOST_FLAGS) ; do \
16284           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16285         done; \
16286         echo "Doing installcheck in recode" ; \
16287         (cd recode && \
16288           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16289                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16290                   "RANLIB=$${RANLIB}" \
16291                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16292                   installcheck) \
16293           || exit 1
16294
16295 @endif recode
16296
16297 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16298 maybe-mostlyclean-recode:
16299 @if recode
16300 maybe-mostlyclean-recode: mostlyclean-recode
16301
16302 mostlyclean-recode: 
16303         @[ -f ./recode/Makefile ] || exit 0; \
16304         r=`${PWD_COMMAND}`; export r; \
16305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16306         $(SET_LIB_PATH) \
16307         $(HOST_EXPORTS) \
16308         for flag in $(EXTRA_HOST_FLAGS) ; do \
16309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16310         done; \
16311         echo "Doing mostlyclean in recode" ; \
16312         (cd recode && \
16313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16315                   "RANLIB=$${RANLIB}" \
16316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16317                   mostlyclean) \
16318           || exit 1
16319
16320 @endif recode
16321
16322 .PHONY: maybe-clean-recode clean-recode
16323 maybe-clean-recode:
16324 @if recode
16325 maybe-clean-recode: clean-recode
16326
16327 clean-recode: 
16328         @[ -f ./recode/Makefile ] || exit 0; \
16329         r=`${PWD_COMMAND}`; export r; \
16330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16331         $(SET_LIB_PATH) \
16332         $(HOST_EXPORTS) \
16333         for flag in $(EXTRA_HOST_FLAGS) ; do \
16334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16335         done; \
16336         echo "Doing clean in recode" ; \
16337         (cd recode && \
16338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16340                   "RANLIB=$${RANLIB}" \
16341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16342                   clean) \
16343           || exit 1
16344
16345 @endif recode
16346
16347 .PHONY: maybe-distclean-recode distclean-recode
16348 maybe-distclean-recode:
16349 @if recode
16350 maybe-distclean-recode: distclean-recode
16351
16352 distclean-recode: 
16353         @[ -f ./recode/Makefile ] || exit 0; \
16354         r=`${PWD_COMMAND}`; export r; \
16355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16356         $(SET_LIB_PATH) \
16357         $(HOST_EXPORTS) \
16358         for flag in $(EXTRA_HOST_FLAGS) ; do \
16359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16360         done; \
16361         echo "Doing distclean in recode" ; \
16362         (cd recode && \
16363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16365                   "RANLIB=$${RANLIB}" \
16366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16367                   distclean) \
16368           || exit 1
16369
16370 @endif recode
16371
16372 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16373 maybe-maintainer-clean-recode:
16374 @if recode
16375 maybe-maintainer-clean-recode: maintainer-clean-recode
16376
16377 maintainer-clean-recode: 
16378         @[ -f ./recode/Makefile ] || exit 0; \
16379         r=`${PWD_COMMAND}`; export r; \
16380         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381         $(SET_LIB_PATH) \
16382         $(HOST_EXPORTS) \
16383         for flag in $(EXTRA_HOST_FLAGS) ; do \
16384           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16385         done; \
16386         echo "Doing maintainer-clean in recode" ; \
16387         (cd recode && \
16388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16390                   "RANLIB=$${RANLIB}" \
16391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16392                   maintainer-clean) \
16393           || exit 1
16394
16395 @endif recode
16396
16397
16398 .PHONY: configure-sed maybe-configure-sed
16399 maybe-configure-sed:
16400 @if sed
16401 maybe-configure-sed: configure-sed
16402 configure-sed:
16403         @test ! -f sed/Makefile || exit 0; \
16404         [ -d sed ] || mkdir sed; \
16405         r=`${PWD_COMMAND}`; export r; \
16406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16407         $(HOST_EXPORTS) \
16408         echo Configuring in sed; \
16409         cd sed || exit 1; \
16410         case $(srcdir) in \
16411           \.) \
16412             srcdiroption="--srcdir=."; \
16413             libsrcdir=".";; \
16414           /* | [A-Za-z]:[\\/]*) \
16415             srcdiroption="--srcdir=$(srcdir)/sed"; \
16416             libsrcdir="$$s/sed";; \
16417           *) \
16418             srcdiroption="--srcdir=../$(srcdir)/sed"; \
16419             libsrcdir="$$s/sed";; \
16420         esac; \
16421         $(SHELL) $${libsrcdir}/configure \
16422           $(HOST_CONFIGARGS) $${srcdiroption}  \
16423           || exit 1
16424 @endif sed
16425
16426 .PHONY: all-sed maybe-all-sed
16427 maybe-all-sed:
16428 @if sed
16429 maybe-all-sed: all-sed
16430 all-sed: configure-sed
16431         @r=`${PWD_COMMAND}`; export r; \
16432         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16433         $(SET_LIB_PATH) \
16434         $(HOST_EXPORTS) \
16435         (cd sed && $(MAKE) $(FLAGS_TO_PASS)  all)
16436 @endif sed
16437
16438 .PHONY: check-sed maybe-check-sed
16439 maybe-check-sed:
16440 @if sed
16441 maybe-check-sed: check-sed
16442
16443 check-sed:
16444         @r=`${PWD_COMMAND}`; export r; \
16445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16446         $(SET_LIB_PATH) \
16447         $(HOST_EXPORTS) \
16448         (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16449
16450 @endif sed
16451
16452 .PHONY: install-sed maybe-install-sed
16453 maybe-install-sed:
16454 @if sed
16455 maybe-install-sed: install-sed
16456
16457 install-sed: installdirs
16458         @r=`${PWD_COMMAND}`; export r; \
16459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460         $(SET_LIB_PATH) \
16461         $(HOST_EXPORTS) \
16462         (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16463
16464 @endif sed
16465
16466 # Other targets (info, dvi, etc.)
16467
16468 .PHONY: maybe-info-sed info-sed
16469 maybe-info-sed:
16470 @if sed
16471 maybe-info-sed: info-sed
16472
16473 info-sed: \
16474     configure-sed 
16475         @[ -f ./sed/Makefile ] || exit 0; \
16476         r=`${PWD_COMMAND}`; export r; \
16477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16478         $(SET_LIB_PATH) \
16479         $(HOST_EXPORTS) \
16480         for flag in $(EXTRA_HOST_FLAGS) ; do \
16481           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16482         done; \
16483         echo "Doing info in sed" ; \
16484         (cd sed && \
16485           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16486                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16487                   "RANLIB=$${RANLIB}" \
16488                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16489                   info) \
16490           || exit 1
16491
16492 @endif sed
16493
16494 .PHONY: maybe-dvi-sed dvi-sed
16495 maybe-dvi-sed:
16496 @if sed
16497 maybe-dvi-sed: dvi-sed
16498
16499 dvi-sed: \
16500     configure-sed 
16501         @[ -f ./sed/Makefile ] || exit 0; \
16502         r=`${PWD_COMMAND}`; export r; \
16503         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16504         $(SET_LIB_PATH) \
16505         $(HOST_EXPORTS) \
16506         for flag in $(EXTRA_HOST_FLAGS) ; do \
16507           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16508         done; \
16509         echo "Doing dvi in sed" ; \
16510         (cd sed && \
16511           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16512                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16513                   "RANLIB=$${RANLIB}" \
16514                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16515                   dvi) \
16516           || exit 1
16517
16518 @endif sed
16519
16520 .PHONY: maybe-TAGS-sed TAGS-sed
16521 maybe-TAGS-sed:
16522 @if sed
16523 maybe-TAGS-sed: TAGS-sed
16524
16525 TAGS-sed: \
16526     configure-sed 
16527         @[ -f ./sed/Makefile ] || exit 0; \
16528         r=`${PWD_COMMAND}`; export r; \
16529         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16530         $(SET_LIB_PATH) \
16531         $(HOST_EXPORTS) \
16532         for flag in $(EXTRA_HOST_FLAGS) ; do \
16533           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16534         done; \
16535         echo "Doing TAGS in sed" ; \
16536         (cd sed && \
16537           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16538                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16539                   "RANLIB=$${RANLIB}" \
16540                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16541                   TAGS) \
16542           || exit 1
16543
16544 @endif sed
16545
16546 .PHONY: maybe-install-info-sed install-info-sed
16547 maybe-install-info-sed:
16548 @if sed
16549 maybe-install-info-sed: install-info-sed
16550
16551 install-info-sed: \
16552     configure-sed \
16553     info-sed 
16554         @[ -f ./sed/Makefile ] || exit 0; \
16555         r=`${PWD_COMMAND}`; export r; \
16556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16557         $(SET_LIB_PATH) \
16558         $(HOST_EXPORTS) \
16559         for flag in $(EXTRA_HOST_FLAGS) ; do \
16560           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16561         done; \
16562         echo "Doing install-info in sed" ; \
16563         (cd sed && \
16564           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16565                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16566                   "RANLIB=$${RANLIB}" \
16567                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16568                   install-info) \
16569           || exit 1
16570
16571 @endif sed
16572
16573 .PHONY: maybe-installcheck-sed installcheck-sed
16574 maybe-installcheck-sed:
16575 @if sed
16576 maybe-installcheck-sed: installcheck-sed
16577
16578 installcheck-sed: \
16579     configure-sed 
16580         @[ -f ./sed/Makefile ] || exit 0; \
16581         r=`${PWD_COMMAND}`; export r; \
16582         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16583         $(SET_LIB_PATH) \
16584         $(HOST_EXPORTS) \
16585         for flag in $(EXTRA_HOST_FLAGS) ; do \
16586           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16587         done; \
16588         echo "Doing installcheck in sed" ; \
16589         (cd sed && \
16590           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16591                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16592                   "RANLIB=$${RANLIB}" \
16593                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16594                   installcheck) \
16595           || exit 1
16596
16597 @endif sed
16598
16599 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16600 maybe-mostlyclean-sed:
16601 @if sed
16602 maybe-mostlyclean-sed: mostlyclean-sed
16603
16604 mostlyclean-sed: 
16605         @[ -f ./sed/Makefile ] || exit 0; \
16606         r=`${PWD_COMMAND}`; export r; \
16607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16608         $(SET_LIB_PATH) \
16609         $(HOST_EXPORTS) \
16610         for flag in $(EXTRA_HOST_FLAGS) ; do \
16611           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16612         done; \
16613         echo "Doing mostlyclean in sed" ; \
16614         (cd sed && \
16615           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16616                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16617                   "RANLIB=$${RANLIB}" \
16618                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16619                   mostlyclean) \
16620           || exit 1
16621
16622 @endif sed
16623
16624 .PHONY: maybe-clean-sed clean-sed
16625 maybe-clean-sed:
16626 @if sed
16627 maybe-clean-sed: clean-sed
16628
16629 clean-sed: 
16630         @[ -f ./sed/Makefile ] || exit 0; \
16631         r=`${PWD_COMMAND}`; export r; \
16632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16633         $(SET_LIB_PATH) \
16634         $(HOST_EXPORTS) \
16635         for flag in $(EXTRA_HOST_FLAGS) ; do \
16636           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16637         done; \
16638         echo "Doing clean in sed" ; \
16639         (cd sed && \
16640           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16641                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16642                   "RANLIB=$${RANLIB}" \
16643                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16644                   clean) \
16645           || exit 1
16646
16647 @endif sed
16648
16649 .PHONY: maybe-distclean-sed distclean-sed
16650 maybe-distclean-sed:
16651 @if sed
16652 maybe-distclean-sed: distclean-sed
16653
16654 distclean-sed: 
16655         @[ -f ./sed/Makefile ] || exit 0; \
16656         r=`${PWD_COMMAND}`; export r; \
16657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16658         $(SET_LIB_PATH) \
16659         $(HOST_EXPORTS) \
16660         for flag in $(EXTRA_HOST_FLAGS) ; do \
16661           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16662         done; \
16663         echo "Doing distclean in sed" ; \
16664         (cd sed && \
16665           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16666                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16667                   "RANLIB=$${RANLIB}" \
16668                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16669                   distclean) \
16670           || exit 1
16671
16672 @endif sed
16673
16674 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16675 maybe-maintainer-clean-sed:
16676 @if sed
16677 maybe-maintainer-clean-sed: maintainer-clean-sed
16678
16679 maintainer-clean-sed: 
16680         @[ -f ./sed/Makefile ] || exit 0; \
16681         r=`${PWD_COMMAND}`; export r; \
16682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16683         $(SET_LIB_PATH) \
16684         $(HOST_EXPORTS) \
16685         for flag in $(EXTRA_HOST_FLAGS) ; do \
16686           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16687         done; \
16688         echo "Doing maintainer-clean in sed" ; \
16689         (cd sed && \
16690           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16691                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16692                   "RANLIB=$${RANLIB}" \
16693                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16694                   maintainer-clean) \
16695           || exit 1
16696
16697 @endif sed
16698
16699
16700 .PHONY: configure-send-pr maybe-configure-send-pr
16701 maybe-configure-send-pr:
16702 @if send-pr
16703 maybe-configure-send-pr: configure-send-pr
16704 configure-send-pr:
16705         @test ! -f send-pr/Makefile || exit 0; \
16706         [ -d send-pr ] || mkdir send-pr; \
16707         r=`${PWD_COMMAND}`; export r; \
16708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16709         $(HOST_EXPORTS) \
16710         echo Configuring in send-pr; \
16711         cd send-pr || exit 1; \
16712         case $(srcdir) in \
16713           \.) \
16714             srcdiroption="--srcdir=."; \
16715             libsrcdir=".";; \
16716           /* | [A-Za-z]:[\\/]*) \
16717             srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16718             libsrcdir="$$s/send-pr";; \
16719           *) \
16720             srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16721             libsrcdir="$$s/send-pr";; \
16722         esac; \
16723         $(SHELL) $${libsrcdir}/configure \
16724           $(HOST_CONFIGARGS) $${srcdiroption}  \
16725           || exit 1
16726 @endif send-pr
16727
16728 .PHONY: all-send-pr maybe-all-send-pr
16729 maybe-all-send-pr:
16730 @if send-pr
16731 maybe-all-send-pr: all-send-pr
16732 all-send-pr: configure-send-pr
16733         @r=`${PWD_COMMAND}`; export r; \
16734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16735         $(SET_LIB_PATH) \
16736         $(HOST_EXPORTS) \
16737         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS)  all)
16738 @endif send-pr
16739
16740 .PHONY: check-send-pr maybe-check-send-pr
16741 maybe-check-send-pr:
16742 @if send-pr
16743 maybe-check-send-pr: check-send-pr
16744
16745 check-send-pr:
16746         @r=`${PWD_COMMAND}`; export r; \
16747         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16748         $(SET_LIB_PATH) \
16749         $(HOST_EXPORTS) \
16750         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16751
16752 @endif send-pr
16753
16754 .PHONY: install-send-pr maybe-install-send-pr
16755 maybe-install-send-pr:
16756 @if send-pr
16757 maybe-install-send-pr: install-send-pr
16758
16759 install-send-pr: installdirs
16760         @r=`${PWD_COMMAND}`; export r; \
16761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16762         $(SET_LIB_PATH) \
16763         $(HOST_EXPORTS) \
16764         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16765
16766 @endif send-pr
16767
16768 # Other targets (info, dvi, etc.)
16769
16770 .PHONY: maybe-info-send-pr info-send-pr
16771 maybe-info-send-pr:
16772 @if send-pr
16773 maybe-info-send-pr: info-send-pr
16774
16775 info-send-pr: \
16776     configure-send-pr 
16777         @[ -f ./send-pr/Makefile ] || exit 0; \
16778         r=`${PWD_COMMAND}`; export r; \
16779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780         $(SET_LIB_PATH) \
16781         $(HOST_EXPORTS) \
16782         for flag in $(EXTRA_HOST_FLAGS) ; do \
16783           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16784         done; \
16785         echo "Doing info in send-pr" ; \
16786         (cd send-pr && \
16787           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16788                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16789                   "RANLIB=$${RANLIB}" \
16790                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16791                   info) \
16792           || exit 1
16793
16794 @endif send-pr
16795
16796 .PHONY: maybe-dvi-send-pr dvi-send-pr
16797 maybe-dvi-send-pr:
16798 @if send-pr
16799 maybe-dvi-send-pr: dvi-send-pr
16800
16801 dvi-send-pr: \
16802     configure-send-pr 
16803         @[ -f ./send-pr/Makefile ] || exit 0; \
16804         r=`${PWD_COMMAND}`; export r; \
16805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16806         $(SET_LIB_PATH) \
16807         $(HOST_EXPORTS) \
16808         for flag in $(EXTRA_HOST_FLAGS) ; do \
16809           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16810         done; \
16811         echo "Doing dvi in send-pr" ; \
16812         (cd send-pr && \
16813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16815                   "RANLIB=$${RANLIB}" \
16816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16817                   dvi) \
16818           || exit 1
16819
16820 @endif send-pr
16821
16822 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16823 maybe-TAGS-send-pr:
16824 @if send-pr
16825 maybe-TAGS-send-pr: TAGS-send-pr
16826
16827 TAGS-send-pr: \
16828     configure-send-pr 
16829         @[ -f ./send-pr/Makefile ] || exit 0; \
16830         r=`${PWD_COMMAND}`; export r; \
16831         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16832         $(SET_LIB_PATH) \
16833         $(HOST_EXPORTS) \
16834         for flag in $(EXTRA_HOST_FLAGS) ; do \
16835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16836         done; \
16837         echo "Doing TAGS in send-pr" ; \
16838         (cd send-pr && \
16839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16841                   "RANLIB=$${RANLIB}" \
16842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16843                   TAGS) \
16844           || exit 1
16845
16846 @endif send-pr
16847
16848 .PHONY: maybe-install-info-send-pr install-info-send-pr
16849 maybe-install-info-send-pr:
16850 @if send-pr
16851 maybe-install-info-send-pr: install-info-send-pr
16852
16853 install-info-send-pr: \
16854     configure-send-pr \
16855     info-send-pr 
16856         @[ -f ./send-pr/Makefile ] || exit 0; \
16857         r=`${PWD_COMMAND}`; export r; \
16858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859         $(SET_LIB_PATH) \
16860         $(HOST_EXPORTS) \
16861         for flag in $(EXTRA_HOST_FLAGS) ; do \
16862           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16863         done; \
16864         echo "Doing install-info in send-pr" ; \
16865         (cd send-pr && \
16866           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16867                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16868                   "RANLIB=$${RANLIB}" \
16869                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16870                   install-info) \
16871           || exit 1
16872
16873 @endif send-pr
16874
16875 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16876 maybe-installcheck-send-pr:
16877 @if send-pr
16878 maybe-installcheck-send-pr: installcheck-send-pr
16879
16880 installcheck-send-pr: \
16881     configure-send-pr 
16882         @[ -f ./send-pr/Makefile ] || exit 0; \
16883         r=`${PWD_COMMAND}`; export r; \
16884         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16885         $(SET_LIB_PATH) \
16886         $(HOST_EXPORTS) \
16887         for flag in $(EXTRA_HOST_FLAGS) ; do \
16888           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16889         done; \
16890         echo "Doing installcheck in send-pr" ; \
16891         (cd send-pr && \
16892           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16893                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16894                   "RANLIB=$${RANLIB}" \
16895                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16896                   installcheck) \
16897           || exit 1
16898
16899 @endif send-pr
16900
16901 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16902 maybe-mostlyclean-send-pr:
16903 @if send-pr
16904 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16905
16906 mostlyclean-send-pr: 
16907         @[ -f ./send-pr/Makefile ] || exit 0; \
16908         r=`${PWD_COMMAND}`; export r; \
16909         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16910         $(SET_LIB_PATH) \
16911         $(HOST_EXPORTS) \
16912         for flag in $(EXTRA_HOST_FLAGS) ; do \
16913           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16914         done; \
16915         echo "Doing mostlyclean in send-pr" ; \
16916         (cd send-pr && \
16917           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16918                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16919                   "RANLIB=$${RANLIB}" \
16920                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16921                   mostlyclean) \
16922           || exit 1
16923
16924 @endif send-pr
16925
16926 .PHONY: maybe-clean-send-pr clean-send-pr
16927 maybe-clean-send-pr:
16928 @if send-pr
16929 maybe-clean-send-pr: clean-send-pr
16930
16931 clean-send-pr: 
16932         @[ -f ./send-pr/Makefile ] || exit 0; \
16933         r=`${PWD_COMMAND}`; export r; \
16934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16935         $(SET_LIB_PATH) \
16936         $(HOST_EXPORTS) \
16937         for flag in $(EXTRA_HOST_FLAGS) ; do \
16938           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16939         done; \
16940         echo "Doing clean in send-pr" ; \
16941         (cd send-pr && \
16942           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16943                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16944                   "RANLIB=$${RANLIB}" \
16945                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16946                   clean) \
16947           || exit 1
16948
16949 @endif send-pr
16950
16951 .PHONY: maybe-distclean-send-pr distclean-send-pr
16952 maybe-distclean-send-pr:
16953 @if send-pr
16954 maybe-distclean-send-pr: distclean-send-pr
16955
16956 distclean-send-pr: 
16957         @[ -f ./send-pr/Makefile ] || exit 0; \
16958         r=`${PWD_COMMAND}`; export r; \
16959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960         $(SET_LIB_PATH) \
16961         $(HOST_EXPORTS) \
16962         for flag in $(EXTRA_HOST_FLAGS) ; do \
16963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16964         done; \
16965         echo "Doing distclean in send-pr" ; \
16966         (cd send-pr && \
16967           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16968                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16969                   "RANLIB=$${RANLIB}" \
16970                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16971                   distclean) \
16972           || exit 1
16973
16974 @endif send-pr
16975
16976 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16977 maybe-maintainer-clean-send-pr:
16978 @if send-pr
16979 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16980
16981 maintainer-clean-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 maintainer-clean 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                   maintainer-clean) \
16997           || exit 1
16998
16999 @endif send-pr
17000
17001
17002 .PHONY: configure-shellutils maybe-configure-shellutils
17003 maybe-configure-shellutils:
17004 @if shellutils
17005 maybe-configure-shellutils: configure-shellutils
17006 configure-shellutils:
17007         @test ! -f shellutils/Makefile || exit 0; \
17008         [ -d shellutils ] || mkdir shellutils; \
17009         r=`${PWD_COMMAND}`; export r; \
17010         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17011         $(HOST_EXPORTS) \
17012         echo Configuring in shellutils; \
17013         cd shellutils || exit 1; \
17014         case $(srcdir) in \
17015           \.) \
17016             srcdiroption="--srcdir=."; \
17017             libsrcdir=".";; \
17018           /* | [A-Za-z]:[\\/]*) \
17019             srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17020             libsrcdir="$$s/shellutils";; \
17021           *) \
17022             srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17023             libsrcdir="$$s/shellutils";; \
17024         esac; \
17025         $(SHELL) $${libsrcdir}/configure \
17026           $(HOST_CONFIGARGS) $${srcdiroption}  \
17027           || exit 1
17028 @endif shellutils
17029
17030 .PHONY: all-shellutils maybe-all-shellutils
17031 maybe-all-shellutils:
17032 @if shellutils
17033 maybe-all-shellutils: all-shellutils
17034 all-shellutils: configure-shellutils
17035         @r=`${PWD_COMMAND}`; export r; \
17036         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17037         $(SET_LIB_PATH) \
17038         $(HOST_EXPORTS) \
17039         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS)  all)
17040 @endif shellutils
17041
17042 .PHONY: check-shellutils maybe-check-shellutils
17043 maybe-check-shellutils:
17044 @if shellutils
17045 maybe-check-shellutils: check-shellutils
17046
17047 check-shellutils:
17048         @r=`${PWD_COMMAND}`; export r; \
17049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17050         $(SET_LIB_PATH) \
17051         $(HOST_EXPORTS) \
17052         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17053
17054 @endif shellutils
17055
17056 .PHONY: install-shellutils maybe-install-shellutils
17057 maybe-install-shellutils:
17058 @if shellutils
17059 maybe-install-shellutils: install-shellutils
17060
17061 install-shellutils: installdirs
17062         @r=`${PWD_COMMAND}`; export r; \
17063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17064         $(SET_LIB_PATH) \
17065         $(HOST_EXPORTS) \
17066         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17067
17068 @endif shellutils
17069
17070 # Other targets (info, dvi, etc.)
17071
17072 .PHONY: maybe-info-shellutils info-shellutils
17073 maybe-info-shellutils:
17074 @if shellutils
17075 maybe-info-shellutils: info-shellutils
17076
17077 info-shellutils: \
17078     configure-shellutils 
17079         @[ -f ./shellutils/Makefile ] || exit 0; \
17080         r=`${PWD_COMMAND}`; export r; \
17081         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17082         $(SET_LIB_PATH) \
17083         $(HOST_EXPORTS) \
17084         for flag in $(EXTRA_HOST_FLAGS) ; do \
17085           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17086         done; \
17087         echo "Doing info in shellutils" ; \
17088         (cd shellutils && \
17089           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17090                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17091                   "RANLIB=$${RANLIB}" \
17092                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17093                   info) \
17094           || exit 1
17095
17096 @endif shellutils
17097
17098 .PHONY: maybe-dvi-shellutils dvi-shellutils
17099 maybe-dvi-shellutils:
17100 @if shellutils
17101 maybe-dvi-shellutils: dvi-shellutils
17102
17103 dvi-shellutils: \
17104     configure-shellutils 
17105         @[ -f ./shellutils/Makefile ] || exit 0; \
17106         r=`${PWD_COMMAND}`; export r; \
17107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17108         $(SET_LIB_PATH) \
17109         $(HOST_EXPORTS) \
17110         for flag in $(EXTRA_HOST_FLAGS) ; do \
17111           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17112         done; \
17113         echo "Doing dvi in shellutils" ; \
17114         (cd shellutils && \
17115           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17116                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17117                   "RANLIB=$${RANLIB}" \
17118                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17119                   dvi) \
17120           || exit 1
17121
17122 @endif shellutils
17123
17124 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17125 maybe-TAGS-shellutils:
17126 @if shellutils
17127 maybe-TAGS-shellutils: TAGS-shellutils
17128
17129 TAGS-shellutils: \
17130     configure-shellutils 
17131         @[ -f ./shellutils/Makefile ] || exit 0; \
17132         r=`${PWD_COMMAND}`; export r; \
17133         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17134         $(SET_LIB_PATH) \
17135         $(HOST_EXPORTS) \
17136         for flag in $(EXTRA_HOST_FLAGS) ; do \
17137           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17138         done; \
17139         echo "Doing TAGS in shellutils" ; \
17140         (cd shellutils && \
17141           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17142                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17143                   "RANLIB=$${RANLIB}" \
17144                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17145                   TAGS) \
17146           || exit 1
17147
17148 @endif shellutils
17149
17150 .PHONY: maybe-install-info-shellutils install-info-shellutils
17151 maybe-install-info-shellutils:
17152 @if shellutils
17153 maybe-install-info-shellutils: install-info-shellutils
17154
17155 install-info-shellutils: \
17156     configure-shellutils \
17157     info-shellutils 
17158         @[ -f ./shellutils/Makefile ] || exit 0; \
17159         r=`${PWD_COMMAND}`; export r; \
17160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17161         $(SET_LIB_PATH) \
17162         $(HOST_EXPORTS) \
17163         for flag in $(EXTRA_HOST_FLAGS) ; do \
17164           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17165         done; \
17166         echo "Doing install-info in shellutils" ; \
17167         (cd shellutils && \
17168           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17169                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17170                   "RANLIB=$${RANLIB}" \
17171                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17172                   install-info) \
17173           || exit 1
17174
17175 @endif shellutils
17176
17177 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17178 maybe-installcheck-shellutils:
17179 @if shellutils
17180 maybe-installcheck-shellutils: installcheck-shellutils
17181
17182 installcheck-shellutils: \
17183     configure-shellutils 
17184         @[ -f ./shellutils/Makefile ] || exit 0; \
17185         r=`${PWD_COMMAND}`; export r; \
17186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17187         $(SET_LIB_PATH) \
17188         $(HOST_EXPORTS) \
17189         for flag in $(EXTRA_HOST_FLAGS) ; do \
17190           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17191         done; \
17192         echo "Doing installcheck in shellutils" ; \
17193         (cd shellutils && \
17194           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17195                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17196                   "RANLIB=$${RANLIB}" \
17197                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17198                   installcheck) \
17199           || exit 1
17200
17201 @endif shellutils
17202
17203 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17204 maybe-mostlyclean-shellutils:
17205 @if shellutils
17206 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17207
17208 mostlyclean-shellutils: 
17209         @[ -f ./shellutils/Makefile ] || exit 0; \
17210         r=`${PWD_COMMAND}`; export r; \
17211         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17212         $(SET_LIB_PATH) \
17213         $(HOST_EXPORTS) \
17214         for flag in $(EXTRA_HOST_FLAGS) ; do \
17215           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17216         done; \
17217         echo "Doing mostlyclean in shellutils" ; \
17218         (cd shellutils && \
17219           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17220                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17221                   "RANLIB=$${RANLIB}" \
17222                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17223                   mostlyclean) \
17224           || exit 1
17225
17226 @endif shellutils
17227
17228 .PHONY: maybe-clean-shellutils clean-shellutils
17229 maybe-clean-shellutils:
17230 @if shellutils
17231 maybe-clean-shellutils: clean-shellutils
17232
17233 clean-shellutils: 
17234         @[ -f ./shellutils/Makefile ] || exit 0; \
17235         r=`${PWD_COMMAND}`; export r; \
17236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17237         $(SET_LIB_PATH) \
17238         $(HOST_EXPORTS) \
17239         for flag in $(EXTRA_HOST_FLAGS) ; do \
17240           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17241         done; \
17242         echo "Doing clean in shellutils" ; \
17243         (cd shellutils && \
17244           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17245                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17246                   "RANLIB=$${RANLIB}" \
17247                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17248                   clean) \
17249           || exit 1
17250
17251 @endif shellutils
17252
17253 .PHONY: maybe-distclean-shellutils distclean-shellutils
17254 maybe-distclean-shellutils:
17255 @if shellutils
17256 maybe-distclean-shellutils: distclean-shellutils
17257
17258 distclean-shellutils: 
17259         @[ -f ./shellutils/Makefile ] || exit 0; \
17260         r=`${PWD_COMMAND}`; export r; \
17261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17262         $(SET_LIB_PATH) \
17263         $(HOST_EXPORTS) \
17264         for flag in $(EXTRA_HOST_FLAGS) ; do \
17265           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17266         done; \
17267         echo "Doing distclean in shellutils" ; \
17268         (cd shellutils && \
17269           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17270                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17271                   "RANLIB=$${RANLIB}" \
17272                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17273                   distclean) \
17274           || exit 1
17275
17276 @endif shellutils
17277
17278 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17279 maybe-maintainer-clean-shellutils:
17280 @if shellutils
17281 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17282
17283 maintainer-clean-shellutils: 
17284         @[ -f ./shellutils/Makefile ] || exit 0; \
17285         r=`${PWD_COMMAND}`; export r; \
17286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17287         $(SET_LIB_PATH) \
17288         $(HOST_EXPORTS) \
17289         for flag in $(EXTRA_HOST_FLAGS) ; do \
17290           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17291         done; \
17292         echo "Doing maintainer-clean in shellutils" ; \
17293         (cd shellutils && \
17294           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17295                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17296                   "RANLIB=$${RANLIB}" \
17297                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17298                   maintainer-clean) \
17299           || exit 1
17300
17301 @endif shellutils
17302
17303
17304 .PHONY: configure-sid maybe-configure-sid
17305 maybe-configure-sid:
17306 @if sid
17307 maybe-configure-sid: configure-sid
17308 configure-sid:
17309         @test ! -f sid/Makefile || exit 0; \
17310         [ -d sid ] || mkdir sid; \
17311         r=`${PWD_COMMAND}`; export r; \
17312         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17313         $(HOST_EXPORTS) \
17314         echo Configuring in sid; \
17315         cd sid || exit 1; \
17316         case $(srcdir) in \
17317           \.) \
17318             srcdiroption="--srcdir=."; \
17319             libsrcdir=".";; \
17320           /* | [A-Za-z]:[\\/]*) \
17321             srcdiroption="--srcdir=$(srcdir)/sid"; \
17322             libsrcdir="$$s/sid";; \
17323           *) \
17324             srcdiroption="--srcdir=../$(srcdir)/sid"; \
17325             libsrcdir="$$s/sid";; \
17326         esac; \
17327         $(SHELL) $${libsrcdir}/configure \
17328           $(HOST_CONFIGARGS) $${srcdiroption}  \
17329           || exit 1
17330 @endif sid
17331
17332 .PHONY: all-sid maybe-all-sid
17333 maybe-all-sid:
17334 @if sid
17335 maybe-all-sid: all-sid
17336 all-sid: configure-sid
17337         @r=`${PWD_COMMAND}`; export r; \
17338         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17339         $(SET_LIB_PATH) \
17340         $(HOST_EXPORTS) \
17341         (cd sid && $(MAKE) $(FLAGS_TO_PASS)  all)
17342 @endif sid
17343
17344 .PHONY: check-sid maybe-check-sid
17345 maybe-check-sid:
17346 @if sid
17347 maybe-check-sid: check-sid
17348
17349 check-sid:
17350         @r=`${PWD_COMMAND}`; export r; \
17351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17352         $(SET_LIB_PATH) \
17353         $(HOST_EXPORTS) \
17354         (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17355
17356 @endif sid
17357
17358 .PHONY: install-sid maybe-install-sid
17359 maybe-install-sid:
17360 @if sid
17361 maybe-install-sid: install-sid
17362
17363 install-sid: installdirs
17364         @r=`${PWD_COMMAND}`; export r; \
17365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17366         $(SET_LIB_PATH) \
17367         $(HOST_EXPORTS) \
17368         (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17369
17370 @endif sid
17371
17372 # Other targets (info, dvi, etc.)
17373
17374 .PHONY: maybe-info-sid info-sid
17375 maybe-info-sid:
17376 @if sid
17377 maybe-info-sid: info-sid
17378
17379 info-sid: \
17380     configure-sid 
17381         @[ -f ./sid/Makefile ] || exit 0; \
17382         r=`${PWD_COMMAND}`; export r; \
17383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17384         $(SET_LIB_PATH) \
17385         $(HOST_EXPORTS) \
17386         for flag in $(EXTRA_HOST_FLAGS) ; do \
17387           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17388         done; \
17389         echo "Doing info in sid" ; \
17390         (cd sid && \
17391           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17392                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17393                   "RANLIB=$${RANLIB}" \
17394                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17395                   info) \
17396           || exit 1
17397
17398 @endif sid
17399
17400 .PHONY: maybe-dvi-sid dvi-sid
17401 maybe-dvi-sid:
17402 @if sid
17403 maybe-dvi-sid: dvi-sid
17404
17405 dvi-sid: \
17406     configure-sid 
17407         @[ -f ./sid/Makefile ] || exit 0; \
17408         r=`${PWD_COMMAND}`; export r; \
17409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17410         $(SET_LIB_PATH) \
17411         $(HOST_EXPORTS) \
17412         for flag in $(EXTRA_HOST_FLAGS) ; do \
17413           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17414         done; \
17415         echo "Doing dvi in sid" ; \
17416         (cd sid && \
17417           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17418                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17419                   "RANLIB=$${RANLIB}" \
17420                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17421                   dvi) \
17422           || exit 1
17423
17424 @endif sid
17425
17426 .PHONY: maybe-TAGS-sid TAGS-sid
17427 maybe-TAGS-sid:
17428 @if sid
17429 maybe-TAGS-sid: TAGS-sid
17430
17431 TAGS-sid: \
17432     configure-sid 
17433         @[ -f ./sid/Makefile ] || exit 0; \
17434         r=`${PWD_COMMAND}`; export r; \
17435         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17436         $(SET_LIB_PATH) \
17437         $(HOST_EXPORTS) \
17438         for flag in $(EXTRA_HOST_FLAGS) ; do \
17439           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17440         done; \
17441         echo "Doing TAGS in sid" ; \
17442         (cd sid && \
17443           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17444                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17445                   "RANLIB=$${RANLIB}" \
17446                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17447                   TAGS) \
17448           || exit 1
17449
17450 @endif sid
17451
17452 .PHONY: maybe-install-info-sid install-info-sid
17453 maybe-install-info-sid:
17454 @if sid
17455 maybe-install-info-sid: install-info-sid
17456
17457 install-info-sid: \
17458     configure-sid \
17459     info-sid 
17460         @[ -f ./sid/Makefile ] || exit 0; \
17461         r=`${PWD_COMMAND}`; export r; \
17462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17463         $(SET_LIB_PATH) \
17464         $(HOST_EXPORTS) \
17465         for flag in $(EXTRA_HOST_FLAGS) ; do \
17466           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17467         done; \
17468         echo "Doing install-info in sid" ; \
17469         (cd sid && \
17470           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17471                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17472                   "RANLIB=$${RANLIB}" \
17473                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17474                   install-info) \
17475           || exit 1
17476
17477 @endif sid
17478
17479 .PHONY: maybe-installcheck-sid installcheck-sid
17480 maybe-installcheck-sid:
17481 @if sid
17482 maybe-installcheck-sid: installcheck-sid
17483
17484 installcheck-sid: \
17485     configure-sid 
17486         @[ -f ./sid/Makefile ] || exit 0; \
17487         r=`${PWD_COMMAND}`; export r; \
17488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17489         $(SET_LIB_PATH) \
17490         $(HOST_EXPORTS) \
17491         for flag in $(EXTRA_HOST_FLAGS) ; do \
17492           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17493         done; \
17494         echo "Doing installcheck in sid" ; \
17495         (cd sid && \
17496           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17497                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17498                   "RANLIB=$${RANLIB}" \
17499                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17500                   installcheck) \
17501           || exit 1
17502
17503 @endif sid
17504
17505 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17506 maybe-mostlyclean-sid:
17507 @if sid
17508 maybe-mostlyclean-sid: mostlyclean-sid
17509
17510 mostlyclean-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 mostlyclean 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                   mostlyclean) \
17526           || exit 1
17527
17528 @endif sid
17529
17530 .PHONY: maybe-clean-sid clean-sid
17531 maybe-clean-sid:
17532 @if sid
17533 maybe-clean-sid: clean-sid
17534
17535 clean-sid: 
17536         @[ -f ./sid/Makefile ] || exit 0; \
17537         r=`${PWD_COMMAND}`; export r; \
17538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17539         $(SET_LIB_PATH) \
17540         $(HOST_EXPORTS) \
17541         for flag in $(EXTRA_HOST_FLAGS) ; do \
17542           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17543         done; \
17544         echo "Doing clean in sid" ; \
17545         (cd sid && \
17546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17548                   "RANLIB=$${RANLIB}" \
17549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17550                   clean) \
17551           || exit 1
17552
17553 @endif sid
17554
17555 .PHONY: maybe-distclean-sid distclean-sid
17556 maybe-distclean-sid:
17557 @if sid
17558 maybe-distclean-sid: distclean-sid
17559
17560 distclean-sid: 
17561         @[ -f ./sid/Makefile ] || exit 0; \
17562         r=`${PWD_COMMAND}`; export r; \
17563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17564         $(SET_LIB_PATH) \
17565         $(HOST_EXPORTS) \
17566         for flag in $(EXTRA_HOST_FLAGS) ; do \
17567           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17568         done; \
17569         echo "Doing distclean in sid" ; \
17570         (cd sid && \
17571           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17572                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17573                   "RANLIB=$${RANLIB}" \
17574                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17575                   distclean) \
17576           || exit 1
17577
17578 @endif sid
17579
17580 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17581 maybe-maintainer-clean-sid:
17582 @if sid
17583 maybe-maintainer-clean-sid: maintainer-clean-sid
17584
17585 maintainer-clean-sid: 
17586         @[ -f ./sid/Makefile ] || exit 0; \
17587         r=`${PWD_COMMAND}`; export r; \
17588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17589         $(SET_LIB_PATH) \
17590         $(HOST_EXPORTS) \
17591         for flag in $(EXTRA_HOST_FLAGS) ; do \
17592           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17593         done; \
17594         echo "Doing maintainer-clean in sid" ; \
17595         (cd sid && \
17596           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17597                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17598                   "RANLIB=$${RANLIB}" \
17599                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17600                   maintainer-clean) \
17601           || exit 1
17602
17603 @endif sid
17604
17605
17606 .PHONY: configure-sim maybe-configure-sim
17607 maybe-configure-sim:
17608 @if sim
17609 maybe-configure-sim: configure-sim
17610 configure-sim:
17611         @test ! -f sim/Makefile || exit 0; \
17612         [ -d sim ] || mkdir sim; \
17613         r=`${PWD_COMMAND}`; export r; \
17614         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17615         $(HOST_EXPORTS) \
17616         echo Configuring in sim; \
17617         cd sim || exit 1; \
17618         case $(srcdir) in \
17619           \.) \
17620             srcdiroption="--srcdir=."; \
17621             libsrcdir=".";; \
17622           /* | [A-Za-z]:[\\/]*) \
17623             srcdiroption="--srcdir=$(srcdir)/sim"; \
17624             libsrcdir="$$s/sim";; \
17625           *) \
17626             srcdiroption="--srcdir=../$(srcdir)/sim"; \
17627             libsrcdir="$$s/sim";; \
17628         esac; \
17629         $(SHELL) $${libsrcdir}/configure \
17630           $(HOST_CONFIGARGS) $${srcdiroption}  \
17631           || exit 1
17632 @endif sim
17633
17634 .PHONY: all-sim maybe-all-sim
17635 maybe-all-sim:
17636 @if sim
17637 maybe-all-sim: all-sim
17638 all-sim: configure-sim
17639         @r=`${PWD_COMMAND}`; export r; \
17640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17641         $(SET_LIB_PATH) \
17642         $(HOST_EXPORTS) \
17643         (cd sim && $(MAKE) $(FLAGS_TO_PASS)  all)
17644 @endif sim
17645
17646 .PHONY: check-sim maybe-check-sim
17647 maybe-check-sim:
17648 @if sim
17649 maybe-check-sim: check-sim
17650
17651 check-sim:
17652         @r=`${PWD_COMMAND}`; export r; \
17653         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654         $(SET_LIB_PATH) \
17655         $(HOST_EXPORTS) \
17656         (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17657
17658 @endif sim
17659
17660 .PHONY: install-sim maybe-install-sim
17661 maybe-install-sim:
17662 @if sim
17663 maybe-install-sim: install-sim
17664
17665 install-sim: installdirs
17666         @r=`${PWD_COMMAND}`; export r; \
17667         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17668         $(SET_LIB_PATH) \
17669         $(HOST_EXPORTS) \
17670         (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17671
17672 @endif sim
17673
17674 # Other targets (info, dvi, etc.)
17675
17676 .PHONY: maybe-info-sim info-sim
17677 maybe-info-sim:
17678 @if sim
17679 maybe-info-sim: info-sim
17680
17681 info-sim: \
17682     configure-sim 
17683         @[ -f ./sim/Makefile ] || exit 0; \
17684         r=`${PWD_COMMAND}`; export r; \
17685         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17686         $(SET_LIB_PATH) \
17687         $(HOST_EXPORTS) \
17688         for flag in $(EXTRA_HOST_FLAGS) ; do \
17689           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17690         done; \
17691         echo "Doing info in sim" ; \
17692         (cd sim && \
17693           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17694                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17695                   "RANLIB=$${RANLIB}" \
17696                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17697                   info) \
17698           || exit 1
17699
17700 @endif sim
17701
17702 .PHONY: maybe-dvi-sim dvi-sim
17703 maybe-dvi-sim:
17704 @if sim
17705 maybe-dvi-sim: dvi-sim
17706
17707 dvi-sim: \
17708     configure-sim 
17709         @[ -f ./sim/Makefile ] || exit 0; \
17710         r=`${PWD_COMMAND}`; export r; \
17711         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17712         $(SET_LIB_PATH) \
17713         $(HOST_EXPORTS) \
17714         for flag in $(EXTRA_HOST_FLAGS) ; do \
17715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17716         done; \
17717         echo "Doing dvi in sim" ; \
17718         (cd sim && \
17719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17721                   "RANLIB=$${RANLIB}" \
17722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17723                   dvi) \
17724           || exit 1
17725
17726 @endif sim
17727
17728 .PHONY: maybe-TAGS-sim TAGS-sim
17729 maybe-TAGS-sim:
17730 @if sim
17731 maybe-TAGS-sim: TAGS-sim
17732
17733 TAGS-sim: \
17734     configure-sim 
17735         @[ -f ./sim/Makefile ] || exit 0; \
17736         r=`${PWD_COMMAND}`; export r; \
17737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17738         $(SET_LIB_PATH) \
17739         $(HOST_EXPORTS) \
17740         for flag in $(EXTRA_HOST_FLAGS) ; do \
17741           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17742         done; \
17743         echo "Doing TAGS in sim" ; \
17744         (cd sim && \
17745           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17746                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17747                   "RANLIB=$${RANLIB}" \
17748                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17749                   TAGS) \
17750           || exit 1
17751
17752 @endif sim
17753
17754 .PHONY: maybe-install-info-sim install-info-sim
17755 maybe-install-info-sim:
17756 @if sim
17757 maybe-install-info-sim: install-info-sim
17758
17759 install-info-sim: \
17760     configure-sim \
17761     info-sim 
17762         @[ -f ./sim/Makefile ] || exit 0; \
17763         r=`${PWD_COMMAND}`; export r; \
17764         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17765         $(SET_LIB_PATH) \
17766         $(HOST_EXPORTS) \
17767         for flag in $(EXTRA_HOST_FLAGS) ; do \
17768           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17769         done; \
17770         echo "Doing install-info in sim" ; \
17771         (cd sim && \
17772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17774                   "RANLIB=$${RANLIB}" \
17775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17776                   install-info) \
17777           || exit 1
17778
17779 @endif sim
17780
17781 .PHONY: maybe-installcheck-sim installcheck-sim
17782 maybe-installcheck-sim:
17783 @if sim
17784 maybe-installcheck-sim: installcheck-sim
17785
17786 installcheck-sim: \
17787     configure-sim 
17788         @[ -f ./sim/Makefile ] || exit 0; \
17789         r=`${PWD_COMMAND}`; export r; \
17790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791         $(SET_LIB_PATH) \
17792         $(HOST_EXPORTS) \
17793         for flag in $(EXTRA_HOST_FLAGS) ; do \
17794           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17795         done; \
17796         echo "Doing installcheck in sim" ; \
17797         (cd sim && \
17798           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17799                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17800                   "RANLIB=$${RANLIB}" \
17801                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17802                   installcheck) \
17803           || exit 1
17804
17805 @endif sim
17806
17807 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17808 maybe-mostlyclean-sim:
17809 @if sim
17810 maybe-mostlyclean-sim: mostlyclean-sim
17811
17812 mostlyclean-sim: 
17813         @[ -f ./sim/Makefile ] || exit 0; \
17814         r=`${PWD_COMMAND}`; export r; \
17815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17816         $(SET_LIB_PATH) \
17817         $(HOST_EXPORTS) \
17818         for flag in $(EXTRA_HOST_FLAGS) ; do \
17819           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17820         done; \
17821         echo "Doing mostlyclean in sim" ; \
17822         (cd sim && \
17823           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17824                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17825                   "RANLIB=$${RANLIB}" \
17826                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17827                   mostlyclean) \
17828           || exit 1
17829
17830 @endif sim
17831
17832 .PHONY: maybe-clean-sim clean-sim
17833 maybe-clean-sim:
17834 @if sim
17835 maybe-clean-sim: clean-sim
17836
17837 clean-sim: 
17838         @[ -f ./sim/Makefile ] || exit 0; \
17839         r=`${PWD_COMMAND}`; export r; \
17840         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17841         $(SET_LIB_PATH) \
17842         $(HOST_EXPORTS) \
17843         for flag in $(EXTRA_HOST_FLAGS) ; do \
17844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17845         done; \
17846         echo "Doing clean in sim" ; \
17847         (cd sim && \
17848           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17849                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17850                   "RANLIB=$${RANLIB}" \
17851                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17852                   clean) \
17853           || exit 1
17854
17855 @endif sim
17856
17857 .PHONY: maybe-distclean-sim distclean-sim
17858 maybe-distclean-sim:
17859 @if sim
17860 maybe-distclean-sim: distclean-sim
17861
17862 distclean-sim: 
17863         @[ -f ./sim/Makefile ] || exit 0; \
17864         r=`${PWD_COMMAND}`; export r; \
17865         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17866         $(SET_LIB_PATH) \
17867         $(HOST_EXPORTS) \
17868         for flag in $(EXTRA_HOST_FLAGS) ; do \
17869           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17870         done; \
17871         echo "Doing distclean in sim" ; \
17872         (cd sim && \
17873           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17874                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17875                   "RANLIB=$${RANLIB}" \
17876                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17877                   distclean) \
17878           || exit 1
17879
17880 @endif sim
17881
17882 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17883 maybe-maintainer-clean-sim:
17884 @if sim
17885 maybe-maintainer-clean-sim: maintainer-clean-sim
17886
17887 maintainer-clean-sim: 
17888         @[ -f ./sim/Makefile ] || exit 0; \
17889         r=`${PWD_COMMAND}`; export r; \
17890         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17891         $(SET_LIB_PATH) \
17892         $(HOST_EXPORTS) \
17893         for flag in $(EXTRA_HOST_FLAGS) ; do \
17894           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17895         done; \
17896         echo "Doing maintainer-clean in sim" ; \
17897         (cd sim && \
17898           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17899                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17900                   "RANLIB=$${RANLIB}" \
17901                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17902                   maintainer-clean) \
17903           || exit 1
17904
17905 @endif sim
17906
17907
17908 .PHONY: configure-tar maybe-configure-tar
17909 maybe-configure-tar:
17910 @if tar
17911 maybe-configure-tar: configure-tar
17912 configure-tar:
17913         @test ! -f tar/Makefile || exit 0; \
17914         [ -d tar ] || mkdir tar; \
17915         r=`${PWD_COMMAND}`; export r; \
17916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17917         $(HOST_EXPORTS) \
17918         echo Configuring in tar; \
17919         cd tar || exit 1; \
17920         case $(srcdir) in \
17921           \.) \
17922             srcdiroption="--srcdir=."; \
17923             libsrcdir=".";; \
17924           /* | [A-Za-z]:[\\/]*) \
17925             srcdiroption="--srcdir=$(srcdir)/tar"; \
17926             libsrcdir="$$s/tar";; \
17927           *) \
17928             srcdiroption="--srcdir=../$(srcdir)/tar"; \
17929             libsrcdir="$$s/tar";; \
17930         esac; \
17931         $(SHELL) $${libsrcdir}/configure \
17932           $(HOST_CONFIGARGS) $${srcdiroption}  \
17933           || exit 1
17934 @endif tar
17935
17936 .PHONY: all-tar maybe-all-tar
17937 maybe-all-tar:
17938 @if tar
17939 maybe-all-tar: all-tar
17940 all-tar: configure-tar
17941         @r=`${PWD_COMMAND}`; export r; \
17942         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17943         $(SET_LIB_PATH) \
17944         $(HOST_EXPORTS) \
17945         (cd tar && $(MAKE) $(FLAGS_TO_PASS)  all)
17946 @endif tar
17947
17948 .PHONY: check-tar maybe-check-tar
17949 maybe-check-tar:
17950 @if tar
17951 maybe-check-tar: check-tar
17952
17953 check-tar:
17954         @r=`${PWD_COMMAND}`; export r; \
17955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17956         $(SET_LIB_PATH) \
17957         $(HOST_EXPORTS) \
17958         (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17959
17960 @endif tar
17961
17962 .PHONY: install-tar maybe-install-tar
17963 maybe-install-tar:
17964 @if tar
17965 maybe-install-tar: install-tar
17966
17967 install-tar: installdirs
17968         @r=`${PWD_COMMAND}`; export r; \
17969         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17970         $(SET_LIB_PATH) \
17971         $(HOST_EXPORTS) \
17972         (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17973
17974 @endif tar
17975
17976 # Other targets (info, dvi, etc.)
17977
17978 .PHONY: maybe-info-tar info-tar
17979 maybe-info-tar:
17980 @if tar
17981 maybe-info-tar: info-tar
17982
17983 info-tar: \
17984     configure-tar 
17985         @[ -f ./tar/Makefile ] || exit 0; \
17986         r=`${PWD_COMMAND}`; export r; \
17987         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17988         $(SET_LIB_PATH) \
17989         $(HOST_EXPORTS) \
17990         for flag in $(EXTRA_HOST_FLAGS) ; do \
17991           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17992         done; \
17993         echo "Doing info in tar" ; \
17994         (cd tar && \
17995           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17996                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17997                   "RANLIB=$${RANLIB}" \
17998                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17999                   info) \
18000           || exit 1
18001
18002 @endif tar
18003
18004 .PHONY: maybe-dvi-tar dvi-tar
18005 maybe-dvi-tar:
18006 @if tar
18007 maybe-dvi-tar: dvi-tar
18008
18009 dvi-tar: \
18010     configure-tar 
18011         @[ -f ./tar/Makefile ] || exit 0; \
18012         r=`${PWD_COMMAND}`; export r; \
18013         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18014         $(SET_LIB_PATH) \
18015         $(HOST_EXPORTS) \
18016         for flag in $(EXTRA_HOST_FLAGS) ; do \
18017           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18018         done; \
18019         echo "Doing dvi in tar" ; \
18020         (cd tar && \
18021           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18022                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18023                   "RANLIB=$${RANLIB}" \
18024                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18025                   dvi) \
18026           || exit 1
18027
18028 @endif tar
18029
18030 .PHONY: maybe-TAGS-tar TAGS-tar
18031 maybe-TAGS-tar:
18032 @if tar
18033 maybe-TAGS-tar: TAGS-tar
18034
18035 TAGS-tar: \
18036     configure-tar 
18037         @[ -f ./tar/Makefile ] || exit 0; \
18038         r=`${PWD_COMMAND}`; export r; \
18039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18040         $(SET_LIB_PATH) \
18041         $(HOST_EXPORTS) \
18042         for flag in $(EXTRA_HOST_FLAGS) ; do \
18043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18044         done; \
18045         echo "Doing TAGS in tar" ; \
18046         (cd tar && \
18047           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18048                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18049                   "RANLIB=$${RANLIB}" \
18050                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18051                   TAGS) \
18052           || exit 1
18053
18054 @endif tar
18055
18056 .PHONY: maybe-install-info-tar install-info-tar
18057 maybe-install-info-tar:
18058 @if tar
18059 maybe-install-info-tar: install-info-tar
18060
18061 install-info-tar: \
18062     configure-tar \
18063     info-tar 
18064         @[ -f ./tar/Makefile ] || exit 0; \
18065         r=`${PWD_COMMAND}`; export r; \
18066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18067         $(SET_LIB_PATH) \
18068         $(HOST_EXPORTS) \
18069         for flag in $(EXTRA_HOST_FLAGS) ; do \
18070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18071         done; \
18072         echo "Doing install-info in tar" ; \
18073         (cd tar && \
18074           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18075                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18076                   "RANLIB=$${RANLIB}" \
18077                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18078                   install-info) \
18079           || exit 1
18080
18081 @endif tar
18082
18083 .PHONY: maybe-installcheck-tar installcheck-tar
18084 maybe-installcheck-tar:
18085 @if tar
18086 maybe-installcheck-tar: installcheck-tar
18087
18088 installcheck-tar: \
18089     configure-tar 
18090         @[ -f ./tar/Makefile ] || exit 0; \
18091         r=`${PWD_COMMAND}`; export r; \
18092         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18093         $(SET_LIB_PATH) \
18094         $(HOST_EXPORTS) \
18095         for flag in $(EXTRA_HOST_FLAGS) ; do \
18096           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18097         done; \
18098         echo "Doing installcheck in tar" ; \
18099         (cd tar && \
18100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18102                   "RANLIB=$${RANLIB}" \
18103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18104                   installcheck) \
18105           || exit 1
18106
18107 @endif tar
18108
18109 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18110 maybe-mostlyclean-tar:
18111 @if tar
18112 maybe-mostlyclean-tar: mostlyclean-tar
18113
18114 mostlyclean-tar: 
18115         @[ -f ./tar/Makefile ] || exit 0; \
18116         r=`${PWD_COMMAND}`; export r; \
18117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18118         $(SET_LIB_PATH) \
18119         $(HOST_EXPORTS) \
18120         for flag in $(EXTRA_HOST_FLAGS) ; do \
18121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18122         done; \
18123         echo "Doing mostlyclean in tar" ; \
18124         (cd tar && \
18125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18127                   "RANLIB=$${RANLIB}" \
18128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18129                   mostlyclean) \
18130           || exit 1
18131
18132 @endif tar
18133
18134 .PHONY: maybe-clean-tar clean-tar
18135 maybe-clean-tar:
18136 @if tar
18137 maybe-clean-tar: clean-tar
18138
18139 clean-tar: 
18140         @[ -f ./tar/Makefile ] || exit 0; \
18141         r=`${PWD_COMMAND}`; export r; \
18142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18143         $(SET_LIB_PATH) \
18144         $(HOST_EXPORTS) \
18145         for flag in $(EXTRA_HOST_FLAGS) ; do \
18146           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18147         done; \
18148         echo "Doing clean in tar" ; \
18149         (cd tar && \
18150           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18151                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18152                   "RANLIB=$${RANLIB}" \
18153                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18154                   clean) \
18155           || exit 1
18156
18157 @endif tar
18158
18159 .PHONY: maybe-distclean-tar distclean-tar
18160 maybe-distclean-tar:
18161 @if tar
18162 maybe-distclean-tar: distclean-tar
18163
18164 distclean-tar: 
18165         @[ -f ./tar/Makefile ] || exit 0; \
18166         r=`${PWD_COMMAND}`; export r; \
18167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18168         $(SET_LIB_PATH) \
18169         $(HOST_EXPORTS) \
18170         for flag in $(EXTRA_HOST_FLAGS) ; do \
18171           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18172         done; \
18173         echo "Doing distclean in tar" ; \
18174         (cd tar && \
18175           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18176                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18177                   "RANLIB=$${RANLIB}" \
18178                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18179                   distclean) \
18180           || exit 1
18181
18182 @endif tar
18183
18184 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18185 maybe-maintainer-clean-tar:
18186 @if tar
18187 maybe-maintainer-clean-tar: maintainer-clean-tar
18188
18189 maintainer-clean-tar: 
18190         @[ -f ./tar/Makefile ] || exit 0; \
18191         r=`${PWD_COMMAND}`; export r; \
18192         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18193         $(SET_LIB_PATH) \
18194         $(HOST_EXPORTS) \
18195         for flag in $(EXTRA_HOST_FLAGS) ; do \
18196           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18197         done; \
18198         echo "Doing maintainer-clean in tar" ; \
18199         (cd tar && \
18200           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18201                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18202                   "RANLIB=$${RANLIB}" \
18203                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18204                   maintainer-clean) \
18205           || exit 1
18206
18207 @endif tar
18208
18209
18210 .PHONY: configure-texinfo maybe-configure-texinfo
18211 maybe-configure-texinfo:
18212 @if texinfo
18213 maybe-configure-texinfo: configure-texinfo
18214 configure-texinfo:
18215         @test ! -f texinfo/Makefile || exit 0; \
18216         [ -d texinfo ] || mkdir texinfo; \
18217         r=`${PWD_COMMAND}`; export r; \
18218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18219         $(HOST_EXPORTS) \
18220         echo Configuring in texinfo; \
18221         cd texinfo || exit 1; \
18222         case $(srcdir) in \
18223           \.) \
18224             srcdiroption="--srcdir=."; \
18225             libsrcdir=".";; \
18226           /* | [A-Za-z]:[\\/]*) \
18227             srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18228             libsrcdir="$$s/texinfo";; \
18229           *) \
18230             srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18231             libsrcdir="$$s/texinfo";; \
18232         esac; \
18233         $(SHELL) $${libsrcdir}/configure \
18234           $(HOST_CONFIGARGS) $${srcdiroption}  \
18235           || exit 1
18236 @endif texinfo
18237
18238 .PHONY: all-texinfo maybe-all-texinfo
18239 maybe-all-texinfo:
18240 @if texinfo
18241 maybe-all-texinfo: all-texinfo
18242 all-texinfo: configure-texinfo
18243         @r=`${PWD_COMMAND}`; export r; \
18244         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18245         $(SET_LIB_PATH) \
18246         $(HOST_EXPORTS) \
18247         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS)  all)
18248 @endif texinfo
18249
18250 .PHONY: check-texinfo maybe-check-texinfo
18251 maybe-check-texinfo:
18252 @if texinfo
18253 maybe-check-texinfo: check-texinfo
18254
18255 check-texinfo:
18256         @r=`${PWD_COMMAND}`; export r; \
18257         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18258         $(SET_LIB_PATH) \
18259         $(HOST_EXPORTS) \
18260         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18261
18262 @endif texinfo
18263
18264 .PHONY: install-texinfo maybe-install-texinfo
18265 maybe-install-texinfo:
18266 @if texinfo
18267 maybe-install-texinfo: install-texinfo
18268
18269 install-texinfo:
18270
18271 @endif texinfo
18272
18273 # Other targets (info, dvi, etc.)
18274
18275 .PHONY: maybe-info-texinfo info-texinfo
18276 maybe-info-texinfo:
18277 @if texinfo
18278 maybe-info-texinfo: info-texinfo
18279
18280 info-texinfo: \
18281     configure-texinfo 
18282         @[ -f ./texinfo/Makefile ] || exit 0; \
18283         r=`${PWD_COMMAND}`; export r; \
18284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285         $(SET_LIB_PATH) \
18286         $(HOST_EXPORTS) \
18287         for flag in $(EXTRA_HOST_FLAGS) ; do \
18288           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18289         done; \
18290         echo "Doing info in texinfo" ; \
18291         (cd texinfo && \
18292           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18293                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18294                   "RANLIB=$${RANLIB}" \
18295                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18296                   info) \
18297           || exit 1
18298
18299 @endif texinfo
18300
18301 .PHONY: maybe-dvi-texinfo dvi-texinfo
18302 maybe-dvi-texinfo:
18303 @if texinfo
18304 maybe-dvi-texinfo: dvi-texinfo
18305
18306 dvi-texinfo: \
18307     configure-texinfo 
18308         @[ -f ./texinfo/Makefile ] || exit 0; \
18309         r=`${PWD_COMMAND}`; export r; \
18310         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18311         $(SET_LIB_PATH) \
18312         $(HOST_EXPORTS) \
18313         for flag in $(EXTRA_HOST_FLAGS) ; do \
18314           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18315         done; \
18316         echo "Doing dvi in texinfo" ; \
18317         (cd texinfo && \
18318           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18319                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18320                   "RANLIB=$${RANLIB}" \
18321                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18322                   dvi) \
18323           || exit 1
18324
18325 @endif texinfo
18326
18327 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18328 maybe-TAGS-texinfo:
18329 @if texinfo
18330 maybe-TAGS-texinfo: TAGS-texinfo
18331
18332 TAGS-texinfo: \
18333     configure-texinfo 
18334         @[ -f ./texinfo/Makefile ] || exit 0; \
18335         r=`${PWD_COMMAND}`; export r; \
18336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18337         $(SET_LIB_PATH) \
18338         $(HOST_EXPORTS) \
18339         for flag in $(EXTRA_HOST_FLAGS) ; do \
18340           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18341         done; \
18342         echo "Doing TAGS in texinfo" ; \
18343         (cd texinfo && \
18344           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18345                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18346                   "RANLIB=$${RANLIB}" \
18347                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18348                   TAGS) \
18349           || exit 1
18350
18351 @endif texinfo
18352
18353 .PHONY: maybe-install-info-texinfo install-info-texinfo
18354 maybe-install-info-texinfo:
18355 @if texinfo
18356 maybe-install-info-texinfo: install-info-texinfo
18357
18358 install-info-texinfo: \
18359     configure-texinfo \
18360     info-texinfo 
18361         @[ -f ./texinfo/Makefile ] || exit 0; \
18362         r=`${PWD_COMMAND}`; export r; \
18363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18364         $(SET_LIB_PATH) \
18365         $(HOST_EXPORTS) \
18366         for flag in $(EXTRA_HOST_FLAGS) ; do \
18367           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18368         done; \
18369         echo "Doing install-info in texinfo" ; \
18370         (cd texinfo && \
18371           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18372                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18373                   "RANLIB=$${RANLIB}" \
18374                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18375                   install-info) \
18376           || exit 1
18377
18378 @endif texinfo
18379
18380 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18381 maybe-installcheck-texinfo:
18382 @if texinfo
18383 maybe-installcheck-texinfo: installcheck-texinfo
18384
18385 installcheck-texinfo: \
18386     configure-texinfo 
18387         @[ -f ./texinfo/Makefile ] || exit 0; \
18388         r=`${PWD_COMMAND}`; export r; \
18389         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18390         $(SET_LIB_PATH) \
18391         $(HOST_EXPORTS) \
18392         for flag in $(EXTRA_HOST_FLAGS) ; do \
18393           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18394         done; \
18395         echo "Doing installcheck in texinfo" ; \
18396         (cd texinfo && \
18397           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18398                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18399                   "RANLIB=$${RANLIB}" \
18400                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18401                   installcheck) \
18402           || exit 1
18403
18404 @endif texinfo
18405
18406 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18407 maybe-mostlyclean-texinfo:
18408 @if texinfo
18409 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18410
18411 mostlyclean-texinfo: 
18412         @[ -f ./texinfo/Makefile ] || exit 0; \
18413         r=`${PWD_COMMAND}`; export r; \
18414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18415         $(SET_LIB_PATH) \
18416         $(HOST_EXPORTS) \
18417         for flag in $(EXTRA_HOST_FLAGS) ; do \
18418           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18419         done; \
18420         echo "Doing mostlyclean in texinfo" ; \
18421         (cd texinfo && \
18422           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18423                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18424                   "RANLIB=$${RANLIB}" \
18425                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18426                   mostlyclean) \
18427           || exit 1
18428
18429 @endif texinfo
18430
18431 .PHONY: maybe-clean-texinfo clean-texinfo
18432 maybe-clean-texinfo:
18433 @if texinfo
18434 maybe-clean-texinfo: clean-texinfo
18435
18436 clean-texinfo: 
18437         @[ -f ./texinfo/Makefile ] || exit 0; \
18438         r=`${PWD_COMMAND}`; export r; \
18439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440         $(SET_LIB_PATH) \
18441         $(HOST_EXPORTS) \
18442         for flag in $(EXTRA_HOST_FLAGS) ; do \
18443           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18444         done; \
18445         echo "Doing clean in texinfo" ; \
18446         (cd texinfo && \
18447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18449                   "RANLIB=$${RANLIB}" \
18450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18451                   clean) \
18452           || exit 1
18453
18454 @endif texinfo
18455
18456 .PHONY: maybe-distclean-texinfo distclean-texinfo
18457 maybe-distclean-texinfo:
18458 @if texinfo
18459 maybe-distclean-texinfo: distclean-texinfo
18460
18461 distclean-texinfo: 
18462         @[ -f ./texinfo/Makefile ] || exit 0; \
18463         r=`${PWD_COMMAND}`; export r; \
18464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18465         $(SET_LIB_PATH) \
18466         $(HOST_EXPORTS) \
18467         for flag in $(EXTRA_HOST_FLAGS) ; do \
18468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18469         done; \
18470         echo "Doing distclean in texinfo" ; \
18471         (cd texinfo && \
18472           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18473                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18474                   "RANLIB=$${RANLIB}" \
18475                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18476                   distclean) \
18477           || exit 1
18478
18479 @endif texinfo
18480
18481 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18482 maybe-maintainer-clean-texinfo:
18483 @if texinfo
18484 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18485
18486 maintainer-clean-texinfo: 
18487         @[ -f ./texinfo/Makefile ] || exit 0; \
18488         r=`${PWD_COMMAND}`; export r; \
18489         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490         $(SET_LIB_PATH) \
18491         $(HOST_EXPORTS) \
18492         for flag in $(EXTRA_HOST_FLAGS) ; do \
18493           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18494         done; \
18495         echo "Doing maintainer-clean in texinfo" ; \
18496         (cd texinfo && \
18497           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18498                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18499                   "RANLIB=$${RANLIB}" \
18500                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18501                   maintainer-clean) \
18502           || exit 1
18503
18504 @endif texinfo
18505
18506
18507 .PHONY: configure-textutils maybe-configure-textutils
18508 maybe-configure-textutils:
18509 @if textutils
18510 maybe-configure-textutils: configure-textutils
18511 configure-textutils:
18512         @test ! -f textutils/Makefile || exit 0; \
18513         [ -d textutils ] || mkdir textutils; \
18514         r=`${PWD_COMMAND}`; export r; \
18515         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18516         $(HOST_EXPORTS) \
18517         echo Configuring in textutils; \
18518         cd textutils || exit 1; \
18519         case $(srcdir) in \
18520           \.) \
18521             srcdiroption="--srcdir=."; \
18522             libsrcdir=".";; \
18523           /* | [A-Za-z]:[\\/]*) \
18524             srcdiroption="--srcdir=$(srcdir)/textutils"; \
18525             libsrcdir="$$s/textutils";; \
18526           *) \
18527             srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18528             libsrcdir="$$s/textutils";; \
18529         esac; \
18530         $(SHELL) $${libsrcdir}/configure \
18531           $(HOST_CONFIGARGS) $${srcdiroption}  \
18532           || exit 1
18533 @endif textutils
18534
18535 .PHONY: all-textutils maybe-all-textutils
18536 maybe-all-textutils:
18537 @if textutils
18538 maybe-all-textutils: all-textutils
18539 all-textutils: configure-textutils
18540         @r=`${PWD_COMMAND}`; export r; \
18541         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542         $(SET_LIB_PATH) \
18543         $(HOST_EXPORTS) \
18544         (cd textutils && $(MAKE) $(FLAGS_TO_PASS)  all)
18545 @endif textutils
18546
18547 .PHONY: check-textutils maybe-check-textutils
18548 maybe-check-textutils:
18549 @if textutils
18550 maybe-check-textutils: check-textutils
18551
18552 check-textutils:
18553         @r=`${PWD_COMMAND}`; export r; \
18554         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18555         $(SET_LIB_PATH) \
18556         $(HOST_EXPORTS) \
18557         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18558
18559 @endif textutils
18560
18561 .PHONY: install-textutils maybe-install-textutils
18562 maybe-install-textutils:
18563 @if textutils
18564 maybe-install-textutils: install-textutils
18565
18566 install-textutils: installdirs
18567         @r=`${PWD_COMMAND}`; export r; \
18568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18569         $(SET_LIB_PATH) \
18570         $(HOST_EXPORTS) \
18571         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18572
18573 @endif textutils
18574
18575 # Other targets (info, dvi, etc.)
18576
18577 .PHONY: maybe-info-textutils info-textutils
18578 maybe-info-textutils:
18579 @if textutils
18580 maybe-info-textutils: info-textutils
18581
18582 info-textutils: \
18583     configure-textutils 
18584         @[ -f ./textutils/Makefile ] || exit 0; \
18585         r=`${PWD_COMMAND}`; export r; \
18586         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18587         $(SET_LIB_PATH) \
18588         $(HOST_EXPORTS) \
18589         for flag in $(EXTRA_HOST_FLAGS) ; do \
18590           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18591         done; \
18592         echo "Doing info in textutils" ; \
18593         (cd textutils && \
18594           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18595                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18596                   "RANLIB=$${RANLIB}" \
18597                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18598                   info) \
18599           || exit 1
18600
18601 @endif textutils
18602
18603 .PHONY: maybe-dvi-textutils dvi-textutils
18604 maybe-dvi-textutils:
18605 @if textutils
18606 maybe-dvi-textutils: dvi-textutils
18607
18608 dvi-textutils: \
18609     configure-textutils 
18610         @[ -f ./textutils/Makefile ] || exit 0; \
18611         r=`${PWD_COMMAND}`; export r; \
18612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18613         $(SET_LIB_PATH) \
18614         $(HOST_EXPORTS) \
18615         for flag in $(EXTRA_HOST_FLAGS) ; do \
18616           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18617         done; \
18618         echo "Doing dvi in textutils" ; \
18619         (cd textutils && \
18620           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18621                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18622                   "RANLIB=$${RANLIB}" \
18623                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18624                   dvi) \
18625           || exit 1
18626
18627 @endif textutils
18628
18629 .PHONY: maybe-TAGS-textutils TAGS-textutils
18630 maybe-TAGS-textutils:
18631 @if textutils
18632 maybe-TAGS-textutils: TAGS-textutils
18633
18634 TAGS-textutils: \
18635     configure-textutils 
18636         @[ -f ./textutils/Makefile ] || exit 0; \
18637         r=`${PWD_COMMAND}`; export r; \
18638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18639         $(SET_LIB_PATH) \
18640         $(HOST_EXPORTS) \
18641         for flag in $(EXTRA_HOST_FLAGS) ; do \
18642           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18643         done; \
18644         echo "Doing TAGS in textutils" ; \
18645         (cd textutils && \
18646           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18647                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18648                   "RANLIB=$${RANLIB}" \
18649                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18650                   TAGS) \
18651           || exit 1
18652
18653 @endif textutils
18654
18655 .PHONY: maybe-install-info-textutils install-info-textutils
18656 maybe-install-info-textutils:
18657 @if textutils
18658 maybe-install-info-textutils: install-info-textutils
18659
18660 install-info-textutils: \
18661     configure-textutils \
18662     info-textutils 
18663         @[ -f ./textutils/Makefile ] || exit 0; \
18664         r=`${PWD_COMMAND}`; export r; \
18665         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18666         $(SET_LIB_PATH) \
18667         $(HOST_EXPORTS) \
18668         for flag in $(EXTRA_HOST_FLAGS) ; do \
18669           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18670         done; \
18671         echo "Doing install-info in textutils" ; \
18672         (cd textutils && \
18673           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18674                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18675                   "RANLIB=$${RANLIB}" \
18676                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18677                   install-info) \
18678           || exit 1
18679
18680 @endif textutils
18681
18682 .PHONY: maybe-installcheck-textutils installcheck-textutils
18683 maybe-installcheck-textutils:
18684 @if textutils
18685 maybe-installcheck-textutils: installcheck-textutils
18686
18687 installcheck-textutils: \
18688     configure-textutils 
18689         @[ -f ./textutils/Makefile ] || exit 0; \
18690         r=`${PWD_COMMAND}`; export r; \
18691         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18692         $(SET_LIB_PATH) \
18693         $(HOST_EXPORTS) \
18694         for flag in $(EXTRA_HOST_FLAGS) ; do \
18695           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18696         done; \
18697         echo "Doing installcheck in textutils" ; \
18698         (cd textutils && \
18699           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18700                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18701                   "RANLIB=$${RANLIB}" \
18702                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18703                   installcheck) \
18704           || exit 1
18705
18706 @endif textutils
18707
18708 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18709 maybe-mostlyclean-textutils:
18710 @if textutils
18711 maybe-mostlyclean-textutils: mostlyclean-textutils
18712
18713 mostlyclean-textutils: 
18714         @[ -f ./textutils/Makefile ] || exit 0; \
18715         r=`${PWD_COMMAND}`; export r; \
18716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18717         $(SET_LIB_PATH) \
18718         $(HOST_EXPORTS) \
18719         for flag in $(EXTRA_HOST_FLAGS) ; do \
18720           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18721         done; \
18722         echo "Doing mostlyclean in textutils" ; \
18723         (cd textutils && \
18724           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18725                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18726                   "RANLIB=$${RANLIB}" \
18727                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18728                   mostlyclean) \
18729           || exit 1
18730
18731 @endif textutils
18732
18733 .PHONY: maybe-clean-textutils clean-textutils
18734 maybe-clean-textutils:
18735 @if textutils
18736 maybe-clean-textutils: clean-textutils
18737
18738 clean-textutils: 
18739         @[ -f ./textutils/Makefile ] || exit 0; \
18740         r=`${PWD_COMMAND}`; export r; \
18741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18742         $(SET_LIB_PATH) \
18743         $(HOST_EXPORTS) \
18744         for flag in $(EXTRA_HOST_FLAGS) ; do \
18745           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18746         done; \
18747         echo "Doing clean in textutils" ; \
18748         (cd textutils && \
18749           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18750                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18751                   "RANLIB=$${RANLIB}" \
18752                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18753                   clean) \
18754           || exit 1
18755
18756 @endif textutils
18757
18758 .PHONY: maybe-distclean-textutils distclean-textutils
18759 maybe-distclean-textutils:
18760 @if textutils
18761 maybe-distclean-textutils: distclean-textutils
18762
18763 distclean-textutils: 
18764         @[ -f ./textutils/Makefile ] || exit 0; \
18765         r=`${PWD_COMMAND}`; export r; \
18766         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18767         $(SET_LIB_PATH) \
18768         $(HOST_EXPORTS) \
18769         for flag in $(EXTRA_HOST_FLAGS) ; do \
18770           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18771         done; \
18772         echo "Doing distclean in textutils" ; \
18773         (cd textutils && \
18774           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18775                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18776                   "RANLIB=$${RANLIB}" \
18777                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18778                   distclean) \
18779           || exit 1
18780
18781 @endif textutils
18782
18783 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18784 maybe-maintainer-clean-textutils:
18785 @if textutils
18786 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18787
18788 maintainer-clean-textutils: 
18789         @[ -f ./textutils/Makefile ] || exit 0; \
18790         r=`${PWD_COMMAND}`; export r; \
18791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18792         $(SET_LIB_PATH) \
18793         $(HOST_EXPORTS) \
18794         for flag in $(EXTRA_HOST_FLAGS) ; do \
18795           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18796         done; \
18797         echo "Doing maintainer-clean in textutils" ; \
18798         (cd textutils && \
18799           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18800                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18801                   "RANLIB=$${RANLIB}" \
18802                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18803                   maintainer-clean) \
18804           || exit 1
18805
18806 @endif textutils
18807
18808
18809 .PHONY: configure-time maybe-configure-time
18810 maybe-configure-time:
18811 @if time
18812 maybe-configure-time: configure-time
18813 configure-time:
18814         @test ! -f time/Makefile || exit 0; \
18815         [ -d time ] || mkdir time; \
18816         r=`${PWD_COMMAND}`; export r; \
18817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818         $(HOST_EXPORTS) \
18819         echo Configuring in time; \
18820         cd time || exit 1; \
18821         case $(srcdir) in \
18822           \.) \
18823             srcdiroption="--srcdir=."; \
18824             libsrcdir=".";; \
18825           /* | [A-Za-z]:[\\/]*) \
18826             srcdiroption="--srcdir=$(srcdir)/time"; \
18827             libsrcdir="$$s/time";; \
18828           *) \
18829             srcdiroption="--srcdir=../$(srcdir)/time"; \
18830             libsrcdir="$$s/time";; \
18831         esac; \
18832         $(SHELL) $${libsrcdir}/configure \
18833           $(HOST_CONFIGARGS) $${srcdiroption}  \
18834           || exit 1
18835 @endif time
18836
18837 .PHONY: all-time maybe-all-time
18838 maybe-all-time:
18839 @if time
18840 maybe-all-time: all-time
18841 all-time: configure-time
18842         @r=`${PWD_COMMAND}`; export r; \
18843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18844         $(SET_LIB_PATH) \
18845         $(HOST_EXPORTS) \
18846         (cd time && $(MAKE) $(FLAGS_TO_PASS)  all)
18847 @endif time
18848
18849 .PHONY: check-time maybe-check-time
18850 maybe-check-time:
18851 @if time
18852 maybe-check-time: check-time
18853
18854 check-time:
18855         @r=`${PWD_COMMAND}`; export r; \
18856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18857         $(SET_LIB_PATH) \
18858         $(HOST_EXPORTS) \
18859         (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18860
18861 @endif time
18862
18863 .PHONY: install-time maybe-install-time
18864 maybe-install-time:
18865 @if time
18866 maybe-install-time: install-time
18867
18868 install-time: installdirs
18869         @r=`${PWD_COMMAND}`; export r; \
18870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871         $(SET_LIB_PATH) \
18872         $(HOST_EXPORTS) \
18873         (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18874
18875 @endif time
18876
18877 # Other targets (info, dvi, etc.)
18878
18879 .PHONY: maybe-info-time info-time
18880 maybe-info-time:
18881 @if time
18882 maybe-info-time: info-time
18883
18884 info-time: \
18885     configure-time 
18886         @[ -f ./time/Makefile ] || exit 0; \
18887         r=`${PWD_COMMAND}`; export r; \
18888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18889         $(SET_LIB_PATH) \
18890         $(HOST_EXPORTS) \
18891         for flag in $(EXTRA_HOST_FLAGS) ; do \
18892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18893         done; \
18894         echo "Doing info in time" ; \
18895         (cd time && \
18896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18898                   "RANLIB=$${RANLIB}" \
18899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18900                   info) \
18901           || exit 1
18902
18903 @endif time
18904
18905 .PHONY: maybe-dvi-time dvi-time
18906 maybe-dvi-time:
18907 @if time
18908 maybe-dvi-time: dvi-time
18909
18910 dvi-time: \
18911     configure-time 
18912         @[ -f ./time/Makefile ] || exit 0; \
18913         r=`${PWD_COMMAND}`; export r; \
18914         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18915         $(SET_LIB_PATH) \
18916         $(HOST_EXPORTS) \
18917         for flag in $(EXTRA_HOST_FLAGS) ; do \
18918           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18919         done; \
18920         echo "Doing dvi in time" ; \
18921         (cd time && \
18922           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18923                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18924                   "RANLIB=$${RANLIB}" \
18925                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18926                   dvi) \
18927           || exit 1
18928
18929 @endif time
18930
18931 .PHONY: maybe-TAGS-time TAGS-time
18932 maybe-TAGS-time:
18933 @if time
18934 maybe-TAGS-time: TAGS-time
18935
18936 TAGS-time: \
18937     configure-time 
18938         @[ -f ./time/Makefile ] || exit 0; \
18939         r=`${PWD_COMMAND}`; export r; \
18940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18941         $(SET_LIB_PATH) \
18942         $(HOST_EXPORTS) \
18943         for flag in $(EXTRA_HOST_FLAGS) ; do \
18944           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18945         done; \
18946         echo "Doing TAGS in time" ; \
18947         (cd time && \
18948           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18949                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18950                   "RANLIB=$${RANLIB}" \
18951                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18952                   TAGS) \
18953           || exit 1
18954
18955 @endif time
18956
18957 .PHONY: maybe-install-info-time install-info-time
18958 maybe-install-info-time:
18959 @if time
18960 maybe-install-info-time: install-info-time
18961
18962 install-info-time: \
18963     configure-time \
18964     info-time 
18965         @[ -f ./time/Makefile ] || exit 0; \
18966         r=`${PWD_COMMAND}`; export r; \
18967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968         $(SET_LIB_PATH) \
18969         $(HOST_EXPORTS) \
18970         for flag in $(EXTRA_HOST_FLAGS) ; do \
18971           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18972         done; \
18973         echo "Doing install-info in time" ; \
18974         (cd time && \
18975           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18976                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18977                   "RANLIB=$${RANLIB}" \
18978                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18979                   install-info) \
18980           || exit 1
18981
18982 @endif time
18983
18984 .PHONY: maybe-installcheck-time installcheck-time
18985 maybe-installcheck-time:
18986 @if time
18987 maybe-installcheck-time: installcheck-time
18988
18989 installcheck-time: \
18990     configure-time 
18991         @[ -f ./time/Makefile ] || exit 0; \
18992         r=`${PWD_COMMAND}`; export r; \
18993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18994         $(SET_LIB_PATH) \
18995         $(HOST_EXPORTS) \
18996         for flag in $(EXTRA_HOST_FLAGS) ; do \
18997           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18998         done; \
18999         echo "Doing installcheck in time" ; \
19000         (cd time && \
19001           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19002                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19003                   "RANLIB=$${RANLIB}" \
19004                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19005                   installcheck) \
19006           || exit 1
19007
19008 @endif time
19009
19010 .PHONY: maybe-mostlyclean-time mostlyclean-time
19011 maybe-mostlyclean-time:
19012 @if time
19013 maybe-mostlyclean-time: mostlyclean-time
19014
19015 mostlyclean-time: 
19016         @[ -f ./time/Makefile ] || exit 0; \
19017         r=`${PWD_COMMAND}`; export r; \
19018         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19019         $(SET_LIB_PATH) \
19020         $(HOST_EXPORTS) \
19021         for flag in $(EXTRA_HOST_FLAGS) ; do \
19022           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19023         done; \
19024         echo "Doing mostlyclean in time" ; \
19025         (cd time && \
19026           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19027                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19028                   "RANLIB=$${RANLIB}" \
19029                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19030                   mostlyclean) \
19031           || exit 1
19032
19033 @endif time
19034
19035 .PHONY: maybe-clean-time clean-time
19036 maybe-clean-time:
19037 @if time
19038 maybe-clean-time: clean-time
19039
19040 clean-time: 
19041         @[ -f ./time/Makefile ] || exit 0; \
19042         r=`${PWD_COMMAND}`; export r; \
19043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19044         $(SET_LIB_PATH) \
19045         $(HOST_EXPORTS) \
19046         for flag in $(EXTRA_HOST_FLAGS) ; do \
19047           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19048         done; \
19049         echo "Doing clean in time" ; \
19050         (cd time && \
19051           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19052                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19053                   "RANLIB=$${RANLIB}" \
19054                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19055                   clean) \
19056           || exit 1
19057
19058 @endif time
19059
19060 .PHONY: maybe-distclean-time distclean-time
19061 maybe-distclean-time:
19062 @if time
19063 maybe-distclean-time: distclean-time
19064
19065 distclean-time: 
19066         @[ -f ./time/Makefile ] || exit 0; \
19067         r=`${PWD_COMMAND}`; export r; \
19068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19069         $(SET_LIB_PATH) \
19070         $(HOST_EXPORTS) \
19071         for flag in $(EXTRA_HOST_FLAGS) ; do \
19072           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19073         done; \
19074         echo "Doing distclean in time" ; \
19075         (cd time && \
19076           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19077                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19078                   "RANLIB=$${RANLIB}" \
19079                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19080                   distclean) \
19081           || exit 1
19082
19083 @endif time
19084
19085 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19086 maybe-maintainer-clean-time:
19087 @if time
19088 maybe-maintainer-clean-time: maintainer-clean-time
19089
19090 maintainer-clean-time: 
19091         @[ -f ./time/Makefile ] || exit 0; \
19092         r=`${PWD_COMMAND}`; export r; \
19093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19094         $(SET_LIB_PATH) \
19095         $(HOST_EXPORTS) \
19096         for flag in $(EXTRA_HOST_FLAGS) ; do \
19097           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19098         done; \
19099         echo "Doing maintainer-clean in time" ; \
19100         (cd time && \
19101           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19102                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19103                   "RANLIB=$${RANLIB}" \
19104                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19105                   maintainer-clean) \
19106           || exit 1
19107
19108 @endif time
19109
19110
19111 .PHONY: configure-uudecode maybe-configure-uudecode
19112 maybe-configure-uudecode:
19113 @if uudecode
19114 maybe-configure-uudecode: configure-uudecode
19115 configure-uudecode:
19116         @test ! -f uudecode/Makefile || exit 0; \
19117         [ -d uudecode ] || mkdir uudecode; \
19118         r=`${PWD_COMMAND}`; export r; \
19119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19120         $(HOST_EXPORTS) \
19121         echo Configuring in uudecode; \
19122         cd uudecode || exit 1; \
19123         case $(srcdir) in \
19124           \.) \
19125             srcdiroption="--srcdir=."; \
19126             libsrcdir=".";; \
19127           /* | [A-Za-z]:[\\/]*) \
19128             srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19129             libsrcdir="$$s/uudecode";; \
19130           *) \
19131             srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19132             libsrcdir="$$s/uudecode";; \
19133         esac; \
19134         $(SHELL) $${libsrcdir}/configure \
19135           $(HOST_CONFIGARGS) $${srcdiroption}  \
19136           || exit 1
19137 @endif uudecode
19138
19139 .PHONY: all-uudecode maybe-all-uudecode
19140 maybe-all-uudecode:
19141 @if uudecode
19142 maybe-all-uudecode: all-uudecode
19143 all-uudecode: configure-uudecode
19144         @r=`${PWD_COMMAND}`; export r; \
19145         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19146         $(SET_LIB_PATH) \
19147         $(HOST_EXPORTS) \
19148         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS)  all)
19149 @endif uudecode
19150
19151 .PHONY: check-uudecode maybe-check-uudecode
19152 maybe-check-uudecode:
19153 @if uudecode
19154 maybe-check-uudecode: check-uudecode
19155
19156 check-uudecode:
19157         @r=`${PWD_COMMAND}`; export r; \
19158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19159         $(SET_LIB_PATH) \
19160         $(HOST_EXPORTS) \
19161         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19162
19163 @endif uudecode
19164
19165 .PHONY: install-uudecode maybe-install-uudecode
19166 maybe-install-uudecode:
19167 @if uudecode
19168 maybe-install-uudecode: install-uudecode
19169
19170 install-uudecode: installdirs
19171         @r=`${PWD_COMMAND}`; export r; \
19172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19173         $(SET_LIB_PATH) \
19174         $(HOST_EXPORTS) \
19175         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19176
19177 @endif uudecode
19178
19179 # Other targets (info, dvi, etc.)
19180
19181 .PHONY: maybe-info-uudecode info-uudecode
19182 maybe-info-uudecode:
19183 @if uudecode
19184 maybe-info-uudecode: info-uudecode
19185
19186 info-uudecode: \
19187     configure-uudecode 
19188         @[ -f ./uudecode/Makefile ] || exit 0; \
19189         r=`${PWD_COMMAND}`; export r; \
19190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19191         $(SET_LIB_PATH) \
19192         $(HOST_EXPORTS) \
19193         for flag in $(EXTRA_HOST_FLAGS) ; do \
19194           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19195         done; \
19196         echo "Doing info in uudecode" ; \
19197         (cd uudecode && \
19198           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19199                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19200                   "RANLIB=$${RANLIB}" \
19201                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19202                   info) \
19203           || exit 1
19204
19205 @endif uudecode
19206
19207 .PHONY: maybe-dvi-uudecode dvi-uudecode
19208 maybe-dvi-uudecode:
19209 @if uudecode
19210 maybe-dvi-uudecode: dvi-uudecode
19211
19212 dvi-uudecode: \
19213     configure-uudecode 
19214         @[ -f ./uudecode/Makefile ] || exit 0; \
19215         r=`${PWD_COMMAND}`; export r; \
19216         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19217         $(SET_LIB_PATH) \
19218         $(HOST_EXPORTS) \
19219         for flag in $(EXTRA_HOST_FLAGS) ; do \
19220           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19221         done; \
19222         echo "Doing dvi in uudecode" ; \
19223         (cd uudecode && \
19224           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19225                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19226                   "RANLIB=$${RANLIB}" \
19227                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19228                   dvi) \
19229           || exit 1
19230
19231 @endif uudecode
19232
19233 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19234 maybe-TAGS-uudecode:
19235 @if uudecode
19236 maybe-TAGS-uudecode: TAGS-uudecode
19237
19238 TAGS-uudecode: \
19239     configure-uudecode 
19240         @[ -f ./uudecode/Makefile ] || exit 0; \
19241         r=`${PWD_COMMAND}`; export r; \
19242         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19243         $(SET_LIB_PATH) \
19244         $(HOST_EXPORTS) \
19245         for flag in $(EXTRA_HOST_FLAGS) ; do \
19246           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19247         done; \
19248         echo "Doing TAGS in uudecode" ; \
19249         (cd uudecode && \
19250           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19251                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19252                   "RANLIB=$${RANLIB}" \
19253                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19254                   TAGS) \
19255           || exit 1
19256
19257 @endif uudecode
19258
19259 .PHONY: maybe-install-info-uudecode install-info-uudecode
19260 maybe-install-info-uudecode:
19261 @if uudecode
19262 maybe-install-info-uudecode: install-info-uudecode
19263
19264 install-info-uudecode: \
19265     configure-uudecode \
19266     info-uudecode 
19267         @[ -f ./uudecode/Makefile ] || exit 0; \
19268         r=`${PWD_COMMAND}`; export r; \
19269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270         $(SET_LIB_PATH) \
19271         $(HOST_EXPORTS) \
19272         for flag in $(EXTRA_HOST_FLAGS) ; do \
19273           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19274         done; \
19275         echo "Doing install-info in uudecode" ; \
19276         (cd uudecode && \
19277           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19278                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19279                   "RANLIB=$${RANLIB}" \
19280                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19281                   install-info) \
19282           || exit 1
19283
19284 @endif uudecode
19285
19286 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19287 maybe-installcheck-uudecode:
19288 @if uudecode
19289 maybe-installcheck-uudecode: installcheck-uudecode
19290
19291 installcheck-uudecode: \
19292     configure-uudecode 
19293         @[ -f ./uudecode/Makefile ] || exit 0; \
19294         r=`${PWD_COMMAND}`; export r; \
19295         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19296         $(SET_LIB_PATH) \
19297         $(HOST_EXPORTS) \
19298         for flag in $(EXTRA_HOST_FLAGS) ; do \
19299           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19300         done; \
19301         echo "Doing installcheck in uudecode" ; \
19302         (cd uudecode && \
19303           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19304                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19305                   "RANLIB=$${RANLIB}" \
19306                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19307                   installcheck) \
19308           || exit 1
19309
19310 @endif uudecode
19311
19312 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19313 maybe-mostlyclean-uudecode:
19314 @if uudecode
19315 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19316
19317 mostlyclean-uudecode: 
19318         @[ -f ./uudecode/Makefile ] || exit 0; \
19319         r=`${PWD_COMMAND}`; export r; \
19320         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19321         $(SET_LIB_PATH) \
19322         $(HOST_EXPORTS) \
19323         for flag in $(EXTRA_HOST_FLAGS) ; do \
19324           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19325         done; \
19326         echo "Doing mostlyclean in uudecode" ; \
19327         (cd uudecode && \
19328           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19329                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19330                   "RANLIB=$${RANLIB}" \
19331                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19332                   mostlyclean) \
19333           || exit 1
19334
19335 @endif uudecode
19336
19337 .PHONY: maybe-clean-uudecode clean-uudecode
19338 maybe-clean-uudecode:
19339 @if uudecode
19340 maybe-clean-uudecode: clean-uudecode
19341
19342 clean-uudecode: 
19343         @[ -f ./uudecode/Makefile ] || exit 0; \
19344         r=`${PWD_COMMAND}`; export r; \
19345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19346         $(SET_LIB_PATH) \
19347         $(HOST_EXPORTS) \
19348         for flag in $(EXTRA_HOST_FLAGS) ; do \
19349           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19350         done; \
19351         echo "Doing clean in uudecode" ; \
19352         (cd uudecode && \
19353           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19354                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19355                   "RANLIB=$${RANLIB}" \
19356                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19357                   clean) \
19358           || exit 1
19359
19360 @endif uudecode
19361
19362 .PHONY: maybe-distclean-uudecode distclean-uudecode
19363 maybe-distclean-uudecode:
19364 @if uudecode
19365 maybe-distclean-uudecode: distclean-uudecode
19366
19367 distclean-uudecode: 
19368         @[ -f ./uudecode/Makefile ] || exit 0; \
19369         r=`${PWD_COMMAND}`; export r; \
19370         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19371         $(SET_LIB_PATH) \
19372         $(HOST_EXPORTS) \
19373         for flag in $(EXTRA_HOST_FLAGS) ; do \
19374           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19375         done; \
19376         echo "Doing distclean in uudecode" ; \
19377         (cd uudecode && \
19378           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19379                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19380                   "RANLIB=$${RANLIB}" \
19381                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19382                   distclean) \
19383           || exit 1
19384
19385 @endif uudecode
19386
19387 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19388 maybe-maintainer-clean-uudecode:
19389 @if uudecode
19390 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19391
19392 maintainer-clean-uudecode: 
19393         @[ -f ./uudecode/Makefile ] || exit 0; \
19394         r=`${PWD_COMMAND}`; export r; \
19395         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19396         $(SET_LIB_PATH) \
19397         $(HOST_EXPORTS) \
19398         for flag in $(EXTRA_HOST_FLAGS) ; do \
19399           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19400         done; \
19401         echo "Doing maintainer-clean in uudecode" ; \
19402         (cd uudecode && \
19403           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19404                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19405                   "RANLIB=$${RANLIB}" \
19406                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19407                   maintainer-clean) \
19408           || exit 1
19409
19410 @endif uudecode
19411
19412
19413 .PHONY: configure-wdiff maybe-configure-wdiff
19414 maybe-configure-wdiff:
19415 @if wdiff
19416 maybe-configure-wdiff: configure-wdiff
19417 configure-wdiff:
19418         @test ! -f wdiff/Makefile || exit 0; \
19419         [ -d wdiff ] || mkdir wdiff; \
19420         r=`${PWD_COMMAND}`; export r; \
19421         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19422         $(HOST_EXPORTS) \
19423         echo Configuring in wdiff; \
19424         cd wdiff || exit 1; \
19425         case $(srcdir) in \
19426           \.) \
19427             srcdiroption="--srcdir=."; \
19428             libsrcdir=".";; \
19429           /* | [A-Za-z]:[\\/]*) \
19430             srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19431             libsrcdir="$$s/wdiff";; \
19432           *) \
19433             srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19434             libsrcdir="$$s/wdiff";; \
19435         esac; \
19436         $(SHELL) $${libsrcdir}/configure \
19437           $(HOST_CONFIGARGS) $${srcdiroption}  \
19438           || exit 1
19439 @endif wdiff
19440
19441 .PHONY: all-wdiff maybe-all-wdiff
19442 maybe-all-wdiff:
19443 @if wdiff
19444 maybe-all-wdiff: all-wdiff
19445 all-wdiff: configure-wdiff
19446         @r=`${PWD_COMMAND}`; export r; \
19447         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19448         $(SET_LIB_PATH) \
19449         $(HOST_EXPORTS) \
19450         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS)  all)
19451 @endif wdiff
19452
19453 .PHONY: check-wdiff maybe-check-wdiff
19454 maybe-check-wdiff:
19455 @if wdiff
19456 maybe-check-wdiff: check-wdiff
19457
19458 check-wdiff:
19459         @r=`${PWD_COMMAND}`; export r; \
19460         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19461         $(SET_LIB_PATH) \
19462         $(HOST_EXPORTS) \
19463         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19464
19465 @endif wdiff
19466
19467 .PHONY: install-wdiff maybe-install-wdiff
19468 maybe-install-wdiff:
19469 @if wdiff
19470 maybe-install-wdiff: install-wdiff
19471
19472 install-wdiff: installdirs
19473         @r=`${PWD_COMMAND}`; export r; \
19474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19475         $(SET_LIB_PATH) \
19476         $(HOST_EXPORTS) \
19477         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19478
19479 @endif wdiff
19480
19481 # Other targets (info, dvi, etc.)
19482
19483 .PHONY: maybe-info-wdiff info-wdiff
19484 maybe-info-wdiff:
19485 @if wdiff
19486 maybe-info-wdiff: info-wdiff
19487
19488 info-wdiff: \
19489     configure-wdiff 
19490         @[ -f ./wdiff/Makefile ] || exit 0; \
19491         r=`${PWD_COMMAND}`; export r; \
19492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19493         $(SET_LIB_PATH) \
19494         $(HOST_EXPORTS) \
19495         for flag in $(EXTRA_HOST_FLAGS) ; do \
19496           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19497         done; \
19498         echo "Doing info in wdiff" ; \
19499         (cd wdiff && \
19500           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19501                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19502                   "RANLIB=$${RANLIB}" \
19503                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19504                   info) \
19505           || exit 1
19506
19507 @endif wdiff
19508
19509 .PHONY: maybe-dvi-wdiff dvi-wdiff
19510 maybe-dvi-wdiff:
19511 @if wdiff
19512 maybe-dvi-wdiff: dvi-wdiff
19513
19514 dvi-wdiff: \
19515     configure-wdiff 
19516         @[ -f ./wdiff/Makefile ] || exit 0; \
19517         r=`${PWD_COMMAND}`; export r; \
19518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19519         $(SET_LIB_PATH) \
19520         $(HOST_EXPORTS) \
19521         for flag in $(EXTRA_HOST_FLAGS) ; do \
19522           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19523         done; \
19524         echo "Doing dvi in wdiff" ; \
19525         (cd wdiff && \
19526           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19527                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19528                   "RANLIB=$${RANLIB}" \
19529                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19530                   dvi) \
19531           || exit 1
19532
19533 @endif wdiff
19534
19535 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19536 maybe-TAGS-wdiff:
19537 @if wdiff
19538 maybe-TAGS-wdiff: TAGS-wdiff
19539
19540 TAGS-wdiff: \
19541     configure-wdiff 
19542         @[ -f ./wdiff/Makefile ] || exit 0; \
19543         r=`${PWD_COMMAND}`; export r; \
19544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19545         $(SET_LIB_PATH) \
19546         $(HOST_EXPORTS) \
19547         for flag in $(EXTRA_HOST_FLAGS) ; do \
19548           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19549         done; \
19550         echo "Doing TAGS in wdiff" ; \
19551         (cd wdiff && \
19552           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19553                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19554                   "RANLIB=$${RANLIB}" \
19555                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19556                   TAGS) \
19557           || exit 1
19558
19559 @endif wdiff
19560
19561 .PHONY: maybe-install-info-wdiff install-info-wdiff
19562 maybe-install-info-wdiff:
19563 @if wdiff
19564 maybe-install-info-wdiff: install-info-wdiff
19565
19566 install-info-wdiff: \
19567     configure-wdiff \
19568     info-wdiff 
19569         @[ -f ./wdiff/Makefile ] || exit 0; \
19570         r=`${PWD_COMMAND}`; export r; \
19571         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19572         $(SET_LIB_PATH) \
19573         $(HOST_EXPORTS) \
19574         for flag in $(EXTRA_HOST_FLAGS) ; do \
19575           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19576         done; \
19577         echo "Doing install-info in wdiff" ; \
19578         (cd wdiff && \
19579           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19580                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19581                   "RANLIB=$${RANLIB}" \
19582                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19583                   install-info) \
19584           || exit 1
19585
19586 @endif wdiff
19587
19588 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19589 maybe-installcheck-wdiff:
19590 @if wdiff
19591 maybe-installcheck-wdiff: installcheck-wdiff
19592
19593 installcheck-wdiff: \
19594     configure-wdiff 
19595         @[ -f ./wdiff/Makefile ] || exit 0; \
19596         r=`${PWD_COMMAND}`; export r; \
19597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19598         $(SET_LIB_PATH) \
19599         $(HOST_EXPORTS) \
19600         for flag in $(EXTRA_HOST_FLAGS) ; do \
19601           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19602         done; \
19603         echo "Doing installcheck in wdiff" ; \
19604         (cd wdiff && \
19605           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19606                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19607                   "RANLIB=$${RANLIB}" \
19608                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19609                   installcheck) \
19610           || exit 1
19611
19612 @endif wdiff
19613
19614 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19615 maybe-mostlyclean-wdiff:
19616 @if wdiff
19617 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19618
19619 mostlyclean-wdiff: 
19620         @[ -f ./wdiff/Makefile ] || exit 0; \
19621         r=`${PWD_COMMAND}`; export r; \
19622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19623         $(SET_LIB_PATH) \
19624         $(HOST_EXPORTS) \
19625         for flag in $(EXTRA_HOST_FLAGS) ; do \
19626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19627         done; \
19628         echo "Doing mostlyclean in wdiff" ; \
19629         (cd wdiff && \
19630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19632                   "RANLIB=$${RANLIB}" \
19633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19634                   mostlyclean) \
19635           || exit 1
19636
19637 @endif wdiff
19638
19639 .PHONY: maybe-clean-wdiff clean-wdiff
19640 maybe-clean-wdiff:
19641 @if wdiff
19642 maybe-clean-wdiff: clean-wdiff
19643
19644 clean-wdiff: 
19645         @[ -f ./wdiff/Makefile ] || exit 0; \
19646         r=`${PWD_COMMAND}`; export r; \
19647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19648         $(SET_LIB_PATH) \
19649         $(HOST_EXPORTS) \
19650         for flag in $(EXTRA_HOST_FLAGS) ; do \
19651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19652         done; \
19653         echo "Doing clean in wdiff" ; \
19654         (cd wdiff && \
19655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19657                   "RANLIB=$${RANLIB}" \
19658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19659                   clean) \
19660           || exit 1
19661
19662 @endif wdiff
19663
19664 .PHONY: maybe-distclean-wdiff distclean-wdiff
19665 maybe-distclean-wdiff:
19666 @if wdiff
19667 maybe-distclean-wdiff: distclean-wdiff
19668
19669 distclean-wdiff: 
19670         @[ -f ./wdiff/Makefile ] || exit 0; \
19671         r=`${PWD_COMMAND}`; export r; \
19672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19673         $(SET_LIB_PATH) \
19674         $(HOST_EXPORTS) \
19675         for flag in $(EXTRA_HOST_FLAGS) ; do \
19676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19677         done; \
19678         echo "Doing distclean in wdiff" ; \
19679         (cd wdiff && \
19680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19682                   "RANLIB=$${RANLIB}" \
19683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19684                   distclean) \
19685           || exit 1
19686
19687 @endif wdiff
19688
19689 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19690 maybe-maintainer-clean-wdiff:
19691 @if wdiff
19692 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19693
19694 maintainer-clean-wdiff: 
19695         @[ -f ./wdiff/Makefile ] || exit 0; \
19696         r=`${PWD_COMMAND}`; export r; \
19697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19698         $(SET_LIB_PATH) \
19699         $(HOST_EXPORTS) \
19700         for flag in $(EXTRA_HOST_FLAGS) ; do \
19701           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19702         done; \
19703         echo "Doing maintainer-clean in wdiff" ; \
19704         (cd wdiff && \
19705           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19706                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19707                   "RANLIB=$${RANLIB}" \
19708                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19709                   maintainer-clean) \
19710           || exit 1
19711
19712 @endif wdiff
19713
19714
19715 .PHONY: configure-zip maybe-configure-zip
19716 maybe-configure-zip:
19717 @if zip
19718 maybe-configure-zip: configure-zip
19719 configure-zip:
19720         @test ! -f zip/Makefile || exit 0; \
19721         [ -d zip ] || mkdir zip; \
19722         r=`${PWD_COMMAND}`; export r; \
19723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19724         $(HOST_EXPORTS) \
19725         echo Configuring in zip; \
19726         cd zip || exit 1; \
19727         case $(srcdir) in \
19728           \.) \
19729             srcdiroption="--srcdir=."; \
19730             libsrcdir=".";; \
19731           /* | [A-Za-z]:[\\/]*) \
19732             srcdiroption="--srcdir=$(srcdir)/zip"; \
19733             libsrcdir="$$s/zip";; \
19734           *) \
19735             srcdiroption="--srcdir=../$(srcdir)/zip"; \
19736             libsrcdir="$$s/zip";; \
19737         esac; \
19738         $(SHELL) $${libsrcdir}/configure \
19739           $(HOST_CONFIGARGS) $${srcdiroption}  \
19740           || exit 1
19741 @endif zip
19742
19743 .PHONY: all-zip maybe-all-zip
19744 maybe-all-zip:
19745 @if zip
19746 maybe-all-zip: all-zip
19747 all-zip: configure-zip
19748         @r=`${PWD_COMMAND}`; export r; \
19749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19750         $(SET_LIB_PATH) \
19751         $(HOST_EXPORTS) \
19752         (cd zip && $(MAKE) $(FLAGS_TO_PASS)  all)
19753 @endif zip
19754
19755 .PHONY: check-zip maybe-check-zip
19756 maybe-check-zip:
19757 @if zip
19758 maybe-check-zip: check-zip
19759
19760 # This module is only tested in a native toolchain.
19761 check-zip:
19762         @if [ '$(host)' = '$(target)' ] ; then \
19763           r=`${PWD_COMMAND}`; export r; \
19764           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765           $(SET_LIB_PATH) \
19766           $(HOST_EXPORTS) \
19767           (cd zip && $(MAKE) $(FLAGS_TO_PASS)  check); \
19768         fi
19769
19770 @endif zip
19771
19772 .PHONY: install-zip maybe-install-zip
19773 maybe-install-zip:
19774 @if zip
19775 maybe-install-zip: install-zip
19776
19777 install-zip: installdirs
19778         @r=`${PWD_COMMAND}`; export r; \
19779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19780         $(SET_LIB_PATH) \
19781         $(HOST_EXPORTS) \
19782         (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19783
19784 @endif zip
19785
19786 # Other targets (info, dvi, etc.)
19787
19788 .PHONY: maybe-info-zip info-zip
19789 maybe-info-zip:
19790 @if zip
19791 maybe-info-zip: info-zip
19792
19793 info-zip: \
19794     configure-zip 
19795         @[ -f ./zip/Makefile ] || exit 0; \
19796         r=`${PWD_COMMAND}`; export r; \
19797         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19798         $(SET_LIB_PATH) \
19799         $(HOST_EXPORTS) \
19800         for flag in $(EXTRA_HOST_FLAGS) ; do \
19801           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19802         done; \
19803         echo "Doing info in zip" ; \
19804         (cd zip && \
19805           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19806                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19807                   "RANLIB=$${RANLIB}" \
19808                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19809                   info) \
19810           || exit 1
19811
19812 @endif zip
19813
19814 .PHONY: maybe-dvi-zip dvi-zip
19815 maybe-dvi-zip:
19816 @if zip
19817 maybe-dvi-zip: dvi-zip
19818
19819 dvi-zip: \
19820     configure-zip 
19821         @[ -f ./zip/Makefile ] || exit 0; \
19822         r=`${PWD_COMMAND}`; export r; \
19823         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824         $(SET_LIB_PATH) \
19825         $(HOST_EXPORTS) \
19826         for flag in $(EXTRA_HOST_FLAGS) ; do \
19827           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19828         done; \
19829         echo "Doing dvi in zip" ; \
19830         (cd zip && \
19831           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19832                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19833                   "RANLIB=$${RANLIB}" \
19834                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19835                   dvi) \
19836           || exit 1
19837
19838 @endif zip
19839
19840 .PHONY: maybe-TAGS-zip TAGS-zip
19841 maybe-TAGS-zip:
19842 @if zip
19843 maybe-TAGS-zip: TAGS-zip
19844
19845 TAGS-zip: \
19846     configure-zip 
19847         @[ -f ./zip/Makefile ] || exit 0; \
19848         r=`${PWD_COMMAND}`; export r; \
19849         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19850         $(SET_LIB_PATH) \
19851         $(HOST_EXPORTS) \
19852         for flag in $(EXTRA_HOST_FLAGS) ; do \
19853           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19854         done; \
19855         echo "Doing TAGS in zip" ; \
19856         (cd zip && \
19857           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19858                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19859                   "RANLIB=$${RANLIB}" \
19860                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19861                   TAGS) \
19862           || exit 1
19863
19864 @endif zip
19865
19866 .PHONY: maybe-install-info-zip install-info-zip
19867 maybe-install-info-zip:
19868 @if zip
19869 maybe-install-info-zip: install-info-zip
19870
19871 install-info-zip: \
19872     configure-zip \
19873     info-zip 
19874         @[ -f ./zip/Makefile ] || exit 0; \
19875         r=`${PWD_COMMAND}`; export r; \
19876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19877         $(SET_LIB_PATH) \
19878         $(HOST_EXPORTS) \
19879         for flag in $(EXTRA_HOST_FLAGS) ; do \
19880           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19881         done; \
19882         echo "Doing install-info in zip" ; \
19883         (cd zip && \
19884           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19885                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19886                   "RANLIB=$${RANLIB}" \
19887                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19888                   install-info) \
19889           || exit 1
19890
19891 @endif zip
19892
19893 .PHONY: maybe-installcheck-zip installcheck-zip
19894 maybe-installcheck-zip:
19895 @if zip
19896 maybe-installcheck-zip: installcheck-zip
19897
19898 installcheck-zip: \
19899     configure-zip 
19900         @[ -f ./zip/Makefile ] || exit 0; \
19901         r=`${PWD_COMMAND}`; export r; \
19902         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19903         $(SET_LIB_PATH) \
19904         $(HOST_EXPORTS) \
19905         for flag in $(EXTRA_HOST_FLAGS) ; do \
19906           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19907         done; \
19908         echo "Doing installcheck in zip" ; \
19909         (cd zip && \
19910           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19911                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19912                   "RANLIB=$${RANLIB}" \
19913                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19914                   installcheck) \
19915           || exit 1
19916
19917 @endif zip
19918
19919 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19920 maybe-mostlyclean-zip:
19921 @if zip
19922 maybe-mostlyclean-zip: mostlyclean-zip
19923
19924 mostlyclean-zip: 
19925         @[ -f ./zip/Makefile ] || exit 0; \
19926         r=`${PWD_COMMAND}`; export r; \
19927         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928         $(SET_LIB_PATH) \
19929         $(HOST_EXPORTS) \
19930         for flag in $(EXTRA_HOST_FLAGS) ; do \
19931           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19932         done; \
19933         echo "Doing mostlyclean in zip" ; \
19934         (cd zip && \
19935           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19936                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19937                   "RANLIB=$${RANLIB}" \
19938                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19939                   mostlyclean) \
19940           || exit 1
19941
19942 @endif zip
19943
19944 .PHONY: maybe-clean-zip clean-zip
19945 maybe-clean-zip:
19946 @if zip
19947 maybe-clean-zip: clean-zip
19948
19949 clean-zip: 
19950         @[ -f ./zip/Makefile ] || exit 0; \
19951         r=`${PWD_COMMAND}`; export r; \
19952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953         $(SET_LIB_PATH) \
19954         $(HOST_EXPORTS) \
19955         for flag in $(EXTRA_HOST_FLAGS) ; do \
19956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19957         done; \
19958         echo "Doing clean in zip" ; \
19959         (cd zip && \
19960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19962                   "RANLIB=$${RANLIB}" \
19963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19964                   clean) \
19965           || exit 1
19966
19967 @endif zip
19968
19969 .PHONY: maybe-distclean-zip distclean-zip
19970 maybe-distclean-zip:
19971 @if zip
19972 maybe-distclean-zip: distclean-zip
19973
19974 distclean-zip: 
19975         @[ -f ./zip/Makefile ] || exit 0; \
19976         r=`${PWD_COMMAND}`; export r; \
19977         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19978         $(SET_LIB_PATH) \
19979         $(HOST_EXPORTS) \
19980         for flag in $(EXTRA_HOST_FLAGS) ; do \
19981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982         done; \
19983         echo "Doing distclean in zip" ; \
19984         (cd zip && \
19985           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987                   "RANLIB=$${RANLIB}" \
19988                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19989                   distclean) \
19990           || exit 1
19991
19992 @endif zip
19993
19994 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19995 maybe-maintainer-clean-zip:
19996 @if zip
19997 maybe-maintainer-clean-zip: maintainer-clean-zip
19998
19999 maintainer-clean-zip: 
20000         @[ -f ./zip/Makefile ] || exit 0; \
20001         r=`${PWD_COMMAND}`; export r; \
20002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20003         $(SET_LIB_PATH) \
20004         $(HOST_EXPORTS) \
20005         for flag in $(EXTRA_HOST_FLAGS) ; do \
20006           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20007         done; \
20008         echo "Doing maintainer-clean in zip" ; \
20009         (cd zip && \
20010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20012                   "RANLIB=$${RANLIB}" \
20013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20014                   maintainer-clean) \
20015           || exit 1
20016
20017 @endif zip
20018
20019
20020 .PHONY: configure-zlib maybe-configure-zlib
20021 maybe-configure-zlib:
20022 @if zlib
20023 maybe-configure-zlib: configure-zlib
20024 configure-zlib:
20025         @test -f stage_last && exit 0; \
20026         test ! -f zlib/Makefile || exit 0; \
20027         [ -d zlib ] || mkdir zlib; \
20028         r=`${PWD_COMMAND}`; export r; \
20029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20030         $(HOST_EXPORTS) \
20031         echo Configuring in zlib; \
20032         cd zlib || exit 1; \
20033         case $(srcdir) in \
20034           \.) \
20035             srcdiroption="--srcdir=."; \
20036             libsrcdir=".";; \
20037           /* | [A-Za-z]:[\\/]*) \
20038             srcdiroption="--srcdir=$(srcdir)/zlib"; \
20039             libsrcdir="$$s/zlib";; \
20040           *) \
20041             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20042             libsrcdir="$$s/zlib";; \
20043         esac; \
20044         $(SHELL) $${libsrcdir}/configure \
20045           $(HOST_CONFIGARGS) $${srcdiroption}  \
20046           || exit 1
20047 @endif zlib
20048
20049 .PHONY: all-zlib maybe-all-zlib
20050 maybe-all-zlib:
20051 @if zlib
20052 maybe-all-zlib: all-zlib
20053 all-zlib: configure-zlib
20054         @test -f stage_last && exit 0; \
20055         r=`${PWD_COMMAND}`; export r; \
20056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057         $(SET_LIB_PATH) \
20058         $(HOST_EXPORTS) \
20059         (cd zlib && $(MAKE) $(FLAGS_TO_PASS)  all)
20060 @endif zlib
20061
20062 .PHONY: check-zlib maybe-check-zlib
20063 maybe-check-zlib:
20064 @if zlib
20065 maybe-check-zlib: check-zlib
20066
20067 check-zlib:
20068
20069 @endif zlib
20070
20071 .PHONY: install-zlib maybe-install-zlib
20072 maybe-install-zlib:
20073 @if zlib
20074 maybe-install-zlib: install-zlib
20075
20076 install-zlib:
20077
20078 @endif zlib
20079
20080 # Other targets (info, dvi, etc.)
20081
20082 .PHONY: maybe-info-zlib info-zlib
20083 maybe-info-zlib:
20084 @if zlib
20085 maybe-info-zlib: info-zlib
20086
20087 info-zlib: \
20088     configure-zlib 
20089         @[ -f ./zlib/Makefile ] || exit 0; \
20090         r=`${PWD_COMMAND}`; export r; \
20091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20092         $(SET_LIB_PATH) \
20093         $(HOST_EXPORTS) \
20094         for flag in $(EXTRA_HOST_FLAGS) ; do \
20095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20096         done; \
20097         echo "Doing info in zlib" ; \
20098         (cd zlib && \
20099           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20100                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20101                   "RANLIB=$${RANLIB}" \
20102                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20103                   info) \
20104           || exit 1
20105
20106 @endif zlib
20107
20108 .PHONY: maybe-dvi-zlib dvi-zlib
20109 maybe-dvi-zlib:
20110 @if zlib
20111 maybe-dvi-zlib: dvi-zlib
20112
20113 dvi-zlib: \
20114     configure-zlib 
20115         @[ -f ./zlib/Makefile ] || exit 0; \
20116         r=`${PWD_COMMAND}`; export r; \
20117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118         $(SET_LIB_PATH) \
20119         $(HOST_EXPORTS) \
20120         for flag in $(EXTRA_HOST_FLAGS) ; do \
20121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20122         done; \
20123         echo "Doing dvi in zlib" ; \
20124         (cd zlib && \
20125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20127                   "RANLIB=$${RANLIB}" \
20128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20129                   dvi) \
20130           || exit 1
20131
20132 @endif zlib
20133
20134 .PHONY: maybe-TAGS-zlib TAGS-zlib
20135 maybe-TAGS-zlib:
20136 @if zlib
20137 maybe-TAGS-zlib: TAGS-zlib
20138
20139 TAGS-zlib: \
20140     configure-zlib 
20141         @[ -f ./zlib/Makefile ] || exit 0; \
20142         r=`${PWD_COMMAND}`; export r; \
20143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20144         $(SET_LIB_PATH) \
20145         $(HOST_EXPORTS) \
20146         for flag in $(EXTRA_HOST_FLAGS) ; do \
20147           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20148         done; \
20149         echo "Doing TAGS in zlib" ; \
20150         (cd zlib && \
20151           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20152                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20153                   "RANLIB=$${RANLIB}" \
20154                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20155                   TAGS) \
20156           || exit 1
20157
20158 @endif zlib
20159
20160 .PHONY: maybe-install-info-zlib install-info-zlib
20161 maybe-install-info-zlib:
20162 @if zlib
20163 maybe-install-info-zlib: install-info-zlib
20164
20165 install-info-zlib: \
20166     configure-zlib \
20167     info-zlib 
20168         @[ -f ./zlib/Makefile ] || exit 0; \
20169         r=`${PWD_COMMAND}`; export r; \
20170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20171         $(SET_LIB_PATH) \
20172         $(HOST_EXPORTS) \
20173         for flag in $(EXTRA_HOST_FLAGS) ; do \
20174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20175         done; \
20176         echo "Doing install-info in zlib" ; \
20177         (cd zlib && \
20178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20180                   "RANLIB=$${RANLIB}" \
20181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20182                   install-info) \
20183           || exit 1
20184
20185 @endif zlib
20186
20187 .PHONY: maybe-installcheck-zlib installcheck-zlib
20188 maybe-installcheck-zlib:
20189 @if zlib
20190 maybe-installcheck-zlib: installcheck-zlib
20191
20192 installcheck-zlib: \
20193     configure-zlib 
20194         @[ -f ./zlib/Makefile ] || exit 0; \
20195         r=`${PWD_COMMAND}`; export r; \
20196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20197         $(SET_LIB_PATH) \
20198         $(HOST_EXPORTS) \
20199         for flag in $(EXTRA_HOST_FLAGS) ; do \
20200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20201         done; \
20202         echo "Doing installcheck in zlib" ; \
20203         (cd zlib && \
20204           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20205                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20206                   "RANLIB=$${RANLIB}" \
20207                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20208                   installcheck) \
20209           || exit 1
20210
20211 @endif zlib
20212
20213 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20214 maybe-mostlyclean-zlib:
20215 @if zlib
20216 maybe-mostlyclean-zlib: mostlyclean-zlib
20217
20218 mostlyclean-zlib: 
20219         @[ -f ./zlib/Makefile ] || exit 0; \
20220         r=`${PWD_COMMAND}`; export r; \
20221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20222         $(SET_LIB_PATH) \
20223         $(HOST_EXPORTS) \
20224         for flag in $(EXTRA_HOST_FLAGS) ; do \
20225           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20226         done; \
20227         echo "Doing mostlyclean in zlib" ; \
20228         (cd zlib && \
20229           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20230                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20231                   "RANLIB=$${RANLIB}" \
20232                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20233                   mostlyclean) \
20234           || exit 1
20235
20236 @endif zlib
20237
20238 .PHONY: maybe-clean-zlib clean-zlib
20239 maybe-clean-zlib:
20240 @if zlib
20241 maybe-clean-zlib: clean-zlib
20242
20243 clean-zlib: 
20244         @[ -f ./zlib/Makefile ] || exit 0; \
20245         r=`${PWD_COMMAND}`; export r; \
20246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20247         $(SET_LIB_PATH) \
20248         $(HOST_EXPORTS) \
20249         for flag in $(EXTRA_HOST_FLAGS) ; do \
20250           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20251         done; \
20252         echo "Doing clean in zlib" ; \
20253         (cd zlib && \
20254           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20255                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20256                   "RANLIB=$${RANLIB}" \
20257                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20258                   clean) \
20259           || exit 1
20260
20261 @endif zlib
20262
20263 .PHONY: maybe-distclean-zlib distclean-zlib
20264 maybe-distclean-zlib:
20265 @if zlib
20266 maybe-distclean-zlib: distclean-zlib
20267
20268 distclean-zlib: 
20269         @[ -f ./zlib/Makefile ] || exit 0; \
20270         r=`${PWD_COMMAND}`; export r; \
20271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20272         $(SET_LIB_PATH) \
20273         $(HOST_EXPORTS) \
20274         for flag in $(EXTRA_HOST_FLAGS) ; do \
20275           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20276         done; \
20277         echo "Doing distclean in zlib" ; \
20278         (cd zlib && \
20279           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20280                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20281                   "RANLIB=$${RANLIB}" \
20282                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20283                   distclean) \
20284           || exit 1
20285
20286 @endif zlib
20287
20288 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20289 maybe-maintainer-clean-zlib:
20290 @if zlib
20291 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20292
20293 maintainer-clean-zlib: 
20294         @[ -f ./zlib/Makefile ] || exit 0; \
20295         r=`${PWD_COMMAND}`; export r; \
20296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20297         $(SET_LIB_PATH) \
20298         $(HOST_EXPORTS) \
20299         for flag in $(EXTRA_HOST_FLAGS) ; do \
20300           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20301         done; \
20302         echo "Doing maintainer-clean in zlib" ; \
20303         (cd zlib && \
20304           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20305                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20306                   "RANLIB=$${RANLIB}" \
20307                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20308                   maintainer-clean) \
20309           || exit 1
20310
20311 @endif zlib
20312
20313
20314 .PHONY: configure-gdb maybe-configure-gdb
20315 maybe-configure-gdb:
20316 @if gdb
20317 maybe-configure-gdb: configure-gdb
20318 configure-gdb:
20319         @test ! -f gdb/Makefile || exit 0; \
20320         [ -d gdb ] || mkdir gdb; \
20321         r=`${PWD_COMMAND}`; export r; \
20322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20323         $(HOST_EXPORTS) \
20324         echo Configuring in gdb; \
20325         cd gdb || exit 1; \
20326         case $(srcdir) in \
20327           \.) \
20328             srcdiroption="--srcdir=."; \
20329             libsrcdir=".";; \
20330           /* | [A-Za-z]:[\\/]*) \
20331             srcdiroption="--srcdir=$(srcdir)/gdb"; \
20332             libsrcdir="$$s/gdb";; \
20333           *) \
20334             srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20335             libsrcdir="$$s/gdb";; \
20336         esac; \
20337         $(SHELL) $${libsrcdir}/configure \
20338           $(HOST_CONFIGARGS) $${srcdiroption}  \
20339           || exit 1
20340 @endif gdb
20341
20342 .PHONY: all-gdb maybe-all-gdb
20343 maybe-all-gdb:
20344 @if gdb
20345 maybe-all-gdb: all-gdb
20346 all-gdb: configure-gdb
20347         @r=`${PWD_COMMAND}`; export r; \
20348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20349         $(SET_LIB_PATH) \
20350         $(HOST_EXPORTS) \
20351         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20352 @endif gdb
20353
20354 .PHONY: check-gdb maybe-check-gdb
20355 maybe-check-gdb:
20356 @if gdb
20357 maybe-check-gdb: check-gdb
20358
20359 check-gdb:
20360         @r=`${PWD_COMMAND}`; export r; \
20361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20362         $(SET_LIB_PATH) \
20363         $(HOST_EXPORTS) \
20364         (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20365
20366 @endif gdb
20367
20368 .PHONY: install-gdb maybe-install-gdb
20369 maybe-install-gdb:
20370 @if gdb
20371 maybe-install-gdb: install-gdb
20372
20373 install-gdb: installdirs
20374         @r=`${PWD_COMMAND}`; export r; \
20375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20376         $(SET_LIB_PATH) \
20377         $(HOST_EXPORTS) \
20378         (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20379
20380 @endif gdb
20381
20382 # Other targets (info, dvi, etc.)
20383
20384 .PHONY: maybe-info-gdb info-gdb
20385 maybe-info-gdb:
20386 @if gdb
20387 maybe-info-gdb: info-gdb
20388
20389 info-gdb: \
20390     configure-gdb 
20391         @[ -f ./gdb/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) $(X11_FLAGS_TO_PASS); do \
20397           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20398         done; \
20399         echo "Doing info in gdb" ; \
20400         (cd gdb && \
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                   info) \
20406           || exit 1
20407
20408 @endif gdb
20409
20410 .PHONY: maybe-dvi-gdb dvi-gdb
20411 maybe-dvi-gdb:
20412 @if gdb
20413 maybe-dvi-gdb: dvi-gdb
20414
20415 dvi-gdb: \
20416     configure-gdb 
20417         @[ -f ./gdb/Makefile ] || exit 0; \
20418         r=`${PWD_COMMAND}`; export r; \
20419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20420         $(SET_LIB_PATH) \
20421         $(HOST_EXPORTS) \
20422         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20424         done; \
20425         echo "Doing dvi in gdb" ; \
20426         (cd gdb && \
20427           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20428                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20429                   "RANLIB=$${RANLIB}" \
20430                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20431                   dvi) \
20432           || exit 1
20433
20434 @endif gdb
20435
20436 .PHONY: maybe-TAGS-gdb TAGS-gdb
20437 maybe-TAGS-gdb:
20438 @if gdb
20439 maybe-TAGS-gdb: TAGS-gdb
20440
20441 TAGS-gdb: \
20442     configure-gdb 
20443         @[ -f ./gdb/Makefile ] || exit 0; \
20444         r=`${PWD_COMMAND}`; export r; \
20445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446         $(SET_LIB_PATH) \
20447         $(HOST_EXPORTS) \
20448         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20449           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20450         done; \
20451         echo "Doing TAGS in gdb" ; \
20452         (cd gdb && \
20453           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20454                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20455                   "RANLIB=$${RANLIB}" \
20456                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20457                   TAGS) \
20458           || exit 1
20459
20460 @endif gdb
20461
20462 .PHONY: maybe-install-info-gdb install-info-gdb
20463 maybe-install-info-gdb:
20464 @if gdb
20465 maybe-install-info-gdb: install-info-gdb
20466
20467 install-info-gdb: \
20468     configure-gdb \
20469     info-gdb 
20470         @[ -f ./gdb/Makefile ] || exit 0; \
20471         r=`${PWD_COMMAND}`; export r; \
20472         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473         $(SET_LIB_PATH) \
20474         $(HOST_EXPORTS) \
20475         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20476           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20477         done; \
20478         echo "Doing install-info in gdb" ; \
20479         (cd gdb && \
20480           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20481                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20482                   "RANLIB=$${RANLIB}" \
20483                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20484                   install-info) \
20485           || exit 1
20486
20487 @endif gdb
20488
20489 .PHONY: maybe-installcheck-gdb installcheck-gdb
20490 maybe-installcheck-gdb:
20491 @if gdb
20492 maybe-installcheck-gdb: installcheck-gdb
20493
20494 installcheck-gdb: \
20495     configure-gdb 
20496         @[ -f ./gdb/Makefile ] || exit 0; \
20497         r=`${PWD_COMMAND}`; export r; \
20498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20499         $(SET_LIB_PATH) \
20500         $(HOST_EXPORTS) \
20501         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20503         done; \
20504         echo "Doing installcheck in gdb" ; \
20505         (cd gdb && \
20506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20508                   "RANLIB=$${RANLIB}" \
20509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20510                   installcheck) \
20511           || exit 1
20512
20513 @endif gdb
20514
20515 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20516 maybe-mostlyclean-gdb:
20517 @if gdb
20518 maybe-mostlyclean-gdb: mostlyclean-gdb
20519
20520 mostlyclean-gdb: 
20521         @[ -f ./gdb/Makefile ] || exit 0; \
20522         r=`${PWD_COMMAND}`; export r; \
20523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20524         $(SET_LIB_PATH) \
20525         $(HOST_EXPORTS) \
20526         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20527           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20528         done; \
20529         echo "Doing mostlyclean in gdb" ; \
20530         (cd gdb && \
20531           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20532                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20533                   "RANLIB=$${RANLIB}" \
20534                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20535                   mostlyclean) \
20536           || exit 1
20537
20538 @endif gdb
20539
20540 .PHONY: maybe-clean-gdb clean-gdb
20541 maybe-clean-gdb:
20542 @if gdb
20543 maybe-clean-gdb: clean-gdb
20544
20545 clean-gdb: 
20546         @[ -f ./gdb/Makefile ] || exit 0; \
20547         r=`${PWD_COMMAND}`; export r; \
20548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20549         $(SET_LIB_PATH) \
20550         $(HOST_EXPORTS) \
20551         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20552           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20553         done; \
20554         echo "Doing clean in gdb" ; \
20555         (cd gdb && \
20556           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20557                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20558                   "RANLIB=$${RANLIB}" \
20559                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20560                   clean) \
20561           || exit 1
20562
20563 @endif gdb
20564
20565 .PHONY: maybe-distclean-gdb distclean-gdb
20566 maybe-distclean-gdb:
20567 @if gdb
20568 maybe-distclean-gdb: distclean-gdb
20569
20570 distclean-gdb: 
20571         @[ -f ./gdb/Makefile ] || exit 0; \
20572         r=`${PWD_COMMAND}`; export r; \
20573         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20574         $(SET_LIB_PATH) \
20575         $(HOST_EXPORTS) \
20576         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20577           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20578         done; \
20579         echo "Doing distclean in gdb" ; \
20580         (cd gdb && \
20581           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20582                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20583                   "RANLIB=$${RANLIB}" \
20584                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20585                   distclean) \
20586           || exit 1
20587
20588 @endif gdb
20589
20590 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20591 maybe-maintainer-clean-gdb:
20592 @if gdb
20593 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20594
20595 maintainer-clean-gdb: 
20596         @[ -f ./gdb/Makefile ] || exit 0; \
20597         r=`${PWD_COMMAND}`; export r; \
20598         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20599         $(SET_LIB_PATH) \
20600         $(HOST_EXPORTS) \
20601         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20602           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20603         done; \
20604         echo "Doing maintainer-clean in gdb" ; \
20605         (cd gdb && \
20606           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20607                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20608                   "RANLIB=$${RANLIB}" \
20609                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20610                   maintainer-clean) \
20611           || exit 1
20612
20613 @endif gdb
20614
20615
20616 .PHONY: configure-expect maybe-configure-expect
20617 maybe-configure-expect:
20618 @if expect
20619 maybe-configure-expect: configure-expect
20620 configure-expect:
20621         @test ! -f expect/Makefile || exit 0; \
20622         [ -d expect ] || mkdir expect; \
20623         r=`${PWD_COMMAND}`; export r; \
20624         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20625         $(HOST_EXPORTS) \
20626         echo Configuring in expect; \
20627         cd expect || exit 1; \
20628         case $(srcdir) in \
20629           \.) \
20630             srcdiroption="--srcdir=."; \
20631             libsrcdir=".";; \
20632           /* | [A-Za-z]:[\\/]*) \
20633             srcdiroption="--srcdir=$(srcdir)/expect"; \
20634             libsrcdir="$$s/expect";; \
20635           *) \
20636             srcdiroption="--srcdir=../$(srcdir)/expect"; \
20637             libsrcdir="$$s/expect";; \
20638         esac; \
20639         $(SHELL) $${libsrcdir}/configure \
20640           $(HOST_CONFIGARGS) $${srcdiroption}  \
20641           || exit 1
20642 @endif expect
20643
20644 .PHONY: all-expect maybe-all-expect
20645 maybe-all-expect:
20646 @if expect
20647 maybe-all-expect: all-expect
20648 all-expect: configure-expect
20649         @r=`${PWD_COMMAND}`; export r; \
20650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20651         $(SET_LIB_PATH) \
20652         $(HOST_EXPORTS) \
20653         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20654 @endif expect
20655
20656 .PHONY: check-expect maybe-check-expect
20657 maybe-check-expect:
20658 @if expect
20659 maybe-check-expect: check-expect
20660
20661 check-expect:
20662         @r=`${PWD_COMMAND}`; export r; \
20663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664         $(SET_LIB_PATH) \
20665         $(HOST_EXPORTS) \
20666         (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20667
20668 @endif expect
20669
20670 .PHONY: install-expect maybe-install-expect
20671 maybe-install-expect:
20672 @if expect
20673 maybe-install-expect: install-expect
20674
20675 install-expect: installdirs
20676         @r=`${PWD_COMMAND}`; export r; \
20677         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678         $(SET_LIB_PATH) \
20679         $(HOST_EXPORTS) \
20680         (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20681
20682 @endif expect
20683
20684 # Other targets (info, dvi, etc.)
20685
20686 .PHONY: maybe-info-expect info-expect
20687 maybe-info-expect:
20688 @if expect
20689 maybe-info-expect: info-expect
20690
20691 info-expect: \
20692     configure-expect 
20693         @[ -f ./expect/Makefile ] || exit 0; \
20694         r=`${PWD_COMMAND}`; export r; \
20695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20696         $(SET_LIB_PATH) \
20697         $(HOST_EXPORTS) \
20698         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20699           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20700         done; \
20701         echo "Doing info in expect" ; \
20702         (cd expect && \
20703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20705                   "RANLIB=$${RANLIB}" \
20706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20707                   info) \
20708           || exit 1
20709
20710 @endif expect
20711
20712 .PHONY: maybe-dvi-expect dvi-expect
20713 maybe-dvi-expect:
20714 @if expect
20715 maybe-dvi-expect: dvi-expect
20716
20717 dvi-expect: \
20718     configure-expect 
20719         @[ -f ./expect/Makefile ] || exit 0; \
20720         r=`${PWD_COMMAND}`; export r; \
20721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20722         $(SET_LIB_PATH) \
20723         $(HOST_EXPORTS) \
20724         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20725           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20726         done; \
20727         echo "Doing dvi in expect" ; \
20728         (cd expect && \
20729           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20730                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20731                   "RANLIB=$${RANLIB}" \
20732                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20733                   dvi) \
20734           || exit 1
20735
20736 @endif expect
20737
20738 .PHONY: maybe-TAGS-expect TAGS-expect
20739 maybe-TAGS-expect:
20740 @if expect
20741 maybe-TAGS-expect: TAGS-expect
20742
20743 TAGS-expect: \
20744     configure-expect 
20745         @[ -f ./expect/Makefile ] || exit 0; \
20746         r=`${PWD_COMMAND}`; export r; \
20747         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20748         $(SET_LIB_PATH) \
20749         $(HOST_EXPORTS) \
20750         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20751           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20752         done; \
20753         echo "Doing TAGS in expect" ; \
20754         (cd expect && \
20755           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20756                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20757                   "RANLIB=$${RANLIB}" \
20758                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20759                   TAGS) \
20760           || exit 1
20761
20762 @endif expect
20763
20764 .PHONY: maybe-install-info-expect install-info-expect
20765 maybe-install-info-expect:
20766 @if expect
20767 maybe-install-info-expect: install-info-expect
20768
20769 install-info-expect: \
20770     configure-expect \
20771     info-expect 
20772         @[ -f ./expect/Makefile ] || exit 0; \
20773         r=`${PWD_COMMAND}`; export r; \
20774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20775         $(SET_LIB_PATH) \
20776         $(HOST_EXPORTS) \
20777         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20778           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20779         done; \
20780         echo "Doing install-info in expect" ; \
20781         (cd expect && \
20782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20784                   "RANLIB=$${RANLIB}" \
20785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20786                   install-info) \
20787           || exit 1
20788
20789 @endif expect
20790
20791 .PHONY: maybe-installcheck-expect installcheck-expect
20792 maybe-installcheck-expect:
20793 @if expect
20794 maybe-installcheck-expect: installcheck-expect
20795
20796 installcheck-expect: \
20797     configure-expect 
20798         @[ -f ./expect/Makefile ] || exit 0; \
20799         r=`${PWD_COMMAND}`; export r; \
20800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20801         $(SET_LIB_PATH) \
20802         $(HOST_EXPORTS) \
20803         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20804           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20805         done; \
20806         echo "Doing installcheck in expect" ; \
20807         (cd expect && \
20808           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20809                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20810                   "RANLIB=$${RANLIB}" \
20811                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20812                   installcheck) \
20813           || exit 1
20814
20815 @endif expect
20816
20817 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20818 maybe-mostlyclean-expect:
20819 @if expect
20820 maybe-mostlyclean-expect: mostlyclean-expect
20821
20822 mostlyclean-expect: 
20823         @[ -f ./expect/Makefile ] || exit 0; \
20824         r=`${PWD_COMMAND}`; export r; \
20825         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20826         $(SET_LIB_PATH) \
20827         $(HOST_EXPORTS) \
20828         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20829           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20830         done; \
20831         echo "Doing mostlyclean in expect" ; \
20832         (cd expect && \
20833           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20834                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20835                   "RANLIB=$${RANLIB}" \
20836                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20837                   mostlyclean) \
20838           || exit 1
20839
20840 @endif expect
20841
20842 .PHONY: maybe-clean-expect clean-expect
20843 maybe-clean-expect:
20844 @if expect
20845 maybe-clean-expect: clean-expect
20846
20847 clean-expect: 
20848         @[ -f ./expect/Makefile ] || exit 0; \
20849         r=`${PWD_COMMAND}`; export r; \
20850         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20851         $(SET_LIB_PATH) \
20852         $(HOST_EXPORTS) \
20853         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20854           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20855         done; \
20856         echo "Doing clean in expect" ; \
20857         (cd expect && \
20858           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20859                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20860                   "RANLIB=$${RANLIB}" \
20861                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20862                   clean) \
20863           || exit 1
20864
20865 @endif expect
20866
20867 .PHONY: maybe-distclean-expect distclean-expect
20868 maybe-distclean-expect:
20869 @if expect
20870 maybe-distclean-expect: distclean-expect
20871
20872 distclean-expect: 
20873         @[ -f ./expect/Makefile ] || exit 0; \
20874         r=`${PWD_COMMAND}`; export r; \
20875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20876         $(SET_LIB_PATH) \
20877         $(HOST_EXPORTS) \
20878         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20879           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20880         done; \
20881         echo "Doing distclean in expect" ; \
20882         (cd expect && \
20883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20885                   "RANLIB=$${RANLIB}" \
20886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20887                   distclean) \
20888           || exit 1
20889
20890 @endif expect
20891
20892 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20893 maybe-maintainer-clean-expect:
20894 @if expect
20895 maybe-maintainer-clean-expect: maintainer-clean-expect
20896
20897 maintainer-clean-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 maintainer-clean 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                   maintainer-clean) \
20913           || exit 1
20914
20915 @endif expect
20916
20917
20918 .PHONY: configure-guile maybe-configure-guile
20919 maybe-configure-guile:
20920 @if guile
20921 maybe-configure-guile: configure-guile
20922 configure-guile:
20923         @test ! -f guile/Makefile || exit 0; \
20924         [ -d guile ] || mkdir guile; \
20925         r=`${PWD_COMMAND}`; export r; \
20926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20927         $(HOST_EXPORTS) \
20928         echo Configuring in guile; \
20929         cd guile || exit 1; \
20930         case $(srcdir) in \
20931           \.) \
20932             srcdiroption="--srcdir=."; \
20933             libsrcdir=".";; \
20934           /* | [A-Za-z]:[\\/]*) \
20935             srcdiroption="--srcdir=$(srcdir)/guile"; \
20936             libsrcdir="$$s/guile";; \
20937           *) \
20938             srcdiroption="--srcdir=../$(srcdir)/guile"; \
20939             libsrcdir="$$s/guile";; \
20940         esac; \
20941         $(SHELL) $${libsrcdir}/configure \
20942           $(HOST_CONFIGARGS) $${srcdiroption}  \
20943           || exit 1
20944 @endif guile
20945
20946 .PHONY: all-guile maybe-all-guile
20947 maybe-all-guile:
20948 @if guile
20949 maybe-all-guile: all-guile
20950 all-guile: configure-guile
20951         @r=`${PWD_COMMAND}`; export r; \
20952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20953         $(SET_LIB_PATH) \
20954         $(HOST_EXPORTS) \
20955         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20956 @endif guile
20957
20958 .PHONY: check-guile maybe-check-guile
20959 maybe-check-guile:
20960 @if guile
20961 maybe-check-guile: check-guile
20962
20963 check-guile:
20964         @r=`${PWD_COMMAND}`; export r; \
20965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20966         $(SET_LIB_PATH) \
20967         $(HOST_EXPORTS) \
20968         (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20969
20970 @endif guile
20971
20972 .PHONY: install-guile maybe-install-guile
20973 maybe-install-guile:
20974 @if guile
20975 maybe-install-guile: install-guile
20976
20977 install-guile: installdirs
20978         @r=`${PWD_COMMAND}`; export r; \
20979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20980         $(SET_LIB_PATH) \
20981         $(HOST_EXPORTS) \
20982         (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20983
20984 @endif guile
20985
20986 # Other targets (info, dvi, etc.)
20987
20988 .PHONY: maybe-info-guile info-guile
20989 maybe-info-guile:
20990 @if guile
20991 maybe-info-guile: info-guile
20992
20993 info-guile: \
20994     configure-guile 
20995         @[ -f ./guile/Makefile ] || exit 0; \
20996         r=`${PWD_COMMAND}`; export r; \
20997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20998         $(SET_LIB_PATH) \
20999         $(HOST_EXPORTS) \
21000         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21002         done; \
21003         echo "Doing info in guile" ; \
21004         (cd guile && \
21005           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21006                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21007                   "RANLIB=$${RANLIB}" \
21008                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21009                   info) \
21010           || exit 1
21011
21012 @endif guile
21013
21014 .PHONY: maybe-dvi-guile dvi-guile
21015 maybe-dvi-guile:
21016 @if guile
21017 maybe-dvi-guile: dvi-guile
21018
21019 dvi-guile: \
21020     configure-guile 
21021         @[ -f ./guile/Makefile ] || exit 0; \
21022         r=`${PWD_COMMAND}`; export r; \
21023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21024         $(SET_LIB_PATH) \
21025         $(HOST_EXPORTS) \
21026         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21028         done; \
21029         echo "Doing dvi in guile" ; \
21030         (cd guile && \
21031           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21032                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21033                   "RANLIB=$${RANLIB}" \
21034                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21035                   dvi) \
21036           || exit 1
21037
21038 @endif guile
21039
21040 .PHONY: maybe-TAGS-guile TAGS-guile
21041 maybe-TAGS-guile:
21042 @if guile
21043 maybe-TAGS-guile: TAGS-guile
21044
21045 TAGS-guile: \
21046     configure-guile 
21047         @[ -f ./guile/Makefile ] || exit 0; \
21048         r=`${PWD_COMMAND}`; export r; \
21049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21050         $(SET_LIB_PATH) \
21051         $(HOST_EXPORTS) \
21052         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21053           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21054         done; \
21055         echo "Doing TAGS in guile" ; \
21056         (cd guile && \
21057           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21058                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21059                   "RANLIB=$${RANLIB}" \
21060                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21061                   TAGS) \
21062           || exit 1
21063
21064 @endif guile
21065
21066 .PHONY: maybe-install-info-guile install-info-guile
21067 maybe-install-info-guile:
21068 @if guile
21069 maybe-install-info-guile: install-info-guile
21070
21071 install-info-guile: \
21072     configure-guile \
21073     info-guile 
21074         @[ -f ./guile/Makefile ] || exit 0; \
21075         r=`${PWD_COMMAND}`; export r; \
21076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21077         $(SET_LIB_PATH) \
21078         $(HOST_EXPORTS) \
21079         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21080           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21081         done; \
21082         echo "Doing install-info in guile" ; \
21083         (cd guile && \
21084           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21085                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21086                   "RANLIB=$${RANLIB}" \
21087                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21088                   install-info) \
21089           || exit 1
21090
21091 @endif guile
21092
21093 .PHONY: maybe-installcheck-guile installcheck-guile
21094 maybe-installcheck-guile:
21095 @if guile
21096 maybe-installcheck-guile: installcheck-guile
21097
21098 installcheck-guile: \
21099     configure-guile 
21100         @[ -f ./guile/Makefile ] || exit 0; \
21101         r=`${PWD_COMMAND}`; export r; \
21102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21103         $(SET_LIB_PATH) \
21104         $(HOST_EXPORTS) \
21105         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21106           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21107         done; \
21108         echo "Doing installcheck in guile" ; \
21109         (cd guile && \
21110           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21111                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21112                   "RANLIB=$${RANLIB}" \
21113                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21114                   installcheck) \
21115           || exit 1
21116
21117 @endif guile
21118
21119 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21120 maybe-mostlyclean-guile:
21121 @if guile
21122 maybe-mostlyclean-guile: mostlyclean-guile
21123
21124 mostlyclean-guile: 
21125         @[ -f ./guile/Makefile ] || exit 0; \
21126         r=`${PWD_COMMAND}`; export r; \
21127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21128         $(SET_LIB_PATH) \
21129         $(HOST_EXPORTS) \
21130         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21131           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21132         done; \
21133         echo "Doing mostlyclean in guile" ; \
21134         (cd guile && \
21135           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21136                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21137                   "RANLIB=$${RANLIB}" \
21138                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21139                   mostlyclean) \
21140           || exit 1
21141
21142 @endif guile
21143
21144 .PHONY: maybe-clean-guile clean-guile
21145 maybe-clean-guile:
21146 @if guile
21147 maybe-clean-guile: clean-guile
21148
21149 clean-guile: 
21150         @[ -f ./guile/Makefile ] || exit 0; \
21151         r=`${PWD_COMMAND}`; export r; \
21152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21153         $(SET_LIB_PATH) \
21154         $(HOST_EXPORTS) \
21155         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21156           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21157         done; \
21158         echo "Doing clean in guile" ; \
21159         (cd guile && \
21160           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21161                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21162                   "RANLIB=$${RANLIB}" \
21163                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21164                   clean) \
21165           || exit 1
21166
21167 @endif guile
21168
21169 .PHONY: maybe-distclean-guile distclean-guile
21170 maybe-distclean-guile:
21171 @if guile
21172 maybe-distclean-guile: distclean-guile
21173
21174 distclean-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 distclean 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                   distclean) \
21190           || exit 1
21191
21192 @endif guile
21193
21194 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21195 maybe-maintainer-clean-guile:
21196 @if guile
21197 maybe-maintainer-clean-guile: maintainer-clean-guile
21198
21199 maintainer-clean-guile: 
21200         @[ -f ./guile/Makefile ] || exit 0; \
21201         r=`${PWD_COMMAND}`; export r; \
21202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203         $(SET_LIB_PATH) \
21204         $(HOST_EXPORTS) \
21205         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21206           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21207         done; \
21208         echo "Doing maintainer-clean in guile" ; \
21209         (cd guile && \
21210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21212                   "RANLIB=$${RANLIB}" \
21213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21214                   maintainer-clean) \
21215           || exit 1
21216
21217 @endif guile
21218
21219
21220 .PHONY: configure-tk maybe-configure-tk
21221 maybe-configure-tk:
21222 @if tk
21223 maybe-configure-tk: configure-tk
21224 configure-tk:
21225         @test ! -f tk/Makefile || exit 0; \
21226         [ -d tk ] || mkdir tk; \
21227         r=`${PWD_COMMAND}`; export r; \
21228         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21229         $(HOST_EXPORTS) \
21230         echo Configuring in tk; \
21231         cd tk || exit 1; \
21232         case $(srcdir) in \
21233           \.) \
21234             srcdiroption="--srcdir=."; \
21235             libsrcdir=".";; \
21236           /* | [A-Za-z]:[\\/]*) \
21237             srcdiroption="--srcdir=$(srcdir)/tk"; \
21238             libsrcdir="$$s/tk";; \
21239           *) \
21240             srcdiroption="--srcdir=../$(srcdir)/tk"; \
21241             libsrcdir="$$s/tk";; \
21242         esac; \
21243         $(SHELL) $${libsrcdir}/configure \
21244           $(HOST_CONFIGARGS) $${srcdiroption}  \
21245           || exit 1
21246 @endif tk
21247
21248 .PHONY: all-tk maybe-all-tk
21249 maybe-all-tk:
21250 @if tk
21251 maybe-all-tk: all-tk
21252 all-tk: configure-tk
21253         @r=`${PWD_COMMAND}`; export r; \
21254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255         $(SET_LIB_PATH) \
21256         $(HOST_EXPORTS) \
21257         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21258 @endif tk
21259
21260 .PHONY: check-tk maybe-check-tk
21261 maybe-check-tk:
21262 @if tk
21263 maybe-check-tk: check-tk
21264
21265 check-tk:
21266         @r=`${PWD_COMMAND}`; export r; \
21267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21268         $(SET_LIB_PATH) \
21269         $(HOST_EXPORTS) \
21270         (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21271
21272 @endif tk
21273
21274 .PHONY: install-tk maybe-install-tk
21275 maybe-install-tk:
21276 @if tk
21277 maybe-install-tk: install-tk
21278
21279 install-tk: installdirs
21280         @r=`${PWD_COMMAND}`; export r; \
21281         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21282         $(SET_LIB_PATH) \
21283         $(HOST_EXPORTS) \
21284         (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21285
21286 @endif tk
21287
21288 # Other targets (info, dvi, etc.)
21289
21290 .PHONY: maybe-info-tk info-tk
21291 maybe-info-tk:
21292 @if tk
21293 maybe-info-tk: info-tk
21294
21295 info-tk: \
21296     configure-tk 
21297         @[ -f ./tk/Makefile ] || exit 0; \
21298         r=`${PWD_COMMAND}`; export r; \
21299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21300         $(SET_LIB_PATH) \
21301         $(HOST_EXPORTS) \
21302         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21304         done; \
21305         echo "Doing info in tk" ; \
21306         (cd tk && \
21307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309                   "RANLIB=$${RANLIB}" \
21310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311                   info) \
21312           || exit 1
21313
21314 @endif tk
21315
21316 .PHONY: maybe-dvi-tk dvi-tk
21317 maybe-dvi-tk:
21318 @if tk
21319 maybe-dvi-tk: dvi-tk
21320
21321 dvi-tk: \
21322     configure-tk 
21323         @[ -f ./tk/Makefile ] || exit 0; \
21324         r=`${PWD_COMMAND}`; export r; \
21325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326         $(SET_LIB_PATH) \
21327         $(HOST_EXPORTS) \
21328         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21330         done; \
21331         echo "Doing dvi in tk" ; \
21332         (cd tk && \
21333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335                   "RANLIB=$${RANLIB}" \
21336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21337                   dvi) \
21338           || exit 1
21339
21340 @endif tk
21341
21342 .PHONY: maybe-TAGS-tk TAGS-tk
21343 maybe-TAGS-tk:
21344 @if tk
21345 maybe-TAGS-tk: TAGS-tk
21346
21347 TAGS-tk: \
21348     configure-tk 
21349         @[ -f ./tk/Makefile ] || exit 0; \
21350         r=`${PWD_COMMAND}`; export r; \
21351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21352         $(SET_LIB_PATH) \
21353         $(HOST_EXPORTS) \
21354         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21355           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21356         done; \
21357         echo "Doing TAGS in tk" ; \
21358         (cd tk && \
21359           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21360                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21361                   "RANLIB=$${RANLIB}" \
21362                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21363                   TAGS) \
21364           || exit 1
21365
21366 @endif tk
21367
21368 .PHONY: maybe-install-info-tk install-info-tk
21369 maybe-install-info-tk:
21370 @if tk
21371 maybe-install-info-tk: install-info-tk
21372
21373 install-info-tk: \
21374     configure-tk \
21375     info-tk 
21376         @[ -f ./tk/Makefile ] || exit 0; \
21377         r=`${PWD_COMMAND}`; export r; \
21378         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379         $(SET_LIB_PATH) \
21380         $(HOST_EXPORTS) \
21381         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21382           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21383         done; \
21384         echo "Doing install-info in tk" ; \
21385         (cd tk && \
21386           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21387                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21388                   "RANLIB=$${RANLIB}" \
21389                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21390                   install-info) \
21391           || exit 1
21392
21393 @endif tk
21394
21395 .PHONY: maybe-installcheck-tk installcheck-tk
21396 maybe-installcheck-tk:
21397 @if tk
21398 maybe-installcheck-tk: installcheck-tk
21399
21400 installcheck-tk: \
21401     configure-tk 
21402         @[ -f ./tk/Makefile ] || exit 0; \
21403         r=`${PWD_COMMAND}`; export r; \
21404         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21405         $(SET_LIB_PATH) \
21406         $(HOST_EXPORTS) \
21407         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21408           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21409         done; \
21410         echo "Doing installcheck in tk" ; \
21411         (cd tk && \
21412           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21413                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21414                   "RANLIB=$${RANLIB}" \
21415                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21416                   installcheck) \
21417           || exit 1
21418
21419 @endif tk
21420
21421 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21422 maybe-mostlyclean-tk:
21423 @if tk
21424 maybe-mostlyclean-tk: mostlyclean-tk
21425
21426 mostlyclean-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 mostlyclean 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                   mostlyclean) \
21442           || exit 1
21443
21444 @endif tk
21445
21446 .PHONY: maybe-clean-tk clean-tk
21447 maybe-clean-tk:
21448 @if tk
21449 maybe-clean-tk: clean-tk
21450
21451 clean-tk: 
21452         @[ -f ./tk/Makefile ] || exit 0; \
21453         r=`${PWD_COMMAND}`; export r; \
21454         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21455         $(SET_LIB_PATH) \
21456         $(HOST_EXPORTS) \
21457         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21458           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21459         done; \
21460         echo "Doing clean in tk" ; \
21461         (cd tk && \
21462           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21463                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21464                   "RANLIB=$${RANLIB}" \
21465                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21466                   clean) \
21467           || exit 1
21468
21469 @endif tk
21470
21471 .PHONY: maybe-distclean-tk distclean-tk
21472 maybe-distclean-tk:
21473 @if tk
21474 maybe-distclean-tk: distclean-tk
21475
21476 distclean-tk: 
21477         @[ -f ./tk/Makefile ] || exit 0; \
21478         r=`${PWD_COMMAND}`; export r; \
21479         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21480         $(SET_LIB_PATH) \
21481         $(HOST_EXPORTS) \
21482         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21483           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21484         done; \
21485         echo "Doing distclean in tk" ; \
21486         (cd tk && \
21487           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21488                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21489                   "RANLIB=$${RANLIB}" \
21490                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21491                   distclean) \
21492           || exit 1
21493
21494 @endif tk
21495
21496 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21497 maybe-maintainer-clean-tk:
21498 @if tk
21499 maybe-maintainer-clean-tk: maintainer-clean-tk
21500
21501 maintainer-clean-tk: 
21502         @[ -f ./tk/Makefile ] || exit 0; \
21503         r=`${PWD_COMMAND}`; export r; \
21504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21505         $(SET_LIB_PATH) \
21506         $(HOST_EXPORTS) \
21507         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21508           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21509         done; \
21510         echo "Doing maintainer-clean in tk" ; \
21511         (cd tk && \
21512           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21513                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21514                   "RANLIB=$${RANLIB}" \
21515                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21516                   maintainer-clean) \
21517           || exit 1
21518
21519 @endif tk
21520
21521
21522 .PHONY: configure-libtermcap maybe-configure-libtermcap
21523 maybe-configure-libtermcap:
21524 @if libtermcap
21525 maybe-configure-libtermcap: configure-libtermcap
21526 configure-libtermcap:
21527         @test ! -f libtermcap/Makefile || exit 0; \
21528         [ -d libtermcap ] || mkdir libtermcap; \
21529         r=`${PWD_COMMAND}`; export r; \
21530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21531         $(HOST_EXPORTS) \
21532         echo Configuring in libtermcap; \
21533         cd libtermcap || exit 1; \
21534         case $(srcdir) in \
21535           \.) \
21536             srcdiroption="--srcdir=."; \
21537             libsrcdir=".";; \
21538           /* | [A-Za-z]:[\\/]*) \
21539             srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21540             libsrcdir="$$s/libtermcap";; \
21541           *) \
21542             srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21543             libsrcdir="$$s/libtermcap";; \
21544         esac; \
21545         $(SHELL) $${libsrcdir}/configure \
21546           $(HOST_CONFIGARGS) $${srcdiroption}  \
21547           || exit 1
21548 @endif libtermcap
21549
21550 .PHONY: all-libtermcap maybe-all-libtermcap
21551 maybe-all-libtermcap:
21552 @if libtermcap
21553 maybe-all-libtermcap: all-libtermcap
21554 all-libtermcap: configure-libtermcap
21555         @r=`${PWD_COMMAND}`; export r; \
21556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21557         $(SET_LIB_PATH) \
21558         $(HOST_EXPORTS) \
21559         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS)  all)
21560 @endif libtermcap
21561
21562 .PHONY: check-libtermcap maybe-check-libtermcap
21563 maybe-check-libtermcap:
21564 @if libtermcap
21565 maybe-check-libtermcap: check-libtermcap
21566
21567 check-libtermcap:
21568
21569 @endif libtermcap
21570
21571 .PHONY: install-libtermcap maybe-install-libtermcap
21572 maybe-install-libtermcap:
21573 @if libtermcap
21574 maybe-install-libtermcap: install-libtermcap
21575
21576 install-libtermcap: installdirs
21577         @r=`${PWD_COMMAND}`; export r; \
21578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21579         $(SET_LIB_PATH) \
21580         $(HOST_EXPORTS) \
21581         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21582
21583 @endif libtermcap
21584
21585 # Other targets (info, dvi, etc.)
21586
21587 .PHONY: maybe-info-libtermcap info-libtermcap
21588 maybe-info-libtermcap:
21589 @if libtermcap
21590 maybe-info-libtermcap: info-libtermcap
21591
21592 info-libtermcap: \
21593     configure-libtermcap 
21594         @[ -f ./libtermcap/Makefile ] || exit 0; \
21595         r=`${PWD_COMMAND}`; export r; \
21596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597         $(SET_LIB_PATH) \
21598         $(HOST_EXPORTS) \
21599         for flag in $(EXTRA_HOST_FLAGS) ; do \
21600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21601         done; \
21602         echo "Doing info in libtermcap" ; \
21603         (cd libtermcap && \
21604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21606                   "RANLIB=$${RANLIB}" \
21607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21608                   info) \
21609           || exit 1
21610
21611 @endif libtermcap
21612
21613 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21614 maybe-dvi-libtermcap:
21615 @if libtermcap
21616 maybe-dvi-libtermcap: dvi-libtermcap
21617
21618 dvi-libtermcap: \
21619     configure-libtermcap 
21620         @[ -f ./libtermcap/Makefile ] || exit 0; \
21621         r=`${PWD_COMMAND}`; export r; \
21622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21623         $(SET_LIB_PATH) \
21624         $(HOST_EXPORTS) \
21625         for flag in $(EXTRA_HOST_FLAGS) ; do \
21626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21627         done; \
21628         echo "Doing dvi in libtermcap" ; \
21629         (cd libtermcap && \
21630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21632                   "RANLIB=$${RANLIB}" \
21633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21634                   dvi) \
21635           || exit 1
21636
21637 @endif libtermcap
21638
21639 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21640 maybe-TAGS-libtermcap:
21641 @if libtermcap
21642 maybe-TAGS-libtermcap: TAGS-libtermcap
21643
21644 TAGS-libtermcap: \
21645     configure-libtermcap 
21646         @[ -f ./libtermcap/Makefile ] || exit 0; \
21647         r=`${PWD_COMMAND}`; export r; \
21648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21649         $(SET_LIB_PATH) \
21650         $(HOST_EXPORTS) \
21651         for flag in $(EXTRA_HOST_FLAGS) ; do \
21652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21653         done; \
21654         echo "Doing TAGS in libtermcap" ; \
21655         (cd libtermcap && \
21656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21658                   "RANLIB=$${RANLIB}" \
21659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21660                   TAGS) \
21661           || exit 1
21662
21663 @endif libtermcap
21664
21665 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21666 maybe-install-info-libtermcap:
21667 @if libtermcap
21668 maybe-install-info-libtermcap: install-info-libtermcap
21669
21670 install-info-libtermcap: \
21671     configure-libtermcap \
21672     info-libtermcap 
21673         @[ -f ./libtermcap/Makefile ] || exit 0; \
21674         r=`${PWD_COMMAND}`; export r; \
21675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21676         $(SET_LIB_PATH) \
21677         $(HOST_EXPORTS) \
21678         for flag in $(EXTRA_HOST_FLAGS) ; do \
21679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21680         done; \
21681         echo "Doing install-info in libtermcap" ; \
21682         (cd libtermcap && \
21683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21685                   "RANLIB=$${RANLIB}" \
21686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21687                   install-info) \
21688           || exit 1
21689
21690 @endif libtermcap
21691
21692 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21693 maybe-installcheck-libtermcap:
21694 @if libtermcap
21695 maybe-installcheck-libtermcap: installcheck-libtermcap
21696
21697 installcheck-libtermcap: \
21698     configure-libtermcap 
21699         @[ -f ./libtermcap/Makefile ] || exit 0; \
21700         r=`${PWD_COMMAND}`; export r; \
21701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21702         $(SET_LIB_PATH) \
21703         $(HOST_EXPORTS) \
21704         for flag in $(EXTRA_HOST_FLAGS) ; do \
21705           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21706         done; \
21707         echo "Doing installcheck in libtermcap" ; \
21708         (cd libtermcap && \
21709           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21710                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21711                   "RANLIB=$${RANLIB}" \
21712                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21713                   installcheck) \
21714           || exit 1
21715
21716 @endif libtermcap
21717
21718 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21719 maybe-mostlyclean-libtermcap:
21720 @if libtermcap
21721 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21722
21723 # libtermcap doesn't support mostlyclean.
21724 mostlyclean-libtermcap:
21725
21726 @endif libtermcap
21727
21728 .PHONY: maybe-clean-libtermcap clean-libtermcap
21729 maybe-clean-libtermcap:
21730 @if libtermcap
21731 maybe-clean-libtermcap: clean-libtermcap
21732
21733 # libtermcap doesn't support clean.
21734 clean-libtermcap:
21735
21736 @endif libtermcap
21737
21738 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21739 maybe-distclean-libtermcap:
21740 @if libtermcap
21741 maybe-distclean-libtermcap: distclean-libtermcap
21742
21743 # libtermcap doesn't support distclean.
21744 distclean-libtermcap:
21745
21746 @endif libtermcap
21747
21748 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21749 maybe-maintainer-clean-libtermcap:
21750 @if libtermcap
21751 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21752
21753 # libtermcap doesn't support maintainer-clean.
21754 maintainer-clean-libtermcap:
21755
21756 @endif libtermcap
21757
21758
21759 .PHONY: configure-utils maybe-configure-utils
21760 maybe-configure-utils:
21761 @if utils
21762 maybe-configure-utils: configure-utils
21763 configure-utils:
21764         @test ! -f utils/Makefile || exit 0; \
21765         [ -d utils ] || mkdir utils; \
21766         r=`${PWD_COMMAND}`; export r; \
21767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21768         $(HOST_EXPORTS) \
21769         echo Configuring in utils; \
21770         cd utils || exit 1; \
21771         case $(srcdir) in \
21772           \.) \
21773             srcdiroption="--srcdir=."; \
21774             libsrcdir=".";; \
21775           /* | [A-Za-z]:[\\/]*) \
21776             srcdiroption="--srcdir=$(srcdir)/utils"; \
21777             libsrcdir="$$s/utils";; \
21778           *) \
21779             srcdiroption="--srcdir=../$(srcdir)/utils"; \
21780             libsrcdir="$$s/utils";; \
21781         esac; \
21782         $(SHELL) $${libsrcdir}/configure \
21783           $(HOST_CONFIGARGS) $${srcdiroption}  \
21784           || exit 1
21785 @endif utils
21786
21787 .PHONY: all-utils maybe-all-utils
21788 maybe-all-utils:
21789 @if utils
21790 maybe-all-utils: all-utils
21791 all-utils: configure-utils
21792         @r=`${PWD_COMMAND}`; export r; \
21793         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21794         $(SET_LIB_PATH) \
21795         $(HOST_EXPORTS) \
21796         (cd utils && $(MAKE) $(FLAGS_TO_PASS)  all)
21797 @endif utils
21798
21799 .PHONY: check-utils maybe-check-utils
21800 maybe-check-utils:
21801 @if utils
21802 maybe-check-utils: check-utils
21803
21804 check-utils:
21805
21806 @endif utils
21807
21808 .PHONY: install-utils maybe-install-utils
21809 maybe-install-utils:
21810 @if utils
21811 maybe-install-utils: install-utils
21812
21813 install-utils: installdirs
21814         @r=`${PWD_COMMAND}`; export r; \
21815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21816         $(SET_LIB_PATH) \
21817         $(HOST_EXPORTS) \
21818         (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21819
21820 @endif utils
21821
21822 # Other targets (info, dvi, etc.)
21823
21824 .PHONY: maybe-info-utils info-utils
21825 maybe-info-utils:
21826 @if utils
21827 maybe-info-utils: info-utils
21828
21829 info-utils: \
21830     configure-utils 
21831         @[ -f ./utils/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 info in utils" ; \
21840         (cd utils && \
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                   info) \
21846           || exit 1
21847
21848 @endif utils
21849
21850 .PHONY: maybe-dvi-utils dvi-utils
21851 maybe-dvi-utils:
21852 @if utils
21853 maybe-dvi-utils: dvi-utils
21854
21855 dvi-utils: \
21856     configure-utils 
21857         @[ -f ./utils/Makefile ] || exit 0; \
21858         r=`${PWD_COMMAND}`; export r; \
21859         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21860         $(SET_LIB_PATH) \
21861         $(HOST_EXPORTS) \
21862         for flag in $(EXTRA_HOST_FLAGS) ; do \
21863           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21864         done; \
21865         echo "Doing dvi in utils" ; \
21866         (cd utils && \
21867           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21868                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21869                   "RANLIB=$${RANLIB}" \
21870                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21871                   dvi) \
21872           || exit 1
21873
21874 @endif utils
21875
21876 .PHONY: maybe-TAGS-utils TAGS-utils
21877 maybe-TAGS-utils:
21878 @if utils
21879 maybe-TAGS-utils: TAGS-utils
21880
21881 TAGS-utils: \
21882     configure-utils 
21883         @[ -f ./utils/Makefile ] || exit 0; \
21884         r=`${PWD_COMMAND}`; export r; \
21885         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21886         $(SET_LIB_PATH) \
21887         $(HOST_EXPORTS) \
21888         for flag in $(EXTRA_HOST_FLAGS) ; do \
21889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21890         done; \
21891         echo "Doing TAGS in utils" ; \
21892         (cd utils && \
21893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21895                   "RANLIB=$${RANLIB}" \
21896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21897                   TAGS) \
21898           || exit 1
21899
21900 @endif utils
21901
21902 .PHONY: maybe-install-info-utils install-info-utils
21903 maybe-install-info-utils:
21904 @if utils
21905 maybe-install-info-utils: install-info-utils
21906
21907 install-info-utils: \
21908     configure-utils \
21909     info-utils 
21910         @[ -f ./utils/Makefile ] || exit 0; \
21911         r=`${PWD_COMMAND}`; export r; \
21912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913         $(SET_LIB_PATH) \
21914         $(HOST_EXPORTS) \
21915         for flag in $(EXTRA_HOST_FLAGS) ; do \
21916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21917         done; \
21918         echo "Doing install-info in utils" ; \
21919         (cd utils && \
21920           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21921                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21922                   "RANLIB=$${RANLIB}" \
21923                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21924                   install-info) \
21925           || exit 1
21926
21927 @endif utils
21928
21929 .PHONY: maybe-installcheck-utils installcheck-utils
21930 maybe-installcheck-utils:
21931 @if utils
21932 maybe-installcheck-utils: installcheck-utils
21933
21934 installcheck-utils: \
21935     configure-utils 
21936         @[ -f ./utils/Makefile ] || exit 0; \
21937         r=`${PWD_COMMAND}`; export r; \
21938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21939         $(SET_LIB_PATH) \
21940         $(HOST_EXPORTS) \
21941         for flag in $(EXTRA_HOST_FLAGS) ; do \
21942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21943         done; \
21944         echo "Doing installcheck in utils" ; \
21945         (cd utils && \
21946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21948                   "RANLIB=$${RANLIB}" \
21949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21950                   installcheck) \
21951           || exit 1
21952
21953 @endif utils
21954
21955 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21956 maybe-mostlyclean-utils:
21957 @if utils
21958 maybe-mostlyclean-utils: mostlyclean-utils
21959
21960 mostlyclean-utils: 
21961         @[ -f ./utils/Makefile ] || exit 0; \
21962         r=`${PWD_COMMAND}`; export r; \
21963         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21964         $(SET_LIB_PATH) \
21965         $(HOST_EXPORTS) \
21966         for flag in $(EXTRA_HOST_FLAGS) ; do \
21967           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21968         done; \
21969         echo "Doing mostlyclean in utils" ; \
21970         (cd utils && \
21971           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21972                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21973                   "RANLIB=$${RANLIB}" \
21974                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21975                   mostlyclean) \
21976           || exit 1
21977
21978 @endif utils
21979
21980 .PHONY: maybe-clean-utils clean-utils
21981 maybe-clean-utils:
21982 @if utils
21983 maybe-clean-utils: clean-utils
21984
21985 clean-utils: 
21986         @[ -f ./utils/Makefile ] || exit 0; \
21987         r=`${PWD_COMMAND}`; export r; \
21988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989         $(SET_LIB_PATH) \
21990         $(HOST_EXPORTS) \
21991         for flag in $(EXTRA_HOST_FLAGS) ; do \
21992           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21993         done; \
21994         echo "Doing clean in utils" ; \
21995         (cd utils && \
21996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21998                   "RANLIB=$${RANLIB}" \
21999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22000                   clean) \
22001           || exit 1
22002
22003 @endif utils
22004
22005 .PHONY: maybe-distclean-utils distclean-utils
22006 maybe-distclean-utils:
22007 @if utils
22008 maybe-distclean-utils: distclean-utils
22009
22010 distclean-utils: 
22011         @[ -f ./utils/Makefile ] || exit 0; \
22012         r=`${PWD_COMMAND}`; export r; \
22013         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014         $(SET_LIB_PATH) \
22015         $(HOST_EXPORTS) \
22016         for flag in $(EXTRA_HOST_FLAGS) ; do \
22017           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22018         done; \
22019         echo "Doing distclean in utils" ; \
22020         (cd utils && \
22021           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22022                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22023                   "RANLIB=$${RANLIB}" \
22024                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22025                   distclean) \
22026           || exit 1
22027
22028 @endif utils
22029
22030 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22031 maybe-maintainer-clean-utils:
22032 @if utils
22033 maybe-maintainer-clean-utils: maintainer-clean-utils
22034
22035 maintainer-clean-utils: 
22036         @[ -f ./utils/Makefile ] || exit 0; \
22037         r=`${PWD_COMMAND}`; export r; \
22038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22039         $(SET_LIB_PATH) \
22040         $(HOST_EXPORTS) \
22041         for flag in $(EXTRA_HOST_FLAGS) ; do \
22042           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22043         done; \
22044         echo "Doing maintainer-clean in utils" ; \
22045         (cd utils && \
22046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22048                   "RANLIB=$${RANLIB}" \
22049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22050                   maintainer-clean) \
22051           || exit 1
22052
22053 @endif utils
22054
22055
22056
22057 # ---------------------------------------
22058 # Modules which run on the target machine
22059 # ---------------------------------------
22060
22061 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22062 maybe-configure-target-libstdc++-v3:
22063 @if target-libstdc++-v3
22064 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22065
22066 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22067 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22068         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22069         rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22070         cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22071
22072 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22073         @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22074         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22075         r=`${PWD_COMMAND}`; export r; \
22076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22077         $(SET_LIB_PATH) \
22078         $(RAW_CXX_TARGET_EXPORTS) \
22079         echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22080         cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22081         case $(srcdir) in \
22082           /* | [A-Za-z]:[\\/]*) \
22083             topdir=$(srcdir) ;; \
22084           *) \
22085             case "$(TARGET_SUBDIR)" in \
22086               .) topdir="../$(srcdir)" ;; \
22087               *) topdir="../../$(srcdir)" ;; \
22088             esac ;; \
22089         esac; \
22090           srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22091           libsrcdir="$$s/libstdc++-v3"; \
22092         rm -f no-such-file || : ; \
22093         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22094           $(TARGET_CONFIGARGS) $${srcdiroption} \
22095           --with-target-subdir="$(TARGET_SUBDIR)"  \
22096           || exit 1
22097 @endif target-libstdc++-v3
22098
22099 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22100 maybe-all-target-libstdc++-v3:
22101 @if target-libstdc++-v3
22102 TARGET-target-libstdc++-v3=all
22103 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22104 all-target-libstdc++-v3: configure-target-libstdc++-v3
22105         @r=`${PWD_COMMAND}`; export r; \
22106         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22107         $(SET_LIB_PATH) \
22108         $(RAW_CXX_TARGET_EXPORTS) \
22109         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22110           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   $(TARGET-target-libstdc++-v3))
22111 @endif target-libstdc++-v3
22112
22113 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22114 maybe-check-target-libstdc++-v3:
22115 @if target-libstdc++-v3
22116 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22117
22118 check-target-libstdc++-v3:
22119         @r=`${PWD_COMMAND}`; export r; \
22120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22121         $(SET_LIB_PATH) \
22122         $(RAW_CXX_TARGET_EXPORTS) \
22123         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22124           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
22125
22126 @endif target-libstdc++-v3
22127
22128 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22129 maybe-install-target-libstdc++-v3:
22130 @if target-libstdc++-v3
22131 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22132
22133 install-target-libstdc++-v3: installdirs
22134         @r=`${PWD_COMMAND}`; export r; \
22135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22136         $(SET_LIB_PATH) \
22137         $(RAW_CXX_TARGET_EXPORTS) \
22138         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22139           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
22140
22141 @endif target-libstdc++-v3
22142
22143 # Other targets (info, dvi, etc.)
22144
22145 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22146 maybe-info-target-libstdc++-v3:
22147 @if target-libstdc++-v3
22148 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22149
22150 info-target-libstdc++-v3: \
22151     configure-target-libstdc++-v3 
22152         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22153         r=`${PWD_COMMAND}`; export r; \
22154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22155         $(SET_LIB_PATH) \
22156         $(RAW_CXX_TARGET_EXPORTS) \
22157         echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22158         for flag in $(EXTRA_TARGET_FLAGS); do \
22159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22160         done; \
22161         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22162           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22163                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22164                   "RANLIB=$${RANLIB}" \
22165                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22166                    info) \
22167           || exit 1
22168
22169 @endif target-libstdc++-v3
22170
22171 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22172 maybe-dvi-target-libstdc++-v3:
22173 @if target-libstdc++-v3
22174 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22175
22176 dvi-target-libstdc++-v3: \
22177     configure-target-libstdc++-v3 
22178         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22179         r=`${PWD_COMMAND}`; export r; \
22180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22181         $(SET_LIB_PATH) \
22182         $(RAW_CXX_TARGET_EXPORTS) \
22183         echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22184         for flag in $(EXTRA_TARGET_FLAGS); do \
22185           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22186         done; \
22187         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22188           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22189                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22190                   "RANLIB=$${RANLIB}" \
22191                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22192                    dvi) \
22193           || exit 1
22194
22195 @endif target-libstdc++-v3
22196
22197 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22198 maybe-TAGS-target-libstdc++-v3:
22199 @if target-libstdc++-v3
22200 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22201
22202 TAGS-target-libstdc++-v3: \
22203     configure-target-libstdc++-v3 
22204         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22205         r=`${PWD_COMMAND}`; export r; \
22206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207         $(SET_LIB_PATH) \
22208         $(RAW_CXX_TARGET_EXPORTS) \
22209         echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22210         for flag in $(EXTRA_TARGET_FLAGS); do \
22211           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22212         done; \
22213         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22214           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22215                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22216                   "RANLIB=$${RANLIB}" \
22217                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22218                    TAGS) \
22219           || exit 1
22220
22221 @endif target-libstdc++-v3
22222
22223 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22224 maybe-install-info-target-libstdc++-v3:
22225 @if target-libstdc++-v3
22226 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22227
22228 install-info-target-libstdc++-v3: \
22229     configure-target-libstdc++-v3 \
22230     info-target-libstdc++-v3 
22231         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22232         r=`${PWD_COMMAND}`; export r; \
22233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22234         $(SET_LIB_PATH) \
22235         $(RAW_CXX_TARGET_EXPORTS) \
22236         echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22237         for flag in $(EXTRA_TARGET_FLAGS); do \
22238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22239         done; \
22240         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22241           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22242                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22243                   "RANLIB=$${RANLIB}" \
22244                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22245                    install-info) \
22246           || exit 1
22247
22248 @endif target-libstdc++-v3
22249
22250 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22251 maybe-installcheck-target-libstdc++-v3:
22252 @if target-libstdc++-v3
22253 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22254
22255 installcheck-target-libstdc++-v3: \
22256     configure-target-libstdc++-v3 
22257         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22258         r=`${PWD_COMMAND}`; export r; \
22259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22260         $(SET_LIB_PATH) \
22261         $(RAW_CXX_TARGET_EXPORTS) \
22262         echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22263         for flag in $(EXTRA_TARGET_FLAGS); do \
22264           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22265         done; \
22266         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22267           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22268                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22269                   "RANLIB=$${RANLIB}" \
22270                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22271                    installcheck) \
22272           || exit 1
22273
22274 @endif target-libstdc++-v3
22275
22276 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22277 maybe-mostlyclean-target-libstdc++-v3:
22278 @if target-libstdc++-v3
22279 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22280
22281 mostlyclean-target-libstdc++-v3: 
22282         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22283         r=`${PWD_COMMAND}`; export r; \
22284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22285         $(SET_LIB_PATH) \
22286         $(RAW_CXX_TARGET_EXPORTS) \
22287         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22288         for flag in $(EXTRA_TARGET_FLAGS); do \
22289           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22290         done; \
22291         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22292           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22293                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22294                   "RANLIB=$${RANLIB}" \
22295                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22296                    mostlyclean) \
22297           || exit 1
22298
22299 @endif target-libstdc++-v3
22300
22301 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22302 maybe-clean-target-libstdc++-v3:
22303 @if target-libstdc++-v3
22304 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22305
22306 clean-target-libstdc++-v3: 
22307         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22308         r=`${PWD_COMMAND}`; export r; \
22309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22310         $(SET_LIB_PATH) \
22311         $(RAW_CXX_TARGET_EXPORTS) \
22312         echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22313         for flag in $(EXTRA_TARGET_FLAGS); do \
22314           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22315         done; \
22316         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22317           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22318                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22319                   "RANLIB=$${RANLIB}" \
22320                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22321                    clean) \
22322           || exit 1
22323
22324 @endif target-libstdc++-v3
22325
22326 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22327 maybe-distclean-target-libstdc++-v3:
22328 @if target-libstdc++-v3
22329 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22330
22331 distclean-target-libstdc++-v3: 
22332         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22333         r=`${PWD_COMMAND}`; export r; \
22334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22335         $(SET_LIB_PATH) \
22336         $(RAW_CXX_TARGET_EXPORTS) \
22337         echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22338         for flag in $(EXTRA_TARGET_FLAGS); do \
22339           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22340         done; \
22341         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344                   "RANLIB=$${RANLIB}" \
22345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22346                    distclean) \
22347           || exit 1
22348
22349 @endif target-libstdc++-v3
22350
22351 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22352 maybe-maintainer-clean-target-libstdc++-v3:
22353 @if target-libstdc++-v3
22354 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22355
22356 maintainer-clean-target-libstdc++-v3: 
22357         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22358         r=`${PWD_COMMAND}`; export r; \
22359         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22360         $(SET_LIB_PATH) \
22361         $(RAW_CXX_TARGET_EXPORTS) \
22362         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22363         for flag in $(EXTRA_TARGET_FLAGS); do \
22364           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22365         done; \
22366         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22367           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22368                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22369                   "RANLIB=$${RANLIB}" \
22370                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22371                    maintainer-clean) \
22372           || exit 1
22373
22374 @endif target-libstdc++-v3
22375
22376
22377 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22378 maybe-configure-target-libmudflap:
22379 @if target-libmudflap
22380 maybe-configure-target-libmudflap: configure-target-libmudflap
22381
22382 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22383 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22384         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22385         rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22386         cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22387
22388 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22389         @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22390         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22391         r=`${PWD_COMMAND}`; export r; \
22392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393         $(SET_LIB_PATH) \
22394         $(NORMAL_TARGET_EXPORTS) \
22395         echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22396         cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22397         case $(srcdir) in \
22398           /* | [A-Za-z]:[\\/]*) \
22399             topdir=$(srcdir) ;; \
22400           *) \
22401             case "$(TARGET_SUBDIR)" in \
22402               .) topdir="../$(srcdir)" ;; \
22403               *) topdir="../../$(srcdir)" ;; \
22404             esac ;; \
22405         esac; \
22406           srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22407           libsrcdir="$$s/libmudflap"; \
22408         rm -f no-such-file || : ; \
22409         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22410           $(TARGET_CONFIGARGS) $${srcdiroption} \
22411           --with-target-subdir="$(TARGET_SUBDIR)"  \
22412           || exit 1
22413 @endif target-libmudflap
22414
22415 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22416 maybe-all-target-libmudflap:
22417 @if target-libmudflap
22418 TARGET-target-libmudflap=all
22419 maybe-all-target-libmudflap: all-target-libmudflap
22420 all-target-libmudflap: configure-target-libmudflap
22421         @r=`${PWD_COMMAND}`; export r; \
22422         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22423         $(SET_LIB_PATH) \
22424         $(NORMAL_TARGET_EXPORTS) \
22425         (cd $(TARGET_SUBDIR)/libmudflap && \
22426           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libmudflap))
22427 @endif target-libmudflap
22428
22429 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22430 maybe-check-target-libmudflap:
22431 @if target-libmudflap
22432 maybe-check-target-libmudflap: check-target-libmudflap
22433
22434 check-target-libmudflap:
22435         @r=`${PWD_COMMAND}`; export r; \
22436         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22437         $(SET_LIB_PATH) \
22438         $(NORMAL_TARGET_EXPORTS) \
22439         (cd $(TARGET_SUBDIR)/libmudflap && \
22440           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
22441
22442 @endif target-libmudflap
22443
22444 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22445 maybe-install-target-libmudflap:
22446 @if target-libmudflap
22447 maybe-install-target-libmudflap: install-target-libmudflap
22448
22449 install-target-libmudflap: installdirs
22450         @r=`${PWD_COMMAND}`; export r; \
22451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22452         $(SET_LIB_PATH) \
22453         $(NORMAL_TARGET_EXPORTS) \
22454         (cd $(TARGET_SUBDIR)/libmudflap && \
22455           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
22456
22457 @endif target-libmudflap
22458
22459 # Other targets (info, dvi, etc.)
22460
22461 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22462 maybe-info-target-libmudflap:
22463 @if target-libmudflap
22464 maybe-info-target-libmudflap: info-target-libmudflap
22465
22466 info-target-libmudflap: \
22467     configure-target-libmudflap 
22468         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22469         r=`${PWD_COMMAND}`; export r; \
22470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22471         $(SET_LIB_PATH) \
22472         $(NORMAL_TARGET_EXPORTS) \
22473         echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22474         for flag in $(EXTRA_TARGET_FLAGS); do \
22475           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22476         done; \
22477         (cd $(TARGET_SUBDIR)/libmudflap && \
22478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22480                   "RANLIB=$${RANLIB}" \
22481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22482                    info) \
22483           || exit 1
22484
22485 @endif target-libmudflap
22486
22487 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22488 maybe-dvi-target-libmudflap:
22489 @if target-libmudflap
22490 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22491
22492 dvi-target-libmudflap: \
22493     configure-target-libmudflap 
22494         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22495         r=`${PWD_COMMAND}`; export r; \
22496         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22497         $(SET_LIB_PATH) \
22498         $(NORMAL_TARGET_EXPORTS) \
22499         echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22500         for flag in $(EXTRA_TARGET_FLAGS); do \
22501           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22502         done; \
22503         (cd $(TARGET_SUBDIR)/libmudflap && \
22504           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22505                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22506                   "RANLIB=$${RANLIB}" \
22507                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22508                    dvi) \
22509           || exit 1
22510
22511 @endif target-libmudflap
22512
22513 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22514 maybe-TAGS-target-libmudflap:
22515 @if target-libmudflap
22516 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22517
22518 TAGS-target-libmudflap: \
22519     configure-target-libmudflap 
22520         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22521         r=`${PWD_COMMAND}`; export r; \
22522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22523         $(SET_LIB_PATH) \
22524         $(NORMAL_TARGET_EXPORTS) \
22525         echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22526         for flag in $(EXTRA_TARGET_FLAGS); do \
22527           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22528         done; \
22529         (cd $(TARGET_SUBDIR)/libmudflap && \
22530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22532                   "RANLIB=$${RANLIB}" \
22533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22534                    TAGS) \
22535           || exit 1
22536
22537 @endif target-libmudflap
22538
22539 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22540 maybe-install-info-target-libmudflap:
22541 @if target-libmudflap
22542 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22543
22544 install-info-target-libmudflap: \
22545     configure-target-libmudflap \
22546     info-target-libmudflap 
22547         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22548         r=`${PWD_COMMAND}`; export r; \
22549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22550         $(SET_LIB_PATH) \
22551         $(NORMAL_TARGET_EXPORTS) \
22552         echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22553         for flag in $(EXTRA_TARGET_FLAGS); do \
22554           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22555         done; \
22556         (cd $(TARGET_SUBDIR)/libmudflap && \
22557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22559                   "RANLIB=$${RANLIB}" \
22560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22561                    install-info) \
22562           || exit 1
22563
22564 @endif target-libmudflap
22565
22566 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22567 maybe-installcheck-target-libmudflap:
22568 @if target-libmudflap
22569 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22570
22571 installcheck-target-libmudflap: \
22572     configure-target-libmudflap 
22573         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22574         r=`${PWD_COMMAND}`; export r; \
22575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22576         $(SET_LIB_PATH) \
22577         $(NORMAL_TARGET_EXPORTS) \
22578         echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22579         for flag in $(EXTRA_TARGET_FLAGS); do \
22580           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22581         done; \
22582         (cd $(TARGET_SUBDIR)/libmudflap && \
22583           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22584                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22585                   "RANLIB=$${RANLIB}" \
22586                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22587                    installcheck) \
22588           || exit 1
22589
22590 @endif target-libmudflap
22591
22592 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22593 maybe-mostlyclean-target-libmudflap:
22594 @if target-libmudflap
22595 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22596
22597 mostlyclean-target-libmudflap: 
22598         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22599         r=`${PWD_COMMAND}`; export r; \
22600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22601         $(SET_LIB_PATH) \
22602         $(NORMAL_TARGET_EXPORTS) \
22603         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22604         for flag in $(EXTRA_TARGET_FLAGS); do \
22605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22606         done; \
22607         (cd $(TARGET_SUBDIR)/libmudflap && \
22608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22610                   "RANLIB=$${RANLIB}" \
22611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22612                    mostlyclean) \
22613           || exit 1
22614
22615 @endif target-libmudflap
22616
22617 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22618 maybe-clean-target-libmudflap:
22619 @if target-libmudflap
22620 maybe-clean-target-libmudflap: clean-target-libmudflap
22621
22622 clean-target-libmudflap: 
22623         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22624         r=`${PWD_COMMAND}`; export r; \
22625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22626         $(SET_LIB_PATH) \
22627         $(NORMAL_TARGET_EXPORTS) \
22628         echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22629         for flag in $(EXTRA_TARGET_FLAGS); do \
22630           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22631         done; \
22632         (cd $(TARGET_SUBDIR)/libmudflap && \
22633           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22634                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22635                   "RANLIB=$${RANLIB}" \
22636                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22637                    clean) \
22638           || exit 1
22639
22640 @endif target-libmudflap
22641
22642 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22643 maybe-distclean-target-libmudflap:
22644 @if target-libmudflap
22645 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22646
22647 distclean-target-libmudflap: 
22648         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22649         r=`${PWD_COMMAND}`; export r; \
22650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22651         $(SET_LIB_PATH) \
22652         $(NORMAL_TARGET_EXPORTS) \
22653         echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22654         for flag in $(EXTRA_TARGET_FLAGS); do \
22655           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22656         done; \
22657         (cd $(TARGET_SUBDIR)/libmudflap && \
22658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22660                   "RANLIB=$${RANLIB}" \
22661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22662                    distclean) \
22663           || exit 1
22664
22665 @endif target-libmudflap
22666
22667 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22668 maybe-maintainer-clean-target-libmudflap:
22669 @if target-libmudflap
22670 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22671
22672 maintainer-clean-target-libmudflap: 
22673         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22674         r=`${PWD_COMMAND}`; export r; \
22675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22676         $(SET_LIB_PATH) \
22677         $(NORMAL_TARGET_EXPORTS) \
22678         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22679         for flag in $(EXTRA_TARGET_FLAGS); do \
22680           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22681         done; \
22682         (cd $(TARGET_SUBDIR)/libmudflap && \
22683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22685                   "RANLIB=$${RANLIB}" \
22686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22687                    maintainer-clean) \
22688           || exit 1
22689
22690 @endif target-libmudflap
22691
22692
22693 .PHONY: configure-target-newlib maybe-configure-target-newlib
22694 maybe-configure-target-newlib:
22695 @if target-newlib
22696 maybe-configure-target-newlib: configure-target-newlib
22697
22698 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22699 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22700         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22701         rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22702         cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22703
22704 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22705         @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22706         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22707         r=`${PWD_COMMAND}`; export r; \
22708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22709         $(SET_LIB_PATH) \
22710         $(NORMAL_TARGET_EXPORTS) \
22711         echo Configuring in $(TARGET_SUBDIR)/newlib; \
22712         cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22713         case $(srcdir) in \
22714           /* | [A-Za-z]:[\\/]*) \
22715             topdir=$(srcdir) ;; \
22716           *) \
22717             case "$(TARGET_SUBDIR)" in \
22718               .) topdir="../$(srcdir)" ;; \
22719               *) topdir="../../$(srcdir)" ;; \
22720             esac ;; \
22721         esac; \
22722           srcdiroption="--srcdir=$${topdir}/newlib"; \
22723           libsrcdir="$$s/newlib"; \
22724         rm -f no-such-file || : ; \
22725         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22726           $(TARGET_CONFIGARGS) $${srcdiroption} \
22727           --with-target-subdir="$(TARGET_SUBDIR)"  \
22728           || exit 1
22729 @endif target-newlib
22730
22731 .PHONY: all-target-newlib maybe-all-target-newlib
22732 maybe-all-target-newlib:
22733 @if target-newlib
22734 TARGET-target-newlib=all
22735 maybe-all-target-newlib: all-target-newlib
22736 all-target-newlib: configure-target-newlib
22737         @r=`${PWD_COMMAND}`; export r; \
22738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22739         $(SET_LIB_PATH) \
22740         $(NORMAL_TARGET_EXPORTS) \
22741         (cd $(TARGET_SUBDIR)/newlib && \
22742           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-newlib))
22743 @endif target-newlib
22744
22745 .PHONY: check-target-newlib maybe-check-target-newlib
22746 maybe-check-target-newlib:
22747 @if target-newlib
22748 maybe-check-target-newlib: check-target-newlib
22749
22750 check-target-newlib:
22751         @r=`${PWD_COMMAND}`; export r; \
22752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22753         $(SET_LIB_PATH) \
22754         $(NORMAL_TARGET_EXPORTS) \
22755         (cd $(TARGET_SUBDIR)/newlib && \
22756           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
22757
22758 @endif target-newlib
22759
22760 .PHONY: install-target-newlib maybe-install-target-newlib
22761 maybe-install-target-newlib:
22762 @if target-newlib
22763 maybe-install-target-newlib: install-target-newlib
22764
22765 install-target-newlib: installdirs
22766         @r=`${PWD_COMMAND}`; export r; \
22767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22768         $(SET_LIB_PATH) \
22769         $(NORMAL_TARGET_EXPORTS) \
22770         (cd $(TARGET_SUBDIR)/newlib && \
22771           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
22772
22773 @endif target-newlib
22774
22775 # Other targets (info, dvi, etc.)
22776
22777 .PHONY: maybe-info-target-newlib info-target-newlib
22778 maybe-info-target-newlib:
22779 @if target-newlib
22780 maybe-info-target-newlib: info-target-newlib
22781
22782 info-target-newlib: \
22783     configure-target-newlib 
22784         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22785         r=`${PWD_COMMAND}`; export r; \
22786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22787         $(SET_LIB_PATH) \
22788         $(NORMAL_TARGET_EXPORTS) \
22789         echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22790         for flag in $(EXTRA_TARGET_FLAGS); do \
22791           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22792         done; \
22793         (cd $(TARGET_SUBDIR)/newlib && \
22794           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22795                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22796                   "RANLIB=$${RANLIB}" \
22797                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22798                    info) \
22799           || exit 1
22800
22801 @endif target-newlib
22802
22803 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22804 maybe-dvi-target-newlib:
22805 @if target-newlib
22806 maybe-dvi-target-newlib: dvi-target-newlib
22807
22808 dvi-target-newlib: \
22809     configure-target-newlib 
22810         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22811         r=`${PWD_COMMAND}`; export r; \
22812         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22813         $(SET_LIB_PATH) \
22814         $(NORMAL_TARGET_EXPORTS) \
22815         echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22816         for flag in $(EXTRA_TARGET_FLAGS); do \
22817           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22818         done; \
22819         (cd $(TARGET_SUBDIR)/newlib && \
22820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22822                   "RANLIB=$${RANLIB}" \
22823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22824                    dvi) \
22825           || exit 1
22826
22827 @endif target-newlib
22828
22829 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22830 maybe-TAGS-target-newlib:
22831 @if target-newlib
22832 maybe-TAGS-target-newlib: TAGS-target-newlib
22833
22834 TAGS-target-newlib: \
22835     configure-target-newlib 
22836         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22837         r=`${PWD_COMMAND}`; export r; \
22838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22839         $(SET_LIB_PATH) \
22840         $(NORMAL_TARGET_EXPORTS) \
22841         echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22842         for flag in $(EXTRA_TARGET_FLAGS); do \
22843           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22844         done; \
22845         (cd $(TARGET_SUBDIR)/newlib && \
22846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22848                   "RANLIB=$${RANLIB}" \
22849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22850                    TAGS) \
22851           || exit 1
22852
22853 @endif target-newlib
22854
22855 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22856 maybe-install-info-target-newlib:
22857 @if target-newlib
22858 maybe-install-info-target-newlib: install-info-target-newlib
22859
22860 install-info-target-newlib: \
22861     configure-target-newlib \
22862     info-target-newlib 
22863         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22864         r=`${PWD_COMMAND}`; export r; \
22865         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22866         $(SET_LIB_PATH) \
22867         $(NORMAL_TARGET_EXPORTS) \
22868         echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22869         for flag in $(EXTRA_TARGET_FLAGS); do \
22870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22871         done; \
22872         (cd $(TARGET_SUBDIR)/newlib && \
22873           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22874                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22875                   "RANLIB=$${RANLIB}" \
22876                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22877                    install-info) \
22878           || exit 1
22879
22880 @endif target-newlib
22881
22882 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22883 maybe-installcheck-target-newlib:
22884 @if target-newlib
22885 maybe-installcheck-target-newlib: installcheck-target-newlib
22886
22887 installcheck-target-newlib: \
22888     configure-target-newlib 
22889         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22890         r=`${PWD_COMMAND}`; export r; \
22891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892         $(SET_LIB_PATH) \
22893         $(NORMAL_TARGET_EXPORTS) \
22894         echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22895         for flag in $(EXTRA_TARGET_FLAGS); do \
22896           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22897         done; \
22898         (cd $(TARGET_SUBDIR)/newlib && \
22899           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22900                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22901                   "RANLIB=$${RANLIB}" \
22902                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22903                    installcheck) \
22904           || exit 1
22905
22906 @endif target-newlib
22907
22908 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22909 maybe-mostlyclean-target-newlib:
22910 @if target-newlib
22911 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22912
22913 mostlyclean-target-newlib: 
22914         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22915         r=`${PWD_COMMAND}`; export r; \
22916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22917         $(SET_LIB_PATH) \
22918         $(NORMAL_TARGET_EXPORTS) \
22919         echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22920         for flag in $(EXTRA_TARGET_FLAGS); do \
22921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22922         done; \
22923         (cd $(TARGET_SUBDIR)/newlib && \
22924           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22925                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22926                   "RANLIB=$${RANLIB}" \
22927                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22928                    mostlyclean) \
22929           || exit 1
22930
22931 @endif target-newlib
22932
22933 .PHONY: maybe-clean-target-newlib clean-target-newlib
22934 maybe-clean-target-newlib:
22935 @if target-newlib
22936 maybe-clean-target-newlib: clean-target-newlib
22937
22938 clean-target-newlib: 
22939         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22940         r=`${PWD_COMMAND}`; export r; \
22941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942         $(SET_LIB_PATH) \
22943         $(NORMAL_TARGET_EXPORTS) \
22944         echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
22945         for flag in $(EXTRA_TARGET_FLAGS); do \
22946           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22947         done; \
22948         (cd $(TARGET_SUBDIR)/newlib && \
22949           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22950                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22951                   "RANLIB=$${RANLIB}" \
22952                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22953                    clean) \
22954           || exit 1
22955
22956 @endif target-newlib
22957
22958 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22959 maybe-distclean-target-newlib:
22960 @if target-newlib
22961 maybe-distclean-target-newlib: distclean-target-newlib
22962
22963 distclean-target-newlib: 
22964         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22965         r=`${PWD_COMMAND}`; export r; \
22966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967         $(SET_LIB_PATH) \
22968         $(NORMAL_TARGET_EXPORTS) \
22969         echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
22970         for flag in $(EXTRA_TARGET_FLAGS); do \
22971           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22972         done; \
22973         (cd $(TARGET_SUBDIR)/newlib && \
22974           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22975                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22976                   "RANLIB=$${RANLIB}" \
22977                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22978                    distclean) \
22979           || exit 1
22980
22981 @endif target-newlib
22982
22983 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22984 maybe-maintainer-clean-target-newlib:
22985 @if target-newlib
22986 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22987
22988 maintainer-clean-target-newlib: 
22989         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22990         r=`${PWD_COMMAND}`; export r; \
22991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992         $(SET_LIB_PATH) \
22993         $(NORMAL_TARGET_EXPORTS) \
22994         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
22995         for flag in $(EXTRA_TARGET_FLAGS); do \
22996           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22997         done; \
22998         (cd $(TARGET_SUBDIR)/newlib && \
22999           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23000                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23001                   "RANLIB=$${RANLIB}" \
23002                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23003                    maintainer-clean) \
23004           || exit 1
23005
23006 @endif target-newlib
23007
23008
23009 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23010 maybe-configure-target-libgfortran:
23011 @if target-libgfortran
23012 maybe-configure-target-libgfortran: configure-target-libgfortran
23013
23014 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23015 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23016         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23017         rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23018         cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23019
23020 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23021         @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23022         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23023         r=`${PWD_COMMAND}`; export r; \
23024         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025         $(SET_LIB_PATH) \
23026         $(NORMAL_TARGET_EXPORTS) \
23027         echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23028         cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23029         case $(srcdir) in \
23030           /* | [A-Za-z]:[\\/]*) \
23031             topdir=$(srcdir) ;; \
23032           *) \
23033             case "$(TARGET_SUBDIR)" in \
23034               .) topdir="../$(srcdir)" ;; \
23035               *) topdir="../../$(srcdir)" ;; \
23036             esac ;; \
23037         esac; \
23038           srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23039           libsrcdir="$$s/libgfortran"; \
23040         rm -f no-such-file || : ; \
23041         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23042           $(TARGET_CONFIGARGS) $${srcdiroption} \
23043           --with-target-subdir="$(TARGET_SUBDIR)"  \
23044           || exit 1
23045 @endif target-libgfortran
23046
23047 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23048 maybe-all-target-libgfortran:
23049 @if target-libgfortran
23050 TARGET-target-libgfortran=all
23051 maybe-all-target-libgfortran: all-target-libgfortran
23052 all-target-libgfortran: configure-target-libgfortran
23053         @r=`${PWD_COMMAND}`; export r; \
23054         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23055         $(SET_LIB_PATH) \
23056         $(NORMAL_TARGET_EXPORTS) \
23057         (cd $(TARGET_SUBDIR)/libgfortran && \
23058           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libgfortran))
23059 @endif target-libgfortran
23060
23061 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23062 maybe-check-target-libgfortran:
23063 @if target-libgfortran
23064 maybe-check-target-libgfortran: check-target-libgfortran
23065
23066 check-target-libgfortran:
23067         @r=`${PWD_COMMAND}`; export r; \
23068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23069         $(SET_LIB_PATH) \
23070         $(NORMAL_TARGET_EXPORTS) \
23071         (cd $(TARGET_SUBDIR)/libgfortran && \
23072           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23073
23074 @endif target-libgfortran
23075
23076 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23077 maybe-install-target-libgfortran:
23078 @if target-libgfortran
23079 maybe-install-target-libgfortran: install-target-libgfortran
23080
23081 install-target-libgfortran: installdirs
23082         @r=`${PWD_COMMAND}`; export r; \
23083         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23084         $(SET_LIB_PATH) \
23085         $(NORMAL_TARGET_EXPORTS) \
23086         (cd $(TARGET_SUBDIR)/libgfortran && \
23087           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23088
23089 @endif target-libgfortran
23090
23091 # Other targets (info, dvi, etc.)
23092
23093 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23094 maybe-info-target-libgfortran:
23095 @if target-libgfortran
23096 maybe-info-target-libgfortran: info-target-libgfortran
23097
23098 info-target-libgfortran: \
23099     configure-target-libgfortran 
23100         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23101         r=`${PWD_COMMAND}`; export r; \
23102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23103         $(SET_LIB_PATH) \
23104         $(NORMAL_TARGET_EXPORTS) \
23105         echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23106         for flag in $(EXTRA_TARGET_FLAGS); do \
23107           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23108         done; \
23109         (cd $(TARGET_SUBDIR)/libgfortran && \
23110           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23111                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23112                   "RANLIB=$${RANLIB}" \
23113                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23114                    info) \
23115           || exit 1
23116
23117 @endif target-libgfortran
23118
23119 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23120 maybe-dvi-target-libgfortran:
23121 @if target-libgfortran
23122 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23123
23124 dvi-target-libgfortran: \
23125     configure-target-libgfortran 
23126         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23127         r=`${PWD_COMMAND}`; export r; \
23128         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23129         $(SET_LIB_PATH) \
23130         $(NORMAL_TARGET_EXPORTS) \
23131         echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23132         for flag in $(EXTRA_TARGET_FLAGS); do \
23133           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23134         done; \
23135         (cd $(TARGET_SUBDIR)/libgfortran && \
23136           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23137                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23138                   "RANLIB=$${RANLIB}" \
23139                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23140                    dvi) \
23141           || exit 1
23142
23143 @endif target-libgfortran
23144
23145 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23146 maybe-TAGS-target-libgfortran:
23147 @if target-libgfortran
23148 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23149
23150 TAGS-target-libgfortran: \
23151     configure-target-libgfortran 
23152         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23153         r=`${PWD_COMMAND}`; export r; \
23154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23155         $(SET_LIB_PATH) \
23156         $(NORMAL_TARGET_EXPORTS) \
23157         echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23158         for flag in $(EXTRA_TARGET_FLAGS); do \
23159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23160         done; \
23161         (cd $(TARGET_SUBDIR)/libgfortran && \
23162           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23163                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23164                   "RANLIB=$${RANLIB}" \
23165                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23166                    TAGS) \
23167           || exit 1
23168
23169 @endif target-libgfortran
23170
23171 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23172 maybe-install-info-target-libgfortran:
23173 @if target-libgfortran
23174 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23175
23176 install-info-target-libgfortran: \
23177     configure-target-libgfortran \
23178     info-target-libgfortran 
23179         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23180         r=`${PWD_COMMAND}`; export r; \
23181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23182         $(SET_LIB_PATH) \
23183         $(NORMAL_TARGET_EXPORTS) \
23184         echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23185         for flag in $(EXTRA_TARGET_FLAGS); do \
23186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23187         done; \
23188         (cd $(TARGET_SUBDIR)/libgfortran && \
23189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23191                   "RANLIB=$${RANLIB}" \
23192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23193                    install-info) \
23194           || exit 1
23195
23196 @endif target-libgfortran
23197
23198 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23199 maybe-installcheck-target-libgfortran:
23200 @if target-libgfortran
23201 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23202
23203 installcheck-target-libgfortran: \
23204     configure-target-libgfortran 
23205         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23206         r=`${PWD_COMMAND}`; export r; \
23207         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23208         $(SET_LIB_PATH) \
23209         $(NORMAL_TARGET_EXPORTS) \
23210         echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23211         for flag in $(EXTRA_TARGET_FLAGS); do \
23212           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23213         done; \
23214         (cd $(TARGET_SUBDIR)/libgfortran && \
23215           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23216                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23217                   "RANLIB=$${RANLIB}" \
23218                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23219                    installcheck) \
23220           || exit 1
23221
23222 @endif target-libgfortran
23223
23224 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23225 maybe-mostlyclean-target-libgfortran:
23226 @if target-libgfortran
23227 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23228
23229 mostlyclean-target-libgfortran: 
23230         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23231         r=`${PWD_COMMAND}`; export r; \
23232         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23233         $(SET_LIB_PATH) \
23234         $(NORMAL_TARGET_EXPORTS) \
23235         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23236         for flag in $(EXTRA_TARGET_FLAGS); do \
23237           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23238         done; \
23239         (cd $(TARGET_SUBDIR)/libgfortran && \
23240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23242                   "RANLIB=$${RANLIB}" \
23243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23244                    mostlyclean) \
23245           || exit 1
23246
23247 @endif target-libgfortran
23248
23249 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23250 maybe-clean-target-libgfortran:
23251 @if target-libgfortran
23252 maybe-clean-target-libgfortran: clean-target-libgfortran
23253
23254 clean-target-libgfortran: 
23255         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23256         r=`${PWD_COMMAND}`; export r; \
23257         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23258         $(SET_LIB_PATH) \
23259         $(NORMAL_TARGET_EXPORTS) \
23260         echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23261         for flag in $(EXTRA_TARGET_FLAGS); do \
23262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23263         done; \
23264         (cd $(TARGET_SUBDIR)/libgfortran && \
23265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23267                   "RANLIB=$${RANLIB}" \
23268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23269                    clean) \
23270           || exit 1
23271
23272 @endif target-libgfortran
23273
23274 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23275 maybe-distclean-target-libgfortran:
23276 @if target-libgfortran
23277 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23278
23279 distclean-target-libgfortran: 
23280         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23281         r=`${PWD_COMMAND}`; export r; \
23282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23283         $(SET_LIB_PATH) \
23284         $(NORMAL_TARGET_EXPORTS) \
23285         echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23286         for flag in $(EXTRA_TARGET_FLAGS); do \
23287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23288         done; \
23289         (cd $(TARGET_SUBDIR)/libgfortran && \
23290           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23291                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23292                   "RANLIB=$${RANLIB}" \
23293                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23294                    distclean) \
23295           || exit 1
23296
23297 @endif target-libgfortran
23298
23299 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23300 maybe-maintainer-clean-target-libgfortran:
23301 @if target-libgfortran
23302 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23303
23304 maintainer-clean-target-libgfortran: 
23305         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23306         r=`${PWD_COMMAND}`; export r; \
23307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308         $(SET_LIB_PATH) \
23309         $(NORMAL_TARGET_EXPORTS) \
23310         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23311         for flag in $(EXTRA_TARGET_FLAGS); do \
23312           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23313         done; \
23314         (cd $(TARGET_SUBDIR)/libgfortran && \
23315           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23316                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23317                   "RANLIB=$${RANLIB}" \
23318                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23319                    maintainer-clean) \
23320           || exit 1
23321
23322 @endif target-libgfortran
23323
23324
23325 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23326 maybe-configure-target-libobjc:
23327 @if target-libobjc
23328 maybe-configure-target-libobjc: configure-target-libobjc
23329
23330 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23331 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23332         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23333         rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23334         cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23335
23336 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23337         @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23338         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23339         r=`${PWD_COMMAND}`; export r; \
23340         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23341         $(SET_LIB_PATH) \
23342         $(NORMAL_TARGET_EXPORTS) \
23343         echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23344         cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23345         case $(srcdir) in \
23346           /* | [A-Za-z]:[\\/]*) \
23347             topdir=$(srcdir) ;; \
23348           *) \
23349             case "$(TARGET_SUBDIR)" in \
23350               .) topdir="../$(srcdir)" ;; \
23351               *) topdir="../../$(srcdir)" ;; \
23352             esac ;; \
23353         esac; \
23354           srcdiroption="--srcdir=$${topdir}/libobjc"; \
23355           libsrcdir="$$s/libobjc"; \
23356         rm -f no-such-file || : ; \
23357         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23358           $(TARGET_CONFIGARGS) $${srcdiroption} \
23359           --with-target-subdir="$(TARGET_SUBDIR)"  \
23360           || exit 1
23361 @endif target-libobjc
23362
23363 .PHONY: all-target-libobjc maybe-all-target-libobjc
23364 maybe-all-target-libobjc:
23365 @if target-libobjc
23366 TARGET-target-libobjc=all
23367 maybe-all-target-libobjc: all-target-libobjc
23368 all-target-libobjc: configure-target-libobjc
23369         @r=`${PWD_COMMAND}`; export r; \
23370         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23371         $(SET_LIB_PATH) \
23372         $(NORMAL_TARGET_EXPORTS) \
23373         (cd $(TARGET_SUBDIR)/libobjc && \
23374           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libobjc))
23375 @endif target-libobjc
23376
23377 .PHONY: check-target-libobjc maybe-check-target-libobjc
23378 maybe-check-target-libobjc:
23379 @if target-libobjc
23380 maybe-check-target-libobjc: check-target-libobjc
23381
23382 check-target-libobjc:
23383         @r=`${PWD_COMMAND}`; export r; \
23384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23385         $(SET_LIB_PATH) \
23386         $(NORMAL_TARGET_EXPORTS) \
23387         (cd $(TARGET_SUBDIR)/libobjc && \
23388           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23389
23390 @endif target-libobjc
23391
23392 .PHONY: install-target-libobjc maybe-install-target-libobjc
23393 maybe-install-target-libobjc:
23394 @if target-libobjc
23395 maybe-install-target-libobjc: install-target-libobjc
23396
23397 install-target-libobjc: installdirs
23398         @r=`${PWD_COMMAND}`; export r; \
23399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400         $(SET_LIB_PATH) \
23401         $(NORMAL_TARGET_EXPORTS) \
23402         (cd $(TARGET_SUBDIR)/libobjc && \
23403           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23404
23405 @endif target-libobjc
23406
23407 # Other targets (info, dvi, etc.)
23408
23409 .PHONY: maybe-info-target-libobjc info-target-libobjc
23410 maybe-info-target-libobjc:
23411 @if target-libobjc
23412 maybe-info-target-libobjc: info-target-libobjc
23413
23414 info-target-libobjc: \
23415     configure-target-libobjc 
23416         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23417         r=`${PWD_COMMAND}`; export r; \
23418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23419         $(SET_LIB_PATH) \
23420         $(NORMAL_TARGET_EXPORTS) \
23421         echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23422         for flag in $(EXTRA_TARGET_FLAGS); do \
23423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23424         done; \
23425         (cd $(TARGET_SUBDIR)/libobjc && \
23426           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23427                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23428                   "RANLIB=$${RANLIB}" \
23429                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23430                    info) \
23431           || exit 1
23432
23433 @endif target-libobjc
23434
23435 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23436 maybe-dvi-target-libobjc:
23437 @if target-libobjc
23438 maybe-dvi-target-libobjc: dvi-target-libobjc
23439
23440 dvi-target-libobjc: \
23441     configure-target-libobjc 
23442         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23443         r=`${PWD_COMMAND}`; export r; \
23444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445         $(SET_LIB_PATH) \
23446         $(NORMAL_TARGET_EXPORTS) \
23447         echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23448         for flag in $(EXTRA_TARGET_FLAGS); do \
23449           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23450         done; \
23451         (cd $(TARGET_SUBDIR)/libobjc && \
23452           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23453                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23454                   "RANLIB=$${RANLIB}" \
23455                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23456                    dvi) \
23457           || exit 1
23458
23459 @endif target-libobjc
23460
23461 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23462 maybe-TAGS-target-libobjc:
23463 @if target-libobjc
23464 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23465
23466 TAGS-target-libobjc: \
23467     configure-target-libobjc 
23468         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23469         r=`${PWD_COMMAND}`; export r; \
23470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23471         $(SET_LIB_PATH) \
23472         $(NORMAL_TARGET_EXPORTS) \
23473         echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23474         for flag in $(EXTRA_TARGET_FLAGS); do \
23475           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23476         done; \
23477         (cd $(TARGET_SUBDIR)/libobjc && \
23478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23480                   "RANLIB=$${RANLIB}" \
23481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23482                    TAGS) \
23483           || exit 1
23484
23485 @endif target-libobjc
23486
23487 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23488 maybe-install-info-target-libobjc:
23489 @if target-libobjc
23490 maybe-install-info-target-libobjc: install-info-target-libobjc
23491
23492 install-info-target-libobjc: \
23493     configure-target-libobjc \
23494     info-target-libobjc 
23495         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23496         r=`${PWD_COMMAND}`; export r; \
23497         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23498         $(SET_LIB_PATH) \
23499         $(NORMAL_TARGET_EXPORTS) \
23500         echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23501         for flag in $(EXTRA_TARGET_FLAGS); do \
23502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23503         done; \
23504         (cd $(TARGET_SUBDIR)/libobjc && \
23505           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23506                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23507                   "RANLIB=$${RANLIB}" \
23508                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23509                    install-info) \
23510           || exit 1
23511
23512 @endif target-libobjc
23513
23514 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23515 maybe-installcheck-target-libobjc:
23516 @if target-libobjc
23517 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23518
23519 installcheck-target-libobjc: \
23520     configure-target-libobjc 
23521         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23522         r=`${PWD_COMMAND}`; export r; \
23523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23524         $(SET_LIB_PATH) \
23525         $(NORMAL_TARGET_EXPORTS) \
23526         echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23527         for flag in $(EXTRA_TARGET_FLAGS); do \
23528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23529         done; \
23530         (cd $(TARGET_SUBDIR)/libobjc && \
23531           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23532                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23533                   "RANLIB=$${RANLIB}" \
23534                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23535                    installcheck) \
23536           || exit 1
23537
23538 @endif target-libobjc
23539
23540 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23541 maybe-mostlyclean-target-libobjc:
23542 @if target-libobjc
23543 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23544
23545 mostlyclean-target-libobjc: 
23546         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23547         r=`${PWD_COMMAND}`; export r; \
23548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23549         $(SET_LIB_PATH) \
23550         $(NORMAL_TARGET_EXPORTS) \
23551         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23552         for flag in $(EXTRA_TARGET_FLAGS); do \
23553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23554         done; \
23555         (cd $(TARGET_SUBDIR)/libobjc && \
23556           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23557                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23558                   "RANLIB=$${RANLIB}" \
23559                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23560                    mostlyclean) \
23561           || exit 1
23562
23563 @endif target-libobjc
23564
23565 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23566 maybe-clean-target-libobjc:
23567 @if target-libobjc
23568 maybe-clean-target-libobjc: clean-target-libobjc
23569
23570 clean-target-libobjc: 
23571         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23572         r=`${PWD_COMMAND}`; export r; \
23573         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23574         $(SET_LIB_PATH) \
23575         $(NORMAL_TARGET_EXPORTS) \
23576         echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23577         for flag in $(EXTRA_TARGET_FLAGS); do \
23578           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23579         done; \
23580         (cd $(TARGET_SUBDIR)/libobjc && \
23581           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23582                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23583                   "RANLIB=$${RANLIB}" \
23584                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23585                    clean) \
23586           || exit 1
23587
23588 @endif target-libobjc
23589
23590 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23591 maybe-distclean-target-libobjc:
23592 @if target-libobjc
23593 maybe-distclean-target-libobjc: distclean-target-libobjc
23594
23595 distclean-target-libobjc: 
23596         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23597         r=`${PWD_COMMAND}`; export r; \
23598         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23599         $(SET_LIB_PATH) \
23600         $(NORMAL_TARGET_EXPORTS) \
23601         echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23602         for flag in $(EXTRA_TARGET_FLAGS); do \
23603           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23604         done; \
23605         (cd $(TARGET_SUBDIR)/libobjc && \
23606           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23607                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23608                   "RANLIB=$${RANLIB}" \
23609                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23610                    distclean) \
23611           || exit 1
23612
23613 @endif target-libobjc
23614
23615 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23616 maybe-maintainer-clean-target-libobjc:
23617 @if target-libobjc
23618 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23619
23620 maintainer-clean-target-libobjc: 
23621         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23622         r=`${PWD_COMMAND}`; export r; \
23623         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23624         $(SET_LIB_PATH) \
23625         $(NORMAL_TARGET_EXPORTS) \
23626         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23627         for flag in $(EXTRA_TARGET_FLAGS); do \
23628           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23629         done; \
23630         (cd $(TARGET_SUBDIR)/libobjc && \
23631           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23632                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23633                   "RANLIB=$${RANLIB}" \
23634                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23635                    maintainer-clean) \
23636           || exit 1
23637
23638 @endif target-libobjc
23639
23640
23641 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23642 maybe-configure-target-libtermcap:
23643 @if target-libtermcap
23644 maybe-configure-target-libtermcap: configure-target-libtermcap
23645
23646 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23647 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23648         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23649         rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23650         cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23651
23652 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23653         @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23654         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23655         r=`${PWD_COMMAND}`; export r; \
23656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23657         $(SET_LIB_PATH) \
23658         $(NORMAL_TARGET_EXPORTS) \
23659         echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23660         cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23661         case $(srcdir) in \
23662           /* | [A-Za-z]:[\\/]*) \
23663             topdir=$(srcdir) ;; \
23664           *) \
23665             case "$(TARGET_SUBDIR)" in \
23666               .) topdir="../$(srcdir)" ;; \
23667               *) topdir="../../$(srcdir)" ;; \
23668             esac ;; \
23669         esac; \
23670         if [ "$(srcdir)" = "." ] ; then \
23671           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23672             if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23673               if [ -f Makefile ]; then \
23674                 if $(MAKE) distclean; then \
23675                   true; \
23676                 else \
23677                   exit 1; \
23678                 fi; \
23679               else \
23680                 true; \
23681               fi; \
23682             else \
23683               exit 1; \
23684             fi; \
23685           else \
23686             true; \
23687           fi; \
23688           srcdiroption="--srcdir=."; \
23689           libsrcdir="."; \
23690         else \
23691           srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23692           libsrcdir="$$s/libtermcap"; \
23693         fi; \
23694         rm -f no-such-file || : ; \
23695         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23696           $(TARGET_CONFIGARGS) $${srcdiroption} \
23697           --with-target-subdir="$(TARGET_SUBDIR)"  \
23698           || exit 1
23699 @endif target-libtermcap
23700
23701 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23702 maybe-all-target-libtermcap:
23703 @if target-libtermcap
23704 TARGET-target-libtermcap=all
23705 maybe-all-target-libtermcap: all-target-libtermcap
23706 all-target-libtermcap: configure-target-libtermcap
23707         @r=`${PWD_COMMAND}`; export r; \
23708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709         $(SET_LIB_PATH) \
23710         $(NORMAL_TARGET_EXPORTS) \
23711         (cd $(TARGET_SUBDIR)/libtermcap && \
23712           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libtermcap))
23713 @endif target-libtermcap
23714
23715 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23716 maybe-check-target-libtermcap:
23717 @if target-libtermcap
23718 maybe-check-target-libtermcap: check-target-libtermcap
23719
23720 # Dummy target for uncheckable module.
23721 check-target-libtermcap:
23722
23723 @endif target-libtermcap
23724
23725 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23726 maybe-install-target-libtermcap:
23727 @if target-libtermcap
23728 maybe-install-target-libtermcap: install-target-libtermcap
23729
23730 install-target-libtermcap: installdirs
23731         @r=`${PWD_COMMAND}`; export r; \
23732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23733         $(SET_LIB_PATH) \
23734         $(NORMAL_TARGET_EXPORTS) \
23735         (cd $(TARGET_SUBDIR)/libtermcap && \
23736           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23737
23738 @endif target-libtermcap
23739
23740 # Other targets (info, dvi, etc.)
23741
23742 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23743 maybe-info-target-libtermcap:
23744 @if target-libtermcap
23745 maybe-info-target-libtermcap: info-target-libtermcap
23746
23747 info-target-libtermcap: \
23748     configure-target-libtermcap 
23749         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23750         r=`${PWD_COMMAND}`; export r; \
23751         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23752         $(SET_LIB_PATH) \
23753         $(NORMAL_TARGET_EXPORTS) \
23754         echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23755         for flag in $(EXTRA_TARGET_FLAGS); do \
23756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23757         done; \
23758         (cd $(TARGET_SUBDIR)/libtermcap && \
23759           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23760                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23761                   "RANLIB=$${RANLIB}" \
23762                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23763                    info) \
23764           || exit 1
23765
23766 @endif target-libtermcap
23767
23768 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23769 maybe-dvi-target-libtermcap:
23770 @if target-libtermcap
23771 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23772
23773 dvi-target-libtermcap: \
23774     configure-target-libtermcap 
23775         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23776         r=`${PWD_COMMAND}`; export r; \
23777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778         $(SET_LIB_PATH) \
23779         $(NORMAL_TARGET_EXPORTS) \
23780         echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23781         for flag in $(EXTRA_TARGET_FLAGS); do \
23782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23783         done; \
23784         (cd $(TARGET_SUBDIR)/libtermcap && \
23785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23787                   "RANLIB=$${RANLIB}" \
23788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23789                    dvi) \
23790           || exit 1
23791
23792 @endif target-libtermcap
23793
23794 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23795 maybe-TAGS-target-libtermcap:
23796 @if target-libtermcap
23797 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23798
23799 TAGS-target-libtermcap: \
23800     configure-target-libtermcap 
23801         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23802         r=`${PWD_COMMAND}`; export r; \
23803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23804         $(SET_LIB_PATH) \
23805         $(NORMAL_TARGET_EXPORTS) \
23806         echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23807         for flag in $(EXTRA_TARGET_FLAGS); do \
23808           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23809         done; \
23810         (cd $(TARGET_SUBDIR)/libtermcap && \
23811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23813                   "RANLIB=$${RANLIB}" \
23814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23815                    TAGS) \
23816           || exit 1
23817
23818 @endif target-libtermcap
23819
23820 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23821 maybe-install-info-target-libtermcap:
23822 @if target-libtermcap
23823 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23824
23825 install-info-target-libtermcap: \
23826     configure-target-libtermcap \
23827     info-target-libtermcap 
23828         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23829         r=`${PWD_COMMAND}`; export r; \
23830         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23831         $(SET_LIB_PATH) \
23832         $(NORMAL_TARGET_EXPORTS) \
23833         echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23834         for flag in $(EXTRA_TARGET_FLAGS); do \
23835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23836         done; \
23837         (cd $(TARGET_SUBDIR)/libtermcap && \
23838           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840                   "RANLIB=$${RANLIB}" \
23841                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23842                    install-info) \
23843           || exit 1
23844
23845 @endif target-libtermcap
23846
23847 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23848 maybe-installcheck-target-libtermcap:
23849 @if target-libtermcap
23850 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23851
23852 installcheck-target-libtermcap: \
23853     configure-target-libtermcap 
23854         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23855         r=`${PWD_COMMAND}`; export r; \
23856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857         $(SET_LIB_PATH) \
23858         $(NORMAL_TARGET_EXPORTS) \
23859         echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23860         for flag in $(EXTRA_TARGET_FLAGS); do \
23861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862         done; \
23863         (cd $(TARGET_SUBDIR)/libtermcap && \
23864           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23865                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23866                   "RANLIB=$${RANLIB}" \
23867                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23868                    installcheck) \
23869           || exit 1
23870
23871 @endif target-libtermcap
23872
23873 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23874 maybe-mostlyclean-target-libtermcap:
23875 @if target-libtermcap
23876 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23877
23878 # libtermcap doesn't support mostlyclean.
23879 mostlyclean-target-libtermcap:
23880
23881 @endif target-libtermcap
23882
23883 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23884 maybe-clean-target-libtermcap:
23885 @if target-libtermcap
23886 maybe-clean-target-libtermcap: clean-target-libtermcap
23887
23888 # libtermcap doesn't support clean.
23889 clean-target-libtermcap:
23890
23891 @endif target-libtermcap
23892
23893 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23894 maybe-distclean-target-libtermcap:
23895 @if target-libtermcap
23896 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23897
23898 # libtermcap doesn't support distclean.
23899 distclean-target-libtermcap:
23900
23901 @endif target-libtermcap
23902
23903 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23904 maybe-maintainer-clean-target-libtermcap:
23905 @if target-libtermcap
23906 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23907
23908 # libtermcap doesn't support maintainer-clean.
23909 maintainer-clean-target-libtermcap:
23910
23911 @endif target-libtermcap
23912
23913
23914 .PHONY: configure-target-winsup maybe-configure-target-winsup
23915 maybe-configure-target-winsup:
23916 @if target-winsup
23917 maybe-configure-target-winsup: configure-target-winsup
23918
23919 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23920 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23921         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23922         rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23923         cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23924
23925 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23926         @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23927         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23928         r=`${PWD_COMMAND}`; export r; \
23929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23930         $(SET_LIB_PATH) \
23931         $(NORMAL_TARGET_EXPORTS) \
23932         echo Configuring in $(TARGET_SUBDIR)/winsup; \
23933         cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23934         case $(srcdir) in \
23935           /* | [A-Za-z]:[\\/]*) \
23936             topdir=$(srcdir) ;; \
23937           *) \
23938             case "$(TARGET_SUBDIR)" in \
23939               .) topdir="../$(srcdir)" ;; \
23940               *) topdir="../../$(srcdir)" ;; \
23941             esac ;; \
23942         esac; \
23943           srcdiroption="--srcdir=$${topdir}/winsup"; \
23944           libsrcdir="$$s/winsup"; \
23945         rm -f no-such-file || : ; \
23946         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23947           $(TARGET_CONFIGARGS) $${srcdiroption} \
23948           --with-target-subdir="$(TARGET_SUBDIR)"  \
23949           || exit 1
23950 @endif target-winsup
23951
23952 .PHONY: all-target-winsup maybe-all-target-winsup
23953 maybe-all-target-winsup:
23954 @if target-winsup
23955 TARGET-target-winsup=all
23956 maybe-all-target-winsup: all-target-winsup
23957 all-target-winsup: configure-target-winsup
23958         @r=`${PWD_COMMAND}`; export r; \
23959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960         $(SET_LIB_PATH) \
23961         $(NORMAL_TARGET_EXPORTS) \
23962         (cd $(TARGET_SUBDIR)/winsup && \
23963           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-winsup))
23964 @endif target-winsup
23965
23966 .PHONY: check-target-winsup maybe-check-target-winsup
23967 maybe-check-target-winsup:
23968 @if target-winsup
23969 maybe-check-target-winsup: check-target-winsup
23970
23971 check-target-winsup:
23972         @r=`${PWD_COMMAND}`; export r; \
23973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23974         $(SET_LIB_PATH) \
23975         $(NORMAL_TARGET_EXPORTS) \
23976         (cd $(TARGET_SUBDIR)/winsup && \
23977           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23978
23979 @endif target-winsup
23980
23981 .PHONY: install-target-winsup maybe-install-target-winsup
23982 maybe-install-target-winsup:
23983 @if target-winsup
23984 maybe-install-target-winsup: install-target-winsup
23985
23986 install-target-winsup: installdirs
23987         @r=`${PWD_COMMAND}`; export r; \
23988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23989         $(SET_LIB_PATH) \
23990         $(NORMAL_TARGET_EXPORTS) \
23991         (cd $(TARGET_SUBDIR)/winsup && \
23992           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23993
23994 @endif target-winsup
23995
23996 # Other targets (info, dvi, etc.)
23997
23998 .PHONY: maybe-info-target-winsup info-target-winsup
23999 maybe-info-target-winsup:
24000 @if target-winsup
24001 maybe-info-target-winsup: info-target-winsup
24002
24003 info-target-winsup: \
24004     configure-target-winsup 
24005         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24006         r=`${PWD_COMMAND}`; export r; \
24007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24008         $(SET_LIB_PATH) \
24009         $(NORMAL_TARGET_EXPORTS) \
24010         echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24011         for flag in $(EXTRA_TARGET_FLAGS); do \
24012           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013         done; \
24014         (cd $(TARGET_SUBDIR)/winsup && \
24015           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24016                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24017                   "RANLIB=$${RANLIB}" \
24018                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24019                    info) \
24020           || exit 1
24021
24022 @endif target-winsup
24023
24024 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24025 maybe-dvi-target-winsup:
24026 @if target-winsup
24027 maybe-dvi-target-winsup: dvi-target-winsup
24028
24029 dvi-target-winsup: \
24030     configure-target-winsup 
24031         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24032         r=`${PWD_COMMAND}`; export r; \
24033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24034         $(SET_LIB_PATH) \
24035         $(NORMAL_TARGET_EXPORTS) \
24036         echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24037         for flag in $(EXTRA_TARGET_FLAGS); do \
24038           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24039         done; \
24040         (cd $(TARGET_SUBDIR)/winsup && \
24041           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24042                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24043                   "RANLIB=$${RANLIB}" \
24044                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24045                    dvi) \
24046           || exit 1
24047
24048 @endif target-winsup
24049
24050 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24051 maybe-TAGS-target-winsup:
24052 @if target-winsup
24053 maybe-TAGS-target-winsup: TAGS-target-winsup
24054
24055 TAGS-target-winsup: \
24056     configure-target-winsup 
24057         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24058         r=`${PWD_COMMAND}`; export r; \
24059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24060         $(SET_LIB_PATH) \
24061         $(NORMAL_TARGET_EXPORTS) \
24062         echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24063         for flag in $(EXTRA_TARGET_FLAGS); do \
24064           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24065         done; \
24066         (cd $(TARGET_SUBDIR)/winsup && \
24067           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24068                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24069                   "RANLIB=$${RANLIB}" \
24070                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24071                    TAGS) \
24072           || exit 1
24073
24074 @endif target-winsup
24075
24076 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24077 maybe-install-info-target-winsup:
24078 @if target-winsup
24079 maybe-install-info-target-winsup: install-info-target-winsup
24080
24081 install-info-target-winsup: \
24082     configure-target-winsup \
24083     info-target-winsup 
24084         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24085         r=`${PWD_COMMAND}`; export r; \
24086         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24087         $(SET_LIB_PATH) \
24088         $(NORMAL_TARGET_EXPORTS) \
24089         echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24090         for flag in $(EXTRA_TARGET_FLAGS); do \
24091           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24092         done; \
24093         (cd $(TARGET_SUBDIR)/winsup && \
24094           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24095                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24096                   "RANLIB=$${RANLIB}" \
24097                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24098                    install-info) \
24099           || exit 1
24100
24101 @endif target-winsup
24102
24103 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24104 maybe-installcheck-target-winsup:
24105 @if target-winsup
24106 maybe-installcheck-target-winsup: installcheck-target-winsup
24107
24108 installcheck-target-winsup: \
24109     configure-target-winsup 
24110         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24111         r=`${PWD_COMMAND}`; export r; \
24112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24113         $(SET_LIB_PATH) \
24114         $(NORMAL_TARGET_EXPORTS) \
24115         echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24116         for flag in $(EXTRA_TARGET_FLAGS); do \
24117           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24118         done; \
24119         (cd $(TARGET_SUBDIR)/winsup && \
24120           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24121                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24122                   "RANLIB=$${RANLIB}" \
24123                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24124                    installcheck) \
24125           || exit 1
24126
24127 @endif target-winsup
24128
24129 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24130 maybe-mostlyclean-target-winsup:
24131 @if target-winsup
24132 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24133
24134 mostlyclean-target-winsup: 
24135         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24136         r=`${PWD_COMMAND}`; export r; \
24137         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138         $(SET_LIB_PATH) \
24139         $(NORMAL_TARGET_EXPORTS) \
24140         echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24141         for flag in $(EXTRA_TARGET_FLAGS); do \
24142           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24143         done; \
24144         (cd $(TARGET_SUBDIR)/winsup && \
24145           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24146                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24147                   "RANLIB=$${RANLIB}" \
24148                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24149                    mostlyclean) \
24150           || exit 1
24151
24152 @endif target-winsup
24153
24154 .PHONY: maybe-clean-target-winsup clean-target-winsup
24155 maybe-clean-target-winsup:
24156 @if target-winsup
24157 maybe-clean-target-winsup: clean-target-winsup
24158
24159 clean-target-winsup: 
24160         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24161         r=`${PWD_COMMAND}`; export r; \
24162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24163         $(SET_LIB_PATH) \
24164         $(NORMAL_TARGET_EXPORTS) \
24165         echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24166         for flag in $(EXTRA_TARGET_FLAGS); do \
24167           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24168         done; \
24169         (cd $(TARGET_SUBDIR)/winsup && \
24170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24172                   "RANLIB=$${RANLIB}" \
24173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24174                    clean) \
24175           || exit 1
24176
24177 @endif target-winsup
24178
24179 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24180 maybe-distclean-target-winsup:
24181 @if target-winsup
24182 maybe-distclean-target-winsup: distclean-target-winsup
24183
24184 distclean-target-winsup: 
24185         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24186         r=`${PWD_COMMAND}`; export r; \
24187         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24188         $(SET_LIB_PATH) \
24189         $(NORMAL_TARGET_EXPORTS) \
24190         echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24191         for flag in $(EXTRA_TARGET_FLAGS); do \
24192           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24193         done; \
24194         (cd $(TARGET_SUBDIR)/winsup && \
24195           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24196                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24197                   "RANLIB=$${RANLIB}" \
24198                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24199                    distclean) \
24200           || exit 1
24201
24202 @endif target-winsup
24203
24204 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24205 maybe-maintainer-clean-target-winsup:
24206 @if target-winsup
24207 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24208
24209 maintainer-clean-target-winsup: 
24210         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24211         r=`${PWD_COMMAND}`; export r; \
24212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24213         $(SET_LIB_PATH) \
24214         $(NORMAL_TARGET_EXPORTS) \
24215         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24216         for flag in $(EXTRA_TARGET_FLAGS); do \
24217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24218         done; \
24219         (cd $(TARGET_SUBDIR)/winsup && \
24220           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222                   "RANLIB=$${RANLIB}" \
24223                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24224                    maintainer-clean) \
24225           || exit 1
24226
24227 @endif target-winsup
24228
24229
24230 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24231 maybe-configure-target-libgloss:
24232 @if target-libgloss
24233 maybe-configure-target-libgloss: configure-target-libgloss
24234
24235 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24236 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24237         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24238         rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24239         cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24240
24241 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24242         @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24243         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24244         r=`${PWD_COMMAND}`; export r; \
24245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24246         $(SET_LIB_PATH) \
24247         $(NORMAL_TARGET_EXPORTS) \
24248         echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24249         cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24250         case $(srcdir) in \
24251           /* | [A-Za-z]:[\\/]*) \
24252             topdir=$(srcdir) ;; \
24253           *) \
24254             case "$(TARGET_SUBDIR)" in \
24255               .) topdir="../$(srcdir)" ;; \
24256               *) topdir="../../$(srcdir)" ;; \
24257             esac ;; \
24258         esac; \
24259           srcdiroption="--srcdir=$${topdir}/libgloss"; \
24260           libsrcdir="$$s/libgloss"; \
24261         rm -f no-such-file || : ; \
24262         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24263           $(TARGET_CONFIGARGS) $${srcdiroption} \
24264           --with-target-subdir="$(TARGET_SUBDIR)"  \
24265           || exit 1
24266 @endif target-libgloss
24267
24268 .PHONY: all-target-libgloss maybe-all-target-libgloss
24269 maybe-all-target-libgloss:
24270 @if target-libgloss
24271 TARGET-target-libgloss=all
24272 maybe-all-target-libgloss: all-target-libgloss
24273 all-target-libgloss: configure-target-libgloss
24274         @r=`${PWD_COMMAND}`; export r; \
24275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24276         $(SET_LIB_PATH) \
24277         $(NORMAL_TARGET_EXPORTS) \
24278         (cd $(TARGET_SUBDIR)/libgloss && \
24279           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libgloss))
24280 @endif target-libgloss
24281
24282 .PHONY: check-target-libgloss maybe-check-target-libgloss
24283 maybe-check-target-libgloss:
24284 @if target-libgloss
24285 maybe-check-target-libgloss: check-target-libgloss
24286
24287 # Dummy target for uncheckable module.
24288 check-target-libgloss:
24289
24290 @endif target-libgloss
24291
24292 .PHONY: install-target-libgloss maybe-install-target-libgloss
24293 maybe-install-target-libgloss:
24294 @if target-libgloss
24295 maybe-install-target-libgloss: install-target-libgloss
24296
24297 install-target-libgloss: installdirs
24298         @r=`${PWD_COMMAND}`; export r; \
24299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24300         $(SET_LIB_PATH) \
24301         $(NORMAL_TARGET_EXPORTS) \
24302         (cd $(TARGET_SUBDIR)/libgloss && \
24303           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24304
24305 @endif target-libgloss
24306
24307 # Other targets (info, dvi, etc.)
24308
24309 .PHONY: maybe-info-target-libgloss info-target-libgloss
24310 maybe-info-target-libgloss:
24311 @if target-libgloss
24312 maybe-info-target-libgloss: info-target-libgloss
24313
24314 info-target-libgloss: \
24315     configure-target-libgloss 
24316         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24317         r=`${PWD_COMMAND}`; export r; \
24318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319         $(SET_LIB_PATH) \
24320         $(NORMAL_TARGET_EXPORTS) \
24321         echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24322         for flag in $(EXTRA_TARGET_FLAGS); do \
24323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24324         done; \
24325         (cd $(TARGET_SUBDIR)/libgloss && \
24326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24328                   "RANLIB=$${RANLIB}" \
24329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24330                    info) \
24331           || exit 1
24332
24333 @endif target-libgloss
24334
24335 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24336 maybe-dvi-target-libgloss:
24337 @if target-libgloss
24338 maybe-dvi-target-libgloss: dvi-target-libgloss
24339
24340 dvi-target-libgloss: \
24341     configure-target-libgloss 
24342         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24343         r=`${PWD_COMMAND}`; export r; \
24344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24345         $(SET_LIB_PATH) \
24346         $(NORMAL_TARGET_EXPORTS) \
24347         echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24348         for flag in $(EXTRA_TARGET_FLAGS); do \
24349           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24350         done; \
24351         (cd $(TARGET_SUBDIR)/libgloss && \
24352           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24353                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24354                   "RANLIB=$${RANLIB}" \
24355                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24356                    dvi) \
24357           || exit 1
24358
24359 @endif target-libgloss
24360
24361 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24362 maybe-TAGS-target-libgloss:
24363 @if target-libgloss
24364 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24365
24366 TAGS-target-libgloss: \
24367     configure-target-libgloss 
24368         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24369         r=`${PWD_COMMAND}`; export r; \
24370         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24371         $(SET_LIB_PATH) \
24372         $(NORMAL_TARGET_EXPORTS) \
24373         echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24374         for flag in $(EXTRA_TARGET_FLAGS); do \
24375           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24376         done; \
24377         (cd $(TARGET_SUBDIR)/libgloss && \
24378           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24379                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24380                   "RANLIB=$${RANLIB}" \
24381                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24382                    TAGS) \
24383           || exit 1
24384
24385 @endif target-libgloss
24386
24387 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24388 maybe-install-info-target-libgloss:
24389 @if target-libgloss
24390 maybe-install-info-target-libgloss: install-info-target-libgloss
24391
24392 install-info-target-libgloss: \
24393     configure-target-libgloss \
24394     info-target-libgloss 
24395         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24396         r=`${PWD_COMMAND}`; export r; \
24397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24398         $(SET_LIB_PATH) \
24399         $(NORMAL_TARGET_EXPORTS) \
24400         echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24401         for flag in $(EXTRA_TARGET_FLAGS); do \
24402           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24403         done; \
24404         (cd $(TARGET_SUBDIR)/libgloss && \
24405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24407                   "RANLIB=$${RANLIB}" \
24408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24409                    install-info) \
24410           || exit 1
24411
24412 @endif target-libgloss
24413
24414 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24415 maybe-installcheck-target-libgloss:
24416 @if target-libgloss
24417 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24418
24419 installcheck-target-libgloss: \
24420     configure-target-libgloss 
24421         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24422         r=`${PWD_COMMAND}`; export r; \
24423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24424         $(SET_LIB_PATH) \
24425         $(NORMAL_TARGET_EXPORTS) \
24426         echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24427         for flag in $(EXTRA_TARGET_FLAGS); do \
24428           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24429         done; \
24430         (cd $(TARGET_SUBDIR)/libgloss && \
24431           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24432                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24433                   "RANLIB=$${RANLIB}" \
24434                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24435                    installcheck) \
24436           || exit 1
24437
24438 @endif target-libgloss
24439
24440 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24441 maybe-mostlyclean-target-libgloss:
24442 @if target-libgloss
24443 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24444
24445 mostlyclean-target-libgloss: 
24446         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24447         r=`${PWD_COMMAND}`; export r; \
24448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24449         $(SET_LIB_PATH) \
24450         $(NORMAL_TARGET_EXPORTS) \
24451         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24452         for flag in $(EXTRA_TARGET_FLAGS); do \
24453           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24454         done; \
24455         (cd $(TARGET_SUBDIR)/libgloss && \
24456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24458                   "RANLIB=$${RANLIB}" \
24459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24460                    mostlyclean) \
24461           || exit 1
24462
24463 @endif target-libgloss
24464
24465 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24466 maybe-clean-target-libgloss:
24467 @if target-libgloss
24468 maybe-clean-target-libgloss: clean-target-libgloss
24469
24470 clean-target-libgloss: 
24471         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24472         r=`${PWD_COMMAND}`; export r; \
24473         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24474         $(SET_LIB_PATH) \
24475         $(NORMAL_TARGET_EXPORTS) \
24476         echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24477         for flag in $(EXTRA_TARGET_FLAGS); do \
24478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24479         done; \
24480         (cd $(TARGET_SUBDIR)/libgloss && \
24481           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24482                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24483                   "RANLIB=$${RANLIB}" \
24484                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24485                    clean) \
24486           || exit 1
24487
24488 @endif target-libgloss
24489
24490 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24491 maybe-distclean-target-libgloss:
24492 @if target-libgloss
24493 maybe-distclean-target-libgloss: distclean-target-libgloss
24494
24495 distclean-target-libgloss: 
24496         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24497         r=`${PWD_COMMAND}`; export r; \
24498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24499         $(SET_LIB_PATH) \
24500         $(NORMAL_TARGET_EXPORTS) \
24501         echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24502         for flag in $(EXTRA_TARGET_FLAGS); do \
24503           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24504         done; \
24505         (cd $(TARGET_SUBDIR)/libgloss && \
24506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24508                   "RANLIB=$${RANLIB}" \
24509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24510                    distclean) \
24511           || exit 1
24512
24513 @endif target-libgloss
24514
24515 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24516 maybe-maintainer-clean-target-libgloss:
24517 @if target-libgloss
24518 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24519
24520 maintainer-clean-target-libgloss: 
24521         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24522         r=`${PWD_COMMAND}`; export r; \
24523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524         $(SET_LIB_PATH) \
24525         $(NORMAL_TARGET_EXPORTS) \
24526         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24527         for flag in $(EXTRA_TARGET_FLAGS); do \
24528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24529         done; \
24530         (cd $(TARGET_SUBDIR)/libgloss && \
24531           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24532                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24533                   "RANLIB=$${RANLIB}" \
24534                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24535                    maintainer-clean) \
24536           || exit 1
24537
24538 @endif target-libgloss
24539
24540
24541 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24542 maybe-configure-target-libiberty:
24543 @if target-libiberty
24544 maybe-configure-target-libiberty: configure-target-libiberty
24545
24546 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24547 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24548         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24549         rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24550         cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24551
24552 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24553         @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24554         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24555         r=`${PWD_COMMAND}`; export r; \
24556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24557         $(SET_LIB_PATH) \
24558         $(NORMAL_TARGET_EXPORTS) \
24559         echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24560         cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24561         case $(srcdir) in \
24562           /* | [A-Za-z]:[\\/]*) \
24563             topdir=$(srcdir) ;; \
24564           *) \
24565             case "$(TARGET_SUBDIR)" in \
24566               .) topdir="../$(srcdir)" ;; \
24567               *) topdir="../../$(srcdir)" ;; \
24568             esac ;; \
24569         esac; \
24570           srcdiroption="--srcdir=$${topdir}/libiberty"; \
24571           libsrcdir="$$s/libiberty"; \
24572         rm -f no-such-file || : ; \
24573         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24574           $(TARGET_CONFIGARGS) $${srcdiroption} \
24575           --with-target-subdir="$(TARGET_SUBDIR)"  \
24576           || exit 1
24577 @endif target-libiberty
24578
24579 .PHONY: all-target-libiberty maybe-all-target-libiberty
24580 maybe-all-target-libiberty:
24581 @if target-libiberty
24582 TARGET-target-libiberty=all
24583 maybe-all-target-libiberty: all-target-libiberty
24584 all-target-libiberty: configure-target-libiberty
24585         @r=`${PWD_COMMAND}`; export r; \
24586         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24587         $(SET_LIB_PATH) \
24588         $(NORMAL_TARGET_EXPORTS) \
24589         (cd $(TARGET_SUBDIR)/libiberty && \
24590           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libiberty))
24591 @endif target-libiberty
24592
24593 .PHONY: check-target-libiberty maybe-check-target-libiberty
24594 maybe-check-target-libiberty:
24595 @if target-libiberty
24596 maybe-check-target-libiberty: check-target-libiberty
24597
24598 check-target-libiberty:
24599         @r=`${PWD_COMMAND}`; export r; \
24600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601         $(SET_LIB_PATH) \
24602         $(NORMAL_TARGET_EXPORTS) \
24603         (cd $(TARGET_SUBDIR)/libiberty && \
24604           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24605
24606 @endif target-libiberty
24607
24608 .PHONY: install-target-libiberty maybe-install-target-libiberty
24609 maybe-install-target-libiberty:
24610 @if target-libiberty
24611 maybe-install-target-libiberty: install-target-libiberty
24612
24613 install-target-libiberty: installdirs
24614         @r=`${PWD_COMMAND}`; export r; \
24615         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24616         $(SET_LIB_PATH) \
24617         $(NORMAL_TARGET_EXPORTS) \
24618         (cd $(TARGET_SUBDIR)/libiberty && \
24619           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24620
24621 @endif target-libiberty
24622
24623 # Other targets (info, dvi, etc.)
24624
24625 .PHONY: maybe-info-target-libiberty info-target-libiberty
24626 maybe-info-target-libiberty:
24627 @if target-libiberty
24628 maybe-info-target-libiberty: info-target-libiberty
24629
24630 info-target-libiberty: \
24631     configure-target-libiberty 
24632         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24633         r=`${PWD_COMMAND}`; export r; \
24634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24635         $(SET_LIB_PATH) \
24636         $(NORMAL_TARGET_EXPORTS) \
24637         echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24638         for flag in $(EXTRA_TARGET_FLAGS); do \
24639           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24640         done; \
24641         (cd $(TARGET_SUBDIR)/libiberty && \
24642           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24643                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24644                   "RANLIB=$${RANLIB}" \
24645                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24646                    info) \
24647           || exit 1
24648
24649 @endif target-libiberty
24650
24651 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24652 maybe-dvi-target-libiberty:
24653 @if target-libiberty
24654 maybe-dvi-target-libiberty: dvi-target-libiberty
24655
24656 dvi-target-libiberty: \
24657     configure-target-libiberty 
24658         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24659         r=`${PWD_COMMAND}`; export r; \
24660         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24661         $(SET_LIB_PATH) \
24662         $(NORMAL_TARGET_EXPORTS) \
24663         echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24664         for flag in $(EXTRA_TARGET_FLAGS); do \
24665           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24666         done; \
24667         (cd $(TARGET_SUBDIR)/libiberty && \
24668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24670                   "RANLIB=$${RANLIB}" \
24671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24672                    dvi) \
24673           || exit 1
24674
24675 @endif target-libiberty
24676
24677 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24678 maybe-TAGS-target-libiberty:
24679 @if target-libiberty
24680 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24681
24682 TAGS-target-libiberty: \
24683     configure-target-libiberty 
24684         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24685         r=`${PWD_COMMAND}`; export r; \
24686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24687         $(SET_LIB_PATH) \
24688         $(NORMAL_TARGET_EXPORTS) \
24689         echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24690         for flag in $(EXTRA_TARGET_FLAGS); do \
24691           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24692         done; \
24693         (cd $(TARGET_SUBDIR)/libiberty && \
24694           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24695                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24696                   "RANLIB=$${RANLIB}" \
24697                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24698                    TAGS) \
24699           || exit 1
24700
24701 @endif target-libiberty
24702
24703 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24704 maybe-install-info-target-libiberty:
24705 @if target-libiberty
24706 maybe-install-info-target-libiberty: install-info-target-libiberty
24707
24708 install-info-target-libiberty: \
24709     configure-target-libiberty \
24710     info-target-libiberty 
24711         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24712         r=`${PWD_COMMAND}`; export r; \
24713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24714         $(SET_LIB_PATH) \
24715         $(NORMAL_TARGET_EXPORTS) \
24716         echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24717         for flag in $(EXTRA_TARGET_FLAGS); do \
24718           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24719         done; \
24720         (cd $(TARGET_SUBDIR)/libiberty && \
24721           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24722                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24723                   "RANLIB=$${RANLIB}" \
24724                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24725                    install-info) \
24726           || exit 1
24727
24728 @endif target-libiberty
24729
24730 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24731 maybe-installcheck-target-libiberty:
24732 @if target-libiberty
24733 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24734
24735 installcheck-target-libiberty: \
24736     configure-target-libiberty 
24737         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24738         r=`${PWD_COMMAND}`; export r; \
24739         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24740         $(SET_LIB_PATH) \
24741         $(NORMAL_TARGET_EXPORTS) \
24742         echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24743         for flag in $(EXTRA_TARGET_FLAGS); do \
24744           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24745         done; \
24746         (cd $(TARGET_SUBDIR)/libiberty && \
24747           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24748                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24749                   "RANLIB=$${RANLIB}" \
24750                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24751                    installcheck) \
24752           || exit 1
24753
24754 @endif target-libiberty
24755
24756 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24757 maybe-mostlyclean-target-libiberty:
24758 @if target-libiberty
24759 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24760
24761 mostlyclean-target-libiberty: 
24762         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24763         r=`${PWD_COMMAND}`; export r; \
24764         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24765         $(SET_LIB_PATH) \
24766         $(NORMAL_TARGET_EXPORTS) \
24767         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24768         for flag in $(EXTRA_TARGET_FLAGS); do \
24769           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24770         done; \
24771         (cd $(TARGET_SUBDIR)/libiberty && \
24772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24774                   "RANLIB=$${RANLIB}" \
24775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24776                    mostlyclean) \
24777           || exit 1
24778
24779 @endif target-libiberty
24780
24781 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24782 maybe-clean-target-libiberty:
24783 @if target-libiberty
24784 maybe-clean-target-libiberty: clean-target-libiberty
24785
24786 clean-target-libiberty: 
24787         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24788         r=`${PWD_COMMAND}`; export r; \
24789         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24790         $(SET_LIB_PATH) \
24791         $(NORMAL_TARGET_EXPORTS) \
24792         echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24793         for flag in $(EXTRA_TARGET_FLAGS); do \
24794           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24795         done; \
24796         (cd $(TARGET_SUBDIR)/libiberty && \
24797           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24798                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24799                   "RANLIB=$${RANLIB}" \
24800                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24801                    clean) \
24802           || exit 1
24803
24804 @endif target-libiberty
24805
24806 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24807 maybe-distclean-target-libiberty:
24808 @if target-libiberty
24809 maybe-distclean-target-libiberty: distclean-target-libiberty
24810
24811 distclean-target-libiberty: 
24812         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24813         r=`${PWD_COMMAND}`; export r; \
24814         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24815         $(SET_LIB_PATH) \
24816         $(NORMAL_TARGET_EXPORTS) \
24817         echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24818         for flag in $(EXTRA_TARGET_FLAGS); do \
24819           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24820         done; \
24821         (cd $(TARGET_SUBDIR)/libiberty && \
24822           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24823                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24824                   "RANLIB=$${RANLIB}" \
24825                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24826                    distclean) \
24827           || exit 1
24828
24829 @endif target-libiberty
24830
24831 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24832 maybe-maintainer-clean-target-libiberty:
24833 @if target-libiberty
24834 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24835
24836 maintainer-clean-target-libiberty: 
24837         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24838         r=`${PWD_COMMAND}`; export r; \
24839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24840         $(SET_LIB_PATH) \
24841         $(NORMAL_TARGET_EXPORTS) \
24842         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24843         for flag in $(EXTRA_TARGET_FLAGS); do \
24844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24845         done; \
24846         (cd $(TARGET_SUBDIR)/libiberty && \
24847           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24848                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24849                   "RANLIB=$${RANLIB}" \
24850                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24851                    maintainer-clean) \
24852           || exit 1
24853
24854 @endif target-libiberty
24855
24856
24857 .PHONY: configure-target-gperf maybe-configure-target-gperf
24858 maybe-configure-target-gperf:
24859 @if target-gperf
24860 maybe-configure-target-gperf: configure-target-gperf
24861
24862 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24863 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24864         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24865         rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24866         cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24867
24868 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24869         @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24870         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24871         r=`${PWD_COMMAND}`; export r; \
24872         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24873         $(SET_LIB_PATH) \
24874         $(NORMAL_TARGET_EXPORTS) \
24875         echo Configuring in $(TARGET_SUBDIR)/gperf; \
24876         cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24877         case $(srcdir) in \
24878           /* | [A-Za-z]:[\\/]*) \
24879             topdir=$(srcdir) ;; \
24880           *) \
24881             case "$(TARGET_SUBDIR)" in \
24882               .) topdir="../$(srcdir)" ;; \
24883               *) topdir="../../$(srcdir)" ;; \
24884             esac ;; \
24885         esac; \
24886           srcdiroption="--srcdir=$${topdir}/gperf"; \
24887           libsrcdir="$$s/gperf"; \
24888         rm -f no-such-file || : ; \
24889         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24890           $(TARGET_CONFIGARGS) $${srcdiroption} \
24891           --with-target-subdir="$(TARGET_SUBDIR)"  \
24892           || exit 1
24893 @endif target-gperf
24894
24895 .PHONY: all-target-gperf maybe-all-target-gperf
24896 maybe-all-target-gperf:
24897 @if target-gperf
24898 TARGET-target-gperf=all
24899 maybe-all-target-gperf: all-target-gperf
24900 all-target-gperf: configure-target-gperf
24901         @r=`${PWD_COMMAND}`; export r; \
24902         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24903         $(SET_LIB_PATH) \
24904         $(NORMAL_TARGET_EXPORTS) \
24905         (cd $(TARGET_SUBDIR)/gperf && \
24906           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-gperf))
24907 @endif target-gperf
24908
24909 .PHONY: check-target-gperf maybe-check-target-gperf
24910 maybe-check-target-gperf:
24911 @if target-gperf
24912 maybe-check-target-gperf: check-target-gperf
24913
24914 check-target-gperf:
24915         @r=`${PWD_COMMAND}`; export r; \
24916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24917         $(SET_LIB_PATH) \
24918         $(NORMAL_TARGET_EXPORTS) \
24919         (cd $(TARGET_SUBDIR)/gperf && \
24920           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24921
24922 @endif target-gperf
24923
24924 .PHONY: install-target-gperf maybe-install-target-gperf
24925 maybe-install-target-gperf:
24926 @if target-gperf
24927 maybe-install-target-gperf: install-target-gperf
24928
24929 install-target-gperf: installdirs
24930         @r=`${PWD_COMMAND}`; export r; \
24931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24932         $(SET_LIB_PATH) \
24933         $(NORMAL_TARGET_EXPORTS) \
24934         (cd $(TARGET_SUBDIR)/gperf && \
24935           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24936
24937 @endif target-gperf
24938
24939 # Other targets (info, dvi, etc.)
24940
24941 .PHONY: maybe-info-target-gperf info-target-gperf
24942 maybe-info-target-gperf:
24943 @if target-gperf
24944 maybe-info-target-gperf: info-target-gperf
24945
24946 info-target-gperf: \
24947     configure-target-gperf 
24948         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24949         r=`${PWD_COMMAND}`; export r; \
24950         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24951         $(SET_LIB_PATH) \
24952         $(NORMAL_TARGET_EXPORTS) \
24953         echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24954         for flag in $(EXTRA_TARGET_FLAGS); do \
24955           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24956         done; \
24957         (cd $(TARGET_SUBDIR)/gperf && \
24958           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24959                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24960                   "RANLIB=$${RANLIB}" \
24961                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24962                    info) \
24963           || exit 1
24964
24965 @endif target-gperf
24966
24967 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24968 maybe-dvi-target-gperf:
24969 @if target-gperf
24970 maybe-dvi-target-gperf: dvi-target-gperf
24971
24972 dvi-target-gperf: \
24973     configure-target-gperf 
24974         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24975         r=`${PWD_COMMAND}`; export r; \
24976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24977         $(SET_LIB_PATH) \
24978         $(NORMAL_TARGET_EXPORTS) \
24979         echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24980         for flag in $(EXTRA_TARGET_FLAGS); do \
24981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24982         done; \
24983         (cd $(TARGET_SUBDIR)/gperf && \
24984           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24985                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24986                   "RANLIB=$${RANLIB}" \
24987                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24988                    dvi) \
24989           || exit 1
24990
24991 @endif target-gperf
24992
24993 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24994 maybe-TAGS-target-gperf:
24995 @if target-gperf
24996 maybe-TAGS-target-gperf: TAGS-target-gperf
24997
24998 TAGS-target-gperf: \
24999     configure-target-gperf 
25000         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25001         r=`${PWD_COMMAND}`; export r; \
25002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25003         $(SET_LIB_PATH) \
25004         $(NORMAL_TARGET_EXPORTS) \
25005         echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25006         for flag in $(EXTRA_TARGET_FLAGS); do \
25007           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25008         done; \
25009         (cd $(TARGET_SUBDIR)/gperf && \
25010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25012                   "RANLIB=$${RANLIB}" \
25013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25014                    TAGS) \
25015           || exit 1
25016
25017 @endif target-gperf
25018
25019 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25020 maybe-install-info-target-gperf:
25021 @if target-gperf
25022 maybe-install-info-target-gperf: install-info-target-gperf
25023
25024 install-info-target-gperf: \
25025     configure-target-gperf \
25026     info-target-gperf 
25027         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25028         r=`${PWD_COMMAND}`; export r; \
25029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25030         $(SET_LIB_PATH) \
25031         $(NORMAL_TARGET_EXPORTS) \
25032         echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25033         for flag in $(EXTRA_TARGET_FLAGS); do \
25034           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25035         done; \
25036         (cd $(TARGET_SUBDIR)/gperf && \
25037           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25038                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25039                   "RANLIB=$${RANLIB}" \
25040                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25041                    install-info) \
25042           || exit 1
25043
25044 @endif target-gperf
25045
25046 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25047 maybe-installcheck-target-gperf:
25048 @if target-gperf
25049 maybe-installcheck-target-gperf: installcheck-target-gperf
25050
25051 installcheck-target-gperf: \
25052     configure-target-gperf 
25053         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25054         r=`${PWD_COMMAND}`; export r; \
25055         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25056         $(SET_LIB_PATH) \
25057         $(NORMAL_TARGET_EXPORTS) \
25058         echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25059         for flag in $(EXTRA_TARGET_FLAGS); do \
25060           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25061         done; \
25062         (cd $(TARGET_SUBDIR)/gperf && \
25063           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25064                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25065                   "RANLIB=$${RANLIB}" \
25066                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25067                    installcheck) \
25068           || exit 1
25069
25070 @endif target-gperf
25071
25072 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25073 maybe-mostlyclean-target-gperf:
25074 @if target-gperf
25075 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25076
25077 mostlyclean-target-gperf: 
25078         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25079         r=`${PWD_COMMAND}`; export r; \
25080         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25081         $(SET_LIB_PATH) \
25082         $(NORMAL_TARGET_EXPORTS) \
25083         echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25084         for flag in $(EXTRA_TARGET_FLAGS); do \
25085           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086         done; \
25087         (cd $(TARGET_SUBDIR)/gperf && \
25088           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25089                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25090                   "RANLIB=$${RANLIB}" \
25091                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25092                    mostlyclean) \
25093           || exit 1
25094
25095 @endif target-gperf
25096
25097 .PHONY: maybe-clean-target-gperf clean-target-gperf
25098 maybe-clean-target-gperf:
25099 @if target-gperf
25100 maybe-clean-target-gperf: clean-target-gperf
25101
25102 clean-target-gperf: 
25103         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25104         r=`${PWD_COMMAND}`; export r; \
25105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106         $(SET_LIB_PATH) \
25107         $(NORMAL_TARGET_EXPORTS) \
25108         echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25109         for flag in $(EXTRA_TARGET_FLAGS); do \
25110           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25111         done; \
25112         (cd $(TARGET_SUBDIR)/gperf && \
25113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115                   "RANLIB=$${RANLIB}" \
25116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25117                    clean) \
25118           || exit 1
25119
25120 @endif target-gperf
25121
25122 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25123 maybe-distclean-target-gperf:
25124 @if target-gperf
25125 maybe-distclean-target-gperf: distclean-target-gperf
25126
25127 distclean-target-gperf: 
25128         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25129         r=`${PWD_COMMAND}`; export r; \
25130         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25131         $(SET_LIB_PATH) \
25132         $(NORMAL_TARGET_EXPORTS) \
25133         echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25134         for flag in $(EXTRA_TARGET_FLAGS); do \
25135           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25136         done; \
25137         (cd $(TARGET_SUBDIR)/gperf && \
25138           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25139                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25140                   "RANLIB=$${RANLIB}" \
25141                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25142                    distclean) \
25143           || exit 1
25144
25145 @endif target-gperf
25146
25147 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25148 maybe-maintainer-clean-target-gperf:
25149 @if target-gperf
25150 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25151
25152 maintainer-clean-target-gperf: 
25153         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25154         r=`${PWD_COMMAND}`; export r; \
25155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25156         $(SET_LIB_PATH) \
25157         $(NORMAL_TARGET_EXPORTS) \
25158         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25159         for flag in $(EXTRA_TARGET_FLAGS); do \
25160           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25161         done; \
25162         (cd $(TARGET_SUBDIR)/gperf && \
25163           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25164                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25165                   "RANLIB=$${RANLIB}" \
25166                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25167                    maintainer-clean) \
25168           || exit 1
25169
25170 @endif target-gperf
25171
25172
25173 .PHONY: configure-target-examples maybe-configure-target-examples
25174 maybe-configure-target-examples:
25175 @if target-examples
25176 maybe-configure-target-examples: configure-target-examples
25177
25178 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25179 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25180         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25181         rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25182         cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25183
25184 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25185         @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25186         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25187         r=`${PWD_COMMAND}`; export r; \
25188         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25189         $(SET_LIB_PATH) \
25190         $(NORMAL_TARGET_EXPORTS) \
25191         echo Configuring in $(TARGET_SUBDIR)/examples; \
25192         cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25193         case $(srcdir) in \
25194           /* | [A-Za-z]:[\\/]*) \
25195             topdir=$(srcdir) ;; \
25196           *) \
25197             case "$(TARGET_SUBDIR)" in \
25198               .) topdir="../$(srcdir)" ;; \
25199               *) topdir="../../$(srcdir)" ;; \
25200             esac ;; \
25201         esac; \
25202           srcdiroption="--srcdir=$${topdir}/examples"; \
25203           libsrcdir="$$s/examples"; \
25204         rm -f no-such-file || : ; \
25205         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25206           $(TARGET_CONFIGARGS) $${srcdiroption} \
25207           --with-target-subdir="$(TARGET_SUBDIR)"  \
25208           || exit 1
25209 @endif target-examples
25210
25211 .PHONY: all-target-examples maybe-all-target-examples
25212 maybe-all-target-examples:
25213 @if target-examples
25214 TARGET-target-examples=all
25215 maybe-all-target-examples: all-target-examples
25216 all-target-examples: configure-target-examples
25217         @r=`${PWD_COMMAND}`; export r; \
25218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25219         $(SET_LIB_PATH) \
25220         $(NORMAL_TARGET_EXPORTS) \
25221         (cd $(TARGET_SUBDIR)/examples && \
25222           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-examples))
25223 @endif target-examples
25224
25225 .PHONY: check-target-examples maybe-check-target-examples
25226 maybe-check-target-examples:
25227 @if target-examples
25228 maybe-check-target-examples: check-target-examples
25229
25230 # Dummy target for uncheckable module.
25231 check-target-examples:
25232
25233 @endif target-examples
25234
25235 .PHONY: install-target-examples maybe-install-target-examples
25236 maybe-install-target-examples:
25237 @if target-examples
25238 maybe-install-target-examples: install-target-examples
25239
25240 # Dummy target for uninstallable.
25241 install-target-examples:
25242
25243 @endif target-examples
25244
25245 # Other targets (info, dvi, etc.)
25246
25247 .PHONY: maybe-info-target-examples info-target-examples
25248 maybe-info-target-examples:
25249 @if target-examples
25250 maybe-info-target-examples: info-target-examples
25251
25252 info-target-examples: \
25253     configure-target-examples 
25254         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25255         r=`${PWD_COMMAND}`; export r; \
25256         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25257         $(SET_LIB_PATH) \
25258         $(NORMAL_TARGET_EXPORTS) \
25259         echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25260         for flag in $(EXTRA_TARGET_FLAGS); do \
25261           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25262         done; \
25263         (cd $(TARGET_SUBDIR)/examples && \
25264           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25265                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25266                   "RANLIB=$${RANLIB}" \
25267                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25268                    info) \
25269           || exit 1
25270
25271 @endif target-examples
25272
25273 .PHONY: maybe-dvi-target-examples dvi-target-examples
25274 maybe-dvi-target-examples:
25275 @if target-examples
25276 maybe-dvi-target-examples: dvi-target-examples
25277
25278 dvi-target-examples: \
25279     configure-target-examples 
25280         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25281         r=`${PWD_COMMAND}`; export r; \
25282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25283         $(SET_LIB_PATH) \
25284         $(NORMAL_TARGET_EXPORTS) \
25285         echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25286         for flag in $(EXTRA_TARGET_FLAGS); do \
25287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25288         done; \
25289         (cd $(TARGET_SUBDIR)/examples && \
25290           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25291                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25292                   "RANLIB=$${RANLIB}" \
25293                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25294                    dvi) \
25295           || exit 1
25296
25297 @endif target-examples
25298
25299 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25300 maybe-TAGS-target-examples:
25301 @if target-examples
25302 maybe-TAGS-target-examples: TAGS-target-examples
25303
25304 TAGS-target-examples: \
25305     configure-target-examples 
25306         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25307         r=`${PWD_COMMAND}`; export r; \
25308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25309         $(SET_LIB_PATH) \
25310         $(NORMAL_TARGET_EXPORTS) \
25311         echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25312         for flag in $(EXTRA_TARGET_FLAGS); do \
25313           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25314         done; \
25315         (cd $(TARGET_SUBDIR)/examples && \
25316           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25317                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25318                   "RANLIB=$${RANLIB}" \
25319                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25320                    TAGS) \
25321           || exit 1
25322
25323 @endif target-examples
25324
25325 .PHONY: maybe-install-info-target-examples install-info-target-examples
25326 maybe-install-info-target-examples:
25327 @if target-examples
25328 maybe-install-info-target-examples: install-info-target-examples
25329
25330 install-info-target-examples: \
25331     configure-target-examples \
25332     info-target-examples 
25333         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25334         r=`${PWD_COMMAND}`; export r; \
25335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25336         $(SET_LIB_PATH) \
25337         $(NORMAL_TARGET_EXPORTS) \
25338         echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25339         for flag in $(EXTRA_TARGET_FLAGS); do \
25340           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25341         done; \
25342         (cd $(TARGET_SUBDIR)/examples && \
25343           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25344                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25345                   "RANLIB=$${RANLIB}" \
25346                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25347                    install-info) \
25348           || exit 1
25349
25350 @endif target-examples
25351
25352 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25353 maybe-installcheck-target-examples:
25354 @if target-examples
25355 maybe-installcheck-target-examples: installcheck-target-examples
25356
25357 installcheck-target-examples: \
25358     configure-target-examples 
25359         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25360         r=`${PWD_COMMAND}`; export r; \
25361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25362         $(SET_LIB_PATH) \
25363         $(NORMAL_TARGET_EXPORTS) \
25364         echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25365         for flag in $(EXTRA_TARGET_FLAGS); do \
25366           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25367         done; \
25368         (cd $(TARGET_SUBDIR)/examples && \
25369           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25370                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25371                   "RANLIB=$${RANLIB}" \
25372                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25373                    installcheck) \
25374           || exit 1
25375
25376 @endif target-examples
25377
25378 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25379 maybe-mostlyclean-target-examples:
25380 @if target-examples
25381 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25382
25383 mostlyclean-target-examples: 
25384         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25385         r=`${PWD_COMMAND}`; export r; \
25386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25387         $(SET_LIB_PATH) \
25388         $(NORMAL_TARGET_EXPORTS) \
25389         echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25390         for flag in $(EXTRA_TARGET_FLAGS); do \
25391           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25392         done; \
25393         (cd $(TARGET_SUBDIR)/examples && \
25394           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25395                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25396                   "RANLIB=$${RANLIB}" \
25397                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25398                    mostlyclean) \
25399           || exit 1
25400
25401 @endif target-examples
25402
25403 .PHONY: maybe-clean-target-examples clean-target-examples
25404 maybe-clean-target-examples:
25405 @if target-examples
25406 maybe-clean-target-examples: clean-target-examples
25407
25408 clean-target-examples: 
25409         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25410         r=`${PWD_COMMAND}`; export r; \
25411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25412         $(SET_LIB_PATH) \
25413         $(NORMAL_TARGET_EXPORTS) \
25414         echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25415         for flag in $(EXTRA_TARGET_FLAGS); do \
25416           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25417         done; \
25418         (cd $(TARGET_SUBDIR)/examples && \
25419           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25420                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25421                   "RANLIB=$${RANLIB}" \
25422                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25423                    clean) \
25424           || exit 1
25425
25426 @endif target-examples
25427
25428 .PHONY: maybe-distclean-target-examples distclean-target-examples
25429 maybe-distclean-target-examples:
25430 @if target-examples
25431 maybe-distclean-target-examples: distclean-target-examples
25432
25433 distclean-target-examples: 
25434         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25435         r=`${PWD_COMMAND}`; export r; \
25436         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25437         $(SET_LIB_PATH) \
25438         $(NORMAL_TARGET_EXPORTS) \
25439         echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25440         for flag in $(EXTRA_TARGET_FLAGS); do \
25441           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25442         done; \
25443         (cd $(TARGET_SUBDIR)/examples && \
25444           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25445                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25446                   "RANLIB=$${RANLIB}" \
25447                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25448                    distclean) \
25449           || exit 1
25450
25451 @endif target-examples
25452
25453 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25454 maybe-maintainer-clean-target-examples:
25455 @if target-examples
25456 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25457
25458 maintainer-clean-target-examples: 
25459         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25460         r=`${PWD_COMMAND}`; export r; \
25461         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25462         $(SET_LIB_PATH) \
25463         $(NORMAL_TARGET_EXPORTS) \
25464         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25465         for flag in $(EXTRA_TARGET_FLAGS); do \
25466           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25467         done; \
25468         (cd $(TARGET_SUBDIR)/examples && \
25469           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25470                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25471                   "RANLIB=$${RANLIB}" \
25472                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25473                    maintainer-clean) \
25474           || exit 1
25475
25476 @endif target-examples
25477
25478
25479 .PHONY: configure-target-libffi maybe-configure-target-libffi
25480 maybe-configure-target-libffi:
25481 @if target-libffi
25482 maybe-configure-target-libffi: configure-target-libffi
25483
25484 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25485 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25486         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25487         rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25488         cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25489
25490 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25491         @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25492         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25493         r=`${PWD_COMMAND}`; export r; \
25494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25495         $(SET_LIB_PATH) \
25496         $(NORMAL_TARGET_EXPORTS) \
25497         echo Configuring in $(TARGET_SUBDIR)/libffi; \
25498         cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25499         case $(srcdir) in \
25500           /* | [A-Za-z]:[\\/]*) \
25501             topdir=$(srcdir) ;; \
25502           *) \
25503             case "$(TARGET_SUBDIR)" in \
25504               .) topdir="../$(srcdir)" ;; \
25505               *) topdir="../../$(srcdir)" ;; \
25506             esac ;; \
25507         esac; \
25508           srcdiroption="--srcdir=$${topdir}/libffi"; \
25509           libsrcdir="$$s/libffi"; \
25510         rm -f no-such-file || : ; \
25511         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25512           $(TARGET_CONFIGARGS) $${srcdiroption} \
25513           --with-target-subdir="$(TARGET_SUBDIR)"  \
25514           || exit 1
25515 @endif target-libffi
25516
25517 .PHONY: all-target-libffi maybe-all-target-libffi
25518 maybe-all-target-libffi:
25519 @if target-libffi
25520 TARGET-target-libffi=all
25521 maybe-all-target-libffi: all-target-libffi
25522 all-target-libffi: configure-target-libffi
25523         @r=`${PWD_COMMAND}`; export r; \
25524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25525         $(SET_LIB_PATH) \
25526         $(NORMAL_TARGET_EXPORTS) \
25527         (cd $(TARGET_SUBDIR)/libffi && \
25528           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libffi))
25529 @endif target-libffi
25530
25531 .PHONY: check-target-libffi maybe-check-target-libffi
25532 maybe-check-target-libffi:
25533 @if target-libffi
25534 maybe-check-target-libffi: check-target-libffi
25535
25536 check-target-libffi:
25537         @r=`${PWD_COMMAND}`; export r; \
25538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25539         $(SET_LIB_PATH) \
25540         $(NORMAL_TARGET_EXPORTS) \
25541         (cd $(TARGET_SUBDIR)/libffi && \
25542           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
25543
25544 @endif target-libffi
25545
25546 .PHONY: install-target-libffi maybe-install-target-libffi
25547 maybe-install-target-libffi:
25548 @if target-libffi
25549 maybe-install-target-libffi: install-target-libffi
25550
25551 install-target-libffi: installdirs
25552         @r=`${PWD_COMMAND}`; export r; \
25553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25554         $(SET_LIB_PATH) \
25555         $(NORMAL_TARGET_EXPORTS) \
25556         (cd $(TARGET_SUBDIR)/libffi && \
25557           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25558
25559 @endif target-libffi
25560
25561 # Other targets (info, dvi, etc.)
25562
25563 .PHONY: maybe-info-target-libffi info-target-libffi
25564 maybe-info-target-libffi:
25565 @if target-libffi
25566 maybe-info-target-libffi: info-target-libffi
25567
25568 info-target-libffi: \
25569     configure-target-libffi 
25570         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25571         r=`${PWD_COMMAND}`; export r; \
25572         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573         $(SET_LIB_PATH) \
25574         $(NORMAL_TARGET_EXPORTS) \
25575         echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25576         for flag in $(EXTRA_TARGET_FLAGS); do \
25577           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25578         done; \
25579         (cd $(TARGET_SUBDIR)/libffi && \
25580           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582                   "RANLIB=$${RANLIB}" \
25583                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25584                    info) \
25585           || exit 1
25586
25587 @endif target-libffi
25588
25589 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25590 maybe-dvi-target-libffi:
25591 @if target-libffi
25592 maybe-dvi-target-libffi: dvi-target-libffi
25593
25594 dvi-target-libffi: \
25595     configure-target-libffi 
25596         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25597         r=`${PWD_COMMAND}`; export r; \
25598         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25599         $(SET_LIB_PATH) \
25600         $(NORMAL_TARGET_EXPORTS) \
25601         echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25602         for flag in $(EXTRA_TARGET_FLAGS); do \
25603           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25604         done; \
25605         (cd $(TARGET_SUBDIR)/libffi && \
25606           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25607                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25608                   "RANLIB=$${RANLIB}" \
25609                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25610                    dvi) \
25611           || exit 1
25612
25613 @endif target-libffi
25614
25615 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25616 maybe-TAGS-target-libffi:
25617 @if target-libffi
25618 maybe-TAGS-target-libffi: TAGS-target-libffi
25619
25620 TAGS-target-libffi: \
25621     configure-target-libffi 
25622         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25623         r=`${PWD_COMMAND}`; export r; \
25624         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25625         $(SET_LIB_PATH) \
25626         $(NORMAL_TARGET_EXPORTS) \
25627         echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25628         for flag in $(EXTRA_TARGET_FLAGS); do \
25629           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25630         done; \
25631         (cd $(TARGET_SUBDIR)/libffi && \
25632           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25633                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25634                   "RANLIB=$${RANLIB}" \
25635                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25636                    TAGS) \
25637           || exit 1
25638
25639 @endif target-libffi
25640
25641 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25642 maybe-install-info-target-libffi:
25643 @if target-libffi
25644 maybe-install-info-target-libffi: install-info-target-libffi
25645
25646 install-info-target-libffi: \
25647     configure-target-libffi \
25648     info-target-libffi 
25649         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25650         r=`${PWD_COMMAND}`; export r; \
25651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25652         $(SET_LIB_PATH) \
25653         $(NORMAL_TARGET_EXPORTS) \
25654         echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25655         for flag in $(EXTRA_TARGET_FLAGS); do \
25656           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25657         done; \
25658         (cd $(TARGET_SUBDIR)/libffi && \
25659           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25660                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25661                   "RANLIB=$${RANLIB}" \
25662                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25663                    install-info) \
25664           || exit 1
25665
25666 @endif target-libffi
25667
25668 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25669 maybe-installcheck-target-libffi:
25670 @if target-libffi
25671 maybe-installcheck-target-libffi: installcheck-target-libffi
25672
25673 installcheck-target-libffi: \
25674     configure-target-libffi 
25675         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25676         r=`${PWD_COMMAND}`; export r; \
25677         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678         $(SET_LIB_PATH) \
25679         $(NORMAL_TARGET_EXPORTS) \
25680         echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25681         for flag in $(EXTRA_TARGET_FLAGS); do \
25682           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25683         done; \
25684         (cd $(TARGET_SUBDIR)/libffi && \
25685           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25686                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25687                   "RANLIB=$${RANLIB}" \
25688                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25689                    installcheck) \
25690           || exit 1
25691
25692 @endif target-libffi
25693
25694 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25695 maybe-mostlyclean-target-libffi:
25696 @if target-libffi
25697 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25698
25699 mostlyclean-target-libffi: 
25700         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25701         r=`${PWD_COMMAND}`; export r; \
25702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25703         $(SET_LIB_PATH) \
25704         $(NORMAL_TARGET_EXPORTS) \
25705         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25706         for flag in $(EXTRA_TARGET_FLAGS); do \
25707           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25708         done; \
25709         (cd $(TARGET_SUBDIR)/libffi && \
25710           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25711                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25712                   "RANLIB=$${RANLIB}" \
25713                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25714                    mostlyclean) \
25715           || exit 1
25716
25717 @endif target-libffi
25718
25719 .PHONY: maybe-clean-target-libffi clean-target-libffi
25720 maybe-clean-target-libffi:
25721 @if target-libffi
25722 maybe-clean-target-libffi: clean-target-libffi
25723
25724 clean-target-libffi: 
25725         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25726         r=`${PWD_COMMAND}`; export r; \
25727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25728         $(SET_LIB_PATH) \
25729         $(NORMAL_TARGET_EXPORTS) \
25730         echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25731         for flag in $(EXTRA_TARGET_FLAGS); do \
25732           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25733         done; \
25734         (cd $(TARGET_SUBDIR)/libffi && \
25735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25737                   "RANLIB=$${RANLIB}" \
25738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25739                    clean) \
25740           || exit 1
25741
25742 @endif target-libffi
25743
25744 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25745 maybe-distclean-target-libffi:
25746 @if target-libffi
25747 maybe-distclean-target-libffi: distclean-target-libffi
25748
25749 distclean-target-libffi: 
25750         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25751         r=`${PWD_COMMAND}`; export r; \
25752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25753         $(SET_LIB_PATH) \
25754         $(NORMAL_TARGET_EXPORTS) \
25755         echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25756         for flag in $(EXTRA_TARGET_FLAGS); do \
25757           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25758         done; \
25759         (cd $(TARGET_SUBDIR)/libffi && \
25760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25762                   "RANLIB=$${RANLIB}" \
25763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25764                    distclean) \
25765           || exit 1
25766
25767 @endif target-libffi
25768
25769 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25770 maybe-maintainer-clean-target-libffi:
25771 @if target-libffi
25772 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25773
25774 maintainer-clean-target-libffi: 
25775         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25776         r=`${PWD_COMMAND}`; export r; \
25777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25778         $(SET_LIB_PATH) \
25779         $(NORMAL_TARGET_EXPORTS) \
25780         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25781         for flag in $(EXTRA_TARGET_FLAGS); do \
25782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25783         done; \
25784         (cd $(TARGET_SUBDIR)/libffi && \
25785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25787                   "RANLIB=$${RANLIB}" \
25788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25789                    maintainer-clean) \
25790           || exit 1
25791
25792 @endif target-libffi
25793
25794
25795 .PHONY: configure-target-libjava maybe-configure-target-libjava
25796 maybe-configure-target-libjava:
25797 @if target-libjava
25798 maybe-configure-target-libjava: configure-target-libjava
25799
25800 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25801 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25802         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25803         rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25804         cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25805
25806 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25807         @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25808         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25809         r=`${PWD_COMMAND}`; export r; \
25810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25811         $(SET_LIB_PATH) \
25812         $(RAW_CXX_TARGET_EXPORTS) \
25813         echo Configuring in $(TARGET_SUBDIR)/libjava; \
25814         cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25815         case $(srcdir) in \
25816           /* | [A-Za-z]:[\\/]*) \
25817             topdir=$(srcdir) ;; \
25818           *) \
25819             case "$(TARGET_SUBDIR)" in \
25820               .) topdir="../$(srcdir)" ;; \
25821               *) topdir="../../$(srcdir)" ;; \
25822             esac ;; \
25823         esac; \
25824           srcdiroption="--srcdir=$${topdir}/libjava"; \
25825           libsrcdir="$$s/libjava"; \
25826         rm -f no-such-file || : ; \
25827         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25828           $(TARGET_CONFIGARGS) $${srcdiroption} \
25829           --with-target-subdir="$(TARGET_SUBDIR)"  \
25830           || exit 1
25831 @endif target-libjava
25832
25833 .PHONY: all-target-libjava maybe-all-target-libjava
25834 maybe-all-target-libjava:
25835 @if target-libjava
25836 TARGET-target-libjava=all
25837 maybe-all-target-libjava: all-target-libjava
25838 all-target-libjava: configure-target-libjava
25839         @r=`${PWD_COMMAND}`; export r; \
25840         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25841         $(SET_LIB_PATH) \
25842         $(RAW_CXX_TARGET_EXPORTS) \
25843         (cd $(TARGET_SUBDIR)/libjava && \
25844           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   $(TARGET-target-libjava))
25845 @endif target-libjava
25846
25847 .PHONY: check-target-libjava maybe-check-target-libjava
25848 maybe-check-target-libjava:
25849 @if target-libjava
25850 maybe-check-target-libjava: check-target-libjava
25851
25852 check-target-libjava:
25853         @r=`${PWD_COMMAND}`; export r; \
25854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25855         $(SET_LIB_PATH) \
25856         $(RAW_CXX_TARGET_EXPORTS) \
25857         (cd $(TARGET_SUBDIR)/libjava && \
25858           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
25859
25860 @endif target-libjava
25861
25862 .PHONY: install-target-libjava maybe-install-target-libjava
25863 maybe-install-target-libjava:
25864 @if target-libjava
25865 maybe-install-target-libjava: install-target-libjava
25866
25867 install-target-libjava: installdirs
25868         @r=`${PWD_COMMAND}`; export r; \
25869         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25870         $(SET_LIB_PATH) \
25871         $(RAW_CXX_TARGET_EXPORTS) \
25872         (cd $(TARGET_SUBDIR)/libjava && \
25873           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25874
25875 @endif target-libjava
25876
25877 # Other targets (info, dvi, etc.)
25878
25879 .PHONY: maybe-info-target-libjava info-target-libjava
25880 maybe-info-target-libjava:
25881 @if target-libjava
25882 maybe-info-target-libjava: info-target-libjava
25883
25884 info-target-libjava: \
25885     configure-target-libjava 
25886         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25887         r=`${PWD_COMMAND}`; export r; \
25888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889         $(SET_LIB_PATH) \
25890         $(RAW_CXX_TARGET_EXPORTS) \
25891         echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25892         for flag in $(EXTRA_TARGET_FLAGS); do \
25893           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25894         done; \
25895         (cd $(TARGET_SUBDIR)/libjava && \
25896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898                   "RANLIB=$${RANLIB}" \
25899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25900                    info) \
25901           || exit 1
25902
25903 @endif target-libjava
25904
25905 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25906 maybe-dvi-target-libjava:
25907 @if target-libjava
25908 maybe-dvi-target-libjava: dvi-target-libjava
25909
25910 dvi-target-libjava: \
25911     configure-target-libjava 
25912         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25913         r=`${PWD_COMMAND}`; export r; \
25914         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25915         $(SET_LIB_PATH) \
25916         $(RAW_CXX_TARGET_EXPORTS) \
25917         echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25918         for flag in $(EXTRA_TARGET_FLAGS); do \
25919           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25920         done; \
25921         (cd $(TARGET_SUBDIR)/libjava && \
25922           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25923                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25924                   "RANLIB=$${RANLIB}" \
25925                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25926                    dvi) \
25927           || exit 1
25928
25929 @endif target-libjava
25930
25931 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25932 maybe-TAGS-target-libjava:
25933 @if target-libjava
25934 maybe-TAGS-target-libjava: TAGS-target-libjava
25935
25936 TAGS-target-libjava: \
25937     configure-target-libjava 
25938         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25939         r=`${PWD_COMMAND}`; export r; \
25940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25941         $(SET_LIB_PATH) \
25942         $(RAW_CXX_TARGET_EXPORTS) \
25943         echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25944         for flag in $(EXTRA_TARGET_FLAGS); do \
25945           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25946         done; \
25947         (cd $(TARGET_SUBDIR)/libjava && \
25948           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25949                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25950                   "RANLIB=$${RANLIB}" \
25951                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25952                    TAGS) \
25953           || exit 1
25954
25955 @endif target-libjava
25956
25957 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25958 maybe-install-info-target-libjava:
25959 @if target-libjava
25960 maybe-install-info-target-libjava: install-info-target-libjava
25961
25962 install-info-target-libjava: \
25963     configure-target-libjava \
25964     info-target-libjava 
25965         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25966         r=`${PWD_COMMAND}`; export r; \
25967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968         $(SET_LIB_PATH) \
25969         $(RAW_CXX_TARGET_EXPORTS) \
25970         echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25971         for flag in $(EXTRA_TARGET_FLAGS); do \
25972           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25973         done; \
25974         (cd $(TARGET_SUBDIR)/libjava && \
25975           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25976                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25977                   "RANLIB=$${RANLIB}" \
25978                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25979                    install-info) \
25980           || exit 1
25981
25982 @endif target-libjava
25983
25984 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25985 maybe-installcheck-target-libjava:
25986 @if target-libjava
25987 maybe-installcheck-target-libjava: installcheck-target-libjava
25988
25989 installcheck-target-libjava: \
25990     configure-target-libjava 
25991         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25992         r=`${PWD_COMMAND}`; export r; \
25993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25994         $(SET_LIB_PATH) \
25995         $(RAW_CXX_TARGET_EXPORTS) \
25996         echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
25997         for flag in $(EXTRA_TARGET_FLAGS); do \
25998           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25999         done; \
26000         (cd $(TARGET_SUBDIR)/libjava && \
26001           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26002                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26003                   "RANLIB=$${RANLIB}" \
26004                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26005                    installcheck) \
26006           || exit 1
26007
26008 @endif target-libjava
26009
26010 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26011 maybe-mostlyclean-target-libjava:
26012 @if target-libjava
26013 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26014
26015 mostlyclean-target-libjava: 
26016         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26017         r=`${PWD_COMMAND}`; export r; \
26018         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26019         $(SET_LIB_PATH) \
26020         $(RAW_CXX_TARGET_EXPORTS) \
26021         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26022         for flag in $(EXTRA_TARGET_FLAGS); do \
26023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26024         done; \
26025         (cd $(TARGET_SUBDIR)/libjava && \
26026           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26027                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26028                   "RANLIB=$${RANLIB}" \
26029                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26030                    mostlyclean) \
26031           || exit 1
26032
26033 @endif target-libjava
26034
26035 .PHONY: maybe-clean-target-libjava clean-target-libjava
26036 maybe-clean-target-libjava:
26037 @if target-libjava
26038 maybe-clean-target-libjava: clean-target-libjava
26039
26040 clean-target-libjava: 
26041         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26042         r=`${PWD_COMMAND}`; export r; \
26043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26044         $(SET_LIB_PATH) \
26045         $(RAW_CXX_TARGET_EXPORTS) \
26046         echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26047         for flag in $(EXTRA_TARGET_FLAGS); do \
26048           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26049         done; \
26050         (cd $(TARGET_SUBDIR)/libjava && \
26051           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26052                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26053                   "RANLIB=$${RANLIB}" \
26054                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26055                    clean) \
26056           || exit 1
26057
26058 @endif target-libjava
26059
26060 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26061 maybe-distclean-target-libjava:
26062 @if target-libjava
26063 maybe-distclean-target-libjava: distclean-target-libjava
26064
26065 distclean-target-libjava: 
26066         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26067         r=`${PWD_COMMAND}`; export r; \
26068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26069         $(SET_LIB_PATH) \
26070         $(RAW_CXX_TARGET_EXPORTS) \
26071         echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26072         for flag in $(EXTRA_TARGET_FLAGS); do \
26073           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26074         done; \
26075         (cd $(TARGET_SUBDIR)/libjava && \
26076           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26077                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26078                   "RANLIB=$${RANLIB}" \
26079                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26080                    distclean) \
26081           || exit 1
26082
26083 @endif target-libjava
26084
26085 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26086 maybe-maintainer-clean-target-libjava:
26087 @if target-libjava
26088 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26089
26090 maintainer-clean-target-libjava: 
26091         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26092         r=`${PWD_COMMAND}`; export r; \
26093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26094         $(SET_LIB_PATH) \
26095         $(RAW_CXX_TARGET_EXPORTS) \
26096         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26097         for flag in $(EXTRA_TARGET_FLAGS); do \
26098           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26099         done; \
26100         (cd $(TARGET_SUBDIR)/libjava && \
26101           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26102                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26103                   "RANLIB=$${RANLIB}" \
26104                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26105                    maintainer-clean) \
26106           || exit 1
26107
26108 @endif target-libjava
26109
26110
26111 .PHONY: configure-target-zlib maybe-configure-target-zlib
26112 maybe-configure-target-zlib:
26113 @if target-zlib
26114 maybe-configure-target-zlib: configure-target-zlib
26115
26116 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26117 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26118         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26119         rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26120         cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26121
26122 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26123         @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26124         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26125         r=`${PWD_COMMAND}`; export r; \
26126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26127         $(SET_LIB_PATH) \
26128         $(NORMAL_TARGET_EXPORTS) \
26129         echo Configuring in $(TARGET_SUBDIR)/zlib; \
26130         cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26131         case $(srcdir) in \
26132           /* | [A-Za-z]:[\\/]*) \
26133             topdir=$(srcdir) ;; \
26134           *) \
26135             case "$(TARGET_SUBDIR)" in \
26136               .) topdir="../$(srcdir)" ;; \
26137               *) topdir="../../$(srcdir)" ;; \
26138             esac ;; \
26139         esac; \
26140         if [ "$(srcdir)" = "." ] ; then \
26141           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26142             if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26143               if [ -f Makefile ]; then \
26144                 if $(MAKE) distclean; then \
26145                   true; \
26146                 else \
26147                   exit 1; \
26148                 fi; \
26149               else \
26150                 true; \
26151               fi; \
26152             else \
26153               exit 1; \
26154             fi; \
26155           else \
26156             true; \
26157           fi; \
26158           srcdiroption="--srcdir=."; \
26159           libsrcdir="."; \
26160         else \
26161           srcdiroption="--srcdir=$${topdir}/zlib"; \
26162           libsrcdir="$$s/zlib"; \
26163         fi; \
26164         rm -f no-such-file || : ; \
26165         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26166           $(TARGET_CONFIGARGS) $${srcdiroption} \
26167           --with-target-subdir="$(TARGET_SUBDIR)"  \
26168           || exit 1
26169 @endif target-zlib
26170
26171 .PHONY: all-target-zlib maybe-all-target-zlib
26172 maybe-all-target-zlib:
26173 @if target-zlib
26174 TARGET-target-zlib=all
26175 maybe-all-target-zlib: all-target-zlib
26176 all-target-zlib: configure-target-zlib
26177         @r=`${PWD_COMMAND}`; export r; \
26178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26179         $(SET_LIB_PATH) \
26180         $(NORMAL_TARGET_EXPORTS) \
26181         (cd $(TARGET_SUBDIR)/zlib && \
26182           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-zlib))
26183 @endif target-zlib
26184
26185 .PHONY: check-target-zlib maybe-check-target-zlib
26186 maybe-check-target-zlib:
26187 @if target-zlib
26188 maybe-check-target-zlib: check-target-zlib
26189
26190 check-target-zlib:
26191         @r=`${PWD_COMMAND}`; export r; \
26192         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26193         $(SET_LIB_PATH) \
26194         $(NORMAL_TARGET_EXPORTS) \
26195         (cd $(TARGET_SUBDIR)/zlib && \
26196           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26197
26198 @endif target-zlib
26199
26200 .PHONY: install-target-zlib maybe-install-target-zlib
26201 maybe-install-target-zlib:
26202 @if target-zlib
26203 maybe-install-target-zlib: install-target-zlib
26204
26205 install-target-zlib: installdirs
26206         @r=`${PWD_COMMAND}`; export r; \
26207         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26208         $(SET_LIB_PATH) \
26209         $(NORMAL_TARGET_EXPORTS) \
26210         (cd $(TARGET_SUBDIR)/zlib && \
26211           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26212
26213 @endif target-zlib
26214
26215 # Other targets (info, dvi, etc.)
26216
26217 .PHONY: maybe-info-target-zlib info-target-zlib
26218 maybe-info-target-zlib:
26219 @if target-zlib
26220 maybe-info-target-zlib: info-target-zlib
26221
26222 info-target-zlib: \
26223     configure-target-zlib 
26224         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26225         r=`${PWD_COMMAND}`; export r; \
26226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26227         $(SET_LIB_PATH) \
26228         $(NORMAL_TARGET_EXPORTS) \
26229         echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26230         for flag in $(EXTRA_TARGET_FLAGS); do \
26231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26232         done; \
26233         (cd $(TARGET_SUBDIR)/zlib && \
26234           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26235                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26236                   "RANLIB=$${RANLIB}" \
26237                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26238                    info) \
26239           || exit 1
26240
26241 @endif target-zlib
26242
26243 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26244 maybe-dvi-target-zlib:
26245 @if target-zlib
26246 maybe-dvi-target-zlib: dvi-target-zlib
26247
26248 dvi-target-zlib: \
26249     configure-target-zlib 
26250         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26251         r=`${PWD_COMMAND}`; export r; \
26252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26253         $(SET_LIB_PATH) \
26254         $(NORMAL_TARGET_EXPORTS) \
26255         echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26256         for flag in $(EXTRA_TARGET_FLAGS); do \
26257           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26258         done; \
26259         (cd $(TARGET_SUBDIR)/zlib && \
26260           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26261                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26262                   "RANLIB=$${RANLIB}" \
26263                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26264                    dvi) \
26265           || exit 1
26266
26267 @endif target-zlib
26268
26269 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26270 maybe-TAGS-target-zlib:
26271 @if target-zlib
26272 maybe-TAGS-target-zlib: TAGS-target-zlib
26273
26274 TAGS-target-zlib: \
26275     configure-target-zlib 
26276         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26277         r=`${PWD_COMMAND}`; export r; \
26278         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26279         $(SET_LIB_PATH) \
26280         $(NORMAL_TARGET_EXPORTS) \
26281         echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26282         for flag in $(EXTRA_TARGET_FLAGS); do \
26283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26284         done; \
26285         (cd $(TARGET_SUBDIR)/zlib && \
26286           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26287                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26288                   "RANLIB=$${RANLIB}" \
26289                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26290                    TAGS) \
26291           || exit 1
26292
26293 @endif target-zlib
26294
26295 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26296 maybe-install-info-target-zlib:
26297 @if target-zlib
26298 maybe-install-info-target-zlib: install-info-target-zlib
26299
26300 install-info-target-zlib: \
26301     configure-target-zlib \
26302     info-target-zlib 
26303         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26304         r=`${PWD_COMMAND}`; export r; \
26305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26306         $(SET_LIB_PATH) \
26307         $(NORMAL_TARGET_EXPORTS) \
26308         echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26309         for flag in $(EXTRA_TARGET_FLAGS); do \
26310           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26311         done; \
26312         (cd $(TARGET_SUBDIR)/zlib && \
26313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26315                   "RANLIB=$${RANLIB}" \
26316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26317                    install-info) \
26318           || exit 1
26319
26320 @endif target-zlib
26321
26322 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26323 maybe-installcheck-target-zlib:
26324 @if target-zlib
26325 maybe-installcheck-target-zlib: installcheck-target-zlib
26326
26327 installcheck-target-zlib: \
26328     configure-target-zlib 
26329         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26330         r=`${PWD_COMMAND}`; export r; \
26331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332         $(SET_LIB_PATH) \
26333         $(NORMAL_TARGET_EXPORTS) \
26334         echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26335         for flag in $(EXTRA_TARGET_FLAGS); do \
26336           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26337         done; \
26338         (cd $(TARGET_SUBDIR)/zlib && \
26339           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341                   "RANLIB=$${RANLIB}" \
26342                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26343                    installcheck) \
26344           || exit 1
26345
26346 @endif target-zlib
26347
26348 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26349 maybe-mostlyclean-target-zlib:
26350 @if target-zlib
26351 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26352
26353 mostlyclean-target-zlib: 
26354         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26355         r=`${PWD_COMMAND}`; export r; \
26356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26357         $(SET_LIB_PATH) \
26358         $(NORMAL_TARGET_EXPORTS) \
26359         echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26360         for flag in $(EXTRA_TARGET_FLAGS); do \
26361           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26362         done; \
26363         (cd $(TARGET_SUBDIR)/zlib && \
26364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366                   "RANLIB=$${RANLIB}" \
26367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26368                    mostlyclean) \
26369           || exit 1
26370
26371 @endif target-zlib
26372
26373 .PHONY: maybe-clean-target-zlib clean-target-zlib
26374 maybe-clean-target-zlib:
26375 @if target-zlib
26376 maybe-clean-target-zlib: clean-target-zlib
26377
26378 clean-target-zlib: 
26379         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26380         r=`${PWD_COMMAND}`; export r; \
26381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26382         $(SET_LIB_PATH) \
26383         $(NORMAL_TARGET_EXPORTS) \
26384         echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26385         for flag in $(EXTRA_TARGET_FLAGS); do \
26386           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26387         done; \
26388         (cd $(TARGET_SUBDIR)/zlib && \
26389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26391                   "RANLIB=$${RANLIB}" \
26392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26393                    clean) \
26394           || exit 1
26395
26396 @endif target-zlib
26397
26398 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26399 maybe-distclean-target-zlib:
26400 @if target-zlib
26401 maybe-distclean-target-zlib: distclean-target-zlib
26402
26403 distclean-target-zlib: 
26404         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26405         r=`${PWD_COMMAND}`; export r; \
26406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26407         $(SET_LIB_PATH) \
26408         $(NORMAL_TARGET_EXPORTS) \
26409         echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26410         for flag in $(EXTRA_TARGET_FLAGS); do \
26411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26412         done; \
26413         (cd $(TARGET_SUBDIR)/zlib && \
26414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416                   "RANLIB=$${RANLIB}" \
26417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26418                    distclean) \
26419           || exit 1
26420
26421 @endif target-zlib
26422
26423 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26424 maybe-maintainer-clean-target-zlib:
26425 @if target-zlib
26426 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26427
26428 maintainer-clean-target-zlib: 
26429         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26430         r=`${PWD_COMMAND}`; export r; \
26431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26432         $(SET_LIB_PATH) \
26433         $(NORMAL_TARGET_EXPORTS) \
26434         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26435         for flag in $(EXTRA_TARGET_FLAGS); do \
26436           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26437         done; \
26438         (cd $(TARGET_SUBDIR)/zlib && \
26439           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26440                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26441                   "RANLIB=$${RANLIB}" \
26442                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26443                    maintainer-clean) \
26444           || exit 1
26445
26446 @endif target-zlib
26447
26448
26449 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26450 maybe-configure-target-boehm-gc:
26451 @if target-boehm-gc
26452 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26453
26454 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26455 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26456         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26457         rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26458         cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26459
26460 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26461         @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26462         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26463         r=`${PWD_COMMAND}`; export r; \
26464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465         $(SET_LIB_PATH) \
26466         $(NORMAL_TARGET_EXPORTS) \
26467         echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26468         cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26469         case $(srcdir) in \
26470           /* | [A-Za-z]:[\\/]*) \
26471             topdir=$(srcdir) ;; \
26472           *) \
26473             case "$(TARGET_SUBDIR)" in \
26474               .) topdir="../$(srcdir)" ;; \
26475               *) topdir="../../$(srcdir)" ;; \
26476             esac ;; \
26477         esac; \
26478           srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26479           libsrcdir="$$s/boehm-gc"; \
26480         rm -f no-such-file || : ; \
26481         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26482           $(TARGET_CONFIGARGS) $${srcdiroption} \
26483           --with-target-subdir="$(TARGET_SUBDIR)"  \
26484           || exit 1
26485 @endif target-boehm-gc
26486
26487 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26488 maybe-all-target-boehm-gc:
26489 @if target-boehm-gc
26490 TARGET-target-boehm-gc=all
26491 maybe-all-target-boehm-gc: all-target-boehm-gc
26492 all-target-boehm-gc: configure-target-boehm-gc
26493         @r=`${PWD_COMMAND}`; export r; \
26494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26495         $(SET_LIB_PATH) \
26496         $(NORMAL_TARGET_EXPORTS) \
26497         (cd $(TARGET_SUBDIR)/boehm-gc && \
26498           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-boehm-gc))
26499 @endif target-boehm-gc
26500
26501 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26502 maybe-check-target-boehm-gc:
26503 @if target-boehm-gc
26504 maybe-check-target-boehm-gc: check-target-boehm-gc
26505
26506 check-target-boehm-gc:
26507         @r=`${PWD_COMMAND}`; export r; \
26508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26509         $(SET_LIB_PATH) \
26510         $(NORMAL_TARGET_EXPORTS) \
26511         (cd $(TARGET_SUBDIR)/boehm-gc && \
26512           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26513
26514 @endif target-boehm-gc
26515
26516 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26517 maybe-install-target-boehm-gc:
26518 @if target-boehm-gc
26519 maybe-install-target-boehm-gc: install-target-boehm-gc
26520
26521 install-target-boehm-gc: installdirs
26522         @r=`${PWD_COMMAND}`; export r; \
26523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26524         $(SET_LIB_PATH) \
26525         $(NORMAL_TARGET_EXPORTS) \
26526         (cd $(TARGET_SUBDIR)/boehm-gc && \
26527           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26528
26529 @endif target-boehm-gc
26530
26531 # Other targets (info, dvi, etc.)
26532
26533 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26534 maybe-info-target-boehm-gc:
26535 @if target-boehm-gc
26536 maybe-info-target-boehm-gc: info-target-boehm-gc
26537
26538 info-target-boehm-gc: \
26539     configure-target-boehm-gc 
26540         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26541         r=`${PWD_COMMAND}`; export r; \
26542         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26543         $(SET_LIB_PATH) \
26544         $(NORMAL_TARGET_EXPORTS) \
26545         echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26546         for flag in $(EXTRA_TARGET_FLAGS); do \
26547           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26548         done; \
26549         (cd $(TARGET_SUBDIR)/boehm-gc && \
26550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26552                   "RANLIB=$${RANLIB}" \
26553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26554                    info) \
26555           || exit 1
26556
26557 @endif target-boehm-gc
26558
26559 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26560 maybe-dvi-target-boehm-gc:
26561 @if target-boehm-gc
26562 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26563
26564 dvi-target-boehm-gc: \
26565     configure-target-boehm-gc 
26566         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26567         r=`${PWD_COMMAND}`; export r; \
26568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26569         $(SET_LIB_PATH) \
26570         $(NORMAL_TARGET_EXPORTS) \
26571         echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26572         for flag in $(EXTRA_TARGET_FLAGS); do \
26573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26574         done; \
26575         (cd $(TARGET_SUBDIR)/boehm-gc && \
26576           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26577                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26578                   "RANLIB=$${RANLIB}" \
26579                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26580                    dvi) \
26581           || exit 1
26582
26583 @endif target-boehm-gc
26584
26585 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26586 maybe-TAGS-target-boehm-gc:
26587 @if target-boehm-gc
26588 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26589
26590 TAGS-target-boehm-gc: \
26591     configure-target-boehm-gc 
26592         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26593         r=`${PWD_COMMAND}`; export r; \
26594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26595         $(SET_LIB_PATH) \
26596         $(NORMAL_TARGET_EXPORTS) \
26597         echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26598         for flag in $(EXTRA_TARGET_FLAGS); do \
26599           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26600         done; \
26601         (cd $(TARGET_SUBDIR)/boehm-gc && \
26602           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26603                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26604                   "RANLIB=$${RANLIB}" \
26605                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26606                    TAGS) \
26607           || exit 1
26608
26609 @endif target-boehm-gc
26610
26611 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26612 maybe-install-info-target-boehm-gc:
26613 @if target-boehm-gc
26614 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26615
26616 install-info-target-boehm-gc: \
26617     configure-target-boehm-gc \
26618     info-target-boehm-gc 
26619         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26620         r=`${PWD_COMMAND}`; export r; \
26621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26622         $(SET_LIB_PATH) \
26623         $(NORMAL_TARGET_EXPORTS) \
26624         echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26625         for flag in $(EXTRA_TARGET_FLAGS); do \
26626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26627         done; \
26628         (cd $(TARGET_SUBDIR)/boehm-gc && \
26629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26631                   "RANLIB=$${RANLIB}" \
26632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26633                    install-info) \
26634           || exit 1
26635
26636 @endif target-boehm-gc
26637
26638 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26639 maybe-installcheck-target-boehm-gc:
26640 @if target-boehm-gc
26641 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26642
26643 installcheck-target-boehm-gc: \
26644     configure-target-boehm-gc 
26645         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26646         r=`${PWD_COMMAND}`; export r; \
26647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26648         $(SET_LIB_PATH) \
26649         $(NORMAL_TARGET_EXPORTS) \
26650         echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26651         for flag in $(EXTRA_TARGET_FLAGS); do \
26652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26653         done; \
26654         (cd $(TARGET_SUBDIR)/boehm-gc && \
26655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26657                   "RANLIB=$${RANLIB}" \
26658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26659                    installcheck) \
26660           || exit 1
26661
26662 @endif target-boehm-gc
26663
26664 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26665 maybe-mostlyclean-target-boehm-gc:
26666 @if target-boehm-gc
26667 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26668
26669 mostlyclean-target-boehm-gc: 
26670         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26671         r=`${PWD_COMMAND}`; export r; \
26672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26673         $(SET_LIB_PATH) \
26674         $(NORMAL_TARGET_EXPORTS) \
26675         echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26676         for flag in $(EXTRA_TARGET_FLAGS); do \
26677           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26678         done; \
26679         (cd $(TARGET_SUBDIR)/boehm-gc && \
26680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26682                   "RANLIB=$${RANLIB}" \
26683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26684                    mostlyclean) \
26685           || exit 1
26686
26687 @endif target-boehm-gc
26688
26689 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26690 maybe-clean-target-boehm-gc:
26691 @if target-boehm-gc
26692 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26693
26694 clean-target-boehm-gc: 
26695         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26696         r=`${PWD_COMMAND}`; export r; \
26697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26698         $(SET_LIB_PATH) \
26699         $(NORMAL_TARGET_EXPORTS) \
26700         echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26701         for flag in $(EXTRA_TARGET_FLAGS); do \
26702           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26703         done; \
26704         (cd $(TARGET_SUBDIR)/boehm-gc && \
26705           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26706                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26707                   "RANLIB=$${RANLIB}" \
26708                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26709                    clean) \
26710           || exit 1
26711
26712 @endif target-boehm-gc
26713
26714 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26715 maybe-distclean-target-boehm-gc:
26716 @if target-boehm-gc
26717 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26718
26719 distclean-target-boehm-gc: 
26720         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26721         r=`${PWD_COMMAND}`; export r; \
26722         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26723         $(SET_LIB_PATH) \
26724         $(NORMAL_TARGET_EXPORTS) \
26725         echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26726         for flag in $(EXTRA_TARGET_FLAGS); do \
26727           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26728         done; \
26729         (cd $(TARGET_SUBDIR)/boehm-gc && \
26730           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26731                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26732                   "RANLIB=$${RANLIB}" \
26733                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26734                    distclean) \
26735           || exit 1
26736
26737 @endif target-boehm-gc
26738
26739 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26740 maybe-maintainer-clean-target-boehm-gc:
26741 @if target-boehm-gc
26742 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26743
26744 maintainer-clean-target-boehm-gc: 
26745         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26746         r=`${PWD_COMMAND}`; export r; \
26747         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26748         $(SET_LIB_PATH) \
26749         $(NORMAL_TARGET_EXPORTS) \
26750         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26751         for flag in $(EXTRA_TARGET_FLAGS); do \
26752           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26753         done; \
26754         (cd $(TARGET_SUBDIR)/boehm-gc && \
26755           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26756                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26757                   "RANLIB=$${RANLIB}" \
26758                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26759                    maintainer-clean) \
26760           || exit 1
26761
26762 @endif target-boehm-gc
26763
26764
26765 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26766 maybe-configure-target-qthreads:
26767 @if target-qthreads
26768 maybe-configure-target-qthreads: configure-target-qthreads
26769
26770 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26771 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26772         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26773         rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26774         cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26775
26776 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26777         @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26778         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26779         r=`${PWD_COMMAND}`; export r; \
26780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26781         $(SET_LIB_PATH) \
26782         $(NORMAL_TARGET_EXPORTS) \
26783         echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26784         cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26785         case $(srcdir) in \
26786           /* | [A-Za-z]:[\\/]*) \
26787             topdir=$(srcdir) ;; \
26788           *) \
26789             case "$(TARGET_SUBDIR)" in \
26790               .) topdir="../$(srcdir)" ;; \
26791               *) topdir="../../$(srcdir)" ;; \
26792             esac ;; \
26793         esac; \
26794           srcdiroption="--srcdir=$${topdir}/qthreads"; \
26795           libsrcdir="$$s/qthreads"; \
26796         rm -f no-such-file || : ; \
26797         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26798           $(TARGET_CONFIGARGS) $${srcdiroption} \
26799           --with-target-subdir="$(TARGET_SUBDIR)"  \
26800           || exit 1
26801 @endif target-qthreads
26802
26803 .PHONY: all-target-qthreads maybe-all-target-qthreads
26804 maybe-all-target-qthreads:
26805 @if target-qthreads
26806 TARGET-target-qthreads=all
26807 maybe-all-target-qthreads: all-target-qthreads
26808 all-target-qthreads: configure-target-qthreads
26809         @r=`${PWD_COMMAND}`; export r; \
26810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26811         $(SET_LIB_PATH) \
26812         $(NORMAL_TARGET_EXPORTS) \
26813         (cd $(TARGET_SUBDIR)/qthreads && \
26814           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-qthreads))
26815 @endif target-qthreads
26816
26817 .PHONY: check-target-qthreads maybe-check-target-qthreads
26818 maybe-check-target-qthreads:
26819 @if target-qthreads
26820 maybe-check-target-qthreads: check-target-qthreads
26821
26822 check-target-qthreads:
26823         @r=`${PWD_COMMAND}`; export r; \
26824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26825         $(SET_LIB_PATH) \
26826         $(NORMAL_TARGET_EXPORTS) \
26827         (cd $(TARGET_SUBDIR)/qthreads && \
26828           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26829
26830 @endif target-qthreads
26831
26832 .PHONY: install-target-qthreads maybe-install-target-qthreads
26833 maybe-install-target-qthreads:
26834 @if target-qthreads
26835 maybe-install-target-qthreads: install-target-qthreads
26836
26837 install-target-qthreads: installdirs
26838         @r=`${PWD_COMMAND}`; export r; \
26839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26840         $(SET_LIB_PATH) \
26841         $(NORMAL_TARGET_EXPORTS) \
26842         (cd $(TARGET_SUBDIR)/qthreads && \
26843           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26844
26845 @endif target-qthreads
26846
26847 # Other targets (info, dvi, etc.)
26848
26849 .PHONY: maybe-info-target-qthreads info-target-qthreads
26850 maybe-info-target-qthreads:
26851 @if target-qthreads
26852 maybe-info-target-qthreads: info-target-qthreads
26853
26854 info-target-qthreads: \
26855     configure-target-qthreads 
26856         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26857         r=`${PWD_COMMAND}`; export r; \
26858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26859         $(SET_LIB_PATH) \
26860         $(NORMAL_TARGET_EXPORTS) \
26861         echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26862         for flag in $(EXTRA_TARGET_FLAGS); do \
26863           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26864         done; \
26865         (cd $(TARGET_SUBDIR)/qthreads && \
26866           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26867                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26868                   "RANLIB=$${RANLIB}" \
26869                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26870                    info) \
26871           || exit 1
26872
26873 @endif target-qthreads
26874
26875 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26876 maybe-dvi-target-qthreads:
26877 @if target-qthreads
26878 maybe-dvi-target-qthreads: dvi-target-qthreads
26879
26880 dvi-target-qthreads: \
26881     configure-target-qthreads 
26882         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26883         r=`${PWD_COMMAND}`; export r; \
26884         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26885         $(SET_LIB_PATH) \
26886         $(NORMAL_TARGET_EXPORTS) \
26887         echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26888         for flag in $(EXTRA_TARGET_FLAGS); do \
26889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26890         done; \
26891         (cd $(TARGET_SUBDIR)/qthreads && \
26892           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26893                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26894                   "RANLIB=$${RANLIB}" \
26895                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26896                    dvi) \
26897           || exit 1
26898
26899 @endif target-qthreads
26900
26901 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26902 maybe-TAGS-target-qthreads:
26903 @if target-qthreads
26904 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26905
26906 TAGS-target-qthreads: \
26907     configure-target-qthreads 
26908         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26909         r=`${PWD_COMMAND}`; export r; \
26910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26911         $(SET_LIB_PATH) \
26912         $(NORMAL_TARGET_EXPORTS) \
26913         echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26914         for flag in $(EXTRA_TARGET_FLAGS); do \
26915           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26916         done; \
26917         (cd $(TARGET_SUBDIR)/qthreads && \
26918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26920                   "RANLIB=$${RANLIB}" \
26921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26922                    TAGS) \
26923           || exit 1
26924
26925 @endif target-qthreads
26926
26927 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26928 maybe-install-info-target-qthreads:
26929 @if target-qthreads
26930 maybe-install-info-target-qthreads: install-info-target-qthreads
26931
26932 install-info-target-qthreads: \
26933     configure-target-qthreads \
26934     info-target-qthreads 
26935         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26936         r=`${PWD_COMMAND}`; export r; \
26937         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26938         $(SET_LIB_PATH) \
26939         $(NORMAL_TARGET_EXPORTS) \
26940         echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26941         for flag in $(EXTRA_TARGET_FLAGS); do \
26942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26943         done; \
26944         (cd $(TARGET_SUBDIR)/qthreads && \
26945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26947                   "RANLIB=$${RANLIB}" \
26948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26949                    install-info) \
26950           || exit 1
26951
26952 @endif target-qthreads
26953
26954 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26955 maybe-installcheck-target-qthreads:
26956 @if target-qthreads
26957 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26958
26959 installcheck-target-qthreads: \
26960     configure-target-qthreads 
26961         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26962         r=`${PWD_COMMAND}`; export r; \
26963         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26964         $(SET_LIB_PATH) \
26965         $(NORMAL_TARGET_EXPORTS) \
26966         echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26967         for flag in $(EXTRA_TARGET_FLAGS); do \
26968           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26969         done; \
26970         (cd $(TARGET_SUBDIR)/qthreads && \
26971           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26972                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26973                   "RANLIB=$${RANLIB}" \
26974                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26975                    installcheck) \
26976           || exit 1
26977
26978 @endif target-qthreads
26979
26980 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26981 maybe-mostlyclean-target-qthreads:
26982 @if target-qthreads
26983 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26984
26985 mostlyclean-target-qthreads: 
26986         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26987         r=`${PWD_COMMAND}`; export r; \
26988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26989         $(SET_LIB_PATH) \
26990         $(NORMAL_TARGET_EXPORTS) \
26991         echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26992         for flag in $(EXTRA_TARGET_FLAGS); do \
26993           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26994         done; \
26995         (cd $(TARGET_SUBDIR)/qthreads && \
26996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26998                   "RANLIB=$${RANLIB}" \
26999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27000                    mostlyclean) \
27001           || exit 1
27002
27003 @endif target-qthreads
27004
27005 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27006 maybe-clean-target-qthreads:
27007 @if target-qthreads
27008 maybe-clean-target-qthreads: clean-target-qthreads
27009
27010 clean-target-qthreads: 
27011         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27012         r=`${PWD_COMMAND}`; export r; \
27013         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27014         $(SET_LIB_PATH) \
27015         $(NORMAL_TARGET_EXPORTS) \
27016         echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27017         for flag in $(EXTRA_TARGET_FLAGS); do \
27018           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27019         done; \
27020         (cd $(TARGET_SUBDIR)/qthreads && \
27021           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27022                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27023                   "RANLIB=$${RANLIB}" \
27024                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27025                    clean) \
27026           || exit 1
27027
27028 @endif target-qthreads
27029
27030 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27031 maybe-distclean-target-qthreads:
27032 @if target-qthreads
27033 maybe-distclean-target-qthreads: distclean-target-qthreads
27034
27035 distclean-target-qthreads: 
27036         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27037         r=`${PWD_COMMAND}`; export r; \
27038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27039         $(SET_LIB_PATH) \
27040         $(NORMAL_TARGET_EXPORTS) \
27041         echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27042         for flag in $(EXTRA_TARGET_FLAGS); do \
27043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27044         done; \
27045         (cd $(TARGET_SUBDIR)/qthreads && \
27046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27048                   "RANLIB=$${RANLIB}" \
27049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27050                    distclean) \
27051           || exit 1
27052
27053 @endif target-qthreads
27054
27055 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27056 maybe-maintainer-clean-target-qthreads:
27057 @if target-qthreads
27058 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27059
27060 maintainer-clean-target-qthreads: 
27061         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27062         r=`${PWD_COMMAND}`; export r; \
27063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27064         $(SET_LIB_PATH) \
27065         $(NORMAL_TARGET_EXPORTS) \
27066         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27067         for flag in $(EXTRA_TARGET_FLAGS); do \
27068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27069         done; \
27070         (cd $(TARGET_SUBDIR)/qthreads && \
27071           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27072                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27073                   "RANLIB=$${RANLIB}" \
27074                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27075                    maintainer-clean) \
27076           || exit 1
27077
27078 @endif target-qthreads
27079
27080
27081 .PHONY: configure-target-rda maybe-configure-target-rda
27082 maybe-configure-target-rda:
27083 @if target-rda
27084 maybe-configure-target-rda: configure-target-rda
27085
27086 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27087 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27088         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27089         rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27090         cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27091
27092 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27093         @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27094         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27095         r=`${PWD_COMMAND}`; export r; \
27096         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27097         $(SET_LIB_PATH) \
27098         $(NORMAL_TARGET_EXPORTS) \
27099         echo Configuring in $(TARGET_SUBDIR)/rda; \
27100         cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27101         case $(srcdir) in \
27102           /* | [A-Za-z]:[\\/]*) \
27103             topdir=$(srcdir) ;; \
27104           *) \
27105             case "$(TARGET_SUBDIR)" in \
27106               .) topdir="../$(srcdir)" ;; \
27107               *) topdir="../../$(srcdir)" ;; \
27108             esac ;; \
27109         esac; \
27110           srcdiroption="--srcdir=$${topdir}/rda"; \
27111           libsrcdir="$$s/rda"; \
27112         rm -f no-such-file || : ; \
27113         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27114           $(TARGET_CONFIGARGS) $${srcdiroption} \
27115           --with-target-subdir="$(TARGET_SUBDIR)"  \
27116           || exit 1
27117 @endif target-rda
27118
27119 .PHONY: all-target-rda maybe-all-target-rda
27120 maybe-all-target-rda:
27121 @if target-rda
27122 TARGET-target-rda=all
27123 maybe-all-target-rda: all-target-rda
27124 all-target-rda: configure-target-rda
27125         @r=`${PWD_COMMAND}`; export r; \
27126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27127         $(SET_LIB_PATH) \
27128         $(NORMAL_TARGET_EXPORTS) \
27129         (cd $(TARGET_SUBDIR)/rda && \
27130           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-rda))
27131 @endif target-rda
27132
27133 .PHONY: check-target-rda maybe-check-target-rda
27134 maybe-check-target-rda:
27135 @if target-rda
27136 maybe-check-target-rda: check-target-rda
27137
27138 check-target-rda:
27139         @r=`${PWD_COMMAND}`; export r; \
27140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27141         $(SET_LIB_PATH) \
27142         $(NORMAL_TARGET_EXPORTS) \
27143         (cd $(TARGET_SUBDIR)/rda && \
27144           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27145
27146 @endif target-rda
27147
27148 .PHONY: install-target-rda maybe-install-target-rda
27149 maybe-install-target-rda:
27150 @if target-rda
27151 maybe-install-target-rda: install-target-rda
27152
27153 install-target-rda: installdirs
27154         @r=`${PWD_COMMAND}`; export r; \
27155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27156         $(SET_LIB_PATH) \
27157         $(NORMAL_TARGET_EXPORTS) \
27158         (cd $(TARGET_SUBDIR)/rda && \
27159           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27160
27161 @endif target-rda
27162
27163 # Other targets (info, dvi, etc.)
27164
27165 .PHONY: maybe-info-target-rda info-target-rda
27166 maybe-info-target-rda:
27167 @if target-rda
27168 maybe-info-target-rda: info-target-rda
27169
27170 info-target-rda: \
27171     configure-target-rda 
27172         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27173         r=`${PWD_COMMAND}`; export r; \
27174         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27175         $(SET_LIB_PATH) \
27176         $(NORMAL_TARGET_EXPORTS) \
27177         echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27178         for flag in $(EXTRA_TARGET_FLAGS); do \
27179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27180         done; \
27181         (cd $(TARGET_SUBDIR)/rda && \
27182           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184                   "RANLIB=$${RANLIB}" \
27185                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27186                    info) \
27187           || exit 1
27188
27189 @endif target-rda
27190
27191 .PHONY: maybe-dvi-target-rda dvi-target-rda
27192 maybe-dvi-target-rda:
27193 @if target-rda
27194 maybe-dvi-target-rda: dvi-target-rda
27195
27196 dvi-target-rda: \
27197     configure-target-rda 
27198         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27199         r=`${PWD_COMMAND}`; export r; \
27200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201         $(SET_LIB_PATH) \
27202         $(NORMAL_TARGET_EXPORTS) \
27203         echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27204         for flag in $(EXTRA_TARGET_FLAGS); do \
27205           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27206         done; \
27207         (cd $(TARGET_SUBDIR)/rda && \
27208           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27209                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27210                   "RANLIB=$${RANLIB}" \
27211                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27212                    dvi) \
27213           || exit 1
27214
27215 @endif target-rda
27216
27217 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27218 maybe-TAGS-target-rda:
27219 @if target-rda
27220 maybe-TAGS-target-rda: TAGS-target-rda
27221
27222 TAGS-target-rda: \
27223     configure-target-rda 
27224         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27225         r=`${PWD_COMMAND}`; export r; \
27226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27227         $(SET_LIB_PATH) \
27228         $(NORMAL_TARGET_EXPORTS) \
27229         echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27230         for flag in $(EXTRA_TARGET_FLAGS); do \
27231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27232         done; \
27233         (cd $(TARGET_SUBDIR)/rda && \
27234           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27235                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27236                   "RANLIB=$${RANLIB}" \
27237                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27238                    TAGS) \
27239           || exit 1
27240
27241 @endif target-rda
27242
27243 .PHONY: maybe-install-info-target-rda install-info-target-rda
27244 maybe-install-info-target-rda:
27245 @if target-rda
27246 maybe-install-info-target-rda: install-info-target-rda
27247
27248 install-info-target-rda: \
27249     configure-target-rda \
27250     info-target-rda 
27251         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27252         r=`${PWD_COMMAND}`; export r; \
27253         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27254         $(SET_LIB_PATH) \
27255         $(NORMAL_TARGET_EXPORTS) \
27256         echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27257         for flag in $(EXTRA_TARGET_FLAGS); do \
27258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27259         done; \
27260         (cd $(TARGET_SUBDIR)/rda && \
27261           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263                   "RANLIB=$${RANLIB}" \
27264                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27265                    install-info) \
27266           || exit 1
27267
27268 @endif target-rda
27269
27270 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27271 maybe-installcheck-target-rda:
27272 @if target-rda
27273 maybe-installcheck-target-rda: installcheck-target-rda
27274
27275 installcheck-target-rda: \
27276     configure-target-rda 
27277         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27278         r=`${PWD_COMMAND}`; export r; \
27279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27280         $(SET_LIB_PATH) \
27281         $(NORMAL_TARGET_EXPORTS) \
27282         echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27283         for flag in $(EXTRA_TARGET_FLAGS); do \
27284           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27285         done; \
27286         (cd $(TARGET_SUBDIR)/rda && \
27287           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27288                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27289                   "RANLIB=$${RANLIB}" \
27290                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27291                    installcheck) \
27292           || exit 1
27293
27294 @endif target-rda
27295
27296 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27297 maybe-mostlyclean-target-rda:
27298 @if target-rda
27299 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27300
27301 mostlyclean-target-rda: 
27302         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27303         r=`${PWD_COMMAND}`; export r; \
27304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27305         $(SET_LIB_PATH) \
27306         $(NORMAL_TARGET_EXPORTS) \
27307         echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27308         for flag in $(EXTRA_TARGET_FLAGS); do \
27309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27310         done; \
27311         (cd $(TARGET_SUBDIR)/rda && \
27312           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314                   "RANLIB=$${RANLIB}" \
27315                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27316                    mostlyclean) \
27317           || exit 1
27318
27319 @endif target-rda
27320
27321 .PHONY: maybe-clean-target-rda clean-target-rda
27322 maybe-clean-target-rda:
27323 @if target-rda
27324 maybe-clean-target-rda: clean-target-rda
27325
27326 clean-target-rda: 
27327         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27328         r=`${PWD_COMMAND}`; export r; \
27329         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27330         $(SET_LIB_PATH) \
27331         $(NORMAL_TARGET_EXPORTS) \
27332         echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27333         for flag in $(EXTRA_TARGET_FLAGS); do \
27334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27335         done; \
27336         (cd $(TARGET_SUBDIR)/rda && \
27337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27339                   "RANLIB=$${RANLIB}" \
27340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27341                    clean) \
27342           || exit 1
27343
27344 @endif target-rda
27345
27346 .PHONY: maybe-distclean-target-rda distclean-target-rda
27347 maybe-distclean-target-rda:
27348 @if target-rda
27349 maybe-distclean-target-rda: distclean-target-rda
27350
27351 distclean-target-rda: 
27352         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27353         r=`${PWD_COMMAND}`; export r; \
27354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27355         $(SET_LIB_PATH) \
27356         $(NORMAL_TARGET_EXPORTS) \
27357         echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27358         for flag in $(EXTRA_TARGET_FLAGS); do \
27359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27360         done; \
27361         (cd $(TARGET_SUBDIR)/rda && \
27362           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27363                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27364                   "RANLIB=$${RANLIB}" \
27365                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27366                    distclean) \
27367           || exit 1
27368
27369 @endif target-rda
27370
27371 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27372 maybe-maintainer-clean-target-rda:
27373 @if target-rda
27374 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27375
27376 maintainer-clean-target-rda: 
27377         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27378         r=`${PWD_COMMAND}`; export r; \
27379         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27380         $(SET_LIB_PATH) \
27381         $(NORMAL_TARGET_EXPORTS) \
27382         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27383         for flag in $(EXTRA_TARGET_FLAGS); do \
27384           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27385         done; \
27386         (cd $(TARGET_SUBDIR)/rda && \
27387           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27388                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27389                   "RANLIB=$${RANLIB}" \
27390                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27391                    maintainer-clean) \
27392           || exit 1
27393
27394 @endif target-rda
27395
27396
27397 .PHONY: configure-target-libada maybe-configure-target-libada
27398 maybe-configure-target-libada:
27399 @if target-libada
27400 maybe-configure-target-libada: configure-target-libada
27401
27402 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27403 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27404         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27405         rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27406         cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27407
27408 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27409         @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27410         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27411         r=`${PWD_COMMAND}`; export r; \
27412         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27413         $(SET_LIB_PATH) \
27414         $(NORMAL_TARGET_EXPORTS) \
27415         echo Configuring in $(TARGET_SUBDIR)/libada; \
27416         cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27417         case $(srcdir) in \
27418           /* | [A-Za-z]:[\\/]*) \
27419             topdir=$(srcdir) ;; \
27420           *) \
27421             case "$(TARGET_SUBDIR)" in \
27422               .) topdir="../$(srcdir)" ;; \
27423               *) topdir="../../$(srcdir)" ;; \
27424             esac ;; \
27425         esac; \
27426           srcdiroption="--srcdir=$${topdir}/libada"; \
27427           libsrcdir="$$s/libada"; \
27428         rm -f no-such-file || : ; \
27429         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27430           $(TARGET_CONFIGARGS) $${srcdiroption} \
27431           --with-target-subdir="$(TARGET_SUBDIR)"  \
27432           || exit 1
27433 @endif target-libada
27434
27435 .PHONY: all-target-libada maybe-all-target-libada
27436 maybe-all-target-libada:
27437 @if target-libada
27438 TARGET-target-libada=all
27439 maybe-all-target-libada: all-target-libada
27440 all-target-libada: configure-target-libada
27441         @r=`${PWD_COMMAND}`; export r; \
27442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27443         $(SET_LIB_PATH) \
27444         $(NORMAL_TARGET_EXPORTS) \
27445         (cd $(TARGET_SUBDIR)/libada && \
27446           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libada))
27447 @endif target-libada
27448
27449 .PHONY: check-target-libada maybe-check-target-libada
27450 maybe-check-target-libada:
27451 @if target-libada
27452 maybe-check-target-libada: check-target-libada
27453
27454 check-target-libada:
27455         @r=`${PWD_COMMAND}`; export r; \
27456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27457         $(SET_LIB_PATH) \
27458         $(NORMAL_TARGET_EXPORTS) \
27459         (cd $(TARGET_SUBDIR)/libada && \
27460           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27461
27462 @endif target-libada
27463
27464 .PHONY: install-target-libada maybe-install-target-libada
27465 maybe-install-target-libada:
27466 @if target-libada
27467 maybe-install-target-libada: install-target-libada
27468
27469 install-target-libada: installdirs
27470         @r=`${PWD_COMMAND}`; export r; \
27471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27472         $(SET_LIB_PATH) \
27473         $(NORMAL_TARGET_EXPORTS) \
27474         (cd $(TARGET_SUBDIR)/libada && \
27475           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27476
27477 @endif target-libada
27478
27479 # Other targets (info, dvi, etc.)
27480
27481 .PHONY: maybe-info-target-libada info-target-libada
27482 maybe-info-target-libada:
27483 @if target-libada
27484 maybe-info-target-libada: info-target-libada
27485
27486 info-target-libada: \
27487     configure-target-libada 
27488         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27489         r=`${PWD_COMMAND}`; export r; \
27490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27491         $(SET_LIB_PATH) \
27492         $(NORMAL_TARGET_EXPORTS) \
27493         echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27494         for flag in $(EXTRA_TARGET_FLAGS); do \
27495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27496         done; \
27497         (cd $(TARGET_SUBDIR)/libada && \
27498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27500                   "RANLIB=$${RANLIB}" \
27501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27502                    info) \
27503           || exit 1
27504
27505 @endif target-libada
27506
27507 .PHONY: maybe-dvi-target-libada dvi-target-libada
27508 maybe-dvi-target-libada:
27509 @if target-libada
27510 maybe-dvi-target-libada: dvi-target-libada
27511
27512 dvi-target-libada: \
27513     configure-target-libada 
27514         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27515         r=`${PWD_COMMAND}`; export r; \
27516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27517         $(SET_LIB_PATH) \
27518         $(NORMAL_TARGET_EXPORTS) \
27519         echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27520         for flag in $(EXTRA_TARGET_FLAGS); do \
27521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27522         done; \
27523         (cd $(TARGET_SUBDIR)/libada && \
27524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27526                   "RANLIB=$${RANLIB}" \
27527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27528                    dvi) \
27529           || exit 1
27530
27531 @endif target-libada
27532
27533 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27534 maybe-TAGS-target-libada:
27535 @if target-libada
27536 maybe-TAGS-target-libada: TAGS-target-libada
27537
27538 TAGS-target-libada: \
27539     configure-target-libada 
27540         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27541         r=`${PWD_COMMAND}`; export r; \
27542         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27543         $(SET_LIB_PATH) \
27544         $(NORMAL_TARGET_EXPORTS) \
27545         echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27546         for flag in $(EXTRA_TARGET_FLAGS); do \
27547           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27548         done; \
27549         (cd $(TARGET_SUBDIR)/libada && \
27550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27552                   "RANLIB=$${RANLIB}" \
27553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27554                    TAGS) \
27555           || exit 1
27556
27557 @endif target-libada
27558
27559 .PHONY: maybe-install-info-target-libada install-info-target-libada
27560 maybe-install-info-target-libada:
27561 @if target-libada
27562 maybe-install-info-target-libada: install-info-target-libada
27563
27564 install-info-target-libada: \
27565     configure-target-libada \
27566     info-target-libada 
27567         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27568         r=`${PWD_COMMAND}`; export r; \
27569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27570         $(SET_LIB_PATH) \
27571         $(NORMAL_TARGET_EXPORTS) \
27572         echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27573         for flag in $(EXTRA_TARGET_FLAGS); do \
27574           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27575         done; \
27576         (cd $(TARGET_SUBDIR)/libada && \
27577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27579                   "RANLIB=$${RANLIB}" \
27580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27581                    install-info) \
27582           || exit 1
27583
27584 @endif target-libada
27585
27586 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27587 maybe-installcheck-target-libada:
27588 @if target-libada
27589 maybe-installcheck-target-libada: installcheck-target-libada
27590
27591 installcheck-target-libada: \
27592     configure-target-libada 
27593         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27594         r=`${PWD_COMMAND}`; export r; \
27595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27596         $(SET_LIB_PATH) \
27597         $(NORMAL_TARGET_EXPORTS) \
27598         echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27599         for flag in $(EXTRA_TARGET_FLAGS); do \
27600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27601         done; \
27602         (cd $(TARGET_SUBDIR)/libada && \
27603           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27604                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27605                   "RANLIB=$${RANLIB}" \
27606                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27607                    installcheck) \
27608           || exit 1
27609
27610 @endif target-libada
27611
27612 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27613 maybe-mostlyclean-target-libada:
27614 @if target-libada
27615 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27616
27617 mostlyclean-target-libada: 
27618         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27619         r=`${PWD_COMMAND}`; export r; \
27620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27621         $(SET_LIB_PATH) \
27622         $(NORMAL_TARGET_EXPORTS) \
27623         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27624         for flag in $(EXTRA_TARGET_FLAGS); do \
27625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27626         done; \
27627         (cd $(TARGET_SUBDIR)/libada && \
27628           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27629                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27630                   "RANLIB=$${RANLIB}" \
27631                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27632                    mostlyclean) \
27633           || exit 1
27634
27635 @endif target-libada
27636
27637 .PHONY: maybe-clean-target-libada clean-target-libada
27638 maybe-clean-target-libada:
27639 @if target-libada
27640 maybe-clean-target-libada: clean-target-libada
27641
27642 clean-target-libada: 
27643         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27644         r=`${PWD_COMMAND}`; export r; \
27645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27646         $(SET_LIB_PATH) \
27647         $(NORMAL_TARGET_EXPORTS) \
27648         echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27649         for flag in $(EXTRA_TARGET_FLAGS); do \
27650           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27651         done; \
27652         (cd $(TARGET_SUBDIR)/libada && \
27653           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27654                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27655                   "RANLIB=$${RANLIB}" \
27656                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27657                    clean) \
27658           || exit 1
27659
27660 @endif target-libada
27661
27662 .PHONY: maybe-distclean-target-libada distclean-target-libada
27663 maybe-distclean-target-libada:
27664 @if target-libada
27665 maybe-distclean-target-libada: distclean-target-libada
27666
27667 distclean-target-libada: 
27668         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27669         r=`${PWD_COMMAND}`; export r; \
27670         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671         $(SET_LIB_PATH) \
27672         $(NORMAL_TARGET_EXPORTS) \
27673         echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27674         for flag in $(EXTRA_TARGET_FLAGS); do \
27675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27676         done; \
27677         (cd $(TARGET_SUBDIR)/libada && \
27678           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27679                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27680                   "RANLIB=$${RANLIB}" \
27681                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27682                    distclean) \
27683           || exit 1
27684
27685 @endif target-libada
27686
27687 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27688 maybe-maintainer-clean-target-libada:
27689 @if target-libada
27690 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27691
27692 maintainer-clean-target-libada: 
27693         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27694         r=`${PWD_COMMAND}`; export r; \
27695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27696         $(SET_LIB_PATH) \
27697         $(NORMAL_TARGET_EXPORTS) \
27698         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27699         for flag in $(EXTRA_TARGET_FLAGS); do \
27700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27701         done; \
27702         (cd $(TARGET_SUBDIR)/libada && \
27703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27705                   "RANLIB=$${RANLIB}" \
27706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27707                    maintainer-clean) \
27708           || exit 1
27709
27710 @endif target-libada
27711
27712
27713
27714 # ----------
27715 # GCC module
27716 # ----------
27717
27718 @if gcc-no-bootstrap
27719 # GCC has some more recursive targets, which trigger the old
27720 # (but still current, until the toplevel bootstrap project
27721 # is finished) compiler bootstrapping rules.
27722
27723 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27724 .PHONY: $(GCC_STRAP_TARGETS)
27725 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
27726         @r=`${PWD_COMMAND}`; export r; \
27727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27728         $(SET_LIB_PATH) \
27729         $(HOST_EXPORTS) \
27730         echo "Bootstrapping the compiler"; \
27731         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27732         @r=`${PWD_COMMAND}`; export r; \
27733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27734         case "$@" in \
27735           *bootstrap4-lean ) \
27736             msg="Comparing stage3 and stage4 of the compiler"; \
27737             compare=compare3-lean ;; \
27738           *bootstrap4 ) \
27739             msg="Comparing stage3 and stage4 of the compiler"; \
27740             compare=compare3 ;; \
27741           *-lean ) \
27742             msg="Comparing stage2 and stage3 of the compiler"; \
27743             compare=compare-lean ;; \
27744           * ) \
27745             msg="Comparing stage2 and stage3 of the compiler"; \
27746             compare=compare ;; \
27747         esac; \
27748         $(SET_LIB_PATH) \
27749         $(HOST_EXPORTS) \
27750         echo "$$msg"; \
27751         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27752         @r=`${PWD_COMMAND}`; export r; \
27753         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27754         $(SET_LIB_PATH) \
27755         echo "Building runtime libraries"; \
27756         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27757
27758 profiledbootstrap: all-prebootstrap configure-gcc
27759         @r=`${PWD_COMMAND}`; export r; \
27760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27761         $(SET_LIB_PATH) \
27762         $(HOST_EXPORTS) \
27763         echo "Bootstrapping training compiler"; \
27764         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27765         @r=`${PWD_COMMAND}`; export r; \
27766         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27767         $(SET_LIB_PATH) \
27768         $(HOST_EXPORTS) \
27769         echo "Building feedback based compiler"; \
27770         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27771         @r=`${PWD_COMMAND}`; export r; \
27772         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27773         $(SET_LIB_PATH) \
27774         echo "Building runtime libraries"; \
27775         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27776
27777 .PHONY: cross
27778 cross: all-build all-gas all-ld
27779         @r=`${PWD_COMMAND}`; export r; \
27780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27781         $(SET_LIB_PATH) \
27782         $(HOST_EXPORTS) \
27783         echo "Building the C and C++ compiler"; \
27784         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27785         @r=`${PWD_COMMAND}`; export r; \
27786         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27787         $(SET_LIB_PATH) \
27788         echo "Building runtime libraries"; \
27789         $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
27790 @endif gcc-no-bootstrap
27791
27792 @if gcc
27793 .PHONY: check-gcc-c++
27794 check-gcc-c++:
27795         @if [ -f ./gcc/Makefile ] ; then \
27796           r=`${PWD_COMMAND}`; export r; \
27797           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27798           $(SET_LIB_PATH) \
27799           $(HOST_EXPORTS) \
27800           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27801         else \
27802           true; \
27803         fi
27804
27805 .PHONY: check-c++
27806 check-c++: check-target-libstdc++-v3 check-gcc-c++
27807
27808 # Install the gcc headers files, but not the fixed include files,
27809 # which Cygnus is not allowed to distribute.  This rule is very
27810 # dependent on the workings of the gcc Makefile.in.
27811 .PHONY: gcc-no-fixedincludes
27812 gcc-no-fixedincludes:
27813         @if [ -f ./gcc/Makefile ]; then \
27814           rm -rf gcc/tmp-include; \
27815           mv gcc/include gcc/tmp-include 2>/dev/null; \
27816           mkdir gcc/include; \
27817           cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27818           touch gcc/stmp-fixinc gcc/include/fixed; \
27819           rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27820           r=`${PWD_COMMAND}`; export r; \
27821           s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27822           $(SET_LIB_PATH) \
27823           $(HOST_EXPORTS) \
27824           (cd ./gcc && \
27825            $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27826           rm -rf gcc/include; \
27827           mv gcc/tmp-include gcc/include 2>/dev/null; \
27828         else true; fi
27829 @endif gcc
27830
27831 # ---------------------
27832 # GCC bootstrap support
27833 # ---------------------
27834
27835 # We track the current stage (the one in 'gcc') in the stage_current file.
27836 # stage_last instead tracks the stage that was built last.  These targets
27837 # are dummy when toplevel bootstrap is not active.
27838
27839 .PHONY: unstage
27840 unstage:
27841 @if gcc-bootstrap
27842         @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
27843 @endif gcc-bootstrap
27844
27845 .PHONY: stage
27846 stage:
27847 @if gcc-bootstrap
27848         @$(MAKE) `cat stage_current`-end
27849 @endif gcc-bootstrap
27850
27851 # We name the build directories for the various stages "stage1-gcc",
27852 # "stage2-gcc","stage3-gcc", etc.
27853
27854 # Since the 'compare' process will fail (on debugging information) if any
27855 # directory names are different, we need to link the gcc directory for
27856 # the previous stage to a constant name ('gcc-prev'), and to make the name of
27857 # the build directories constant as well. For the latter, we use naked names
27858 # like 'gcc', because the scripts in that directory assume it.  We use
27859 # mv on platforms where symlinks to directories do not work or are not
27860 # reliable.
27861
27862 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
27863 # be kept, so that libraries can find it.  Ick!
27864
27865 # It would be best to preinstall gcc into a staging area (and in the
27866 # future, gather there all prebootstrap packages).  This would allow
27867 # assemblers and linkers can be bootstrapped as well as the compiler
27868 # (both in a combined tree, or separately).  This however requires some
27869 # change to the gcc driver, again in order to avoid comparison failures.
27870
27871 # Bugs: This is crippled when doing parallel make, the `make all-host'
27872 # and `make all-target' phases can be parallelized.
27873
27874
27875 # 'touch' doesn't work right on some platforms.
27876 STAMP = echo timestamp > 
27877
27878 # Only build the C compiler for stage1, because that is the only one that
27879 # we can guarantee will build with the native compiler, and also it is the
27880 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
27881 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
27882 # overrideable (for a bootstrap build stage1 also builds gcc.info).
27883
27884 STAGE1_CFLAGS=@stage1_cflags@
27885 STAGE1_LANGUAGES=@stage1_languages@
27886
27887 # We only want to compare .o files, so set this!
27888 objext = .o
27889
27890 # Flags to pass to stage2 and later makes.
27891 POSTSTAGE1_FLAGS_TO_PASS = \
27892         CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
27893         STAGE_PREFIX=$$r/stage-gcc/ \
27894         CFLAGS="$(BOOT_CFLAGS)" \
27895         ADAC="\$$(CC)"
27896
27897 # For stage 1:
27898 # * We force-disable intermodule optimizations, even if
27899 #   --enable-intermodule was passed, since the installed compiler probably
27900 #   can't handle them.  Luckily, autoconf always respects
27901 #   the last argument when conflicting --enable arguments are passed.
27902 # * Likewise, we force-disable coverage flags, since the installed compiler
27903 #   probably has never heard of them.
27904 # * We build only C (and possibly Ada).
27905
27906
27907 .PHONY: stage1-start stage1-end
27908
27909 stage1-start::
27910         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
27911         echo stage1 > stage_current ; \
27912         echo stage1 > stage_last
27913 @if bfd
27914         @[ -d stage1-bfd ] || mkdir stage1-bfd; \
27915         set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@ 
27916 @endif bfd
27917 @if opcodes
27918         @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
27919         set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@ 
27920 @endif opcodes
27921 @if binutils
27922         @[ -d stage1-binutils ] || mkdir stage1-binutils; \
27923         set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@ 
27924 @endif binutils
27925 @if gas
27926         @[ -d stage1-gas ] || mkdir stage1-gas; \
27927         set stage1-gas gas ; @CREATE_LINK_TO_DIR@ 
27928 @endif gas
27929 @if gcc
27930         @[ -d stage1-gcc ] || mkdir stage1-gcc; \
27931         set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@ 
27932 @endif gcc
27933 @if intl
27934         @[ -d stage1-intl ] || mkdir stage1-intl; \
27935         set stage1-intl intl ; @CREATE_LINK_TO_DIR@ 
27936 @endif intl
27937 @if ld
27938         @[ -d stage1-ld ] || mkdir stage1-ld; \
27939         set stage1-ld ld ; @CREATE_LINK_TO_DIR@ 
27940 @endif ld
27941 @if libcpp
27942         @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
27943         set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@ 
27944 @endif libcpp
27945 @if libiberty
27946         @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
27947         set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@ 
27948 @endif libiberty
27949 @if zlib
27950         @[ -d stage1-zlib ] || mkdir stage1-zlib; \
27951         set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@ 
27952 @endif zlib
27953
27954 stage1-end::
27955         @rm -f stage_current
27956 @if bfd
27957         @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
27958 @endif bfd
27959 @if opcodes
27960         @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
27961 @endif opcodes
27962 @if binutils
27963         @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
27964 @endif binutils
27965 @if gas
27966         @set gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
27967 @endif gas
27968 @if gcc
27969         @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
27970 @endif gcc
27971 @if intl
27972         @set intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
27973 @endif intl
27974 @if ld
27975         @set ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
27976 @endif ld
27977 @if libcpp
27978         @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
27979 @endif libcpp
27980 @if libiberty
27981         @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
27982 @endif libiberty
27983 @if zlib
27984         @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
27985 @endif zlib
27986
27987 # Bubble a bugfix through all the stages up to stage 1.  They
27988 # are remade, but not reconfigured.  The next stage (if any) will not
27989 # be reconfigured as well.
27990 .PHONY: stage1-bubble
27991 stage1-bubble:: 
27992         @if test -f stage1-lean  ; then \
27993           echo Skipping rebuild of stage1 ; \
27994         else \
27995           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
27996         fi
27997
27998 .PHONY: all-stage1 clean-stage1
27999 all-stage1:     \
28000   maybe-all-stage1-bfd \
28001   maybe-all-stage1-opcodes \
28002   maybe-all-stage1-binutils             \
28003   maybe-all-stage1-gas \
28004   maybe-all-stage1-gcc        \
28005   maybe-all-stage1-intl   \
28006   maybe-all-stage1-ld \
28007   maybe-all-stage1-libcpp  \
28008   maybe-all-stage1-libiberty                        \
28009   maybe-all-stage1-zlib       
28010
28011 do-clean: clean-stage1
28012 clean-stage1:     \
28013   maybe-clean-stage1-bfd \
28014   maybe-clean-stage1-opcodes \
28015   maybe-clean-stage1-binutils             \
28016   maybe-clean-stage1-gas \
28017   maybe-clean-stage1-gcc        \
28018   maybe-clean-stage1-intl   \
28019   maybe-clean-stage1-ld \
28020   maybe-clean-stage1-libcpp  \
28021   maybe-clean-stage1-libiberty                        \
28022   maybe-clean-stage1-zlib       
28023
28024
28025 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28026 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28027 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28028
28029 maybe-configure-stage1-bfd:
28030 maybe-all-stage1-bfd:
28031 maybe-clean-stage1-bfd:
28032
28033 @if bfd-bootstrap
28034 maybe-configure-stage1-bfd: configure-stage1-bfd
28035 configure-stage1-bfd:
28036         @$(MAKE) stage1-start
28037         @[ -f bfd/Makefile ] && exit 0 || : ; \
28038         r=`${PWD_COMMAND}`; export r; \
28039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28040         $(HOST_EXPORTS)  \
28041         echo Configuring stage 1 in bfd ; \
28042         cd bfd || exit 1; \
28043         case $(srcdir) in \
28044           \.) \
28045             srcdiroption="--srcdir=."; \
28046             libsrcdir=".";; \
28047           /* | [A-Za-z]:[\\/]*) \
28048             srcdiroption="--srcdir=$(srcdir)/bfd"; \
28049             libsrcdir="$$s/bfd";; \
28050           *) \
28051             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28052             libsrcdir="$$s/bfd";; \
28053         esac; \
28054         $(SHELL) $${libsrcdir}/configure \
28055           $(HOST_CONFIGARGS) $${srcdiroption} \
28056           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28057
28058 maybe-all-stage1-bfd: all-stage1-bfd
28059 all-stage1-bfd: configure-stage1-bfd
28060         @$(MAKE) stage1-start
28061         @r=`${PWD_COMMAND}`; export r; \
28062         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28063         $(HOST_EXPORTS)  \
28064         cd bfd && \
28065         $(MAKE) $(FLAGS_TO_PASS)  \
28066                 CFLAGS="$(STAGE1_CFLAGS)" 
28067
28068 maybe-clean-stage1-bfd: clean-stage1-bfd
28069 clean-stage1-bfd:
28070         @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28071           || exit 0 ; \
28072         [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28073         cd bfd && \
28074         $(MAKE) $(FLAGS_TO_PASS)  \
28075                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28076 @endif bfd-bootstrap
28077
28078
28079 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28080 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28081 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28082
28083 maybe-configure-stage1-opcodes:
28084 maybe-all-stage1-opcodes:
28085 maybe-clean-stage1-opcodes:
28086
28087 @if opcodes-bootstrap
28088 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28089 configure-stage1-opcodes:
28090         @$(MAKE) stage1-start
28091         @[ -f opcodes/Makefile ] && exit 0 || : ; \
28092         r=`${PWD_COMMAND}`; export r; \
28093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28094         $(HOST_EXPORTS)  \
28095         echo Configuring stage 1 in opcodes ; \
28096         cd opcodes || exit 1; \
28097         case $(srcdir) in \
28098           \.) \
28099             srcdiroption="--srcdir=."; \
28100             libsrcdir=".";; \
28101           /* | [A-Za-z]:[\\/]*) \
28102             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28103             libsrcdir="$$s/opcodes";; \
28104           *) \
28105             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28106             libsrcdir="$$s/opcodes";; \
28107         esac; \
28108         $(SHELL) $${libsrcdir}/configure \
28109           $(HOST_CONFIGARGS) $${srcdiroption} \
28110           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28111
28112 maybe-all-stage1-opcodes: all-stage1-opcodes
28113 all-stage1-opcodes: configure-stage1-opcodes
28114         @$(MAKE) stage1-start
28115         @r=`${PWD_COMMAND}`; export r; \
28116         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28117         $(HOST_EXPORTS)  \
28118         cd opcodes && \
28119         $(MAKE) $(FLAGS_TO_PASS)  \
28120                 CFLAGS="$(STAGE1_CFLAGS)" 
28121
28122 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28123 clean-stage1-opcodes:
28124         @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28125           || exit 0 ; \
28126         [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28127         cd opcodes && \
28128         $(MAKE) $(FLAGS_TO_PASS)  \
28129                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28130 @endif opcodes-bootstrap
28131
28132
28133 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28134 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28135 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28136
28137 maybe-configure-stage1-binutils:
28138 maybe-all-stage1-binutils:
28139 maybe-clean-stage1-binutils:
28140
28141 @if binutils-bootstrap
28142 maybe-configure-stage1-binutils: configure-stage1-binutils
28143 configure-stage1-binutils:
28144         @$(MAKE) stage1-start
28145         @[ -f binutils/Makefile ] && exit 0 || : ; \
28146         r=`${PWD_COMMAND}`; export r; \
28147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28148         $(HOST_EXPORTS)  \
28149         echo Configuring stage 1 in binutils ; \
28150         cd binutils || exit 1; \
28151         case $(srcdir) in \
28152           \.) \
28153             srcdiroption="--srcdir=."; \
28154             libsrcdir=".";; \
28155           /* | [A-Za-z]:[\\/]*) \
28156             srcdiroption="--srcdir=$(srcdir)/binutils"; \
28157             libsrcdir="$$s/binutils";; \
28158           *) \
28159             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28160             libsrcdir="$$s/binutils";; \
28161         esac; \
28162         $(SHELL) $${libsrcdir}/configure \
28163           $(HOST_CONFIGARGS) $${srcdiroption} \
28164           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28165
28166 maybe-all-stage1-binutils: all-stage1-binutils
28167 all-stage1-binutils: configure-stage1-binutils
28168         @$(MAKE) stage1-start
28169         @r=`${PWD_COMMAND}`; export r; \
28170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28171         $(HOST_EXPORTS)  \
28172         cd binutils && \
28173         $(MAKE) $(FLAGS_TO_PASS)  \
28174                 CFLAGS="$(STAGE1_CFLAGS)" 
28175
28176 maybe-clean-stage1-binutils: clean-stage1-binutils
28177 clean-stage1-binutils:
28178         @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28179           || exit 0 ; \
28180         [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28181         cd binutils && \
28182         $(MAKE) $(FLAGS_TO_PASS)  \
28183                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28184 @endif binutils-bootstrap
28185
28186
28187 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28188 .PHONY: all-stage1-gas maybe-all-stage1-gas
28189 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28190
28191 maybe-configure-stage1-gas:
28192 maybe-all-stage1-gas:
28193 maybe-clean-stage1-gas:
28194
28195 @if gas-bootstrap
28196 maybe-configure-stage1-gas: configure-stage1-gas
28197 configure-stage1-gas:
28198         @$(MAKE) stage1-start
28199         @[ -f gas/Makefile ] && exit 0 || : ; \
28200         r=`${PWD_COMMAND}`; export r; \
28201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28202         $(HOST_EXPORTS)  \
28203         echo Configuring stage 1 in gas ; \
28204         cd gas || exit 1; \
28205         case $(srcdir) in \
28206           \.) \
28207             srcdiroption="--srcdir=."; \
28208             libsrcdir=".";; \
28209           /* | [A-Za-z]:[\\/]*) \
28210             srcdiroption="--srcdir=$(srcdir)/gas"; \
28211             libsrcdir="$$s/gas";; \
28212           *) \
28213             srcdiroption="--srcdir=../$(srcdir)/gas"; \
28214             libsrcdir="$$s/gas";; \
28215         esac; \
28216         $(SHELL) $${libsrcdir}/configure \
28217           $(HOST_CONFIGARGS) $${srcdiroption} \
28218           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28219
28220 maybe-all-stage1-gas: all-stage1-gas
28221 all-stage1-gas: configure-stage1-gas
28222         @$(MAKE) stage1-start
28223         @r=`${PWD_COMMAND}`; export r; \
28224         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28225         $(HOST_EXPORTS)  \
28226         cd gas && \
28227         $(MAKE) $(FLAGS_TO_PASS)  \
28228                 CFLAGS="$(STAGE1_CFLAGS)" 
28229
28230 maybe-clean-stage1-gas: clean-stage1-gas
28231 clean-stage1-gas:
28232         @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28233           || exit 0 ; \
28234         [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28235         cd gas && \
28236         $(MAKE) $(FLAGS_TO_PASS)  \
28237                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28238 @endif gas-bootstrap
28239
28240
28241 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28242 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28243 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28244
28245 maybe-configure-stage1-gcc:
28246 maybe-all-stage1-gcc:
28247 maybe-clean-stage1-gcc:
28248
28249 @if gcc-bootstrap
28250 maybe-configure-stage1-gcc: configure-stage1-gcc
28251 configure-stage1-gcc:
28252         @$(MAKE) stage1-start
28253         @[ -f gcc/Makefile ] && exit 0 || : ; \
28254         r=`${PWD_COMMAND}`; export r; \
28255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28256         $(HOST_EXPORTS)  \
28257         echo Configuring stage 1 in gcc ; \
28258         cd gcc || exit 1; \
28259         case $(srcdir) in \
28260           \.) \
28261             srcdiroption="--srcdir=."; \
28262             libsrcdir=".";; \
28263           /* | [A-Za-z]:[\\/]*) \
28264             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28265             libsrcdir="$$s/gcc";; \
28266           *) \
28267             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28268             libsrcdir="$$s/gcc";; \
28269         esac; \
28270         $(SHELL) $${libsrcdir}/configure \
28271           $(HOST_CONFIGARGS) $${srcdiroption} \
28272           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28273
28274 maybe-all-stage1-gcc: all-stage1-gcc
28275 all-stage1-gcc: configure-stage1-gcc
28276         @$(MAKE) stage1-start
28277         @r=`${PWD_COMMAND}`; export r; \
28278         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28279         $(HOST_EXPORTS)  \
28280         cd gcc && \
28281         $(MAKE) $(FLAGS_TO_PASS)  \
28282                 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28283
28284 maybe-clean-stage1-gcc: clean-stage1-gcc
28285 clean-stage1-gcc:
28286         @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28287           || exit 0 ; \
28288         [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28289         cd gcc && \
28290         $(MAKE) $(FLAGS_TO_PASS)  \
28291                 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28292 @endif gcc-bootstrap
28293
28294
28295 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28296 .PHONY: all-stage1-intl maybe-all-stage1-intl
28297 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28298
28299 maybe-configure-stage1-intl:
28300 maybe-all-stage1-intl:
28301 maybe-clean-stage1-intl:
28302
28303 @if intl-bootstrap
28304 maybe-configure-stage1-intl: configure-stage1-intl
28305 configure-stage1-intl:
28306         @$(MAKE) stage1-start
28307         @[ -f intl/Makefile ] && exit 0 || : ; \
28308         r=`${PWD_COMMAND}`; export r; \
28309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28310         $(HOST_EXPORTS)  \
28311         echo Configuring stage 1 in intl ; \
28312         cd intl || exit 1; \
28313         case $(srcdir) in \
28314           \.) \
28315             srcdiroption="--srcdir=."; \
28316             libsrcdir=".";; \
28317           /* | [A-Za-z]:[\\/]*) \
28318             srcdiroption="--srcdir=$(srcdir)/intl"; \
28319             libsrcdir="$$s/intl";; \
28320           *) \
28321             srcdiroption="--srcdir=../$(srcdir)/intl"; \
28322             libsrcdir="$$s/intl";; \
28323         esac; \
28324         $(SHELL) $${libsrcdir}/configure \
28325           $(HOST_CONFIGARGS) $${srcdiroption} \
28326           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28327
28328 maybe-all-stage1-intl: all-stage1-intl
28329 all-stage1-intl: configure-stage1-intl
28330         @$(MAKE) stage1-start
28331         @r=`${PWD_COMMAND}`; export r; \
28332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28333         $(HOST_EXPORTS)  \
28334         cd intl && \
28335         $(MAKE) $(FLAGS_TO_PASS)  \
28336                 CFLAGS="$(STAGE1_CFLAGS)" 
28337
28338 maybe-clean-stage1-intl: clean-stage1-intl
28339 clean-stage1-intl:
28340         @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28341           || exit 0 ; \
28342         [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28343         cd intl && \
28344         $(MAKE) $(FLAGS_TO_PASS)  \
28345                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28346 @endif intl-bootstrap
28347
28348
28349 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28350 .PHONY: all-stage1-ld maybe-all-stage1-ld
28351 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28352
28353 maybe-configure-stage1-ld:
28354 maybe-all-stage1-ld:
28355 maybe-clean-stage1-ld:
28356
28357 @if ld-bootstrap
28358 maybe-configure-stage1-ld: configure-stage1-ld
28359 configure-stage1-ld:
28360         @$(MAKE) stage1-start
28361         @[ -f ld/Makefile ] && exit 0 || : ; \
28362         r=`${PWD_COMMAND}`; export r; \
28363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28364         $(HOST_EXPORTS)  \
28365         echo Configuring stage 1 in ld ; \
28366         cd ld || exit 1; \
28367         case $(srcdir) in \
28368           \.) \
28369             srcdiroption="--srcdir=."; \
28370             libsrcdir=".";; \
28371           /* | [A-Za-z]:[\\/]*) \
28372             srcdiroption="--srcdir=$(srcdir)/ld"; \
28373             libsrcdir="$$s/ld";; \
28374           *) \
28375             srcdiroption="--srcdir=../$(srcdir)/ld"; \
28376             libsrcdir="$$s/ld";; \
28377         esac; \
28378         $(SHELL) $${libsrcdir}/configure \
28379           $(HOST_CONFIGARGS) $${srcdiroption} \
28380           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28381
28382 maybe-all-stage1-ld: all-stage1-ld
28383 all-stage1-ld: configure-stage1-ld
28384         @$(MAKE) stage1-start
28385         @r=`${PWD_COMMAND}`; export r; \
28386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28387         $(HOST_EXPORTS)  \
28388         cd ld && \
28389         $(MAKE) $(FLAGS_TO_PASS)  \
28390                 CFLAGS="$(STAGE1_CFLAGS)" 
28391
28392 maybe-clean-stage1-ld: clean-stage1-ld
28393 clean-stage1-ld:
28394         @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28395           || exit 0 ; \
28396         [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28397         cd ld && \
28398         $(MAKE) $(FLAGS_TO_PASS)  \
28399                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28400 @endif ld-bootstrap
28401
28402
28403 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28404 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28405 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28406
28407 maybe-configure-stage1-libcpp:
28408 maybe-all-stage1-libcpp:
28409 maybe-clean-stage1-libcpp:
28410
28411 @if libcpp-bootstrap
28412 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28413 configure-stage1-libcpp:
28414         @$(MAKE) stage1-start
28415         @[ -f libcpp/Makefile ] && exit 0 || : ; \
28416         r=`${PWD_COMMAND}`; export r; \
28417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28418         $(HOST_EXPORTS)  \
28419         echo Configuring stage 1 in libcpp ; \
28420         cd libcpp || exit 1; \
28421         case $(srcdir) in \
28422           \.) \
28423             srcdiroption="--srcdir=."; \
28424             libsrcdir=".";; \
28425           /* | [A-Za-z]:[\\/]*) \
28426             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28427             libsrcdir="$$s/libcpp";; \
28428           *) \
28429             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28430             libsrcdir="$$s/libcpp";; \
28431         esac; \
28432         $(SHELL) $${libsrcdir}/configure \
28433           $(HOST_CONFIGARGS) $${srcdiroption} \
28434           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28435
28436 maybe-all-stage1-libcpp: all-stage1-libcpp
28437 all-stage1-libcpp: configure-stage1-libcpp
28438         @$(MAKE) stage1-start
28439         @r=`${PWD_COMMAND}`; export r; \
28440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28441         $(HOST_EXPORTS)  \
28442         cd libcpp && \
28443         $(MAKE) $(FLAGS_TO_PASS)  \
28444                 CFLAGS="$(STAGE1_CFLAGS)" 
28445
28446 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28447 clean-stage1-libcpp:
28448         @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28449           || exit 0 ; \
28450         [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28451         cd libcpp && \
28452         $(MAKE) $(FLAGS_TO_PASS)  \
28453                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28454 @endif libcpp-bootstrap
28455
28456
28457 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28458 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28459 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28460
28461 maybe-configure-stage1-libiberty:
28462 maybe-all-stage1-libiberty:
28463 maybe-clean-stage1-libiberty:
28464
28465 @if libiberty-bootstrap
28466 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28467 configure-stage1-libiberty:
28468         @$(MAKE) stage1-start
28469         @[ -f libiberty/Makefile ] && exit 0 || : ; \
28470         r=`${PWD_COMMAND}`; export r; \
28471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28472         $(HOST_EXPORTS)  \
28473         echo Configuring stage 1 in libiberty ; \
28474         cd libiberty || exit 1; \
28475         case $(srcdir) in \
28476           \.) \
28477             srcdiroption="--srcdir=."; \
28478             libsrcdir=".";; \
28479           /* | [A-Za-z]:[\\/]*) \
28480             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28481             libsrcdir="$$s/libiberty";; \
28482           *) \
28483             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28484             libsrcdir="$$s/libiberty";; \
28485         esac; \
28486         $(SHELL) $${libsrcdir}/configure \
28487           $(HOST_CONFIGARGS) $${srcdiroption} \
28488           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28489
28490 maybe-all-stage1-libiberty: all-stage1-libiberty
28491 all-stage1-libiberty: configure-stage1-libiberty
28492         @$(MAKE) stage1-start
28493         @r=`${PWD_COMMAND}`; export r; \
28494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28495         $(HOST_EXPORTS)  \
28496         cd libiberty && \
28497         $(MAKE) $(FLAGS_TO_PASS)  \
28498                 CFLAGS="$(STAGE1_CFLAGS)" 
28499
28500 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28501 clean-stage1-libiberty:
28502         @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28503           || exit 0 ; \
28504         [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28505         cd libiberty && \
28506         $(MAKE) $(FLAGS_TO_PASS)  \
28507                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28508 @endif libiberty-bootstrap
28509
28510
28511 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28512 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28513 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28514
28515 maybe-configure-stage1-zlib:
28516 maybe-all-stage1-zlib:
28517 maybe-clean-stage1-zlib:
28518
28519 @if zlib-bootstrap
28520 maybe-configure-stage1-zlib: configure-stage1-zlib
28521 configure-stage1-zlib:
28522         @$(MAKE) stage1-start
28523         @[ -f zlib/Makefile ] && exit 0 || : ; \
28524         r=`${PWD_COMMAND}`; export r; \
28525         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28526         $(HOST_EXPORTS)  \
28527         echo Configuring stage 1 in zlib ; \
28528         cd zlib || exit 1; \
28529         case $(srcdir) in \
28530           \.) \
28531             srcdiroption="--srcdir=."; \
28532             libsrcdir=".";; \
28533           /* | [A-Za-z]:[\\/]*) \
28534             srcdiroption="--srcdir=$(srcdir)/zlib"; \
28535             libsrcdir="$$s/zlib";; \
28536           *) \
28537             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28538             libsrcdir="$$s/zlib";; \
28539         esac; \
28540         $(SHELL) $${libsrcdir}/configure \
28541           $(HOST_CONFIGARGS) $${srcdiroption} \
28542           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
28543
28544 maybe-all-stage1-zlib: all-stage1-zlib
28545 all-stage1-zlib: configure-stage1-zlib
28546         @$(MAKE) stage1-start
28547         @r=`${PWD_COMMAND}`; export r; \
28548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28549         $(HOST_EXPORTS)  \
28550         cd zlib && \
28551         $(MAKE) $(FLAGS_TO_PASS)  \
28552                 CFLAGS="$(STAGE1_CFLAGS)" 
28553
28554 maybe-clean-stage1-zlib: clean-stage1-zlib
28555 clean-stage1-zlib:
28556         @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
28557           || exit 0 ; \
28558         [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
28559         cd zlib && \
28560         $(MAKE) $(FLAGS_TO_PASS)  \
28561                 CFLAGS="$(STAGE1_CFLAGS)"  clean
28562 @endif zlib-bootstrap
28563
28564
28565
28566 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28567 # only possibility, but now it conflicts with no-bootstrap rules
28568 @if gcc-bootstrap
28569
28570
28571
28572
28573 # Rules to wipe a stage and all the following ones, also used for cleanstrap
28574
28575 .PHONY: distclean-stage1
28576 distclean-stage1::
28577         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28578         rm -rf stage1-* 
28579
28580
28581 @endif gcc-bootstrap
28582
28583
28584 .PHONY: stage2-start stage2-end
28585
28586 stage2-start::
28587         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28588         echo stage2 > stage_current ; \
28589         echo stage2 > stage_last
28590 @if bfd
28591         @[ -d stage2-bfd ] || mkdir stage2-bfd; \
28592         set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
28593         set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
28594 @endif bfd
28595 @if opcodes
28596         @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28597         set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
28598         set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
28599 @endif opcodes
28600 @if binutils
28601         @[ -d stage2-binutils ] || mkdir stage2-binutils; \
28602         set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
28603         set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
28604 @endif binutils
28605 @if gas
28606         @[ -d stage2-gas ] || mkdir stage2-gas; \
28607         set stage2-gas gas ; @CREATE_LINK_TO_DIR@  ; \
28608         set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
28609 @endif gas
28610 @if gcc
28611         @[ -d stage2-gcc ] || mkdir stage2-gcc; \
28612         set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
28613         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
28614 @endif gcc
28615 @if intl
28616         @[ -d stage2-intl ] || mkdir stage2-intl; \
28617         set stage2-intl intl ; @CREATE_LINK_TO_DIR@  ; \
28618         set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
28619 @endif intl
28620 @if ld
28621         @[ -d stage2-ld ] || mkdir stage2-ld; \
28622         set stage2-ld ld ; @CREATE_LINK_TO_DIR@  ; \
28623         set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
28624 @endif ld
28625 @if libcpp
28626         @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
28627         set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
28628         set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
28629 @endif libcpp
28630 @if libiberty
28631         @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
28632         set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
28633         set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
28634 @endif libiberty
28635 @if zlib
28636         @[ -d stage2-zlib ] || mkdir stage2-zlib; \
28637         set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
28638         set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
28639 @endif zlib
28640
28641 stage2-end::
28642         @rm -f stage_current
28643 @if bfd
28644         @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@  ; \
28645         set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
28646 @endif bfd
28647 @if opcodes
28648         @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@  ; \
28649         set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
28650 @endif opcodes
28651 @if binutils
28652         @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@  ; \
28653         set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
28654 @endif binutils
28655 @if gas
28656         @set gas stage2-gas ; @UNDO_LINK_TO_DIR@  ; \
28657         set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
28658 @endif gas
28659 @if gcc
28660         @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@  ; \
28661         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
28662 @endif gcc
28663 @if intl
28664         @set intl stage2-intl ; @UNDO_LINK_TO_DIR@  ; \
28665         set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
28666 @endif intl
28667 @if ld
28668         @set ld stage2-ld ; @UNDO_LINK_TO_DIR@  ; \
28669         set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
28670 @endif ld
28671 @if libcpp
28672         @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@  ; \
28673         set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
28674 @endif libcpp
28675 @if libiberty
28676         @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@  ; \
28677         set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
28678 @endif libiberty
28679 @if zlib
28680         @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@  ; \
28681         set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
28682 @endif zlib
28683
28684 # Bubble a bugfix through all the stages up to stage 2.  They
28685 # are remade, but not reconfigured.  The next stage (if any) will not
28686 # be reconfigured as well.
28687 .PHONY: stage2-bubble
28688 stage2-bubble:: stage1-bubble
28689         @if test -f stage2-lean || test -f stage1-lean  ; then \
28690           echo Skipping rebuild of stage2 ; \
28691         else \
28692           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
28693         fi
28694
28695 .PHONY: all-stage2 clean-stage2
28696 all-stage2:     \
28697   maybe-all-stage2-bfd \
28698   maybe-all-stage2-opcodes \
28699   maybe-all-stage2-binutils             \
28700   maybe-all-stage2-gas \
28701   maybe-all-stage2-gcc        \
28702   maybe-all-stage2-intl   \
28703   maybe-all-stage2-ld \
28704   maybe-all-stage2-libcpp  \
28705   maybe-all-stage2-libiberty                        \
28706   maybe-all-stage2-zlib       
28707
28708 do-clean: clean-stage2
28709 clean-stage2:     \
28710   maybe-clean-stage2-bfd \
28711   maybe-clean-stage2-opcodes \
28712   maybe-clean-stage2-binutils             \
28713   maybe-clean-stage2-gas \
28714   maybe-clean-stage2-gcc        \
28715   maybe-clean-stage2-intl   \
28716   maybe-clean-stage2-ld \
28717   maybe-clean-stage2-libcpp  \
28718   maybe-clean-stage2-libiberty                        \
28719   maybe-clean-stage2-zlib       
28720
28721
28722 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
28723 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
28724 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
28725
28726 maybe-configure-stage2-bfd:
28727 maybe-all-stage2-bfd:
28728 maybe-clean-stage2-bfd:
28729
28730 @if bfd-bootstrap
28731 maybe-configure-stage2-bfd: configure-stage2-bfd
28732 configure-stage2-bfd:
28733         @$(MAKE) stage2-start
28734         @[ -f bfd/Makefile ] && exit 0 || : ; \
28735         r=`${PWD_COMMAND}`; export r; \
28736         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28737         $(STAGE_HOST_EXPORTS)  \
28738         echo Configuring stage 2 in bfd ; \
28739         cd bfd || exit 1; \
28740         case $(srcdir) in \
28741           \.) \
28742             srcdiroption="--srcdir=."; \
28743             libsrcdir=".";; \
28744           /* | [A-Za-z]:[\\/]*) \
28745             srcdiroption="--srcdir=$(srcdir)/bfd"; \
28746             libsrcdir="$$s/bfd";; \
28747           *) \
28748             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28749             libsrcdir="$$s/bfd";; \
28750         esac; \
28751         $(SHELL) $${libsrcdir}/configure \
28752           $(HOST_CONFIGARGS) $${srcdiroption} \
28753           @stage2_werror_flag@ 
28754
28755 maybe-all-stage2-bfd: all-stage2-bfd
28756 all-stage2-bfd: configure-stage2-bfd
28757         @$(MAKE) stage2-start
28758         @r=`${PWD_COMMAND}`; export r; \
28759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28760         $(STAGE_HOST_EXPORTS)  \
28761         cd bfd && \
28762         $(MAKE) $(FLAGS_TO_PASS)  \
28763                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28764                  
28765
28766 maybe-clean-stage2-bfd: clean-stage2-bfd
28767 clean-stage2-bfd:
28768         @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
28769           || exit 0 ; \
28770         [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
28771         cd bfd && \
28772         $(MAKE) $(FLAGS_TO_PASS)  \
28773                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28774                   clean
28775 @endif bfd-bootstrap
28776
28777
28778 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
28779 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
28780 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
28781
28782 maybe-configure-stage2-opcodes:
28783 maybe-all-stage2-opcodes:
28784 maybe-clean-stage2-opcodes:
28785
28786 @if opcodes-bootstrap
28787 maybe-configure-stage2-opcodes: configure-stage2-opcodes
28788 configure-stage2-opcodes:
28789         @$(MAKE) stage2-start
28790         @[ -f opcodes/Makefile ] && exit 0 || : ; \
28791         r=`${PWD_COMMAND}`; export r; \
28792         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28793         $(STAGE_HOST_EXPORTS)  \
28794         echo Configuring stage 2 in opcodes ; \
28795         cd opcodes || exit 1; \
28796         case $(srcdir) in \
28797           \.) \
28798             srcdiroption="--srcdir=."; \
28799             libsrcdir=".";; \
28800           /* | [A-Za-z]:[\\/]*) \
28801             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28802             libsrcdir="$$s/opcodes";; \
28803           *) \
28804             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28805             libsrcdir="$$s/opcodes";; \
28806         esac; \
28807         $(SHELL) $${libsrcdir}/configure \
28808           $(HOST_CONFIGARGS) $${srcdiroption} \
28809           @stage2_werror_flag@ 
28810
28811 maybe-all-stage2-opcodes: all-stage2-opcodes
28812 all-stage2-opcodes: configure-stage2-opcodes
28813         @$(MAKE) stage2-start
28814         @r=`${PWD_COMMAND}`; export r; \
28815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28816         $(STAGE_HOST_EXPORTS)  \
28817         cd opcodes && \
28818         $(MAKE) $(FLAGS_TO_PASS)  \
28819                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28820                  
28821
28822 maybe-clean-stage2-opcodes: clean-stage2-opcodes
28823 clean-stage2-opcodes:
28824         @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
28825           || exit 0 ; \
28826         [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
28827         cd opcodes && \
28828         $(MAKE) $(FLAGS_TO_PASS)  \
28829                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28830                   clean
28831 @endif opcodes-bootstrap
28832
28833
28834 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
28835 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
28836 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
28837
28838 maybe-configure-stage2-binutils:
28839 maybe-all-stage2-binutils:
28840 maybe-clean-stage2-binutils:
28841
28842 @if binutils-bootstrap
28843 maybe-configure-stage2-binutils: configure-stage2-binutils
28844 configure-stage2-binutils:
28845         @$(MAKE) stage2-start
28846         @[ -f binutils/Makefile ] && exit 0 || : ; \
28847         r=`${PWD_COMMAND}`; export r; \
28848         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28849         $(STAGE_HOST_EXPORTS)  \
28850         echo Configuring stage 2 in binutils ; \
28851         cd binutils || exit 1; \
28852         case $(srcdir) in \
28853           \.) \
28854             srcdiroption="--srcdir=."; \
28855             libsrcdir=".";; \
28856           /* | [A-Za-z]:[\\/]*) \
28857             srcdiroption="--srcdir=$(srcdir)/binutils"; \
28858             libsrcdir="$$s/binutils";; \
28859           *) \
28860             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28861             libsrcdir="$$s/binutils";; \
28862         esac; \
28863         $(SHELL) $${libsrcdir}/configure \
28864           $(HOST_CONFIGARGS) $${srcdiroption} \
28865           @stage2_werror_flag@ 
28866
28867 maybe-all-stage2-binutils: all-stage2-binutils
28868 all-stage2-binutils: configure-stage2-binutils
28869         @$(MAKE) stage2-start
28870         @r=`${PWD_COMMAND}`; export r; \
28871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28872         $(STAGE_HOST_EXPORTS)  \
28873         cd binutils && \
28874         $(MAKE) $(FLAGS_TO_PASS)  \
28875                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28876                  
28877
28878 maybe-clean-stage2-binutils: clean-stage2-binutils
28879 clean-stage2-binutils:
28880         @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
28881           || exit 0 ; \
28882         [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
28883         cd binutils && \
28884         $(MAKE) $(FLAGS_TO_PASS)  \
28885                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28886                   clean
28887 @endif binutils-bootstrap
28888
28889
28890 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
28891 .PHONY: all-stage2-gas maybe-all-stage2-gas
28892 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
28893
28894 maybe-configure-stage2-gas:
28895 maybe-all-stage2-gas:
28896 maybe-clean-stage2-gas:
28897
28898 @if gas-bootstrap
28899 maybe-configure-stage2-gas: configure-stage2-gas
28900 configure-stage2-gas:
28901         @$(MAKE) stage2-start
28902         @[ -f gas/Makefile ] && exit 0 || : ; \
28903         r=`${PWD_COMMAND}`; export r; \
28904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28905         $(STAGE_HOST_EXPORTS)  \
28906         echo Configuring stage 2 in gas ; \
28907         cd gas || exit 1; \
28908         case $(srcdir) in \
28909           \.) \
28910             srcdiroption="--srcdir=."; \
28911             libsrcdir=".";; \
28912           /* | [A-Za-z]:[\\/]*) \
28913             srcdiroption="--srcdir=$(srcdir)/gas"; \
28914             libsrcdir="$$s/gas";; \
28915           *) \
28916             srcdiroption="--srcdir=../$(srcdir)/gas"; \
28917             libsrcdir="$$s/gas";; \
28918         esac; \
28919         $(SHELL) $${libsrcdir}/configure \
28920           $(HOST_CONFIGARGS) $${srcdiroption} \
28921           @stage2_werror_flag@ 
28922
28923 maybe-all-stage2-gas: all-stage2-gas
28924 all-stage2-gas: configure-stage2-gas
28925         @$(MAKE) stage2-start
28926         @r=`${PWD_COMMAND}`; export r; \
28927         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28928         $(STAGE_HOST_EXPORTS)  \
28929         cd gas && \
28930         $(MAKE) $(FLAGS_TO_PASS)  \
28931                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28932                  
28933
28934 maybe-clean-stage2-gas: clean-stage2-gas
28935 clean-stage2-gas:
28936         @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
28937           || exit 0 ; \
28938         [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
28939         cd gas && \
28940         $(MAKE) $(FLAGS_TO_PASS)  \
28941                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28942                   clean
28943 @endif gas-bootstrap
28944
28945
28946 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
28947 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
28948 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
28949
28950 maybe-configure-stage2-gcc:
28951 maybe-all-stage2-gcc:
28952 maybe-clean-stage2-gcc:
28953
28954 @if gcc-bootstrap
28955 maybe-configure-stage2-gcc: configure-stage2-gcc
28956 configure-stage2-gcc:
28957         @$(MAKE) stage2-start
28958         @[ -f gcc/Makefile ] && exit 0 || : ; \
28959         r=`${PWD_COMMAND}`; export r; \
28960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28961         $(STAGE_HOST_EXPORTS)  \
28962         echo Configuring stage 2 in gcc ; \
28963         cd gcc || exit 1; \
28964         case $(srcdir) in \
28965           \.) \
28966             srcdiroption="--srcdir=."; \
28967             libsrcdir=".";; \
28968           /* | [A-Za-z]:[\\/]*) \
28969             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28970             libsrcdir="$$s/gcc";; \
28971           *) \
28972             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28973             libsrcdir="$$s/gcc";; \
28974         esac; \
28975         $(SHELL) $${libsrcdir}/configure \
28976           $(HOST_CONFIGARGS) $${srcdiroption} \
28977           @stage2_werror_flag@ 
28978
28979 maybe-all-stage2-gcc: all-stage2-gcc
28980 all-stage2-gcc: configure-stage2-gcc
28981         @$(MAKE) stage2-start
28982         @r=`${PWD_COMMAND}`; export r; \
28983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28984         $(STAGE_HOST_EXPORTS)  \
28985         cd gcc && \
28986         $(MAKE) $(FLAGS_TO_PASS)  \
28987                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28988                  $(EXTRA_GCC_FLAGS)
28989
28990 maybe-clean-stage2-gcc: clean-stage2-gcc
28991 clean-stage2-gcc:
28992         @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
28993           || exit 0 ; \
28994         [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
28995         cd gcc && \
28996         $(MAKE) $(FLAGS_TO_PASS)  \
28997                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28998                  $(EXTRA_GCC_FLAGS) clean
28999 @endif gcc-bootstrap
29000
29001
29002 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29003 .PHONY: all-stage2-intl maybe-all-stage2-intl
29004 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29005
29006 maybe-configure-stage2-intl:
29007 maybe-all-stage2-intl:
29008 maybe-clean-stage2-intl:
29009
29010 @if intl-bootstrap
29011 maybe-configure-stage2-intl: configure-stage2-intl
29012 configure-stage2-intl:
29013         @$(MAKE) stage2-start
29014         @[ -f intl/Makefile ] && exit 0 || : ; \
29015         r=`${PWD_COMMAND}`; export r; \
29016         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29017         $(STAGE_HOST_EXPORTS)  \
29018         echo Configuring stage 2 in intl ; \
29019         cd intl || exit 1; \
29020         case $(srcdir) in \
29021           \.) \
29022             srcdiroption="--srcdir=."; \
29023             libsrcdir=".";; \
29024           /* | [A-Za-z]:[\\/]*) \
29025             srcdiroption="--srcdir=$(srcdir)/intl"; \
29026             libsrcdir="$$s/intl";; \
29027           *) \
29028             srcdiroption="--srcdir=../$(srcdir)/intl"; \
29029             libsrcdir="$$s/intl";; \
29030         esac; \
29031         $(SHELL) $${libsrcdir}/configure \
29032           $(HOST_CONFIGARGS) $${srcdiroption} \
29033           @stage2_werror_flag@ 
29034
29035 maybe-all-stage2-intl: all-stage2-intl
29036 all-stage2-intl: configure-stage2-intl
29037         @$(MAKE) stage2-start
29038         @r=`${PWD_COMMAND}`; export r; \
29039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29040         $(STAGE_HOST_EXPORTS)  \
29041         cd intl && \
29042         $(MAKE) $(FLAGS_TO_PASS)  \
29043                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29044                  
29045
29046 maybe-clean-stage2-intl: clean-stage2-intl
29047 clean-stage2-intl:
29048         @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29049           || exit 0 ; \
29050         [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29051         cd intl && \
29052         $(MAKE) $(FLAGS_TO_PASS)  \
29053                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29054                   clean
29055 @endif intl-bootstrap
29056
29057
29058 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29059 .PHONY: all-stage2-ld maybe-all-stage2-ld
29060 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29061
29062 maybe-configure-stage2-ld:
29063 maybe-all-stage2-ld:
29064 maybe-clean-stage2-ld:
29065
29066 @if ld-bootstrap
29067 maybe-configure-stage2-ld: configure-stage2-ld
29068 configure-stage2-ld:
29069         @$(MAKE) stage2-start
29070         @[ -f ld/Makefile ] && exit 0 || : ; \
29071         r=`${PWD_COMMAND}`; export r; \
29072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29073         $(STAGE_HOST_EXPORTS)  \
29074         echo Configuring stage 2 in ld ; \
29075         cd ld || exit 1; \
29076         case $(srcdir) in \
29077           \.) \
29078             srcdiroption="--srcdir=."; \
29079             libsrcdir=".";; \
29080           /* | [A-Za-z]:[\\/]*) \
29081             srcdiroption="--srcdir=$(srcdir)/ld"; \
29082             libsrcdir="$$s/ld";; \
29083           *) \
29084             srcdiroption="--srcdir=../$(srcdir)/ld"; \
29085             libsrcdir="$$s/ld";; \
29086         esac; \
29087         $(SHELL) $${libsrcdir}/configure \
29088           $(HOST_CONFIGARGS) $${srcdiroption} \
29089           @stage2_werror_flag@ 
29090
29091 maybe-all-stage2-ld: all-stage2-ld
29092 all-stage2-ld: configure-stage2-ld
29093         @$(MAKE) stage2-start
29094         @r=`${PWD_COMMAND}`; export r; \
29095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29096         $(STAGE_HOST_EXPORTS)  \
29097         cd ld && \
29098         $(MAKE) $(FLAGS_TO_PASS)  \
29099                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29100                  
29101
29102 maybe-clean-stage2-ld: clean-stage2-ld
29103 clean-stage2-ld:
29104         @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29105           || exit 0 ; \
29106         [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29107         cd ld && \
29108         $(MAKE) $(FLAGS_TO_PASS)  \
29109                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29110                   clean
29111 @endif ld-bootstrap
29112
29113
29114 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29115 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29116 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29117
29118 maybe-configure-stage2-libcpp:
29119 maybe-all-stage2-libcpp:
29120 maybe-clean-stage2-libcpp:
29121
29122 @if libcpp-bootstrap
29123 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29124 configure-stage2-libcpp:
29125         @$(MAKE) stage2-start
29126         @[ -f libcpp/Makefile ] && exit 0 || : ; \
29127         r=`${PWD_COMMAND}`; export r; \
29128         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29129         $(STAGE_HOST_EXPORTS)  \
29130         echo Configuring stage 2 in libcpp ; \
29131         cd libcpp || exit 1; \
29132         case $(srcdir) in \
29133           \.) \
29134             srcdiroption="--srcdir=."; \
29135             libsrcdir=".";; \
29136           /* | [A-Za-z]:[\\/]*) \
29137             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29138             libsrcdir="$$s/libcpp";; \
29139           *) \
29140             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29141             libsrcdir="$$s/libcpp";; \
29142         esac; \
29143         $(SHELL) $${libsrcdir}/configure \
29144           $(HOST_CONFIGARGS) $${srcdiroption} \
29145           @stage2_werror_flag@ 
29146
29147 maybe-all-stage2-libcpp: all-stage2-libcpp
29148 all-stage2-libcpp: configure-stage2-libcpp
29149         @$(MAKE) stage2-start
29150         @r=`${PWD_COMMAND}`; export r; \
29151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29152         $(STAGE_HOST_EXPORTS)  \
29153         cd libcpp && \
29154         $(MAKE) $(FLAGS_TO_PASS)  \
29155                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29156                  
29157
29158 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29159 clean-stage2-libcpp:
29160         @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29161           || exit 0 ; \
29162         [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29163         cd libcpp && \
29164         $(MAKE) $(FLAGS_TO_PASS)  \
29165                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29166                   clean
29167 @endif libcpp-bootstrap
29168
29169
29170 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29171 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29172 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29173
29174 maybe-configure-stage2-libiberty:
29175 maybe-all-stage2-libiberty:
29176 maybe-clean-stage2-libiberty:
29177
29178 @if libiberty-bootstrap
29179 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29180 configure-stage2-libiberty:
29181         @$(MAKE) stage2-start
29182         @[ -f libiberty/Makefile ] && exit 0 || : ; \
29183         r=`${PWD_COMMAND}`; export r; \
29184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29185         $(STAGE_HOST_EXPORTS)  \
29186         echo Configuring stage 2 in libiberty ; \
29187         cd libiberty || exit 1; \
29188         case $(srcdir) in \
29189           \.) \
29190             srcdiroption="--srcdir=."; \
29191             libsrcdir=".";; \
29192           /* | [A-Za-z]:[\\/]*) \
29193             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29194             libsrcdir="$$s/libiberty";; \
29195           *) \
29196             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29197             libsrcdir="$$s/libiberty";; \
29198         esac; \
29199         $(SHELL) $${libsrcdir}/configure \
29200           $(HOST_CONFIGARGS) $${srcdiroption} \
29201           @stage2_werror_flag@ 
29202
29203 maybe-all-stage2-libiberty: all-stage2-libiberty
29204 all-stage2-libiberty: configure-stage2-libiberty
29205         @$(MAKE) stage2-start
29206         @r=`${PWD_COMMAND}`; export r; \
29207         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29208         $(STAGE_HOST_EXPORTS)  \
29209         cd libiberty && \
29210         $(MAKE) $(FLAGS_TO_PASS)  \
29211                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29212                  
29213
29214 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29215 clean-stage2-libiberty:
29216         @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29217           || exit 0 ; \
29218         [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29219         cd libiberty && \
29220         $(MAKE) $(FLAGS_TO_PASS)  \
29221                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29222                   clean
29223 @endif libiberty-bootstrap
29224
29225
29226 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29227 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29228 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29229
29230 maybe-configure-stage2-zlib:
29231 maybe-all-stage2-zlib:
29232 maybe-clean-stage2-zlib:
29233
29234 @if zlib-bootstrap
29235 maybe-configure-stage2-zlib: configure-stage2-zlib
29236 configure-stage2-zlib:
29237         @$(MAKE) stage2-start
29238         @[ -f zlib/Makefile ] && exit 0 || : ; \
29239         r=`${PWD_COMMAND}`; export r; \
29240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29241         $(STAGE_HOST_EXPORTS)  \
29242         echo Configuring stage 2 in zlib ; \
29243         cd zlib || exit 1; \
29244         case $(srcdir) in \
29245           \.) \
29246             srcdiroption="--srcdir=."; \
29247             libsrcdir=".";; \
29248           /* | [A-Za-z]:[\\/]*) \
29249             srcdiroption="--srcdir=$(srcdir)/zlib"; \
29250             libsrcdir="$$s/zlib";; \
29251           *) \
29252             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29253             libsrcdir="$$s/zlib";; \
29254         esac; \
29255         $(SHELL) $${libsrcdir}/configure \
29256           $(HOST_CONFIGARGS) $${srcdiroption} \
29257           @stage2_werror_flag@ 
29258
29259 maybe-all-stage2-zlib: all-stage2-zlib
29260 all-stage2-zlib: configure-stage2-zlib
29261         @$(MAKE) stage2-start
29262         @r=`${PWD_COMMAND}`; export r; \
29263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29264         $(STAGE_HOST_EXPORTS)  \
29265         cd zlib && \
29266         $(MAKE) $(FLAGS_TO_PASS)  \
29267                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29268                  
29269
29270 maybe-clean-stage2-zlib: clean-stage2-zlib
29271 clean-stage2-zlib:
29272         @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29273           || exit 0 ; \
29274         [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29275         cd zlib && \
29276         $(MAKE) $(FLAGS_TO_PASS)  \
29277                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29278                   clean
29279 @endif zlib-bootstrap
29280
29281
29282
29283 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29284 # only possibility, but now it conflicts with no-bootstrap rules
29285 @if gcc-bootstrap
29286
29287
29288
29289 .PHONY: bootstrap2
29290 bootstrap2: stage2-bubble  all
29291
29292
29293 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29294 distclean-stage1:: distclean-stage2 
29295 .PHONY: distclean-stage2
29296 distclean-stage2::
29297         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29298         rm -rf stage2-* 
29299
29300
29301 @endif gcc-bootstrap
29302
29303
29304 .PHONY: stage3-start stage3-end
29305
29306 stage3-start::
29307         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29308         echo stage3 > stage_current ; \
29309         echo stage3 > stage_last
29310 @if bfd
29311         @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29312         set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
29313         set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
29314 @endif bfd
29315 @if opcodes
29316         @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29317         set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
29318         set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
29319 @endif opcodes
29320 @if binutils
29321         @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29322         set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
29323         set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
29324 @endif binutils
29325 @if gas
29326         @[ -d stage3-gas ] || mkdir stage3-gas; \
29327         set stage3-gas gas ; @CREATE_LINK_TO_DIR@  ; \
29328         set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
29329 @endif gas
29330 @if gcc
29331         @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29332         set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
29333         set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
29334 @endif gcc
29335 @if intl
29336         @[ -d stage3-intl ] || mkdir stage3-intl; \
29337         set stage3-intl intl ; @CREATE_LINK_TO_DIR@  ; \
29338         set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
29339 @endif intl
29340 @if ld
29341         @[ -d stage3-ld ] || mkdir stage3-ld; \
29342         set stage3-ld ld ; @CREATE_LINK_TO_DIR@  ; \
29343         set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
29344 @endif ld
29345 @if libcpp
29346         @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29347         set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
29348         set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
29349 @endif libcpp
29350 @if libiberty
29351         @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29352         set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
29353         set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
29354 @endif libiberty
29355 @if zlib
29356         @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29357         set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
29358         set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
29359 @endif zlib
29360
29361 stage3-end::
29362         @rm -f stage_current
29363 @if bfd
29364         @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@  ; \
29365         set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ 
29366 @endif bfd
29367 @if opcodes
29368         @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@  ; \
29369         set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ 
29370 @endif opcodes
29371 @if binutils
29372         @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@  ; \
29373         set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ 
29374 @endif binutils
29375 @if gas
29376         @set gas stage3-gas ; @UNDO_LINK_TO_DIR@  ; \
29377         set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@ 
29378 @endif gas
29379 @if gcc
29380         @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@  ; \
29381         set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ 
29382 @endif gcc
29383 @if intl
29384         @set intl stage3-intl ; @UNDO_LINK_TO_DIR@  ; \
29385         set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@ 
29386 @endif intl
29387 @if ld
29388         @set ld stage3-ld ; @UNDO_LINK_TO_DIR@  ; \
29389         set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@ 
29390 @endif ld
29391 @if libcpp
29392         @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@  ; \
29393         set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ 
29394 @endif libcpp
29395 @if libiberty
29396         @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@  ; \
29397         set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ 
29398 @endif libiberty
29399 @if zlib
29400         @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@  ; \
29401         set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ 
29402 @endif zlib
29403
29404 # Bubble a bugfix through all the stages up to stage 3.  They
29405 # are remade, but not reconfigured.  The next stage (if any) will not
29406 # be reconfigured as well.
29407 .PHONY: stage3-bubble
29408 stage3-bubble:: stage2-bubble
29409         @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29410         @if test -f stage3-lean || test -f stage2-lean  ; then \
29411           echo Skipping rebuild of stage3 ; \
29412         else \
29413           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29414         fi
29415
29416 .PHONY: all-stage3 clean-stage3
29417 all-stage3:     \
29418   maybe-all-stage3-bfd \
29419   maybe-all-stage3-opcodes \
29420   maybe-all-stage3-binutils             \
29421   maybe-all-stage3-gas \
29422   maybe-all-stage3-gcc        \
29423   maybe-all-stage3-intl   \
29424   maybe-all-stage3-ld \
29425   maybe-all-stage3-libcpp  \
29426   maybe-all-stage3-libiberty                        \
29427   maybe-all-stage3-zlib       
29428
29429 do-clean: clean-stage3
29430 clean-stage3:     \
29431   maybe-clean-stage3-bfd \
29432   maybe-clean-stage3-opcodes \
29433   maybe-clean-stage3-binutils             \
29434   maybe-clean-stage3-gas \
29435   maybe-clean-stage3-gcc        \
29436   maybe-clean-stage3-intl   \
29437   maybe-clean-stage3-ld \
29438   maybe-clean-stage3-libcpp  \
29439   maybe-clean-stage3-libiberty                        \
29440   maybe-clean-stage3-zlib       
29441
29442
29443 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29444 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29445 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29446
29447 maybe-configure-stage3-bfd:
29448 maybe-all-stage3-bfd:
29449 maybe-clean-stage3-bfd:
29450
29451 @if bfd-bootstrap
29452 maybe-configure-stage3-bfd: configure-stage3-bfd
29453 configure-stage3-bfd:
29454         @$(MAKE) stage3-start
29455         @[ -f bfd/Makefile ] && exit 0 || : ; \
29456         r=`${PWD_COMMAND}`; export r; \
29457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29458         $(STAGE_HOST_EXPORTS)  \
29459         echo Configuring stage 3 in bfd ; \
29460         cd bfd || exit 1; \
29461         case $(srcdir) in \
29462           \.) \
29463             srcdiroption="--srcdir=."; \
29464             libsrcdir=".";; \
29465           /* | [A-Za-z]:[\\/]*) \
29466             srcdiroption="--srcdir=$(srcdir)/bfd"; \
29467             libsrcdir="$$s/bfd";; \
29468           *) \
29469             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29470             libsrcdir="$$s/bfd";; \
29471         esac; \
29472         $(SHELL) $${libsrcdir}/configure \
29473           $(HOST_CONFIGARGS) $${srcdiroption} \
29474           @stage2_werror_flag@ 
29475
29476 maybe-all-stage3-bfd: all-stage3-bfd
29477 all-stage3-bfd: configure-stage3-bfd
29478         @$(MAKE) stage3-start
29479         @r=`${PWD_COMMAND}`; export r; \
29480         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29481         $(STAGE_HOST_EXPORTS)  \
29482         cd bfd && \
29483         $(MAKE) $(FLAGS_TO_PASS)  \
29484                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29485                  
29486
29487 maybe-clean-stage3-bfd: clean-stage3-bfd
29488 clean-stage3-bfd:
29489         @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29490           || exit 0 ; \
29491         [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29492         cd bfd && \
29493         $(MAKE) $(FLAGS_TO_PASS)  \
29494                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29495                   clean
29496 @endif bfd-bootstrap
29497
29498
29499 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29500 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29501 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29502
29503 maybe-configure-stage3-opcodes:
29504 maybe-all-stage3-opcodes:
29505 maybe-clean-stage3-opcodes:
29506
29507 @if opcodes-bootstrap
29508 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29509 configure-stage3-opcodes:
29510         @$(MAKE) stage3-start
29511         @[ -f opcodes/Makefile ] && exit 0 || : ; \
29512         r=`${PWD_COMMAND}`; export r; \
29513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29514         $(STAGE_HOST_EXPORTS)  \
29515         echo Configuring stage 3 in opcodes ; \
29516         cd opcodes || exit 1; \
29517         case $(srcdir) in \
29518           \.) \
29519             srcdiroption="--srcdir=."; \
29520             libsrcdir=".";; \
29521           /* | [A-Za-z]:[\\/]*) \
29522             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29523             libsrcdir="$$s/opcodes";; \
29524           *) \
29525             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29526             libsrcdir="$$s/opcodes";; \
29527         esac; \
29528         $(SHELL) $${libsrcdir}/configure \
29529           $(HOST_CONFIGARGS) $${srcdiroption} \
29530           @stage2_werror_flag@ 
29531
29532 maybe-all-stage3-opcodes: all-stage3-opcodes
29533 all-stage3-opcodes: configure-stage3-opcodes
29534         @$(MAKE) stage3-start
29535         @r=`${PWD_COMMAND}`; export r; \
29536         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29537         $(STAGE_HOST_EXPORTS)  \
29538         cd opcodes && \
29539         $(MAKE) $(FLAGS_TO_PASS)  \
29540                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29541                  
29542
29543 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29544 clean-stage3-opcodes:
29545         @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
29546           || exit 0 ; \
29547         [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
29548         cd opcodes && \
29549         $(MAKE) $(FLAGS_TO_PASS)  \
29550                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29551                   clean
29552 @endif opcodes-bootstrap
29553
29554
29555 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
29556 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
29557 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
29558
29559 maybe-configure-stage3-binutils:
29560 maybe-all-stage3-binutils:
29561 maybe-clean-stage3-binutils:
29562
29563 @if binutils-bootstrap
29564 maybe-configure-stage3-binutils: configure-stage3-binutils
29565 configure-stage3-binutils:
29566         @$(MAKE) stage3-start
29567         @[ -f binutils/Makefile ] && exit 0 || : ; \
29568         r=`${PWD_COMMAND}`; export r; \
29569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29570         $(STAGE_HOST_EXPORTS)  \
29571         echo Configuring stage 3 in binutils ; \
29572         cd binutils || exit 1; \
29573         case $(srcdir) in \
29574           \.) \
29575             srcdiroption="--srcdir=."; \
29576             libsrcdir=".";; \
29577           /* | [A-Za-z]:[\\/]*) \
29578             srcdiroption="--srcdir=$(srcdir)/binutils"; \
29579             libsrcdir="$$s/binutils";; \
29580           *) \
29581             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29582             libsrcdir="$$s/binutils";; \
29583         esac; \
29584         $(SHELL) $${libsrcdir}/configure \
29585           $(HOST_CONFIGARGS) $${srcdiroption} \
29586           @stage2_werror_flag@ 
29587
29588 maybe-all-stage3-binutils: all-stage3-binutils
29589 all-stage3-binutils: configure-stage3-binutils
29590         @$(MAKE) stage3-start
29591         @r=`${PWD_COMMAND}`; export r; \
29592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29593         $(STAGE_HOST_EXPORTS)  \
29594         cd binutils && \
29595         $(MAKE) $(FLAGS_TO_PASS)  \
29596                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29597                  
29598
29599 maybe-clean-stage3-binutils: clean-stage3-binutils
29600 clean-stage3-binutils:
29601         @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
29602           || exit 0 ; \
29603         [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
29604         cd binutils && \
29605         $(MAKE) $(FLAGS_TO_PASS)  \
29606                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29607                   clean
29608 @endif binutils-bootstrap
29609
29610
29611 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
29612 .PHONY: all-stage3-gas maybe-all-stage3-gas
29613 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
29614
29615 maybe-configure-stage3-gas:
29616 maybe-all-stage3-gas:
29617 maybe-clean-stage3-gas:
29618
29619 @if gas-bootstrap
29620 maybe-configure-stage3-gas: configure-stage3-gas
29621 configure-stage3-gas:
29622         @$(MAKE) stage3-start
29623         @[ -f gas/Makefile ] && exit 0 || : ; \
29624         r=`${PWD_COMMAND}`; export r; \
29625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29626         $(STAGE_HOST_EXPORTS)  \
29627         echo Configuring stage 3 in gas ; \
29628         cd gas || exit 1; \
29629         case $(srcdir) in \
29630           \.) \
29631             srcdiroption="--srcdir=."; \
29632             libsrcdir=".";; \
29633           /* | [A-Za-z]:[\\/]*) \
29634             srcdiroption="--srcdir=$(srcdir)/gas"; \
29635             libsrcdir="$$s/gas";; \
29636           *) \
29637             srcdiroption="--srcdir=../$(srcdir)/gas"; \
29638             libsrcdir="$$s/gas";; \
29639         esac; \
29640         $(SHELL) $${libsrcdir}/configure \
29641           $(HOST_CONFIGARGS) $${srcdiroption} \
29642           @stage2_werror_flag@ 
29643
29644 maybe-all-stage3-gas: all-stage3-gas
29645 all-stage3-gas: configure-stage3-gas
29646         @$(MAKE) stage3-start
29647         @r=`${PWD_COMMAND}`; export r; \
29648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29649         $(STAGE_HOST_EXPORTS)  \
29650         cd gas && \
29651         $(MAKE) $(FLAGS_TO_PASS)  \
29652                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29653                  
29654
29655 maybe-clean-stage3-gas: clean-stage3-gas
29656 clean-stage3-gas:
29657         @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
29658           || exit 0 ; \
29659         [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
29660         cd gas && \
29661         $(MAKE) $(FLAGS_TO_PASS)  \
29662                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29663                   clean
29664 @endif gas-bootstrap
29665
29666
29667 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
29668 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
29669 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
29670
29671 maybe-configure-stage3-gcc:
29672 maybe-all-stage3-gcc:
29673 maybe-clean-stage3-gcc:
29674
29675 @if gcc-bootstrap
29676 maybe-configure-stage3-gcc: configure-stage3-gcc
29677 configure-stage3-gcc:
29678         @$(MAKE) stage3-start
29679         @[ -f gcc/Makefile ] && exit 0 || : ; \
29680         r=`${PWD_COMMAND}`; export r; \
29681         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29682         $(STAGE_HOST_EXPORTS)  \
29683         echo Configuring stage 3 in gcc ; \
29684         cd gcc || exit 1; \
29685         case $(srcdir) in \
29686           \.) \
29687             srcdiroption="--srcdir=."; \
29688             libsrcdir=".";; \
29689           /* | [A-Za-z]:[\\/]*) \
29690             srcdiroption="--srcdir=$(srcdir)/gcc"; \
29691             libsrcdir="$$s/gcc";; \
29692           *) \
29693             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29694             libsrcdir="$$s/gcc";; \
29695         esac; \
29696         $(SHELL) $${libsrcdir}/configure \
29697           $(HOST_CONFIGARGS) $${srcdiroption} \
29698           @stage2_werror_flag@ 
29699
29700 maybe-all-stage3-gcc: all-stage3-gcc
29701 all-stage3-gcc: configure-stage3-gcc
29702         @$(MAKE) stage3-start
29703         @r=`${PWD_COMMAND}`; export r; \
29704         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29705         $(STAGE_HOST_EXPORTS)  \
29706         cd gcc && \
29707         $(MAKE) $(FLAGS_TO_PASS)  \
29708                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29709                  $(EXTRA_GCC_FLAGS)
29710
29711 maybe-clean-stage3-gcc: clean-stage3-gcc
29712 clean-stage3-gcc:
29713         @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
29714           || exit 0 ; \
29715         [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
29716         cd gcc && \
29717         $(MAKE) $(FLAGS_TO_PASS)  \
29718                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29719                  $(EXTRA_GCC_FLAGS) clean
29720 @endif gcc-bootstrap
29721
29722
29723 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
29724 .PHONY: all-stage3-intl maybe-all-stage3-intl
29725 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
29726
29727 maybe-configure-stage3-intl:
29728 maybe-all-stage3-intl:
29729 maybe-clean-stage3-intl:
29730
29731 @if intl-bootstrap
29732 maybe-configure-stage3-intl: configure-stage3-intl
29733 configure-stage3-intl:
29734         @$(MAKE) stage3-start
29735         @[ -f intl/Makefile ] && exit 0 || : ; \
29736         r=`${PWD_COMMAND}`; export r; \
29737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29738         $(STAGE_HOST_EXPORTS)  \
29739         echo Configuring stage 3 in intl ; \
29740         cd intl || exit 1; \
29741         case $(srcdir) in \
29742           \.) \
29743             srcdiroption="--srcdir=."; \
29744             libsrcdir=".";; \
29745           /* | [A-Za-z]:[\\/]*) \
29746             srcdiroption="--srcdir=$(srcdir)/intl"; \
29747             libsrcdir="$$s/intl";; \
29748           *) \
29749             srcdiroption="--srcdir=../$(srcdir)/intl"; \
29750             libsrcdir="$$s/intl";; \
29751         esac; \
29752         $(SHELL) $${libsrcdir}/configure \
29753           $(HOST_CONFIGARGS) $${srcdiroption} \
29754           @stage2_werror_flag@ 
29755
29756 maybe-all-stage3-intl: all-stage3-intl
29757 all-stage3-intl: configure-stage3-intl
29758         @$(MAKE) stage3-start
29759         @r=`${PWD_COMMAND}`; export r; \
29760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29761         $(STAGE_HOST_EXPORTS)  \
29762         cd intl && \
29763         $(MAKE) $(FLAGS_TO_PASS)  \
29764                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29765                  
29766
29767 maybe-clean-stage3-intl: clean-stage3-intl
29768 clean-stage3-intl:
29769         @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
29770           || exit 0 ; \
29771         [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
29772         cd intl && \
29773         $(MAKE) $(FLAGS_TO_PASS)  \
29774                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29775                   clean
29776 @endif intl-bootstrap
29777
29778
29779 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
29780 .PHONY: all-stage3-ld maybe-all-stage3-ld
29781 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
29782
29783 maybe-configure-stage3-ld:
29784 maybe-all-stage3-ld:
29785 maybe-clean-stage3-ld:
29786
29787 @if ld-bootstrap
29788 maybe-configure-stage3-ld: configure-stage3-ld
29789 configure-stage3-ld:
29790         @$(MAKE) stage3-start
29791         @[ -f ld/Makefile ] && exit 0 || : ; \
29792         r=`${PWD_COMMAND}`; export r; \
29793         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29794         $(STAGE_HOST_EXPORTS)  \
29795         echo Configuring stage 3 in ld ; \
29796         cd ld || exit 1; \
29797         case $(srcdir) in \
29798           \.) \
29799             srcdiroption="--srcdir=."; \
29800             libsrcdir=".";; \
29801           /* | [A-Za-z]:[\\/]*) \
29802             srcdiroption="--srcdir=$(srcdir)/ld"; \
29803             libsrcdir="$$s/ld";; \
29804           *) \
29805             srcdiroption="--srcdir=../$(srcdir)/ld"; \
29806             libsrcdir="$$s/ld";; \
29807         esac; \
29808         $(SHELL) $${libsrcdir}/configure \
29809           $(HOST_CONFIGARGS) $${srcdiroption} \
29810           @stage2_werror_flag@ 
29811
29812 maybe-all-stage3-ld: all-stage3-ld
29813 all-stage3-ld: configure-stage3-ld
29814         @$(MAKE) stage3-start
29815         @r=`${PWD_COMMAND}`; export r; \
29816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29817         $(STAGE_HOST_EXPORTS)  \
29818         cd ld && \
29819         $(MAKE) $(FLAGS_TO_PASS)  \
29820                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29821                  
29822
29823 maybe-clean-stage3-ld: clean-stage3-ld
29824 clean-stage3-ld:
29825         @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
29826           || exit 0 ; \
29827         [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
29828         cd ld && \
29829         $(MAKE) $(FLAGS_TO_PASS)  \
29830                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29831                   clean
29832 @endif ld-bootstrap
29833
29834
29835 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
29836 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
29837 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
29838
29839 maybe-configure-stage3-libcpp:
29840 maybe-all-stage3-libcpp:
29841 maybe-clean-stage3-libcpp:
29842
29843 @if libcpp-bootstrap
29844 maybe-configure-stage3-libcpp: configure-stage3-libcpp
29845 configure-stage3-libcpp:
29846         @$(MAKE) stage3-start
29847         @[ -f libcpp/Makefile ] && exit 0 || : ; \
29848         r=`${PWD_COMMAND}`; export r; \
29849         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29850         $(STAGE_HOST_EXPORTS)  \
29851         echo Configuring stage 3 in libcpp ; \
29852         cd libcpp || exit 1; \
29853         case $(srcdir) in \
29854           \.) \
29855             srcdiroption="--srcdir=."; \
29856             libsrcdir=".";; \
29857           /* | [A-Za-z]:[\\/]*) \
29858             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29859             libsrcdir="$$s/libcpp";; \
29860           *) \
29861             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29862             libsrcdir="$$s/libcpp";; \
29863         esac; \
29864         $(SHELL) $${libsrcdir}/configure \
29865           $(HOST_CONFIGARGS) $${srcdiroption} \
29866           @stage2_werror_flag@ 
29867
29868 maybe-all-stage3-libcpp: all-stage3-libcpp
29869 all-stage3-libcpp: configure-stage3-libcpp
29870         @$(MAKE) stage3-start
29871         @r=`${PWD_COMMAND}`; export r; \
29872         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29873         $(STAGE_HOST_EXPORTS)  \
29874         cd libcpp && \
29875         $(MAKE) $(FLAGS_TO_PASS)  \
29876                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29877                  
29878
29879 maybe-clean-stage3-libcpp: clean-stage3-libcpp
29880 clean-stage3-libcpp:
29881         @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
29882           || exit 0 ; \
29883         [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
29884         cd libcpp && \
29885         $(MAKE) $(FLAGS_TO_PASS)  \
29886                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29887                   clean
29888 @endif libcpp-bootstrap
29889
29890
29891 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
29892 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
29893 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
29894
29895 maybe-configure-stage3-libiberty:
29896 maybe-all-stage3-libiberty:
29897 maybe-clean-stage3-libiberty:
29898
29899 @if libiberty-bootstrap
29900 maybe-configure-stage3-libiberty: configure-stage3-libiberty
29901 configure-stage3-libiberty:
29902         @$(MAKE) stage3-start
29903         @[ -f libiberty/Makefile ] && exit 0 || : ; \
29904         r=`${PWD_COMMAND}`; export r; \
29905         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29906         $(STAGE_HOST_EXPORTS)  \
29907         echo Configuring stage 3 in libiberty ; \
29908         cd libiberty || exit 1; \
29909         case $(srcdir) in \
29910           \.) \
29911             srcdiroption="--srcdir=."; \
29912             libsrcdir=".";; \
29913           /* | [A-Za-z]:[\\/]*) \
29914             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29915             libsrcdir="$$s/libiberty";; \
29916           *) \
29917             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29918             libsrcdir="$$s/libiberty";; \
29919         esac; \
29920         $(SHELL) $${libsrcdir}/configure \
29921           $(HOST_CONFIGARGS) $${srcdiroption} \
29922           @stage2_werror_flag@ 
29923
29924 maybe-all-stage3-libiberty: all-stage3-libiberty
29925 all-stage3-libiberty: configure-stage3-libiberty
29926         @$(MAKE) stage3-start
29927         @r=`${PWD_COMMAND}`; export r; \
29928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29929         $(STAGE_HOST_EXPORTS)  \
29930         cd libiberty && \
29931         $(MAKE) $(FLAGS_TO_PASS)  \
29932                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29933                  
29934
29935 maybe-clean-stage3-libiberty: clean-stage3-libiberty
29936 clean-stage3-libiberty:
29937         @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
29938           || exit 0 ; \
29939         [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
29940         cd libiberty && \
29941         $(MAKE) $(FLAGS_TO_PASS)  \
29942                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29943                   clean
29944 @endif libiberty-bootstrap
29945
29946
29947 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
29948 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
29949 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
29950
29951 maybe-configure-stage3-zlib:
29952 maybe-all-stage3-zlib:
29953 maybe-clean-stage3-zlib:
29954
29955 @if zlib-bootstrap
29956 maybe-configure-stage3-zlib: configure-stage3-zlib
29957 configure-stage3-zlib:
29958         @$(MAKE) stage3-start
29959         @[ -f zlib/Makefile ] && exit 0 || : ; \
29960         r=`${PWD_COMMAND}`; export r; \
29961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29962         $(STAGE_HOST_EXPORTS)  \
29963         echo Configuring stage 3 in zlib ; \
29964         cd zlib || exit 1; \
29965         case $(srcdir) in \
29966           \.) \
29967             srcdiroption="--srcdir=."; \
29968             libsrcdir=".";; \
29969           /* | [A-Za-z]:[\\/]*) \
29970             srcdiroption="--srcdir=$(srcdir)/zlib"; \
29971             libsrcdir="$$s/zlib";; \
29972           *) \
29973             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29974             libsrcdir="$$s/zlib";; \
29975         esac; \
29976         $(SHELL) $${libsrcdir}/configure \
29977           $(HOST_CONFIGARGS) $${srcdiroption} \
29978           @stage2_werror_flag@ 
29979
29980 maybe-all-stage3-zlib: all-stage3-zlib
29981 all-stage3-zlib: configure-stage3-zlib
29982         @$(MAKE) stage3-start
29983         @r=`${PWD_COMMAND}`; export r; \
29984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29985         $(STAGE_HOST_EXPORTS)  \
29986         cd zlib && \
29987         $(MAKE) $(FLAGS_TO_PASS)  \
29988                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29989                  
29990
29991 maybe-clean-stage3-zlib: clean-stage3-zlib
29992 clean-stage3-zlib:
29993         @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
29994           || exit 0 ; \
29995         [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
29996         cd zlib && \
29997         $(MAKE) $(FLAGS_TO_PASS)  \
29998                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29999                   clean
30000 @endif zlib-bootstrap
30001
30002
30003
30004 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30005 # only possibility, but now it conflicts with no-bootstrap rules
30006 @if gcc-bootstrap
30007
30008 compare:
30009         @if test -f stage2-lean; then \
30010           echo Cannot compare object files as stage 2 was deleted. ; \
30011           exit 0 ; \
30012         fi; \
30013         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30014         @r=`${PWD_COMMAND}`; export r; \
30015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30016         rm -f .bad_compare ; \
30017         cd stage3-gcc; \
30018         files=`find . -name "*$(objext)" -print` ; \
30019         cd .. ; \
30020         for file in $${files} ; do \
30021           f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30022           @do_compare@ > /dev/null 2>&1; \
30023           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30024         done ; \
30025         if [ -f .bad_compare ]; then \
30026           echo "Bootstrap comparison failure!"; \
30027           cat .bad_compare; \
30028           exit 1; \
30029         else \
30030           true; \
30031         fi ; \
30032         $(STAMP) compare
30033         @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30034
30035
30036
30037 .PHONY: bootstrap
30038 bootstrap: stage3-bubble compare all
30039
30040
30041 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30042 distclean-stage2:: distclean-stage3 
30043 .PHONY: distclean-stage3
30044 distclean-stage3::
30045         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30046         rm -rf stage3-* compare 
30047
30048
30049 .PHONY: cleanstrap
30050 cleanstrap: distclean bootstrap
30051
30052 @endif gcc-bootstrap
30053
30054
30055 .PHONY: stage4-start stage4-end
30056
30057 stage4-start::
30058         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30059         echo stage4 > stage_current ; \
30060         echo stage4 > stage_last
30061 @if bfd
30062         @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30063         set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
30064         set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
30065 @endif bfd
30066 @if opcodes
30067         @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30068         set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
30069         set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
30070 @endif opcodes
30071 @if binutils
30072         @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30073         set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
30074         set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
30075 @endif binutils
30076 @if gas
30077         @[ -d stage4-gas ] || mkdir stage4-gas; \
30078         set stage4-gas gas ; @CREATE_LINK_TO_DIR@  ; \
30079         set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
30080 @endif gas
30081 @if gcc
30082         @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30083         set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
30084         set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
30085 @endif gcc
30086 @if intl
30087         @[ -d stage4-intl ] || mkdir stage4-intl; \
30088         set stage4-intl intl ; @CREATE_LINK_TO_DIR@  ; \
30089         set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
30090 @endif intl
30091 @if ld
30092         @[ -d stage4-ld ] || mkdir stage4-ld; \
30093         set stage4-ld ld ; @CREATE_LINK_TO_DIR@  ; \
30094         set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
30095 @endif ld
30096 @if libcpp
30097         @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30098         set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
30099         set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
30100 @endif libcpp
30101 @if libiberty
30102         @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30103         set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
30104         set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
30105 @endif libiberty
30106 @if zlib
30107         @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30108         set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
30109         set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
30110 @endif zlib
30111
30112 stage4-end::
30113         @rm -f stage_current
30114 @if bfd
30115         @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@  ; \
30116         set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ 
30117 @endif bfd
30118 @if opcodes
30119         @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@  ; \
30120         set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ 
30121 @endif opcodes
30122 @if binutils
30123         @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@  ; \
30124         set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ 
30125 @endif binutils
30126 @if gas
30127         @set gas stage4-gas ; @UNDO_LINK_TO_DIR@  ; \
30128         set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@ 
30129 @endif gas
30130 @if gcc
30131         @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@  ; \
30132         set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ 
30133 @endif gcc
30134 @if intl
30135         @set intl stage4-intl ; @UNDO_LINK_TO_DIR@  ; \
30136         set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@ 
30137 @endif intl
30138 @if ld
30139         @set ld stage4-ld ; @UNDO_LINK_TO_DIR@  ; \
30140         set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@ 
30141 @endif ld
30142 @if libcpp
30143         @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@  ; \
30144         set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ 
30145 @endif libcpp
30146 @if libiberty
30147         @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@  ; \
30148         set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ 
30149 @endif libiberty
30150 @if zlib
30151         @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@  ; \
30152         set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ 
30153 @endif zlib
30154
30155 # Bubble a bugfix through all the stages up to stage 4.  They
30156 # are remade, but not reconfigured.  The next stage (if any) will not
30157 # be reconfigured as well.
30158 .PHONY: stage4-bubble
30159 stage4-bubble:: stage3-bubble
30160         @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30161         @if test -f stage4-lean || test -f stage3-lean  ; then \
30162           echo Skipping rebuild of stage4 ; \
30163         else \
30164           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30165         fi
30166
30167 .PHONY: all-stage4 clean-stage4
30168 all-stage4:     \
30169   maybe-all-stage4-bfd \
30170   maybe-all-stage4-opcodes \
30171   maybe-all-stage4-binutils             \
30172   maybe-all-stage4-gas \
30173   maybe-all-stage4-gcc        \
30174   maybe-all-stage4-intl   \
30175   maybe-all-stage4-ld \
30176   maybe-all-stage4-libcpp  \
30177   maybe-all-stage4-libiberty                        \
30178   maybe-all-stage4-zlib       
30179
30180 do-clean: clean-stage4
30181 clean-stage4:     \
30182   maybe-clean-stage4-bfd \
30183   maybe-clean-stage4-opcodes \
30184   maybe-clean-stage4-binutils             \
30185   maybe-clean-stage4-gas \
30186   maybe-clean-stage4-gcc        \
30187   maybe-clean-stage4-intl   \
30188   maybe-clean-stage4-ld \
30189   maybe-clean-stage4-libcpp  \
30190   maybe-clean-stage4-libiberty                        \
30191   maybe-clean-stage4-zlib       
30192
30193
30194 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30195 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30196 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30197
30198 maybe-configure-stage4-bfd:
30199 maybe-all-stage4-bfd:
30200 maybe-clean-stage4-bfd:
30201
30202 @if bfd-bootstrap
30203 maybe-configure-stage4-bfd: configure-stage4-bfd
30204 configure-stage4-bfd:
30205         @$(MAKE) stage4-start
30206         @[ -f bfd/Makefile ] && exit 0 || : ; \
30207         r=`${PWD_COMMAND}`; export r; \
30208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30209         $(STAGE_HOST_EXPORTS)  \
30210         echo Configuring stage 4 in bfd ; \
30211         cd bfd || exit 1; \
30212         case $(srcdir) in \
30213           \.) \
30214             srcdiroption="--srcdir=."; \
30215             libsrcdir=".";; \
30216           /* | [A-Za-z]:[\\/]*) \
30217             srcdiroption="--srcdir=$(srcdir)/bfd"; \
30218             libsrcdir="$$s/bfd";; \
30219           *) \
30220             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30221             libsrcdir="$$s/bfd";; \
30222         esac; \
30223         $(SHELL) $${libsrcdir}/configure \
30224           $(HOST_CONFIGARGS) $${srcdiroption} \
30225           @stage2_werror_flag@ 
30226
30227 maybe-all-stage4-bfd: all-stage4-bfd
30228 all-stage4-bfd: configure-stage4-bfd
30229         @$(MAKE) stage4-start
30230         @r=`${PWD_COMMAND}`; export r; \
30231         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30232         $(STAGE_HOST_EXPORTS)  \
30233         cd bfd && \
30234         $(MAKE) $(FLAGS_TO_PASS)  \
30235                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30236                  
30237
30238 maybe-clean-stage4-bfd: clean-stage4-bfd
30239 clean-stage4-bfd:
30240         @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30241           || exit 0 ; \
30242         [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30243         cd bfd && \
30244         $(MAKE) $(FLAGS_TO_PASS)  \
30245                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30246                   clean
30247 @endif bfd-bootstrap
30248
30249
30250 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30251 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30252 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30253
30254 maybe-configure-stage4-opcodes:
30255 maybe-all-stage4-opcodes:
30256 maybe-clean-stage4-opcodes:
30257
30258 @if opcodes-bootstrap
30259 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30260 configure-stage4-opcodes:
30261         @$(MAKE) stage4-start
30262         @[ -f opcodes/Makefile ] && exit 0 || : ; \
30263         r=`${PWD_COMMAND}`; export r; \
30264         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30265         $(STAGE_HOST_EXPORTS)  \
30266         echo Configuring stage 4 in opcodes ; \
30267         cd opcodes || exit 1; \
30268         case $(srcdir) in \
30269           \.) \
30270             srcdiroption="--srcdir=."; \
30271             libsrcdir=".";; \
30272           /* | [A-Za-z]:[\\/]*) \
30273             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30274             libsrcdir="$$s/opcodes";; \
30275           *) \
30276             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30277             libsrcdir="$$s/opcodes";; \
30278         esac; \
30279         $(SHELL) $${libsrcdir}/configure \
30280           $(HOST_CONFIGARGS) $${srcdiroption} \
30281           @stage2_werror_flag@ 
30282
30283 maybe-all-stage4-opcodes: all-stage4-opcodes
30284 all-stage4-opcodes: configure-stage4-opcodes
30285         @$(MAKE) stage4-start
30286         @r=`${PWD_COMMAND}`; export r; \
30287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30288         $(STAGE_HOST_EXPORTS)  \
30289         cd opcodes && \
30290         $(MAKE) $(FLAGS_TO_PASS)  \
30291                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30292                  
30293
30294 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30295 clean-stage4-opcodes:
30296         @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30297           || exit 0 ; \
30298         [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30299         cd opcodes && \
30300         $(MAKE) $(FLAGS_TO_PASS)  \
30301                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30302                   clean
30303 @endif opcodes-bootstrap
30304
30305
30306 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30307 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30308 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30309
30310 maybe-configure-stage4-binutils:
30311 maybe-all-stage4-binutils:
30312 maybe-clean-stage4-binutils:
30313
30314 @if binutils-bootstrap
30315 maybe-configure-stage4-binutils: configure-stage4-binutils
30316 configure-stage4-binutils:
30317         @$(MAKE) stage4-start
30318         @[ -f binutils/Makefile ] && exit 0 || : ; \
30319         r=`${PWD_COMMAND}`; export r; \
30320         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30321         $(STAGE_HOST_EXPORTS)  \
30322         echo Configuring stage 4 in binutils ; \
30323         cd binutils || exit 1; \
30324         case $(srcdir) in \
30325           \.) \
30326             srcdiroption="--srcdir=."; \
30327             libsrcdir=".";; \
30328           /* | [A-Za-z]:[\\/]*) \
30329             srcdiroption="--srcdir=$(srcdir)/binutils"; \
30330             libsrcdir="$$s/binutils";; \
30331           *) \
30332             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30333             libsrcdir="$$s/binutils";; \
30334         esac; \
30335         $(SHELL) $${libsrcdir}/configure \
30336           $(HOST_CONFIGARGS) $${srcdiroption} \
30337           @stage2_werror_flag@ 
30338
30339 maybe-all-stage4-binutils: all-stage4-binutils
30340 all-stage4-binutils: configure-stage4-binutils
30341         @$(MAKE) stage4-start
30342         @r=`${PWD_COMMAND}`; export r; \
30343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30344         $(STAGE_HOST_EXPORTS)  \
30345         cd binutils && \
30346         $(MAKE) $(FLAGS_TO_PASS)  \
30347                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30348                  
30349
30350 maybe-clean-stage4-binutils: clean-stage4-binutils
30351 clean-stage4-binutils:
30352         @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30353           || exit 0 ; \
30354         [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30355         cd binutils && \
30356         $(MAKE) $(FLAGS_TO_PASS)  \
30357                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30358                   clean
30359 @endif binutils-bootstrap
30360
30361
30362 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30363 .PHONY: all-stage4-gas maybe-all-stage4-gas
30364 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30365
30366 maybe-configure-stage4-gas:
30367 maybe-all-stage4-gas:
30368 maybe-clean-stage4-gas:
30369
30370 @if gas-bootstrap
30371 maybe-configure-stage4-gas: configure-stage4-gas
30372 configure-stage4-gas:
30373         @$(MAKE) stage4-start
30374         @[ -f gas/Makefile ] && exit 0 || : ; \
30375         r=`${PWD_COMMAND}`; export r; \
30376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30377         $(STAGE_HOST_EXPORTS)  \
30378         echo Configuring stage 4 in gas ; \
30379         cd gas || exit 1; \
30380         case $(srcdir) in \
30381           \.) \
30382             srcdiroption="--srcdir=."; \
30383             libsrcdir=".";; \
30384           /* | [A-Za-z]:[\\/]*) \
30385             srcdiroption="--srcdir=$(srcdir)/gas"; \
30386             libsrcdir="$$s/gas";; \
30387           *) \
30388             srcdiroption="--srcdir=../$(srcdir)/gas"; \
30389             libsrcdir="$$s/gas";; \
30390         esac; \
30391         $(SHELL) $${libsrcdir}/configure \
30392           $(HOST_CONFIGARGS) $${srcdiroption} \
30393           @stage2_werror_flag@ 
30394
30395 maybe-all-stage4-gas: all-stage4-gas
30396 all-stage4-gas: configure-stage4-gas
30397         @$(MAKE) stage4-start
30398         @r=`${PWD_COMMAND}`; export r; \
30399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30400         $(STAGE_HOST_EXPORTS)  \
30401         cd gas && \
30402         $(MAKE) $(FLAGS_TO_PASS)  \
30403                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30404                  
30405
30406 maybe-clean-stage4-gas: clean-stage4-gas
30407 clean-stage4-gas:
30408         @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30409           || exit 0 ; \
30410         [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30411         cd gas && \
30412         $(MAKE) $(FLAGS_TO_PASS)  \
30413                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30414                   clean
30415 @endif gas-bootstrap
30416
30417
30418 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30419 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30420 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30421
30422 maybe-configure-stage4-gcc:
30423 maybe-all-stage4-gcc:
30424 maybe-clean-stage4-gcc:
30425
30426 @if gcc-bootstrap
30427 maybe-configure-stage4-gcc: configure-stage4-gcc
30428 configure-stage4-gcc:
30429         @$(MAKE) stage4-start
30430         @[ -f gcc/Makefile ] && exit 0 || : ; \
30431         r=`${PWD_COMMAND}`; export r; \
30432         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30433         $(STAGE_HOST_EXPORTS)  \
30434         echo Configuring stage 4 in gcc ; \
30435         cd gcc || exit 1; \
30436         case $(srcdir) in \
30437           \.) \
30438             srcdiroption="--srcdir=."; \
30439             libsrcdir=".";; \
30440           /* | [A-Za-z]:[\\/]*) \
30441             srcdiroption="--srcdir=$(srcdir)/gcc"; \
30442             libsrcdir="$$s/gcc";; \
30443           *) \
30444             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30445             libsrcdir="$$s/gcc";; \
30446         esac; \
30447         $(SHELL) $${libsrcdir}/configure \
30448           $(HOST_CONFIGARGS) $${srcdiroption} \
30449           @stage2_werror_flag@ 
30450
30451 maybe-all-stage4-gcc: all-stage4-gcc
30452 all-stage4-gcc: configure-stage4-gcc
30453         @$(MAKE) stage4-start
30454         @r=`${PWD_COMMAND}`; export r; \
30455         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30456         $(STAGE_HOST_EXPORTS)  \
30457         cd gcc && \
30458         $(MAKE) $(FLAGS_TO_PASS)  \
30459                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30460                  $(EXTRA_GCC_FLAGS)
30461
30462 maybe-clean-stage4-gcc: clean-stage4-gcc
30463 clean-stage4-gcc:
30464         @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30465           || exit 0 ; \
30466         [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30467         cd gcc && \
30468         $(MAKE) $(FLAGS_TO_PASS)  \
30469                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30470                  $(EXTRA_GCC_FLAGS) clean
30471 @endif gcc-bootstrap
30472
30473
30474 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30475 .PHONY: all-stage4-intl maybe-all-stage4-intl
30476 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30477
30478 maybe-configure-stage4-intl:
30479 maybe-all-stage4-intl:
30480 maybe-clean-stage4-intl:
30481
30482 @if intl-bootstrap
30483 maybe-configure-stage4-intl: configure-stage4-intl
30484 configure-stage4-intl:
30485         @$(MAKE) stage4-start
30486         @[ -f intl/Makefile ] && exit 0 || : ; \
30487         r=`${PWD_COMMAND}`; export r; \
30488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30489         $(STAGE_HOST_EXPORTS)  \
30490         echo Configuring stage 4 in intl ; \
30491         cd intl || exit 1; \
30492         case $(srcdir) in \
30493           \.) \
30494             srcdiroption="--srcdir=."; \
30495             libsrcdir=".";; \
30496           /* | [A-Za-z]:[\\/]*) \
30497             srcdiroption="--srcdir=$(srcdir)/intl"; \
30498             libsrcdir="$$s/intl";; \
30499           *) \
30500             srcdiroption="--srcdir=../$(srcdir)/intl"; \
30501             libsrcdir="$$s/intl";; \
30502         esac; \
30503         $(SHELL) $${libsrcdir}/configure \
30504           $(HOST_CONFIGARGS) $${srcdiroption} \
30505           @stage2_werror_flag@ 
30506
30507 maybe-all-stage4-intl: all-stage4-intl
30508 all-stage4-intl: configure-stage4-intl
30509         @$(MAKE) stage4-start
30510         @r=`${PWD_COMMAND}`; export r; \
30511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30512         $(STAGE_HOST_EXPORTS)  \
30513         cd intl && \
30514         $(MAKE) $(FLAGS_TO_PASS)  \
30515                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30516                  
30517
30518 maybe-clean-stage4-intl: clean-stage4-intl
30519 clean-stage4-intl:
30520         @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
30521           || exit 0 ; \
30522         [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
30523         cd intl && \
30524         $(MAKE) $(FLAGS_TO_PASS)  \
30525                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30526                   clean
30527 @endif intl-bootstrap
30528
30529
30530 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
30531 .PHONY: all-stage4-ld maybe-all-stage4-ld
30532 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
30533
30534 maybe-configure-stage4-ld:
30535 maybe-all-stage4-ld:
30536 maybe-clean-stage4-ld:
30537
30538 @if ld-bootstrap
30539 maybe-configure-stage4-ld: configure-stage4-ld
30540 configure-stage4-ld:
30541         @$(MAKE) stage4-start
30542         @[ -f ld/Makefile ] && exit 0 || : ; \
30543         r=`${PWD_COMMAND}`; export r; \
30544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30545         $(STAGE_HOST_EXPORTS)  \
30546         echo Configuring stage 4 in ld ; \
30547         cd ld || exit 1; \
30548         case $(srcdir) in \
30549           \.) \
30550             srcdiroption="--srcdir=."; \
30551             libsrcdir=".";; \
30552           /* | [A-Za-z]:[\\/]*) \
30553             srcdiroption="--srcdir=$(srcdir)/ld"; \
30554             libsrcdir="$$s/ld";; \
30555           *) \
30556             srcdiroption="--srcdir=../$(srcdir)/ld"; \
30557             libsrcdir="$$s/ld";; \
30558         esac; \
30559         $(SHELL) $${libsrcdir}/configure \
30560           $(HOST_CONFIGARGS) $${srcdiroption} \
30561           @stage2_werror_flag@ 
30562
30563 maybe-all-stage4-ld: all-stage4-ld
30564 all-stage4-ld: configure-stage4-ld
30565         @$(MAKE) stage4-start
30566         @r=`${PWD_COMMAND}`; export r; \
30567         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30568         $(STAGE_HOST_EXPORTS)  \
30569         cd ld && \
30570         $(MAKE) $(FLAGS_TO_PASS)  \
30571                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30572                  
30573
30574 maybe-clean-stage4-ld: clean-stage4-ld
30575 clean-stage4-ld:
30576         @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
30577           || exit 0 ; \
30578         [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
30579         cd ld && \
30580         $(MAKE) $(FLAGS_TO_PASS)  \
30581                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30582                   clean
30583 @endif ld-bootstrap
30584
30585
30586 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
30587 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
30588 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
30589
30590 maybe-configure-stage4-libcpp:
30591 maybe-all-stage4-libcpp:
30592 maybe-clean-stage4-libcpp:
30593
30594 @if libcpp-bootstrap
30595 maybe-configure-stage4-libcpp: configure-stage4-libcpp
30596 configure-stage4-libcpp:
30597         @$(MAKE) stage4-start
30598         @[ -f libcpp/Makefile ] && exit 0 || : ; \
30599         r=`${PWD_COMMAND}`; export r; \
30600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30601         $(STAGE_HOST_EXPORTS)  \
30602         echo Configuring stage 4 in libcpp ; \
30603         cd libcpp || exit 1; \
30604         case $(srcdir) in \
30605           \.) \
30606             srcdiroption="--srcdir=."; \
30607             libsrcdir=".";; \
30608           /* | [A-Za-z]:[\\/]*) \
30609             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30610             libsrcdir="$$s/libcpp";; \
30611           *) \
30612             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30613             libsrcdir="$$s/libcpp";; \
30614         esac; \
30615         $(SHELL) $${libsrcdir}/configure \
30616           $(HOST_CONFIGARGS) $${srcdiroption} \
30617           @stage2_werror_flag@ 
30618
30619 maybe-all-stage4-libcpp: all-stage4-libcpp
30620 all-stage4-libcpp: configure-stage4-libcpp
30621         @$(MAKE) stage4-start
30622         @r=`${PWD_COMMAND}`; export r; \
30623         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30624         $(STAGE_HOST_EXPORTS)  \
30625         cd libcpp && \
30626         $(MAKE) $(FLAGS_TO_PASS)  \
30627                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30628                  
30629
30630 maybe-clean-stage4-libcpp: clean-stage4-libcpp
30631 clean-stage4-libcpp:
30632         @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
30633           || exit 0 ; \
30634         [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
30635         cd libcpp && \
30636         $(MAKE) $(FLAGS_TO_PASS)  \
30637                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30638                   clean
30639 @endif libcpp-bootstrap
30640
30641
30642 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
30643 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
30644 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
30645
30646 maybe-configure-stage4-libiberty:
30647 maybe-all-stage4-libiberty:
30648 maybe-clean-stage4-libiberty:
30649
30650 @if libiberty-bootstrap
30651 maybe-configure-stage4-libiberty: configure-stage4-libiberty
30652 configure-stage4-libiberty:
30653         @$(MAKE) stage4-start
30654         @[ -f libiberty/Makefile ] && exit 0 || : ; \
30655         r=`${PWD_COMMAND}`; export r; \
30656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30657         $(STAGE_HOST_EXPORTS)  \
30658         echo Configuring stage 4 in libiberty ; \
30659         cd libiberty || exit 1; \
30660         case $(srcdir) in \
30661           \.) \
30662             srcdiroption="--srcdir=."; \
30663             libsrcdir=".";; \
30664           /* | [A-Za-z]:[\\/]*) \
30665             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30666             libsrcdir="$$s/libiberty";; \
30667           *) \
30668             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30669             libsrcdir="$$s/libiberty";; \
30670         esac; \
30671         $(SHELL) $${libsrcdir}/configure \
30672           $(HOST_CONFIGARGS) $${srcdiroption} \
30673           @stage2_werror_flag@ 
30674
30675 maybe-all-stage4-libiberty: all-stage4-libiberty
30676 all-stage4-libiberty: configure-stage4-libiberty
30677         @$(MAKE) stage4-start
30678         @r=`${PWD_COMMAND}`; export r; \
30679         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30680         $(STAGE_HOST_EXPORTS)  \
30681         cd libiberty && \
30682         $(MAKE) $(FLAGS_TO_PASS)  \
30683                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30684                  
30685
30686 maybe-clean-stage4-libiberty: clean-stage4-libiberty
30687 clean-stage4-libiberty:
30688         @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
30689           || exit 0 ; \
30690         [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
30691         cd libiberty && \
30692         $(MAKE) $(FLAGS_TO_PASS)  \
30693                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30694                   clean
30695 @endif libiberty-bootstrap
30696
30697
30698 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30699 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30700 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30701
30702 maybe-configure-stage4-zlib:
30703 maybe-all-stage4-zlib:
30704 maybe-clean-stage4-zlib:
30705
30706 @if zlib-bootstrap
30707 maybe-configure-stage4-zlib: configure-stage4-zlib
30708 configure-stage4-zlib:
30709         @$(MAKE) stage4-start
30710         @[ -f zlib/Makefile ] && exit 0 || : ; \
30711         r=`${PWD_COMMAND}`; export r; \
30712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30713         $(STAGE_HOST_EXPORTS)  \
30714         echo Configuring stage 4 in zlib ; \
30715         cd zlib || exit 1; \
30716         case $(srcdir) in \
30717           \.) \
30718             srcdiroption="--srcdir=."; \
30719             libsrcdir=".";; \
30720           /* | [A-Za-z]:[\\/]*) \
30721             srcdiroption="--srcdir=$(srcdir)/zlib"; \
30722             libsrcdir="$$s/zlib";; \
30723           *) \
30724             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30725             libsrcdir="$$s/zlib";; \
30726         esac; \
30727         $(SHELL) $${libsrcdir}/configure \
30728           $(HOST_CONFIGARGS) $${srcdiroption} \
30729           @stage2_werror_flag@ 
30730
30731 maybe-all-stage4-zlib: all-stage4-zlib
30732 all-stage4-zlib: configure-stage4-zlib
30733         @$(MAKE) stage4-start
30734         @r=`${PWD_COMMAND}`; export r; \
30735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30736         $(STAGE_HOST_EXPORTS)  \
30737         cd zlib && \
30738         $(MAKE) $(FLAGS_TO_PASS)  \
30739                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30740                  
30741
30742 maybe-clean-stage4-zlib: clean-stage4-zlib
30743 clean-stage4-zlib:
30744         @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
30745           || exit 0 ; \
30746         [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
30747         cd zlib && \
30748         $(MAKE) $(FLAGS_TO_PASS)  \
30749                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30750                   clean
30751 @endif zlib-bootstrap
30752
30753
30754
30755 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30756 # only possibility, but now it conflicts with no-bootstrap rules
30757 @if gcc-bootstrap
30758
30759 compare3:
30760         @if test -f stage3-lean; then \
30761           echo Cannot compare object files as stage 3 was deleted. ; \
30762           exit 0 ; \
30763         fi; \
30764         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30765         @r=`${PWD_COMMAND}`; export r; \
30766         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30767         rm -f .bad_compare ; \
30768         cd stage4-gcc; \
30769         files=`find . -name "*$(objext)" -print` ; \
30770         cd .. ; \
30771         for file in $${files} ; do \
30772           f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
30773           @do_compare@ > /dev/null 2>&1; \
30774           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30775         done ; \
30776         if [ -f .bad_compare ]; then \
30777           echo "Bootstrap comparison failure!"; \
30778           cat .bad_compare; \
30779           exit 1; \
30780         else \
30781           true; \
30782         fi ; \
30783         $(STAMP) compare3
30784         @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
30785
30786
30787
30788 .PHONY: bootstrap4
30789 bootstrap4: stage4-bubble compare3 all
30790
30791
30792 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30793 distclean-stage3:: distclean-stage4 
30794 .PHONY: distclean-stage4
30795 distclean-stage4::
30796         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30797         rm -rf stage4-* compare3 
30798
30799
30800 @endif gcc-bootstrap
30801
30802
30803 .PHONY: stageprofile-start stageprofile-end
30804
30805 stageprofile-start::
30806         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30807         echo stageprofile > stage_current ; \
30808         echo stageprofile > stage_last
30809 @if bfd
30810         @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
30811         set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
30812         set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
30813 @endif bfd
30814 @if opcodes
30815         @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
30816         set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
30817         set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
30818 @endif opcodes
30819 @if binutils
30820         @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
30821         set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
30822         set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
30823 @endif binutils
30824 @if gas
30825         @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
30826         set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@  ; \
30827         set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
30828 @endif gas
30829 @if gcc
30830         @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
30831         set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
30832         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
30833 @endif gcc
30834 @if intl
30835         @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
30836         set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@  ; \
30837         set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
30838 @endif intl
30839 @if ld
30840         @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
30841         set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@  ; \
30842         set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
30843 @endif ld
30844 @if libcpp
30845         @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
30846         set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
30847         set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
30848 @endif libcpp
30849 @if libiberty
30850         @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
30851         set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
30852         set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
30853 @endif libiberty
30854 @if zlib
30855         @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
30856         set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
30857         set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
30858 @endif zlib
30859
30860 stageprofile-end::
30861         @rm -f stage_current
30862 @if bfd
30863         @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@  ; \
30864         set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
30865 @endif bfd
30866 @if opcodes
30867         @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@  ; \
30868         set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
30869 @endif opcodes
30870 @if binutils
30871         @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@  ; \
30872         set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
30873 @endif binutils
30874 @if gas
30875         @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@  ; \
30876         set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
30877 @endif gas
30878 @if gcc
30879         @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@  ; \
30880         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
30881 @endif gcc
30882 @if intl
30883         @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@  ; \
30884         set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
30885 @endif intl
30886 @if ld
30887         @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@  ; \
30888         set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
30889 @endif ld
30890 @if libcpp
30891         @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@  ; \
30892         set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
30893 @endif libcpp
30894 @if libiberty
30895         @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@  ; \
30896         set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
30897 @endif libiberty
30898 @if zlib
30899         @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@  ; \
30900         set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
30901 @endif zlib
30902
30903 # Bubble a bugfix through all the stages up to stage profile.  They
30904 # are remade, but not reconfigured.  The next stage (if any) will not
30905 # be reconfigured as well.
30906 .PHONY: stageprofile-bubble
30907 stageprofile-bubble:: stage1-bubble
30908         @if test -f stageprofile-lean || test -f stage1-lean  ; then \
30909           echo Skipping rebuild of stageprofile ; \
30910         else \
30911           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
30912         fi
30913
30914 .PHONY: all-stageprofile clean-stageprofile
30915 all-stageprofile:     \
30916   maybe-all-stageprofile-bfd \
30917   maybe-all-stageprofile-opcodes \
30918   maybe-all-stageprofile-binutils             \
30919   maybe-all-stageprofile-gas \
30920   maybe-all-stageprofile-gcc        \
30921   maybe-all-stageprofile-intl   \
30922   maybe-all-stageprofile-ld \
30923   maybe-all-stageprofile-libcpp  \
30924   maybe-all-stageprofile-libiberty                        \
30925   maybe-all-stageprofile-zlib       
30926
30927 do-clean: clean-stageprofile
30928 clean-stageprofile:     \
30929   maybe-clean-stageprofile-bfd \
30930   maybe-clean-stageprofile-opcodes \
30931   maybe-clean-stageprofile-binutils             \
30932   maybe-clean-stageprofile-gas \
30933   maybe-clean-stageprofile-gcc        \
30934   maybe-clean-stageprofile-intl   \
30935   maybe-clean-stageprofile-ld \
30936   maybe-clean-stageprofile-libcpp  \
30937   maybe-clean-stageprofile-libiberty                        \
30938   maybe-clean-stageprofile-zlib       
30939
30940
30941 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
30942 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
30943 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
30944
30945 maybe-configure-stageprofile-bfd:
30946 maybe-all-stageprofile-bfd:
30947 maybe-clean-stageprofile-bfd:
30948
30949 @if bfd-bootstrap
30950 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
30951 configure-stageprofile-bfd:
30952         @$(MAKE) stageprofile-start
30953         @[ -f bfd/Makefile ] && exit 0 || : ; \
30954         r=`${PWD_COMMAND}`; export r; \
30955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30956         $(STAGE_HOST_EXPORTS)  \
30957         echo Configuring stage profile in bfd ; \
30958         cd bfd || exit 1; \
30959         case $(srcdir) in \
30960           \.) \
30961             srcdiroption="--srcdir=."; \
30962             libsrcdir=".";; \
30963           /* | [A-Za-z]:[\\/]*) \
30964             srcdiroption="--srcdir=$(srcdir)/bfd"; \
30965             libsrcdir="$$s/bfd";; \
30966           *) \
30967             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30968             libsrcdir="$$s/bfd";; \
30969         esac; \
30970         $(SHELL) $${libsrcdir}/configure \
30971           $(HOST_CONFIGARGS) $${srcdiroption} \
30972           @stage2_werror_flag@ 
30973
30974 maybe-all-stageprofile-bfd: all-stageprofile-bfd
30975 all-stageprofile-bfd: configure-stageprofile-bfd
30976         @$(MAKE) stageprofile-start
30977         @r=`${PWD_COMMAND}`; export r; \
30978         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30979         $(STAGE_HOST_EXPORTS)  \
30980         cd bfd && \
30981         $(MAKE) $(FLAGS_TO_PASS)  \
30982                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30983                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
30984
30985 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
30986 clean-stageprofile-bfd:
30987         @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
30988           || exit 0 ; \
30989         [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
30990         cd bfd && \
30991         $(MAKE) $(FLAGS_TO_PASS)  \
30992                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30993                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
30994 @endif bfd-bootstrap
30995
30996
30997 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
30998 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
30999 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31000
31001 maybe-configure-stageprofile-opcodes:
31002 maybe-all-stageprofile-opcodes:
31003 maybe-clean-stageprofile-opcodes:
31004
31005 @if opcodes-bootstrap
31006 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31007 configure-stageprofile-opcodes:
31008         @$(MAKE) stageprofile-start
31009         @[ -f opcodes/Makefile ] && exit 0 || : ; \
31010         r=`${PWD_COMMAND}`; export r; \
31011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31012         $(STAGE_HOST_EXPORTS)  \
31013         echo Configuring stage profile in opcodes ; \
31014         cd opcodes || exit 1; \
31015         case $(srcdir) in \
31016           \.) \
31017             srcdiroption="--srcdir=."; \
31018             libsrcdir=".";; \
31019           /* | [A-Za-z]:[\\/]*) \
31020             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31021             libsrcdir="$$s/opcodes";; \
31022           *) \
31023             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31024             libsrcdir="$$s/opcodes";; \
31025         esac; \
31026         $(SHELL) $${libsrcdir}/configure \
31027           $(HOST_CONFIGARGS) $${srcdiroption} \
31028           @stage2_werror_flag@ 
31029
31030 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31031 all-stageprofile-opcodes: configure-stageprofile-opcodes
31032         @$(MAKE) stageprofile-start
31033         @r=`${PWD_COMMAND}`; export r; \
31034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31035         $(STAGE_HOST_EXPORTS)  \
31036         cd opcodes && \
31037         $(MAKE) $(FLAGS_TO_PASS)  \
31038                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31039                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31040
31041 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31042 clean-stageprofile-opcodes:
31043         @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31044           || exit 0 ; \
31045         [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31046         cd opcodes && \
31047         $(MAKE) $(FLAGS_TO_PASS)  \
31048                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31049                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31050 @endif opcodes-bootstrap
31051
31052
31053 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31054 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31055 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31056
31057 maybe-configure-stageprofile-binutils:
31058 maybe-all-stageprofile-binutils:
31059 maybe-clean-stageprofile-binutils:
31060
31061 @if binutils-bootstrap
31062 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31063 configure-stageprofile-binutils:
31064         @$(MAKE) stageprofile-start
31065         @[ -f binutils/Makefile ] && exit 0 || : ; \
31066         r=`${PWD_COMMAND}`; export r; \
31067         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31068         $(STAGE_HOST_EXPORTS)  \
31069         echo Configuring stage profile in binutils ; \
31070         cd binutils || exit 1; \
31071         case $(srcdir) in \
31072           \.) \
31073             srcdiroption="--srcdir=."; \
31074             libsrcdir=".";; \
31075           /* | [A-Za-z]:[\\/]*) \
31076             srcdiroption="--srcdir=$(srcdir)/binutils"; \
31077             libsrcdir="$$s/binutils";; \
31078           *) \
31079             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31080             libsrcdir="$$s/binutils";; \
31081         esac; \
31082         $(SHELL) $${libsrcdir}/configure \
31083           $(HOST_CONFIGARGS) $${srcdiroption} \
31084           @stage2_werror_flag@ 
31085
31086 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31087 all-stageprofile-binutils: configure-stageprofile-binutils
31088         @$(MAKE) stageprofile-start
31089         @r=`${PWD_COMMAND}`; export r; \
31090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31091         $(STAGE_HOST_EXPORTS)  \
31092         cd binutils && \
31093         $(MAKE) $(FLAGS_TO_PASS)  \
31094                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31095                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31096
31097 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31098 clean-stageprofile-binutils:
31099         @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31100           || exit 0 ; \
31101         [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31102         cd binutils && \
31103         $(MAKE) $(FLAGS_TO_PASS)  \
31104                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31105                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31106 @endif binutils-bootstrap
31107
31108
31109 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31110 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31111 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31112
31113 maybe-configure-stageprofile-gas:
31114 maybe-all-stageprofile-gas:
31115 maybe-clean-stageprofile-gas:
31116
31117 @if gas-bootstrap
31118 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31119 configure-stageprofile-gas:
31120         @$(MAKE) stageprofile-start
31121         @[ -f gas/Makefile ] && exit 0 || : ; \
31122         r=`${PWD_COMMAND}`; export r; \
31123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31124         $(STAGE_HOST_EXPORTS)  \
31125         echo Configuring stage profile in gas ; \
31126         cd gas || exit 1; \
31127         case $(srcdir) in \
31128           \.) \
31129             srcdiroption="--srcdir=."; \
31130             libsrcdir=".";; \
31131           /* | [A-Za-z]:[\\/]*) \
31132             srcdiroption="--srcdir=$(srcdir)/gas"; \
31133             libsrcdir="$$s/gas";; \
31134           *) \
31135             srcdiroption="--srcdir=../$(srcdir)/gas"; \
31136             libsrcdir="$$s/gas";; \
31137         esac; \
31138         $(SHELL) $${libsrcdir}/configure \
31139           $(HOST_CONFIGARGS) $${srcdiroption} \
31140           @stage2_werror_flag@ 
31141
31142 maybe-all-stageprofile-gas: all-stageprofile-gas
31143 all-stageprofile-gas: configure-stageprofile-gas
31144         @$(MAKE) stageprofile-start
31145         @r=`${PWD_COMMAND}`; export r; \
31146         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31147         $(STAGE_HOST_EXPORTS)  \
31148         cd gas && \
31149         $(MAKE) $(FLAGS_TO_PASS)  \
31150                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31151                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31152
31153 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31154 clean-stageprofile-gas:
31155         @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31156           || exit 0 ; \
31157         [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31158         cd gas && \
31159         $(MAKE) $(FLAGS_TO_PASS)  \
31160                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31161                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31162 @endif gas-bootstrap
31163
31164
31165 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31166 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31167 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31168
31169 maybe-configure-stageprofile-gcc:
31170 maybe-all-stageprofile-gcc:
31171 maybe-clean-stageprofile-gcc:
31172
31173 @if gcc-bootstrap
31174 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31175 configure-stageprofile-gcc:
31176         @$(MAKE) stageprofile-start
31177         @[ -f gcc/Makefile ] && exit 0 || : ; \
31178         r=`${PWD_COMMAND}`; export r; \
31179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31180         $(STAGE_HOST_EXPORTS)  \
31181         echo Configuring stage profile in gcc ; \
31182         cd gcc || exit 1; \
31183         case $(srcdir) in \
31184           \.) \
31185             srcdiroption="--srcdir=."; \
31186             libsrcdir=".";; \
31187           /* | [A-Za-z]:[\\/]*) \
31188             srcdiroption="--srcdir=$(srcdir)/gcc"; \
31189             libsrcdir="$$s/gcc";; \
31190           *) \
31191             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31192             libsrcdir="$$s/gcc";; \
31193         esac; \
31194         $(SHELL) $${libsrcdir}/configure \
31195           $(HOST_CONFIGARGS) $${srcdiroption} \
31196           @stage2_werror_flag@ 
31197
31198 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31199 all-stageprofile-gcc: configure-stageprofile-gcc
31200         @$(MAKE) stageprofile-start
31201         @r=`${PWD_COMMAND}`; export r; \
31202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31203         $(STAGE_HOST_EXPORTS)  \
31204         cd gcc && \
31205         $(MAKE) $(FLAGS_TO_PASS)  \
31206                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31207                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31208
31209 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31210 clean-stageprofile-gcc:
31211         @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31212           || exit 0 ; \
31213         [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31214         cd gcc && \
31215         $(MAKE) $(FLAGS_TO_PASS)  \
31216                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31217                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31218 @endif gcc-bootstrap
31219
31220
31221 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31222 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31223 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31224
31225 maybe-configure-stageprofile-intl:
31226 maybe-all-stageprofile-intl:
31227 maybe-clean-stageprofile-intl:
31228
31229 @if intl-bootstrap
31230 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31231 configure-stageprofile-intl:
31232         @$(MAKE) stageprofile-start
31233         @[ -f intl/Makefile ] && exit 0 || : ; \
31234         r=`${PWD_COMMAND}`; export r; \
31235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31236         $(STAGE_HOST_EXPORTS)  \
31237         echo Configuring stage profile in intl ; \
31238         cd intl || exit 1; \
31239         case $(srcdir) in \
31240           \.) \
31241             srcdiroption="--srcdir=."; \
31242             libsrcdir=".";; \
31243           /* | [A-Za-z]:[\\/]*) \
31244             srcdiroption="--srcdir=$(srcdir)/intl"; \
31245             libsrcdir="$$s/intl";; \
31246           *) \
31247             srcdiroption="--srcdir=../$(srcdir)/intl"; \
31248             libsrcdir="$$s/intl";; \
31249         esac; \
31250         $(SHELL) $${libsrcdir}/configure \
31251           $(HOST_CONFIGARGS) $${srcdiroption} \
31252           @stage2_werror_flag@ 
31253
31254 maybe-all-stageprofile-intl: all-stageprofile-intl
31255 all-stageprofile-intl: configure-stageprofile-intl
31256         @$(MAKE) stageprofile-start
31257         @r=`${PWD_COMMAND}`; export r; \
31258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31259         $(STAGE_HOST_EXPORTS)  \
31260         cd intl && \
31261         $(MAKE) $(FLAGS_TO_PASS)  \
31262                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31263                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31264
31265 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31266 clean-stageprofile-intl:
31267         @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31268           || exit 0 ; \
31269         [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31270         cd intl && \
31271         $(MAKE) $(FLAGS_TO_PASS)  \
31272                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31273                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31274 @endif intl-bootstrap
31275
31276
31277 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31278 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31279 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31280
31281 maybe-configure-stageprofile-ld:
31282 maybe-all-stageprofile-ld:
31283 maybe-clean-stageprofile-ld:
31284
31285 @if ld-bootstrap
31286 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31287 configure-stageprofile-ld:
31288         @$(MAKE) stageprofile-start
31289         @[ -f ld/Makefile ] && exit 0 || : ; \
31290         r=`${PWD_COMMAND}`; export r; \
31291         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31292         $(STAGE_HOST_EXPORTS)  \
31293         echo Configuring stage profile in ld ; \
31294         cd ld || exit 1; \
31295         case $(srcdir) in \
31296           \.) \
31297             srcdiroption="--srcdir=."; \
31298             libsrcdir=".";; \
31299           /* | [A-Za-z]:[\\/]*) \
31300             srcdiroption="--srcdir=$(srcdir)/ld"; \
31301             libsrcdir="$$s/ld";; \
31302           *) \
31303             srcdiroption="--srcdir=../$(srcdir)/ld"; \
31304             libsrcdir="$$s/ld";; \
31305         esac; \
31306         $(SHELL) $${libsrcdir}/configure \
31307           $(HOST_CONFIGARGS) $${srcdiroption} \
31308           @stage2_werror_flag@ 
31309
31310 maybe-all-stageprofile-ld: all-stageprofile-ld
31311 all-stageprofile-ld: configure-stageprofile-ld
31312         @$(MAKE) stageprofile-start
31313         @r=`${PWD_COMMAND}`; export r; \
31314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31315         $(STAGE_HOST_EXPORTS)  \
31316         cd ld && \
31317         $(MAKE) $(FLAGS_TO_PASS)  \
31318                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31319                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31320
31321 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31322 clean-stageprofile-ld:
31323         @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31324           || exit 0 ; \
31325         [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31326         cd ld && \
31327         $(MAKE) $(FLAGS_TO_PASS)  \
31328                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31329                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31330 @endif ld-bootstrap
31331
31332
31333 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31334 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31335 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31336
31337 maybe-configure-stageprofile-libcpp:
31338 maybe-all-stageprofile-libcpp:
31339 maybe-clean-stageprofile-libcpp:
31340
31341 @if libcpp-bootstrap
31342 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31343 configure-stageprofile-libcpp:
31344         @$(MAKE) stageprofile-start
31345         @[ -f libcpp/Makefile ] && exit 0 || : ; \
31346         r=`${PWD_COMMAND}`; export r; \
31347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31348         $(STAGE_HOST_EXPORTS)  \
31349         echo Configuring stage profile in libcpp ; \
31350         cd libcpp || exit 1; \
31351         case $(srcdir) in \
31352           \.) \
31353             srcdiroption="--srcdir=."; \
31354             libsrcdir=".";; \
31355           /* | [A-Za-z]:[\\/]*) \
31356             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31357             libsrcdir="$$s/libcpp";; \
31358           *) \
31359             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31360             libsrcdir="$$s/libcpp";; \
31361         esac; \
31362         $(SHELL) $${libsrcdir}/configure \
31363           $(HOST_CONFIGARGS) $${srcdiroption} \
31364           @stage2_werror_flag@ 
31365
31366 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31367 all-stageprofile-libcpp: configure-stageprofile-libcpp
31368         @$(MAKE) stageprofile-start
31369         @r=`${PWD_COMMAND}`; export r; \
31370         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31371         $(STAGE_HOST_EXPORTS)  \
31372         cd libcpp && \
31373         $(MAKE) $(FLAGS_TO_PASS)  \
31374                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31375                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31376
31377 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31378 clean-stageprofile-libcpp:
31379         @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31380           || exit 0 ; \
31381         [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31382         cd libcpp && \
31383         $(MAKE) $(FLAGS_TO_PASS)  \
31384                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31385                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31386 @endif libcpp-bootstrap
31387
31388
31389 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
31390 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
31391 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
31392
31393 maybe-configure-stageprofile-libiberty:
31394 maybe-all-stageprofile-libiberty:
31395 maybe-clean-stageprofile-libiberty:
31396
31397 @if libiberty-bootstrap
31398 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31399 configure-stageprofile-libiberty:
31400         @$(MAKE) stageprofile-start
31401         @[ -f libiberty/Makefile ] && exit 0 || : ; \
31402         r=`${PWD_COMMAND}`; export r; \
31403         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31404         $(STAGE_HOST_EXPORTS)  \
31405         echo Configuring stage profile in libiberty ; \
31406         cd libiberty || exit 1; \
31407         case $(srcdir) in \
31408           \.) \
31409             srcdiroption="--srcdir=."; \
31410             libsrcdir=".";; \
31411           /* | [A-Za-z]:[\\/]*) \
31412             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31413             libsrcdir="$$s/libiberty";; \
31414           *) \
31415             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31416             libsrcdir="$$s/libiberty";; \
31417         esac; \
31418         $(SHELL) $${libsrcdir}/configure \
31419           $(HOST_CONFIGARGS) $${srcdiroption} \
31420           @stage2_werror_flag@ 
31421
31422 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31423 all-stageprofile-libiberty: configure-stageprofile-libiberty
31424         @$(MAKE) stageprofile-start
31425         @r=`${PWD_COMMAND}`; export r; \
31426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31427         $(STAGE_HOST_EXPORTS)  \
31428         cd libiberty && \
31429         $(MAKE) $(FLAGS_TO_PASS)  \
31430                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31431                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31432
31433 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
31434 clean-stageprofile-libiberty:
31435         @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
31436           || exit 0 ; \
31437         [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
31438         cd libiberty && \
31439         $(MAKE) $(FLAGS_TO_PASS)  \
31440                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31441                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31442 @endif libiberty-bootstrap
31443
31444
31445 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31446 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
31447 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
31448
31449 maybe-configure-stageprofile-zlib:
31450 maybe-all-stageprofile-zlib:
31451 maybe-clean-stageprofile-zlib:
31452
31453 @if zlib-bootstrap
31454 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31455 configure-stageprofile-zlib:
31456         @$(MAKE) stageprofile-start
31457         @[ -f zlib/Makefile ] && exit 0 || : ; \
31458         r=`${PWD_COMMAND}`; export r; \
31459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31460         $(STAGE_HOST_EXPORTS)  \
31461         echo Configuring stage profile in zlib ; \
31462         cd zlib || exit 1; \
31463         case $(srcdir) in \
31464           \.) \
31465             srcdiroption="--srcdir=."; \
31466             libsrcdir=".";; \
31467           /* | [A-Za-z]:[\\/]*) \
31468             srcdiroption="--srcdir=$(srcdir)/zlib"; \
31469             libsrcdir="$$s/zlib";; \
31470           *) \
31471             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31472             libsrcdir="$$s/zlib";; \
31473         esac; \
31474         $(SHELL) $${libsrcdir}/configure \
31475           $(HOST_CONFIGARGS) $${srcdiroption} \
31476           @stage2_werror_flag@ 
31477
31478 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31479 all-stageprofile-zlib: configure-stageprofile-zlib
31480         @$(MAKE) stageprofile-start
31481         @r=`${PWD_COMMAND}`; export r; \
31482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31483         $(STAGE_HOST_EXPORTS)  \
31484         cd zlib && \
31485         $(MAKE) $(FLAGS_TO_PASS)  \
31486                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31487                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
31488
31489 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
31490 clean-stageprofile-zlib:
31491         @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
31492           || exit 0 ; \
31493         [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
31494         cd zlib && \
31495         $(MAKE) $(FLAGS_TO_PASS)  \
31496                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31497                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
31498 @endif zlib-bootstrap
31499
31500
31501
31502 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31503 # only possibility, but now it conflicts with no-bootstrap rules
31504 @if gcc-bootstrap
31505
31506
31507
31508
31509 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31510 distclean-stage1:: distclean-stageprofile 
31511 .PHONY: distclean-stageprofile
31512 distclean-stageprofile::
31513         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31514         rm -rf stageprofile-* 
31515
31516
31517 @endif gcc-bootstrap
31518
31519
31520 .PHONY: stagefeedback-start stagefeedback-end
31521
31522 stagefeedback-start::
31523         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31524         echo stagefeedback > stage_current ; \
31525         echo stagefeedback > stage_last
31526 @if bfd
31527         @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31528         set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@  ; \
31529         set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@ 
31530 @endif bfd
31531 @if opcodes
31532         @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31533         set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@  ; \
31534         set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@ 
31535 @endif opcodes
31536 @if binutils
31537         @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31538         set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@  ; \
31539         set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@ 
31540 @endif binutils
31541 @if gas
31542         @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31543         set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@  ; \
31544         set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@ 
31545 @endif gas
31546 @if gcc
31547         @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
31548         set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
31549         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
31550 @endif gcc
31551 @if intl
31552         @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
31553         set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@  ; \
31554         set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@ 
31555 @endif intl
31556 @if ld
31557         @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
31558         set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@  ; \
31559         set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@ 
31560 @endif ld
31561 @if libcpp
31562         @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
31563         set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@  ; \
31564         set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@ 
31565 @endif libcpp
31566 @if libiberty
31567         @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
31568         set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@  ; \
31569         set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@ 
31570 @endif libiberty
31571 @if zlib
31572         @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
31573         set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@  ; \
31574         set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@ 
31575 @endif zlib
31576
31577 stagefeedback-end::
31578         @rm -f stage_current
31579 @if bfd
31580         @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@  ; \
31581         set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@ 
31582 @endif bfd
31583 @if opcodes
31584         @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@  ; \
31585         set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@ 
31586 @endif opcodes
31587 @if binutils
31588         @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@  ; \
31589         set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@ 
31590 @endif binutils
31591 @if gas
31592         @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@  ; \
31593         set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@ 
31594 @endif gas
31595 @if gcc
31596         @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@  ; \
31597         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
31598 @endif gcc
31599 @if intl
31600         @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@  ; \
31601         set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@ 
31602 @endif intl
31603 @if ld
31604         @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@  ; \
31605         set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@ 
31606 @endif ld
31607 @if libcpp
31608         @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@  ; \
31609         set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@ 
31610 @endif libcpp
31611 @if libiberty
31612         @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@  ; \
31613         set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@ 
31614 @endif libiberty
31615 @if zlib
31616         @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@  ; \
31617         set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@ 
31618 @endif zlib
31619
31620 # Bubble a bugfix through all the stages up to stage feedback.  They
31621 # are remade, but not reconfigured.  The next stage (if any) will not
31622 # be reconfigured as well.
31623 .PHONY: stagefeedback-bubble
31624 stagefeedback-bubble:: stage1-bubble
31625         @if test -f stagefeedback-lean || test -f stage1-lean  ; then \
31626           echo Skipping rebuild of stagefeedback ; \
31627         else \
31628           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
31629         fi
31630
31631 .PHONY: all-stagefeedback clean-stagefeedback
31632 all-stagefeedback:     \
31633   maybe-all-stagefeedback-bfd \
31634   maybe-all-stagefeedback-opcodes \
31635   maybe-all-stagefeedback-binutils             \
31636   maybe-all-stagefeedback-gas \
31637   maybe-all-stagefeedback-gcc        \
31638   maybe-all-stagefeedback-intl   \
31639   maybe-all-stagefeedback-ld \
31640   maybe-all-stagefeedback-libcpp  \
31641   maybe-all-stagefeedback-libiberty                        \
31642   maybe-all-stagefeedback-zlib       
31643
31644 do-clean: clean-stagefeedback
31645 clean-stagefeedback:     \
31646   maybe-clean-stagefeedback-bfd \
31647   maybe-clean-stagefeedback-opcodes \
31648   maybe-clean-stagefeedback-binutils             \
31649   maybe-clean-stagefeedback-gas \
31650   maybe-clean-stagefeedback-gcc        \
31651   maybe-clean-stagefeedback-intl   \
31652   maybe-clean-stagefeedback-ld \
31653   maybe-clean-stagefeedback-libcpp  \
31654   maybe-clean-stagefeedback-libiberty                        \
31655   maybe-clean-stagefeedback-zlib       
31656
31657
31658 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
31659 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
31660 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
31661
31662 maybe-configure-stagefeedback-bfd:
31663 maybe-all-stagefeedback-bfd:
31664 maybe-clean-stagefeedback-bfd:
31665
31666 @if bfd-bootstrap
31667 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
31668 configure-stagefeedback-bfd:
31669         @$(MAKE) stagefeedback-start
31670         @[ -f bfd/Makefile ] && exit 0 || : ; \
31671         r=`${PWD_COMMAND}`; export r; \
31672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31673         $(STAGE_HOST_EXPORTS)  \
31674         echo Configuring stage feedback in bfd ; \
31675         cd bfd || exit 1; \
31676         case $(srcdir) in \
31677           \.) \
31678             srcdiroption="--srcdir=."; \
31679             libsrcdir=".";; \
31680           /* | [A-Za-z]:[\\/]*) \
31681             srcdiroption="--srcdir=$(srcdir)/bfd"; \
31682             libsrcdir="$$s/bfd";; \
31683           *) \
31684             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31685             libsrcdir="$$s/bfd";; \
31686         esac; \
31687         $(SHELL) $${libsrcdir}/configure \
31688           $(HOST_CONFIGARGS) $${srcdiroption} \
31689           @stage2_werror_flag@ 
31690
31691 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
31692 all-stagefeedback-bfd: configure-stagefeedback-bfd
31693         @$(MAKE) stagefeedback-start
31694         @r=`${PWD_COMMAND}`; export r; \
31695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31696         $(STAGE_HOST_EXPORTS)  \
31697         cd bfd && \
31698         $(MAKE) $(FLAGS_TO_PASS)  \
31699                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31700                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31701
31702 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
31703 clean-stagefeedback-bfd:
31704         @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
31705           || exit 0 ; \
31706         [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
31707         cd bfd && \
31708         $(MAKE) $(FLAGS_TO_PASS)  \
31709                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31710                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31711 @endif bfd-bootstrap
31712
31713
31714 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
31715 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
31716 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
31717
31718 maybe-configure-stagefeedback-opcodes:
31719 maybe-all-stagefeedback-opcodes:
31720 maybe-clean-stagefeedback-opcodes:
31721
31722 @if opcodes-bootstrap
31723 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
31724 configure-stagefeedback-opcodes:
31725         @$(MAKE) stagefeedback-start
31726         @[ -f opcodes/Makefile ] && exit 0 || : ; \
31727         r=`${PWD_COMMAND}`; export r; \
31728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31729         $(STAGE_HOST_EXPORTS)  \
31730         echo Configuring stage feedback in opcodes ; \
31731         cd opcodes || exit 1; \
31732         case $(srcdir) in \
31733           \.) \
31734             srcdiroption="--srcdir=."; \
31735             libsrcdir=".";; \
31736           /* | [A-Za-z]:[\\/]*) \
31737             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31738             libsrcdir="$$s/opcodes";; \
31739           *) \
31740             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31741             libsrcdir="$$s/opcodes";; \
31742         esac; \
31743         $(SHELL) $${libsrcdir}/configure \
31744           $(HOST_CONFIGARGS) $${srcdiroption} \
31745           @stage2_werror_flag@ 
31746
31747 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
31748 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
31749         @$(MAKE) stagefeedback-start
31750         @r=`${PWD_COMMAND}`; export r; \
31751         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31752         $(STAGE_HOST_EXPORTS)  \
31753         cd opcodes && \
31754         $(MAKE) $(FLAGS_TO_PASS)  \
31755                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31756                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31757
31758 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
31759 clean-stagefeedback-opcodes:
31760         @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
31761           || exit 0 ; \
31762         [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
31763         cd opcodes && \
31764         $(MAKE) $(FLAGS_TO_PASS)  \
31765                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31766                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31767 @endif opcodes-bootstrap
31768
31769
31770 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
31771 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
31772 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
31773
31774 maybe-configure-stagefeedback-binutils:
31775 maybe-all-stagefeedback-binutils:
31776 maybe-clean-stagefeedback-binutils:
31777
31778 @if binutils-bootstrap
31779 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
31780 configure-stagefeedback-binutils:
31781         @$(MAKE) stagefeedback-start
31782         @[ -f binutils/Makefile ] && exit 0 || : ; \
31783         r=`${PWD_COMMAND}`; export r; \
31784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31785         $(STAGE_HOST_EXPORTS)  \
31786         echo Configuring stage feedback in binutils ; \
31787         cd binutils || exit 1; \
31788         case $(srcdir) in \
31789           \.) \
31790             srcdiroption="--srcdir=."; \
31791             libsrcdir=".";; \
31792           /* | [A-Za-z]:[\\/]*) \
31793             srcdiroption="--srcdir=$(srcdir)/binutils"; \
31794             libsrcdir="$$s/binutils";; \
31795           *) \
31796             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31797             libsrcdir="$$s/binutils";; \
31798         esac; \
31799         $(SHELL) $${libsrcdir}/configure \
31800           $(HOST_CONFIGARGS) $${srcdiroption} \
31801           @stage2_werror_flag@ 
31802
31803 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
31804 all-stagefeedback-binutils: configure-stagefeedback-binutils
31805         @$(MAKE) stagefeedback-start
31806         @r=`${PWD_COMMAND}`; export r; \
31807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31808         $(STAGE_HOST_EXPORTS)  \
31809         cd binutils && \
31810         $(MAKE) $(FLAGS_TO_PASS)  \
31811                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31812                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31813
31814 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
31815 clean-stagefeedback-binutils:
31816         @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
31817           || exit 0 ; \
31818         [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
31819         cd binutils && \
31820         $(MAKE) $(FLAGS_TO_PASS)  \
31821                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31822                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31823 @endif binutils-bootstrap
31824
31825
31826 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
31827 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
31828 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
31829
31830 maybe-configure-stagefeedback-gas:
31831 maybe-all-stagefeedback-gas:
31832 maybe-clean-stagefeedback-gas:
31833
31834 @if gas-bootstrap
31835 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
31836 configure-stagefeedback-gas:
31837         @$(MAKE) stagefeedback-start
31838         @[ -f gas/Makefile ] && exit 0 || : ; \
31839         r=`${PWD_COMMAND}`; export r; \
31840         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31841         $(STAGE_HOST_EXPORTS)  \
31842         echo Configuring stage feedback in gas ; \
31843         cd gas || exit 1; \
31844         case $(srcdir) in \
31845           \.) \
31846             srcdiroption="--srcdir=."; \
31847             libsrcdir=".";; \
31848           /* | [A-Za-z]:[\\/]*) \
31849             srcdiroption="--srcdir=$(srcdir)/gas"; \
31850             libsrcdir="$$s/gas";; \
31851           *) \
31852             srcdiroption="--srcdir=../$(srcdir)/gas"; \
31853             libsrcdir="$$s/gas";; \
31854         esac; \
31855         $(SHELL) $${libsrcdir}/configure \
31856           $(HOST_CONFIGARGS) $${srcdiroption} \
31857           @stage2_werror_flag@ 
31858
31859 maybe-all-stagefeedback-gas: all-stagefeedback-gas
31860 all-stagefeedback-gas: configure-stagefeedback-gas
31861         @$(MAKE) stagefeedback-start
31862         @r=`${PWD_COMMAND}`; export r; \
31863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31864         $(STAGE_HOST_EXPORTS)  \
31865         cd gas && \
31866         $(MAKE) $(FLAGS_TO_PASS)  \
31867                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31868                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31869
31870 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
31871 clean-stagefeedback-gas:
31872         @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
31873           || exit 0 ; \
31874         [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
31875         cd gas && \
31876         $(MAKE) $(FLAGS_TO_PASS)  \
31877                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31878                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31879 @endif gas-bootstrap
31880
31881
31882 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
31883 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
31884 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
31885
31886 maybe-configure-stagefeedback-gcc:
31887 maybe-all-stagefeedback-gcc:
31888 maybe-clean-stagefeedback-gcc:
31889
31890 @if gcc-bootstrap
31891 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
31892 configure-stagefeedback-gcc:
31893         @$(MAKE) stagefeedback-start
31894         @[ -f gcc/Makefile ] && exit 0 || : ; \
31895         r=`${PWD_COMMAND}`; export r; \
31896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31897         $(STAGE_HOST_EXPORTS)  \
31898         echo Configuring stage feedback in gcc ; \
31899         cd gcc || exit 1; \
31900         case $(srcdir) in \
31901           \.) \
31902             srcdiroption="--srcdir=."; \
31903             libsrcdir=".";; \
31904           /* | [A-Za-z]:[\\/]*) \
31905             srcdiroption="--srcdir=$(srcdir)/gcc"; \
31906             libsrcdir="$$s/gcc";; \
31907           *) \
31908             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31909             libsrcdir="$$s/gcc";; \
31910         esac; \
31911         $(SHELL) $${libsrcdir}/configure \
31912           $(HOST_CONFIGARGS) $${srcdiroption} \
31913           @stage2_werror_flag@ 
31914
31915 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
31916 all-stagefeedback-gcc: configure-stagefeedback-gcc
31917         @$(MAKE) stagefeedback-start
31918         @r=`${PWD_COMMAND}`; export r; \
31919         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31920         $(STAGE_HOST_EXPORTS)  \
31921         cd gcc && \
31922         $(MAKE) $(FLAGS_TO_PASS)  \
31923                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31924                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
31925
31926 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
31927 clean-stagefeedback-gcc:
31928         @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
31929           || exit 0 ; \
31930         [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
31931         cd gcc && \
31932         $(MAKE) $(FLAGS_TO_PASS)  \
31933                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31934                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
31935 @endif gcc-bootstrap
31936
31937
31938 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
31939 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
31940 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
31941
31942 maybe-configure-stagefeedback-intl:
31943 maybe-all-stagefeedback-intl:
31944 maybe-clean-stagefeedback-intl:
31945
31946 @if intl-bootstrap
31947 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
31948 configure-stagefeedback-intl:
31949         @$(MAKE) stagefeedback-start
31950         @[ -f intl/Makefile ] && exit 0 || : ; \
31951         r=`${PWD_COMMAND}`; export r; \
31952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31953         $(STAGE_HOST_EXPORTS)  \
31954         echo Configuring stage feedback in intl ; \
31955         cd intl || exit 1; \
31956         case $(srcdir) in \
31957           \.) \
31958             srcdiroption="--srcdir=."; \
31959             libsrcdir=".";; \
31960           /* | [A-Za-z]:[\\/]*) \
31961             srcdiroption="--srcdir=$(srcdir)/intl"; \
31962             libsrcdir="$$s/intl";; \
31963           *) \
31964             srcdiroption="--srcdir=../$(srcdir)/intl"; \
31965             libsrcdir="$$s/intl";; \
31966         esac; \
31967         $(SHELL) $${libsrcdir}/configure \
31968           $(HOST_CONFIGARGS) $${srcdiroption} \
31969           @stage2_werror_flag@ 
31970
31971 maybe-all-stagefeedback-intl: all-stagefeedback-intl
31972 all-stagefeedback-intl: configure-stagefeedback-intl
31973         @$(MAKE) stagefeedback-start
31974         @r=`${PWD_COMMAND}`; export r; \
31975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31976         $(STAGE_HOST_EXPORTS)  \
31977         cd intl && \
31978         $(MAKE) $(FLAGS_TO_PASS)  \
31979                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31980                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
31981
31982 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
31983 clean-stagefeedback-intl:
31984         @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
31985           || exit 0 ; \
31986         [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
31987         cd intl && \
31988         $(MAKE) $(FLAGS_TO_PASS)  \
31989                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31990                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
31991 @endif intl-bootstrap
31992
31993
31994 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
31995 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
31996 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
31997
31998 maybe-configure-stagefeedback-ld:
31999 maybe-all-stagefeedback-ld:
32000 maybe-clean-stagefeedback-ld:
32001
32002 @if ld-bootstrap
32003 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32004 configure-stagefeedback-ld:
32005         @$(MAKE) stagefeedback-start
32006         @[ -f ld/Makefile ] && exit 0 || : ; \
32007         r=`${PWD_COMMAND}`; export r; \
32008         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32009         $(STAGE_HOST_EXPORTS)  \
32010         echo Configuring stage feedback in ld ; \
32011         cd ld || exit 1; \
32012         case $(srcdir) in \
32013           \.) \
32014             srcdiroption="--srcdir=."; \
32015             libsrcdir=".";; \
32016           /* | [A-Za-z]:[\\/]*) \
32017             srcdiroption="--srcdir=$(srcdir)/ld"; \
32018             libsrcdir="$$s/ld";; \
32019           *) \
32020             srcdiroption="--srcdir=../$(srcdir)/ld"; \
32021             libsrcdir="$$s/ld";; \
32022         esac; \
32023         $(SHELL) $${libsrcdir}/configure \
32024           $(HOST_CONFIGARGS) $${srcdiroption} \
32025           @stage2_werror_flag@ 
32026
32027 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32028 all-stagefeedback-ld: configure-stagefeedback-ld
32029         @$(MAKE) stagefeedback-start
32030         @r=`${PWD_COMMAND}`; export r; \
32031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32032         $(STAGE_HOST_EXPORTS)  \
32033         cd ld && \
32034         $(MAKE) $(FLAGS_TO_PASS)  \
32035                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32036                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32037
32038 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32039 clean-stagefeedback-ld:
32040         @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32041           || exit 0 ; \
32042         [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32043         cd ld && \
32044         $(MAKE) $(FLAGS_TO_PASS)  \
32045                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32046                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32047 @endif ld-bootstrap
32048
32049
32050 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32051 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32052 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32053
32054 maybe-configure-stagefeedback-libcpp:
32055 maybe-all-stagefeedback-libcpp:
32056 maybe-clean-stagefeedback-libcpp:
32057
32058 @if libcpp-bootstrap
32059 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32060 configure-stagefeedback-libcpp:
32061         @$(MAKE) stagefeedback-start
32062         @[ -f libcpp/Makefile ] && exit 0 || : ; \
32063         r=`${PWD_COMMAND}`; export r; \
32064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32065         $(STAGE_HOST_EXPORTS)  \
32066         echo Configuring stage feedback in libcpp ; \
32067         cd libcpp || exit 1; \
32068         case $(srcdir) in \
32069           \.) \
32070             srcdiroption="--srcdir=."; \
32071             libsrcdir=".";; \
32072           /* | [A-Za-z]:[\\/]*) \
32073             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32074             libsrcdir="$$s/libcpp";; \
32075           *) \
32076             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32077             libsrcdir="$$s/libcpp";; \
32078         esac; \
32079         $(SHELL) $${libsrcdir}/configure \
32080           $(HOST_CONFIGARGS) $${srcdiroption} \
32081           @stage2_werror_flag@ 
32082
32083 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32084 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32085         @$(MAKE) stagefeedback-start
32086         @r=`${PWD_COMMAND}`; export r; \
32087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32088         $(STAGE_HOST_EXPORTS)  \
32089         cd libcpp && \
32090         $(MAKE) $(FLAGS_TO_PASS)  \
32091                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32092                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32093
32094 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32095 clean-stagefeedback-libcpp:
32096         @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32097           || exit 0 ; \
32098         [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32099         cd libcpp && \
32100         $(MAKE) $(FLAGS_TO_PASS)  \
32101                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32102                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32103 @endif libcpp-bootstrap
32104
32105
32106 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32107 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32108 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32109
32110 maybe-configure-stagefeedback-libiberty:
32111 maybe-all-stagefeedback-libiberty:
32112 maybe-clean-stagefeedback-libiberty:
32113
32114 @if libiberty-bootstrap
32115 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32116 configure-stagefeedback-libiberty:
32117         @$(MAKE) stagefeedback-start
32118         @[ -f libiberty/Makefile ] && exit 0 || : ; \
32119         r=`${PWD_COMMAND}`; export r; \
32120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32121         $(STAGE_HOST_EXPORTS)  \
32122         echo Configuring stage feedback in libiberty ; \
32123         cd libiberty || exit 1; \
32124         case $(srcdir) in \
32125           \.) \
32126             srcdiroption="--srcdir=."; \
32127             libsrcdir=".";; \
32128           /* | [A-Za-z]:[\\/]*) \
32129             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32130             libsrcdir="$$s/libiberty";; \
32131           *) \
32132             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32133             libsrcdir="$$s/libiberty";; \
32134         esac; \
32135         $(SHELL) $${libsrcdir}/configure \
32136           $(HOST_CONFIGARGS) $${srcdiroption} \
32137           @stage2_werror_flag@ 
32138
32139 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32140 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32141         @$(MAKE) stagefeedback-start
32142         @r=`${PWD_COMMAND}`; export r; \
32143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32144         $(STAGE_HOST_EXPORTS)  \
32145         cd libiberty && \
32146         $(MAKE) $(FLAGS_TO_PASS)  \
32147                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32148                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32149
32150 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32151 clean-stagefeedback-libiberty:
32152         @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32153           || exit 0 ; \
32154         [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32155         cd libiberty && \
32156         $(MAKE) $(FLAGS_TO_PASS)  \
32157                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32158                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32159 @endif libiberty-bootstrap
32160
32161
32162 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32163 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32164 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32165
32166 maybe-configure-stagefeedback-zlib:
32167 maybe-all-stagefeedback-zlib:
32168 maybe-clean-stagefeedback-zlib:
32169
32170 @if zlib-bootstrap
32171 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32172 configure-stagefeedback-zlib:
32173         @$(MAKE) stagefeedback-start
32174         @[ -f zlib/Makefile ] && exit 0 || : ; \
32175         r=`${PWD_COMMAND}`; export r; \
32176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32177         $(STAGE_HOST_EXPORTS)  \
32178         echo Configuring stage feedback in zlib ; \
32179         cd zlib || exit 1; \
32180         case $(srcdir) in \
32181           \.) \
32182             srcdiroption="--srcdir=."; \
32183             libsrcdir=".";; \
32184           /* | [A-Za-z]:[\\/]*) \
32185             srcdiroption="--srcdir=$(srcdir)/zlib"; \
32186             libsrcdir="$$s/zlib";; \
32187           *) \
32188             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32189             libsrcdir="$$s/zlib";; \
32190         esac; \
32191         $(SHELL) $${libsrcdir}/configure \
32192           $(HOST_CONFIGARGS) $${srcdiroption} \
32193           @stage2_werror_flag@ 
32194
32195 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32196 all-stagefeedback-zlib: configure-stagefeedback-zlib
32197         @$(MAKE) stagefeedback-start
32198         @r=`${PWD_COMMAND}`; export r; \
32199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32200         $(STAGE_HOST_EXPORTS)  \
32201         cd zlib && \
32202         $(MAKE) $(FLAGS_TO_PASS)  \
32203                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32204                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
32205
32206 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32207 clean-stagefeedback-zlib:
32208         @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32209           || exit 0 ; \
32210         [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32211         cd zlib && \
32212         $(MAKE) $(FLAGS_TO_PASS)  \
32213                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32214                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
32215 @endif zlib-bootstrap
32216
32217
32218
32219 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32220 # only possibility, but now it conflicts with no-bootstrap rules
32221 @if gcc-bootstrap
32222
32223
32224
32225
32226 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32227 distclean-stage1:: distclean-stagefeedback 
32228 .PHONY: distclean-stagefeedback
32229 distclean-stagefeedback::
32230         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32231         rm -rf stagefeedback-* 
32232
32233
32234 @endif gcc-bootstrap
32235
32236
32237
32238 stagefeedback-start::
32239         @r=`${PWD_COMMAND}`; export r; \
32240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32241         cd stageprofile-gcc && \
32242           { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32243           { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32244
32245 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32246 # only possibility, but now it conflicts with no-bootstrap rules
32247 @if gcc-bootstrap
32248 profiledbootstrap:
32249         @r=`${PWD_COMMAND}`; export r; \
32250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32251         $(SET_LIB_PATH) \
32252         $(HOST_EXPORTS) \
32253         echo "Bootstrapping the compiler"; \
32254         $(MAKE) stageprofile-bubble distclean-stagefeedback
32255         @r=`${PWD_COMMAND}`; export r; \
32256         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32257         $(SET_LIB_PATH) \
32258         echo "Building runtime libraries and training compiler"; \
32259         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32260         @r=`${PWD_COMMAND}`; export r; \
32261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32262         $(SET_LIB_PATH) \
32263         $(HOST_EXPORTS) \
32264         echo "Building feedback based compiler"; \
32265         $(MAKE) stagefeedback-bubble stagefeedback-end
32266 @endif gcc-bootstrap
32267
32268 @if gcc-bootstrap
32269 NOTPARALLEL = .NOTPARALLEL
32270 $(NOTPARALLEL):
32271 do-distclean: distclean-stage1
32272 @endif gcc-bootstrap
32273
32274 # --------------------------------------
32275 # Dependencies between different modules
32276 # --------------------------------------
32277
32278 # Generic dependencies for target modules on host stuff, especially gcc
32279
32280 configure-target-libstdc++-v3: maybe-all-gcc
32281
32282 configure-target-libmudflap: maybe-all-gcc
32283
32284 configure-target-newlib: maybe-all-gcc
32285
32286 configure-target-libgfortran: maybe-all-gcc
32287
32288 configure-target-libobjc: maybe-all-gcc
32289
32290 configure-target-libtermcap: maybe-all-gcc
32291
32292 configure-target-winsup: maybe-all-gcc
32293
32294 configure-target-libgloss: maybe-all-gcc
32295
32296 configure-target-libiberty: maybe-all-gcc
32297
32298 configure-target-gperf: maybe-all-gcc
32299
32300 configure-target-examples: maybe-all-gcc
32301
32302 configure-target-libffi: maybe-all-gcc
32303
32304 configure-target-libjava: maybe-all-gcc
32305
32306 configure-target-zlib: maybe-all-gcc
32307
32308 configure-target-boehm-gc: maybe-all-gcc
32309
32310 configure-target-qthreads: maybe-all-gcc
32311
32312 configure-target-rda: maybe-all-gcc
32313
32314 configure-target-libada: maybe-all-gcc
32315
32316
32317
32318 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32319
32320 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32321 configure-target-gperf: maybe-all-target-libstdc++-v3
32322
32323 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32324
32325 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32326
32327 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32328
32329 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32330 configure-target-libjava: maybe-all-target-libstdc++-v3
32331
32332 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32333
32334 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32335
32336 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32337
32338 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32339
32340 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32341
32342 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32343
32344 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32345
32346 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32347
32348
32349 # There are two types of dependencies here: 'hard' dependencies, where one
32350 # module simply won't build without the other; and 'soft' dependencies, where
32351 # if the depended-on module is missing, the depending module will do without
32352 # or find a substitute somewhere (perhaps installed).  Soft dependencies
32353 # are made here to depend on a 'maybe-' target.  If you're not sure,
32354 # it's safer to use a soft dependency.
32355
32356
32357
32358
32359
32360 # With all the machinery above in place, it is pretty easy to generate
32361 # dependencies.  Host dependencies are a bit more complex because we have
32362 # to check for bootstrap/prebootstrap dependencies.  To resolve
32363 # prebootstrap dependencies, prebootstrap modules are gathered in
32364 # a hash table.
32365 all-build-bison: maybe-all-build-texinfo
32366 all-build-byacc: maybe-all-build-texinfo
32367 all-build-flex: maybe-all-build-texinfo
32368 all-build-flex: maybe-all-build-bison
32369 all-build-flex: maybe-all-build-byacc
32370 all-build-flex: maybe-all-build-m4
32371 all-build-libiberty: maybe-all-build-texinfo
32372 all-build-m4: maybe-all-build-texinfo
32373 all-build-fixincludes: maybe-all-build-libiberty
32374 configure-gcc: maybe-configure-intl
32375
32376 configure-stage1-gcc: maybe-configure-stage1-intl
32377 configure-stage2-gcc: maybe-configure-stage2-intl
32378 configure-stage3-gcc: maybe-configure-stage3-intl
32379 configure-stage4-gcc: maybe-configure-stage4-intl
32380 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32381 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32382 configure-gcc: maybe-configure-binutils
32383
32384 configure-stage1-gcc: maybe-configure-stage1-binutils
32385 configure-stage2-gcc: maybe-configure-stage2-binutils
32386 configure-stage3-gcc: maybe-configure-stage3-binutils
32387 configure-stage4-gcc: maybe-configure-stage4-binutils
32388 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32389 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32390 configure-gcc: maybe-configure-gas
32391
32392 configure-stage1-gcc: maybe-configure-stage1-gas
32393 configure-stage2-gcc: maybe-configure-stage2-gas
32394 configure-stage3-gcc: maybe-configure-stage3-gas
32395 configure-stage4-gcc: maybe-configure-stage4-gas
32396 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32397 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32398 configure-gcc: maybe-configure-ld
32399
32400 configure-stage1-gcc: maybe-configure-stage1-ld
32401 configure-stage2-gcc: maybe-configure-stage2-ld
32402 configure-stage3-gcc: maybe-configure-stage3-ld
32403 configure-stage4-gcc: maybe-configure-stage4-ld
32404 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32405 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32406 all-gcc: all-libiberty
32407
32408 all-stage1-gcc: all-stage1-libiberty
32409 all-stage2-gcc: all-stage2-libiberty
32410 all-stage3-gcc: all-stage3-libiberty
32411 all-stage4-gcc: all-stage4-libiberty
32412 all-stageprofile-gcc: all-stageprofile-libiberty
32413 all-stagefeedback-gcc: all-stagefeedback-libiberty
32414 all-gcc: maybe-all-intl
32415
32416 all-stage1-gcc: maybe-all-stage1-intl
32417 all-stage2-gcc: maybe-all-stage2-intl
32418 all-stage3-gcc: maybe-all-stage3-intl
32419 all-stage4-gcc: maybe-all-stage4-intl
32420 all-stageprofile-gcc: maybe-all-stageprofile-intl
32421 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32422 all-gcc: maybe-all-build-texinfo
32423
32424 all-stage1-gcc: maybe-all-build-texinfo
32425 all-stage2-gcc: maybe-all-build-texinfo
32426 all-stage3-gcc: maybe-all-build-texinfo
32427 all-stage4-gcc: maybe-all-build-texinfo
32428 all-stageprofile-gcc: maybe-all-build-texinfo
32429 all-stagefeedback-gcc: maybe-all-build-texinfo
32430 all-prebootstrap: maybe-all-build-texinfo
32431 all-gcc: maybe-all-build-bison
32432
32433 all-stage1-gcc: maybe-all-build-bison
32434 all-stage2-gcc: maybe-all-build-bison
32435 all-stage3-gcc: maybe-all-build-bison
32436 all-stage4-gcc: maybe-all-build-bison
32437 all-stageprofile-gcc: maybe-all-build-bison
32438 all-stagefeedback-gcc: maybe-all-build-bison
32439 all-prebootstrap: maybe-all-build-bison
32440 all-gcc: maybe-all-build-byacc
32441
32442 all-stage1-gcc: maybe-all-build-byacc
32443 all-stage2-gcc: maybe-all-build-byacc
32444 all-stage3-gcc: maybe-all-build-byacc
32445 all-stage4-gcc: maybe-all-build-byacc
32446 all-stageprofile-gcc: maybe-all-build-byacc
32447 all-stagefeedback-gcc: maybe-all-build-byacc
32448 all-prebootstrap: maybe-all-build-byacc
32449 all-gcc: maybe-all-build-flex
32450
32451 all-stage1-gcc: maybe-all-build-flex
32452 all-stage2-gcc: maybe-all-build-flex
32453 all-stage3-gcc: maybe-all-build-flex
32454 all-stage4-gcc: maybe-all-build-flex
32455 all-stageprofile-gcc: maybe-all-build-flex
32456 all-stagefeedback-gcc: maybe-all-build-flex
32457 all-prebootstrap: maybe-all-build-flex
32458 all-gcc: maybe-all-build-libiberty
32459
32460 all-stage1-gcc: maybe-all-build-libiberty
32461 all-stage2-gcc: maybe-all-build-libiberty
32462 all-stage3-gcc: maybe-all-build-libiberty
32463 all-stage4-gcc: maybe-all-build-libiberty
32464 all-stageprofile-gcc: maybe-all-build-libiberty
32465 all-stagefeedback-gcc: maybe-all-build-libiberty
32466 all-prebootstrap: maybe-all-build-libiberty
32467 all-gcc: maybe-all-build-fixincludes
32468
32469 all-stage1-gcc: maybe-all-build-fixincludes
32470 all-stage2-gcc: maybe-all-build-fixincludes
32471 all-stage3-gcc: maybe-all-build-fixincludes
32472 all-stage4-gcc: maybe-all-build-fixincludes
32473 all-stageprofile-gcc: maybe-all-build-fixincludes
32474 all-stagefeedback-gcc: maybe-all-build-fixincludes
32475 all-prebootstrap: maybe-all-build-fixincludes
32476 all-gcc: maybe-all-binutils
32477
32478 all-stage1-gcc: maybe-all-stage1-binutils
32479 all-stage2-gcc: maybe-all-stage2-binutils
32480 all-stage3-gcc: maybe-all-stage3-binutils
32481 all-stage4-gcc: maybe-all-stage4-binutils
32482 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32483 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32484 all-gcc: maybe-all-gas
32485
32486 all-stage1-gcc: maybe-all-stage1-gas
32487 all-stage2-gcc: maybe-all-stage2-gas
32488 all-stage3-gcc: maybe-all-stage3-gas
32489 all-stage4-gcc: maybe-all-stage4-gas
32490 all-stageprofile-gcc: maybe-all-stageprofile-gas
32491 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32492 all-gcc: maybe-all-ld
32493
32494 all-stage1-gcc: maybe-all-stage1-ld
32495 all-stage2-gcc: maybe-all-stage2-ld
32496 all-stage3-gcc: maybe-all-stage3-ld
32497 all-stage4-gcc: maybe-all-stage4-ld
32498 all-stageprofile-gcc: maybe-all-stageprofile-ld
32499 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32500 all-gcc: maybe-all-zlib
32501
32502 all-stage1-gcc: maybe-all-stage1-zlib
32503 all-stage2-gcc: maybe-all-stage2-zlib
32504 all-stage3-gcc: maybe-all-stage3-zlib
32505 all-stage4-gcc: maybe-all-stage4-zlib
32506 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32507 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32508 all-gcc: all-libcpp
32509
32510 all-stage1-gcc: all-stage1-libcpp
32511 all-stage2-gcc: all-stage2-libcpp
32512 all-stage3-gcc: all-stage3-libcpp
32513 all-stage4-gcc: all-stage4-libcpp
32514 all-stageprofile-gcc: all-stageprofile-libcpp
32515 all-stagefeedback-gcc: all-stagefeedback-libcpp
32516 all-gcc: maybe-all-build-libiberty
32517
32518 all-stage1-gcc: maybe-all-build-libiberty
32519 all-stage2-gcc: maybe-all-build-libiberty
32520 all-stage3-gcc: maybe-all-build-libiberty
32521 all-stage4-gcc: maybe-all-build-libiberty
32522 all-stageprofile-gcc: maybe-all-build-libiberty
32523 all-stagefeedback-gcc: maybe-all-build-libiberty
32524 all-prebootstrap: maybe-all-build-libiberty
32525 configure-libcpp: configure-libiberty
32526
32527 configure-stage1-libcpp: configure-stage1-libiberty
32528 configure-stage2-libcpp: configure-stage2-libiberty
32529 configure-stage3-libcpp: configure-stage3-libiberty
32530 configure-stage4-libcpp: configure-stage4-libiberty
32531 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32532 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32533 configure-libcpp: maybe-configure-intl
32534
32535 configure-stage1-libcpp: maybe-configure-stage1-intl
32536 configure-stage2-libcpp: maybe-configure-stage2-intl
32537 configure-stage3-libcpp: maybe-configure-stage3-intl
32538 configure-stage4-libcpp: maybe-configure-stage4-intl
32539 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32540 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
32541 all-libcpp: all-libiberty
32542
32543 all-stage1-libcpp: all-stage1-libiberty
32544 all-stage2-libcpp: all-stage2-libiberty
32545 all-stage3-libcpp: all-stage3-libiberty
32546 all-stage4-libcpp: all-stage4-libiberty
32547 all-stageprofile-libcpp: all-stageprofile-libiberty
32548 all-stagefeedback-libcpp: all-stagefeedback-libiberty
32549 all-libcpp: maybe-all-intl
32550
32551 all-stage1-libcpp: maybe-all-stage1-intl
32552 all-stage2-libcpp: maybe-all-stage2-intl
32553 all-stage3-libcpp: maybe-all-stage3-intl
32554 all-stage4-libcpp: maybe-all-stage4-intl
32555 all-stageprofile-libcpp: maybe-all-stageprofile-intl
32556 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
32557 configure-gdb: maybe-configure-itcl
32558 configure-gdb: maybe-configure-tcl
32559 configure-gdb: maybe-configure-tk
32560 configure-gdb: maybe-configure-sim
32561 all-gdb: maybe-all-libiberty
32562 all-gdb: maybe-all-opcodes
32563 all-gdb: maybe-all-bfd
32564 all-gdb: maybe-all-readline
32565 all-gdb: maybe-all-build-bison
32566 all-gdb: maybe-all-build-byacc
32567 all-gdb: maybe-all-sim
32568 install-gdb: maybe-install-tcl
32569 install-gdb: maybe-install-tk
32570 install-gdb: maybe-install-itcl
32571 install-gdb: maybe-install-libgui
32572 configure-libgui: maybe-configure-tcl
32573 configure-libgui: maybe-configure-tk
32574 all-libgui: maybe-all-tcl
32575 all-libgui: maybe-all-tk
32576 all-libgui: maybe-all-itcl
32577 configure-bfd: configure-libiberty
32578
32579 configure-stage1-bfd: configure-stage1-libiberty
32580 configure-stage2-bfd: configure-stage2-libiberty
32581 configure-stage3-bfd: configure-stage3-libiberty
32582 configure-stage4-bfd: configure-stage4-libiberty
32583 configure-stageprofile-bfd: configure-stageprofile-libiberty
32584 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
32585 all-bfd: maybe-all-libiberty
32586
32587 all-stage1-bfd: maybe-all-stage1-libiberty
32588 all-stage2-bfd: maybe-all-stage2-libiberty
32589 all-stage3-bfd: maybe-all-stage3-libiberty
32590 all-stage4-bfd: maybe-all-stage4-libiberty
32591 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
32592 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
32593 all-bfd: maybe-all-intl
32594
32595 all-stage1-bfd: maybe-all-stage1-intl
32596 all-stage2-bfd: maybe-all-stage2-intl
32597 all-stage3-bfd: maybe-all-stage3-intl
32598 all-stage4-bfd: maybe-all-stage4-intl
32599 all-stageprofile-bfd: maybe-all-stageprofile-intl
32600 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
32601 all-binutils: maybe-all-libiberty
32602
32603 all-stage1-binutils: maybe-all-stage1-libiberty
32604 all-stage2-binutils: maybe-all-stage2-libiberty
32605 all-stage3-binutils: maybe-all-stage3-libiberty
32606 all-stage4-binutils: maybe-all-stage4-libiberty
32607 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
32608 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
32609 all-binutils: maybe-all-opcodes
32610
32611 all-stage1-binutils: maybe-all-stage1-opcodes
32612 all-stage2-binutils: maybe-all-stage2-opcodes
32613 all-stage3-binutils: maybe-all-stage3-opcodes
32614 all-stage4-binutils: maybe-all-stage4-opcodes
32615 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
32616 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
32617 all-binutils: maybe-all-bfd
32618
32619 all-stage1-binutils: maybe-all-stage1-bfd
32620 all-stage2-binutils: maybe-all-stage2-bfd
32621 all-stage3-binutils: maybe-all-stage3-bfd
32622 all-stage4-binutils: maybe-all-stage4-bfd
32623 all-stageprofile-binutils: maybe-all-stageprofile-bfd
32624 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
32625 all-binutils: maybe-all-build-flex
32626
32627 all-stage1-binutils: maybe-all-build-flex
32628 all-stage2-binutils: maybe-all-build-flex
32629 all-stage3-binutils: maybe-all-build-flex
32630 all-stage4-binutils: maybe-all-build-flex
32631 all-stageprofile-binutils: maybe-all-build-flex
32632 all-stagefeedback-binutils: maybe-all-build-flex
32633 all-prebootstrap: maybe-all-build-flex
32634 all-binutils: maybe-all-build-bison
32635
32636 all-stage1-binutils: maybe-all-build-bison
32637 all-stage2-binutils: maybe-all-build-bison
32638 all-stage3-binutils: maybe-all-build-bison
32639 all-stage4-binutils: maybe-all-build-bison
32640 all-stageprofile-binutils: maybe-all-build-bison
32641 all-stagefeedback-binutils: maybe-all-build-bison
32642 all-prebootstrap: maybe-all-build-bison
32643 all-binutils: maybe-all-build-byacc
32644
32645 all-stage1-binutils: maybe-all-build-byacc
32646 all-stage2-binutils: maybe-all-build-byacc
32647 all-stage3-binutils: maybe-all-build-byacc
32648 all-stage4-binutils: maybe-all-build-byacc
32649 all-stageprofile-binutils: maybe-all-build-byacc
32650 all-stagefeedback-binutils: maybe-all-build-byacc
32651 all-prebootstrap: maybe-all-build-byacc
32652 all-binutils: maybe-all-intl
32653
32654 all-stage1-binutils: maybe-all-stage1-intl
32655 all-stage2-binutils: maybe-all-stage2-intl
32656 all-stage3-binutils: maybe-all-stage3-intl
32657 all-stage4-binutils: maybe-all-stage4-intl
32658 all-stageprofile-binutils: maybe-all-stageprofile-intl
32659 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
32660 install-binutils: maybe-install-opcodes
32661 install-opcodes: maybe-install-bfd
32662 all-gas: maybe-all-libiberty
32663
32664 all-stage1-gas: maybe-all-stage1-libiberty
32665 all-stage2-gas: maybe-all-stage2-libiberty
32666 all-stage3-gas: maybe-all-stage3-libiberty
32667 all-stage4-gas: maybe-all-stage4-libiberty
32668 all-stageprofile-gas: maybe-all-stageprofile-libiberty
32669 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
32670 all-gas: maybe-all-opcodes
32671
32672 all-stage1-gas: maybe-all-stage1-opcodes
32673 all-stage2-gas: maybe-all-stage2-opcodes
32674 all-stage3-gas: maybe-all-stage3-opcodes
32675 all-stage4-gas: maybe-all-stage4-opcodes
32676 all-stageprofile-gas: maybe-all-stageprofile-opcodes
32677 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
32678 all-gas: maybe-all-bfd
32679
32680 all-stage1-gas: maybe-all-stage1-bfd
32681 all-stage2-gas: maybe-all-stage2-bfd
32682 all-stage3-gas: maybe-all-stage3-bfd
32683 all-stage4-gas: maybe-all-stage4-bfd
32684 all-stageprofile-gas: maybe-all-stageprofile-bfd
32685 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
32686 all-gas: maybe-all-intl
32687
32688 all-stage1-gas: maybe-all-stage1-intl
32689 all-stage2-gas: maybe-all-stage2-intl
32690 all-stage3-gas: maybe-all-stage3-intl
32691 all-stage4-gas: maybe-all-stage4-intl
32692 all-stageprofile-gas: maybe-all-stageprofile-intl
32693 all-stagefeedback-gas: maybe-all-stagefeedback-intl
32694 all-gprof: maybe-all-libiberty
32695 all-gprof: maybe-all-bfd
32696 all-gprof: maybe-all-opcodes
32697 all-gprof: maybe-all-intl
32698 all-ld: maybe-all-libiberty
32699
32700 all-stage1-ld: maybe-all-stage1-libiberty
32701 all-stage2-ld: maybe-all-stage2-libiberty
32702 all-stage3-ld: maybe-all-stage3-libiberty
32703 all-stage4-ld: maybe-all-stage4-libiberty
32704 all-stageprofile-ld: maybe-all-stageprofile-libiberty
32705 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
32706 all-ld: maybe-all-bfd
32707
32708 all-stage1-ld: maybe-all-stage1-bfd
32709 all-stage2-ld: maybe-all-stage2-bfd
32710 all-stage3-ld: maybe-all-stage3-bfd
32711 all-stage4-ld: maybe-all-stage4-bfd
32712 all-stageprofile-ld: maybe-all-stageprofile-bfd
32713 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
32714 all-ld: maybe-all-opcodes
32715
32716 all-stage1-ld: maybe-all-stage1-opcodes
32717 all-stage2-ld: maybe-all-stage2-opcodes
32718 all-stage3-ld: maybe-all-stage3-opcodes
32719 all-stage4-ld: maybe-all-stage4-opcodes
32720 all-stageprofile-ld: maybe-all-stageprofile-opcodes
32721 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
32722 all-ld: maybe-all-build-bison
32723
32724 all-stage1-ld: maybe-all-build-bison
32725 all-stage2-ld: maybe-all-build-bison
32726 all-stage3-ld: maybe-all-build-bison
32727 all-stage4-ld: maybe-all-build-bison
32728 all-stageprofile-ld: maybe-all-build-bison
32729 all-stagefeedback-ld: maybe-all-build-bison
32730 all-prebootstrap: maybe-all-build-bison
32731 all-ld: maybe-all-build-byacc
32732
32733 all-stage1-ld: maybe-all-build-byacc
32734 all-stage2-ld: maybe-all-build-byacc
32735 all-stage3-ld: maybe-all-build-byacc
32736 all-stage4-ld: maybe-all-build-byacc
32737 all-stageprofile-ld: maybe-all-build-byacc
32738 all-stagefeedback-ld: maybe-all-build-byacc
32739 all-prebootstrap: maybe-all-build-byacc
32740 all-ld: maybe-all-build-flex
32741
32742 all-stage1-ld: maybe-all-build-flex
32743 all-stage2-ld: maybe-all-build-flex
32744 all-stage3-ld: maybe-all-build-flex
32745 all-stage4-ld: maybe-all-build-flex
32746 all-stageprofile-ld: maybe-all-build-flex
32747 all-stagefeedback-ld: maybe-all-build-flex
32748 all-prebootstrap: maybe-all-build-flex
32749 all-ld: maybe-all-intl
32750
32751 all-stage1-ld: maybe-all-stage1-intl
32752 all-stage2-ld: maybe-all-stage2-intl
32753 all-stage3-ld: maybe-all-stage3-intl
32754 all-stage4-ld: maybe-all-stage4-intl
32755 all-stageprofile-ld: maybe-all-stageprofile-intl
32756 all-stagefeedback-ld: maybe-all-stagefeedback-intl
32757 all-opcodes: maybe-all-bfd
32758
32759 all-stage1-opcodes: maybe-all-stage1-bfd
32760 all-stage2-opcodes: maybe-all-stage2-bfd
32761 all-stage3-opcodes: maybe-all-stage3-bfd
32762 all-stage4-opcodes: maybe-all-stage4-bfd
32763 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
32764 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
32765 all-opcodes: maybe-all-libiberty
32766
32767 all-stage1-opcodes: maybe-all-stage1-libiberty
32768 all-stage2-opcodes: maybe-all-stage2-libiberty
32769 all-stage3-opcodes: maybe-all-stage3-libiberty
32770 all-stage4-opcodes: maybe-all-stage4-libiberty
32771 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
32772 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
32773 all-dejagnu: maybe-all-tcl
32774 all-dejagnu: maybe-all-expect
32775 all-dejagnu: maybe-all-tk
32776 configure-expect: maybe-configure-tcl
32777 configure-expect: maybe-configure-tk
32778 all-expect: maybe-all-tcl
32779 all-expect: maybe-all-tk
32780 configure-itcl: maybe-configure-tcl
32781 configure-itcl: maybe-configure-tk
32782 all-itcl: maybe-all-tcl
32783 all-itcl: maybe-all-tk
32784 install-itcl: maybe-install-tcl
32785 configure-tk: maybe-configure-tcl
32786 all-tk: maybe-all-tcl
32787 all-sid: maybe-all-libiberty
32788 all-sid: maybe-all-bfd
32789 all-sid: maybe-all-opcodes
32790 all-sid: maybe-all-tcl
32791 all-sid: maybe-all-tk
32792 install-sid: maybe-install-tcl
32793 install-sid: maybe-install-tk
32794 all-sim: maybe-all-libiberty
32795 all-sim: maybe-all-bfd
32796 all-sim: maybe-all-opcodes
32797 all-sim: maybe-all-readline
32798 all-sim: maybe-configure-gdb
32799 all-fastjar: maybe-all-zlib
32800 all-fastjar: maybe-all-build-texinfo
32801 all-fastjar: maybe-all-libiberty
32802 all-autoconf: maybe-all-m4
32803 all-autoconf: maybe-all-build-texinfo
32804 all-automake: maybe-all-m4
32805 all-automake: maybe-all-build-texinfo
32806 all-automake: maybe-all-autoconf
32807 all-bison: maybe-all-intl
32808 all-bison: maybe-all-build-texinfo
32809 all-diff: maybe-all-intl
32810 all-diff: maybe-all-build-texinfo
32811 all-fileutils: maybe-all-intl
32812 all-fileutils: maybe-all-build-texinfo
32813 all-flex: maybe-all-build-bison
32814 all-flex: maybe-all-build-byacc
32815 all-flex: maybe-all-intl
32816 all-flex: maybe-all-m4
32817 all-flex: maybe-all-build-texinfo
32818 all-gzip: maybe-all-intl
32819 all-gzip: maybe-all-zlib
32820 all-gzip: maybe-all-build-texinfo
32821 all-hello: maybe-all-intl
32822 all-hello: maybe-all-build-texinfo
32823 all-m4: maybe-all-intl
32824 all-m4: maybe-all-build-texinfo
32825 all-make: maybe-all-intl
32826 all-make: maybe-all-build-texinfo
32827 all-patch: maybe-all-build-texinfo
32828 all-make: maybe-all-build-texinfo
32829 all-prms: maybe-all-libiberty
32830 all-recode: maybe-all-build-texinfo
32831 all-sed: maybe-all-build-texinfo
32832 all-send-pr: maybe-all-prms
32833 all-tar: maybe-all-build-texinfo
32834 all-uudecode: maybe-all-build-texinfo
32835 configure-target-boehm-gc: maybe-configure-target-qthreads
32836 configure-target-fastjar: maybe-configure-target-zlib
32837 all-target-fastjar: maybe-all-target-zlib
32838 all-target-fastjar: maybe-all-target-libiberty
32839 configure-target-libjava: maybe-configure-target-zlib
32840 configure-target-libjava: maybe-configure-target-boehm-gc
32841 configure-target-libjava: maybe-configure-target-qthreads
32842 configure-target-libjava: maybe-configure-target-libffi
32843 all-target-libjava: maybe-all-fastjar
32844 all-target-libjava: maybe-all-target-zlib
32845 all-target-libjava: maybe-all-target-boehm-gc
32846 all-target-libjava: maybe-all-target-qthreads
32847 all-target-libjava: maybe-all-target-libffi
32848 all-target-libobjc: maybe-all-target-libiberty
32849 all-target-libstdc++-v3: maybe-all-target-libiberty
32850 all-target-libgloss: maybe-configure-target-newlib
32851 all-target-winsup: maybe-all-target-libiberty
32852 all-target-winsup: maybe-all-target-libtermcap
32853
32854
32855 # Non-toplevel bootstrap rules must depend on several packages, to be built
32856 # before gcc.  Another wart that will go away, hopefully soon.
32857 @if gcc-no-bootstrap
32858
32859 all-prebootstrap: maybe-all-bfd
32860 all-prebootstrap: maybe-all-opcodes
32861 all-prebootstrap: maybe-all-binutils
32862 all-prebootstrap: maybe-all-gas
32863 all-prebootstrap: maybe-all-intl
32864 all-prebootstrap: maybe-all-ld
32865 all-prebootstrap: maybe-all-libcpp
32866 all-prebootstrap: maybe-all-libiberty
32867 all-prebootstrap: maybe-all-zlib
32868 @endif gcc-no-bootstrap
32869
32870 GDB_TK = @GDB_TK@
32871 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
32872
32873 # Serialization dependencies.  Host configures don't work well in parallel to
32874 # each other, due to contention over config.cache.  Target configures and 
32875 # build configures are similar.
32876 @serialization_dependencies@
32877
32878 # --------------------------------
32879 # Regenerating top level configury
32880 # --------------------------------
32881
32882 # Multilib.out tells target dirs what multilibs they should build.
32883 # There is really only one copy.  We use the 'timestamp' method to
32884 # work around various timestamp bugs on some systems.
32885 # We use move-if-change so that it's only considered updated when it
32886 # actually changes, because it has to depend on a phony target.
32887 multilib.out: maybe-all-gcc
32888         @r=`${PWD_COMMAND}`; export r; \
32889         echo "Checking multilib configuration..."; \
32890         $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
32891         $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
32892
32893 # Rebuilding Makefile.in, using autogen.
32894 AUTOGEN = autogen
32895 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
32896         cd $(srcdir) && $(AUTOGEN) Makefile.def
32897
32898 # Rebuilding Makefile.
32899 Makefile: $(srcdir)/Makefile.in config.status
32900         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
32901
32902 config.status: configure $(gcc_version_trigger)
32903         CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
32904
32905 # Rebuilding configure.
32906 AUTOCONF = autoconf
32907 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
32908         cd $(srcdir) && $(AUTOCONF)
32909
32910 # ------------------------------
32911 # Special directives to GNU Make
32912 # ------------------------------
32913
32914 # Don't pass command-line variables to submakes.
32915 .NOEXPORT:
32916 MAKEOVERRIDES=
32917
32918 # end of Makefile.in