2004-08-12 Nathanael Nerode <neroden@gcc.gnu.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 libbanshee
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
113
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory.  It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
117 # re-runs configure.
118 BASE_EXPORTS = \
119         FLEX="$(FLEX)"; export FLEX; \
120         LEX="$(LEX)"; export LEX; \
121         BISON="$(BISON)"; export BISON; \
122         YACC="$(YACC)"; export YACC; \
123         M4="$(M4)"; export M4; \
124         MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
125
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
128 BUILD_EXPORTS = \
129         $(BASE_EXPORTS) \
130         AR="$(AR_FOR_BUILD)"; export AR; \
131         AS="$(AS_FOR_BUILD)"; export AS; \
132         CC="$(CC_FOR_BUILD)"; export CC; \
133         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135         CXX="$(CXX_FOR_BUILD)"; export CXX; \
136         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140         LD="$(LD_FOR_BUILD)"; export LD; \
141         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142         NM="$(NM_FOR_BUILD)"; export NM; \
143         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
145
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
153 HOST_EXPORTS = \
154         $(BASE_EXPORTS) \
155         CC="$(CC)"; export CC; \
156         CFLAGS="$(CFLAGS)"; export CFLAGS; \
157         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158         CXX="$(CXX)"; export CXX; \
159         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160         AR="$(AR)"; export AR; \
161         AS="$(AS)"; export AS; \
162         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164         LD="$(LD)"; export LD; \
165         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166         NM="$(NM)"; export NM; \
167         RANLIB="$(RANLIB)"; export RANLIB; \
168         WINDRES="$(WINDRES)"; export WINDRES; \
169         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173         GMPINC="$(HOST_GMPINC)"; export GMPINC;
174
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
177         $(HOST_EXPORTS) \
178         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
180
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192         $(BASE_EXPORTS) \
193         AR="$(AR_FOR_TARGET)"; export AR; \
194         AS="$(AS_FOR_TARGET)"; export AS; \
195         CC="$(CC_FOR_TARGET)"; export CC; \
196         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203         LD="$(LD_FOR_TARGET)"; export LD; \
204         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205         NM="$(NM_FOR_TARGET)"; export NM; \
206         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
208
209 RAW_CXX_TARGET_EXPORTS = \
210         $(BASE_TARGET_EXPORTS) \
211         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
213
214 NORMAL_TARGET_EXPORTS = \
215         $(BASE_TARGET_EXPORTS) \
216         CXX="$(CXX_FOR_TARGET)"; export CXX;
217
218 # Where to find GMP
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
221
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
225
226 SHELL = @config_shell@
227
228 # pwd command to use.  Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters.  The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
235
236 # compilers to use to create programs which must be run in the build
237 # environment.
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
240
241 CXX_FOR_BUILD = $(CXX)
242
243 # Path to the build directory for a Canadian cross, empty otherwise.
244 BUILD_DIR_PREFIX = @BUILD_DIR_PREFIX@
245
246 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
247 # here so that they can be overridden by Makefile fragments.
248 BUILD_PREFIX = @BUILD_PREFIX@
249 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
250
251 CONFIGURED_BISON = @CONFIGURED_BISON@
252 BISON = `if [ -f $$r/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \
253             echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -L $$s/bison/ ; \
254          else \
255             echo ${CONFIGURED_BISON} ; \
256          fi`
257
258 CONFIGURED_YACC = @CONFIGURED_YACC@
259 YACC = `if [ -f $$s/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \
260             echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -y -L $$s/bison/ ; \
261         elif [ -f $$s/$(BUILD_DIR_PREFIX)/byacc/byacc ] ; then \
262             echo $$r/$(BUILD_DIR_PREFIX)/byacc/byacc ; \
263         else \
264             echo ${CONFIGURED_YACC} ; \
265         fi`
266
267 CONFIGURED_FLEX = @CONFIGURED_FLEX@
268 FLEX = `if [ -f $$r/$(BUILD_DIR_PREFIX)/flex/flex ] ; \
269         then echo $$r/$(BUILD_DIR_PREFIX)/flex/flex ; \
270         else echo ${CONFIGURED_FLEX} ; fi`
271
272 CONFIGURED_LEX = @CONFIGURED_LEX@
273 LEX = `if [ -f $$r/$(BUILD_DIR_PREFIX)/flex/flex ] ; \
274         then echo $$r/$(BUILD_DIR_PREFIX)/flex/flex ; \
275         else echo ${CONFIGURED_LEX} ; fi`
276
277 CONFIGURED_M4 = @CONFIGURED_M4@
278 M4 = `if [ -f $$r/$(BUILD_DIR_PREFIX)/m4/m4 ] ; \
279         then echo $$r/$(BUILD_DIR_PREFIX)/m4/m4 ; \
280         else echo ${CONFIGURED_M4} ; fi`
281
282 # For an installed makeinfo, we require it to be from texinfo 4.2 or
283 # higher, else we use the "missing" dummy.  We also pass the subdirectory
284 # makeinfo even if only the Makefile is there, because Texinfo builds its
285 # manual when made, and it requires its own version.
286 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
287 MAKEINFO = `if [ -f $$r/$(BUILD_DIR_PREFIX)/texinfo/makeinfo/Makefile ] ; \
288         then echo $$r/$(BUILD_DIR_PREFIX)/texinfo/makeinfo/makeinfo ; \
289         else if (${CONFIGURED_MAKEINFO} --version \
290           | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
291         then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
292
293 # This just becomes part of the MAKEINFO definition passed down to
294 # sub-makes.  It lets flags be given on the command line while still
295 # using the makeinfo from the object tree.
296 # (Default to avoid splitting info files by setting the threshold high.)
297 MAKEINFOFLAGS = --split-size=5000000
298
299 EXPECT = `if [ -f $$r/expect/expect ] ; \
300         then echo $$r/expect/expect ; \
301         else echo expect ; fi`
302
303 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
304         then echo $$s/dejagnu/runtest ; \
305         else echo runtest ; fi`
306
307 # ---------------------------------------------
308 # Programs producing files for the HOST machine
309 # ---------------------------------------------
310
311 # This is the list of directories that may be needed in RPATH_ENVVAR
312 # so that programs built for the host machine work.
313 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
314
315 AS = @AS@
316
317 AR = @AR@
318 AR_FLAGS = rc
319
320 CC = @CC@
321 CFLAGS = @CFLAGS@
322 LIBCFLAGS = $(CFLAGS)
323
324 CXX = @CXX@
325 CXXFLAGS = @CXXFLAGS@
326 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
327
328 DLLTOOL = @DLLTOOL@
329
330 NM = @NM@
331
332 LD = @LD@
333 LDFLAGS = 
334
335 RANLIB = @RANLIB@
336
337 WINDRES = @WINDRES@
338
339 PICFLAG = 
340
341 # -----------------------------------------------
342 # Programs producing files for the TARGET machine
343 # -----------------------------------------------
344
345 # This is the list of directories that may be needed in RPATH_ENVVAR
346 # so that prorgams built for the target machine work.
347 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
348
349 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
350
351 AR_FOR_TARGET=@AR_FOR_TARGET@
352 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
353 USUAL_AR_FOR_TARGET = ` \
354   if [ -f $$r/binutils/ar ] ; then \
355     echo $$r/binutils/ar ; \
356   else \
357     if [ '$(host)' = '$(target)' ] ; then \
358       echo $(AR); \
359     else \
360       echo $(CONFIGURED_AR_FOR_TARGET) ; \
361     fi; \
362   fi`
363
364 AS_FOR_TARGET=@AS_FOR_TARGET@
365 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
366 USUAL_AS_FOR_TARGET = ` \
367   if [ -f $$r/gas/as-new ] ; then \
368     echo $$r/gas/as-new ; \
369   elif [ -f $$r/gcc/xgcc ]; then \
370     $(CC_FOR_TARGET) -print-prog-name=as ; \
371   else \
372     if [ '$(host)' = '$(target)' ] ; then \
373       echo $(AS); \
374     else \
375       echo $(CONFIGURED_AS_FOR_TARGET) ; \
376     fi; \
377   fi`
378
379 CC_FOR_TARGET = @CC_FOR_TARGET@
380 # During gcc bootstrap, if we use some random cc for stage1 then
381 # CFLAGS will be just -g.  We want to ensure that TARGET libraries
382 # (which we know are built with gcc) are built with optimizations so
383 # prepend -O2 when setting CFLAGS_FOR_TARGET.
384 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
385 # If GCC_FOR_TARGET is not overriden on the command line, then this
386 # variable is passed down to the gcc Makefile, where it is used to
387 # build libgcc2.a.  We define it here so that it can itself be
388 # overridden on the command line.
389 GCC_FOR_TARGET=@GCC_FOR_TARGET@
390 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
391 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
392
393 CXX_FOR_TARGET = @CXX_FOR_TARGET@
394 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
395 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
396 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
397 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
398 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
399
400 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
401 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
402 USUAL_DLLTOOL_FOR_TARGET = ` \
403   if [ -f $$r/binutils/dlltool ] ; then \
404     echo $$r/binutils/dlltool ; \
405   else \
406     if [ '$(host)' = '$(target)' ] ; then \
407       echo $(DLLTOOL); \
408     else \
409       echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
410     fi; \
411   fi`
412
413 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
414 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
415
416 LD_FOR_TARGET=@LD_FOR_TARGET@
417 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
418 USUAL_LD_FOR_TARGET = ` \
419   if [ -f $$r/ld/ld-new ] ; then \
420     echo $$r/ld/ld-new ; \
421   elif [ -f $$r/gcc/xgcc ]; then \
422     $(CC_FOR_TARGET) -print-prog-name=ld ; \
423   else \
424     if [ '$(host)' = '$(target)' ] ; then \
425       echo $(LD); \
426     else \
427       echo $(CONFIGURED_LD_FOR_TARGET) ; \
428     fi; \
429   fi`
430
431 LDFLAGS_FOR_TARGET = 
432
433 NM_FOR_TARGET=@NM_FOR_TARGET@
434 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
435 USUAL_NM_FOR_TARGET = ` \
436   if [ -f $$r/binutils/nm-new ] ; then \
437     echo $$r/binutils/nm-new ; \
438   elif [ -f $$r/gcc/xgcc ]; then \
439     $(CC_FOR_TARGET) -print-prog-name=nm ; \
440   else \
441     if [ '$(host)' = '$(target)' ] ; then \
442       echo $(NM); \
443     else \
444       echo $(CONFIGURED_NM_FOR_TARGET) ; \
445     fi; \
446   fi`
447
448 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
449 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
450 USUAL_RANLIB_FOR_TARGET = ` \
451   if [ -f $$r/binutils/ranlib ] ; then \
452     echo $$r/binutils/ranlib ; \
453   else \
454     if [ '$(host)' = '$(target)' ] ; then \
455       if [ x'$(RANLIB)' != x ]; then \
456          echo $(RANLIB); \
457       else \
458          echo ranlib; \
459       fi; \
460     else \
461       echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
462     fi; \
463   fi`
464
465 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
466 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
467 USUAL_WINDRES_FOR_TARGET = ` \
468   if [ -f $$r/binutils/windres ] ; then \
469     echo $$r/binutils/windres ; \
470   else \
471     if [ '$(host)' = '$(target)' ] ; then \
472       echo $(WINDRES); \
473     else \
474       echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
475     fi; \
476   fi`
477
478 PICFLAG_FOR_TARGET = 
479
480 # ------------------------------------
481 # Miscellaneous targets and flag lists
482 # ------------------------------------
483
484 @if gcc-bootstrap
485 # Let's leave this as the first rule in the file until toplevel
486 # bootstrap is fleshed out completely.
487 sorry:
488         @echo Toplevel bootstrap temporarily out of commission.
489         @echo Please reconfigure without --enable-bootstrap
490 @endif gcc-bootstrap
491
492 # The first rule in the file had better be this one.  Don't put any above it.
493 # This lives here to allow makefile fragments to contain dependencies.
494 @default_target@:
495
496 #### host and target specific makefile fragments come in here.
497 @target_makefile_frag@
498 @alphaieee_frag@
499 @ospace_frag@
500 @host_makefile_frag@
501 ###
502
503 # Flags to pass down to all sub-makes.
504 BASE_FLAGS_TO_PASS = \
505         "DESTDIR=$(DESTDIR)" \
506         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
507         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
508         "bindir=$(bindir)" \
509         "datadir=$(datadir)" \
510         "exec_prefix=$(exec_prefix)" \
511         "includedir=$(includedir)" \
512         "infodir=$(infodir)" \
513         "libdir=$(libdir)" \
514         "libexecdir=$(libexecdir)" \
515         "lispdir=$(lispdir)" \
516         "libstdcxx_incdir=$(libstdcxx_incdir)" \
517         "libsubdir=$(libsubdir)" \
518         "localstatedir=$(localstatedir)" \
519         "mandir=$(mandir)" \
520         "oldincludedir=$(oldincludedir)" \
521         "prefix=$(prefix)" \
522         "sbindir=$(sbindir)" \
523         "sharedstatedir=$(sharedstatedir)" \
524         "sysconfdir=$(sysconfdir)" \
525         "tooldir=$(tooldir)" \
526         "build_tooldir=$(build_tooldir)" \
527         "gxx_include_dir=$(gxx_include_dir)" \
528         "gcc_version=$(gcc_version)" \
529         "gcc_version_trigger=$(gcc_version_trigger)" \
530         "target_alias=$(target_alias)" \
531         "BISON=$(BISON)" \
532         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
533         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
534         "EXPECT=$(EXPECT)" \
535         "FLEX=$(FLEX)" \
536         "INSTALL=$(INSTALL)" \
537         "INSTALL_DATA=$(INSTALL_DATA)" \
538         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
539         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
540         "LEX=$(LEX)" \
541         "M4=$(M4)" \
542         "MAKE=$(MAKE)" \
543         "RUNTEST=$(RUNTEST)" \
544         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
545         "SHELL=$(SHELL)" \
546         "YACC=$(YACC)" \
547         "AR_FLAGS=$(AR_FLAGS)" \
548         "CFLAGS=$(CFLAGS)" \
549         "CXXFLAGS=$(CXXFLAGS)" \
550         "LDFLAGS=$(LDFLAGS)" \
551         "LIBCFLAGS=$(LIBCFLAGS)" \
552         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
553         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
554         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
555         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
556         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
557         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
558         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
559         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
560         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
561         "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
562         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
563         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
564         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
565         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
566         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
567         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
568         "CONFIG_SHELL=$(SHELL)" \
569         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
570
571 # For any flags above that may contain shell code that varies from one
572 # target library to another.  When doing recursive invocations of the
573 # top-level Makefile, we don't want the outer make to evaluate them,
574 # so we pass these variables down unchanged.  They must not contain
575 # single nor double quotes.
576 RECURSE_FLAGS = \
577         CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
578         RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
579
580 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
581
582 # Flags to pass down to most sub-makes, in which we're building with
583 # the host environment.
584 EXTRA_HOST_FLAGS = \
585         'AR=$(AR)' \
586         'AS=$(AS)' \
587         'CC=$(CC)' \
588         'CXX=$(CXX)' \
589         'DLLTOOL=$(DLLTOOL)' \
590         'LD=$(LD)' \
591         'NM=$(NM)' \
592         'RANLIB=$(RANLIB)' \
593         'WINDRES=$(WINDRES)'
594
595 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
596
597 # Flags that are concerned with the location of the X11 include files
598 # and library files
599 #
600 # NOTE: until the top-level is getting the values via autoconf, it only
601 # causes problems to have this top-level Makefile overriding the autoconf-set
602 # values in child directories.  Only variables that don't conflict with
603 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
604 #
605 X11_FLAGS_TO_PASS = \
606         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
607         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
608
609 # Flags to pass down to makes which are built with the target environment.
610 # The double $ decreases the length of the command line; the variables
611 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
612 EXTRA_TARGET_FLAGS = \
613         'AR=$$(AR_FOR_TARGET)' \
614         'AS=$$(AS_FOR_TARGET)' \
615         'CC=$$(CC_FOR_TARGET)' \
616         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
617         'CXX=$$(CXX_FOR_TARGET)' \
618         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
619         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
620         'LD=$$(LD_FOR_TARGET)' \
621         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
622         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
623         'NM=$$(NM_FOR_TARGET)' \
624         'RANLIB=$$(RANLIB_FOR_TARGET)' \
625         'WINDRES=$$(WINDRES_FOR_TARGET)'
626
627 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
628
629 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
630 # unfortunately needs the native compiler and the target ar and
631 # ranlib.
632 # If any variables are added here, they must be added to do-*, below.
633 # The BUILD_* variables are a special case, which are used for the gcc
634 # cross-building scheme.
635 EXTRA_GCC_FLAGS = \
636         'BUILD_PREFIX=$(BUILD_PREFIX)' \
637         'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
638         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
639         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
640         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646         "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
647         "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
648         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
649
650 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
651
652 .PHONY: configure-host
653 configure-host:  \
654     maybe-configure-ash \
655     maybe-configure-autoconf \
656     maybe-configure-automake \
657     maybe-configure-bash \
658     maybe-configure-bfd \
659     maybe-configure-opcodes \
660     maybe-configure-binutils \
661     maybe-configure-bison \
662     maybe-configure-byacc \
663     maybe-configure-bzip2 \
664     maybe-configure-dejagnu \
665     maybe-configure-diff \
666     maybe-configure-dosutils \
667     maybe-configure-etc \
668     maybe-configure-fastjar \
669     maybe-configure-fileutils \
670     maybe-configure-findutils \
671     maybe-configure-find \
672     maybe-configure-flex \
673     maybe-configure-gas \
674     maybe-configure-gcc \
675     maybe-configure-gawk \
676     maybe-configure-gettext \
677     maybe-configure-gnuserv \
678     maybe-configure-gprof \
679     maybe-configure-gzip \
680     maybe-configure-hello \
681     maybe-configure-indent \
682     maybe-configure-intl \
683     maybe-configure-tcl \
684     maybe-configure-itcl \
685     maybe-configure-ld \
686     maybe-configure-libcpp \
687     maybe-configure-libgui \
688     maybe-configure-libbanshee \
689     maybe-configure-libiberty \
690     maybe-configure-libtool \
691     maybe-configure-m4 \
692     maybe-configure-make \
693     maybe-configure-mmalloc \
694     maybe-configure-patch \
695     maybe-configure-perl \
696     maybe-configure-prms \
697     maybe-configure-rcs \
698     maybe-configure-readline \
699     maybe-configure-release \
700     maybe-configure-recode \
701     maybe-configure-sed \
702     maybe-configure-send-pr \
703     maybe-configure-shellutils \
704     maybe-configure-sid \
705     maybe-configure-sim \
706     maybe-configure-tar \
707     maybe-configure-texinfo \
708     maybe-configure-textutils \
709     maybe-configure-time \
710     maybe-configure-uudecode \
711     maybe-configure-wdiff \
712     maybe-configure-zip \
713     maybe-configure-zlib \
714     maybe-configure-gdb \
715     maybe-configure-expect \
716     maybe-configure-guile \
717     maybe-configure-tk \
718     maybe-configure-tix \
719     maybe-configure-libtermcap \
720     maybe-configure-utils
721 .PHONY: configure-target
722 configure-target:  \
723     maybe-configure-target-libstdc++-v3 \
724     maybe-configure-target-libmudflap \
725     maybe-configure-target-newlib \
726     maybe-configure-target-libgfortran \
727     maybe-configure-target-libobjc \
728     maybe-configure-target-libtermcap \
729     maybe-configure-target-winsup \
730     maybe-configure-target-libgloss \
731     maybe-configure-target-libiberty \
732     maybe-configure-target-gperf \
733     maybe-configure-target-examples \
734     maybe-configure-target-libffi \
735     maybe-configure-target-libjava \
736     maybe-configure-target-zlib \
737     maybe-configure-target-boehm-gc \
738     maybe-configure-target-qthreads \
739     maybe-configure-target-rda \
740     maybe-configure-target-libada
741
742 # The target built for a native non-bootstrap build.
743 .PHONY: all
744 all: unstage all-build all-host all-target stage
745
746 .PHONY: all-build
747 all-build:  \
748     maybe-all-build-libiberty \
749     maybe-all-build-libbanshee \
750     maybe-all-build-bison \
751     maybe-all-build-byacc \
752     maybe-all-build-flex \
753     maybe-all-build-m4 \
754     maybe-all-build-texinfo
755 .PHONY: all-host
756 all-host:  \
757     maybe-all-ash \
758     maybe-all-autoconf \
759     maybe-all-automake \
760     maybe-all-bash \
761     maybe-all-bfd \
762     maybe-all-opcodes \
763     maybe-all-binutils \
764     maybe-all-bison \
765     maybe-all-byacc \
766     maybe-all-bzip2 \
767     maybe-all-dejagnu \
768     maybe-all-diff \
769     maybe-all-dosutils \
770     maybe-all-etc \
771     maybe-all-fastjar \
772     maybe-all-fileutils \
773     maybe-all-findutils \
774     maybe-all-find \
775     maybe-all-flex \
776     maybe-all-gas \
777     maybe-all-gcc \
778     maybe-all-gawk \
779     maybe-all-gettext \
780     maybe-all-gnuserv \
781     maybe-all-gprof \
782     maybe-all-gzip \
783     maybe-all-hello \
784     maybe-all-indent \
785     maybe-all-intl \
786     maybe-all-tcl \
787     maybe-all-itcl \
788     maybe-all-ld \
789     maybe-all-libcpp \
790     maybe-all-libgui \
791     maybe-all-libbanshee \
792     maybe-all-libiberty \
793     maybe-all-libtool \
794     maybe-all-m4 \
795     maybe-all-make \
796     maybe-all-mmalloc \
797     maybe-all-patch \
798     maybe-all-perl \
799     maybe-all-prms \
800     maybe-all-rcs \
801     maybe-all-readline \
802     maybe-all-release \
803     maybe-all-recode \
804     maybe-all-sed \
805     maybe-all-send-pr \
806     maybe-all-shellutils \
807     maybe-all-sid \
808     maybe-all-sim \
809     maybe-all-tar \
810     maybe-all-texinfo \
811     maybe-all-textutils \
812     maybe-all-time \
813     maybe-all-uudecode \
814     maybe-all-wdiff \
815     maybe-all-zip \
816     maybe-all-zlib \
817     maybe-all-gdb \
818     maybe-all-expect \
819     maybe-all-guile \
820     maybe-all-tk \
821     maybe-all-tix \
822     maybe-all-libtermcap \
823     maybe-all-utils
824 .PHONY: all-target
825 all-target:  \
826     maybe-all-target-libstdc++-v3 \
827     maybe-all-target-libmudflap \
828     maybe-all-target-newlib \
829     maybe-all-target-libgfortran \
830     maybe-all-target-libobjc \
831     maybe-all-target-libtermcap \
832     maybe-all-target-winsup \
833     maybe-all-target-libgloss \
834     maybe-all-target-libiberty \
835     maybe-all-target-gperf \
836     maybe-all-target-examples \
837     maybe-all-target-libffi \
838     maybe-all-target-libjava \
839     maybe-all-target-zlib \
840     maybe-all-target-boehm-gc \
841     maybe-all-target-qthreads \
842     maybe-all-target-rda \
843     maybe-all-target-libada
844
845 # Do a target for all the subdirectories.  A ``make do-X'' will do a
846 # ``make X'' in all subdirectories (because, in general, there is a
847 # dependency (below) of X upon do-X, a ``make X'' will also do this,
848 # but it may do additional work as well).
849
850 .PHONY: do-info
851 do-info: unstage info-host info-target stage
852
853 .PHONY: info-host
854 info-host:  \
855     maybe-info-ash \
856     maybe-info-autoconf \
857     maybe-info-automake \
858     maybe-info-bash \
859     maybe-info-bfd \
860     maybe-info-opcodes \
861     maybe-info-binutils \
862     maybe-info-bison \
863     maybe-info-byacc \
864     maybe-info-bzip2 \
865     maybe-info-dejagnu \
866     maybe-info-diff \
867     maybe-info-dosutils \
868     maybe-info-etc \
869     maybe-info-fastjar \
870     maybe-info-fileutils \
871     maybe-info-findutils \
872     maybe-info-find \
873     maybe-info-flex \
874     maybe-info-gas \
875     maybe-info-gcc \
876     maybe-info-gawk \
877     maybe-info-gettext \
878     maybe-info-gnuserv \
879     maybe-info-gprof \
880     maybe-info-gzip \
881     maybe-info-hello \
882     maybe-info-indent \
883     maybe-info-intl \
884     maybe-info-tcl \
885     maybe-info-itcl \
886     maybe-info-ld \
887     maybe-info-libcpp \
888     maybe-info-libgui \
889     maybe-info-libbanshee \
890     maybe-info-libiberty \
891     maybe-info-libtool \
892     maybe-info-m4 \
893     maybe-info-make \
894     maybe-info-mmalloc \
895     maybe-info-patch \
896     maybe-info-perl \
897     maybe-info-prms \
898     maybe-info-rcs \
899     maybe-info-readline \
900     maybe-info-release \
901     maybe-info-recode \
902     maybe-info-sed \
903     maybe-info-send-pr \
904     maybe-info-shellutils \
905     maybe-info-sid \
906     maybe-info-sim \
907     maybe-info-tar \
908     maybe-info-texinfo \
909     maybe-info-textutils \
910     maybe-info-time \
911     maybe-info-uudecode \
912     maybe-info-wdiff \
913     maybe-info-zip \
914     maybe-info-zlib \
915     maybe-info-gdb \
916     maybe-info-expect \
917     maybe-info-guile \
918     maybe-info-tk \
919     maybe-info-tix \
920     maybe-info-libtermcap \
921     maybe-info-utils
922
923 .PHONY: info-target
924 info-target:  \
925     maybe-info-target-libstdc++-v3 \
926     maybe-info-target-libmudflap \
927     maybe-info-target-newlib \
928     maybe-info-target-libgfortran \
929     maybe-info-target-libobjc \
930     maybe-info-target-libtermcap \
931     maybe-info-target-winsup \
932     maybe-info-target-libgloss \
933     maybe-info-target-libiberty \
934     maybe-info-target-gperf \
935     maybe-info-target-examples \
936     maybe-info-target-libffi \
937     maybe-info-target-libjava \
938     maybe-info-target-zlib \
939     maybe-info-target-boehm-gc \
940     maybe-info-target-qthreads \
941     maybe-info-target-rda \
942     maybe-info-target-libada
943
944 .PHONY: do-dvi
945 do-dvi: unstage dvi-host dvi-target stage
946
947 .PHONY: dvi-host
948 dvi-host:  \
949     maybe-dvi-ash \
950     maybe-dvi-autoconf \
951     maybe-dvi-automake \
952     maybe-dvi-bash \
953     maybe-dvi-bfd \
954     maybe-dvi-opcodes \
955     maybe-dvi-binutils \
956     maybe-dvi-bison \
957     maybe-dvi-byacc \
958     maybe-dvi-bzip2 \
959     maybe-dvi-dejagnu \
960     maybe-dvi-diff \
961     maybe-dvi-dosutils \
962     maybe-dvi-etc \
963     maybe-dvi-fastjar \
964     maybe-dvi-fileutils \
965     maybe-dvi-findutils \
966     maybe-dvi-find \
967     maybe-dvi-flex \
968     maybe-dvi-gas \
969     maybe-dvi-gcc \
970     maybe-dvi-gawk \
971     maybe-dvi-gettext \
972     maybe-dvi-gnuserv \
973     maybe-dvi-gprof \
974     maybe-dvi-gzip \
975     maybe-dvi-hello \
976     maybe-dvi-indent \
977     maybe-dvi-intl \
978     maybe-dvi-tcl \
979     maybe-dvi-itcl \
980     maybe-dvi-ld \
981     maybe-dvi-libcpp \
982     maybe-dvi-libgui \
983     maybe-dvi-libbanshee \
984     maybe-dvi-libiberty \
985     maybe-dvi-libtool \
986     maybe-dvi-m4 \
987     maybe-dvi-make \
988     maybe-dvi-mmalloc \
989     maybe-dvi-patch \
990     maybe-dvi-perl \
991     maybe-dvi-prms \
992     maybe-dvi-rcs \
993     maybe-dvi-readline \
994     maybe-dvi-release \
995     maybe-dvi-recode \
996     maybe-dvi-sed \
997     maybe-dvi-send-pr \
998     maybe-dvi-shellutils \
999     maybe-dvi-sid \
1000     maybe-dvi-sim \
1001     maybe-dvi-tar \
1002     maybe-dvi-texinfo \
1003     maybe-dvi-textutils \
1004     maybe-dvi-time \
1005     maybe-dvi-uudecode \
1006     maybe-dvi-wdiff \
1007     maybe-dvi-zip \
1008     maybe-dvi-zlib \
1009     maybe-dvi-gdb \
1010     maybe-dvi-expect \
1011     maybe-dvi-guile \
1012     maybe-dvi-tk \
1013     maybe-dvi-tix \
1014     maybe-dvi-libtermcap \
1015     maybe-dvi-utils
1016
1017 .PHONY: dvi-target
1018 dvi-target:  \
1019     maybe-dvi-target-libstdc++-v3 \
1020     maybe-dvi-target-libmudflap \
1021     maybe-dvi-target-newlib \
1022     maybe-dvi-target-libgfortran \
1023     maybe-dvi-target-libobjc \
1024     maybe-dvi-target-libtermcap \
1025     maybe-dvi-target-winsup \
1026     maybe-dvi-target-libgloss \
1027     maybe-dvi-target-libiberty \
1028     maybe-dvi-target-gperf \
1029     maybe-dvi-target-examples \
1030     maybe-dvi-target-libffi \
1031     maybe-dvi-target-libjava \
1032     maybe-dvi-target-zlib \
1033     maybe-dvi-target-boehm-gc \
1034     maybe-dvi-target-qthreads \
1035     maybe-dvi-target-rda \
1036     maybe-dvi-target-libada
1037
1038 .PHONY: do-TAGS
1039 do-TAGS: unstage TAGS-host TAGS-target stage
1040
1041 .PHONY: TAGS-host
1042 TAGS-host:  \
1043     maybe-TAGS-ash \
1044     maybe-TAGS-autoconf \
1045     maybe-TAGS-automake \
1046     maybe-TAGS-bash \
1047     maybe-TAGS-bfd \
1048     maybe-TAGS-opcodes \
1049     maybe-TAGS-binutils \
1050     maybe-TAGS-bison \
1051     maybe-TAGS-byacc \
1052     maybe-TAGS-bzip2 \
1053     maybe-TAGS-dejagnu \
1054     maybe-TAGS-diff \
1055     maybe-TAGS-dosutils \
1056     maybe-TAGS-etc \
1057     maybe-TAGS-fastjar \
1058     maybe-TAGS-fileutils \
1059     maybe-TAGS-findutils \
1060     maybe-TAGS-find \
1061     maybe-TAGS-flex \
1062     maybe-TAGS-gas \
1063     maybe-TAGS-gcc \
1064     maybe-TAGS-gawk \
1065     maybe-TAGS-gettext \
1066     maybe-TAGS-gnuserv \
1067     maybe-TAGS-gprof \
1068     maybe-TAGS-gzip \
1069     maybe-TAGS-hello \
1070     maybe-TAGS-indent \
1071     maybe-TAGS-intl \
1072     maybe-TAGS-tcl \
1073     maybe-TAGS-itcl \
1074     maybe-TAGS-ld \
1075     maybe-TAGS-libcpp \
1076     maybe-TAGS-libgui \
1077     maybe-TAGS-libbanshee \
1078     maybe-TAGS-libiberty \
1079     maybe-TAGS-libtool \
1080     maybe-TAGS-m4 \
1081     maybe-TAGS-make \
1082     maybe-TAGS-mmalloc \
1083     maybe-TAGS-patch \
1084     maybe-TAGS-perl \
1085     maybe-TAGS-prms \
1086     maybe-TAGS-rcs \
1087     maybe-TAGS-readline \
1088     maybe-TAGS-release \
1089     maybe-TAGS-recode \
1090     maybe-TAGS-sed \
1091     maybe-TAGS-send-pr \
1092     maybe-TAGS-shellutils \
1093     maybe-TAGS-sid \
1094     maybe-TAGS-sim \
1095     maybe-TAGS-tar \
1096     maybe-TAGS-texinfo \
1097     maybe-TAGS-textutils \
1098     maybe-TAGS-time \
1099     maybe-TAGS-uudecode \
1100     maybe-TAGS-wdiff \
1101     maybe-TAGS-zip \
1102     maybe-TAGS-zlib \
1103     maybe-TAGS-gdb \
1104     maybe-TAGS-expect \
1105     maybe-TAGS-guile \
1106     maybe-TAGS-tk \
1107     maybe-TAGS-tix \
1108     maybe-TAGS-libtermcap \
1109     maybe-TAGS-utils
1110
1111 .PHONY: TAGS-target
1112 TAGS-target:  \
1113     maybe-TAGS-target-libstdc++-v3 \
1114     maybe-TAGS-target-libmudflap \
1115     maybe-TAGS-target-newlib \
1116     maybe-TAGS-target-libgfortran \
1117     maybe-TAGS-target-libobjc \
1118     maybe-TAGS-target-libtermcap \
1119     maybe-TAGS-target-winsup \
1120     maybe-TAGS-target-libgloss \
1121     maybe-TAGS-target-libiberty \
1122     maybe-TAGS-target-gperf \
1123     maybe-TAGS-target-examples \
1124     maybe-TAGS-target-libffi \
1125     maybe-TAGS-target-libjava \
1126     maybe-TAGS-target-zlib \
1127     maybe-TAGS-target-boehm-gc \
1128     maybe-TAGS-target-qthreads \
1129     maybe-TAGS-target-rda \
1130     maybe-TAGS-target-libada
1131
1132 .PHONY: do-install-info
1133 do-install-info: unstage install-info-host install-info-target stage
1134
1135 .PHONY: install-info-host
1136 install-info-host:  \
1137     maybe-install-info-ash \
1138     maybe-install-info-autoconf \
1139     maybe-install-info-automake \
1140     maybe-install-info-bash \
1141     maybe-install-info-bfd \
1142     maybe-install-info-opcodes \
1143     maybe-install-info-binutils \
1144     maybe-install-info-bison \
1145     maybe-install-info-byacc \
1146     maybe-install-info-bzip2 \
1147     maybe-install-info-dejagnu \
1148     maybe-install-info-diff \
1149     maybe-install-info-dosutils \
1150     maybe-install-info-etc \
1151     maybe-install-info-fastjar \
1152     maybe-install-info-fileutils \
1153     maybe-install-info-findutils \
1154     maybe-install-info-find \
1155     maybe-install-info-flex \
1156     maybe-install-info-gas \
1157     maybe-install-info-gcc \
1158     maybe-install-info-gawk \
1159     maybe-install-info-gettext \
1160     maybe-install-info-gnuserv \
1161     maybe-install-info-gprof \
1162     maybe-install-info-gzip \
1163     maybe-install-info-hello \
1164     maybe-install-info-indent \
1165     maybe-install-info-intl \
1166     maybe-install-info-tcl \
1167     maybe-install-info-itcl \
1168     maybe-install-info-ld \
1169     maybe-install-info-libcpp \
1170     maybe-install-info-libgui \
1171     maybe-install-info-libbanshee \
1172     maybe-install-info-libiberty \
1173     maybe-install-info-libtool \
1174     maybe-install-info-m4 \
1175     maybe-install-info-make \
1176     maybe-install-info-mmalloc \
1177     maybe-install-info-patch \
1178     maybe-install-info-perl \
1179     maybe-install-info-prms \
1180     maybe-install-info-rcs \
1181     maybe-install-info-readline \
1182     maybe-install-info-release \
1183     maybe-install-info-recode \
1184     maybe-install-info-sed \
1185     maybe-install-info-send-pr \
1186     maybe-install-info-shellutils \
1187     maybe-install-info-sid \
1188     maybe-install-info-sim \
1189     maybe-install-info-tar \
1190     maybe-install-info-texinfo \
1191     maybe-install-info-textutils \
1192     maybe-install-info-time \
1193     maybe-install-info-uudecode \
1194     maybe-install-info-wdiff \
1195     maybe-install-info-zip \
1196     maybe-install-info-zlib \
1197     maybe-install-info-gdb \
1198     maybe-install-info-expect \
1199     maybe-install-info-guile \
1200     maybe-install-info-tk \
1201     maybe-install-info-tix \
1202     maybe-install-info-libtermcap \
1203     maybe-install-info-utils
1204
1205 .PHONY: install-info-target
1206 install-info-target:  \
1207     maybe-install-info-target-libstdc++-v3 \
1208     maybe-install-info-target-libmudflap \
1209     maybe-install-info-target-newlib \
1210     maybe-install-info-target-libgfortran \
1211     maybe-install-info-target-libobjc \
1212     maybe-install-info-target-libtermcap \
1213     maybe-install-info-target-winsup \
1214     maybe-install-info-target-libgloss \
1215     maybe-install-info-target-libiberty \
1216     maybe-install-info-target-gperf \
1217     maybe-install-info-target-examples \
1218     maybe-install-info-target-libffi \
1219     maybe-install-info-target-libjava \
1220     maybe-install-info-target-zlib \
1221     maybe-install-info-target-boehm-gc \
1222     maybe-install-info-target-qthreads \
1223     maybe-install-info-target-rda \
1224     maybe-install-info-target-libada
1225
1226 .PHONY: do-installcheck
1227 do-installcheck: unstage installcheck-host installcheck-target stage
1228
1229 .PHONY: installcheck-host
1230 installcheck-host:  \
1231     maybe-installcheck-ash \
1232     maybe-installcheck-autoconf \
1233     maybe-installcheck-automake \
1234     maybe-installcheck-bash \
1235     maybe-installcheck-bfd \
1236     maybe-installcheck-opcodes \
1237     maybe-installcheck-binutils \
1238     maybe-installcheck-bison \
1239     maybe-installcheck-byacc \
1240     maybe-installcheck-bzip2 \
1241     maybe-installcheck-dejagnu \
1242     maybe-installcheck-diff \
1243     maybe-installcheck-dosutils \
1244     maybe-installcheck-etc \
1245     maybe-installcheck-fastjar \
1246     maybe-installcheck-fileutils \
1247     maybe-installcheck-findutils \
1248     maybe-installcheck-find \
1249     maybe-installcheck-flex \
1250     maybe-installcheck-gas \
1251     maybe-installcheck-gcc \
1252     maybe-installcheck-gawk \
1253     maybe-installcheck-gettext \
1254     maybe-installcheck-gnuserv \
1255     maybe-installcheck-gprof \
1256     maybe-installcheck-gzip \
1257     maybe-installcheck-hello \
1258     maybe-installcheck-indent \
1259     maybe-installcheck-intl \
1260     maybe-installcheck-tcl \
1261     maybe-installcheck-itcl \
1262     maybe-installcheck-ld \
1263     maybe-installcheck-libcpp \
1264     maybe-installcheck-libgui \
1265     maybe-installcheck-libbanshee \
1266     maybe-installcheck-libiberty \
1267     maybe-installcheck-libtool \
1268     maybe-installcheck-m4 \
1269     maybe-installcheck-make \
1270     maybe-installcheck-mmalloc \
1271     maybe-installcheck-patch \
1272     maybe-installcheck-perl \
1273     maybe-installcheck-prms \
1274     maybe-installcheck-rcs \
1275     maybe-installcheck-readline \
1276     maybe-installcheck-release \
1277     maybe-installcheck-recode \
1278     maybe-installcheck-sed \
1279     maybe-installcheck-send-pr \
1280     maybe-installcheck-shellutils \
1281     maybe-installcheck-sid \
1282     maybe-installcheck-sim \
1283     maybe-installcheck-tar \
1284     maybe-installcheck-texinfo \
1285     maybe-installcheck-textutils \
1286     maybe-installcheck-time \
1287     maybe-installcheck-uudecode \
1288     maybe-installcheck-wdiff \
1289     maybe-installcheck-zip \
1290     maybe-installcheck-zlib \
1291     maybe-installcheck-gdb \
1292     maybe-installcheck-expect \
1293     maybe-installcheck-guile \
1294     maybe-installcheck-tk \
1295     maybe-installcheck-tix \
1296     maybe-installcheck-libtermcap \
1297     maybe-installcheck-utils
1298
1299 .PHONY: installcheck-target
1300 installcheck-target:  \
1301     maybe-installcheck-target-libstdc++-v3 \
1302     maybe-installcheck-target-libmudflap \
1303     maybe-installcheck-target-newlib \
1304     maybe-installcheck-target-libgfortran \
1305     maybe-installcheck-target-libobjc \
1306     maybe-installcheck-target-libtermcap \
1307     maybe-installcheck-target-winsup \
1308     maybe-installcheck-target-libgloss \
1309     maybe-installcheck-target-libiberty \
1310     maybe-installcheck-target-gperf \
1311     maybe-installcheck-target-examples \
1312     maybe-installcheck-target-libffi \
1313     maybe-installcheck-target-libjava \
1314     maybe-installcheck-target-zlib \
1315     maybe-installcheck-target-boehm-gc \
1316     maybe-installcheck-target-qthreads \
1317     maybe-installcheck-target-rda \
1318     maybe-installcheck-target-libada
1319
1320 .PHONY: do-mostlyclean
1321 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1322
1323 .PHONY: mostlyclean-host
1324 mostlyclean-host:  \
1325     maybe-mostlyclean-ash \
1326     maybe-mostlyclean-autoconf \
1327     maybe-mostlyclean-automake \
1328     maybe-mostlyclean-bash \
1329     maybe-mostlyclean-bfd \
1330     maybe-mostlyclean-opcodes \
1331     maybe-mostlyclean-binutils \
1332     maybe-mostlyclean-bison \
1333     maybe-mostlyclean-byacc \
1334     maybe-mostlyclean-bzip2 \
1335     maybe-mostlyclean-dejagnu \
1336     maybe-mostlyclean-diff \
1337     maybe-mostlyclean-dosutils \
1338     maybe-mostlyclean-etc \
1339     maybe-mostlyclean-fastjar \
1340     maybe-mostlyclean-fileutils \
1341     maybe-mostlyclean-findutils \
1342     maybe-mostlyclean-find \
1343     maybe-mostlyclean-flex \
1344     maybe-mostlyclean-gas \
1345     maybe-mostlyclean-gcc \
1346     maybe-mostlyclean-gawk \
1347     maybe-mostlyclean-gettext \
1348     maybe-mostlyclean-gnuserv \
1349     maybe-mostlyclean-gprof \
1350     maybe-mostlyclean-gzip \
1351     maybe-mostlyclean-hello \
1352     maybe-mostlyclean-indent \
1353     maybe-mostlyclean-intl \
1354     maybe-mostlyclean-tcl \
1355     maybe-mostlyclean-itcl \
1356     maybe-mostlyclean-ld \
1357     maybe-mostlyclean-libcpp \
1358     maybe-mostlyclean-libgui \
1359     maybe-mostlyclean-libbanshee \
1360     maybe-mostlyclean-libiberty \
1361     maybe-mostlyclean-libtool \
1362     maybe-mostlyclean-m4 \
1363     maybe-mostlyclean-make \
1364     maybe-mostlyclean-mmalloc \
1365     maybe-mostlyclean-patch \
1366     maybe-mostlyclean-perl \
1367     maybe-mostlyclean-prms \
1368     maybe-mostlyclean-rcs \
1369     maybe-mostlyclean-readline \
1370     maybe-mostlyclean-release \
1371     maybe-mostlyclean-recode \
1372     maybe-mostlyclean-sed \
1373     maybe-mostlyclean-send-pr \
1374     maybe-mostlyclean-shellutils \
1375     maybe-mostlyclean-sid \
1376     maybe-mostlyclean-sim \
1377     maybe-mostlyclean-tar \
1378     maybe-mostlyclean-texinfo \
1379     maybe-mostlyclean-textutils \
1380     maybe-mostlyclean-time \
1381     maybe-mostlyclean-uudecode \
1382     maybe-mostlyclean-wdiff \
1383     maybe-mostlyclean-zip \
1384     maybe-mostlyclean-zlib \
1385     maybe-mostlyclean-gdb \
1386     maybe-mostlyclean-expect \
1387     maybe-mostlyclean-guile \
1388     maybe-mostlyclean-tk \
1389     maybe-mostlyclean-tix \
1390     maybe-mostlyclean-libtermcap \
1391     maybe-mostlyclean-utils
1392
1393 .PHONY: mostlyclean-target
1394 mostlyclean-target:  \
1395     maybe-mostlyclean-target-libstdc++-v3 \
1396     maybe-mostlyclean-target-libmudflap \
1397     maybe-mostlyclean-target-newlib \
1398     maybe-mostlyclean-target-libgfortran \
1399     maybe-mostlyclean-target-libobjc \
1400     maybe-mostlyclean-target-libtermcap \
1401     maybe-mostlyclean-target-winsup \
1402     maybe-mostlyclean-target-libgloss \
1403     maybe-mostlyclean-target-libiberty \
1404     maybe-mostlyclean-target-gperf \
1405     maybe-mostlyclean-target-examples \
1406     maybe-mostlyclean-target-libffi \
1407     maybe-mostlyclean-target-libjava \
1408     maybe-mostlyclean-target-zlib \
1409     maybe-mostlyclean-target-boehm-gc \
1410     maybe-mostlyclean-target-qthreads \
1411     maybe-mostlyclean-target-rda \
1412     maybe-mostlyclean-target-libada
1413
1414 .PHONY: do-clean
1415 do-clean: unstage clean-host clean-target stage
1416
1417 .PHONY: clean-host
1418 clean-host:  \
1419     maybe-clean-ash \
1420     maybe-clean-autoconf \
1421     maybe-clean-automake \
1422     maybe-clean-bash \
1423     maybe-clean-bfd \
1424     maybe-clean-opcodes \
1425     maybe-clean-binutils \
1426     maybe-clean-bison \
1427     maybe-clean-byacc \
1428     maybe-clean-bzip2 \
1429     maybe-clean-dejagnu \
1430     maybe-clean-diff \
1431     maybe-clean-dosutils \
1432     maybe-clean-etc \
1433     maybe-clean-fastjar \
1434     maybe-clean-fileutils \
1435     maybe-clean-findutils \
1436     maybe-clean-find \
1437     maybe-clean-flex \
1438     maybe-clean-gas \
1439     maybe-clean-gcc \
1440     maybe-clean-gawk \
1441     maybe-clean-gettext \
1442     maybe-clean-gnuserv \
1443     maybe-clean-gprof \
1444     maybe-clean-gzip \
1445     maybe-clean-hello \
1446     maybe-clean-indent \
1447     maybe-clean-intl \
1448     maybe-clean-tcl \
1449     maybe-clean-itcl \
1450     maybe-clean-ld \
1451     maybe-clean-libcpp \
1452     maybe-clean-libgui \
1453     maybe-clean-libbanshee \
1454     maybe-clean-libiberty \
1455     maybe-clean-libtool \
1456     maybe-clean-m4 \
1457     maybe-clean-make \
1458     maybe-clean-mmalloc \
1459     maybe-clean-patch \
1460     maybe-clean-perl \
1461     maybe-clean-prms \
1462     maybe-clean-rcs \
1463     maybe-clean-readline \
1464     maybe-clean-release \
1465     maybe-clean-recode \
1466     maybe-clean-sed \
1467     maybe-clean-send-pr \
1468     maybe-clean-shellutils \
1469     maybe-clean-sid \
1470     maybe-clean-sim \
1471     maybe-clean-tar \
1472     maybe-clean-texinfo \
1473     maybe-clean-textutils \
1474     maybe-clean-time \
1475     maybe-clean-uudecode \
1476     maybe-clean-wdiff \
1477     maybe-clean-zip \
1478     maybe-clean-zlib \
1479     maybe-clean-gdb \
1480     maybe-clean-expect \
1481     maybe-clean-guile \
1482     maybe-clean-tk \
1483     maybe-clean-tix \
1484     maybe-clean-libtermcap \
1485     maybe-clean-utils
1486
1487 .PHONY: clean-target
1488 clean-target:  \
1489     maybe-clean-target-libstdc++-v3 \
1490     maybe-clean-target-libmudflap \
1491     maybe-clean-target-newlib \
1492     maybe-clean-target-libgfortran \
1493     maybe-clean-target-libobjc \
1494     maybe-clean-target-libtermcap \
1495     maybe-clean-target-winsup \
1496     maybe-clean-target-libgloss \
1497     maybe-clean-target-libiberty \
1498     maybe-clean-target-gperf \
1499     maybe-clean-target-examples \
1500     maybe-clean-target-libffi \
1501     maybe-clean-target-libjava \
1502     maybe-clean-target-zlib \
1503     maybe-clean-target-boehm-gc \
1504     maybe-clean-target-qthreads \
1505     maybe-clean-target-rda \
1506     maybe-clean-target-libada
1507
1508 .PHONY: do-distclean
1509 do-distclean: unstage distclean-host distclean-target stage
1510
1511 .PHONY: distclean-host
1512 distclean-host:  \
1513     maybe-distclean-ash \
1514     maybe-distclean-autoconf \
1515     maybe-distclean-automake \
1516     maybe-distclean-bash \
1517     maybe-distclean-bfd \
1518     maybe-distclean-opcodes \
1519     maybe-distclean-binutils \
1520     maybe-distclean-bison \
1521     maybe-distclean-byacc \
1522     maybe-distclean-bzip2 \
1523     maybe-distclean-dejagnu \
1524     maybe-distclean-diff \
1525     maybe-distclean-dosutils \
1526     maybe-distclean-etc \
1527     maybe-distclean-fastjar \
1528     maybe-distclean-fileutils \
1529     maybe-distclean-findutils \
1530     maybe-distclean-find \
1531     maybe-distclean-flex \
1532     maybe-distclean-gas \
1533     maybe-distclean-gcc \
1534     maybe-distclean-gawk \
1535     maybe-distclean-gettext \
1536     maybe-distclean-gnuserv \
1537     maybe-distclean-gprof \
1538     maybe-distclean-gzip \
1539     maybe-distclean-hello \
1540     maybe-distclean-indent \
1541     maybe-distclean-intl \
1542     maybe-distclean-tcl \
1543     maybe-distclean-itcl \
1544     maybe-distclean-ld \
1545     maybe-distclean-libcpp \
1546     maybe-distclean-libgui \
1547     maybe-distclean-libbanshee \
1548     maybe-distclean-libiberty \
1549     maybe-distclean-libtool \
1550     maybe-distclean-m4 \
1551     maybe-distclean-make \
1552     maybe-distclean-mmalloc \
1553     maybe-distclean-patch \
1554     maybe-distclean-perl \
1555     maybe-distclean-prms \
1556     maybe-distclean-rcs \
1557     maybe-distclean-readline \
1558     maybe-distclean-release \
1559     maybe-distclean-recode \
1560     maybe-distclean-sed \
1561     maybe-distclean-send-pr \
1562     maybe-distclean-shellutils \
1563     maybe-distclean-sid \
1564     maybe-distclean-sim \
1565     maybe-distclean-tar \
1566     maybe-distclean-texinfo \
1567     maybe-distclean-textutils \
1568     maybe-distclean-time \
1569     maybe-distclean-uudecode \
1570     maybe-distclean-wdiff \
1571     maybe-distclean-zip \
1572     maybe-distclean-zlib \
1573     maybe-distclean-gdb \
1574     maybe-distclean-expect \
1575     maybe-distclean-guile \
1576     maybe-distclean-tk \
1577     maybe-distclean-tix \
1578     maybe-distclean-libtermcap \
1579     maybe-distclean-utils
1580
1581 .PHONY: distclean-target
1582 distclean-target:  \
1583     maybe-distclean-target-libstdc++-v3 \
1584     maybe-distclean-target-libmudflap \
1585     maybe-distclean-target-newlib \
1586     maybe-distclean-target-libgfortran \
1587     maybe-distclean-target-libobjc \
1588     maybe-distclean-target-libtermcap \
1589     maybe-distclean-target-winsup \
1590     maybe-distclean-target-libgloss \
1591     maybe-distclean-target-libiberty \
1592     maybe-distclean-target-gperf \
1593     maybe-distclean-target-examples \
1594     maybe-distclean-target-libffi \
1595     maybe-distclean-target-libjava \
1596     maybe-distclean-target-zlib \
1597     maybe-distclean-target-boehm-gc \
1598     maybe-distclean-target-qthreads \
1599     maybe-distclean-target-rda \
1600     maybe-distclean-target-libada
1601
1602 .PHONY: do-maintainer-clean
1603 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1604
1605 .PHONY: maintainer-clean-host
1606 maintainer-clean-host:  \
1607     maybe-maintainer-clean-ash \
1608     maybe-maintainer-clean-autoconf \
1609     maybe-maintainer-clean-automake \
1610     maybe-maintainer-clean-bash \
1611     maybe-maintainer-clean-bfd \
1612     maybe-maintainer-clean-opcodes \
1613     maybe-maintainer-clean-binutils \
1614     maybe-maintainer-clean-bison \
1615     maybe-maintainer-clean-byacc \
1616     maybe-maintainer-clean-bzip2 \
1617     maybe-maintainer-clean-dejagnu \
1618     maybe-maintainer-clean-diff \
1619     maybe-maintainer-clean-dosutils \
1620     maybe-maintainer-clean-etc \
1621     maybe-maintainer-clean-fastjar \
1622     maybe-maintainer-clean-fileutils \
1623     maybe-maintainer-clean-findutils \
1624     maybe-maintainer-clean-find \
1625     maybe-maintainer-clean-flex \
1626     maybe-maintainer-clean-gas \
1627     maybe-maintainer-clean-gcc \
1628     maybe-maintainer-clean-gawk \
1629     maybe-maintainer-clean-gettext \
1630     maybe-maintainer-clean-gnuserv \
1631     maybe-maintainer-clean-gprof \
1632     maybe-maintainer-clean-gzip \
1633     maybe-maintainer-clean-hello \
1634     maybe-maintainer-clean-indent \
1635     maybe-maintainer-clean-intl \
1636     maybe-maintainer-clean-tcl \
1637     maybe-maintainer-clean-itcl \
1638     maybe-maintainer-clean-ld \
1639     maybe-maintainer-clean-libcpp \
1640     maybe-maintainer-clean-libgui \
1641     maybe-maintainer-clean-libbanshee \
1642     maybe-maintainer-clean-libiberty \
1643     maybe-maintainer-clean-libtool \
1644     maybe-maintainer-clean-m4 \
1645     maybe-maintainer-clean-make \
1646     maybe-maintainer-clean-mmalloc \
1647     maybe-maintainer-clean-patch \
1648     maybe-maintainer-clean-perl \
1649     maybe-maintainer-clean-prms \
1650     maybe-maintainer-clean-rcs \
1651     maybe-maintainer-clean-readline \
1652     maybe-maintainer-clean-release \
1653     maybe-maintainer-clean-recode \
1654     maybe-maintainer-clean-sed \
1655     maybe-maintainer-clean-send-pr \
1656     maybe-maintainer-clean-shellutils \
1657     maybe-maintainer-clean-sid \
1658     maybe-maintainer-clean-sim \
1659     maybe-maintainer-clean-tar \
1660     maybe-maintainer-clean-texinfo \
1661     maybe-maintainer-clean-textutils \
1662     maybe-maintainer-clean-time \
1663     maybe-maintainer-clean-uudecode \
1664     maybe-maintainer-clean-wdiff \
1665     maybe-maintainer-clean-zip \
1666     maybe-maintainer-clean-zlib \
1667     maybe-maintainer-clean-gdb \
1668     maybe-maintainer-clean-expect \
1669     maybe-maintainer-clean-guile \
1670     maybe-maintainer-clean-tk \
1671     maybe-maintainer-clean-tix \
1672     maybe-maintainer-clean-libtermcap \
1673     maybe-maintainer-clean-utils
1674
1675 .PHONY: maintainer-clean-target
1676 maintainer-clean-target:  \
1677     maybe-maintainer-clean-target-libstdc++-v3 \
1678     maybe-maintainer-clean-target-libmudflap \
1679     maybe-maintainer-clean-target-newlib \
1680     maybe-maintainer-clean-target-libgfortran \
1681     maybe-maintainer-clean-target-libobjc \
1682     maybe-maintainer-clean-target-libtermcap \
1683     maybe-maintainer-clean-target-winsup \
1684     maybe-maintainer-clean-target-libgloss \
1685     maybe-maintainer-clean-target-libiberty \
1686     maybe-maintainer-clean-target-gperf \
1687     maybe-maintainer-clean-target-examples \
1688     maybe-maintainer-clean-target-libffi \
1689     maybe-maintainer-clean-target-libjava \
1690     maybe-maintainer-clean-target-zlib \
1691     maybe-maintainer-clean-target-boehm-gc \
1692     maybe-maintainer-clean-target-qthreads \
1693     maybe-maintainer-clean-target-rda \
1694     maybe-maintainer-clean-target-libada
1695
1696
1697 # Here are the targets which correspond to the do-X targets.
1698
1699 .PHONY: info installcheck dvi install-info
1700 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1701 .PHONY: local-clean local-distclean local-maintainer-clean
1702 info: do-info
1703 installcheck: do-installcheck
1704 dvi: do-dvi
1705
1706 # Make sure makeinfo is built before we do a `make info', if we're
1707 # in fact building texinfo.
1708 do-info: maybe-all-texinfo
1709
1710 install-info: do-install-info dir.info
1711         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1712         if [ -f dir.info ] ; then \
1713           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1714         else true ; fi
1715
1716 local-clean:
1717         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1718
1719 local-distclean:
1720         -rm -f Makefile config.status config.cache mh-frag mt-frag
1721         -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1722         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1723           rm -rf $(TARGET_SUBDIR); \
1724         else true; fi
1725         -rm -rf $(BUILD_SUBDIR)
1726         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1727         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1728         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1729         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1730         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1731
1732 local-maintainer-clean:
1733         @echo "This command is intended for maintainers to use;"
1734         @echo "it deletes files that may require special tools to rebuild."
1735
1736 clean: do-clean local-clean
1737 mostlyclean: do-mostlyclean local-clean
1738 distclean: do-distclean local-clean local-distclean
1739 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
1740 maintainer-clean: local-distclean
1741 realclean: maintainer-clean
1742
1743 # Extra dependency for clean-target, owing to the mixed nature of gcc
1744 clean-target: clean-target-libgcc
1745 clean-target-libgcc:
1746         test ! -d gcc/libgcc || \
1747         (cd gcc/libgcc && find . -type d -print) | \
1748         while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1749         -rm -rf gcc/libgcc
1750
1751 # Check target.
1752
1753 .PHONY: check do-check
1754 check: do-check
1755
1756 # Only include modules actually being configured and built.
1757 do-check: unstage  \
1758     maybe-check-ash \
1759     maybe-check-autoconf \
1760     maybe-check-automake \
1761     maybe-check-bash \
1762     maybe-check-bfd \
1763     maybe-check-opcodes \
1764     maybe-check-binutils \
1765     maybe-check-bison \
1766     maybe-check-byacc \
1767     maybe-check-bzip2 \
1768     maybe-check-dejagnu \
1769     maybe-check-diff \
1770     maybe-check-dosutils \
1771     maybe-check-etc \
1772     maybe-check-fastjar \
1773     maybe-check-fileutils \
1774     maybe-check-findutils \
1775     maybe-check-find \
1776     maybe-check-flex \
1777     maybe-check-gas \
1778     maybe-check-gcc \
1779     maybe-check-gawk \
1780     maybe-check-gettext \
1781     maybe-check-gnuserv \
1782     maybe-check-gprof \
1783     maybe-check-gzip \
1784     maybe-check-hello \
1785     maybe-check-indent \
1786     maybe-check-intl \
1787     maybe-check-tcl \
1788     maybe-check-itcl \
1789     maybe-check-ld \
1790     maybe-check-libcpp \
1791     maybe-check-libgui \
1792     maybe-check-libbanshee \
1793     maybe-check-libiberty \
1794     maybe-check-libtool \
1795     maybe-check-m4 \
1796     maybe-check-make \
1797     maybe-check-mmalloc \
1798     maybe-check-patch \
1799     maybe-check-perl \
1800     maybe-check-prms \
1801     maybe-check-rcs \
1802     maybe-check-readline \
1803     maybe-check-release \
1804     maybe-check-recode \
1805     maybe-check-sed \
1806     maybe-check-send-pr \
1807     maybe-check-shellutils \
1808     maybe-check-sid \
1809     maybe-check-sim \
1810     maybe-check-tar \
1811     maybe-check-texinfo \
1812     maybe-check-textutils \
1813     maybe-check-time \
1814     maybe-check-uudecode \
1815     maybe-check-wdiff \
1816     maybe-check-zip \
1817     maybe-check-zlib \
1818     maybe-check-gdb \
1819     maybe-check-expect \
1820     maybe-check-guile \
1821     maybe-check-tk \
1822     maybe-check-tix \
1823     maybe-check-libtermcap \
1824     maybe-check-utils \
1825     maybe-check-target-libstdc++-v3 \
1826     maybe-check-target-libmudflap \
1827     maybe-check-target-newlib \
1828     maybe-check-target-libgfortran \
1829     maybe-check-target-libobjc \
1830     maybe-check-target-libtermcap \
1831     maybe-check-target-winsup \
1832     maybe-check-target-libgloss \
1833     maybe-check-target-libiberty \
1834     maybe-check-target-gperf \
1835     maybe-check-target-examples \
1836     maybe-check-target-libffi \
1837     maybe-check-target-libjava \
1838     maybe-check-target-zlib \
1839     maybe-check-target-boehm-gc \
1840     maybe-check-target-qthreads \
1841     maybe-check-target-rda \
1842     maybe-check-target-libada stage
1843
1844 # Automated reporting of test results.
1845
1846 warning.log: build.log
1847         $(srcdir)/contrib/warn_summary build.log > $@
1848
1849 mail-report.log:
1850         if test x'$(BOOT_CFLAGS)' != x''; then \
1851             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1852         fi; \
1853         $(srcdir)/contrib/test_summary -t >$@
1854         chmod +x $@
1855         echo If you really want to send e-mail, run ./$@ now
1856
1857 mail-report-with-warnings.log: warning.log
1858         if test x'$(BOOT_CFLAGS)' != x''; then \
1859             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1860         fi; \
1861         $(srcdir)/contrib/test_summary -t -i warning.log >$@
1862         chmod +x $@
1863         echo If you really want to send e-mail, run ./$@ now
1864
1865 # Installation targets.
1866
1867 .PHONY: install uninstall
1868 install: installdirs install-host install-target
1869
1870 .PHONY: install-host-nogcc
1871 install-host-nogcc:  \
1872     maybe-install-ash \
1873     maybe-install-autoconf \
1874     maybe-install-automake \
1875     maybe-install-bash \
1876     maybe-install-bfd \
1877     maybe-install-opcodes \
1878     maybe-install-binutils \
1879     maybe-install-bison \
1880     maybe-install-byacc \
1881     maybe-install-bzip2 \
1882     maybe-install-dejagnu \
1883     maybe-install-diff \
1884     maybe-install-dosutils \
1885     maybe-install-etc \
1886     maybe-install-fastjar \
1887     maybe-install-fileutils \
1888     maybe-install-findutils \
1889     maybe-install-find \
1890     maybe-install-flex \
1891     maybe-install-gas \
1892     maybe-install-gawk \
1893     maybe-install-gettext \
1894     maybe-install-gnuserv \
1895     maybe-install-gprof \
1896     maybe-install-gzip \
1897     maybe-install-hello \
1898     maybe-install-indent \
1899     maybe-install-intl \
1900     maybe-install-tcl \
1901     maybe-install-itcl \
1902     maybe-install-ld \
1903     maybe-install-libcpp \
1904     maybe-install-libgui \
1905     maybe-install-libbanshee \
1906     maybe-install-libiberty \
1907     maybe-install-libtool \
1908     maybe-install-m4 \
1909     maybe-install-make \
1910     maybe-install-mmalloc \
1911     maybe-install-patch \
1912     maybe-install-perl \
1913     maybe-install-prms \
1914     maybe-install-rcs \
1915     maybe-install-readline \
1916     maybe-install-release \
1917     maybe-install-recode \
1918     maybe-install-sed \
1919     maybe-install-send-pr \
1920     maybe-install-shellutils \
1921     maybe-install-sid \
1922     maybe-install-sim \
1923     maybe-install-tar \
1924     maybe-install-texinfo \
1925     maybe-install-textutils \
1926     maybe-install-time \
1927     maybe-install-uudecode \
1928     maybe-install-wdiff \
1929     maybe-install-zip \
1930     maybe-install-zlib \
1931     maybe-install-gdb \
1932     maybe-install-expect \
1933     maybe-install-guile \
1934     maybe-install-tk \
1935     maybe-install-tix \
1936     maybe-install-libtermcap \
1937     maybe-install-utils
1938
1939 .PHONY: install-host
1940 install-host:  \
1941     maybe-install-ash \
1942     maybe-install-autoconf \
1943     maybe-install-automake \
1944     maybe-install-bash \
1945     maybe-install-bfd \
1946     maybe-install-opcodes \
1947     maybe-install-binutils \
1948     maybe-install-bison \
1949     maybe-install-byacc \
1950     maybe-install-bzip2 \
1951     maybe-install-dejagnu \
1952     maybe-install-diff \
1953     maybe-install-dosutils \
1954     maybe-install-etc \
1955     maybe-install-fastjar \
1956     maybe-install-fileutils \
1957     maybe-install-findutils \
1958     maybe-install-find \
1959     maybe-install-flex \
1960     maybe-install-gas \
1961     maybe-install-gcc \
1962     maybe-install-gawk \
1963     maybe-install-gettext \
1964     maybe-install-gnuserv \
1965     maybe-install-gprof \
1966     maybe-install-gzip \
1967     maybe-install-hello \
1968     maybe-install-indent \
1969     maybe-install-intl \
1970     maybe-install-tcl \
1971     maybe-install-itcl \
1972     maybe-install-ld \
1973     maybe-install-libcpp \
1974     maybe-install-libgui \
1975     maybe-install-libbanshee \
1976     maybe-install-libiberty \
1977     maybe-install-libtool \
1978     maybe-install-m4 \
1979     maybe-install-make \
1980     maybe-install-mmalloc \
1981     maybe-install-patch \
1982     maybe-install-perl \
1983     maybe-install-prms \
1984     maybe-install-rcs \
1985     maybe-install-readline \
1986     maybe-install-release \
1987     maybe-install-recode \
1988     maybe-install-sed \
1989     maybe-install-send-pr \
1990     maybe-install-shellutils \
1991     maybe-install-sid \
1992     maybe-install-sim \
1993     maybe-install-tar \
1994     maybe-install-texinfo \
1995     maybe-install-textutils \
1996     maybe-install-time \
1997     maybe-install-uudecode \
1998     maybe-install-wdiff \
1999     maybe-install-zip \
2000     maybe-install-zlib \
2001     maybe-install-gdb \
2002     maybe-install-expect \
2003     maybe-install-guile \
2004     maybe-install-tk \
2005     maybe-install-tix \
2006     maybe-install-libtermcap \
2007     maybe-install-utils
2008
2009 .PHONY: install-target
2010 install-target:  \
2011     maybe-install-target-libstdc++-v3 \
2012     maybe-install-target-libmudflap \
2013     maybe-install-target-newlib \
2014     maybe-install-target-libgfortran \
2015     maybe-install-target-libobjc \
2016     maybe-install-target-libtermcap \
2017     maybe-install-target-winsup \
2018     maybe-install-target-libgloss \
2019     maybe-install-target-libiberty \
2020     maybe-install-target-gperf \
2021     maybe-install-target-examples \
2022     maybe-install-target-libffi \
2023     maybe-install-target-libjava \
2024     maybe-install-target-zlib \
2025     maybe-install-target-boehm-gc \
2026     maybe-install-target-qthreads \
2027     maybe-install-target-rda \
2028     maybe-install-target-libada
2029
2030 uninstall:
2031         @echo "the uninstall target is not supported in this tree"
2032
2033 .PHONY: install.all
2034 install.all: install-no-fixedincludes
2035         @if [ -f ./gcc/Makefile ] ; then \
2036                 r=`${PWD_COMMAND}` ; export r ; \
2037                 $(SET_LIB_PATH) \
2038                 $(HOST_EXPORTS) \
2039                 (cd ./gcc && \
2040                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2041         else \
2042                 true ; \
2043         fi
2044
2045 # install-no-fixedincludes is used because Cygnus can not distribute
2046 # the fixed header files.
2047 .PHONY: install-no-fixedincludes
2048 install-no-fixedincludes: installdirs install-host-nogcc \
2049         install-target gcc-no-fixedincludes
2050
2051 ### other supporting targets
2052
2053 MAKEDIRS= \
2054         $(DESTDIR)$(prefix) \
2055         $(DESTDIR)$(exec_prefix)
2056 .PHONY: installdirs
2057 installdirs: mkinstalldirs
2058         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2059
2060 dir.info: do-install-info
2061         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2062           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2063           mv -f dir.info.new dir.info ; \
2064         else true ; \
2065         fi
2066
2067 dist:
2068         @echo "Building a full distribution of this tree isn't done"
2069         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
2070
2071 etags tags: TAGS
2072
2073 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
2074 # ability to use several tags files at once, so there is probably no need
2075 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
2076 # (if we felt like it) have this Makefile write a piece of elisp which
2077 # the user could load to tell emacs19 where all the TAGS files we just
2078 # built are.
2079 TAGS: do-TAGS
2080
2081 # --------------------------------------
2082 # Modules which run on the build machine
2083 # --------------------------------------
2084
2085 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2086 maybe-configure-build-libiberty:
2087 @if build-libiberty
2088 maybe-configure-build-libiberty: configure-build-libiberty
2089 configure-build-libiberty:
2090         @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2091         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2092         r=`${PWD_COMMAND}`; export r; \
2093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2094         $(BUILD_EXPORTS) \
2095         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2096         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2097         case $(srcdir) in \
2098           /* | [A-Za-z]:[\\/]*) \
2099             topdir=$(srcdir) ;; \
2100           *) \
2101             case "$(BUILD_SUBDIR)" in \
2102               .) topdir="../$(srcdir)" ;; \
2103               *) topdir="../../$(srcdir)" ;; \
2104             esac ;; \
2105         esac; \
2106         if [ "$(srcdir)" = "." ] ; then \
2107           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2108             if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2109               if [ -f Makefile ]; then \
2110                 if $(MAKE) distclean; then \
2111                   true; \
2112                 else \
2113                   exit 1; \
2114                 fi; \
2115               else \
2116                 true; \
2117               fi; \
2118             else \
2119               exit 1; \
2120             fi; \
2121           else \
2122             true; \
2123           fi; \
2124           srcdiroption="--srcdir=."; \
2125           libsrcdir="."; \
2126         else \
2127           srcdiroption="--srcdir=$${topdir}/libiberty"; \
2128           libsrcdir="$$s/libiberty"; \
2129         fi; \
2130         rm -f no-such-file || : ; \
2131         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2132           $(BUILD_CONFIGARGS) $${srcdiroption} \
2133           --with-build-subdir="$(BUILD_SUBDIR)"  \
2134           || exit 1
2135 @endif build-libiberty
2136
2137 .PHONY: all-build-libiberty maybe-all-build-libiberty
2138 maybe-all-build-libiberty:
2139 @if build-libiberty
2140 maybe-all-build-libiberty: all-build-libiberty
2141 all-build-libiberty: configure-build-libiberty
2142         @r=`${PWD_COMMAND}`; export r; \
2143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2144         $(BUILD_EXPORTS) \
2145         (cd $(BUILD_SUBDIR)/libiberty && $(MAKE)  all)
2146 @endif build-libiberty
2147
2148 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2149 maybe-configure-build-libbanshee:
2150 @if build-libbanshee
2151 maybe-configure-build-libbanshee: configure-build-libbanshee
2152 configure-build-libbanshee:
2153         @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2154         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2155         r=`${PWD_COMMAND}`; export r; \
2156         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2157         $(BUILD_EXPORTS) \
2158         echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2159         cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2160         case $(srcdir) in \
2161           /* | [A-Za-z]:[\\/]*) \
2162             topdir=$(srcdir) ;; \
2163           *) \
2164             case "$(BUILD_SUBDIR)" in \
2165               .) topdir="../$(srcdir)" ;; \
2166               *) topdir="../../$(srcdir)" ;; \
2167             esac ;; \
2168         esac; \
2169         if [ "$(srcdir)" = "." ] ; then \
2170           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2171             if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2172               if [ -f Makefile ]; then \
2173                 if $(MAKE) distclean; then \
2174                   true; \
2175                 else \
2176                   exit 1; \
2177                 fi; \
2178               else \
2179                 true; \
2180               fi; \
2181             else \
2182               exit 1; \
2183             fi; \
2184           else \
2185             true; \
2186           fi; \
2187           srcdiroption="--srcdir=."; \
2188           libsrcdir="."; \
2189         else \
2190           srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2191           libsrcdir="$$s/libbanshee"; \
2192         fi; \
2193         rm -f no-such-file || : ; \
2194         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2195           $(BUILD_CONFIGARGS) $${srcdiroption} \
2196           --with-build-subdir="$(BUILD_SUBDIR)"  \
2197           || exit 1
2198 @endif build-libbanshee
2199
2200 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2201 maybe-all-build-libbanshee:
2202 @if build-libbanshee
2203 maybe-all-build-libbanshee: all-build-libbanshee
2204 all-build-libbanshee: configure-build-libbanshee
2205         @r=`${PWD_COMMAND}`; export r; \
2206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2207         $(BUILD_EXPORTS) \
2208         (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE)  all)
2209 @endif build-libbanshee
2210
2211 .PHONY: configure-build-bison maybe-configure-build-bison
2212 maybe-configure-build-bison:
2213 @if build-bison
2214 maybe-configure-build-bison: configure-build-bison
2215 configure-build-bison:
2216         @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2217         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2218         r=`${PWD_COMMAND}`; export r; \
2219         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2220         $(BUILD_EXPORTS) \
2221         echo Configuring in $(BUILD_SUBDIR)/bison; \
2222         cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2223         case $(srcdir) in \
2224           /* | [A-Za-z]:[\\/]*) \
2225             topdir=$(srcdir) ;; \
2226           *) \
2227             case "$(BUILD_SUBDIR)" in \
2228               .) topdir="../$(srcdir)" ;; \
2229               *) topdir="../../$(srcdir)" ;; \
2230             esac ;; \
2231         esac; \
2232         if [ "$(srcdir)" = "." ] ; then \
2233           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2234             if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2235               if [ -f Makefile ]; then \
2236                 if $(MAKE) distclean; then \
2237                   true; \
2238                 else \
2239                   exit 1; \
2240                 fi; \
2241               else \
2242                 true; \
2243               fi; \
2244             else \
2245               exit 1; \
2246             fi; \
2247           else \
2248             true; \
2249           fi; \
2250           srcdiroption="--srcdir=."; \
2251           libsrcdir="."; \
2252         else \
2253           srcdiroption="--srcdir=$${topdir}/bison"; \
2254           libsrcdir="$$s/bison"; \
2255         fi; \
2256         rm -f no-such-file || : ; \
2257         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2258           $(BUILD_CONFIGARGS) $${srcdiroption} \
2259           --with-build-subdir="$(BUILD_SUBDIR)"  \
2260           || exit 1
2261 @endif build-bison
2262
2263 .PHONY: all-build-bison maybe-all-build-bison
2264 maybe-all-build-bison:
2265 @if build-bison
2266 maybe-all-build-bison: all-build-bison
2267 all-build-bison: configure-build-bison
2268         @r=`${PWD_COMMAND}`; export r; \
2269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2270         $(BUILD_EXPORTS) \
2271         (cd $(BUILD_SUBDIR)/bison && $(MAKE)  all)
2272 @endif build-bison
2273
2274 .PHONY: configure-build-byacc maybe-configure-build-byacc
2275 maybe-configure-build-byacc:
2276 @if build-byacc
2277 maybe-configure-build-byacc: configure-build-byacc
2278 configure-build-byacc:
2279         @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2280         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2281         r=`${PWD_COMMAND}`; export r; \
2282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2283         $(BUILD_EXPORTS) \
2284         echo Configuring in $(BUILD_SUBDIR)/byacc; \
2285         cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2286         case $(srcdir) in \
2287           /* | [A-Za-z]:[\\/]*) \
2288             topdir=$(srcdir) ;; \
2289           *) \
2290             case "$(BUILD_SUBDIR)" in \
2291               .) topdir="../$(srcdir)" ;; \
2292               *) topdir="../../$(srcdir)" ;; \
2293             esac ;; \
2294         esac; \
2295         if [ "$(srcdir)" = "." ] ; then \
2296           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2297             if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2298               if [ -f Makefile ]; then \
2299                 if $(MAKE) distclean; then \
2300                   true; \
2301                 else \
2302                   exit 1; \
2303                 fi; \
2304               else \
2305                 true; \
2306               fi; \
2307             else \
2308               exit 1; \
2309             fi; \
2310           else \
2311             true; \
2312           fi; \
2313           srcdiroption="--srcdir=."; \
2314           libsrcdir="."; \
2315         else \
2316           srcdiroption="--srcdir=$${topdir}/byacc"; \
2317           libsrcdir="$$s/byacc"; \
2318         fi; \
2319         rm -f no-such-file || : ; \
2320         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2321           $(BUILD_CONFIGARGS) $${srcdiroption} \
2322           --with-build-subdir="$(BUILD_SUBDIR)"  \
2323           || exit 1
2324 @endif build-byacc
2325
2326 .PHONY: all-build-byacc maybe-all-build-byacc
2327 maybe-all-build-byacc:
2328 @if build-byacc
2329 maybe-all-build-byacc: all-build-byacc
2330 all-build-byacc: configure-build-byacc
2331         @r=`${PWD_COMMAND}`; export r; \
2332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2333         $(BUILD_EXPORTS) \
2334         (cd $(BUILD_SUBDIR)/byacc && $(MAKE)  all)
2335 @endif build-byacc
2336
2337 .PHONY: configure-build-flex maybe-configure-build-flex
2338 maybe-configure-build-flex:
2339 @if build-flex
2340 maybe-configure-build-flex: configure-build-flex
2341 configure-build-flex:
2342         @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2343         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2344         r=`${PWD_COMMAND}`; export r; \
2345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2346         $(BUILD_EXPORTS) \
2347         echo Configuring in $(BUILD_SUBDIR)/flex; \
2348         cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2349         case $(srcdir) in \
2350           /* | [A-Za-z]:[\\/]*) \
2351             topdir=$(srcdir) ;; \
2352           *) \
2353             case "$(BUILD_SUBDIR)" in \
2354               .) topdir="../$(srcdir)" ;; \
2355               *) topdir="../../$(srcdir)" ;; \
2356             esac ;; \
2357         esac; \
2358         if [ "$(srcdir)" = "." ] ; then \
2359           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2360             if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2361               if [ -f Makefile ]; then \
2362                 if $(MAKE) distclean; then \
2363                   true; \
2364                 else \
2365                   exit 1; \
2366                 fi; \
2367               else \
2368                 true; \
2369               fi; \
2370             else \
2371               exit 1; \
2372             fi; \
2373           else \
2374             true; \
2375           fi; \
2376           srcdiroption="--srcdir=."; \
2377           libsrcdir="."; \
2378         else \
2379           srcdiroption="--srcdir=$${topdir}/flex"; \
2380           libsrcdir="$$s/flex"; \
2381         fi; \
2382         rm -f no-such-file || : ; \
2383         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2384           $(BUILD_CONFIGARGS) $${srcdiroption} \
2385           --with-build-subdir="$(BUILD_SUBDIR)"  \
2386           || exit 1
2387 @endif build-flex
2388
2389 .PHONY: all-build-flex maybe-all-build-flex
2390 maybe-all-build-flex:
2391 @if build-flex
2392 maybe-all-build-flex: all-build-flex
2393 all-build-flex: configure-build-flex
2394         @r=`${PWD_COMMAND}`; export r; \
2395         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2396         $(BUILD_EXPORTS) \
2397         (cd $(BUILD_SUBDIR)/flex && $(MAKE)  all)
2398 @endif build-flex
2399
2400 .PHONY: configure-build-m4 maybe-configure-build-m4
2401 maybe-configure-build-m4:
2402 @if build-m4
2403 maybe-configure-build-m4: configure-build-m4
2404 configure-build-m4:
2405         @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2406         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2407         r=`${PWD_COMMAND}`; export r; \
2408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2409         $(BUILD_EXPORTS) \
2410         echo Configuring in $(BUILD_SUBDIR)/m4; \
2411         cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2412         case $(srcdir) in \
2413           /* | [A-Za-z]:[\\/]*) \
2414             topdir=$(srcdir) ;; \
2415           *) \
2416             case "$(BUILD_SUBDIR)" in \
2417               .) topdir="../$(srcdir)" ;; \
2418               *) topdir="../../$(srcdir)" ;; \
2419             esac ;; \
2420         esac; \
2421         if [ "$(srcdir)" = "." ] ; then \
2422           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2423             if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2424               if [ -f Makefile ]; then \
2425                 if $(MAKE) distclean; then \
2426                   true; \
2427                 else \
2428                   exit 1; \
2429                 fi; \
2430               else \
2431                 true; \
2432               fi; \
2433             else \
2434               exit 1; \
2435             fi; \
2436           else \
2437             true; \
2438           fi; \
2439           srcdiroption="--srcdir=."; \
2440           libsrcdir="."; \
2441         else \
2442           srcdiroption="--srcdir=$${topdir}/m4"; \
2443           libsrcdir="$$s/m4"; \
2444         fi; \
2445         rm -f no-such-file || : ; \
2446         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2447           $(BUILD_CONFIGARGS) $${srcdiroption} \
2448           --with-build-subdir="$(BUILD_SUBDIR)"  \
2449           || exit 1
2450 @endif build-m4
2451
2452 .PHONY: all-build-m4 maybe-all-build-m4
2453 maybe-all-build-m4:
2454 @if build-m4
2455 maybe-all-build-m4: all-build-m4
2456 all-build-m4: configure-build-m4
2457         @r=`${PWD_COMMAND}`; export r; \
2458         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2459         $(BUILD_EXPORTS) \
2460         (cd $(BUILD_SUBDIR)/m4 && $(MAKE)  all)
2461 @endif build-m4
2462
2463 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2464 maybe-configure-build-texinfo:
2465 @if build-texinfo
2466 maybe-configure-build-texinfo: configure-build-texinfo
2467 configure-build-texinfo:
2468         @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2469         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2470         r=`${PWD_COMMAND}`; export r; \
2471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2472         $(BUILD_EXPORTS) \
2473         echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2474         cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2475         case $(srcdir) in \
2476           /* | [A-Za-z]:[\\/]*) \
2477             topdir=$(srcdir) ;; \
2478           *) \
2479             case "$(BUILD_SUBDIR)" in \
2480               .) topdir="../$(srcdir)" ;; \
2481               *) topdir="../../$(srcdir)" ;; \
2482             esac ;; \
2483         esac; \
2484         if [ "$(srcdir)" = "." ] ; then \
2485           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2486             if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2487               if [ -f Makefile ]; then \
2488                 if $(MAKE) distclean; then \
2489                   true; \
2490                 else \
2491                   exit 1; \
2492                 fi; \
2493               else \
2494                 true; \
2495               fi; \
2496             else \
2497               exit 1; \
2498             fi; \
2499           else \
2500             true; \
2501           fi; \
2502           srcdiroption="--srcdir=."; \
2503           libsrcdir="."; \
2504         else \
2505           srcdiroption="--srcdir=$${topdir}/texinfo"; \
2506           libsrcdir="$$s/texinfo"; \
2507         fi; \
2508         rm -f no-such-file || : ; \
2509         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2510           $(BUILD_CONFIGARGS) $${srcdiroption} \
2511           --with-build-subdir="$(BUILD_SUBDIR)"  \
2512           || exit 1
2513 @endif build-texinfo
2514
2515 .PHONY: all-build-texinfo maybe-all-build-texinfo
2516 maybe-all-build-texinfo:
2517 @if build-texinfo
2518 maybe-all-build-texinfo: all-build-texinfo
2519 all-build-texinfo: configure-build-texinfo
2520         @r=`${PWD_COMMAND}`; export r; \
2521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522         $(BUILD_EXPORTS) \
2523         (cd $(BUILD_SUBDIR)/texinfo && $(MAKE)  all)
2524 @endif build-texinfo
2525
2526
2527 # --------------------------------------
2528 # Modules which run on the host machine
2529 # --------------------------------------
2530
2531 .PHONY: configure-ash maybe-configure-ash
2532 maybe-configure-ash:
2533 @if ash
2534 maybe-configure-ash: configure-ash
2535 configure-ash:
2536         @test ! -f ash/Makefile || exit 0; \
2537         [ -d ash ] || mkdir ash; \
2538         r=`${PWD_COMMAND}`; export r; \
2539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2540         $(HOST_EXPORTS) \
2541         echo Configuring in ash; \
2542         cd ash || exit 1; \
2543         case $(srcdir) in \
2544           \.) \
2545             srcdiroption="--srcdir=."; \
2546             libsrcdir=".";; \
2547           /* | [A-Za-z]:[\\/]*) \
2548             srcdiroption="--srcdir=$(srcdir)/ash"; \
2549             libsrcdir="$$s/ash";; \
2550           *) \
2551             srcdiroption="--srcdir=../$(srcdir)/ash"; \
2552             libsrcdir="$$s/ash";; \
2553         esac; \
2554         $(SHELL) $${libsrcdir}/configure \
2555           $(HOST_CONFIGARGS) $${srcdiroption}  \
2556           || exit 1
2557 @endif ash
2558
2559 .PHONY: all-ash maybe-all-ash
2560 maybe-all-ash:
2561 @if ash
2562 maybe-all-ash: all-ash
2563 all-ash: configure-ash
2564         @r=`${PWD_COMMAND}`; export r; \
2565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2566         $(SET_LIB_PATH) \
2567         $(HOST_EXPORTS) \
2568         (cd ash && $(MAKE) $(FLAGS_TO_PASS)  all)
2569 @endif ash
2570
2571 .PHONY: check-ash maybe-check-ash
2572 maybe-check-ash:
2573 @if ash
2574 maybe-check-ash: check-ash
2575
2576 check-ash:
2577         @r=`${PWD_COMMAND}`; export r; \
2578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579         $(SET_LIB_PATH) \
2580         $(HOST_EXPORTS) \
2581         (cd ash && $(MAKE) $(FLAGS_TO_PASS)  check)
2582
2583 @endif ash
2584
2585 .PHONY: install-ash maybe-install-ash
2586 maybe-install-ash:
2587 @if ash
2588 maybe-install-ash: install-ash
2589
2590 install-ash: installdirs
2591         @r=`${PWD_COMMAND}`; export r; \
2592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2593         $(SET_LIB_PATH) \
2594         $(HOST_EXPORTS) \
2595         (cd ash && $(MAKE) $(FLAGS_TO_PASS)  install)
2596
2597 @endif ash
2598
2599 # Other targets (info, dvi, etc.)
2600
2601 .PHONY: maybe-info-ash info-ash
2602 maybe-info-ash:
2603 @if ash
2604 maybe-info-ash: info-ash
2605
2606 info-ash: \
2607     configure-ash 
2608         @[ -f ./ash/Makefile ] || exit 0; \
2609         r=`${PWD_COMMAND}`; export r; \
2610         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2611         $(SET_LIB_PATH) \
2612         $(HOST_EXPORTS) \
2613         for flag in $(EXTRA_HOST_FLAGS) ; do \
2614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2615         done; \
2616         echo "Doing info in ash" ; \
2617         (cd ash && \
2618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2620                   "RANLIB=$${RANLIB}" \
2621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2622                   info) \
2623           || exit 1
2624
2625 @endif ash
2626
2627 .PHONY: maybe-dvi-ash dvi-ash
2628 maybe-dvi-ash:
2629 @if ash
2630 maybe-dvi-ash: dvi-ash
2631
2632 dvi-ash: \
2633     configure-ash 
2634         @[ -f ./ash/Makefile ] || exit 0; \
2635         r=`${PWD_COMMAND}`; export r; \
2636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2637         $(SET_LIB_PATH) \
2638         $(HOST_EXPORTS) \
2639         for flag in $(EXTRA_HOST_FLAGS) ; do \
2640           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2641         done; \
2642         echo "Doing dvi in ash" ; \
2643         (cd ash && \
2644           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2645                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2646                   "RANLIB=$${RANLIB}" \
2647                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2648                   dvi) \
2649           || exit 1
2650
2651 @endif ash
2652
2653 .PHONY: maybe-TAGS-ash TAGS-ash
2654 maybe-TAGS-ash:
2655 @if ash
2656 maybe-TAGS-ash: TAGS-ash
2657
2658 TAGS-ash: \
2659     configure-ash 
2660         @[ -f ./ash/Makefile ] || exit 0; \
2661         r=`${PWD_COMMAND}`; export r; \
2662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663         $(SET_LIB_PATH) \
2664         $(HOST_EXPORTS) \
2665         for flag in $(EXTRA_HOST_FLAGS) ; do \
2666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2667         done; \
2668         echo "Doing TAGS in ash" ; \
2669         (cd ash && \
2670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2672                   "RANLIB=$${RANLIB}" \
2673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2674                   TAGS) \
2675           || exit 1
2676
2677 @endif ash
2678
2679 .PHONY: maybe-install-info-ash install-info-ash
2680 maybe-install-info-ash:
2681 @if ash
2682 maybe-install-info-ash: install-info-ash
2683
2684 install-info-ash: \
2685     configure-ash \
2686     info-ash 
2687         @[ -f ./ash/Makefile ] || exit 0; \
2688         r=`${PWD_COMMAND}`; export r; \
2689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2690         $(SET_LIB_PATH) \
2691         $(HOST_EXPORTS) \
2692         for flag in $(EXTRA_HOST_FLAGS) ; do \
2693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2694         done; \
2695         echo "Doing install-info in ash" ; \
2696         (cd ash && \
2697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2699                   "RANLIB=$${RANLIB}" \
2700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2701                   install-info) \
2702           || exit 1
2703
2704 @endif ash
2705
2706 .PHONY: maybe-installcheck-ash installcheck-ash
2707 maybe-installcheck-ash:
2708 @if ash
2709 maybe-installcheck-ash: installcheck-ash
2710
2711 installcheck-ash: \
2712     configure-ash 
2713         @[ -f ./ash/Makefile ] || exit 0; \
2714         r=`${PWD_COMMAND}`; export r; \
2715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2716         $(SET_LIB_PATH) \
2717         $(HOST_EXPORTS) \
2718         for flag in $(EXTRA_HOST_FLAGS) ; do \
2719           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2720         done; \
2721         echo "Doing installcheck in ash" ; \
2722         (cd ash && \
2723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2725                   "RANLIB=$${RANLIB}" \
2726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2727                   installcheck) \
2728           || exit 1
2729
2730 @endif ash
2731
2732 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2733 maybe-mostlyclean-ash:
2734 @if ash
2735 maybe-mostlyclean-ash: mostlyclean-ash
2736
2737 mostlyclean-ash: 
2738         @[ -f ./ash/Makefile ] || exit 0; \
2739         r=`${PWD_COMMAND}`; export r; \
2740         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2741         $(SET_LIB_PATH) \
2742         $(HOST_EXPORTS) \
2743         for flag in $(EXTRA_HOST_FLAGS) ; do \
2744           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2745         done; \
2746         echo "Doing mostlyclean in ash" ; \
2747         (cd ash && \
2748           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2749                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2750                   "RANLIB=$${RANLIB}" \
2751                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2752                   mostlyclean) \
2753           || exit 1
2754
2755 @endif ash
2756
2757 .PHONY: maybe-clean-ash clean-ash
2758 maybe-clean-ash:
2759 @if ash
2760 maybe-clean-ash: clean-ash
2761
2762 clean-ash: 
2763         @[ -f ./ash/Makefile ] || exit 0; \
2764         r=`${PWD_COMMAND}`; export r; \
2765         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2766         $(SET_LIB_PATH) \
2767         $(HOST_EXPORTS) \
2768         for flag in $(EXTRA_HOST_FLAGS) ; do \
2769           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2770         done; \
2771         echo "Doing clean in ash" ; \
2772         (cd ash && \
2773           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2774                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2775                   "RANLIB=$${RANLIB}" \
2776                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2777                   clean) \
2778           || exit 1
2779
2780 @endif ash
2781
2782 .PHONY: maybe-distclean-ash distclean-ash
2783 maybe-distclean-ash:
2784 @if ash
2785 maybe-distclean-ash: distclean-ash
2786
2787 distclean-ash: 
2788         @[ -f ./ash/Makefile ] || exit 0; \
2789         r=`${PWD_COMMAND}`; export r; \
2790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2791         $(SET_LIB_PATH) \
2792         $(HOST_EXPORTS) \
2793         for flag in $(EXTRA_HOST_FLAGS) ; do \
2794           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2795         done; \
2796         echo "Doing distclean in ash" ; \
2797         (cd ash && \
2798           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2799                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2800                   "RANLIB=$${RANLIB}" \
2801                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2802                   distclean) \
2803           || exit 1
2804
2805 @endif ash
2806
2807 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2808 maybe-maintainer-clean-ash:
2809 @if ash
2810 maybe-maintainer-clean-ash: maintainer-clean-ash
2811
2812 maintainer-clean-ash: 
2813         @[ -f ./ash/Makefile ] || exit 0; \
2814         r=`${PWD_COMMAND}`; export r; \
2815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2816         $(SET_LIB_PATH) \
2817         $(HOST_EXPORTS) \
2818         for flag in $(EXTRA_HOST_FLAGS) ; do \
2819           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2820         done; \
2821         echo "Doing maintainer-clean in ash" ; \
2822         (cd ash && \
2823           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2824                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2825                   "RANLIB=$${RANLIB}" \
2826                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2827                   maintainer-clean) \
2828           || exit 1
2829
2830 @endif ash
2831
2832
2833 .PHONY: configure-autoconf maybe-configure-autoconf
2834 maybe-configure-autoconf:
2835 @if autoconf
2836 maybe-configure-autoconf: configure-autoconf
2837 configure-autoconf:
2838         @test ! -f autoconf/Makefile || exit 0; \
2839         [ -d autoconf ] || mkdir autoconf; \
2840         r=`${PWD_COMMAND}`; export r; \
2841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2842         $(HOST_EXPORTS) \
2843         echo Configuring in autoconf; \
2844         cd autoconf || exit 1; \
2845         case $(srcdir) in \
2846           \.) \
2847             srcdiroption="--srcdir=."; \
2848             libsrcdir=".";; \
2849           /* | [A-Za-z]:[\\/]*) \
2850             srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2851             libsrcdir="$$s/autoconf";; \
2852           *) \
2853             srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2854             libsrcdir="$$s/autoconf";; \
2855         esac; \
2856         $(SHELL) $${libsrcdir}/configure \
2857           $(HOST_CONFIGARGS) $${srcdiroption}  \
2858           || exit 1
2859 @endif autoconf
2860
2861 .PHONY: all-autoconf maybe-all-autoconf
2862 maybe-all-autoconf:
2863 @if autoconf
2864 maybe-all-autoconf: all-autoconf
2865 all-autoconf: configure-autoconf
2866         @r=`${PWD_COMMAND}`; export r; \
2867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2868         $(SET_LIB_PATH) \
2869         $(HOST_EXPORTS) \
2870         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS)  all)
2871 @endif autoconf
2872
2873 .PHONY: check-autoconf maybe-check-autoconf
2874 maybe-check-autoconf:
2875 @if autoconf
2876 maybe-check-autoconf: check-autoconf
2877
2878 check-autoconf:
2879         @r=`${PWD_COMMAND}`; export r; \
2880         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881         $(SET_LIB_PATH) \
2882         $(HOST_EXPORTS) \
2883         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS)  check)
2884
2885 @endif autoconf
2886
2887 .PHONY: install-autoconf maybe-install-autoconf
2888 maybe-install-autoconf:
2889 @if autoconf
2890 maybe-install-autoconf: install-autoconf
2891
2892 install-autoconf: installdirs
2893         @r=`${PWD_COMMAND}`; export r; \
2894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2895         $(SET_LIB_PATH) \
2896         $(HOST_EXPORTS) \
2897         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS)  install)
2898
2899 @endif autoconf
2900
2901 # Other targets (info, dvi, etc.)
2902
2903 .PHONY: maybe-info-autoconf info-autoconf
2904 maybe-info-autoconf:
2905 @if autoconf
2906 maybe-info-autoconf: info-autoconf
2907
2908 info-autoconf: \
2909     configure-autoconf 
2910         @[ -f ./autoconf/Makefile ] || exit 0; \
2911         r=`${PWD_COMMAND}`; export r; \
2912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2913         $(SET_LIB_PATH) \
2914         $(HOST_EXPORTS) \
2915         for flag in $(EXTRA_HOST_FLAGS) ; do \
2916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2917         done; \
2918         echo "Doing info in autoconf" ; \
2919         (cd autoconf && \
2920           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2921                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2922                   "RANLIB=$${RANLIB}" \
2923                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2924                   info) \
2925           || exit 1
2926
2927 @endif autoconf
2928
2929 .PHONY: maybe-dvi-autoconf dvi-autoconf
2930 maybe-dvi-autoconf:
2931 @if autoconf
2932 maybe-dvi-autoconf: dvi-autoconf
2933
2934 dvi-autoconf: \
2935     configure-autoconf 
2936         @[ -f ./autoconf/Makefile ] || exit 0; \
2937         r=`${PWD_COMMAND}`; export r; \
2938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2939         $(SET_LIB_PATH) \
2940         $(HOST_EXPORTS) \
2941         for flag in $(EXTRA_HOST_FLAGS) ; do \
2942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2943         done; \
2944         echo "Doing dvi in autoconf" ; \
2945         (cd autoconf && \
2946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2948                   "RANLIB=$${RANLIB}" \
2949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2950                   dvi) \
2951           || exit 1
2952
2953 @endif autoconf
2954
2955 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2956 maybe-TAGS-autoconf:
2957 @if autoconf
2958 maybe-TAGS-autoconf: TAGS-autoconf
2959
2960 TAGS-autoconf: \
2961     configure-autoconf 
2962         @[ -f ./autoconf/Makefile ] || exit 0; \
2963         r=`${PWD_COMMAND}`; export r; \
2964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2965         $(SET_LIB_PATH) \
2966         $(HOST_EXPORTS) \
2967         for flag in $(EXTRA_HOST_FLAGS) ; do \
2968           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2969         done; \
2970         echo "Doing TAGS in autoconf" ; \
2971         (cd autoconf && \
2972           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2973                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2974                   "RANLIB=$${RANLIB}" \
2975                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2976                   TAGS) \
2977           || exit 1
2978
2979 @endif autoconf
2980
2981 .PHONY: maybe-install-info-autoconf install-info-autoconf
2982 maybe-install-info-autoconf:
2983 @if autoconf
2984 maybe-install-info-autoconf: install-info-autoconf
2985
2986 install-info-autoconf: \
2987     configure-autoconf \
2988     info-autoconf 
2989         @[ -f ./autoconf/Makefile ] || exit 0; \
2990         r=`${PWD_COMMAND}`; export r; \
2991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2992         $(SET_LIB_PATH) \
2993         $(HOST_EXPORTS) \
2994         for flag in $(EXTRA_HOST_FLAGS) ; do \
2995           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2996         done; \
2997         echo "Doing install-info in autoconf" ; \
2998         (cd autoconf && \
2999           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3000                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3001                   "RANLIB=$${RANLIB}" \
3002                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3003                   install-info) \
3004           || exit 1
3005
3006 @endif autoconf
3007
3008 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3009 maybe-installcheck-autoconf:
3010 @if autoconf
3011 maybe-installcheck-autoconf: installcheck-autoconf
3012
3013 installcheck-autoconf: \
3014     configure-autoconf 
3015         @[ -f ./autoconf/Makefile ] || exit 0; \
3016         r=`${PWD_COMMAND}`; export r; \
3017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3018         $(SET_LIB_PATH) \
3019         $(HOST_EXPORTS) \
3020         for flag in $(EXTRA_HOST_FLAGS) ; do \
3021           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3022         done; \
3023         echo "Doing installcheck in autoconf" ; \
3024         (cd autoconf && \
3025           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3026                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3027                   "RANLIB=$${RANLIB}" \
3028                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3029                   installcheck) \
3030           || exit 1
3031
3032 @endif autoconf
3033
3034 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3035 maybe-mostlyclean-autoconf:
3036 @if autoconf
3037 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3038
3039 mostlyclean-autoconf: 
3040         @[ -f ./autoconf/Makefile ] || exit 0; \
3041         r=`${PWD_COMMAND}`; export r; \
3042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3043         $(SET_LIB_PATH) \
3044         $(HOST_EXPORTS) \
3045         for flag in $(EXTRA_HOST_FLAGS) ; do \
3046           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3047         done; \
3048         echo "Doing mostlyclean in autoconf" ; \
3049         (cd autoconf && \
3050           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3051                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3052                   "RANLIB=$${RANLIB}" \
3053                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3054                   mostlyclean) \
3055           || exit 1
3056
3057 @endif autoconf
3058
3059 .PHONY: maybe-clean-autoconf clean-autoconf
3060 maybe-clean-autoconf:
3061 @if autoconf
3062 maybe-clean-autoconf: clean-autoconf
3063
3064 clean-autoconf: 
3065         @[ -f ./autoconf/Makefile ] || exit 0; \
3066         r=`${PWD_COMMAND}`; export r; \
3067         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3068         $(SET_LIB_PATH) \
3069         $(HOST_EXPORTS) \
3070         for flag in $(EXTRA_HOST_FLAGS) ; do \
3071           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3072         done; \
3073         echo "Doing clean in autoconf" ; \
3074         (cd autoconf && \
3075           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3076                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3077                   "RANLIB=$${RANLIB}" \
3078                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3079                   clean) \
3080           || exit 1
3081
3082 @endif autoconf
3083
3084 .PHONY: maybe-distclean-autoconf distclean-autoconf
3085 maybe-distclean-autoconf:
3086 @if autoconf
3087 maybe-distclean-autoconf: distclean-autoconf
3088
3089 distclean-autoconf: 
3090         @[ -f ./autoconf/Makefile ] || exit 0; \
3091         r=`${PWD_COMMAND}`; export r; \
3092         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3093         $(SET_LIB_PATH) \
3094         $(HOST_EXPORTS) \
3095         for flag in $(EXTRA_HOST_FLAGS) ; do \
3096           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3097         done; \
3098         echo "Doing distclean in autoconf" ; \
3099         (cd autoconf && \
3100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3102                   "RANLIB=$${RANLIB}" \
3103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3104                   distclean) \
3105           || exit 1
3106
3107 @endif autoconf
3108
3109 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3110 maybe-maintainer-clean-autoconf:
3111 @if autoconf
3112 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3113
3114 maintainer-clean-autoconf: 
3115         @[ -f ./autoconf/Makefile ] || exit 0; \
3116         r=`${PWD_COMMAND}`; export r; \
3117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3118         $(SET_LIB_PATH) \
3119         $(HOST_EXPORTS) \
3120         for flag in $(EXTRA_HOST_FLAGS) ; do \
3121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3122         done; \
3123         echo "Doing maintainer-clean in autoconf" ; \
3124         (cd autoconf && \
3125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3127                   "RANLIB=$${RANLIB}" \
3128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3129                   maintainer-clean) \
3130           || exit 1
3131
3132 @endif autoconf
3133
3134
3135 .PHONY: configure-automake maybe-configure-automake
3136 maybe-configure-automake:
3137 @if automake
3138 maybe-configure-automake: configure-automake
3139 configure-automake:
3140         @test ! -f automake/Makefile || exit 0; \
3141         [ -d automake ] || mkdir automake; \
3142         r=`${PWD_COMMAND}`; export r; \
3143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144         $(HOST_EXPORTS) \
3145         echo Configuring in automake; \
3146         cd automake || exit 1; \
3147         case $(srcdir) in \
3148           \.) \
3149             srcdiroption="--srcdir=."; \
3150             libsrcdir=".";; \
3151           /* | [A-Za-z]:[\\/]*) \
3152             srcdiroption="--srcdir=$(srcdir)/automake"; \
3153             libsrcdir="$$s/automake";; \
3154           *) \
3155             srcdiroption="--srcdir=../$(srcdir)/automake"; \
3156             libsrcdir="$$s/automake";; \
3157         esac; \
3158         $(SHELL) $${libsrcdir}/configure \
3159           $(HOST_CONFIGARGS) $${srcdiroption}  \
3160           || exit 1
3161 @endif automake
3162
3163 .PHONY: all-automake maybe-all-automake
3164 maybe-all-automake:
3165 @if automake
3166 maybe-all-automake: all-automake
3167 all-automake: configure-automake
3168         @r=`${PWD_COMMAND}`; export r; \
3169         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3170         $(SET_LIB_PATH) \
3171         $(HOST_EXPORTS) \
3172         (cd automake && $(MAKE) $(FLAGS_TO_PASS)  all)
3173 @endif automake
3174
3175 .PHONY: check-automake maybe-check-automake
3176 maybe-check-automake:
3177 @if automake
3178 maybe-check-automake: check-automake
3179
3180 check-automake:
3181         @r=`${PWD_COMMAND}`; export r; \
3182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3183         $(SET_LIB_PATH) \
3184         $(HOST_EXPORTS) \
3185         (cd automake && $(MAKE) $(FLAGS_TO_PASS)  check)
3186
3187 @endif automake
3188
3189 .PHONY: install-automake maybe-install-automake
3190 maybe-install-automake:
3191 @if automake
3192 maybe-install-automake: install-automake
3193
3194 install-automake: installdirs
3195         @r=`${PWD_COMMAND}`; export r; \
3196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3197         $(SET_LIB_PATH) \
3198         $(HOST_EXPORTS) \
3199         (cd automake && $(MAKE) $(FLAGS_TO_PASS)  install)
3200
3201 @endif automake
3202
3203 # Other targets (info, dvi, etc.)
3204
3205 .PHONY: maybe-info-automake info-automake
3206 maybe-info-automake:
3207 @if automake
3208 maybe-info-automake: info-automake
3209
3210 info-automake: \
3211     configure-automake 
3212         @[ -f ./automake/Makefile ] || exit 0; \
3213         r=`${PWD_COMMAND}`; export r; \
3214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215         $(SET_LIB_PATH) \
3216         $(HOST_EXPORTS) \
3217         for flag in $(EXTRA_HOST_FLAGS) ; do \
3218           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3219         done; \
3220         echo "Doing info in automake" ; \
3221         (cd automake && \
3222           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3223                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3224                   "RANLIB=$${RANLIB}" \
3225                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3226                   info) \
3227           || exit 1
3228
3229 @endif automake
3230
3231 .PHONY: maybe-dvi-automake dvi-automake
3232 maybe-dvi-automake:
3233 @if automake
3234 maybe-dvi-automake: dvi-automake
3235
3236 dvi-automake: \
3237     configure-automake 
3238         @[ -f ./automake/Makefile ] || exit 0; \
3239         r=`${PWD_COMMAND}`; export r; \
3240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3241         $(SET_LIB_PATH) \
3242         $(HOST_EXPORTS) \
3243         for flag in $(EXTRA_HOST_FLAGS) ; do \
3244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3245         done; \
3246         echo "Doing dvi in automake" ; \
3247         (cd automake && \
3248           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3249                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3250                   "RANLIB=$${RANLIB}" \
3251                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3252                   dvi) \
3253           || exit 1
3254
3255 @endif automake
3256
3257 .PHONY: maybe-TAGS-automake TAGS-automake
3258 maybe-TAGS-automake:
3259 @if automake
3260 maybe-TAGS-automake: TAGS-automake
3261
3262 TAGS-automake: \
3263     configure-automake 
3264         @[ -f ./automake/Makefile ] || exit 0; \
3265         r=`${PWD_COMMAND}`; export r; \
3266         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3267         $(SET_LIB_PATH) \
3268         $(HOST_EXPORTS) \
3269         for flag in $(EXTRA_HOST_FLAGS) ; do \
3270           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3271         done; \
3272         echo "Doing TAGS in automake" ; \
3273         (cd automake && \
3274           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3275                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3276                   "RANLIB=$${RANLIB}" \
3277                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3278                   TAGS) \
3279           || exit 1
3280
3281 @endif automake
3282
3283 .PHONY: maybe-install-info-automake install-info-automake
3284 maybe-install-info-automake:
3285 @if automake
3286 maybe-install-info-automake: install-info-automake
3287
3288 install-info-automake: \
3289     configure-automake \
3290     info-automake 
3291         @[ -f ./automake/Makefile ] || exit 0; \
3292         r=`${PWD_COMMAND}`; export r; \
3293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3294         $(SET_LIB_PATH) \
3295         $(HOST_EXPORTS) \
3296         for flag in $(EXTRA_HOST_FLAGS) ; do \
3297           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3298         done; \
3299         echo "Doing install-info in automake" ; \
3300         (cd automake && \
3301           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3302                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3303                   "RANLIB=$${RANLIB}" \
3304                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3305                   install-info) \
3306           || exit 1
3307
3308 @endif automake
3309
3310 .PHONY: maybe-installcheck-automake installcheck-automake
3311 maybe-installcheck-automake:
3312 @if automake
3313 maybe-installcheck-automake: installcheck-automake
3314
3315 installcheck-automake: \
3316     configure-automake 
3317         @[ -f ./automake/Makefile ] || exit 0; \
3318         r=`${PWD_COMMAND}`; export r; \
3319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3320         $(SET_LIB_PATH) \
3321         $(HOST_EXPORTS) \
3322         for flag in $(EXTRA_HOST_FLAGS) ; do \
3323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3324         done; \
3325         echo "Doing installcheck in automake" ; \
3326         (cd automake && \
3327           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3328                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3329                   "RANLIB=$${RANLIB}" \
3330                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3331                   installcheck) \
3332           || exit 1
3333
3334 @endif automake
3335
3336 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3337 maybe-mostlyclean-automake:
3338 @if automake
3339 maybe-mostlyclean-automake: mostlyclean-automake
3340
3341 mostlyclean-automake: 
3342         @[ -f ./automake/Makefile ] || exit 0; \
3343         r=`${PWD_COMMAND}`; export r; \
3344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3345         $(SET_LIB_PATH) \
3346         $(HOST_EXPORTS) \
3347         for flag in $(EXTRA_HOST_FLAGS) ; do \
3348           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3349         done; \
3350         echo "Doing mostlyclean in automake" ; \
3351         (cd automake && \
3352           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3353                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3354                   "RANLIB=$${RANLIB}" \
3355                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3356                   mostlyclean) \
3357           || exit 1
3358
3359 @endif automake
3360
3361 .PHONY: maybe-clean-automake clean-automake
3362 maybe-clean-automake:
3363 @if automake
3364 maybe-clean-automake: clean-automake
3365
3366 clean-automake: 
3367         @[ -f ./automake/Makefile ] || exit 0; \
3368         r=`${PWD_COMMAND}`; export r; \
3369         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3370         $(SET_LIB_PATH) \
3371         $(HOST_EXPORTS) \
3372         for flag in $(EXTRA_HOST_FLAGS) ; do \
3373           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3374         done; \
3375         echo "Doing clean in automake" ; \
3376         (cd automake && \
3377           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3378                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3379                   "RANLIB=$${RANLIB}" \
3380                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3381                   clean) \
3382           || exit 1
3383
3384 @endif automake
3385
3386 .PHONY: maybe-distclean-automake distclean-automake
3387 maybe-distclean-automake:
3388 @if automake
3389 maybe-distclean-automake: distclean-automake
3390
3391 distclean-automake: 
3392         @[ -f ./automake/Makefile ] || exit 0; \
3393         r=`${PWD_COMMAND}`; export r; \
3394         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3395         $(SET_LIB_PATH) \
3396         $(HOST_EXPORTS) \
3397         for flag in $(EXTRA_HOST_FLAGS) ; do \
3398           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3399         done; \
3400         echo "Doing distclean in automake" ; \
3401         (cd automake && \
3402           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3403                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3404                   "RANLIB=$${RANLIB}" \
3405                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3406                   distclean) \
3407           || exit 1
3408
3409 @endif automake
3410
3411 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3412 maybe-maintainer-clean-automake:
3413 @if automake
3414 maybe-maintainer-clean-automake: maintainer-clean-automake
3415
3416 maintainer-clean-automake: 
3417         @[ -f ./automake/Makefile ] || exit 0; \
3418         r=`${PWD_COMMAND}`; export r; \
3419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3420         $(SET_LIB_PATH) \
3421         $(HOST_EXPORTS) \
3422         for flag in $(EXTRA_HOST_FLAGS) ; do \
3423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3424         done; \
3425         echo "Doing maintainer-clean in automake" ; \
3426         (cd automake && \
3427           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3428                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3429                   "RANLIB=$${RANLIB}" \
3430                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3431                   maintainer-clean) \
3432           || exit 1
3433
3434 @endif automake
3435
3436
3437 .PHONY: configure-bash maybe-configure-bash
3438 maybe-configure-bash:
3439 @if bash
3440 maybe-configure-bash: configure-bash
3441 configure-bash:
3442         @test ! -f bash/Makefile || exit 0; \
3443         [ -d bash ] || mkdir bash; \
3444         r=`${PWD_COMMAND}`; export r; \
3445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3446         $(HOST_EXPORTS) \
3447         echo Configuring in bash; \
3448         cd bash || exit 1; \
3449         case $(srcdir) in \
3450           \.) \
3451             srcdiroption="--srcdir=."; \
3452             libsrcdir=".";; \
3453           /* | [A-Za-z]:[\\/]*) \
3454             srcdiroption="--srcdir=$(srcdir)/bash"; \
3455             libsrcdir="$$s/bash";; \
3456           *) \
3457             srcdiroption="--srcdir=../$(srcdir)/bash"; \
3458             libsrcdir="$$s/bash";; \
3459         esac; \
3460         $(SHELL) $${libsrcdir}/configure \
3461           $(HOST_CONFIGARGS) $${srcdiroption}  \
3462           || exit 1
3463 @endif bash
3464
3465 .PHONY: all-bash maybe-all-bash
3466 maybe-all-bash:
3467 @if bash
3468 maybe-all-bash: all-bash
3469 all-bash: configure-bash
3470         @r=`${PWD_COMMAND}`; export r; \
3471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3472         $(SET_LIB_PATH) \
3473         $(HOST_EXPORTS) \
3474         (cd bash && $(MAKE) $(FLAGS_TO_PASS)  all)
3475 @endif bash
3476
3477 .PHONY: check-bash maybe-check-bash
3478 maybe-check-bash:
3479 @if bash
3480 maybe-check-bash: check-bash
3481
3482 check-bash:
3483         @r=`${PWD_COMMAND}`; export r; \
3484         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485         $(SET_LIB_PATH) \
3486         $(HOST_EXPORTS) \
3487         (cd bash && $(MAKE) $(FLAGS_TO_PASS)  check)
3488
3489 @endif bash
3490
3491 .PHONY: install-bash maybe-install-bash
3492 maybe-install-bash:
3493 @if bash
3494 maybe-install-bash: install-bash
3495
3496 install-bash: installdirs
3497         @r=`${PWD_COMMAND}`; export r; \
3498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3499         $(SET_LIB_PATH) \
3500         $(HOST_EXPORTS) \
3501         (cd bash && $(MAKE) $(FLAGS_TO_PASS)  install)
3502
3503 @endif bash
3504
3505 # Other targets (info, dvi, etc.)
3506
3507 .PHONY: maybe-info-bash info-bash
3508 maybe-info-bash:
3509 @if bash
3510 maybe-info-bash: info-bash
3511
3512 info-bash: \
3513     configure-bash 
3514         @[ -f ./bash/Makefile ] || exit 0; \
3515         r=`${PWD_COMMAND}`; export r; \
3516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3517         $(SET_LIB_PATH) \
3518         $(HOST_EXPORTS) \
3519         for flag in $(EXTRA_HOST_FLAGS) ; do \
3520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3521         done; \
3522         echo "Doing info in bash" ; \
3523         (cd bash && \
3524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3526                   "RANLIB=$${RANLIB}" \
3527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3528                   info) \
3529           || exit 1
3530
3531 @endif bash
3532
3533 .PHONY: maybe-dvi-bash dvi-bash
3534 maybe-dvi-bash:
3535 @if bash
3536 maybe-dvi-bash: dvi-bash
3537
3538 dvi-bash: \
3539     configure-bash 
3540         @[ -f ./bash/Makefile ] || exit 0; \
3541         r=`${PWD_COMMAND}`; export r; \
3542         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3543         $(SET_LIB_PATH) \
3544         $(HOST_EXPORTS) \
3545         for flag in $(EXTRA_HOST_FLAGS) ; do \
3546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3547         done; \
3548         echo "Doing dvi in bash" ; \
3549         (cd bash && \
3550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3552                   "RANLIB=$${RANLIB}" \
3553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3554                   dvi) \
3555           || exit 1
3556
3557 @endif bash
3558
3559 .PHONY: maybe-TAGS-bash TAGS-bash
3560 maybe-TAGS-bash:
3561 @if bash
3562 maybe-TAGS-bash: TAGS-bash
3563
3564 TAGS-bash: \
3565     configure-bash 
3566         @[ -f ./bash/Makefile ] || exit 0; \
3567         r=`${PWD_COMMAND}`; export r; \
3568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3569         $(SET_LIB_PATH) \
3570         $(HOST_EXPORTS) \
3571         for flag in $(EXTRA_HOST_FLAGS) ; do \
3572           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3573         done; \
3574         echo "Doing TAGS in bash" ; \
3575         (cd bash && \
3576           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3577                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3578                   "RANLIB=$${RANLIB}" \
3579                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3580                   TAGS) \
3581           || exit 1
3582
3583 @endif bash
3584
3585 .PHONY: maybe-install-info-bash install-info-bash
3586 maybe-install-info-bash:
3587 @if bash
3588 maybe-install-info-bash: install-info-bash
3589
3590 install-info-bash: \
3591     configure-bash \
3592     info-bash 
3593         @[ -f ./bash/Makefile ] || exit 0; \
3594         r=`${PWD_COMMAND}`; export r; \
3595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3596         $(SET_LIB_PATH) \
3597         $(HOST_EXPORTS) \
3598         for flag in $(EXTRA_HOST_FLAGS) ; do \
3599           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3600         done; \
3601         echo "Doing install-info in bash" ; \
3602         (cd bash && \
3603           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3604                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3605                   "RANLIB=$${RANLIB}" \
3606                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3607                   install-info) \
3608           || exit 1
3609
3610 @endif bash
3611
3612 .PHONY: maybe-installcheck-bash installcheck-bash
3613 maybe-installcheck-bash:
3614 @if bash
3615 maybe-installcheck-bash: installcheck-bash
3616
3617 installcheck-bash: \
3618     configure-bash 
3619         @[ -f ./bash/Makefile ] || exit 0; \
3620         r=`${PWD_COMMAND}`; export r; \
3621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3622         $(SET_LIB_PATH) \
3623         $(HOST_EXPORTS) \
3624         for flag in $(EXTRA_HOST_FLAGS) ; do \
3625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3626         done; \
3627         echo "Doing installcheck in bash" ; \
3628         (cd bash && \
3629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3631                   "RANLIB=$${RANLIB}" \
3632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3633                   installcheck) \
3634           || exit 1
3635
3636 @endif bash
3637
3638 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3639 maybe-mostlyclean-bash:
3640 @if bash
3641 maybe-mostlyclean-bash: mostlyclean-bash
3642
3643 mostlyclean-bash: 
3644         @[ -f ./bash/Makefile ] || exit 0; \
3645         r=`${PWD_COMMAND}`; export r; \
3646         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3647         $(SET_LIB_PATH) \
3648         $(HOST_EXPORTS) \
3649         for flag in $(EXTRA_HOST_FLAGS) ; do \
3650           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3651         done; \
3652         echo "Doing mostlyclean in bash" ; \
3653         (cd bash && \
3654           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3655                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3656                   "RANLIB=$${RANLIB}" \
3657                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3658                   mostlyclean) \
3659           || exit 1
3660
3661 @endif bash
3662
3663 .PHONY: maybe-clean-bash clean-bash
3664 maybe-clean-bash:
3665 @if bash
3666 maybe-clean-bash: clean-bash
3667
3668 clean-bash: 
3669         @[ -f ./bash/Makefile ] || exit 0; \
3670         r=`${PWD_COMMAND}`; export r; \
3671         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3672         $(SET_LIB_PATH) \
3673         $(HOST_EXPORTS) \
3674         for flag in $(EXTRA_HOST_FLAGS) ; do \
3675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3676         done; \
3677         echo "Doing clean in bash" ; \
3678         (cd bash && \
3679           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3680                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3681                   "RANLIB=$${RANLIB}" \
3682                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3683                   clean) \
3684           || exit 1
3685
3686 @endif bash
3687
3688 .PHONY: maybe-distclean-bash distclean-bash
3689 maybe-distclean-bash:
3690 @if bash
3691 maybe-distclean-bash: distclean-bash
3692
3693 distclean-bash: 
3694         @[ -f ./bash/Makefile ] || exit 0; \
3695         r=`${PWD_COMMAND}`; export r; \
3696         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3697         $(SET_LIB_PATH) \
3698         $(HOST_EXPORTS) \
3699         for flag in $(EXTRA_HOST_FLAGS) ; do \
3700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3701         done; \
3702         echo "Doing distclean in bash" ; \
3703         (cd bash && \
3704           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3705                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3706                   "RANLIB=$${RANLIB}" \
3707                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3708                   distclean) \
3709           || exit 1
3710
3711 @endif bash
3712
3713 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3714 maybe-maintainer-clean-bash:
3715 @if bash
3716 maybe-maintainer-clean-bash: maintainer-clean-bash
3717
3718 maintainer-clean-bash: 
3719         @[ -f ./bash/Makefile ] || exit 0; \
3720         r=`${PWD_COMMAND}`; export r; \
3721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3722         $(SET_LIB_PATH) \
3723         $(HOST_EXPORTS) \
3724         for flag in $(EXTRA_HOST_FLAGS) ; do \
3725           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3726         done; \
3727         echo "Doing maintainer-clean in bash" ; \
3728         (cd bash && \
3729           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3730                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3731                   "RANLIB=$${RANLIB}" \
3732                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3733                   maintainer-clean) \
3734           || exit 1
3735
3736 @endif bash
3737
3738
3739 .PHONY: configure-bfd maybe-configure-bfd
3740 maybe-configure-bfd:
3741 @if bfd
3742 maybe-configure-bfd: configure-bfd
3743 configure-bfd:
3744         @test ! -f bfd/Makefile || exit 0; \
3745         [ -d bfd ] || mkdir bfd; \
3746         r=`${PWD_COMMAND}`; export r; \
3747         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3748         $(HOST_EXPORTS) \
3749         echo Configuring in bfd; \
3750         cd bfd || exit 1; \
3751         case $(srcdir) in \
3752           \.) \
3753             srcdiroption="--srcdir=."; \
3754             libsrcdir=".";; \
3755           /* | [A-Za-z]:[\\/]*) \
3756             srcdiroption="--srcdir=$(srcdir)/bfd"; \
3757             libsrcdir="$$s/bfd";; \
3758           *) \
3759             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3760             libsrcdir="$$s/bfd";; \
3761         esac; \
3762         $(SHELL) $${libsrcdir}/configure \
3763           $(HOST_CONFIGARGS) $${srcdiroption}  \
3764           || exit 1
3765 @endif bfd
3766
3767 .PHONY: all-bfd maybe-all-bfd
3768 maybe-all-bfd:
3769 @if bfd
3770 maybe-all-bfd: all-bfd
3771 all-bfd: configure-bfd
3772         @r=`${PWD_COMMAND}`; export r; \
3773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3774         $(SET_LIB_PATH) \
3775         $(HOST_EXPORTS) \
3776         (cd bfd && $(MAKE) $(FLAGS_TO_PASS)  all)
3777 @endif bfd
3778
3779 .PHONY: check-bfd maybe-check-bfd
3780 maybe-check-bfd:
3781 @if bfd
3782 maybe-check-bfd: check-bfd
3783
3784 check-bfd:
3785         @r=`${PWD_COMMAND}`; export r; \
3786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787         $(SET_LIB_PATH) \
3788         $(HOST_EXPORTS) \
3789         (cd bfd && $(MAKE) $(FLAGS_TO_PASS)  check)
3790
3791 @endif bfd
3792
3793 .PHONY: install-bfd maybe-install-bfd
3794 maybe-install-bfd:
3795 @if bfd
3796 maybe-install-bfd: install-bfd
3797
3798 install-bfd: installdirs
3799         @r=`${PWD_COMMAND}`; export r; \
3800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3801         $(SET_LIB_PATH) \
3802         $(HOST_EXPORTS) \
3803         (cd bfd && $(MAKE) $(FLAGS_TO_PASS)  install)
3804
3805 @endif bfd
3806
3807 # Other targets (info, dvi, etc.)
3808
3809 .PHONY: maybe-info-bfd info-bfd
3810 maybe-info-bfd:
3811 @if bfd
3812 maybe-info-bfd: info-bfd
3813
3814 info-bfd: \
3815     configure-bfd 
3816         @[ -f ./bfd/Makefile ] || exit 0; \
3817         r=`${PWD_COMMAND}`; export r; \
3818         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3819         $(SET_LIB_PATH) \
3820         $(HOST_EXPORTS) \
3821         for flag in $(EXTRA_HOST_FLAGS) ; do \
3822           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3823         done; \
3824         echo "Doing info in bfd" ; \
3825         (cd bfd && \
3826           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3827                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3828                   "RANLIB=$${RANLIB}" \
3829                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3830                   info) \
3831           || exit 1
3832
3833 @endif bfd
3834
3835 .PHONY: maybe-dvi-bfd dvi-bfd
3836 maybe-dvi-bfd:
3837 @if bfd
3838 maybe-dvi-bfd: dvi-bfd
3839
3840 dvi-bfd: \
3841     configure-bfd 
3842         @[ -f ./bfd/Makefile ] || exit 0; \
3843         r=`${PWD_COMMAND}`; export r; \
3844         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3845         $(SET_LIB_PATH) \
3846         $(HOST_EXPORTS) \
3847         for flag in $(EXTRA_HOST_FLAGS) ; do \
3848           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3849         done; \
3850         echo "Doing dvi in bfd" ; \
3851         (cd bfd && \
3852           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3853                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3854                   "RANLIB=$${RANLIB}" \
3855                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3856                   dvi) \
3857           || exit 1
3858
3859 @endif bfd
3860
3861 .PHONY: maybe-TAGS-bfd TAGS-bfd
3862 maybe-TAGS-bfd:
3863 @if bfd
3864 maybe-TAGS-bfd: TAGS-bfd
3865
3866 TAGS-bfd: \
3867     configure-bfd 
3868         @[ -f ./bfd/Makefile ] || exit 0; \
3869         r=`${PWD_COMMAND}`; export r; \
3870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3871         $(SET_LIB_PATH) \
3872         $(HOST_EXPORTS) \
3873         for flag in $(EXTRA_HOST_FLAGS) ; do \
3874           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3875         done; \
3876         echo "Doing TAGS in bfd" ; \
3877         (cd bfd && \
3878           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3879                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3880                   "RANLIB=$${RANLIB}" \
3881                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3882                   TAGS) \
3883           || exit 1
3884
3885 @endif bfd
3886
3887 .PHONY: maybe-install-info-bfd install-info-bfd
3888 maybe-install-info-bfd:
3889 @if bfd
3890 maybe-install-info-bfd: install-info-bfd
3891
3892 install-info-bfd: \
3893     configure-bfd \
3894     info-bfd 
3895         @[ -f ./bfd/Makefile ] || exit 0; \
3896         r=`${PWD_COMMAND}`; export r; \
3897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3898         $(SET_LIB_PATH) \
3899         $(HOST_EXPORTS) \
3900         for flag in $(EXTRA_HOST_FLAGS) ; do \
3901           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3902         done; \
3903         echo "Doing install-info in bfd" ; \
3904         (cd bfd && \
3905           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3906                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3907                   "RANLIB=$${RANLIB}" \
3908                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3909                   install-info) \
3910           || exit 1
3911
3912 @endif bfd
3913
3914 .PHONY: maybe-installcheck-bfd installcheck-bfd
3915 maybe-installcheck-bfd:
3916 @if bfd
3917 maybe-installcheck-bfd: installcheck-bfd
3918
3919 installcheck-bfd: \
3920     configure-bfd 
3921         @[ -f ./bfd/Makefile ] || exit 0; \
3922         r=`${PWD_COMMAND}`; export r; \
3923         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3924         $(SET_LIB_PATH) \
3925         $(HOST_EXPORTS) \
3926         for flag in $(EXTRA_HOST_FLAGS) ; do \
3927           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3928         done; \
3929         echo "Doing installcheck in bfd" ; \
3930         (cd bfd && \
3931           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3932                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3933                   "RANLIB=$${RANLIB}" \
3934                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3935                   installcheck) \
3936           || exit 1
3937
3938 @endif bfd
3939
3940 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3941 maybe-mostlyclean-bfd:
3942 @if bfd
3943 maybe-mostlyclean-bfd: mostlyclean-bfd
3944
3945 mostlyclean-bfd: 
3946         @[ -f ./bfd/Makefile ] || exit 0; \
3947         r=`${PWD_COMMAND}`; export r; \
3948         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3949         $(SET_LIB_PATH) \
3950         $(HOST_EXPORTS) \
3951         for flag in $(EXTRA_HOST_FLAGS) ; do \
3952           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3953         done; \
3954         echo "Doing mostlyclean in bfd" ; \
3955         (cd bfd && \
3956           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3957                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3958                   "RANLIB=$${RANLIB}" \
3959                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3960                   mostlyclean) \
3961           || exit 1
3962
3963 @endif bfd
3964
3965 .PHONY: maybe-clean-bfd clean-bfd
3966 maybe-clean-bfd:
3967 @if bfd
3968 maybe-clean-bfd: clean-bfd
3969
3970 clean-bfd: 
3971         @[ -f ./bfd/Makefile ] || exit 0; \
3972         r=`${PWD_COMMAND}`; export r; \
3973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3974         $(SET_LIB_PATH) \
3975         $(HOST_EXPORTS) \
3976         for flag in $(EXTRA_HOST_FLAGS) ; do \
3977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3978         done; \
3979         echo "Doing clean in bfd" ; \
3980         (cd bfd && \
3981           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3982                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3983                   "RANLIB=$${RANLIB}" \
3984                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3985                   clean) \
3986           || exit 1
3987
3988 @endif bfd
3989
3990 .PHONY: maybe-distclean-bfd distclean-bfd
3991 maybe-distclean-bfd:
3992 @if bfd
3993 maybe-distclean-bfd: distclean-bfd
3994
3995 distclean-bfd: 
3996         @[ -f ./bfd/Makefile ] || exit 0; \
3997         r=`${PWD_COMMAND}`; export r; \
3998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3999         $(SET_LIB_PATH) \
4000         $(HOST_EXPORTS) \
4001         for flag in $(EXTRA_HOST_FLAGS) ; do \
4002           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4003         done; \
4004         echo "Doing distclean in bfd" ; \
4005         (cd bfd && \
4006           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4007                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4008                   "RANLIB=$${RANLIB}" \
4009                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4010                   distclean) \
4011           || exit 1
4012
4013 @endif bfd
4014
4015 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4016 maybe-maintainer-clean-bfd:
4017 @if bfd
4018 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4019
4020 maintainer-clean-bfd: 
4021         @[ -f ./bfd/Makefile ] || exit 0; \
4022         r=`${PWD_COMMAND}`; export r; \
4023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4024         $(SET_LIB_PATH) \
4025         $(HOST_EXPORTS) \
4026         for flag in $(EXTRA_HOST_FLAGS) ; do \
4027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4028         done; \
4029         echo "Doing maintainer-clean in bfd" ; \
4030         (cd bfd && \
4031           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4032                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4033                   "RANLIB=$${RANLIB}" \
4034                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4035                   maintainer-clean) \
4036           || exit 1
4037
4038 @endif bfd
4039
4040
4041 .PHONY: configure-opcodes maybe-configure-opcodes
4042 maybe-configure-opcodes:
4043 @if opcodes
4044 maybe-configure-opcodes: configure-opcodes
4045 configure-opcodes:
4046         @test ! -f opcodes/Makefile || exit 0; \
4047         [ -d opcodes ] || mkdir opcodes; \
4048         r=`${PWD_COMMAND}`; export r; \
4049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4050         $(HOST_EXPORTS) \
4051         echo Configuring in opcodes; \
4052         cd opcodes || exit 1; \
4053         case $(srcdir) in \
4054           \.) \
4055             srcdiroption="--srcdir=."; \
4056             libsrcdir=".";; \
4057           /* | [A-Za-z]:[\\/]*) \
4058             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4059             libsrcdir="$$s/opcodes";; \
4060           *) \
4061             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4062             libsrcdir="$$s/opcodes";; \
4063         esac; \
4064         $(SHELL) $${libsrcdir}/configure \
4065           $(HOST_CONFIGARGS) $${srcdiroption}  \
4066           || exit 1
4067 @endif opcodes
4068
4069 .PHONY: all-opcodes maybe-all-opcodes
4070 maybe-all-opcodes:
4071 @if opcodes
4072 maybe-all-opcodes: all-opcodes
4073 all-opcodes: configure-opcodes
4074         @r=`${PWD_COMMAND}`; export r; \
4075         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4076         $(SET_LIB_PATH) \
4077         $(HOST_EXPORTS) \
4078         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS)  all)
4079 @endif opcodes
4080
4081 .PHONY: check-opcodes maybe-check-opcodes
4082 maybe-check-opcodes:
4083 @if opcodes
4084 maybe-check-opcodes: check-opcodes
4085
4086 check-opcodes:
4087         @r=`${PWD_COMMAND}`; export r; \
4088         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089         $(SET_LIB_PATH) \
4090         $(HOST_EXPORTS) \
4091         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS)  check)
4092
4093 @endif opcodes
4094
4095 .PHONY: install-opcodes maybe-install-opcodes
4096 maybe-install-opcodes:
4097 @if opcodes
4098 maybe-install-opcodes: install-opcodes
4099
4100 install-opcodes: installdirs
4101         @r=`${PWD_COMMAND}`; export r; \
4102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4103         $(SET_LIB_PATH) \
4104         $(HOST_EXPORTS) \
4105         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS)  install)
4106
4107 @endif opcodes
4108
4109 # Other targets (info, dvi, etc.)
4110
4111 .PHONY: maybe-info-opcodes info-opcodes
4112 maybe-info-opcodes:
4113 @if opcodes
4114 maybe-info-opcodes: info-opcodes
4115
4116 info-opcodes: \
4117     configure-opcodes 
4118         @[ -f ./opcodes/Makefile ] || exit 0; \
4119         r=`${PWD_COMMAND}`; export r; \
4120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4121         $(SET_LIB_PATH) \
4122         $(HOST_EXPORTS) \
4123         for flag in $(EXTRA_HOST_FLAGS) ; do \
4124           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4125         done; \
4126         echo "Doing info in opcodes" ; \
4127         (cd opcodes && \
4128           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4129                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4130                   "RANLIB=$${RANLIB}" \
4131                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4132                   info) \
4133           || exit 1
4134
4135 @endif opcodes
4136
4137 .PHONY: maybe-dvi-opcodes dvi-opcodes
4138 maybe-dvi-opcodes:
4139 @if opcodes
4140 maybe-dvi-opcodes: dvi-opcodes
4141
4142 dvi-opcodes: \
4143     configure-opcodes 
4144         @[ -f ./opcodes/Makefile ] || exit 0; \
4145         r=`${PWD_COMMAND}`; export r; \
4146         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4147         $(SET_LIB_PATH) \
4148         $(HOST_EXPORTS) \
4149         for flag in $(EXTRA_HOST_FLAGS) ; do \
4150           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4151         done; \
4152         echo "Doing dvi in opcodes" ; \
4153         (cd opcodes && \
4154           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4155                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4156                   "RANLIB=$${RANLIB}" \
4157                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4158                   dvi) \
4159           || exit 1
4160
4161 @endif opcodes
4162
4163 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4164 maybe-TAGS-opcodes:
4165 @if opcodes
4166 maybe-TAGS-opcodes: TAGS-opcodes
4167
4168 TAGS-opcodes: \
4169     configure-opcodes 
4170         @[ -f ./opcodes/Makefile ] || exit 0; \
4171         r=`${PWD_COMMAND}`; export r; \
4172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4173         $(SET_LIB_PATH) \
4174         $(HOST_EXPORTS) \
4175         for flag in $(EXTRA_HOST_FLAGS) ; do \
4176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4177         done; \
4178         echo "Doing TAGS in opcodes" ; \
4179         (cd opcodes && \
4180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4182                   "RANLIB=$${RANLIB}" \
4183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4184                   TAGS) \
4185           || exit 1
4186
4187 @endif opcodes
4188
4189 .PHONY: maybe-install-info-opcodes install-info-opcodes
4190 maybe-install-info-opcodes:
4191 @if opcodes
4192 maybe-install-info-opcodes: install-info-opcodes
4193
4194 install-info-opcodes: \
4195     configure-opcodes \
4196     info-opcodes 
4197         @[ -f ./opcodes/Makefile ] || exit 0; \
4198         r=`${PWD_COMMAND}`; export r; \
4199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200         $(SET_LIB_PATH) \
4201         $(HOST_EXPORTS) \
4202         for flag in $(EXTRA_HOST_FLAGS) ; do \
4203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4204         done; \
4205         echo "Doing install-info in opcodes" ; \
4206         (cd opcodes && \
4207           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4208                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4209                   "RANLIB=$${RANLIB}" \
4210                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4211                   install-info) \
4212           || exit 1
4213
4214 @endif opcodes
4215
4216 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4217 maybe-installcheck-opcodes:
4218 @if opcodes
4219 maybe-installcheck-opcodes: installcheck-opcodes
4220
4221 installcheck-opcodes: \
4222     configure-opcodes 
4223         @[ -f ./opcodes/Makefile ] || exit 0; \
4224         r=`${PWD_COMMAND}`; export r; \
4225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4226         $(SET_LIB_PATH) \
4227         $(HOST_EXPORTS) \
4228         for flag in $(EXTRA_HOST_FLAGS) ; do \
4229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4230         done; \
4231         echo "Doing installcheck in opcodes" ; \
4232         (cd opcodes && \
4233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4235                   "RANLIB=$${RANLIB}" \
4236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4237                   installcheck) \
4238           || exit 1
4239
4240 @endif opcodes
4241
4242 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4243 maybe-mostlyclean-opcodes:
4244 @if opcodes
4245 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4246
4247 mostlyclean-opcodes: 
4248         @[ -f ./opcodes/Makefile ] || exit 0; \
4249         r=`${PWD_COMMAND}`; export r; \
4250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4251         $(SET_LIB_PATH) \
4252         $(HOST_EXPORTS) \
4253         for flag in $(EXTRA_HOST_FLAGS) ; do \
4254           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4255         done; \
4256         echo "Doing mostlyclean in opcodes" ; \
4257         (cd opcodes && \
4258           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4259                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4260                   "RANLIB=$${RANLIB}" \
4261                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4262                   mostlyclean) \
4263           || exit 1
4264
4265 @endif opcodes
4266
4267 .PHONY: maybe-clean-opcodes clean-opcodes
4268 maybe-clean-opcodes:
4269 @if opcodes
4270 maybe-clean-opcodes: clean-opcodes
4271
4272 clean-opcodes: 
4273         @[ -f ./opcodes/Makefile ] || exit 0; \
4274         r=`${PWD_COMMAND}`; export r; \
4275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4276         $(SET_LIB_PATH) \
4277         $(HOST_EXPORTS) \
4278         for flag in $(EXTRA_HOST_FLAGS) ; do \
4279           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4280         done; \
4281         echo "Doing clean in opcodes" ; \
4282         (cd opcodes && \
4283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4285                   "RANLIB=$${RANLIB}" \
4286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4287                   clean) \
4288           || exit 1
4289
4290 @endif opcodes
4291
4292 .PHONY: maybe-distclean-opcodes distclean-opcodes
4293 maybe-distclean-opcodes:
4294 @if opcodes
4295 maybe-distclean-opcodes: distclean-opcodes
4296
4297 distclean-opcodes: 
4298         @[ -f ./opcodes/Makefile ] || exit 0; \
4299         r=`${PWD_COMMAND}`; export r; \
4300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4301         $(SET_LIB_PATH) \
4302         $(HOST_EXPORTS) \
4303         for flag in $(EXTRA_HOST_FLAGS) ; do \
4304           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4305         done; \
4306         echo "Doing distclean in opcodes" ; \
4307         (cd opcodes && \
4308           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4309                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4310                   "RANLIB=$${RANLIB}" \
4311                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4312                   distclean) \
4313           || exit 1
4314
4315 @endif opcodes
4316
4317 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4318 maybe-maintainer-clean-opcodes:
4319 @if opcodes
4320 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4321
4322 maintainer-clean-opcodes: 
4323         @[ -f ./opcodes/Makefile ] || exit 0; \
4324         r=`${PWD_COMMAND}`; export r; \
4325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4326         $(SET_LIB_PATH) \
4327         $(HOST_EXPORTS) \
4328         for flag in $(EXTRA_HOST_FLAGS) ; do \
4329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4330         done; \
4331         echo "Doing maintainer-clean in opcodes" ; \
4332         (cd opcodes && \
4333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4335                   "RANLIB=$${RANLIB}" \
4336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4337                   maintainer-clean) \
4338           || exit 1
4339
4340 @endif opcodes
4341
4342
4343 .PHONY: configure-binutils maybe-configure-binutils
4344 maybe-configure-binutils:
4345 @if binutils
4346 maybe-configure-binutils: configure-binutils
4347 configure-binutils:
4348         @test ! -f binutils/Makefile || exit 0; \
4349         [ -d binutils ] || mkdir binutils; \
4350         r=`${PWD_COMMAND}`; export r; \
4351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4352         $(HOST_EXPORTS) \
4353         echo Configuring in binutils; \
4354         cd binutils || exit 1; \
4355         case $(srcdir) in \
4356           \.) \
4357             srcdiroption="--srcdir=."; \
4358             libsrcdir=".";; \
4359           /* | [A-Za-z]:[\\/]*) \
4360             srcdiroption="--srcdir=$(srcdir)/binutils"; \
4361             libsrcdir="$$s/binutils";; \
4362           *) \
4363             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4364             libsrcdir="$$s/binutils";; \
4365         esac; \
4366         $(SHELL) $${libsrcdir}/configure \
4367           $(HOST_CONFIGARGS) $${srcdiroption}  \
4368           || exit 1
4369 @endif binutils
4370
4371 .PHONY: all-binutils maybe-all-binutils
4372 maybe-all-binutils:
4373 @if binutils
4374 maybe-all-binutils: all-binutils
4375 all-binutils: configure-binutils
4376         @r=`${PWD_COMMAND}`; export r; \
4377         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4378         $(SET_LIB_PATH) \
4379         $(HOST_EXPORTS) \
4380         (cd binutils && $(MAKE) $(FLAGS_TO_PASS)  all)
4381 @endif binutils
4382
4383 .PHONY: check-binutils maybe-check-binutils
4384 maybe-check-binutils:
4385 @if binutils
4386 maybe-check-binutils: check-binutils
4387
4388 check-binutils:
4389         @r=`${PWD_COMMAND}`; export r; \
4390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4391         $(SET_LIB_PATH) \
4392         $(HOST_EXPORTS) \
4393         (cd binutils && $(MAKE) $(FLAGS_TO_PASS)  check)
4394
4395 @endif binutils
4396
4397 .PHONY: install-binutils maybe-install-binutils
4398 maybe-install-binutils:
4399 @if binutils
4400 maybe-install-binutils: install-binutils
4401
4402 install-binutils: installdirs
4403         @r=`${PWD_COMMAND}`; export r; \
4404         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4405         $(SET_LIB_PATH) \
4406         $(HOST_EXPORTS) \
4407         (cd binutils && $(MAKE) $(FLAGS_TO_PASS)  install)
4408
4409 @endif binutils
4410
4411 # Other targets (info, dvi, etc.)
4412
4413 .PHONY: maybe-info-binutils info-binutils
4414 maybe-info-binutils:
4415 @if binutils
4416 maybe-info-binutils: info-binutils
4417
4418 info-binutils: \
4419     configure-binutils 
4420         @[ -f ./binutils/Makefile ] || exit 0; \
4421         r=`${PWD_COMMAND}`; export r; \
4422         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4423         $(SET_LIB_PATH) \
4424         $(HOST_EXPORTS) \
4425         for flag in $(EXTRA_HOST_FLAGS) ; do \
4426           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4427         done; \
4428         echo "Doing info in binutils" ; \
4429         (cd binutils && \
4430           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4431                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4432                   "RANLIB=$${RANLIB}" \
4433                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4434                   info) \
4435           || exit 1
4436
4437 @endif binutils
4438
4439 .PHONY: maybe-dvi-binutils dvi-binutils
4440 maybe-dvi-binutils:
4441 @if binutils
4442 maybe-dvi-binutils: dvi-binutils
4443
4444 dvi-binutils: \
4445     configure-binutils 
4446         @[ -f ./binutils/Makefile ] || exit 0; \
4447         r=`${PWD_COMMAND}`; export r; \
4448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4449         $(SET_LIB_PATH) \
4450         $(HOST_EXPORTS) \
4451         for flag in $(EXTRA_HOST_FLAGS) ; do \
4452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4453         done; \
4454         echo "Doing dvi in binutils" ; \
4455         (cd binutils && \
4456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4458                   "RANLIB=$${RANLIB}" \
4459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4460                   dvi) \
4461           || exit 1
4462
4463 @endif binutils
4464
4465 .PHONY: maybe-TAGS-binutils TAGS-binutils
4466 maybe-TAGS-binutils:
4467 @if binutils
4468 maybe-TAGS-binutils: TAGS-binutils
4469
4470 TAGS-binutils: \
4471     configure-binutils 
4472         @[ -f ./binutils/Makefile ] || exit 0; \
4473         r=`${PWD_COMMAND}`; export r; \
4474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4475         $(SET_LIB_PATH) \
4476         $(HOST_EXPORTS) \
4477         for flag in $(EXTRA_HOST_FLAGS) ; do \
4478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4479         done; \
4480         echo "Doing TAGS in binutils" ; \
4481         (cd binutils && \
4482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4484                   "RANLIB=$${RANLIB}" \
4485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4486                   TAGS) \
4487           || exit 1
4488
4489 @endif binutils
4490
4491 .PHONY: maybe-install-info-binutils install-info-binutils
4492 maybe-install-info-binutils:
4493 @if binutils
4494 maybe-install-info-binutils: install-info-binutils
4495
4496 install-info-binutils: \
4497     configure-binutils \
4498     info-binutils 
4499         @[ -f ./binutils/Makefile ] || exit 0; \
4500         r=`${PWD_COMMAND}`; export r; \
4501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4502         $(SET_LIB_PATH) \
4503         $(HOST_EXPORTS) \
4504         for flag in $(EXTRA_HOST_FLAGS) ; do \
4505           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4506         done; \
4507         echo "Doing install-info in binutils" ; \
4508         (cd binutils && \
4509           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4510                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4511                   "RANLIB=$${RANLIB}" \
4512                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4513                   install-info) \
4514           || exit 1
4515
4516 @endif binutils
4517
4518 .PHONY: maybe-installcheck-binutils installcheck-binutils
4519 maybe-installcheck-binutils:
4520 @if binutils
4521 maybe-installcheck-binutils: installcheck-binutils
4522
4523 installcheck-binutils: \
4524     configure-binutils 
4525         @[ -f ./binutils/Makefile ] || exit 0; \
4526         r=`${PWD_COMMAND}`; export r; \
4527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4528         $(SET_LIB_PATH) \
4529         $(HOST_EXPORTS) \
4530         for flag in $(EXTRA_HOST_FLAGS) ; do \
4531           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4532         done; \
4533         echo "Doing installcheck in binutils" ; \
4534         (cd binutils && \
4535           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4536                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4537                   "RANLIB=$${RANLIB}" \
4538                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4539                   installcheck) \
4540           || exit 1
4541
4542 @endif binutils
4543
4544 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4545 maybe-mostlyclean-binutils:
4546 @if binutils
4547 maybe-mostlyclean-binutils: mostlyclean-binutils
4548
4549 mostlyclean-binutils: 
4550         @[ -f ./binutils/Makefile ] || exit 0; \
4551         r=`${PWD_COMMAND}`; export r; \
4552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4553         $(SET_LIB_PATH) \
4554         $(HOST_EXPORTS) \
4555         for flag in $(EXTRA_HOST_FLAGS) ; do \
4556           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4557         done; \
4558         echo "Doing mostlyclean in binutils" ; \
4559         (cd binutils && \
4560           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4561                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4562                   "RANLIB=$${RANLIB}" \
4563                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4564                   mostlyclean) \
4565           || exit 1
4566
4567 @endif binutils
4568
4569 .PHONY: maybe-clean-binutils clean-binutils
4570 maybe-clean-binutils:
4571 @if binutils
4572 maybe-clean-binutils: clean-binutils
4573
4574 clean-binutils: 
4575         @[ -f ./binutils/Makefile ] || exit 0; \
4576         r=`${PWD_COMMAND}`; export r; \
4577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4578         $(SET_LIB_PATH) \
4579         $(HOST_EXPORTS) \
4580         for flag in $(EXTRA_HOST_FLAGS) ; do \
4581           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4582         done; \
4583         echo "Doing clean in binutils" ; \
4584         (cd binutils && \
4585           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4586                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4587                   "RANLIB=$${RANLIB}" \
4588                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4589                   clean) \
4590           || exit 1
4591
4592 @endif binutils
4593
4594 .PHONY: maybe-distclean-binutils distclean-binutils
4595 maybe-distclean-binutils:
4596 @if binutils
4597 maybe-distclean-binutils: distclean-binutils
4598
4599 distclean-binutils: 
4600         @[ -f ./binutils/Makefile ] || exit 0; \
4601         r=`${PWD_COMMAND}`; export r; \
4602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4603         $(SET_LIB_PATH) \
4604         $(HOST_EXPORTS) \
4605         for flag in $(EXTRA_HOST_FLAGS) ; do \
4606           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4607         done; \
4608         echo "Doing distclean in binutils" ; \
4609         (cd binutils && \
4610           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4611                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4612                   "RANLIB=$${RANLIB}" \
4613                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4614                   distclean) \
4615           || exit 1
4616
4617 @endif binutils
4618
4619 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4620 maybe-maintainer-clean-binutils:
4621 @if binutils
4622 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4623
4624 maintainer-clean-binutils: 
4625         @[ -f ./binutils/Makefile ] || exit 0; \
4626         r=`${PWD_COMMAND}`; export r; \
4627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4628         $(SET_LIB_PATH) \
4629         $(HOST_EXPORTS) \
4630         for flag in $(EXTRA_HOST_FLAGS) ; do \
4631           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4632         done; \
4633         echo "Doing maintainer-clean in binutils" ; \
4634         (cd binutils && \
4635           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4636                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4637                   "RANLIB=$${RANLIB}" \
4638                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4639                   maintainer-clean) \
4640           || exit 1
4641
4642 @endif binutils
4643
4644
4645 .PHONY: configure-bison maybe-configure-bison
4646 maybe-configure-bison:
4647 @if bison
4648 maybe-configure-bison: configure-bison
4649 configure-bison:
4650         @test ! -f bison/Makefile || exit 0; \
4651         [ -d bison ] || mkdir bison; \
4652         r=`${PWD_COMMAND}`; export r; \
4653         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4654         $(HOST_EXPORTS) \
4655         echo Configuring in bison; \
4656         cd bison || exit 1; \
4657         case $(srcdir) in \
4658           \.) \
4659             srcdiroption="--srcdir=."; \
4660             libsrcdir=".";; \
4661           /* | [A-Za-z]:[\\/]*) \
4662             srcdiroption="--srcdir=$(srcdir)/bison"; \
4663             libsrcdir="$$s/bison";; \
4664           *) \
4665             srcdiroption="--srcdir=../$(srcdir)/bison"; \
4666             libsrcdir="$$s/bison";; \
4667         esac; \
4668         $(SHELL) $${libsrcdir}/configure \
4669           $(HOST_CONFIGARGS) $${srcdiroption}  \
4670           || exit 1
4671 @endif bison
4672
4673 .PHONY: all-bison maybe-all-bison
4674 maybe-all-bison:
4675 @if bison
4676 maybe-all-bison: all-bison
4677 all-bison: configure-bison
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)  all)
4683 @endif bison
4684
4685 .PHONY: check-bison maybe-check-bison
4686 maybe-check-bison:
4687 @if bison
4688 maybe-check-bison: check-bison
4689
4690 # This module is only tested in a native toolchain.
4691 check-bison:
4692         @if [ '$(host)' = '$(target)' ] ; then \
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)  check); \
4698         fi
4699
4700 @endif bison
4701
4702 .PHONY: install-bison maybe-install-bison
4703 maybe-install-bison:
4704 @if bison
4705 maybe-install-bison: install-bison
4706
4707 install-bison: installdirs
4708         @r=`${PWD_COMMAND}`; export r; \
4709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4710         $(SET_LIB_PATH) \
4711         $(HOST_EXPORTS) \
4712         (cd bison && $(MAKE) $(FLAGS_TO_PASS)  install)
4713
4714 @endif bison
4715
4716 # Other targets (info, dvi, etc.)
4717
4718 .PHONY: maybe-info-bison info-bison
4719 maybe-info-bison:
4720 @if bison
4721 maybe-info-bison: info-bison
4722
4723 info-bison: \
4724     configure-bison 
4725         @[ -f ./bison/Makefile ] || exit 0; \
4726         r=`${PWD_COMMAND}`; export r; \
4727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4728         $(SET_LIB_PATH) \
4729         $(HOST_EXPORTS) \
4730         for flag in $(EXTRA_HOST_FLAGS) ; do \
4731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4732         done; \
4733         echo "Doing info in bison" ; \
4734         (cd bison && \
4735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4737                   "RANLIB=$${RANLIB}" \
4738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4739                   info) \
4740           || exit 1
4741
4742 @endif bison
4743
4744 .PHONY: maybe-dvi-bison dvi-bison
4745 maybe-dvi-bison:
4746 @if bison
4747 maybe-dvi-bison: dvi-bison
4748
4749 dvi-bison: \
4750     configure-bison 
4751         @[ -f ./bison/Makefile ] || exit 0; \
4752         r=`${PWD_COMMAND}`; export r; \
4753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4754         $(SET_LIB_PATH) \
4755         $(HOST_EXPORTS) \
4756         for flag in $(EXTRA_HOST_FLAGS) ; do \
4757           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4758         done; \
4759         echo "Doing dvi in bison" ; \
4760         (cd bison && \
4761           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4762                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4763                   "RANLIB=$${RANLIB}" \
4764                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4765                   dvi) \
4766           || exit 1
4767
4768 @endif bison
4769
4770 .PHONY: maybe-TAGS-bison TAGS-bison
4771 maybe-TAGS-bison:
4772 @if bison
4773 maybe-TAGS-bison: TAGS-bison
4774
4775 TAGS-bison: \
4776     configure-bison 
4777         @[ -f ./bison/Makefile ] || exit 0; \
4778         r=`${PWD_COMMAND}`; export r; \
4779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4780         $(SET_LIB_PATH) \
4781         $(HOST_EXPORTS) \
4782         for flag in $(EXTRA_HOST_FLAGS) ; do \
4783           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4784         done; \
4785         echo "Doing TAGS in bison" ; \
4786         (cd bison && \
4787           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4788                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4789                   "RANLIB=$${RANLIB}" \
4790                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4791                   TAGS) \
4792           || exit 1
4793
4794 @endif bison
4795
4796 .PHONY: maybe-install-info-bison install-info-bison
4797 maybe-install-info-bison:
4798 @if bison
4799 maybe-install-info-bison: install-info-bison
4800
4801 install-info-bison: \
4802     configure-bison \
4803     info-bison 
4804         @[ -f ./bison/Makefile ] || exit 0; \
4805         r=`${PWD_COMMAND}`; export r; \
4806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4807         $(SET_LIB_PATH) \
4808         $(HOST_EXPORTS) \
4809         for flag in $(EXTRA_HOST_FLAGS) ; do \
4810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4811         done; \
4812         echo "Doing install-info in bison" ; \
4813         (cd bison && \
4814           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4815                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4816                   "RANLIB=$${RANLIB}" \
4817                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4818                   install-info) \
4819           || exit 1
4820
4821 @endif bison
4822
4823 .PHONY: maybe-installcheck-bison installcheck-bison
4824 maybe-installcheck-bison:
4825 @if bison
4826 maybe-installcheck-bison: installcheck-bison
4827
4828 installcheck-bison: \
4829     configure-bison 
4830         @[ -f ./bison/Makefile ] || exit 0; \
4831         r=`${PWD_COMMAND}`; export r; \
4832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4833         $(SET_LIB_PATH) \
4834         $(HOST_EXPORTS) \
4835         for flag in $(EXTRA_HOST_FLAGS) ; do \
4836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4837         done; \
4838         echo "Doing installcheck in bison" ; \
4839         (cd bison && \
4840           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4841                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4842                   "RANLIB=$${RANLIB}" \
4843                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4844                   installcheck) \
4845           || exit 1
4846
4847 @endif bison
4848
4849 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4850 maybe-mostlyclean-bison:
4851 @if bison
4852 maybe-mostlyclean-bison: mostlyclean-bison
4853
4854 mostlyclean-bison: 
4855         @[ -f ./bison/Makefile ] || exit 0; \
4856         r=`${PWD_COMMAND}`; export r; \
4857         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4858         $(SET_LIB_PATH) \
4859         $(HOST_EXPORTS) \
4860         for flag in $(EXTRA_HOST_FLAGS) ; do \
4861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4862         done; \
4863         echo "Doing mostlyclean in bison" ; \
4864         (cd bison && \
4865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4867                   "RANLIB=$${RANLIB}" \
4868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4869                   mostlyclean) \
4870           || exit 1
4871
4872 @endif bison
4873
4874 .PHONY: maybe-clean-bison clean-bison
4875 maybe-clean-bison:
4876 @if bison
4877 maybe-clean-bison: clean-bison
4878
4879 clean-bison: 
4880         @[ -f ./bison/Makefile ] || exit 0; \
4881         r=`${PWD_COMMAND}`; export r; \
4882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883         $(SET_LIB_PATH) \
4884         $(HOST_EXPORTS) \
4885         for flag in $(EXTRA_HOST_FLAGS) ; do \
4886           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4887         done; \
4888         echo "Doing clean in bison" ; \
4889         (cd bison && \
4890           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4891                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4892                   "RANLIB=$${RANLIB}" \
4893                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4894                   clean) \
4895           || exit 1
4896
4897 @endif bison
4898
4899 .PHONY: maybe-distclean-bison distclean-bison
4900 maybe-distclean-bison:
4901 @if bison
4902 maybe-distclean-bison: distclean-bison
4903
4904 distclean-bison: 
4905         @[ -f ./bison/Makefile ] || exit 0; \
4906         r=`${PWD_COMMAND}`; export r; \
4907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4908         $(SET_LIB_PATH) \
4909         $(HOST_EXPORTS) \
4910         for flag in $(EXTRA_HOST_FLAGS) ; do \
4911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4912         done; \
4913         echo "Doing distclean in bison" ; \
4914         (cd bison && \
4915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4917                   "RANLIB=$${RANLIB}" \
4918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4919                   distclean) \
4920           || exit 1
4921
4922 @endif bison
4923
4924 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4925 maybe-maintainer-clean-bison:
4926 @if bison
4927 maybe-maintainer-clean-bison: maintainer-clean-bison
4928
4929 maintainer-clean-bison: 
4930         @[ -f ./bison/Makefile ] || exit 0; \
4931         r=`${PWD_COMMAND}`; export r; \
4932         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4933         $(SET_LIB_PATH) \
4934         $(HOST_EXPORTS) \
4935         for flag in $(EXTRA_HOST_FLAGS) ; do \
4936           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4937         done; \
4938         echo "Doing maintainer-clean in bison" ; \
4939         (cd bison && \
4940           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4941                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4942                   "RANLIB=$${RANLIB}" \
4943                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4944                   maintainer-clean) \
4945           || exit 1
4946
4947 @endif bison
4948
4949
4950 .PHONY: configure-byacc maybe-configure-byacc
4951 maybe-configure-byacc:
4952 @if byacc
4953 maybe-configure-byacc: configure-byacc
4954 configure-byacc:
4955         @test ! -f byacc/Makefile || exit 0; \
4956         [ -d byacc ] || mkdir byacc; \
4957         r=`${PWD_COMMAND}`; export r; \
4958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959         $(HOST_EXPORTS) \
4960         echo Configuring in byacc; \
4961         cd byacc || exit 1; \
4962         case $(srcdir) in \
4963           \.) \
4964             srcdiroption="--srcdir=."; \
4965             libsrcdir=".";; \
4966           /* | [A-Za-z]:[\\/]*) \
4967             srcdiroption="--srcdir=$(srcdir)/byacc"; \
4968             libsrcdir="$$s/byacc";; \
4969           *) \
4970             srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4971             libsrcdir="$$s/byacc";; \
4972         esac; \
4973         $(SHELL) $${libsrcdir}/configure \
4974           $(HOST_CONFIGARGS) $${srcdiroption}  \
4975           || exit 1
4976 @endif byacc
4977
4978 .PHONY: all-byacc maybe-all-byacc
4979 maybe-all-byacc:
4980 @if byacc
4981 maybe-all-byacc: all-byacc
4982 all-byacc: configure-byacc
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)  all)
4988 @endif byacc
4989
4990 .PHONY: check-byacc maybe-check-byacc
4991 maybe-check-byacc:
4992 @if byacc
4993 maybe-check-byacc: check-byacc
4994
4995 # This module is only tested in a native toolchain.
4996 check-byacc:
4997         @if [ '$(host)' = '$(target)' ] ; then \
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)  check); \
5003         fi
5004
5005 @endif byacc
5006
5007 .PHONY: install-byacc maybe-install-byacc
5008 maybe-install-byacc:
5009 @if byacc
5010 maybe-install-byacc: install-byacc
5011
5012 install-byacc: installdirs
5013         @r=`${PWD_COMMAND}`; export r; \
5014         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5015         $(SET_LIB_PATH) \
5016         $(HOST_EXPORTS) \
5017         (cd byacc && $(MAKE) $(FLAGS_TO_PASS)  install)
5018
5019 @endif byacc
5020
5021 # Other targets (info, dvi, etc.)
5022
5023 .PHONY: maybe-info-byacc info-byacc
5024 maybe-info-byacc:
5025 @if byacc
5026 maybe-info-byacc: info-byacc
5027
5028 info-byacc: \
5029     configure-byacc 
5030         @[ -f ./byacc/Makefile ] || exit 0; \
5031         r=`${PWD_COMMAND}`; export r; \
5032         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5033         $(SET_LIB_PATH) \
5034         $(HOST_EXPORTS) \
5035         for flag in $(EXTRA_HOST_FLAGS) ; do \
5036           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5037         done; \
5038         echo "Doing info in byacc" ; \
5039         (cd byacc && \
5040           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5041                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5042                   "RANLIB=$${RANLIB}" \
5043                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5044                   info) \
5045           || exit 1
5046
5047 @endif byacc
5048
5049 .PHONY: maybe-dvi-byacc dvi-byacc
5050 maybe-dvi-byacc:
5051 @if byacc
5052 maybe-dvi-byacc: dvi-byacc
5053
5054 dvi-byacc: \
5055     configure-byacc 
5056         @[ -f ./byacc/Makefile ] || exit 0; \
5057         r=`${PWD_COMMAND}`; export r; \
5058         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5059         $(SET_LIB_PATH) \
5060         $(HOST_EXPORTS) \
5061         for flag in $(EXTRA_HOST_FLAGS) ; do \
5062           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5063         done; \
5064         echo "Doing dvi in byacc" ; \
5065         (cd byacc && \
5066           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5067                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5068                   "RANLIB=$${RANLIB}" \
5069                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5070                   dvi) \
5071           || exit 1
5072
5073 @endif byacc
5074
5075 .PHONY: maybe-TAGS-byacc TAGS-byacc
5076 maybe-TAGS-byacc:
5077 @if byacc
5078 maybe-TAGS-byacc: TAGS-byacc
5079
5080 TAGS-byacc: \
5081     configure-byacc 
5082         @[ -f ./byacc/Makefile ] || exit 0; \
5083         r=`${PWD_COMMAND}`; export r; \
5084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5085         $(SET_LIB_PATH) \
5086         $(HOST_EXPORTS) \
5087         for flag in $(EXTRA_HOST_FLAGS) ; do \
5088           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5089         done; \
5090         echo "Doing TAGS in byacc" ; \
5091         (cd byacc && \
5092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5094                   "RANLIB=$${RANLIB}" \
5095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5096                   TAGS) \
5097           || exit 1
5098
5099 @endif byacc
5100
5101 .PHONY: maybe-install-info-byacc install-info-byacc
5102 maybe-install-info-byacc:
5103 @if byacc
5104 maybe-install-info-byacc: install-info-byacc
5105
5106 install-info-byacc: \
5107     configure-byacc \
5108     info-byacc 
5109         @[ -f ./byacc/Makefile ] || exit 0; \
5110         r=`${PWD_COMMAND}`; export r; \
5111         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5112         $(SET_LIB_PATH) \
5113         $(HOST_EXPORTS) \
5114         for flag in $(EXTRA_HOST_FLAGS) ; do \
5115           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5116         done; \
5117         echo "Doing install-info in byacc" ; \
5118         (cd byacc && \
5119           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5120                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5121                   "RANLIB=$${RANLIB}" \
5122                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5123                   install-info) \
5124           || exit 1
5125
5126 @endif byacc
5127
5128 .PHONY: maybe-installcheck-byacc installcheck-byacc
5129 maybe-installcheck-byacc:
5130 @if byacc
5131 maybe-installcheck-byacc: installcheck-byacc
5132
5133 installcheck-byacc: \
5134     configure-byacc 
5135         @[ -f ./byacc/Makefile ] || exit 0; \
5136         r=`${PWD_COMMAND}`; export r; \
5137         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5138         $(SET_LIB_PATH) \
5139         $(HOST_EXPORTS) \
5140         for flag in $(EXTRA_HOST_FLAGS) ; do \
5141           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5142         done; \
5143         echo "Doing installcheck in byacc" ; \
5144         (cd byacc && \
5145           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5146                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5147                   "RANLIB=$${RANLIB}" \
5148                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5149                   installcheck) \
5150           || exit 1
5151
5152 @endif byacc
5153
5154 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5155 maybe-mostlyclean-byacc:
5156 @if byacc
5157 maybe-mostlyclean-byacc: mostlyclean-byacc
5158
5159 mostlyclean-byacc: 
5160         @[ -f ./byacc/Makefile ] || exit 0; \
5161         r=`${PWD_COMMAND}`; export r; \
5162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5163         $(SET_LIB_PATH) \
5164         $(HOST_EXPORTS) \
5165         for flag in $(EXTRA_HOST_FLAGS) ; do \
5166           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5167         done; \
5168         echo "Doing mostlyclean in byacc" ; \
5169         (cd byacc && \
5170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5172                   "RANLIB=$${RANLIB}" \
5173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5174                   mostlyclean) \
5175           || exit 1
5176
5177 @endif byacc
5178
5179 .PHONY: maybe-clean-byacc clean-byacc
5180 maybe-clean-byacc:
5181 @if byacc
5182 maybe-clean-byacc: clean-byacc
5183
5184 clean-byacc: 
5185         @[ -f ./byacc/Makefile ] || exit 0; \
5186         r=`${PWD_COMMAND}`; export r; \
5187         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5188         $(SET_LIB_PATH) \
5189         $(HOST_EXPORTS) \
5190         for flag in $(EXTRA_HOST_FLAGS) ; do \
5191           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5192         done; \
5193         echo "Doing clean in byacc" ; \
5194         (cd byacc && \
5195           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5196                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5197                   "RANLIB=$${RANLIB}" \
5198                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5199                   clean) \
5200           || exit 1
5201
5202 @endif byacc
5203
5204 .PHONY: maybe-distclean-byacc distclean-byacc
5205 maybe-distclean-byacc:
5206 @if byacc
5207 maybe-distclean-byacc: distclean-byacc
5208
5209 distclean-byacc: 
5210         @[ -f ./byacc/Makefile ] || exit 0; \
5211         r=`${PWD_COMMAND}`; export r; \
5212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5213         $(SET_LIB_PATH) \
5214         $(HOST_EXPORTS) \
5215         for flag in $(EXTRA_HOST_FLAGS) ; do \
5216           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5217         done; \
5218         echo "Doing distclean in byacc" ; \
5219         (cd byacc && \
5220           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5221                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5222                   "RANLIB=$${RANLIB}" \
5223                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5224                   distclean) \
5225           || exit 1
5226
5227 @endif byacc
5228
5229 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5230 maybe-maintainer-clean-byacc:
5231 @if byacc
5232 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5233
5234 maintainer-clean-byacc: 
5235         @[ -f ./byacc/Makefile ] || exit 0; \
5236         r=`${PWD_COMMAND}`; export r; \
5237         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5238         $(SET_LIB_PATH) \
5239         $(HOST_EXPORTS) \
5240         for flag in $(EXTRA_HOST_FLAGS) ; do \
5241           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5242         done; \
5243         echo "Doing maintainer-clean in byacc" ; \
5244         (cd byacc && \
5245           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5246                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5247                   "RANLIB=$${RANLIB}" \
5248                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5249                   maintainer-clean) \
5250           || exit 1
5251
5252 @endif byacc
5253
5254
5255 .PHONY: configure-bzip2 maybe-configure-bzip2
5256 maybe-configure-bzip2:
5257 @if bzip2
5258 maybe-configure-bzip2: configure-bzip2
5259 configure-bzip2:
5260         @test ! -f bzip2/Makefile || exit 0; \
5261         [ -d bzip2 ] || mkdir bzip2; \
5262         r=`${PWD_COMMAND}`; export r; \
5263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5264         $(HOST_EXPORTS) \
5265         echo Configuring in bzip2; \
5266         cd bzip2 || exit 1; \
5267         case $(srcdir) in \
5268           \.) \
5269             srcdiroption="--srcdir=."; \
5270             libsrcdir=".";; \
5271           /* | [A-Za-z]:[\\/]*) \
5272             srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5273             libsrcdir="$$s/bzip2";; \
5274           *) \
5275             srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5276             libsrcdir="$$s/bzip2";; \
5277         esac; \
5278         $(SHELL) $${libsrcdir}/configure \
5279           $(HOST_CONFIGARGS) $${srcdiroption}  \
5280           || exit 1
5281 @endif bzip2
5282
5283 .PHONY: all-bzip2 maybe-all-bzip2
5284 maybe-all-bzip2:
5285 @if bzip2
5286 maybe-all-bzip2: all-bzip2
5287 all-bzip2: configure-bzip2
5288         @r=`${PWD_COMMAND}`; export r; \
5289         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5290         $(SET_LIB_PATH) \
5291         $(HOST_EXPORTS) \
5292         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS)  all)
5293 @endif bzip2
5294
5295 .PHONY: check-bzip2 maybe-check-bzip2
5296 maybe-check-bzip2:
5297 @if bzip2
5298 maybe-check-bzip2: check-bzip2
5299
5300 check-bzip2:
5301         @r=`${PWD_COMMAND}`; export r; \
5302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5303         $(SET_LIB_PATH) \
5304         $(HOST_EXPORTS) \
5305         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS)  check)
5306
5307 @endif bzip2
5308
5309 .PHONY: install-bzip2 maybe-install-bzip2
5310 maybe-install-bzip2:
5311 @if bzip2
5312 maybe-install-bzip2: install-bzip2
5313
5314 install-bzip2: installdirs
5315         @r=`${PWD_COMMAND}`; export r; \
5316         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5317         $(SET_LIB_PATH) \
5318         $(HOST_EXPORTS) \
5319         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS)  install)
5320
5321 @endif bzip2
5322
5323 # Other targets (info, dvi, etc.)
5324
5325 .PHONY: maybe-info-bzip2 info-bzip2
5326 maybe-info-bzip2:
5327 @if bzip2
5328 maybe-info-bzip2: info-bzip2
5329
5330 info-bzip2: \
5331     configure-bzip2 
5332         @[ -f ./bzip2/Makefile ] || exit 0; \
5333         r=`${PWD_COMMAND}`; export r; \
5334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5335         $(SET_LIB_PATH) \
5336         $(HOST_EXPORTS) \
5337         for flag in $(EXTRA_HOST_FLAGS) ; do \
5338           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5339         done; \
5340         echo "Doing info in bzip2" ; \
5341         (cd bzip2 && \
5342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5344                   "RANLIB=$${RANLIB}" \
5345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5346                   info) \
5347           || exit 1
5348
5349 @endif bzip2
5350
5351 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5352 maybe-dvi-bzip2:
5353 @if bzip2
5354 maybe-dvi-bzip2: dvi-bzip2
5355
5356 dvi-bzip2: \
5357     configure-bzip2 
5358         @[ -f ./bzip2/Makefile ] || exit 0; \
5359         r=`${PWD_COMMAND}`; export r; \
5360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5361         $(SET_LIB_PATH) \
5362         $(HOST_EXPORTS) \
5363         for flag in $(EXTRA_HOST_FLAGS) ; do \
5364           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5365         done; \
5366         echo "Doing dvi in bzip2" ; \
5367         (cd bzip2 && \
5368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5370                   "RANLIB=$${RANLIB}" \
5371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5372                   dvi) \
5373           || exit 1
5374
5375 @endif bzip2
5376
5377 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5378 maybe-TAGS-bzip2:
5379 @if bzip2
5380 maybe-TAGS-bzip2: TAGS-bzip2
5381
5382 TAGS-bzip2: \
5383     configure-bzip2 
5384         @[ -f ./bzip2/Makefile ] || exit 0; \
5385         r=`${PWD_COMMAND}`; export r; \
5386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5387         $(SET_LIB_PATH) \
5388         $(HOST_EXPORTS) \
5389         for flag in $(EXTRA_HOST_FLAGS) ; do \
5390           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5391         done; \
5392         echo "Doing TAGS in bzip2" ; \
5393         (cd bzip2 && \
5394           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5395                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5396                   "RANLIB=$${RANLIB}" \
5397                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5398                   TAGS) \
5399           || exit 1
5400
5401 @endif bzip2
5402
5403 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5404 maybe-install-info-bzip2:
5405 @if bzip2
5406 maybe-install-info-bzip2: install-info-bzip2
5407
5408 install-info-bzip2: \
5409     configure-bzip2 \
5410     info-bzip2 
5411         @[ -f ./bzip2/Makefile ] || exit 0; \
5412         r=`${PWD_COMMAND}`; export r; \
5413         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5414         $(SET_LIB_PATH) \
5415         $(HOST_EXPORTS) \
5416         for flag in $(EXTRA_HOST_FLAGS) ; do \
5417           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5418         done; \
5419         echo "Doing install-info in bzip2" ; \
5420         (cd bzip2 && \
5421           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5422                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5423                   "RANLIB=$${RANLIB}" \
5424                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5425                   install-info) \
5426           || exit 1
5427
5428 @endif bzip2
5429
5430 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5431 maybe-installcheck-bzip2:
5432 @if bzip2
5433 maybe-installcheck-bzip2: installcheck-bzip2
5434
5435 installcheck-bzip2: \
5436     configure-bzip2 
5437         @[ -f ./bzip2/Makefile ] || exit 0; \
5438         r=`${PWD_COMMAND}`; export r; \
5439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5440         $(SET_LIB_PATH) \
5441         $(HOST_EXPORTS) \
5442         for flag in $(EXTRA_HOST_FLAGS) ; do \
5443           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5444         done; \
5445         echo "Doing installcheck in bzip2" ; \
5446         (cd bzip2 && \
5447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5449                   "RANLIB=$${RANLIB}" \
5450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5451                   installcheck) \
5452           || exit 1
5453
5454 @endif bzip2
5455
5456 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5457 maybe-mostlyclean-bzip2:
5458 @if bzip2
5459 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5460
5461 mostlyclean-bzip2: 
5462         @[ -f ./bzip2/Makefile ] || exit 0; \
5463         r=`${PWD_COMMAND}`; export r; \
5464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5465         $(SET_LIB_PATH) \
5466         $(HOST_EXPORTS) \
5467         for flag in $(EXTRA_HOST_FLAGS) ; do \
5468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5469         done; \
5470         echo "Doing mostlyclean in bzip2" ; \
5471         (cd bzip2 && \
5472           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5473                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5474                   "RANLIB=$${RANLIB}" \
5475                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5476                   mostlyclean) \
5477           || exit 1
5478
5479 @endif bzip2
5480
5481 .PHONY: maybe-clean-bzip2 clean-bzip2
5482 maybe-clean-bzip2:
5483 @if bzip2
5484 maybe-clean-bzip2: clean-bzip2
5485
5486 clean-bzip2: 
5487         @[ -f ./bzip2/Makefile ] || exit 0; \
5488         r=`${PWD_COMMAND}`; export r; \
5489         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5490         $(SET_LIB_PATH) \
5491         $(HOST_EXPORTS) \
5492         for flag in $(EXTRA_HOST_FLAGS) ; do \
5493           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5494         done; \
5495         echo "Doing clean in bzip2" ; \
5496         (cd bzip2 && \
5497           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5498                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5499                   "RANLIB=$${RANLIB}" \
5500                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5501                   clean) \
5502           || exit 1
5503
5504 @endif bzip2
5505
5506 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5507 maybe-distclean-bzip2:
5508 @if bzip2
5509 maybe-distclean-bzip2: distclean-bzip2
5510
5511 distclean-bzip2: 
5512         @[ -f ./bzip2/Makefile ] || exit 0; \
5513         r=`${PWD_COMMAND}`; export r; \
5514         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5515         $(SET_LIB_PATH) \
5516         $(HOST_EXPORTS) \
5517         for flag in $(EXTRA_HOST_FLAGS) ; do \
5518           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5519         done; \
5520         echo "Doing distclean in bzip2" ; \
5521         (cd bzip2 && \
5522           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5523                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5524                   "RANLIB=$${RANLIB}" \
5525                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5526                   distclean) \
5527           || exit 1
5528
5529 @endif bzip2
5530
5531 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5532 maybe-maintainer-clean-bzip2:
5533 @if bzip2
5534 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5535
5536 maintainer-clean-bzip2: 
5537         @[ -f ./bzip2/Makefile ] || exit 0; \
5538         r=`${PWD_COMMAND}`; export r; \
5539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5540         $(SET_LIB_PATH) \
5541         $(HOST_EXPORTS) \
5542         for flag in $(EXTRA_HOST_FLAGS) ; do \
5543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5544         done; \
5545         echo "Doing maintainer-clean in bzip2" ; \
5546         (cd bzip2 && \
5547           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5548                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5549                   "RANLIB=$${RANLIB}" \
5550                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5551                   maintainer-clean) \
5552           || exit 1
5553
5554 @endif bzip2
5555
5556
5557 .PHONY: configure-dejagnu maybe-configure-dejagnu
5558 maybe-configure-dejagnu:
5559 @if dejagnu
5560 maybe-configure-dejagnu: configure-dejagnu
5561 configure-dejagnu:
5562         @test ! -f dejagnu/Makefile || exit 0; \
5563         [ -d dejagnu ] || mkdir dejagnu; \
5564         r=`${PWD_COMMAND}`; export r; \
5565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5566         $(HOST_EXPORTS) \
5567         echo Configuring in dejagnu; \
5568         cd dejagnu || exit 1; \
5569         case $(srcdir) in \
5570           \.) \
5571             srcdiroption="--srcdir=."; \
5572             libsrcdir=".";; \
5573           /* | [A-Za-z]:[\\/]*) \
5574             srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5575             libsrcdir="$$s/dejagnu";; \
5576           *) \
5577             srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5578             libsrcdir="$$s/dejagnu";; \
5579         esac; \
5580         $(SHELL) $${libsrcdir}/configure \
5581           $(HOST_CONFIGARGS) $${srcdiroption}  \
5582           || exit 1
5583 @endif dejagnu
5584
5585 .PHONY: all-dejagnu maybe-all-dejagnu
5586 maybe-all-dejagnu:
5587 @if dejagnu
5588 maybe-all-dejagnu: all-dejagnu
5589 all-dejagnu: configure-dejagnu
5590         @r=`${PWD_COMMAND}`; export r; \
5591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592         $(SET_LIB_PATH) \
5593         $(HOST_EXPORTS) \
5594         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS)  all)
5595 @endif dejagnu
5596
5597 .PHONY: check-dejagnu maybe-check-dejagnu
5598 maybe-check-dejagnu:
5599 @if dejagnu
5600 maybe-check-dejagnu: check-dejagnu
5601
5602 check-dejagnu:
5603         @r=`${PWD_COMMAND}`; export r; \
5604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605         $(SET_LIB_PATH) \
5606         $(HOST_EXPORTS) \
5607         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS)  check)
5608
5609 @endif dejagnu
5610
5611 .PHONY: install-dejagnu maybe-install-dejagnu
5612 maybe-install-dejagnu:
5613 @if dejagnu
5614 maybe-install-dejagnu: install-dejagnu
5615
5616 install-dejagnu: installdirs
5617         @r=`${PWD_COMMAND}`; export r; \
5618         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5619         $(SET_LIB_PATH) \
5620         $(HOST_EXPORTS) \
5621         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS)  install)
5622
5623 @endif dejagnu
5624
5625 # Other targets (info, dvi, etc.)
5626
5627 .PHONY: maybe-info-dejagnu info-dejagnu
5628 maybe-info-dejagnu:
5629 @if dejagnu
5630 maybe-info-dejagnu: info-dejagnu
5631
5632 info-dejagnu: \
5633     configure-dejagnu 
5634         @[ -f ./dejagnu/Makefile ] || exit 0; \
5635         r=`${PWD_COMMAND}`; export r; \
5636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5637         $(SET_LIB_PATH) \
5638         $(HOST_EXPORTS) \
5639         for flag in $(EXTRA_HOST_FLAGS) ; do \
5640           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5641         done; \
5642         echo "Doing info in dejagnu" ; \
5643         (cd dejagnu && \
5644           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5645                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5646                   "RANLIB=$${RANLIB}" \
5647                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5648                   info) \
5649           || exit 1
5650
5651 @endif dejagnu
5652
5653 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5654 maybe-dvi-dejagnu:
5655 @if dejagnu
5656 maybe-dvi-dejagnu: dvi-dejagnu
5657
5658 dvi-dejagnu: \
5659     configure-dejagnu 
5660         @[ -f ./dejagnu/Makefile ] || exit 0; \
5661         r=`${PWD_COMMAND}`; export r; \
5662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5663         $(SET_LIB_PATH) \
5664         $(HOST_EXPORTS) \
5665         for flag in $(EXTRA_HOST_FLAGS) ; do \
5666           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5667         done; \
5668         echo "Doing dvi in dejagnu" ; \
5669         (cd dejagnu && \
5670           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5671                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5672                   "RANLIB=$${RANLIB}" \
5673                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5674                   dvi) \
5675           || exit 1
5676
5677 @endif dejagnu
5678
5679 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5680 maybe-TAGS-dejagnu:
5681 @if dejagnu
5682 maybe-TAGS-dejagnu: TAGS-dejagnu
5683
5684 TAGS-dejagnu: \
5685     configure-dejagnu 
5686         @[ -f ./dejagnu/Makefile ] || exit 0; \
5687         r=`${PWD_COMMAND}`; export r; \
5688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689         $(SET_LIB_PATH) \
5690         $(HOST_EXPORTS) \
5691         for flag in $(EXTRA_HOST_FLAGS) ; do \
5692           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5693         done; \
5694         echo "Doing TAGS in dejagnu" ; \
5695         (cd dejagnu && \
5696           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5697                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5698                   "RANLIB=$${RANLIB}" \
5699                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5700                   TAGS) \
5701           || exit 1
5702
5703 @endif dejagnu
5704
5705 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5706 maybe-install-info-dejagnu:
5707 @if dejagnu
5708 maybe-install-info-dejagnu: install-info-dejagnu
5709
5710 install-info-dejagnu: \
5711     configure-dejagnu \
5712     info-dejagnu 
5713         @[ -f ./dejagnu/Makefile ] || exit 0; \
5714         r=`${PWD_COMMAND}`; export r; \
5715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5716         $(SET_LIB_PATH) \
5717         $(HOST_EXPORTS) \
5718         for flag in $(EXTRA_HOST_FLAGS) ; do \
5719           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5720         done; \
5721         echo "Doing install-info in dejagnu" ; \
5722         (cd dejagnu && \
5723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5725                   "RANLIB=$${RANLIB}" \
5726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5727                   install-info) \
5728           || exit 1
5729
5730 @endif dejagnu
5731
5732 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5733 maybe-installcheck-dejagnu:
5734 @if dejagnu
5735 maybe-installcheck-dejagnu: installcheck-dejagnu
5736
5737 installcheck-dejagnu: \
5738     configure-dejagnu 
5739         @[ -f ./dejagnu/Makefile ] || exit 0; \
5740         r=`${PWD_COMMAND}`; export r; \
5741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5742         $(SET_LIB_PATH) \
5743         $(HOST_EXPORTS) \
5744         for flag in $(EXTRA_HOST_FLAGS) ; do \
5745           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5746         done; \
5747         echo "Doing installcheck in dejagnu" ; \
5748         (cd dejagnu && \
5749           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5750                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5751                   "RANLIB=$${RANLIB}" \
5752                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5753                   installcheck) \
5754           || exit 1
5755
5756 @endif dejagnu
5757
5758 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5759 maybe-mostlyclean-dejagnu:
5760 @if dejagnu
5761 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5762
5763 mostlyclean-dejagnu: 
5764         @[ -f ./dejagnu/Makefile ] || exit 0; \
5765         r=`${PWD_COMMAND}`; export r; \
5766         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5767         $(SET_LIB_PATH) \
5768         $(HOST_EXPORTS) \
5769         for flag in $(EXTRA_HOST_FLAGS) ; do \
5770           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5771         done; \
5772         echo "Doing mostlyclean in dejagnu" ; \
5773         (cd dejagnu && \
5774           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5775                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5776                   "RANLIB=$${RANLIB}" \
5777                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5778                   mostlyclean) \
5779           || exit 1
5780
5781 @endif dejagnu
5782
5783 .PHONY: maybe-clean-dejagnu clean-dejagnu
5784 maybe-clean-dejagnu:
5785 @if dejagnu
5786 maybe-clean-dejagnu: clean-dejagnu
5787
5788 clean-dejagnu: 
5789         @[ -f ./dejagnu/Makefile ] || exit 0; \
5790         r=`${PWD_COMMAND}`; export r; \
5791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5792         $(SET_LIB_PATH) \
5793         $(HOST_EXPORTS) \
5794         for flag in $(EXTRA_HOST_FLAGS) ; do \
5795           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5796         done; \
5797         echo "Doing clean in dejagnu" ; \
5798         (cd dejagnu && \
5799           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5800                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5801                   "RANLIB=$${RANLIB}" \
5802                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5803                   clean) \
5804           || exit 1
5805
5806 @endif dejagnu
5807
5808 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5809 maybe-distclean-dejagnu:
5810 @if dejagnu
5811 maybe-distclean-dejagnu: distclean-dejagnu
5812
5813 distclean-dejagnu: 
5814         @[ -f ./dejagnu/Makefile ] || exit 0; \
5815         r=`${PWD_COMMAND}`; export r; \
5816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817         $(SET_LIB_PATH) \
5818         $(HOST_EXPORTS) \
5819         for flag in $(EXTRA_HOST_FLAGS) ; do \
5820           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5821         done; \
5822         echo "Doing distclean in dejagnu" ; \
5823         (cd dejagnu && \
5824           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5825                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5826                   "RANLIB=$${RANLIB}" \
5827                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5828                   distclean) \
5829           || exit 1
5830
5831 @endif dejagnu
5832
5833 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5834 maybe-maintainer-clean-dejagnu:
5835 @if dejagnu
5836 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5837
5838 maintainer-clean-dejagnu: 
5839         @[ -f ./dejagnu/Makefile ] || exit 0; \
5840         r=`${PWD_COMMAND}`; export r; \
5841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5842         $(SET_LIB_PATH) \
5843         $(HOST_EXPORTS) \
5844         for flag in $(EXTRA_HOST_FLAGS) ; do \
5845           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5846         done; \
5847         echo "Doing maintainer-clean in dejagnu" ; \
5848         (cd dejagnu && \
5849           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5850                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5851                   "RANLIB=$${RANLIB}" \
5852                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5853                   maintainer-clean) \
5854           || exit 1
5855
5856 @endif dejagnu
5857
5858
5859 .PHONY: configure-diff maybe-configure-diff
5860 maybe-configure-diff:
5861 @if diff
5862 maybe-configure-diff: configure-diff
5863 configure-diff:
5864         @test ! -f diff/Makefile || exit 0; \
5865         [ -d diff ] || mkdir diff; \
5866         r=`${PWD_COMMAND}`; export r; \
5867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5868         $(HOST_EXPORTS) \
5869         echo Configuring in diff; \
5870         cd diff || exit 1; \
5871         case $(srcdir) in \
5872           \.) \
5873             srcdiroption="--srcdir=."; \
5874             libsrcdir=".";; \
5875           /* | [A-Za-z]:[\\/]*) \
5876             srcdiroption="--srcdir=$(srcdir)/diff"; \
5877             libsrcdir="$$s/diff";; \
5878           *) \
5879             srcdiroption="--srcdir=../$(srcdir)/diff"; \
5880             libsrcdir="$$s/diff";; \
5881         esac; \
5882         $(SHELL) $${libsrcdir}/configure \
5883           $(HOST_CONFIGARGS) $${srcdiroption}  \
5884           || exit 1
5885 @endif diff
5886
5887 .PHONY: all-diff maybe-all-diff
5888 maybe-all-diff:
5889 @if diff
5890 maybe-all-diff: all-diff
5891 all-diff: configure-diff
5892         @r=`${PWD_COMMAND}`; export r; \
5893         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894         $(SET_LIB_PATH) \
5895         $(HOST_EXPORTS) \
5896         (cd diff && $(MAKE) $(FLAGS_TO_PASS)  all)
5897 @endif diff
5898
5899 .PHONY: check-diff maybe-check-diff
5900 maybe-check-diff:
5901 @if diff
5902 maybe-check-diff: check-diff
5903
5904 check-diff:
5905         @r=`${PWD_COMMAND}`; export r; \
5906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5907         $(SET_LIB_PATH) \
5908         $(HOST_EXPORTS) \
5909         (cd diff && $(MAKE) $(FLAGS_TO_PASS)  check)
5910
5911 @endif diff
5912
5913 .PHONY: install-diff maybe-install-diff
5914 maybe-install-diff:
5915 @if diff
5916 maybe-install-diff: install-diff
5917
5918 install-diff: installdirs
5919         @r=`${PWD_COMMAND}`; export r; \
5920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5921         $(SET_LIB_PATH) \
5922         $(HOST_EXPORTS) \
5923         (cd diff && $(MAKE) $(FLAGS_TO_PASS)  install)
5924
5925 @endif diff
5926
5927 # Other targets (info, dvi, etc.)
5928
5929 .PHONY: maybe-info-diff info-diff
5930 maybe-info-diff:
5931 @if diff
5932 maybe-info-diff: info-diff
5933
5934 info-diff: \
5935     configure-diff 
5936         @[ -f ./diff/Makefile ] || exit 0; \
5937         r=`${PWD_COMMAND}`; export r; \
5938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939         $(SET_LIB_PATH) \
5940         $(HOST_EXPORTS) \
5941         for flag in $(EXTRA_HOST_FLAGS) ; do \
5942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5943         done; \
5944         echo "Doing info in diff" ; \
5945         (cd diff && \
5946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5948                   "RANLIB=$${RANLIB}" \
5949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5950                   info) \
5951           || exit 1
5952
5953 @endif diff
5954
5955 .PHONY: maybe-dvi-diff dvi-diff
5956 maybe-dvi-diff:
5957 @if diff
5958 maybe-dvi-diff: dvi-diff
5959
5960 dvi-diff: \
5961     configure-diff 
5962         @[ -f ./diff/Makefile ] || exit 0; \
5963         r=`${PWD_COMMAND}`; export r; \
5964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5965         $(SET_LIB_PATH) \
5966         $(HOST_EXPORTS) \
5967         for flag in $(EXTRA_HOST_FLAGS) ; do \
5968           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5969         done; \
5970         echo "Doing dvi in diff" ; \
5971         (cd diff && \
5972           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5973                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5974                   "RANLIB=$${RANLIB}" \
5975                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5976                   dvi) \
5977           || exit 1
5978
5979 @endif diff
5980
5981 .PHONY: maybe-TAGS-diff TAGS-diff
5982 maybe-TAGS-diff:
5983 @if diff
5984 maybe-TAGS-diff: TAGS-diff
5985
5986 TAGS-diff: \
5987     configure-diff 
5988         @[ -f ./diff/Makefile ] || exit 0; \
5989         r=`${PWD_COMMAND}`; export r; \
5990         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5991         $(SET_LIB_PATH) \
5992         $(HOST_EXPORTS) \
5993         for flag in $(EXTRA_HOST_FLAGS) ; do \
5994           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5995         done; \
5996         echo "Doing TAGS in diff" ; \
5997         (cd diff && \
5998           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5999                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6000                   "RANLIB=$${RANLIB}" \
6001                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6002                   TAGS) \
6003           || exit 1
6004
6005 @endif diff
6006
6007 .PHONY: maybe-install-info-diff install-info-diff
6008 maybe-install-info-diff:
6009 @if diff
6010 maybe-install-info-diff: install-info-diff
6011
6012 install-info-diff: \
6013     configure-diff \
6014     info-diff 
6015         @[ -f ./diff/Makefile ] || exit 0; \
6016         r=`${PWD_COMMAND}`; export r; \
6017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6018         $(SET_LIB_PATH) \
6019         $(HOST_EXPORTS) \
6020         for flag in $(EXTRA_HOST_FLAGS) ; do \
6021           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6022         done; \
6023         echo "Doing install-info in diff" ; \
6024         (cd diff && \
6025           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6026                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6027                   "RANLIB=$${RANLIB}" \
6028                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6029                   install-info) \
6030           || exit 1
6031
6032 @endif diff
6033
6034 .PHONY: maybe-installcheck-diff installcheck-diff
6035 maybe-installcheck-diff:
6036 @if diff
6037 maybe-installcheck-diff: installcheck-diff
6038
6039 installcheck-diff: \
6040     configure-diff 
6041         @[ -f ./diff/Makefile ] || exit 0; \
6042         r=`${PWD_COMMAND}`; export r; \
6043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6044         $(SET_LIB_PATH) \
6045         $(HOST_EXPORTS) \
6046         for flag in $(EXTRA_HOST_FLAGS) ; do \
6047           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6048         done; \
6049         echo "Doing installcheck in diff" ; \
6050         (cd diff && \
6051           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6052                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6053                   "RANLIB=$${RANLIB}" \
6054                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6055                   installcheck) \
6056           || exit 1
6057
6058 @endif diff
6059
6060 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6061 maybe-mostlyclean-diff:
6062 @if diff
6063 maybe-mostlyclean-diff: mostlyclean-diff
6064
6065 mostlyclean-diff: 
6066         @[ -f ./diff/Makefile ] || exit 0; \
6067         r=`${PWD_COMMAND}`; export r; \
6068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6069         $(SET_LIB_PATH) \
6070         $(HOST_EXPORTS) \
6071         for flag in $(EXTRA_HOST_FLAGS) ; do \
6072           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6073         done; \
6074         echo "Doing mostlyclean in diff" ; \
6075         (cd diff && \
6076           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6077                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6078                   "RANLIB=$${RANLIB}" \
6079                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6080                   mostlyclean) \
6081           || exit 1
6082
6083 @endif diff
6084
6085 .PHONY: maybe-clean-diff clean-diff
6086 maybe-clean-diff:
6087 @if diff
6088 maybe-clean-diff: clean-diff
6089
6090 clean-diff: 
6091         @[ -f ./diff/Makefile ] || exit 0; \
6092         r=`${PWD_COMMAND}`; export r; \
6093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6094         $(SET_LIB_PATH) \
6095         $(HOST_EXPORTS) \
6096         for flag in $(EXTRA_HOST_FLAGS) ; do \
6097           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6098         done; \
6099         echo "Doing clean in diff" ; \
6100         (cd diff && \
6101           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6102                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6103                   "RANLIB=$${RANLIB}" \
6104                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6105                   clean) \
6106           || exit 1
6107
6108 @endif diff
6109
6110 .PHONY: maybe-distclean-diff distclean-diff
6111 maybe-distclean-diff:
6112 @if diff
6113 maybe-distclean-diff: distclean-diff
6114
6115 distclean-diff: 
6116         @[ -f ./diff/Makefile ] || exit 0; \
6117         r=`${PWD_COMMAND}`; export r; \
6118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6119         $(SET_LIB_PATH) \
6120         $(HOST_EXPORTS) \
6121         for flag in $(EXTRA_HOST_FLAGS) ; do \
6122           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6123         done; \
6124         echo "Doing distclean in diff" ; \
6125         (cd diff && \
6126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6128                   "RANLIB=$${RANLIB}" \
6129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6130                   distclean) \
6131           || exit 1
6132
6133 @endif diff
6134
6135 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6136 maybe-maintainer-clean-diff:
6137 @if diff
6138 maybe-maintainer-clean-diff: maintainer-clean-diff
6139
6140 maintainer-clean-diff: 
6141         @[ -f ./diff/Makefile ] || exit 0; \
6142         r=`${PWD_COMMAND}`; export r; \
6143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6144         $(SET_LIB_PATH) \
6145         $(HOST_EXPORTS) \
6146         for flag in $(EXTRA_HOST_FLAGS) ; do \
6147           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6148         done; \
6149         echo "Doing maintainer-clean in diff" ; \
6150         (cd diff && \
6151           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6152                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6153                   "RANLIB=$${RANLIB}" \
6154                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6155                   maintainer-clean) \
6156           || exit 1
6157
6158 @endif diff
6159
6160
6161 .PHONY: configure-dosutils maybe-configure-dosutils
6162 maybe-configure-dosutils:
6163 @if dosutils
6164 maybe-configure-dosutils: configure-dosutils
6165 configure-dosutils:
6166         @test ! -f dosutils/Makefile || exit 0; \
6167         [ -d dosutils ] || mkdir dosutils; \
6168         r=`${PWD_COMMAND}`; export r; \
6169         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6170         $(HOST_EXPORTS) \
6171         echo Configuring in dosutils; \
6172         cd dosutils || exit 1; \
6173         case $(srcdir) in \
6174           \.) \
6175             srcdiroption="--srcdir=."; \
6176             libsrcdir=".";; \
6177           /* | [A-Za-z]:[\\/]*) \
6178             srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6179             libsrcdir="$$s/dosutils";; \
6180           *) \
6181             srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6182             libsrcdir="$$s/dosutils";; \
6183         esac; \
6184         $(SHELL) $${libsrcdir}/configure \
6185           $(HOST_CONFIGARGS) $${srcdiroption}  \
6186           || exit 1
6187 @endif dosutils
6188
6189 .PHONY: all-dosutils maybe-all-dosutils
6190 maybe-all-dosutils:
6191 @if dosutils
6192 maybe-all-dosutils: all-dosutils
6193 all-dosutils: configure-dosutils
6194         @r=`${PWD_COMMAND}`; export r; \
6195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6196         $(SET_LIB_PATH) \
6197         $(HOST_EXPORTS) \
6198         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS)  all)
6199 @endif dosutils
6200
6201 .PHONY: check-dosutils maybe-check-dosutils
6202 maybe-check-dosutils:
6203 @if dosutils
6204 maybe-check-dosutils: check-dosutils
6205
6206 check-dosutils:
6207
6208 @endif dosutils
6209
6210 .PHONY: install-dosutils maybe-install-dosutils
6211 maybe-install-dosutils:
6212 @if dosutils
6213 maybe-install-dosutils: install-dosutils
6214
6215 install-dosutils: installdirs
6216         @r=`${PWD_COMMAND}`; export r; \
6217         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6218         $(SET_LIB_PATH) \
6219         $(HOST_EXPORTS) \
6220         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS)  install)
6221
6222 @endif dosutils
6223
6224 # Other targets (info, dvi, etc.)
6225
6226 .PHONY: maybe-info-dosutils info-dosutils
6227 maybe-info-dosutils:
6228 @if dosutils
6229 maybe-info-dosutils: info-dosutils
6230
6231 info-dosutils: \
6232     configure-dosutils 
6233         @[ -f ./dosutils/Makefile ] || exit 0; \
6234         r=`${PWD_COMMAND}`; export r; \
6235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6236         $(SET_LIB_PATH) \
6237         $(HOST_EXPORTS) \
6238         for flag in $(EXTRA_HOST_FLAGS) ; do \
6239           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6240         done; \
6241         echo "Doing info in dosutils" ; \
6242         (cd dosutils && \
6243           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6244                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6245                   "RANLIB=$${RANLIB}" \
6246                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6247                   info) \
6248           || exit 1
6249
6250 @endif dosutils
6251
6252 .PHONY: maybe-dvi-dosutils dvi-dosutils
6253 maybe-dvi-dosutils:
6254 @if dosutils
6255 maybe-dvi-dosutils: dvi-dosutils
6256
6257 dvi-dosutils: \
6258     configure-dosutils 
6259         @[ -f ./dosutils/Makefile ] || exit 0; \
6260         r=`${PWD_COMMAND}`; export r; \
6261         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6262         $(SET_LIB_PATH) \
6263         $(HOST_EXPORTS) \
6264         for flag in $(EXTRA_HOST_FLAGS) ; do \
6265           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6266         done; \
6267         echo "Doing dvi in dosutils" ; \
6268         (cd dosutils && \
6269           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6270                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6271                   "RANLIB=$${RANLIB}" \
6272                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6273                   dvi) \
6274           || exit 1
6275
6276 @endif dosutils
6277
6278 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6279 maybe-TAGS-dosutils:
6280 @if dosutils
6281 maybe-TAGS-dosutils: TAGS-dosutils
6282
6283 TAGS-dosutils: \
6284     configure-dosutils 
6285         @[ -f ./dosutils/Makefile ] || exit 0; \
6286         r=`${PWD_COMMAND}`; export r; \
6287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6288         $(SET_LIB_PATH) \
6289         $(HOST_EXPORTS) \
6290         for flag in $(EXTRA_HOST_FLAGS) ; do \
6291           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6292         done; \
6293         echo "Doing TAGS in dosutils" ; \
6294         (cd dosutils && \
6295           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6296                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6297                   "RANLIB=$${RANLIB}" \
6298                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6299                   TAGS) \
6300           || exit 1
6301
6302 @endif dosutils
6303
6304 .PHONY: maybe-install-info-dosutils install-info-dosutils
6305 maybe-install-info-dosutils:
6306 @if dosutils
6307 maybe-install-info-dosutils: install-info-dosutils
6308
6309 install-info-dosutils: \
6310     configure-dosutils \
6311     info-dosutils 
6312         @[ -f ./dosutils/Makefile ] || exit 0; \
6313         r=`${PWD_COMMAND}`; export r; \
6314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6315         $(SET_LIB_PATH) \
6316         $(HOST_EXPORTS) \
6317         for flag in $(EXTRA_HOST_FLAGS) ; do \
6318           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6319         done; \
6320         echo "Doing install-info in dosutils" ; \
6321         (cd dosutils && \
6322           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6323                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6324                   "RANLIB=$${RANLIB}" \
6325                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6326                   install-info) \
6327           || exit 1
6328
6329 @endif dosutils
6330
6331 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6332 maybe-installcheck-dosutils:
6333 @if dosutils
6334 maybe-installcheck-dosutils: installcheck-dosutils
6335
6336 installcheck-dosutils: \
6337     configure-dosutils 
6338         @[ -f ./dosutils/Makefile ] || exit 0; \
6339         r=`${PWD_COMMAND}`; export r; \
6340         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341         $(SET_LIB_PATH) \
6342         $(HOST_EXPORTS) \
6343         for flag in $(EXTRA_HOST_FLAGS) ; do \
6344           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6345         done; \
6346         echo "Doing installcheck in dosutils" ; \
6347         (cd dosutils && \
6348           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6349                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6350                   "RANLIB=$${RANLIB}" \
6351                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6352                   installcheck) \
6353           || exit 1
6354
6355 @endif dosutils
6356
6357 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6358 maybe-mostlyclean-dosutils:
6359 @if dosutils
6360 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6361
6362 mostlyclean-dosutils: 
6363         @[ -f ./dosutils/Makefile ] || exit 0; \
6364         r=`${PWD_COMMAND}`; export r; \
6365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6366         $(SET_LIB_PATH) \
6367         $(HOST_EXPORTS) \
6368         for flag in $(EXTRA_HOST_FLAGS) ; do \
6369           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6370         done; \
6371         echo "Doing mostlyclean in dosutils" ; \
6372         (cd dosutils && \
6373           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6374                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6375                   "RANLIB=$${RANLIB}" \
6376                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6377                   mostlyclean) \
6378           || exit 1
6379
6380 @endif dosutils
6381
6382 .PHONY: maybe-clean-dosutils clean-dosutils
6383 maybe-clean-dosutils:
6384 @if dosutils
6385 maybe-clean-dosutils: clean-dosutils
6386
6387 clean-dosutils: 
6388         @[ -f ./dosutils/Makefile ] || exit 0; \
6389         r=`${PWD_COMMAND}`; export r; \
6390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6391         $(SET_LIB_PATH) \
6392         $(HOST_EXPORTS) \
6393         for flag in $(EXTRA_HOST_FLAGS) ; do \
6394           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6395         done; \
6396         echo "Doing clean in dosutils" ; \
6397         (cd dosutils && \
6398           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6399                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6400                   "RANLIB=$${RANLIB}" \
6401                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6402                   clean) \
6403           || exit 1
6404
6405 @endif dosutils
6406
6407 .PHONY: maybe-distclean-dosutils distclean-dosutils
6408 maybe-distclean-dosutils:
6409 @if dosutils
6410 maybe-distclean-dosutils: distclean-dosutils
6411
6412 distclean-dosutils: 
6413         @[ -f ./dosutils/Makefile ] || exit 0; \
6414         r=`${PWD_COMMAND}`; export r; \
6415         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6416         $(SET_LIB_PATH) \
6417         $(HOST_EXPORTS) \
6418         for flag in $(EXTRA_HOST_FLAGS) ; do \
6419           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6420         done; \
6421         echo "Doing distclean in dosutils" ; \
6422         (cd dosutils && \
6423           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6424                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6425                   "RANLIB=$${RANLIB}" \
6426                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6427                   distclean) \
6428           || exit 1
6429
6430 @endif dosutils
6431
6432 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6433 maybe-maintainer-clean-dosutils:
6434 @if dosutils
6435 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6436
6437 maintainer-clean-dosutils: 
6438         @[ -f ./dosutils/Makefile ] || exit 0; \
6439         r=`${PWD_COMMAND}`; export r; \
6440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6441         $(SET_LIB_PATH) \
6442         $(HOST_EXPORTS) \
6443         for flag in $(EXTRA_HOST_FLAGS) ; do \
6444           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6445         done; \
6446         echo "Doing maintainer-clean in dosutils" ; \
6447         (cd dosutils && \
6448           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6449                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6450                   "RANLIB=$${RANLIB}" \
6451                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6452                   maintainer-clean) \
6453           || exit 1
6454
6455 @endif dosutils
6456
6457
6458 .PHONY: configure-etc maybe-configure-etc
6459 maybe-configure-etc:
6460 @if etc
6461 maybe-configure-etc: configure-etc
6462 configure-etc:
6463         @test ! -f etc/Makefile || exit 0; \
6464         [ -d etc ] || mkdir etc; \
6465         r=`${PWD_COMMAND}`; export r; \
6466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6467         $(HOST_EXPORTS) \
6468         echo Configuring in etc; \
6469         cd etc || exit 1; \
6470         case $(srcdir) in \
6471           \.) \
6472             srcdiroption="--srcdir=."; \
6473             libsrcdir=".";; \
6474           /* | [A-Za-z]:[\\/]*) \
6475             srcdiroption="--srcdir=$(srcdir)/etc"; \
6476             libsrcdir="$$s/etc";; \
6477           *) \
6478             srcdiroption="--srcdir=../$(srcdir)/etc"; \
6479             libsrcdir="$$s/etc";; \
6480         esac; \
6481         $(SHELL) $${libsrcdir}/configure \
6482           $(HOST_CONFIGARGS) $${srcdiroption}  \
6483           || exit 1
6484 @endif etc
6485
6486 .PHONY: all-etc maybe-all-etc
6487 maybe-all-etc:
6488 @if etc
6489 maybe-all-etc: all-etc
6490 all-etc: configure-etc
6491         @r=`${PWD_COMMAND}`; export r; \
6492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6493         $(SET_LIB_PATH) \
6494         $(HOST_EXPORTS) \
6495         (cd etc && $(MAKE) $(FLAGS_TO_PASS)  all)
6496 @endif etc
6497
6498 .PHONY: check-etc maybe-check-etc
6499 maybe-check-etc:
6500 @if etc
6501 maybe-check-etc: check-etc
6502
6503 check-etc:
6504         @r=`${PWD_COMMAND}`; export r; \
6505         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506         $(SET_LIB_PATH) \
6507         $(HOST_EXPORTS) \
6508         (cd etc && $(MAKE) $(FLAGS_TO_PASS)  check)
6509
6510 @endif etc
6511
6512 .PHONY: install-etc maybe-install-etc
6513 maybe-install-etc:
6514 @if etc
6515 maybe-install-etc: install-etc
6516
6517 install-etc: installdirs
6518         @r=`${PWD_COMMAND}`; export r; \
6519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6520         $(SET_LIB_PATH) \
6521         $(HOST_EXPORTS) \
6522         (cd etc && $(MAKE) $(FLAGS_TO_PASS)  install)
6523
6524 @endif etc
6525
6526 # Other targets (info, dvi, etc.)
6527
6528 .PHONY: maybe-info-etc info-etc
6529 maybe-info-etc:
6530 @if etc
6531 maybe-info-etc: info-etc
6532
6533 info-etc: \
6534     configure-etc 
6535         @[ -f ./etc/Makefile ] || exit 0; \
6536         r=`${PWD_COMMAND}`; export r; \
6537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6538         $(SET_LIB_PATH) \
6539         $(HOST_EXPORTS) \
6540         for flag in $(EXTRA_HOST_FLAGS) ; do \
6541           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6542         done; \
6543         echo "Doing info in etc" ; \
6544         (cd etc && \
6545           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6546                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6547                   "RANLIB=$${RANLIB}" \
6548                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6549                   info) \
6550           || exit 1
6551
6552 @endif etc
6553
6554 .PHONY: maybe-dvi-etc dvi-etc
6555 maybe-dvi-etc:
6556 @if etc
6557 maybe-dvi-etc: dvi-etc
6558
6559 dvi-etc: \
6560     configure-etc 
6561         @[ -f ./etc/Makefile ] || exit 0; \
6562         r=`${PWD_COMMAND}`; export r; \
6563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6564         $(SET_LIB_PATH) \
6565         $(HOST_EXPORTS) \
6566         for flag in $(EXTRA_HOST_FLAGS) ; do \
6567           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6568         done; \
6569         echo "Doing dvi in etc" ; \
6570         (cd etc && \
6571           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6572                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6573                   "RANLIB=$${RANLIB}" \
6574                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6575                   dvi) \
6576           || exit 1
6577
6578 @endif etc
6579
6580 .PHONY: maybe-TAGS-etc TAGS-etc
6581 maybe-TAGS-etc:
6582 @if etc
6583 maybe-TAGS-etc: TAGS-etc
6584
6585 TAGS-etc: \
6586     configure-etc 
6587         @[ -f ./etc/Makefile ] || exit 0; \
6588         r=`${PWD_COMMAND}`; export r; \
6589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6590         $(SET_LIB_PATH) \
6591         $(HOST_EXPORTS) \
6592         for flag in $(EXTRA_HOST_FLAGS) ; do \
6593           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6594         done; \
6595         echo "Doing TAGS in etc" ; \
6596         (cd etc && \
6597           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6598                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6599                   "RANLIB=$${RANLIB}" \
6600                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6601                   TAGS) \
6602           || exit 1
6603
6604 @endif etc
6605
6606 .PHONY: maybe-install-info-etc install-info-etc
6607 maybe-install-info-etc:
6608 @if etc
6609 maybe-install-info-etc: install-info-etc
6610
6611 install-info-etc: \
6612     configure-etc \
6613     info-etc 
6614         @[ -f ./etc/Makefile ] || exit 0; \
6615         r=`${PWD_COMMAND}`; export r; \
6616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617         $(SET_LIB_PATH) \
6618         $(HOST_EXPORTS) \
6619         for flag in $(EXTRA_HOST_FLAGS) ; do \
6620           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6621         done; \
6622         echo "Doing install-info in etc" ; \
6623         (cd etc && \
6624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6626                   "RANLIB=$${RANLIB}" \
6627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6628                   install-info) \
6629           || exit 1
6630
6631 @endif etc
6632
6633 .PHONY: maybe-installcheck-etc installcheck-etc
6634 maybe-installcheck-etc:
6635 @if etc
6636 maybe-installcheck-etc: installcheck-etc
6637
6638 installcheck-etc: \
6639     configure-etc 
6640         @[ -f ./etc/Makefile ] || exit 0; \
6641         r=`${PWD_COMMAND}`; export r; \
6642         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6643         $(SET_LIB_PATH) \
6644         $(HOST_EXPORTS) \
6645         for flag in $(EXTRA_HOST_FLAGS) ; do \
6646           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6647         done; \
6648         echo "Doing installcheck in etc" ; \
6649         (cd etc && \
6650           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6651                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6652                   "RANLIB=$${RANLIB}" \
6653                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6654                   installcheck) \
6655           || exit 1
6656
6657 @endif etc
6658
6659 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6660 maybe-mostlyclean-etc:
6661 @if etc
6662 maybe-mostlyclean-etc: mostlyclean-etc
6663
6664 mostlyclean-etc: 
6665         @[ -f ./etc/Makefile ] || exit 0; \
6666         r=`${PWD_COMMAND}`; export r; \
6667         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6668         $(SET_LIB_PATH) \
6669         $(HOST_EXPORTS) \
6670         for flag in $(EXTRA_HOST_FLAGS) ; do \
6671           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6672         done; \
6673         echo "Doing mostlyclean in etc" ; \
6674         (cd etc && \
6675           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6676                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6677                   "RANLIB=$${RANLIB}" \
6678                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6679                   mostlyclean) \
6680           || exit 1
6681
6682 @endif etc
6683
6684 .PHONY: maybe-clean-etc clean-etc
6685 maybe-clean-etc:
6686 @if etc
6687 maybe-clean-etc: clean-etc
6688
6689 clean-etc: 
6690         @[ -f ./etc/Makefile ] || exit 0; \
6691         r=`${PWD_COMMAND}`; export r; \
6692         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6693         $(SET_LIB_PATH) \
6694         $(HOST_EXPORTS) \
6695         for flag in $(EXTRA_HOST_FLAGS) ; do \
6696           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6697         done; \
6698         echo "Doing clean in etc" ; \
6699         (cd etc && \
6700           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6701                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6702                   "RANLIB=$${RANLIB}" \
6703                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6704                   clean) \
6705           || exit 1
6706
6707 @endif etc
6708
6709 .PHONY: maybe-distclean-etc distclean-etc
6710 maybe-distclean-etc:
6711 @if etc
6712 maybe-distclean-etc: distclean-etc
6713
6714 distclean-etc: 
6715         @[ -f ./etc/Makefile ] || exit 0; \
6716         r=`${PWD_COMMAND}`; export r; \
6717         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6718         $(SET_LIB_PATH) \
6719         $(HOST_EXPORTS) \
6720         for flag in $(EXTRA_HOST_FLAGS) ; do \
6721           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6722         done; \
6723         echo "Doing distclean in etc" ; \
6724         (cd etc && \
6725           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6726                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6727                   "RANLIB=$${RANLIB}" \
6728                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6729                   distclean) \
6730           || exit 1
6731
6732 @endif etc
6733
6734 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6735 maybe-maintainer-clean-etc:
6736 @if etc
6737 maybe-maintainer-clean-etc: maintainer-clean-etc
6738
6739 maintainer-clean-etc: 
6740         @[ -f ./etc/Makefile ] || exit 0; \
6741         r=`${PWD_COMMAND}`; export r; \
6742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6743         $(SET_LIB_PATH) \
6744         $(HOST_EXPORTS) \
6745         for flag in $(EXTRA_HOST_FLAGS) ; do \
6746           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6747         done; \
6748         echo "Doing maintainer-clean in etc" ; \
6749         (cd etc && \
6750           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6751                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6752                   "RANLIB=$${RANLIB}" \
6753                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6754                   maintainer-clean) \
6755           || exit 1
6756
6757 @endif etc
6758
6759
6760 .PHONY: configure-fastjar maybe-configure-fastjar
6761 maybe-configure-fastjar:
6762 @if fastjar
6763 maybe-configure-fastjar: configure-fastjar
6764 configure-fastjar:
6765         @test ! -f fastjar/Makefile || exit 0; \
6766         [ -d fastjar ] || mkdir fastjar; \
6767         r=`${PWD_COMMAND}`; export r; \
6768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6769         $(HOST_EXPORTS) \
6770         echo Configuring in fastjar; \
6771         cd fastjar || exit 1; \
6772         case $(srcdir) in \
6773           \.) \
6774             srcdiroption="--srcdir=."; \
6775             libsrcdir=".";; \
6776           /* | [A-Za-z]:[\\/]*) \
6777             srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6778             libsrcdir="$$s/fastjar";; \
6779           *) \
6780             srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6781             libsrcdir="$$s/fastjar";; \
6782         esac; \
6783         $(SHELL) $${libsrcdir}/configure \
6784           $(HOST_CONFIGARGS) $${srcdiroption}  \
6785           || exit 1
6786 @endif fastjar
6787
6788 .PHONY: all-fastjar maybe-all-fastjar
6789 maybe-all-fastjar:
6790 @if fastjar
6791 maybe-all-fastjar: all-fastjar
6792 all-fastjar: configure-fastjar
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)  all)
6798 @endif fastjar
6799
6800 .PHONY: check-fastjar maybe-check-fastjar
6801 maybe-check-fastjar:
6802 @if fastjar
6803 maybe-check-fastjar: check-fastjar
6804
6805 # This module is only tested in a native toolchain.
6806 check-fastjar:
6807         @if [ '$(host)' = '$(target)' ] ; then \
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)  check); \
6813         fi
6814
6815 @endif fastjar
6816
6817 .PHONY: install-fastjar maybe-install-fastjar
6818 maybe-install-fastjar:
6819 @if fastjar
6820 maybe-install-fastjar: install-fastjar
6821
6822 install-fastjar: installdirs
6823         @r=`${PWD_COMMAND}`; export r; \
6824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6825         $(SET_LIB_PATH) \
6826         $(HOST_EXPORTS) \
6827         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS)  install)
6828
6829 @endif fastjar
6830
6831 # Other targets (info, dvi, etc.)
6832
6833 .PHONY: maybe-info-fastjar info-fastjar
6834 maybe-info-fastjar:
6835 @if fastjar
6836 maybe-info-fastjar: info-fastjar
6837
6838 info-fastjar: \
6839     configure-fastjar 
6840         @[ -f ./fastjar/Makefile ] || exit 0; \
6841         r=`${PWD_COMMAND}`; export r; \
6842         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6843         $(SET_LIB_PATH) \
6844         $(HOST_EXPORTS) \
6845         for flag in $(EXTRA_HOST_FLAGS) ; do \
6846           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847         done; \
6848         echo "Doing info in fastjar" ; \
6849         (cd fastjar && \
6850           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852                   "RANLIB=$${RANLIB}" \
6853                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6854                   info) \
6855           || exit 1
6856
6857 @endif fastjar
6858
6859 .PHONY: maybe-dvi-fastjar dvi-fastjar
6860 maybe-dvi-fastjar:
6861 @if fastjar
6862 maybe-dvi-fastjar: dvi-fastjar
6863
6864 dvi-fastjar: \
6865     configure-fastjar 
6866         @[ -f ./fastjar/Makefile ] || exit 0; \
6867         r=`${PWD_COMMAND}`; export r; \
6868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869         $(SET_LIB_PATH) \
6870         $(HOST_EXPORTS) \
6871         for flag in $(EXTRA_HOST_FLAGS) ; do \
6872           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6873         done; \
6874         echo "Doing dvi in fastjar" ; \
6875         (cd fastjar && \
6876           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6877                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6878                   "RANLIB=$${RANLIB}" \
6879                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6880                   dvi) \
6881           || exit 1
6882
6883 @endif fastjar
6884
6885 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6886 maybe-TAGS-fastjar:
6887 @if fastjar
6888 maybe-TAGS-fastjar: TAGS-fastjar
6889
6890 TAGS-fastjar: \
6891     configure-fastjar 
6892         @[ -f ./fastjar/Makefile ] || exit 0; \
6893         r=`${PWD_COMMAND}`; export r; \
6894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6895         $(SET_LIB_PATH) \
6896         $(HOST_EXPORTS) \
6897         for flag in $(EXTRA_HOST_FLAGS) ; do \
6898           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6899         done; \
6900         echo "Doing TAGS in fastjar" ; \
6901         (cd fastjar && \
6902           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6903                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6904                   "RANLIB=$${RANLIB}" \
6905                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6906                   TAGS) \
6907           || exit 1
6908
6909 @endif fastjar
6910
6911 .PHONY: maybe-install-info-fastjar install-info-fastjar
6912 maybe-install-info-fastjar:
6913 @if fastjar
6914 maybe-install-info-fastjar: install-info-fastjar
6915
6916 install-info-fastjar: \
6917     configure-fastjar \
6918     info-fastjar 
6919         @[ -f ./fastjar/Makefile ] || exit 0; \
6920         r=`${PWD_COMMAND}`; export r; \
6921         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6922         $(SET_LIB_PATH) \
6923         $(HOST_EXPORTS) \
6924         for flag in $(EXTRA_HOST_FLAGS) ; do \
6925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6926         done; \
6927         echo "Doing install-info in fastjar" ; \
6928         (cd fastjar && \
6929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6931                   "RANLIB=$${RANLIB}" \
6932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6933                   install-info) \
6934           || exit 1
6935
6936 @endif fastjar
6937
6938 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6939 maybe-installcheck-fastjar:
6940 @if fastjar
6941 maybe-installcheck-fastjar: installcheck-fastjar
6942
6943 installcheck-fastjar: \
6944     configure-fastjar 
6945         @[ -f ./fastjar/Makefile ] || exit 0; \
6946         r=`${PWD_COMMAND}`; export r; \
6947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6948         $(SET_LIB_PATH) \
6949         $(HOST_EXPORTS) \
6950         for flag in $(EXTRA_HOST_FLAGS) ; do \
6951           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6952         done; \
6953         echo "Doing installcheck in fastjar" ; \
6954         (cd fastjar && \
6955           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6956                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6957                   "RANLIB=$${RANLIB}" \
6958                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6959                   installcheck) \
6960           || exit 1
6961
6962 @endif fastjar
6963
6964 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6965 maybe-mostlyclean-fastjar:
6966 @if fastjar
6967 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6968
6969 mostlyclean-fastjar: 
6970         @[ -f ./fastjar/Makefile ] || exit 0; \
6971         r=`${PWD_COMMAND}`; export r; \
6972         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973         $(SET_LIB_PATH) \
6974         $(HOST_EXPORTS) \
6975         for flag in $(EXTRA_HOST_FLAGS) ; do \
6976           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6977         done; \
6978         echo "Doing mostlyclean in fastjar" ; \
6979         (cd fastjar && \
6980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6982                   "RANLIB=$${RANLIB}" \
6983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6984                   mostlyclean) \
6985           || exit 1
6986
6987 @endif fastjar
6988
6989 .PHONY: maybe-clean-fastjar clean-fastjar
6990 maybe-clean-fastjar:
6991 @if fastjar
6992 maybe-clean-fastjar: clean-fastjar
6993
6994 clean-fastjar: 
6995         @[ -f ./fastjar/Makefile ] || exit 0; \
6996         r=`${PWD_COMMAND}`; export r; \
6997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6998         $(SET_LIB_PATH) \
6999         $(HOST_EXPORTS) \
7000         for flag in $(EXTRA_HOST_FLAGS) ; do \
7001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7002         done; \
7003         echo "Doing clean in fastjar" ; \
7004         (cd fastjar && \
7005           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7006                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7007                   "RANLIB=$${RANLIB}" \
7008                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7009                   clean) \
7010           || exit 1
7011
7012 @endif fastjar
7013
7014 .PHONY: maybe-distclean-fastjar distclean-fastjar
7015 maybe-distclean-fastjar:
7016 @if fastjar
7017 maybe-distclean-fastjar: distclean-fastjar
7018
7019 distclean-fastjar: 
7020         @[ -f ./fastjar/Makefile ] || exit 0; \
7021         r=`${PWD_COMMAND}`; export r; \
7022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023         $(SET_LIB_PATH) \
7024         $(HOST_EXPORTS) \
7025         for flag in $(EXTRA_HOST_FLAGS) ; do \
7026           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7027         done; \
7028         echo "Doing distclean in fastjar" ; \
7029         (cd fastjar && \
7030           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7031                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7032                   "RANLIB=$${RANLIB}" \
7033                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7034                   distclean) \
7035           || exit 1
7036
7037 @endif fastjar
7038
7039 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7040 maybe-maintainer-clean-fastjar:
7041 @if fastjar
7042 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7043
7044 maintainer-clean-fastjar: 
7045         @[ -f ./fastjar/Makefile ] || exit 0; \
7046         r=`${PWD_COMMAND}`; export r; \
7047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7048         $(SET_LIB_PATH) \
7049         $(HOST_EXPORTS) \
7050         for flag in $(EXTRA_HOST_FLAGS) ; do \
7051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7052         done; \
7053         echo "Doing maintainer-clean in fastjar" ; \
7054         (cd fastjar && \
7055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7057                   "RANLIB=$${RANLIB}" \
7058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7059                   maintainer-clean) \
7060           || exit 1
7061
7062 @endif fastjar
7063
7064
7065 .PHONY: configure-fileutils maybe-configure-fileutils
7066 maybe-configure-fileutils:
7067 @if fileutils
7068 maybe-configure-fileutils: configure-fileutils
7069 configure-fileutils:
7070         @test ! -f fileutils/Makefile || exit 0; \
7071         [ -d fileutils ] || mkdir fileutils; \
7072         r=`${PWD_COMMAND}`; export r; \
7073         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074         $(HOST_EXPORTS) \
7075         echo Configuring in fileutils; \
7076         cd fileutils || exit 1; \
7077         case $(srcdir) in \
7078           \.) \
7079             srcdiroption="--srcdir=."; \
7080             libsrcdir=".";; \
7081           /* | [A-Za-z]:[\\/]*) \
7082             srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7083             libsrcdir="$$s/fileutils";; \
7084           *) \
7085             srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7086             libsrcdir="$$s/fileutils";; \
7087         esac; \
7088         $(SHELL) $${libsrcdir}/configure \
7089           $(HOST_CONFIGARGS) $${srcdiroption}  \
7090           || exit 1
7091 @endif fileutils
7092
7093 .PHONY: all-fileutils maybe-all-fileutils
7094 maybe-all-fileutils:
7095 @if fileutils
7096 maybe-all-fileutils: all-fileutils
7097 all-fileutils: configure-fileutils
7098         @r=`${PWD_COMMAND}`; export r; \
7099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7100         $(SET_LIB_PATH) \
7101         $(HOST_EXPORTS) \
7102         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS)  all)
7103 @endif fileutils
7104
7105 .PHONY: check-fileutils maybe-check-fileutils
7106 maybe-check-fileutils:
7107 @if fileutils
7108 maybe-check-fileutils: check-fileutils
7109
7110 check-fileutils:
7111         @r=`${PWD_COMMAND}`; export r; \
7112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7113         $(SET_LIB_PATH) \
7114         $(HOST_EXPORTS) \
7115         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS)  check)
7116
7117 @endif fileutils
7118
7119 .PHONY: install-fileutils maybe-install-fileutils
7120 maybe-install-fileutils:
7121 @if fileutils
7122 maybe-install-fileutils: install-fileutils
7123
7124 install-fileutils: installdirs
7125         @r=`${PWD_COMMAND}`; export r; \
7126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7127         $(SET_LIB_PATH) \
7128         $(HOST_EXPORTS) \
7129         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS)  install)
7130
7131 @endif fileutils
7132
7133 # Other targets (info, dvi, etc.)
7134
7135 .PHONY: maybe-info-fileutils info-fileutils
7136 maybe-info-fileutils:
7137 @if fileutils
7138 maybe-info-fileutils: info-fileutils
7139
7140 info-fileutils: \
7141     configure-fileutils 
7142         @[ -f ./fileutils/Makefile ] || exit 0; \
7143         r=`${PWD_COMMAND}`; export r; \
7144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7145         $(SET_LIB_PATH) \
7146         $(HOST_EXPORTS) \
7147         for flag in $(EXTRA_HOST_FLAGS) ; do \
7148           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7149         done; \
7150         echo "Doing info in fileutils" ; \
7151         (cd fileutils && \
7152           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7153                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7154                   "RANLIB=$${RANLIB}" \
7155                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7156                   info) \
7157           || exit 1
7158
7159 @endif fileutils
7160
7161 .PHONY: maybe-dvi-fileutils dvi-fileutils
7162 maybe-dvi-fileutils:
7163 @if fileutils
7164 maybe-dvi-fileutils: dvi-fileutils
7165
7166 dvi-fileutils: \
7167     configure-fileutils 
7168         @[ -f ./fileutils/Makefile ] || exit 0; \
7169         r=`${PWD_COMMAND}`; export r; \
7170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7171         $(SET_LIB_PATH) \
7172         $(HOST_EXPORTS) \
7173         for flag in $(EXTRA_HOST_FLAGS) ; do \
7174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7175         done; \
7176         echo "Doing dvi in fileutils" ; \
7177         (cd fileutils && \
7178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7180                   "RANLIB=$${RANLIB}" \
7181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7182                   dvi) \
7183           || exit 1
7184
7185 @endif fileutils
7186
7187 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7188 maybe-TAGS-fileutils:
7189 @if fileutils
7190 maybe-TAGS-fileutils: TAGS-fileutils
7191
7192 TAGS-fileutils: \
7193     configure-fileutils 
7194         @[ -f ./fileutils/Makefile ] || exit 0; \
7195         r=`${PWD_COMMAND}`; export r; \
7196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7197         $(SET_LIB_PATH) \
7198         $(HOST_EXPORTS) \
7199         for flag in $(EXTRA_HOST_FLAGS) ; do \
7200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7201         done; \
7202         echo "Doing TAGS in fileutils" ; \
7203         (cd fileutils && \
7204           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7205                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7206                   "RANLIB=$${RANLIB}" \
7207                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7208                   TAGS) \
7209           || exit 1
7210
7211 @endif fileutils
7212
7213 .PHONY: maybe-install-info-fileutils install-info-fileutils
7214 maybe-install-info-fileutils:
7215 @if fileutils
7216 maybe-install-info-fileutils: install-info-fileutils
7217
7218 install-info-fileutils: \
7219     configure-fileutils \
7220     info-fileutils 
7221         @[ -f ./fileutils/Makefile ] || exit 0; \
7222         r=`${PWD_COMMAND}`; export r; \
7223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7224         $(SET_LIB_PATH) \
7225         $(HOST_EXPORTS) \
7226         for flag in $(EXTRA_HOST_FLAGS) ; do \
7227           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7228         done; \
7229         echo "Doing install-info in fileutils" ; \
7230         (cd fileutils && \
7231           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7232                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7233                   "RANLIB=$${RANLIB}" \
7234                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7235                   install-info) \
7236           || exit 1
7237
7238 @endif fileutils
7239
7240 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7241 maybe-installcheck-fileutils:
7242 @if fileutils
7243 maybe-installcheck-fileutils: installcheck-fileutils
7244
7245 installcheck-fileutils: \
7246     configure-fileutils 
7247         @[ -f ./fileutils/Makefile ] || exit 0; \
7248         r=`${PWD_COMMAND}`; export r; \
7249         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7250         $(SET_LIB_PATH) \
7251         $(HOST_EXPORTS) \
7252         for flag in $(EXTRA_HOST_FLAGS) ; do \
7253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7254         done; \
7255         echo "Doing installcheck in fileutils" ; \
7256         (cd fileutils && \
7257           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7258                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7259                   "RANLIB=$${RANLIB}" \
7260                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7261                   installcheck) \
7262           || exit 1
7263
7264 @endif fileutils
7265
7266 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7267 maybe-mostlyclean-fileutils:
7268 @if fileutils
7269 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7270
7271 mostlyclean-fileutils: 
7272         @[ -f ./fileutils/Makefile ] || exit 0; \
7273         r=`${PWD_COMMAND}`; export r; \
7274         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7275         $(SET_LIB_PATH) \
7276         $(HOST_EXPORTS) \
7277         for flag in $(EXTRA_HOST_FLAGS) ; do \
7278           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7279         done; \
7280         echo "Doing mostlyclean in fileutils" ; \
7281         (cd fileutils && \
7282           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7283                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7284                   "RANLIB=$${RANLIB}" \
7285                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7286                   mostlyclean) \
7287           || exit 1
7288
7289 @endif fileutils
7290
7291 .PHONY: maybe-clean-fileutils clean-fileutils
7292 maybe-clean-fileutils:
7293 @if fileutils
7294 maybe-clean-fileutils: clean-fileutils
7295
7296 clean-fileutils: 
7297         @[ -f ./fileutils/Makefile ] || exit 0; \
7298         r=`${PWD_COMMAND}`; export r; \
7299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7300         $(SET_LIB_PATH) \
7301         $(HOST_EXPORTS) \
7302         for flag in $(EXTRA_HOST_FLAGS) ; do \
7303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7304         done; \
7305         echo "Doing clean in fileutils" ; \
7306         (cd fileutils && \
7307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7309                   "RANLIB=$${RANLIB}" \
7310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7311                   clean) \
7312           || exit 1
7313
7314 @endif fileutils
7315
7316 .PHONY: maybe-distclean-fileutils distclean-fileutils
7317 maybe-distclean-fileutils:
7318 @if fileutils
7319 maybe-distclean-fileutils: distclean-fileutils
7320
7321 distclean-fileutils: 
7322         @[ -f ./fileutils/Makefile ] || exit 0; \
7323         r=`${PWD_COMMAND}`; export r; \
7324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7325         $(SET_LIB_PATH) \
7326         $(HOST_EXPORTS) \
7327         for flag in $(EXTRA_HOST_FLAGS) ; do \
7328           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7329         done; \
7330         echo "Doing distclean in fileutils" ; \
7331         (cd fileutils && \
7332           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7333                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7334                   "RANLIB=$${RANLIB}" \
7335                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7336                   distclean) \
7337           || exit 1
7338
7339 @endif fileutils
7340
7341 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7342 maybe-maintainer-clean-fileutils:
7343 @if fileutils
7344 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7345
7346 maintainer-clean-fileutils: 
7347         @[ -f ./fileutils/Makefile ] || exit 0; \
7348         r=`${PWD_COMMAND}`; export r; \
7349         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7350         $(SET_LIB_PATH) \
7351         $(HOST_EXPORTS) \
7352         for flag in $(EXTRA_HOST_FLAGS) ; do \
7353           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7354         done; \
7355         echo "Doing maintainer-clean in fileutils" ; \
7356         (cd fileutils && \
7357           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7358                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7359                   "RANLIB=$${RANLIB}" \
7360                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7361                   maintainer-clean) \
7362           || exit 1
7363
7364 @endif fileutils
7365
7366
7367 .PHONY: configure-findutils maybe-configure-findutils
7368 maybe-configure-findutils:
7369 @if findutils
7370 maybe-configure-findutils: configure-findutils
7371 configure-findutils:
7372         @test ! -f findutils/Makefile || exit 0; \
7373         [ -d findutils ] || mkdir findutils; \
7374         r=`${PWD_COMMAND}`; export r; \
7375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7376         $(HOST_EXPORTS) \
7377         echo Configuring in findutils; \
7378         cd findutils || exit 1; \
7379         case $(srcdir) in \
7380           \.) \
7381             srcdiroption="--srcdir=."; \
7382             libsrcdir=".";; \
7383           /* | [A-Za-z]:[\\/]*) \
7384             srcdiroption="--srcdir=$(srcdir)/findutils"; \
7385             libsrcdir="$$s/findutils";; \
7386           *) \
7387             srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7388             libsrcdir="$$s/findutils";; \
7389         esac; \
7390         $(SHELL) $${libsrcdir}/configure \
7391           $(HOST_CONFIGARGS) $${srcdiroption}  \
7392           || exit 1
7393 @endif findutils
7394
7395 .PHONY: all-findutils maybe-all-findutils
7396 maybe-all-findutils:
7397 @if findutils
7398 maybe-all-findutils: all-findutils
7399 all-findutils: configure-findutils
7400         @r=`${PWD_COMMAND}`; export r; \
7401         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402         $(SET_LIB_PATH) \
7403         $(HOST_EXPORTS) \
7404         (cd findutils && $(MAKE) $(FLAGS_TO_PASS)  all)
7405 @endif findutils
7406
7407 .PHONY: check-findutils maybe-check-findutils
7408 maybe-check-findutils:
7409 @if findutils
7410 maybe-check-findutils: check-findutils
7411
7412 check-findutils:
7413         @r=`${PWD_COMMAND}`; export r; \
7414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7415         $(SET_LIB_PATH) \
7416         $(HOST_EXPORTS) \
7417         (cd findutils && $(MAKE) $(FLAGS_TO_PASS)  check)
7418
7419 @endif findutils
7420
7421 .PHONY: install-findutils maybe-install-findutils
7422 maybe-install-findutils:
7423 @if findutils
7424 maybe-install-findutils: install-findutils
7425
7426 install-findutils: installdirs
7427         @r=`${PWD_COMMAND}`; export r; \
7428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7429         $(SET_LIB_PATH) \
7430         $(HOST_EXPORTS) \
7431         (cd findutils && $(MAKE) $(FLAGS_TO_PASS)  install)
7432
7433 @endif findutils
7434
7435 # Other targets (info, dvi, etc.)
7436
7437 .PHONY: maybe-info-findutils info-findutils
7438 maybe-info-findutils:
7439 @if findutils
7440 maybe-info-findutils: info-findutils
7441
7442 info-findutils: \
7443     configure-findutils 
7444         @[ -f ./findutils/Makefile ] || exit 0; \
7445         r=`${PWD_COMMAND}`; export r; \
7446         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7447         $(SET_LIB_PATH) \
7448         $(HOST_EXPORTS) \
7449         for flag in $(EXTRA_HOST_FLAGS) ; do \
7450           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7451         done; \
7452         echo "Doing info in findutils" ; \
7453         (cd findutils && \
7454           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7455                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7456                   "RANLIB=$${RANLIB}" \
7457                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7458                   info) \
7459           || exit 1
7460
7461 @endif findutils
7462
7463 .PHONY: maybe-dvi-findutils dvi-findutils
7464 maybe-dvi-findutils:
7465 @if findutils
7466 maybe-dvi-findutils: dvi-findutils
7467
7468 dvi-findutils: \
7469     configure-findutils 
7470         @[ -f ./findutils/Makefile ] || exit 0; \
7471         r=`${PWD_COMMAND}`; export r; \
7472         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473         $(SET_LIB_PATH) \
7474         $(HOST_EXPORTS) \
7475         for flag in $(EXTRA_HOST_FLAGS) ; do \
7476           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7477         done; \
7478         echo "Doing dvi in findutils" ; \
7479         (cd findutils && \
7480           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7481                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7482                   "RANLIB=$${RANLIB}" \
7483                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7484                   dvi) \
7485           || exit 1
7486
7487 @endif findutils
7488
7489 .PHONY: maybe-TAGS-findutils TAGS-findutils
7490 maybe-TAGS-findutils:
7491 @if findutils
7492 maybe-TAGS-findutils: TAGS-findutils
7493
7494 TAGS-findutils: \
7495     configure-findutils 
7496         @[ -f ./findutils/Makefile ] || exit 0; \
7497         r=`${PWD_COMMAND}`; export r; \
7498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7499         $(SET_LIB_PATH) \
7500         $(HOST_EXPORTS) \
7501         for flag in $(EXTRA_HOST_FLAGS) ; do \
7502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7503         done; \
7504         echo "Doing TAGS in findutils" ; \
7505         (cd findutils && \
7506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7508                   "RANLIB=$${RANLIB}" \
7509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7510                   TAGS) \
7511           || exit 1
7512
7513 @endif findutils
7514
7515 .PHONY: maybe-install-info-findutils install-info-findutils
7516 maybe-install-info-findutils:
7517 @if findutils
7518 maybe-install-info-findutils: install-info-findutils
7519
7520 install-info-findutils: \
7521     configure-findutils \
7522     info-findutils 
7523         @[ -f ./findutils/Makefile ] || exit 0; \
7524         r=`${PWD_COMMAND}`; export r; \
7525         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7526         $(SET_LIB_PATH) \
7527         $(HOST_EXPORTS) \
7528         for flag in $(EXTRA_HOST_FLAGS) ; do \
7529           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7530         done; \
7531         echo "Doing install-info in findutils" ; \
7532         (cd findutils && \
7533           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7534                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7535                   "RANLIB=$${RANLIB}" \
7536                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7537                   install-info) \
7538           || exit 1
7539
7540 @endif findutils
7541
7542 .PHONY: maybe-installcheck-findutils installcheck-findutils
7543 maybe-installcheck-findutils:
7544 @if findutils
7545 maybe-installcheck-findutils: installcheck-findutils
7546
7547 installcheck-findutils: \
7548     configure-findutils 
7549         @[ -f ./findutils/Makefile ] || exit 0; \
7550         r=`${PWD_COMMAND}`; export r; \
7551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7552         $(SET_LIB_PATH) \
7553         $(HOST_EXPORTS) \
7554         for flag in $(EXTRA_HOST_FLAGS) ; do \
7555           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7556         done; \
7557         echo "Doing installcheck in findutils" ; \
7558         (cd findutils && \
7559           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7560                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7561                   "RANLIB=$${RANLIB}" \
7562                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7563                   installcheck) \
7564           || exit 1
7565
7566 @endif findutils
7567
7568 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7569 maybe-mostlyclean-findutils:
7570 @if findutils
7571 maybe-mostlyclean-findutils: mostlyclean-findutils
7572
7573 mostlyclean-findutils: 
7574         @[ -f ./findutils/Makefile ] || exit 0; \
7575         r=`${PWD_COMMAND}`; export r; \
7576         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7577         $(SET_LIB_PATH) \
7578         $(HOST_EXPORTS) \
7579         for flag in $(EXTRA_HOST_FLAGS) ; do \
7580           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7581         done; \
7582         echo "Doing mostlyclean in findutils" ; \
7583         (cd findutils && \
7584           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7585                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7586                   "RANLIB=$${RANLIB}" \
7587                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7588                   mostlyclean) \
7589           || exit 1
7590
7591 @endif findutils
7592
7593 .PHONY: maybe-clean-findutils clean-findutils
7594 maybe-clean-findutils:
7595 @if findutils
7596 maybe-clean-findutils: clean-findutils
7597
7598 clean-findutils: 
7599         @[ -f ./findutils/Makefile ] || exit 0; \
7600         r=`${PWD_COMMAND}`; export r; \
7601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7602         $(SET_LIB_PATH) \
7603         $(HOST_EXPORTS) \
7604         for flag in $(EXTRA_HOST_FLAGS) ; do \
7605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7606         done; \
7607         echo "Doing clean in findutils" ; \
7608         (cd findutils && \
7609           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7610                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7611                   "RANLIB=$${RANLIB}" \
7612                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7613                   clean) \
7614           || exit 1
7615
7616 @endif findutils
7617
7618 .PHONY: maybe-distclean-findutils distclean-findutils
7619 maybe-distclean-findutils:
7620 @if findutils
7621 maybe-distclean-findutils: distclean-findutils
7622
7623 distclean-findutils: 
7624         @[ -f ./findutils/Makefile ] || exit 0; \
7625         r=`${PWD_COMMAND}`; export r; \
7626         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7627         $(SET_LIB_PATH) \
7628         $(HOST_EXPORTS) \
7629         for flag in $(EXTRA_HOST_FLAGS) ; do \
7630           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7631         done; \
7632         echo "Doing distclean in findutils" ; \
7633         (cd findutils && \
7634           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7635                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7636                   "RANLIB=$${RANLIB}" \
7637                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7638                   distclean) \
7639           || exit 1
7640
7641 @endif findutils
7642
7643 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7644 maybe-maintainer-clean-findutils:
7645 @if findutils
7646 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7647
7648 maintainer-clean-findutils: 
7649         @[ -f ./findutils/Makefile ] || exit 0; \
7650         r=`${PWD_COMMAND}`; export r; \
7651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7652         $(SET_LIB_PATH) \
7653         $(HOST_EXPORTS) \
7654         for flag in $(EXTRA_HOST_FLAGS) ; do \
7655           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7656         done; \
7657         echo "Doing maintainer-clean in findutils" ; \
7658         (cd findutils && \
7659           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7660                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7661                   "RANLIB=$${RANLIB}" \
7662                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7663                   maintainer-clean) \
7664           || exit 1
7665
7666 @endif findutils
7667
7668
7669 .PHONY: configure-find maybe-configure-find
7670 maybe-configure-find:
7671 @if find
7672 maybe-configure-find: configure-find
7673 configure-find:
7674         @test ! -f find/Makefile || exit 0; \
7675         [ -d find ] || mkdir find; \
7676         r=`${PWD_COMMAND}`; export r; \
7677         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7678         $(HOST_EXPORTS) \
7679         echo Configuring in find; \
7680         cd find || exit 1; \
7681         case $(srcdir) in \
7682           \.) \
7683             srcdiroption="--srcdir=."; \
7684             libsrcdir=".";; \
7685           /* | [A-Za-z]:[\\/]*) \
7686             srcdiroption="--srcdir=$(srcdir)/find"; \
7687             libsrcdir="$$s/find";; \
7688           *) \
7689             srcdiroption="--srcdir=../$(srcdir)/find"; \
7690             libsrcdir="$$s/find";; \
7691         esac; \
7692         $(SHELL) $${libsrcdir}/configure \
7693           $(HOST_CONFIGARGS) $${srcdiroption}  \
7694           || exit 1
7695 @endif find
7696
7697 .PHONY: all-find maybe-all-find
7698 maybe-all-find:
7699 @if find
7700 maybe-all-find: all-find
7701 all-find: configure-find
7702         @r=`${PWD_COMMAND}`; export r; \
7703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704         $(SET_LIB_PATH) \
7705         $(HOST_EXPORTS) \
7706         (cd find && $(MAKE) $(FLAGS_TO_PASS)  all)
7707 @endif find
7708
7709 .PHONY: check-find maybe-check-find
7710 maybe-check-find:
7711 @if find
7712 maybe-check-find: check-find
7713
7714 check-find:
7715         @r=`${PWD_COMMAND}`; export r; \
7716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717         $(SET_LIB_PATH) \
7718         $(HOST_EXPORTS) \
7719         (cd find && $(MAKE) $(FLAGS_TO_PASS)  check)
7720
7721 @endif find
7722
7723 .PHONY: install-find maybe-install-find
7724 maybe-install-find:
7725 @if find
7726 maybe-install-find: install-find
7727
7728 install-find: installdirs
7729         @r=`${PWD_COMMAND}`; export r; \
7730         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7731         $(SET_LIB_PATH) \
7732         $(HOST_EXPORTS) \
7733         (cd find && $(MAKE) $(FLAGS_TO_PASS)  install)
7734
7735 @endif find
7736
7737 # Other targets (info, dvi, etc.)
7738
7739 .PHONY: maybe-info-find info-find
7740 maybe-info-find:
7741 @if find
7742 maybe-info-find: info-find
7743
7744 info-find: \
7745     configure-find 
7746         @[ -f ./find/Makefile ] || exit 0; \
7747         r=`${PWD_COMMAND}`; export r; \
7748         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7749         $(SET_LIB_PATH) \
7750         $(HOST_EXPORTS) \
7751         for flag in $(EXTRA_HOST_FLAGS) ; do \
7752           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7753         done; \
7754         echo "Doing info in find" ; \
7755         (cd find && \
7756           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7757                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7758                   "RANLIB=$${RANLIB}" \
7759                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7760                   info) \
7761           || exit 1
7762
7763 @endif find
7764
7765 .PHONY: maybe-dvi-find dvi-find
7766 maybe-dvi-find:
7767 @if find
7768 maybe-dvi-find: dvi-find
7769
7770 dvi-find: \
7771     configure-find 
7772         @[ -f ./find/Makefile ] || exit 0; \
7773         r=`${PWD_COMMAND}`; export r; \
7774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7775         $(SET_LIB_PATH) \
7776         $(HOST_EXPORTS) \
7777         for flag in $(EXTRA_HOST_FLAGS) ; do \
7778           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7779         done; \
7780         echo "Doing dvi in find" ; \
7781         (cd find && \
7782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7784                   "RANLIB=$${RANLIB}" \
7785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7786                   dvi) \
7787           || exit 1
7788
7789 @endif find
7790
7791 .PHONY: maybe-TAGS-find TAGS-find
7792 maybe-TAGS-find:
7793 @if find
7794 maybe-TAGS-find: TAGS-find
7795
7796 TAGS-find: \
7797     configure-find 
7798         @[ -f ./find/Makefile ] || exit 0; \
7799         r=`${PWD_COMMAND}`; export r; \
7800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7801         $(SET_LIB_PATH) \
7802         $(HOST_EXPORTS) \
7803         for flag in $(EXTRA_HOST_FLAGS) ; do \
7804           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7805         done; \
7806         echo "Doing TAGS in find" ; \
7807         (cd find && \
7808           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7809                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7810                   "RANLIB=$${RANLIB}" \
7811                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7812                   TAGS) \
7813           || exit 1
7814
7815 @endif find
7816
7817 .PHONY: maybe-install-info-find install-info-find
7818 maybe-install-info-find:
7819 @if find
7820 maybe-install-info-find: install-info-find
7821
7822 install-info-find: \
7823     configure-find \
7824     info-find 
7825         @[ -f ./find/Makefile ] || exit 0; \
7826         r=`${PWD_COMMAND}`; export r; \
7827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7828         $(SET_LIB_PATH) \
7829         $(HOST_EXPORTS) \
7830         for flag in $(EXTRA_HOST_FLAGS) ; do \
7831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7832         done; \
7833         echo "Doing install-info in find" ; \
7834         (cd find && \
7835           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7836                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7837                   "RANLIB=$${RANLIB}" \
7838                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7839                   install-info) \
7840           || exit 1
7841
7842 @endif find
7843
7844 .PHONY: maybe-installcheck-find installcheck-find
7845 maybe-installcheck-find:
7846 @if find
7847 maybe-installcheck-find: installcheck-find
7848
7849 installcheck-find: \
7850     configure-find 
7851         @[ -f ./find/Makefile ] || exit 0; \
7852         r=`${PWD_COMMAND}`; export r; \
7853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854         $(SET_LIB_PATH) \
7855         $(HOST_EXPORTS) \
7856         for flag in $(EXTRA_HOST_FLAGS) ; do \
7857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7858         done; \
7859         echo "Doing installcheck in find" ; \
7860         (cd find && \
7861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7863                   "RANLIB=$${RANLIB}" \
7864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7865                   installcheck) \
7866           || exit 1
7867
7868 @endif find
7869
7870 .PHONY: maybe-mostlyclean-find mostlyclean-find
7871 maybe-mostlyclean-find:
7872 @if find
7873 maybe-mostlyclean-find: mostlyclean-find
7874
7875 mostlyclean-find: 
7876         @[ -f ./find/Makefile ] || exit 0; \
7877         r=`${PWD_COMMAND}`; export r; \
7878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7879         $(SET_LIB_PATH) \
7880         $(HOST_EXPORTS) \
7881         for flag in $(EXTRA_HOST_FLAGS) ; do \
7882           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7883         done; \
7884         echo "Doing mostlyclean in find" ; \
7885         (cd find && \
7886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7888                   "RANLIB=$${RANLIB}" \
7889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7890                   mostlyclean) \
7891           || exit 1
7892
7893 @endif find
7894
7895 .PHONY: maybe-clean-find clean-find
7896 maybe-clean-find:
7897 @if find
7898 maybe-clean-find: clean-find
7899
7900 clean-find: 
7901         @[ -f ./find/Makefile ] || exit 0; \
7902         r=`${PWD_COMMAND}`; export r; \
7903         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7904         $(SET_LIB_PATH) \
7905         $(HOST_EXPORTS) \
7906         for flag in $(EXTRA_HOST_FLAGS) ; do \
7907           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7908         done; \
7909         echo "Doing clean in find" ; \
7910         (cd find && \
7911           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7912                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7913                   "RANLIB=$${RANLIB}" \
7914                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7915                   clean) \
7916           || exit 1
7917
7918 @endif find
7919
7920 .PHONY: maybe-distclean-find distclean-find
7921 maybe-distclean-find:
7922 @if find
7923 maybe-distclean-find: distclean-find
7924
7925 distclean-find: 
7926         @[ -f ./find/Makefile ] || exit 0; \
7927         r=`${PWD_COMMAND}`; export r; \
7928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7929         $(SET_LIB_PATH) \
7930         $(HOST_EXPORTS) \
7931         for flag in $(EXTRA_HOST_FLAGS) ; do \
7932           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7933         done; \
7934         echo "Doing distclean in find" ; \
7935         (cd find && \
7936           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7937                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7938                   "RANLIB=$${RANLIB}" \
7939                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7940                   distclean) \
7941           || exit 1
7942
7943 @endif find
7944
7945 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7946 maybe-maintainer-clean-find:
7947 @if find
7948 maybe-maintainer-clean-find: maintainer-clean-find
7949
7950 maintainer-clean-find: 
7951         @[ -f ./find/Makefile ] || exit 0; \
7952         r=`${PWD_COMMAND}`; export r; \
7953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7954         $(SET_LIB_PATH) \
7955         $(HOST_EXPORTS) \
7956         for flag in $(EXTRA_HOST_FLAGS) ; do \
7957           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7958         done; \
7959         echo "Doing maintainer-clean in find" ; \
7960         (cd find && \
7961           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7962                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7963                   "RANLIB=$${RANLIB}" \
7964                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7965                   maintainer-clean) \
7966           || exit 1
7967
7968 @endif find
7969
7970
7971 .PHONY: configure-flex maybe-configure-flex
7972 maybe-configure-flex:
7973 @if flex
7974 maybe-configure-flex: configure-flex
7975 configure-flex:
7976         @test ! -f flex/Makefile || exit 0; \
7977         [ -d flex ] || mkdir flex; \
7978         r=`${PWD_COMMAND}`; export r; \
7979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980         $(HOST_EXPORTS) \
7981         echo Configuring in flex; \
7982         cd flex || exit 1; \
7983         case $(srcdir) in \
7984           \.) \
7985             srcdiroption="--srcdir=."; \
7986             libsrcdir=".";; \
7987           /* | [A-Za-z]:[\\/]*) \
7988             srcdiroption="--srcdir=$(srcdir)/flex"; \
7989             libsrcdir="$$s/flex";; \
7990           *) \
7991             srcdiroption="--srcdir=../$(srcdir)/flex"; \
7992             libsrcdir="$$s/flex";; \
7993         esac; \
7994         $(SHELL) $${libsrcdir}/configure \
7995           $(HOST_CONFIGARGS) $${srcdiroption}  \
7996           || exit 1
7997 @endif flex
7998
7999 .PHONY: all-flex maybe-all-flex
8000 maybe-all-flex:
8001 @if flex
8002 maybe-all-flex: all-flex
8003 all-flex: configure-flex
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)  all)
8009 @endif flex
8010
8011 .PHONY: check-flex maybe-check-flex
8012 maybe-check-flex:
8013 @if flex
8014 maybe-check-flex: check-flex
8015
8016 # This module is only tested in a native toolchain.
8017 check-flex:
8018         @if [ '$(host)' = '$(target)' ] ; then \
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)  check); \
8024         fi
8025
8026 @endif flex
8027
8028 .PHONY: install-flex maybe-install-flex
8029 maybe-install-flex:
8030 @if flex
8031 maybe-install-flex: install-flex
8032
8033 install-flex: installdirs
8034         @r=`${PWD_COMMAND}`; export r; \
8035         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8036         $(SET_LIB_PATH) \
8037         $(HOST_EXPORTS) \
8038         (cd flex && $(MAKE) $(FLAGS_TO_PASS)  install)
8039
8040 @endif flex
8041
8042 # Other targets (info, dvi, etc.)
8043
8044 .PHONY: maybe-info-flex info-flex
8045 maybe-info-flex:
8046 @if flex
8047 maybe-info-flex: info-flex
8048
8049 info-flex: \
8050     configure-flex 
8051         @[ -f ./flex/Makefile ] || exit 0; \
8052         r=`${PWD_COMMAND}`; export r; \
8053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8054         $(SET_LIB_PATH) \
8055         $(HOST_EXPORTS) \
8056         for flag in $(EXTRA_HOST_FLAGS) ; do \
8057           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8058         done; \
8059         echo "Doing info in flex" ; \
8060         (cd flex && \
8061           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8062                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8063                   "RANLIB=$${RANLIB}" \
8064                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8065                   info) \
8066           || exit 1
8067
8068 @endif flex
8069
8070 .PHONY: maybe-dvi-flex dvi-flex
8071 maybe-dvi-flex:
8072 @if flex
8073 maybe-dvi-flex: dvi-flex
8074
8075 dvi-flex: \
8076     configure-flex 
8077         @[ -f ./flex/Makefile ] || exit 0; \
8078         r=`${PWD_COMMAND}`; export r; \
8079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8080         $(SET_LIB_PATH) \
8081         $(HOST_EXPORTS) \
8082         for flag in $(EXTRA_HOST_FLAGS) ; do \
8083           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8084         done; \
8085         echo "Doing dvi in flex" ; \
8086         (cd flex && \
8087           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8088                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8089                   "RANLIB=$${RANLIB}" \
8090                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8091                   dvi) \
8092           || exit 1
8093
8094 @endif flex
8095
8096 .PHONY: maybe-TAGS-flex TAGS-flex
8097 maybe-TAGS-flex:
8098 @if flex
8099 maybe-TAGS-flex: TAGS-flex
8100
8101 TAGS-flex: \
8102     configure-flex 
8103         @[ -f ./flex/Makefile ] || exit 0; \
8104         r=`${PWD_COMMAND}`; export r; \
8105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8106         $(SET_LIB_PATH) \
8107         $(HOST_EXPORTS) \
8108         for flag in $(EXTRA_HOST_FLAGS) ; do \
8109           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8110         done; \
8111         echo "Doing TAGS in flex" ; \
8112         (cd flex && \
8113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8115                   "RANLIB=$${RANLIB}" \
8116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8117                   TAGS) \
8118           || exit 1
8119
8120 @endif flex
8121
8122 .PHONY: maybe-install-info-flex install-info-flex
8123 maybe-install-info-flex:
8124 @if flex
8125 maybe-install-info-flex: install-info-flex
8126
8127 install-info-flex: \
8128     configure-flex \
8129     info-flex 
8130         @[ -f ./flex/Makefile ] || exit 0; \
8131         r=`${PWD_COMMAND}`; export r; \
8132         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8133         $(SET_LIB_PATH) \
8134         $(HOST_EXPORTS) \
8135         for flag in $(EXTRA_HOST_FLAGS) ; do \
8136           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8137         done; \
8138         echo "Doing install-info in flex" ; \
8139         (cd flex && \
8140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8142                   "RANLIB=$${RANLIB}" \
8143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8144                   install-info) \
8145           || exit 1
8146
8147 @endif flex
8148
8149 .PHONY: maybe-installcheck-flex installcheck-flex
8150 maybe-installcheck-flex:
8151 @if flex
8152 maybe-installcheck-flex: installcheck-flex
8153
8154 installcheck-flex: \
8155     configure-flex 
8156         @[ -f ./flex/Makefile ] || exit 0; \
8157         r=`${PWD_COMMAND}`; export r; \
8158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8159         $(SET_LIB_PATH) \
8160         $(HOST_EXPORTS) \
8161         for flag in $(EXTRA_HOST_FLAGS) ; do \
8162           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8163         done; \
8164         echo "Doing installcheck in flex" ; \
8165         (cd flex && \
8166           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8167                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8168                   "RANLIB=$${RANLIB}" \
8169                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8170                   installcheck) \
8171           || exit 1
8172
8173 @endif flex
8174
8175 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8176 maybe-mostlyclean-flex:
8177 @if flex
8178 maybe-mostlyclean-flex: mostlyclean-flex
8179
8180 mostlyclean-flex: 
8181         @[ -f ./flex/Makefile ] || exit 0; \
8182         r=`${PWD_COMMAND}`; export r; \
8183         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184         $(SET_LIB_PATH) \
8185         $(HOST_EXPORTS) \
8186         for flag in $(EXTRA_HOST_FLAGS) ; do \
8187           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8188         done; \
8189         echo "Doing mostlyclean in flex" ; \
8190         (cd flex && \
8191           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8192                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8193                   "RANLIB=$${RANLIB}" \
8194                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8195                   mostlyclean) \
8196           || exit 1
8197
8198 @endif flex
8199
8200 .PHONY: maybe-clean-flex clean-flex
8201 maybe-clean-flex:
8202 @if flex
8203 maybe-clean-flex: clean-flex
8204
8205 clean-flex: 
8206         @[ -f ./flex/Makefile ] || exit 0; \
8207         r=`${PWD_COMMAND}`; export r; \
8208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209         $(SET_LIB_PATH) \
8210         $(HOST_EXPORTS) \
8211         for flag in $(EXTRA_HOST_FLAGS) ; do \
8212           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8213         done; \
8214         echo "Doing clean in flex" ; \
8215         (cd flex && \
8216           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8217                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8218                   "RANLIB=$${RANLIB}" \
8219                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8220                   clean) \
8221           || exit 1
8222
8223 @endif flex
8224
8225 .PHONY: maybe-distclean-flex distclean-flex
8226 maybe-distclean-flex:
8227 @if flex
8228 maybe-distclean-flex: distclean-flex
8229
8230 distclean-flex: 
8231         @[ -f ./flex/Makefile ] || exit 0; \
8232         r=`${PWD_COMMAND}`; export r; \
8233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8234         $(SET_LIB_PATH) \
8235         $(HOST_EXPORTS) \
8236         for flag in $(EXTRA_HOST_FLAGS) ; do \
8237           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8238         done; \
8239         echo "Doing distclean in flex" ; \
8240         (cd flex && \
8241           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8242                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8243                   "RANLIB=$${RANLIB}" \
8244                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8245                   distclean) \
8246           || exit 1
8247
8248 @endif flex
8249
8250 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8251 maybe-maintainer-clean-flex:
8252 @if flex
8253 maybe-maintainer-clean-flex: maintainer-clean-flex
8254
8255 maintainer-clean-flex: 
8256         @[ -f ./flex/Makefile ] || exit 0; \
8257         r=`${PWD_COMMAND}`; export r; \
8258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8259         $(SET_LIB_PATH) \
8260         $(HOST_EXPORTS) \
8261         for flag in $(EXTRA_HOST_FLAGS) ; do \
8262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8263         done; \
8264         echo "Doing maintainer-clean in flex" ; \
8265         (cd flex && \
8266           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8267                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8268                   "RANLIB=$${RANLIB}" \
8269                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8270                   maintainer-clean) \
8271           || exit 1
8272
8273 @endif flex
8274
8275
8276 .PHONY: configure-gas maybe-configure-gas
8277 maybe-configure-gas:
8278 @if gas
8279 maybe-configure-gas: configure-gas
8280 configure-gas:
8281         @test ! -f gas/Makefile || exit 0; \
8282         [ -d gas ] || mkdir gas; \
8283         r=`${PWD_COMMAND}`; export r; \
8284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8285         $(HOST_EXPORTS) \
8286         echo Configuring in gas; \
8287         cd gas || exit 1; \
8288         case $(srcdir) in \
8289           \.) \
8290             srcdiroption="--srcdir=."; \
8291             libsrcdir=".";; \
8292           /* | [A-Za-z]:[\\/]*) \
8293             srcdiroption="--srcdir=$(srcdir)/gas"; \
8294             libsrcdir="$$s/gas";; \
8295           *) \
8296             srcdiroption="--srcdir=../$(srcdir)/gas"; \
8297             libsrcdir="$$s/gas";; \
8298         esac; \
8299         $(SHELL) $${libsrcdir}/configure \
8300           $(HOST_CONFIGARGS) $${srcdiroption}  \
8301           || exit 1
8302 @endif gas
8303
8304 .PHONY: all-gas maybe-all-gas
8305 maybe-all-gas:
8306 @if gas
8307 maybe-all-gas: all-gas
8308 all-gas: configure-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)  all)
8314 @endif gas
8315
8316 .PHONY: check-gas maybe-check-gas
8317 maybe-check-gas:
8318 @if gas
8319 maybe-check-gas: check-gas
8320
8321 check-gas:
8322         @r=`${PWD_COMMAND}`; export r; \
8323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8324         $(SET_LIB_PATH) \
8325         $(HOST_EXPORTS) \
8326         (cd gas && $(MAKE) $(FLAGS_TO_PASS)  check)
8327
8328 @endif gas
8329
8330 .PHONY: install-gas maybe-install-gas
8331 maybe-install-gas:
8332 @if gas
8333 maybe-install-gas: install-gas
8334
8335 install-gas: installdirs
8336         @r=`${PWD_COMMAND}`; export r; \
8337         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8338         $(SET_LIB_PATH) \
8339         $(HOST_EXPORTS) \
8340         (cd gas && $(MAKE) $(FLAGS_TO_PASS)  install)
8341
8342 @endif gas
8343
8344 # Other targets (info, dvi, etc.)
8345
8346 .PHONY: maybe-info-gas info-gas
8347 maybe-info-gas:
8348 @if gas
8349 maybe-info-gas: info-gas
8350
8351 info-gas: \
8352     configure-gas 
8353         @[ -f ./gas/Makefile ] || exit 0; \
8354         r=`${PWD_COMMAND}`; export r; \
8355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8356         $(SET_LIB_PATH) \
8357         $(HOST_EXPORTS) \
8358         for flag in $(EXTRA_HOST_FLAGS) ; do \
8359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8360         done; \
8361         echo "Doing info in gas" ; \
8362         (cd gas && \
8363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8365                   "RANLIB=$${RANLIB}" \
8366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8367                   info) \
8368           || exit 1
8369
8370 @endif gas
8371
8372 .PHONY: maybe-dvi-gas dvi-gas
8373 maybe-dvi-gas:
8374 @if gas
8375 maybe-dvi-gas: dvi-gas
8376
8377 dvi-gas: \
8378     configure-gas 
8379         @[ -f ./gas/Makefile ] || exit 0; \
8380         r=`${PWD_COMMAND}`; export r; \
8381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8382         $(SET_LIB_PATH) \
8383         $(HOST_EXPORTS) \
8384         for flag in $(EXTRA_HOST_FLAGS) ; do \
8385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8386         done; \
8387         echo "Doing dvi in gas" ; \
8388         (cd gas && \
8389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8391                   "RANLIB=$${RANLIB}" \
8392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8393                   dvi) \
8394           || exit 1
8395
8396 @endif gas
8397
8398 .PHONY: maybe-TAGS-gas TAGS-gas
8399 maybe-TAGS-gas:
8400 @if gas
8401 maybe-TAGS-gas: TAGS-gas
8402
8403 TAGS-gas: \
8404     configure-gas 
8405         @[ -f ./gas/Makefile ] || exit 0; \
8406         r=`${PWD_COMMAND}`; export r; \
8407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8408         $(SET_LIB_PATH) \
8409         $(HOST_EXPORTS) \
8410         for flag in $(EXTRA_HOST_FLAGS) ; do \
8411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8412         done; \
8413         echo "Doing TAGS in gas" ; \
8414         (cd gas && \
8415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8417                   "RANLIB=$${RANLIB}" \
8418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8419                   TAGS) \
8420           || exit 1
8421
8422 @endif gas
8423
8424 .PHONY: maybe-install-info-gas install-info-gas
8425 maybe-install-info-gas:
8426 @if gas
8427 maybe-install-info-gas: install-info-gas
8428
8429 install-info-gas: \
8430     configure-gas \
8431     info-gas 
8432         @[ -f ./gas/Makefile ] || exit 0; \
8433         r=`${PWD_COMMAND}`; export r; \
8434         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8435         $(SET_LIB_PATH) \
8436         $(HOST_EXPORTS) \
8437         for flag in $(EXTRA_HOST_FLAGS) ; do \
8438           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8439         done; \
8440         echo "Doing install-info in gas" ; \
8441         (cd gas && \
8442           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8443                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8444                   "RANLIB=$${RANLIB}" \
8445                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8446                   install-info) \
8447           || exit 1
8448
8449 @endif gas
8450
8451 .PHONY: maybe-installcheck-gas installcheck-gas
8452 maybe-installcheck-gas:
8453 @if gas
8454 maybe-installcheck-gas: installcheck-gas
8455
8456 installcheck-gas: \
8457     configure-gas 
8458         @[ -f ./gas/Makefile ] || exit 0; \
8459         r=`${PWD_COMMAND}`; export r; \
8460         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8461         $(SET_LIB_PATH) \
8462         $(HOST_EXPORTS) \
8463         for flag in $(EXTRA_HOST_FLAGS) ; do \
8464           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8465         done; \
8466         echo "Doing installcheck in gas" ; \
8467         (cd gas && \
8468           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8469                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8470                   "RANLIB=$${RANLIB}" \
8471                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8472                   installcheck) \
8473           || exit 1
8474
8475 @endif gas
8476
8477 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8478 maybe-mostlyclean-gas:
8479 @if gas
8480 maybe-mostlyclean-gas: mostlyclean-gas
8481
8482 mostlyclean-gas: 
8483         @[ -f ./gas/Makefile ] || exit 0; \
8484         r=`${PWD_COMMAND}`; export r; \
8485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8486         $(SET_LIB_PATH) \
8487         $(HOST_EXPORTS) \
8488         for flag in $(EXTRA_HOST_FLAGS) ; do \
8489           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8490         done; \
8491         echo "Doing mostlyclean in gas" ; \
8492         (cd gas && \
8493           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8494                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8495                   "RANLIB=$${RANLIB}" \
8496                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8497                   mostlyclean) \
8498           || exit 1
8499
8500 @endif gas
8501
8502 .PHONY: maybe-clean-gas clean-gas
8503 maybe-clean-gas:
8504 @if gas
8505 maybe-clean-gas: clean-gas
8506
8507 clean-gas: 
8508         @[ -f ./gas/Makefile ] || exit 0; \
8509         r=`${PWD_COMMAND}`; export r; \
8510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511         $(SET_LIB_PATH) \
8512         $(HOST_EXPORTS) \
8513         for flag in $(EXTRA_HOST_FLAGS) ; do \
8514           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8515         done; \
8516         echo "Doing clean in gas" ; \
8517         (cd gas && \
8518           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8519                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8520                   "RANLIB=$${RANLIB}" \
8521                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8522                   clean) \
8523           || exit 1
8524
8525 @endif gas
8526
8527 .PHONY: maybe-distclean-gas distclean-gas
8528 maybe-distclean-gas:
8529 @if gas
8530 maybe-distclean-gas: distclean-gas
8531
8532 distclean-gas: 
8533         @[ -f ./gas/Makefile ] || exit 0; \
8534         r=`${PWD_COMMAND}`; export r; \
8535         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8536         $(SET_LIB_PATH) \
8537         $(HOST_EXPORTS) \
8538         for flag in $(EXTRA_HOST_FLAGS) ; do \
8539           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8540         done; \
8541         echo "Doing distclean in gas" ; \
8542         (cd gas && \
8543           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8544                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8545                   "RANLIB=$${RANLIB}" \
8546                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8547                   distclean) \
8548           || exit 1
8549
8550 @endif gas
8551
8552 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8553 maybe-maintainer-clean-gas:
8554 @if gas
8555 maybe-maintainer-clean-gas: maintainer-clean-gas
8556
8557 maintainer-clean-gas: 
8558         @[ -f ./gas/Makefile ] || exit 0; \
8559         r=`${PWD_COMMAND}`; export r; \
8560         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561         $(SET_LIB_PATH) \
8562         $(HOST_EXPORTS) \
8563         for flag in $(EXTRA_HOST_FLAGS) ; do \
8564           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8565         done; \
8566         echo "Doing maintainer-clean in gas" ; \
8567         (cd gas && \
8568           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8569                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8570                   "RANLIB=$${RANLIB}" \
8571                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8572                   maintainer-clean) \
8573           || exit 1
8574
8575 @endif gas
8576
8577
8578 .PHONY: configure-gcc maybe-configure-gcc
8579 maybe-configure-gcc:
8580 @if gcc
8581 maybe-configure-gcc: configure-gcc
8582 configure-gcc:
8583         @test ! -f gcc/Makefile || exit 0; \
8584         [ -d gcc ] || mkdir gcc; \
8585         r=`${PWD_COMMAND}`; export r; \
8586         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8587         $(HOST_EXPORTS) \
8588         echo Configuring in gcc; \
8589         cd gcc || exit 1; \
8590         case $(srcdir) in \
8591           \.) \
8592             srcdiroption="--srcdir=."; \
8593             libsrcdir=".";; \
8594           /* | [A-Za-z]:[\\/]*) \
8595             srcdiroption="--srcdir=$(srcdir)/gcc"; \
8596             libsrcdir="$$s/gcc";; \
8597           *) \
8598             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8599             libsrcdir="$$s/gcc";; \
8600         esac; \
8601         $(SHELL) $${libsrcdir}/configure \
8602           $(HOST_CONFIGARGS) $${srcdiroption}  \
8603           || exit 1
8604 @endif gcc
8605
8606 .PHONY: all-gcc maybe-all-gcc
8607 maybe-all-gcc:
8608 @if gcc
8609 maybe-all-gcc: all-gcc
8610 all-gcc: configure-gcc
8611         @r=`${PWD_COMMAND}`; export r; \
8612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613         $(SET_LIB_PATH) \
8614         $(HOST_EXPORTS) \
8615         (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)  \
8616             `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8617 @endif gcc
8618
8619 .PHONY: check-gcc maybe-check-gcc
8620 maybe-check-gcc:
8621 @if gcc
8622 maybe-check-gcc: check-gcc
8623
8624 check-gcc:
8625         @r=`${PWD_COMMAND}`; export r; \
8626         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627         $(SET_LIB_PATH) \
8628         $(HOST_EXPORTS) \
8629         (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
8630
8631 @endif gcc
8632
8633 .PHONY: install-gcc maybe-install-gcc
8634 maybe-install-gcc:
8635 @if gcc
8636 maybe-install-gcc: install-gcc
8637
8638 install-gcc: installdirs
8639         @r=`${PWD_COMMAND}`; export r; \
8640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8641         $(SET_LIB_PATH) \
8642         $(HOST_EXPORTS) \
8643         (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
8644
8645 @endif gcc
8646
8647 # Other targets (info, dvi, etc.)
8648
8649 .PHONY: maybe-info-gcc info-gcc
8650 maybe-info-gcc:
8651 @if gcc
8652 maybe-info-gcc: info-gcc
8653
8654 info-gcc: \
8655     configure-gcc 
8656         @[ -f ./gcc/Makefile ] || exit 0; \
8657         r=`${PWD_COMMAND}`; export r; \
8658         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8659         $(SET_LIB_PATH) \
8660         $(HOST_EXPORTS) \
8661         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8662           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8663         done; \
8664         echo "Doing info in gcc" ; \
8665         (cd gcc && \
8666           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8667                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8668                   "RANLIB=$${RANLIB}" \
8669                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8670                   info) \
8671           || exit 1
8672
8673 @endif gcc
8674
8675 .PHONY: maybe-dvi-gcc dvi-gcc
8676 maybe-dvi-gcc:
8677 @if gcc
8678 maybe-dvi-gcc: dvi-gcc
8679
8680 dvi-gcc: \
8681     configure-gcc 
8682         @[ -f ./gcc/Makefile ] || exit 0; \
8683         r=`${PWD_COMMAND}`; export r; \
8684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8685         $(SET_LIB_PATH) \
8686         $(HOST_EXPORTS) \
8687         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8689         done; \
8690         echo "Doing dvi in gcc" ; \
8691         (cd gcc && \
8692           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8693                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8694                   "RANLIB=$${RANLIB}" \
8695                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8696                   dvi) \
8697           || exit 1
8698
8699 @endif gcc
8700
8701 .PHONY: maybe-TAGS-gcc TAGS-gcc
8702 maybe-TAGS-gcc:
8703 @if gcc
8704 maybe-TAGS-gcc: TAGS-gcc
8705
8706 TAGS-gcc: \
8707     configure-gcc 
8708         @[ -f ./gcc/Makefile ] || exit 0; \
8709         r=`${PWD_COMMAND}`; export r; \
8710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8711         $(SET_LIB_PATH) \
8712         $(HOST_EXPORTS) \
8713         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8714           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8715         done; \
8716         echo "Doing TAGS in gcc" ; \
8717         (cd gcc && \
8718           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8719                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8720                   "RANLIB=$${RANLIB}" \
8721                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8722                   TAGS) \
8723           || exit 1
8724
8725 @endif gcc
8726
8727 .PHONY: maybe-install-info-gcc install-info-gcc
8728 maybe-install-info-gcc:
8729 @if gcc
8730 maybe-install-info-gcc: install-info-gcc
8731
8732 install-info-gcc: \
8733     configure-gcc \
8734     info-gcc 
8735         @[ -f ./gcc/Makefile ] || exit 0; \
8736         r=`${PWD_COMMAND}`; export r; \
8737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8738         $(SET_LIB_PATH) \
8739         $(HOST_EXPORTS) \
8740         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8741           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8742         done; \
8743         echo "Doing install-info in gcc" ; \
8744         (cd gcc && \
8745           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8746                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8747                   "RANLIB=$${RANLIB}" \
8748                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8749                   install-info) \
8750           || exit 1
8751
8752 @endif gcc
8753
8754 .PHONY: maybe-installcheck-gcc installcheck-gcc
8755 maybe-installcheck-gcc:
8756 @if gcc
8757 maybe-installcheck-gcc: installcheck-gcc
8758
8759 installcheck-gcc: \
8760     configure-gcc 
8761         @[ -f ./gcc/Makefile ] || exit 0; \
8762         r=`${PWD_COMMAND}`; export r; \
8763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8764         $(SET_LIB_PATH) \
8765         $(HOST_EXPORTS) \
8766         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8767           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8768         done; \
8769         echo "Doing installcheck in gcc" ; \
8770         (cd gcc && \
8771           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8772                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8773                   "RANLIB=$${RANLIB}" \
8774                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8775                   installcheck) \
8776           || exit 1
8777
8778 @endif gcc
8779
8780 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8781 maybe-mostlyclean-gcc:
8782 @if gcc
8783 maybe-mostlyclean-gcc: mostlyclean-gcc
8784
8785 mostlyclean-gcc: 
8786         @[ -f ./gcc/Makefile ] || exit 0; \
8787         r=`${PWD_COMMAND}`; export r; \
8788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8789         $(SET_LIB_PATH) \
8790         $(HOST_EXPORTS) \
8791         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8792           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8793         done; \
8794         echo "Doing mostlyclean in gcc" ; \
8795         (cd gcc && \
8796           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8797                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8798                   "RANLIB=$${RANLIB}" \
8799                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8800                   mostlyclean) \
8801           || exit 1
8802
8803 @endif gcc
8804
8805 .PHONY: maybe-clean-gcc clean-gcc
8806 maybe-clean-gcc:
8807 @if gcc
8808 maybe-clean-gcc: clean-gcc
8809
8810 clean-gcc: 
8811         @[ -f ./gcc/Makefile ] || exit 0; \
8812         r=`${PWD_COMMAND}`; export r; \
8813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8814         $(SET_LIB_PATH) \
8815         $(HOST_EXPORTS) \
8816         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8817           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8818         done; \
8819         echo "Doing clean in gcc" ; \
8820         (cd gcc && \
8821           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8822                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8823                   "RANLIB=$${RANLIB}" \
8824                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8825                   clean) \
8826           || exit 1
8827
8828 @endif gcc
8829
8830 .PHONY: maybe-distclean-gcc distclean-gcc
8831 maybe-distclean-gcc:
8832 @if gcc
8833 maybe-distclean-gcc: distclean-gcc
8834
8835 distclean-gcc: 
8836         @[ -f ./gcc/Makefile ] || exit 0; \
8837         r=`${PWD_COMMAND}`; export r; \
8838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8839         $(SET_LIB_PATH) \
8840         $(HOST_EXPORTS) \
8841         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8843         done; \
8844         echo "Doing distclean in gcc" ; \
8845         (cd gcc && \
8846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8848                   "RANLIB=$${RANLIB}" \
8849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8850                   distclean) \
8851           || exit 1
8852
8853 @endif gcc
8854
8855 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8856 maybe-maintainer-clean-gcc:
8857 @if gcc
8858 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8859
8860 maintainer-clean-gcc: 
8861         @[ -f ./gcc/Makefile ] || exit 0; \
8862         r=`${PWD_COMMAND}`; export r; \
8863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8864         $(SET_LIB_PATH) \
8865         $(HOST_EXPORTS) \
8866         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8867           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8868         done; \
8869         echo "Doing maintainer-clean in gcc" ; \
8870         (cd gcc && \
8871           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8872                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8873                   "RANLIB=$${RANLIB}" \
8874                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8875                   maintainer-clean) \
8876           || exit 1
8877
8878 @endif gcc
8879
8880
8881 .PHONY: configure-gawk maybe-configure-gawk
8882 maybe-configure-gawk:
8883 @if gawk
8884 maybe-configure-gawk: configure-gawk
8885 configure-gawk:
8886         @test ! -f gawk/Makefile || exit 0; \
8887         [ -d gawk ] || mkdir gawk; \
8888         r=`${PWD_COMMAND}`; export r; \
8889         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8890         $(HOST_EXPORTS) \
8891         echo Configuring in gawk; \
8892         cd gawk || exit 1; \
8893         case $(srcdir) in \
8894           \.) \
8895             srcdiroption="--srcdir=."; \
8896             libsrcdir=".";; \
8897           /* | [A-Za-z]:[\\/]*) \
8898             srcdiroption="--srcdir=$(srcdir)/gawk"; \
8899             libsrcdir="$$s/gawk";; \
8900           *) \
8901             srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8902             libsrcdir="$$s/gawk";; \
8903         esac; \
8904         $(SHELL) $${libsrcdir}/configure \
8905           $(HOST_CONFIGARGS) $${srcdiroption}  \
8906           || exit 1
8907 @endif gawk
8908
8909 .PHONY: all-gawk maybe-all-gawk
8910 maybe-all-gawk:
8911 @if gawk
8912 maybe-all-gawk: all-gawk
8913 all-gawk: configure-gawk
8914         @r=`${PWD_COMMAND}`; export r; \
8915         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8916         $(SET_LIB_PATH) \
8917         $(HOST_EXPORTS) \
8918         (cd gawk && $(MAKE) $(FLAGS_TO_PASS)  all)
8919 @endif gawk
8920
8921 .PHONY: check-gawk maybe-check-gawk
8922 maybe-check-gawk:
8923 @if gawk
8924 maybe-check-gawk: check-gawk
8925
8926 check-gawk:
8927         @r=`${PWD_COMMAND}`; export r; \
8928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8929         $(SET_LIB_PATH) \
8930         $(HOST_EXPORTS) \
8931         (cd gawk && $(MAKE) $(FLAGS_TO_PASS)  check)
8932
8933 @endif gawk
8934
8935 .PHONY: install-gawk maybe-install-gawk
8936 maybe-install-gawk:
8937 @if gawk
8938 maybe-install-gawk: install-gawk
8939
8940 install-gawk: installdirs
8941         @r=`${PWD_COMMAND}`; export r; \
8942         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8943         $(SET_LIB_PATH) \
8944         $(HOST_EXPORTS) \
8945         (cd gawk && $(MAKE) $(FLAGS_TO_PASS)  install)
8946
8947 @endif gawk
8948
8949 # Other targets (info, dvi, etc.)
8950
8951 .PHONY: maybe-info-gawk info-gawk
8952 maybe-info-gawk:
8953 @if gawk
8954 maybe-info-gawk: info-gawk
8955
8956 info-gawk: \
8957     configure-gawk 
8958         @[ -f ./gawk/Makefile ] || exit 0; \
8959         r=`${PWD_COMMAND}`; export r; \
8960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8961         $(SET_LIB_PATH) \
8962         $(HOST_EXPORTS) \
8963         for flag in $(EXTRA_HOST_FLAGS) ; do \
8964           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8965         done; \
8966         echo "Doing info in gawk" ; \
8967         (cd gawk && \
8968           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8969                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8970                   "RANLIB=$${RANLIB}" \
8971                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8972                   info) \
8973           || exit 1
8974
8975 @endif gawk
8976
8977 .PHONY: maybe-dvi-gawk dvi-gawk
8978 maybe-dvi-gawk:
8979 @if gawk
8980 maybe-dvi-gawk: dvi-gawk
8981
8982 dvi-gawk: \
8983     configure-gawk 
8984         @[ -f ./gawk/Makefile ] || exit 0; \
8985         r=`${PWD_COMMAND}`; export r; \
8986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987         $(SET_LIB_PATH) \
8988         $(HOST_EXPORTS) \
8989         for flag in $(EXTRA_HOST_FLAGS) ; do \
8990           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8991         done; \
8992         echo "Doing dvi in gawk" ; \
8993         (cd gawk && \
8994           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8995                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8996                   "RANLIB=$${RANLIB}" \
8997                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8998                   dvi) \
8999           || exit 1
9000
9001 @endif gawk
9002
9003 .PHONY: maybe-TAGS-gawk TAGS-gawk
9004 maybe-TAGS-gawk:
9005 @if gawk
9006 maybe-TAGS-gawk: TAGS-gawk
9007
9008 TAGS-gawk: \
9009     configure-gawk 
9010         @[ -f ./gawk/Makefile ] || exit 0; \
9011         r=`${PWD_COMMAND}`; export r; \
9012         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9013         $(SET_LIB_PATH) \
9014         $(HOST_EXPORTS) \
9015         for flag in $(EXTRA_HOST_FLAGS) ; do \
9016           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9017         done; \
9018         echo "Doing TAGS in gawk" ; \
9019         (cd gawk && \
9020           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9021                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9022                   "RANLIB=$${RANLIB}" \
9023                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9024                   TAGS) \
9025           || exit 1
9026
9027 @endif gawk
9028
9029 .PHONY: maybe-install-info-gawk install-info-gawk
9030 maybe-install-info-gawk:
9031 @if gawk
9032 maybe-install-info-gawk: install-info-gawk
9033
9034 install-info-gawk: \
9035     configure-gawk \
9036     info-gawk 
9037         @[ -f ./gawk/Makefile ] || exit 0; \
9038         r=`${PWD_COMMAND}`; export r; \
9039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9040         $(SET_LIB_PATH) \
9041         $(HOST_EXPORTS) \
9042         for flag in $(EXTRA_HOST_FLAGS) ; do \
9043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9044         done; \
9045         echo "Doing install-info in gawk" ; \
9046         (cd gawk && \
9047           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9048                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9049                   "RANLIB=$${RANLIB}" \
9050                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9051                   install-info) \
9052           || exit 1
9053
9054 @endif gawk
9055
9056 .PHONY: maybe-installcheck-gawk installcheck-gawk
9057 maybe-installcheck-gawk:
9058 @if gawk
9059 maybe-installcheck-gawk: installcheck-gawk
9060
9061 installcheck-gawk: \
9062     configure-gawk 
9063         @[ -f ./gawk/Makefile ] || exit 0; \
9064         r=`${PWD_COMMAND}`; export r; \
9065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066         $(SET_LIB_PATH) \
9067         $(HOST_EXPORTS) \
9068         for flag in $(EXTRA_HOST_FLAGS) ; do \
9069           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9070         done; \
9071         echo "Doing installcheck in gawk" ; \
9072         (cd gawk && \
9073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9075                   "RANLIB=$${RANLIB}" \
9076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9077                   installcheck) \
9078           || exit 1
9079
9080 @endif gawk
9081
9082 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9083 maybe-mostlyclean-gawk:
9084 @if gawk
9085 maybe-mostlyclean-gawk: mostlyclean-gawk
9086
9087 mostlyclean-gawk: 
9088         @[ -f ./gawk/Makefile ] || exit 0; \
9089         r=`${PWD_COMMAND}`; export r; \
9090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091         $(SET_LIB_PATH) \
9092         $(HOST_EXPORTS) \
9093         for flag in $(EXTRA_HOST_FLAGS) ; do \
9094           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9095         done; \
9096         echo "Doing mostlyclean in gawk" ; \
9097         (cd gawk && \
9098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9100                   "RANLIB=$${RANLIB}" \
9101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9102                   mostlyclean) \
9103           || exit 1
9104
9105 @endif gawk
9106
9107 .PHONY: maybe-clean-gawk clean-gawk
9108 maybe-clean-gawk:
9109 @if gawk
9110 maybe-clean-gawk: clean-gawk
9111
9112 clean-gawk: 
9113         @[ -f ./gawk/Makefile ] || exit 0; \
9114         r=`${PWD_COMMAND}`; export r; \
9115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9116         $(SET_LIB_PATH) \
9117         $(HOST_EXPORTS) \
9118         for flag in $(EXTRA_HOST_FLAGS) ; do \
9119           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9120         done; \
9121         echo "Doing clean in gawk" ; \
9122         (cd gawk && \
9123           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9124                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9125                   "RANLIB=$${RANLIB}" \
9126                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9127                   clean) \
9128           || exit 1
9129
9130 @endif gawk
9131
9132 .PHONY: maybe-distclean-gawk distclean-gawk
9133 maybe-distclean-gawk:
9134 @if gawk
9135 maybe-distclean-gawk: distclean-gawk
9136
9137 distclean-gawk: 
9138         @[ -f ./gawk/Makefile ] || exit 0; \
9139         r=`${PWD_COMMAND}`; export r; \
9140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9141         $(SET_LIB_PATH) \
9142         $(HOST_EXPORTS) \
9143         for flag in $(EXTRA_HOST_FLAGS) ; do \
9144           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9145         done; \
9146         echo "Doing distclean in gawk" ; \
9147         (cd gawk && \
9148           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9149                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9150                   "RANLIB=$${RANLIB}" \
9151                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9152                   distclean) \
9153           || exit 1
9154
9155 @endif gawk
9156
9157 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9158 maybe-maintainer-clean-gawk:
9159 @if gawk
9160 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9161
9162 maintainer-clean-gawk: 
9163         @[ -f ./gawk/Makefile ] || exit 0; \
9164         r=`${PWD_COMMAND}`; export r; \
9165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166         $(SET_LIB_PATH) \
9167         $(HOST_EXPORTS) \
9168         for flag in $(EXTRA_HOST_FLAGS) ; do \
9169           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9170         done; \
9171         echo "Doing maintainer-clean in gawk" ; \
9172         (cd gawk && \
9173           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9174                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9175                   "RANLIB=$${RANLIB}" \
9176                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9177                   maintainer-clean) \
9178           || exit 1
9179
9180 @endif gawk
9181
9182
9183 .PHONY: configure-gettext maybe-configure-gettext
9184 maybe-configure-gettext:
9185 @if gettext
9186 maybe-configure-gettext: configure-gettext
9187 configure-gettext:
9188         @test ! -f gettext/Makefile || exit 0; \
9189         [ -d gettext ] || mkdir gettext; \
9190         r=`${PWD_COMMAND}`; export r; \
9191         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9192         $(HOST_EXPORTS) \
9193         echo Configuring in gettext; \
9194         cd gettext || exit 1; \
9195         case $(srcdir) in \
9196           \.) \
9197             srcdiroption="--srcdir=."; \
9198             libsrcdir=".";; \
9199           /* | [A-Za-z]:[\\/]*) \
9200             srcdiroption="--srcdir=$(srcdir)/gettext"; \
9201             libsrcdir="$$s/gettext";; \
9202           *) \
9203             srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9204             libsrcdir="$$s/gettext";; \
9205         esac; \
9206         $(SHELL) $${libsrcdir}/configure \
9207           $(HOST_CONFIGARGS) $${srcdiroption}  \
9208           || exit 1
9209 @endif gettext
9210
9211 .PHONY: all-gettext maybe-all-gettext
9212 maybe-all-gettext:
9213 @if gettext
9214 maybe-all-gettext: all-gettext
9215 all-gettext: configure-gettext
9216         @r=`${PWD_COMMAND}`; export r; \
9217         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9218         $(SET_LIB_PATH) \
9219         $(HOST_EXPORTS) \
9220         (cd gettext && $(MAKE) $(FLAGS_TO_PASS)  all)
9221 @endif gettext
9222
9223 .PHONY: check-gettext maybe-check-gettext
9224 maybe-check-gettext:
9225 @if gettext
9226 maybe-check-gettext: check-gettext
9227
9228 check-gettext:
9229         @r=`${PWD_COMMAND}`; export r; \
9230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9231         $(SET_LIB_PATH) \
9232         $(HOST_EXPORTS) \
9233         (cd gettext && $(MAKE) $(FLAGS_TO_PASS)  check)
9234
9235 @endif gettext
9236
9237 .PHONY: install-gettext maybe-install-gettext
9238 maybe-install-gettext:
9239 @if gettext
9240 maybe-install-gettext: install-gettext
9241
9242 install-gettext: installdirs
9243         @r=`${PWD_COMMAND}`; export r; \
9244         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9245         $(SET_LIB_PATH) \
9246         $(HOST_EXPORTS) \
9247         (cd gettext && $(MAKE) $(FLAGS_TO_PASS)  install)
9248
9249 @endif gettext
9250
9251 # Other targets (info, dvi, etc.)
9252
9253 .PHONY: maybe-info-gettext info-gettext
9254 maybe-info-gettext:
9255 @if gettext
9256 maybe-info-gettext: info-gettext
9257
9258 info-gettext: \
9259     configure-gettext 
9260         @[ -f ./gettext/Makefile ] || exit 0; \
9261         r=`${PWD_COMMAND}`; export r; \
9262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9263         $(SET_LIB_PATH) \
9264         $(HOST_EXPORTS) \
9265         for flag in $(EXTRA_HOST_FLAGS) ; do \
9266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9267         done; \
9268         echo "Doing info in gettext" ; \
9269         (cd gettext && \
9270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9272                   "RANLIB=$${RANLIB}" \
9273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9274                   info) \
9275           || exit 1
9276
9277 @endif gettext
9278
9279 .PHONY: maybe-dvi-gettext dvi-gettext
9280 maybe-dvi-gettext:
9281 @if gettext
9282 maybe-dvi-gettext: dvi-gettext
9283
9284 dvi-gettext: \
9285     configure-gettext 
9286         @[ -f ./gettext/Makefile ] || exit 0; \
9287         r=`${PWD_COMMAND}`; export r; \
9288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9289         $(SET_LIB_PATH) \
9290         $(HOST_EXPORTS) \
9291         for flag in $(EXTRA_HOST_FLAGS) ; do \
9292           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9293         done; \
9294         echo "Doing dvi in gettext" ; \
9295         (cd gettext && \
9296           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9297                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9298                   "RANLIB=$${RANLIB}" \
9299                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9300                   dvi) \
9301           || exit 1
9302
9303 @endif gettext
9304
9305 .PHONY: maybe-TAGS-gettext TAGS-gettext
9306 maybe-TAGS-gettext:
9307 @if gettext
9308 maybe-TAGS-gettext: TAGS-gettext
9309
9310 TAGS-gettext: \
9311     configure-gettext 
9312         @[ -f ./gettext/Makefile ] || exit 0; \
9313         r=`${PWD_COMMAND}`; export r; \
9314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9315         $(SET_LIB_PATH) \
9316         $(HOST_EXPORTS) \
9317         for flag in $(EXTRA_HOST_FLAGS) ; do \
9318           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9319         done; \
9320         echo "Doing TAGS in gettext" ; \
9321         (cd gettext && \
9322           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9323                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9324                   "RANLIB=$${RANLIB}" \
9325                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9326                   TAGS) \
9327           || exit 1
9328
9329 @endif gettext
9330
9331 .PHONY: maybe-install-info-gettext install-info-gettext
9332 maybe-install-info-gettext:
9333 @if gettext
9334 maybe-install-info-gettext: install-info-gettext
9335
9336 install-info-gettext: \
9337     configure-gettext \
9338     info-gettext 
9339         @[ -f ./gettext/Makefile ] || exit 0; \
9340         r=`${PWD_COMMAND}`; export r; \
9341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9342         $(SET_LIB_PATH) \
9343         $(HOST_EXPORTS) \
9344         for flag in $(EXTRA_HOST_FLAGS) ; do \
9345           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9346         done; \
9347         echo "Doing install-info in gettext" ; \
9348         (cd gettext && \
9349           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9350                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9351                   "RANLIB=$${RANLIB}" \
9352                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9353                   install-info) \
9354           || exit 1
9355
9356 @endif gettext
9357
9358 .PHONY: maybe-installcheck-gettext installcheck-gettext
9359 maybe-installcheck-gettext:
9360 @if gettext
9361 maybe-installcheck-gettext: installcheck-gettext
9362
9363 installcheck-gettext: \
9364     configure-gettext 
9365         @[ -f ./gettext/Makefile ] || exit 0; \
9366         r=`${PWD_COMMAND}`; export r; \
9367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9368         $(SET_LIB_PATH) \
9369         $(HOST_EXPORTS) \
9370         for flag in $(EXTRA_HOST_FLAGS) ; do \
9371           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9372         done; \
9373         echo "Doing installcheck in gettext" ; \
9374         (cd gettext && \
9375           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9376                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9377                   "RANLIB=$${RANLIB}" \
9378                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9379                   installcheck) \
9380           || exit 1
9381
9382 @endif gettext
9383
9384 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9385 maybe-mostlyclean-gettext:
9386 @if gettext
9387 maybe-mostlyclean-gettext: mostlyclean-gettext
9388
9389 mostlyclean-gettext: 
9390         @[ -f ./gettext/Makefile ] || exit 0; \
9391         r=`${PWD_COMMAND}`; export r; \
9392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9393         $(SET_LIB_PATH) \
9394         $(HOST_EXPORTS) \
9395         for flag in $(EXTRA_HOST_FLAGS) ; do \
9396           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9397         done; \
9398         echo "Doing mostlyclean in gettext" ; \
9399         (cd gettext && \
9400           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9401                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9402                   "RANLIB=$${RANLIB}" \
9403                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9404                   mostlyclean) \
9405           || exit 1
9406
9407 @endif gettext
9408
9409 .PHONY: maybe-clean-gettext clean-gettext
9410 maybe-clean-gettext:
9411 @if gettext
9412 maybe-clean-gettext: clean-gettext
9413
9414 clean-gettext: 
9415         @[ -f ./gettext/Makefile ] || exit 0; \
9416         r=`${PWD_COMMAND}`; export r; \
9417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9418         $(SET_LIB_PATH) \
9419         $(HOST_EXPORTS) \
9420         for flag in $(EXTRA_HOST_FLAGS) ; do \
9421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9422         done; \
9423         echo "Doing clean in gettext" ; \
9424         (cd gettext && \
9425           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9426                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9427                   "RANLIB=$${RANLIB}" \
9428                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9429                   clean) \
9430           || exit 1
9431
9432 @endif gettext
9433
9434 .PHONY: maybe-distclean-gettext distclean-gettext
9435 maybe-distclean-gettext:
9436 @if gettext
9437 maybe-distclean-gettext: distclean-gettext
9438
9439 distclean-gettext: 
9440         @[ -f ./gettext/Makefile ] || exit 0; \
9441         r=`${PWD_COMMAND}`; export r; \
9442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9443         $(SET_LIB_PATH) \
9444         $(HOST_EXPORTS) \
9445         for flag in $(EXTRA_HOST_FLAGS) ; do \
9446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9447         done; \
9448         echo "Doing distclean in gettext" ; \
9449         (cd gettext && \
9450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9452                   "RANLIB=$${RANLIB}" \
9453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9454                   distclean) \
9455           || exit 1
9456
9457 @endif gettext
9458
9459 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9460 maybe-maintainer-clean-gettext:
9461 @if gettext
9462 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9463
9464 maintainer-clean-gettext: 
9465         @[ -f ./gettext/Makefile ] || exit 0; \
9466         r=`${PWD_COMMAND}`; export r; \
9467         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9468         $(SET_LIB_PATH) \
9469         $(HOST_EXPORTS) \
9470         for flag in $(EXTRA_HOST_FLAGS) ; do \
9471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9472         done; \
9473         echo "Doing maintainer-clean in gettext" ; \
9474         (cd gettext && \
9475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9477                   "RANLIB=$${RANLIB}" \
9478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9479                   maintainer-clean) \
9480           || exit 1
9481
9482 @endif gettext
9483
9484
9485 .PHONY: configure-gnuserv maybe-configure-gnuserv
9486 maybe-configure-gnuserv:
9487 @if gnuserv
9488 maybe-configure-gnuserv: configure-gnuserv
9489 configure-gnuserv:
9490         @test ! -f gnuserv/Makefile || exit 0; \
9491         [ -d gnuserv ] || mkdir gnuserv; \
9492         r=`${PWD_COMMAND}`; export r; \
9493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9494         $(HOST_EXPORTS) \
9495         echo Configuring in gnuserv; \
9496         cd gnuserv || exit 1; \
9497         case $(srcdir) in \
9498           \.) \
9499             srcdiroption="--srcdir=."; \
9500             libsrcdir=".";; \
9501           /* | [A-Za-z]:[\\/]*) \
9502             srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9503             libsrcdir="$$s/gnuserv";; \
9504           *) \
9505             srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9506             libsrcdir="$$s/gnuserv";; \
9507         esac; \
9508         $(SHELL) $${libsrcdir}/configure \
9509           $(HOST_CONFIGARGS) $${srcdiroption}  \
9510           || exit 1
9511 @endif gnuserv
9512
9513 .PHONY: all-gnuserv maybe-all-gnuserv
9514 maybe-all-gnuserv:
9515 @if gnuserv
9516 maybe-all-gnuserv: all-gnuserv
9517 all-gnuserv: configure-gnuserv
9518         @r=`${PWD_COMMAND}`; export r; \
9519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9520         $(SET_LIB_PATH) \
9521         $(HOST_EXPORTS) \
9522         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS)  all)
9523 @endif gnuserv
9524
9525 .PHONY: check-gnuserv maybe-check-gnuserv
9526 maybe-check-gnuserv:
9527 @if gnuserv
9528 maybe-check-gnuserv: check-gnuserv
9529
9530 check-gnuserv:
9531         @r=`${PWD_COMMAND}`; export r; \
9532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533         $(SET_LIB_PATH) \
9534         $(HOST_EXPORTS) \
9535         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS)  check)
9536
9537 @endif gnuserv
9538
9539 .PHONY: install-gnuserv maybe-install-gnuserv
9540 maybe-install-gnuserv:
9541 @if gnuserv
9542 maybe-install-gnuserv: install-gnuserv
9543
9544 install-gnuserv: installdirs
9545         @r=`${PWD_COMMAND}`; export r; \
9546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9547         $(SET_LIB_PATH) \
9548         $(HOST_EXPORTS) \
9549         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS)  install)
9550
9551 @endif gnuserv
9552
9553 # Other targets (info, dvi, etc.)
9554
9555 .PHONY: maybe-info-gnuserv info-gnuserv
9556 maybe-info-gnuserv:
9557 @if gnuserv
9558 maybe-info-gnuserv: info-gnuserv
9559
9560 info-gnuserv: \
9561     configure-gnuserv 
9562         @[ -f ./gnuserv/Makefile ] || exit 0; \
9563         r=`${PWD_COMMAND}`; export r; \
9564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9565         $(SET_LIB_PATH) \
9566         $(HOST_EXPORTS) \
9567         for flag in $(EXTRA_HOST_FLAGS) ; do \
9568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9569         done; \
9570         echo "Doing info in gnuserv" ; \
9571         (cd gnuserv && \
9572           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574                   "RANLIB=$${RANLIB}" \
9575                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9576                   info) \
9577           || exit 1
9578
9579 @endif gnuserv
9580
9581 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9582 maybe-dvi-gnuserv:
9583 @if gnuserv
9584 maybe-dvi-gnuserv: dvi-gnuserv
9585
9586 dvi-gnuserv: \
9587     configure-gnuserv 
9588         @[ -f ./gnuserv/Makefile ] || exit 0; \
9589         r=`${PWD_COMMAND}`; export r; \
9590         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9591         $(SET_LIB_PATH) \
9592         $(HOST_EXPORTS) \
9593         for flag in $(EXTRA_HOST_FLAGS) ; do \
9594           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595         done; \
9596         echo "Doing dvi in gnuserv" ; \
9597         (cd gnuserv && \
9598           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600                   "RANLIB=$${RANLIB}" \
9601                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9602                   dvi) \
9603           || exit 1
9604
9605 @endif gnuserv
9606
9607 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9608 maybe-TAGS-gnuserv:
9609 @if gnuserv
9610 maybe-TAGS-gnuserv: TAGS-gnuserv
9611
9612 TAGS-gnuserv: \
9613     configure-gnuserv 
9614         @[ -f ./gnuserv/Makefile ] || exit 0; \
9615         r=`${PWD_COMMAND}`; export r; \
9616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617         $(SET_LIB_PATH) \
9618         $(HOST_EXPORTS) \
9619         for flag in $(EXTRA_HOST_FLAGS) ; do \
9620           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9621         done; \
9622         echo "Doing TAGS in gnuserv" ; \
9623         (cd gnuserv && \
9624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9626                   "RANLIB=$${RANLIB}" \
9627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9628                   TAGS) \
9629           || exit 1
9630
9631 @endif gnuserv
9632
9633 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9634 maybe-install-info-gnuserv:
9635 @if gnuserv
9636 maybe-install-info-gnuserv: install-info-gnuserv
9637
9638 install-info-gnuserv: \
9639     configure-gnuserv \
9640     info-gnuserv 
9641         @[ -f ./gnuserv/Makefile ] || exit 0; \
9642         r=`${PWD_COMMAND}`; export r; \
9643         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644         $(SET_LIB_PATH) \
9645         $(HOST_EXPORTS) \
9646         for flag in $(EXTRA_HOST_FLAGS) ; do \
9647           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9648         done; \
9649         echo "Doing install-info in gnuserv" ; \
9650         (cd gnuserv && \
9651           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9652                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9653                   "RANLIB=$${RANLIB}" \
9654                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9655                   install-info) \
9656           || exit 1
9657
9658 @endif gnuserv
9659
9660 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9661 maybe-installcheck-gnuserv:
9662 @if gnuserv
9663 maybe-installcheck-gnuserv: installcheck-gnuserv
9664
9665 installcheck-gnuserv: \
9666     configure-gnuserv 
9667         @[ -f ./gnuserv/Makefile ] || exit 0; \
9668         r=`${PWD_COMMAND}`; export r; \
9669         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9670         $(SET_LIB_PATH) \
9671         $(HOST_EXPORTS) \
9672         for flag in $(EXTRA_HOST_FLAGS) ; do \
9673           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9674         done; \
9675         echo "Doing installcheck in gnuserv" ; \
9676         (cd gnuserv && \
9677           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9678                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9679                   "RANLIB=$${RANLIB}" \
9680                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9681                   installcheck) \
9682           || exit 1
9683
9684 @endif gnuserv
9685
9686 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9687 maybe-mostlyclean-gnuserv:
9688 @if gnuserv
9689 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9690
9691 mostlyclean-gnuserv: 
9692         @[ -f ./gnuserv/Makefile ] || exit 0; \
9693         r=`${PWD_COMMAND}`; export r; \
9694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9695         $(SET_LIB_PATH) \
9696         $(HOST_EXPORTS) \
9697         for flag in $(EXTRA_HOST_FLAGS) ; do \
9698           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9699         done; \
9700         echo "Doing mostlyclean in gnuserv" ; \
9701         (cd gnuserv && \
9702           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9703                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9704                   "RANLIB=$${RANLIB}" \
9705                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9706                   mostlyclean) \
9707           || exit 1
9708
9709 @endif gnuserv
9710
9711 .PHONY: maybe-clean-gnuserv clean-gnuserv
9712 maybe-clean-gnuserv:
9713 @if gnuserv
9714 maybe-clean-gnuserv: clean-gnuserv
9715
9716 clean-gnuserv: 
9717         @[ -f ./gnuserv/Makefile ] || exit 0; \
9718         r=`${PWD_COMMAND}`; export r; \
9719         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9720         $(SET_LIB_PATH) \
9721         $(HOST_EXPORTS) \
9722         for flag in $(EXTRA_HOST_FLAGS) ; do \
9723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9724         done; \
9725         echo "Doing clean in gnuserv" ; \
9726         (cd gnuserv && \
9727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9729                   "RANLIB=$${RANLIB}" \
9730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9731                   clean) \
9732           || exit 1
9733
9734 @endif gnuserv
9735
9736 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9737 maybe-distclean-gnuserv:
9738 @if gnuserv
9739 maybe-distclean-gnuserv: distclean-gnuserv
9740
9741 distclean-gnuserv: 
9742         @[ -f ./gnuserv/Makefile ] || exit 0; \
9743         r=`${PWD_COMMAND}`; export r; \
9744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9745         $(SET_LIB_PATH) \
9746         $(HOST_EXPORTS) \
9747         for flag in $(EXTRA_HOST_FLAGS) ; do \
9748           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9749         done; \
9750         echo "Doing distclean in gnuserv" ; \
9751         (cd gnuserv && \
9752           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9753                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9754                   "RANLIB=$${RANLIB}" \
9755                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9756                   distclean) \
9757           || exit 1
9758
9759 @endif gnuserv
9760
9761 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9762 maybe-maintainer-clean-gnuserv:
9763 @if gnuserv
9764 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9765
9766 maintainer-clean-gnuserv: 
9767         @[ -f ./gnuserv/Makefile ] || exit 0; \
9768         r=`${PWD_COMMAND}`; export r; \
9769         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9770         $(SET_LIB_PATH) \
9771         $(HOST_EXPORTS) \
9772         for flag in $(EXTRA_HOST_FLAGS) ; do \
9773           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9774         done; \
9775         echo "Doing maintainer-clean in gnuserv" ; \
9776         (cd gnuserv && \
9777           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9778                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9779                   "RANLIB=$${RANLIB}" \
9780                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9781                   maintainer-clean) \
9782           || exit 1
9783
9784 @endif gnuserv
9785
9786
9787 .PHONY: configure-gprof maybe-configure-gprof
9788 maybe-configure-gprof:
9789 @if gprof
9790 maybe-configure-gprof: configure-gprof
9791 configure-gprof:
9792         @test ! -f gprof/Makefile || exit 0; \
9793         [ -d gprof ] || mkdir gprof; \
9794         r=`${PWD_COMMAND}`; export r; \
9795         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9796         $(HOST_EXPORTS) \
9797         echo Configuring in gprof; \
9798         cd gprof || exit 1; \
9799         case $(srcdir) in \
9800           \.) \
9801             srcdiroption="--srcdir=."; \
9802             libsrcdir=".";; \
9803           /* | [A-Za-z]:[\\/]*) \
9804             srcdiroption="--srcdir=$(srcdir)/gprof"; \
9805             libsrcdir="$$s/gprof";; \
9806           *) \
9807             srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9808             libsrcdir="$$s/gprof";; \
9809         esac; \
9810         $(SHELL) $${libsrcdir}/configure \
9811           $(HOST_CONFIGARGS) $${srcdiroption}  \
9812           || exit 1
9813 @endif gprof
9814
9815 .PHONY: all-gprof maybe-all-gprof
9816 maybe-all-gprof:
9817 @if gprof
9818 maybe-all-gprof: all-gprof
9819 all-gprof: configure-gprof
9820         @r=`${PWD_COMMAND}`; export r; \
9821         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9822         $(SET_LIB_PATH) \
9823         $(HOST_EXPORTS) \
9824         (cd gprof && $(MAKE) $(FLAGS_TO_PASS)  all)
9825 @endif gprof
9826
9827 .PHONY: check-gprof maybe-check-gprof
9828 maybe-check-gprof:
9829 @if gprof
9830 maybe-check-gprof: check-gprof
9831
9832 check-gprof:
9833         @r=`${PWD_COMMAND}`; export r; \
9834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835         $(SET_LIB_PATH) \
9836         $(HOST_EXPORTS) \
9837         (cd gprof && $(MAKE) $(FLAGS_TO_PASS)  check)
9838
9839 @endif gprof
9840
9841 .PHONY: install-gprof maybe-install-gprof
9842 maybe-install-gprof:
9843 @if gprof
9844 maybe-install-gprof: install-gprof
9845
9846 install-gprof: installdirs
9847         @r=`${PWD_COMMAND}`; export r; \
9848         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9849         $(SET_LIB_PATH) \
9850         $(HOST_EXPORTS) \
9851         (cd gprof && $(MAKE) $(FLAGS_TO_PASS)  install)
9852
9853 @endif gprof
9854
9855 # Other targets (info, dvi, etc.)
9856
9857 .PHONY: maybe-info-gprof info-gprof
9858 maybe-info-gprof:
9859 @if gprof
9860 maybe-info-gprof: info-gprof
9861
9862 info-gprof: \
9863     configure-gprof 
9864         @[ -f ./gprof/Makefile ] || exit 0; \
9865         r=`${PWD_COMMAND}`; export r; \
9866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9867         $(SET_LIB_PATH) \
9868         $(HOST_EXPORTS) \
9869         for flag in $(EXTRA_HOST_FLAGS) ; do \
9870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9871         done; \
9872         echo "Doing info in gprof" ; \
9873         (cd gprof && \
9874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9876                   "RANLIB=$${RANLIB}" \
9877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9878                   info) \
9879           || exit 1
9880
9881 @endif gprof
9882
9883 .PHONY: maybe-dvi-gprof dvi-gprof
9884 maybe-dvi-gprof:
9885 @if gprof
9886 maybe-dvi-gprof: dvi-gprof
9887
9888 dvi-gprof: \
9889     configure-gprof 
9890         @[ -f ./gprof/Makefile ] || exit 0; \
9891         r=`${PWD_COMMAND}`; export r; \
9892         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9893         $(SET_LIB_PATH) \
9894         $(HOST_EXPORTS) \
9895         for flag in $(EXTRA_HOST_FLAGS) ; do \
9896           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9897         done; \
9898         echo "Doing dvi in gprof" ; \
9899         (cd gprof && \
9900           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9901                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9902                   "RANLIB=$${RANLIB}" \
9903                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9904                   dvi) \
9905           || exit 1
9906
9907 @endif gprof
9908
9909 .PHONY: maybe-TAGS-gprof TAGS-gprof
9910 maybe-TAGS-gprof:
9911 @if gprof
9912 maybe-TAGS-gprof: TAGS-gprof
9913
9914 TAGS-gprof: \
9915     configure-gprof 
9916         @[ -f ./gprof/Makefile ] || exit 0; \
9917         r=`${PWD_COMMAND}`; export r; \
9918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9919         $(SET_LIB_PATH) \
9920         $(HOST_EXPORTS) \
9921         for flag in $(EXTRA_HOST_FLAGS) ; do \
9922           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9923         done; \
9924         echo "Doing TAGS in gprof" ; \
9925         (cd gprof && \
9926           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9927                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9928                   "RANLIB=$${RANLIB}" \
9929                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9930                   TAGS) \
9931           || exit 1
9932
9933 @endif gprof
9934
9935 .PHONY: maybe-install-info-gprof install-info-gprof
9936 maybe-install-info-gprof:
9937 @if gprof
9938 maybe-install-info-gprof: install-info-gprof
9939
9940 install-info-gprof: \
9941     configure-gprof \
9942     info-gprof 
9943         @[ -f ./gprof/Makefile ] || exit 0; \
9944         r=`${PWD_COMMAND}`; export r; \
9945         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9946         $(SET_LIB_PATH) \
9947         $(HOST_EXPORTS) \
9948         for flag in $(EXTRA_HOST_FLAGS) ; do \
9949           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9950         done; \
9951         echo "Doing install-info in gprof" ; \
9952         (cd gprof && \
9953           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9954                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9955                   "RANLIB=$${RANLIB}" \
9956                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9957                   install-info) \
9958           || exit 1
9959
9960 @endif gprof
9961
9962 .PHONY: maybe-installcheck-gprof installcheck-gprof
9963 maybe-installcheck-gprof:
9964 @if gprof
9965 maybe-installcheck-gprof: installcheck-gprof
9966
9967 installcheck-gprof: \
9968     configure-gprof 
9969         @[ -f ./gprof/Makefile ] || exit 0; \
9970         r=`${PWD_COMMAND}`; export r; \
9971         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9972         $(SET_LIB_PATH) \
9973         $(HOST_EXPORTS) \
9974         for flag in $(EXTRA_HOST_FLAGS) ; do \
9975           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9976         done; \
9977         echo "Doing installcheck in gprof" ; \
9978         (cd gprof && \
9979           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9980                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9981                   "RANLIB=$${RANLIB}" \
9982                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9983                   installcheck) \
9984           || exit 1
9985
9986 @endif gprof
9987
9988 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9989 maybe-mostlyclean-gprof:
9990 @if gprof
9991 maybe-mostlyclean-gprof: mostlyclean-gprof
9992
9993 mostlyclean-gprof: 
9994         @[ -f ./gprof/Makefile ] || exit 0; \
9995         r=`${PWD_COMMAND}`; export r; \
9996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9997         $(SET_LIB_PATH) \
9998         $(HOST_EXPORTS) \
9999         for flag in $(EXTRA_HOST_FLAGS) ; do \
10000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10001         done; \
10002         echo "Doing mostlyclean in gprof" ; \
10003         (cd gprof && \
10004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10006                   "RANLIB=$${RANLIB}" \
10007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10008                   mostlyclean) \
10009           || exit 1
10010
10011 @endif gprof
10012
10013 .PHONY: maybe-clean-gprof clean-gprof
10014 maybe-clean-gprof:
10015 @if gprof
10016 maybe-clean-gprof: clean-gprof
10017
10018 clean-gprof: 
10019         @[ -f ./gprof/Makefile ] || exit 0; \
10020         r=`${PWD_COMMAND}`; export r; \
10021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10022         $(SET_LIB_PATH) \
10023         $(HOST_EXPORTS) \
10024         for flag in $(EXTRA_HOST_FLAGS) ; do \
10025           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10026         done; \
10027         echo "Doing clean in gprof" ; \
10028         (cd gprof && \
10029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10031                   "RANLIB=$${RANLIB}" \
10032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10033                   clean) \
10034           || exit 1
10035
10036 @endif gprof
10037
10038 .PHONY: maybe-distclean-gprof distclean-gprof
10039 maybe-distclean-gprof:
10040 @if gprof
10041 maybe-distclean-gprof: distclean-gprof
10042
10043 distclean-gprof: 
10044         @[ -f ./gprof/Makefile ] || exit 0; \
10045         r=`${PWD_COMMAND}`; export r; \
10046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10047         $(SET_LIB_PATH) \
10048         $(HOST_EXPORTS) \
10049         for flag in $(EXTRA_HOST_FLAGS) ; do \
10050           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10051         done; \
10052         echo "Doing distclean in gprof" ; \
10053         (cd gprof && \
10054           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10055                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10056                   "RANLIB=$${RANLIB}" \
10057                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10058                   distclean) \
10059           || exit 1
10060
10061 @endif gprof
10062
10063 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10064 maybe-maintainer-clean-gprof:
10065 @if gprof
10066 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10067
10068 maintainer-clean-gprof: 
10069         @[ -f ./gprof/Makefile ] || exit 0; \
10070         r=`${PWD_COMMAND}`; export r; \
10071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10072         $(SET_LIB_PATH) \
10073         $(HOST_EXPORTS) \
10074         for flag in $(EXTRA_HOST_FLAGS) ; do \
10075           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10076         done; \
10077         echo "Doing maintainer-clean in gprof" ; \
10078         (cd gprof && \
10079           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10080                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10081                   "RANLIB=$${RANLIB}" \
10082                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10083                   maintainer-clean) \
10084           || exit 1
10085
10086 @endif gprof
10087
10088
10089 .PHONY: configure-gzip maybe-configure-gzip
10090 maybe-configure-gzip:
10091 @if gzip
10092 maybe-configure-gzip: configure-gzip
10093 configure-gzip:
10094         @test ! -f gzip/Makefile || exit 0; \
10095         [ -d gzip ] || mkdir gzip; \
10096         r=`${PWD_COMMAND}`; export r; \
10097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10098         $(HOST_EXPORTS) \
10099         echo Configuring in gzip; \
10100         cd gzip || exit 1; \
10101         case $(srcdir) in \
10102           \.) \
10103             srcdiroption="--srcdir=."; \
10104             libsrcdir=".";; \
10105           /* | [A-Za-z]:[\\/]*) \
10106             srcdiroption="--srcdir=$(srcdir)/gzip"; \
10107             libsrcdir="$$s/gzip";; \
10108           *) \
10109             srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10110             libsrcdir="$$s/gzip";; \
10111         esac; \
10112         $(SHELL) $${libsrcdir}/configure \
10113           $(HOST_CONFIGARGS) $${srcdiroption}  \
10114           || exit 1
10115 @endif gzip
10116
10117 .PHONY: all-gzip maybe-all-gzip
10118 maybe-all-gzip:
10119 @if gzip
10120 maybe-all-gzip: all-gzip
10121 all-gzip: configure-gzip
10122         @r=`${PWD_COMMAND}`; export r; \
10123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10124         $(SET_LIB_PATH) \
10125         $(HOST_EXPORTS) \
10126         (cd gzip && $(MAKE) $(FLAGS_TO_PASS)  all)
10127 @endif gzip
10128
10129 .PHONY: check-gzip maybe-check-gzip
10130 maybe-check-gzip:
10131 @if gzip
10132 maybe-check-gzip: check-gzip
10133
10134 check-gzip:
10135         @r=`${PWD_COMMAND}`; export r; \
10136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10137         $(SET_LIB_PATH) \
10138         $(HOST_EXPORTS) \
10139         (cd gzip && $(MAKE) $(FLAGS_TO_PASS)  check)
10140
10141 @endif gzip
10142
10143 .PHONY: install-gzip maybe-install-gzip
10144 maybe-install-gzip:
10145 @if gzip
10146 maybe-install-gzip: install-gzip
10147
10148 install-gzip: installdirs
10149         @r=`${PWD_COMMAND}`; export r; \
10150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10151         $(SET_LIB_PATH) \
10152         $(HOST_EXPORTS) \
10153         (cd gzip && $(MAKE) $(FLAGS_TO_PASS)  install)
10154
10155 @endif gzip
10156
10157 # Other targets (info, dvi, etc.)
10158
10159 .PHONY: maybe-info-gzip info-gzip
10160 maybe-info-gzip:
10161 @if gzip
10162 maybe-info-gzip: info-gzip
10163
10164 info-gzip: \
10165     configure-gzip 
10166         @[ -f ./gzip/Makefile ] || exit 0; \
10167         r=`${PWD_COMMAND}`; export r; \
10168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10169         $(SET_LIB_PATH) \
10170         $(HOST_EXPORTS) \
10171         for flag in $(EXTRA_HOST_FLAGS) ; do \
10172           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10173         done; \
10174         echo "Doing info in gzip" ; \
10175         (cd gzip && \
10176           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10177                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10178                   "RANLIB=$${RANLIB}" \
10179                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10180                   info) \
10181           || exit 1
10182
10183 @endif gzip
10184
10185 .PHONY: maybe-dvi-gzip dvi-gzip
10186 maybe-dvi-gzip:
10187 @if gzip
10188 maybe-dvi-gzip: dvi-gzip
10189
10190 dvi-gzip: \
10191     configure-gzip 
10192         @[ -f ./gzip/Makefile ] || exit 0; \
10193         r=`${PWD_COMMAND}`; export r; \
10194         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10195         $(SET_LIB_PATH) \
10196         $(HOST_EXPORTS) \
10197         for flag in $(EXTRA_HOST_FLAGS) ; do \
10198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10199         done; \
10200         echo "Doing dvi in gzip" ; \
10201         (cd gzip && \
10202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10204                   "RANLIB=$${RANLIB}" \
10205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10206                   dvi) \
10207           || exit 1
10208
10209 @endif gzip
10210
10211 .PHONY: maybe-TAGS-gzip TAGS-gzip
10212 maybe-TAGS-gzip:
10213 @if gzip
10214 maybe-TAGS-gzip: TAGS-gzip
10215
10216 TAGS-gzip: \
10217     configure-gzip 
10218         @[ -f ./gzip/Makefile ] || exit 0; \
10219         r=`${PWD_COMMAND}`; export r; \
10220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10221         $(SET_LIB_PATH) \
10222         $(HOST_EXPORTS) \
10223         for flag in $(EXTRA_HOST_FLAGS) ; do \
10224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10225         done; \
10226         echo "Doing TAGS in gzip" ; \
10227         (cd gzip && \
10228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230                   "RANLIB=$${RANLIB}" \
10231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10232                   TAGS) \
10233           || exit 1
10234
10235 @endif gzip
10236
10237 .PHONY: maybe-install-info-gzip install-info-gzip
10238 maybe-install-info-gzip:
10239 @if gzip
10240 maybe-install-info-gzip: install-info-gzip
10241
10242 install-info-gzip: \
10243     configure-gzip \
10244     info-gzip 
10245         @[ -f ./gzip/Makefile ] || exit 0; \
10246         r=`${PWD_COMMAND}`; export r; \
10247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10248         $(SET_LIB_PATH) \
10249         $(HOST_EXPORTS) \
10250         for flag in $(EXTRA_HOST_FLAGS) ; do \
10251           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10252         done; \
10253         echo "Doing install-info in gzip" ; \
10254         (cd gzip && \
10255           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10256                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10257                   "RANLIB=$${RANLIB}" \
10258                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10259                   install-info) \
10260           || exit 1
10261
10262 @endif gzip
10263
10264 .PHONY: maybe-installcheck-gzip installcheck-gzip
10265 maybe-installcheck-gzip:
10266 @if gzip
10267 maybe-installcheck-gzip: installcheck-gzip
10268
10269 installcheck-gzip: \
10270     configure-gzip 
10271         @[ -f ./gzip/Makefile ] || exit 0; \
10272         r=`${PWD_COMMAND}`; export r; \
10273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274         $(SET_LIB_PATH) \
10275         $(HOST_EXPORTS) \
10276         for flag in $(EXTRA_HOST_FLAGS) ; do \
10277           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10278         done; \
10279         echo "Doing installcheck in gzip" ; \
10280         (cd gzip && \
10281           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10282                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10283                   "RANLIB=$${RANLIB}" \
10284                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10285                   installcheck) \
10286           || exit 1
10287
10288 @endif gzip
10289
10290 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10291 maybe-mostlyclean-gzip:
10292 @if gzip
10293 maybe-mostlyclean-gzip: mostlyclean-gzip
10294
10295 mostlyclean-gzip: 
10296         @[ -f ./gzip/Makefile ] || exit 0; \
10297         r=`${PWD_COMMAND}`; export r; \
10298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10299         $(SET_LIB_PATH) \
10300         $(HOST_EXPORTS) \
10301         for flag in $(EXTRA_HOST_FLAGS) ; do \
10302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10303         done; \
10304         echo "Doing mostlyclean in gzip" ; \
10305         (cd gzip && \
10306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10308                   "RANLIB=$${RANLIB}" \
10309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10310                   mostlyclean) \
10311           || exit 1
10312
10313 @endif gzip
10314
10315 .PHONY: maybe-clean-gzip clean-gzip
10316 maybe-clean-gzip:
10317 @if gzip
10318 maybe-clean-gzip: clean-gzip
10319
10320 clean-gzip: 
10321         @[ -f ./gzip/Makefile ] || exit 0; \
10322         r=`${PWD_COMMAND}`; export r; \
10323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10324         $(SET_LIB_PATH) \
10325         $(HOST_EXPORTS) \
10326         for flag in $(EXTRA_HOST_FLAGS) ; do \
10327           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10328         done; \
10329         echo "Doing clean in gzip" ; \
10330         (cd gzip && \
10331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10333                   "RANLIB=$${RANLIB}" \
10334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10335                   clean) \
10336           || exit 1
10337
10338 @endif gzip
10339
10340 .PHONY: maybe-distclean-gzip distclean-gzip
10341 maybe-distclean-gzip:
10342 @if gzip
10343 maybe-distclean-gzip: distclean-gzip
10344
10345 distclean-gzip: 
10346         @[ -f ./gzip/Makefile ] || exit 0; \
10347         r=`${PWD_COMMAND}`; export r; \
10348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10349         $(SET_LIB_PATH) \
10350         $(HOST_EXPORTS) \
10351         for flag in $(EXTRA_HOST_FLAGS) ; do \
10352           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10353         done; \
10354         echo "Doing distclean in gzip" ; \
10355         (cd gzip && \
10356           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10357                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10358                   "RANLIB=$${RANLIB}" \
10359                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10360                   distclean) \
10361           || exit 1
10362
10363 @endif gzip
10364
10365 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10366 maybe-maintainer-clean-gzip:
10367 @if gzip
10368 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10369
10370 maintainer-clean-gzip: 
10371         @[ -f ./gzip/Makefile ] || exit 0; \
10372         r=`${PWD_COMMAND}`; export r; \
10373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10374         $(SET_LIB_PATH) \
10375         $(HOST_EXPORTS) \
10376         for flag in $(EXTRA_HOST_FLAGS) ; do \
10377           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10378         done; \
10379         echo "Doing maintainer-clean in gzip" ; \
10380         (cd gzip && \
10381           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10382                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10383                   "RANLIB=$${RANLIB}" \
10384                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10385                   maintainer-clean) \
10386           || exit 1
10387
10388 @endif gzip
10389
10390
10391 .PHONY: configure-hello maybe-configure-hello
10392 maybe-configure-hello:
10393 @if hello
10394 maybe-configure-hello: configure-hello
10395 configure-hello:
10396         @test ! -f hello/Makefile || exit 0; \
10397         [ -d hello ] || mkdir hello; \
10398         r=`${PWD_COMMAND}`; export r; \
10399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10400         $(HOST_EXPORTS) \
10401         echo Configuring in hello; \
10402         cd hello || exit 1; \
10403         case $(srcdir) in \
10404           \.) \
10405             srcdiroption="--srcdir=."; \
10406             libsrcdir=".";; \
10407           /* | [A-Za-z]:[\\/]*) \
10408             srcdiroption="--srcdir=$(srcdir)/hello"; \
10409             libsrcdir="$$s/hello";; \
10410           *) \
10411             srcdiroption="--srcdir=../$(srcdir)/hello"; \
10412             libsrcdir="$$s/hello";; \
10413         esac; \
10414         $(SHELL) $${libsrcdir}/configure \
10415           $(HOST_CONFIGARGS) $${srcdiroption}  \
10416           || exit 1
10417 @endif hello
10418
10419 .PHONY: all-hello maybe-all-hello
10420 maybe-all-hello:
10421 @if hello
10422 maybe-all-hello: all-hello
10423 all-hello: configure-hello
10424         @r=`${PWD_COMMAND}`; export r; \
10425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10426         $(SET_LIB_PATH) \
10427         $(HOST_EXPORTS) \
10428         (cd hello && $(MAKE) $(FLAGS_TO_PASS)  all)
10429 @endif hello
10430
10431 .PHONY: check-hello maybe-check-hello
10432 maybe-check-hello:
10433 @if hello
10434 maybe-check-hello: check-hello
10435
10436 check-hello:
10437         @r=`${PWD_COMMAND}`; export r; \
10438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10439         $(SET_LIB_PATH) \
10440         $(HOST_EXPORTS) \
10441         (cd hello && $(MAKE) $(FLAGS_TO_PASS)  check)
10442
10443 @endif hello
10444
10445 .PHONY: install-hello maybe-install-hello
10446 maybe-install-hello:
10447 @if hello
10448 maybe-install-hello: install-hello
10449
10450 install-hello: installdirs
10451         @r=`${PWD_COMMAND}`; export r; \
10452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10453         $(SET_LIB_PATH) \
10454         $(HOST_EXPORTS) \
10455         (cd hello && $(MAKE) $(FLAGS_TO_PASS)  install)
10456
10457 @endif hello
10458
10459 # Other targets (info, dvi, etc.)
10460
10461 .PHONY: maybe-info-hello info-hello
10462 maybe-info-hello:
10463 @if hello
10464 maybe-info-hello: info-hello
10465
10466 info-hello: \
10467     configure-hello 
10468         @[ -f ./hello/Makefile ] || exit 0; \
10469         r=`${PWD_COMMAND}`; export r; \
10470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10471         $(SET_LIB_PATH) \
10472         $(HOST_EXPORTS) \
10473         for flag in $(EXTRA_HOST_FLAGS) ; do \
10474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10475         done; \
10476         echo "Doing info in hello" ; \
10477         (cd hello && \
10478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10480                   "RANLIB=$${RANLIB}" \
10481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10482                   info) \
10483           || exit 1
10484
10485 @endif hello
10486
10487 .PHONY: maybe-dvi-hello dvi-hello
10488 maybe-dvi-hello:
10489 @if hello
10490 maybe-dvi-hello: dvi-hello
10491
10492 dvi-hello: \
10493     configure-hello 
10494         @[ -f ./hello/Makefile ] || exit 0; \
10495         r=`${PWD_COMMAND}`; export r; \
10496         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10497         $(SET_LIB_PATH) \
10498         $(HOST_EXPORTS) \
10499         for flag in $(EXTRA_HOST_FLAGS) ; do \
10500           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10501         done; \
10502         echo "Doing dvi in hello" ; \
10503         (cd hello && \
10504           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10505                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10506                   "RANLIB=$${RANLIB}" \
10507                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10508                   dvi) \
10509           || exit 1
10510
10511 @endif hello
10512
10513 .PHONY: maybe-TAGS-hello TAGS-hello
10514 maybe-TAGS-hello:
10515 @if hello
10516 maybe-TAGS-hello: TAGS-hello
10517
10518 TAGS-hello: \
10519     configure-hello 
10520         @[ -f ./hello/Makefile ] || exit 0; \
10521         r=`${PWD_COMMAND}`; export r; \
10522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10523         $(SET_LIB_PATH) \
10524         $(HOST_EXPORTS) \
10525         for flag in $(EXTRA_HOST_FLAGS) ; do \
10526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10527         done; \
10528         echo "Doing TAGS in hello" ; \
10529         (cd hello && \
10530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10532                   "RANLIB=$${RANLIB}" \
10533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10534                   TAGS) \
10535           || exit 1
10536
10537 @endif hello
10538
10539 .PHONY: maybe-install-info-hello install-info-hello
10540 maybe-install-info-hello:
10541 @if hello
10542 maybe-install-info-hello: install-info-hello
10543
10544 install-info-hello: \
10545     configure-hello \
10546     info-hello 
10547         @[ -f ./hello/Makefile ] || exit 0; \
10548         r=`${PWD_COMMAND}`; export r; \
10549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10550         $(SET_LIB_PATH) \
10551         $(HOST_EXPORTS) \
10552         for flag in $(EXTRA_HOST_FLAGS) ; do \
10553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10554         done; \
10555         echo "Doing install-info in hello" ; \
10556         (cd hello && \
10557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10559                   "RANLIB=$${RANLIB}" \
10560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10561                   install-info) \
10562           || exit 1
10563
10564 @endif hello
10565
10566 .PHONY: maybe-installcheck-hello installcheck-hello
10567 maybe-installcheck-hello:
10568 @if hello
10569 maybe-installcheck-hello: installcheck-hello
10570
10571 installcheck-hello: \
10572     configure-hello 
10573         @[ -f ./hello/Makefile ] || exit 0; \
10574         r=`${PWD_COMMAND}`; export r; \
10575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10576         $(SET_LIB_PATH) \
10577         $(HOST_EXPORTS) \
10578         for flag in $(EXTRA_HOST_FLAGS) ; do \
10579           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10580         done; \
10581         echo "Doing installcheck in hello" ; \
10582         (cd hello && \
10583           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10584                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10585                   "RANLIB=$${RANLIB}" \
10586                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10587                   installcheck) \
10588           || exit 1
10589
10590 @endif hello
10591
10592 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10593 maybe-mostlyclean-hello:
10594 @if hello
10595 maybe-mostlyclean-hello: mostlyclean-hello
10596
10597 mostlyclean-hello: 
10598         @[ -f ./hello/Makefile ] || exit 0; \
10599         r=`${PWD_COMMAND}`; export r; \
10600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10601         $(SET_LIB_PATH) \
10602         $(HOST_EXPORTS) \
10603         for flag in $(EXTRA_HOST_FLAGS) ; do \
10604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10605         done; \
10606         echo "Doing mostlyclean in hello" ; \
10607         (cd hello && \
10608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10610                   "RANLIB=$${RANLIB}" \
10611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10612                   mostlyclean) \
10613           || exit 1
10614
10615 @endif hello
10616
10617 .PHONY: maybe-clean-hello clean-hello
10618 maybe-clean-hello:
10619 @if hello
10620 maybe-clean-hello: clean-hello
10621
10622 clean-hello: 
10623         @[ -f ./hello/Makefile ] || exit 0; \
10624         r=`${PWD_COMMAND}`; export r; \
10625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10626         $(SET_LIB_PATH) \
10627         $(HOST_EXPORTS) \
10628         for flag in $(EXTRA_HOST_FLAGS) ; do \
10629           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10630         done; \
10631         echo "Doing clean in hello" ; \
10632         (cd hello && \
10633           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10634                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10635                   "RANLIB=$${RANLIB}" \
10636                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10637                   clean) \
10638           || exit 1
10639
10640 @endif hello
10641
10642 .PHONY: maybe-distclean-hello distclean-hello
10643 maybe-distclean-hello:
10644 @if hello
10645 maybe-distclean-hello: distclean-hello
10646
10647 distclean-hello: 
10648         @[ -f ./hello/Makefile ] || exit 0; \
10649         r=`${PWD_COMMAND}`; export r; \
10650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10651         $(SET_LIB_PATH) \
10652         $(HOST_EXPORTS) \
10653         for flag in $(EXTRA_HOST_FLAGS) ; do \
10654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10655         done; \
10656         echo "Doing distclean in hello" ; \
10657         (cd hello && \
10658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10660                   "RANLIB=$${RANLIB}" \
10661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10662                   distclean) \
10663           || exit 1
10664
10665 @endif hello
10666
10667 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10668 maybe-maintainer-clean-hello:
10669 @if hello
10670 maybe-maintainer-clean-hello: maintainer-clean-hello
10671
10672 maintainer-clean-hello: 
10673         @[ -f ./hello/Makefile ] || exit 0; \
10674         r=`${PWD_COMMAND}`; export r; \
10675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10676         $(SET_LIB_PATH) \
10677         $(HOST_EXPORTS) \
10678         for flag in $(EXTRA_HOST_FLAGS) ; do \
10679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10680         done; \
10681         echo "Doing maintainer-clean in hello" ; \
10682         (cd hello && \
10683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10685                   "RANLIB=$${RANLIB}" \
10686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10687                   maintainer-clean) \
10688           || exit 1
10689
10690 @endif hello
10691
10692
10693 .PHONY: configure-indent maybe-configure-indent
10694 maybe-configure-indent:
10695 @if indent
10696 maybe-configure-indent: configure-indent
10697 configure-indent:
10698         @test ! -f indent/Makefile || exit 0; \
10699         [ -d indent ] || mkdir indent; \
10700         r=`${PWD_COMMAND}`; export r; \
10701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10702         $(HOST_EXPORTS) \
10703         echo Configuring in indent; \
10704         cd indent || exit 1; \
10705         case $(srcdir) in \
10706           \.) \
10707             srcdiroption="--srcdir=."; \
10708             libsrcdir=".";; \
10709           /* | [A-Za-z]:[\\/]*) \
10710             srcdiroption="--srcdir=$(srcdir)/indent"; \
10711             libsrcdir="$$s/indent";; \
10712           *) \
10713             srcdiroption="--srcdir=../$(srcdir)/indent"; \
10714             libsrcdir="$$s/indent";; \
10715         esac; \
10716         $(SHELL) $${libsrcdir}/configure \
10717           $(HOST_CONFIGARGS) $${srcdiroption}  \
10718           || exit 1
10719 @endif indent
10720
10721 .PHONY: all-indent maybe-all-indent
10722 maybe-all-indent:
10723 @if indent
10724 maybe-all-indent: all-indent
10725 all-indent: configure-indent
10726         @r=`${PWD_COMMAND}`; export r; \
10727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10728         $(SET_LIB_PATH) \
10729         $(HOST_EXPORTS) \
10730         (cd indent && $(MAKE) $(FLAGS_TO_PASS)  all)
10731 @endif indent
10732
10733 .PHONY: check-indent maybe-check-indent
10734 maybe-check-indent:
10735 @if indent
10736 maybe-check-indent: check-indent
10737
10738 check-indent:
10739         @r=`${PWD_COMMAND}`; export r; \
10740         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10741         $(SET_LIB_PATH) \
10742         $(HOST_EXPORTS) \
10743         (cd indent && $(MAKE) $(FLAGS_TO_PASS)  check)
10744
10745 @endif indent
10746
10747 .PHONY: install-indent maybe-install-indent
10748 maybe-install-indent:
10749 @if indent
10750 maybe-install-indent: install-indent
10751
10752 install-indent: installdirs
10753         @r=`${PWD_COMMAND}`; export r; \
10754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10755         $(SET_LIB_PATH) \
10756         $(HOST_EXPORTS) \
10757         (cd indent && $(MAKE) $(FLAGS_TO_PASS)  install)
10758
10759 @endif indent
10760
10761 # Other targets (info, dvi, etc.)
10762
10763 .PHONY: maybe-info-indent info-indent
10764 maybe-info-indent:
10765 @if indent
10766 maybe-info-indent: info-indent
10767
10768 info-indent: \
10769     configure-indent 
10770         @[ -f ./indent/Makefile ] || exit 0; \
10771         r=`${PWD_COMMAND}`; export r; \
10772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10773         $(SET_LIB_PATH) \
10774         $(HOST_EXPORTS) \
10775         for flag in $(EXTRA_HOST_FLAGS) ; do \
10776           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10777         done; \
10778         echo "Doing info in indent" ; \
10779         (cd indent && \
10780           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10781                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10782                   "RANLIB=$${RANLIB}" \
10783                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10784                   info) \
10785           || exit 1
10786
10787 @endif indent
10788
10789 .PHONY: maybe-dvi-indent dvi-indent
10790 maybe-dvi-indent:
10791 @if indent
10792 maybe-dvi-indent: dvi-indent
10793
10794 dvi-indent: \
10795     configure-indent 
10796         @[ -f ./indent/Makefile ] || exit 0; \
10797         r=`${PWD_COMMAND}`; export r; \
10798         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10799         $(SET_LIB_PATH) \
10800         $(HOST_EXPORTS) \
10801         for flag in $(EXTRA_HOST_FLAGS) ; do \
10802           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10803         done; \
10804         echo "Doing dvi in indent" ; \
10805         (cd indent && \
10806           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10807                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10808                   "RANLIB=$${RANLIB}" \
10809                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10810                   dvi) \
10811           || exit 1
10812
10813 @endif indent
10814
10815 .PHONY: maybe-TAGS-indent TAGS-indent
10816 maybe-TAGS-indent:
10817 @if indent
10818 maybe-TAGS-indent: TAGS-indent
10819
10820 TAGS-indent: \
10821     configure-indent 
10822         @[ -f ./indent/Makefile ] || exit 0; \
10823         r=`${PWD_COMMAND}`; export r; \
10824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10825         $(SET_LIB_PATH) \
10826         $(HOST_EXPORTS) \
10827         for flag in $(EXTRA_HOST_FLAGS) ; do \
10828           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10829         done; \
10830         echo "Doing TAGS in indent" ; \
10831         (cd indent && \
10832           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10833                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10834                   "RANLIB=$${RANLIB}" \
10835                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10836                   TAGS) \
10837           || exit 1
10838
10839 @endif indent
10840
10841 .PHONY: maybe-install-info-indent install-info-indent
10842 maybe-install-info-indent:
10843 @if indent
10844 maybe-install-info-indent: install-info-indent
10845
10846 install-info-indent: \
10847     configure-indent \
10848     info-indent 
10849         @[ -f ./indent/Makefile ] || exit 0; \
10850         r=`${PWD_COMMAND}`; export r; \
10851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852         $(SET_LIB_PATH) \
10853         $(HOST_EXPORTS) \
10854         for flag in $(EXTRA_HOST_FLAGS) ; do \
10855           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10856         done; \
10857         echo "Doing install-info in indent" ; \
10858         (cd indent && \
10859           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10860                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10861                   "RANLIB=$${RANLIB}" \
10862                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10863                   install-info) \
10864           || exit 1
10865
10866 @endif indent
10867
10868 .PHONY: maybe-installcheck-indent installcheck-indent
10869 maybe-installcheck-indent:
10870 @if indent
10871 maybe-installcheck-indent: installcheck-indent
10872
10873 installcheck-indent: \
10874     configure-indent 
10875         @[ -f ./indent/Makefile ] || exit 0; \
10876         r=`${PWD_COMMAND}`; export r; \
10877         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10878         $(SET_LIB_PATH) \
10879         $(HOST_EXPORTS) \
10880         for flag in $(EXTRA_HOST_FLAGS) ; do \
10881           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10882         done; \
10883         echo "Doing installcheck in indent" ; \
10884         (cd indent && \
10885           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10886                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10887                   "RANLIB=$${RANLIB}" \
10888                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10889                   installcheck) \
10890           || exit 1
10891
10892 @endif indent
10893
10894 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10895 maybe-mostlyclean-indent:
10896 @if indent
10897 maybe-mostlyclean-indent: mostlyclean-indent
10898
10899 mostlyclean-indent: 
10900         @[ -f ./indent/Makefile ] || exit 0; \
10901         r=`${PWD_COMMAND}`; export r; \
10902         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10903         $(SET_LIB_PATH) \
10904         $(HOST_EXPORTS) \
10905         for flag in $(EXTRA_HOST_FLAGS) ; do \
10906           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10907         done; \
10908         echo "Doing mostlyclean in indent" ; \
10909         (cd indent && \
10910           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10911                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10912                   "RANLIB=$${RANLIB}" \
10913                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10914                   mostlyclean) \
10915           || exit 1
10916
10917 @endif indent
10918
10919 .PHONY: maybe-clean-indent clean-indent
10920 maybe-clean-indent:
10921 @if indent
10922 maybe-clean-indent: clean-indent
10923
10924 clean-indent: 
10925         @[ -f ./indent/Makefile ] || exit 0; \
10926         r=`${PWD_COMMAND}`; export r; \
10927         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10928         $(SET_LIB_PATH) \
10929         $(HOST_EXPORTS) \
10930         for flag in $(EXTRA_HOST_FLAGS) ; do \
10931           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10932         done; \
10933         echo "Doing clean in indent" ; \
10934         (cd indent && \
10935           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10936                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10937                   "RANLIB=$${RANLIB}" \
10938                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10939                   clean) \
10940           || exit 1
10941
10942 @endif indent
10943
10944 .PHONY: maybe-distclean-indent distclean-indent
10945 maybe-distclean-indent:
10946 @if indent
10947 maybe-distclean-indent: distclean-indent
10948
10949 distclean-indent: 
10950         @[ -f ./indent/Makefile ] || exit 0; \
10951         r=`${PWD_COMMAND}`; export r; \
10952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10953         $(SET_LIB_PATH) \
10954         $(HOST_EXPORTS) \
10955         for flag in $(EXTRA_HOST_FLAGS) ; do \
10956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957         done; \
10958         echo "Doing distclean in indent" ; \
10959         (cd indent && \
10960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10962                   "RANLIB=$${RANLIB}" \
10963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10964                   distclean) \
10965           || exit 1
10966
10967 @endif indent
10968
10969 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10970 maybe-maintainer-clean-indent:
10971 @if indent
10972 maybe-maintainer-clean-indent: maintainer-clean-indent
10973
10974 maintainer-clean-indent: 
10975         @[ -f ./indent/Makefile ] || exit 0; \
10976         r=`${PWD_COMMAND}`; export r; \
10977         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10978         $(SET_LIB_PATH) \
10979         $(HOST_EXPORTS) \
10980         for flag in $(EXTRA_HOST_FLAGS) ; do \
10981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10982         done; \
10983         echo "Doing maintainer-clean in indent" ; \
10984         (cd indent && \
10985           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10986                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10987                   "RANLIB=$${RANLIB}" \
10988                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10989                   maintainer-clean) \
10990           || exit 1
10991
10992 @endif indent
10993
10994
10995 .PHONY: configure-intl maybe-configure-intl
10996 maybe-configure-intl:
10997 @if intl
10998 maybe-configure-intl: configure-intl
10999 configure-intl:
11000         @test ! -f intl/Makefile || exit 0; \
11001         [ -d intl ] || mkdir intl; \
11002         r=`${PWD_COMMAND}`; export r; \
11003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004         $(HOST_EXPORTS) \
11005         echo Configuring in intl; \
11006         cd intl || exit 1; \
11007         case $(srcdir) in \
11008           \.) \
11009             srcdiroption="--srcdir=."; \
11010             libsrcdir=".";; \
11011           /* | [A-Za-z]:[\\/]*) \
11012             srcdiroption="--srcdir=$(srcdir)/intl"; \
11013             libsrcdir="$$s/intl";; \
11014           *) \
11015             srcdiroption="--srcdir=../$(srcdir)/intl"; \
11016             libsrcdir="$$s/intl";; \
11017         esac; \
11018         $(SHELL) $${libsrcdir}/configure \
11019           $(HOST_CONFIGARGS) $${srcdiroption}  \
11020           || exit 1
11021 @endif intl
11022
11023 .PHONY: all-intl maybe-all-intl
11024 maybe-all-intl:
11025 @if intl
11026 maybe-all-intl: all-intl
11027 all-intl: configure-intl
11028         @r=`${PWD_COMMAND}`; export r; \
11029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11030         $(SET_LIB_PATH) \
11031         $(HOST_EXPORTS) \
11032         (cd intl && $(MAKE) $(FLAGS_TO_PASS)  all)
11033 @endif intl
11034
11035 .PHONY: check-intl maybe-check-intl
11036 maybe-check-intl:
11037 @if intl
11038 maybe-check-intl: check-intl
11039
11040 check-intl:
11041         @r=`${PWD_COMMAND}`; export r; \
11042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11043         $(SET_LIB_PATH) \
11044         $(HOST_EXPORTS) \
11045         (cd intl && $(MAKE) $(FLAGS_TO_PASS)  check)
11046
11047 @endif intl
11048
11049 .PHONY: install-intl maybe-install-intl
11050 maybe-install-intl:
11051 @if intl
11052 maybe-install-intl: install-intl
11053
11054 install-intl: installdirs
11055         @r=`${PWD_COMMAND}`; export r; \
11056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11057         $(SET_LIB_PATH) \
11058         $(HOST_EXPORTS) \
11059         (cd intl && $(MAKE) $(FLAGS_TO_PASS)  install)
11060
11061 @endif intl
11062
11063 # Other targets (info, dvi, etc.)
11064
11065 .PHONY: maybe-info-intl info-intl
11066 maybe-info-intl:
11067 @if intl
11068 maybe-info-intl: info-intl
11069
11070 info-intl: \
11071     configure-intl 
11072         @[ -f ./intl/Makefile ] || exit 0; \
11073         r=`${PWD_COMMAND}`; export r; \
11074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11075         $(SET_LIB_PATH) \
11076         $(HOST_EXPORTS) \
11077         for flag in $(EXTRA_HOST_FLAGS) ; do \
11078           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11079         done; \
11080         echo "Doing info in intl" ; \
11081         (cd intl && \
11082           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11083                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11084                   "RANLIB=$${RANLIB}" \
11085                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11086                   info) \
11087           || exit 1
11088
11089 @endif intl
11090
11091 .PHONY: maybe-dvi-intl dvi-intl
11092 maybe-dvi-intl:
11093 @if intl
11094 maybe-dvi-intl: dvi-intl
11095
11096 dvi-intl: \
11097     configure-intl 
11098         @[ -f ./intl/Makefile ] || exit 0; \
11099         r=`${PWD_COMMAND}`; export r; \
11100         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11101         $(SET_LIB_PATH) \
11102         $(HOST_EXPORTS) \
11103         for flag in $(EXTRA_HOST_FLAGS) ; do \
11104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11105         done; \
11106         echo "Doing dvi in intl" ; \
11107         (cd intl && \
11108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11110                   "RANLIB=$${RANLIB}" \
11111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11112                   dvi) \
11113           || exit 1
11114
11115 @endif intl
11116
11117 .PHONY: maybe-TAGS-intl TAGS-intl
11118 maybe-TAGS-intl:
11119 @if intl
11120 maybe-TAGS-intl: TAGS-intl
11121
11122 TAGS-intl: \
11123     configure-intl 
11124         @[ -f ./intl/Makefile ] || exit 0; \
11125         r=`${PWD_COMMAND}`; export r; \
11126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11127         $(SET_LIB_PATH) \
11128         $(HOST_EXPORTS) \
11129         for flag in $(EXTRA_HOST_FLAGS) ; do \
11130           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11131         done; \
11132         echo "Doing TAGS in intl" ; \
11133         (cd intl && \
11134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11136                   "RANLIB=$${RANLIB}" \
11137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11138                   TAGS) \
11139           || exit 1
11140
11141 @endif intl
11142
11143 .PHONY: maybe-install-info-intl install-info-intl
11144 maybe-install-info-intl:
11145 @if intl
11146 maybe-install-info-intl: install-info-intl
11147
11148 install-info-intl: \
11149     configure-intl \
11150     info-intl 
11151         @[ -f ./intl/Makefile ] || exit 0; \
11152         r=`${PWD_COMMAND}`; export r; \
11153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11154         $(SET_LIB_PATH) \
11155         $(HOST_EXPORTS) \
11156         for flag in $(EXTRA_HOST_FLAGS) ; do \
11157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11158         done; \
11159         echo "Doing install-info in intl" ; \
11160         (cd intl && \
11161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11163                   "RANLIB=$${RANLIB}" \
11164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11165                   install-info) \
11166           || exit 1
11167
11168 @endif intl
11169
11170 .PHONY: maybe-installcheck-intl installcheck-intl
11171 maybe-installcheck-intl:
11172 @if intl
11173 maybe-installcheck-intl: installcheck-intl
11174
11175 installcheck-intl: \
11176     configure-intl 
11177         @[ -f ./intl/Makefile ] || exit 0; \
11178         r=`${PWD_COMMAND}`; export r; \
11179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11180         $(SET_LIB_PATH) \
11181         $(HOST_EXPORTS) \
11182         for flag in $(EXTRA_HOST_FLAGS) ; do \
11183           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11184         done; \
11185         echo "Doing installcheck in intl" ; \
11186         (cd intl && \
11187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189                   "RANLIB=$${RANLIB}" \
11190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11191                   installcheck) \
11192           || exit 1
11193
11194 @endif intl
11195
11196 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11197 maybe-mostlyclean-intl:
11198 @if intl
11199 maybe-mostlyclean-intl: mostlyclean-intl
11200
11201 mostlyclean-intl: 
11202         @[ -f ./intl/Makefile ] || exit 0; \
11203         r=`${PWD_COMMAND}`; export r; \
11204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11205         $(SET_LIB_PATH) \
11206         $(HOST_EXPORTS) \
11207         for flag in $(EXTRA_HOST_FLAGS) ; do \
11208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11209         done; \
11210         echo "Doing mostlyclean in intl" ; \
11211         (cd intl && \
11212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214                   "RANLIB=$${RANLIB}" \
11215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11216                   mostlyclean) \
11217           || exit 1
11218
11219 @endif intl
11220
11221 .PHONY: maybe-clean-intl clean-intl
11222 maybe-clean-intl:
11223 @if intl
11224 maybe-clean-intl: clean-intl
11225
11226 clean-intl: 
11227         @[ -f ./intl/Makefile ] || exit 0; \
11228         r=`${PWD_COMMAND}`; export r; \
11229         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11230         $(SET_LIB_PATH) \
11231         $(HOST_EXPORTS) \
11232         for flag in $(EXTRA_HOST_FLAGS) ; do \
11233           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11234         done; \
11235         echo "Doing clean in intl" ; \
11236         (cd intl && \
11237           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11238                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11239                   "RANLIB=$${RANLIB}" \
11240                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11241                   clean) \
11242           || exit 1
11243
11244 @endif intl
11245
11246 .PHONY: maybe-distclean-intl distclean-intl
11247 maybe-distclean-intl:
11248 @if intl
11249 maybe-distclean-intl: distclean-intl
11250
11251 distclean-intl: 
11252         @[ -f ./intl/Makefile ] || exit 0; \
11253         r=`${PWD_COMMAND}`; export r; \
11254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255         $(SET_LIB_PATH) \
11256         $(HOST_EXPORTS) \
11257         for flag in $(EXTRA_HOST_FLAGS) ; do \
11258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11259         done; \
11260         echo "Doing distclean in intl" ; \
11261         (cd intl && \
11262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11264                   "RANLIB=$${RANLIB}" \
11265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11266                   distclean) \
11267           || exit 1
11268
11269 @endif intl
11270
11271 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11272 maybe-maintainer-clean-intl:
11273 @if intl
11274 maybe-maintainer-clean-intl: maintainer-clean-intl
11275
11276 maintainer-clean-intl: 
11277         @[ -f ./intl/Makefile ] || exit 0; \
11278         r=`${PWD_COMMAND}`; export r; \
11279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11280         $(SET_LIB_PATH) \
11281         $(HOST_EXPORTS) \
11282         for flag in $(EXTRA_HOST_FLAGS) ; do \
11283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11284         done; \
11285         echo "Doing maintainer-clean in intl" ; \
11286         (cd intl && \
11287           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11288                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11289                   "RANLIB=$${RANLIB}" \
11290                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11291                   maintainer-clean) \
11292           || exit 1
11293
11294 @endif intl
11295
11296
11297 .PHONY: configure-tcl maybe-configure-tcl
11298 maybe-configure-tcl:
11299 @if tcl
11300 maybe-configure-tcl: configure-tcl
11301 configure-tcl:
11302         @test ! -f tcl/Makefile || exit 0; \
11303         [ -d tcl ] || mkdir tcl; \
11304         r=`${PWD_COMMAND}`; export r; \
11305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11306         $(HOST_EXPORTS) \
11307         echo Configuring in tcl; \
11308         cd tcl || exit 1; \
11309         case $(srcdir) in \
11310           \.) \
11311             srcdiroption="--srcdir=."; \
11312             libsrcdir=".";; \
11313           /* | [A-Za-z]:[\\/]*) \
11314             srcdiroption="--srcdir=$(srcdir)/tcl"; \
11315             libsrcdir="$$s/tcl";; \
11316           *) \
11317             srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11318             libsrcdir="$$s/tcl";; \
11319         esac; \
11320         $(SHELL) $${libsrcdir}/configure \
11321           $(HOST_CONFIGARGS) $${srcdiroption}  \
11322           || exit 1
11323 @endif tcl
11324
11325 .PHONY: all-tcl maybe-all-tcl
11326 maybe-all-tcl:
11327 @if tcl
11328 maybe-all-tcl: all-tcl
11329 all-tcl: configure-tcl
11330         @r=`${PWD_COMMAND}`; export r; \
11331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11332         $(SET_LIB_PATH) \
11333         $(HOST_EXPORTS) \
11334         (cd tcl && $(MAKE) $(FLAGS_TO_PASS)  all)
11335 @endif tcl
11336
11337 .PHONY: check-tcl maybe-check-tcl
11338 maybe-check-tcl:
11339 @if tcl
11340 maybe-check-tcl: check-tcl
11341
11342 check-tcl:
11343         @r=`${PWD_COMMAND}`; export r; \
11344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11345         $(SET_LIB_PATH) \
11346         $(HOST_EXPORTS) \
11347         (cd tcl && $(MAKE) $(FLAGS_TO_PASS)  check)
11348
11349 @endif tcl
11350
11351 .PHONY: install-tcl maybe-install-tcl
11352 maybe-install-tcl:
11353 @if tcl
11354 maybe-install-tcl: install-tcl
11355
11356 install-tcl: installdirs
11357         @r=`${PWD_COMMAND}`; export r; \
11358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11359         $(SET_LIB_PATH) \
11360         $(HOST_EXPORTS) \
11361         (cd tcl && $(MAKE) $(FLAGS_TO_PASS)  install)
11362
11363 @endif tcl
11364
11365 # Other targets (info, dvi, etc.)
11366
11367 .PHONY: maybe-info-tcl info-tcl
11368 maybe-info-tcl:
11369 @if tcl
11370 maybe-info-tcl: info-tcl
11371
11372 info-tcl: \
11373     configure-tcl 
11374         @[ -f ./tcl/Makefile ] || exit 0; \
11375         r=`${PWD_COMMAND}`; export r; \
11376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377         $(SET_LIB_PATH) \
11378         $(HOST_EXPORTS) \
11379         for flag in $(EXTRA_HOST_FLAGS) ; do \
11380           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11381         done; \
11382         echo "Doing info in tcl" ; \
11383         (cd tcl && \
11384           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11385                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11386                   "RANLIB=$${RANLIB}" \
11387                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11388                   info) \
11389           || exit 1
11390
11391 @endif tcl
11392
11393 .PHONY: maybe-dvi-tcl dvi-tcl
11394 maybe-dvi-tcl:
11395 @if tcl
11396 maybe-dvi-tcl: dvi-tcl
11397
11398 dvi-tcl: \
11399     configure-tcl 
11400         @[ -f ./tcl/Makefile ] || exit 0; \
11401         r=`${PWD_COMMAND}`; export r; \
11402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11403         $(SET_LIB_PATH) \
11404         $(HOST_EXPORTS) \
11405         for flag in $(EXTRA_HOST_FLAGS) ; do \
11406           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11407         done; \
11408         echo "Doing dvi in tcl" ; \
11409         (cd tcl && \
11410           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11411                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11412                   "RANLIB=$${RANLIB}" \
11413                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11414                   dvi) \
11415           || exit 1
11416
11417 @endif tcl
11418
11419 .PHONY: maybe-TAGS-tcl TAGS-tcl
11420 maybe-TAGS-tcl:
11421 @if tcl
11422 maybe-TAGS-tcl: TAGS-tcl
11423
11424 TAGS-tcl: \
11425     configure-tcl 
11426         @[ -f ./tcl/Makefile ] || exit 0; \
11427         r=`${PWD_COMMAND}`; export r; \
11428         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429         $(SET_LIB_PATH) \
11430         $(HOST_EXPORTS) \
11431         for flag in $(EXTRA_HOST_FLAGS) ; do \
11432           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433         done; \
11434         echo "Doing TAGS in tcl" ; \
11435         (cd tcl && \
11436           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11437                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11438                   "RANLIB=$${RANLIB}" \
11439                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11440                   TAGS) \
11441           || exit 1
11442
11443 @endif tcl
11444
11445 .PHONY: maybe-install-info-tcl install-info-tcl
11446 maybe-install-info-tcl:
11447 @if tcl
11448 maybe-install-info-tcl: install-info-tcl
11449
11450 install-info-tcl: \
11451     configure-tcl \
11452     info-tcl 
11453         @[ -f ./tcl/Makefile ] || exit 0; \
11454         r=`${PWD_COMMAND}`; export r; \
11455         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11456         $(SET_LIB_PATH) \
11457         $(HOST_EXPORTS) \
11458         for flag in $(EXTRA_HOST_FLAGS) ; do \
11459           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11460         done; \
11461         echo "Doing install-info in tcl" ; \
11462         (cd tcl && \
11463           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11464                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11465                   "RANLIB=$${RANLIB}" \
11466                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11467                   install-info) \
11468           || exit 1
11469
11470 @endif tcl
11471
11472 .PHONY: maybe-installcheck-tcl installcheck-tcl
11473 maybe-installcheck-tcl:
11474 @if tcl
11475 maybe-installcheck-tcl: installcheck-tcl
11476
11477 installcheck-tcl: \
11478     configure-tcl 
11479         @[ -f ./tcl/Makefile ] || exit 0; \
11480         r=`${PWD_COMMAND}`; export r; \
11481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11482         $(SET_LIB_PATH) \
11483         $(HOST_EXPORTS) \
11484         for flag in $(EXTRA_HOST_FLAGS) ; do \
11485           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11486         done; \
11487         echo "Doing installcheck in tcl" ; \
11488         (cd tcl && \
11489           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11490                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11491                   "RANLIB=$${RANLIB}" \
11492                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11493                   installcheck) \
11494           || exit 1
11495
11496 @endif tcl
11497
11498 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11499 maybe-mostlyclean-tcl:
11500 @if tcl
11501 maybe-mostlyclean-tcl: mostlyclean-tcl
11502
11503 # tcl doesn't support mostlyclean.
11504 mostlyclean-tcl:
11505
11506 @endif tcl
11507
11508 .PHONY: maybe-clean-tcl clean-tcl
11509 maybe-clean-tcl:
11510 @if tcl
11511 maybe-clean-tcl: clean-tcl
11512
11513 clean-tcl: 
11514         @[ -f ./tcl/Makefile ] || exit 0; \
11515         r=`${PWD_COMMAND}`; export r; \
11516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11517         $(SET_LIB_PATH) \
11518         $(HOST_EXPORTS) \
11519         for flag in $(EXTRA_HOST_FLAGS) ; do \
11520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11521         done; \
11522         echo "Doing clean in tcl" ; \
11523         (cd tcl && \
11524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11526                   "RANLIB=$${RANLIB}" \
11527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11528                   clean) \
11529           || exit 1
11530
11531 @endif tcl
11532
11533 .PHONY: maybe-distclean-tcl distclean-tcl
11534 maybe-distclean-tcl:
11535 @if tcl
11536 maybe-distclean-tcl: distclean-tcl
11537
11538 distclean-tcl: 
11539         @[ -f ./tcl/Makefile ] || exit 0; \
11540         r=`${PWD_COMMAND}`; export r; \
11541         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11542         $(SET_LIB_PATH) \
11543         $(HOST_EXPORTS) \
11544         for flag in $(EXTRA_HOST_FLAGS) ; do \
11545           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11546         done; \
11547         echo "Doing distclean in tcl" ; \
11548         (cd tcl && \
11549           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11550                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11551                   "RANLIB=$${RANLIB}" \
11552                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11553                   distclean) \
11554           || exit 1
11555
11556 @endif tcl
11557
11558 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11559 maybe-maintainer-clean-tcl:
11560 @if tcl
11561 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11562
11563 maintainer-clean-tcl: 
11564         @[ -f ./tcl/Makefile ] || exit 0; \
11565         r=`${PWD_COMMAND}`; export r; \
11566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11567         $(SET_LIB_PATH) \
11568         $(HOST_EXPORTS) \
11569         for flag in $(EXTRA_HOST_FLAGS) ; do \
11570           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11571         done; \
11572         echo "Doing maintainer-clean in tcl" ; \
11573         (cd tcl && \
11574           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11575                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11576                   "RANLIB=$${RANLIB}" \
11577                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11578                   maintainer-clean) \
11579           || exit 1
11580
11581 @endif tcl
11582
11583
11584 .PHONY: configure-itcl maybe-configure-itcl
11585 maybe-configure-itcl:
11586 @if itcl
11587 maybe-configure-itcl: configure-itcl
11588 configure-itcl:
11589         @test ! -f itcl/Makefile || exit 0; \
11590         [ -d itcl ] || mkdir itcl; \
11591         r=`${PWD_COMMAND}`; export r; \
11592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11593         $(HOST_EXPORTS) \
11594         echo Configuring in itcl; \
11595         cd itcl || exit 1; \
11596         case $(srcdir) in \
11597           \.) \
11598             srcdiroption="--srcdir=."; \
11599             libsrcdir=".";; \
11600           /* | [A-Za-z]:[\\/]*) \
11601             srcdiroption="--srcdir=$(srcdir)/itcl"; \
11602             libsrcdir="$$s/itcl";; \
11603           *) \
11604             srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11605             libsrcdir="$$s/itcl";; \
11606         esac; \
11607         $(SHELL) $${libsrcdir}/configure \
11608           $(HOST_CONFIGARGS) $${srcdiroption}  \
11609           || exit 1
11610 @endif itcl
11611
11612 .PHONY: all-itcl maybe-all-itcl
11613 maybe-all-itcl:
11614 @if itcl
11615 maybe-all-itcl: all-itcl
11616 all-itcl: configure-itcl
11617         @r=`${PWD_COMMAND}`; export r; \
11618         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619         $(SET_LIB_PATH) \
11620         $(HOST_EXPORTS) \
11621         (cd itcl && $(MAKE) $(FLAGS_TO_PASS)  all)
11622 @endif itcl
11623
11624 .PHONY: check-itcl maybe-check-itcl
11625 maybe-check-itcl:
11626 @if itcl
11627 maybe-check-itcl: check-itcl
11628
11629 check-itcl:
11630         @r=`${PWD_COMMAND}`; export r; \
11631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632         $(SET_LIB_PATH) \
11633         $(HOST_EXPORTS) \
11634         (cd itcl && $(MAKE) $(FLAGS_TO_PASS)  check)
11635
11636 @endif itcl
11637
11638 .PHONY: install-itcl maybe-install-itcl
11639 maybe-install-itcl:
11640 @if itcl
11641 maybe-install-itcl: install-itcl
11642
11643 install-itcl: installdirs
11644         @r=`${PWD_COMMAND}`; export r; \
11645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11646         $(SET_LIB_PATH) \
11647         $(HOST_EXPORTS) \
11648         (cd itcl && $(MAKE) $(FLAGS_TO_PASS)  install)
11649
11650 @endif itcl
11651
11652 # Other targets (info, dvi, etc.)
11653
11654 .PHONY: maybe-info-itcl info-itcl
11655 maybe-info-itcl:
11656 @if itcl
11657 maybe-info-itcl: info-itcl
11658
11659 info-itcl: \
11660     configure-itcl 
11661         @[ -f ./itcl/Makefile ] || exit 0; \
11662         r=`${PWD_COMMAND}`; export r; \
11663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11664         $(SET_LIB_PATH) \
11665         $(HOST_EXPORTS) \
11666         for flag in $(EXTRA_HOST_FLAGS) ; do \
11667           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11668         done; \
11669         echo "Doing info in itcl" ; \
11670         (cd itcl && \
11671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11673                   "RANLIB=$${RANLIB}" \
11674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11675                   info) \
11676           || exit 1
11677
11678 @endif itcl
11679
11680 .PHONY: maybe-dvi-itcl dvi-itcl
11681 maybe-dvi-itcl:
11682 @if itcl
11683 maybe-dvi-itcl: dvi-itcl
11684
11685 dvi-itcl: \
11686     configure-itcl 
11687         @[ -f ./itcl/Makefile ] || exit 0; \
11688         r=`${PWD_COMMAND}`; export r; \
11689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11690         $(SET_LIB_PATH) \
11691         $(HOST_EXPORTS) \
11692         for flag in $(EXTRA_HOST_FLAGS) ; do \
11693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11694         done; \
11695         echo "Doing dvi in itcl" ; \
11696         (cd itcl && \
11697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11699                   "RANLIB=$${RANLIB}" \
11700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11701                   dvi) \
11702           || exit 1
11703
11704 @endif itcl
11705
11706 .PHONY: maybe-TAGS-itcl TAGS-itcl
11707 maybe-TAGS-itcl:
11708 @if itcl
11709 maybe-TAGS-itcl: TAGS-itcl
11710
11711 TAGS-itcl: \
11712     configure-itcl 
11713         @[ -f ./itcl/Makefile ] || exit 0; \
11714         r=`${PWD_COMMAND}`; export r; \
11715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11716         $(SET_LIB_PATH) \
11717         $(HOST_EXPORTS) \
11718         for flag in $(EXTRA_HOST_FLAGS) ; do \
11719           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11720         done; \
11721         echo "Doing TAGS in itcl" ; \
11722         (cd itcl && \
11723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11725                   "RANLIB=$${RANLIB}" \
11726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11727                   TAGS) \
11728           || exit 1
11729
11730 @endif itcl
11731
11732 .PHONY: maybe-install-info-itcl install-info-itcl
11733 maybe-install-info-itcl:
11734 @if itcl
11735 maybe-install-info-itcl: install-info-itcl
11736
11737 install-info-itcl: \
11738     configure-itcl \
11739     info-itcl 
11740         @[ -f ./itcl/Makefile ] || exit 0; \
11741         r=`${PWD_COMMAND}`; export r; \
11742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11743         $(SET_LIB_PATH) \
11744         $(HOST_EXPORTS) \
11745         for flag in $(EXTRA_HOST_FLAGS) ; do \
11746           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11747         done; \
11748         echo "Doing install-info in itcl" ; \
11749         (cd itcl && \
11750           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11751                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11752                   "RANLIB=$${RANLIB}" \
11753                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11754                   install-info) \
11755           || exit 1
11756
11757 @endif itcl
11758
11759 .PHONY: maybe-installcheck-itcl installcheck-itcl
11760 maybe-installcheck-itcl:
11761 @if itcl
11762 maybe-installcheck-itcl: installcheck-itcl
11763
11764 installcheck-itcl: \
11765     configure-itcl 
11766         @[ -f ./itcl/Makefile ] || exit 0; \
11767         r=`${PWD_COMMAND}`; export r; \
11768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11769         $(SET_LIB_PATH) \
11770         $(HOST_EXPORTS) \
11771         for flag in $(EXTRA_HOST_FLAGS) ; do \
11772           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11773         done; \
11774         echo "Doing installcheck in itcl" ; \
11775         (cd itcl && \
11776           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11777                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11778                   "RANLIB=$${RANLIB}" \
11779                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11780                   installcheck) \
11781           || exit 1
11782
11783 @endif itcl
11784
11785 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11786 maybe-mostlyclean-itcl:
11787 @if itcl
11788 maybe-mostlyclean-itcl: mostlyclean-itcl
11789
11790 mostlyclean-itcl: 
11791         @[ -f ./itcl/Makefile ] || exit 0; \
11792         r=`${PWD_COMMAND}`; export r; \
11793         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11794         $(SET_LIB_PATH) \
11795         $(HOST_EXPORTS) \
11796         for flag in $(EXTRA_HOST_FLAGS) ; do \
11797           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11798         done; \
11799         echo "Doing mostlyclean in itcl" ; \
11800         (cd itcl && \
11801           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11802                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11803                   "RANLIB=$${RANLIB}" \
11804                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11805                   mostlyclean) \
11806           || exit 1
11807
11808 @endif itcl
11809
11810 .PHONY: maybe-clean-itcl clean-itcl
11811 maybe-clean-itcl:
11812 @if itcl
11813 maybe-clean-itcl: clean-itcl
11814
11815 clean-itcl: 
11816         @[ -f ./itcl/Makefile ] || exit 0; \
11817         r=`${PWD_COMMAND}`; export r; \
11818         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11819         $(SET_LIB_PATH) \
11820         $(HOST_EXPORTS) \
11821         for flag in $(EXTRA_HOST_FLAGS) ; do \
11822           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11823         done; \
11824         echo "Doing clean in itcl" ; \
11825         (cd itcl && \
11826           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11827                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11828                   "RANLIB=$${RANLIB}" \
11829                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11830                   clean) \
11831           || exit 1
11832
11833 @endif itcl
11834
11835 .PHONY: maybe-distclean-itcl distclean-itcl
11836 maybe-distclean-itcl:
11837 @if itcl
11838 maybe-distclean-itcl: distclean-itcl
11839
11840 distclean-itcl: 
11841         @[ -f ./itcl/Makefile ] || exit 0; \
11842         r=`${PWD_COMMAND}`; export r; \
11843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11844         $(SET_LIB_PATH) \
11845         $(HOST_EXPORTS) \
11846         for flag in $(EXTRA_HOST_FLAGS) ; do \
11847           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11848         done; \
11849         echo "Doing distclean in itcl" ; \
11850         (cd itcl && \
11851           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11852                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11853                   "RANLIB=$${RANLIB}" \
11854                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11855                   distclean) \
11856           || exit 1
11857
11858 @endif itcl
11859
11860 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11861 maybe-maintainer-clean-itcl:
11862 @if itcl
11863 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11864
11865 maintainer-clean-itcl: 
11866         @[ -f ./itcl/Makefile ] || exit 0; \
11867         r=`${PWD_COMMAND}`; export r; \
11868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11869         $(SET_LIB_PATH) \
11870         $(HOST_EXPORTS) \
11871         for flag in $(EXTRA_HOST_FLAGS) ; do \
11872           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11873         done; \
11874         echo "Doing maintainer-clean in itcl" ; \
11875         (cd itcl && \
11876           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11877                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11878                   "RANLIB=$${RANLIB}" \
11879                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11880                   maintainer-clean) \
11881           || exit 1
11882
11883 @endif itcl
11884
11885
11886 .PHONY: configure-ld maybe-configure-ld
11887 maybe-configure-ld:
11888 @if ld
11889 maybe-configure-ld: configure-ld
11890 configure-ld:
11891         @test ! -f ld/Makefile || exit 0; \
11892         [ -d ld ] || mkdir ld; \
11893         r=`${PWD_COMMAND}`; export r; \
11894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11895         $(HOST_EXPORTS) \
11896         echo Configuring in ld; \
11897         cd ld || exit 1; \
11898         case $(srcdir) in \
11899           \.) \
11900             srcdiroption="--srcdir=."; \
11901             libsrcdir=".";; \
11902           /* | [A-Za-z]:[\\/]*) \
11903             srcdiroption="--srcdir=$(srcdir)/ld"; \
11904             libsrcdir="$$s/ld";; \
11905           *) \
11906             srcdiroption="--srcdir=../$(srcdir)/ld"; \
11907             libsrcdir="$$s/ld";; \
11908         esac; \
11909         $(SHELL) $${libsrcdir}/configure \
11910           $(HOST_CONFIGARGS) $${srcdiroption}  \
11911           || exit 1
11912 @endif ld
11913
11914 .PHONY: all-ld maybe-all-ld
11915 maybe-all-ld:
11916 @if ld
11917 maybe-all-ld: all-ld
11918 all-ld: configure-ld
11919         @r=`${PWD_COMMAND}`; export r; \
11920         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11921         $(SET_LIB_PATH) \
11922         $(HOST_EXPORTS) \
11923         (cd ld && $(MAKE) $(FLAGS_TO_PASS)  all)
11924 @endif ld
11925
11926 .PHONY: check-ld maybe-check-ld
11927 maybe-check-ld:
11928 @if ld
11929 maybe-check-ld: check-ld
11930
11931 check-ld:
11932         @r=`${PWD_COMMAND}`; export r; \
11933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934         $(SET_LIB_PATH) \
11935         $(HOST_EXPORTS) \
11936         (cd ld && $(MAKE) $(FLAGS_TO_PASS)  check)
11937
11938 @endif ld
11939
11940 .PHONY: install-ld maybe-install-ld
11941 maybe-install-ld:
11942 @if ld
11943 maybe-install-ld: install-ld
11944
11945 install-ld: installdirs
11946         @r=`${PWD_COMMAND}`; export r; \
11947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11948         $(SET_LIB_PATH) \
11949         $(HOST_EXPORTS) \
11950         (cd ld && $(MAKE) $(FLAGS_TO_PASS)  install)
11951
11952 @endif ld
11953
11954 # Other targets (info, dvi, etc.)
11955
11956 .PHONY: maybe-info-ld info-ld
11957 maybe-info-ld:
11958 @if ld
11959 maybe-info-ld: info-ld
11960
11961 info-ld: \
11962     configure-ld 
11963         @[ -f ./ld/Makefile ] || exit 0; \
11964         r=`${PWD_COMMAND}`; export r; \
11965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11966         $(SET_LIB_PATH) \
11967         $(HOST_EXPORTS) \
11968         for flag in $(EXTRA_HOST_FLAGS) ; do \
11969           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11970         done; \
11971         echo "Doing info in ld" ; \
11972         (cd ld && \
11973           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11974                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11975                   "RANLIB=$${RANLIB}" \
11976                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11977                   info) \
11978           || exit 1
11979
11980 @endif ld
11981
11982 .PHONY: maybe-dvi-ld dvi-ld
11983 maybe-dvi-ld:
11984 @if ld
11985 maybe-dvi-ld: dvi-ld
11986
11987 dvi-ld: \
11988     configure-ld 
11989         @[ -f ./ld/Makefile ] || exit 0; \
11990         r=`${PWD_COMMAND}`; export r; \
11991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11992         $(SET_LIB_PATH) \
11993         $(HOST_EXPORTS) \
11994         for flag in $(EXTRA_HOST_FLAGS) ; do \
11995           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11996         done; \
11997         echo "Doing dvi in ld" ; \
11998         (cd ld && \
11999           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12000                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12001                   "RANLIB=$${RANLIB}" \
12002                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12003                   dvi) \
12004           || exit 1
12005
12006 @endif ld
12007
12008 .PHONY: maybe-TAGS-ld TAGS-ld
12009 maybe-TAGS-ld:
12010 @if ld
12011 maybe-TAGS-ld: TAGS-ld
12012
12013 TAGS-ld: \
12014     configure-ld 
12015         @[ -f ./ld/Makefile ] || exit 0; \
12016         r=`${PWD_COMMAND}`; export r; \
12017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12018         $(SET_LIB_PATH) \
12019         $(HOST_EXPORTS) \
12020         for flag in $(EXTRA_HOST_FLAGS) ; do \
12021           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12022         done; \
12023         echo "Doing TAGS in ld" ; \
12024         (cd ld && \
12025           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12026                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12027                   "RANLIB=$${RANLIB}" \
12028                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12029                   TAGS) \
12030           || exit 1
12031
12032 @endif ld
12033
12034 .PHONY: maybe-install-info-ld install-info-ld
12035 maybe-install-info-ld:
12036 @if ld
12037 maybe-install-info-ld: install-info-ld
12038
12039 install-info-ld: \
12040     configure-ld \
12041     info-ld 
12042         @[ -f ./ld/Makefile ] || exit 0; \
12043         r=`${PWD_COMMAND}`; export r; \
12044         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12045         $(SET_LIB_PATH) \
12046         $(HOST_EXPORTS) \
12047         for flag in $(EXTRA_HOST_FLAGS) ; do \
12048           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12049         done; \
12050         echo "Doing install-info in ld" ; \
12051         (cd ld && \
12052           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12053                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12054                   "RANLIB=$${RANLIB}" \
12055                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12056                   install-info) \
12057           || exit 1
12058
12059 @endif ld
12060
12061 .PHONY: maybe-installcheck-ld installcheck-ld
12062 maybe-installcheck-ld:
12063 @if ld
12064 maybe-installcheck-ld: installcheck-ld
12065
12066 installcheck-ld: \
12067     configure-ld 
12068         @[ -f ./ld/Makefile ] || exit 0; \
12069         r=`${PWD_COMMAND}`; export r; \
12070         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12071         $(SET_LIB_PATH) \
12072         $(HOST_EXPORTS) \
12073         for flag in $(EXTRA_HOST_FLAGS) ; do \
12074           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12075         done; \
12076         echo "Doing installcheck in ld" ; \
12077         (cd ld && \
12078           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12079                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12080                   "RANLIB=$${RANLIB}" \
12081                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12082                   installcheck) \
12083           || exit 1
12084
12085 @endif ld
12086
12087 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12088 maybe-mostlyclean-ld:
12089 @if ld
12090 maybe-mostlyclean-ld: mostlyclean-ld
12091
12092 mostlyclean-ld: 
12093         @[ -f ./ld/Makefile ] || exit 0; \
12094         r=`${PWD_COMMAND}`; export r; \
12095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12096         $(SET_LIB_PATH) \
12097         $(HOST_EXPORTS) \
12098         for flag in $(EXTRA_HOST_FLAGS) ; do \
12099           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12100         done; \
12101         echo "Doing mostlyclean in ld" ; \
12102         (cd ld && \
12103           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12104                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12105                   "RANLIB=$${RANLIB}" \
12106                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12107                   mostlyclean) \
12108           || exit 1
12109
12110 @endif ld
12111
12112 .PHONY: maybe-clean-ld clean-ld
12113 maybe-clean-ld:
12114 @if ld
12115 maybe-clean-ld: clean-ld
12116
12117 clean-ld: 
12118         @[ -f ./ld/Makefile ] || exit 0; \
12119         r=`${PWD_COMMAND}`; export r; \
12120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12121         $(SET_LIB_PATH) \
12122         $(HOST_EXPORTS) \
12123         for flag in $(EXTRA_HOST_FLAGS) ; do \
12124           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12125         done; \
12126         echo "Doing clean in ld" ; \
12127         (cd ld && \
12128           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12129                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12130                   "RANLIB=$${RANLIB}" \
12131                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12132                   clean) \
12133           || exit 1
12134
12135 @endif ld
12136
12137 .PHONY: maybe-distclean-ld distclean-ld
12138 maybe-distclean-ld:
12139 @if ld
12140 maybe-distclean-ld: distclean-ld
12141
12142 distclean-ld: 
12143         @[ -f ./ld/Makefile ] || exit 0; \
12144         r=`${PWD_COMMAND}`; export r; \
12145         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12146         $(SET_LIB_PATH) \
12147         $(HOST_EXPORTS) \
12148         for flag in $(EXTRA_HOST_FLAGS) ; do \
12149           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12150         done; \
12151         echo "Doing distclean in ld" ; \
12152         (cd ld && \
12153           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12154                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12155                   "RANLIB=$${RANLIB}" \
12156                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12157                   distclean) \
12158           || exit 1
12159
12160 @endif ld
12161
12162 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12163 maybe-maintainer-clean-ld:
12164 @if ld
12165 maybe-maintainer-clean-ld: maintainer-clean-ld
12166
12167 maintainer-clean-ld: 
12168         @[ -f ./ld/Makefile ] || exit 0; \
12169         r=`${PWD_COMMAND}`; export r; \
12170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12171         $(SET_LIB_PATH) \
12172         $(HOST_EXPORTS) \
12173         for flag in $(EXTRA_HOST_FLAGS) ; do \
12174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12175         done; \
12176         echo "Doing maintainer-clean in ld" ; \
12177         (cd ld && \
12178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12180                   "RANLIB=$${RANLIB}" \
12181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12182                   maintainer-clean) \
12183           || exit 1
12184
12185 @endif ld
12186
12187
12188 .PHONY: configure-libcpp maybe-configure-libcpp
12189 maybe-configure-libcpp:
12190 @if libcpp
12191 maybe-configure-libcpp: configure-libcpp
12192 configure-libcpp:
12193         @test ! -f libcpp/Makefile || exit 0; \
12194         [ -d libcpp ] || mkdir libcpp; \
12195         r=`${PWD_COMMAND}`; export r; \
12196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12197         $(HOST_EXPORTS) \
12198         echo Configuring in libcpp; \
12199         cd libcpp || exit 1; \
12200         case $(srcdir) in \
12201           \.) \
12202             srcdiroption="--srcdir=."; \
12203             libsrcdir=".";; \
12204           /* | [A-Za-z]:[\\/]*) \
12205             srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12206             libsrcdir="$$s/libcpp";; \
12207           *) \
12208             srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12209             libsrcdir="$$s/libcpp";; \
12210         esac; \
12211         $(SHELL) $${libsrcdir}/configure \
12212           $(HOST_CONFIGARGS) $${srcdiroption}  \
12213           || exit 1
12214 @endif libcpp
12215
12216 .PHONY: all-libcpp maybe-all-libcpp
12217 maybe-all-libcpp:
12218 @if libcpp
12219 maybe-all-libcpp: all-libcpp
12220 all-libcpp: configure-libcpp
12221         @r=`${PWD_COMMAND}`; export r; \
12222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12223         $(SET_LIB_PATH) \
12224         $(HOST_EXPORTS) \
12225         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS)  all)
12226 @endif libcpp
12227
12228 .PHONY: check-libcpp maybe-check-libcpp
12229 maybe-check-libcpp:
12230 @if libcpp
12231 maybe-check-libcpp: check-libcpp
12232
12233 check-libcpp:
12234         @r=`${PWD_COMMAND}`; export r; \
12235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12236         $(SET_LIB_PATH) \
12237         $(HOST_EXPORTS) \
12238         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS)  check)
12239
12240 @endif libcpp
12241
12242 .PHONY: install-libcpp maybe-install-libcpp
12243 maybe-install-libcpp:
12244 @if libcpp
12245 maybe-install-libcpp: install-libcpp
12246
12247 install-libcpp: installdirs
12248         @r=`${PWD_COMMAND}`; export r; \
12249         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12250         $(SET_LIB_PATH) \
12251         $(HOST_EXPORTS) \
12252         (cd libcpp && $(MAKE) $(FLAGS_TO_PASS)  install)
12253
12254 @endif libcpp
12255
12256 # Other targets (info, dvi, etc.)
12257
12258 .PHONY: maybe-info-libcpp info-libcpp
12259 maybe-info-libcpp:
12260 @if libcpp
12261 maybe-info-libcpp: info-libcpp
12262
12263 info-libcpp: \
12264     configure-libcpp 
12265         @[ -f ./libcpp/Makefile ] || exit 0; \
12266         r=`${PWD_COMMAND}`; export r; \
12267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12268         $(SET_LIB_PATH) \
12269         $(HOST_EXPORTS) \
12270         for flag in $(EXTRA_HOST_FLAGS) ; do \
12271           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12272         done; \
12273         echo "Doing info in libcpp" ; \
12274         (cd libcpp && \
12275           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12276                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12277                   "RANLIB=$${RANLIB}" \
12278                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12279                   info) \
12280           || exit 1
12281
12282 @endif libcpp
12283
12284 .PHONY: maybe-dvi-libcpp dvi-libcpp
12285 maybe-dvi-libcpp:
12286 @if libcpp
12287 maybe-dvi-libcpp: dvi-libcpp
12288
12289 dvi-libcpp: \
12290     configure-libcpp 
12291         @[ -f ./libcpp/Makefile ] || exit 0; \
12292         r=`${PWD_COMMAND}`; export r; \
12293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12294         $(SET_LIB_PATH) \
12295         $(HOST_EXPORTS) \
12296         for flag in $(EXTRA_HOST_FLAGS) ; do \
12297           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12298         done; \
12299         echo "Doing dvi in libcpp" ; \
12300         (cd libcpp && \
12301           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12302                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12303                   "RANLIB=$${RANLIB}" \
12304                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12305                   dvi) \
12306           || exit 1
12307
12308 @endif libcpp
12309
12310 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12311 maybe-TAGS-libcpp:
12312 @if libcpp
12313 maybe-TAGS-libcpp: TAGS-libcpp
12314
12315 TAGS-libcpp: \
12316     configure-libcpp 
12317         @[ -f ./libcpp/Makefile ] || exit 0; \
12318         r=`${PWD_COMMAND}`; export r; \
12319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12320         $(SET_LIB_PATH) \
12321         $(HOST_EXPORTS) \
12322         for flag in $(EXTRA_HOST_FLAGS) ; do \
12323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324         done; \
12325         echo "Doing TAGS in libcpp" ; \
12326         (cd libcpp && \
12327           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329                   "RANLIB=$${RANLIB}" \
12330                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331                   TAGS) \
12332           || exit 1
12333
12334 @endif libcpp
12335
12336 .PHONY: maybe-install-info-libcpp install-info-libcpp
12337 maybe-install-info-libcpp:
12338 @if libcpp
12339 maybe-install-info-libcpp: install-info-libcpp
12340
12341 install-info-libcpp: \
12342     configure-libcpp \
12343     info-libcpp 
12344         @[ -f ./libcpp/Makefile ] || exit 0; \
12345         r=`${PWD_COMMAND}`; export r; \
12346         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12347         $(SET_LIB_PATH) \
12348         $(HOST_EXPORTS) \
12349         for flag in $(EXTRA_HOST_FLAGS) ; do \
12350           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12351         done; \
12352         echo "Doing install-info in libcpp" ; \
12353         (cd libcpp && \
12354           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12355                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12356                   "RANLIB=$${RANLIB}" \
12357                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12358                   install-info) \
12359           || exit 1
12360
12361 @endif libcpp
12362
12363 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12364 maybe-installcheck-libcpp:
12365 @if libcpp
12366 maybe-installcheck-libcpp: installcheck-libcpp
12367
12368 installcheck-libcpp: \
12369     configure-libcpp 
12370         @[ -f ./libcpp/Makefile ] || exit 0; \
12371         r=`${PWD_COMMAND}`; export r; \
12372         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12373         $(SET_LIB_PATH) \
12374         $(HOST_EXPORTS) \
12375         for flag in $(EXTRA_HOST_FLAGS) ; do \
12376           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12377         done; \
12378         echo "Doing installcheck in libcpp" ; \
12379         (cd libcpp && \
12380           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12381                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12382                   "RANLIB=$${RANLIB}" \
12383                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12384                   installcheck) \
12385           || exit 1
12386
12387 @endif libcpp
12388
12389 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12390 maybe-mostlyclean-libcpp:
12391 @if libcpp
12392 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12393
12394 mostlyclean-libcpp: 
12395         @[ -f ./libcpp/Makefile ] || exit 0; \
12396         r=`${PWD_COMMAND}`; export r; \
12397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12398         $(SET_LIB_PATH) \
12399         $(HOST_EXPORTS) \
12400         for flag in $(EXTRA_HOST_FLAGS) ; do \
12401           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12402         done; \
12403         echo "Doing mostlyclean in libcpp" ; \
12404         (cd libcpp && \
12405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12407                   "RANLIB=$${RANLIB}" \
12408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12409                   mostlyclean) \
12410           || exit 1
12411
12412 @endif libcpp
12413
12414 .PHONY: maybe-clean-libcpp clean-libcpp
12415 maybe-clean-libcpp:
12416 @if libcpp
12417 maybe-clean-libcpp: clean-libcpp
12418
12419 clean-libcpp: 
12420         @[ -f ./libcpp/Makefile ] || exit 0; \
12421         r=`${PWD_COMMAND}`; export r; \
12422         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12423         $(SET_LIB_PATH) \
12424         $(HOST_EXPORTS) \
12425         for flag in $(EXTRA_HOST_FLAGS) ; do \
12426           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12427         done; \
12428         echo "Doing clean in libcpp" ; \
12429         (cd libcpp && \
12430           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12431                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12432                   "RANLIB=$${RANLIB}" \
12433                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12434                   clean) \
12435           || exit 1
12436
12437 @endif libcpp
12438
12439 .PHONY: maybe-distclean-libcpp distclean-libcpp
12440 maybe-distclean-libcpp:
12441 @if libcpp
12442 maybe-distclean-libcpp: distclean-libcpp
12443
12444 distclean-libcpp: 
12445         @[ -f ./libcpp/Makefile ] || exit 0; \
12446         r=`${PWD_COMMAND}`; export r; \
12447         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12448         $(SET_LIB_PATH) \
12449         $(HOST_EXPORTS) \
12450         for flag in $(EXTRA_HOST_FLAGS) ; do \
12451           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12452         done; \
12453         echo "Doing distclean in libcpp" ; \
12454         (cd libcpp && \
12455           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12456                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12457                   "RANLIB=$${RANLIB}" \
12458                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12459                   distclean) \
12460           || exit 1
12461
12462 @endif libcpp
12463
12464 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12465 maybe-maintainer-clean-libcpp:
12466 @if libcpp
12467 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12468
12469 maintainer-clean-libcpp: 
12470         @[ -f ./libcpp/Makefile ] || exit 0; \
12471         r=`${PWD_COMMAND}`; export r; \
12472         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12473         $(SET_LIB_PATH) \
12474         $(HOST_EXPORTS) \
12475         for flag in $(EXTRA_HOST_FLAGS) ; do \
12476           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12477         done; \
12478         echo "Doing maintainer-clean in libcpp" ; \
12479         (cd libcpp && \
12480           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12481                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12482                   "RANLIB=$${RANLIB}" \
12483                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12484                   maintainer-clean) \
12485           || exit 1
12486
12487 @endif libcpp
12488
12489
12490 .PHONY: configure-libgui maybe-configure-libgui
12491 maybe-configure-libgui:
12492 @if libgui
12493 maybe-configure-libgui: configure-libgui
12494 configure-libgui:
12495         @test ! -f libgui/Makefile || exit 0; \
12496         [ -d libgui ] || mkdir libgui; \
12497         r=`${PWD_COMMAND}`; export r; \
12498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12499         $(HOST_EXPORTS) \
12500         echo Configuring in libgui; \
12501         cd libgui || exit 1; \
12502         case $(srcdir) in \
12503           \.) \
12504             srcdiroption="--srcdir=."; \
12505             libsrcdir=".";; \
12506           /* | [A-Za-z]:[\\/]*) \
12507             srcdiroption="--srcdir=$(srcdir)/libgui"; \
12508             libsrcdir="$$s/libgui";; \
12509           *) \
12510             srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12511             libsrcdir="$$s/libgui";; \
12512         esac; \
12513         $(SHELL) $${libsrcdir}/configure \
12514           $(HOST_CONFIGARGS) $${srcdiroption}  \
12515           || exit 1
12516 @endif libgui
12517
12518 .PHONY: all-libgui maybe-all-libgui
12519 maybe-all-libgui:
12520 @if libgui
12521 maybe-all-libgui: all-libgui
12522 all-libgui: configure-libgui
12523         @r=`${PWD_COMMAND}`; export r; \
12524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12525         $(SET_LIB_PATH) \
12526         $(HOST_EXPORTS) \
12527         (cd libgui && $(MAKE) $(FLAGS_TO_PASS)  all)
12528 @endif libgui
12529
12530 .PHONY: check-libgui maybe-check-libgui
12531 maybe-check-libgui:
12532 @if libgui
12533 maybe-check-libgui: check-libgui
12534
12535 check-libgui:
12536         @r=`${PWD_COMMAND}`; export r; \
12537         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12538         $(SET_LIB_PATH) \
12539         $(HOST_EXPORTS) \
12540         (cd libgui && $(MAKE) $(FLAGS_TO_PASS)  check)
12541
12542 @endif libgui
12543
12544 .PHONY: install-libgui maybe-install-libgui
12545 maybe-install-libgui:
12546 @if libgui
12547 maybe-install-libgui: install-libgui
12548
12549 install-libgui: installdirs
12550         @r=`${PWD_COMMAND}`; export r; \
12551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12552         $(SET_LIB_PATH) \
12553         $(HOST_EXPORTS) \
12554         (cd libgui && $(MAKE) $(FLAGS_TO_PASS)  install)
12555
12556 @endif libgui
12557
12558 # Other targets (info, dvi, etc.)
12559
12560 .PHONY: maybe-info-libgui info-libgui
12561 maybe-info-libgui:
12562 @if libgui
12563 maybe-info-libgui: info-libgui
12564
12565 info-libgui: \
12566     configure-libgui 
12567         @[ -f ./libgui/Makefile ] || exit 0; \
12568         r=`${PWD_COMMAND}`; export r; \
12569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12570         $(SET_LIB_PATH) \
12571         $(HOST_EXPORTS) \
12572         for flag in $(EXTRA_HOST_FLAGS) ; do \
12573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12574         done; \
12575         echo "Doing info in libgui" ; \
12576         (cd libgui && \
12577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12579                   "RANLIB=$${RANLIB}" \
12580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12581                   info) \
12582           || exit 1
12583
12584 @endif libgui
12585
12586 .PHONY: maybe-dvi-libgui dvi-libgui
12587 maybe-dvi-libgui:
12588 @if libgui
12589 maybe-dvi-libgui: dvi-libgui
12590
12591 dvi-libgui: \
12592     configure-libgui 
12593         @[ -f ./libgui/Makefile ] || exit 0; \
12594         r=`${PWD_COMMAND}`; export r; \
12595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596         $(SET_LIB_PATH) \
12597         $(HOST_EXPORTS) \
12598         for flag in $(EXTRA_HOST_FLAGS) ; do \
12599           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12600         done; \
12601         echo "Doing dvi in libgui" ; \
12602         (cd libgui && \
12603           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12604                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12605                   "RANLIB=$${RANLIB}" \
12606                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12607                   dvi) \
12608           || exit 1
12609
12610 @endif libgui
12611
12612 .PHONY: maybe-TAGS-libgui TAGS-libgui
12613 maybe-TAGS-libgui:
12614 @if libgui
12615 maybe-TAGS-libgui: TAGS-libgui
12616
12617 TAGS-libgui: \
12618     configure-libgui 
12619         @[ -f ./libgui/Makefile ] || exit 0; \
12620         r=`${PWD_COMMAND}`; export r; \
12621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622         $(SET_LIB_PATH) \
12623         $(HOST_EXPORTS) \
12624         for flag in $(EXTRA_HOST_FLAGS) ; do \
12625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626         done; \
12627         echo "Doing TAGS in libgui" ; \
12628         (cd libgui && \
12629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631                   "RANLIB=$${RANLIB}" \
12632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12633                   TAGS) \
12634           || exit 1
12635
12636 @endif libgui
12637
12638 .PHONY: maybe-install-info-libgui install-info-libgui
12639 maybe-install-info-libgui:
12640 @if libgui
12641 maybe-install-info-libgui: install-info-libgui
12642
12643 install-info-libgui: \
12644     configure-libgui \
12645     info-libgui 
12646         @[ -f ./libgui/Makefile ] || exit 0; \
12647         r=`${PWD_COMMAND}`; export r; \
12648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12649         $(SET_LIB_PATH) \
12650         $(HOST_EXPORTS) \
12651         for flag in $(EXTRA_HOST_FLAGS) ; do \
12652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653         done; \
12654         echo "Doing install-info in libgui" ; \
12655         (cd libgui && \
12656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658                   "RANLIB=$${RANLIB}" \
12659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12660                   install-info) \
12661           || exit 1
12662
12663 @endif libgui
12664
12665 .PHONY: maybe-installcheck-libgui installcheck-libgui
12666 maybe-installcheck-libgui:
12667 @if libgui
12668 maybe-installcheck-libgui: installcheck-libgui
12669
12670 installcheck-libgui: \
12671     configure-libgui 
12672         @[ -f ./libgui/Makefile ] || exit 0; \
12673         r=`${PWD_COMMAND}`; export r; \
12674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675         $(SET_LIB_PATH) \
12676         $(HOST_EXPORTS) \
12677         for flag in $(EXTRA_HOST_FLAGS) ; do \
12678           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12679         done; \
12680         echo "Doing installcheck in libgui" ; \
12681         (cd libgui && \
12682           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12683                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12684                   "RANLIB=$${RANLIB}" \
12685                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12686                   installcheck) \
12687           || exit 1
12688
12689 @endif libgui
12690
12691 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12692 maybe-mostlyclean-libgui:
12693 @if libgui
12694 maybe-mostlyclean-libgui: mostlyclean-libgui
12695
12696 mostlyclean-libgui: 
12697         @[ -f ./libgui/Makefile ] || exit 0; \
12698         r=`${PWD_COMMAND}`; export r; \
12699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12700         $(SET_LIB_PATH) \
12701         $(HOST_EXPORTS) \
12702         for flag in $(EXTRA_HOST_FLAGS) ; do \
12703           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12704         done; \
12705         echo "Doing mostlyclean in libgui" ; \
12706         (cd libgui && \
12707           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12708                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12709                   "RANLIB=$${RANLIB}" \
12710                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12711                   mostlyclean) \
12712           || exit 1
12713
12714 @endif libgui
12715
12716 .PHONY: maybe-clean-libgui clean-libgui
12717 maybe-clean-libgui:
12718 @if libgui
12719 maybe-clean-libgui: clean-libgui
12720
12721 clean-libgui: 
12722         @[ -f ./libgui/Makefile ] || exit 0; \
12723         r=`${PWD_COMMAND}`; export r; \
12724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12725         $(SET_LIB_PATH) \
12726         $(HOST_EXPORTS) \
12727         for flag in $(EXTRA_HOST_FLAGS) ; do \
12728           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12729         done; \
12730         echo "Doing clean in libgui" ; \
12731         (cd libgui && \
12732           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12733                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12734                   "RANLIB=$${RANLIB}" \
12735                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12736                   clean) \
12737           || exit 1
12738
12739 @endif libgui
12740
12741 .PHONY: maybe-distclean-libgui distclean-libgui
12742 maybe-distclean-libgui:
12743 @if libgui
12744 maybe-distclean-libgui: distclean-libgui
12745
12746 distclean-libgui: 
12747         @[ -f ./libgui/Makefile ] || exit 0; \
12748         r=`${PWD_COMMAND}`; export r; \
12749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12750         $(SET_LIB_PATH) \
12751         $(HOST_EXPORTS) \
12752         for flag in $(EXTRA_HOST_FLAGS) ; do \
12753           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12754         done; \
12755         echo "Doing distclean in libgui" ; \
12756         (cd libgui && \
12757           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12758                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12759                   "RANLIB=$${RANLIB}" \
12760                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12761                   distclean) \
12762           || exit 1
12763
12764 @endif libgui
12765
12766 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12767 maybe-maintainer-clean-libgui:
12768 @if libgui
12769 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12770
12771 maintainer-clean-libgui: 
12772         @[ -f ./libgui/Makefile ] || exit 0; \
12773         r=`${PWD_COMMAND}`; export r; \
12774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12775         $(SET_LIB_PATH) \
12776         $(HOST_EXPORTS) \
12777         for flag in $(EXTRA_HOST_FLAGS) ; do \
12778           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12779         done; \
12780         echo "Doing maintainer-clean in libgui" ; \
12781         (cd libgui && \
12782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12784                   "RANLIB=$${RANLIB}" \
12785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12786                   maintainer-clean) \
12787           || exit 1
12788
12789 @endif libgui
12790
12791
12792 .PHONY: configure-libbanshee maybe-configure-libbanshee
12793 maybe-configure-libbanshee:
12794 @if libbanshee
12795 maybe-configure-libbanshee: configure-libbanshee
12796 configure-libbanshee:
12797         @test ! -f libbanshee/Makefile || exit 0; \
12798         [ -d libbanshee ] || mkdir libbanshee; \
12799         r=`${PWD_COMMAND}`; export r; \
12800         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12801         $(HOST_EXPORTS) \
12802         echo Configuring in libbanshee; \
12803         cd libbanshee || exit 1; \
12804         case $(srcdir) in \
12805           \.) \
12806             srcdiroption="--srcdir=."; \
12807             libsrcdir=".";; \
12808           /* | [A-Za-z]:[\\/]*) \
12809             srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12810             libsrcdir="$$s/libbanshee";; \
12811           *) \
12812             srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12813             libsrcdir="$$s/libbanshee";; \
12814         esac; \
12815         $(SHELL) $${libsrcdir}/configure \
12816           $(HOST_CONFIGARGS) $${srcdiroption}  \
12817           || exit 1
12818 @endif libbanshee
12819
12820 .PHONY: all-libbanshee maybe-all-libbanshee
12821 maybe-all-libbanshee:
12822 @if libbanshee
12823 maybe-all-libbanshee: all-libbanshee
12824 all-libbanshee: configure-libbanshee
12825         @r=`${PWD_COMMAND}`; export r; \
12826         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12827         $(SET_LIB_PATH) \
12828         $(HOST_EXPORTS) \
12829         (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS)  all)
12830 @endif libbanshee
12831
12832 .PHONY: check-libbanshee maybe-check-libbanshee
12833 maybe-check-libbanshee:
12834 @if libbanshee
12835 maybe-check-libbanshee: check-libbanshee
12836
12837 check-libbanshee:
12838         @r=`${PWD_COMMAND}`; export r; \
12839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12840         $(SET_LIB_PATH) \
12841         $(HOST_EXPORTS) \
12842         (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS)  check)
12843
12844 @endif libbanshee
12845
12846 .PHONY: install-libbanshee maybe-install-libbanshee
12847 maybe-install-libbanshee:
12848 @if libbanshee
12849 maybe-install-libbanshee: install-libbanshee
12850
12851 install-libbanshee:
12852
12853 @endif libbanshee
12854
12855 # Other targets (info, dvi, etc.)
12856
12857 .PHONY: maybe-info-libbanshee info-libbanshee
12858 maybe-info-libbanshee:
12859 @if libbanshee
12860 maybe-info-libbanshee: info-libbanshee
12861
12862 info-libbanshee: \
12863     configure-libbanshee 
12864         @[ -f ./libbanshee/Makefile ] || exit 0; \
12865         r=`${PWD_COMMAND}`; export r; \
12866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12867         $(SET_LIB_PATH) \
12868         $(HOST_EXPORTS) \
12869         for flag in $(EXTRA_HOST_FLAGS) ; do \
12870           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12871         done; \
12872         echo "Doing info in libbanshee" ; \
12873         (cd libbanshee && \
12874           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12875                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12876                   "RANLIB=$${RANLIB}" \
12877                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12878                   info) \
12879           || exit 1
12880
12881 @endif libbanshee
12882
12883 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12884 maybe-dvi-libbanshee:
12885 @if libbanshee
12886 maybe-dvi-libbanshee: dvi-libbanshee
12887
12888 dvi-libbanshee: \
12889     configure-libbanshee 
12890         @[ -f ./libbanshee/Makefile ] || exit 0; \
12891         r=`${PWD_COMMAND}`; export r; \
12892         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12893         $(SET_LIB_PATH) \
12894         $(HOST_EXPORTS) \
12895         for flag in $(EXTRA_HOST_FLAGS) ; do \
12896           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12897         done; \
12898         echo "Doing dvi in libbanshee" ; \
12899         (cd libbanshee && \
12900           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12901                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12902                   "RANLIB=$${RANLIB}" \
12903                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12904                   dvi) \
12905           || exit 1
12906
12907 @endif libbanshee
12908
12909 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12910 maybe-TAGS-libbanshee:
12911 @if libbanshee
12912 maybe-TAGS-libbanshee: TAGS-libbanshee
12913
12914 TAGS-libbanshee: \
12915     configure-libbanshee 
12916         @[ -f ./libbanshee/Makefile ] || exit 0; \
12917         r=`${PWD_COMMAND}`; export r; \
12918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12919         $(SET_LIB_PATH) \
12920         $(HOST_EXPORTS) \
12921         for flag in $(EXTRA_HOST_FLAGS) ; do \
12922           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12923         done; \
12924         echo "Doing TAGS in libbanshee" ; \
12925         (cd libbanshee && \
12926           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12927                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12928                   "RANLIB=$${RANLIB}" \
12929                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12930                   TAGS) \
12931           || exit 1
12932
12933 @endif libbanshee
12934
12935 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12936 maybe-install-info-libbanshee:
12937 @if libbanshee
12938 maybe-install-info-libbanshee: install-info-libbanshee
12939
12940 install-info-libbanshee: \
12941     configure-libbanshee \
12942     info-libbanshee 
12943         @[ -f ./libbanshee/Makefile ] || exit 0; \
12944         r=`${PWD_COMMAND}`; export r; \
12945         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12946         $(SET_LIB_PATH) \
12947         $(HOST_EXPORTS) \
12948         for flag in $(EXTRA_HOST_FLAGS) ; do \
12949           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12950         done; \
12951         echo "Doing install-info in libbanshee" ; \
12952         (cd libbanshee && \
12953           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12954                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12955                   "RANLIB=$${RANLIB}" \
12956                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12957                   install-info) \
12958           || exit 1
12959
12960 @endif libbanshee
12961
12962 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12963 maybe-installcheck-libbanshee:
12964 @if libbanshee
12965 maybe-installcheck-libbanshee: installcheck-libbanshee
12966
12967 installcheck-libbanshee: \
12968     configure-libbanshee 
12969         @[ -f ./libbanshee/Makefile ] || exit 0; \
12970         r=`${PWD_COMMAND}`; export r; \
12971         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12972         $(SET_LIB_PATH) \
12973         $(HOST_EXPORTS) \
12974         for flag in $(EXTRA_HOST_FLAGS) ; do \
12975           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12976         done; \
12977         echo "Doing installcheck in libbanshee" ; \
12978         (cd libbanshee && \
12979           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12980                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12981                   "RANLIB=$${RANLIB}" \
12982                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12983                   installcheck) \
12984           || exit 1
12985
12986 @endif libbanshee
12987
12988 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12989 maybe-mostlyclean-libbanshee:
12990 @if libbanshee
12991 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12992
12993 mostlyclean-libbanshee: 
12994         @[ -f ./libbanshee/Makefile ] || exit 0; \
12995         r=`${PWD_COMMAND}`; export r; \
12996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12997         $(SET_LIB_PATH) \
12998         $(HOST_EXPORTS) \
12999         for flag in $(EXTRA_HOST_FLAGS) ; do \
13000           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001         done; \
13002         echo "Doing mostlyclean in libbanshee" ; \
13003         (cd libbanshee && \
13004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006                   "RANLIB=$${RANLIB}" \
13007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13008                   mostlyclean) \
13009           || exit 1
13010
13011 @endif libbanshee
13012
13013 .PHONY: maybe-clean-libbanshee clean-libbanshee
13014 maybe-clean-libbanshee:
13015 @if libbanshee
13016 maybe-clean-libbanshee: clean-libbanshee
13017
13018 clean-libbanshee: 
13019         @[ -f ./libbanshee/Makefile ] || exit 0; \
13020         r=`${PWD_COMMAND}`; export r; \
13021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022         $(SET_LIB_PATH) \
13023         $(HOST_EXPORTS) \
13024         for flag in $(EXTRA_HOST_FLAGS) ; do \
13025           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13026         done; \
13027         echo "Doing clean in libbanshee" ; \
13028         (cd libbanshee && \
13029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13031                   "RANLIB=$${RANLIB}" \
13032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13033                   clean) \
13034           || exit 1
13035
13036 @endif libbanshee
13037
13038 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
13039 maybe-distclean-libbanshee:
13040 @if libbanshee
13041 maybe-distclean-libbanshee: distclean-libbanshee
13042
13043 distclean-libbanshee: 
13044         @[ -f ./libbanshee/Makefile ] || exit 0; \
13045         r=`${PWD_COMMAND}`; export r; \
13046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13047         $(SET_LIB_PATH) \
13048         $(HOST_EXPORTS) \
13049         for flag in $(EXTRA_HOST_FLAGS) ; do \
13050           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13051         done; \
13052         echo "Doing distclean in libbanshee" ; \
13053         (cd libbanshee && \
13054           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13055                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13056                   "RANLIB=$${RANLIB}" \
13057                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13058                   distclean) \
13059           || exit 1
13060
13061 @endif libbanshee
13062
13063 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
13064 maybe-maintainer-clean-libbanshee:
13065 @if libbanshee
13066 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
13067
13068 maintainer-clean-libbanshee: 
13069         @[ -f ./libbanshee/Makefile ] || exit 0; \
13070         r=`${PWD_COMMAND}`; export r; \
13071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13072         $(SET_LIB_PATH) \
13073         $(HOST_EXPORTS) \
13074         for flag in $(EXTRA_HOST_FLAGS) ; do \
13075           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13076         done; \
13077         echo "Doing maintainer-clean in libbanshee" ; \
13078         (cd libbanshee && \
13079           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13080                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13081                   "RANLIB=$${RANLIB}" \
13082                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13083                   maintainer-clean) \
13084           || exit 1
13085
13086 @endif libbanshee
13087
13088
13089 .PHONY: configure-libiberty maybe-configure-libiberty
13090 maybe-configure-libiberty:
13091 @if libiberty
13092 maybe-configure-libiberty: configure-libiberty
13093 configure-libiberty:
13094         @test ! -f libiberty/Makefile || exit 0; \
13095         [ -d libiberty ] || mkdir libiberty; \
13096         r=`${PWD_COMMAND}`; export r; \
13097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13098         $(HOST_EXPORTS) \
13099         echo Configuring in libiberty; \
13100         cd libiberty || exit 1; \
13101         case $(srcdir) in \
13102           \.) \
13103             srcdiroption="--srcdir=."; \
13104             libsrcdir=".";; \
13105           /* | [A-Za-z]:[\\/]*) \
13106             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
13107             libsrcdir="$$s/libiberty";; \
13108           *) \
13109             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
13110             libsrcdir="$$s/libiberty";; \
13111         esac; \
13112         $(SHELL) $${libsrcdir}/configure \
13113           $(HOST_CONFIGARGS) $${srcdiroption}  \
13114           || exit 1
13115 @endif libiberty
13116
13117 .PHONY: all-libiberty maybe-all-libiberty
13118 maybe-all-libiberty:
13119 @if libiberty
13120 maybe-all-libiberty: all-libiberty
13121 all-libiberty: configure-libiberty
13122         @r=`${PWD_COMMAND}`; export r; \
13123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13124         $(SET_LIB_PATH) \
13125         $(HOST_EXPORTS) \
13126         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS)  all)
13127 @endif libiberty
13128
13129 .PHONY: check-libiberty maybe-check-libiberty
13130 maybe-check-libiberty:
13131 @if libiberty
13132 maybe-check-libiberty: check-libiberty
13133
13134 check-libiberty:
13135         @r=`${PWD_COMMAND}`; export r; \
13136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137         $(SET_LIB_PATH) \
13138         $(HOST_EXPORTS) \
13139         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS)  check)
13140
13141 @endif libiberty
13142
13143 .PHONY: install-libiberty maybe-install-libiberty
13144 maybe-install-libiberty:
13145 @if libiberty
13146 maybe-install-libiberty: install-libiberty
13147
13148 install-libiberty: installdirs
13149         @r=`${PWD_COMMAND}`; export r; \
13150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13151         $(SET_LIB_PATH) \
13152         $(HOST_EXPORTS) \
13153         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS)  install)
13154
13155 @endif libiberty
13156
13157 # Other targets (info, dvi, etc.)
13158
13159 .PHONY: maybe-info-libiberty info-libiberty
13160 maybe-info-libiberty:
13161 @if libiberty
13162 maybe-info-libiberty: info-libiberty
13163
13164 info-libiberty: \
13165     configure-libiberty 
13166         @[ -f ./libiberty/Makefile ] || exit 0; \
13167         r=`${PWD_COMMAND}`; export r; \
13168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13169         $(SET_LIB_PATH) \
13170         $(HOST_EXPORTS) \
13171         for flag in $(EXTRA_HOST_FLAGS) ; do \
13172           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13173         done; \
13174         echo "Doing info in libiberty" ; \
13175         (cd libiberty && \
13176           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13177                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13178                   "RANLIB=$${RANLIB}" \
13179                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13180                   info) \
13181           || exit 1
13182
13183 @endif libiberty
13184
13185 .PHONY: maybe-dvi-libiberty dvi-libiberty
13186 maybe-dvi-libiberty:
13187 @if libiberty
13188 maybe-dvi-libiberty: dvi-libiberty
13189
13190 dvi-libiberty: \
13191     configure-libiberty 
13192         @[ -f ./libiberty/Makefile ] || exit 0; \
13193         r=`${PWD_COMMAND}`; export r; \
13194         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13195         $(SET_LIB_PATH) \
13196         $(HOST_EXPORTS) \
13197         for flag in $(EXTRA_HOST_FLAGS) ; do \
13198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13199         done; \
13200         echo "Doing dvi in libiberty" ; \
13201         (cd libiberty && \
13202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13204                   "RANLIB=$${RANLIB}" \
13205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13206                   dvi) \
13207           || exit 1
13208
13209 @endif libiberty
13210
13211 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13212 maybe-TAGS-libiberty:
13213 @if libiberty
13214 maybe-TAGS-libiberty: TAGS-libiberty
13215
13216 TAGS-libiberty: \
13217     configure-libiberty 
13218         @[ -f ./libiberty/Makefile ] || exit 0; \
13219         r=`${PWD_COMMAND}`; export r; \
13220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13221         $(SET_LIB_PATH) \
13222         $(HOST_EXPORTS) \
13223         for flag in $(EXTRA_HOST_FLAGS) ; do \
13224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13225         done; \
13226         echo "Doing TAGS in libiberty" ; \
13227         (cd libiberty && \
13228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13230                   "RANLIB=$${RANLIB}" \
13231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13232                   TAGS) \
13233           || exit 1
13234
13235 @endif libiberty
13236
13237 .PHONY: maybe-install-info-libiberty install-info-libiberty
13238 maybe-install-info-libiberty:
13239 @if libiberty
13240 maybe-install-info-libiberty: install-info-libiberty
13241
13242 install-info-libiberty: \
13243     configure-libiberty \
13244     info-libiberty 
13245         @[ -f ./libiberty/Makefile ] || exit 0; \
13246         r=`${PWD_COMMAND}`; export r; \
13247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13248         $(SET_LIB_PATH) \
13249         $(HOST_EXPORTS) \
13250         for flag in $(EXTRA_HOST_FLAGS) ; do \
13251           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13252         done; \
13253         echo "Doing install-info in libiberty" ; \
13254         (cd libiberty && \
13255           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13256                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13257                   "RANLIB=$${RANLIB}" \
13258                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13259                   install-info) \
13260           || exit 1
13261
13262 @endif libiberty
13263
13264 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13265 maybe-installcheck-libiberty:
13266 @if libiberty
13267 maybe-installcheck-libiberty: installcheck-libiberty
13268
13269 installcheck-libiberty: \
13270     configure-libiberty 
13271         @[ -f ./libiberty/Makefile ] || exit 0; \
13272         r=`${PWD_COMMAND}`; export r; \
13273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13274         $(SET_LIB_PATH) \
13275         $(HOST_EXPORTS) \
13276         for flag in $(EXTRA_HOST_FLAGS) ; do \
13277           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13278         done; \
13279         echo "Doing installcheck in libiberty" ; \
13280         (cd libiberty && \
13281           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13282                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13283                   "RANLIB=$${RANLIB}" \
13284                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13285                   installcheck) \
13286           || exit 1
13287
13288 @endif libiberty
13289
13290 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13291 maybe-mostlyclean-libiberty:
13292 @if libiberty
13293 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13294
13295 mostlyclean-libiberty: 
13296         @[ -f ./libiberty/Makefile ] || exit 0; \
13297         r=`${PWD_COMMAND}`; export r; \
13298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13299         $(SET_LIB_PATH) \
13300         $(HOST_EXPORTS) \
13301         for flag in $(EXTRA_HOST_FLAGS) ; do \
13302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13303         done; \
13304         echo "Doing mostlyclean in libiberty" ; \
13305         (cd libiberty && \
13306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308                   "RANLIB=$${RANLIB}" \
13309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13310                   mostlyclean) \
13311           || exit 1
13312
13313 @endif libiberty
13314
13315 .PHONY: maybe-clean-libiberty clean-libiberty
13316 maybe-clean-libiberty:
13317 @if libiberty
13318 maybe-clean-libiberty: clean-libiberty
13319
13320 clean-libiberty: 
13321         @[ -f ./libiberty/Makefile ] || exit 0; \
13322         r=`${PWD_COMMAND}`; export r; \
13323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13324         $(SET_LIB_PATH) \
13325         $(HOST_EXPORTS) \
13326         for flag in $(EXTRA_HOST_FLAGS) ; do \
13327           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13328         done; \
13329         echo "Doing clean in libiberty" ; \
13330         (cd libiberty && \
13331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13333                   "RANLIB=$${RANLIB}" \
13334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13335                   clean) \
13336           || exit 1
13337
13338 @endif libiberty
13339
13340 .PHONY: maybe-distclean-libiberty distclean-libiberty
13341 maybe-distclean-libiberty:
13342 @if libiberty
13343 maybe-distclean-libiberty: distclean-libiberty
13344
13345 distclean-libiberty: 
13346         @[ -f ./libiberty/Makefile ] || exit 0; \
13347         r=`${PWD_COMMAND}`; export r; \
13348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13349         $(SET_LIB_PATH) \
13350         $(HOST_EXPORTS) \
13351         for flag in $(EXTRA_HOST_FLAGS) ; do \
13352           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13353         done; \
13354         echo "Doing distclean in libiberty" ; \
13355         (cd libiberty && \
13356           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13357                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13358                   "RANLIB=$${RANLIB}" \
13359                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13360                   distclean) \
13361           || exit 1
13362
13363 @endif libiberty
13364
13365 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13366 maybe-maintainer-clean-libiberty:
13367 @if libiberty
13368 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13369
13370 maintainer-clean-libiberty: 
13371         @[ -f ./libiberty/Makefile ] || exit 0; \
13372         r=`${PWD_COMMAND}`; export r; \
13373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13374         $(SET_LIB_PATH) \
13375         $(HOST_EXPORTS) \
13376         for flag in $(EXTRA_HOST_FLAGS) ; do \
13377           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13378         done; \
13379         echo "Doing maintainer-clean in libiberty" ; \
13380         (cd libiberty && \
13381           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13382                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13383                   "RANLIB=$${RANLIB}" \
13384                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13385                   maintainer-clean) \
13386           || exit 1
13387
13388 @endif libiberty
13389
13390
13391 .PHONY: configure-libtool maybe-configure-libtool
13392 maybe-configure-libtool:
13393 @if libtool
13394 maybe-configure-libtool: configure-libtool
13395 configure-libtool:
13396         @test ! -f libtool/Makefile || exit 0; \
13397         [ -d libtool ] || mkdir libtool; \
13398         r=`${PWD_COMMAND}`; export r; \
13399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13400         $(HOST_EXPORTS) \
13401         echo Configuring in libtool; \
13402         cd libtool || exit 1; \
13403         case $(srcdir) in \
13404           \.) \
13405             srcdiroption="--srcdir=."; \
13406             libsrcdir=".";; \
13407           /* | [A-Za-z]:[\\/]*) \
13408             srcdiroption="--srcdir=$(srcdir)/libtool"; \
13409             libsrcdir="$$s/libtool";; \
13410           *) \
13411             srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13412             libsrcdir="$$s/libtool";; \
13413         esac; \
13414         $(SHELL) $${libsrcdir}/configure \
13415           $(HOST_CONFIGARGS) $${srcdiroption}  \
13416           || exit 1
13417 @endif libtool
13418
13419 .PHONY: all-libtool maybe-all-libtool
13420 maybe-all-libtool:
13421 @if libtool
13422 maybe-all-libtool: all-libtool
13423 all-libtool: configure-libtool
13424         @r=`${PWD_COMMAND}`; export r; \
13425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13426         $(SET_LIB_PATH) \
13427         $(HOST_EXPORTS) \
13428         (cd libtool && $(MAKE) $(FLAGS_TO_PASS)  all)
13429 @endif libtool
13430
13431 .PHONY: check-libtool maybe-check-libtool
13432 maybe-check-libtool:
13433 @if libtool
13434 maybe-check-libtool: check-libtool
13435
13436 check-libtool:
13437         @r=`${PWD_COMMAND}`; export r; \
13438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13439         $(SET_LIB_PATH) \
13440         $(HOST_EXPORTS) \
13441         (cd libtool && $(MAKE) $(FLAGS_TO_PASS)  check)
13442
13443 @endif libtool
13444
13445 .PHONY: install-libtool maybe-install-libtool
13446 maybe-install-libtool:
13447 @if libtool
13448 maybe-install-libtool: install-libtool
13449
13450 install-libtool: installdirs
13451         @r=`${PWD_COMMAND}`; export r; \
13452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13453         $(SET_LIB_PATH) \
13454         $(HOST_EXPORTS) \
13455         (cd libtool && $(MAKE) $(FLAGS_TO_PASS)  install)
13456
13457 @endif libtool
13458
13459 # Other targets (info, dvi, etc.)
13460
13461 .PHONY: maybe-info-libtool info-libtool
13462 maybe-info-libtool:
13463 @if libtool
13464 maybe-info-libtool: info-libtool
13465
13466 info-libtool: \
13467     configure-libtool 
13468         @[ -f ./libtool/Makefile ] || exit 0; \
13469         r=`${PWD_COMMAND}`; export r; \
13470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13471         $(SET_LIB_PATH) \
13472         $(HOST_EXPORTS) \
13473         for flag in $(EXTRA_HOST_FLAGS) ; do \
13474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13475         done; \
13476         echo "Doing info in libtool" ; \
13477         (cd libtool && \
13478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13480                   "RANLIB=$${RANLIB}" \
13481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13482                   info) \
13483           || exit 1
13484
13485 @endif libtool
13486
13487 .PHONY: maybe-dvi-libtool dvi-libtool
13488 maybe-dvi-libtool:
13489 @if libtool
13490 maybe-dvi-libtool: dvi-libtool
13491
13492 dvi-libtool: \
13493     configure-libtool 
13494         @[ -f ./libtool/Makefile ] || exit 0; \
13495         r=`${PWD_COMMAND}`; export r; \
13496         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13497         $(SET_LIB_PATH) \
13498         $(HOST_EXPORTS) \
13499         for flag in $(EXTRA_HOST_FLAGS) ; do \
13500           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13501         done; \
13502         echo "Doing dvi in libtool" ; \
13503         (cd libtool && \
13504           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13505                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13506                   "RANLIB=$${RANLIB}" \
13507                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13508                   dvi) \
13509           || exit 1
13510
13511 @endif libtool
13512
13513 .PHONY: maybe-TAGS-libtool TAGS-libtool
13514 maybe-TAGS-libtool:
13515 @if libtool
13516 maybe-TAGS-libtool: TAGS-libtool
13517
13518 TAGS-libtool: \
13519     configure-libtool 
13520         @[ -f ./libtool/Makefile ] || exit 0; \
13521         r=`${PWD_COMMAND}`; export r; \
13522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13523         $(SET_LIB_PATH) \
13524         $(HOST_EXPORTS) \
13525         for flag in $(EXTRA_HOST_FLAGS) ; do \
13526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13527         done; \
13528         echo "Doing TAGS in libtool" ; \
13529         (cd libtool && \
13530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13532                   "RANLIB=$${RANLIB}" \
13533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13534                   TAGS) \
13535           || exit 1
13536
13537 @endif libtool
13538
13539 .PHONY: maybe-install-info-libtool install-info-libtool
13540 maybe-install-info-libtool:
13541 @if libtool
13542 maybe-install-info-libtool: install-info-libtool
13543
13544 install-info-libtool: \
13545     configure-libtool \
13546     info-libtool 
13547         @[ -f ./libtool/Makefile ] || exit 0; \
13548         r=`${PWD_COMMAND}`; export r; \
13549         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13550         $(SET_LIB_PATH) \
13551         $(HOST_EXPORTS) \
13552         for flag in $(EXTRA_HOST_FLAGS) ; do \
13553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13554         done; \
13555         echo "Doing install-info in libtool" ; \
13556         (cd libtool && \
13557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13559                   "RANLIB=$${RANLIB}" \
13560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13561                   install-info) \
13562           || exit 1
13563
13564 @endif libtool
13565
13566 .PHONY: maybe-installcheck-libtool installcheck-libtool
13567 maybe-installcheck-libtool:
13568 @if libtool
13569 maybe-installcheck-libtool: installcheck-libtool
13570
13571 installcheck-libtool: \
13572     configure-libtool 
13573         @[ -f ./libtool/Makefile ] || exit 0; \
13574         r=`${PWD_COMMAND}`; export r; \
13575         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13576         $(SET_LIB_PATH) \
13577         $(HOST_EXPORTS) \
13578         for flag in $(EXTRA_HOST_FLAGS) ; do \
13579           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13580         done; \
13581         echo "Doing installcheck in libtool" ; \
13582         (cd libtool && \
13583           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13584                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13585                   "RANLIB=$${RANLIB}" \
13586                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13587                   installcheck) \
13588           || exit 1
13589
13590 @endif libtool
13591
13592 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13593 maybe-mostlyclean-libtool:
13594 @if libtool
13595 maybe-mostlyclean-libtool: mostlyclean-libtool
13596
13597 mostlyclean-libtool: 
13598         @[ -f ./libtool/Makefile ] || exit 0; \
13599         r=`${PWD_COMMAND}`; export r; \
13600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13601         $(SET_LIB_PATH) \
13602         $(HOST_EXPORTS) \
13603         for flag in $(EXTRA_HOST_FLAGS) ; do \
13604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13605         done; \
13606         echo "Doing mostlyclean in libtool" ; \
13607         (cd libtool && \
13608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13610                   "RANLIB=$${RANLIB}" \
13611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13612                   mostlyclean) \
13613           || exit 1
13614
13615 @endif libtool
13616
13617 .PHONY: maybe-clean-libtool clean-libtool
13618 maybe-clean-libtool:
13619 @if libtool
13620 maybe-clean-libtool: clean-libtool
13621
13622 clean-libtool: 
13623         @[ -f ./libtool/Makefile ] || exit 0; \
13624         r=`${PWD_COMMAND}`; export r; \
13625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13626         $(SET_LIB_PATH) \
13627         $(HOST_EXPORTS) \
13628         for flag in $(EXTRA_HOST_FLAGS) ; do \
13629           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13630         done; \
13631         echo "Doing clean in libtool" ; \
13632         (cd libtool && \
13633           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13634                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13635                   "RANLIB=$${RANLIB}" \
13636                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13637                   clean) \
13638           || exit 1
13639
13640 @endif libtool
13641
13642 .PHONY: maybe-distclean-libtool distclean-libtool
13643 maybe-distclean-libtool:
13644 @if libtool
13645 maybe-distclean-libtool: distclean-libtool
13646
13647 distclean-libtool: 
13648         @[ -f ./libtool/Makefile ] || exit 0; \
13649         r=`${PWD_COMMAND}`; export r; \
13650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13651         $(SET_LIB_PATH) \
13652         $(HOST_EXPORTS) \
13653         for flag in $(EXTRA_HOST_FLAGS) ; do \
13654           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13655         done; \
13656         echo "Doing distclean in libtool" ; \
13657         (cd libtool && \
13658           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13659                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13660                   "RANLIB=$${RANLIB}" \
13661                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13662                   distclean) \
13663           || exit 1
13664
13665 @endif libtool
13666
13667 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13668 maybe-maintainer-clean-libtool:
13669 @if libtool
13670 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13671
13672 maintainer-clean-libtool: 
13673         @[ -f ./libtool/Makefile ] || exit 0; \
13674         r=`${PWD_COMMAND}`; export r; \
13675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13676         $(SET_LIB_PATH) \
13677         $(HOST_EXPORTS) \
13678         for flag in $(EXTRA_HOST_FLAGS) ; do \
13679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13680         done; \
13681         echo "Doing maintainer-clean in libtool" ; \
13682         (cd libtool && \
13683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13685                   "RANLIB=$${RANLIB}" \
13686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13687                   maintainer-clean) \
13688           || exit 1
13689
13690 @endif libtool
13691
13692
13693 .PHONY: configure-m4 maybe-configure-m4
13694 maybe-configure-m4:
13695 @if m4
13696 maybe-configure-m4: configure-m4
13697 configure-m4:
13698         @test ! -f m4/Makefile || exit 0; \
13699         [ -d m4 ] || mkdir m4; \
13700         r=`${PWD_COMMAND}`; export r; \
13701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13702         $(HOST_EXPORTS) \
13703         echo Configuring in m4; \
13704         cd m4 || exit 1; \
13705         case $(srcdir) in \
13706           \.) \
13707             srcdiroption="--srcdir=."; \
13708             libsrcdir=".";; \
13709           /* | [A-Za-z]:[\\/]*) \
13710             srcdiroption="--srcdir=$(srcdir)/m4"; \
13711             libsrcdir="$$s/m4";; \
13712           *) \
13713             srcdiroption="--srcdir=../$(srcdir)/m4"; \
13714             libsrcdir="$$s/m4";; \
13715         esac; \
13716         $(SHELL) $${libsrcdir}/configure \
13717           $(HOST_CONFIGARGS) $${srcdiroption}  \
13718           || exit 1
13719 @endif m4
13720
13721 .PHONY: all-m4 maybe-all-m4
13722 maybe-all-m4:
13723 @if m4
13724 maybe-all-m4: all-m4
13725 all-m4: configure-m4
13726         @r=`${PWD_COMMAND}`; export r; \
13727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13728         $(SET_LIB_PATH) \
13729         $(HOST_EXPORTS) \
13730         (cd m4 && $(MAKE) $(FLAGS_TO_PASS)  all)
13731 @endif m4
13732
13733 .PHONY: check-m4 maybe-check-m4
13734 maybe-check-m4:
13735 @if m4
13736 maybe-check-m4: check-m4
13737
13738 check-m4:
13739         @r=`${PWD_COMMAND}`; export r; \
13740         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13741         $(SET_LIB_PATH) \
13742         $(HOST_EXPORTS) \
13743         (cd m4 && $(MAKE) $(FLAGS_TO_PASS)  check)
13744
13745 @endif m4
13746
13747 .PHONY: install-m4 maybe-install-m4
13748 maybe-install-m4:
13749 @if m4
13750 maybe-install-m4: install-m4
13751
13752 install-m4: installdirs
13753         @r=`${PWD_COMMAND}`; export r; \
13754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13755         $(SET_LIB_PATH) \
13756         $(HOST_EXPORTS) \
13757         (cd m4 && $(MAKE) $(FLAGS_TO_PASS)  install)
13758
13759 @endif m4
13760
13761 # Other targets (info, dvi, etc.)
13762
13763 .PHONY: maybe-info-m4 info-m4
13764 maybe-info-m4:
13765 @if m4
13766 maybe-info-m4: info-m4
13767
13768 info-m4: \
13769     configure-m4 
13770         @[ -f ./m4/Makefile ] || exit 0; \
13771         r=`${PWD_COMMAND}`; export r; \
13772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13773         $(SET_LIB_PATH) \
13774         $(HOST_EXPORTS) \
13775         for flag in $(EXTRA_HOST_FLAGS) ; do \
13776           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13777         done; \
13778         echo "Doing info in m4" ; \
13779         (cd m4 && \
13780           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13781                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13782                   "RANLIB=$${RANLIB}" \
13783                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13784                   info) \
13785           || exit 1
13786
13787 @endif m4
13788
13789 .PHONY: maybe-dvi-m4 dvi-m4
13790 maybe-dvi-m4:
13791 @if m4
13792 maybe-dvi-m4: dvi-m4
13793
13794 dvi-m4: \
13795     configure-m4 
13796         @[ -f ./m4/Makefile ] || exit 0; \
13797         r=`${PWD_COMMAND}`; export r; \
13798         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13799         $(SET_LIB_PATH) \
13800         $(HOST_EXPORTS) \
13801         for flag in $(EXTRA_HOST_FLAGS) ; do \
13802           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13803         done; \
13804         echo "Doing dvi in m4" ; \
13805         (cd m4 && \
13806           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13807                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13808                   "RANLIB=$${RANLIB}" \
13809                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13810                   dvi) \
13811           || exit 1
13812
13813 @endif m4
13814
13815 .PHONY: maybe-TAGS-m4 TAGS-m4
13816 maybe-TAGS-m4:
13817 @if m4
13818 maybe-TAGS-m4: TAGS-m4
13819
13820 TAGS-m4: \
13821     configure-m4 
13822         @[ -f ./m4/Makefile ] || exit 0; \
13823         r=`${PWD_COMMAND}`; export r; \
13824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13825         $(SET_LIB_PATH) \
13826         $(HOST_EXPORTS) \
13827         for flag in $(EXTRA_HOST_FLAGS) ; do \
13828           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13829         done; \
13830         echo "Doing TAGS in m4" ; \
13831         (cd m4 && \
13832           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13833                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13834                   "RANLIB=$${RANLIB}" \
13835                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13836                   TAGS) \
13837           || exit 1
13838
13839 @endif m4
13840
13841 .PHONY: maybe-install-info-m4 install-info-m4
13842 maybe-install-info-m4:
13843 @if m4
13844 maybe-install-info-m4: install-info-m4
13845
13846 install-info-m4: \
13847     configure-m4 \
13848     info-m4 
13849         @[ -f ./m4/Makefile ] || exit 0; \
13850         r=`${PWD_COMMAND}`; export r; \
13851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13852         $(SET_LIB_PATH) \
13853         $(HOST_EXPORTS) \
13854         for flag in $(EXTRA_HOST_FLAGS) ; do \
13855           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13856         done; \
13857         echo "Doing install-info in m4" ; \
13858         (cd m4 && \
13859           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13860                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13861                   "RANLIB=$${RANLIB}" \
13862                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13863                   install-info) \
13864           || exit 1
13865
13866 @endif m4
13867
13868 .PHONY: maybe-installcheck-m4 installcheck-m4
13869 maybe-installcheck-m4:
13870 @if m4
13871 maybe-installcheck-m4: installcheck-m4
13872
13873 installcheck-m4: \
13874     configure-m4 
13875         @[ -f ./m4/Makefile ] || exit 0; \
13876         r=`${PWD_COMMAND}`; export r; \
13877         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13878         $(SET_LIB_PATH) \
13879         $(HOST_EXPORTS) \
13880         for flag in $(EXTRA_HOST_FLAGS) ; do \
13881           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13882         done; \
13883         echo "Doing installcheck in m4" ; \
13884         (cd m4 && \
13885           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13886                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13887                   "RANLIB=$${RANLIB}" \
13888                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13889                   installcheck) \
13890           || exit 1
13891
13892 @endif m4
13893
13894 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13895 maybe-mostlyclean-m4:
13896 @if m4
13897 maybe-mostlyclean-m4: mostlyclean-m4
13898
13899 mostlyclean-m4: 
13900         @[ -f ./m4/Makefile ] || exit 0; \
13901         r=`${PWD_COMMAND}`; export r; \
13902         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13903         $(SET_LIB_PATH) \
13904         $(HOST_EXPORTS) \
13905         for flag in $(EXTRA_HOST_FLAGS) ; do \
13906           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13907         done; \
13908         echo "Doing mostlyclean in m4" ; \
13909         (cd m4 && \
13910           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13911                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13912                   "RANLIB=$${RANLIB}" \
13913                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13914                   mostlyclean) \
13915           || exit 1
13916
13917 @endif m4
13918
13919 .PHONY: maybe-clean-m4 clean-m4
13920 maybe-clean-m4:
13921 @if m4
13922 maybe-clean-m4: clean-m4
13923
13924 clean-m4: 
13925         @[ -f ./m4/Makefile ] || exit 0; \
13926         r=`${PWD_COMMAND}`; export r; \
13927         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13928         $(SET_LIB_PATH) \
13929         $(HOST_EXPORTS) \
13930         for flag in $(EXTRA_HOST_FLAGS) ; do \
13931           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13932         done; \
13933         echo "Doing clean in m4" ; \
13934         (cd m4 && \
13935           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13936                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13937                   "RANLIB=$${RANLIB}" \
13938                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13939                   clean) \
13940           || exit 1
13941
13942 @endif m4
13943
13944 .PHONY: maybe-distclean-m4 distclean-m4
13945 maybe-distclean-m4:
13946 @if m4
13947 maybe-distclean-m4: distclean-m4
13948
13949 distclean-m4: 
13950         @[ -f ./m4/Makefile ] || exit 0; \
13951         r=`${PWD_COMMAND}`; export r; \
13952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13953         $(SET_LIB_PATH) \
13954         $(HOST_EXPORTS) \
13955         for flag in $(EXTRA_HOST_FLAGS) ; do \
13956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13957         done; \
13958         echo "Doing distclean in m4" ; \
13959         (cd m4 && \
13960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13962                   "RANLIB=$${RANLIB}" \
13963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13964                   distclean) \
13965           || exit 1
13966
13967 @endif m4
13968
13969 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13970 maybe-maintainer-clean-m4:
13971 @if m4
13972 maybe-maintainer-clean-m4: maintainer-clean-m4
13973
13974 maintainer-clean-m4: 
13975         @[ -f ./m4/Makefile ] || exit 0; \
13976         r=`${PWD_COMMAND}`; export r; \
13977         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13978         $(SET_LIB_PATH) \
13979         $(HOST_EXPORTS) \
13980         for flag in $(EXTRA_HOST_FLAGS) ; do \
13981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13982         done; \
13983         echo "Doing maintainer-clean in m4" ; \
13984         (cd m4 && \
13985           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13986                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13987                   "RANLIB=$${RANLIB}" \
13988                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13989                   maintainer-clean) \
13990           || exit 1
13991
13992 @endif m4
13993
13994
13995 .PHONY: configure-make maybe-configure-make
13996 maybe-configure-make:
13997 @if make
13998 maybe-configure-make: configure-make
13999 configure-make:
14000         @test ! -f make/Makefile || exit 0; \
14001         [ -d make ] || mkdir make; \
14002         r=`${PWD_COMMAND}`; export r; \
14003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14004         $(HOST_EXPORTS) \
14005         echo Configuring in make; \
14006         cd make || exit 1; \
14007         case $(srcdir) in \
14008           \.) \
14009             srcdiroption="--srcdir=."; \
14010             libsrcdir=".";; \
14011           /* | [A-Za-z]:[\\/]*) \
14012             srcdiroption="--srcdir=$(srcdir)/make"; \
14013             libsrcdir="$$s/make";; \
14014           *) \
14015             srcdiroption="--srcdir=../$(srcdir)/make"; \
14016             libsrcdir="$$s/make";; \
14017         esac; \
14018         $(SHELL) $${libsrcdir}/configure \
14019           $(HOST_CONFIGARGS) $${srcdiroption}  \
14020           || exit 1
14021 @endif make
14022
14023 .PHONY: all-make maybe-all-make
14024 maybe-all-make:
14025 @if make
14026 maybe-all-make: all-make
14027 all-make: configure-make
14028         @r=`${PWD_COMMAND}`; export r; \
14029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14030         $(SET_LIB_PATH) \
14031         $(HOST_EXPORTS) \
14032         (cd make && $(MAKE) $(FLAGS_TO_PASS)  all)
14033 @endif make
14034
14035 .PHONY: check-make maybe-check-make
14036 maybe-check-make:
14037 @if make
14038 maybe-check-make: check-make
14039
14040 check-make:
14041         @r=`${PWD_COMMAND}`; export r; \
14042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14043         $(SET_LIB_PATH) \
14044         $(HOST_EXPORTS) \
14045         (cd make && $(MAKE) $(FLAGS_TO_PASS)  check)
14046
14047 @endif make
14048
14049 .PHONY: install-make maybe-install-make
14050 maybe-install-make:
14051 @if make
14052 maybe-install-make: install-make
14053
14054 install-make: installdirs
14055         @r=`${PWD_COMMAND}`; export r; \
14056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14057         $(SET_LIB_PATH) \
14058         $(HOST_EXPORTS) \
14059         (cd make && $(MAKE) $(FLAGS_TO_PASS)  install)
14060
14061 @endif make
14062
14063 # Other targets (info, dvi, etc.)
14064
14065 .PHONY: maybe-info-make info-make
14066 maybe-info-make:
14067 @if make
14068 maybe-info-make: info-make
14069
14070 info-make: \
14071     configure-make 
14072         @[ -f ./make/Makefile ] || exit 0; \
14073         r=`${PWD_COMMAND}`; export r; \
14074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14075         $(SET_LIB_PATH) \
14076         $(HOST_EXPORTS) \
14077         for flag in $(EXTRA_HOST_FLAGS) ; do \
14078           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14079         done; \
14080         echo "Doing info in make" ; \
14081         (cd make && \
14082           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14083                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14084                   "RANLIB=$${RANLIB}" \
14085                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14086                   info) \
14087           || exit 1
14088
14089 @endif make
14090
14091 .PHONY: maybe-dvi-make dvi-make
14092 maybe-dvi-make:
14093 @if make
14094 maybe-dvi-make: dvi-make
14095
14096 dvi-make: \
14097     configure-make 
14098         @[ -f ./make/Makefile ] || exit 0; \
14099         r=`${PWD_COMMAND}`; export r; \
14100         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14101         $(SET_LIB_PATH) \
14102         $(HOST_EXPORTS) \
14103         for flag in $(EXTRA_HOST_FLAGS) ; do \
14104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14105         done; \
14106         echo "Doing dvi in make" ; \
14107         (cd make && \
14108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14110                   "RANLIB=$${RANLIB}" \
14111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14112                   dvi) \
14113           || exit 1
14114
14115 @endif make
14116
14117 .PHONY: maybe-TAGS-make TAGS-make
14118 maybe-TAGS-make:
14119 @if make
14120 maybe-TAGS-make: TAGS-make
14121
14122 TAGS-make: \
14123     configure-make 
14124         @[ -f ./make/Makefile ] || exit 0; \
14125         r=`${PWD_COMMAND}`; export r; \
14126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14127         $(SET_LIB_PATH) \
14128         $(HOST_EXPORTS) \
14129         for flag in $(EXTRA_HOST_FLAGS) ; do \
14130           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14131         done; \
14132         echo "Doing TAGS in make" ; \
14133         (cd make && \
14134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14136                   "RANLIB=$${RANLIB}" \
14137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14138                   TAGS) \
14139           || exit 1
14140
14141 @endif make
14142
14143 .PHONY: maybe-install-info-make install-info-make
14144 maybe-install-info-make:
14145 @if make
14146 maybe-install-info-make: install-info-make
14147
14148 install-info-make: \
14149     configure-make \
14150     info-make 
14151         @[ -f ./make/Makefile ] || exit 0; \
14152         r=`${PWD_COMMAND}`; export r; \
14153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154         $(SET_LIB_PATH) \
14155         $(HOST_EXPORTS) \
14156         for flag in $(EXTRA_HOST_FLAGS) ; do \
14157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14158         done; \
14159         echo "Doing install-info in make" ; \
14160         (cd make && \
14161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14163                   "RANLIB=$${RANLIB}" \
14164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14165                   install-info) \
14166           || exit 1
14167
14168 @endif make
14169
14170 .PHONY: maybe-installcheck-make installcheck-make
14171 maybe-installcheck-make:
14172 @if make
14173 maybe-installcheck-make: installcheck-make
14174
14175 installcheck-make: \
14176     configure-make 
14177         @[ -f ./make/Makefile ] || exit 0; \
14178         r=`${PWD_COMMAND}`; export r; \
14179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14180         $(SET_LIB_PATH) \
14181         $(HOST_EXPORTS) \
14182         for flag in $(EXTRA_HOST_FLAGS) ; do \
14183           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14184         done; \
14185         echo "Doing installcheck in make" ; \
14186         (cd make && \
14187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14189                   "RANLIB=$${RANLIB}" \
14190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14191                   installcheck) \
14192           || exit 1
14193
14194 @endif make
14195
14196 .PHONY: maybe-mostlyclean-make mostlyclean-make
14197 maybe-mostlyclean-make:
14198 @if make
14199 maybe-mostlyclean-make: mostlyclean-make
14200
14201 mostlyclean-make: 
14202         @[ -f ./make/Makefile ] || exit 0; \
14203         r=`${PWD_COMMAND}`; export r; \
14204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14205         $(SET_LIB_PATH) \
14206         $(HOST_EXPORTS) \
14207         for flag in $(EXTRA_HOST_FLAGS) ; do \
14208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14209         done; \
14210         echo "Doing mostlyclean in make" ; \
14211         (cd make && \
14212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14214                   "RANLIB=$${RANLIB}" \
14215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14216                   mostlyclean) \
14217           || exit 1
14218
14219 @endif make
14220
14221 .PHONY: maybe-clean-make clean-make
14222 maybe-clean-make:
14223 @if make
14224 maybe-clean-make: clean-make
14225
14226 clean-make: 
14227         @[ -f ./make/Makefile ] || exit 0; \
14228         r=`${PWD_COMMAND}`; export r; \
14229         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14230         $(SET_LIB_PATH) \
14231         $(HOST_EXPORTS) \
14232         for flag in $(EXTRA_HOST_FLAGS) ; do \
14233           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14234         done; \
14235         echo "Doing clean in make" ; \
14236         (cd make && \
14237           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14238                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14239                   "RANLIB=$${RANLIB}" \
14240                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14241                   clean) \
14242           || exit 1
14243
14244 @endif make
14245
14246 .PHONY: maybe-distclean-make distclean-make
14247 maybe-distclean-make:
14248 @if make
14249 maybe-distclean-make: distclean-make
14250
14251 distclean-make: 
14252         @[ -f ./make/Makefile ] || exit 0; \
14253         r=`${PWD_COMMAND}`; export r; \
14254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14255         $(SET_LIB_PATH) \
14256         $(HOST_EXPORTS) \
14257         for flag in $(EXTRA_HOST_FLAGS) ; do \
14258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14259         done; \
14260         echo "Doing distclean in make" ; \
14261         (cd make && \
14262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14264                   "RANLIB=$${RANLIB}" \
14265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14266                   distclean) \
14267           || exit 1
14268
14269 @endif make
14270
14271 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14272 maybe-maintainer-clean-make:
14273 @if make
14274 maybe-maintainer-clean-make: maintainer-clean-make
14275
14276 maintainer-clean-make: 
14277         @[ -f ./make/Makefile ] || exit 0; \
14278         r=`${PWD_COMMAND}`; export r; \
14279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280         $(SET_LIB_PATH) \
14281         $(HOST_EXPORTS) \
14282         for flag in $(EXTRA_HOST_FLAGS) ; do \
14283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14284         done; \
14285         echo "Doing maintainer-clean in make" ; \
14286         (cd make && \
14287           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14288                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14289                   "RANLIB=$${RANLIB}" \
14290                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14291                   maintainer-clean) \
14292           || exit 1
14293
14294 @endif make
14295
14296
14297 .PHONY: configure-mmalloc maybe-configure-mmalloc
14298 maybe-configure-mmalloc:
14299 @if mmalloc
14300 maybe-configure-mmalloc: configure-mmalloc
14301 configure-mmalloc:
14302         @test ! -f mmalloc/Makefile || exit 0; \
14303         [ -d mmalloc ] || mkdir mmalloc; \
14304         r=`${PWD_COMMAND}`; export r; \
14305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14306         $(HOST_EXPORTS) \
14307         echo Configuring in mmalloc; \
14308         cd mmalloc || exit 1; \
14309         case $(srcdir) in \
14310           \.) \
14311             srcdiroption="--srcdir=."; \
14312             libsrcdir=".";; \
14313           /* | [A-Za-z]:[\\/]*) \
14314             srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14315             libsrcdir="$$s/mmalloc";; \
14316           *) \
14317             srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14318             libsrcdir="$$s/mmalloc";; \
14319         esac; \
14320         $(SHELL) $${libsrcdir}/configure \
14321           $(HOST_CONFIGARGS) $${srcdiroption}  \
14322           || exit 1
14323 @endif mmalloc
14324
14325 .PHONY: all-mmalloc maybe-all-mmalloc
14326 maybe-all-mmalloc:
14327 @if mmalloc
14328 maybe-all-mmalloc: all-mmalloc
14329 all-mmalloc: configure-mmalloc
14330         @r=`${PWD_COMMAND}`; export r; \
14331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14332         $(SET_LIB_PATH) \
14333         $(HOST_EXPORTS) \
14334         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS)  all)
14335 @endif mmalloc
14336
14337 .PHONY: check-mmalloc maybe-check-mmalloc
14338 maybe-check-mmalloc:
14339 @if mmalloc
14340 maybe-check-mmalloc: check-mmalloc
14341
14342 check-mmalloc:
14343
14344 @endif mmalloc
14345
14346 .PHONY: install-mmalloc maybe-install-mmalloc
14347 maybe-install-mmalloc:
14348 @if mmalloc
14349 maybe-install-mmalloc: install-mmalloc
14350
14351 install-mmalloc: installdirs
14352         @r=`${PWD_COMMAND}`; export r; \
14353         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14354         $(SET_LIB_PATH) \
14355         $(HOST_EXPORTS) \
14356         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS)  install)
14357
14358 @endif mmalloc
14359
14360 # Other targets (info, dvi, etc.)
14361
14362 .PHONY: maybe-info-mmalloc info-mmalloc
14363 maybe-info-mmalloc:
14364 @if mmalloc
14365 maybe-info-mmalloc: info-mmalloc
14366
14367 info-mmalloc: \
14368     configure-mmalloc 
14369         @[ -f ./mmalloc/Makefile ] || exit 0; \
14370         r=`${PWD_COMMAND}`; export r; \
14371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14372         $(SET_LIB_PATH) \
14373         $(HOST_EXPORTS) \
14374         for flag in $(EXTRA_HOST_FLAGS) ; do \
14375           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14376         done; \
14377         echo "Doing info in mmalloc" ; \
14378         (cd mmalloc && \
14379           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14380                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14381                   "RANLIB=$${RANLIB}" \
14382                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14383                   info) \
14384           || exit 1
14385
14386 @endif mmalloc
14387
14388 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14389 maybe-dvi-mmalloc:
14390 @if mmalloc
14391 maybe-dvi-mmalloc: dvi-mmalloc
14392
14393 dvi-mmalloc: \
14394     configure-mmalloc 
14395         @[ -f ./mmalloc/Makefile ] || exit 0; \
14396         r=`${PWD_COMMAND}`; export r; \
14397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14398         $(SET_LIB_PATH) \
14399         $(HOST_EXPORTS) \
14400         for flag in $(EXTRA_HOST_FLAGS) ; do \
14401           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14402         done; \
14403         echo "Doing dvi in mmalloc" ; \
14404         (cd mmalloc && \
14405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14407                   "RANLIB=$${RANLIB}" \
14408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14409                   dvi) \
14410           || exit 1
14411
14412 @endif mmalloc
14413
14414 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14415 maybe-TAGS-mmalloc:
14416 @if mmalloc
14417 maybe-TAGS-mmalloc: TAGS-mmalloc
14418
14419 TAGS-mmalloc: \
14420     configure-mmalloc 
14421         @[ -f ./mmalloc/Makefile ] || exit 0; \
14422         r=`${PWD_COMMAND}`; export r; \
14423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14424         $(SET_LIB_PATH) \
14425         $(HOST_EXPORTS) \
14426         for flag in $(EXTRA_HOST_FLAGS) ; do \
14427           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14428         done; \
14429         echo "Doing TAGS in mmalloc" ; \
14430         (cd mmalloc && \
14431           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14432                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14433                   "RANLIB=$${RANLIB}" \
14434                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14435                   TAGS) \
14436           || exit 1
14437
14438 @endif mmalloc
14439
14440 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14441 maybe-install-info-mmalloc:
14442 @if mmalloc
14443 maybe-install-info-mmalloc: install-info-mmalloc
14444
14445 install-info-mmalloc: \
14446     configure-mmalloc \
14447     info-mmalloc 
14448         @[ -f ./mmalloc/Makefile ] || exit 0; \
14449         r=`${PWD_COMMAND}`; export r; \
14450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14451         $(SET_LIB_PATH) \
14452         $(HOST_EXPORTS) \
14453         for flag in $(EXTRA_HOST_FLAGS) ; do \
14454           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14455         done; \
14456         echo "Doing install-info in mmalloc" ; \
14457         (cd mmalloc && \
14458           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14459                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14460                   "RANLIB=$${RANLIB}" \
14461                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14462                   install-info) \
14463           || exit 1
14464
14465 @endif mmalloc
14466
14467 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14468 maybe-installcheck-mmalloc:
14469 @if mmalloc
14470 maybe-installcheck-mmalloc: installcheck-mmalloc
14471
14472 installcheck-mmalloc: \
14473     configure-mmalloc 
14474         @[ -f ./mmalloc/Makefile ] || exit 0; \
14475         r=`${PWD_COMMAND}`; export r; \
14476         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14477         $(SET_LIB_PATH) \
14478         $(HOST_EXPORTS) \
14479         for flag in $(EXTRA_HOST_FLAGS) ; do \
14480           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14481         done; \
14482         echo "Doing installcheck in mmalloc" ; \
14483         (cd mmalloc && \
14484           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14485                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14486                   "RANLIB=$${RANLIB}" \
14487                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14488                   installcheck) \
14489           || exit 1
14490
14491 @endif mmalloc
14492
14493 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14494 maybe-mostlyclean-mmalloc:
14495 @if mmalloc
14496 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14497
14498 mostlyclean-mmalloc: 
14499         @[ -f ./mmalloc/Makefile ] || exit 0; \
14500         r=`${PWD_COMMAND}`; export r; \
14501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14502         $(SET_LIB_PATH) \
14503         $(HOST_EXPORTS) \
14504         for flag in $(EXTRA_HOST_FLAGS) ; do \
14505           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14506         done; \
14507         echo "Doing mostlyclean in mmalloc" ; \
14508         (cd mmalloc && \
14509           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14510                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14511                   "RANLIB=$${RANLIB}" \
14512                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14513                   mostlyclean) \
14514           || exit 1
14515
14516 @endif mmalloc
14517
14518 .PHONY: maybe-clean-mmalloc clean-mmalloc
14519 maybe-clean-mmalloc:
14520 @if mmalloc
14521 maybe-clean-mmalloc: clean-mmalloc
14522
14523 clean-mmalloc: 
14524         @[ -f ./mmalloc/Makefile ] || exit 0; \
14525         r=`${PWD_COMMAND}`; export r; \
14526         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14527         $(SET_LIB_PATH) \
14528         $(HOST_EXPORTS) \
14529         for flag in $(EXTRA_HOST_FLAGS) ; do \
14530           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14531         done; \
14532         echo "Doing clean in mmalloc" ; \
14533         (cd mmalloc && \
14534           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14535                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14536                   "RANLIB=$${RANLIB}" \
14537                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14538                   clean) \
14539           || exit 1
14540
14541 @endif mmalloc
14542
14543 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14544 maybe-distclean-mmalloc:
14545 @if mmalloc
14546 maybe-distclean-mmalloc: distclean-mmalloc
14547
14548 distclean-mmalloc: 
14549         @[ -f ./mmalloc/Makefile ] || exit 0; \
14550         r=`${PWD_COMMAND}`; export r; \
14551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14552         $(SET_LIB_PATH) \
14553         $(HOST_EXPORTS) \
14554         for flag in $(EXTRA_HOST_FLAGS) ; do \
14555           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14556         done; \
14557         echo "Doing distclean in mmalloc" ; \
14558         (cd mmalloc && \
14559           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14560                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14561                   "RANLIB=$${RANLIB}" \
14562                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14563                   distclean) \
14564           || exit 1
14565
14566 @endif mmalloc
14567
14568 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14569 maybe-maintainer-clean-mmalloc:
14570 @if mmalloc
14571 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14572
14573 maintainer-clean-mmalloc: 
14574         @[ -f ./mmalloc/Makefile ] || exit 0; \
14575         r=`${PWD_COMMAND}`; export r; \
14576         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14577         $(SET_LIB_PATH) \
14578         $(HOST_EXPORTS) \
14579         for flag in $(EXTRA_HOST_FLAGS) ; do \
14580           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14581         done; \
14582         echo "Doing maintainer-clean in mmalloc" ; \
14583         (cd mmalloc && \
14584           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14585                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14586                   "RANLIB=$${RANLIB}" \
14587                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14588                   maintainer-clean) \
14589           || exit 1
14590
14591 @endif mmalloc
14592
14593
14594 .PHONY: configure-patch maybe-configure-patch
14595 maybe-configure-patch:
14596 @if patch
14597 maybe-configure-patch: configure-patch
14598 configure-patch:
14599         @test ! -f patch/Makefile || exit 0; \
14600         [ -d patch ] || mkdir patch; \
14601         r=`${PWD_COMMAND}`; export r; \
14602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14603         $(HOST_EXPORTS) \
14604         echo Configuring in patch; \
14605         cd patch || exit 1; \
14606         case $(srcdir) in \
14607           \.) \
14608             srcdiroption="--srcdir=."; \
14609             libsrcdir=".";; \
14610           /* | [A-Za-z]:[\\/]*) \
14611             srcdiroption="--srcdir=$(srcdir)/patch"; \
14612             libsrcdir="$$s/patch";; \
14613           *) \
14614             srcdiroption="--srcdir=../$(srcdir)/patch"; \
14615             libsrcdir="$$s/patch";; \
14616         esac; \
14617         $(SHELL) $${libsrcdir}/configure \
14618           $(HOST_CONFIGARGS) $${srcdiroption}  \
14619           || exit 1
14620 @endif patch
14621
14622 .PHONY: all-patch maybe-all-patch
14623 maybe-all-patch:
14624 @if patch
14625 maybe-all-patch: all-patch
14626 all-patch: configure-patch
14627         @r=`${PWD_COMMAND}`; export r; \
14628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14629         $(SET_LIB_PATH) \
14630         $(HOST_EXPORTS) \
14631         (cd patch && $(MAKE) $(FLAGS_TO_PASS)  all)
14632 @endif patch
14633
14634 .PHONY: check-patch maybe-check-patch
14635 maybe-check-patch:
14636 @if patch
14637 maybe-check-patch: check-patch
14638
14639 check-patch:
14640         @r=`${PWD_COMMAND}`; export r; \
14641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642         $(SET_LIB_PATH) \
14643         $(HOST_EXPORTS) \
14644         (cd patch && $(MAKE) $(FLAGS_TO_PASS)  check)
14645
14646 @endif patch
14647
14648 .PHONY: install-patch maybe-install-patch
14649 maybe-install-patch:
14650 @if patch
14651 maybe-install-patch: install-patch
14652
14653 install-patch: installdirs
14654         @r=`${PWD_COMMAND}`; export r; \
14655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14656         $(SET_LIB_PATH) \
14657         $(HOST_EXPORTS) \
14658         (cd patch && $(MAKE) $(FLAGS_TO_PASS)  install)
14659
14660 @endif patch
14661
14662 # Other targets (info, dvi, etc.)
14663
14664 .PHONY: maybe-info-patch info-patch
14665 maybe-info-patch:
14666 @if patch
14667 maybe-info-patch: info-patch
14668
14669 info-patch: \
14670     configure-patch 
14671         @[ -f ./patch/Makefile ] || exit 0; \
14672         r=`${PWD_COMMAND}`; export r; \
14673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14674         $(SET_LIB_PATH) \
14675         $(HOST_EXPORTS) \
14676         for flag in $(EXTRA_HOST_FLAGS) ; do \
14677           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14678         done; \
14679         echo "Doing info in patch" ; \
14680         (cd patch && \
14681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14683                   "RANLIB=$${RANLIB}" \
14684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14685                   info) \
14686           || exit 1
14687
14688 @endif patch
14689
14690 .PHONY: maybe-dvi-patch dvi-patch
14691 maybe-dvi-patch:
14692 @if patch
14693 maybe-dvi-patch: dvi-patch
14694
14695 dvi-patch: \
14696     configure-patch 
14697         @[ -f ./patch/Makefile ] || exit 0; \
14698         r=`${PWD_COMMAND}`; export r; \
14699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14700         $(SET_LIB_PATH) \
14701         $(HOST_EXPORTS) \
14702         for flag in $(EXTRA_HOST_FLAGS) ; do \
14703           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14704         done; \
14705         echo "Doing dvi in patch" ; \
14706         (cd patch && \
14707           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14708                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14709                   "RANLIB=$${RANLIB}" \
14710                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14711                   dvi) \
14712           || exit 1
14713
14714 @endif patch
14715
14716 .PHONY: maybe-TAGS-patch TAGS-patch
14717 maybe-TAGS-patch:
14718 @if patch
14719 maybe-TAGS-patch: TAGS-patch
14720
14721 TAGS-patch: \
14722     configure-patch 
14723         @[ -f ./patch/Makefile ] || exit 0; \
14724         r=`${PWD_COMMAND}`; export r; \
14725         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14726         $(SET_LIB_PATH) \
14727         $(HOST_EXPORTS) \
14728         for flag in $(EXTRA_HOST_FLAGS) ; do \
14729           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14730         done; \
14731         echo "Doing TAGS in patch" ; \
14732         (cd patch && \
14733           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14734                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14735                   "RANLIB=$${RANLIB}" \
14736                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14737                   TAGS) \
14738           || exit 1
14739
14740 @endif patch
14741
14742 .PHONY: maybe-install-info-patch install-info-patch
14743 maybe-install-info-patch:
14744 @if patch
14745 maybe-install-info-patch: install-info-patch
14746
14747 install-info-patch: \
14748     configure-patch \
14749     info-patch 
14750         @[ -f ./patch/Makefile ] || exit 0; \
14751         r=`${PWD_COMMAND}`; export r; \
14752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14753         $(SET_LIB_PATH) \
14754         $(HOST_EXPORTS) \
14755         for flag in $(EXTRA_HOST_FLAGS) ; do \
14756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14757         done; \
14758         echo "Doing install-info in patch" ; \
14759         (cd patch && \
14760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14762                   "RANLIB=$${RANLIB}" \
14763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14764                   install-info) \
14765           || exit 1
14766
14767 @endif patch
14768
14769 .PHONY: maybe-installcheck-patch installcheck-patch
14770 maybe-installcheck-patch:
14771 @if patch
14772 maybe-installcheck-patch: installcheck-patch
14773
14774 installcheck-patch: \
14775     configure-patch 
14776         @[ -f ./patch/Makefile ] || exit 0; \
14777         r=`${PWD_COMMAND}`; export r; \
14778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14779         $(SET_LIB_PATH) \
14780         $(HOST_EXPORTS) \
14781         for flag in $(EXTRA_HOST_FLAGS) ; do \
14782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14783         done; \
14784         echo "Doing installcheck in patch" ; \
14785         (cd patch && \
14786           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14787                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14788                   "RANLIB=$${RANLIB}" \
14789                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14790                   installcheck) \
14791           || exit 1
14792
14793 @endif patch
14794
14795 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14796 maybe-mostlyclean-patch:
14797 @if patch
14798 maybe-mostlyclean-patch: mostlyclean-patch
14799
14800 mostlyclean-patch: 
14801         @[ -f ./patch/Makefile ] || exit 0; \
14802         r=`${PWD_COMMAND}`; export r; \
14803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804         $(SET_LIB_PATH) \
14805         $(HOST_EXPORTS) \
14806         for flag in $(EXTRA_HOST_FLAGS) ; do \
14807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14808         done; \
14809         echo "Doing mostlyclean in patch" ; \
14810         (cd patch && \
14811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14813                   "RANLIB=$${RANLIB}" \
14814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14815                   mostlyclean) \
14816           || exit 1
14817
14818 @endif patch
14819
14820 .PHONY: maybe-clean-patch clean-patch
14821 maybe-clean-patch:
14822 @if patch
14823 maybe-clean-patch: clean-patch
14824
14825 clean-patch: 
14826         @[ -f ./patch/Makefile ] || exit 0; \
14827         r=`${PWD_COMMAND}`; export r; \
14828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14829         $(SET_LIB_PATH) \
14830         $(HOST_EXPORTS) \
14831         for flag in $(EXTRA_HOST_FLAGS) ; do \
14832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14833         done; \
14834         echo "Doing clean in patch" ; \
14835         (cd patch && \
14836           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14837                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14838                   "RANLIB=$${RANLIB}" \
14839                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14840                   clean) \
14841           || exit 1
14842
14843 @endif patch
14844
14845 .PHONY: maybe-distclean-patch distclean-patch
14846 maybe-distclean-patch:
14847 @if patch
14848 maybe-distclean-patch: distclean-patch
14849
14850 distclean-patch: 
14851         @[ -f ./patch/Makefile ] || exit 0; \
14852         r=`${PWD_COMMAND}`; export r; \
14853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14854         $(SET_LIB_PATH) \
14855         $(HOST_EXPORTS) \
14856         for flag in $(EXTRA_HOST_FLAGS) ; do \
14857           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14858         done; \
14859         echo "Doing distclean in patch" ; \
14860         (cd patch && \
14861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14863                   "RANLIB=$${RANLIB}" \
14864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14865                   distclean) \
14866           || exit 1
14867
14868 @endif patch
14869
14870 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14871 maybe-maintainer-clean-patch:
14872 @if patch
14873 maybe-maintainer-clean-patch: maintainer-clean-patch
14874
14875 maintainer-clean-patch: 
14876         @[ -f ./patch/Makefile ] || exit 0; \
14877         r=`${PWD_COMMAND}`; export r; \
14878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14879         $(SET_LIB_PATH) \
14880         $(HOST_EXPORTS) \
14881         for flag in $(EXTRA_HOST_FLAGS) ; do \
14882           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14883         done; \
14884         echo "Doing maintainer-clean in patch" ; \
14885         (cd patch && \
14886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14888                   "RANLIB=$${RANLIB}" \
14889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14890                   maintainer-clean) \
14891           || exit 1
14892
14893 @endif patch
14894
14895
14896 .PHONY: configure-perl maybe-configure-perl
14897 maybe-configure-perl:
14898 @if perl
14899 maybe-configure-perl: configure-perl
14900 configure-perl:
14901         @test ! -f perl/Makefile || exit 0; \
14902         [ -d perl ] || mkdir perl; \
14903         r=`${PWD_COMMAND}`; export r; \
14904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14905         $(HOST_EXPORTS) \
14906         echo Configuring in perl; \
14907         cd perl || exit 1; \
14908         case $(srcdir) in \
14909           \.) \
14910             srcdiroption="--srcdir=."; \
14911             libsrcdir=".";; \
14912           /* | [A-Za-z]:[\\/]*) \
14913             srcdiroption="--srcdir=$(srcdir)/perl"; \
14914             libsrcdir="$$s/perl";; \
14915           *) \
14916             srcdiroption="--srcdir=../$(srcdir)/perl"; \
14917             libsrcdir="$$s/perl";; \
14918         esac; \
14919         $(SHELL) $${libsrcdir}/configure \
14920           $(HOST_CONFIGARGS) $${srcdiroption}  \
14921           || exit 1
14922 @endif perl
14923
14924 .PHONY: all-perl maybe-all-perl
14925 maybe-all-perl:
14926 @if perl
14927 maybe-all-perl: all-perl
14928 all-perl: configure-perl
14929         @r=`${PWD_COMMAND}`; export r; \
14930         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14931         $(SET_LIB_PATH) \
14932         $(HOST_EXPORTS) \
14933         (cd perl && $(MAKE) $(FLAGS_TO_PASS)  all)
14934 @endif perl
14935
14936 .PHONY: check-perl maybe-check-perl
14937 maybe-check-perl:
14938 @if perl
14939 maybe-check-perl: check-perl
14940
14941 check-perl:
14942         @r=`${PWD_COMMAND}`; export r; \
14943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14944         $(SET_LIB_PATH) \
14945         $(HOST_EXPORTS) \
14946         (cd perl && $(MAKE) $(FLAGS_TO_PASS)  check)
14947
14948 @endif perl
14949
14950 .PHONY: install-perl maybe-install-perl
14951 maybe-install-perl:
14952 @if perl
14953 maybe-install-perl: install-perl
14954
14955 install-perl: installdirs
14956         @r=`${PWD_COMMAND}`; export r; \
14957         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14958         $(SET_LIB_PATH) \
14959         $(HOST_EXPORTS) \
14960         (cd perl && $(MAKE) $(FLAGS_TO_PASS)  install)
14961
14962 @endif perl
14963
14964 # Other targets (info, dvi, etc.)
14965
14966 .PHONY: maybe-info-perl info-perl
14967 maybe-info-perl:
14968 @if perl
14969 maybe-info-perl: info-perl
14970
14971 info-perl: \
14972     configure-perl 
14973         @[ -f ./perl/Makefile ] || exit 0; \
14974         r=`${PWD_COMMAND}`; export r; \
14975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14976         $(SET_LIB_PATH) \
14977         $(HOST_EXPORTS) \
14978         for flag in $(EXTRA_HOST_FLAGS) ; do \
14979           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14980         done; \
14981         echo "Doing info in perl" ; \
14982         (cd perl && \
14983           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14984                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14985                   "RANLIB=$${RANLIB}" \
14986                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14987                   info) \
14988           || exit 1
14989
14990 @endif perl
14991
14992 .PHONY: maybe-dvi-perl dvi-perl
14993 maybe-dvi-perl:
14994 @if perl
14995 maybe-dvi-perl: dvi-perl
14996
14997 dvi-perl: \
14998     configure-perl 
14999         @[ -f ./perl/Makefile ] || exit 0; \
15000         r=`${PWD_COMMAND}`; export r; \
15001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15002         $(SET_LIB_PATH) \
15003         $(HOST_EXPORTS) \
15004         for flag in $(EXTRA_HOST_FLAGS) ; do \
15005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15006         done; \
15007         echo "Doing dvi in perl" ; \
15008         (cd perl && \
15009           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15010                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15011                   "RANLIB=$${RANLIB}" \
15012                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15013                   dvi) \
15014           || exit 1
15015
15016 @endif perl
15017
15018 .PHONY: maybe-TAGS-perl TAGS-perl
15019 maybe-TAGS-perl:
15020 @if perl
15021 maybe-TAGS-perl: TAGS-perl
15022
15023 TAGS-perl: \
15024     configure-perl 
15025         @[ -f ./perl/Makefile ] || exit 0; \
15026         r=`${PWD_COMMAND}`; export r; \
15027         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15028         $(SET_LIB_PATH) \
15029         $(HOST_EXPORTS) \
15030         for flag in $(EXTRA_HOST_FLAGS) ; do \
15031           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15032         done; \
15033         echo "Doing TAGS in perl" ; \
15034         (cd perl && \
15035           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15036                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15037                   "RANLIB=$${RANLIB}" \
15038                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15039                   TAGS) \
15040           || exit 1
15041
15042 @endif perl
15043
15044 .PHONY: maybe-install-info-perl install-info-perl
15045 maybe-install-info-perl:
15046 @if perl
15047 maybe-install-info-perl: install-info-perl
15048
15049 install-info-perl: \
15050     configure-perl \
15051     info-perl 
15052         @[ -f ./perl/Makefile ] || exit 0; \
15053         r=`${PWD_COMMAND}`; export r; \
15054         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15055         $(SET_LIB_PATH) \
15056         $(HOST_EXPORTS) \
15057         for flag in $(EXTRA_HOST_FLAGS) ; do \
15058           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15059         done; \
15060         echo "Doing install-info in perl" ; \
15061         (cd perl && \
15062           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15063                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15064                   "RANLIB=$${RANLIB}" \
15065                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15066                   install-info) \
15067           || exit 1
15068
15069 @endif perl
15070
15071 .PHONY: maybe-installcheck-perl installcheck-perl
15072 maybe-installcheck-perl:
15073 @if perl
15074 maybe-installcheck-perl: installcheck-perl
15075
15076 installcheck-perl: \
15077     configure-perl 
15078         @[ -f ./perl/Makefile ] || exit 0; \
15079         r=`${PWD_COMMAND}`; export r; \
15080         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15081         $(SET_LIB_PATH) \
15082         $(HOST_EXPORTS) \
15083         for flag in $(EXTRA_HOST_FLAGS) ; do \
15084           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15085         done; \
15086         echo "Doing installcheck in perl" ; \
15087         (cd perl && \
15088           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15089                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15090                   "RANLIB=$${RANLIB}" \
15091                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15092                   installcheck) \
15093           || exit 1
15094
15095 @endif perl
15096
15097 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15098 maybe-mostlyclean-perl:
15099 @if perl
15100 maybe-mostlyclean-perl: mostlyclean-perl
15101
15102 mostlyclean-perl: 
15103         @[ -f ./perl/Makefile ] || exit 0; \
15104         r=`${PWD_COMMAND}`; export r; \
15105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15106         $(SET_LIB_PATH) \
15107         $(HOST_EXPORTS) \
15108         for flag in $(EXTRA_HOST_FLAGS) ; do \
15109           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15110         done; \
15111         echo "Doing mostlyclean in perl" ; \
15112         (cd perl && \
15113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15115                   "RANLIB=$${RANLIB}" \
15116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15117                   mostlyclean) \
15118           || exit 1
15119
15120 @endif perl
15121
15122 .PHONY: maybe-clean-perl clean-perl
15123 maybe-clean-perl:
15124 @if perl
15125 maybe-clean-perl: clean-perl
15126
15127 clean-perl: 
15128         @[ -f ./perl/Makefile ] || exit 0; \
15129         r=`${PWD_COMMAND}`; export r; \
15130         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15131         $(SET_LIB_PATH) \
15132         $(HOST_EXPORTS) \
15133         for flag in $(EXTRA_HOST_FLAGS) ; do \
15134           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15135         done; \
15136         echo "Doing clean in perl" ; \
15137         (cd perl && \
15138           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15139                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15140                   "RANLIB=$${RANLIB}" \
15141                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15142                   clean) \
15143           || exit 1
15144
15145 @endif perl
15146
15147 .PHONY: maybe-distclean-perl distclean-perl
15148 maybe-distclean-perl:
15149 @if perl
15150 maybe-distclean-perl: distclean-perl
15151
15152 distclean-perl: 
15153         @[ -f ./perl/Makefile ] || exit 0; \
15154         r=`${PWD_COMMAND}`; export r; \
15155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156         $(SET_LIB_PATH) \
15157         $(HOST_EXPORTS) \
15158         for flag in $(EXTRA_HOST_FLAGS) ; do \
15159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15160         done; \
15161         echo "Doing distclean in perl" ; \
15162         (cd perl && \
15163           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15164                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15165                   "RANLIB=$${RANLIB}" \
15166                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15167                   distclean) \
15168           || exit 1
15169
15170 @endif perl
15171
15172 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15173 maybe-maintainer-clean-perl:
15174 @if perl
15175 maybe-maintainer-clean-perl: maintainer-clean-perl
15176
15177 maintainer-clean-perl: 
15178         @[ -f ./perl/Makefile ] || exit 0; \
15179         r=`${PWD_COMMAND}`; export r; \
15180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15181         $(SET_LIB_PATH) \
15182         $(HOST_EXPORTS) \
15183         for flag in $(EXTRA_HOST_FLAGS) ; do \
15184           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15185         done; \
15186         echo "Doing maintainer-clean in perl" ; \
15187         (cd perl && \
15188           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15189                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15190                   "RANLIB=$${RANLIB}" \
15191                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15192                   maintainer-clean) \
15193           || exit 1
15194
15195 @endif perl
15196
15197
15198 .PHONY: configure-prms maybe-configure-prms
15199 maybe-configure-prms:
15200 @if prms
15201 maybe-configure-prms: configure-prms
15202 configure-prms:
15203         @test ! -f prms/Makefile || exit 0; \
15204         [ -d prms ] || mkdir prms; \
15205         r=`${PWD_COMMAND}`; export r; \
15206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15207         $(HOST_EXPORTS) \
15208         echo Configuring in prms; \
15209         cd prms || exit 1; \
15210         case $(srcdir) in \
15211           \.) \
15212             srcdiroption="--srcdir=."; \
15213             libsrcdir=".";; \
15214           /* | [A-Za-z]:[\\/]*) \
15215             srcdiroption="--srcdir=$(srcdir)/prms"; \
15216             libsrcdir="$$s/prms";; \
15217           *) \
15218             srcdiroption="--srcdir=../$(srcdir)/prms"; \
15219             libsrcdir="$$s/prms";; \
15220         esac; \
15221         $(SHELL) $${libsrcdir}/configure \
15222           $(HOST_CONFIGARGS) $${srcdiroption}  \
15223           || exit 1
15224 @endif prms
15225
15226 .PHONY: all-prms maybe-all-prms
15227 maybe-all-prms:
15228 @if prms
15229 maybe-all-prms: all-prms
15230 all-prms: configure-prms
15231         @r=`${PWD_COMMAND}`; export r; \
15232         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15233         $(SET_LIB_PATH) \
15234         $(HOST_EXPORTS) \
15235         (cd prms && $(MAKE) $(FLAGS_TO_PASS)  all)
15236 @endif prms
15237
15238 .PHONY: check-prms maybe-check-prms
15239 maybe-check-prms:
15240 @if prms
15241 maybe-check-prms: check-prms
15242
15243 check-prms:
15244         @r=`${PWD_COMMAND}`; export r; \
15245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246         $(SET_LIB_PATH) \
15247         $(HOST_EXPORTS) \
15248         (cd prms && $(MAKE) $(FLAGS_TO_PASS)  check)
15249
15250 @endif prms
15251
15252 .PHONY: install-prms maybe-install-prms
15253 maybe-install-prms:
15254 @if prms
15255 maybe-install-prms: install-prms
15256
15257 install-prms: installdirs
15258         @r=`${PWD_COMMAND}`; export r; \
15259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15260         $(SET_LIB_PATH) \
15261         $(HOST_EXPORTS) \
15262         (cd prms && $(MAKE) $(FLAGS_TO_PASS)  install)
15263
15264 @endif prms
15265
15266 # Other targets (info, dvi, etc.)
15267
15268 .PHONY: maybe-info-prms info-prms
15269 maybe-info-prms:
15270 @if prms
15271 maybe-info-prms: info-prms
15272
15273 info-prms: \
15274     configure-prms 
15275         @[ -f ./prms/Makefile ] || exit 0; \
15276         r=`${PWD_COMMAND}`; export r; \
15277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15278         $(SET_LIB_PATH) \
15279         $(HOST_EXPORTS) \
15280         for flag in $(EXTRA_HOST_FLAGS) ; do \
15281           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15282         done; \
15283         echo "Doing info in prms" ; \
15284         (cd prms && \
15285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15287                   "RANLIB=$${RANLIB}" \
15288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15289                   info) \
15290           || exit 1
15291
15292 @endif prms
15293
15294 .PHONY: maybe-dvi-prms dvi-prms
15295 maybe-dvi-prms:
15296 @if prms
15297 maybe-dvi-prms: dvi-prms
15298
15299 dvi-prms: \
15300     configure-prms 
15301         @[ -f ./prms/Makefile ] || exit 0; \
15302         r=`${PWD_COMMAND}`; export r; \
15303         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15304         $(SET_LIB_PATH) \
15305         $(HOST_EXPORTS) \
15306         for flag in $(EXTRA_HOST_FLAGS) ; do \
15307           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15308         done; \
15309         echo "Doing dvi in prms" ; \
15310         (cd prms && \
15311           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15312                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15313                   "RANLIB=$${RANLIB}" \
15314                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15315                   dvi) \
15316           || exit 1
15317
15318 @endif prms
15319
15320 .PHONY: maybe-TAGS-prms TAGS-prms
15321 maybe-TAGS-prms:
15322 @if prms
15323 maybe-TAGS-prms: TAGS-prms
15324
15325 TAGS-prms: \
15326     configure-prms 
15327         @[ -f ./prms/Makefile ] || exit 0; \
15328         r=`${PWD_COMMAND}`; export r; \
15329         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330         $(SET_LIB_PATH) \
15331         $(HOST_EXPORTS) \
15332         for flag in $(EXTRA_HOST_FLAGS) ; do \
15333           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15334         done; \
15335         echo "Doing TAGS in prms" ; \
15336         (cd prms && \
15337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15339                   "RANLIB=$${RANLIB}" \
15340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15341                   TAGS) \
15342           || exit 1
15343
15344 @endif prms
15345
15346 .PHONY: maybe-install-info-prms install-info-prms
15347 maybe-install-info-prms:
15348 @if prms
15349 maybe-install-info-prms: install-info-prms
15350
15351 install-info-prms: \
15352     configure-prms \
15353     info-prms 
15354         @[ -f ./prms/Makefile ] || exit 0; \
15355         r=`${PWD_COMMAND}`; export r; \
15356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357         $(SET_LIB_PATH) \
15358         $(HOST_EXPORTS) \
15359         for flag in $(EXTRA_HOST_FLAGS) ; do \
15360           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15361         done; \
15362         echo "Doing install-info in prms" ; \
15363         (cd prms && \
15364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15366                   "RANLIB=$${RANLIB}" \
15367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15368                   install-info) \
15369           || exit 1
15370
15371 @endif prms
15372
15373 .PHONY: maybe-installcheck-prms installcheck-prms
15374 maybe-installcheck-prms:
15375 @if prms
15376 maybe-installcheck-prms: installcheck-prms
15377
15378 installcheck-prms: \
15379     configure-prms 
15380         @[ -f ./prms/Makefile ] || exit 0; \
15381         r=`${PWD_COMMAND}`; export r; \
15382         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383         $(SET_LIB_PATH) \
15384         $(HOST_EXPORTS) \
15385         for flag in $(EXTRA_HOST_FLAGS) ; do \
15386           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15387         done; \
15388         echo "Doing installcheck in prms" ; \
15389         (cd prms && \
15390           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15391                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15392                   "RANLIB=$${RANLIB}" \
15393                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15394                   installcheck) \
15395           || exit 1
15396
15397 @endif prms
15398
15399 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15400 maybe-mostlyclean-prms:
15401 @if prms
15402 maybe-mostlyclean-prms: mostlyclean-prms
15403
15404 mostlyclean-prms: 
15405         @[ -f ./prms/Makefile ] || exit 0; \
15406         r=`${PWD_COMMAND}`; export r; \
15407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408         $(SET_LIB_PATH) \
15409         $(HOST_EXPORTS) \
15410         for flag in $(EXTRA_HOST_FLAGS) ; do \
15411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15412         done; \
15413         echo "Doing mostlyclean in prms" ; \
15414         (cd prms && \
15415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15417                   "RANLIB=$${RANLIB}" \
15418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15419                   mostlyclean) \
15420           || exit 1
15421
15422 @endif prms
15423
15424 .PHONY: maybe-clean-prms clean-prms
15425 maybe-clean-prms:
15426 @if prms
15427 maybe-clean-prms: clean-prms
15428
15429 clean-prms: 
15430         @[ -f ./prms/Makefile ] || exit 0; \
15431         r=`${PWD_COMMAND}`; export r; \
15432         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433         $(SET_LIB_PATH) \
15434         $(HOST_EXPORTS) \
15435         for flag in $(EXTRA_HOST_FLAGS) ; do \
15436           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15437         done; \
15438         echo "Doing clean in prms" ; \
15439         (cd prms && \
15440           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15441                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15442                   "RANLIB=$${RANLIB}" \
15443                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15444                   clean) \
15445           || exit 1
15446
15447 @endif prms
15448
15449 .PHONY: maybe-distclean-prms distclean-prms
15450 maybe-distclean-prms:
15451 @if prms
15452 maybe-distclean-prms: distclean-prms
15453
15454 distclean-prms: 
15455         @[ -f ./prms/Makefile ] || exit 0; \
15456         r=`${PWD_COMMAND}`; export r; \
15457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15458         $(SET_LIB_PATH) \
15459         $(HOST_EXPORTS) \
15460         for flag in $(EXTRA_HOST_FLAGS) ; do \
15461           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15462         done; \
15463         echo "Doing distclean in prms" ; \
15464         (cd prms && \
15465           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15466                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15467                   "RANLIB=$${RANLIB}" \
15468                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15469                   distclean) \
15470           || exit 1
15471
15472 @endif prms
15473
15474 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15475 maybe-maintainer-clean-prms:
15476 @if prms
15477 maybe-maintainer-clean-prms: maintainer-clean-prms
15478
15479 maintainer-clean-prms: 
15480         @[ -f ./prms/Makefile ] || exit 0; \
15481         r=`${PWD_COMMAND}`; export r; \
15482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483         $(SET_LIB_PATH) \
15484         $(HOST_EXPORTS) \
15485         for flag in $(EXTRA_HOST_FLAGS) ; do \
15486           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15487         done; \
15488         echo "Doing maintainer-clean in prms" ; \
15489         (cd prms && \
15490           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15491                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15492                   "RANLIB=$${RANLIB}" \
15493                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15494                   maintainer-clean) \
15495           || exit 1
15496
15497 @endif prms
15498
15499
15500 .PHONY: configure-rcs maybe-configure-rcs
15501 maybe-configure-rcs:
15502 @if rcs
15503 maybe-configure-rcs: configure-rcs
15504 configure-rcs:
15505         @test ! -f rcs/Makefile || exit 0; \
15506         [ -d rcs ] || mkdir rcs; \
15507         r=`${PWD_COMMAND}`; export r; \
15508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15509         $(HOST_EXPORTS) \
15510         echo Configuring in rcs; \
15511         cd rcs || exit 1; \
15512         case $(srcdir) in \
15513           \.) \
15514             srcdiroption="--srcdir=."; \
15515             libsrcdir=".";; \
15516           /* | [A-Za-z]:[\\/]*) \
15517             srcdiroption="--srcdir=$(srcdir)/rcs"; \
15518             libsrcdir="$$s/rcs";; \
15519           *) \
15520             srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15521             libsrcdir="$$s/rcs";; \
15522         esac; \
15523         $(SHELL) $${libsrcdir}/configure \
15524           $(HOST_CONFIGARGS) $${srcdiroption}  \
15525           || exit 1
15526 @endif rcs
15527
15528 .PHONY: all-rcs maybe-all-rcs
15529 maybe-all-rcs:
15530 @if rcs
15531 maybe-all-rcs: all-rcs
15532 all-rcs: configure-rcs
15533         @r=`${PWD_COMMAND}`; export r; \
15534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15535         $(SET_LIB_PATH) \
15536         $(HOST_EXPORTS) \
15537         (cd rcs && $(MAKE) $(FLAGS_TO_PASS)  all)
15538 @endif rcs
15539
15540 .PHONY: check-rcs maybe-check-rcs
15541 maybe-check-rcs:
15542 @if rcs
15543 maybe-check-rcs: check-rcs
15544
15545 check-rcs:
15546         @r=`${PWD_COMMAND}`; export r; \
15547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548         $(SET_LIB_PATH) \
15549         $(HOST_EXPORTS) \
15550         (cd rcs && $(MAKE) $(FLAGS_TO_PASS)  check)
15551
15552 @endif rcs
15553
15554 .PHONY: install-rcs maybe-install-rcs
15555 maybe-install-rcs:
15556 @if rcs
15557 maybe-install-rcs: install-rcs
15558
15559 install-rcs: installdirs
15560         @r=`${PWD_COMMAND}`; export r; \
15561         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15562         $(SET_LIB_PATH) \
15563         $(HOST_EXPORTS) \
15564         (cd rcs && $(MAKE) $(FLAGS_TO_PASS)  install)
15565
15566 @endif rcs
15567
15568 # Other targets (info, dvi, etc.)
15569
15570 .PHONY: maybe-info-rcs info-rcs
15571 maybe-info-rcs:
15572 @if rcs
15573 maybe-info-rcs: info-rcs
15574
15575 info-rcs: \
15576     configure-rcs 
15577         @[ -f ./rcs/Makefile ] || exit 0; \
15578         r=`${PWD_COMMAND}`; export r; \
15579         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580         $(SET_LIB_PATH) \
15581         $(HOST_EXPORTS) \
15582         for flag in $(EXTRA_HOST_FLAGS) ; do \
15583           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15584         done; \
15585         echo "Doing info in rcs" ; \
15586         (cd rcs && \
15587           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15588                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15589                   "RANLIB=$${RANLIB}" \
15590                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15591                   info) \
15592           || exit 1
15593
15594 @endif rcs
15595
15596 .PHONY: maybe-dvi-rcs dvi-rcs
15597 maybe-dvi-rcs:
15598 @if rcs
15599 maybe-dvi-rcs: dvi-rcs
15600
15601 dvi-rcs: \
15602     configure-rcs 
15603         @[ -f ./rcs/Makefile ] || exit 0; \
15604         r=`${PWD_COMMAND}`; export r; \
15605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15606         $(SET_LIB_PATH) \
15607         $(HOST_EXPORTS) \
15608         for flag in $(EXTRA_HOST_FLAGS) ; do \
15609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15610         done; \
15611         echo "Doing dvi in rcs" ; \
15612         (cd rcs && \
15613           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15614                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15615                   "RANLIB=$${RANLIB}" \
15616                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15617                   dvi) \
15618           || exit 1
15619
15620 @endif rcs
15621
15622 .PHONY: maybe-TAGS-rcs TAGS-rcs
15623 maybe-TAGS-rcs:
15624 @if rcs
15625 maybe-TAGS-rcs: TAGS-rcs
15626
15627 TAGS-rcs: \
15628     configure-rcs 
15629         @[ -f ./rcs/Makefile ] || exit 0; \
15630         r=`${PWD_COMMAND}`; export r; \
15631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15632         $(SET_LIB_PATH) \
15633         $(HOST_EXPORTS) \
15634         for flag in $(EXTRA_HOST_FLAGS) ; do \
15635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15636         done; \
15637         echo "Doing TAGS in rcs" ; \
15638         (cd rcs && \
15639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15641                   "RANLIB=$${RANLIB}" \
15642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15643                   TAGS) \
15644           || exit 1
15645
15646 @endif rcs
15647
15648 .PHONY: maybe-install-info-rcs install-info-rcs
15649 maybe-install-info-rcs:
15650 @if rcs
15651 maybe-install-info-rcs: install-info-rcs
15652
15653 install-info-rcs: \
15654     configure-rcs \
15655     info-rcs 
15656         @[ -f ./rcs/Makefile ] || exit 0; \
15657         r=`${PWD_COMMAND}`; export r; \
15658         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15659         $(SET_LIB_PATH) \
15660         $(HOST_EXPORTS) \
15661         for flag in $(EXTRA_HOST_FLAGS) ; do \
15662           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15663         done; \
15664         echo "Doing install-info in rcs" ; \
15665         (cd rcs && \
15666           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15667                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15668                   "RANLIB=$${RANLIB}" \
15669                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15670                   install-info) \
15671           || exit 1
15672
15673 @endif rcs
15674
15675 .PHONY: maybe-installcheck-rcs installcheck-rcs
15676 maybe-installcheck-rcs:
15677 @if rcs
15678 maybe-installcheck-rcs: installcheck-rcs
15679
15680 installcheck-rcs: \
15681     configure-rcs 
15682         @[ -f ./rcs/Makefile ] || exit 0; \
15683         r=`${PWD_COMMAND}`; export r; \
15684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15685         $(SET_LIB_PATH) \
15686         $(HOST_EXPORTS) \
15687         for flag in $(EXTRA_HOST_FLAGS) ; do \
15688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15689         done; \
15690         echo "Doing installcheck in rcs" ; \
15691         (cd rcs && \
15692           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15693                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15694                   "RANLIB=$${RANLIB}" \
15695                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15696                   installcheck) \
15697           || exit 1
15698
15699 @endif rcs
15700
15701 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15702 maybe-mostlyclean-rcs:
15703 @if rcs
15704 maybe-mostlyclean-rcs: mostlyclean-rcs
15705
15706 mostlyclean-rcs: 
15707         @[ -f ./rcs/Makefile ] || exit 0; \
15708         r=`${PWD_COMMAND}`; export r; \
15709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15710         $(SET_LIB_PATH) \
15711         $(HOST_EXPORTS) \
15712         for flag in $(EXTRA_HOST_FLAGS) ; do \
15713           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15714         done; \
15715         echo "Doing mostlyclean in rcs" ; \
15716         (cd rcs && \
15717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15719                   "RANLIB=$${RANLIB}" \
15720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15721                   mostlyclean) \
15722           || exit 1
15723
15724 @endif rcs
15725
15726 .PHONY: maybe-clean-rcs clean-rcs
15727 maybe-clean-rcs:
15728 @if rcs
15729 maybe-clean-rcs: clean-rcs
15730
15731 clean-rcs: 
15732         @[ -f ./rcs/Makefile ] || exit 0; \
15733         r=`${PWD_COMMAND}`; export r; \
15734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15735         $(SET_LIB_PATH) \
15736         $(HOST_EXPORTS) \
15737         for flag in $(EXTRA_HOST_FLAGS) ; do \
15738           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15739         done; \
15740         echo "Doing clean in rcs" ; \
15741         (cd rcs && \
15742           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15743                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15744                   "RANLIB=$${RANLIB}" \
15745                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15746                   clean) \
15747           || exit 1
15748
15749 @endif rcs
15750
15751 .PHONY: maybe-distclean-rcs distclean-rcs
15752 maybe-distclean-rcs:
15753 @if rcs
15754 maybe-distclean-rcs: distclean-rcs
15755
15756 distclean-rcs: 
15757         @[ -f ./rcs/Makefile ] || exit 0; \
15758         r=`${PWD_COMMAND}`; export r; \
15759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15760         $(SET_LIB_PATH) \
15761         $(HOST_EXPORTS) \
15762         for flag in $(EXTRA_HOST_FLAGS) ; do \
15763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15764         done; \
15765         echo "Doing distclean in rcs" ; \
15766         (cd rcs && \
15767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15769                   "RANLIB=$${RANLIB}" \
15770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15771                   distclean) \
15772           || exit 1
15773
15774 @endif rcs
15775
15776 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15777 maybe-maintainer-clean-rcs:
15778 @if rcs
15779 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15780
15781 maintainer-clean-rcs: 
15782         @[ -f ./rcs/Makefile ] || exit 0; \
15783         r=`${PWD_COMMAND}`; export r; \
15784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15785         $(SET_LIB_PATH) \
15786         $(HOST_EXPORTS) \
15787         for flag in $(EXTRA_HOST_FLAGS) ; do \
15788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15789         done; \
15790         echo "Doing maintainer-clean in rcs" ; \
15791         (cd rcs && \
15792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15794                   "RANLIB=$${RANLIB}" \
15795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15796                   maintainer-clean) \
15797           || exit 1
15798
15799 @endif rcs
15800
15801
15802 .PHONY: configure-readline maybe-configure-readline
15803 maybe-configure-readline:
15804 @if readline
15805 maybe-configure-readline: configure-readline
15806 configure-readline:
15807         @test ! -f readline/Makefile || exit 0; \
15808         [ -d readline ] || mkdir readline; \
15809         r=`${PWD_COMMAND}`; export r; \
15810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15811         $(HOST_EXPORTS) \
15812         echo Configuring in readline; \
15813         cd readline || exit 1; \
15814         case $(srcdir) in \
15815           \.) \
15816             srcdiroption="--srcdir=."; \
15817             libsrcdir=".";; \
15818           /* | [A-Za-z]:[\\/]*) \
15819             srcdiroption="--srcdir=$(srcdir)/readline"; \
15820             libsrcdir="$$s/readline";; \
15821           *) \
15822             srcdiroption="--srcdir=../$(srcdir)/readline"; \
15823             libsrcdir="$$s/readline";; \
15824         esac; \
15825         $(SHELL) $${libsrcdir}/configure \
15826           $(HOST_CONFIGARGS) $${srcdiroption}  \
15827           || exit 1
15828 @endif readline
15829
15830 .PHONY: all-readline maybe-all-readline
15831 maybe-all-readline:
15832 @if readline
15833 maybe-all-readline: all-readline
15834 all-readline: configure-readline
15835         @r=`${PWD_COMMAND}`; export r; \
15836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15837         $(SET_LIB_PATH) \
15838         $(HOST_EXPORTS) \
15839         (cd readline && $(MAKE) $(FLAGS_TO_PASS)  all)
15840 @endif readline
15841
15842 .PHONY: check-readline maybe-check-readline
15843 maybe-check-readline:
15844 @if readline
15845 maybe-check-readline: check-readline
15846
15847 check-readline:
15848         @r=`${PWD_COMMAND}`; export r; \
15849         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850         $(SET_LIB_PATH) \
15851         $(HOST_EXPORTS) \
15852         (cd readline && $(MAKE) $(FLAGS_TO_PASS)  check)
15853
15854 @endif readline
15855
15856 .PHONY: install-readline maybe-install-readline
15857 maybe-install-readline:
15858 @if readline
15859 maybe-install-readline: install-readline
15860
15861 install-readline: installdirs
15862         @r=`${PWD_COMMAND}`; export r; \
15863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15864         $(SET_LIB_PATH) \
15865         $(HOST_EXPORTS) \
15866         (cd readline && $(MAKE) $(FLAGS_TO_PASS)  install)
15867
15868 @endif readline
15869
15870 # Other targets (info, dvi, etc.)
15871
15872 .PHONY: maybe-info-readline info-readline
15873 maybe-info-readline:
15874 @if readline
15875 maybe-info-readline: info-readline
15876
15877 info-readline: \
15878     configure-readline 
15879         @[ -f ./readline/Makefile ] || exit 0; \
15880         r=`${PWD_COMMAND}`; export r; \
15881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15882         $(SET_LIB_PATH) \
15883         $(HOST_EXPORTS) \
15884         for flag in $(EXTRA_HOST_FLAGS) ; do \
15885           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15886         done; \
15887         echo "Doing info in readline" ; \
15888         (cd readline && \
15889           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15890                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15891                   "RANLIB=$${RANLIB}" \
15892                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15893                   info) \
15894           || exit 1
15895
15896 @endif readline
15897
15898 .PHONY: maybe-dvi-readline dvi-readline
15899 maybe-dvi-readline:
15900 @if readline
15901 maybe-dvi-readline: dvi-readline
15902
15903 dvi-readline: \
15904     configure-readline 
15905         @[ -f ./readline/Makefile ] || exit 0; \
15906         r=`${PWD_COMMAND}`; export r; \
15907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15908         $(SET_LIB_PATH) \
15909         $(HOST_EXPORTS) \
15910         for flag in $(EXTRA_HOST_FLAGS) ; do \
15911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15912         done; \
15913         echo "Doing dvi in readline" ; \
15914         (cd readline && \
15915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15917                   "RANLIB=$${RANLIB}" \
15918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15919                   dvi) \
15920           || exit 1
15921
15922 @endif readline
15923
15924 .PHONY: maybe-TAGS-readline TAGS-readline
15925 maybe-TAGS-readline:
15926 @if readline
15927 maybe-TAGS-readline: TAGS-readline
15928
15929 TAGS-readline: \
15930     configure-readline 
15931         @[ -f ./readline/Makefile ] || exit 0; \
15932         r=`${PWD_COMMAND}`; export r; \
15933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15934         $(SET_LIB_PATH) \
15935         $(HOST_EXPORTS) \
15936         for flag in $(EXTRA_HOST_FLAGS) ; do \
15937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15938         done; \
15939         echo "Doing TAGS in readline" ; \
15940         (cd readline && \
15941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943                   "RANLIB=$${RANLIB}" \
15944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15945                   TAGS) \
15946           || exit 1
15947
15948 @endif readline
15949
15950 .PHONY: maybe-install-info-readline install-info-readline
15951 maybe-install-info-readline:
15952 @if readline
15953 maybe-install-info-readline: install-info-readline
15954
15955 install-info-readline: \
15956     configure-readline \
15957     info-readline 
15958         @[ -f ./readline/Makefile ] || exit 0; \
15959         r=`${PWD_COMMAND}`; export r; \
15960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15961         $(SET_LIB_PATH) \
15962         $(HOST_EXPORTS) \
15963         for flag in $(EXTRA_HOST_FLAGS) ; do \
15964           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15965         done; \
15966         echo "Doing install-info in readline" ; \
15967         (cd readline && \
15968           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15969                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15970                   "RANLIB=$${RANLIB}" \
15971                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15972                   install-info) \
15973           || exit 1
15974
15975 @endif readline
15976
15977 .PHONY: maybe-installcheck-readline installcheck-readline
15978 maybe-installcheck-readline:
15979 @if readline
15980 maybe-installcheck-readline: installcheck-readline
15981
15982 installcheck-readline: \
15983     configure-readline 
15984         @[ -f ./readline/Makefile ] || exit 0; \
15985         r=`${PWD_COMMAND}`; export r; \
15986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15987         $(SET_LIB_PATH) \
15988         $(HOST_EXPORTS) \
15989         for flag in $(EXTRA_HOST_FLAGS) ; do \
15990           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991         done; \
15992         echo "Doing installcheck in readline" ; \
15993         (cd readline && \
15994           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996                   "RANLIB=$${RANLIB}" \
15997                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15998                   installcheck) \
15999           || exit 1
16000
16001 @endif readline
16002
16003 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16004 maybe-mostlyclean-readline:
16005 @if readline
16006 maybe-mostlyclean-readline: mostlyclean-readline
16007
16008 mostlyclean-readline: 
16009         @[ -f ./readline/Makefile ] || exit 0; \
16010         r=`${PWD_COMMAND}`; export r; \
16011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16012         $(SET_LIB_PATH) \
16013         $(HOST_EXPORTS) \
16014         for flag in $(EXTRA_HOST_FLAGS) ; do \
16015           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016         done; \
16017         echo "Doing mostlyclean in readline" ; \
16018         (cd readline && \
16019           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021                   "RANLIB=$${RANLIB}" \
16022                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16023                   mostlyclean) \
16024           || exit 1
16025
16026 @endif readline
16027
16028 .PHONY: maybe-clean-readline clean-readline
16029 maybe-clean-readline:
16030 @if readline
16031 maybe-clean-readline: clean-readline
16032
16033 clean-readline: 
16034         @[ -f ./readline/Makefile ] || exit 0; \
16035         r=`${PWD_COMMAND}`; export r; \
16036         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16037         $(SET_LIB_PATH) \
16038         $(HOST_EXPORTS) \
16039         for flag in $(EXTRA_HOST_FLAGS) ; do \
16040           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041         done; \
16042         echo "Doing clean in readline" ; \
16043         (cd readline && \
16044           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046                   "RANLIB=$${RANLIB}" \
16047                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16048                   clean) \
16049           || exit 1
16050
16051 @endif readline
16052
16053 .PHONY: maybe-distclean-readline distclean-readline
16054 maybe-distclean-readline:
16055 @if readline
16056 maybe-distclean-readline: distclean-readline
16057
16058 distclean-readline: 
16059         @[ -f ./readline/Makefile ] || exit 0; \
16060         r=`${PWD_COMMAND}`; export r; \
16061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062         $(SET_LIB_PATH) \
16063         $(HOST_EXPORTS) \
16064         for flag in $(EXTRA_HOST_FLAGS) ; do \
16065           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16066         done; \
16067         echo "Doing distclean in readline" ; \
16068         (cd readline && \
16069           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16070                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16071                   "RANLIB=$${RANLIB}" \
16072                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16073                   distclean) \
16074           || exit 1
16075
16076 @endif readline
16077
16078 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16079 maybe-maintainer-clean-readline:
16080 @if readline
16081 maybe-maintainer-clean-readline: maintainer-clean-readline
16082
16083 maintainer-clean-readline: 
16084         @[ -f ./readline/Makefile ] || exit 0; \
16085         r=`${PWD_COMMAND}`; export r; \
16086         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16087         $(SET_LIB_PATH) \
16088         $(HOST_EXPORTS) \
16089         for flag in $(EXTRA_HOST_FLAGS) ; do \
16090           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16091         done; \
16092         echo "Doing maintainer-clean in readline" ; \
16093         (cd readline && \
16094           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096                   "RANLIB=$${RANLIB}" \
16097                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16098                   maintainer-clean) \
16099           || exit 1
16100
16101 @endif readline
16102
16103
16104 .PHONY: configure-release maybe-configure-release
16105 maybe-configure-release:
16106 @if release
16107 maybe-configure-release: configure-release
16108 configure-release:
16109         @test ! -f release/Makefile || exit 0; \
16110         [ -d release ] || mkdir release; \
16111         r=`${PWD_COMMAND}`; export r; \
16112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113         $(HOST_EXPORTS) \
16114         echo Configuring in release; \
16115         cd release || exit 1; \
16116         case $(srcdir) in \
16117           \.) \
16118             srcdiroption="--srcdir=."; \
16119             libsrcdir=".";; \
16120           /* | [A-Za-z]:[\\/]*) \
16121             srcdiroption="--srcdir=$(srcdir)/release"; \
16122             libsrcdir="$$s/release";; \
16123           *) \
16124             srcdiroption="--srcdir=../$(srcdir)/release"; \
16125             libsrcdir="$$s/release";; \
16126         esac; \
16127         $(SHELL) $${libsrcdir}/configure \
16128           $(HOST_CONFIGARGS) $${srcdiroption}  \
16129           || exit 1
16130 @endif release
16131
16132 .PHONY: all-release maybe-all-release
16133 maybe-all-release:
16134 @if release
16135 maybe-all-release: all-release
16136 all-release: configure-release
16137         @r=`${PWD_COMMAND}`; export r; \
16138         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139         $(SET_LIB_PATH) \
16140         $(HOST_EXPORTS) \
16141         (cd release && $(MAKE) $(FLAGS_TO_PASS)  all)
16142 @endif release
16143
16144 .PHONY: check-release maybe-check-release
16145 maybe-check-release:
16146 @if release
16147 maybe-check-release: check-release
16148
16149 check-release:
16150
16151 @endif release
16152
16153 .PHONY: install-release maybe-install-release
16154 maybe-install-release:
16155 @if release
16156 maybe-install-release: install-release
16157
16158 install-release:
16159
16160 @endif release
16161
16162 # Other targets (info, dvi, etc.)
16163
16164 .PHONY: maybe-info-release info-release
16165 maybe-info-release:
16166 @if release
16167 maybe-info-release: info-release
16168
16169 info-release: \
16170     configure-release 
16171         @[ -f ./release/Makefile ] || exit 0; \
16172         r=`${PWD_COMMAND}`; export r; \
16173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16174         $(SET_LIB_PATH) \
16175         $(HOST_EXPORTS) \
16176         for flag in $(EXTRA_HOST_FLAGS) ; do \
16177           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16178         done; \
16179         echo "Doing info in release" ; \
16180         (cd release && \
16181           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16182                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16183                   "RANLIB=$${RANLIB}" \
16184                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16185                   info) \
16186           || exit 1
16187
16188 @endif release
16189
16190 .PHONY: maybe-dvi-release dvi-release
16191 maybe-dvi-release:
16192 @if release
16193 maybe-dvi-release: dvi-release
16194
16195 dvi-release: \
16196     configure-release 
16197         @[ -f ./release/Makefile ] || exit 0; \
16198         r=`${PWD_COMMAND}`; export r; \
16199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16200         $(SET_LIB_PATH) \
16201         $(HOST_EXPORTS) \
16202         for flag in $(EXTRA_HOST_FLAGS) ; do \
16203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16204         done; \
16205         echo "Doing dvi in release" ; \
16206         (cd release && \
16207           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16208                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16209                   "RANLIB=$${RANLIB}" \
16210                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16211                   dvi) \
16212           || exit 1
16213
16214 @endif release
16215
16216 .PHONY: maybe-TAGS-release TAGS-release
16217 maybe-TAGS-release:
16218 @if release
16219 maybe-TAGS-release: TAGS-release
16220
16221 TAGS-release: \
16222     configure-release 
16223         @[ -f ./release/Makefile ] || exit 0; \
16224         r=`${PWD_COMMAND}`; export r; \
16225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16226         $(SET_LIB_PATH) \
16227         $(HOST_EXPORTS) \
16228         for flag in $(EXTRA_HOST_FLAGS) ; do \
16229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16230         done; \
16231         echo "Doing TAGS in release" ; \
16232         (cd release && \
16233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16235                   "RANLIB=$${RANLIB}" \
16236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16237                   TAGS) \
16238           || exit 1
16239
16240 @endif release
16241
16242 .PHONY: maybe-install-info-release install-info-release
16243 maybe-install-info-release:
16244 @if release
16245 maybe-install-info-release: install-info-release
16246
16247 install-info-release: \
16248     configure-release \
16249     info-release 
16250         @[ -f ./release/Makefile ] || exit 0; \
16251         r=`${PWD_COMMAND}`; export r; \
16252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16253         $(SET_LIB_PATH) \
16254         $(HOST_EXPORTS) \
16255         for flag in $(EXTRA_HOST_FLAGS) ; do \
16256           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16257         done; \
16258         echo "Doing install-info in release" ; \
16259         (cd release && \
16260           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16261                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16262                   "RANLIB=$${RANLIB}" \
16263                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16264                   install-info) \
16265           || exit 1
16266
16267 @endif release
16268
16269 .PHONY: maybe-installcheck-release installcheck-release
16270 maybe-installcheck-release:
16271 @if release
16272 maybe-installcheck-release: installcheck-release
16273
16274 installcheck-release: \
16275     configure-release 
16276         @[ -f ./release/Makefile ] || exit 0; \
16277         r=`${PWD_COMMAND}`; export r; \
16278         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16279         $(SET_LIB_PATH) \
16280         $(HOST_EXPORTS) \
16281         for flag in $(EXTRA_HOST_FLAGS) ; do \
16282           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16283         done; \
16284         echo "Doing installcheck in release" ; \
16285         (cd release && \
16286           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16287                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16288                   "RANLIB=$${RANLIB}" \
16289                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16290                   installcheck) \
16291           || exit 1
16292
16293 @endif release
16294
16295 .PHONY: maybe-mostlyclean-release mostlyclean-release
16296 maybe-mostlyclean-release:
16297 @if release
16298 maybe-mostlyclean-release: mostlyclean-release
16299
16300 mostlyclean-release: 
16301         @[ -f ./release/Makefile ] || exit 0; \
16302         r=`${PWD_COMMAND}`; export r; \
16303         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16304         $(SET_LIB_PATH) \
16305         $(HOST_EXPORTS) \
16306         for flag in $(EXTRA_HOST_FLAGS) ; do \
16307           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16308         done; \
16309         echo "Doing mostlyclean in release" ; \
16310         (cd release && \
16311           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16312                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16313                   "RANLIB=$${RANLIB}" \
16314                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16315                   mostlyclean) \
16316           || exit 1
16317
16318 @endif release
16319
16320 .PHONY: maybe-clean-release clean-release
16321 maybe-clean-release:
16322 @if release
16323 maybe-clean-release: clean-release
16324
16325 clean-release: 
16326         @[ -f ./release/Makefile ] || exit 0; \
16327         r=`${PWD_COMMAND}`; export r; \
16328         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16329         $(SET_LIB_PATH) \
16330         $(HOST_EXPORTS) \
16331         for flag in $(EXTRA_HOST_FLAGS) ; do \
16332           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16333         done; \
16334         echo "Doing clean in release" ; \
16335         (cd release && \
16336           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16337                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16338                   "RANLIB=$${RANLIB}" \
16339                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16340                   clean) \
16341           || exit 1
16342
16343 @endif release
16344
16345 .PHONY: maybe-distclean-release distclean-release
16346 maybe-distclean-release:
16347 @if release
16348 maybe-distclean-release: distclean-release
16349
16350 distclean-release: 
16351         @[ -f ./release/Makefile ] || exit 0; \
16352         r=`${PWD_COMMAND}`; export r; \
16353         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16354         $(SET_LIB_PATH) \
16355         $(HOST_EXPORTS) \
16356         for flag in $(EXTRA_HOST_FLAGS) ; do \
16357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16358         done; \
16359         echo "Doing distclean in release" ; \
16360         (cd release && \
16361           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16362                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16363                   "RANLIB=$${RANLIB}" \
16364                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16365                   distclean) \
16366           || exit 1
16367
16368 @endif release
16369
16370 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16371 maybe-maintainer-clean-release:
16372 @if release
16373 maybe-maintainer-clean-release: maintainer-clean-release
16374
16375 maintainer-clean-release: 
16376         @[ -f ./release/Makefile ] || exit 0; \
16377         r=`${PWD_COMMAND}`; export r; \
16378         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379         $(SET_LIB_PATH) \
16380         $(HOST_EXPORTS) \
16381         for flag in $(EXTRA_HOST_FLAGS) ; do \
16382           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16383         done; \
16384         echo "Doing maintainer-clean in release" ; \
16385         (cd release && \
16386           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16387                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16388                   "RANLIB=$${RANLIB}" \
16389                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16390                   maintainer-clean) \
16391           || exit 1
16392
16393 @endif release
16394
16395
16396 .PHONY: configure-recode maybe-configure-recode
16397 maybe-configure-recode:
16398 @if recode
16399 maybe-configure-recode: configure-recode
16400 configure-recode:
16401         @test ! -f recode/Makefile || exit 0; \
16402         [ -d recode ] || mkdir recode; \
16403         r=`${PWD_COMMAND}`; export r; \
16404         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16405         $(HOST_EXPORTS) \
16406         echo Configuring in recode; \
16407         cd recode || exit 1; \
16408         case $(srcdir) in \
16409           \.) \
16410             srcdiroption="--srcdir=."; \
16411             libsrcdir=".";; \
16412           /* | [A-Za-z]:[\\/]*) \
16413             srcdiroption="--srcdir=$(srcdir)/recode"; \
16414             libsrcdir="$$s/recode";; \
16415           *) \
16416             srcdiroption="--srcdir=../$(srcdir)/recode"; \
16417             libsrcdir="$$s/recode";; \
16418         esac; \
16419         $(SHELL) $${libsrcdir}/configure \
16420           $(HOST_CONFIGARGS) $${srcdiroption}  \
16421           || exit 1
16422 @endif recode
16423
16424 .PHONY: all-recode maybe-all-recode
16425 maybe-all-recode:
16426 @if recode
16427 maybe-all-recode: all-recode
16428 all-recode: configure-recode
16429         @r=`${PWD_COMMAND}`; export r; \
16430         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16431         $(SET_LIB_PATH) \
16432         $(HOST_EXPORTS) \
16433         (cd recode && $(MAKE) $(FLAGS_TO_PASS)  all)
16434 @endif recode
16435
16436 .PHONY: check-recode maybe-check-recode
16437 maybe-check-recode:
16438 @if recode
16439 maybe-check-recode: check-recode
16440
16441 check-recode:
16442         @r=`${PWD_COMMAND}`; export r; \
16443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444         $(SET_LIB_PATH) \
16445         $(HOST_EXPORTS) \
16446         (cd recode && $(MAKE) $(FLAGS_TO_PASS)  check)
16447
16448 @endif recode
16449
16450 .PHONY: install-recode maybe-install-recode
16451 maybe-install-recode:
16452 @if recode
16453 maybe-install-recode: install-recode
16454
16455 install-recode: installdirs
16456         @r=`${PWD_COMMAND}`; export r; \
16457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16458         $(SET_LIB_PATH) \
16459         $(HOST_EXPORTS) \
16460         (cd recode && $(MAKE) $(FLAGS_TO_PASS)  install)
16461
16462 @endif recode
16463
16464 # Other targets (info, dvi, etc.)
16465
16466 .PHONY: maybe-info-recode info-recode
16467 maybe-info-recode:
16468 @if recode
16469 maybe-info-recode: info-recode
16470
16471 info-recode: \
16472     configure-recode 
16473         @[ -f ./recode/Makefile ] || exit 0; \
16474         r=`${PWD_COMMAND}`; export r; \
16475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16476         $(SET_LIB_PATH) \
16477         $(HOST_EXPORTS) \
16478         for flag in $(EXTRA_HOST_FLAGS) ; do \
16479           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16480         done; \
16481         echo "Doing info in recode" ; \
16482         (cd recode && \
16483           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16484                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16485                   "RANLIB=$${RANLIB}" \
16486                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16487                   info) \
16488           || exit 1
16489
16490 @endif recode
16491
16492 .PHONY: maybe-dvi-recode dvi-recode
16493 maybe-dvi-recode:
16494 @if recode
16495 maybe-dvi-recode: dvi-recode
16496
16497 dvi-recode: \
16498     configure-recode 
16499         @[ -f ./recode/Makefile ] || exit 0; \
16500         r=`${PWD_COMMAND}`; export r; \
16501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16502         $(SET_LIB_PATH) \
16503         $(HOST_EXPORTS) \
16504         for flag in $(EXTRA_HOST_FLAGS) ; do \
16505           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16506         done; \
16507         echo "Doing dvi in recode" ; \
16508         (cd recode && \
16509           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16510                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16511                   "RANLIB=$${RANLIB}" \
16512                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16513                   dvi) \
16514           || exit 1
16515
16516 @endif recode
16517
16518 .PHONY: maybe-TAGS-recode TAGS-recode
16519 maybe-TAGS-recode:
16520 @if recode
16521 maybe-TAGS-recode: TAGS-recode
16522
16523 TAGS-recode: \
16524     configure-recode 
16525         @[ -f ./recode/Makefile ] || exit 0; \
16526         r=`${PWD_COMMAND}`; export r; \
16527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528         $(SET_LIB_PATH) \
16529         $(HOST_EXPORTS) \
16530         for flag in $(EXTRA_HOST_FLAGS) ; do \
16531           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16532         done; \
16533         echo "Doing TAGS in recode" ; \
16534         (cd recode && \
16535           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16536                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16537                   "RANLIB=$${RANLIB}" \
16538                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16539                   TAGS) \
16540           || exit 1
16541
16542 @endif recode
16543
16544 .PHONY: maybe-install-info-recode install-info-recode
16545 maybe-install-info-recode:
16546 @if recode
16547 maybe-install-info-recode: install-info-recode
16548
16549 install-info-recode: \
16550     configure-recode \
16551     info-recode 
16552         @[ -f ./recode/Makefile ] || exit 0; \
16553         r=`${PWD_COMMAND}`; export r; \
16554         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16555         $(SET_LIB_PATH) \
16556         $(HOST_EXPORTS) \
16557         for flag in $(EXTRA_HOST_FLAGS) ; do \
16558           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16559         done; \
16560         echo "Doing install-info in recode" ; \
16561         (cd recode && \
16562           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16563                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16564                   "RANLIB=$${RANLIB}" \
16565                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16566                   install-info) \
16567           || exit 1
16568
16569 @endif recode
16570
16571 .PHONY: maybe-installcheck-recode installcheck-recode
16572 maybe-installcheck-recode:
16573 @if recode
16574 maybe-installcheck-recode: installcheck-recode
16575
16576 installcheck-recode: \
16577     configure-recode 
16578         @[ -f ./recode/Makefile ] || exit 0; \
16579         r=`${PWD_COMMAND}`; export r; \
16580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16581         $(SET_LIB_PATH) \
16582         $(HOST_EXPORTS) \
16583         for flag in $(EXTRA_HOST_FLAGS) ; do \
16584           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16585         done; \
16586         echo "Doing installcheck in recode" ; \
16587         (cd recode && \
16588           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16589                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16590                   "RANLIB=$${RANLIB}" \
16591                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16592                   installcheck) \
16593           || exit 1
16594
16595 @endif recode
16596
16597 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16598 maybe-mostlyclean-recode:
16599 @if recode
16600 maybe-mostlyclean-recode: mostlyclean-recode
16601
16602 mostlyclean-recode: 
16603         @[ -f ./recode/Makefile ] || exit 0; \
16604         r=`${PWD_COMMAND}`; export r; \
16605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16606         $(SET_LIB_PATH) \
16607         $(HOST_EXPORTS) \
16608         for flag in $(EXTRA_HOST_FLAGS) ; do \
16609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16610         done; \
16611         echo "Doing mostlyclean in recode" ; \
16612         (cd recode && \
16613           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16614                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16615                   "RANLIB=$${RANLIB}" \
16616                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16617                   mostlyclean) \
16618           || exit 1
16619
16620 @endif recode
16621
16622 .PHONY: maybe-clean-recode clean-recode
16623 maybe-clean-recode:
16624 @if recode
16625 maybe-clean-recode: clean-recode
16626
16627 clean-recode: 
16628         @[ -f ./recode/Makefile ] || exit 0; \
16629         r=`${PWD_COMMAND}`; export r; \
16630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16631         $(SET_LIB_PATH) \
16632         $(HOST_EXPORTS) \
16633         for flag in $(EXTRA_HOST_FLAGS) ; do \
16634           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16635         done; \
16636         echo "Doing clean in recode" ; \
16637         (cd recode && \
16638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16640                   "RANLIB=$${RANLIB}" \
16641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16642                   clean) \
16643           || exit 1
16644
16645 @endif recode
16646
16647 .PHONY: maybe-distclean-recode distclean-recode
16648 maybe-distclean-recode:
16649 @if recode
16650 maybe-distclean-recode: distclean-recode
16651
16652 distclean-recode: 
16653         @[ -f ./recode/Makefile ] || exit 0; \
16654         r=`${PWD_COMMAND}`; export r; \
16655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16656         $(SET_LIB_PATH) \
16657         $(HOST_EXPORTS) \
16658         for flag in $(EXTRA_HOST_FLAGS) ; do \
16659           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16660         done; \
16661         echo "Doing distclean in recode" ; \
16662         (cd recode && \
16663           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16664                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16665                   "RANLIB=$${RANLIB}" \
16666                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16667                   distclean) \
16668           || exit 1
16669
16670 @endif recode
16671
16672 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16673 maybe-maintainer-clean-recode:
16674 @if recode
16675 maybe-maintainer-clean-recode: maintainer-clean-recode
16676
16677 maintainer-clean-recode: 
16678         @[ -f ./recode/Makefile ] || exit 0; \
16679         r=`${PWD_COMMAND}`; export r; \
16680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16681         $(SET_LIB_PATH) \
16682         $(HOST_EXPORTS) \
16683         for flag in $(EXTRA_HOST_FLAGS) ; do \
16684           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16685         done; \
16686         echo "Doing maintainer-clean in recode" ; \
16687         (cd recode && \
16688           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16689                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16690                   "RANLIB=$${RANLIB}" \
16691                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16692                   maintainer-clean) \
16693           || exit 1
16694
16695 @endif recode
16696
16697
16698 .PHONY: configure-sed maybe-configure-sed
16699 maybe-configure-sed:
16700 @if sed
16701 maybe-configure-sed: configure-sed
16702 configure-sed:
16703         @test ! -f sed/Makefile || exit 0; \
16704         [ -d sed ] || mkdir sed; \
16705         r=`${PWD_COMMAND}`; export r; \
16706         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16707         $(HOST_EXPORTS) \
16708         echo Configuring in sed; \
16709         cd sed || exit 1; \
16710         case $(srcdir) in \
16711           \.) \
16712             srcdiroption="--srcdir=."; \
16713             libsrcdir=".";; \
16714           /* | [A-Za-z]:[\\/]*) \
16715             srcdiroption="--srcdir=$(srcdir)/sed"; \
16716             libsrcdir="$$s/sed";; \
16717           *) \
16718             srcdiroption="--srcdir=../$(srcdir)/sed"; \
16719             libsrcdir="$$s/sed";; \
16720         esac; \
16721         $(SHELL) $${libsrcdir}/configure \
16722           $(HOST_CONFIGARGS) $${srcdiroption}  \
16723           || exit 1
16724 @endif sed
16725
16726 .PHONY: all-sed maybe-all-sed
16727 maybe-all-sed:
16728 @if sed
16729 maybe-all-sed: all-sed
16730 all-sed: configure-sed
16731         @r=`${PWD_COMMAND}`; export r; \
16732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16733         $(SET_LIB_PATH) \
16734         $(HOST_EXPORTS) \
16735         (cd sed && $(MAKE) $(FLAGS_TO_PASS)  all)
16736 @endif sed
16737
16738 .PHONY: check-sed maybe-check-sed
16739 maybe-check-sed:
16740 @if sed
16741 maybe-check-sed: check-sed
16742
16743 check-sed:
16744         @r=`${PWD_COMMAND}`; export r; \
16745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16746         $(SET_LIB_PATH) \
16747         $(HOST_EXPORTS) \
16748         (cd sed && $(MAKE) $(FLAGS_TO_PASS)  check)
16749
16750 @endif sed
16751
16752 .PHONY: install-sed maybe-install-sed
16753 maybe-install-sed:
16754 @if sed
16755 maybe-install-sed: install-sed
16756
16757 install-sed: installdirs
16758         @r=`${PWD_COMMAND}`; export r; \
16759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16760         $(SET_LIB_PATH) \
16761         $(HOST_EXPORTS) \
16762         (cd sed && $(MAKE) $(FLAGS_TO_PASS)  install)
16763
16764 @endif sed
16765
16766 # Other targets (info, dvi, etc.)
16767
16768 .PHONY: maybe-info-sed info-sed
16769 maybe-info-sed:
16770 @if sed
16771 maybe-info-sed: info-sed
16772
16773 info-sed: \
16774     configure-sed 
16775         @[ -f ./sed/Makefile ] || exit 0; \
16776         r=`${PWD_COMMAND}`; export r; \
16777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16778         $(SET_LIB_PATH) \
16779         $(HOST_EXPORTS) \
16780         for flag in $(EXTRA_HOST_FLAGS) ; do \
16781           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16782         done; \
16783         echo "Doing info in sed" ; \
16784         (cd sed && \
16785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16787                   "RANLIB=$${RANLIB}" \
16788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16789                   info) \
16790           || exit 1
16791
16792 @endif sed
16793
16794 .PHONY: maybe-dvi-sed dvi-sed
16795 maybe-dvi-sed:
16796 @if sed
16797 maybe-dvi-sed: dvi-sed
16798
16799 dvi-sed: \
16800     configure-sed 
16801         @[ -f ./sed/Makefile ] || exit 0; \
16802         r=`${PWD_COMMAND}`; export r; \
16803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16804         $(SET_LIB_PATH) \
16805         $(HOST_EXPORTS) \
16806         for flag in $(EXTRA_HOST_FLAGS) ; do \
16807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16808         done; \
16809         echo "Doing dvi in sed" ; \
16810         (cd sed && \
16811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16813                   "RANLIB=$${RANLIB}" \
16814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16815                   dvi) \
16816           || exit 1
16817
16818 @endif sed
16819
16820 .PHONY: maybe-TAGS-sed TAGS-sed
16821 maybe-TAGS-sed:
16822 @if sed
16823 maybe-TAGS-sed: TAGS-sed
16824
16825 TAGS-sed: \
16826     configure-sed 
16827         @[ -f ./sed/Makefile ] || exit 0; \
16828         r=`${PWD_COMMAND}`; export r; \
16829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16830         $(SET_LIB_PATH) \
16831         $(HOST_EXPORTS) \
16832         for flag in $(EXTRA_HOST_FLAGS) ; do \
16833           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16834         done; \
16835         echo "Doing TAGS in sed" ; \
16836         (cd sed && \
16837           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16838                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16839                   "RANLIB=$${RANLIB}" \
16840                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16841                   TAGS) \
16842           || exit 1
16843
16844 @endif sed
16845
16846 .PHONY: maybe-install-info-sed install-info-sed
16847 maybe-install-info-sed:
16848 @if sed
16849 maybe-install-info-sed: install-info-sed
16850
16851 install-info-sed: \
16852     configure-sed \
16853     info-sed 
16854         @[ -f ./sed/Makefile ] || exit 0; \
16855         r=`${PWD_COMMAND}`; export r; \
16856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16857         $(SET_LIB_PATH) \
16858         $(HOST_EXPORTS) \
16859         for flag in $(EXTRA_HOST_FLAGS) ; do \
16860           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16861         done; \
16862         echo "Doing install-info in sed" ; \
16863         (cd sed && \
16864           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16865                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16866                   "RANLIB=$${RANLIB}" \
16867                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16868                   install-info) \
16869           || exit 1
16870
16871 @endif sed
16872
16873 .PHONY: maybe-installcheck-sed installcheck-sed
16874 maybe-installcheck-sed:
16875 @if sed
16876 maybe-installcheck-sed: installcheck-sed
16877
16878 installcheck-sed: \
16879     configure-sed 
16880         @[ -f ./sed/Makefile ] || exit 0; \
16881         r=`${PWD_COMMAND}`; export r; \
16882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16883         $(SET_LIB_PATH) \
16884         $(HOST_EXPORTS) \
16885         for flag in $(EXTRA_HOST_FLAGS) ; do \
16886           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16887         done; \
16888         echo "Doing installcheck in sed" ; \
16889         (cd sed && \
16890           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16891                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16892                   "RANLIB=$${RANLIB}" \
16893                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16894                   installcheck) \
16895           || exit 1
16896
16897 @endif sed
16898
16899 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16900 maybe-mostlyclean-sed:
16901 @if sed
16902 maybe-mostlyclean-sed: mostlyclean-sed
16903
16904 mostlyclean-sed: 
16905         @[ -f ./sed/Makefile ] || exit 0; \
16906         r=`${PWD_COMMAND}`; export r; \
16907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16908         $(SET_LIB_PATH) \
16909         $(HOST_EXPORTS) \
16910         for flag in $(EXTRA_HOST_FLAGS) ; do \
16911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16912         done; \
16913         echo "Doing mostlyclean in sed" ; \
16914         (cd sed && \
16915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16917                   "RANLIB=$${RANLIB}" \
16918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16919                   mostlyclean) \
16920           || exit 1
16921
16922 @endif sed
16923
16924 .PHONY: maybe-clean-sed clean-sed
16925 maybe-clean-sed:
16926 @if sed
16927 maybe-clean-sed: clean-sed
16928
16929 clean-sed: 
16930         @[ -f ./sed/Makefile ] || exit 0; \
16931         r=`${PWD_COMMAND}`; export r; \
16932         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16933         $(SET_LIB_PATH) \
16934         $(HOST_EXPORTS) \
16935         for flag in $(EXTRA_HOST_FLAGS) ; do \
16936           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16937         done; \
16938         echo "Doing clean in sed" ; \
16939         (cd sed && \
16940           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16941                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16942                   "RANLIB=$${RANLIB}" \
16943                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16944                   clean) \
16945           || exit 1
16946
16947 @endif sed
16948
16949 .PHONY: maybe-distclean-sed distclean-sed
16950 maybe-distclean-sed:
16951 @if sed
16952 maybe-distclean-sed: distclean-sed
16953
16954 distclean-sed: 
16955         @[ -f ./sed/Makefile ] || exit 0; \
16956         r=`${PWD_COMMAND}`; export r; \
16957         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16958         $(SET_LIB_PATH) \
16959         $(HOST_EXPORTS) \
16960         for flag in $(EXTRA_HOST_FLAGS) ; do \
16961           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16962         done; \
16963         echo "Doing distclean in sed" ; \
16964         (cd sed && \
16965           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16966                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16967                   "RANLIB=$${RANLIB}" \
16968                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16969                   distclean) \
16970           || exit 1
16971
16972 @endif sed
16973
16974 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16975 maybe-maintainer-clean-sed:
16976 @if sed
16977 maybe-maintainer-clean-sed: maintainer-clean-sed
16978
16979 maintainer-clean-sed: 
16980         @[ -f ./sed/Makefile ] || exit 0; \
16981         r=`${PWD_COMMAND}`; export r; \
16982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16983         $(SET_LIB_PATH) \
16984         $(HOST_EXPORTS) \
16985         for flag in $(EXTRA_HOST_FLAGS) ; do \
16986           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16987         done; \
16988         echo "Doing maintainer-clean in sed" ; \
16989         (cd sed && \
16990           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16991                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16992                   "RANLIB=$${RANLIB}" \
16993                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16994                   maintainer-clean) \
16995           || exit 1
16996
16997 @endif sed
16998
16999
17000 .PHONY: configure-send-pr maybe-configure-send-pr
17001 maybe-configure-send-pr:
17002 @if send-pr
17003 maybe-configure-send-pr: configure-send-pr
17004 configure-send-pr:
17005         @test ! -f send-pr/Makefile || exit 0; \
17006         [ -d send-pr ] || mkdir send-pr; \
17007         r=`${PWD_COMMAND}`; export r; \
17008         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17009         $(HOST_EXPORTS) \
17010         echo Configuring in send-pr; \
17011         cd send-pr || exit 1; \
17012         case $(srcdir) in \
17013           \.) \
17014             srcdiroption="--srcdir=."; \
17015             libsrcdir=".";; \
17016           /* | [A-Za-z]:[\\/]*) \
17017             srcdiroption="--srcdir=$(srcdir)/send-pr"; \
17018             libsrcdir="$$s/send-pr";; \
17019           *) \
17020             srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
17021             libsrcdir="$$s/send-pr";; \
17022         esac; \
17023         $(SHELL) $${libsrcdir}/configure \
17024           $(HOST_CONFIGARGS) $${srcdiroption}  \
17025           || exit 1
17026 @endif send-pr
17027
17028 .PHONY: all-send-pr maybe-all-send-pr
17029 maybe-all-send-pr:
17030 @if send-pr
17031 maybe-all-send-pr: all-send-pr
17032 all-send-pr: configure-send-pr
17033         @r=`${PWD_COMMAND}`; export r; \
17034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17035         $(SET_LIB_PATH) \
17036         $(HOST_EXPORTS) \
17037         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS)  all)
17038 @endif send-pr
17039
17040 .PHONY: check-send-pr maybe-check-send-pr
17041 maybe-check-send-pr:
17042 @if send-pr
17043 maybe-check-send-pr: check-send-pr
17044
17045 check-send-pr:
17046         @r=`${PWD_COMMAND}`; export r; \
17047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17048         $(SET_LIB_PATH) \
17049         $(HOST_EXPORTS) \
17050         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS)  check)
17051
17052 @endif send-pr
17053
17054 .PHONY: install-send-pr maybe-install-send-pr
17055 maybe-install-send-pr:
17056 @if send-pr
17057 maybe-install-send-pr: install-send-pr
17058
17059 install-send-pr: installdirs
17060         @r=`${PWD_COMMAND}`; export r; \
17061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17062         $(SET_LIB_PATH) \
17063         $(HOST_EXPORTS) \
17064         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS)  install)
17065
17066 @endif send-pr
17067
17068 # Other targets (info, dvi, etc.)
17069
17070 .PHONY: maybe-info-send-pr info-send-pr
17071 maybe-info-send-pr:
17072 @if send-pr
17073 maybe-info-send-pr: info-send-pr
17074
17075 info-send-pr: \
17076     configure-send-pr 
17077         @[ -f ./send-pr/Makefile ] || exit 0; \
17078         r=`${PWD_COMMAND}`; export r; \
17079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080         $(SET_LIB_PATH) \
17081         $(HOST_EXPORTS) \
17082         for flag in $(EXTRA_HOST_FLAGS) ; do \
17083           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17084         done; \
17085         echo "Doing info in send-pr" ; \
17086         (cd send-pr && \
17087           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17088                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17089                   "RANLIB=$${RANLIB}" \
17090                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17091                   info) \
17092           || exit 1
17093
17094 @endif send-pr
17095
17096 .PHONY: maybe-dvi-send-pr dvi-send-pr
17097 maybe-dvi-send-pr:
17098 @if send-pr
17099 maybe-dvi-send-pr: dvi-send-pr
17100
17101 dvi-send-pr: \
17102     configure-send-pr 
17103         @[ -f ./send-pr/Makefile ] || exit 0; \
17104         r=`${PWD_COMMAND}`; export r; \
17105         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17106         $(SET_LIB_PATH) \
17107         $(HOST_EXPORTS) \
17108         for flag in $(EXTRA_HOST_FLAGS) ; do \
17109           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17110         done; \
17111         echo "Doing dvi in send-pr" ; \
17112         (cd send-pr && \
17113           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17114                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17115                   "RANLIB=$${RANLIB}" \
17116                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17117                   dvi) \
17118           || exit 1
17119
17120 @endif send-pr
17121
17122 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17123 maybe-TAGS-send-pr:
17124 @if send-pr
17125 maybe-TAGS-send-pr: TAGS-send-pr
17126
17127 TAGS-send-pr: \
17128     configure-send-pr 
17129         @[ -f ./send-pr/Makefile ] || exit 0; \
17130         r=`${PWD_COMMAND}`; export r; \
17131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17132         $(SET_LIB_PATH) \
17133         $(HOST_EXPORTS) \
17134         for flag in $(EXTRA_HOST_FLAGS) ; do \
17135           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17136         done; \
17137         echo "Doing TAGS in send-pr" ; \
17138         (cd send-pr && \
17139           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17140                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17141                   "RANLIB=$${RANLIB}" \
17142                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17143                   TAGS) \
17144           || exit 1
17145
17146 @endif send-pr
17147
17148 .PHONY: maybe-install-info-send-pr install-info-send-pr
17149 maybe-install-info-send-pr:
17150 @if send-pr
17151 maybe-install-info-send-pr: install-info-send-pr
17152
17153 install-info-send-pr: \
17154     configure-send-pr \
17155     info-send-pr 
17156         @[ -f ./send-pr/Makefile ] || exit 0; \
17157         r=`${PWD_COMMAND}`; export r; \
17158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17159         $(SET_LIB_PATH) \
17160         $(HOST_EXPORTS) \
17161         for flag in $(EXTRA_HOST_FLAGS) ; do \
17162           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17163         done; \
17164         echo "Doing install-info in send-pr" ; \
17165         (cd send-pr && \
17166           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17167                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17168                   "RANLIB=$${RANLIB}" \
17169                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17170                   install-info) \
17171           || exit 1
17172
17173 @endif send-pr
17174
17175 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17176 maybe-installcheck-send-pr:
17177 @if send-pr
17178 maybe-installcheck-send-pr: installcheck-send-pr
17179
17180 installcheck-send-pr: \
17181     configure-send-pr 
17182         @[ -f ./send-pr/Makefile ] || exit 0; \
17183         r=`${PWD_COMMAND}`; export r; \
17184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17185         $(SET_LIB_PATH) \
17186         $(HOST_EXPORTS) \
17187         for flag in $(EXTRA_HOST_FLAGS) ; do \
17188           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17189         done; \
17190         echo "Doing installcheck in send-pr" ; \
17191         (cd send-pr && \
17192           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17193                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17194                   "RANLIB=$${RANLIB}" \
17195                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17196                   installcheck) \
17197           || exit 1
17198
17199 @endif send-pr
17200
17201 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17202 maybe-mostlyclean-send-pr:
17203 @if send-pr
17204 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17205
17206 mostlyclean-send-pr: 
17207         @[ -f ./send-pr/Makefile ] || exit 0; \
17208         r=`${PWD_COMMAND}`; export r; \
17209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17210         $(SET_LIB_PATH) \
17211         $(HOST_EXPORTS) \
17212         for flag in $(EXTRA_HOST_FLAGS) ; do \
17213           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17214         done; \
17215         echo "Doing mostlyclean in send-pr" ; \
17216         (cd send-pr && \
17217           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17218                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17219                   "RANLIB=$${RANLIB}" \
17220                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17221                   mostlyclean) \
17222           || exit 1
17223
17224 @endif send-pr
17225
17226 .PHONY: maybe-clean-send-pr clean-send-pr
17227 maybe-clean-send-pr:
17228 @if send-pr
17229 maybe-clean-send-pr: clean-send-pr
17230
17231 clean-send-pr: 
17232         @[ -f ./send-pr/Makefile ] || exit 0; \
17233         r=`${PWD_COMMAND}`; export r; \
17234         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17235         $(SET_LIB_PATH) \
17236         $(HOST_EXPORTS) \
17237         for flag in $(EXTRA_HOST_FLAGS) ; do \
17238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17239         done; \
17240         echo "Doing clean in send-pr" ; \
17241         (cd send-pr && \
17242           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17243                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17244                   "RANLIB=$${RANLIB}" \
17245                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17246                   clean) \
17247           || exit 1
17248
17249 @endif send-pr
17250
17251 .PHONY: maybe-distclean-send-pr distclean-send-pr
17252 maybe-distclean-send-pr:
17253 @if send-pr
17254 maybe-distclean-send-pr: distclean-send-pr
17255
17256 distclean-send-pr: 
17257         @[ -f ./send-pr/Makefile ] || exit 0; \
17258         r=`${PWD_COMMAND}`; export r; \
17259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17260         $(SET_LIB_PATH) \
17261         $(HOST_EXPORTS) \
17262         for flag in $(EXTRA_HOST_FLAGS) ; do \
17263           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17264         done; \
17265         echo "Doing distclean in send-pr" ; \
17266         (cd send-pr && \
17267           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17268                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17269                   "RANLIB=$${RANLIB}" \
17270                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17271                   distclean) \
17272           || exit 1
17273
17274 @endif send-pr
17275
17276 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17277 maybe-maintainer-clean-send-pr:
17278 @if send-pr
17279 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17280
17281 maintainer-clean-send-pr: 
17282         @[ -f ./send-pr/Makefile ] || exit 0; \
17283         r=`${PWD_COMMAND}`; export r; \
17284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17285         $(SET_LIB_PATH) \
17286         $(HOST_EXPORTS) \
17287         for flag in $(EXTRA_HOST_FLAGS) ; do \
17288           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17289         done; \
17290         echo "Doing maintainer-clean in send-pr" ; \
17291         (cd send-pr && \
17292           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17293                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17294                   "RANLIB=$${RANLIB}" \
17295                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17296                   maintainer-clean) \
17297           || exit 1
17298
17299 @endif send-pr
17300
17301
17302 .PHONY: configure-shellutils maybe-configure-shellutils
17303 maybe-configure-shellutils:
17304 @if shellutils
17305 maybe-configure-shellutils: configure-shellutils
17306 configure-shellutils:
17307         @test ! -f shellutils/Makefile || exit 0; \
17308         [ -d shellutils ] || mkdir shellutils; \
17309         r=`${PWD_COMMAND}`; export r; \
17310         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17311         $(HOST_EXPORTS) \
17312         echo Configuring in shellutils; \
17313         cd shellutils || exit 1; \
17314         case $(srcdir) in \
17315           \.) \
17316             srcdiroption="--srcdir=."; \
17317             libsrcdir=".";; \
17318           /* | [A-Za-z]:[\\/]*) \
17319             srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17320             libsrcdir="$$s/shellutils";; \
17321           *) \
17322             srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17323             libsrcdir="$$s/shellutils";; \
17324         esac; \
17325         $(SHELL) $${libsrcdir}/configure \
17326           $(HOST_CONFIGARGS) $${srcdiroption}  \
17327           || exit 1
17328 @endif shellutils
17329
17330 .PHONY: all-shellutils maybe-all-shellutils
17331 maybe-all-shellutils:
17332 @if shellutils
17333 maybe-all-shellutils: all-shellutils
17334 all-shellutils: configure-shellutils
17335         @r=`${PWD_COMMAND}`; export r; \
17336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17337         $(SET_LIB_PATH) \
17338         $(HOST_EXPORTS) \
17339         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS)  all)
17340 @endif shellutils
17341
17342 .PHONY: check-shellutils maybe-check-shellutils
17343 maybe-check-shellutils:
17344 @if shellutils
17345 maybe-check-shellutils: check-shellutils
17346
17347 check-shellutils:
17348         @r=`${PWD_COMMAND}`; export r; \
17349         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17350         $(SET_LIB_PATH) \
17351         $(HOST_EXPORTS) \
17352         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS)  check)
17353
17354 @endif shellutils
17355
17356 .PHONY: install-shellutils maybe-install-shellutils
17357 maybe-install-shellutils:
17358 @if shellutils
17359 maybe-install-shellutils: install-shellutils
17360
17361 install-shellutils: installdirs
17362         @r=`${PWD_COMMAND}`; export r; \
17363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17364         $(SET_LIB_PATH) \
17365         $(HOST_EXPORTS) \
17366         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS)  install)
17367
17368 @endif shellutils
17369
17370 # Other targets (info, dvi, etc.)
17371
17372 .PHONY: maybe-info-shellutils info-shellutils
17373 maybe-info-shellutils:
17374 @if shellutils
17375 maybe-info-shellutils: info-shellutils
17376
17377 info-shellutils: \
17378     configure-shellutils 
17379         @[ -f ./shellutils/Makefile ] || exit 0; \
17380         r=`${PWD_COMMAND}`; export r; \
17381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17382         $(SET_LIB_PATH) \
17383         $(HOST_EXPORTS) \
17384         for flag in $(EXTRA_HOST_FLAGS) ; do \
17385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17386         done; \
17387         echo "Doing info in shellutils" ; \
17388         (cd shellutils && \
17389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17391                   "RANLIB=$${RANLIB}" \
17392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17393                   info) \
17394           || exit 1
17395
17396 @endif shellutils
17397
17398 .PHONY: maybe-dvi-shellutils dvi-shellutils
17399 maybe-dvi-shellutils:
17400 @if shellutils
17401 maybe-dvi-shellutils: dvi-shellutils
17402
17403 dvi-shellutils: \
17404     configure-shellutils 
17405         @[ -f ./shellutils/Makefile ] || exit 0; \
17406         r=`${PWD_COMMAND}`; export r; \
17407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17408         $(SET_LIB_PATH) \
17409         $(HOST_EXPORTS) \
17410         for flag in $(EXTRA_HOST_FLAGS) ; do \
17411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17412         done; \
17413         echo "Doing dvi in shellutils" ; \
17414         (cd shellutils && \
17415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17417                   "RANLIB=$${RANLIB}" \
17418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17419                   dvi) \
17420           || exit 1
17421
17422 @endif shellutils
17423
17424 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17425 maybe-TAGS-shellutils:
17426 @if shellutils
17427 maybe-TAGS-shellutils: TAGS-shellutils
17428
17429 TAGS-shellutils: \
17430     configure-shellutils 
17431         @[ -f ./shellutils/Makefile ] || exit 0; \
17432         r=`${PWD_COMMAND}`; export r; \
17433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17434         $(SET_LIB_PATH) \
17435         $(HOST_EXPORTS) \
17436         for flag in $(EXTRA_HOST_FLAGS) ; do \
17437           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17438         done; \
17439         echo "Doing TAGS in shellutils" ; \
17440         (cd shellutils && \
17441           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17442                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17443                   "RANLIB=$${RANLIB}" \
17444                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17445                   TAGS) \
17446           || exit 1
17447
17448 @endif shellutils
17449
17450 .PHONY: maybe-install-info-shellutils install-info-shellutils
17451 maybe-install-info-shellutils:
17452 @if shellutils
17453 maybe-install-info-shellutils: install-info-shellutils
17454
17455 install-info-shellutils: \
17456     configure-shellutils \
17457     info-shellutils 
17458         @[ -f ./shellutils/Makefile ] || exit 0; \
17459         r=`${PWD_COMMAND}`; export r; \
17460         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461         $(SET_LIB_PATH) \
17462         $(HOST_EXPORTS) \
17463         for flag in $(EXTRA_HOST_FLAGS) ; do \
17464           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17465         done; \
17466         echo "Doing install-info in shellutils" ; \
17467         (cd shellutils && \
17468           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17469                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17470                   "RANLIB=$${RANLIB}" \
17471                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17472                   install-info) \
17473           || exit 1
17474
17475 @endif shellutils
17476
17477 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17478 maybe-installcheck-shellutils:
17479 @if shellutils
17480 maybe-installcheck-shellutils: installcheck-shellutils
17481
17482 installcheck-shellutils: \
17483     configure-shellutils 
17484         @[ -f ./shellutils/Makefile ] || exit 0; \
17485         r=`${PWD_COMMAND}`; export r; \
17486         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17487         $(SET_LIB_PATH) \
17488         $(HOST_EXPORTS) \
17489         for flag in $(EXTRA_HOST_FLAGS) ; do \
17490           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17491         done; \
17492         echo "Doing installcheck in shellutils" ; \
17493         (cd shellutils && \
17494           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17495                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17496                   "RANLIB=$${RANLIB}" \
17497                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17498                   installcheck) \
17499           || exit 1
17500
17501 @endif shellutils
17502
17503 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17504 maybe-mostlyclean-shellutils:
17505 @if shellutils
17506 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17507
17508 mostlyclean-shellutils: 
17509         @[ -f ./shellutils/Makefile ] || exit 0; \
17510         r=`${PWD_COMMAND}`; export r; \
17511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17512         $(SET_LIB_PATH) \
17513         $(HOST_EXPORTS) \
17514         for flag in $(EXTRA_HOST_FLAGS) ; do \
17515           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17516         done; \
17517         echo "Doing mostlyclean in shellutils" ; \
17518         (cd shellutils && \
17519           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17520                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17521                   "RANLIB=$${RANLIB}" \
17522                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17523                   mostlyclean) \
17524           || exit 1
17525
17526 @endif shellutils
17527
17528 .PHONY: maybe-clean-shellutils clean-shellutils
17529 maybe-clean-shellutils:
17530 @if shellutils
17531 maybe-clean-shellutils: clean-shellutils
17532
17533 clean-shellutils: 
17534         @[ -f ./shellutils/Makefile ] || exit 0; \
17535         r=`${PWD_COMMAND}`; export r; \
17536         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17537         $(SET_LIB_PATH) \
17538         $(HOST_EXPORTS) \
17539         for flag in $(EXTRA_HOST_FLAGS) ; do \
17540           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17541         done; \
17542         echo "Doing clean in shellutils" ; \
17543         (cd shellutils && \
17544           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17545                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17546                   "RANLIB=$${RANLIB}" \
17547                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17548                   clean) \
17549           || exit 1
17550
17551 @endif shellutils
17552
17553 .PHONY: maybe-distclean-shellutils distclean-shellutils
17554 maybe-distclean-shellutils:
17555 @if shellutils
17556 maybe-distclean-shellutils: distclean-shellutils
17557
17558 distclean-shellutils: 
17559         @[ -f ./shellutils/Makefile ] || exit 0; \
17560         r=`${PWD_COMMAND}`; export r; \
17561         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17562         $(SET_LIB_PATH) \
17563         $(HOST_EXPORTS) \
17564         for flag in $(EXTRA_HOST_FLAGS) ; do \
17565           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17566         done; \
17567         echo "Doing distclean in shellutils" ; \
17568         (cd shellutils && \
17569           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17570                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17571                   "RANLIB=$${RANLIB}" \
17572                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17573                   distclean) \
17574           || exit 1
17575
17576 @endif shellutils
17577
17578 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17579 maybe-maintainer-clean-shellutils:
17580 @if shellutils
17581 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17582
17583 maintainer-clean-shellutils: 
17584         @[ -f ./shellutils/Makefile ] || exit 0; \
17585         r=`${PWD_COMMAND}`; export r; \
17586         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17587         $(SET_LIB_PATH) \
17588         $(HOST_EXPORTS) \
17589         for flag in $(EXTRA_HOST_FLAGS) ; do \
17590           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17591         done; \
17592         echo "Doing maintainer-clean in shellutils" ; \
17593         (cd shellutils && \
17594           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17595                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17596                   "RANLIB=$${RANLIB}" \
17597                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17598                   maintainer-clean) \
17599           || exit 1
17600
17601 @endif shellutils
17602
17603
17604 .PHONY: configure-sid maybe-configure-sid
17605 maybe-configure-sid:
17606 @if sid
17607 maybe-configure-sid: configure-sid
17608 configure-sid:
17609         @test ! -f sid/Makefile || exit 0; \
17610         [ -d sid ] || mkdir sid; \
17611         r=`${PWD_COMMAND}`; export r; \
17612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17613         $(HOST_EXPORTS) \
17614         echo Configuring in sid; \
17615         cd sid || exit 1; \
17616         case $(srcdir) in \
17617           \.) \
17618             srcdiroption="--srcdir=."; \
17619             libsrcdir=".";; \
17620           /* | [A-Za-z]:[\\/]*) \
17621             srcdiroption="--srcdir=$(srcdir)/sid"; \
17622             libsrcdir="$$s/sid";; \
17623           *) \
17624             srcdiroption="--srcdir=../$(srcdir)/sid"; \
17625             libsrcdir="$$s/sid";; \
17626         esac; \
17627         $(SHELL) $${libsrcdir}/configure \
17628           $(HOST_CONFIGARGS) $${srcdiroption}  \
17629           || exit 1
17630 @endif sid
17631
17632 .PHONY: all-sid maybe-all-sid
17633 maybe-all-sid:
17634 @if sid
17635 maybe-all-sid: all-sid
17636 all-sid: configure-sid
17637         @r=`${PWD_COMMAND}`; export r; \
17638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17639         $(SET_LIB_PATH) \
17640         $(HOST_EXPORTS) \
17641         (cd sid && $(MAKE) $(FLAGS_TO_PASS)  all)
17642 @endif sid
17643
17644 .PHONY: check-sid maybe-check-sid
17645 maybe-check-sid:
17646 @if sid
17647 maybe-check-sid: check-sid
17648
17649 check-sid:
17650         @r=`${PWD_COMMAND}`; export r; \
17651         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652         $(SET_LIB_PATH) \
17653         $(HOST_EXPORTS) \
17654         (cd sid && $(MAKE) $(FLAGS_TO_PASS)  check)
17655
17656 @endif sid
17657
17658 .PHONY: install-sid maybe-install-sid
17659 maybe-install-sid:
17660 @if sid
17661 maybe-install-sid: install-sid
17662
17663 install-sid: installdirs
17664         @r=`${PWD_COMMAND}`; export r; \
17665         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17666         $(SET_LIB_PATH) \
17667         $(HOST_EXPORTS) \
17668         (cd sid && $(MAKE) $(FLAGS_TO_PASS)  install)
17669
17670 @endif sid
17671
17672 # Other targets (info, dvi, etc.)
17673
17674 .PHONY: maybe-info-sid info-sid
17675 maybe-info-sid:
17676 @if sid
17677 maybe-info-sid: info-sid
17678
17679 info-sid: \
17680     configure-sid 
17681         @[ -f ./sid/Makefile ] || exit 0; \
17682         r=`${PWD_COMMAND}`; export r; \
17683         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17684         $(SET_LIB_PATH) \
17685         $(HOST_EXPORTS) \
17686         for flag in $(EXTRA_HOST_FLAGS) ; do \
17687           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17688         done; \
17689         echo "Doing info in sid" ; \
17690         (cd sid && \
17691           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17692                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17693                   "RANLIB=$${RANLIB}" \
17694                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17695                   info) \
17696           || exit 1
17697
17698 @endif sid
17699
17700 .PHONY: maybe-dvi-sid dvi-sid
17701 maybe-dvi-sid:
17702 @if sid
17703 maybe-dvi-sid: dvi-sid
17704
17705 dvi-sid: \
17706     configure-sid 
17707         @[ -f ./sid/Makefile ] || exit 0; \
17708         r=`${PWD_COMMAND}`; export r; \
17709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17710         $(SET_LIB_PATH) \
17711         $(HOST_EXPORTS) \
17712         for flag in $(EXTRA_HOST_FLAGS) ; do \
17713           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17714         done; \
17715         echo "Doing dvi in sid" ; \
17716         (cd sid && \
17717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17719                   "RANLIB=$${RANLIB}" \
17720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17721                   dvi) \
17722           || exit 1
17723
17724 @endif sid
17725
17726 .PHONY: maybe-TAGS-sid TAGS-sid
17727 maybe-TAGS-sid:
17728 @if sid
17729 maybe-TAGS-sid: TAGS-sid
17730
17731 TAGS-sid: \
17732     configure-sid 
17733         @[ -f ./sid/Makefile ] || exit 0; \
17734         r=`${PWD_COMMAND}`; export r; \
17735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17736         $(SET_LIB_PATH) \
17737         $(HOST_EXPORTS) \
17738         for flag in $(EXTRA_HOST_FLAGS) ; do \
17739           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17740         done; \
17741         echo "Doing TAGS in sid" ; \
17742         (cd sid && \
17743           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17744                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17745                   "RANLIB=$${RANLIB}" \
17746                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17747                   TAGS) \
17748           || exit 1
17749
17750 @endif sid
17751
17752 .PHONY: maybe-install-info-sid install-info-sid
17753 maybe-install-info-sid:
17754 @if sid
17755 maybe-install-info-sid: install-info-sid
17756
17757 install-info-sid: \
17758     configure-sid \
17759     info-sid 
17760         @[ -f ./sid/Makefile ] || exit 0; \
17761         r=`${PWD_COMMAND}`; export r; \
17762         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17763         $(SET_LIB_PATH) \
17764         $(HOST_EXPORTS) \
17765         for flag in $(EXTRA_HOST_FLAGS) ; do \
17766           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17767         done; \
17768         echo "Doing install-info in sid" ; \
17769         (cd sid && \
17770           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17771                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17772                   "RANLIB=$${RANLIB}" \
17773                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17774                   install-info) \
17775           || exit 1
17776
17777 @endif sid
17778
17779 .PHONY: maybe-installcheck-sid installcheck-sid
17780 maybe-installcheck-sid:
17781 @if sid
17782 maybe-installcheck-sid: installcheck-sid
17783
17784 installcheck-sid: \
17785     configure-sid 
17786         @[ -f ./sid/Makefile ] || exit 0; \
17787         r=`${PWD_COMMAND}`; export r; \
17788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17789         $(SET_LIB_PATH) \
17790         $(HOST_EXPORTS) \
17791         for flag in $(EXTRA_HOST_FLAGS) ; do \
17792           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17793         done; \
17794         echo "Doing installcheck in sid" ; \
17795         (cd sid && \
17796           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17797                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17798                   "RANLIB=$${RANLIB}" \
17799                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17800                   installcheck) \
17801           || exit 1
17802
17803 @endif sid
17804
17805 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17806 maybe-mostlyclean-sid:
17807 @if sid
17808 maybe-mostlyclean-sid: mostlyclean-sid
17809
17810 mostlyclean-sid: 
17811         @[ -f ./sid/Makefile ] || exit 0; \
17812         r=`${PWD_COMMAND}`; export r; \
17813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17814         $(SET_LIB_PATH) \
17815         $(HOST_EXPORTS) \
17816         for flag in $(EXTRA_HOST_FLAGS) ; do \
17817           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17818         done; \
17819         echo "Doing mostlyclean in sid" ; \
17820         (cd sid && \
17821           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17822                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17823                   "RANLIB=$${RANLIB}" \
17824                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17825                   mostlyclean) \
17826           || exit 1
17827
17828 @endif sid
17829
17830 .PHONY: maybe-clean-sid clean-sid
17831 maybe-clean-sid:
17832 @if sid
17833 maybe-clean-sid: clean-sid
17834
17835 clean-sid: 
17836         @[ -f ./sid/Makefile ] || exit 0; \
17837         r=`${PWD_COMMAND}`; export r; \
17838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17839         $(SET_LIB_PATH) \
17840         $(HOST_EXPORTS) \
17841         for flag in $(EXTRA_HOST_FLAGS) ; do \
17842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17843         done; \
17844         echo "Doing clean in sid" ; \
17845         (cd sid && \
17846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17848                   "RANLIB=$${RANLIB}" \
17849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17850                   clean) \
17851           || exit 1
17852
17853 @endif sid
17854
17855 .PHONY: maybe-distclean-sid distclean-sid
17856 maybe-distclean-sid:
17857 @if sid
17858 maybe-distclean-sid: distclean-sid
17859
17860 distclean-sid: 
17861         @[ -f ./sid/Makefile ] || exit 0; \
17862         r=`${PWD_COMMAND}`; export r; \
17863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17864         $(SET_LIB_PATH) \
17865         $(HOST_EXPORTS) \
17866         for flag in $(EXTRA_HOST_FLAGS) ; do \
17867           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17868         done; \
17869         echo "Doing distclean in sid" ; \
17870         (cd sid && \
17871           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17872                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17873                   "RANLIB=$${RANLIB}" \
17874                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17875                   distclean) \
17876           || exit 1
17877
17878 @endif sid
17879
17880 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17881 maybe-maintainer-clean-sid:
17882 @if sid
17883 maybe-maintainer-clean-sid: maintainer-clean-sid
17884
17885 maintainer-clean-sid: 
17886         @[ -f ./sid/Makefile ] || exit 0; \
17887         r=`${PWD_COMMAND}`; export r; \
17888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889         $(SET_LIB_PATH) \
17890         $(HOST_EXPORTS) \
17891         for flag in $(EXTRA_HOST_FLAGS) ; do \
17892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17893         done; \
17894         echo "Doing maintainer-clean in sid" ; \
17895         (cd sid && \
17896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17898                   "RANLIB=$${RANLIB}" \
17899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17900                   maintainer-clean) \
17901           || exit 1
17902
17903 @endif sid
17904
17905
17906 .PHONY: configure-sim maybe-configure-sim
17907 maybe-configure-sim:
17908 @if sim
17909 maybe-configure-sim: configure-sim
17910 configure-sim:
17911         @test ! -f sim/Makefile || exit 0; \
17912         [ -d sim ] || mkdir sim; \
17913         r=`${PWD_COMMAND}`; export r; \
17914         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17915         $(HOST_EXPORTS) \
17916         echo Configuring in sim; \
17917         cd sim || exit 1; \
17918         case $(srcdir) in \
17919           \.) \
17920             srcdiroption="--srcdir=."; \
17921             libsrcdir=".";; \
17922           /* | [A-Za-z]:[\\/]*) \
17923             srcdiroption="--srcdir=$(srcdir)/sim"; \
17924             libsrcdir="$$s/sim";; \
17925           *) \
17926             srcdiroption="--srcdir=../$(srcdir)/sim"; \
17927             libsrcdir="$$s/sim";; \
17928         esac; \
17929         $(SHELL) $${libsrcdir}/configure \
17930           $(HOST_CONFIGARGS) $${srcdiroption}  \
17931           || exit 1
17932 @endif sim
17933
17934 .PHONY: all-sim maybe-all-sim
17935 maybe-all-sim:
17936 @if sim
17937 maybe-all-sim: all-sim
17938 all-sim: configure-sim
17939         @r=`${PWD_COMMAND}`; export r; \
17940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17941         $(SET_LIB_PATH) \
17942         $(HOST_EXPORTS) \
17943         (cd sim && $(MAKE) $(FLAGS_TO_PASS)  all)
17944 @endif sim
17945
17946 .PHONY: check-sim maybe-check-sim
17947 maybe-check-sim:
17948 @if sim
17949 maybe-check-sim: check-sim
17950
17951 check-sim:
17952         @r=`${PWD_COMMAND}`; export r; \
17953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954         $(SET_LIB_PATH) \
17955         $(HOST_EXPORTS) \
17956         (cd sim && $(MAKE) $(FLAGS_TO_PASS)  check)
17957
17958 @endif sim
17959
17960 .PHONY: install-sim maybe-install-sim
17961 maybe-install-sim:
17962 @if sim
17963 maybe-install-sim: install-sim
17964
17965 install-sim: installdirs
17966         @r=`${PWD_COMMAND}`; export r; \
17967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17968         $(SET_LIB_PATH) \
17969         $(HOST_EXPORTS) \
17970         (cd sim && $(MAKE) $(FLAGS_TO_PASS)  install)
17971
17972 @endif sim
17973
17974 # Other targets (info, dvi, etc.)
17975
17976 .PHONY: maybe-info-sim info-sim
17977 maybe-info-sim:
17978 @if sim
17979 maybe-info-sim: info-sim
17980
17981 info-sim: \
17982     configure-sim 
17983         @[ -f ./sim/Makefile ] || exit 0; \
17984         r=`${PWD_COMMAND}`; export r; \
17985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17986         $(SET_LIB_PATH) \
17987         $(HOST_EXPORTS) \
17988         for flag in $(EXTRA_HOST_FLAGS) ; do \
17989           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17990         done; \
17991         echo "Doing info in sim" ; \
17992         (cd sim && \
17993           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17994                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17995                   "RANLIB=$${RANLIB}" \
17996                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17997                   info) \
17998           || exit 1
17999
18000 @endif sim
18001
18002 .PHONY: maybe-dvi-sim dvi-sim
18003 maybe-dvi-sim:
18004 @if sim
18005 maybe-dvi-sim: dvi-sim
18006
18007 dvi-sim: \
18008     configure-sim 
18009         @[ -f ./sim/Makefile ] || exit 0; \
18010         r=`${PWD_COMMAND}`; export r; \
18011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18012         $(SET_LIB_PATH) \
18013         $(HOST_EXPORTS) \
18014         for flag in $(EXTRA_HOST_FLAGS) ; do \
18015           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18016         done; \
18017         echo "Doing dvi in sim" ; \
18018         (cd sim && \
18019           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18020                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18021                   "RANLIB=$${RANLIB}" \
18022                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18023                   dvi) \
18024           || exit 1
18025
18026 @endif sim
18027
18028 .PHONY: maybe-TAGS-sim TAGS-sim
18029 maybe-TAGS-sim:
18030 @if sim
18031 maybe-TAGS-sim: TAGS-sim
18032
18033 TAGS-sim: \
18034     configure-sim 
18035         @[ -f ./sim/Makefile ] || exit 0; \
18036         r=`${PWD_COMMAND}`; export r; \
18037         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18038         $(SET_LIB_PATH) \
18039         $(HOST_EXPORTS) \
18040         for flag in $(EXTRA_HOST_FLAGS) ; do \
18041           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18042         done; \
18043         echo "Doing TAGS in sim" ; \
18044         (cd sim && \
18045           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18046                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18047                   "RANLIB=$${RANLIB}" \
18048                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18049                   TAGS) \
18050           || exit 1
18051
18052 @endif sim
18053
18054 .PHONY: maybe-install-info-sim install-info-sim
18055 maybe-install-info-sim:
18056 @if sim
18057 maybe-install-info-sim: install-info-sim
18058
18059 install-info-sim: \
18060     configure-sim \
18061     info-sim 
18062         @[ -f ./sim/Makefile ] || exit 0; \
18063         r=`${PWD_COMMAND}`; export r; \
18064         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18065         $(SET_LIB_PATH) \
18066         $(HOST_EXPORTS) \
18067         for flag in $(EXTRA_HOST_FLAGS) ; do \
18068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18069         done; \
18070         echo "Doing install-info in sim" ; \
18071         (cd sim && \
18072           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18073                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18074                   "RANLIB=$${RANLIB}" \
18075                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18076                   install-info) \
18077           || exit 1
18078
18079 @endif sim
18080
18081 .PHONY: maybe-installcheck-sim installcheck-sim
18082 maybe-installcheck-sim:
18083 @if sim
18084 maybe-installcheck-sim: installcheck-sim
18085
18086 installcheck-sim: \
18087     configure-sim 
18088         @[ -f ./sim/Makefile ] || exit 0; \
18089         r=`${PWD_COMMAND}`; export r; \
18090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18091         $(SET_LIB_PATH) \
18092         $(HOST_EXPORTS) \
18093         for flag in $(EXTRA_HOST_FLAGS) ; do \
18094           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18095         done; \
18096         echo "Doing installcheck in sim" ; \
18097         (cd sim && \
18098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18100                   "RANLIB=$${RANLIB}" \
18101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18102                   installcheck) \
18103           || exit 1
18104
18105 @endif sim
18106
18107 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18108 maybe-mostlyclean-sim:
18109 @if sim
18110 maybe-mostlyclean-sim: mostlyclean-sim
18111
18112 mostlyclean-sim: 
18113         @[ -f ./sim/Makefile ] || exit 0; \
18114         r=`${PWD_COMMAND}`; export r; \
18115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18116         $(SET_LIB_PATH) \
18117         $(HOST_EXPORTS) \
18118         for flag in $(EXTRA_HOST_FLAGS) ; do \
18119           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18120         done; \
18121         echo "Doing mostlyclean in sim" ; \
18122         (cd sim && \
18123           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18124                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18125                   "RANLIB=$${RANLIB}" \
18126                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18127                   mostlyclean) \
18128           || exit 1
18129
18130 @endif sim
18131
18132 .PHONY: maybe-clean-sim clean-sim
18133 maybe-clean-sim:
18134 @if sim
18135 maybe-clean-sim: clean-sim
18136
18137 clean-sim: 
18138         @[ -f ./sim/Makefile ] || exit 0; \
18139         r=`${PWD_COMMAND}`; export r; \
18140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18141         $(SET_LIB_PATH) \
18142         $(HOST_EXPORTS) \
18143         for flag in $(EXTRA_HOST_FLAGS) ; do \
18144           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18145         done; \
18146         echo "Doing clean in sim" ; \
18147         (cd sim && \
18148           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18149                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18150                   "RANLIB=$${RANLIB}" \
18151                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18152                   clean) \
18153           || exit 1
18154
18155 @endif sim
18156
18157 .PHONY: maybe-distclean-sim distclean-sim
18158 maybe-distclean-sim:
18159 @if sim
18160 maybe-distclean-sim: distclean-sim
18161
18162 distclean-sim: 
18163         @[ -f ./sim/Makefile ] || exit 0; \
18164         r=`${PWD_COMMAND}`; export r; \
18165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18166         $(SET_LIB_PATH) \
18167         $(HOST_EXPORTS) \
18168         for flag in $(EXTRA_HOST_FLAGS) ; do \
18169           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18170         done; \
18171         echo "Doing distclean in sim" ; \
18172         (cd sim && \
18173           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18174                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18175                   "RANLIB=$${RANLIB}" \
18176                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18177                   distclean) \
18178           || exit 1
18179
18180 @endif sim
18181
18182 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18183 maybe-maintainer-clean-sim:
18184 @if sim
18185 maybe-maintainer-clean-sim: maintainer-clean-sim
18186
18187 maintainer-clean-sim: 
18188         @[ -f ./sim/Makefile ] || exit 0; \
18189         r=`${PWD_COMMAND}`; export r; \
18190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18191         $(SET_LIB_PATH) \
18192         $(HOST_EXPORTS) \
18193         for flag in $(EXTRA_HOST_FLAGS) ; do \
18194           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18195         done; \
18196         echo "Doing maintainer-clean in sim" ; \
18197         (cd sim && \
18198           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18199                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18200                   "RANLIB=$${RANLIB}" \
18201                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18202                   maintainer-clean) \
18203           || exit 1
18204
18205 @endif sim
18206
18207
18208 .PHONY: configure-tar maybe-configure-tar
18209 maybe-configure-tar:
18210 @if tar
18211 maybe-configure-tar: configure-tar
18212 configure-tar:
18213         @test ! -f tar/Makefile || exit 0; \
18214         [ -d tar ] || mkdir tar; \
18215         r=`${PWD_COMMAND}`; export r; \
18216         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18217         $(HOST_EXPORTS) \
18218         echo Configuring in tar; \
18219         cd tar || exit 1; \
18220         case $(srcdir) in \
18221           \.) \
18222             srcdiroption="--srcdir=."; \
18223             libsrcdir=".";; \
18224           /* | [A-Za-z]:[\\/]*) \
18225             srcdiroption="--srcdir=$(srcdir)/tar"; \
18226             libsrcdir="$$s/tar";; \
18227           *) \
18228             srcdiroption="--srcdir=../$(srcdir)/tar"; \
18229             libsrcdir="$$s/tar";; \
18230         esac; \
18231         $(SHELL) $${libsrcdir}/configure \
18232           $(HOST_CONFIGARGS) $${srcdiroption}  \
18233           || exit 1
18234 @endif tar
18235
18236 .PHONY: all-tar maybe-all-tar
18237 maybe-all-tar:
18238 @if tar
18239 maybe-all-tar: all-tar
18240 all-tar: configure-tar
18241         @r=`${PWD_COMMAND}`; export r; \
18242         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243         $(SET_LIB_PATH) \
18244         $(HOST_EXPORTS) \
18245         (cd tar && $(MAKE) $(FLAGS_TO_PASS)  all)
18246 @endif tar
18247
18248 .PHONY: check-tar maybe-check-tar
18249 maybe-check-tar:
18250 @if tar
18251 maybe-check-tar: check-tar
18252
18253 check-tar:
18254         @r=`${PWD_COMMAND}`; export r; \
18255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256         $(SET_LIB_PATH) \
18257         $(HOST_EXPORTS) \
18258         (cd tar && $(MAKE) $(FLAGS_TO_PASS)  check)
18259
18260 @endif tar
18261
18262 .PHONY: install-tar maybe-install-tar
18263 maybe-install-tar:
18264 @if tar
18265 maybe-install-tar: install-tar
18266
18267 install-tar: installdirs
18268         @r=`${PWD_COMMAND}`; export r; \
18269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18270         $(SET_LIB_PATH) \
18271         $(HOST_EXPORTS) \
18272         (cd tar && $(MAKE) $(FLAGS_TO_PASS)  install)
18273
18274 @endif tar
18275
18276 # Other targets (info, dvi, etc.)
18277
18278 .PHONY: maybe-info-tar info-tar
18279 maybe-info-tar:
18280 @if tar
18281 maybe-info-tar: info-tar
18282
18283 info-tar: \
18284     configure-tar 
18285         @[ -f ./tar/Makefile ] || exit 0; \
18286         r=`${PWD_COMMAND}`; export r; \
18287         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18288         $(SET_LIB_PATH) \
18289         $(HOST_EXPORTS) \
18290         for flag in $(EXTRA_HOST_FLAGS) ; do \
18291           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18292         done; \
18293         echo "Doing info in tar" ; \
18294         (cd tar && \
18295           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18296                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18297                   "RANLIB=$${RANLIB}" \
18298                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18299                   info) \
18300           || exit 1
18301
18302 @endif tar
18303
18304 .PHONY: maybe-dvi-tar dvi-tar
18305 maybe-dvi-tar:
18306 @if tar
18307 maybe-dvi-tar: dvi-tar
18308
18309 dvi-tar: \
18310     configure-tar 
18311         @[ -f ./tar/Makefile ] || exit 0; \
18312         r=`${PWD_COMMAND}`; export r; \
18313         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18314         $(SET_LIB_PATH) \
18315         $(HOST_EXPORTS) \
18316         for flag in $(EXTRA_HOST_FLAGS) ; do \
18317           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18318         done; \
18319         echo "Doing dvi in tar" ; \
18320         (cd tar && \
18321           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18322                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18323                   "RANLIB=$${RANLIB}" \
18324                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18325                   dvi) \
18326           || exit 1
18327
18328 @endif tar
18329
18330 .PHONY: maybe-TAGS-tar TAGS-tar
18331 maybe-TAGS-tar:
18332 @if tar
18333 maybe-TAGS-tar: TAGS-tar
18334
18335 TAGS-tar: \
18336     configure-tar 
18337         @[ -f ./tar/Makefile ] || exit 0; \
18338         r=`${PWD_COMMAND}`; export r; \
18339         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18340         $(SET_LIB_PATH) \
18341         $(HOST_EXPORTS) \
18342         for flag in $(EXTRA_HOST_FLAGS) ; do \
18343           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18344         done; \
18345         echo "Doing TAGS in tar" ; \
18346         (cd tar && \
18347           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18348                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18349                   "RANLIB=$${RANLIB}" \
18350                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18351                   TAGS) \
18352           || exit 1
18353
18354 @endif tar
18355
18356 .PHONY: maybe-install-info-tar install-info-tar
18357 maybe-install-info-tar:
18358 @if tar
18359 maybe-install-info-tar: install-info-tar
18360
18361 install-info-tar: \
18362     configure-tar \
18363     info-tar 
18364         @[ -f ./tar/Makefile ] || exit 0; \
18365         r=`${PWD_COMMAND}`; export r; \
18366         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18367         $(SET_LIB_PATH) \
18368         $(HOST_EXPORTS) \
18369         for flag in $(EXTRA_HOST_FLAGS) ; do \
18370           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18371         done; \
18372         echo "Doing install-info in tar" ; \
18373         (cd tar && \
18374           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18375                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18376                   "RANLIB=$${RANLIB}" \
18377                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18378                   install-info) \
18379           || exit 1
18380
18381 @endif tar
18382
18383 .PHONY: maybe-installcheck-tar installcheck-tar
18384 maybe-installcheck-tar:
18385 @if tar
18386 maybe-installcheck-tar: installcheck-tar
18387
18388 installcheck-tar: \
18389     configure-tar 
18390         @[ -f ./tar/Makefile ] || exit 0; \
18391         r=`${PWD_COMMAND}`; export r; \
18392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18393         $(SET_LIB_PATH) \
18394         $(HOST_EXPORTS) \
18395         for flag in $(EXTRA_HOST_FLAGS) ; do \
18396           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18397         done; \
18398         echo "Doing installcheck in tar" ; \
18399         (cd tar && \
18400           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18401                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18402                   "RANLIB=$${RANLIB}" \
18403                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18404                   installcheck) \
18405           || exit 1
18406
18407 @endif tar
18408
18409 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18410 maybe-mostlyclean-tar:
18411 @if tar
18412 maybe-mostlyclean-tar: mostlyclean-tar
18413
18414 mostlyclean-tar: 
18415         @[ -f ./tar/Makefile ] || exit 0; \
18416         r=`${PWD_COMMAND}`; export r; \
18417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18418         $(SET_LIB_PATH) \
18419         $(HOST_EXPORTS) \
18420         for flag in $(EXTRA_HOST_FLAGS) ; do \
18421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18422         done; \
18423         echo "Doing mostlyclean in tar" ; \
18424         (cd tar && \
18425           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18426                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18427                   "RANLIB=$${RANLIB}" \
18428                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18429                   mostlyclean) \
18430           || exit 1
18431
18432 @endif tar
18433
18434 .PHONY: maybe-clean-tar clean-tar
18435 maybe-clean-tar:
18436 @if tar
18437 maybe-clean-tar: clean-tar
18438
18439 clean-tar: 
18440         @[ -f ./tar/Makefile ] || exit 0; \
18441         r=`${PWD_COMMAND}`; export r; \
18442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18443         $(SET_LIB_PATH) \
18444         $(HOST_EXPORTS) \
18445         for flag in $(EXTRA_HOST_FLAGS) ; do \
18446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18447         done; \
18448         echo "Doing clean in tar" ; \
18449         (cd tar && \
18450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18452                   "RANLIB=$${RANLIB}" \
18453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18454                   clean) \
18455           || exit 1
18456
18457 @endif tar
18458
18459 .PHONY: maybe-distclean-tar distclean-tar
18460 maybe-distclean-tar:
18461 @if tar
18462 maybe-distclean-tar: distclean-tar
18463
18464 distclean-tar: 
18465         @[ -f ./tar/Makefile ] || exit 0; \
18466         r=`${PWD_COMMAND}`; export r; \
18467         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18468         $(SET_LIB_PATH) \
18469         $(HOST_EXPORTS) \
18470         for flag in $(EXTRA_HOST_FLAGS) ; do \
18471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18472         done; \
18473         echo "Doing distclean in tar" ; \
18474         (cd tar && \
18475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18477                   "RANLIB=$${RANLIB}" \
18478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18479                   distclean) \
18480           || exit 1
18481
18482 @endif tar
18483
18484 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18485 maybe-maintainer-clean-tar:
18486 @if tar
18487 maybe-maintainer-clean-tar: maintainer-clean-tar
18488
18489 maintainer-clean-tar: 
18490         @[ -f ./tar/Makefile ] || exit 0; \
18491         r=`${PWD_COMMAND}`; export r; \
18492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18493         $(SET_LIB_PATH) \
18494         $(HOST_EXPORTS) \
18495         for flag in $(EXTRA_HOST_FLAGS) ; do \
18496           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18497         done; \
18498         echo "Doing maintainer-clean in tar" ; \
18499         (cd tar && \
18500           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18501                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18502                   "RANLIB=$${RANLIB}" \
18503                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18504                   maintainer-clean) \
18505           || exit 1
18506
18507 @endif tar
18508
18509
18510 .PHONY: configure-texinfo maybe-configure-texinfo
18511 maybe-configure-texinfo:
18512 @if texinfo
18513 maybe-configure-texinfo: configure-texinfo
18514 configure-texinfo:
18515         @test ! -f texinfo/Makefile || exit 0; \
18516         [ -d texinfo ] || mkdir texinfo; \
18517         r=`${PWD_COMMAND}`; export r; \
18518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18519         $(HOST_EXPORTS) \
18520         echo Configuring in texinfo; \
18521         cd texinfo || exit 1; \
18522         case $(srcdir) in \
18523           \.) \
18524             srcdiroption="--srcdir=."; \
18525             libsrcdir=".";; \
18526           /* | [A-Za-z]:[\\/]*) \
18527             srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18528             libsrcdir="$$s/texinfo";; \
18529           *) \
18530             srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18531             libsrcdir="$$s/texinfo";; \
18532         esac; \
18533         $(SHELL) $${libsrcdir}/configure \
18534           $(HOST_CONFIGARGS) $${srcdiroption}  \
18535           || exit 1
18536 @endif texinfo
18537
18538 .PHONY: all-texinfo maybe-all-texinfo
18539 maybe-all-texinfo:
18540 @if texinfo
18541 maybe-all-texinfo: all-texinfo
18542 all-texinfo: configure-texinfo
18543         @r=`${PWD_COMMAND}`; export r; \
18544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18545         $(SET_LIB_PATH) \
18546         $(HOST_EXPORTS) \
18547         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS)  all)
18548 @endif texinfo
18549
18550 .PHONY: check-texinfo maybe-check-texinfo
18551 maybe-check-texinfo:
18552 @if texinfo
18553 maybe-check-texinfo: check-texinfo
18554
18555 check-texinfo:
18556         @r=`${PWD_COMMAND}`; export r; \
18557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18558         $(SET_LIB_PATH) \
18559         $(HOST_EXPORTS) \
18560         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS)  check)
18561
18562 @endif texinfo
18563
18564 .PHONY: install-texinfo maybe-install-texinfo
18565 maybe-install-texinfo:
18566 @if texinfo
18567 maybe-install-texinfo: install-texinfo
18568
18569 install-texinfo:
18570
18571 @endif texinfo
18572
18573 # Other targets (info, dvi, etc.)
18574
18575 .PHONY: maybe-info-texinfo info-texinfo
18576 maybe-info-texinfo:
18577 @if texinfo
18578 maybe-info-texinfo: info-texinfo
18579
18580 info-texinfo: \
18581     configure-texinfo 
18582         @[ -f ./texinfo/Makefile ] || exit 0; \
18583         r=`${PWD_COMMAND}`; export r; \
18584         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18585         $(SET_LIB_PATH) \
18586         $(HOST_EXPORTS) \
18587         for flag in $(EXTRA_HOST_FLAGS) ; do \
18588           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18589         done; \
18590         echo "Doing info in texinfo" ; \
18591         (cd texinfo && \
18592           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18593                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18594                   "RANLIB=$${RANLIB}" \
18595                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18596                   info) \
18597           || exit 1
18598
18599 @endif texinfo
18600
18601 .PHONY: maybe-dvi-texinfo dvi-texinfo
18602 maybe-dvi-texinfo:
18603 @if texinfo
18604 maybe-dvi-texinfo: dvi-texinfo
18605
18606 dvi-texinfo: \
18607     configure-texinfo 
18608         @[ -f ./texinfo/Makefile ] || exit 0; \
18609         r=`${PWD_COMMAND}`; export r; \
18610         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18611         $(SET_LIB_PATH) \
18612         $(HOST_EXPORTS) \
18613         for flag in $(EXTRA_HOST_FLAGS) ; do \
18614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18615         done; \
18616         echo "Doing dvi in texinfo" ; \
18617         (cd texinfo && \
18618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18620                   "RANLIB=$${RANLIB}" \
18621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18622                   dvi) \
18623           || exit 1
18624
18625 @endif texinfo
18626
18627 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18628 maybe-TAGS-texinfo:
18629 @if texinfo
18630 maybe-TAGS-texinfo: TAGS-texinfo
18631
18632 TAGS-texinfo: \
18633     configure-texinfo 
18634         @[ -f ./texinfo/Makefile ] || exit 0; \
18635         r=`${PWD_COMMAND}`; export r; \
18636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18637         $(SET_LIB_PATH) \
18638         $(HOST_EXPORTS) \
18639         for flag in $(EXTRA_HOST_FLAGS) ; do \
18640           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18641         done; \
18642         echo "Doing TAGS in texinfo" ; \
18643         (cd texinfo && \
18644           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18645                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18646                   "RANLIB=$${RANLIB}" \
18647                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18648                   TAGS) \
18649           || exit 1
18650
18651 @endif texinfo
18652
18653 .PHONY: maybe-install-info-texinfo install-info-texinfo
18654 maybe-install-info-texinfo:
18655 @if texinfo
18656 maybe-install-info-texinfo: install-info-texinfo
18657
18658 install-info-texinfo: \
18659     configure-texinfo \
18660     info-texinfo 
18661         @[ -f ./texinfo/Makefile ] || exit 0; \
18662         r=`${PWD_COMMAND}`; export r; \
18663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18664         $(SET_LIB_PATH) \
18665         $(HOST_EXPORTS) \
18666         for flag in $(EXTRA_HOST_FLAGS) ; do \
18667           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18668         done; \
18669         echo "Doing install-info in texinfo" ; \
18670         (cd texinfo && \
18671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18673                   "RANLIB=$${RANLIB}" \
18674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18675                   install-info) \
18676           || exit 1
18677
18678 @endif texinfo
18679
18680 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18681 maybe-installcheck-texinfo:
18682 @if texinfo
18683 maybe-installcheck-texinfo: installcheck-texinfo
18684
18685 installcheck-texinfo: \
18686     configure-texinfo 
18687         @[ -f ./texinfo/Makefile ] || exit 0; \
18688         r=`${PWD_COMMAND}`; export r; \
18689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18690         $(SET_LIB_PATH) \
18691         $(HOST_EXPORTS) \
18692         for flag in $(EXTRA_HOST_FLAGS) ; do \
18693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18694         done; \
18695         echo "Doing installcheck in texinfo" ; \
18696         (cd texinfo && \
18697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18699                   "RANLIB=$${RANLIB}" \
18700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18701                   installcheck) \
18702           || exit 1
18703
18704 @endif texinfo
18705
18706 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18707 maybe-mostlyclean-texinfo:
18708 @if texinfo
18709 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18710
18711 mostlyclean-texinfo: 
18712         @[ -f ./texinfo/Makefile ] || exit 0; \
18713         r=`${PWD_COMMAND}`; export r; \
18714         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18715         $(SET_LIB_PATH) \
18716         $(HOST_EXPORTS) \
18717         for flag in $(EXTRA_HOST_FLAGS) ; do \
18718           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18719         done; \
18720         echo "Doing mostlyclean in texinfo" ; \
18721         (cd texinfo && \
18722           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18723                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18724                   "RANLIB=$${RANLIB}" \
18725                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18726                   mostlyclean) \
18727           || exit 1
18728
18729 @endif texinfo
18730
18731 .PHONY: maybe-clean-texinfo clean-texinfo
18732 maybe-clean-texinfo:
18733 @if texinfo
18734 maybe-clean-texinfo: clean-texinfo
18735
18736 clean-texinfo: 
18737         @[ -f ./texinfo/Makefile ] || exit 0; \
18738         r=`${PWD_COMMAND}`; export r; \
18739         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18740         $(SET_LIB_PATH) \
18741         $(HOST_EXPORTS) \
18742         for flag in $(EXTRA_HOST_FLAGS) ; do \
18743           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18744         done; \
18745         echo "Doing clean in texinfo" ; \
18746         (cd texinfo && \
18747           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18748                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18749                   "RANLIB=$${RANLIB}" \
18750                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18751                   clean) \
18752           || exit 1
18753
18754 @endif texinfo
18755
18756 .PHONY: maybe-distclean-texinfo distclean-texinfo
18757 maybe-distclean-texinfo:
18758 @if texinfo
18759 maybe-distclean-texinfo: distclean-texinfo
18760
18761 distclean-texinfo: 
18762         @[ -f ./texinfo/Makefile ] || exit 0; \
18763         r=`${PWD_COMMAND}`; export r; \
18764         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18765         $(SET_LIB_PATH) \
18766         $(HOST_EXPORTS) \
18767         for flag in $(EXTRA_HOST_FLAGS) ; do \
18768           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18769         done; \
18770         echo "Doing distclean in texinfo" ; \
18771         (cd texinfo && \
18772           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18773                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18774                   "RANLIB=$${RANLIB}" \
18775                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18776                   distclean) \
18777           || exit 1
18778
18779 @endif texinfo
18780
18781 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18782 maybe-maintainer-clean-texinfo:
18783 @if texinfo
18784 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18785
18786 maintainer-clean-texinfo: 
18787         @[ -f ./texinfo/Makefile ] || exit 0; \
18788         r=`${PWD_COMMAND}`; export r; \
18789         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18790         $(SET_LIB_PATH) \
18791         $(HOST_EXPORTS) \
18792         for flag in $(EXTRA_HOST_FLAGS) ; do \
18793           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18794         done; \
18795         echo "Doing maintainer-clean in texinfo" ; \
18796         (cd texinfo && \
18797           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18798                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18799                   "RANLIB=$${RANLIB}" \
18800                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18801                   maintainer-clean) \
18802           || exit 1
18803
18804 @endif texinfo
18805
18806
18807 .PHONY: configure-textutils maybe-configure-textutils
18808 maybe-configure-textutils:
18809 @if textutils
18810 maybe-configure-textutils: configure-textutils
18811 configure-textutils:
18812         @test ! -f textutils/Makefile || exit 0; \
18813         [ -d textutils ] || mkdir textutils; \
18814         r=`${PWD_COMMAND}`; export r; \
18815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18816         $(HOST_EXPORTS) \
18817         echo Configuring in textutils; \
18818         cd textutils || exit 1; \
18819         case $(srcdir) in \
18820           \.) \
18821             srcdiroption="--srcdir=."; \
18822             libsrcdir=".";; \
18823           /* | [A-Za-z]:[\\/]*) \
18824             srcdiroption="--srcdir=$(srcdir)/textutils"; \
18825             libsrcdir="$$s/textutils";; \
18826           *) \
18827             srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18828             libsrcdir="$$s/textutils";; \
18829         esac; \
18830         $(SHELL) $${libsrcdir}/configure \
18831           $(HOST_CONFIGARGS) $${srcdiroption}  \
18832           || exit 1
18833 @endif textutils
18834
18835 .PHONY: all-textutils maybe-all-textutils
18836 maybe-all-textutils:
18837 @if textutils
18838 maybe-all-textutils: all-textutils
18839 all-textutils: configure-textutils
18840         @r=`${PWD_COMMAND}`; export r; \
18841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18842         $(SET_LIB_PATH) \
18843         $(HOST_EXPORTS) \
18844         (cd textutils && $(MAKE) $(FLAGS_TO_PASS)  all)
18845 @endif textutils
18846
18847 .PHONY: check-textutils maybe-check-textutils
18848 maybe-check-textutils:
18849 @if textutils
18850 maybe-check-textutils: check-textutils
18851
18852 check-textutils:
18853         @r=`${PWD_COMMAND}`; export r; \
18854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18855         $(SET_LIB_PATH) \
18856         $(HOST_EXPORTS) \
18857         (cd textutils && $(MAKE) $(FLAGS_TO_PASS)  check)
18858
18859 @endif textutils
18860
18861 .PHONY: install-textutils maybe-install-textutils
18862 maybe-install-textutils:
18863 @if textutils
18864 maybe-install-textutils: install-textutils
18865
18866 install-textutils: installdirs
18867         @r=`${PWD_COMMAND}`; export r; \
18868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18869         $(SET_LIB_PATH) \
18870         $(HOST_EXPORTS) \
18871         (cd textutils && $(MAKE) $(FLAGS_TO_PASS)  install)
18872
18873 @endif textutils
18874
18875 # Other targets (info, dvi, etc.)
18876
18877 .PHONY: maybe-info-textutils info-textutils
18878 maybe-info-textutils:
18879 @if textutils
18880 maybe-info-textutils: info-textutils
18881
18882 info-textutils: \
18883     configure-textutils 
18884         @[ -f ./textutils/Makefile ] || exit 0; \
18885         r=`${PWD_COMMAND}`; export r; \
18886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18887         $(SET_LIB_PATH) \
18888         $(HOST_EXPORTS) \
18889         for flag in $(EXTRA_HOST_FLAGS) ; do \
18890           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18891         done; \
18892         echo "Doing info in textutils" ; \
18893         (cd textutils && \
18894           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18895                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18896                   "RANLIB=$${RANLIB}" \
18897                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18898                   info) \
18899           || exit 1
18900
18901 @endif textutils
18902
18903 .PHONY: maybe-dvi-textutils dvi-textutils
18904 maybe-dvi-textutils:
18905 @if textutils
18906 maybe-dvi-textutils: dvi-textutils
18907
18908 dvi-textutils: \
18909     configure-textutils 
18910         @[ -f ./textutils/Makefile ] || exit 0; \
18911         r=`${PWD_COMMAND}`; export r; \
18912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18913         $(SET_LIB_PATH) \
18914         $(HOST_EXPORTS) \
18915         for flag in $(EXTRA_HOST_FLAGS) ; do \
18916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18917         done; \
18918         echo "Doing dvi in textutils" ; \
18919         (cd textutils && \
18920           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18921                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18922                   "RANLIB=$${RANLIB}" \
18923                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18924                   dvi) \
18925           || exit 1
18926
18927 @endif textutils
18928
18929 .PHONY: maybe-TAGS-textutils TAGS-textutils
18930 maybe-TAGS-textutils:
18931 @if textutils
18932 maybe-TAGS-textutils: TAGS-textutils
18933
18934 TAGS-textutils: \
18935     configure-textutils 
18936         @[ -f ./textutils/Makefile ] || exit 0; \
18937         r=`${PWD_COMMAND}`; export r; \
18938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18939         $(SET_LIB_PATH) \
18940         $(HOST_EXPORTS) \
18941         for flag in $(EXTRA_HOST_FLAGS) ; do \
18942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18943         done; \
18944         echo "Doing TAGS in textutils" ; \
18945         (cd textutils && \
18946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18948                   "RANLIB=$${RANLIB}" \
18949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18950                   TAGS) \
18951           || exit 1
18952
18953 @endif textutils
18954
18955 .PHONY: maybe-install-info-textutils install-info-textutils
18956 maybe-install-info-textutils:
18957 @if textutils
18958 maybe-install-info-textutils: install-info-textutils
18959
18960 install-info-textutils: \
18961     configure-textutils \
18962     info-textutils 
18963         @[ -f ./textutils/Makefile ] || exit 0; \
18964         r=`${PWD_COMMAND}`; export r; \
18965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18966         $(SET_LIB_PATH) \
18967         $(HOST_EXPORTS) \
18968         for flag in $(EXTRA_HOST_FLAGS) ; do \
18969           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18970         done; \
18971         echo "Doing install-info in textutils" ; \
18972         (cd textutils && \
18973           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18974                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18975                   "RANLIB=$${RANLIB}" \
18976                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18977                   install-info) \
18978           || exit 1
18979
18980 @endif textutils
18981
18982 .PHONY: maybe-installcheck-textutils installcheck-textutils
18983 maybe-installcheck-textutils:
18984 @if textutils
18985 maybe-installcheck-textutils: installcheck-textutils
18986
18987 installcheck-textutils: \
18988     configure-textutils 
18989         @[ -f ./textutils/Makefile ] || exit 0; \
18990         r=`${PWD_COMMAND}`; export r; \
18991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18992         $(SET_LIB_PATH) \
18993         $(HOST_EXPORTS) \
18994         for flag in $(EXTRA_HOST_FLAGS) ; do \
18995           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18996         done; \
18997         echo "Doing installcheck in textutils" ; \
18998         (cd textutils && \
18999           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19000                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19001                   "RANLIB=$${RANLIB}" \
19002                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19003                   installcheck) \
19004           || exit 1
19005
19006 @endif textutils
19007
19008 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19009 maybe-mostlyclean-textutils:
19010 @if textutils
19011 maybe-mostlyclean-textutils: mostlyclean-textutils
19012
19013 mostlyclean-textutils: 
19014         @[ -f ./textutils/Makefile ] || exit 0; \
19015         r=`${PWD_COMMAND}`; export r; \
19016         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19017         $(SET_LIB_PATH) \
19018         $(HOST_EXPORTS) \
19019         for flag in $(EXTRA_HOST_FLAGS) ; do \
19020           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19021         done; \
19022         echo "Doing mostlyclean in textutils" ; \
19023         (cd textutils && \
19024           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19025                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19026                   "RANLIB=$${RANLIB}" \
19027                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19028                   mostlyclean) \
19029           || exit 1
19030
19031 @endif textutils
19032
19033 .PHONY: maybe-clean-textutils clean-textutils
19034 maybe-clean-textutils:
19035 @if textutils
19036 maybe-clean-textutils: clean-textutils
19037
19038 clean-textutils: 
19039         @[ -f ./textutils/Makefile ] || exit 0; \
19040         r=`${PWD_COMMAND}`; export r; \
19041         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19042         $(SET_LIB_PATH) \
19043         $(HOST_EXPORTS) \
19044         for flag in $(EXTRA_HOST_FLAGS) ; do \
19045           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19046         done; \
19047         echo "Doing clean in textutils" ; \
19048         (cd textutils && \
19049           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19050                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19051                   "RANLIB=$${RANLIB}" \
19052                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19053                   clean) \
19054           || exit 1
19055
19056 @endif textutils
19057
19058 .PHONY: maybe-distclean-textutils distclean-textutils
19059 maybe-distclean-textutils:
19060 @if textutils
19061 maybe-distclean-textutils: distclean-textutils
19062
19063 distclean-textutils: 
19064         @[ -f ./textutils/Makefile ] || exit 0; \
19065         r=`${PWD_COMMAND}`; export r; \
19066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19067         $(SET_LIB_PATH) \
19068         $(HOST_EXPORTS) \
19069         for flag in $(EXTRA_HOST_FLAGS) ; do \
19070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19071         done; \
19072         echo "Doing distclean in textutils" ; \
19073         (cd textutils && \
19074           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19075                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19076                   "RANLIB=$${RANLIB}" \
19077                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19078                   distclean) \
19079           || exit 1
19080
19081 @endif textutils
19082
19083 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19084 maybe-maintainer-clean-textutils:
19085 @if textutils
19086 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19087
19088 maintainer-clean-textutils: 
19089         @[ -f ./textutils/Makefile ] || exit 0; \
19090         r=`${PWD_COMMAND}`; export r; \
19091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092         $(SET_LIB_PATH) \
19093         $(HOST_EXPORTS) \
19094         for flag in $(EXTRA_HOST_FLAGS) ; do \
19095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19096         done; \
19097         echo "Doing maintainer-clean in textutils" ; \
19098         (cd textutils && \
19099           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19100                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19101                   "RANLIB=$${RANLIB}" \
19102                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19103                   maintainer-clean) \
19104           || exit 1
19105
19106 @endif textutils
19107
19108
19109 .PHONY: configure-time maybe-configure-time
19110 maybe-configure-time:
19111 @if time
19112 maybe-configure-time: configure-time
19113 configure-time:
19114         @test ! -f time/Makefile || exit 0; \
19115         [ -d time ] || mkdir time; \
19116         r=`${PWD_COMMAND}`; export r; \
19117         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118         $(HOST_EXPORTS) \
19119         echo Configuring in time; \
19120         cd time || exit 1; \
19121         case $(srcdir) in \
19122           \.) \
19123             srcdiroption="--srcdir=."; \
19124             libsrcdir=".";; \
19125           /* | [A-Za-z]:[\\/]*) \
19126             srcdiroption="--srcdir=$(srcdir)/time"; \
19127             libsrcdir="$$s/time";; \
19128           *) \
19129             srcdiroption="--srcdir=../$(srcdir)/time"; \
19130             libsrcdir="$$s/time";; \
19131         esac; \
19132         $(SHELL) $${libsrcdir}/configure \
19133           $(HOST_CONFIGARGS) $${srcdiroption}  \
19134           || exit 1
19135 @endif time
19136
19137 .PHONY: all-time maybe-all-time
19138 maybe-all-time:
19139 @if time
19140 maybe-all-time: all-time
19141 all-time: configure-time
19142         @r=`${PWD_COMMAND}`; export r; \
19143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19144         $(SET_LIB_PATH) \
19145         $(HOST_EXPORTS) \
19146         (cd time && $(MAKE) $(FLAGS_TO_PASS)  all)
19147 @endif time
19148
19149 .PHONY: check-time maybe-check-time
19150 maybe-check-time:
19151 @if time
19152 maybe-check-time: check-time
19153
19154 check-time:
19155         @r=`${PWD_COMMAND}`; export r; \
19156         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157         $(SET_LIB_PATH) \
19158         $(HOST_EXPORTS) \
19159         (cd time && $(MAKE) $(FLAGS_TO_PASS)  check)
19160
19161 @endif time
19162
19163 .PHONY: install-time maybe-install-time
19164 maybe-install-time:
19165 @if time
19166 maybe-install-time: install-time
19167
19168 install-time: installdirs
19169         @r=`${PWD_COMMAND}`; export r; \
19170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19171         $(SET_LIB_PATH) \
19172         $(HOST_EXPORTS) \
19173         (cd time && $(MAKE) $(FLAGS_TO_PASS)  install)
19174
19175 @endif time
19176
19177 # Other targets (info, dvi, etc.)
19178
19179 .PHONY: maybe-info-time info-time
19180 maybe-info-time:
19181 @if time
19182 maybe-info-time: info-time
19183
19184 info-time: \
19185     configure-time 
19186         @[ -f ./time/Makefile ] || exit 0; \
19187         r=`${PWD_COMMAND}`; export r; \
19188         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19189         $(SET_LIB_PATH) \
19190         $(HOST_EXPORTS) \
19191         for flag in $(EXTRA_HOST_FLAGS) ; do \
19192           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19193         done; \
19194         echo "Doing info in time" ; \
19195         (cd time && \
19196           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19197                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19198                   "RANLIB=$${RANLIB}" \
19199                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19200                   info) \
19201           || exit 1
19202
19203 @endif time
19204
19205 .PHONY: maybe-dvi-time dvi-time
19206 maybe-dvi-time:
19207 @if time
19208 maybe-dvi-time: dvi-time
19209
19210 dvi-time: \
19211     configure-time 
19212         @[ -f ./time/Makefile ] || exit 0; \
19213         r=`${PWD_COMMAND}`; export r; \
19214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19215         $(SET_LIB_PATH) \
19216         $(HOST_EXPORTS) \
19217         for flag in $(EXTRA_HOST_FLAGS) ; do \
19218           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19219         done; \
19220         echo "Doing dvi in time" ; \
19221         (cd time && \
19222           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19223                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19224                   "RANLIB=$${RANLIB}" \
19225                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19226                   dvi) \
19227           || exit 1
19228
19229 @endif time
19230
19231 .PHONY: maybe-TAGS-time TAGS-time
19232 maybe-TAGS-time:
19233 @if time
19234 maybe-TAGS-time: TAGS-time
19235
19236 TAGS-time: \
19237     configure-time 
19238         @[ -f ./time/Makefile ] || exit 0; \
19239         r=`${PWD_COMMAND}`; export r; \
19240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19241         $(SET_LIB_PATH) \
19242         $(HOST_EXPORTS) \
19243         for flag in $(EXTRA_HOST_FLAGS) ; do \
19244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19245         done; \
19246         echo "Doing TAGS in time" ; \
19247         (cd time && \
19248           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19249                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19250                   "RANLIB=$${RANLIB}" \
19251                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19252                   TAGS) \
19253           || exit 1
19254
19255 @endif time
19256
19257 .PHONY: maybe-install-info-time install-info-time
19258 maybe-install-info-time:
19259 @if time
19260 maybe-install-info-time: install-info-time
19261
19262 install-info-time: \
19263     configure-time \
19264     info-time 
19265         @[ -f ./time/Makefile ] || exit 0; \
19266         r=`${PWD_COMMAND}`; export r; \
19267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19268         $(SET_LIB_PATH) \
19269         $(HOST_EXPORTS) \
19270         for flag in $(EXTRA_HOST_FLAGS) ; do \
19271           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19272         done; \
19273         echo "Doing install-info in time" ; \
19274         (cd time && \
19275           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19276                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19277                   "RANLIB=$${RANLIB}" \
19278                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19279                   install-info) \
19280           || exit 1
19281
19282 @endif time
19283
19284 .PHONY: maybe-installcheck-time installcheck-time
19285 maybe-installcheck-time:
19286 @if time
19287 maybe-installcheck-time: installcheck-time
19288
19289 installcheck-time: \
19290     configure-time 
19291         @[ -f ./time/Makefile ] || exit 0; \
19292         r=`${PWD_COMMAND}`; export r; \
19293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19294         $(SET_LIB_PATH) \
19295         $(HOST_EXPORTS) \
19296         for flag in $(EXTRA_HOST_FLAGS) ; do \
19297           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19298         done; \
19299         echo "Doing installcheck in time" ; \
19300         (cd time && \
19301           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19302                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19303                   "RANLIB=$${RANLIB}" \
19304                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19305                   installcheck) \
19306           || exit 1
19307
19308 @endif time
19309
19310 .PHONY: maybe-mostlyclean-time mostlyclean-time
19311 maybe-mostlyclean-time:
19312 @if time
19313 maybe-mostlyclean-time: mostlyclean-time
19314
19315 mostlyclean-time: 
19316         @[ -f ./time/Makefile ] || exit 0; \
19317         r=`${PWD_COMMAND}`; export r; \
19318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19319         $(SET_LIB_PATH) \
19320         $(HOST_EXPORTS) \
19321         for flag in $(EXTRA_HOST_FLAGS) ; do \
19322           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323         done; \
19324         echo "Doing mostlyclean in time" ; \
19325         (cd time && \
19326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328                   "RANLIB=$${RANLIB}" \
19329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19330                   mostlyclean) \
19331           || exit 1
19332
19333 @endif time
19334
19335 .PHONY: maybe-clean-time clean-time
19336 maybe-clean-time:
19337 @if time
19338 maybe-clean-time: clean-time
19339
19340 clean-time: 
19341         @[ -f ./time/Makefile ] || exit 0; \
19342         r=`${PWD_COMMAND}`; export r; \
19343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19344         $(SET_LIB_PATH) \
19345         $(HOST_EXPORTS) \
19346         for flag in $(EXTRA_HOST_FLAGS) ; do \
19347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19348         done; \
19349         echo "Doing clean in time" ; \
19350         (cd time && \
19351           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19352                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19353                   "RANLIB=$${RANLIB}" \
19354                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19355                   clean) \
19356           || exit 1
19357
19358 @endif time
19359
19360 .PHONY: maybe-distclean-time distclean-time
19361 maybe-distclean-time:
19362 @if time
19363 maybe-distclean-time: distclean-time
19364
19365 distclean-time: 
19366         @[ -f ./time/Makefile ] || exit 0; \
19367         r=`${PWD_COMMAND}`; export r; \
19368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19369         $(SET_LIB_PATH) \
19370         $(HOST_EXPORTS) \
19371         for flag in $(EXTRA_HOST_FLAGS) ; do \
19372           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19373         done; \
19374         echo "Doing distclean in time" ; \
19375         (cd time && \
19376           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19377                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19378                   "RANLIB=$${RANLIB}" \
19379                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19380                   distclean) \
19381           || exit 1
19382
19383 @endif time
19384
19385 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19386 maybe-maintainer-clean-time:
19387 @if time
19388 maybe-maintainer-clean-time: maintainer-clean-time
19389
19390 maintainer-clean-time: 
19391         @[ -f ./time/Makefile ] || exit 0; \
19392         r=`${PWD_COMMAND}`; export r; \
19393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19394         $(SET_LIB_PATH) \
19395         $(HOST_EXPORTS) \
19396         for flag in $(EXTRA_HOST_FLAGS) ; do \
19397           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19398         done; \
19399         echo "Doing maintainer-clean in time" ; \
19400         (cd time && \
19401           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19402                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19403                   "RANLIB=$${RANLIB}" \
19404                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19405                   maintainer-clean) \
19406           || exit 1
19407
19408 @endif time
19409
19410
19411 .PHONY: configure-uudecode maybe-configure-uudecode
19412 maybe-configure-uudecode:
19413 @if uudecode
19414 maybe-configure-uudecode: configure-uudecode
19415 configure-uudecode:
19416         @test ! -f uudecode/Makefile || exit 0; \
19417         [ -d uudecode ] || mkdir uudecode; \
19418         r=`${PWD_COMMAND}`; export r; \
19419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420         $(HOST_EXPORTS) \
19421         echo Configuring in uudecode; \
19422         cd uudecode || exit 1; \
19423         case $(srcdir) in \
19424           \.) \
19425             srcdiroption="--srcdir=."; \
19426             libsrcdir=".";; \
19427           /* | [A-Za-z]:[\\/]*) \
19428             srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19429             libsrcdir="$$s/uudecode";; \
19430           *) \
19431             srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19432             libsrcdir="$$s/uudecode";; \
19433         esac; \
19434         $(SHELL) $${libsrcdir}/configure \
19435           $(HOST_CONFIGARGS) $${srcdiroption}  \
19436           || exit 1
19437 @endif uudecode
19438
19439 .PHONY: all-uudecode maybe-all-uudecode
19440 maybe-all-uudecode:
19441 @if uudecode
19442 maybe-all-uudecode: all-uudecode
19443 all-uudecode: configure-uudecode
19444         @r=`${PWD_COMMAND}`; export r; \
19445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19446         $(SET_LIB_PATH) \
19447         $(HOST_EXPORTS) \
19448         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS)  all)
19449 @endif uudecode
19450
19451 .PHONY: check-uudecode maybe-check-uudecode
19452 maybe-check-uudecode:
19453 @if uudecode
19454 maybe-check-uudecode: check-uudecode
19455
19456 check-uudecode:
19457         @r=`${PWD_COMMAND}`; export r; \
19458         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19459         $(SET_LIB_PATH) \
19460         $(HOST_EXPORTS) \
19461         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS)  check)
19462
19463 @endif uudecode
19464
19465 .PHONY: install-uudecode maybe-install-uudecode
19466 maybe-install-uudecode:
19467 @if uudecode
19468 maybe-install-uudecode: install-uudecode
19469
19470 install-uudecode: installdirs
19471         @r=`${PWD_COMMAND}`; export r; \
19472         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19473         $(SET_LIB_PATH) \
19474         $(HOST_EXPORTS) \
19475         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS)  install)
19476
19477 @endif uudecode
19478
19479 # Other targets (info, dvi, etc.)
19480
19481 .PHONY: maybe-info-uudecode info-uudecode
19482 maybe-info-uudecode:
19483 @if uudecode
19484 maybe-info-uudecode: info-uudecode
19485
19486 info-uudecode: \
19487     configure-uudecode 
19488         @[ -f ./uudecode/Makefile ] || exit 0; \
19489         r=`${PWD_COMMAND}`; export r; \
19490         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19491         $(SET_LIB_PATH) \
19492         $(HOST_EXPORTS) \
19493         for flag in $(EXTRA_HOST_FLAGS) ; do \
19494           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19495         done; \
19496         echo "Doing info in uudecode" ; \
19497         (cd uudecode && \
19498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19500                   "RANLIB=$${RANLIB}" \
19501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19502                   info) \
19503           || exit 1
19504
19505 @endif uudecode
19506
19507 .PHONY: maybe-dvi-uudecode dvi-uudecode
19508 maybe-dvi-uudecode:
19509 @if uudecode
19510 maybe-dvi-uudecode: dvi-uudecode
19511
19512 dvi-uudecode: \
19513     configure-uudecode 
19514         @[ -f ./uudecode/Makefile ] || exit 0; \
19515         r=`${PWD_COMMAND}`; export r; \
19516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19517         $(SET_LIB_PATH) \
19518         $(HOST_EXPORTS) \
19519         for flag in $(EXTRA_HOST_FLAGS) ; do \
19520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19521         done; \
19522         echo "Doing dvi in uudecode" ; \
19523         (cd uudecode && \
19524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19526                   "RANLIB=$${RANLIB}" \
19527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19528                   dvi) \
19529           || exit 1
19530
19531 @endif uudecode
19532
19533 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19534 maybe-TAGS-uudecode:
19535 @if uudecode
19536 maybe-TAGS-uudecode: TAGS-uudecode
19537
19538 TAGS-uudecode: \
19539     configure-uudecode 
19540         @[ -f ./uudecode/Makefile ] || exit 0; \
19541         r=`${PWD_COMMAND}`; export r; \
19542         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19543         $(SET_LIB_PATH) \
19544         $(HOST_EXPORTS) \
19545         for flag in $(EXTRA_HOST_FLAGS) ; do \
19546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19547         done; \
19548         echo "Doing TAGS in uudecode" ; \
19549         (cd uudecode && \
19550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19552                   "RANLIB=$${RANLIB}" \
19553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19554                   TAGS) \
19555           || exit 1
19556
19557 @endif uudecode
19558
19559 .PHONY: maybe-install-info-uudecode install-info-uudecode
19560 maybe-install-info-uudecode:
19561 @if uudecode
19562 maybe-install-info-uudecode: install-info-uudecode
19563
19564 install-info-uudecode: \
19565     configure-uudecode \
19566     info-uudecode 
19567         @[ -f ./uudecode/Makefile ] || exit 0; \
19568         r=`${PWD_COMMAND}`; export r; \
19569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19570         $(SET_LIB_PATH) \
19571         $(HOST_EXPORTS) \
19572         for flag in $(EXTRA_HOST_FLAGS) ; do \
19573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19574         done; \
19575         echo "Doing install-info in uudecode" ; \
19576         (cd uudecode && \
19577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19579                   "RANLIB=$${RANLIB}" \
19580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19581                   install-info) \
19582           || exit 1
19583
19584 @endif uudecode
19585
19586 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19587 maybe-installcheck-uudecode:
19588 @if uudecode
19589 maybe-installcheck-uudecode: installcheck-uudecode
19590
19591 installcheck-uudecode: \
19592     configure-uudecode 
19593         @[ -f ./uudecode/Makefile ] || exit 0; \
19594         r=`${PWD_COMMAND}`; export r; \
19595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19596         $(SET_LIB_PATH) \
19597         $(HOST_EXPORTS) \
19598         for flag in $(EXTRA_HOST_FLAGS) ; do \
19599           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19600         done; \
19601         echo "Doing installcheck in uudecode" ; \
19602         (cd uudecode && \
19603           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19604                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19605                   "RANLIB=$${RANLIB}" \
19606                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19607                   installcheck) \
19608           || exit 1
19609
19610 @endif uudecode
19611
19612 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19613 maybe-mostlyclean-uudecode:
19614 @if uudecode
19615 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19616
19617 mostlyclean-uudecode: 
19618         @[ -f ./uudecode/Makefile ] || exit 0; \
19619         r=`${PWD_COMMAND}`; export r; \
19620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19621         $(SET_LIB_PATH) \
19622         $(HOST_EXPORTS) \
19623         for flag in $(EXTRA_HOST_FLAGS) ; do \
19624           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19625         done; \
19626         echo "Doing mostlyclean in uudecode" ; \
19627         (cd uudecode && \
19628           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19629                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19630                   "RANLIB=$${RANLIB}" \
19631                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19632                   mostlyclean) \
19633           || exit 1
19634
19635 @endif uudecode
19636
19637 .PHONY: maybe-clean-uudecode clean-uudecode
19638 maybe-clean-uudecode:
19639 @if uudecode
19640 maybe-clean-uudecode: clean-uudecode
19641
19642 clean-uudecode: 
19643         @[ -f ./uudecode/Makefile ] || exit 0; \
19644         r=`${PWD_COMMAND}`; export r; \
19645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19646         $(SET_LIB_PATH) \
19647         $(HOST_EXPORTS) \
19648         for flag in $(EXTRA_HOST_FLAGS) ; do \
19649           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19650         done; \
19651         echo "Doing clean in uudecode" ; \
19652         (cd uudecode && \
19653           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19654                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19655                   "RANLIB=$${RANLIB}" \
19656                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19657                   clean) \
19658           || exit 1
19659
19660 @endif uudecode
19661
19662 .PHONY: maybe-distclean-uudecode distclean-uudecode
19663 maybe-distclean-uudecode:
19664 @if uudecode
19665 maybe-distclean-uudecode: distclean-uudecode
19666
19667 distclean-uudecode: 
19668         @[ -f ./uudecode/Makefile ] || exit 0; \
19669         r=`${PWD_COMMAND}`; export r; \
19670         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19671         $(SET_LIB_PATH) \
19672         $(HOST_EXPORTS) \
19673         for flag in $(EXTRA_HOST_FLAGS) ; do \
19674           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19675         done; \
19676         echo "Doing distclean in uudecode" ; \
19677         (cd uudecode && \
19678           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19679                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19680                   "RANLIB=$${RANLIB}" \
19681                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19682                   distclean) \
19683           || exit 1
19684
19685 @endif uudecode
19686
19687 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19688 maybe-maintainer-clean-uudecode:
19689 @if uudecode
19690 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19691
19692 maintainer-clean-uudecode: 
19693         @[ -f ./uudecode/Makefile ] || exit 0; \
19694         r=`${PWD_COMMAND}`; export r; \
19695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19696         $(SET_LIB_PATH) \
19697         $(HOST_EXPORTS) \
19698         for flag in $(EXTRA_HOST_FLAGS) ; do \
19699           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19700         done; \
19701         echo "Doing maintainer-clean in uudecode" ; \
19702         (cd uudecode && \
19703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19705                   "RANLIB=$${RANLIB}" \
19706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19707                   maintainer-clean) \
19708           || exit 1
19709
19710 @endif uudecode
19711
19712
19713 .PHONY: configure-wdiff maybe-configure-wdiff
19714 maybe-configure-wdiff:
19715 @if wdiff
19716 maybe-configure-wdiff: configure-wdiff
19717 configure-wdiff:
19718         @test ! -f wdiff/Makefile || exit 0; \
19719         [ -d wdiff ] || mkdir wdiff; \
19720         r=`${PWD_COMMAND}`; export r; \
19721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19722         $(HOST_EXPORTS) \
19723         echo Configuring in wdiff; \
19724         cd wdiff || exit 1; \
19725         case $(srcdir) in \
19726           \.) \
19727             srcdiroption="--srcdir=."; \
19728             libsrcdir=".";; \
19729           /* | [A-Za-z]:[\\/]*) \
19730             srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19731             libsrcdir="$$s/wdiff";; \
19732           *) \
19733             srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19734             libsrcdir="$$s/wdiff";; \
19735         esac; \
19736         $(SHELL) $${libsrcdir}/configure \
19737           $(HOST_CONFIGARGS) $${srcdiroption}  \
19738           || exit 1
19739 @endif wdiff
19740
19741 .PHONY: all-wdiff maybe-all-wdiff
19742 maybe-all-wdiff:
19743 @if wdiff
19744 maybe-all-wdiff: all-wdiff
19745 all-wdiff: configure-wdiff
19746         @r=`${PWD_COMMAND}`; export r; \
19747         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19748         $(SET_LIB_PATH) \
19749         $(HOST_EXPORTS) \
19750         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS)  all)
19751 @endif wdiff
19752
19753 .PHONY: check-wdiff maybe-check-wdiff
19754 maybe-check-wdiff:
19755 @if wdiff
19756 maybe-check-wdiff: check-wdiff
19757
19758 check-wdiff:
19759         @r=`${PWD_COMMAND}`; export r; \
19760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19761         $(SET_LIB_PATH) \
19762         $(HOST_EXPORTS) \
19763         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS)  check)
19764
19765 @endif wdiff
19766
19767 .PHONY: install-wdiff maybe-install-wdiff
19768 maybe-install-wdiff:
19769 @if wdiff
19770 maybe-install-wdiff: install-wdiff
19771
19772 install-wdiff: installdirs
19773         @r=`${PWD_COMMAND}`; export r; \
19774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19775         $(SET_LIB_PATH) \
19776         $(HOST_EXPORTS) \
19777         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS)  install)
19778
19779 @endif wdiff
19780
19781 # Other targets (info, dvi, etc.)
19782
19783 .PHONY: maybe-info-wdiff info-wdiff
19784 maybe-info-wdiff:
19785 @if wdiff
19786 maybe-info-wdiff: info-wdiff
19787
19788 info-wdiff: \
19789     configure-wdiff 
19790         @[ -f ./wdiff/Makefile ] || exit 0; \
19791         r=`${PWD_COMMAND}`; export r; \
19792         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19793         $(SET_LIB_PATH) \
19794         $(HOST_EXPORTS) \
19795         for flag in $(EXTRA_HOST_FLAGS) ; do \
19796           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19797         done; \
19798         echo "Doing info in wdiff" ; \
19799         (cd wdiff && \
19800           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19801                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19802                   "RANLIB=$${RANLIB}" \
19803                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19804                   info) \
19805           || exit 1
19806
19807 @endif wdiff
19808
19809 .PHONY: maybe-dvi-wdiff dvi-wdiff
19810 maybe-dvi-wdiff:
19811 @if wdiff
19812 maybe-dvi-wdiff: dvi-wdiff
19813
19814 dvi-wdiff: \
19815     configure-wdiff 
19816         @[ -f ./wdiff/Makefile ] || exit 0; \
19817         r=`${PWD_COMMAND}`; export r; \
19818         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19819         $(SET_LIB_PATH) \
19820         $(HOST_EXPORTS) \
19821         for flag in $(EXTRA_HOST_FLAGS) ; do \
19822           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19823         done; \
19824         echo "Doing dvi in wdiff" ; \
19825         (cd wdiff && \
19826           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19827                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19828                   "RANLIB=$${RANLIB}" \
19829                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19830                   dvi) \
19831           || exit 1
19832
19833 @endif wdiff
19834
19835 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19836 maybe-TAGS-wdiff:
19837 @if wdiff
19838 maybe-TAGS-wdiff: TAGS-wdiff
19839
19840 TAGS-wdiff: \
19841     configure-wdiff 
19842         @[ -f ./wdiff/Makefile ] || exit 0; \
19843         r=`${PWD_COMMAND}`; export r; \
19844         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19845         $(SET_LIB_PATH) \
19846         $(HOST_EXPORTS) \
19847         for flag in $(EXTRA_HOST_FLAGS) ; do \
19848           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19849         done; \
19850         echo "Doing TAGS in wdiff" ; \
19851         (cd wdiff && \
19852           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19853                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19854                   "RANLIB=$${RANLIB}" \
19855                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19856                   TAGS) \
19857           || exit 1
19858
19859 @endif wdiff
19860
19861 .PHONY: maybe-install-info-wdiff install-info-wdiff
19862 maybe-install-info-wdiff:
19863 @if wdiff
19864 maybe-install-info-wdiff: install-info-wdiff
19865
19866 install-info-wdiff: \
19867     configure-wdiff \
19868     info-wdiff 
19869         @[ -f ./wdiff/Makefile ] || exit 0; \
19870         r=`${PWD_COMMAND}`; export r; \
19871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19872         $(SET_LIB_PATH) \
19873         $(HOST_EXPORTS) \
19874         for flag in $(EXTRA_HOST_FLAGS) ; do \
19875           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19876         done; \
19877         echo "Doing install-info in wdiff" ; \
19878         (cd wdiff && \
19879           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19880                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19881                   "RANLIB=$${RANLIB}" \
19882                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19883                   install-info) \
19884           || exit 1
19885
19886 @endif wdiff
19887
19888 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19889 maybe-installcheck-wdiff:
19890 @if wdiff
19891 maybe-installcheck-wdiff: installcheck-wdiff
19892
19893 installcheck-wdiff: \
19894     configure-wdiff 
19895         @[ -f ./wdiff/Makefile ] || exit 0; \
19896         r=`${PWD_COMMAND}`; export r; \
19897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19898         $(SET_LIB_PATH) \
19899         $(HOST_EXPORTS) \
19900         for flag in $(EXTRA_HOST_FLAGS) ; do \
19901           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19902         done; \
19903         echo "Doing installcheck in wdiff" ; \
19904         (cd wdiff && \
19905           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19906                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19907                   "RANLIB=$${RANLIB}" \
19908                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19909                   installcheck) \
19910           || exit 1
19911
19912 @endif wdiff
19913
19914 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19915 maybe-mostlyclean-wdiff:
19916 @if wdiff
19917 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19918
19919 mostlyclean-wdiff: 
19920         @[ -f ./wdiff/Makefile ] || exit 0; \
19921         r=`${PWD_COMMAND}`; export r; \
19922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19923         $(SET_LIB_PATH) \
19924         $(HOST_EXPORTS) \
19925         for flag in $(EXTRA_HOST_FLAGS) ; do \
19926           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19927         done; \
19928         echo "Doing mostlyclean in wdiff" ; \
19929         (cd wdiff && \
19930           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19931                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19932                   "RANLIB=$${RANLIB}" \
19933                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19934                   mostlyclean) \
19935           || exit 1
19936
19937 @endif wdiff
19938
19939 .PHONY: maybe-clean-wdiff clean-wdiff
19940 maybe-clean-wdiff:
19941 @if wdiff
19942 maybe-clean-wdiff: clean-wdiff
19943
19944 clean-wdiff: 
19945         @[ -f ./wdiff/Makefile ] || exit 0; \
19946         r=`${PWD_COMMAND}`; export r; \
19947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19948         $(SET_LIB_PATH) \
19949         $(HOST_EXPORTS) \
19950         for flag in $(EXTRA_HOST_FLAGS) ; do \
19951           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19952         done; \
19953         echo "Doing clean in wdiff" ; \
19954         (cd wdiff && \
19955           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19956                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19957                   "RANLIB=$${RANLIB}" \
19958                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19959                   clean) \
19960           || exit 1
19961
19962 @endif wdiff
19963
19964 .PHONY: maybe-distclean-wdiff distclean-wdiff
19965 maybe-distclean-wdiff:
19966 @if wdiff
19967 maybe-distclean-wdiff: distclean-wdiff
19968
19969 distclean-wdiff: 
19970         @[ -f ./wdiff/Makefile ] || exit 0; \
19971         r=`${PWD_COMMAND}`; export r; \
19972         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19973         $(SET_LIB_PATH) \
19974         $(HOST_EXPORTS) \
19975         for flag in $(EXTRA_HOST_FLAGS) ; do \
19976           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19977         done; \
19978         echo "Doing distclean in wdiff" ; \
19979         (cd wdiff && \
19980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19982                   "RANLIB=$${RANLIB}" \
19983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19984                   distclean) \
19985           || exit 1
19986
19987 @endif wdiff
19988
19989 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19990 maybe-maintainer-clean-wdiff:
19991 @if wdiff
19992 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19993
19994 maintainer-clean-wdiff: 
19995         @[ -f ./wdiff/Makefile ] || exit 0; \
19996         r=`${PWD_COMMAND}`; export r; \
19997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19998         $(SET_LIB_PATH) \
19999         $(HOST_EXPORTS) \
20000         for flag in $(EXTRA_HOST_FLAGS) ; do \
20001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20002         done; \
20003         echo "Doing maintainer-clean in wdiff" ; \
20004         (cd wdiff && \
20005           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20006                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20007                   "RANLIB=$${RANLIB}" \
20008                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20009                   maintainer-clean) \
20010           || exit 1
20011
20012 @endif wdiff
20013
20014
20015 .PHONY: configure-zip maybe-configure-zip
20016 maybe-configure-zip:
20017 @if zip
20018 maybe-configure-zip: configure-zip
20019 configure-zip:
20020         @test ! -f zip/Makefile || exit 0; \
20021         [ -d zip ] || mkdir zip; \
20022         r=`${PWD_COMMAND}`; export r; \
20023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20024         $(HOST_EXPORTS) \
20025         echo Configuring in zip; \
20026         cd zip || exit 1; \
20027         case $(srcdir) in \
20028           \.) \
20029             srcdiroption="--srcdir=."; \
20030             libsrcdir=".";; \
20031           /* | [A-Za-z]:[\\/]*) \
20032             srcdiroption="--srcdir=$(srcdir)/zip"; \
20033             libsrcdir="$$s/zip";; \
20034           *) \
20035             srcdiroption="--srcdir=../$(srcdir)/zip"; \
20036             libsrcdir="$$s/zip";; \
20037         esac; \
20038         $(SHELL) $${libsrcdir}/configure \
20039           $(HOST_CONFIGARGS) $${srcdiroption}  \
20040           || exit 1
20041 @endif zip
20042
20043 .PHONY: all-zip maybe-all-zip
20044 maybe-all-zip:
20045 @if zip
20046 maybe-all-zip: all-zip
20047 all-zip: configure-zip
20048         @r=`${PWD_COMMAND}`; export r; \
20049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20050         $(SET_LIB_PATH) \
20051         $(HOST_EXPORTS) \
20052         (cd zip && $(MAKE) $(FLAGS_TO_PASS)  all)
20053 @endif zip
20054
20055 .PHONY: check-zip maybe-check-zip
20056 maybe-check-zip:
20057 @if zip
20058 maybe-check-zip: check-zip
20059
20060 # This module is only tested in a native toolchain.
20061 check-zip:
20062         @if [ '$(host)' = '$(target)' ] ; then \
20063           r=`${PWD_COMMAND}`; export r; \
20064           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065           $(SET_LIB_PATH) \
20066           $(HOST_EXPORTS) \
20067           (cd zip && $(MAKE) $(FLAGS_TO_PASS)  check); \
20068         fi
20069
20070 @endif zip
20071
20072 .PHONY: install-zip maybe-install-zip
20073 maybe-install-zip:
20074 @if zip
20075 maybe-install-zip: install-zip
20076
20077 install-zip: installdirs
20078         @r=`${PWD_COMMAND}`; export r; \
20079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20080         $(SET_LIB_PATH) \
20081         $(HOST_EXPORTS) \
20082         (cd zip && $(MAKE) $(FLAGS_TO_PASS)  install)
20083
20084 @endif zip
20085
20086 # Other targets (info, dvi, etc.)
20087
20088 .PHONY: maybe-info-zip info-zip
20089 maybe-info-zip:
20090 @if zip
20091 maybe-info-zip: info-zip
20092
20093 info-zip: \
20094     configure-zip 
20095         @[ -f ./zip/Makefile ] || exit 0; \
20096         r=`${PWD_COMMAND}`; export r; \
20097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20098         $(SET_LIB_PATH) \
20099         $(HOST_EXPORTS) \
20100         for flag in $(EXTRA_HOST_FLAGS) ; do \
20101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20102         done; \
20103         echo "Doing info in zip" ; \
20104         (cd zip && \
20105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20107                   "RANLIB=$${RANLIB}" \
20108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20109                   info) \
20110           || exit 1
20111
20112 @endif zip
20113
20114 .PHONY: maybe-dvi-zip dvi-zip
20115 maybe-dvi-zip:
20116 @if zip
20117 maybe-dvi-zip: dvi-zip
20118
20119 dvi-zip: \
20120     configure-zip 
20121         @[ -f ./zip/Makefile ] || exit 0; \
20122         r=`${PWD_COMMAND}`; export r; \
20123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20124         $(SET_LIB_PATH) \
20125         $(HOST_EXPORTS) \
20126         for flag in $(EXTRA_HOST_FLAGS) ; do \
20127           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20128         done; \
20129         echo "Doing dvi in zip" ; \
20130         (cd zip && \
20131           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20132                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20133                   "RANLIB=$${RANLIB}" \
20134                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20135                   dvi) \
20136           || exit 1
20137
20138 @endif zip
20139
20140 .PHONY: maybe-TAGS-zip TAGS-zip
20141 maybe-TAGS-zip:
20142 @if zip
20143 maybe-TAGS-zip: TAGS-zip
20144
20145 TAGS-zip: \
20146     configure-zip 
20147         @[ -f ./zip/Makefile ] || exit 0; \
20148         r=`${PWD_COMMAND}`; export r; \
20149         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150         $(SET_LIB_PATH) \
20151         $(HOST_EXPORTS) \
20152         for flag in $(EXTRA_HOST_FLAGS) ; do \
20153           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20154         done; \
20155         echo "Doing TAGS in zip" ; \
20156         (cd zip && \
20157           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20158                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20159                   "RANLIB=$${RANLIB}" \
20160                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20161                   TAGS) \
20162           || exit 1
20163
20164 @endif zip
20165
20166 .PHONY: maybe-install-info-zip install-info-zip
20167 maybe-install-info-zip:
20168 @if zip
20169 maybe-install-info-zip: install-info-zip
20170
20171 install-info-zip: \
20172     configure-zip \
20173     info-zip 
20174         @[ -f ./zip/Makefile ] || exit 0; \
20175         r=`${PWD_COMMAND}`; export r; \
20176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20177         $(SET_LIB_PATH) \
20178         $(HOST_EXPORTS) \
20179         for flag in $(EXTRA_HOST_FLAGS) ; do \
20180           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20181         done; \
20182         echo "Doing install-info in zip" ; \
20183         (cd zip && \
20184           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20185                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20186                   "RANLIB=$${RANLIB}" \
20187                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20188                   install-info) \
20189           || exit 1
20190
20191 @endif zip
20192
20193 .PHONY: maybe-installcheck-zip installcheck-zip
20194 maybe-installcheck-zip:
20195 @if zip
20196 maybe-installcheck-zip: installcheck-zip
20197
20198 installcheck-zip: \
20199     configure-zip 
20200         @[ -f ./zip/Makefile ] || exit 0; \
20201         r=`${PWD_COMMAND}`; export r; \
20202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20203         $(SET_LIB_PATH) \
20204         $(HOST_EXPORTS) \
20205         for flag in $(EXTRA_HOST_FLAGS) ; do \
20206           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20207         done; \
20208         echo "Doing installcheck in zip" ; \
20209         (cd zip && \
20210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20212                   "RANLIB=$${RANLIB}" \
20213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20214                   installcheck) \
20215           || exit 1
20216
20217 @endif zip
20218
20219 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20220 maybe-mostlyclean-zip:
20221 @if zip
20222 maybe-mostlyclean-zip: mostlyclean-zip
20223
20224 mostlyclean-zip: 
20225         @[ -f ./zip/Makefile ] || exit 0; \
20226         r=`${PWD_COMMAND}`; export r; \
20227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20228         $(SET_LIB_PATH) \
20229         $(HOST_EXPORTS) \
20230         for flag in $(EXTRA_HOST_FLAGS) ; do \
20231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20232         done; \
20233         echo "Doing mostlyclean in zip" ; \
20234         (cd zip && \
20235           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20236                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20237                   "RANLIB=$${RANLIB}" \
20238                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20239                   mostlyclean) \
20240           || exit 1
20241
20242 @endif zip
20243
20244 .PHONY: maybe-clean-zip clean-zip
20245 maybe-clean-zip:
20246 @if zip
20247 maybe-clean-zip: clean-zip
20248
20249 clean-zip: 
20250         @[ -f ./zip/Makefile ] || exit 0; \
20251         r=`${PWD_COMMAND}`; export r; \
20252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253         $(SET_LIB_PATH) \
20254         $(HOST_EXPORTS) \
20255         for flag in $(EXTRA_HOST_FLAGS) ; do \
20256           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20257         done; \
20258         echo "Doing clean in zip" ; \
20259         (cd zip && \
20260           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20261                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20262                   "RANLIB=$${RANLIB}" \
20263                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20264                   clean) \
20265           || exit 1
20266
20267 @endif zip
20268
20269 .PHONY: maybe-distclean-zip distclean-zip
20270 maybe-distclean-zip:
20271 @if zip
20272 maybe-distclean-zip: distclean-zip
20273
20274 distclean-zip: 
20275         @[ -f ./zip/Makefile ] || exit 0; \
20276         r=`${PWD_COMMAND}`; export r; \
20277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20278         $(SET_LIB_PATH) \
20279         $(HOST_EXPORTS) \
20280         for flag in $(EXTRA_HOST_FLAGS) ; do \
20281           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20282         done; \
20283         echo "Doing distclean in zip" ; \
20284         (cd zip && \
20285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20287                   "RANLIB=$${RANLIB}" \
20288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20289                   distclean) \
20290           || exit 1
20291
20292 @endif zip
20293
20294 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20295 maybe-maintainer-clean-zip:
20296 @if zip
20297 maybe-maintainer-clean-zip: maintainer-clean-zip
20298
20299 maintainer-clean-zip: 
20300         @[ -f ./zip/Makefile ] || exit 0; \
20301         r=`${PWD_COMMAND}`; export r; \
20302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20303         $(SET_LIB_PATH) \
20304         $(HOST_EXPORTS) \
20305         for flag in $(EXTRA_HOST_FLAGS) ; do \
20306           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20307         done; \
20308         echo "Doing maintainer-clean in zip" ; \
20309         (cd zip && \
20310           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20311                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20312                   "RANLIB=$${RANLIB}" \
20313                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20314                   maintainer-clean) \
20315           || exit 1
20316
20317 @endif zip
20318
20319
20320 .PHONY: configure-zlib maybe-configure-zlib
20321 maybe-configure-zlib:
20322 @if zlib
20323 maybe-configure-zlib: configure-zlib
20324 configure-zlib:
20325         @test ! -f zlib/Makefile || exit 0; \
20326         [ -d zlib ] || mkdir zlib; \
20327         r=`${PWD_COMMAND}`; export r; \
20328         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20329         $(HOST_EXPORTS) \
20330         echo Configuring in zlib; \
20331         cd zlib || exit 1; \
20332         case $(srcdir) in \
20333           \.) \
20334             srcdiroption="--srcdir=."; \
20335             libsrcdir=".";; \
20336           /* | [A-Za-z]:[\\/]*) \
20337             srcdiroption="--srcdir=$(srcdir)/zlib"; \
20338             libsrcdir="$$s/zlib";; \
20339           *) \
20340             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20341             libsrcdir="$$s/zlib";; \
20342         esac; \
20343         $(SHELL) $${libsrcdir}/configure \
20344           $(HOST_CONFIGARGS) $${srcdiroption}  \
20345           || exit 1
20346 @endif zlib
20347
20348 .PHONY: all-zlib maybe-all-zlib
20349 maybe-all-zlib:
20350 @if zlib
20351 maybe-all-zlib: all-zlib
20352 all-zlib: configure-zlib
20353         @r=`${PWD_COMMAND}`; export r; \
20354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20355         $(SET_LIB_PATH) \
20356         $(HOST_EXPORTS) \
20357         (cd zlib && $(MAKE) $(FLAGS_TO_PASS)  all)
20358 @endif zlib
20359
20360 .PHONY: check-zlib maybe-check-zlib
20361 maybe-check-zlib:
20362 @if zlib
20363 maybe-check-zlib: check-zlib
20364
20365 check-zlib:
20366
20367 @endif zlib
20368
20369 .PHONY: install-zlib maybe-install-zlib
20370 maybe-install-zlib:
20371 @if zlib
20372 maybe-install-zlib: install-zlib
20373
20374 install-zlib:
20375
20376 @endif zlib
20377
20378 # Other targets (info, dvi, etc.)
20379
20380 .PHONY: maybe-info-zlib info-zlib
20381 maybe-info-zlib:
20382 @if zlib
20383 maybe-info-zlib: info-zlib
20384
20385 info-zlib: \
20386     configure-zlib 
20387         @[ -f ./zlib/Makefile ] || exit 0; \
20388         r=`${PWD_COMMAND}`; export r; \
20389         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20390         $(SET_LIB_PATH) \
20391         $(HOST_EXPORTS) \
20392         for flag in $(EXTRA_HOST_FLAGS) ; do \
20393           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20394         done; \
20395         echo "Doing info in zlib" ; \
20396         (cd zlib && \
20397           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20398                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20399                   "RANLIB=$${RANLIB}" \
20400                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20401                   info) \
20402           || exit 1
20403
20404 @endif zlib
20405
20406 .PHONY: maybe-dvi-zlib dvi-zlib
20407 maybe-dvi-zlib:
20408 @if zlib
20409 maybe-dvi-zlib: dvi-zlib
20410
20411 dvi-zlib: \
20412     configure-zlib 
20413         @[ -f ./zlib/Makefile ] || exit 0; \
20414         r=`${PWD_COMMAND}`; export r; \
20415         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416         $(SET_LIB_PATH) \
20417         $(HOST_EXPORTS) \
20418         for flag in $(EXTRA_HOST_FLAGS) ; do \
20419           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20420         done; \
20421         echo "Doing dvi in zlib" ; \
20422         (cd zlib && \
20423           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20424                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20425                   "RANLIB=$${RANLIB}" \
20426                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20427                   dvi) \
20428           || exit 1
20429
20430 @endif zlib
20431
20432 .PHONY: maybe-TAGS-zlib TAGS-zlib
20433 maybe-TAGS-zlib:
20434 @if zlib
20435 maybe-TAGS-zlib: TAGS-zlib
20436
20437 TAGS-zlib: \
20438     configure-zlib 
20439         @[ -f ./zlib/Makefile ] || exit 0; \
20440         r=`${PWD_COMMAND}`; export r; \
20441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20442         $(SET_LIB_PATH) \
20443         $(HOST_EXPORTS) \
20444         for flag in $(EXTRA_HOST_FLAGS) ; do \
20445           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20446         done; \
20447         echo "Doing TAGS in zlib" ; \
20448         (cd zlib && \
20449           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20450                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20451                   "RANLIB=$${RANLIB}" \
20452                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20453                   TAGS) \
20454           || exit 1
20455
20456 @endif zlib
20457
20458 .PHONY: maybe-install-info-zlib install-info-zlib
20459 maybe-install-info-zlib:
20460 @if zlib
20461 maybe-install-info-zlib: install-info-zlib
20462
20463 install-info-zlib: \
20464     configure-zlib \
20465     info-zlib 
20466         @[ -f ./zlib/Makefile ] || exit 0; \
20467         r=`${PWD_COMMAND}`; export r; \
20468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20469         $(SET_LIB_PATH) \
20470         $(HOST_EXPORTS) \
20471         for flag in $(EXTRA_HOST_FLAGS) ; do \
20472           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20473         done; \
20474         echo "Doing install-info in zlib" ; \
20475         (cd zlib && \
20476           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20477                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20478                   "RANLIB=$${RANLIB}" \
20479                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20480                   install-info) \
20481           || exit 1
20482
20483 @endif zlib
20484
20485 .PHONY: maybe-installcheck-zlib installcheck-zlib
20486 maybe-installcheck-zlib:
20487 @if zlib
20488 maybe-installcheck-zlib: installcheck-zlib
20489
20490 installcheck-zlib: \
20491     configure-zlib 
20492         @[ -f ./zlib/Makefile ] || exit 0; \
20493         r=`${PWD_COMMAND}`; export r; \
20494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495         $(SET_LIB_PATH) \
20496         $(HOST_EXPORTS) \
20497         for flag in $(EXTRA_HOST_FLAGS) ; do \
20498           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20499         done; \
20500         echo "Doing installcheck in zlib" ; \
20501         (cd zlib && \
20502           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20503                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20504                   "RANLIB=$${RANLIB}" \
20505                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20506                   installcheck) \
20507           || exit 1
20508
20509 @endif zlib
20510
20511 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20512 maybe-mostlyclean-zlib:
20513 @if zlib
20514 maybe-mostlyclean-zlib: mostlyclean-zlib
20515
20516 mostlyclean-zlib: 
20517         @[ -f ./zlib/Makefile ] || exit 0; \
20518         r=`${PWD_COMMAND}`; export r; \
20519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520         $(SET_LIB_PATH) \
20521         $(HOST_EXPORTS) \
20522         for flag in $(EXTRA_HOST_FLAGS) ; do \
20523           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20524         done; \
20525         echo "Doing mostlyclean in zlib" ; \
20526         (cd zlib && \
20527           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20528                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20529                   "RANLIB=$${RANLIB}" \
20530                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20531                   mostlyclean) \
20532           || exit 1
20533
20534 @endif zlib
20535
20536 .PHONY: maybe-clean-zlib clean-zlib
20537 maybe-clean-zlib:
20538 @if zlib
20539 maybe-clean-zlib: clean-zlib
20540
20541 clean-zlib: 
20542         @[ -f ./zlib/Makefile ] || exit 0; \
20543         r=`${PWD_COMMAND}`; export r; \
20544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545         $(SET_LIB_PATH) \
20546         $(HOST_EXPORTS) \
20547         for flag in $(EXTRA_HOST_FLAGS) ; do \
20548           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20549         done; \
20550         echo "Doing clean in zlib" ; \
20551         (cd zlib && \
20552           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20553                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20554                   "RANLIB=$${RANLIB}" \
20555                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20556                   clean) \
20557           || exit 1
20558
20559 @endif zlib
20560
20561 .PHONY: maybe-distclean-zlib distclean-zlib
20562 maybe-distclean-zlib:
20563 @if zlib
20564 maybe-distclean-zlib: distclean-zlib
20565
20566 distclean-zlib: 
20567         @[ -f ./zlib/Makefile ] || exit 0; \
20568         r=`${PWD_COMMAND}`; export r; \
20569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20570         $(SET_LIB_PATH) \
20571         $(HOST_EXPORTS) \
20572         for flag in $(EXTRA_HOST_FLAGS) ; do \
20573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20574         done; \
20575         echo "Doing distclean in zlib" ; \
20576         (cd zlib && \
20577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20579                   "RANLIB=$${RANLIB}" \
20580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20581                   distclean) \
20582           || exit 1
20583
20584 @endif zlib
20585
20586 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20587 maybe-maintainer-clean-zlib:
20588 @if zlib
20589 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20590
20591 maintainer-clean-zlib: 
20592         @[ -f ./zlib/Makefile ] || exit 0; \
20593         r=`${PWD_COMMAND}`; export r; \
20594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20595         $(SET_LIB_PATH) \
20596         $(HOST_EXPORTS) \
20597         for flag in $(EXTRA_HOST_FLAGS) ; do \
20598           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20599         done; \
20600         echo "Doing maintainer-clean in zlib" ; \
20601         (cd zlib && \
20602           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20603                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20604                   "RANLIB=$${RANLIB}" \
20605                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20606                   maintainer-clean) \
20607           || exit 1
20608
20609 @endif zlib
20610
20611
20612 .PHONY: configure-gdb maybe-configure-gdb
20613 maybe-configure-gdb:
20614 @if gdb
20615 maybe-configure-gdb: configure-gdb
20616 configure-gdb:
20617         @test ! -f gdb/Makefile || exit 0; \
20618         [ -d gdb ] || mkdir gdb; \
20619         r=`${PWD_COMMAND}`; export r; \
20620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20621         $(HOST_EXPORTS) \
20622         echo Configuring in gdb; \
20623         cd gdb || exit 1; \
20624         case $(srcdir) in \
20625           \.) \
20626             srcdiroption="--srcdir=."; \
20627             libsrcdir=".";; \
20628           /* | [A-Za-z]:[\\/]*) \
20629             srcdiroption="--srcdir=$(srcdir)/gdb"; \
20630             libsrcdir="$$s/gdb";; \
20631           *) \
20632             srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20633             libsrcdir="$$s/gdb";; \
20634         esac; \
20635         $(SHELL) $${libsrcdir}/configure \
20636           $(HOST_CONFIGARGS) $${srcdiroption}  \
20637           || exit 1
20638 @endif gdb
20639
20640 .PHONY: all-gdb maybe-all-gdb
20641 maybe-all-gdb:
20642 @if gdb
20643 maybe-all-gdb: all-gdb
20644 all-gdb: configure-gdb
20645         @r=`${PWD_COMMAND}`; export r; \
20646         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20647         $(SET_LIB_PATH) \
20648         $(HOST_EXPORTS) \
20649         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  all)
20650 @endif gdb
20651
20652 .PHONY: check-gdb maybe-check-gdb
20653 maybe-check-gdb:
20654 @if gdb
20655 maybe-check-gdb: check-gdb
20656
20657 check-gdb:
20658         @r=`${PWD_COMMAND}`; export r; \
20659         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20660         $(SET_LIB_PATH) \
20661         $(HOST_EXPORTS) \
20662         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  check)
20663
20664 @endif gdb
20665
20666 .PHONY: install-gdb maybe-install-gdb
20667 maybe-install-gdb:
20668 @if gdb
20669 maybe-install-gdb: install-gdb
20670
20671 install-gdb: installdirs
20672         @r=`${PWD_COMMAND}`; export r; \
20673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20674         $(SET_LIB_PATH) \
20675         $(HOST_EXPORTS) \
20676         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  install)
20677
20678 @endif gdb
20679
20680 # Other targets (info, dvi, etc.)
20681
20682 .PHONY: maybe-info-gdb info-gdb
20683 maybe-info-gdb:
20684 @if gdb
20685 maybe-info-gdb: info-gdb
20686
20687 info-gdb: \
20688     configure-gdb 
20689         @[ -f ./gdb/Makefile ] || exit 0; \
20690         r=`${PWD_COMMAND}`; export r; \
20691         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20692         $(SET_LIB_PATH) \
20693         $(HOST_EXPORTS) \
20694         for flag in $(EXTRA_HOST_FLAGS) ; do \
20695           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20696         done; \
20697         echo "Doing info in gdb" ; \
20698         (cd gdb && \
20699           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20700                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20701                   "RANLIB=$${RANLIB}" \
20702                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20703                   info) \
20704           || exit 1
20705
20706 @endif gdb
20707
20708 .PHONY: maybe-dvi-gdb dvi-gdb
20709 maybe-dvi-gdb:
20710 @if gdb
20711 maybe-dvi-gdb: dvi-gdb
20712
20713 dvi-gdb: \
20714     configure-gdb 
20715         @[ -f ./gdb/Makefile ] || exit 0; \
20716         r=`${PWD_COMMAND}`; export r; \
20717         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20718         $(SET_LIB_PATH) \
20719         $(HOST_EXPORTS) \
20720         for flag in $(EXTRA_HOST_FLAGS) ; do \
20721           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20722         done; \
20723         echo "Doing dvi in gdb" ; \
20724         (cd gdb && \
20725           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20726                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20727                   "RANLIB=$${RANLIB}" \
20728                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20729                   dvi) \
20730           || exit 1
20731
20732 @endif gdb
20733
20734 .PHONY: maybe-TAGS-gdb TAGS-gdb
20735 maybe-TAGS-gdb:
20736 @if gdb
20737 maybe-TAGS-gdb: TAGS-gdb
20738
20739 TAGS-gdb: \
20740     configure-gdb 
20741         @[ -f ./gdb/Makefile ] || exit 0; \
20742         r=`${PWD_COMMAND}`; export r; \
20743         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20744         $(SET_LIB_PATH) \
20745         $(HOST_EXPORTS) \
20746         for flag in $(EXTRA_HOST_FLAGS) ; do \
20747           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20748         done; \
20749         echo "Doing TAGS in gdb" ; \
20750         (cd gdb && \
20751           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20752                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20753                   "RANLIB=$${RANLIB}" \
20754                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20755                   TAGS) \
20756           || exit 1
20757
20758 @endif gdb
20759
20760 .PHONY: maybe-install-info-gdb install-info-gdb
20761 maybe-install-info-gdb:
20762 @if gdb
20763 maybe-install-info-gdb: install-info-gdb
20764
20765 install-info-gdb: \
20766     configure-gdb \
20767     info-gdb 
20768         @[ -f ./gdb/Makefile ] || exit 0; \
20769         r=`${PWD_COMMAND}`; export r; \
20770         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20771         $(SET_LIB_PATH) \
20772         $(HOST_EXPORTS) \
20773         for flag in $(EXTRA_HOST_FLAGS) ; do \
20774           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20775         done; \
20776         echo "Doing install-info in gdb" ; \
20777         (cd gdb && \
20778           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20779                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20780                   "RANLIB=$${RANLIB}" \
20781                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20782                   install-info) \
20783           || exit 1
20784
20785 @endif gdb
20786
20787 .PHONY: maybe-installcheck-gdb installcheck-gdb
20788 maybe-installcheck-gdb:
20789 @if gdb
20790 maybe-installcheck-gdb: installcheck-gdb
20791
20792 installcheck-gdb: \
20793     configure-gdb 
20794         @[ -f ./gdb/Makefile ] || exit 0; \
20795         r=`${PWD_COMMAND}`; export r; \
20796         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20797         $(SET_LIB_PATH) \
20798         $(HOST_EXPORTS) \
20799         for flag in $(EXTRA_HOST_FLAGS) ; do \
20800           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20801         done; \
20802         echo "Doing installcheck in gdb" ; \
20803         (cd gdb && \
20804           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20805                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20806                   "RANLIB=$${RANLIB}" \
20807                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20808                   installcheck) \
20809           || exit 1
20810
20811 @endif gdb
20812
20813 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20814 maybe-mostlyclean-gdb:
20815 @if gdb
20816 maybe-mostlyclean-gdb: mostlyclean-gdb
20817
20818 mostlyclean-gdb: 
20819         @[ -f ./gdb/Makefile ] || exit 0; \
20820         r=`${PWD_COMMAND}`; export r; \
20821         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20822         $(SET_LIB_PATH) \
20823         $(HOST_EXPORTS) \
20824         for flag in $(EXTRA_HOST_FLAGS) ; do \
20825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20826         done; \
20827         echo "Doing mostlyclean in gdb" ; \
20828         (cd gdb && \
20829           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20830                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20831                   "RANLIB=$${RANLIB}" \
20832                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20833                   mostlyclean) \
20834           || exit 1
20835
20836 @endif gdb
20837
20838 .PHONY: maybe-clean-gdb clean-gdb
20839 maybe-clean-gdb:
20840 @if gdb
20841 maybe-clean-gdb: clean-gdb
20842
20843 clean-gdb: 
20844         @[ -f ./gdb/Makefile ] || exit 0; \
20845         r=`${PWD_COMMAND}`; export r; \
20846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20847         $(SET_LIB_PATH) \
20848         $(HOST_EXPORTS) \
20849         for flag in $(EXTRA_HOST_FLAGS) ; do \
20850           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20851         done; \
20852         echo "Doing clean in gdb" ; \
20853         (cd gdb && \
20854           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20855                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20856                   "RANLIB=$${RANLIB}" \
20857                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20858                   clean) \
20859           || exit 1
20860
20861 @endif gdb
20862
20863 .PHONY: maybe-distclean-gdb distclean-gdb
20864 maybe-distclean-gdb:
20865 @if gdb
20866 maybe-distclean-gdb: distclean-gdb
20867
20868 distclean-gdb: 
20869         @[ -f ./gdb/Makefile ] || exit 0; \
20870         r=`${PWD_COMMAND}`; export r; \
20871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872         $(SET_LIB_PATH) \
20873         $(HOST_EXPORTS) \
20874         for flag in $(EXTRA_HOST_FLAGS) ; do \
20875           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20876         done; \
20877         echo "Doing distclean in gdb" ; \
20878         (cd gdb && \
20879           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20880                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20881                   "RANLIB=$${RANLIB}" \
20882                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20883                   distclean) \
20884           || exit 1
20885
20886 @endif gdb
20887
20888 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20889 maybe-maintainer-clean-gdb:
20890 @if gdb
20891 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20892
20893 maintainer-clean-gdb: 
20894         @[ -f ./gdb/Makefile ] || exit 0; \
20895         r=`${PWD_COMMAND}`; export r; \
20896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20897         $(SET_LIB_PATH) \
20898         $(HOST_EXPORTS) \
20899         for flag in $(EXTRA_HOST_FLAGS) ; do \
20900           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20901         done; \
20902         echo "Doing maintainer-clean in gdb" ; \
20903         (cd gdb && \
20904           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20905                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20906                   "RANLIB=$${RANLIB}" \
20907                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20908                   maintainer-clean) \
20909           || exit 1
20910
20911 @endif gdb
20912
20913
20914 .PHONY: configure-expect maybe-configure-expect
20915 maybe-configure-expect:
20916 @if expect
20917 maybe-configure-expect: configure-expect
20918 configure-expect:
20919         @test ! -f expect/Makefile || exit 0; \
20920         [ -d expect ] || mkdir expect; \
20921         r=`${PWD_COMMAND}`; export r; \
20922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20923         $(HOST_EXPORTS) \
20924         echo Configuring in expect; \
20925         cd expect || exit 1; \
20926         case $(srcdir) in \
20927           \.) \
20928             srcdiroption="--srcdir=."; \
20929             libsrcdir=".";; \
20930           /* | [A-Za-z]:[\\/]*) \
20931             srcdiroption="--srcdir=$(srcdir)/expect"; \
20932             libsrcdir="$$s/expect";; \
20933           *) \
20934             srcdiroption="--srcdir=../$(srcdir)/expect"; \
20935             libsrcdir="$$s/expect";; \
20936         esac; \
20937         $(SHELL) $${libsrcdir}/configure \
20938           $(HOST_CONFIGARGS) $${srcdiroption}  \
20939           || exit 1
20940 @endif expect
20941
20942 .PHONY: all-expect maybe-all-expect
20943 maybe-all-expect:
20944 @if expect
20945 maybe-all-expect: all-expect
20946 all-expect: configure-expect
20947         @r=`${PWD_COMMAND}`; export r; \
20948         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20949         $(SET_LIB_PATH) \
20950         $(HOST_EXPORTS) \
20951         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  all)
20952 @endif expect
20953
20954 .PHONY: check-expect maybe-check-expect
20955 maybe-check-expect:
20956 @if expect
20957 maybe-check-expect: check-expect
20958
20959 check-expect:
20960         @r=`${PWD_COMMAND}`; export r; \
20961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20962         $(SET_LIB_PATH) \
20963         $(HOST_EXPORTS) \
20964         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  check)
20965
20966 @endif expect
20967
20968 .PHONY: install-expect maybe-install-expect
20969 maybe-install-expect:
20970 @if expect
20971 maybe-install-expect: install-expect
20972
20973 install-expect: installdirs
20974         @r=`${PWD_COMMAND}`; export r; \
20975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20976         $(SET_LIB_PATH) \
20977         $(HOST_EXPORTS) \
20978         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  install)
20979
20980 @endif expect
20981
20982 # Other targets (info, dvi, etc.)
20983
20984 .PHONY: maybe-info-expect info-expect
20985 maybe-info-expect:
20986 @if expect
20987 maybe-info-expect: info-expect
20988
20989 info-expect: \
20990     configure-expect 
20991         @[ -f ./expect/Makefile ] || exit 0; \
20992         r=`${PWD_COMMAND}`; export r; \
20993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20994         $(SET_LIB_PATH) \
20995         $(HOST_EXPORTS) \
20996         for flag in $(EXTRA_HOST_FLAGS) ; do \
20997           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20998         done; \
20999         echo "Doing info in expect" ; \
21000         (cd expect && \
21001           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21002                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21003                   "RANLIB=$${RANLIB}" \
21004                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21005                   info) \
21006           || exit 1
21007
21008 @endif expect
21009
21010 .PHONY: maybe-dvi-expect dvi-expect
21011 maybe-dvi-expect:
21012 @if expect
21013 maybe-dvi-expect: dvi-expect
21014
21015 dvi-expect: \
21016     configure-expect 
21017         @[ -f ./expect/Makefile ] || exit 0; \
21018         r=`${PWD_COMMAND}`; export r; \
21019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21020         $(SET_LIB_PATH) \
21021         $(HOST_EXPORTS) \
21022         for flag in $(EXTRA_HOST_FLAGS) ; do \
21023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21024         done; \
21025         echo "Doing dvi in expect" ; \
21026         (cd expect && \
21027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21029                   "RANLIB=$${RANLIB}" \
21030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21031                   dvi) \
21032           || exit 1
21033
21034 @endif expect
21035
21036 .PHONY: maybe-TAGS-expect TAGS-expect
21037 maybe-TAGS-expect:
21038 @if expect
21039 maybe-TAGS-expect: TAGS-expect
21040
21041 TAGS-expect: \
21042     configure-expect 
21043         @[ -f ./expect/Makefile ] || exit 0; \
21044         r=`${PWD_COMMAND}`; export r; \
21045         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21046         $(SET_LIB_PATH) \
21047         $(HOST_EXPORTS) \
21048         for flag in $(EXTRA_HOST_FLAGS) ; do \
21049           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21050         done; \
21051         echo "Doing TAGS in expect" ; \
21052         (cd expect && \
21053           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21054                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21055                   "RANLIB=$${RANLIB}" \
21056                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21057                   TAGS) \
21058           || exit 1
21059
21060 @endif expect
21061
21062 .PHONY: maybe-install-info-expect install-info-expect
21063 maybe-install-info-expect:
21064 @if expect
21065 maybe-install-info-expect: install-info-expect
21066
21067 install-info-expect: \
21068     configure-expect \
21069     info-expect 
21070         @[ -f ./expect/Makefile ] || exit 0; \
21071         r=`${PWD_COMMAND}`; export r; \
21072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21073         $(SET_LIB_PATH) \
21074         $(HOST_EXPORTS) \
21075         for flag in $(EXTRA_HOST_FLAGS) ; do \
21076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21077         done; \
21078         echo "Doing install-info in expect" ; \
21079         (cd expect && \
21080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21082                   "RANLIB=$${RANLIB}" \
21083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21084                   install-info) \
21085           || exit 1
21086
21087 @endif expect
21088
21089 .PHONY: maybe-installcheck-expect installcheck-expect
21090 maybe-installcheck-expect:
21091 @if expect
21092 maybe-installcheck-expect: installcheck-expect
21093
21094 installcheck-expect: \
21095     configure-expect 
21096         @[ -f ./expect/Makefile ] || exit 0; \
21097         r=`${PWD_COMMAND}`; export r; \
21098         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21099         $(SET_LIB_PATH) \
21100         $(HOST_EXPORTS) \
21101         for flag in $(EXTRA_HOST_FLAGS) ; do \
21102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21103         done; \
21104         echo "Doing installcheck in expect" ; \
21105         (cd expect && \
21106           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21107                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21108                   "RANLIB=$${RANLIB}" \
21109                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21110                   installcheck) \
21111           || exit 1
21112
21113 @endif expect
21114
21115 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21116 maybe-mostlyclean-expect:
21117 @if expect
21118 maybe-mostlyclean-expect: mostlyclean-expect
21119
21120 mostlyclean-expect: 
21121         @[ -f ./expect/Makefile ] || exit 0; \
21122         r=`${PWD_COMMAND}`; export r; \
21123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21124         $(SET_LIB_PATH) \
21125         $(HOST_EXPORTS) \
21126         for flag in $(EXTRA_HOST_FLAGS) ; do \
21127           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21128         done; \
21129         echo "Doing mostlyclean in expect" ; \
21130         (cd expect && \
21131           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21132                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21133                   "RANLIB=$${RANLIB}" \
21134                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21135                   mostlyclean) \
21136           || exit 1
21137
21138 @endif expect
21139
21140 .PHONY: maybe-clean-expect clean-expect
21141 maybe-clean-expect:
21142 @if expect
21143 maybe-clean-expect: clean-expect
21144
21145 clean-expect: 
21146         @[ -f ./expect/Makefile ] || exit 0; \
21147         r=`${PWD_COMMAND}`; export r; \
21148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21149         $(SET_LIB_PATH) \
21150         $(HOST_EXPORTS) \
21151         for flag in $(EXTRA_HOST_FLAGS) ; do \
21152           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21153         done; \
21154         echo "Doing clean in expect" ; \
21155         (cd expect && \
21156           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21157                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21158                   "RANLIB=$${RANLIB}" \
21159                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21160                   clean) \
21161           || exit 1
21162
21163 @endif expect
21164
21165 .PHONY: maybe-distclean-expect distclean-expect
21166 maybe-distclean-expect:
21167 @if expect
21168 maybe-distclean-expect: distclean-expect
21169
21170 distclean-expect: 
21171         @[ -f ./expect/Makefile ] || exit 0; \
21172         r=`${PWD_COMMAND}`; export r; \
21173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174         $(SET_LIB_PATH) \
21175         $(HOST_EXPORTS) \
21176         for flag in $(EXTRA_HOST_FLAGS) ; do \
21177           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21178         done; \
21179         echo "Doing distclean in expect" ; \
21180         (cd expect && \
21181           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21182                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21183                   "RANLIB=$${RANLIB}" \
21184                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21185                   distclean) \
21186           || exit 1
21187
21188 @endif expect
21189
21190 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21191 maybe-maintainer-clean-expect:
21192 @if expect
21193 maybe-maintainer-clean-expect: maintainer-clean-expect
21194
21195 maintainer-clean-expect: 
21196         @[ -f ./expect/Makefile ] || exit 0; \
21197         r=`${PWD_COMMAND}`; export r; \
21198         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21199         $(SET_LIB_PATH) \
21200         $(HOST_EXPORTS) \
21201         for flag in $(EXTRA_HOST_FLAGS) ; do \
21202           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21203         done; \
21204         echo "Doing maintainer-clean in expect" ; \
21205         (cd expect && \
21206           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21207                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21208                   "RANLIB=$${RANLIB}" \
21209                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21210                   maintainer-clean) \
21211           || exit 1
21212
21213 @endif expect
21214
21215
21216 .PHONY: configure-guile maybe-configure-guile
21217 maybe-configure-guile:
21218 @if guile
21219 maybe-configure-guile: configure-guile
21220 configure-guile:
21221         @test ! -f guile/Makefile || exit 0; \
21222         [ -d guile ] || mkdir guile; \
21223         r=`${PWD_COMMAND}`; export r; \
21224         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21225         $(HOST_EXPORTS) \
21226         echo Configuring in guile; \
21227         cd guile || exit 1; \
21228         case $(srcdir) in \
21229           \.) \
21230             srcdiroption="--srcdir=."; \
21231             libsrcdir=".";; \
21232           /* | [A-Za-z]:[\\/]*) \
21233             srcdiroption="--srcdir=$(srcdir)/guile"; \
21234             libsrcdir="$$s/guile";; \
21235           *) \
21236             srcdiroption="--srcdir=../$(srcdir)/guile"; \
21237             libsrcdir="$$s/guile";; \
21238         esac; \
21239         $(SHELL) $${libsrcdir}/configure \
21240           $(HOST_CONFIGARGS) $${srcdiroption}  \
21241           || exit 1
21242 @endif guile
21243
21244 .PHONY: all-guile maybe-all-guile
21245 maybe-all-guile:
21246 @if guile
21247 maybe-all-guile: all-guile
21248 all-guile: configure-guile
21249         @r=`${PWD_COMMAND}`; export r; \
21250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21251         $(SET_LIB_PATH) \
21252         $(HOST_EXPORTS) \
21253         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  all)
21254 @endif guile
21255
21256 .PHONY: check-guile maybe-check-guile
21257 maybe-check-guile:
21258 @if guile
21259 maybe-check-guile: check-guile
21260
21261 check-guile:
21262         @r=`${PWD_COMMAND}`; export r; \
21263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264         $(SET_LIB_PATH) \
21265         $(HOST_EXPORTS) \
21266         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  check)
21267
21268 @endif guile
21269
21270 .PHONY: install-guile maybe-install-guile
21271 maybe-install-guile:
21272 @if guile
21273 maybe-install-guile: install-guile
21274
21275 install-guile: installdirs
21276         @r=`${PWD_COMMAND}`; export r; \
21277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21278         $(SET_LIB_PATH) \
21279         $(HOST_EXPORTS) \
21280         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  install)
21281
21282 @endif guile
21283
21284 # Other targets (info, dvi, etc.)
21285
21286 .PHONY: maybe-info-guile info-guile
21287 maybe-info-guile:
21288 @if guile
21289 maybe-info-guile: info-guile
21290
21291 info-guile: \
21292     configure-guile 
21293         @[ -f ./guile/Makefile ] || exit 0; \
21294         r=`${PWD_COMMAND}`; export r; \
21295         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21296         $(SET_LIB_PATH) \
21297         $(HOST_EXPORTS) \
21298         for flag in $(EXTRA_HOST_FLAGS) ; do \
21299           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21300         done; \
21301         echo "Doing info in guile" ; \
21302         (cd guile && \
21303           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21304                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21305                   "RANLIB=$${RANLIB}" \
21306                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21307                   info) \
21308           || exit 1
21309
21310 @endif guile
21311
21312 .PHONY: maybe-dvi-guile dvi-guile
21313 maybe-dvi-guile:
21314 @if guile
21315 maybe-dvi-guile: dvi-guile
21316
21317 dvi-guile: \
21318     configure-guile 
21319         @[ -f ./guile/Makefile ] || exit 0; \
21320         r=`${PWD_COMMAND}`; export r; \
21321         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21322         $(SET_LIB_PATH) \
21323         $(HOST_EXPORTS) \
21324         for flag in $(EXTRA_HOST_FLAGS) ; do \
21325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21326         done; \
21327         echo "Doing dvi in guile" ; \
21328         (cd guile && \
21329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21331                   "RANLIB=$${RANLIB}" \
21332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21333                   dvi) \
21334           || exit 1
21335
21336 @endif guile
21337
21338 .PHONY: maybe-TAGS-guile TAGS-guile
21339 maybe-TAGS-guile:
21340 @if guile
21341 maybe-TAGS-guile: TAGS-guile
21342
21343 TAGS-guile: \
21344     configure-guile 
21345         @[ -f ./guile/Makefile ] || exit 0; \
21346         r=`${PWD_COMMAND}`; export r; \
21347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21348         $(SET_LIB_PATH) \
21349         $(HOST_EXPORTS) \
21350         for flag in $(EXTRA_HOST_FLAGS) ; do \
21351           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21352         done; \
21353         echo "Doing TAGS in guile" ; \
21354         (cd guile && \
21355           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21356                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21357                   "RANLIB=$${RANLIB}" \
21358                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21359                   TAGS) \
21360           || exit 1
21361
21362 @endif guile
21363
21364 .PHONY: maybe-install-info-guile install-info-guile
21365 maybe-install-info-guile:
21366 @if guile
21367 maybe-install-info-guile: install-info-guile
21368
21369 install-info-guile: \
21370     configure-guile \
21371     info-guile 
21372         @[ -f ./guile/Makefile ] || exit 0; \
21373         r=`${PWD_COMMAND}`; export r; \
21374         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21375         $(SET_LIB_PATH) \
21376         $(HOST_EXPORTS) \
21377         for flag in $(EXTRA_HOST_FLAGS) ; do \
21378           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21379         done; \
21380         echo "Doing install-info in guile" ; \
21381         (cd guile && \
21382           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21383                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21384                   "RANLIB=$${RANLIB}" \
21385                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21386                   install-info) \
21387           || exit 1
21388
21389 @endif guile
21390
21391 .PHONY: maybe-installcheck-guile installcheck-guile
21392 maybe-installcheck-guile:
21393 @if guile
21394 maybe-installcheck-guile: installcheck-guile
21395
21396 installcheck-guile: \
21397     configure-guile 
21398         @[ -f ./guile/Makefile ] || exit 0; \
21399         r=`${PWD_COMMAND}`; export r; \
21400         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21401         $(SET_LIB_PATH) \
21402         $(HOST_EXPORTS) \
21403         for flag in $(EXTRA_HOST_FLAGS) ; do \
21404           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21405         done; \
21406         echo "Doing installcheck in guile" ; \
21407         (cd guile && \
21408           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21409                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21410                   "RANLIB=$${RANLIB}" \
21411                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21412                   installcheck) \
21413           || exit 1
21414
21415 @endif guile
21416
21417 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21418 maybe-mostlyclean-guile:
21419 @if guile
21420 maybe-mostlyclean-guile: mostlyclean-guile
21421
21422 mostlyclean-guile: 
21423         @[ -f ./guile/Makefile ] || exit 0; \
21424         r=`${PWD_COMMAND}`; export r; \
21425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21426         $(SET_LIB_PATH) \
21427         $(HOST_EXPORTS) \
21428         for flag in $(EXTRA_HOST_FLAGS) ; do \
21429           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21430         done; \
21431         echo "Doing mostlyclean in guile" ; \
21432         (cd guile && \
21433           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21434                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21435                   "RANLIB=$${RANLIB}" \
21436                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21437                   mostlyclean) \
21438           || exit 1
21439
21440 @endif guile
21441
21442 .PHONY: maybe-clean-guile clean-guile
21443 maybe-clean-guile:
21444 @if guile
21445 maybe-clean-guile: clean-guile
21446
21447 clean-guile: 
21448         @[ -f ./guile/Makefile ] || exit 0; \
21449         r=`${PWD_COMMAND}`; export r; \
21450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21451         $(SET_LIB_PATH) \
21452         $(HOST_EXPORTS) \
21453         for flag in $(EXTRA_HOST_FLAGS) ; do \
21454           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21455         done; \
21456         echo "Doing clean in guile" ; \
21457         (cd guile && \
21458           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21459                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21460                   "RANLIB=$${RANLIB}" \
21461                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21462                   clean) \
21463           || exit 1
21464
21465 @endif guile
21466
21467 .PHONY: maybe-distclean-guile distclean-guile
21468 maybe-distclean-guile:
21469 @if guile
21470 maybe-distclean-guile: distclean-guile
21471
21472 distclean-guile: 
21473         @[ -f ./guile/Makefile ] || exit 0; \
21474         r=`${PWD_COMMAND}`; export r; \
21475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21476         $(SET_LIB_PATH) \
21477         $(HOST_EXPORTS) \
21478         for flag in $(EXTRA_HOST_FLAGS) ; do \
21479           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21480         done; \
21481         echo "Doing distclean in guile" ; \
21482         (cd guile && \
21483           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21484                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21485                   "RANLIB=$${RANLIB}" \
21486                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21487                   distclean) \
21488           || exit 1
21489
21490 @endif guile
21491
21492 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21493 maybe-maintainer-clean-guile:
21494 @if guile
21495 maybe-maintainer-clean-guile: maintainer-clean-guile
21496
21497 maintainer-clean-guile: 
21498         @[ -f ./guile/Makefile ] || exit 0; \
21499         r=`${PWD_COMMAND}`; export r; \
21500         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21501         $(SET_LIB_PATH) \
21502         $(HOST_EXPORTS) \
21503         for flag in $(EXTRA_HOST_FLAGS) ; do \
21504           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21505         done; \
21506         echo "Doing maintainer-clean in guile" ; \
21507         (cd guile && \
21508           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21509                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21510                   "RANLIB=$${RANLIB}" \
21511                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21512                   maintainer-clean) \
21513           || exit 1
21514
21515 @endif guile
21516
21517
21518 .PHONY: configure-tk maybe-configure-tk
21519 maybe-configure-tk:
21520 @if tk
21521 maybe-configure-tk: configure-tk
21522 configure-tk:
21523         @test ! -f tk/Makefile || exit 0; \
21524         [ -d tk ] || mkdir tk; \
21525         r=`${PWD_COMMAND}`; export r; \
21526         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21527         $(HOST_EXPORTS) \
21528         echo Configuring in tk; \
21529         cd tk || exit 1; \
21530         case $(srcdir) in \
21531           \.) \
21532             srcdiroption="--srcdir=."; \
21533             libsrcdir=".";; \
21534           /* | [A-Za-z]:[\\/]*) \
21535             srcdiroption="--srcdir=$(srcdir)/tk"; \
21536             libsrcdir="$$s/tk";; \
21537           *) \
21538             srcdiroption="--srcdir=../$(srcdir)/tk"; \
21539             libsrcdir="$$s/tk";; \
21540         esac; \
21541         $(SHELL) $${libsrcdir}/configure \
21542           $(HOST_CONFIGARGS) $${srcdiroption}  \
21543           || exit 1
21544 @endif tk
21545
21546 .PHONY: all-tk maybe-all-tk
21547 maybe-all-tk:
21548 @if tk
21549 maybe-all-tk: all-tk
21550 all-tk: configure-tk
21551         @r=`${PWD_COMMAND}`; export r; \
21552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21553         $(SET_LIB_PATH) \
21554         $(HOST_EXPORTS) \
21555         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  all)
21556 @endif tk
21557
21558 .PHONY: check-tk maybe-check-tk
21559 maybe-check-tk:
21560 @if tk
21561 maybe-check-tk: check-tk
21562
21563 check-tk:
21564         @r=`${PWD_COMMAND}`; export r; \
21565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566         $(SET_LIB_PATH) \
21567         $(HOST_EXPORTS) \
21568         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  check)
21569
21570 @endif tk
21571
21572 .PHONY: install-tk maybe-install-tk
21573 maybe-install-tk:
21574 @if tk
21575 maybe-install-tk: install-tk
21576
21577 install-tk: installdirs
21578         @r=`${PWD_COMMAND}`; export r; \
21579         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580         $(SET_LIB_PATH) \
21581         $(HOST_EXPORTS) \
21582         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  install)
21583
21584 @endif tk
21585
21586 # Other targets (info, dvi, etc.)
21587
21588 .PHONY: maybe-info-tk info-tk
21589 maybe-info-tk:
21590 @if tk
21591 maybe-info-tk: info-tk
21592
21593 info-tk: \
21594     configure-tk 
21595         @[ -f ./tk/Makefile ] || exit 0; \
21596         r=`${PWD_COMMAND}`; export r; \
21597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21598         $(SET_LIB_PATH) \
21599         $(HOST_EXPORTS) \
21600         for flag in $(EXTRA_HOST_FLAGS) ; do \
21601           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21602         done; \
21603         echo "Doing info in tk" ; \
21604         (cd tk && \
21605           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21606                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21607                   "RANLIB=$${RANLIB}" \
21608                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21609                   info) \
21610           || exit 1
21611
21612 @endif tk
21613
21614 .PHONY: maybe-dvi-tk dvi-tk
21615 maybe-dvi-tk:
21616 @if tk
21617 maybe-dvi-tk: dvi-tk
21618
21619 dvi-tk: \
21620     configure-tk 
21621         @[ -f ./tk/Makefile ] || exit 0; \
21622         r=`${PWD_COMMAND}`; export r; \
21623         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21624         $(SET_LIB_PATH) \
21625         $(HOST_EXPORTS) \
21626         for flag in $(EXTRA_HOST_FLAGS) ; do \
21627           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21628         done; \
21629         echo "Doing dvi in tk" ; \
21630         (cd tk && \
21631           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21632                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21633                   "RANLIB=$${RANLIB}" \
21634                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21635                   dvi) \
21636           || exit 1
21637
21638 @endif tk
21639
21640 .PHONY: maybe-TAGS-tk TAGS-tk
21641 maybe-TAGS-tk:
21642 @if tk
21643 maybe-TAGS-tk: TAGS-tk
21644
21645 TAGS-tk: \
21646     configure-tk 
21647         @[ -f ./tk/Makefile ] || exit 0; \
21648         r=`${PWD_COMMAND}`; export r; \
21649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21650         $(SET_LIB_PATH) \
21651         $(HOST_EXPORTS) \
21652         for flag in $(EXTRA_HOST_FLAGS) ; do \
21653           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21654         done; \
21655         echo "Doing TAGS in tk" ; \
21656         (cd tk && \
21657           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21658                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21659                   "RANLIB=$${RANLIB}" \
21660                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21661                   TAGS) \
21662           || exit 1
21663
21664 @endif tk
21665
21666 .PHONY: maybe-install-info-tk install-info-tk
21667 maybe-install-info-tk:
21668 @if tk
21669 maybe-install-info-tk: install-info-tk
21670
21671 install-info-tk: \
21672     configure-tk \
21673     info-tk 
21674         @[ -f ./tk/Makefile ] || exit 0; \
21675         r=`${PWD_COMMAND}`; export r; \
21676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21677         $(SET_LIB_PATH) \
21678         $(HOST_EXPORTS) \
21679         for flag in $(EXTRA_HOST_FLAGS) ; do \
21680           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681         done; \
21682         echo "Doing install-info in tk" ; \
21683         (cd tk && \
21684           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21685                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21686                   "RANLIB=$${RANLIB}" \
21687                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21688                   install-info) \
21689           || exit 1
21690
21691 @endif tk
21692
21693 .PHONY: maybe-installcheck-tk installcheck-tk
21694 maybe-installcheck-tk:
21695 @if tk
21696 maybe-installcheck-tk: installcheck-tk
21697
21698 installcheck-tk: \
21699     configure-tk 
21700         @[ -f ./tk/Makefile ] || exit 0; \
21701         r=`${PWD_COMMAND}`; export r; \
21702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21703         $(SET_LIB_PATH) \
21704         $(HOST_EXPORTS) \
21705         for flag in $(EXTRA_HOST_FLAGS) ; do \
21706           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21707         done; \
21708         echo "Doing installcheck in tk" ; \
21709         (cd tk && \
21710           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21711                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21712                   "RANLIB=$${RANLIB}" \
21713                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21714                   installcheck) \
21715           || exit 1
21716
21717 @endif tk
21718
21719 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21720 maybe-mostlyclean-tk:
21721 @if tk
21722 maybe-mostlyclean-tk: mostlyclean-tk
21723
21724 mostlyclean-tk: 
21725         @[ -f ./tk/Makefile ] || exit 0; \
21726         r=`${PWD_COMMAND}`; export r; \
21727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728         $(SET_LIB_PATH) \
21729         $(HOST_EXPORTS) \
21730         for flag in $(EXTRA_HOST_FLAGS) ; do \
21731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21732         done; \
21733         echo "Doing mostlyclean in tk" ; \
21734         (cd tk && \
21735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21737                   "RANLIB=$${RANLIB}" \
21738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21739                   mostlyclean) \
21740           || exit 1
21741
21742 @endif tk
21743
21744 .PHONY: maybe-clean-tk clean-tk
21745 maybe-clean-tk:
21746 @if tk
21747 maybe-clean-tk: clean-tk
21748
21749 clean-tk: 
21750         @[ -f ./tk/Makefile ] || exit 0; \
21751         r=`${PWD_COMMAND}`; export r; \
21752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21753         $(SET_LIB_PATH) \
21754         $(HOST_EXPORTS) \
21755         for flag in $(EXTRA_HOST_FLAGS) ; do \
21756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21757         done; \
21758         echo "Doing clean in tk" ; \
21759         (cd tk && \
21760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21762                   "RANLIB=$${RANLIB}" \
21763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21764                   clean) \
21765           || exit 1
21766
21767 @endif tk
21768
21769 .PHONY: maybe-distclean-tk distclean-tk
21770 maybe-distclean-tk:
21771 @if tk
21772 maybe-distclean-tk: distclean-tk
21773
21774 distclean-tk: 
21775         @[ -f ./tk/Makefile ] || exit 0; \
21776         r=`${PWD_COMMAND}`; export r; \
21777         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21778         $(SET_LIB_PATH) \
21779         $(HOST_EXPORTS) \
21780         for flag in $(EXTRA_HOST_FLAGS) ; do \
21781           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21782         done; \
21783         echo "Doing distclean in tk" ; \
21784         (cd tk && \
21785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21787                   "RANLIB=$${RANLIB}" \
21788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21789                   distclean) \
21790           || exit 1
21791
21792 @endif tk
21793
21794 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21795 maybe-maintainer-clean-tk:
21796 @if tk
21797 maybe-maintainer-clean-tk: maintainer-clean-tk
21798
21799 maintainer-clean-tk: 
21800         @[ -f ./tk/Makefile ] || exit 0; \
21801         r=`${PWD_COMMAND}`; export r; \
21802         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21803         $(SET_LIB_PATH) \
21804         $(HOST_EXPORTS) \
21805         for flag in $(EXTRA_HOST_FLAGS) ; do \
21806           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21807         done; \
21808         echo "Doing maintainer-clean in tk" ; \
21809         (cd tk && \
21810           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21811                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21812                   "RANLIB=$${RANLIB}" \
21813                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21814                   maintainer-clean) \
21815           || exit 1
21816
21817 @endif tk
21818
21819
21820 .PHONY: configure-tix maybe-configure-tix
21821 maybe-configure-tix:
21822 @if tix
21823 maybe-configure-tix: configure-tix
21824 configure-tix:
21825         @test ! -f tix/Makefile || exit 0; \
21826         [ -d tix ] || mkdir tix; \
21827         r=`${PWD_COMMAND}`; export r; \
21828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829         $(HOST_EXPORTS) \
21830         echo Configuring in tix; \
21831         cd tix || exit 1; \
21832         case $(srcdir) in \
21833           \.) \
21834             srcdiroption="--srcdir=."; \
21835             libsrcdir=".";; \
21836           /* | [A-Za-z]:[\\/]*) \
21837             srcdiroption="--srcdir=$(srcdir)/tix"; \
21838             libsrcdir="$$s/tix";; \
21839           *) \
21840             srcdiroption="--srcdir=../$(srcdir)/tix"; \
21841             libsrcdir="$$s/tix";; \
21842         esac; \
21843         $(SHELL) $${libsrcdir}/configure \
21844           $(HOST_CONFIGARGS) $${srcdiroption}  \
21845           || exit 1
21846 @endif tix
21847
21848 .PHONY: all-tix maybe-all-tix
21849 maybe-all-tix:
21850 @if tix
21851 maybe-all-tix: all-tix
21852 all-tix: configure-tix
21853         @r=`${PWD_COMMAND}`; export r; \
21854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855         $(SET_LIB_PATH) \
21856         $(HOST_EXPORTS) \
21857         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  all)
21858 @endif tix
21859
21860 .PHONY: check-tix maybe-check-tix
21861 maybe-check-tix:
21862 @if tix
21863 maybe-check-tix: check-tix
21864
21865 check-tix:
21866         @r=`${PWD_COMMAND}`; export r; \
21867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21868         $(SET_LIB_PATH) \
21869         $(HOST_EXPORTS) \
21870         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  check)
21871
21872 @endif tix
21873
21874 .PHONY: install-tix maybe-install-tix
21875 maybe-install-tix:
21876 @if tix
21877 maybe-install-tix: install-tix
21878
21879 install-tix: installdirs
21880         @r=`${PWD_COMMAND}`; export r; \
21881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21882         $(SET_LIB_PATH) \
21883         $(HOST_EXPORTS) \
21884         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS)  install)
21885
21886 @endif tix
21887
21888 # Other targets (info, dvi, etc.)
21889
21890 .PHONY: maybe-info-tix info-tix
21891 maybe-info-tix:
21892 @if tix
21893 maybe-info-tix: info-tix
21894
21895 info-tix: \
21896     configure-tix 
21897         @[ -f ./tix/Makefile ] || exit 0; \
21898         r=`${PWD_COMMAND}`; export r; \
21899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900         $(SET_LIB_PATH) \
21901         $(HOST_EXPORTS) \
21902         for flag in $(EXTRA_HOST_FLAGS) ; do \
21903           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21904         done; \
21905         echo "Doing info in tix" ; \
21906         (cd tix && \
21907           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21908                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21909                   "RANLIB=$${RANLIB}" \
21910                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21911                   info) \
21912           || exit 1
21913
21914 @endif tix
21915
21916 .PHONY: maybe-dvi-tix dvi-tix
21917 maybe-dvi-tix:
21918 @if tix
21919 maybe-dvi-tix: dvi-tix
21920
21921 dvi-tix: \
21922     configure-tix 
21923         @[ -f ./tix/Makefile ] || exit 0; \
21924         r=`${PWD_COMMAND}`; export r; \
21925         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21926         $(SET_LIB_PATH) \
21927         $(HOST_EXPORTS) \
21928         for flag in $(EXTRA_HOST_FLAGS) ; do \
21929           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21930         done; \
21931         echo "Doing dvi in tix" ; \
21932         (cd tix && \
21933           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21934                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21935                   "RANLIB=$${RANLIB}" \
21936                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21937                   dvi) \
21938           || exit 1
21939
21940 @endif tix
21941
21942 .PHONY: maybe-TAGS-tix TAGS-tix
21943 maybe-TAGS-tix:
21944 @if tix
21945 maybe-TAGS-tix: TAGS-tix
21946
21947 TAGS-tix: \
21948     configure-tix 
21949         @[ -f ./tix/Makefile ] || exit 0; \
21950         r=`${PWD_COMMAND}`; export r; \
21951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21952         $(SET_LIB_PATH) \
21953         $(HOST_EXPORTS) \
21954         for flag in $(EXTRA_HOST_FLAGS) ; do \
21955           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21956         done; \
21957         echo "Doing TAGS in tix" ; \
21958         (cd tix && \
21959           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21960                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21961                   "RANLIB=$${RANLIB}" \
21962                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21963                   TAGS) \
21964           || exit 1
21965
21966 @endif tix
21967
21968 .PHONY: maybe-install-info-tix install-info-tix
21969 maybe-install-info-tix:
21970 @if tix
21971 maybe-install-info-tix: install-info-tix
21972
21973 install-info-tix: \
21974     configure-tix \
21975     info-tix 
21976         @[ -f ./tix/Makefile ] || exit 0; \
21977         r=`${PWD_COMMAND}`; export r; \
21978         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21979         $(SET_LIB_PATH) \
21980         $(HOST_EXPORTS) \
21981         for flag in $(EXTRA_HOST_FLAGS) ; do \
21982           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21983         done; \
21984         echo "Doing install-info in tix" ; \
21985         (cd tix && \
21986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21988                   "RANLIB=$${RANLIB}" \
21989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21990                   install-info) \
21991           || exit 1
21992
21993 @endif tix
21994
21995 .PHONY: maybe-installcheck-tix installcheck-tix
21996 maybe-installcheck-tix:
21997 @if tix
21998 maybe-installcheck-tix: installcheck-tix
21999
22000 installcheck-tix: \
22001     configure-tix 
22002         @[ -f ./tix/Makefile ] || exit 0; \
22003         r=`${PWD_COMMAND}`; export r; \
22004         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22005         $(SET_LIB_PATH) \
22006         $(HOST_EXPORTS) \
22007         for flag in $(EXTRA_HOST_FLAGS) ; do \
22008           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22009         done; \
22010         echo "Doing installcheck in tix" ; \
22011         (cd tix && \
22012           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22013                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22014                   "RANLIB=$${RANLIB}" \
22015                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22016                   installcheck) \
22017           || exit 1
22018
22019 @endif tix
22020
22021 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
22022 maybe-mostlyclean-tix:
22023 @if tix
22024 maybe-mostlyclean-tix: mostlyclean-tix
22025
22026 mostlyclean-tix: 
22027         @[ -f ./tix/Makefile ] || exit 0; \
22028         r=`${PWD_COMMAND}`; export r; \
22029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22030         $(SET_LIB_PATH) \
22031         $(HOST_EXPORTS) \
22032         for flag in $(EXTRA_HOST_FLAGS) ; do \
22033           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22034         done; \
22035         echo "Doing mostlyclean in tix" ; \
22036         (cd tix && \
22037           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22038                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22039                   "RANLIB=$${RANLIB}" \
22040                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22041                   mostlyclean) \
22042           || exit 1
22043
22044 @endif tix
22045
22046 .PHONY: maybe-clean-tix clean-tix
22047 maybe-clean-tix:
22048 @if tix
22049 maybe-clean-tix: clean-tix
22050
22051 clean-tix: 
22052         @[ -f ./tix/Makefile ] || exit 0; \
22053         r=`${PWD_COMMAND}`; export r; \
22054         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22055         $(SET_LIB_PATH) \
22056         $(HOST_EXPORTS) \
22057         for flag in $(EXTRA_HOST_FLAGS) ; do \
22058           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22059         done; \
22060         echo "Doing clean in tix" ; \
22061         (cd tix && \
22062           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22063                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22064                   "RANLIB=$${RANLIB}" \
22065                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22066                   clean) \
22067           || exit 1
22068
22069 @endif tix
22070
22071 .PHONY: maybe-distclean-tix distclean-tix
22072 maybe-distclean-tix:
22073 @if tix
22074 maybe-distclean-tix: distclean-tix
22075
22076 distclean-tix: 
22077         @[ -f ./tix/Makefile ] || exit 0; \
22078         r=`${PWD_COMMAND}`; export r; \
22079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22080         $(SET_LIB_PATH) \
22081         $(HOST_EXPORTS) \
22082         for flag in $(EXTRA_HOST_FLAGS) ; do \
22083           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22084         done; \
22085         echo "Doing distclean in tix" ; \
22086         (cd tix && \
22087           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22088                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22089                   "RANLIB=$${RANLIB}" \
22090                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22091                   distclean) \
22092           || exit 1
22093
22094 @endif tix
22095
22096 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
22097 maybe-maintainer-clean-tix:
22098 @if tix
22099 maybe-maintainer-clean-tix: maintainer-clean-tix
22100
22101 maintainer-clean-tix: 
22102         @[ -f ./tix/Makefile ] || exit 0; \
22103         r=`${PWD_COMMAND}`; export r; \
22104         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105         $(SET_LIB_PATH) \
22106         $(HOST_EXPORTS) \
22107         for flag in $(EXTRA_HOST_FLAGS) ; do \
22108           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22109         done; \
22110         echo "Doing maintainer-clean in tix" ; \
22111         (cd tix && \
22112           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22113                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22114                   "RANLIB=$${RANLIB}" \
22115                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22116                   maintainer-clean) \
22117           || exit 1
22118
22119 @endif tix
22120
22121
22122 .PHONY: configure-libtermcap maybe-configure-libtermcap
22123 maybe-configure-libtermcap:
22124 @if libtermcap
22125 maybe-configure-libtermcap: configure-libtermcap
22126 configure-libtermcap:
22127         @test ! -f libtermcap/Makefile || exit 0; \
22128         [ -d libtermcap ] || mkdir libtermcap; \
22129         r=`${PWD_COMMAND}`; export r; \
22130         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22131         $(HOST_EXPORTS) \
22132         echo Configuring in libtermcap; \
22133         cd libtermcap || exit 1; \
22134         case $(srcdir) in \
22135           \.) \
22136             srcdiroption="--srcdir=."; \
22137             libsrcdir=".";; \
22138           /* | [A-Za-z]:[\\/]*) \
22139             srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
22140             libsrcdir="$$s/libtermcap";; \
22141           *) \
22142             srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
22143             libsrcdir="$$s/libtermcap";; \
22144         esac; \
22145         $(SHELL) $${libsrcdir}/configure \
22146           $(HOST_CONFIGARGS) $${srcdiroption}  \
22147           || exit 1
22148 @endif libtermcap
22149
22150 .PHONY: all-libtermcap maybe-all-libtermcap
22151 maybe-all-libtermcap:
22152 @if libtermcap
22153 maybe-all-libtermcap: all-libtermcap
22154 all-libtermcap: configure-libtermcap
22155         @r=`${PWD_COMMAND}`; export r; \
22156         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157         $(SET_LIB_PATH) \
22158         $(HOST_EXPORTS) \
22159         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS)  all)
22160 @endif libtermcap
22161
22162 .PHONY: check-libtermcap maybe-check-libtermcap
22163 maybe-check-libtermcap:
22164 @if libtermcap
22165 maybe-check-libtermcap: check-libtermcap
22166
22167 check-libtermcap:
22168
22169 @endif libtermcap
22170
22171 .PHONY: install-libtermcap maybe-install-libtermcap
22172 maybe-install-libtermcap:
22173 @if libtermcap
22174 maybe-install-libtermcap: install-libtermcap
22175
22176 install-libtermcap: installdirs
22177         @r=`${PWD_COMMAND}`; export r; \
22178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22179         $(SET_LIB_PATH) \
22180         $(HOST_EXPORTS) \
22181         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS)  install)
22182
22183 @endif libtermcap
22184
22185 # Other targets (info, dvi, etc.)
22186
22187 .PHONY: maybe-info-libtermcap info-libtermcap
22188 maybe-info-libtermcap:
22189 @if libtermcap
22190 maybe-info-libtermcap: info-libtermcap
22191
22192 info-libtermcap: \
22193     configure-libtermcap 
22194         @[ -f ./libtermcap/Makefile ] || exit 0; \
22195         r=`${PWD_COMMAND}`; export r; \
22196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22197         $(SET_LIB_PATH) \
22198         $(HOST_EXPORTS) \
22199         for flag in $(EXTRA_HOST_FLAGS) ; do \
22200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22201         done; \
22202         echo "Doing info in libtermcap" ; \
22203         (cd libtermcap && \
22204           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22205                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22206                   "RANLIB=$${RANLIB}" \
22207                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22208                   info) \
22209           || exit 1
22210
22211 @endif libtermcap
22212
22213 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
22214 maybe-dvi-libtermcap:
22215 @if libtermcap
22216 maybe-dvi-libtermcap: dvi-libtermcap
22217
22218 dvi-libtermcap: \
22219     configure-libtermcap 
22220         @[ -f ./libtermcap/Makefile ] || exit 0; \
22221         r=`${PWD_COMMAND}`; export r; \
22222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22223         $(SET_LIB_PATH) \
22224         $(HOST_EXPORTS) \
22225         for flag in $(EXTRA_HOST_FLAGS) ; do \
22226           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22227         done; \
22228         echo "Doing dvi in libtermcap" ; \
22229         (cd libtermcap && \
22230           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22231                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22232                   "RANLIB=$${RANLIB}" \
22233                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22234                   dvi) \
22235           || exit 1
22236
22237 @endif libtermcap
22238
22239 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
22240 maybe-TAGS-libtermcap:
22241 @if libtermcap
22242 maybe-TAGS-libtermcap: TAGS-libtermcap
22243
22244 TAGS-libtermcap: \
22245     configure-libtermcap 
22246         @[ -f ./libtermcap/Makefile ] || exit 0; \
22247         r=`${PWD_COMMAND}`; export r; \
22248         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22249         $(SET_LIB_PATH) \
22250         $(HOST_EXPORTS) \
22251         for flag in $(EXTRA_HOST_FLAGS) ; do \
22252           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22253         done; \
22254         echo "Doing TAGS in libtermcap" ; \
22255         (cd libtermcap && \
22256           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22257                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22258                   "RANLIB=$${RANLIB}" \
22259                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22260                   TAGS) \
22261           || exit 1
22262
22263 @endif libtermcap
22264
22265 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
22266 maybe-install-info-libtermcap:
22267 @if libtermcap
22268 maybe-install-info-libtermcap: install-info-libtermcap
22269
22270 install-info-libtermcap: \
22271     configure-libtermcap \
22272     info-libtermcap 
22273         @[ -f ./libtermcap/Makefile ] || exit 0; \
22274         r=`${PWD_COMMAND}`; export r; \
22275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22276         $(SET_LIB_PATH) \
22277         $(HOST_EXPORTS) \
22278         for flag in $(EXTRA_HOST_FLAGS) ; do \
22279           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22280         done; \
22281         echo "Doing install-info in libtermcap" ; \
22282         (cd libtermcap && \
22283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22285                   "RANLIB=$${RANLIB}" \
22286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22287                   install-info) \
22288           || exit 1
22289
22290 @endif libtermcap
22291
22292 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
22293 maybe-installcheck-libtermcap:
22294 @if libtermcap
22295 maybe-installcheck-libtermcap: installcheck-libtermcap
22296
22297 installcheck-libtermcap: \
22298     configure-libtermcap 
22299         @[ -f ./libtermcap/Makefile ] || exit 0; \
22300         r=`${PWD_COMMAND}`; export r; \
22301         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22302         $(SET_LIB_PATH) \
22303         $(HOST_EXPORTS) \
22304         for flag in $(EXTRA_HOST_FLAGS) ; do \
22305           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22306         done; \
22307         echo "Doing installcheck in libtermcap" ; \
22308         (cd libtermcap && \
22309           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22310                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22311                   "RANLIB=$${RANLIB}" \
22312                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22313                   installcheck) \
22314           || exit 1
22315
22316 @endif libtermcap
22317
22318 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22319 maybe-mostlyclean-libtermcap:
22320 @if libtermcap
22321 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22322
22323 # libtermcap doesn't support mostlyclean.
22324 mostlyclean-libtermcap:
22325
22326 @endif libtermcap
22327
22328 .PHONY: maybe-clean-libtermcap clean-libtermcap
22329 maybe-clean-libtermcap:
22330 @if libtermcap
22331 maybe-clean-libtermcap: clean-libtermcap
22332
22333 # libtermcap doesn't support clean.
22334 clean-libtermcap:
22335
22336 @endif libtermcap
22337
22338 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22339 maybe-distclean-libtermcap:
22340 @if libtermcap
22341 maybe-distclean-libtermcap: distclean-libtermcap
22342
22343 # libtermcap doesn't support distclean.
22344 distclean-libtermcap:
22345
22346 @endif libtermcap
22347
22348 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22349 maybe-maintainer-clean-libtermcap:
22350 @if libtermcap
22351 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22352
22353 # libtermcap doesn't support maintainer-clean.
22354 maintainer-clean-libtermcap:
22355
22356 @endif libtermcap
22357
22358
22359 .PHONY: configure-utils maybe-configure-utils
22360 maybe-configure-utils:
22361 @if utils
22362 maybe-configure-utils: configure-utils
22363 configure-utils:
22364         @test ! -f utils/Makefile || exit 0; \
22365         [ -d utils ] || mkdir utils; \
22366         r=`${PWD_COMMAND}`; export r; \
22367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22368         $(HOST_EXPORTS) \
22369         echo Configuring in utils; \
22370         cd utils || exit 1; \
22371         case $(srcdir) in \
22372           \.) \
22373             srcdiroption="--srcdir=."; \
22374             libsrcdir=".";; \
22375           /* | [A-Za-z]:[\\/]*) \
22376             srcdiroption="--srcdir=$(srcdir)/utils"; \
22377             libsrcdir="$$s/utils";; \
22378           *) \
22379             srcdiroption="--srcdir=../$(srcdir)/utils"; \
22380             libsrcdir="$$s/utils";; \
22381         esac; \
22382         $(SHELL) $${libsrcdir}/configure \
22383           $(HOST_CONFIGARGS) $${srcdiroption}  \
22384           || exit 1
22385 @endif utils
22386
22387 .PHONY: all-utils maybe-all-utils
22388 maybe-all-utils:
22389 @if utils
22390 maybe-all-utils: all-utils
22391 all-utils: configure-utils
22392         @r=`${PWD_COMMAND}`; export r; \
22393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394         $(SET_LIB_PATH) \
22395         $(HOST_EXPORTS) \
22396         (cd utils && $(MAKE) $(FLAGS_TO_PASS)  all)
22397 @endif utils
22398
22399 .PHONY: check-utils maybe-check-utils
22400 maybe-check-utils:
22401 @if utils
22402 maybe-check-utils: check-utils
22403
22404 check-utils:
22405
22406 @endif utils
22407
22408 .PHONY: install-utils maybe-install-utils
22409 maybe-install-utils:
22410 @if utils
22411 maybe-install-utils: install-utils
22412
22413 install-utils: installdirs
22414         @r=`${PWD_COMMAND}`; export r; \
22415         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22416         $(SET_LIB_PATH) \
22417         $(HOST_EXPORTS) \
22418         (cd utils && $(MAKE) $(FLAGS_TO_PASS)  install)
22419
22420 @endif utils
22421
22422 # Other targets (info, dvi, etc.)
22423
22424 .PHONY: maybe-info-utils info-utils
22425 maybe-info-utils:
22426 @if utils
22427 maybe-info-utils: info-utils
22428
22429 info-utils: \
22430     configure-utils 
22431         @[ -f ./utils/Makefile ] || exit 0; \
22432         r=`${PWD_COMMAND}`; export r; \
22433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22434         $(SET_LIB_PATH) \
22435         $(HOST_EXPORTS) \
22436         for flag in $(EXTRA_HOST_FLAGS) ; do \
22437           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22438         done; \
22439         echo "Doing info in utils" ; \
22440         (cd utils && \
22441           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22442                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22443                   "RANLIB=$${RANLIB}" \
22444                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22445                   info) \
22446           || exit 1
22447
22448 @endif utils
22449
22450 .PHONY: maybe-dvi-utils dvi-utils
22451 maybe-dvi-utils:
22452 @if utils
22453 maybe-dvi-utils: dvi-utils
22454
22455 dvi-utils: \
22456     configure-utils 
22457         @[ -f ./utils/Makefile ] || exit 0; \
22458         r=`${PWD_COMMAND}`; export r; \
22459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22460         $(SET_LIB_PATH) \
22461         $(HOST_EXPORTS) \
22462         for flag in $(EXTRA_HOST_FLAGS) ; do \
22463           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22464         done; \
22465         echo "Doing dvi in utils" ; \
22466         (cd utils && \
22467           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22468                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22469                   "RANLIB=$${RANLIB}" \
22470                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22471                   dvi) \
22472           || exit 1
22473
22474 @endif utils
22475
22476 .PHONY: maybe-TAGS-utils TAGS-utils
22477 maybe-TAGS-utils:
22478 @if utils
22479 maybe-TAGS-utils: TAGS-utils
22480
22481 TAGS-utils: \
22482     configure-utils 
22483         @[ -f ./utils/Makefile ] || exit 0; \
22484         r=`${PWD_COMMAND}`; export r; \
22485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22486         $(SET_LIB_PATH) \
22487         $(HOST_EXPORTS) \
22488         for flag in $(EXTRA_HOST_FLAGS) ; do \
22489           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22490         done; \
22491         echo "Doing TAGS in utils" ; \
22492         (cd utils && \
22493           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22494                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22495                   "RANLIB=$${RANLIB}" \
22496                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22497                   TAGS) \
22498           || exit 1
22499
22500 @endif utils
22501
22502 .PHONY: maybe-install-info-utils install-info-utils
22503 maybe-install-info-utils:
22504 @if utils
22505 maybe-install-info-utils: install-info-utils
22506
22507 install-info-utils: \
22508     configure-utils \
22509     info-utils 
22510         @[ -f ./utils/Makefile ] || exit 0; \
22511         r=`${PWD_COMMAND}`; export r; \
22512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22513         $(SET_LIB_PATH) \
22514         $(HOST_EXPORTS) \
22515         for flag in $(EXTRA_HOST_FLAGS) ; do \
22516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22517         done; \
22518         echo "Doing install-info in utils" ; \
22519         (cd utils && \
22520           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22521                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22522                   "RANLIB=$${RANLIB}" \
22523                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22524                   install-info) \
22525           || exit 1
22526
22527 @endif utils
22528
22529 .PHONY: maybe-installcheck-utils installcheck-utils
22530 maybe-installcheck-utils:
22531 @if utils
22532 maybe-installcheck-utils: installcheck-utils
22533
22534 installcheck-utils: \
22535     configure-utils 
22536         @[ -f ./utils/Makefile ] || exit 0; \
22537         r=`${PWD_COMMAND}`; export r; \
22538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22539         $(SET_LIB_PATH) \
22540         $(HOST_EXPORTS) \
22541         for flag in $(EXTRA_HOST_FLAGS) ; do \
22542           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22543         done; \
22544         echo "Doing installcheck in utils" ; \
22545         (cd utils && \
22546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22548                   "RANLIB=$${RANLIB}" \
22549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22550                   installcheck) \
22551           || exit 1
22552
22553 @endif utils
22554
22555 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22556 maybe-mostlyclean-utils:
22557 @if utils
22558 maybe-mostlyclean-utils: mostlyclean-utils
22559
22560 mostlyclean-utils: 
22561         @[ -f ./utils/Makefile ] || exit 0; \
22562         r=`${PWD_COMMAND}`; export r; \
22563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22564         $(SET_LIB_PATH) \
22565         $(HOST_EXPORTS) \
22566         for flag in $(EXTRA_HOST_FLAGS) ; do \
22567           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22568         done; \
22569         echo "Doing mostlyclean in utils" ; \
22570         (cd utils && \
22571           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22572                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22573                   "RANLIB=$${RANLIB}" \
22574                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22575                   mostlyclean) \
22576           || exit 1
22577
22578 @endif utils
22579
22580 .PHONY: maybe-clean-utils clean-utils
22581 maybe-clean-utils:
22582 @if utils
22583 maybe-clean-utils: clean-utils
22584
22585 clean-utils: 
22586         @[ -f ./utils/Makefile ] || exit 0; \
22587         r=`${PWD_COMMAND}`; export r; \
22588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22589         $(SET_LIB_PATH) \
22590         $(HOST_EXPORTS) \
22591         for flag in $(EXTRA_HOST_FLAGS) ; do \
22592           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22593         done; \
22594         echo "Doing clean in utils" ; \
22595         (cd utils && \
22596           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22597                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22598                   "RANLIB=$${RANLIB}" \
22599                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22600                   clean) \
22601           || exit 1
22602
22603 @endif utils
22604
22605 .PHONY: maybe-distclean-utils distclean-utils
22606 maybe-distclean-utils:
22607 @if utils
22608 maybe-distclean-utils: distclean-utils
22609
22610 distclean-utils: 
22611         @[ -f ./utils/Makefile ] || exit 0; \
22612         r=`${PWD_COMMAND}`; export r; \
22613         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22614         $(SET_LIB_PATH) \
22615         $(HOST_EXPORTS) \
22616         for flag in $(EXTRA_HOST_FLAGS) ; do \
22617           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22618         done; \
22619         echo "Doing distclean in utils" ; \
22620         (cd utils && \
22621           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22622                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22623                   "RANLIB=$${RANLIB}" \
22624                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22625                   distclean) \
22626           || exit 1
22627
22628 @endif utils
22629
22630 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22631 maybe-maintainer-clean-utils:
22632 @if utils
22633 maybe-maintainer-clean-utils: maintainer-clean-utils
22634
22635 maintainer-clean-utils: 
22636         @[ -f ./utils/Makefile ] || exit 0; \
22637         r=`${PWD_COMMAND}`; export r; \
22638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22639         $(SET_LIB_PATH) \
22640         $(HOST_EXPORTS) \
22641         for flag in $(EXTRA_HOST_FLAGS) ; do \
22642           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22643         done; \
22644         echo "Doing maintainer-clean in utils" ; \
22645         (cd utils && \
22646           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22647                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22648                   "RANLIB=$${RANLIB}" \
22649                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22650                   maintainer-clean) \
22651           || exit 1
22652
22653 @endif utils
22654
22655
22656
22657 # ---------------------------------------
22658 # Modules which run on the target machine
22659 # ---------------------------------------
22660
22661 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22662 maybe-configure-target-libstdc++-v3:
22663 @if target-libstdc++-v3
22664 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22665
22666 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22667 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22668         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22669         rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22670         cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22671
22672 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22673         @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22674         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22675         r=`${PWD_COMMAND}`; export r; \
22676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22677         $(SET_LIB_PATH) \
22678         $(RAW_CXX_TARGET_EXPORTS) \
22679         echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22680         cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22681         case $(srcdir) in \
22682           /* | [A-Za-z]:[\\/]*) \
22683             topdir=$(srcdir) ;; \
22684           *) \
22685             case "$(TARGET_SUBDIR)" in \
22686               .) topdir="../$(srcdir)" ;; \
22687               *) topdir="../../$(srcdir)" ;; \
22688             esac ;; \
22689         esac; \
22690           srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22691           libsrcdir="$$s/libstdc++-v3"; \
22692         rm -f no-such-file || : ; \
22693         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22694           $(TARGET_CONFIGARGS) $${srcdiroption} \
22695           --with-target-subdir="$(TARGET_SUBDIR)"  \
22696           || exit 1
22697 @endif target-libstdc++-v3
22698
22699 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22700 maybe-all-target-libstdc++-v3:
22701 @if target-libstdc++-v3
22702 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22703 all-target-libstdc++-v3: configure-target-libstdc++-v3
22704         @r=`${PWD_COMMAND}`; export r; \
22705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22706         $(SET_LIB_PATH) \
22707         $(RAW_CXX_TARGET_EXPORTS) \
22708         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22709           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   all)
22710 @endif target-libstdc++-v3
22711
22712 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22713 maybe-check-target-libstdc++-v3:
22714 @if target-libstdc++-v3
22715 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22716
22717 check-target-libstdc++-v3:
22718         @r=`${PWD_COMMAND}`; export r; \
22719         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720         $(SET_LIB_PATH) \
22721         $(RAW_CXX_TARGET_EXPORTS) \
22722         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22723           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
22724
22725 @endif target-libstdc++-v3
22726
22727 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22728 maybe-install-target-libstdc++-v3:
22729 @if target-libstdc++-v3
22730 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22731
22732 install-target-libstdc++-v3: installdirs
22733         @r=`${PWD_COMMAND}`; export r; \
22734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22735         $(SET_LIB_PATH) \
22736         $(RAW_CXX_TARGET_EXPORTS) \
22737         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22738           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
22739
22740 @endif target-libstdc++-v3
22741
22742 # Other targets (info, dvi, etc.)
22743
22744 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22745 maybe-info-target-libstdc++-v3:
22746 @if target-libstdc++-v3
22747 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22748
22749 info-target-libstdc++-v3: \
22750     configure-target-libstdc++-v3 
22751         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22752         r=`${PWD_COMMAND}`; export r; \
22753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22754         $(SET_LIB_PATH) \
22755         $(RAW_CXX_TARGET_EXPORTS) \
22756         echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22757         for flag in $(EXTRA_TARGET_FLAGS); do \
22758           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22759         done; \
22760         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22761           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22762                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22763                   "RANLIB=$${RANLIB}" \
22764                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22765                    info) \
22766           || exit 1
22767
22768 @endif target-libstdc++-v3
22769
22770 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22771 maybe-dvi-target-libstdc++-v3:
22772 @if target-libstdc++-v3
22773 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22774
22775 dvi-target-libstdc++-v3: \
22776     configure-target-libstdc++-v3 
22777         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22778         r=`${PWD_COMMAND}`; export r; \
22779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22780         $(SET_LIB_PATH) \
22781         $(RAW_CXX_TARGET_EXPORTS) \
22782         echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22783         for flag in $(EXTRA_TARGET_FLAGS); do \
22784           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22785         done; \
22786         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22787           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22788                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22789                   "RANLIB=$${RANLIB}" \
22790                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22791                    dvi) \
22792           || exit 1
22793
22794 @endif target-libstdc++-v3
22795
22796 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22797 maybe-TAGS-target-libstdc++-v3:
22798 @if target-libstdc++-v3
22799 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22800
22801 TAGS-target-libstdc++-v3: \
22802     configure-target-libstdc++-v3 
22803         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22804         r=`${PWD_COMMAND}`; export r; \
22805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22806         $(SET_LIB_PATH) \
22807         $(RAW_CXX_TARGET_EXPORTS) \
22808         echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22809         for flag in $(EXTRA_TARGET_FLAGS); do \
22810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22811         done; \
22812         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22815                   "RANLIB=$${RANLIB}" \
22816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22817                    TAGS) \
22818           || exit 1
22819
22820 @endif target-libstdc++-v3
22821
22822 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22823 maybe-install-info-target-libstdc++-v3:
22824 @if target-libstdc++-v3
22825 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22826
22827 install-info-target-libstdc++-v3: \
22828     configure-target-libstdc++-v3 \
22829     info-target-libstdc++-v3 
22830         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22831         r=`${PWD_COMMAND}`; export r; \
22832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22833         $(SET_LIB_PATH) \
22834         $(RAW_CXX_TARGET_EXPORTS) \
22835         echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22836         for flag in $(EXTRA_TARGET_FLAGS); do \
22837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22838         done; \
22839         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22840           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22841                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22842                   "RANLIB=$${RANLIB}" \
22843                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22844                    install-info) \
22845           || exit 1
22846
22847 @endif target-libstdc++-v3
22848
22849 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22850 maybe-installcheck-target-libstdc++-v3:
22851 @if target-libstdc++-v3
22852 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22853
22854 installcheck-target-libstdc++-v3: \
22855     configure-target-libstdc++-v3 
22856         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22857         r=`${PWD_COMMAND}`; export r; \
22858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22859         $(SET_LIB_PATH) \
22860         $(RAW_CXX_TARGET_EXPORTS) \
22861         echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22862         for flag in $(EXTRA_TARGET_FLAGS); do \
22863           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22864         done; \
22865         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22866           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22867                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22868                   "RANLIB=$${RANLIB}" \
22869                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22870                    installcheck) \
22871           || exit 1
22872
22873 @endif target-libstdc++-v3
22874
22875 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22876 maybe-mostlyclean-target-libstdc++-v3:
22877 @if target-libstdc++-v3
22878 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22879
22880 mostlyclean-target-libstdc++-v3: 
22881         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22882         r=`${PWD_COMMAND}`; export r; \
22883         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22884         $(SET_LIB_PATH) \
22885         $(RAW_CXX_TARGET_EXPORTS) \
22886         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22887         for flag in $(EXTRA_TARGET_FLAGS); do \
22888           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22889         done; \
22890         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22891           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22892                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22893                   "RANLIB=$${RANLIB}" \
22894                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22895                    mostlyclean) \
22896           || exit 1
22897
22898 @endif target-libstdc++-v3
22899
22900 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22901 maybe-clean-target-libstdc++-v3:
22902 @if target-libstdc++-v3
22903 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22904
22905 clean-target-libstdc++-v3: 
22906         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22907         r=`${PWD_COMMAND}`; export r; \
22908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22909         $(SET_LIB_PATH) \
22910         $(RAW_CXX_TARGET_EXPORTS) \
22911         echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22912         for flag in $(EXTRA_TARGET_FLAGS); do \
22913           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22914         done; \
22915         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22916           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22917                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22918                   "RANLIB=$${RANLIB}" \
22919                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22920                    clean) \
22921           || exit 1
22922
22923 @endif target-libstdc++-v3
22924
22925 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22926 maybe-distclean-target-libstdc++-v3:
22927 @if target-libstdc++-v3
22928 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22929
22930 distclean-target-libstdc++-v3: 
22931         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22932         r=`${PWD_COMMAND}`; export r; \
22933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22934         $(SET_LIB_PATH) \
22935         $(RAW_CXX_TARGET_EXPORTS) \
22936         echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22937         for flag in $(EXTRA_TARGET_FLAGS); do \
22938           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22939         done; \
22940         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22943                   "RANLIB=$${RANLIB}" \
22944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22945                    distclean) \
22946           || exit 1
22947
22948 @endif target-libstdc++-v3
22949
22950 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22951 maybe-maintainer-clean-target-libstdc++-v3:
22952 @if target-libstdc++-v3
22953 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22954
22955 maintainer-clean-target-libstdc++-v3: 
22956         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22957         r=`${PWD_COMMAND}`; export r; \
22958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22959         $(SET_LIB_PATH) \
22960         $(RAW_CXX_TARGET_EXPORTS) \
22961         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22962         for flag in $(EXTRA_TARGET_FLAGS); do \
22963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22964         done; \
22965         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22968                   "RANLIB=$${RANLIB}" \
22969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22970                    maintainer-clean) \
22971           || exit 1
22972
22973 @endif target-libstdc++-v3
22974
22975
22976 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22977 maybe-configure-target-libmudflap:
22978 @if target-libmudflap
22979 maybe-configure-target-libmudflap: configure-target-libmudflap
22980
22981 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22982 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22983         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22984         rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22985         cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22986
22987 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22988         @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22989         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22990         r=`${PWD_COMMAND}`; export r; \
22991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992         $(SET_LIB_PATH) \
22993         $(NORMAL_TARGET_EXPORTS) \
22994         echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22995         cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22996         case $(srcdir) in \
22997           /* | [A-Za-z]:[\\/]*) \
22998             topdir=$(srcdir) ;; \
22999           *) \
23000             case "$(TARGET_SUBDIR)" in \
23001               .) topdir="../$(srcdir)" ;; \
23002               *) topdir="../../$(srcdir)" ;; \
23003             esac ;; \
23004         esac; \
23005           srcdiroption="--srcdir=$${topdir}/libmudflap"; \
23006           libsrcdir="$$s/libmudflap"; \
23007         rm -f no-such-file || : ; \
23008         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23009           $(TARGET_CONFIGARGS) $${srcdiroption} \
23010           --with-target-subdir="$(TARGET_SUBDIR)"  \
23011           || exit 1
23012 @endif target-libmudflap
23013
23014 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
23015 maybe-all-target-libmudflap:
23016 @if target-libmudflap
23017 maybe-all-target-libmudflap: all-target-libmudflap
23018 all-target-libmudflap: configure-target-libmudflap
23019         @r=`${PWD_COMMAND}`; export r; \
23020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23021         $(SET_LIB_PATH) \
23022         $(NORMAL_TARGET_EXPORTS) \
23023         (cd $(TARGET_SUBDIR)/libmudflap && \
23024           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
23025 @endif target-libmudflap
23026
23027 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
23028 maybe-check-target-libmudflap:
23029 @if target-libmudflap
23030 maybe-check-target-libmudflap: check-target-libmudflap
23031
23032 check-target-libmudflap:
23033         @r=`${PWD_COMMAND}`; export r; \
23034         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23035         $(SET_LIB_PATH) \
23036         $(NORMAL_TARGET_EXPORTS) \
23037         (cd $(TARGET_SUBDIR)/libmudflap && \
23038           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23039
23040 @endif target-libmudflap
23041
23042 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
23043 maybe-install-target-libmudflap:
23044 @if target-libmudflap
23045 maybe-install-target-libmudflap: install-target-libmudflap
23046
23047 install-target-libmudflap: installdirs
23048         @r=`${PWD_COMMAND}`; export r; \
23049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23050         $(SET_LIB_PATH) \
23051         $(NORMAL_TARGET_EXPORTS) \
23052         (cd $(TARGET_SUBDIR)/libmudflap && \
23053           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23054
23055 @endif target-libmudflap
23056
23057 # Other targets (info, dvi, etc.)
23058
23059 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
23060 maybe-info-target-libmudflap:
23061 @if target-libmudflap
23062 maybe-info-target-libmudflap: info-target-libmudflap
23063
23064 info-target-libmudflap: \
23065     configure-target-libmudflap 
23066         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23067         r=`${PWD_COMMAND}`; export r; \
23068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23069         $(SET_LIB_PATH) \
23070         $(NORMAL_TARGET_EXPORTS) \
23071         echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
23072         for flag in $(EXTRA_TARGET_FLAGS); do \
23073           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23074         done; \
23075         (cd $(TARGET_SUBDIR)/libmudflap && \
23076           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23077                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23078                   "RANLIB=$${RANLIB}" \
23079                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23080                    info) \
23081           || exit 1
23082
23083 @endif target-libmudflap
23084
23085 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
23086 maybe-dvi-target-libmudflap:
23087 @if target-libmudflap
23088 maybe-dvi-target-libmudflap: dvi-target-libmudflap
23089
23090 dvi-target-libmudflap: \
23091     configure-target-libmudflap 
23092         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23093         r=`${PWD_COMMAND}`; export r; \
23094         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23095         $(SET_LIB_PATH) \
23096         $(NORMAL_TARGET_EXPORTS) \
23097         echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
23098         for flag in $(EXTRA_TARGET_FLAGS); do \
23099           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23100         done; \
23101         (cd $(TARGET_SUBDIR)/libmudflap && \
23102           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23103                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23104                   "RANLIB=$${RANLIB}" \
23105                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23106                    dvi) \
23107           || exit 1
23108
23109 @endif target-libmudflap
23110
23111 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
23112 maybe-TAGS-target-libmudflap:
23113 @if target-libmudflap
23114 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
23115
23116 TAGS-target-libmudflap: \
23117     configure-target-libmudflap 
23118         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23119         r=`${PWD_COMMAND}`; export r; \
23120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23121         $(SET_LIB_PATH) \
23122         $(NORMAL_TARGET_EXPORTS) \
23123         echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
23124         for flag in $(EXTRA_TARGET_FLAGS); do \
23125           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23126         done; \
23127         (cd $(TARGET_SUBDIR)/libmudflap && \
23128           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23129                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23130                   "RANLIB=$${RANLIB}" \
23131                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23132                    TAGS) \
23133           || exit 1
23134
23135 @endif target-libmudflap
23136
23137 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
23138 maybe-install-info-target-libmudflap:
23139 @if target-libmudflap
23140 maybe-install-info-target-libmudflap: install-info-target-libmudflap
23141
23142 install-info-target-libmudflap: \
23143     configure-target-libmudflap \
23144     info-target-libmudflap 
23145         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23146         r=`${PWD_COMMAND}`; export r; \
23147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148         $(SET_LIB_PATH) \
23149         $(NORMAL_TARGET_EXPORTS) \
23150         echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
23151         for flag in $(EXTRA_TARGET_FLAGS); do \
23152           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153         done; \
23154         (cd $(TARGET_SUBDIR)/libmudflap && \
23155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157                   "RANLIB=$${RANLIB}" \
23158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23159                    install-info) \
23160           || exit 1
23161
23162 @endif target-libmudflap
23163
23164 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
23165 maybe-installcheck-target-libmudflap:
23166 @if target-libmudflap
23167 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
23168
23169 installcheck-target-libmudflap: \
23170     configure-target-libmudflap 
23171         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23172         r=`${PWD_COMMAND}`; export r; \
23173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23174         $(SET_LIB_PATH) \
23175         $(NORMAL_TARGET_EXPORTS) \
23176         echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
23177         for flag in $(EXTRA_TARGET_FLAGS); do \
23178           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179         done; \
23180         (cd $(TARGET_SUBDIR)/libmudflap && \
23181           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23182                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23183                   "RANLIB=$${RANLIB}" \
23184                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23185                    installcheck) \
23186           || exit 1
23187
23188 @endif target-libmudflap
23189
23190 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
23191 maybe-mostlyclean-target-libmudflap:
23192 @if target-libmudflap
23193 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
23194
23195 mostlyclean-target-libmudflap: 
23196         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23197         r=`${PWD_COMMAND}`; export r; \
23198         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199         $(SET_LIB_PATH) \
23200         $(NORMAL_TARGET_EXPORTS) \
23201         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
23202         for flag in $(EXTRA_TARGET_FLAGS); do \
23203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23204         done; \
23205         (cd $(TARGET_SUBDIR)/libmudflap && \
23206           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23207                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23208                   "RANLIB=$${RANLIB}" \
23209                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23210                    mostlyclean) \
23211           || exit 1
23212
23213 @endif target-libmudflap
23214
23215 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
23216 maybe-clean-target-libmudflap:
23217 @if target-libmudflap
23218 maybe-clean-target-libmudflap: clean-target-libmudflap
23219
23220 clean-target-libmudflap: 
23221         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23222         r=`${PWD_COMMAND}`; export r; \
23223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23224         $(SET_LIB_PATH) \
23225         $(NORMAL_TARGET_EXPORTS) \
23226         echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
23227         for flag in $(EXTRA_TARGET_FLAGS); do \
23228           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23229         done; \
23230         (cd $(TARGET_SUBDIR)/libmudflap && \
23231           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23232                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23233                   "RANLIB=$${RANLIB}" \
23234                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23235                    clean) \
23236           || exit 1
23237
23238 @endif target-libmudflap
23239
23240 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
23241 maybe-distclean-target-libmudflap:
23242 @if target-libmudflap
23243 maybe-distclean-target-libmudflap: distclean-target-libmudflap
23244
23245 distclean-target-libmudflap: 
23246         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23247         r=`${PWD_COMMAND}`; export r; \
23248         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249         $(SET_LIB_PATH) \
23250         $(NORMAL_TARGET_EXPORTS) \
23251         echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
23252         for flag in $(EXTRA_TARGET_FLAGS); do \
23253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23254         done; \
23255         (cd $(TARGET_SUBDIR)/libmudflap && \
23256           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23257                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23258                   "RANLIB=$${RANLIB}" \
23259                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23260                    distclean) \
23261           || exit 1
23262
23263 @endif target-libmudflap
23264
23265 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
23266 maybe-maintainer-clean-target-libmudflap:
23267 @if target-libmudflap
23268 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
23269
23270 maintainer-clean-target-libmudflap: 
23271         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23272         r=`${PWD_COMMAND}`; export r; \
23273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23274         $(SET_LIB_PATH) \
23275         $(NORMAL_TARGET_EXPORTS) \
23276         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
23277         for flag in $(EXTRA_TARGET_FLAGS); do \
23278           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23279         done; \
23280         (cd $(TARGET_SUBDIR)/libmudflap && \
23281           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23282                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23283                   "RANLIB=$${RANLIB}" \
23284                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23285                    maintainer-clean) \
23286           || exit 1
23287
23288 @endif target-libmudflap
23289
23290
23291 .PHONY: configure-target-newlib maybe-configure-target-newlib
23292 maybe-configure-target-newlib:
23293 @if target-newlib
23294 maybe-configure-target-newlib: configure-target-newlib
23295
23296 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23297 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
23298         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23299         rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
23300         cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
23301
23302 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
23303         @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
23304         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23305         r=`${PWD_COMMAND}`; export r; \
23306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307         $(SET_LIB_PATH) \
23308         $(NORMAL_TARGET_EXPORTS) \
23309         echo Configuring in $(TARGET_SUBDIR)/newlib; \
23310         cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
23311         case $(srcdir) in \
23312           /* | [A-Za-z]:[\\/]*) \
23313             topdir=$(srcdir) ;; \
23314           *) \
23315             case "$(TARGET_SUBDIR)" in \
23316               .) topdir="../$(srcdir)" ;; \
23317               *) topdir="../../$(srcdir)" ;; \
23318             esac ;; \
23319         esac; \
23320           srcdiroption="--srcdir=$${topdir}/newlib"; \
23321           libsrcdir="$$s/newlib"; \
23322         rm -f no-such-file || : ; \
23323         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23324           $(TARGET_CONFIGARGS) $${srcdiroption} \
23325           --with-target-subdir="$(TARGET_SUBDIR)"  \
23326           || exit 1
23327 @endif target-newlib
23328
23329 .PHONY: all-target-newlib maybe-all-target-newlib
23330 maybe-all-target-newlib:
23331 @if target-newlib
23332 maybe-all-target-newlib: all-target-newlib
23333 all-target-newlib: configure-target-newlib
23334         @r=`${PWD_COMMAND}`; export r; \
23335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23336         $(SET_LIB_PATH) \
23337         $(NORMAL_TARGET_EXPORTS) \
23338         (cd $(TARGET_SUBDIR)/newlib && \
23339           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
23340 @endif target-newlib
23341
23342 .PHONY: check-target-newlib maybe-check-target-newlib
23343 maybe-check-target-newlib:
23344 @if target-newlib
23345 maybe-check-target-newlib: check-target-newlib
23346
23347 check-target-newlib:
23348         @r=`${PWD_COMMAND}`; export r; \
23349         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23350         $(SET_LIB_PATH) \
23351         $(NORMAL_TARGET_EXPORTS) \
23352         (cd $(TARGET_SUBDIR)/newlib && \
23353           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23354
23355 @endif target-newlib
23356
23357 .PHONY: install-target-newlib maybe-install-target-newlib
23358 maybe-install-target-newlib:
23359 @if target-newlib
23360 maybe-install-target-newlib: install-target-newlib
23361
23362 install-target-newlib: installdirs
23363         @r=`${PWD_COMMAND}`; export r; \
23364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365         $(SET_LIB_PATH) \
23366         $(NORMAL_TARGET_EXPORTS) \
23367         (cd $(TARGET_SUBDIR)/newlib && \
23368           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23369
23370 @endif target-newlib
23371
23372 # Other targets (info, dvi, etc.)
23373
23374 .PHONY: maybe-info-target-newlib info-target-newlib
23375 maybe-info-target-newlib:
23376 @if target-newlib
23377 maybe-info-target-newlib: info-target-newlib
23378
23379 info-target-newlib: \
23380     configure-target-newlib 
23381         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23382         r=`${PWD_COMMAND}`; export r; \
23383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23384         $(SET_LIB_PATH) \
23385         $(NORMAL_TARGET_EXPORTS) \
23386         echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23387         for flag in $(EXTRA_TARGET_FLAGS); do \
23388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23389         done; \
23390         (cd $(TARGET_SUBDIR)/newlib && \
23391           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23392                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23393                   "RANLIB=$${RANLIB}" \
23394                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23395                    info) \
23396           || exit 1
23397
23398 @endif target-newlib
23399
23400 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23401 maybe-dvi-target-newlib:
23402 @if target-newlib
23403 maybe-dvi-target-newlib: dvi-target-newlib
23404
23405 dvi-target-newlib: \
23406     configure-target-newlib 
23407         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23408         r=`${PWD_COMMAND}`; export r; \
23409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23410         $(SET_LIB_PATH) \
23411         $(NORMAL_TARGET_EXPORTS) \
23412         echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23413         for flag in $(EXTRA_TARGET_FLAGS); do \
23414           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23415         done; \
23416         (cd $(TARGET_SUBDIR)/newlib && \
23417           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23418                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23419                   "RANLIB=$${RANLIB}" \
23420                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23421                    dvi) \
23422           || exit 1
23423
23424 @endif target-newlib
23425
23426 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23427 maybe-TAGS-target-newlib:
23428 @if target-newlib
23429 maybe-TAGS-target-newlib: TAGS-target-newlib
23430
23431 TAGS-target-newlib: \
23432     configure-target-newlib 
23433         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23434         r=`${PWD_COMMAND}`; export r; \
23435         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23436         $(SET_LIB_PATH) \
23437         $(NORMAL_TARGET_EXPORTS) \
23438         echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23439         for flag in $(EXTRA_TARGET_FLAGS); do \
23440           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23441         done; \
23442         (cd $(TARGET_SUBDIR)/newlib && \
23443           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23444                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23445                   "RANLIB=$${RANLIB}" \
23446                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23447                    TAGS) \
23448           || exit 1
23449
23450 @endif target-newlib
23451
23452 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23453 maybe-install-info-target-newlib:
23454 @if target-newlib
23455 maybe-install-info-target-newlib: install-info-target-newlib
23456
23457 install-info-target-newlib: \
23458     configure-target-newlib \
23459     info-target-newlib 
23460         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23461         r=`${PWD_COMMAND}`; export r; \
23462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23463         $(SET_LIB_PATH) \
23464         $(NORMAL_TARGET_EXPORTS) \
23465         echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23466         for flag in $(EXTRA_TARGET_FLAGS); do \
23467           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23468         done; \
23469         (cd $(TARGET_SUBDIR)/newlib && \
23470           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23471                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23472                   "RANLIB=$${RANLIB}" \
23473                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23474                    install-info) \
23475           || exit 1
23476
23477 @endif target-newlib
23478
23479 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23480 maybe-installcheck-target-newlib:
23481 @if target-newlib
23482 maybe-installcheck-target-newlib: installcheck-target-newlib
23483
23484 installcheck-target-newlib: \
23485     configure-target-newlib 
23486         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23487         r=`${PWD_COMMAND}`; export r; \
23488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489         $(SET_LIB_PATH) \
23490         $(NORMAL_TARGET_EXPORTS) \
23491         echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23492         for flag in $(EXTRA_TARGET_FLAGS); do \
23493           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23494         done; \
23495         (cd $(TARGET_SUBDIR)/newlib && \
23496           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23497                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23498                   "RANLIB=$${RANLIB}" \
23499                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23500                    installcheck) \
23501           || exit 1
23502
23503 @endif target-newlib
23504
23505 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23506 maybe-mostlyclean-target-newlib:
23507 @if target-newlib
23508 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23509
23510 mostlyclean-target-newlib: 
23511         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23512         r=`${PWD_COMMAND}`; export r; \
23513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23514         $(SET_LIB_PATH) \
23515         $(NORMAL_TARGET_EXPORTS) \
23516         echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23517         for flag in $(EXTRA_TARGET_FLAGS); do \
23518           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23519         done; \
23520         (cd $(TARGET_SUBDIR)/newlib && \
23521           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23522                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23523                   "RANLIB=$${RANLIB}" \
23524                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23525                    mostlyclean) \
23526           || exit 1
23527
23528 @endif target-newlib
23529
23530 .PHONY: maybe-clean-target-newlib clean-target-newlib
23531 maybe-clean-target-newlib:
23532 @if target-newlib
23533 maybe-clean-target-newlib: clean-target-newlib
23534
23535 clean-target-newlib: 
23536         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23537         r=`${PWD_COMMAND}`; export r; \
23538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539         $(SET_LIB_PATH) \
23540         $(NORMAL_TARGET_EXPORTS) \
23541         echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23542         for flag in $(EXTRA_TARGET_FLAGS); do \
23543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23544         done; \
23545         (cd $(TARGET_SUBDIR)/newlib && \
23546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23548                   "RANLIB=$${RANLIB}" \
23549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23550                    clean) \
23551           || exit 1
23552
23553 @endif target-newlib
23554
23555 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23556 maybe-distclean-target-newlib:
23557 @if target-newlib
23558 maybe-distclean-target-newlib: distclean-target-newlib
23559
23560 distclean-target-newlib: 
23561         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23562         r=`${PWD_COMMAND}`; export r; \
23563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23564         $(SET_LIB_PATH) \
23565         $(NORMAL_TARGET_EXPORTS) \
23566         echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23567         for flag in $(EXTRA_TARGET_FLAGS); do \
23568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23569         done; \
23570         (cd $(TARGET_SUBDIR)/newlib && \
23571           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23572                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23573                   "RANLIB=$${RANLIB}" \
23574                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23575                    distclean) \
23576           || exit 1
23577
23578 @endif target-newlib
23579
23580 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23581 maybe-maintainer-clean-target-newlib:
23582 @if target-newlib
23583 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23584
23585 maintainer-clean-target-newlib: 
23586         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23587         r=`${PWD_COMMAND}`; export r; \
23588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23589         $(SET_LIB_PATH) \
23590         $(NORMAL_TARGET_EXPORTS) \
23591         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23592         for flag in $(EXTRA_TARGET_FLAGS); do \
23593           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23594         done; \
23595         (cd $(TARGET_SUBDIR)/newlib && \
23596           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598                   "RANLIB=$${RANLIB}" \
23599                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23600                    maintainer-clean) \
23601           || exit 1
23602
23603 @endif target-newlib
23604
23605
23606 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23607 maybe-configure-target-libgfortran:
23608 @if target-libgfortran
23609 maybe-configure-target-libgfortran: configure-target-libgfortran
23610
23611 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23612 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23613         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23614         rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23615         cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23616
23617 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23618         @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23619         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23620         r=`${PWD_COMMAND}`; export r; \
23621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23622         $(SET_LIB_PATH) \
23623         $(NORMAL_TARGET_EXPORTS) \
23624         echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23625         cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23626         case $(srcdir) in \
23627           /* | [A-Za-z]:[\\/]*) \
23628             topdir=$(srcdir) ;; \
23629           *) \
23630             case "$(TARGET_SUBDIR)" in \
23631               .) topdir="../$(srcdir)" ;; \
23632               *) topdir="../../$(srcdir)" ;; \
23633             esac ;; \
23634         esac; \
23635           srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23636           libsrcdir="$$s/libgfortran"; \
23637         rm -f no-such-file || : ; \
23638         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23639           $(TARGET_CONFIGARGS) $${srcdiroption} \
23640           --with-target-subdir="$(TARGET_SUBDIR)"  \
23641           || exit 1
23642 @endif target-libgfortran
23643
23644 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23645 maybe-all-target-libgfortran:
23646 @if target-libgfortran
23647 maybe-all-target-libgfortran: all-target-libgfortran
23648 all-target-libgfortran: configure-target-libgfortran
23649         @r=`${PWD_COMMAND}`; export r; \
23650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23651         $(SET_LIB_PATH) \
23652         $(NORMAL_TARGET_EXPORTS) \
23653         (cd $(TARGET_SUBDIR)/libgfortran && \
23654           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
23655 @endif target-libgfortran
23656
23657 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23658 maybe-check-target-libgfortran:
23659 @if target-libgfortran
23660 maybe-check-target-libgfortran: check-target-libgfortran
23661
23662 check-target-libgfortran:
23663         @r=`${PWD_COMMAND}`; export r; \
23664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23665         $(SET_LIB_PATH) \
23666         $(NORMAL_TARGET_EXPORTS) \
23667         (cd $(TARGET_SUBDIR)/libgfortran && \
23668           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23669
23670 @endif target-libgfortran
23671
23672 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23673 maybe-install-target-libgfortran:
23674 @if target-libgfortran
23675 maybe-install-target-libgfortran: install-target-libgfortran
23676
23677 install-target-libgfortran: installdirs
23678         @r=`${PWD_COMMAND}`; export r; \
23679         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23680         $(SET_LIB_PATH) \
23681         $(NORMAL_TARGET_EXPORTS) \
23682         (cd $(TARGET_SUBDIR)/libgfortran && \
23683           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23684
23685 @endif target-libgfortran
23686
23687 # Other targets (info, dvi, etc.)
23688
23689 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23690 maybe-info-target-libgfortran:
23691 @if target-libgfortran
23692 maybe-info-target-libgfortran: info-target-libgfortran
23693
23694 info-target-libgfortran: \
23695     configure-target-libgfortran 
23696         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23697         r=`${PWD_COMMAND}`; export r; \
23698         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23699         $(SET_LIB_PATH) \
23700         $(NORMAL_TARGET_EXPORTS) \
23701         echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23702         for flag in $(EXTRA_TARGET_FLAGS); do \
23703           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23704         done; \
23705         (cd $(TARGET_SUBDIR)/libgfortran && \
23706           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23707                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23708                   "RANLIB=$${RANLIB}" \
23709                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23710                    info) \
23711           || exit 1
23712
23713 @endif target-libgfortran
23714
23715 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23716 maybe-dvi-target-libgfortran:
23717 @if target-libgfortran
23718 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23719
23720 dvi-target-libgfortran: \
23721     configure-target-libgfortran 
23722         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23723         r=`${PWD_COMMAND}`; export r; \
23724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23725         $(SET_LIB_PATH) \
23726         $(NORMAL_TARGET_EXPORTS) \
23727         echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23728         for flag in $(EXTRA_TARGET_FLAGS); do \
23729           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23730         done; \
23731         (cd $(TARGET_SUBDIR)/libgfortran && \
23732           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23733                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23734                   "RANLIB=$${RANLIB}" \
23735                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23736                    dvi) \
23737           || exit 1
23738
23739 @endif target-libgfortran
23740
23741 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23742 maybe-TAGS-target-libgfortran:
23743 @if target-libgfortran
23744 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23745
23746 TAGS-target-libgfortran: \
23747     configure-target-libgfortran 
23748         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23749         r=`${PWD_COMMAND}`; export r; \
23750         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23751         $(SET_LIB_PATH) \
23752         $(NORMAL_TARGET_EXPORTS) \
23753         echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23754         for flag in $(EXTRA_TARGET_FLAGS); do \
23755           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23756         done; \
23757         (cd $(TARGET_SUBDIR)/libgfortran && \
23758           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23759                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23760                   "RANLIB=$${RANLIB}" \
23761                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23762                    TAGS) \
23763           || exit 1
23764
23765 @endif target-libgfortran
23766
23767 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23768 maybe-install-info-target-libgfortran:
23769 @if target-libgfortran
23770 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23771
23772 install-info-target-libgfortran: \
23773     configure-target-libgfortran \
23774     info-target-libgfortran 
23775         @[ -f $(TARGET_SUBDIR)/libgfortran/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 install-info in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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                    install-info) \
23790           || exit 1
23791
23792 @endif target-libgfortran
23793
23794 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23795 maybe-installcheck-target-libgfortran:
23796 @if target-libgfortran
23797 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23798
23799 installcheck-target-libgfortran: \
23800     configure-target-libgfortran 
23801         @[ -f $(TARGET_SUBDIR)/libgfortran/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 installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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                    installcheck) \
23816           || exit 1
23817
23818 @endif target-libgfortran
23819
23820 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23821 maybe-mostlyclean-target-libgfortran:
23822 @if target-libgfortran
23823 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23824
23825 mostlyclean-target-libgfortran: 
23826         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23827         r=`${PWD_COMMAND}`; export r; \
23828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23829         $(SET_LIB_PATH) \
23830         $(NORMAL_TARGET_EXPORTS) \
23831         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23832         for flag in $(EXTRA_TARGET_FLAGS); do \
23833           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23834         done; \
23835         (cd $(TARGET_SUBDIR)/libgfortran && \
23836           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23837                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23838                   "RANLIB=$${RANLIB}" \
23839                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23840                    mostlyclean) \
23841           || exit 1
23842
23843 @endif target-libgfortran
23844
23845 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23846 maybe-clean-target-libgfortran:
23847 @if target-libgfortran
23848 maybe-clean-target-libgfortran: clean-target-libgfortran
23849
23850 clean-target-libgfortran: 
23851         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23852         r=`${PWD_COMMAND}`; export r; \
23853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23854         $(SET_LIB_PATH) \
23855         $(NORMAL_TARGET_EXPORTS) \
23856         echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23857         for flag in $(EXTRA_TARGET_FLAGS); do \
23858           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23859         done; \
23860         (cd $(TARGET_SUBDIR)/libgfortran && \
23861           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23862                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23863                   "RANLIB=$${RANLIB}" \
23864                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23865                    clean) \
23866           || exit 1
23867
23868 @endif target-libgfortran
23869
23870 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23871 maybe-distclean-target-libgfortran:
23872 @if target-libgfortran
23873 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23874
23875 distclean-target-libgfortran: 
23876         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23877         r=`${PWD_COMMAND}`; export r; \
23878         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23879         $(SET_LIB_PATH) \
23880         $(NORMAL_TARGET_EXPORTS) \
23881         echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23882         for flag in $(EXTRA_TARGET_FLAGS); do \
23883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23884         done; \
23885         (cd $(TARGET_SUBDIR)/libgfortran && \
23886           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23887                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23888                   "RANLIB=$${RANLIB}" \
23889                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23890                    distclean) \
23891           || exit 1
23892
23893 @endif target-libgfortran
23894
23895 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23896 maybe-maintainer-clean-target-libgfortran:
23897 @if target-libgfortran
23898 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23899
23900 maintainer-clean-target-libgfortran: 
23901         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23902         r=`${PWD_COMMAND}`; export r; \
23903         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23904         $(SET_LIB_PATH) \
23905         $(NORMAL_TARGET_EXPORTS) \
23906         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23907         for flag in $(EXTRA_TARGET_FLAGS); do \
23908           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23909         done; \
23910         (cd $(TARGET_SUBDIR)/libgfortran && \
23911           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23912                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23913                   "RANLIB=$${RANLIB}" \
23914                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23915                    maintainer-clean) \
23916           || exit 1
23917
23918 @endif target-libgfortran
23919
23920
23921 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23922 maybe-configure-target-libobjc:
23923 @if target-libobjc
23924 maybe-configure-target-libobjc: configure-target-libobjc
23925
23926 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23927 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23928         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23929         rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23930         cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23931
23932 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23933         @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23934         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23935         r=`${PWD_COMMAND}`; export r; \
23936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23937         $(SET_LIB_PATH) \
23938         $(NORMAL_TARGET_EXPORTS) \
23939         echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23940         cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23941         case $(srcdir) in \
23942           /* | [A-Za-z]:[\\/]*) \
23943             topdir=$(srcdir) ;; \
23944           *) \
23945             case "$(TARGET_SUBDIR)" in \
23946               .) topdir="../$(srcdir)" ;; \
23947               *) topdir="../../$(srcdir)" ;; \
23948             esac ;; \
23949         esac; \
23950           srcdiroption="--srcdir=$${topdir}/libobjc"; \
23951           libsrcdir="$$s/libobjc"; \
23952         rm -f no-such-file || : ; \
23953         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23954           $(TARGET_CONFIGARGS) $${srcdiroption} \
23955           --with-target-subdir="$(TARGET_SUBDIR)"  \
23956           || exit 1
23957 @endif target-libobjc
23958
23959 .PHONY: all-target-libobjc maybe-all-target-libobjc
23960 maybe-all-target-libobjc:
23961 @if target-libobjc
23962 maybe-all-target-libobjc: all-target-libobjc
23963 all-target-libobjc: configure-target-libobjc
23964         @r=`${PWD_COMMAND}`; export r; \
23965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23966         $(SET_LIB_PATH) \
23967         $(NORMAL_TARGET_EXPORTS) \
23968         (cd $(TARGET_SUBDIR)/libobjc && \
23969           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
23970 @endif target-libobjc
23971
23972 .PHONY: check-target-libobjc maybe-check-target-libobjc
23973 maybe-check-target-libobjc:
23974 @if target-libobjc
23975 maybe-check-target-libobjc: check-target-libobjc
23976
23977 check-target-libobjc:
23978         @r=`${PWD_COMMAND}`; export r; \
23979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980         $(SET_LIB_PATH) \
23981         $(NORMAL_TARGET_EXPORTS) \
23982         (cd $(TARGET_SUBDIR)/libobjc && \
23983           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23984
23985 @endif target-libobjc
23986
23987 .PHONY: install-target-libobjc maybe-install-target-libobjc
23988 maybe-install-target-libobjc:
23989 @if target-libobjc
23990 maybe-install-target-libobjc: install-target-libobjc
23991
23992 install-target-libobjc: installdirs
23993         @r=`${PWD_COMMAND}`; export r; \
23994         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23995         $(SET_LIB_PATH) \
23996         $(NORMAL_TARGET_EXPORTS) \
23997         (cd $(TARGET_SUBDIR)/libobjc && \
23998           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23999
24000 @endif target-libobjc
24001
24002 # Other targets (info, dvi, etc.)
24003
24004 .PHONY: maybe-info-target-libobjc info-target-libobjc
24005 maybe-info-target-libobjc:
24006 @if target-libobjc
24007 maybe-info-target-libobjc: info-target-libobjc
24008
24009 info-target-libobjc: \
24010     configure-target-libobjc 
24011         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24012         r=`${PWD_COMMAND}`; export r; \
24013         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24014         $(SET_LIB_PATH) \
24015         $(NORMAL_TARGET_EXPORTS) \
24016         echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
24017         for flag in $(EXTRA_TARGET_FLAGS); do \
24018           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24019         done; \
24020         (cd $(TARGET_SUBDIR)/libobjc && \
24021           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24022                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24023                   "RANLIB=$${RANLIB}" \
24024                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24025                    info) \
24026           || exit 1
24027
24028 @endif target-libobjc
24029
24030 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
24031 maybe-dvi-target-libobjc:
24032 @if target-libobjc
24033 maybe-dvi-target-libobjc: dvi-target-libobjc
24034
24035 dvi-target-libobjc: \
24036     configure-target-libobjc 
24037         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24038         r=`${PWD_COMMAND}`; export r; \
24039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24040         $(SET_LIB_PATH) \
24041         $(NORMAL_TARGET_EXPORTS) \
24042         echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
24043         for flag in $(EXTRA_TARGET_FLAGS); do \
24044           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24045         done; \
24046         (cd $(TARGET_SUBDIR)/libobjc && \
24047           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24048                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24049                   "RANLIB=$${RANLIB}" \
24050                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24051                    dvi) \
24052           || exit 1
24053
24054 @endif target-libobjc
24055
24056 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
24057 maybe-TAGS-target-libobjc:
24058 @if target-libobjc
24059 maybe-TAGS-target-libobjc: TAGS-target-libobjc
24060
24061 TAGS-target-libobjc: \
24062     configure-target-libobjc 
24063         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24064         r=`${PWD_COMMAND}`; export r; \
24065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24066         $(SET_LIB_PATH) \
24067         $(NORMAL_TARGET_EXPORTS) \
24068         echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
24069         for flag in $(EXTRA_TARGET_FLAGS); do \
24070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24071         done; \
24072         (cd $(TARGET_SUBDIR)/libobjc && \
24073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24075                   "RANLIB=$${RANLIB}" \
24076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24077                    TAGS) \
24078           || exit 1
24079
24080 @endif target-libobjc
24081
24082 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
24083 maybe-install-info-target-libobjc:
24084 @if target-libobjc
24085 maybe-install-info-target-libobjc: install-info-target-libobjc
24086
24087 install-info-target-libobjc: \
24088     configure-target-libobjc \
24089     info-target-libobjc 
24090         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24091         r=`${PWD_COMMAND}`; export r; \
24092         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24093         $(SET_LIB_PATH) \
24094         $(NORMAL_TARGET_EXPORTS) \
24095         echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
24096         for flag in $(EXTRA_TARGET_FLAGS); do \
24097           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24098         done; \
24099         (cd $(TARGET_SUBDIR)/libobjc && \
24100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24102                   "RANLIB=$${RANLIB}" \
24103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24104                    install-info) \
24105           || exit 1
24106
24107 @endif target-libobjc
24108
24109 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
24110 maybe-installcheck-target-libobjc:
24111 @if target-libobjc
24112 maybe-installcheck-target-libobjc: installcheck-target-libobjc
24113
24114 installcheck-target-libobjc: \
24115     configure-target-libobjc 
24116         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24117         r=`${PWD_COMMAND}`; export r; \
24118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24119         $(SET_LIB_PATH) \
24120         $(NORMAL_TARGET_EXPORTS) \
24121         echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
24122         for flag in $(EXTRA_TARGET_FLAGS); do \
24123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24124         done; \
24125         (cd $(TARGET_SUBDIR)/libobjc && \
24126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24128                   "RANLIB=$${RANLIB}" \
24129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24130                    installcheck) \
24131           || exit 1
24132
24133 @endif target-libobjc
24134
24135 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
24136 maybe-mostlyclean-target-libobjc:
24137 @if target-libobjc
24138 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
24139
24140 mostlyclean-target-libobjc: 
24141         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24142         r=`${PWD_COMMAND}`; export r; \
24143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24144         $(SET_LIB_PATH) \
24145         $(NORMAL_TARGET_EXPORTS) \
24146         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
24147         for flag in $(EXTRA_TARGET_FLAGS); do \
24148           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24149         done; \
24150         (cd $(TARGET_SUBDIR)/libobjc && \
24151           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24152                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24153                   "RANLIB=$${RANLIB}" \
24154                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24155                    mostlyclean) \
24156           || exit 1
24157
24158 @endif target-libobjc
24159
24160 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
24161 maybe-clean-target-libobjc:
24162 @if target-libobjc
24163 maybe-clean-target-libobjc: clean-target-libobjc
24164
24165 clean-target-libobjc: 
24166         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24167         r=`${PWD_COMMAND}`; export r; \
24168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24169         $(SET_LIB_PATH) \
24170         $(NORMAL_TARGET_EXPORTS) \
24171         echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
24172         for flag in $(EXTRA_TARGET_FLAGS); do \
24173           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24174         done; \
24175         (cd $(TARGET_SUBDIR)/libobjc && \
24176           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24177                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24178                   "RANLIB=$${RANLIB}" \
24179                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24180                    clean) \
24181           || exit 1
24182
24183 @endif target-libobjc
24184
24185 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
24186 maybe-distclean-target-libobjc:
24187 @if target-libobjc
24188 maybe-distclean-target-libobjc: distclean-target-libobjc
24189
24190 distclean-target-libobjc: 
24191         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24192         r=`${PWD_COMMAND}`; export r; \
24193         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24194         $(SET_LIB_PATH) \
24195         $(NORMAL_TARGET_EXPORTS) \
24196         echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
24197         for flag in $(EXTRA_TARGET_FLAGS); do \
24198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24199         done; \
24200         (cd $(TARGET_SUBDIR)/libobjc && \
24201           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24202                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24203                   "RANLIB=$${RANLIB}" \
24204                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24205                    distclean) \
24206           || exit 1
24207
24208 @endif target-libobjc
24209
24210 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
24211 maybe-maintainer-clean-target-libobjc:
24212 @if target-libobjc
24213 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
24214
24215 maintainer-clean-target-libobjc: 
24216         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24217         r=`${PWD_COMMAND}`; export r; \
24218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24219         $(SET_LIB_PATH) \
24220         $(NORMAL_TARGET_EXPORTS) \
24221         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
24222         for flag in $(EXTRA_TARGET_FLAGS); do \
24223           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24224         done; \
24225         (cd $(TARGET_SUBDIR)/libobjc && \
24226           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24227                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24228                   "RANLIB=$${RANLIB}" \
24229                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24230                    maintainer-clean) \
24231           || exit 1
24232
24233 @endif target-libobjc
24234
24235
24236 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
24237 maybe-configure-target-libtermcap:
24238 @if target-libtermcap
24239 maybe-configure-target-libtermcap: configure-target-libtermcap
24240
24241 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24242 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
24243         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24244         rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
24245         cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
24246
24247 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
24248         @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
24249         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24250         r=`${PWD_COMMAND}`; export r; \
24251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24252         $(SET_LIB_PATH) \
24253         $(NORMAL_TARGET_EXPORTS) \
24254         echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
24255         cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
24256         case $(srcdir) in \
24257           /* | [A-Za-z]:[\\/]*) \
24258             topdir=$(srcdir) ;; \
24259           *) \
24260             case "$(TARGET_SUBDIR)" in \
24261               .) topdir="../$(srcdir)" ;; \
24262               *) topdir="../../$(srcdir)" ;; \
24263             esac ;; \
24264         esac; \
24265         if [ "$(srcdir)" = "." ] ; then \
24266           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
24267             if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
24268               if [ -f Makefile ]; then \
24269                 if $(MAKE) distclean; then \
24270                   true; \
24271                 else \
24272                   exit 1; \
24273                 fi; \
24274               else \
24275                 true; \
24276               fi; \
24277             else \
24278               exit 1; \
24279             fi; \
24280           else \
24281             true; \
24282           fi; \
24283           srcdiroption="--srcdir=."; \
24284           libsrcdir="."; \
24285         else \
24286           srcdiroption="--srcdir=$${topdir}/libtermcap"; \
24287           libsrcdir="$$s/libtermcap"; \
24288         fi; \
24289         rm -f no-such-file || : ; \
24290         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24291           $(TARGET_CONFIGARGS) $${srcdiroption} \
24292           --with-target-subdir="$(TARGET_SUBDIR)"  \
24293           || exit 1
24294 @endif target-libtermcap
24295
24296 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
24297 maybe-all-target-libtermcap:
24298 @if target-libtermcap
24299 maybe-all-target-libtermcap: all-target-libtermcap
24300 all-target-libtermcap: configure-target-libtermcap
24301         @r=`${PWD_COMMAND}`; export r; \
24302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303         $(SET_LIB_PATH) \
24304         $(NORMAL_TARGET_EXPORTS) \
24305         (cd $(TARGET_SUBDIR)/libtermcap && \
24306           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
24307 @endif target-libtermcap
24308
24309 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
24310 maybe-check-target-libtermcap:
24311 @if target-libtermcap
24312 maybe-check-target-libtermcap: check-target-libtermcap
24313
24314 # Dummy target for uncheckable module.
24315 check-target-libtermcap:
24316
24317 @endif target-libtermcap
24318
24319 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
24320 maybe-install-target-libtermcap:
24321 @if target-libtermcap
24322 maybe-install-target-libtermcap: install-target-libtermcap
24323
24324 install-target-libtermcap: installdirs
24325         @r=`${PWD_COMMAND}`; export r; \
24326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24327         $(SET_LIB_PATH) \
24328         $(NORMAL_TARGET_EXPORTS) \
24329         (cd $(TARGET_SUBDIR)/libtermcap && \
24330           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24331
24332 @endif target-libtermcap
24333
24334 # Other targets (info, dvi, etc.)
24335
24336 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24337 maybe-info-target-libtermcap:
24338 @if target-libtermcap
24339 maybe-info-target-libtermcap: info-target-libtermcap
24340
24341 info-target-libtermcap: \
24342     configure-target-libtermcap 
24343         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24344         r=`${PWD_COMMAND}`; export r; \
24345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24346         $(SET_LIB_PATH) \
24347         $(NORMAL_TARGET_EXPORTS) \
24348         echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24349         for flag in $(EXTRA_TARGET_FLAGS); do \
24350           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24351         done; \
24352         (cd $(TARGET_SUBDIR)/libtermcap && \
24353           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24354                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24355                   "RANLIB=$${RANLIB}" \
24356                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24357                    info) \
24358           || exit 1
24359
24360 @endif target-libtermcap
24361
24362 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24363 maybe-dvi-target-libtermcap:
24364 @if target-libtermcap
24365 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24366
24367 dvi-target-libtermcap: \
24368     configure-target-libtermcap 
24369         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24370         r=`${PWD_COMMAND}`; export r; \
24371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24372         $(SET_LIB_PATH) \
24373         $(NORMAL_TARGET_EXPORTS) \
24374         echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24375         for flag in $(EXTRA_TARGET_FLAGS); do \
24376           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24377         done; \
24378         (cd $(TARGET_SUBDIR)/libtermcap && \
24379           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24380                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24381                   "RANLIB=$${RANLIB}" \
24382                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24383                    dvi) \
24384           || exit 1
24385
24386 @endif target-libtermcap
24387
24388 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24389 maybe-TAGS-target-libtermcap:
24390 @if target-libtermcap
24391 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24392
24393 TAGS-target-libtermcap: \
24394     configure-target-libtermcap 
24395         @[ -f $(TARGET_SUBDIR)/libtermcap/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 TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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                    TAGS) \
24410           || exit 1
24411
24412 @endif target-libtermcap
24413
24414 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24415 maybe-install-info-target-libtermcap:
24416 @if target-libtermcap
24417 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24418
24419 install-info-target-libtermcap: \
24420     configure-target-libtermcap \
24421     info-target-libtermcap 
24422         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24423         r=`${PWD_COMMAND}`; export r; \
24424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24425         $(SET_LIB_PATH) \
24426         $(NORMAL_TARGET_EXPORTS) \
24427         echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24428         for flag in $(EXTRA_TARGET_FLAGS); do \
24429           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24430         done; \
24431         (cd $(TARGET_SUBDIR)/libtermcap && \
24432           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24433                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24434                   "RANLIB=$${RANLIB}" \
24435                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24436                    install-info) \
24437           || exit 1
24438
24439 @endif target-libtermcap
24440
24441 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24442 maybe-installcheck-target-libtermcap:
24443 @if target-libtermcap
24444 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24445
24446 installcheck-target-libtermcap: \
24447     configure-target-libtermcap 
24448         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24449         r=`${PWD_COMMAND}`; export r; \
24450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24451         $(SET_LIB_PATH) \
24452         $(NORMAL_TARGET_EXPORTS) \
24453         echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24454         for flag in $(EXTRA_TARGET_FLAGS); do \
24455           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24456         done; \
24457         (cd $(TARGET_SUBDIR)/libtermcap && \
24458           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24459                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24460                   "RANLIB=$${RANLIB}" \
24461                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24462                    installcheck) \
24463           || exit 1
24464
24465 @endif target-libtermcap
24466
24467 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24468 maybe-mostlyclean-target-libtermcap:
24469 @if target-libtermcap
24470 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24471
24472 # libtermcap doesn't support mostlyclean.
24473 mostlyclean-target-libtermcap:
24474
24475 @endif target-libtermcap
24476
24477 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24478 maybe-clean-target-libtermcap:
24479 @if target-libtermcap
24480 maybe-clean-target-libtermcap: clean-target-libtermcap
24481
24482 # libtermcap doesn't support clean.
24483 clean-target-libtermcap:
24484
24485 @endif target-libtermcap
24486
24487 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24488 maybe-distclean-target-libtermcap:
24489 @if target-libtermcap
24490 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24491
24492 # libtermcap doesn't support distclean.
24493 distclean-target-libtermcap:
24494
24495 @endif target-libtermcap
24496
24497 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24498 maybe-maintainer-clean-target-libtermcap:
24499 @if target-libtermcap
24500 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24501
24502 # libtermcap doesn't support maintainer-clean.
24503 maintainer-clean-target-libtermcap:
24504
24505 @endif target-libtermcap
24506
24507
24508 .PHONY: configure-target-winsup maybe-configure-target-winsup
24509 maybe-configure-target-winsup:
24510 @if target-winsup
24511 maybe-configure-target-winsup: configure-target-winsup
24512
24513 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24514 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24515         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24516         rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24517         cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24518
24519 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24520         @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24521         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24522         r=`${PWD_COMMAND}`; export r; \
24523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524         $(SET_LIB_PATH) \
24525         $(NORMAL_TARGET_EXPORTS) \
24526         echo Configuring in $(TARGET_SUBDIR)/winsup; \
24527         cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24528         case $(srcdir) in \
24529           /* | [A-Za-z]:[\\/]*) \
24530             topdir=$(srcdir) ;; \
24531           *) \
24532             case "$(TARGET_SUBDIR)" in \
24533               .) topdir="../$(srcdir)" ;; \
24534               *) topdir="../../$(srcdir)" ;; \
24535             esac ;; \
24536         esac; \
24537           srcdiroption="--srcdir=$${topdir}/winsup"; \
24538           libsrcdir="$$s/winsup"; \
24539         rm -f no-such-file || : ; \
24540         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24541           $(TARGET_CONFIGARGS) $${srcdiroption} \
24542           --with-target-subdir="$(TARGET_SUBDIR)"  \
24543           || exit 1
24544 @endif target-winsup
24545
24546 .PHONY: all-target-winsup maybe-all-target-winsup
24547 maybe-all-target-winsup:
24548 @if target-winsup
24549 maybe-all-target-winsup: all-target-winsup
24550 all-target-winsup: configure-target-winsup
24551         @r=`${PWD_COMMAND}`; export r; \
24552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24553         $(SET_LIB_PATH) \
24554         $(NORMAL_TARGET_EXPORTS) \
24555         (cd $(TARGET_SUBDIR)/winsup && \
24556           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
24557 @endif target-winsup
24558
24559 .PHONY: check-target-winsup maybe-check-target-winsup
24560 maybe-check-target-winsup:
24561 @if target-winsup
24562 maybe-check-target-winsup: check-target-winsup
24563
24564 check-target-winsup:
24565         @r=`${PWD_COMMAND}`; export r; \
24566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24567         $(SET_LIB_PATH) \
24568         $(NORMAL_TARGET_EXPORTS) \
24569         (cd $(TARGET_SUBDIR)/winsup && \
24570           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24571
24572 @endif target-winsup
24573
24574 .PHONY: install-target-winsup maybe-install-target-winsup
24575 maybe-install-target-winsup:
24576 @if target-winsup
24577 maybe-install-target-winsup: install-target-winsup
24578
24579 install-target-winsup: installdirs
24580         @r=`${PWD_COMMAND}`; export r; \
24581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24582         $(SET_LIB_PATH) \
24583         $(NORMAL_TARGET_EXPORTS) \
24584         (cd $(TARGET_SUBDIR)/winsup && \
24585           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24586
24587 @endif target-winsup
24588
24589 # Other targets (info, dvi, etc.)
24590
24591 .PHONY: maybe-info-target-winsup info-target-winsup
24592 maybe-info-target-winsup:
24593 @if target-winsup
24594 maybe-info-target-winsup: info-target-winsup
24595
24596 info-target-winsup: \
24597     configure-target-winsup 
24598         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24599         r=`${PWD_COMMAND}`; export r; \
24600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601         $(SET_LIB_PATH) \
24602         $(NORMAL_TARGET_EXPORTS) \
24603         echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24604         for flag in $(EXTRA_TARGET_FLAGS); do \
24605           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24606         done; \
24607         (cd $(TARGET_SUBDIR)/winsup && \
24608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24610                   "RANLIB=$${RANLIB}" \
24611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24612                    info) \
24613           || exit 1
24614
24615 @endif target-winsup
24616
24617 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24618 maybe-dvi-target-winsup:
24619 @if target-winsup
24620 maybe-dvi-target-winsup: dvi-target-winsup
24621
24622 dvi-target-winsup: \
24623     configure-target-winsup 
24624         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24625         r=`${PWD_COMMAND}`; export r; \
24626         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24627         $(SET_LIB_PATH) \
24628         $(NORMAL_TARGET_EXPORTS) \
24629         echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24630         for flag in $(EXTRA_TARGET_FLAGS); do \
24631           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24632         done; \
24633         (cd $(TARGET_SUBDIR)/winsup && \
24634           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24635                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24636                   "RANLIB=$${RANLIB}" \
24637                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24638                    dvi) \
24639           || exit 1
24640
24641 @endif target-winsup
24642
24643 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24644 maybe-TAGS-target-winsup:
24645 @if target-winsup
24646 maybe-TAGS-target-winsup: TAGS-target-winsup
24647
24648 TAGS-target-winsup: \
24649     configure-target-winsup 
24650         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24651         r=`${PWD_COMMAND}`; export r; \
24652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24653         $(SET_LIB_PATH) \
24654         $(NORMAL_TARGET_EXPORTS) \
24655         echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24656         for flag in $(EXTRA_TARGET_FLAGS); do \
24657           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24658         done; \
24659         (cd $(TARGET_SUBDIR)/winsup && \
24660           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24661                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24662                   "RANLIB=$${RANLIB}" \
24663                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24664                    TAGS) \
24665           || exit 1
24666
24667 @endif target-winsup
24668
24669 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24670 maybe-install-info-target-winsup:
24671 @if target-winsup
24672 maybe-install-info-target-winsup: install-info-target-winsup
24673
24674 install-info-target-winsup: \
24675     configure-target-winsup \
24676     info-target-winsup 
24677         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24678         r=`${PWD_COMMAND}`; export r; \
24679         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680         $(SET_LIB_PATH) \
24681         $(NORMAL_TARGET_EXPORTS) \
24682         echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24683         for flag in $(EXTRA_TARGET_FLAGS); do \
24684           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24685         done; \
24686         (cd $(TARGET_SUBDIR)/winsup && \
24687           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24688                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24689                   "RANLIB=$${RANLIB}" \
24690                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24691                    install-info) \
24692           || exit 1
24693
24694 @endif target-winsup
24695
24696 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24697 maybe-installcheck-target-winsup:
24698 @if target-winsup
24699 maybe-installcheck-target-winsup: installcheck-target-winsup
24700
24701 installcheck-target-winsup: \
24702     configure-target-winsup 
24703         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24704         r=`${PWD_COMMAND}`; export r; \
24705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706         $(SET_LIB_PATH) \
24707         $(NORMAL_TARGET_EXPORTS) \
24708         echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24709         for flag in $(EXTRA_TARGET_FLAGS); do \
24710           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24711         done; \
24712         (cd $(TARGET_SUBDIR)/winsup && \
24713           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24714                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24715                   "RANLIB=$${RANLIB}" \
24716                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24717                    installcheck) \
24718           || exit 1
24719
24720 @endif target-winsup
24721
24722 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24723 maybe-mostlyclean-target-winsup:
24724 @if target-winsup
24725 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24726
24727 mostlyclean-target-winsup: 
24728         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24729         r=`${PWD_COMMAND}`; export r; \
24730         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24731         $(SET_LIB_PATH) \
24732         $(NORMAL_TARGET_EXPORTS) \
24733         echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24734         for flag in $(EXTRA_TARGET_FLAGS); do \
24735           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24736         done; \
24737         (cd $(TARGET_SUBDIR)/winsup && \
24738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24740                   "RANLIB=$${RANLIB}" \
24741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24742                    mostlyclean) \
24743           || exit 1
24744
24745 @endif target-winsup
24746
24747 .PHONY: maybe-clean-target-winsup clean-target-winsup
24748 maybe-clean-target-winsup:
24749 @if target-winsup
24750 maybe-clean-target-winsup: clean-target-winsup
24751
24752 clean-target-winsup: 
24753         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24754         r=`${PWD_COMMAND}`; export r; \
24755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756         $(SET_LIB_PATH) \
24757         $(NORMAL_TARGET_EXPORTS) \
24758         echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24759         for flag in $(EXTRA_TARGET_FLAGS); do \
24760           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24761         done; \
24762         (cd $(TARGET_SUBDIR)/winsup && \
24763           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24764                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24765                   "RANLIB=$${RANLIB}" \
24766                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24767                    clean) \
24768           || exit 1
24769
24770 @endif target-winsup
24771
24772 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24773 maybe-distclean-target-winsup:
24774 @if target-winsup
24775 maybe-distclean-target-winsup: distclean-target-winsup
24776
24777 distclean-target-winsup: 
24778         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24779         r=`${PWD_COMMAND}`; export r; \
24780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24781         $(SET_LIB_PATH) \
24782         $(NORMAL_TARGET_EXPORTS) \
24783         echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24784         for flag in $(EXTRA_TARGET_FLAGS); do \
24785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24786         done; \
24787         (cd $(TARGET_SUBDIR)/winsup && \
24788           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24789                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24790                   "RANLIB=$${RANLIB}" \
24791                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24792                    distclean) \
24793           || exit 1
24794
24795 @endif target-winsup
24796
24797 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24798 maybe-maintainer-clean-target-winsup:
24799 @if target-winsup
24800 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24801
24802 maintainer-clean-target-winsup: 
24803         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24804         r=`${PWD_COMMAND}`; export r; \
24805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24806         $(SET_LIB_PATH) \
24807         $(NORMAL_TARGET_EXPORTS) \
24808         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24809         for flag in $(EXTRA_TARGET_FLAGS); do \
24810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24811         done; \
24812         (cd $(TARGET_SUBDIR)/winsup && \
24813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815                   "RANLIB=$${RANLIB}" \
24816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24817                    maintainer-clean) \
24818           || exit 1
24819
24820 @endif target-winsup
24821
24822
24823 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24824 maybe-configure-target-libgloss:
24825 @if target-libgloss
24826 maybe-configure-target-libgloss: configure-target-libgloss
24827
24828 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24829 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24830         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24831         rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24832         cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24833
24834 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24835         @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24836         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24837         r=`${PWD_COMMAND}`; export r; \
24838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24839         $(SET_LIB_PATH) \
24840         $(NORMAL_TARGET_EXPORTS) \
24841         echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24842         cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24843         case $(srcdir) in \
24844           /* | [A-Za-z]:[\\/]*) \
24845             topdir=$(srcdir) ;; \
24846           *) \
24847             case "$(TARGET_SUBDIR)" in \
24848               .) topdir="../$(srcdir)" ;; \
24849               *) topdir="../../$(srcdir)" ;; \
24850             esac ;; \
24851         esac; \
24852           srcdiroption="--srcdir=$${topdir}/libgloss"; \
24853           libsrcdir="$$s/libgloss"; \
24854         rm -f no-such-file || : ; \
24855         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24856           $(TARGET_CONFIGARGS) $${srcdiroption} \
24857           --with-target-subdir="$(TARGET_SUBDIR)"  \
24858           || exit 1
24859 @endif target-libgloss
24860
24861 .PHONY: all-target-libgloss maybe-all-target-libgloss
24862 maybe-all-target-libgloss:
24863 @if target-libgloss
24864 maybe-all-target-libgloss: all-target-libgloss
24865 all-target-libgloss: configure-target-libgloss
24866         @r=`${PWD_COMMAND}`; export r; \
24867         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24868         $(SET_LIB_PATH) \
24869         $(NORMAL_TARGET_EXPORTS) \
24870         (cd $(TARGET_SUBDIR)/libgloss && \
24871           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
24872 @endif target-libgloss
24873
24874 .PHONY: check-target-libgloss maybe-check-target-libgloss
24875 maybe-check-target-libgloss:
24876 @if target-libgloss
24877 maybe-check-target-libgloss: check-target-libgloss
24878
24879 # Dummy target for uncheckable module.
24880 check-target-libgloss:
24881
24882 @endif target-libgloss
24883
24884 .PHONY: install-target-libgloss maybe-install-target-libgloss
24885 maybe-install-target-libgloss:
24886 @if target-libgloss
24887 maybe-install-target-libgloss: install-target-libgloss
24888
24889 install-target-libgloss: installdirs
24890         @r=`${PWD_COMMAND}`; export r; \
24891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24892         $(SET_LIB_PATH) \
24893         $(NORMAL_TARGET_EXPORTS) \
24894         (cd $(TARGET_SUBDIR)/libgloss && \
24895           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24896
24897 @endif target-libgloss
24898
24899 # Other targets (info, dvi, etc.)
24900
24901 .PHONY: maybe-info-target-libgloss info-target-libgloss
24902 maybe-info-target-libgloss:
24903 @if target-libgloss
24904 maybe-info-target-libgloss: info-target-libgloss
24905
24906 info-target-libgloss: \
24907     configure-target-libgloss 
24908         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24909         r=`${PWD_COMMAND}`; export r; \
24910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24911         $(SET_LIB_PATH) \
24912         $(NORMAL_TARGET_EXPORTS) \
24913         echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24914         for flag in $(EXTRA_TARGET_FLAGS); do \
24915           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24916         done; \
24917         (cd $(TARGET_SUBDIR)/libgloss && \
24918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24920                   "RANLIB=$${RANLIB}" \
24921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24922                    info) \
24923           || exit 1
24924
24925 @endif target-libgloss
24926
24927 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24928 maybe-dvi-target-libgloss:
24929 @if target-libgloss
24930 maybe-dvi-target-libgloss: dvi-target-libgloss
24931
24932 dvi-target-libgloss: \
24933     configure-target-libgloss 
24934         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24935         r=`${PWD_COMMAND}`; export r; \
24936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24937         $(SET_LIB_PATH) \
24938         $(NORMAL_TARGET_EXPORTS) \
24939         echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24940         for flag in $(EXTRA_TARGET_FLAGS); do \
24941           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24942         done; \
24943         (cd $(TARGET_SUBDIR)/libgloss && \
24944           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24945                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24946                   "RANLIB=$${RANLIB}" \
24947                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24948                    dvi) \
24949           || exit 1
24950
24951 @endif target-libgloss
24952
24953 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24954 maybe-TAGS-target-libgloss:
24955 @if target-libgloss
24956 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24957
24958 TAGS-target-libgloss: \
24959     configure-target-libgloss 
24960         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24961         r=`${PWD_COMMAND}`; export r; \
24962         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24963         $(SET_LIB_PATH) \
24964         $(NORMAL_TARGET_EXPORTS) \
24965         echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24966         for flag in $(EXTRA_TARGET_FLAGS); do \
24967           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24968         done; \
24969         (cd $(TARGET_SUBDIR)/libgloss && \
24970           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24971                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24972                   "RANLIB=$${RANLIB}" \
24973                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24974                    TAGS) \
24975           || exit 1
24976
24977 @endif target-libgloss
24978
24979 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24980 maybe-install-info-target-libgloss:
24981 @if target-libgloss
24982 maybe-install-info-target-libgloss: install-info-target-libgloss
24983
24984 install-info-target-libgloss: \
24985     configure-target-libgloss \
24986     info-target-libgloss 
24987         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24988         r=`${PWD_COMMAND}`; export r; \
24989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24990         $(SET_LIB_PATH) \
24991         $(NORMAL_TARGET_EXPORTS) \
24992         echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24993         for flag in $(EXTRA_TARGET_FLAGS); do \
24994           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24995         done; \
24996         (cd $(TARGET_SUBDIR)/libgloss && \
24997           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24998                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24999                   "RANLIB=$${RANLIB}" \
25000                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25001                    install-info) \
25002           || exit 1
25003
25004 @endif target-libgloss
25005
25006 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
25007 maybe-installcheck-target-libgloss:
25008 @if target-libgloss
25009 maybe-installcheck-target-libgloss: installcheck-target-libgloss
25010
25011 installcheck-target-libgloss: \
25012     configure-target-libgloss 
25013         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25014         r=`${PWD_COMMAND}`; export r; \
25015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25016         $(SET_LIB_PATH) \
25017         $(NORMAL_TARGET_EXPORTS) \
25018         echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
25019         for flag in $(EXTRA_TARGET_FLAGS); do \
25020           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021         done; \
25022         (cd $(TARGET_SUBDIR)/libgloss && \
25023           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25024                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25025                   "RANLIB=$${RANLIB}" \
25026                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25027                    installcheck) \
25028           || exit 1
25029
25030 @endif target-libgloss
25031
25032 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
25033 maybe-mostlyclean-target-libgloss:
25034 @if target-libgloss
25035 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
25036
25037 mostlyclean-target-libgloss: 
25038         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25039         r=`${PWD_COMMAND}`; export r; \
25040         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25041         $(SET_LIB_PATH) \
25042         $(NORMAL_TARGET_EXPORTS) \
25043         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
25044         for flag in $(EXTRA_TARGET_FLAGS); do \
25045           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25046         done; \
25047         (cd $(TARGET_SUBDIR)/libgloss && \
25048           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25049                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25050                   "RANLIB=$${RANLIB}" \
25051                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25052                    mostlyclean) \
25053           || exit 1
25054
25055 @endif target-libgloss
25056
25057 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
25058 maybe-clean-target-libgloss:
25059 @if target-libgloss
25060 maybe-clean-target-libgloss: clean-target-libgloss
25061
25062 clean-target-libgloss: 
25063         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25064         r=`${PWD_COMMAND}`; export r; \
25065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25066         $(SET_LIB_PATH) \
25067         $(NORMAL_TARGET_EXPORTS) \
25068         echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
25069         for flag in $(EXTRA_TARGET_FLAGS); do \
25070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25071         done; \
25072         (cd $(TARGET_SUBDIR)/libgloss && \
25073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25075                   "RANLIB=$${RANLIB}" \
25076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25077                    clean) \
25078           || exit 1
25079
25080 @endif target-libgloss
25081
25082 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
25083 maybe-distclean-target-libgloss:
25084 @if target-libgloss
25085 maybe-distclean-target-libgloss: distclean-target-libgloss
25086
25087 distclean-target-libgloss: 
25088         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25089         r=`${PWD_COMMAND}`; export r; \
25090         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091         $(SET_LIB_PATH) \
25092         $(NORMAL_TARGET_EXPORTS) \
25093         echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
25094         for flag in $(EXTRA_TARGET_FLAGS); do \
25095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25096         done; \
25097         (cd $(TARGET_SUBDIR)/libgloss && \
25098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25100                   "RANLIB=$${RANLIB}" \
25101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25102                    distclean) \
25103           || exit 1
25104
25105 @endif target-libgloss
25106
25107 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
25108 maybe-maintainer-clean-target-libgloss:
25109 @if target-libgloss
25110 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
25111
25112 maintainer-clean-target-libgloss: 
25113         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25114         r=`${PWD_COMMAND}`; export r; \
25115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25116         $(SET_LIB_PATH) \
25117         $(NORMAL_TARGET_EXPORTS) \
25118         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
25119         for flag in $(EXTRA_TARGET_FLAGS); do \
25120           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25121         done; \
25122         (cd $(TARGET_SUBDIR)/libgloss && \
25123           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25124                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25125                   "RANLIB=$${RANLIB}" \
25126                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25127                    maintainer-clean) \
25128           || exit 1
25129
25130 @endif target-libgloss
25131
25132
25133 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
25134 maybe-configure-target-libiberty:
25135 @if target-libiberty
25136 maybe-configure-target-libiberty: configure-target-libiberty
25137
25138 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25139 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
25140         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25141         rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
25142         cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
25143
25144 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
25145         @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
25146         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25147         r=`${PWD_COMMAND}`; export r; \
25148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25149         $(SET_LIB_PATH) \
25150         $(NORMAL_TARGET_EXPORTS) \
25151         echo Configuring in $(TARGET_SUBDIR)/libiberty; \
25152         cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
25153         case $(srcdir) in \
25154           /* | [A-Za-z]:[\\/]*) \
25155             topdir=$(srcdir) ;; \
25156           *) \
25157             case "$(TARGET_SUBDIR)" in \
25158               .) topdir="../$(srcdir)" ;; \
25159               *) topdir="../../$(srcdir)" ;; \
25160             esac ;; \
25161         esac; \
25162           srcdiroption="--srcdir=$${topdir}/libiberty"; \
25163           libsrcdir="$$s/libiberty"; \
25164         rm -f no-such-file || : ; \
25165         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25166           $(TARGET_CONFIGARGS) $${srcdiroption} \
25167           --with-target-subdir="$(TARGET_SUBDIR)"  \
25168           || exit 1
25169 @endif target-libiberty
25170
25171 .PHONY: all-target-libiberty maybe-all-target-libiberty
25172 maybe-all-target-libiberty:
25173 @if target-libiberty
25174 maybe-all-target-libiberty: all-target-libiberty
25175 all-target-libiberty: configure-target-libiberty
25176         @r=`${PWD_COMMAND}`; export r; \
25177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25178         $(SET_LIB_PATH) \
25179         $(NORMAL_TARGET_EXPORTS) \
25180         (cd $(TARGET_SUBDIR)/libiberty && \
25181           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
25182 @endif target-libiberty
25183
25184 .PHONY: check-target-libiberty maybe-check-target-libiberty
25185 maybe-check-target-libiberty:
25186 @if target-libiberty
25187 maybe-check-target-libiberty: check-target-libiberty
25188
25189 check-target-libiberty:
25190         @r=`${PWD_COMMAND}`; export r; \
25191         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25192         $(SET_LIB_PATH) \
25193         $(NORMAL_TARGET_EXPORTS) \
25194         (cd $(TARGET_SUBDIR)/libiberty && \
25195           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
25196
25197 @endif target-libiberty
25198
25199 .PHONY: install-target-libiberty maybe-install-target-libiberty
25200 maybe-install-target-libiberty:
25201 @if target-libiberty
25202 maybe-install-target-libiberty: install-target-libiberty
25203
25204 install-target-libiberty: installdirs
25205         @r=`${PWD_COMMAND}`; export r; \
25206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25207         $(SET_LIB_PATH) \
25208         $(NORMAL_TARGET_EXPORTS) \
25209         (cd $(TARGET_SUBDIR)/libiberty && \
25210           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25211
25212 @endif target-libiberty
25213
25214 # Other targets (info, dvi, etc.)
25215
25216 .PHONY: maybe-info-target-libiberty info-target-libiberty
25217 maybe-info-target-libiberty:
25218 @if target-libiberty
25219 maybe-info-target-libiberty: info-target-libiberty
25220
25221 info-target-libiberty: \
25222     configure-target-libiberty 
25223         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25224         r=`${PWD_COMMAND}`; export r; \
25225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25226         $(SET_LIB_PATH) \
25227         $(NORMAL_TARGET_EXPORTS) \
25228         echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
25229         for flag in $(EXTRA_TARGET_FLAGS); do \
25230           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25231         done; \
25232         (cd $(TARGET_SUBDIR)/libiberty && \
25233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25235                   "RANLIB=$${RANLIB}" \
25236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25237                    info) \
25238           || exit 1
25239
25240 @endif target-libiberty
25241
25242 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
25243 maybe-dvi-target-libiberty:
25244 @if target-libiberty
25245 maybe-dvi-target-libiberty: dvi-target-libiberty
25246
25247 dvi-target-libiberty: \
25248     configure-target-libiberty 
25249         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25250         r=`${PWD_COMMAND}`; export r; \
25251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252         $(SET_LIB_PATH) \
25253         $(NORMAL_TARGET_EXPORTS) \
25254         echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
25255         for flag in $(EXTRA_TARGET_FLAGS); do \
25256           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25257         done; \
25258         (cd $(TARGET_SUBDIR)/libiberty && \
25259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25261                   "RANLIB=$${RANLIB}" \
25262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25263                    dvi) \
25264           || exit 1
25265
25266 @endif target-libiberty
25267
25268 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
25269 maybe-TAGS-target-libiberty:
25270 @if target-libiberty
25271 maybe-TAGS-target-libiberty: TAGS-target-libiberty
25272
25273 TAGS-target-libiberty: \
25274     configure-target-libiberty 
25275         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25276         r=`${PWD_COMMAND}`; export r; \
25277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25278         $(SET_LIB_PATH) \
25279         $(NORMAL_TARGET_EXPORTS) \
25280         echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
25281         for flag in $(EXTRA_TARGET_FLAGS); do \
25282           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25283         done; \
25284         (cd $(TARGET_SUBDIR)/libiberty && \
25285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25287                   "RANLIB=$${RANLIB}" \
25288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25289                    TAGS) \
25290           || exit 1
25291
25292 @endif target-libiberty
25293
25294 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
25295 maybe-install-info-target-libiberty:
25296 @if target-libiberty
25297 maybe-install-info-target-libiberty: install-info-target-libiberty
25298
25299 install-info-target-libiberty: \
25300     configure-target-libiberty \
25301     info-target-libiberty 
25302         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25303         r=`${PWD_COMMAND}`; export r; \
25304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25305         $(SET_LIB_PATH) \
25306         $(NORMAL_TARGET_EXPORTS) \
25307         echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
25308         for flag in $(EXTRA_TARGET_FLAGS); do \
25309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25310         done; \
25311         (cd $(TARGET_SUBDIR)/libiberty && \
25312           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25313                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25314                   "RANLIB=$${RANLIB}" \
25315                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25316                    install-info) \
25317           || exit 1
25318
25319 @endif target-libiberty
25320
25321 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
25322 maybe-installcheck-target-libiberty:
25323 @if target-libiberty
25324 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25325
25326 installcheck-target-libiberty: \
25327     configure-target-libiberty 
25328         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25329         r=`${PWD_COMMAND}`; export r; \
25330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25331         $(SET_LIB_PATH) \
25332         $(NORMAL_TARGET_EXPORTS) \
25333         echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25334         for flag in $(EXTRA_TARGET_FLAGS); do \
25335           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25336         done; \
25337         (cd $(TARGET_SUBDIR)/libiberty && \
25338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25340                   "RANLIB=$${RANLIB}" \
25341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25342                    installcheck) \
25343           || exit 1
25344
25345 @endif target-libiberty
25346
25347 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25348 maybe-mostlyclean-target-libiberty:
25349 @if target-libiberty
25350 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25351
25352 mostlyclean-target-libiberty: 
25353         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25354         r=`${PWD_COMMAND}`; export r; \
25355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25356         $(SET_LIB_PATH) \
25357         $(NORMAL_TARGET_EXPORTS) \
25358         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25359         for flag in $(EXTRA_TARGET_FLAGS); do \
25360           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25361         done; \
25362         (cd $(TARGET_SUBDIR)/libiberty && \
25363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25365                   "RANLIB=$${RANLIB}" \
25366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25367                    mostlyclean) \
25368           || exit 1
25369
25370 @endif target-libiberty
25371
25372 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25373 maybe-clean-target-libiberty:
25374 @if target-libiberty
25375 maybe-clean-target-libiberty: clean-target-libiberty
25376
25377 clean-target-libiberty: 
25378         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25379         r=`${PWD_COMMAND}`; export r; \
25380         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25381         $(SET_LIB_PATH) \
25382         $(NORMAL_TARGET_EXPORTS) \
25383         echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25384         for flag in $(EXTRA_TARGET_FLAGS); do \
25385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25386         done; \
25387         (cd $(TARGET_SUBDIR)/libiberty && \
25388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25390                   "RANLIB=$${RANLIB}" \
25391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25392                    clean) \
25393           || exit 1
25394
25395 @endif target-libiberty
25396
25397 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25398 maybe-distclean-target-libiberty:
25399 @if target-libiberty
25400 maybe-distclean-target-libiberty: distclean-target-libiberty
25401
25402 distclean-target-libiberty: 
25403         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25404         r=`${PWD_COMMAND}`; export r; \
25405         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406         $(SET_LIB_PATH) \
25407         $(NORMAL_TARGET_EXPORTS) \
25408         echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25409         for flag in $(EXTRA_TARGET_FLAGS); do \
25410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25411         done; \
25412         (cd $(TARGET_SUBDIR)/libiberty && \
25413           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25414                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25415                   "RANLIB=$${RANLIB}" \
25416                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25417                    distclean) \
25418           || exit 1
25419
25420 @endif target-libiberty
25421
25422 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25423 maybe-maintainer-clean-target-libiberty:
25424 @if target-libiberty
25425 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25426
25427 maintainer-clean-target-libiberty: 
25428         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25429         r=`${PWD_COMMAND}`; export r; \
25430         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25431         $(SET_LIB_PATH) \
25432         $(NORMAL_TARGET_EXPORTS) \
25433         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25434         for flag in $(EXTRA_TARGET_FLAGS); do \
25435           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25436         done; \
25437         (cd $(TARGET_SUBDIR)/libiberty && \
25438           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25439                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25440                   "RANLIB=$${RANLIB}" \
25441                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25442                    maintainer-clean) \
25443           || exit 1
25444
25445 @endif target-libiberty
25446
25447
25448 .PHONY: configure-target-gperf maybe-configure-target-gperf
25449 maybe-configure-target-gperf:
25450 @if target-gperf
25451 maybe-configure-target-gperf: configure-target-gperf
25452
25453 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25454 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25455         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25456         rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25457         cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25458
25459 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25460         @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25461         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25462         r=`${PWD_COMMAND}`; export r; \
25463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25464         $(SET_LIB_PATH) \
25465         $(NORMAL_TARGET_EXPORTS) \
25466         echo Configuring in $(TARGET_SUBDIR)/gperf; \
25467         cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25468         case $(srcdir) in \
25469           /* | [A-Za-z]:[\\/]*) \
25470             topdir=$(srcdir) ;; \
25471           *) \
25472             case "$(TARGET_SUBDIR)" in \
25473               .) topdir="../$(srcdir)" ;; \
25474               *) topdir="../../$(srcdir)" ;; \
25475             esac ;; \
25476         esac; \
25477           srcdiroption="--srcdir=$${topdir}/gperf"; \
25478           libsrcdir="$$s/gperf"; \
25479         rm -f no-such-file || : ; \
25480         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25481           $(TARGET_CONFIGARGS) $${srcdiroption} \
25482           --with-target-subdir="$(TARGET_SUBDIR)"  \
25483           || exit 1
25484 @endif target-gperf
25485
25486 .PHONY: all-target-gperf maybe-all-target-gperf
25487 maybe-all-target-gperf:
25488 @if target-gperf
25489 maybe-all-target-gperf: all-target-gperf
25490 all-target-gperf: configure-target-gperf
25491         @r=`${PWD_COMMAND}`; export r; \
25492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25493         $(SET_LIB_PATH) \
25494         $(NORMAL_TARGET_EXPORTS) \
25495         (cd $(TARGET_SUBDIR)/gperf && \
25496           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
25497 @endif target-gperf
25498
25499 .PHONY: check-target-gperf maybe-check-target-gperf
25500 maybe-check-target-gperf:
25501 @if target-gperf
25502 maybe-check-target-gperf: check-target-gperf
25503
25504 check-target-gperf:
25505         @r=`${PWD_COMMAND}`; export r; \
25506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25507         $(SET_LIB_PATH) \
25508         $(NORMAL_TARGET_EXPORTS) \
25509         (cd $(TARGET_SUBDIR)/gperf && \
25510           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
25511
25512 @endif target-gperf
25513
25514 .PHONY: install-target-gperf maybe-install-target-gperf
25515 maybe-install-target-gperf:
25516 @if target-gperf
25517 maybe-install-target-gperf: install-target-gperf
25518
25519 install-target-gperf: installdirs
25520         @r=`${PWD_COMMAND}`; export r; \
25521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25522         $(SET_LIB_PATH) \
25523         $(NORMAL_TARGET_EXPORTS) \
25524         (cd $(TARGET_SUBDIR)/gperf && \
25525           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25526
25527 @endif target-gperf
25528
25529 # Other targets (info, dvi, etc.)
25530
25531 .PHONY: maybe-info-target-gperf info-target-gperf
25532 maybe-info-target-gperf:
25533 @if target-gperf
25534 maybe-info-target-gperf: info-target-gperf
25535
25536 info-target-gperf: \
25537     configure-target-gperf 
25538         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25539         r=`${PWD_COMMAND}`; export r; \
25540         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25541         $(SET_LIB_PATH) \
25542         $(NORMAL_TARGET_EXPORTS) \
25543         echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25544         for flag in $(EXTRA_TARGET_FLAGS); do \
25545           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25546         done; \
25547         (cd $(TARGET_SUBDIR)/gperf && \
25548           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25549                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25550                   "RANLIB=$${RANLIB}" \
25551                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25552                    info) \
25553           || exit 1
25554
25555 @endif target-gperf
25556
25557 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25558 maybe-dvi-target-gperf:
25559 @if target-gperf
25560 maybe-dvi-target-gperf: dvi-target-gperf
25561
25562 dvi-target-gperf: \
25563     configure-target-gperf 
25564         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25565         r=`${PWD_COMMAND}`; export r; \
25566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25567         $(SET_LIB_PATH) \
25568         $(NORMAL_TARGET_EXPORTS) \
25569         echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25570         for flag in $(EXTRA_TARGET_FLAGS); do \
25571           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25572         done; \
25573         (cd $(TARGET_SUBDIR)/gperf && \
25574           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25575                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25576                   "RANLIB=$${RANLIB}" \
25577                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25578                    dvi) \
25579           || exit 1
25580
25581 @endif target-gperf
25582
25583 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25584 maybe-TAGS-target-gperf:
25585 @if target-gperf
25586 maybe-TAGS-target-gperf: TAGS-target-gperf
25587
25588 TAGS-target-gperf: \
25589     configure-target-gperf 
25590         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25591         r=`${PWD_COMMAND}`; export r; \
25592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25593         $(SET_LIB_PATH) \
25594         $(NORMAL_TARGET_EXPORTS) \
25595         echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25596         for flag in $(EXTRA_TARGET_FLAGS); do \
25597           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25598         done; \
25599         (cd $(TARGET_SUBDIR)/gperf && \
25600           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25601                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25602                   "RANLIB=$${RANLIB}" \
25603                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25604                    TAGS) \
25605           || exit 1
25606
25607 @endif target-gperf
25608
25609 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25610 maybe-install-info-target-gperf:
25611 @if target-gperf
25612 maybe-install-info-target-gperf: install-info-target-gperf
25613
25614 install-info-target-gperf: \
25615     configure-target-gperf \
25616     info-target-gperf 
25617         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25618         r=`${PWD_COMMAND}`; export r; \
25619         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25620         $(SET_LIB_PATH) \
25621         $(NORMAL_TARGET_EXPORTS) \
25622         echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25623         for flag in $(EXTRA_TARGET_FLAGS); do \
25624           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25625         done; \
25626         (cd $(TARGET_SUBDIR)/gperf && \
25627           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25628                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25629                   "RANLIB=$${RANLIB}" \
25630                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25631                    install-info) \
25632           || exit 1
25633
25634 @endif target-gperf
25635
25636 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25637 maybe-installcheck-target-gperf:
25638 @if target-gperf
25639 maybe-installcheck-target-gperf: installcheck-target-gperf
25640
25641 installcheck-target-gperf: \
25642     configure-target-gperf 
25643         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25644         r=`${PWD_COMMAND}`; export r; \
25645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25646         $(SET_LIB_PATH) \
25647         $(NORMAL_TARGET_EXPORTS) \
25648         echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25649         for flag in $(EXTRA_TARGET_FLAGS); do \
25650           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25651         done; \
25652         (cd $(TARGET_SUBDIR)/gperf && \
25653           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25654                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25655                   "RANLIB=$${RANLIB}" \
25656                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25657                    installcheck) \
25658           || exit 1
25659
25660 @endif target-gperf
25661
25662 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25663 maybe-mostlyclean-target-gperf:
25664 @if target-gperf
25665 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25666
25667 mostlyclean-target-gperf: 
25668         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25669         r=`${PWD_COMMAND}`; export r; \
25670         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25671         $(SET_LIB_PATH) \
25672         $(NORMAL_TARGET_EXPORTS) \
25673         echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25674         for flag in $(EXTRA_TARGET_FLAGS); do \
25675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25676         done; \
25677         (cd $(TARGET_SUBDIR)/gperf && \
25678           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25679                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25680                   "RANLIB=$${RANLIB}" \
25681                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25682                    mostlyclean) \
25683           || exit 1
25684
25685 @endif target-gperf
25686
25687 .PHONY: maybe-clean-target-gperf clean-target-gperf
25688 maybe-clean-target-gperf:
25689 @if target-gperf
25690 maybe-clean-target-gperf: clean-target-gperf
25691
25692 clean-target-gperf: 
25693         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25694         r=`${PWD_COMMAND}`; export r; \
25695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25696         $(SET_LIB_PATH) \
25697         $(NORMAL_TARGET_EXPORTS) \
25698         echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25699         for flag in $(EXTRA_TARGET_FLAGS); do \
25700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25701         done; \
25702         (cd $(TARGET_SUBDIR)/gperf && \
25703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25705                   "RANLIB=$${RANLIB}" \
25706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25707                    clean) \
25708           || exit 1
25709
25710 @endif target-gperf
25711
25712 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25713 maybe-distclean-target-gperf:
25714 @if target-gperf
25715 maybe-distclean-target-gperf: distclean-target-gperf
25716
25717 distclean-target-gperf: 
25718         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25719         r=`${PWD_COMMAND}`; export r; \
25720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25721         $(SET_LIB_PATH) \
25722         $(NORMAL_TARGET_EXPORTS) \
25723         echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25724         for flag in $(EXTRA_TARGET_FLAGS); do \
25725           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25726         done; \
25727         (cd $(TARGET_SUBDIR)/gperf && \
25728           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25729                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25730                   "RANLIB=$${RANLIB}" \
25731                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25732                    distclean) \
25733           || exit 1
25734
25735 @endif target-gperf
25736
25737 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25738 maybe-maintainer-clean-target-gperf:
25739 @if target-gperf
25740 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25741
25742 maintainer-clean-target-gperf: 
25743         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25744         r=`${PWD_COMMAND}`; export r; \
25745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25746         $(SET_LIB_PATH) \
25747         $(NORMAL_TARGET_EXPORTS) \
25748         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25749         for flag in $(EXTRA_TARGET_FLAGS); do \
25750           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25751         done; \
25752         (cd $(TARGET_SUBDIR)/gperf && \
25753           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25754                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25755                   "RANLIB=$${RANLIB}" \
25756                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25757                    maintainer-clean) \
25758           || exit 1
25759
25760 @endif target-gperf
25761
25762
25763 .PHONY: configure-target-examples maybe-configure-target-examples
25764 maybe-configure-target-examples:
25765 @if target-examples
25766 maybe-configure-target-examples: configure-target-examples
25767
25768 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25769 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25770         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25771         rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25772         cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25773
25774 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25775         @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25776         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25777         r=`${PWD_COMMAND}`; export r; \
25778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779         $(SET_LIB_PATH) \
25780         $(NORMAL_TARGET_EXPORTS) \
25781         echo Configuring in $(TARGET_SUBDIR)/examples; \
25782         cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25783         case $(srcdir) in \
25784           /* | [A-Za-z]:[\\/]*) \
25785             topdir=$(srcdir) ;; \
25786           *) \
25787             case "$(TARGET_SUBDIR)" in \
25788               .) topdir="../$(srcdir)" ;; \
25789               *) topdir="../../$(srcdir)" ;; \
25790             esac ;; \
25791         esac; \
25792           srcdiroption="--srcdir=$${topdir}/examples"; \
25793           libsrcdir="$$s/examples"; \
25794         rm -f no-such-file || : ; \
25795         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25796           $(TARGET_CONFIGARGS) $${srcdiroption} \
25797           --with-target-subdir="$(TARGET_SUBDIR)"  \
25798           || exit 1
25799 @endif target-examples
25800
25801 .PHONY: all-target-examples maybe-all-target-examples
25802 maybe-all-target-examples:
25803 @if target-examples
25804 maybe-all-target-examples: all-target-examples
25805 all-target-examples: configure-target-examples
25806         @r=`${PWD_COMMAND}`; export r; \
25807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25808         $(SET_LIB_PATH) \
25809         $(NORMAL_TARGET_EXPORTS) \
25810         (cd $(TARGET_SUBDIR)/examples && \
25811           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
25812 @endif target-examples
25813
25814 .PHONY: check-target-examples maybe-check-target-examples
25815 maybe-check-target-examples:
25816 @if target-examples
25817 maybe-check-target-examples: check-target-examples
25818
25819 # Dummy target for uncheckable module.
25820 check-target-examples:
25821
25822 @endif target-examples
25823
25824 .PHONY: install-target-examples maybe-install-target-examples
25825 maybe-install-target-examples:
25826 @if target-examples
25827 maybe-install-target-examples: install-target-examples
25828
25829 # Dummy target for uninstallable.
25830 install-target-examples:
25831
25832 @endif target-examples
25833
25834 # Other targets (info, dvi, etc.)
25835
25836 .PHONY: maybe-info-target-examples info-target-examples
25837 maybe-info-target-examples:
25838 @if target-examples
25839 maybe-info-target-examples: info-target-examples
25840
25841 info-target-examples: \
25842     configure-target-examples 
25843         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25844         r=`${PWD_COMMAND}`; export r; \
25845         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25846         $(SET_LIB_PATH) \
25847         $(NORMAL_TARGET_EXPORTS) \
25848         echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25849         for flag in $(EXTRA_TARGET_FLAGS); do \
25850           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25851         done; \
25852         (cd $(TARGET_SUBDIR)/examples && \
25853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25855                   "RANLIB=$${RANLIB}" \
25856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25857                    info) \
25858           || exit 1
25859
25860 @endif target-examples
25861
25862 .PHONY: maybe-dvi-target-examples dvi-target-examples
25863 maybe-dvi-target-examples:
25864 @if target-examples
25865 maybe-dvi-target-examples: dvi-target-examples
25866
25867 dvi-target-examples: \
25868     configure-target-examples 
25869         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25870         r=`${PWD_COMMAND}`; export r; \
25871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25872         $(SET_LIB_PATH) \
25873         $(NORMAL_TARGET_EXPORTS) \
25874         echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25875         for flag in $(EXTRA_TARGET_FLAGS); do \
25876           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25877         done; \
25878         (cd $(TARGET_SUBDIR)/examples && \
25879           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25880                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25881                   "RANLIB=$${RANLIB}" \
25882                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25883                    dvi) \
25884           || exit 1
25885
25886 @endif target-examples
25887
25888 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25889 maybe-TAGS-target-examples:
25890 @if target-examples
25891 maybe-TAGS-target-examples: TAGS-target-examples
25892
25893 TAGS-target-examples: \
25894     configure-target-examples 
25895         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25896         r=`${PWD_COMMAND}`; export r; \
25897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25898         $(SET_LIB_PATH) \
25899         $(NORMAL_TARGET_EXPORTS) \
25900         echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25901         for flag in $(EXTRA_TARGET_FLAGS); do \
25902           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25903         done; \
25904         (cd $(TARGET_SUBDIR)/examples && \
25905           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25906                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25907                   "RANLIB=$${RANLIB}" \
25908                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25909                    TAGS) \
25910           || exit 1
25911
25912 @endif target-examples
25913
25914 .PHONY: maybe-install-info-target-examples install-info-target-examples
25915 maybe-install-info-target-examples:
25916 @if target-examples
25917 maybe-install-info-target-examples: install-info-target-examples
25918
25919 install-info-target-examples: \
25920     configure-target-examples \
25921     info-target-examples 
25922         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25923         r=`${PWD_COMMAND}`; export r; \
25924         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25925         $(SET_LIB_PATH) \
25926         $(NORMAL_TARGET_EXPORTS) \
25927         echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25928         for flag in $(EXTRA_TARGET_FLAGS); do \
25929           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25930         done; \
25931         (cd $(TARGET_SUBDIR)/examples && \
25932           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25933                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25934                   "RANLIB=$${RANLIB}" \
25935                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25936                    install-info) \
25937           || exit 1
25938
25939 @endif target-examples
25940
25941 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25942 maybe-installcheck-target-examples:
25943 @if target-examples
25944 maybe-installcheck-target-examples: installcheck-target-examples
25945
25946 installcheck-target-examples: \
25947     configure-target-examples 
25948         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25949         r=`${PWD_COMMAND}`; export r; \
25950         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25951         $(SET_LIB_PATH) \
25952         $(NORMAL_TARGET_EXPORTS) \
25953         echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25954         for flag in $(EXTRA_TARGET_FLAGS); do \
25955           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25956         done; \
25957         (cd $(TARGET_SUBDIR)/examples && \
25958           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25959                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25960                   "RANLIB=$${RANLIB}" \
25961                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25962                    installcheck) \
25963           || exit 1
25964
25965 @endif target-examples
25966
25967 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25968 maybe-mostlyclean-target-examples:
25969 @if target-examples
25970 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25971
25972 mostlyclean-target-examples: 
25973         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25974         r=`${PWD_COMMAND}`; export r; \
25975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976         $(SET_LIB_PATH) \
25977         $(NORMAL_TARGET_EXPORTS) \
25978         echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25979         for flag in $(EXTRA_TARGET_FLAGS); do \
25980           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25981         done; \
25982         (cd $(TARGET_SUBDIR)/examples && \
25983           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25984                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25985                   "RANLIB=$${RANLIB}" \
25986                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25987                    mostlyclean) \
25988           || exit 1
25989
25990 @endif target-examples
25991
25992 .PHONY: maybe-clean-target-examples clean-target-examples
25993 maybe-clean-target-examples:
25994 @if target-examples
25995 maybe-clean-target-examples: clean-target-examples
25996
25997 clean-target-examples: 
25998         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25999         r=`${PWD_COMMAND}`; export r; \
26000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26001         $(SET_LIB_PATH) \
26002         $(NORMAL_TARGET_EXPORTS) \
26003         echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
26004         for flag in $(EXTRA_TARGET_FLAGS); do \
26005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26006         done; \
26007         (cd $(TARGET_SUBDIR)/examples && \
26008           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26009                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26010                   "RANLIB=$${RANLIB}" \
26011                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26012                    clean) \
26013           || exit 1
26014
26015 @endif target-examples
26016
26017 .PHONY: maybe-distclean-target-examples distclean-target-examples
26018 maybe-distclean-target-examples:
26019 @if target-examples
26020 maybe-distclean-target-examples: distclean-target-examples
26021
26022 distclean-target-examples: 
26023         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26024         r=`${PWD_COMMAND}`; export r; \
26025         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26026         $(SET_LIB_PATH) \
26027         $(NORMAL_TARGET_EXPORTS) \
26028         echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
26029         for flag in $(EXTRA_TARGET_FLAGS); do \
26030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26031         done; \
26032         (cd $(TARGET_SUBDIR)/examples && \
26033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26035                   "RANLIB=$${RANLIB}" \
26036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26037                    distclean) \
26038           || exit 1
26039
26040 @endif target-examples
26041
26042 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
26043 maybe-maintainer-clean-target-examples:
26044 @if target-examples
26045 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
26046
26047 maintainer-clean-target-examples: 
26048         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26049         r=`${PWD_COMMAND}`; export r; \
26050         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26051         $(SET_LIB_PATH) \
26052         $(NORMAL_TARGET_EXPORTS) \
26053         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
26054         for flag in $(EXTRA_TARGET_FLAGS); do \
26055           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26056         done; \
26057         (cd $(TARGET_SUBDIR)/examples && \
26058           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26059                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26060                   "RANLIB=$${RANLIB}" \
26061                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26062                    maintainer-clean) \
26063           || exit 1
26064
26065 @endif target-examples
26066
26067
26068 .PHONY: configure-target-libffi maybe-configure-target-libffi
26069 maybe-configure-target-libffi:
26070 @if target-libffi
26071 maybe-configure-target-libffi: configure-target-libffi
26072
26073 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26074 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
26075         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26076         rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
26077         cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
26078
26079 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
26080         @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
26081         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26082         r=`${PWD_COMMAND}`; export r; \
26083         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26084         $(SET_LIB_PATH) \
26085         $(NORMAL_TARGET_EXPORTS) \
26086         echo Configuring in $(TARGET_SUBDIR)/libffi; \
26087         cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
26088         case $(srcdir) in \
26089           /* | [A-Za-z]:[\\/]*) \
26090             topdir=$(srcdir) ;; \
26091           *) \
26092             case "$(TARGET_SUBDIR)" in \
26093               .) topdir="../$(srcdir)" ;; \
26094               *) topdir="../../$(srcdir)" ;; \
26095             esac ;; \
26096         esac; \
26097           srcdiroption="--srcdir=$${topdir}/libffi"; \
26098           libsrcdir="$$s/libffi"; \
26099         rm -f no-such-file || : ; \
26100         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26101           $(TARGET_CONFIGARGS) $${srcdiroption} \
26102           --with-target-subdir="$(TARGET_SUBDIR)"  \
26103           || exit 1
26104 @endif target-libffi
26105
26106 .PHONY: all-target-libffi maybe-all-target-libffi
26107 maybe-all-target-libffi:
26108 @if target-libffi
26109 maybe-all-target-libffi: all-target-libffi
26110 all-target-libffi: configure-target-libffi
26111         @r=`${PWD_COMMAND}`; export r; \
26112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26113         $(SET_LIB_PATH) \
26114         $(NORMAL_TARGET_EXPORTS) \
26115         (cd $(TARGET_SUBDIR)/libffi && \
26116           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
26117 @endif target-libffi
26118
26119 .PHONY: check-target-libffi maybe-check-target-libffi
26120 maybe-check-target-libffi:
26121 @if target-libffi
26122 maybe-check-target-libffi: check-target-libffi
26123
26124 check-target-libffi:
26125         @r=`${PWD_COMMAND}`; export r; \
26126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26127         $(SET_LIB_PATH) \
26128         $(NORMAL_TARGET_EXPORTS) \
26129         (cd $(TARGET_SUBDIR)/libffi && \
26130           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26131
26132 @endif target-libffi
26133
26134 .PHONY: install-target-libffi maybe-install-target-libffi
26135 maybe-install-target-libffi:
26136 @if target-libffi
26137 maybe-install-target-libffi: install-target-libffi
26138
26139 install-target-libffi: installdirs
26140         @r=`${PWD_COMMAND}`; export r; \
26141         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26142         $(SET_LIB_PATH) \
26143         $(NORMAL_TARGET_EXPORTS) \
26144         (cd $(TARGET_SUBDIR)/libffi && \
26145           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26146
26147 @endif target-libffi
26148
26149 # Other targets (info, dvi, etc.)
26150
26151 .PHONY: maybe-info-target-libffi info-target-libffi
26152 maybe-info-target-libffi:
26153 @if target-libffi
26154 maybe-info-target-libffi: info-target-libffi
26155
26156 info-target-libffi: \
26157     configure-target-libffi 
26158         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26159         r=`${PWD_COMMAND}`; export r; \
26160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26161         $(SET_LIB_PATH) \
26162         $(NORMAL_TARGET_EXPORTS) \
26163         echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
26164         for flag in $(EXTRA_TARGET_FLAGS); do \
26165           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26166         done; \
26167         (cd $(TARGET_SUBDIR)/libffi && \
26168           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26169                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26170                   "RANLIB=$${RANLIB}" \
26171                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26172                    info) \
26173           || exit 1
26174
26175 @endif target-libffi
26176
26177 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
26178 maybe-dvi-target-libffi:
26179 @if target-libffi
26180 maybe-dvi-target-libffi: dvi-target-libffi
26181
26182 dvi-target-libffi: \
26183     configure-target-libffi 
26184         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26185         r=`${PWD_COMMAND}`; export r; \
26186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26187         $(SET_LIB_PATH) \
26188         $(NORMAL_TARGET_EXPORTS) \
26189         echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
26190         for flag in $(EXTRA_TARGET_FLAGS); do \
26191           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26192         done; \
26193         (cd $(TARGET_SUBDIR)/libffi && \
26194           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26195                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26196                   "RANLIB=$${RANLIB}" \
26197                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26198                    dvi) \
26199           || exit 1
26200
26201 @endif target-libffi
26202
26203 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
26204 maybe-TAGS-target-libffi:
26205 @if target-libffi
26206 maybe-TAGS-target-libffi: TAGS-target-libffi
26207
26208 TAGS-target-libffi: \
26209     configure-target-libffi 
26210         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26211         r=`${PWD_COMMAND}`; export r; \
26212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26213         $(SET_LIB_PATH) \
26214         $(NORMAL_TARGET_EXPORTS) \
26215         echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
26216         for flag in $(EXTRA_TARGET_FLAGS); do \
26217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26218         done; \
26219         (cd $(TARGET_SUBDIR)/libffi && \
26220           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26221                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26222                   "RANLIB=$${RANLIB}" \
26223                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26224                    TAGS) \
26225           || exit 1
26226
26227 @endif target-libffi
26228
26229 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
26230 maybe-install-info-target-libffi:
26231 @if target-libffi
26232 maybe-install-info-target-libffi: install-info-target-libffi
26233
26234 install-info-target-libffi: \
26235     configure-target-libffi \
26236     info-target-libffi 
26237         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26238         r=`${PWD_COMMAND}`; export r; \
26239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240         $(SET_LIB_PATH) \
26241         $(NORMAL_TARGET_EXPORTS) \
26242         echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
26243         for flag in $(EXTRA_TARGET_FLAGS); do \
26244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26245         done; \
26246         (cd $(TARGET_SUBDIR)/libffi && \
26247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26249                   "RANLIB=$${RANLIB}" \
26250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26251                    install-info) \
26252           || exit 1
26253
26254 @endif target-libffi
26255
26256 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
26257 maybe-installcheck-target-libffi:
26258 @if target-libffi
26259 maybe-installcheck-target-libffi: installcheck-target-libffi
26260
26261 installcheck-target-libffi: \
26262     configure-target-libffi 
26263         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26264         r=`${PWD_COMMAND}`; export r; \
26265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26266         $(SET_LIB_PATH) \
26267         $(NORMAL_TARGET_EXPORTS) \
26268         echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
26269         for flag in $(EXTRA_TARGET_FLAGS); do \
26270           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26271         done; \
26272         (cd $(TARGET_SUBDIR)/libffi && \
26273           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26274                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26275                   "RANLIB=$${RANLIB}" \
26276                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26277                    installcheck) \
26278           || exit 1
26279
26280 @endif target-libffi
26281
26282 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
26283 maybe-mostlyclean-target-libffi:
26284 @if target-libffi
26285 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
26286
26287 mostlyclean-target-libffi: 
26288         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26289         r=`${PWD_COMMAND}`; export r; \
26290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26291         $(SET_LIB_PATH) \
26292         $(NORMAL_TARGET_EXPORTS) \
26293         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
26294         for flag in $(EXTRA_TARGET_FLAGS); do \
26295           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26296         done; \
26297         (cd $(TARGET_SUBDIR)/libffi && \
26298           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26299                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26300                   "RANLIB=$${RANLIB}" \
26301                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26302                    mostlyclean) \
26303           || exit 1
26304
26305 @endif target-libffi
26306
26307 .PHONY: maybe-clean-target-libffi clean-target-libffi
26308 maybe-clean-target-libffi:
26309 @if target-libffi
26310 maybe-clean-target-libffi: clean-target-libffi
26311
26312 clean-target-libffi: 
26313         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26314         r=`${PWD_COMMAND}`; export r; \
26315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26316         $(SET_LIB_PATH) \
26317         $(NORMAL_TARGET_EXPORTS) \
26318         echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
26319         for flag in $(EXTRA_TARGET_FLAGS); do \
26320           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26321         done; \
26322         (cd $(TARGET_SUBDIR)/libffi && \
26323           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26324                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26325                   "RANLIB=$${RANLIB}" \
26326                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26327                    clean) \
26328           || exit 1
26329
26330 @endif target-libffi
26331
26332 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26333 maybe-distclean-target-libffi:
26334 @if target-libffi
26335 maybe-distclean-target-libffi: distclean-target-libffi
26336
26337 distclean-target-libffi: 
26338         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26339         r=`${PWD_COMMAND}`; export r; \
26340         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26341         $(SET_LIB_PATH) \
26342         $(NORMAL_TARGET_EXPORTS) \
26343         echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26344         for flag in $(EXTRA_TARGET_FLAGS); do \
26345           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26346         done; \
26347         (cd $(TARGET_SUBDIR)/libffi && \
26348           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26349                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26350                   "RANLIB=$${RANLIB}" \
26351                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26352                    distclean) \
26353           || exit 1
26354
26355 @endif target-libffi
26356
26357 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26358 maybe-maintainer-clean-target-libffi:
26359 @if target-libffi
26360 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26361
26362 maintainer-clean-target-libffi: 
26363         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26364         r=`${PWD_COMMAND}`; export r; \
26365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26366         $(SET_LIB_PATH) \
26367         $(NORMAL_TARGET_EXPORTS) \
26368         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26369         for flag in $(EXTRA_TARGET_FLAGS); do \
26370           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26371         done; \
26372         (cd $(TARGET_SUBDIR)/libffi && \
26373           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26374                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26375                   "RANLIB=$${RANLIB}" \
26376                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26377                    maintainer-clean) \
26378           || exit 1
26379
26380 @endif target-libffi
26381
26382
26383 .PHONY: configure-target-libjava maybe-configure-target-libjava
26384 maybe-configure-target-libjava:
26385 @if target-libjava
26386 maybe-configure-target-libjava: configure-target-libjava
26387
26388 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26389 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26390         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26391         rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26392         cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26393
26394 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26395         @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26396         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26397         r=`${PWD_COMMAND}`; export r; \
26398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26399         $(SET_LIB_PATH) \
26400         $(RAW_CXX_TARGET_EXPORTS) \
26401         echo Configuring in $(TARGET_SUBDIR)/libjava; \
26402         cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26403         case $(srcdir) in \
26404           /* | [A-Za-z]:[\\/]*) \
26405             topdir=$(srcdir) ;; \
26406           *) \
26407             case "$(TARGET_SUBDIR)" in \
26408               .) topdir="../$(srcdir)" ;; \
26409               *) topdir="../../$(srcdir)" ;; \
26410             esac ;; \
26411         esac; \
26412           srcdiroption="--srcdir=$${topdir}/libjava"; \
26413           libsrcdir="$$s/libjava"; \
26414         rm -f no-such-file || : ; \
26415         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26416           $(TARGET_CONFIGARGS) $${srcdiroption} \
26417           --with-target-subdir="$(TARGET_SUBDIR)"  \
26418           || exit 1
26419 @endif target-libjava
26420
26421 .PHONY: all-target-libjava maybe-all-target-libjava
26422 maybe-all-target-libjava:
26423 @if target-libjava
26424 maybe-all-target-libjava: all-target-libjava
26425 all-target-libjava: configure-target-libjava
26426         @r=`${PWD_COMMAND}`; export r; \
26427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26428         $(SET_LIB_PATH) \
26429         $(RAW_CXX_TARGET_EXPORTS) \
26430         (cd $(TARGET_SUBDIR)/libjava && \
26431           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   all)
26432 @endif target-libjava
26433
26434 .PHONY: check-target-libjava maybe-check-target-libjava
26435 maybe-check-target-libjava:
26436 @if target-libjava
26437 maybe-check-target-libjava: check-target-libjava
26438
26439 check-target-libjava:
26440         @r=`${PWD_COMMAND}`; export r; \
26441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26442         $(SET_LIB_PATH) \
26443         $(RAW_CXX_TARGET_EXPORTS) \
26444         (cd $(TARGET_SUBDIR)/libjava && \
26445           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
26446
26447 @endif target-libjava
26448
26449 .PHONY: install-target-libjava maybe-install-target-libjava
26450 maybe-install-target-libjava:
26451 @if target-libjava
26452 maybe-install-target-libjava: install-target-libjava
26453
26454 install-target-libjava: installdirs
26455         @r=`${PWD_COMMAND}`; export r; \
26456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26457         $(SET_LIB_PATH) \
26458         $(RAW_CXX_TARGET_EXPORTS) \
26459         (cd $(TARGET_SUBDIR)/libjava && \
26460           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26461
26462 @endif target-libjava
26463
26464 # Other targets (info, dvi, etc.)
26465
26466 .PHONY: maybe-info-target-libjava info-target-libjava
26467 maybe-info-target-libjava:
26468 @if target-libjava
26469 maybe-info-target-libjava: info-target-libjava
26470
26471 info-target-libjava: \
26472     configure-target-libjava 
26473         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26474         r=`${PWD_COMMAND}`; export r; \
26475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26476         $(SET_LIB_PATH) \
26477         $(RAW_CXX_TARGET_EXPORTS) \
26478         echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26479         for flag in $(EXTRA_TARGET_FLAGS); do \
26480           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26481         done; \
26482         (cd $(TARGET_SUBDIR)/libjava && \
26483           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26484                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26485                   "RANLIB=$${RANLIB}" \
26486                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26487                    info) \
26488           || exit 1
26489
26490 @endif target-libjava
26491
26492 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26493 maybe-dvi-target-libjava:
26494 @if target-libjava
26495 maybe-dvi-target-libjava: dvi-target-libjava
26496
26497 dvi-target-libjava: \
26498     configure-target-libjava 
26499         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26500         r=`${PWD_COMMAND}`; export r; \
26501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26502         $(SET_LIB_PATH) \
26503         $(RAW_CXX_TARGET_EXPORTS) \
26504         echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26505         for flag in $(EXTRA_TARGET_FLAGS); do \
26506           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26507         done; \
26508         (cd $(TARGET_SUBDIR)/libjava && \
26509           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26510                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26511                   "RANLIB=$${RANLIB}" \
26512                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26513                    dvi) \
26514           || exit 1
26515
26516 @endif target-libjava
26517
26518 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26519 maybe-TAGS-target-libjava:
26520 @if target-libjava
26521 maybe-TAGS-target-libjava: TAGS-target-libjava
26522
26523 TAGS-target-libjava: \
26524     configure-target-libjava 
26525         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26526         r=`${PWD_COMMAND}`; export r; \
26527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26528         $(SET_LIB_PATH) \
26529         $(RAW_CXX_TARGET_EXPORTS) \
26530         echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26531         for flag in $(EXTRA_TARGET_FLAGS); do \
26532           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26533         done; \
26534         (cd $(TARGET_SUBDIR)/libjava && \
26535           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26536                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26537                   "RANLIB=$${RANLIB}" \
26538                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26539                    TAGS) \
26540           || exit 1
26541
26542 @endif target-libjava
26543
26544 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26545 maybe-install-info-target-libjava:
26546 @if target-libjava
26547 maybe-install-info-target-libjava: install-info-target-libjava
26548
26549 install-info-target-libjava: \
26550     configure-target-libjava \
26551     info-target-libjava 
26552         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26553         r=`${PWD_COMMAND}`; export r; \
26554         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26555         $(SET_LIB_PATH) \
26556         $(RAW_CXX_TARGET_EXPORTS) \
26557         echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26558         for flag in $(EXTRA_TARGET_FLAGS); do \
26559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26560         done; \
26561         (cd $(TARGET_SUBDIR)/libjava && \
26562           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26563                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26564                   "RANLIB=$${RANLIB}" \
26565                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26566                    install-info) \
26567           || exit 1
26568
26569 @endif target-libjava
26570
26571 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26572 maybe-installcheck-target-libjava:
26573 @if target-libjava
26574 maybe-installcheck-target-libjava: installcheck-target-libjava
26575
26576 installcheck-target-libjava: \
26577     configure-target-libjava 
26578         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26579         r=`${PWD_COMMAND}`; export r; \
26580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26581         $(SET_LIB_PATH) \
26582         $(RAW_CXX_TARGET_EXPORTS) \
26583         echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26584         for flag in $(EXTRA_TARGET_FLAGS); do \
26585           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26586         done; \
26587         (cd $(TARGET_SUBDIR)/libjava && \
26588           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26589                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26590                   "RANLIB=$${RANLIB}" \
26591                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26592                    installcheck) \
26593           || exit 1
26594
26595 @endif target-libjava
26596
26597 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26598 maybe-mostlyclean-target-libjava:
26599 @if target-libjava
26600 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26601
26602 mostlyclean-target-libjava: 
26603         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26604         r=`${PWD_COMMAND}`; export r; \
26605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26606         $(SET_LIB_PATH) \
26607         $(RAW_CXX_TARGET_EXPORTS) \
26608         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26609         for flag in $(EXTRA_TARGET_FLAGS); do \
26610           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26611         done; \
26612         (cd $(TARGET_SUBDIR)/libjava && \
26613           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26614                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26615                   "RANLIB=$${RANLIB}" \
26616                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26617                    mostlyclean) \
26618           || exit 1
26619
26620 @endif target-libjava
26621
26622 .PHONY: maybe-clean-target-libjava clean-target-libjava
26623 maybe-clean-target-libjava:
26624 @if target-libjava
26625 maybe-clean-target-libjava: clean-target-libjava
26626
26627 clean-target-libjava: 
26628         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26629         r=`${PWD_COMMAND}`; export r; \
26630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631         $(SET_LIB_PATH) \
26632         $(RAW_CXX_TARGET_EXPORTS) \
26633         echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26634         for flag in $(EXTRA_TARGET_FLAGS); do \
26635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26636         done; \
26637         (cd $(TARGET_SUBDIR)/libjava && \
26638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26640                   "RANLIB=$${RANLIB}" \
26641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26642                    clean) \
26643           || exit 1
26644
26645 @endif target-libjava
26646
26647 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26648 maybe-distclean-target-libjava:
26649 @if target-libjava
26650 maybe-distclean-target-libjava: distclean-target-libjava
26651
26652 distclean-target-libjava: 
26653         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26654         r=`${PWD_COMMAND}`; export r; \
26655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26656         $(SET_LIB_PATH) \
26657         $(RAW_CXX_TARGET_EXPORTS) \
26658         echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26659         for flag in $(EXTRA_TARGET_FLAGS); do \
26660           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26661         done; \
26662         (cd $(TARGET_SUBDIR)/libjava && \
26663           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26664                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26665                   "RANLIB=$${RANLIB}" \
26666                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26667                    distclean) \
26668           || exit 1
26669
26670 @endif target-libjava
26671
26672 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26673 maybe-maintainer-clean-target-libjava:
26674 @if target-libjava
26675 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26676
26677 maintainer-clean-target-libjava: 
26678         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26679         r=`${PWD_COMMAND}`; export r; \
26680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26681         $(SET_LIB_PATH) \
26682         $(RAW_CXX_TARGET_EXPORTS) \
26683         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26684         for flag in $(EXTRA_TARGET_FLAGS); do \
26685           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26686         done; \
26687         (cd $(TARGET_SUBDIR)/libjava && \
26688           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26689                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26690                   "RANLIB=$${RANLIB}" \
26691                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26692                    maintainer-clean) \
26693           || exit 1
26694
26695 @endif target-libjava
26696
26697
26698 .PHONY: configure-target-zlib maybe-configure-target-zlib
26699 maybe-configure-target-zlib:
26700 @if target-zlib
26701 maybe-configure-target-zlib: configure-target-zlib
26702
26703 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26704 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26705         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26706         rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26707         cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26708
26709 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26710         @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26711         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26712         r=`${PWD_COMMAND}`; export r; \
26713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26714         $(SET_LIB_PATH) \
26715         $(NORMAL_TARGET_EXPORTS) \
26716         echo Configuring in $(TARGET_SUBDIR)/zlib; \
26717         cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26718         case $(srcdir) in \
26719           /* | [A-Za-z]:[\\/]*) \
26720             topdir=$(srcdir) ;; \
26721           *) \
26722             case "$(TARGET_SUBDIR)" in \
26723               .) topdir="../$(srcdir)" ;; \
26724               *) topdir="../../$(srcdir)" ;; \
26725             esac ;; \
26726         esac; \
26727         if [ "$(srcdir)" = "." ] ; then \
26728           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26729             if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26730               if [ -f Makefile ]; then \
26731                 if $(MAKE) distclean; then \
26732                   true; \
26733                 else \
26734                   exit 1; \
26735                 fi; \
26736               else \
26737                 true; \
26738               fi; \
26739             else \
26740               exit 1; \
26741             fi; \
26742           else \
26743             true; \
26744           fi; \
26745           srcdiroption="--srcdir=."; \
26746           libsrcdir="."; \
26747         else \
26748           srcdiroption="--srcdir=$${topdir}/zlib"; \
26749           libsrcdir="$$s/zlib"; \
26750         fi; \
26751         rm -f no-such-file || : ; \
26752         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26753           $(TARGET_CONFIGARGS) $${srcdiroption} \
26754           --with-target-subdir="$(TARGET_SUBDIR)"  \
26755           || exit 1
26756 @endif target-zlib
26757
26758 .PHONY: all-target-zlib maybe-all-target-zlib
26759 maybe-all-target-zlib:
26760 @if target-zlib
26761 maybe-all-target-zlib: all-target-zlib
26762 all-target-zlib: configure-target-zlib
26763         @r=`${PWD_COMMAND}`; export r; \
26764         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26765         $(SET_LIB_PATH) \
26766         $(NORMAL_TARGET_EXPORTS) \
26767         (cd $(TARGET_SUBDIR)/zlib && \
26768           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
26769 @endif target-zlib
26770
26771 .PHONY: check-target-zlib maybe-check-target-zlib
26772 maybe-check-target-zlib:
26773 @if target-zlib
26774 maybe-check-target-zlib: check-target-zlib
26775
26776 check-target-zlib:
26777         @r=`${PWD_COMMAND}`; export r; \
26778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779         $(SET_LIB_PATH) \
26780         $(NORMAL_TARGET_EXPORTS) \
26781         (cd $(TARGET_SUBDIR)/zlib && \
26782           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26783
26784 @endif target-zlib
26785
26786 .PHONY: install-target-zlib maybe-install-target-zlib
26787 maybe-install-target-zlib:
26788 @if target-zlib
26789 maybe-install-target-zlib: install-target-zlib
26790
26791 install-target-zlib: installdirs
26792         @r=`${PWD_COMMAND}`; export r; \
26793         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26794         $(SET_LIB_PATH) \
26795         $(NORMAL_TARGET_EXPORTS) \
26796         (cd $(TARGET_SUBDIR)/zlib && \
26797           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26798
26799 @endif target-zlib
26800
26801 # Other targets (info, dvi, etc.)
26802
26803 .PHONY: maybe-info-target-zlib info-target-zlib
26804 maybe-info-target-zlib:
26805 @if target-zlib
26806 maybe-info-target-zlib: info-target-zlib
26807
26808 info-target-zlib: \
26809     configure-target-zlib 
26810         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26811         r=`${PWD_COMMAND}`; export r; \
26812         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26813         $(SET_LIB_PATH) \
26814         $(NORMAL_TARGET_EXPORTS) \
26815         echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26816         for flag in $(EXTRA_TARGET_FLAGS); do \
26817           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26818         done; \
26819         (cd $(TARGET_SUBDIR)/zlib && \
26820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26822                   "RANLIB=$${RANLIB}" \
26823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26824                    info) \
26825           || exit 1
26826
26827 @endif target-zlib
26828
26829 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26830 maybe-dvi-target-zlib:
26831 @if target-zlib
26832 maybe-dvi-target-zlib: dvi-target-zlib
26833
26834 dvi-target-zlib: \
26835     configure-target-zlib 
26836         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26837         r=`${PWD_COMMAND}`; export r; \
26838         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26839         $(SET_LIB_PATH) \
26840         $(NORMAL_TARGET_EXPORTS) \
26841         echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26842         for flag in $(EXTRA_TARGET_FLAGS); do \
26843           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26844         done; \
26845         (cd $(TARGET_SUBDIR)/zlib && \
26846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26848                   "RANLIB=$${RANLIB}" \
26849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26850                    dvi) \
26851           || exit 1
26852
26853 @endif target-zlib
26854
26855 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26856 maybe-TAGS-target-zlib:
26857 @if target-zlib
26858 maybe-TAGS-target-zlib: TAGS-target-zlib
26859
26860 TAGS-target-zlib: \
26861     configure-target-zlib 
26862         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26863         r=`${PWD_COMMAND}`; export r; \
26864         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26865         $(SET_LIB_PATH) \
26866         $(NORMAL_TARGET_EXPORTS) \
26867         echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26868         for flag in $(EXTRA_TARGET_FLAGS); do \
26869           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26870         done; \
26871         (cd $(TARGET_SUBDIR)/zlib && \
26872           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26873                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26874                   "RANLIB=$${RANLIB}" \
26875                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26876                    TAGS) \
26877           || exit 1
26878
26879 @endif target-zlib
26880
26881 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26882 maybe-install-info-target-zlib:
26883 @if target-zlib
26884 maybe-install-info-target-zlib: install-info-target-zlib
26885
26886 install-info-target-zlib: \
26887     configure-target-zlib \
26888     info-target-zlib 
26889         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26890         r=`${PWD_COMMAND}`; export r; \
26891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26892         $(SET_LIB_PATH) \
26893         $(NORMAL_TARGET_EXPORTS) \
26894         echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26895         for flag in $(EXTRA_TARGET_FLAGS); do \
26896           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26897         done; \
26898         (cd $(TARGET_SUBDIR)/zlib && \
26899           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26900                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26901                   "RANLIB=$${RANLIB}" \
26902                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26903                    install-info) \
26904           || exit 1
26905
26906 @endif target-zlib
26907
26908 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26909 maybe-installcheck-target-zlib:
26910 @if target-zlib
26911 maybe-installcheck-target-zlib: installcheck-target-zlib
26912
26913 installcheck-target-zlib: \
26914     configure-target-zlib 
26915         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26916         r=`${PWD_COMMAND}`; export r; \
26917         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26918         $(SET_LIB_PATH) \
26919         $(NORMAL_TARGET_EXPORTS) \
26920         echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26921         for flag in $(EXTRA_TARGET_FLAGS); do \
26922           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26923         done; \
26924         (cd $(TARGET_SUBDIR)/zlib && \
26925           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26926                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26927                   "RANLIB=$${RANLIB}" \
26928                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26929                    installcheck) \
26930           || exit 1
26931
26932 @endif target-zlib
26933
26934 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26935 maybe-mostlyclean-target-zlib:
26936 @if target-zlib
26937 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26938
26939 mostlyclean-target-zlib: 
26940         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26941         r=`${PWD_COMMAND}`; export r; \
26942         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26943         $(SET_LIB_PATH) \
26944         $(NORMAL_TARGET_EXPORTS) \
26945         echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26946         for flag in $(EXTRA_TARGET_FLAGS); do \
26947           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26948         done; \
26949         (cd $(TARGET_SUBDIR)/zlib && \
26950           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26951                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26952                   "RANLIB=$${RANLIB}" \
26953                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26954                    mostlyclean) \
26955           || exit 1
26956
26957 @endif target-zlib
26958
26959 .PHONY: maybe-clean-target-zlib clean-target-zlib
26960 maybe-clean-target-zlib:
26961 @if target-zlib
26962 maybe-clean-target-zlib: clean-target-zlib
26963
26964 clean-target-zlib: 
26965         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26966         r=`${PWD_COMMAND}`; export r; \
26967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26968         $(SET_LIB_PATH) \
26969         $(NORMAL_TARGET_EXPORTS) \
26970         echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26971         for flag in $(EXTRA_TARGET_FLAGS); do \
26972           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26973         done; \
26974         (cd $(TARGET_SUBDIR)/zlib && \
26975           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26976                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26977                   "RANLIB=$${RANLIB}" \
26978                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26979                    clean) \
26980           || exit 1
26981
26982 @endif target-zlib
26983
26984 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26985 maybe-distclean-target-zlib:
26986 @if target-zlib
26987 maybe-distclean-target-zlib: distclean-target-zlib
26988
26989 distclean-target-zlib: 
26990         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26991         r=`${PWD_COMMAND}`; export r; \
26992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993         $(SET_LIB_PATH) \
26994         $(NORMAL_TARGET_EXPORTS) \
26995         echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26996         for flag in $(EXTRA_TARGET_FLAGS); do \
26997           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26998         done; \
26999         (cd $(TARGET_SUBDIR)/zlib && \
27000           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27001                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27002                   "RANLIB=$${RANLIB}" \
27003                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27004                    distclean) \
27005           || exit 1
27006
27007 @endif target-zlib
27008
27009 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
27010 maybe-maintainer-clean-target-zlib:
27011 @if target-zlib
27012 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
27013
27014 maintainer-clean-target-zlib: 
27015         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27016         r=`${PWD_COMMAND}`; export r; \
27017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27018         $(SET_LIB_PATH) \
27019         $(NORMAL_TARGET_EXPORTS) \
27020         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
27021         for flag in $(EXTRA_TARGET_FLAGS); do \
27022           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27023         done; \
27024         (cd $(TARGET_SUBDIR)/zlib && \
27025           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27026                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27027                   "RANLIB=$${RANLIB}" \
27028                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27029                    maintainer-clean) \
27030           || exit 1
27031
27032 @endif target-zlib
27033
27034
27035 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
27036 maybe-configure-target-boehm-gc:
27037 @if target-boehm-gc
27038 maybe-configure-target-boehm-gc: configure-target-boehm-gc
27039
27040 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27041 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
27042         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27043         rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
27044         cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
27045
27046 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
27047         @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
27048         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27049         r=`${PWD_COMMAND}`; export r; \
27050         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27051         $(SET_LIB_PATH) \
27052         $(NORMAL_TARGET_EXPORTS) \
27053         echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
27054         cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
27055         case $(srcdir) in \
27056           /* | [A-Za-z]:[\\/]*) \
27057             topdir=$(srcdir) ;; \
27058           *) \
27059             case "$(TARGET_SUBDIR)" in \
27060               .) topdir="../$(srcdir)" ;; \
27061               *) topdir="../../$(srcdir)" ;; \
27062             esac ;; \
27063         esac; \
27064           srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
27065           libsrcdir="$$s/boehm-gc"; \
27066         rm -f no-such-file || : ; \
27067         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27068           $(TARGET_CONFIGARGS) $${srcdiroption} \
27069           --with-target-subdir="$(TARGET_SUBDIR)"  \
27070           || exit 1
27071 @endif target-boehm-gc
27072
27073 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
27074 maybe-all-target-boehm-gc:
27075 @if target-boehm-gc
27076 maybe-all-target-boehm-gc: all-target-boehm-gc
27077 all-target-boehm-gc: configure-target-boehm-gc
27078         @r=`${PWD_COMMAND}`; export r; \
27079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27080         $(SET_LIB_PATH) \
27081         $(NORMAL_TARGET_EXPORTS) \
27082         (cd $(TARGET_SUBDIR)/boehm-gc && \
27083           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
27084 @endif target-boehm-gc
27085
27086 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
27087 maybe-check-target-boehm-gc:
27088 @if target-boehm-gc
27089 maybe-check-target-boehm-gc: check-target-boehm-gc
27090
27091 check-target-boehm-gc:
27092         @r=`${PWD_COMMAND}`; export r; \
27093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094         $(SET_LIB_PATH) \
27095         $(NORMAL_TARGET_EXPORTS) \
27096         (cd $(TARGET_SUBDIR)/boehm-gc && \
27097           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27098
27099 @endif target-boehm-gc
27100
27101 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
27102 maybe-install-target-boehm-gc:
27103 @if target-boehm-gc
27104 maybe-install-target-boehm-gc: install-target-boehm-gc
27105
27106 install-target-boehm-gc: installdirs
27107         @r=`${PWD_COMMAND}`; export r; \
27108         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27109         $(SET_LIB_PATH) \
27110         $(NORMAL_TARGET_EXPORTS) \
27111         (cd $(TARGET_SUBDIR)/boehm-gc && \
27112           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27113
27114 @endif target-boehm-gc
27115
27116 # Other targets (info, dvi, etc.)
27117
27118 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
27119 maybe-info-target-boehm-gc:
27120 @if target-boehm-gc
27121 maybe-info-target-boehm-gc: info-target-boehm-gc
27122
27123 info-target-boehm-gc: \
27124     configure-target-boehm-gc 
27125         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27126         r=`${PWD_COMMAND}`; export r; \
27127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27128         $(SET_LIB_PATH) \
27129         $(NORMAL_TARGET_EXPORTS) \
27130         echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
27131         for flag in $(EXTRA_TARGET_FLAGS); do \
27132           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27133         done; \
27134         (cd $(TARGET_SUBDIR)/boehm-gc && \
27135           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27136                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27137                   "RANLIB=$${RANLIB}" \
27138                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27139                    info) \
27140           || exit 1
27141
27142 @endif target-boehm-gc
27143
27144 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
27145 maybe-dvi-target-boehm-gc:
27146 @if target-boehm-gc
27147 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
27148
27149 dvi-target-boehm-gc: \
27150     configure-target-boehm-gc 
27151         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27152         r=`${PWD_COMMAND}`; export r; \
27153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27154         $(SET_LIB_PATH) \
27155         $(NORMAL_TARGET_EXPORTS) \
27156         echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
27157         for flag in $(EXTRA_TARGET_FLAGS); do \
27158           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27159         done; \
27160         (cd $(TARGET_SUBDIR)/boehm-gc && \
27161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27163                   "RANLIB=$${RANLIB}" \
27164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27165                    dvi) \
27166           || exit 1
27167
27168 @endif target-boehm-gc
27169
27170 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
27171 maybe-TAGS-target-boehm-gc:
27172 @if target-boehm-gc
27173 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
27174
27175 TAGS-target-boehm-gc: \
27176     configure-target-boehm-gc 
27177         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27178         r=`${PWD_COMMAND}`; export r; \
27179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180         $(SET_LIB_PATH) \
27181         $(NORMAL_TARGET_EXPORTS) \
27182         echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
27183         for flag in $(EXTRA_TARGET_FLAGS); do \
27184           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27185         done; \
27186         (cd $(TARGET_SUBDIR)/boehm-gc && \
27187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27189                   "RANLIB=$${RANLIB}" \
27190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27191                    TAGS) \
27192           || exit 1
27193
27194 @endif target-boehm-gc
27195
27196 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
27197 maybe-install-info-target-boehm-gc:
27198 @if target-boehm-gc
27199 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
27200
27201 install-info-target-boehm-gc: \
27202     configure-target-boehm-gc \
27203     info-target-boehm-gc 
27204         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27205         r=`${PWD_COMMAND}`; export r; \
27206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27207         $(SET_LIB_PATH) \
27208         $(NORMAL_TARGET_EXPORTS) \
27209         echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
27210         for flag in $(EXTRA_TARGET_FLAGS); do \
27211           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27212         done; \
27213         (cd $(TARGET_SUBDIR)/boehm-gc && \
27214           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27215                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27216                   "RANLIB=$${RANLIB}" \
27217                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27218                    install-info) \
27219           || exit 1
27220
27221 @endif target-boehm-gc
27222
27223 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
27224 maybe-installcheck-target-boehm-gc:
27225 @if target-boehm-gc
27226 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
27227
27228 installcheck-target-boehm-gc: \
27229     configure-target-boehm-gc 
27230         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27231         r=`${PWD_COMMAND}`; export r; \
27232         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27233         $(SET_LIB_PATH) \
27234         $(NORMAL_TARGET_EXPORTS) \
27235         echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
27236         for flag in $(EXTRA_TARGET_FLAGS); do \
27237           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27238         done; \
27239         (cd $(TARGET_SUBDIR)/boehm-gc && \
27240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27242                   "RANLIB=$${RANLIB}" \
27243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27244                    installcheck) \
27245           || exit 1
27246
27247 @endif target-boehm-gc
27248
27249 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
27250 maybe-mostlyclean-target-boehm-gc:
27251 @if target-boehm-gc
27252 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
27253
27254 mostlyclean-target-boehm-gc: 
27255         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27256         r=`${PWD_COMMAND}`; export r; \
27257         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27258         $(SET_LIB_PATH) \
27259         $(NORMAL_TARGET_EXPORTS) \
27260         echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27261         for flag in $(EXTRA_TARGET_FLAGS); do \
27262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27263         done; \
27264         (cd $(TARGET_SUBDIR)/boehm-gc && \
27265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27267                   "RANLIB=$${RANLIB}" \
27268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27269                    mostlyclean) \
27270           || exit 1
27271
27272 @endif target-boehm-gc
27273
27274 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
27275 maybe-clean-target-boehm-gc:
27276 @if target-boehm-gc
27277 maybe-clean-target-boehm-gc: clean-target-boehm-gc
27278
27279 clean-target-boehm-gc: 
27280         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27281         r=`${PWD_COMMAND}`; export r; \
27282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27283         $(SET_LIB_PATH) \
27284         $(NORMAL_TARGET_EXPORTS) \
27285         echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27286         for flag in $(EXTRA_TARGET_FLAGS); do \
27287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27288         done; \
27289         (cd $(TARGET_SUBDIR)/boehm-gc && \
27290           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27291                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27292                   "RANLIB=$${RANLIB}" \
27293                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27294                    clean) \
27295           || exit 1
27296
27297 @endif target-boehm-gc
27298
27299 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
27300 maybe-distclean-target-boehm-gc:
27301 @if target-boehm-gc
27302 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
27303
27304 distclean-target-boehm-gc: 
27305         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27306         r=`${PWD_COMMAND}`; export r; \
27307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308         $(SET_LIB_PATH) \
27309         $(NORMAL_TARGET_EXPORTS) \
27310         echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27311         for flag in $(EXTRA_TARGET_FLAGS); do \
27312           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27313         done; \
27314         (cd $(TARGET_SUBDIR)/boehm-gc && \
27315           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27316                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27317                   "RANLIB=$${RANLIB}" \
27318                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27319                    distclean) \
27320           || exit 1
27321
27322 @endif target-boehm-gc
27323
27324 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27325 maybe-maintainer-clean-target-boehm-gc:
27326 @if target-boehm-gc
27327 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27328
27329 maintainer-clean-target-boehm-gc: 
27330         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27331         r=`${PWD_COMMAND}`; export r; \
27332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27333         $(SET_LIB_PATH) \
27334         $(NORMAL_TARGET_EXPORTS) \
27335         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27336         for flag in $(EXTRA_TARGET_FLAGS); do \
27337           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27338         done; \
27339         (cd $(TARGET_SUBDIR)/boehm-gc && \
27340           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27341                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27342                   "RANLIB=$${RANLIB}" \
27343                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27344                    maintainer-clean) \
27345           || exit 1
27346
27347 @endif target-boehm-gc
27348
27349
27350 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27351 maybe-configure-target-qthreads:
27352 @if target-qthreads
27353 maybe-configure-target-qthreads: configure-target-qthreads
27354
27355 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27356 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27357         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27358         rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27359         cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27360
27361 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27362         @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27363         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27364         r=`${PWD_COMMAND}`; export r; \
27365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366         $(SET_LIB_PATH) \
27367         $(NORMAL_TARGET_EXPORTS) \
27368         echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27369         cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27370         case $(srcdir) in \
27371           /* | [A-Za-z]:[\\/]*) \
27372             topdir=$(srcdir) ;; \
27373           *) \
27374             case "$(TARGET_SUBDIR)" in \
27375               .) topdir="../$(srcdir)" ;; \
27376               *) topdir="../../$(srcdir)" ;; \
27377             esac ;; \
27378         esac; \
27379           srcdiroption="--srcdir=$${topdir}/qthreads"; \
27380           libsrcdir="$$s/qthreads"; \
27381         rm -f no-such-file || : ; \
27382         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27383           $(TARGET_CONFIGARGS) $${srcdiroption} \
27384           --with-target-subdir="$(TARGET_SUBDIR)"  \
27385           || exit 1
27386 @endif target-qthreads
27387
27388 .PHONY: all-target-qthreads maybe-all-target-qthreads
27389 maybe-all-target-qthreads:
27390 @if target-qthreads
27391 maybe-all-target-qthreads: all-target-qthreads
27392 all-target-qthreads: configure-target-qthreads
27393         @r=`${PWD_COMMAND}`; export r; \
27394         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27395         $(SET_LIB_PATH) \
27396         $(NORMAL_TARGET_EXPORTS) \
27397         (cd $(TARGET_SUBDIR)/qthreads && \
27398           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
27399 @endif target-qthreads
27400
27401 .PHONY: check-target-qthreads maybe-check-target-qthreads
27402 maybe-check-target-qthreads:
27403 @if target-qthreads
27404 maybe-check-target-qthreads: check-target-qthreads
27405
27406 check-target-qthreads:
27407         @r=`${PWD_COMMAND}`; export r; \
27408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27409         $(SET_LIB_PATH) \
27410         $(NORMAL_TARGET_EXPORTS) \
27411         (cd $(TARGET_SUBDIR)/qthreads && \
27412           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27413
27414 @endif target-qthreads
27415
27416 .PHONY: install-target-qthreads maybe-install-target-qthreads
27417 maybe-install-target-qthreads:
27418 @if target-qthreads
27419 maybe-install-target-qthreads: install-target-qthreads
27420
27421 install-target-qthreads: installdirs
27422         @r=`${PWD_COMMAND}`; export r; \
27423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27424         $(SET_LIB_PATH) \
27425         $(NORMAL_TARGET_EXPORTS) \
27426         (cd $(TARGET_SUBDIR)/qthreads && \
27427           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27428
27429 @endif target-qthreads
27430
27431 # Other targets (info, dvi, etc.)
27432
27433 .PHONY: maybe-info-target-qthreads info-target-qthreads
27434 maybe-info-target-qthreads:
27435 @if target-qthreads
27436 maybe-info-target-qthreads: info-target-qthreads
27437
27438 info-target-qthreads: \
27439     configure-target-qthreads 
27440         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27441         r=`${PWD_COMMAND}`; export r; \
27442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27443         $(SET_LIB_PATH) \
27444         $(NORMAL_TARGET_EXPORTS) \
27445         echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27446         for flag in $(EXTRA_TARGET_FLAGS); do \
27447           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27448         done; \
27449         (cd $(TARGET_SUBDIR)/qthreads && \
27450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27452                   "RANLIB=$${RANLIB}" \
27453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27454                    info) \
27455           || exit 1
27456
27457 @endif target-qthreads
27458
27459 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27460 maybe-dvi-target-qthreads:
27461 @if target-qthreads
27462 maybe-dvi-target-qthreads: dvi-target-qthreads
27463
27464 dvi-target-qthreads: \
27465     configure-target-qthreads 
27466         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27467         r=`${PWD_COMMAND}`; export r; \
27468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27469         $(SET_LIB_PATH) \
27470         $(NORMAL_TARGET_EXPORTS) \
27471         echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27472         for flag in $(EXTRA_TARGET_FLAGS); do \
27473           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27474         done; \
27475         (cd $(TARGET_SUBDIR)/qthreads && \
27476           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27477                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27478                   "RANLIB=$${RANLIB}" \
27479                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27480                    dvi) \
27481           || exit 1
27482
27483 @endif target-qthreads
27484
27485 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27486 maybe-TAGS-target-qthreads:
27487 @if target-qthreads
27488 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27489
27490 TAGS-target-qthreads: \
27491     configure-target-qthreads 
27492         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27493         r=`${PWD_COMMAND}`; export r; \
27494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27495         $(SET_LIB_PATH) \
27496         $(NORMAL_TARGET_EXPORTS) \
27497         echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27498         for flag in $(EXTRA_TARGET_FLAGS); do \
27499           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27500         done; \
27501         (cd $(TARGET_SUBDIR)/qthreads && \
27502           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27503                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27504                   "RANLIB=$${RANLIB}" \
27505                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27506                    TAGS) \
27507           || exit 1
27508
27509 @endif target-qthreads
27510
27511 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27512 maybe-install-info-target-qthreads:
27513 @if target-qthreads
27514 maybe-install-info-target-qthreads: install-info-target-qthreads
27515
27516 install-info-target-qthreads: \
27517     configure-target-qthreads \
27518     info-target-qthreads 
27519         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27520         r=`${PWD_COMMAND}`; export r; \
27521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27522         $(SET_LIB_PATH) \
27523         $(NORMAL_TARGET_EXPORTS) \
27524         echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27525         for flag in $(EXTRA_TARGET_FLAGS); do \
27526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27527         done; \
27528         (cd $(TARGET_SUBDIR)/qthreads && \
27529           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27530                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27531                   "RANLIB=$${RANLIB}" \
27532                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27533                    install-info) \
27534           || exit 1
27535
27536 @endif target-qthreads
27537
27538 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27539 maybe-installcheck-target-qthreads:
27540 @if target-qthreads
27541 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27542
27543 installcheck-target-qthreads: \
27544     configure-target-qthreads 
27545         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27546         r=`${PWD_COMMAND}`; export r; \
27547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548         $(SET_LIB_PATH) \
27549         $(NORMAL_TARGET_EXPORTS) \
27550         echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27551         for flag in $(EXTRA_TARGET_FLAGS); do \
27552           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27553         done; \
27554         (cd $(TARGET_SUBDIR)/qthreads && \
27555           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27556                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27557                   "RANLIB=$${RANLIB}" \
27558                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27559                    installcheck) \
27560           || exit 1
27561
27562 @endif target-qthreads
27563
27564 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27565 maybe-mostlyclean-target-qthreads:
27566 @if target-qthreads
27567 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27568
27569 mostlyclean-target-qthreads: 
27570         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27571         r=`${PWD_COMMAND}`; export r; \
27572         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573         $(SET_LIB_PATH) \
27574         $(NORMAL_TARGET_EXPORTS) \
27575         echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27576         for flag in $(EXTRA_TARGET_FLAGS); do \
27577           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27578         done; \
27579         (cd $(TARGET_SUBDIR)/qthreads && \
27580           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27581                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27582                   "RANLIB=$${RANLIB}" \
27583                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27584                    mostlyclean) \
27585           || exit 1
27586
27587 @endif target-qthreads
27588
27589 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27590 maybe-clean-target-qthreads:
27591 @if target-qthreads
27592 maybe-clean-target-qthreads: clean-target-qthreads
27593
27594 clean-target-qthreads: 
27595         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27596         r=`${PWD_COMMAND}`; export r; \
27597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598         $(SET_LIB_PATH) \
27599         $(NORMAL_TARGET_EXPORTS) \
27600         echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27601         for flag in $(EXTRA_TARGET_FLAGS); do \
27602           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27603         done; \
27604         (cd $(TARGET_SUBDIR)/qthreads && \
27605           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27606                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27607                   "RANLIB=$${RANLIB}" \
27608                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27609                    clean) \
27610           || exit 1
27611
27612 @endif target-qthreads
27613
27614 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27615 maybe-distclean-target-qthreads:
27616 @if target-qthreads
27617 maybe-distclean-target-qthreads: distclean-target-qthreads
27618
27619 distclean-target-qthreads: 
27620         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27621         r=`${PWD_COMMAND}`; export r; \
27622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27623         $(SET_LIB_PATH) \
27624         $(NORMAL_TARGET_EXPORTS) \
27625         echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27626         for flag in $(EXTRA_TARGET_FLAGS); do \
27627           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27628         done; \
27629         (cd $(TARGET_SUBDIR)/qthreads && \
27630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27632                   "RANLIB=$${RANLIB}" \
27633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27634                    distclean) \
27635           || exit 1
27636
27637 @endif target-qthreads
27638
27639 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27640 maybe-maintainer-clean-target-qthreads:
27641 @if target-qthreads
27642 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27643
27644 maintainer-clean-target-qthreads: 
27645         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27646         r=`${PWD_COMMAND}`; export r; \
27647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27648         $(SET_LIB_PATH) \
27649         $(NORMAL_TARGET_EXPORTS) \
27650         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27651         for flag in $(EXTRA_TARGET_FLAGS); do \
27652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27653         done; \
27654         (cd $(TARGET_SUBDIR)/qthreads && \
27655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27657                   "RANLIB=$${RANLIB}" \
27658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27659                    maintainer-clean) \
27660           || exit 1
27661
27662 @endif target-qthreads
27663
27664
27665 .PHONY: configure-target-rda maybe-configure-target-rda
27666 maybe-configure-target-rda:
27667 @if target-rda
27668 maybe-configure-target-rda: configure-target-rda
27669
27670 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27671 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27672         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27673         rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27674         cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27675
27676 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27677         @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27678         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27679         r=`${PWD_COMMAND}`; export r; \
27680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27681         $(SET_LIB_PATH) \
27682         $(NORMAL_TARGET_EXPORTS) \
27683         echo Configuring in $(TARGET_SUBDIR)/rda; \
27684         cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27685         case $(srcdir) in \
27686           /* | [A-Za-z]:[\\/]*) \
27687             topdir=$(srcdir) ;; \
27688           *) \
27689             case "$(TARGET_SUBDIR)" in \
27690               .) topdir="../$(srcdir)" ;; \
27691               *) topdir="../../$(srcdir)" ;; \
27692             esac ;; \
27693         esac; \
27694           srcdiroption="--srcdir=$${topdir}/rda"; \
27695           libsrcdir="$$s/rda"; \
27696         rm -f no-such-file || : ; \
27697         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27698           $(TARGET_CONFIGARGS) $${srcdiroption} \
27699           --with-target-subdir="$(TARGET_SUBDIR)"  \
27700           || exit 1
27701 @endif target-rda
27702
27703 .PHONY: all-target-rda maybe-all-target-rda
27704 maybe-all-target-rda:
27705 @if target-rda
27706 maybe-all-target-rda: all-target-rda
27707 all-target-rda: configure-target-rda
27708         @r=`${PWD_COMMAND}`; export r; \
27709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27710         $(SET_LIB_PATH) \
27711         $(NORMAL_TARGET_EXPORTS) \
27712         (cd $(TARGET_SUBDIR)/rda && \
27713           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
27714 @endif target-rda
27715
27716 .PHONY: check-target-rda maybe-check-target-rda
27717 maybe-check-target-rda:
27718 @if target-rda
27719 maybe-check-target-rda: check-target-rda
27720
27721 check-target-rda:
27722         @r=`${PWD_COMMAND}`; export r; \
27723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724         $(SET_LIB_PATH) \
27725         $(NORMAL_TARGET_EXPORTS) \
27726         (cd $(TARGET_SUBDIR)/rda && \
27727           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27728
27729 @endif target-rda
27730
27731 .PHONY: install-target-rda maybe-install-target-rda
27732 maybe-install-target-rda:
27733 @if target-rda
27734 maybe-install-target-rda: install-target-rda
27735
27736 install-target-rda: installdirs
27737         @r=`${PWD_COMMAND}`; export r; \
27738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27739         $(SET_LIB_PATH) \
27740         $(NORMAL_TARGET_EXPORTS) \
27741         (cd $(TARGET_SUBDIR)/rda && \
27742           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27743
27744 @endif target-rda
27745
27746 # Other targets (info, dvi, etc.)
27747
27748 .PHONY: maybe-info-target-rda info-target-rda
27749 maybe-info-target-rda:
27750 @if target-rda
27751 maybe-info-target-rda: info-target-rda
27752
27753 info-target-rda: \
27754     configure-target-rda 
27755         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27756         r=`${PWD_COMMAND}`; export r; \
27757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27758         $(SET_LIB_PATH) \
27759         $(NORMAL_TARGET_EXPORTS) \
27760         echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27761         for flag in $(EXTRA_TARGET_FLAGS); do \
27762           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27763         done; \
27764         (cd $(TARGET_SUBDIR)/rda && \
27765           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27766                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27767                   "RANLIB=$${RANLIB}" \
27768                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27769                    info) \
27770           || exit 1
27771
27772 @endif target-rda
27773
27774 .PHONY: maybe-dvi-target-rda dvi-target-rda
27775 maybe-dvi-target-rda:
27776 @if target-rda
27777 maybe-dvi-target-rda: dvi-target-rda
27778
27779 dvi-target-rda: \
27780     configure-target-rda 
27781         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27782         r=`${PWD_COMMAND}`; export r; \
27783         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784         $(SET_LIB_PATH) \
27785         $(NORMAL_TARGET_EXPORTS) \
27786         echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27787         for flag in $(EXTRA_TARGET_FLAGS); do \
27788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27789         done; \
27790         (cd $(TARGET_SUBDIR)/rda && \
27791           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27792                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27793                   "RANLIB=$${RANLIB}" \
27794                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27795                    dvi) \
27796           || exit 1
27797
27798 @endif target-rda
27799
27800 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27801 maybe-TAGS-target-rda:
27802 @if target-rda
27803 maybe-TAGS-target-rda: TAGS-target-rda
27804
27805 TAGS-target-rda: \
27806     configure-target-rda 
27807         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27808         r=`${PWD_COMMAND}`; export r; \
27809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27810         $(SET_LIB_PATH) \
27811         $(NORMAL_TARGET_EXPORTS) \
27812         echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27813         for flag in $(EXTRA_TARGET_FLAGS); do \
27814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27815         done; \
27816         (cd $(TARGET_SUBDIR)/rda && \
27817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27819                   "RANLIB=$${RANLIB}" \
27820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27821                    TAGS) \
27822           || exit 1
27823
27824 @endif target-rda
27825
27826 .PHONY: maybe-install-info-target-rda install-info-target-rda
27827 maybe-install-info-target-rda:
27828 @if target-rda
27829 maybe-install-info-target-rda: install-info-target-rda
27830
27831 install-info-target-rda: \
27832     configure-target-rda \
27833     info-target-rda 
27834         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27835         r=`${PWD_COMMAND}`; export r; \
27836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27837         $(SET_LIB_PATH) \
27838         $(NORMAL_TARGET_EXPORTS) \
27839         echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27840         for flag in $(EXTRA_TARGET_FLAGS); do \
27841           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27842         done; \
27843         (cd $(TARGET_SUBDIR)/rda && \
27844           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27845                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27846                   "RANLIB=$${RANLIB}" \
27847                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27848                    install-info) \
27849           || exit 1
27850
27851 @endif target-rda
27852
27853 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27854 maybe-installcheck-target-rda:
27855 @if target-rda
27856 maybe-installcheck-target-rda: installcheck-target-rda
27857
27858 installcheck-target-rda: \
27859     configure-target-rda 
27860         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27861         r=`${PWD_COMMAND}`; export r; \
27862         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27863         $(SET_LIB_PATH) \
27864         $(NORMAL_TARGET_EXPORTS) \
27865         echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27866         for flag in $(EXTRA_TARGET_FLAGS); do \
27867           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27868         done; \
27869         (cd $(TARGET_SUBDIR)/rda && \
27870           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27871                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27872                   "RANLIB=$${RANLIB}" \
27873                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27874                    installcheck) \
27875           || exit 1
27876
27877 @endif target-rda
27878
27879 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27880 maybe-mostlyclean-target-rda:
27881 @if target-rda
27882 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27883
27884 mostlyclean-target-rda: 
27885         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27886         r=`${PWD_COMMAND}`; export r; \
27887         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27888         $(SET_LIB_PATH) \
27889         $(NORMAL_TARGET_EXPORTS) \
27890         echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27891         for flag in $(EXTRA_TARGET_FLAGS); do \
27892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27893         done; \
27894         (cd $(TARGET_SUBDIR)/rda && \
27895           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27896                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27897                   "RANLIB=$${RANLIB}" \
27898                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27899                    mostlyclean) \
27900           || exit 1
27901
27902 @endif target-rda
27903
27904 .PHONY: maybe-clean-target-rda clean-target-rda
27905 maybe-clean-target-rda:
27906 @if target-rda
27907 maybe-clean-target-rda: clean-target-rda
27908
27909 clean-target-rda: 
27910         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27911         r=`${PWD_COMMAND}`; export r; \
27912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27913         $(SET_LIB_PATH) \
27914         $(NORMAL_TARGET_EXPORTS) \
27915         echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27916         for flag in $(EXTRA_TARGET_FLAGS); do \
27917           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27918         done; \
27919         (cd $(TARGET_SUBDIR)/rda && \
27920           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27921                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27922                   "RANLIB=$${RANLIB}" \
27923                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27924                    clean) \
27925           || exit 1
27926
27927 @endif target-rda
27928
27929 .PHONY: maybe-distclean-target-rda distclean-target-rda
27930 maybe-distclean-target-rda:
27931 @if target-rda
27932 maybe-distclean-target-rda: distclean-target-rda
27933
27934 distclean-target-rda: 
27935         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27936         r=`${PWD_COMMAND}`; export r; \
27937         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27938         $(SET_LIB_PATH) \
27939         $(NORMAL_TARGET_EXPORTS) \
27940         echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27941         for flag in $(EXTRA_TARGET_FLAGS); do \
27942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27943         done; \
27944         (cd $(TARGET_SUBDIR)/rda && \
27945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27947                   "RANLIB=$${RANLIB}" \
27948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27949                    distclean) \
27950           || exit 1
27951
27952 @endif target-rda
27953
27954 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27955 maybe-maintainer-clean-target-rda:
27956 @if target-rda
27957 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27958
27959 maintainer-clean-target-rda: 
27960         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27961         r=`${PWD_COMMAND}`; export r; \
27962         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27963         $(SET_LIB_PATH) \
27964         $(NORMAL_TARGET_EXPORTS) \
27965         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27966         for flag in $(EXTRA_TARGET_FLAGS); do \
27967           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27968         done; \
27969         (cd $(TARGET_SUBDIR)/rda && \
27970           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27971                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27972                   "RANLIB=$${RANLIB}" \
27973                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27974                    maintainer-clean) \
27975           || exit 1
27976
27977 @endif target-rda
27978
27979
27980 .PHONY: configure-target-libada maybe-configure-target-libada
27981 maybe-configure-target-libada:
27982 @if target-libada
27983 maybe-configure-target-libada: configure-target-libada
27984
27985 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27986 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27987         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27988         rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27989         cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27990
27991 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27992         @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27993         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27994         r=`${PWD_COMMAND}`; export r; \
27995         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27996         $(SET_LIB_PATH) \
27997         $(NORMAL_TARGET_EXPORTS) \
27998         echo Configuring in $(TARGET_SUBDIR)/libada; \
27999         cd "$(TARGET_SUBDIR)/libada" || exit 1; \
28000         case $(srcdir) in \
28001           /* | [A-Za-z]:[\\/]*) \
28002             topdir=$(srcdir) ;; \
28003           *) \
28004             case "$(TARGET_SUBDIR)" in \
28005               .) topdir="../$(srcdir)" ;; \
28006               *) topdir="../../$(srcdir)" ;; \
28007             esac ;; \
28008         esac; \
28009           srcdiroption="--srcdir=$${topdir}/libada"; \
28010           libsrcdir="$$s/libada"; \
28011         rm -f no-such-file || : ; \
28012         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28013           $(TARGET_CONFIGARGS) $${srcdiroption} \
28014           --with-target-subdir="$(TARGET_SUBDIR)"  \
28015           || exit 1
28016 @endif target-libada
28017
28018 .PHONY: all-target-libada maybe-all-target-libada
28019 maybe-all-target-libada:
28020 @if target-libada
28021 maybe-all-target-libada: all-target-libada
28022 all-target-libada: configure-target-libada
28023         @r=`${PWD_COMMAND}`; export r; \
28024         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28025         $(SET_LIB_PATH) \
28026         $(NORMAL_TARGET_EXPORTS) \
28027         (cd $(TARGET_SUBDIR)/libada && \
28028           $(MAKE) $(TARGET_FLAGS_TO_PASS)   all)
28029 @endif target-libada
28030
28031 .PHONY: check-target-libada maybe-check-target-libada
28032 maybe-check-target-libada:
28033 @if target-libada
28034 maybe-check-target-libada: check-target-libada
28035
28036 check-target-libada:
28037         @r=`${PWD_COMMAND}`; export r; \
28038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28039         $(SET_LIB_PATH) \
28040         $(NORMAL_TARGET_EXPORTS) \
28041         (cd $(TARGET_SUBDIR)/libada && \
28042           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
28043
28044 @endif target-libada
28045
28046 .PHONY: install-target-libada maybe-install-target-libada
28047 maybe-install-target-libada:
28048 @if target-libada
28049 maybe-install-target-libada: install-target-libada
28050
28051 install-target-libada: installdirs
28052         @r=`${PWD_COMMAND}`; export r; \
28053         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28054         $(SET_LIB_PATH) \
28055         $(NORMAL_TARGET_EXPORTS) \
28056         (cd $(TARGET_SUBDIR)/libada && \
28057           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
28058
28059 @endif target-libada
28060
28061 # Other targets (info, dvi, etc.)
28062
28063 .PHONY: maybe-info-target-libada info-target-libada
28064 maybe-info-target-libada:
28065 @if target-libada
28066 maybe-info-target-libada: info-target-libada
28067
28068 info-target-libada: \
28069     configure-target-libada 
28070         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28071         r=`${PWD_COMMAND}`; export r; \
28072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28073         $(SET_LIB_PATH) \
28074         $(NORMAL_TARGET_EXPORTS) \
28075         echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
28076         for flag in $(EXTRA_TARGET_FLAGS); do \
28077           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28078         done; \
28079         (cd $(TARGET_SUBDIR)/libada && \
28080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28082                   "RANLIB=$${RANLIB}" \
28083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28084                    info) \
28085           || exit 1
28086
28087 @endif target-libada
28088
28089 .PHONY: maybe-dvi-target-libada dvi-target-libada
28090 maybe-dvi-target-libada:
28091 @if target-libada
28092 maybe-dvi-target-libada: dvi-target-libada
28093
28094 dvi-target-libada: \
28095     configure-target-libada 
28096         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28097         r=`${PWD_COMMAND}`; export r; \
28098         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28099         $(SET_LIB_PATH) \
28100         $(NORMAL_TARGET_EXPORTS) \
28101         echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
28102         for flag in $(EXTRA_TARGET_FLAGS); do \
28103           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28104         done; \
28105         (cd $(TARGET_SUBDIR)/libada && \
28106           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28107                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28108                   "RANLIB=$${RANLIB}" \
28109                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28110                    dvi) \
28111           || exit 1
28112
28113 @endif target-libada
28114
28115 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
28116 maybe-TAGS-target-libada:
28117 @if target-libada
28118 maybe-TAGS-target-libada: TAGS-target-libada
28119
28120 TAGS-target-libada: \
28121     configure-target-libada 
28122         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28123         r=`${PWD_COMMAND}`; export r; \
28124         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28125         $(SET_LIB_PATH) \
28126         $(NORMAL_TARGET_EXPORTS) \
28127         echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
28128         for flag in $(EXTRA_TARGET_FLAGS); do \
28129           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28130         done; \
28131         (cd $(TARGET_SUBDIR)/libada && \
28132           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28133                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28134                   "RANLIB=$${RANLIB}" \
28135                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28136                    TAGS) \
28137           || exit 1
28138
28139 @endif target-libada
28140
28141 .PHONY: maybe-install-info-target-libada install-info-target-libada
28142 maybe-install-info-target-libada:
28143 @if target-libada
28144 maybe-install-info-target-libada: install-info-target-libada
28145
28146 install-info-target-libada: \
28147     configure-target-libada \
28148     info-target-libada 
28149         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28150         r=`${PWD_COMMAND}`; export r; \
28151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28152         $(SET_LIB_PATH) \
28153         $(NORMAL_TARGET_EXPORTS) \
28154         echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
28155         for flag in $(EXTRA_TARGET_FLAGS); do \
28156           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28157         done; \
28158         (cd $(TARGET_SUBDIR)/libada && \
28159           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28160                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28161                   "RANLIB=$${RANLIB}" \
28162                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28163                    install-info) \
28164           || exit 1
28165
28166 @endif target-libada
28167
28168 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
28169 maybe-installcheck-target-libada:
28170 @if target-libada
28171 maybe-installcheck-target-libada: installcheck-target-libada
28172
28173 installcheck-target-libada: \
28174     configure-target-libada 
28175         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28176         r=`${PWD_COMMAND}`; export r; \
28177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28178         $(SET_LIB_PATH) \
28179         $(NORMAL_TARGET_EXPORTS) \
28180         echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
28181         for flag in $(EXTRA_TARGET_FLAGS); do \
28182           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28183         done; \
28184         (cd $(TARGET_SUBDIR)/libada && \
28185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28187                   "RANLIB=$${RANLIB}" \
28188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28189                    installcheck) \
28190           || exit 1
28191
28192 @endif target-libada
28193
28194 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
28195 maybe-mostlyclean-target-libada:
28196 @if target-libada
28197 maybe-mostlyclean-target-libada: mostlyclean-target-libada
28198
28199 mostlyclean-target-libada: 
28200         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28201         r=`${PWD_COMMAND}`; export r; \
28202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28203         $(SET_LIB_PATH) \
28204         $(NORMAL_TARGET_EXPORTS) \
28205         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
28206         for flag in $(EXTRA_TARGET_FLAGS); do \
28207           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28208         done; \
28209         (cd $(TARGET_SUBDIR)/libada && \
28210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28212                   "RANLIB=$${RANLIB}" \
28213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28214                    mostlyclean) \
28215           || exit 1
28216
28217 @endif target-libada
28218
28219 .PHONY: maybe-clean-target-libada clean-target-libada
28220 maybe-clean-target-libada:
28221 @if target-libada
28222 maybe-clean-target-libada: clean-target-libada
28223
28224 clean-target-libada: 
28225         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28226         r=`${PWD_COMMAND}`; export r; \
28227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28228         $(SET_LIB_PATH) \
28229         $(NORMAL_TARGET_EXPORTS) \
28230         echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
28231         for flag in $(EXTRA_TARGET_FLAGS); do \
28232           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28233         done; \
28234         (cd $(TARGET_SUBDIR)/libada && \
28235           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28236                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28237                   "RANLIB=$${RANLIB}" \
28238                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28239                    clean) \
28240           || exit 1
28241
28242 @endif target-libada
28243
28244 .PHONY: maybe-distclean-target-libada distclean-target-libada
28245 maybe-distclean-target-libada:
28246 @if target-libada
28247 maybe-distclean-target-libada: distclean-target-libada
28248
28249 distclean-target-libada: 
28250         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28251         r=`${PWD_COMMAND}`; export r; \
28252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28253         $(SET_LIB_PATH) \
28254         $(NORMAL_TARGET_EXPORTS) \
28255         echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
28256         for flag in $(EXTRA_TARGET_FLAGS); do \
28257           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28258         done; \
28259         (cd $(TARGET_SUBDIR)/libada && \
28260           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28261                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28262                   "RANLIB=$${RANLIB}" \
28263                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28264                    distclean) \
28265           || exit 1
28266
28267 @endif target-libada
28268
28269 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
28270 maybe-maintainer-clean-target-libada:
28271 @if target-libada
28272 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
28273
28274 maintainer-clean-target-libada: 
28275         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28276         r=`${PWD_COMMAND}`; export r; \
28277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28278         $(SET_LIB_PATH) \
28279         $(NORMAL_TARGET_EXPORTS) \
28280         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
28281         for flag in $(EXTRA_TARGET_FLAGS); do \
28282           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28283         done; \
28284         (cd $(TARGET_SUBDIR)/libada && \
28285           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28286                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28287                   "RANLIB=$${RANLIB}" \
28288                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28289                    maintainer-clean) \
28290           || exit 1
28291
28292 @endif target-libada
28293
28294
28295
28296 # ----------
28297 # GCC module
28298 # ----------
28299
28300 @if gcc-no-bootstrap
28301 # GCC has some more recursive targets, which trigger the old
28302 # (but still current, until the toplevel bootstrap project
28303 # is finished) compiler bootstrapping rules.
28304
28305 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
28306 .PHONY: $(GCC_STRAP_TARGETS)
28307 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
28308         @r=`${PWD_COMMAND}`; export r; \
28309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310         $(SET_LIB_PATH) \
28311         $(HOST_EXPORTS) \
28312         echo "Bootstrapping the compiler"; \
28313         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
28314         @r=`${PWD_COMMAND}`; export r; \
28315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28316         case "$@" in \
28317           *bootstrap4-lean ) \
28318             msg="Comparing stage3 and stage4 of the compiler"; \
28319             compare=compare3-lean ;; \
28320           *bootstrap4 ) \
28321             msg="Comparing stage3 and stage4 of the compiler"; \
28322             compare=compare3 ;; \
28323           *-lean ) \
28324             msg="Comparing stage2 and stage3 of the compiler"; \
28325             compare=compare-lean ;; \
28326           * ) \
28327             msg="Comparing stage2 and stage3 of the compiler"; \
28328             compare=compare ;; \
28329         esac; \
28330         $(SET_LIB_PATH) \
28331         $(HOST_EXPORTS) \
28332         echo "$$msg"; \
28333         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28334         @r=`${PWD_COMMAND}`; export r; \
28335         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28336         $(SET_LIB_PATH) \
28337         echo "Building runtime libraries"; \
28338         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28339
28340 profiledbootstrap: all-prebootstrap configure-gcc
28341         @r=`${PWD_COMMAND}`; export r; \
28342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28343         $(SET_LIB_PATH) \
28344         $(HOST_EXPORTS) \
28345         echo "Bootstrapping training compiler"; \
28346         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28347         @r=`${PWD_COMMAND}`; export r; \
28348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28349         $(SET_LIB_PATH) \
28350         $(HOST_EXPORTS) \
28351         echo "Building feedback based compiler"; \
28352         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28353         @r=`${PWD_COMMAND}`; export r; \
28354         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28355         $(SET_LIB_PATH) \
28356         echo "Building runtime libraries"; \
28357         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28358
28359 .PHONY: cross
28360 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
28361         @r=`${PWD_COMMAND}`; export r; \
28362         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28363         $(SET_LIB_PATH) \
28364         $(HOST_EXPORTS) \
28365         echo "Building the C and C++ compiler"; \
28366         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28367         @r=`${PWD_COMMAND}`; export r; \
28368         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28369         $(SET_LIB_PATH) \
28370         echo "Building runtime libraries"; \
28371         $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28372 @endif gcc-no-bootstrap
28373
28374 @if gcc
28375 .PHONY: check-gcc-c++
28376 check-gcc-c++:
28377         @if [ -f ./gcc/Makefile ] ; then \
28378           r=`${PWD_COMMAND}`; export r; \
28379           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28380           $(SET_LIB_PATH) \
28381           $(HOST_EXPORTS) \
28382           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28383         else \
28384           true; \
28385         fi
28386
28387 .PHONY: check-c++
28388 check-c++: check-target-libstdc++-v3 check-gcc-c++
28389
28390 # Install the gcc headers files, but not the fixed include files,
28391 # which Cygnus is not allowed to distribute.  This rule is very
28392 # dependent on the workings of the gcc Makefile.in.
28393 .PHONY: gcc-no-fixedincludes
28394 gcc-no-fixedincludes:
28395         @if [ -f ./gcc/Makefile ]; then \
28396           rm -rf gcc/tmp-include; \
28397           mv gcc/include gcc/tmp-include 2>/dev/null; \
28398           mkdir gcc/include; \
28399           cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28400           touch gcc/stmp-fixinc gcc/include/fixed; \
28401           rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28402           r=`${PWD_COMMAND}`; export r; \
28403           s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28404           $(SET_LIB_PATH) \
28405           $(HOST_EXPORTS) \
28406           (cd ./gcc && \
28407            $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28408           rm -rf gcc/include; \
28409           mv gcc/tmp-include gcc/include 2>/dev/null; \
28410         else true; fi
28411 @endif gcc
28412
28413 # ---------------------
28414 # GCC bootstrap support
28415 # ---------------------
28416
28417 # We track the current stage (the one in 'gcc') in the stage_current file.
28418 # stage_last instead tracks the stage that was built last.  These targets
28419 # are dummy when toplevel bootstrap is not active.
28420
28421 .PHONY: unstage
28422 unstage:
28423 @if gcc-bootstrap
28424         @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
28425 @endif gcc-bootstrap
28426
28427 .PHONY: stage
28428 stage:
28429 @if gcc-bootstrap
28430         @$(MAKE) `cat stage_current`-end
28431 @endif gcc-bootstrap
28432
28433 @if gcc-bootstrap
28434 # We name the build directories for the various stages "stage1-gcc",
28435 # "stage2-gcc","stage3-gcc", etc.
28436
28437 # Since the 'compare' process will fail (on debugging information) if any
28438 # directory names are different, we need to link the gcc directory for
28439 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28440 # the build directories constant as well. For the latter, we use naked names
28441 # like 'gcc', because the scripts in that directory assume it.  We use
28442 # mv on platforms where symlinks to directories do not work or are not
28443 # reliable.
28444
28445 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28446 # be kept, so that libraries can find it.  Ick!
28447
28448 # It would be best to preinstall gcc into a staging area (and in the
28449 # future, gather there all prebootstrap packages).  This would allow
28450 # assemblers and linkers can be bootstrapped as well as the compiler
28451 # (both in a combined tree, or separately).  This however requires some
28452 # change to the gcc driver, again in order to avoid comparison failures.
28453
28454 # Bugs: This is almost certainly not parallel-make safe.
28455
28456 # 'touch' doesn't work right on some platforms.
28457 STAMP = echo timestamp > 
28458
28459 # Only build the C compiler for stage1, because that is the only one that
28460 # we can guarantee will build with the native compiler, and also it is the
28461 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28462 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28463 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28464
28465 STAGE1_CFLAGS=@stage1_cflags@
28466 STAGE1_LANGUAGES=@stage1_languages@
28467
28468 # We only want to compare .o files, so set this!
28469 objext = .o
28470
28471 # Real targets act phony if they depend on phony targets; this hack
28472 # prevents gratuitous rebuilding of stage 1.
28473 prebootstrap:
28474         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap
28475         $(STAMP) prebootstrap
28476
28477 # Flags to pass to stage2 and later makes.
28478 BOOT_CFLAGS= -g -O2
28479 POSTSTAGE1_FLAGS_TO_PASS = \
28480         CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28481         STAGE_PREFIX=$$r/stage-gcc/ \
28482         CFLAGS="$(BOOT_CFLAGS)" \
28483         ADAC="\$$(CC)"
28484
28485 # For stage 1:
28486 # * We force-disable intermodule optimizations, even if
28487 #   --enable-intermodule was passed, since the installed compiler probably
28488 #   can't handle them.  Luckily, autoconf always respects
28489 #   the last argument when conflicting --enable arguments are passed.
28490 # * Likewise, we force-disable coverage flags, since the installed compiler
28491 #   probably has never heard of them.
28492 # * We build only C (and possibly Ada).
28493
28494
28495 .PHONY: stage1-start stage1-end
28496
28497 stage1-start::
28498         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28499         echo stage1 > stage_current ; \
28500         echo stage1 > stage_last ; \
28501         [ -d stage1-gcc ] || mkdir stage1-gcc; \
28502         set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@ 
28503
28504 stage1-end::
28505         rm -f stage_current ; \
28506         set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
28507
28508 # Bubble a bugfix through all the stages up to stage 1.  They
28509 # are remade, but not reconfigured.  The next stage (if any) will not
28510 # be reconfigured as well.
28511 .PHONY: stage1-bubble
28512 stage1-bubble:: 
28513         @if [ -f all-stage1-gcc ] ; then \
28514           echo Remaking stage 1 ; \
28515           rm -f all-stage1-gcc ; \
28516         fi ; \
28517         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28518
28519
28520
28521 configure-stage1-gcc:  prebootstrap 
28522         $(MAKE) stage1-start
28523         @if [ -f stage1-gcc/Makefile ] ; then \
28524           $(STAMP) configure-stage1-gcc ; \
28525           exit 0; \
28526         else \
28527           true ; \
28528         fi ; \
28529         r=`${PWD_COMMAND}`; export r; \
28530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28531         $(HOST_EXPORTS)  \
28532         echo Configuring stage 1 in gcc ; \
28533         cd gcc || exit 1; \
28534         case $(srcdir) in \
28535           \.) \
28536             srcdiroption="--srcdir=."; \
28537             libsrcdir=".";; \
28538           /* | [A-Za-z]:[\\/]*) \
28539             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28540             libsrcdir="$$s/gcc";; \
28541           *) \
28542             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28543             libsrcdir="$$s/gcc";; \
28544         esac; \
28545         $(SHELL) $${libsrcdir}/configure \
28546           $(HOST_CONFIGARGS) $${srcdiroption} \
28547           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28548           $(STAMP) ../configure-stage1-gcc
28549
28550 all-stage1-gcc: configure-stage1-gcc
28551         $(MAKE) stage1-start
28552         @r=`${PWD_COMMAND}`; export r; \
28553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28554         $(HOST_EXPORTS)  \
28555         cd gcc && \
28556         $(MAKE) $(GCC_FLAGS_TO_PASS)  \
28557                 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28558
28559
28560
28561
28562
28563 .PHONY: restage1 touch-stage1 distclean-stage1
28564
28565 # Rules to wipe a stage and all the following ones, used for cleanstrap
28566
28567 distclean-stage1::
28568         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28569         rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc 
28570
28571 # Rules to renew the timestamp on a stage and all the following ones
28572
28573 touch-stage1::
28574         @[ -f configure-stage1-gcc ] && \
28575           echo '$(STAMP) configure-stage1-gcc' && \
28576           $(STAMP) configure-stage1-gcc; \
28577         [ -f all-stage1-gcc ] && \
28578           echo '$(STAMP) all-stage1-gcc' && \
28579           $(STAMP) all-stage1-gcc; \
28580         :
28581
28582 # After building a stage, touch the following ones
28583
28584 restage1::
28585         rm -rf all-stage1-gcc 
28586         $(MAKE) $(RECURSE_FLAGS_TO_PASS)  all-stage1-gcc 
28587
28588
28589
28590
28591 .PHONY: stage2-start stage2-end
28592
28593 stage2-start::
28594         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28595         echo stage2 > stage_current ; \
28596         echo stage2 > stage_last ; \
28597         [ -d stage2-gcc ] || mkdir stage2-gcc; \
28598         set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
28599         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
28600
28601 stage2-end::
28602         rm -f stage_current ; \
28603         set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@  ; \
28604         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
28605
28606 # Bubble a bugfix through all the stages up to stage 2.  They
28607 # are remade, but not reconfigured.  The next stage (if any) will not
28608 # be reconfigured as well.
28609 .PHONY: stage2-bubble
28610 stage2-bubble:: stage1-bubble
28611         @if [ -f all-stage2-gcc ] ; then \
28612           echo Remaking stage 2 ; \
28613           rm -f all-stage2-gcc ; \
28614         fi ; \
28615         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28616
28617
28618 stage1-bubble::
28619         @if [ -f configure-stage2-gcc ] ; then \
28620           $(STAMP) configure-stage2-gcc ; \
28621         fi
28622
28623
28624 configure-stage2-gcc:  all-stage1-gcc 
28625         $(MAKE) stage2-start
28626         @if [ -f stage2-gcc/Makefile ] ; then \
28627           $(STAMP) configure-stage2-gcc ; \
28628           exit 0; \
28629         else \
28630           true ; \
28631         fi ; \
28632         r=`${PWD_COMMAND}`; export r; \
28633         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28634         $(STAGE_HOST_EXPORTS)  \
28635         echo Configuring stage 2 in gcc ; \
28636         cd gcc || exit 1; \
28637         case $(srcdir) in \
28638           \.) \
28639             srcdiroption="--srcdir=."; \
28640             libsrcdir=".";; \
28641           /* | [A-Za-z]:[\\/]*) \
28642             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28643             libsrcdir="$$s/gcc";; \
28644           *) \
28645             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28646             libsrcdir="$$s/gcc";; \
28647         esac; \
28648         $(SHELL) $${libsrcdir}/configure \
28649           $(HOST_CONFIGARGS) $${srcdiroption} \
28650           @stage2_werror_flag@ && \
28651           $(STAMP) ../configure-stage2-gcc
28652
28653 all-stage2-gcc: configure-stage2-gcc
28654         $(MAKE) stage2-start
28655         @r=`${PWD_COMMAND}`; export r; \
28656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28657         $(STAGE_HOST_EXPORTS)  \
28658         cd gcc && \
28659         $(MAKE) $(GCC_FLAGS_TO_PASS)  \
28660                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28661                  && $(STAMP) ../all-stage2-gcc
28662
28663
28664
28665
28666 .PHONY: bootstrap2
28667 bootstrap2:
28668         $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble  all
28669
28670
28671 .PHONY: restage2 touch-stage2 distclean-stage2
28672
28673 # Rules to wipe a stage and all the following ones, used for cleanstrap
28674 distclean-stage1:: distclean-stage2 
28675 distclean-stage2::
28676         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28677         rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc 
28678
28679 # Rules to renew the timestamp on a stage and all the following ones
28680 touch-stage1:: touch-stage2 
28681 touch-stage2::
28682         @[ -f configure-stage2-gcc ] && \
28683           echo '$(STAMP) configure-stage2-gcc' && \
28684           $(STAMP) configure-stage2-gcc; \
28685         [ -f all-stage2-gcc ] && \
28686           echo '$(STAMP) all-stage2-gcc' && \
28687           $(STAMP) all-stage2-gcc; \
28688         :
28689
28690 # After building a stage, touch the following ones
28691 restage1:: touch-stage2 
28692 restage2::
28693         rm -rf all-stage2-gcc 
28694         $(MAKE) $(RECURSE_FLAGS_TO_PASS)  all-stage2-gcc 
28695
28696
28697
28698
28699 .PHONY: stage3-start stage3-end
28700
28701 stage3-start::
28702         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28703         echo stage3 > stage_current ; \
28704         echo stage3 > stage_last ; \
28705         [ -d stage3-gcc ] || mkdir stage3-gcc; \
28706         set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
28707         set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
28708
28709 stage3-end::
28710         rm -f stage_current ; \
28711         set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@  ; \
28712         set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ 
28713
28714 # Bubble a bugfix through all the stages up to stage 3.  They
28715 # are remade, but not reconfigured.  The next stage (if any) will not
28716 # be reconfigured as well.
28717 .PHONY: stage3-bubble
28718 stage3-bubble:: stage2-bubble
28719         @if [ -f all-stage3-gcc ] ; then \
28720           echo Remaking stage 3 ; \
28721           rm -f all-stage3-gcc ; \
28722         fi ; \
28723         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc
28724
28725
28726 stage2-bubble::
28727         @if [ -f configure-stage3-gcc ] ; then \
28728           $(STAMP) configure-stage3-gcc ; \
28729         fi
28730
28731
28732 configure-stage3-gcc:  all-stage2-gcc 
28733         $(MAKE) stage3-start
28734         @if [ -f stage3-gcc/Makefile ] ; then \
28735           $(STAMP) configure-stage3-gcc ; \
28736           exit 0; \
28737         else \
28738           true ; \
28739         fi ; \
28740         r=`${PWD_COMMAND}`; export r; \
28741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28742         $(STAGE_HOST_EXPORTS)  \
28743         echo Configuring stage 3 in gcc ; \
28744         cd gcc || exit 1; \
28745         case $(srcdir) in \
28746           \.) \
28747             srcdiroption="--srcdir=."; \
28748             libsrcdir=".";; \
28749           /* | [A-Za-z]:[\\/]*) \
28750             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28751             libsrcdir="$$s/gcc";; \
28752           *) \
28753             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28754             libsrcdir="$$s/gcc";; \
28755         esac; \
28756         $(SHELL) $${libsrcdir}/configure \
28757           $(HOST_CONFIGARGS) $${srcdiroption} \
28758           @stage2_werror_flag@ && \
28759           $(STAMP) ../configure-stage3-gcc
28760
28761 all-stage3-gcc: configure-stage3-gcc
28762         $(MAKE) stage3-start
28763         @r=`${PWD_COMMAND}`; export r; \
28764         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28765         $(STAGE_HOST_EXPORTS)  \
28766         cd gcc && \
28767         $(MAKE) $(GCC_FLAGS_TO_PASS)  \
28768                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28769                  && $(STAMP) ../all-stage3-gcc
28770
28771
28772 compare: all-stage3-gcc
28773         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28774         @r=`${PWD_COMMAND}`; export r; \
28775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28776         rm -f .bad_compare ; \
28777         cd stage3-gcc; \
28778         files=`find . -name "*$(objext)" -print` ; \
28779         cd .. ; \
28780         for file in $${files} ; do \
28781           f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28782           @do_compare@ > /dev/null 2>&1; \
28783           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28784         done ; \
28785         if [ -f .bad_compare ]; then \
28786           echo "Bootstrap comparison failure!"; \
28787           cat .bad_compare; \
28788           exit 1; \
28789         else \
28790           true; \
28791         fi ; \
28792         $(STAMP) compare
28793
28794
28795
28796 .PHONY: bootstrap
28797 bootstrap:
28798         $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble  compare  all
28799
28800
28801 .PHONY: restage3 touch-stage3 distclean-stage3
28802
28803 # Rules to wipe a stage and all the following ones, used for cleanstrap
28804 distclean-stage2:: distclean-stage3 
28805 distclean-stage3::
28806         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28807         rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare 
28808
28809 # Rules to renew the timestamp on a stage and all the following ones
28810 touch-stage2:: touch-stage3 
28811 touch-stage3::
28812         @[ -f configure-stage3-gcc ] && \
28813           echo '$(STAMP) configure-stage3-gcc' && \
28814           $(STAMP) configure-stage3-gcc; \
28815         [ -f all-stage3-gcc ] && \
28816           echo '$(STAMP) all-stage3-gcc' && \
28817           $(STAMP) all-stage3-gcc; \
28818         :
28819
28820 # After building a stage, touch the following ones
28821 restage2:: touch-stage3 
28822 restage3::
28823         rm -rf all-stage3-gcc compare 
28824         $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare 
28825
28826
28827 .PHONY: cleanstrap
28828 cleanstrap: distclean-stage1 bootstrap
28829
28830
28831
28832 .PHONY: stage4-start stage4-end
28833
28834 stage4-start::
28835         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28836         echo stage4 > stage_current ; \
28837         echo stage4 > stage_last ; \
28838         [ -d stage4-gcc ] || mkdir stage4-gcc; \
28839         set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
28840         set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
28841
28842 stage4-end::
28843         rm -f stage_current ; \
28844         set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@  ; \
28845         set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ 
28846
28847 # Bubble a bugfix through all the stages up to stage 4.  They
28848 # are remade, but not reconfigured.  The next stage (if any) will not
28849 # be reconfigured as well.
28850 .PHONY: stage4-bubble
28851 stage4-bubble:: stage3-bubble
28852         @if [ -f all-stage4-gcc ] ; then \
28853           echo Remaking stage 4 ; \
28854           rm -f all-stage4-gcc ; \
28855         fi ; \
28856         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc
28857
28858
28859 stage3-bubble::
28860         @if [ -f configure-stage4-gcc ] ; then \
28861           $(STAMP) configure-stage4-gcc ; \
28862         fi
28863
28864
28865 configure-stage4-gcc:  all-stage3-gcc 
28866         $(MAKE) stage4-start
28867         @if [ -f stage4-gcc/Makefile ] ; then \
28868           $(STAMP) configure-stage4-gcc ; \
28869           exit 0; \
28870         else \
28871           true ; \
28872         fi ; \
28873         r=`${PWD_COMMAND}`; export r; \
28874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28875         $(STAGE_HOST_EXPORTS)  \
28876         echo Configuring stage 4 in gcc ; \
28877         cd gcc || exit 1; \
28878         case $(srcdir) in \
28879           \.) \
28880             srcdiroption="--srcdir=."; \
28881             libsrcdir=".";; \
28882           /* | [A-Za-z]:[\\/]*) \
28883             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28884             libsrcdir="$$s/gcc";; \
28885           *) \
28886             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28887             libsrcdir="$$s/gcc";; \
28888         esac; \
28889         $(SHELL) $${libsrcdir}/configure \
28890           $(HOST_CONFIGARGS) $${srcdiroption} \
28891           @stage2_werror_flag@ && \
28892           $(STAMP) ../configure-stage4-gcc
28893
28894 all-stage4-gcc: configure-stage4-gcc
28895         $(MAKE) stage4-start
28896         @r=`${PWD_COMMAND}`; export r; \
28897         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
28898         $(STAGE_HOST_EXPORTS)  \
28899         cd gcc && \
28900         $(MAKE) $(GCC_FLAGS_TO_PASS)  \
28901                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
28902                  && $(STAMP) ../all-stage4-gcc
28903
28904
28905 compare3: all-stage4-gcc
28906         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28907         @r=`${PWD_COMMAND}`; export r; \
28908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28909         rm -f .bad_compare ; \
28910         cd stage4-gcc; \
28911         files=`find . -name "*$(objext)" -print` ; \
28912         cd .. ; \
28913         for file in $${files} ; do \
28914           f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
28915           @do_compare@ > /dev/null 2>&1; \
28916           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28917         done ; \
28918         if [ -f .bad_compare ]; then \
28919           echo "Bootstrap comparison failure!"; \
28920           cat .bad_compare; \
28921           exit 1; \
28922         else \
28923           true; \
28924         fi ; \
28925         $(STAMP) compare3
28926
28927
28928
28929 .PHONY: bootstrap4
28930 bootstrap4:
28931         $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble  compare3  all
28932
28933
28934 .PHONY: restage4 touch-stage4 distclean-stage4
28935
28936 # Rules to wipe a stage and all the following ones, used for cleanstrap
28937 distclean-stage3:: distclean-stage4 
28938 distclean-stage4::
28939         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28940         rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3 
28941
28942 # Rules to renew the timestamp on a stage and all the following ones
28943 touch-stage3:: touch-stage4 
28944 touch-stage4::
28945         @[ -f configure-stage4-gcc ] && \
28946           echo '$(STAMP) configure-stage4-gcc' && \
28947           $(STAMP) configure-stage4-gcc; \
28948         [ -f all-stage4-gcc ] && \
28949           echo '$(STAMP) all-stage4-gcc' && \
28950           $(STAMP) all-stage4-gcc; \
28951         :
28952
28953 # After building a stage, touch the following ones
28954 restage3:: touch-stage4 
28955 restage4::
28956         rm -rf all-stage4-gcc compare3 
28957         $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3 
28958
28959
28960
28961
28962 .PHONY: stageprofile-start stageprofile-end
28963
28964 stageprofile-start::
28965         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28966         echo stageprofile > stage_current ; \
28967         echo stageprofile > stage_last ; \
28968         [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
28969         set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
28970         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
28971
28972 stageprofile-end::
28973         rm -f stage_current ; \
28974         set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@  ; \
28975         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
28976
28977 # Bubble a bugfix through all the stages up to stage profile.  They
28978 # are remade, but not reconfigured.  The next stage (if any) will not
28979 # be reconfigured as well.
28980 .PHONY: stageprofile-bubble
28981 stageprofile-bubble:: stage1-bubble
28982         @if [ -f all-stageprofile-gcc ] ; then \
28983           echo Remaking stage profile ; \
28984           rm -f all-stageprofile-gcc ; \
28985         fi ; \
28986         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28987
28988
28989 stage1-bubble::
28990         @if [ -f configure-stageprofile-gcc ] ; then \
28991           $(STAMP) configure-stageprofile-gcc ; \
28992         fi
28993
28994
28995 configure-stageprofile-gcc:  all-stage1-gcc 
28996         $(MAKE) stageprofile-start
28997         @if [ -f stageprofile-gcc/Makefile ] ; then \
28998           $(STAMP) configure-stageprofile-gcc ; \
28999           exit 0; \
29000         else \
29001           true ; \
29002         fi ; \
29003         r=`${PWD_COMMAND}`; export r; \
29004         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29005         $(STAGE_HOST_EXPORTS)  \
29006         echo Configuring stage profile in gcc ; \
29007         cd gcc || exit 1; \
29008         case $(srcdir) in \
29009           \.) \
29010             srcdiroption="--srcdir=."; \
29011             libsrcdir=".";; \
29012           /* | [A-Za-z]:[\\/]*) \
29013             srcdiroption="--srcdir=$(srcdir)/gcc"; \
29014             libsrcdir="$$s/gcc";; \
29015           *) \
29016             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29017             libsrcdir="$$s/gcc";; \
29018         esac; \
29019         $(SHELL) $${libsrcdir}/configure \
29020           $(HOST_CONFIGARGS) $${srcdiroption} \
29021           @stage2_werror_flag@ && \
29022           $(STAMP) ../configure-stageprofile-gcc
29023
29024 all-stageprofile-gcc: configure-stageprofile-gcc
29025         $(MAKE) stageprofile-start
29026         @r=`${PWD_COMMAND}`; export r; \
29027         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29028         $(STAGE_HOST_EXPORTS)  \
29029         cd gcc && \
29030         $(MAKE) $(GCC_FLAGS_TO_PASS)  \
29031                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29032                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc
29033
29034
29035
29036
29037
29038 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
29039
29040 # Rules to wipe a stage and all the following ones, used for cleanstrap
29041 distclean-stage1:: distclean-stageprofile 
29042 distclean-stageprofile::
29043         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29044         rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc 
29045
29046 # Rules to renew the timestamp on a stage and all the following ones
29047 touch-stage1:: touch-stageprofile 
29048 touch-stageprofile::
29049         @[ -f configure-stageprofile-gcc ] && \
29050           echo '$(STAMP) configure-stageprofile-gcc' && \
29051           $(STAMP) configure-stageprofile-gcc; \
29052         [ -f all-stageprofile-gcc ] && \
29053           echo '$(STAMP) all-stageprofile-gcc' && \
29054           $(STAMP) all-stageprofile-gcc; \
29055         :
29056
29057 # After building a stage, touch the following ones
29058 restage1:: touch-stageprofile 
29059 restageprofile::
29060         rm -rf all-stageprofile-gcc 
29061         $(MAKE) $(RECURSE_FLAGS_TO_PASS)  all-stageprofile-gcc 
29062
29063
29064
29065
29066 .PHONY: stagefeedback-start stagefeedback-end
29067
29068 stagefeedback-start::
29069         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29070         echo stagefeedback > stage_current ; \
29071         echo stagefeedback > stage_last ; \
29072         [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
29073         set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@  ; \
29074         set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@ 
29075
29076 stagefeedback-end::
29077         rm -f stage_current ; \
29078         set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@  ; \
29079         set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@ 
29080
29081 # Bubble a bugfix through all the stages up to stage feedback.  They
29082 # are remade, but not reconfigured.  The next stage (if any) will not
29083 # be reconfigured as well.
29084 .PHONY: stagefeedback-bubble
29085 stagefeedback-bubble:: stage1-bubble
29086         @if [ -f all-stagefeedback-gcc ] ; then \
29087           echo Remaking stage feedback ; \
29088           rm -f all-stagefeedback-gcc ; \
29089         fi ; \
29090         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
29091
29092
29093 stage1-bubble::
29094         @if [ -f configure-stagefeedback-gcc ] ; then \
29095           $(STAMP) configure-stagefeedback-gcc ; \
29096         fi
29097
29098
29099 configure-stagefeedback-gcc:  all-stage1-gcc 
29100         $(MAKE) stagefeedback-start
29101         @if [ -f stagefeedback-gcc/Makefile ] ; then \
29102           $(STAMP) configure-stagefeedback-gcc ; \
29103           exit 0; \
29104         else \
29105           true ; \
29106         fi ; \
29107         r=`${PWD_COMMAND}`; export r; \
29108         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29109         $(STAGE_HOST_EXPORTS)  \
29110         echo Configuring stage feedback in gcc ; \
29111         cd gcc || exit 1; \
29112         case $(srcdir) in \
29113           \.) \
29114             srcdiroption="--srcdir=."; \
29115             libsrcdir=".";; \
29116           /* | [A-Za-z]:[\\/]*) \
29117             srcdiroption="--srcdir=$(srcdir)/gcc"; \
29118             libsrcdir="$$s/gcc";; \
29119           *) \
29120             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29121             libsrcdir="$$s/gcc";; \
29122         esac; \
29123         $(SHELL) $${libsrcdir}/configure \
29124           $(HOST_CONFIGARGS) $${srcdiroption} \
29125           @stage2_werror_flag@ && \
29126           $(STAMP) ../configure-stagefeedback-gcc
29127
29128 all-stagefeedback-gcc: configure-stagefeedback-gcc
29129         $(MAKE) stagefeedback-start
29130         @r=`${PWD_COMMAND}`; export r; \
29131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29132         $(STAGE_HOST_EXPORTS)  \
29133         cd gcc && \
29134         $(MAKE) $(GCC_FLAGS_TO_PASS)  \
29135                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
29136                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc
29137
29138
29139
29140
29141
29142 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
29143
29144 # Rules to wipe a stage and all the following ones, used for cleanstrap
29145 distclean-stage1:: distclean-stagefeedback 
29146 distclean-stagefeedback::
29147         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29148         rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc 
29149
29150 # Rules to renew the timestamp on a stage and all the following ones
29151 touch-stage1:: touch-stagefeedback 
29152 touch-stagefeedback::
29153         @[ -f configure-stagefeedback-gcc ] && \
29154           echo '$(STAMP) configure-stagefeedback-gcc' && \
29155           $(STAMP) configure-stagefeedback-gcc; \
29156         [ -f all-stagefeedback-gcc ] && \
29157           echo '$(STAMP) all-stagefeedback-gcc' && \
29158           $(STAMP) all-stagefeedback-gcc; \
29159         :
29160
29161 # After building a stage, touch the following ones
29162 restage1:: touch-stagefeedback 
29163 restagefeedback::
29164         rm -rf all-stagefeedback-gcc 
29165         $(MAKE) $(RECURSE_FLAGS_TO_PASS)  all-stagefeedback-gcc 
29166
29167
29168
29169
29170
29171 stagefeedback-start::
29172         @r=`${PWD_COMMAND}`; export r; \
29173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29174         cd stageprofile-gcc && \
29175           { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
29176           { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
29177
29178 profiledbootstrap: all-prebootstrap configure-gcc
29179         @r=`${PWD_COMMAND}`; export r; \
29180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29181         $(SET_LIB_PATH) \
29182         $(HOST_EXPORTS) \
29183         echo "Bootstrapping the compiler"; \
29184         $(MAKE) stageprofile-bubble distclean-stagefeedback
29185         @r=`${PWD_COMMAND}`; export r; \
29186         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29187         $(SET_LIB_PATH) \
29188         echo "Building runtime libraries and training compiler"; \
29189         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
29190         @r=`${PWD_COMMAND}`; export r; \
29191         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29192         $(SET_LIB_PATH) \
29193         $(HOST_EXPORTS) \
29194         echo "Building feedback based compiler"; \
29195         $(MAKE) stagefeedback-bubble stagefeedback-end
29196
29197 @endif gcc-bootstrap
29198
29199 # --------------------------------------
29200 # Dependencies between different modules
29201 # --------------------------------------
29202
29203 # Generic dependencies for target modules on host stuff, especially gcc
29204
29205 configure-target-libstdc++-v3: maybe-all-gcc
29206
29207 configure-target-libmudflap: maybe-all-gcc
29208
29209 configure-target-newlib: maybe-all-gcc
29210
29211 configure-target-libgfortran: maybe-all-gcc
29212
29213 configure-target-libobjc: maybe-all-gcc
29214
29215 configure-target-libtermcap: maybe-all-gcc
29216
29217 configure-target-winsup: maybe-all-gcc
29218
29219 configure-target-libgloss: maybe-all-gcc
29220
29221 configure-target-libiberty: maybe-all-gcc
29222
29223 configure-target-gperf: maybe-all-gcc
29224
29225 configure-target-examples: maybe-all-gcc
29226
29227 configure-target-libffi: maybe-all-gcc
29228
29229 configure-target-libjava: maybe-all-gcc
29230
29231 configure-target-zlib: maybe-all-gcc
29232
29233 configure-target-boehm-gc: maybe-all-gcc
29234
29235 configure-target-qthreads: maybe-all-gcc
29236
29237 configure-target-rda: maybe-all-gcc
29238
29239 configure-target-libada: maybe-all-gcc
29240
29241
29242
29243 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
29244
29245 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
29246 configure-target-gperf: maybe-all-target-libstdc++-v3
29247
29248 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
29249
29250 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
29251
29252 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
29253
29254 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
29255 configure-target-libjava: maybe-all-target-libstdc++-v3
29256
29257 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
29258
29259 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
29260
29261 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
29262
29263 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
29264
29265 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
29266
29267 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
29268
29269 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
29270
29271 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
29272
29273
29274 # There are two types of dependencies here: 'hard' dependencies, where one
29275 # module simply won't build without the other; and 'soft' dependencies, where
29276 # if the depended-on module is missing, the depending module will do without
29277 # or find a substitute somewhere (perhaps installed).  Soft dependencies
29278 # are made here to depend on a 'maybe-' target.  If you're not sure,
29279 # it's safer to use a soft dependency.
29280
29281
29282
29283
29284
29285 # With all the machinery above in place, it is pretty easy to generate
29286 # dependencies.  Host dependencies are a bit more complex because we have
29287 # to check for bootstrap/prebootstrap dependencies.  To resolve
29288 # prebootstrap dependencies, prebootstrap modules are gathered in
29289 # a hash table.
29290 all-build-bison: maybe-all-build-texinfo
29291 all-build-byacc: maybe-all-build-texinfo
29292 all-build-flex: maybe-all-build-texinfo
29293 all-build-flex: maybe-all-build-bison
29294 all-build-flex: maybe-all-build-byacc
29295 all-build-flex: maybe-all-build-m4
29296 all-build-libiberty: maybe-all-build-texinfo
29297 all-build-m4: maybe-all-build-texinfo
29298 configure-gcc: maybe-configure-intl
29299
29300 configure-stage1-gcc: maybe-configure-stage1-intl
29301 configure-stage2-gcc: maybe-configure-stage2-intl
29302 configure-stage3-gcc: maybe-configure-stage3-intl
29303 configure-stage4-gcc: maybe-configure-stage4-intl
29304 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
29305 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
29306 configure-gcc: maybe-configure-binutils
29307
29308 configure-stage1-gcc: maybe-configure-stage1-binutils
29309 configure-stage2-gcc: maybe-configure-stage2-binutils
29310 configure-stage3-gcc: maybe-configure-stage3-binutils
29311 configure-stage4-gcc: maybe-configure-stage4-binutils
29312 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
29313 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
29314 configure-gcc: maybe-configure-gas
29315
29316 configure-stage1-gcc: maybe-configure-stage1-gas
29317 configure-stage2-gcc: maybe-configure-stage2-gas
29318 configure-stage3-gcc: maybe-configure-stage3-gas
29319 configure-stage4-gcc: maybe-configure-stage4-gas
29320 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
29321 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
29322 configure-gcc: maybe-configure-ld
29323
29324 configure-stage1-gcc: maybe-configure-stage1-ld
29325 configure-stage2-gcc: maybe-configure-stage2-ld
29326 configure-stage3-gcc: maybe-configure-stage3-ld
29327 configure-stage4-gcc: maybe-configure-stage4-ld
29328 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
29329 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
29330 configure-gcc: maybe-configure-bison
29331 configure-gcc: maybe-configure-flex
29332 all-gcc: all-libiberty
29333
29334 all-stage1-gcc: all-stage1-libiberty
29335 all-stage2-gcc: all-stage2-libiberty
29336 all-stage3-gcc: all-stage3-libiberty
29337 all-stage4-gcc: all-stage4-libiberty
29338 all-stageprofile-gcc: all-stageprofile-libiberty
29339 all-stagefeedback-gcc: all-stagefeedback-libiberty
29340 all-gcc: maybe-all-intl
29341
29342 all-stage1-gcc: maybe-all-stage1-intl
29343 all-stage2-gcc: maybe-all-stage2-intl
29344 all-stage3-gcc: maybe-all-stage3-intl
29345 all-stage4-gcc: maybe-all-stage4-intl
29346 all-stageprofile-gcc: maybe-all-stageprofile-intl
29347 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
29348 all-gcc: maybe-all-texinfo
29349 all-gcc: maybe-all-bison
29350 all-gcc: maybe-all-byacc
29351 all-gcc: maybe-all-flex
29352 all-gcc: maybe-all-binutils
29353
29354 all-stage1-gcc: maybe-all-stage1-binutils
29355 all-stage2-gcc: maybe-all-stage2-binutils
29356 all-stage3-gcc: maybe-all-stage3-binutils
29357 all-stage4-gcc: maybe-all-stage4-binutils
29358 all-stageprofile-gcc: maybe-all-stageprofile-binutils
29359 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
29360 all-gcc: maybe-all-gas
29361
29362 all-stage1-gcc: maybe-all-stage1-gas
29363 all-stage2-gcc: maybe-all-stage2-gas
29364 all-stage3-gcc: maybe-all-stage3-gas
29365 all-stage4-gcc: maybe-all-stage4-gas
29366 all-stageprofile-gcc: maybe-all-stageprofile-gas
29367 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
29368 all-gcc: maybe-all-ld
29369
29370 all-stage1-gcc: maybe-all-stage1-ld
29371 all-stage2-gcc: maybe-all-stage2-ld
29372 all-stage3-gcc: maybe-all-stage3-ld
29373 all-stage4-gcc: maybe-all-stage4-ld
29374 all-stageprofile-gcc: maybe-all-stageprofile-ld
29375 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
29376 all-gcc: maybe-all-zlib
29377
29378 all-stage1-gcc: maybe-all-stage1-zlib
29379 all-stage2-gcc: maybe-all-stage2-zlib
29380 all-stage3-gcc: maybe-all-stage3-zlib
29381 all-stage4-gcc: maybe-all-stage4-zlib
29382 all-stageprofile-gcc: maybe-all-stageprofile-zlib
29383 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
29384 all-gcc: maybe-all-libbanshee
29385
29386 all-stage1-gcc: maybe-all-stage1-libbanshee
29387 all-stage2-gcc: maybe-all-stage2-libbanshee
29388 all-stage3-gcc: maybe-all-stage3-libbanshee
29389 all-stage4-gcc: maybe-all-stage4-libbanshee
29390 all-stageprofile-gcc: maybe-all-stageprofile-libbanshee
29391 all-stagefeedback-gcc: maybe-all-stagefeedback-libbanshee
29392 all-gcc: all-libcpp
29393
29394 all-stage1-gcc: all-stage1-libcpp
29395 all-stage2-gcc: all-stage2-libcpp
29396 all-stage3-gcc: all-stage3-libcpp
29397 all-stage4-gcc: all-stage4-libcpp
29398 all-stageprofile-gcc: all-stageprofile-libcpp
29399 all-stagefeedback-gcc: all-stagefeedback-libcpp
29400 all-gcc: maybe-all-build-libiberty
29401 configure-libcpp: configure-libiberty
29402
29403 configure-stage1-libcpp: configure-stage1-libiberty
29404 configure-stage2-libcpp: configure-stage2-libiberty
29405 configure-stage3-libcpp: configure-stage3-libiberty
29406 configure-stage4-libcpp: configure-stage4-libiberty
29407 configure-stageprofile-libcpp: configure-stageprofile-libiberty
29408 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
29409 configure-libcpp: maybe-configure-intl
29410
29411 configure-stage1-libcpp: maybe-configure-stage1-intl
29412 configure-stage2-libcpp: maybe-configure-stage2-intl
29413 configure-stage3-libcpp: maybe-configure-stage3-intl
29414 configure-stage4-libcpp: maybe-configure-stage4-intl
29415 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
29416 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
29417 all-libcpp: all-libiberty
29418
29419 all-stage1-libcpp: all-stage1-libiberty
29420 all-stage2-libcpp: all-stage2-libiberty
29421 all-stage3-libcpp: all-stage3-libiberty
29422 all-stage4-libcpp: all-stage4-libiberty
29423 all-stageprofile-libcpp: all-stageprofile-libiberty
29424 all-stagefeedback-libcpp: all-stagefeedback-libiberty
29425 all-libcpp: maybe-all-intl
29426
29427 all-stage1-libcpp: maybe-all-stage1-intl
29428 all-stage2-libcpp: maybe-all-stage2-intl
29429 all-stage3-libcpp: maybe-all-stage3-intl
29430 all-stage4-libcpp: maybe-all-stage4-intl
29431 all-stageprofile-libcpp: maybe-all-stageprofile-intl
29432 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
29433 configure-gdb: maybe-configure-itcl
29434 configure-gdb: maybe-configure-tcl
29435 configure-gdb: maybe-configure-tk
29436 configure-gdb: maybe-configure-sim
29437 all-gdb: maybe-all-libiberty
29438 all-gdb: maybe-all-opcodes
29439 all-gdb: maybe-all-bfd
29440 all-gdb: maybe-all-readline
29441 all-gdb: maybe-all-bison
29442 all-gdb: maybe-all-byacc
29443 all-gdb: maybe-all-sim
29444 install-gdb: maybe-install-tcl
29445 install-gdb: maybe-install-tk
29446 install-gdb: maybe-install-itcl
29447 install-gdb: maybe-install-tix
29448 install-gdb: maybe-install-libgui
29449 configure-libgui: maybe-configure-tcl
29450 configure-libgui: maybe-configure-tk
29451 all-libgui: maybe-all-tcl
29452 all-libgui: maybe-all-tk
29453 all-libgui: maybe-all-itcl
29454 configure-bfd: configure-libiberty
29455
29456 configure-stage1-bfd: configure-stage1-libiberty
29457 configure-stage2-bfd: configure-stage2-libiberty
29458 configure-stage3-bfd: configure-stage3-libiberty
29459 configure-stage4-bfd: configure-stage4-libiberty
29460 configure-stageprofile-bfd: configure-stageprofile-libiberty
29461 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
29462 all-bfd: maybe-all-libiberty
29463
29464 all-stage1-bfd: maybe-all-stage1-libiberty
29465 all-stage2-bfd: maybe-all-stage2-libiberty
29466 all-stage3-bfd: maybe-all-stage3-libiberty
29467 all-stage4-bfd: maybe-all-stage4-libiberty
29468 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
29469 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
29470 all-bfd: maybe-all-intl
29471
29472 all-stage1-bfd: maybe-all-stage1-intl
29473 all-stage2-bfd: maybe-all-stage2-intl
29474 all-stage3-bfd: maybe-all-stage3-intl
29475 all-stage4-bfd: maybe-all-stage4-intl
29476 all-stageprofile-bfd: maybe-all-stageprofile-intl
29477 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
29478 all-binutils: maybe-all-libiberty
29479
29480 all-stage1-binutils: maybe-all-stage1-libiberty
29481 all-stage2-binutils: maybe-all-stage2-libiberty
29482 all-stage3-binutils: maybe-all-stage3-libiberty
29483 all-stage4-binutils: maybe-all-stage4-libiberty
29484 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
29485 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
29486 all-binutils: maybe-all-opcodes
29487
29488 all-stage1-binutils: maybe-all-stage1-opcodes
29489 all-stage2-binutils: maybe-all-stage2-opcodes
29490 all-stage3-binutils: maybe-all-stage3-opcodes
29491 all-stage4-binutils: maybe-all-stage4-opcodes
29492 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
29493 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
29494 all-binutils: maybe-all-bfd
29495
29496 all-stage1-binutils: maybe-all-stage1-bfd
29497 all-stage2-binutils: maybe-all-stage2-bfd
29498 all-stage3-binutils: maybe-all-stage3-bfd
29499 all-stage4-binutils: maybe-all-stage4-bfd
29500 all-stageprofile-binutils: maybe-all-stageprofile-bfd
29501 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
29502 all-binutils: maybe-all-flex
29503 all-binutils: maybe-all-bison
29504 all-binutils: maybe-all-byacc
29505 all-binutils: maybe-all-intl
29506
29507 all-stage1-binutils: maybe-all-stage1-intl
29508 all-stage2-binutils: maybe-all-stage2-intl
29509 all-stage3-binutils: maybe-all-stage3-intl
29510 all-stage4-binutils: maybe-all-stage4-intl
29511 all-stageprofile-binutils: maybe-all-stageprofile-intl
29512 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
29513 install-binutils: maybe-install-opcodes
29514 install-opcodes: maybe-install-bfd
29515 all-gas: maybe-all-libiberty
29516
29517 all-stage1-gas: maybe-all-stage1-libiberty
29518 all-stage2-gas: maybe-all-stage2-libiberty
29519 all-stage3-gas: maybe-all-stage3-libiberty
29520 all-stage4-gas: maybe-all-stage4-libiberty
29521 all-stageprofile-gas: maybe-all-stageprofile-libiberty
29522 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
29523 all-gas: maybe-all-opcodes
29524
29525 all-stage1-gas: maybe-all-stage1-opcodes
29526 all-stage2-gas: maybe-all-stage2-opcodes
29527 all-stage3-gas: maybe-all-stage3-opcodes
29528 all-stage4-gas: maybe-all-stage4-opcodes
29529 all-stageprofile-gas: maybe-all-stageprofile-opcodes
29530 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
29531 all-gas: maybe-all-bfd
29532
29533 all-stage1-gas: maybe-all-stage1-bfd
29534 all-stage2-gas: maybe-all-stage2-bfd
29535 all-stage3-gas: maybe-all-stage3-bfd
29536 all-stage4-gas: maybe-all-stage4-bfd
29537 all-stageprofile-gas: maybe-all-stageprofile-bfd
29538 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
29539 all-gas: maybe-all-intl
29540
29541 all-stage1-gas: maybe-all-stage1-intl
29542 all-stage2-gas: maybe-all-stage2-intl
29543 all-stage3-gas: maybe-all-stage3-intl
29544 all-stage4-gas: maybe-all-stage4-intl
29545 all-stageprofile-gas: maybe-all-stageprofile-intl
29546 all-stagefeedback-gas: maybe-all-stagefeedback-intl
29547 all-gprof: maybe-all-libiberty
29548 all-gprof: maybe-all-bfd
29549 all-gprof: maybe-all-opcodes
29550 all-gprof: maybe-all-intl
29551 all-ld: maybe-all-libiberty
29552
29553 all-stage1-ld: maybe-all-stage1-libiberty
29554 all-stage2-ld: maybe-all-stage2-libiberty
29555 all-stage3-ld: maybe-all-stage3-libiberty
29556 all-stage4-ld: maybe-all-stage4-libiberty
29557 all-stageprofile-ld: maybe-all-stageprofile-libiberty
29558 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
29559 all-ld: maybe-all-bfd
29560
29561 all-stage1-ld: maybe-all-stage1-bfd
29562 all-stage2-ld: maybe-all-stage2-bfd
29563 all-stage3-ld: maybe-all-stage3-bfd
29564 all-stage4-ld: maybe-all-stage4-bfd
29565 all-stageprofile-ld: maybe-all-stageprofile-bfd
29566 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
29567 all-ld: maybe-all-opcodes
29568
29569 all-stage1-ld: maybe-all-stage1-opcodes
29570 all-stage2-ld: maybe-all-stage2-opcodes
29571 all-stage3-ld: maybe-all-stage3-opcodes
29572 all-stage4-ld: maybe-all-stage4-opcodes
29573 all-stageprofile-ld: maybe-all-stageprofile-opcodes
29574 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
29575 all-ld: maybe-all-bison
29576 all-ld: maybe-all-byacc
29577 all-ld: maybe-all-flex
29578 all-ld: maybe-all-intl
29579
29580 all-stage1-ld: maybe-all-stage1-intl
29581 all-stage2-ld: maybe-all-stage2-intl
29582 all-stage3-ld: maybe-all-stage3-intl
29583 all-stage4-ld: maybe-all-stage4-intl
29584 all-stageprofile-ld: maybe-all-stageprofile-intl
29585 all-stagefeedback-ld: maybe-all-stagefeedback-intl
29586 all-opcodes: maybe-all-bfd
29587
29588 all-stage1-opcodes: maybe-all-stage1-bfd
29589 all-stage2-opcodes: maybe-all-stage2-bfd
29590 all-stage3-opcodes: maybe-all-stage3-bfd
29591 all-stage4-opcodes: maybe-all-stage4-bfd
29592 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
29593 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
29594 all-opcodes: maybe-all-libiberty
29595
29596 all-stage1-opcodes: maybe-all-stage1-libiberty
29597 all-stage2-opcodes: maybe-all-stage2-libiberty
29598 all-stage3-opcodes: maybe-all-stage3-libiberty
29599 all-stage4-opcodes: maybe-all-stage4-libiberty
29600 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
29601 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
29602 all-dejagnu: maybe-all-tcl
29603 all-dejagnu: maybe-all-expect
29604 all-dejagnu: maybe-all-tk
29605 configure-expect: maybe-configure-tcl
29606 configure-expect: maybe-configure-tk
29607 all-expect: maybe-all-tcl
29608 all-expect: maybe-all-tk
29609 configure-itcl: maybe-configure-tcl
29610 configure-itcl: maybe-configure-tk
29611 all-itcl: maybe-all-tcl
29612 all-itcl: maybe-all-tk
29613 install-itcl: maybe-install-tcl
29614 configure-tk: maybe-configure-tcl
29615 all-tk: maybe-all-tcl
29616 configure-tix: maybe-configure-tcl
29617 configure-tix: maybe-configure-tk
29618 all-tix: maybe-all-tcl
29619 all-tix: maybe-all-tk
29620 all-sid: maybe-all-libiberty
29621 all-sid: maybe-all-bfd
29622 all-sid: maybe-all-opcodes
29623 all-sid: maybe-all-tcl
29624 all-sid: maybe-all-tk
29625 install-sid: maybe-install-tcl
29626 install-sid: maybe-install-tk
29627 all-sim: maybe-all-libiberty
29628 all-sim: maybe-all-bfd
29629 all-sim: maybe-all-opcodes
29630 all-sim: maybe-all-readline
29631 all-sim: maybe-configure-gdb
29632 all-fastjar: maybe-all-zlib
29633 all-fastjar: maybe-all-texinfo
29634 all-fastjar: maybe-all-libiberty
29635 all-autoconf: maybe-all-m4
29636 all-autoconf: maybe-all-texinfo
29637 all-automake: maybe-all-m4
29638 all-automake: maybe-all-texinfo
29639 all-automake: maybe-all-autoconf
29640 all-bison: maybe-all-intl
29641 all-bison: maybe-all-texinfo
29642 all-diff: maybe-all-intl
29643 all-diff: maybe-all-texinfo
29644 all-fileutils: maybe-all-intl
29645 all-fileutils: maybe-all-texinfo
29646 all-flex: maybe-all-bison
29647 all-flex: maybe-all-byacc
29648 all-flex: maybe-all-intl
29649 all-flex: maybe-all-m4
29650 all-flex: maybe-all-texinfo
29651 all-gzip: maybe-all-intl
29652 all-gzip: maybe-all-zlib
29653 all-gzip: maybe-all-texinfo
29654 all-hello: maybe-all-intl
29655 all-hello: maybe-all-texinfo
29656 all-m4: maybe-all-intl
29657 all-m4: maybe-all-texinfo
29658 all-make: maybe-all-intl
29659 all-make: maybe-all-texinfo
29660 all-patch: maybe-all-texinfo
29661 all-make: maybe-all-texinfo
29662 all-prms: maybe-all-libiberty
29663 all-recode: maybe-all-texinfo
29664 all-sed: maybe-all-texinfo
29665 all-send-pr: maybe-all-prms
29666 all-tar: maybe-all-texinfo
29667 all-uudecode: maybe-all-texinfo
29668 configure-target-boehm-gc: maybe-configure-target-qthreads
29669 configure-target-fastjar: maybe-configure-target-zlib
29670 all-target-fastjar: maybe-all-target-zlib
29671 all-target-fastjar: maybe-all-target-libiberty
29672 configure-target-libjava: maybe-configure-target-zlib
29673 configure-target-libjava: maybe-configure-target-boehm-gc
29674 configure-target-libjava: maybe-configure-target-qthreads
29675 configure-target-libjava: maybe-configure-target-libffi
29676 all-target-libjava: maybe-all-fastjar
29677 all-target-libjava: maybe-all-target-zlib
29678 all-target-libjava: maybe-all-target-boehm-gc
29679 all-target-libjava: maybe-all-target-qthreads
29680 all-target-libjava: maybe-all-target-libffi
29681 all-target-libobjc: maybe-all-target-libiberty
29682 all-target-libstdc++-v3: maybe-all-target-libiberty
29683 all-target-libgloss: maybe-configure-target-newlib
29684 all-target-winsup: maybe-all-target-libiberty
29685 all-target-winsup: maybe-all-target-libtermcap
29686
29687
29688 # Now build the prebootstrap dependencies.
29689
29690 all-prebootstrap: maybe-all-bison
29691 all-prebootstrap: maybe-all-byacc
29692 all-prebootstrap: maybe-all-flex
29693 all-prebootstrap: maybe-all-texinfo
29694
29695 # Unless toplevel bootstrap is going, bootstrapped packages are actually
29696 # prebootstrapped, with the exception of gcc.  Another wart that will go
29697 # away with toplevel bootstrap.
29698 @if gcc-no-bootstrap
29699
29700 all-prebootstrap: maybe-all-bfd
29701 all-prebootstrap: maybe-all-opcodes
29702 all-prebootstrap: maybe-all-binutils
29703 all-prebootstrap: maybe-all-gas
29704 all-prebootstrap: maybe-all-intl
29705 all-prebootstrap: maybe-all-ld
29706 all-prebootstrap: maybe-all-libcpp
29707 all-prebootstrap: maybe-all-libbanshee
29708 all-prebootstrap: maybe-all-libiberty
29709 all-prebootstrap: maybe-all-zlib
29710 @endif gcc-no-bootstrap
29711
29712 GDB_TK = @GDB_TK@
29713 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
29714
29715 # Serialization dependencies.  Host configures don't work well in parallel to
29716 # each other, due to contention over config.cache.  Target configures and 
29717 # build configures are similar.
29718 @serialization_dependencies@
29719
29720 # --------------------------------
29721 # Regenerating top level configury
29722 # --------------------------------
29723
29724 # Multilib.out tells target dirs what multilibs they should build.
29725 # There is really only one copy.  We use the 'timestamp' method to
29726 # work around various timestamp bugs on some systems.
29727 # We use move-if-change so that it's only considered updated when it
29728 # actually changes, because it has to depend on a phony target.
29729 multilib.out: maybe-all-gcc
29730         @r=`${PWD_COMMAND}`; export r; \
29731         echo "Checking multilib configuration..."; \
29732         $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
29733         $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
29734
29735 # Rebuilding Makefile.in, using autogen.
29736 AUTOGEN = autogen
29737 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
29738         cd $(srcdir) && $(AUTOGEN) Makefile.def
29739
29740 # Rebuilding Makefile.
29741 Makefile: $(srcdir)/Makefile.in config.status
29742         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
29743
29744 config.status: configure $(gcc_version_trigger)
29745         CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
29746
29747 # Rebuilding configure.
29748 AUTOCONF = autoconf
29749 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
29750         cd $(srcdir) && $(AUTOCONF)
29751
29752 # ------------------------------
29753 # Special directives to GNU Make
29754 # ------------------------------
29755
29756 # Don't pass command-line variables to submakes.
29757 .NOEXPORT:
29758 MAKEOVERRIDES=
29759
29760 # end of Makefile.in