51c0596d39f9791fb4fa84221504f3cc019aa96f
[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 gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
77
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
80
81 GDB_NLM_DEPS = 
82
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
86
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@
94
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory.  It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100         FLEX="$(FLEX)"; export FLEX; \
101         LEX="$(LEX)"; export LEX; \
102         BISON="$(BISON)"; export BISON; \
103         YACC="$(YACC)"; export YACC; \
104         M4="$(M4)"; export M4; \
105         MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
106
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110         $(BASE_EXPORTS) \
111         AR="$(AR_FOR_BUILD)"; export AR; \
112         AS="$(AS_FOR_BUILD)"; export AS; \
113         CC="$(CC_FOR_BUILD)"; export CC; \
114         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116         CXX="$(CXX_FOR_BUILD)"; export CXX; \
117         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121         LD="$(LD_FOR_BUILD)"; export LD; \
122         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123         NM="$(NM_FOR_BUILD)"; export NM; \
124         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
126
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system.
137 HOST_EXPORTS = \
138         $(BASE_EXPORTS) \
139         CC="$(CC)"; export CC; \
140         CFLAGS="$(CFLAGS)"; export CFLAGS; \
141         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
142         CXX="$(CXX)"; export CXX; \
143         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
144         AR="$(AR)"; export AR; \
145         AS="$(AS)"; export AS; \
146         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
147         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
148         LD="$(LD)"; export LD; \
149         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
150         NM="$(NM)"; export NM; \
151         RANLIB="$(RANLIB)"; export RANLIB; \
152         WINDRES="$(WINDRES)"; export WINDRES; \
153         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
154         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
155         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
156         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
157         GMPINC="$(HOST_GMPINC)"; export GMPINC; \
158         $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
159
160 # Similar, for later GCC stages.
161 STAGE_HOST_EXPORTS = \
162         $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
163         $(HOST_EXPORTS) \
164         CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
165           -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
166         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
167           $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
168           -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
169           -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
170
171 # This is set by the configure script to the list of directories which
172 # should be built using the target tools.
173 TARGET_CONFIGDIRS = @target_configdirs@
174 # Target libraries are put under this directory:
175 TARGET_SUBDIR = @target_subdir@
176 # This is set by the configure script to the arguments to use when configuring
177 # directories built for the target.
178 TARGET_CONFIGARGS = @target_configargs@
179 # This is the list of variables to export in the environment when
180 # configuring subdirectories for the host system.
181 BASE_TARGET_EXPORTS = \
182         $(BASE_EXPORTS) \
183         AR="$(AR_FOR_TARGET)"; export AR; \
184         AS="$(AS_FOR_TARGET)"; export AS; \
185         CC="$(CC_FOR_TARGET)"; export CC; \
186         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
187         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
188         CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
189         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
190         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
191         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
192         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
193         LD="$(LD_FOR_TARGET)"; export LD; \
194         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
195         NM="$(NM_FOR_TARGET)"; export NM; \
196         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
197         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
198         $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
199
200 RAW_CXX_TARGET_EXPORTS = \
201         $(BASE_TARGET_EXPORTS) \
202         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
203         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
204
205 NORMAL_TARGET_EXPORTS = \
206         $(BASE_TARGET_EXPORTS) \
207         CXX="$(CXX_FOR_TARGET)"; export CXX;
208
209 # Where to find GMP
210 HOST_GMPLIBS = @gmplibs@
211 HOST_GMPINC = @gmpinc@
212
213 # ----------------------------------------------
214 # Programs producing files for the BUILD machine
215 # ----------------------------------------------
216
217 SHELL = @config_shell@
218
219 # pwd command to use.  Allow user to override default by setting PWDCMD in
220 # the environment to account for automounters.  The make variable must not
221 # be called PWDCMD, otherwise the value set here is passed to make
222 # subprocesses and overrides the setting from the user's environment.
223 # Don't use PWD since it is a common shell environment variable and we
224 # don't want to corrupt it.
225 PWD_COMMAND = $${PWDCMD-pwd}
226
227 # compilers to use to create programs which must be run in the build
228 # environment.
229 CC_FOR_BUILD = @CC_FOR_BUILD@
230 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
231
232 CXX_FOR_BUILD = $(CXX)
233
234 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
235 # here so that they can be overridden by Makefile fragments.
236 BUILD_PREFIX = @BUILD_PREFIX@
237 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
238
239 # Flags to pass to stage2 and later makes.  They are defined
240 # here so that they can be overridden by Makefile fragments.
241 BOOT_CFLAGS= -g -O2
242
243 CONFIGURED_BISON = @CONFIGURED_BISON@
244 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
245             echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
246          else \
247             echo ${CONFIGURED_BISON} ; \
248          fi`
249
250 CONFIGURED_YACC = @CONFIGURED_YACC@
251 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
252             echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
253         elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
254             echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
255         else \
256             echo ${CONFIGURED_YACC} ; \
257         fi`
258
259 CONFIGURED_FLEX = @CONFIGURED_FLEX@
260 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
261         then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
262         else echo ${CONFIGURED_FLEX} ; fi`
263
264 CONFIGURED_LEX = @CONFIGURED_LEX@
265 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266         then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267         else echo ${CONFIGURED_LEX} ; fi`
268
269 CONFIGURED_M4 = @CONFIGURED_M4@
270 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
271         then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
272         else echo ${CONFIGURED_M4} ; fi`
273
274 # For an installed makeinfo, we require it to be from texinfo 4.2 or
275 # higher, else we use the "missing" dummy.  We also pass the subdirectory
276 # makeinfo even if only the Makefile is there, because Texinfo builds its
277 # manual when made, and it requires its own version.
278 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
279 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
280         then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
281         else if (${CONFIGURED_MAKEINFO} --version \
282           | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
283         then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
284
285 # This just becomes part of the MAKEINFO definition passed down to
286 # sub-makes.  It lets flags be given on the command line while still
287 # using the makeinfo from the object tree.
288 # (Default to avoid splitting info files by setting the threshold high.)
289 MAKEINFOFLAGS = --split-size=5000000
290
291 # FIXME: expect may become a build tool?
292 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
293         then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
294         else echo expect ; fi`
295
296 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
297         then echo $$s/dejagnu/runtest ; \
298         else echo runtest ; fi`
299
300 # ---------------------------------------------
301 # Programs producing files for the HOST machine
302 # ---------------------------------------------
303
304 AS = @AS@
305
306 AR = @AR@
307 AR_FLAGS = rc
308
309 CC = @CC@
310 CFLAGS = @CFLAGS@
311 LIBCFLAGS = $(CFLAGS)
312
313 CXX = @CXX@
314 CXXFLAGS = @CXXFLAGS@
315 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
316
317 DLLTOOL = @DLLTOOL@
318
319 NM = @NM@
320
321 LD = @LD@
322 LDFLAGS = 
323
324 RANLIB = @RANLIB@
325
326 WINDRES = @WINDRES@
327
328 PICFLAG = 
329
330 # -----------------------------------------------
331 # Programs producing files for the TARGET machine
332 # -----------------------------------------------
333
334 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
335
336 AR_FOR_TARGET=@AR_FOR_TARGET@
337 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
338 USUAL_AR_FOR_TARGET = ` \
339   if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
340     echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
341   else \
342     if [ '$(host)' = '$(target)' ] ; then \
343       echo $(AR); \
344     else \
345       echo $(CONFIGURED_AR_FOR_TARGET) ; \
346     fi; \
347   fi`
348
349 AS_FOR_TARGET=@AS_FOR_TARGET@
350 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
351 USUAL_AS_FOR_TARGET = ` \
352   if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
353     echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
354   elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
355     $(CC_FOR_TARGET) -print-prog-name=as ; \
356   else \
357     if [ '$(host)' = '$(target)' ] ; then \
358       echo $(AS); \
359     else \
360       echo $(CONFIGURED_AS_FOR_TARGET) ; \
361     fi; \
362   fi`
363
364 CC_FOR_TARGET = @CC_FOR_TARGET@
365 # During gcc bootstrap, if we use some random cc for stage1 then
366 # CFLAGS will be just -g.  We want to ensure that TARGET libraries
367 # (which we know are built with gcc) are built with optimizations so
368 # prepend -O2 when setting CFLAGS_FOR_TARGET.
369 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
370 # If GCC_FOR_TARGET is not overriden on the command line, then this
371 # variable is passed down to the gcc Makefile, where it is used to
372 # build libgcc2.a.  We define it here so that it can itself be
373 # overridden on the command line.
374 GCC_FOR_TARGET=@GCC_FOR_TARGET@
375 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
376   $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
377 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
378
379 CXX_FOR_TARGET = @CXX_FOR_TARGET@
380 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
381 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
382 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
383 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
384 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
385
386 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
387 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
388 USUAL_DLLTOOL_FOR_TARGET = ` \
389   if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
390     echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
391   else \
392     if [ '$(host)' = '$(target)' ] ; then \
393       echo $(DLLTOOL); \
394     else \
395       echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
396     fi; \
397   fi`
398
399 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
400 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
401
402 LD_FOR_TARGET=@LD_FOR_TARGET@
403 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
404 USUAL_LD_FOR_TARGET = ` \
405   if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
406     echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
407   elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
408     $(CC_FOR_TARGET) -print-prog-name=ld ; \
409   else \
410     if [ '$(host)' = '$(target)' ] ; then \
411       echo $(LD); \
412     else \
413       echo $(CONFIGURED_LD_FOR_TARGET) ; \
414     fi; \
415   fi`
416
417 LDFLAGS_FOR_TARGET = 
418
419 NM_FOR_TARGET=@NM_FOR_TARGET@
420 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
421 USUAL_NM_FOR_TARGET = ` \
422   if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
423     echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
424   elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
425     $(CC_FOR_TARGET) -print-prog-name=nm ; \
426   else \
427     if [ '$(host)' = '$(target)' ] ; then \
428       echo $(NM); \
429     else \
430       echo $(CONFIGURED_NM_FOR_TARGET) ; \
431     fi; \
432   fi`
433
434 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
435 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
436 USUAL_RANLIB_FOR_TARGET = ` \
437   if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
438     echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
439   else \
440     if [ '$(host)' = '$(target)' ] ; then \
441       if [ x'$(RANLIB)' != x ]; then \
442          echo $(RANLIB); \
443       else \
444          echo ranlib; \
445       fi; \
446     else \
447       echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
448     fi; \
449   fi`
450
451 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
452 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
453 USUAL_WINDRES_FOR_TARGET = ` \
454   if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
455     echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
456   else \
457     if [ '$(host)' = '$(target)' ] ; then \
458       echo $(WINDRES); \
459     else \
460       echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
461     fi; \
462   fi`
463
464 PICFLAG_FOR_TARGET = 
465
466 # ------------------------------------
467 # Miscellaneous targets and flag lists
468 # ------------------------------------
469
470 # The first rule in the file had better be this one.  Don't put any above it.
471 # This lives here to allow makefile fragments to contain dependencies.
472 @default_target@:
473
474 #### host and target specific makefile fragments come in here.
475 @target_makefile_frag@
476 @alphaieee_frag@
477 @ospace_frag@
478 @host_makefile_frag@
479 ###
480
481 # This is the list of directories that may be needed in RPATH_ENVVAR
482 # so that prorgams built for the target machine work.
483 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(HOST_LIB_PATH_gcc)
484
485 @if target-libstdc++-v3
486 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
487 @endif target-libstdc++-v3
488
489 @if target-libmudflap
490 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
491 @endif target-libmudflap
492
493
494
495 # This is the list of directories that may be needed in RPATH_ENVVAR
496 # so that programs built for the host machine work.
497 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
498
499 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
500 @if gcc
501 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
502 @endif gcc
503
504
505 @if bfd
506 HOST_LIB_PATH_bfd = \
507   $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
508 @endif bfd
509
510 @if opcodes
511 HOST_LIB_PATH_opcodes = \
512   $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
513 @endif opcodes
514
515
516 # Flags to pass down to all sub-makes.
517 BASE_FLAGS_TO_PASS = \
518         "DESTDIR=$(DESTDIR)" \
519         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
520         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
521         "bindir=$(bindir)" \
522         "datadir=$(datadir)" \
523         "exec_prefix=$(exec_prefix)" \
524         "includedir=$(includedir)" \
525         "infodir=$(infodir)" \
526         "libdir=$(libdir)" \
527         "libexecdir=$(libexecdir)" \
528         "lispdir=$(lispdir)" \
529         "localstatedir=$(localstatedir)" \
530         "mandir=$(mandir)" \
531         "oldincludedir=$(oldincludedir)" \
532         "prefix=$(prefix)" \
533         "sbindir=$(sbindir)" \
534         "sharedstatedir=$(sharedstatedir)" \
535         "sysconfdir=$(sysconfdir)" \
536         "tooldir=$(tooldir)" \
537         "build_tooldir=$(build_tooldir)" \
538         "target_alias=$(target_alias)" \
539         "BISON=$(BISON)" \
540         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
541         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
542         "EXPECT=$(EXPECT)" \
543         "FLEX=$(FLEX)" \
544         "INSTALL=$(INSTALL)" \
545         "INSTALL_DATA=$(INSTALL_DATA)" \
546         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
547         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
548         "LEX=$(LEX)" \
549         "M4=$(M4)" \
550         "MAKE=$(MAKE)" \
551         "RUNTEST=$(RUNTEST)" \
552         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
553         "SHELL=$(SHELL)" \
554         "YACC=$(YACC)" \
555         "AR_FLAGS=$(AR_FLAGS)" \
556         "CFLAGS=$(CFLAGS)" \
557         "CXXFLAGS=$(CXXFLAGS)" \
558         "LDFLAGS=$(LDFLAGS)" \
559         "LIBCFLAGS=$(LIBCFLAGS)" \
560         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
561         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
562         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
563         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
564         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
565         "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
566         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
567         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
568         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
569         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
570         "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
571         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
572         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
573         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
574         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
575         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
576         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
577         "CONFIG_SHELL=$(SHELL)" \
578         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
579
580 # For any flags above that may contain shell code that varies from one
581 # target library to another.  When doing recursive invocations of the
582 # top-level Makefile, we don't want the outer make to evaluate them,
583 # so we pass these variables down unchanged.  They must not contain
584 # single nor double quotes.
585 RECURSE_FLAGS = \
586         CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
587         RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
588
589 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
590
591 # Flags to pass down to most sub-makes, in which we're building with
592 # the host environment.
593 EXTRA_HOST_FLAGS = \
594         'AR=$(AR)' \
595         'AS=$(AS)' \
596         'CC=$(CC)' \
597         'CXX=$(CXX)' \
598         'DLLTOOL=$(DLLTOOL)' \
599         'LD=$(LD)' \
600         'NM=$(NM)' \
601         'RANLIB=$(RANLIB)' \
602         'WINDRES=$(WINDRES)'
603
604 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
605
606 # Flags that are concerned with the location of the X11 include files
607 # and library files
608 #
609 # NOTE: until the top-level is getting the values via autoconf, it only
610 # causes problems to have this top-level Makefile overriding the autoconf-set
611 # values in child directories.  Only variables that don't conflict with
612 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
613 #
614 X11_FLAGS_TO_PASS = \
615         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
616         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
617
618 # Flags to pass down to makes which are built with the target environment.
619 # The double $ decreases the length of the command line; the variables
620 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
621 EXTRA_TARGET_FLAGS = \
622         'AR=$$(AR_FOR_TARGET)' \
623         'AS=$$(AS_FOR_TARGET)' \
624         'CC=$$(CC_FOR_TARGET)' \
625         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
626         'CXX=$$(CXX_FOR_TARGET)' \
627         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
628         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
629         'LD=$$(LD_FOR_TARGET)' \
630         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
631         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
632         'NM=$$(NM_FOR_TARGET)' \
633         'RANLIB=$$(RANLIB_FOR_TARGET)' \
634         'WINDRES=$$(WINDRES_FOR_TARGET)'
635
636 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
637
638 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
639 # unfortunately needs the native compiler and the target ar and
640 # ranlib.
641 # If any variables are added here, they must be added to do-*, below.
642 # The BUILD_* variables are a special case, which are used for the gcc
643 # cross-building scheme.
644 EXTRA_GCC_FLAGS = \
645         'BUILD_PREFIX=$(BUILD_PREFIX)' \
646         'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
647         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
648         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
649         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
650         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
651         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
652         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
653         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
654         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
655         "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
656         "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
657         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
658
659 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
660
661 .PHONY: configure-host
662 configure-host:  \
663     maybe-configure-ash \
664     maybe-configure-autoconf \
665     maybe-configure-automake \
666     maybe-configure-bash \
667     maybe-configure-bfd \
668     maybe-configure-opcodes \
669     maybe-configure-binutils \
670     maybe-configure-bison \
671     maybe-configure-byacc \
672     maybe-configure-bzip2 \
673     maybe-configure-dejagnu \
674     maybe-configure-diff \
675     maybe-configure-dosutils \
676     maybe-configure-etc \
677     maybe-configure-fastjar \
678     maybe-configure-fileutils \
679     maybe-configure-findutils \
680     maybe-configure-find \
681     maybe-configure-fixincludes \
682     maybe-configure-flex \
683     maybe-configure-gas \
684     maybe-configure-gcc \
685     maybe-configure-gawk \
686     maybe-configure-gettext \
687     maybe-configure-gnuserv \
688     maybe-configure-gprof \
689     maybe-configure-gzip \
690     maybe-configure-hello \
691     maybe-configure-indent \
692     maybe-configure-intl \
693     maybe-configure-tcl \
694     maybe-configure-itcl \
695     maybe-configure-ld \
696     maybe-configure-libcpp \
697     maybe-configure-libgui \
698     maybe-configure-libiberty \
699     maybe-configure-libtool \
700     maybe-configure-m4 \
701     maybe-configure-make \
702     maybe-configure-mmalloc \
703     maybe-configure-patch \
704     maybe-configure-perl \
705     maybe-configure-prms \
706     maybe-configure-rcs \
707     maybe-configure-readline \
708     maybe-configure-release \
709     maybe-configure-recode \
710     maybe-configure-sed \
711     maybe-configure-send-pr \
712     maybe-configure-shellutils \
713     maybe-configure-sid \
714     maybe-configure-sim \
715     maybe-configure-tar \
716     maybe-configure-texinfo \
717     maybe-configure-textutils \
718     maybe-configure-time \
719     maybe-configure-uudecode \
720     maybe-configure-wdiff \
721     maybe-configure-zip \
722     maybe-configure-zlib \
723     maybe-configure-gdb \
724     maybe-configure-expect \
725     maybe-configure-guile \
726     maybe-configure-tk \
727     maybe-configure-libtermcap \
728     maybe-configure-utils \
729     maybe-configure-gnattools
730 .PHONY: configure-target
731 configure-target:  \
732     maybe-configure-target-libstdc++-v3 \
733     maybe-configure-target-libmudflap \
734     maybe-configure-target-newlib \
735     maybe-configure-target-libgfortran \
736     maybe-configure-target-libobjc \
737     maybe-configure-target-libtermcap \
738     maybe-configure-target-winsup \
739     maybe-configure-target-libgloss \
740     maybe-configure-target-libiberty \
741     maybe-configure-target-gperf \
742     maybe-configure-target-examples \
743     maybe-configure-target-libffi \
744     maybe-configure-target-libjava \
745     maybe-configure-target-zlib \
746     maybe-configure-target-boehm-gc \
747     maybe-configure-target-qthreads \
748     maybe-configure-target-rda \
749     maybe-configure-target-libada
750
751 # The target built for a native non-bootstrap build.
752 .PHONY: all
753 all: unstage all-host all-target stage
754
755 .PHONY: all-build
756 all-build:  \
757     maybe-all-build-libiberty \
758     maybe-all-build-bison \
759     maybe-all-build-byacc \
760     maybe-all-build-flex \
761     maybe-all-build-m4 \
762     maybe-all-build-texinfo \
763     maybe-all-build-fixincludes
764 .PHONY: all-host
765 all-host:  \
766     maybe-all-ash \
767     maybe-all-autoconf \
768     maybe-all-automake \
769     maybe-all-bash \
770     maybe-all-bfd \
771     maybe-all-opcodes \
772     maybe-all-binutils \
773     maybe-all-bison \
774     maybe-all-byacc \
775     maybe-all-bzip2 \
776     maybe-all-dejagnu \
777     maybe-all-diff \
778     maybe-all-dosutils \
779     maybe-all-etc \
780     maybe-all-fastjar \
781     maybe-all-fileutils \
782     maybe-all-findutils \
783     maybe-all-find \
784     maybe-all-fixincludes \
785     maybe-all-flex \
786     maybe-all-gas \
787     maybe-all-gcc \
788     maybe-all-gawk \
789     maybe-all-gettext \
790     maybe-all-gnuserv \
791     maybe-all-gprof \
792     maybe-all-gzip \
793     maybe-all-hello \
794     maybe-all-indent \
795     maybe-all-intl \
796     maybe-all-tcl \
797     maybe-all-itcl \
798     maybe-all-ld \
799     maybe-all-libcpp \
800     maybe-all-libgui \
801     maybe-all-libiberty \
802     maybe-all-libtool \
803     maybe-all-m4 \
804     maybe-all-make \
805     maybe-all-mmalloc \
806     maybe-all-patch \
807     maybe-all-perl \
808     maybe-all-prms \
809     maybe-all-rcs \
810     maybe-all-readline \
811     maybe-all-release \
812     maybe-all-recode \
813     maybe-all-sed \
814     maybe-all-send-pr \
815     maybe-all-shellutils \
816     maybe-all-sid \
817     maybe-all-sim \
818     maybe-all-tar \
819     maybe-all-texinfo \
820     maybe-all-textutils \
821     maybe-all-time \
822     maybe-all-uudecode \
823     maybe-all-wdiff \
824     maybe-all-zip \
825     maybe-all-zlib \
826     maybe-all-gdb \
827     maybe-all-expect \
828     maybe-all-guile \
829     maybe-all-tk \
830     maybe-all-libtermcap \
831     maybe-all-utils \
832     maybe-all-gnattools
833 .PHONY: all-target
834 all-target:  \
835     maybe-all-target-libstdc++-v3 \
836     maybe-all-target-libmudflap \
837     maybe-all-target-newlib \
838     maybe-all-target-libgfortran \
839     maybe-all-target-libobjc \
840     maybe-all-target-libtermcap \
841     maybe-all-target-winsup \
842     maybe-all-target-libgloss \
843     maybe-all-target-libiberty \
844     maybe-all-target-gperf \
845     maybe-all-target-examples \
846     maybe-all-target-libffi \
847     maybe-all-target-libjava \
848     maybe-all-target-zlib \
849     maybe-all-target-boehm-gc \
850     maybe-all-target-qthreads \
851     maybe-all-target-rda \
852     maybe-all-target-libada
853
854 # Do a target for all the subdirectories.  A ``make do-X'' will do a
855 # ``make X'' in all subdirectories (because, in general, there is a
856 # dependency (below) of X upon do-X, a ``make X'' will also do this,
857 # but it may do additional work as well).
858
859 .PHONY: do-info
860 do-info: unstage info-host info-target stage
861
862 .PHONY: info-host
863 info-host:  \
864     maybe-info-ash \
865     maybe-info-autoconf \
866     maybe-info-automake \
867     maybe-info-bash \
868     maybe-info-bfd \
869     maybe-info-opcodes \
870     maybe-info-binutils \
871     maybe-info-bison \
872     maybe-info-byacc \
873     maybe-info-bzip2 \
874     maybe-info-dejagnu \
875     maybe-info-diff \
876     maybe-info-dosutils \
877     maybe-info-etc \
878     maybe-info-fastjar \
879     maybe-info-fileutils \
880     maybe-info-findutils \
881     maybe-info-find \
882     maybe-info-fixincludes \
883     maybe-info-flex \
884     maybe-info-gas \
885     maybe-info-gcc \
886     maybe-info-gawk \
887     maybe-info-gettext \
888     maybe-info-gnuserv \
889     maybe-info-gprof \
890     maybe-info-gzip \
891     maybe-info-hello \
892     maybe-info-indent \
893     maybe-info-intl \
894     maybe-info-tcl \
895     maybe-info-itcl \
896     maybe-info-ld \
897     maybe-info-libcpp \
898     maybe-info-libgui \
899     maybe-info-libiberty \
900     maybe-info-libtool \
901     maybe-info-m4 \
902     maybe-info-make \
903     maybe-info-mmalloc \
904     maybe-info-patch \
905     maybe-info-perl \
906     maybe-info-prms \
907     maybe-info-rcs \
908     maybe-info-readline \
909     maybe-info-release \
910     maybe-info-recode \
911     maybe-info-sed \
912     maybe-info-send-pr \
913     maybe-info-shellutils \
914     maybe-info-sid \
915     maybe-info-sim \
916     maybe-info-tar \
917     maybe-info-texinfo \
918     maybe-info-textutils \
919     maybe-info-time \
920     maybe-info-uudecode \
921     maybe-info-wdiff \
922     maybe-info-zip \
923     maybe-info-zlib \
924     maybe-info-gdb \
925     maybe-info-expect \
926     maybe-info-guile \
927     maybe-info-tk \
928     maybe-info-libtermcap \
929     maybe-info-utils \
930     maybe-info-gnattools
931
932 .PHONY: info-target
933 info-target:  \
934     maybe-info-target-libstdc++-v3 \
935     maybe-info-target-libmudflap \
936     maybe-info-target-newlib \
937     maybe-info-target-libgfortran \
938     maybe-info-target-libobjc \
939     maybe-info-target-libtermcap \
940     maybe-info-target-winsup \
941     maybe-info-target-libgloss \
942     maybe-info-target-libiberty \
943     maybe-info-target-gperf \
944     maybe-info-target-examples \
945     maybe-info-target-libffi \
946     maybe-info-target-libjava \
947     maybe-info-target-zlib \
948     maybe-info-target-boehm-gc \
949     maybe-info-target-qthreads \
950     maybe-info-target-rda \
951     maybe-info-target-libada
952
953 .PHONY: do-dvi
954 do-dvi: unstage dvi-host dvi-target stage
955
956 .PHONY: dvi-host
957 dvi-host:  \
958     maybe-dvi-ash \
959     maybe-dvi-autoconf \
960     maybe-dvi-automake \
961     maybe-dvi-bash \
962     maybe-dvi-bfd \
963     maybe-dvi-opcodes \
964     maybe-dvi-binutils \
965     maybe-dvi-bison \
966     maybe-dvi-byacc \
967     maybe-dvi-bzip2 \
968     maybe-dvi-dejagnu \
969     maybe-dvi-diff \
970     maybe-dvi-dosutils \
971     maybe-dvi-etc \
972     maybe-dvi-fastjar \
973     maybe-dvi-fileutils \
974     maybe-dvi-findutils \
975     maybe-dvi-find \
976     maybe-dvi-fixincludes \
977     maybe-dvi-flex \
978     maybe-dvi-gas \
979     maybe-dvi-gcc \
980     maybe-dvi-gawk \
981     maybe-dvi-gettext \
982     maybe-dvi-gnuserv \
983     maybe-dvi-gprof \
984     maybe-dvi-gzip \
985     maybe-dvi-hello \
986     maybe-dvi-indent \
987     maybe-dvi-intl \
988     maybe-dvi-tcl \
989     maybe-dvi-itcl \
990     maybe-dvi-ld \
991     maybe-dvi-libcpp \
992     maybe-dvi-libgui \
993     maybe-dvi-libiberty \
994     maybe-dvi-libtool \
995     maybe-dvi-m4 \
996     maybe-dvi-make \
997     maybe-dvi-mmalloc \
998     maybe-dvi-patch \
999     maybe-dvi-perl \
1000     maybe-dvi-prms \
1001     maybe-dvi-rcs \
1002     maybe-dvi-readline \
1003     maybe-dvi-release \
1004     maybe-dvi-recode \
1005     maybe-dvi-sed \
1006     maybe-dvi-send-pr \
1007     maybe-dvi-shellutils \
1008     maybe-dvi-sid \
1009     maybe-dvi-sim \
1010     maybe-dvi-tar \
1011     maybe-dvi-texinfo \
1012     maybe-dvi-textutils \
1013     maybe-dvi-time \
1014     maybe-dvi-uudecode \
1015     maybe-dvi-wdiff \
1016     maybe-dvi-zip \
1017     maybe-dvi-zlib \
1018     maybe-dvi-gdb \
1019     maybe-dvi-expect \
1020     maybe-dvi-guile \
1021     maybe-dvi-tk \
1022     maybe-dvi-libtermcap \
1023     maybe-dvi-utils \
1024     maybe-dvi-gnattools
1025
1026 .PHONY: dvi-target
1027 dvi-target:  \
1028     maybe-dvi-target-libstdc++-v3 \
1029     maybe-dvi-target-libmudflap \
1030     maybe-dvi-target-newlib \
1031     maybe-dvi-target-libgfortran \
1032     maybe-dvi-target-libobjc \
1033     maybe-dvi-target-libtermcap \
1034     maybe-dvi-target-winsup \
1035     maybe-dvi-target-libgloss \
1036     maybe-dvi-target-libiberty \
1037     maybe-dvi-target-gperf \
1038     maybe-dvi-target-examples \
1039     maybe-dvi-target-libffi \
1040     maybe-dvi-target-libjava \
1041     maybe-dvi-target-zlib \
1042     maybe-dvi-target-boehm-gc \
1043     maybe-dvi-target-qthreads \
1044     maybe-dvi-target-rda \
1045     maybe-dvi-target-libada
1046
1047 .PHONY: do-html
1048 do-html: unstage html-host html-target stage
1049
1050 .PHONY: html-host
1051 html-host:  \
1052     maybe-html-ash \
1053     maybe-html-autoconf \
1054     maybe-html-automake \
1055     maybe-html-bash \
1056     maybe-html-bfd \
1057     maybe-html-opcodes \
1058     maybe-html-binutils \
1059     maybe-html-bison \
1060     maybe-html-byacc \
1061     maybe-html-bzip2 \
1062     maybe-html-dejagnu \
1063     maybe-html-diff \
1064     maybe-html-dosutils \
1065     maybe-html-etc \
1066     maybe-html-fastjar \
1067     maybe-html-fileutils \
1068     maybe-html-findutils \
1069     maybe-html-find \
1070     maybe-html-fixincludes \
1071     maybe-html-flex \
1072     maybe-html-gas \
1073     maybe-html-gcc \
1074     maybe-html-gawk \
1075     maybe-html-gettext \
1076     maybe-html-gnuserv \
1077     maybe-html-gprof \
1078     maybe-html-gzip \
1079     maybe-html-hello \
1080     maybe-html-indent \
1081     maybe-html-intl \
1082     maybe-html-tcl \
1083     maybe-html-itcl \
1084     maybe-html-ld \
1085     maybe-html-libcpp \
1086     maybe-html-libgui \
1087     maybe-html-libiberty \
1088     maybe-html-libtool \
1089     maybe-html-m4 \
1090     maybe-html-make \
1091     maybe-html-mmalloc \
1092     maybe-html-patch \
1093     maybe-html-perl \
1094     maybe-html-prms \
1095     maybe-html-rcs \
1096     maybe-html-readline \
1097     maybe-html-release \
1098     maybe-html-recode \
1099     maybe-html-sed \
1100     maybe-html-send-pr \
1101     maybe-html-shellutils \
1102     maybe-html-sid \
1103     maybe-html-sim \
1104     maybe-html-tar \
1105     maybe-html-texinfo \
1106     maybe-html-textutils \
1107     maybe-html-time \
1108     maybe-html-uudecode \
1109     maybe-html-wdiff \
1110     maybe-html-zip \
1111     maybe-html-zlib \
1112     maybe-html-gdb \
1113     maybe-html-expect \
1114     maybe-html-guile \
1115     maybe-html-tk \
1116     maybe-html-libtermcap \
1117     maybe-html-utils \
1118     maybe-html-gnattools
1119
1120 .PHONY: html-target
1121 html-target:  \
1122     maybe-html-target-libstdc++-v3 \
1123     maybe-html-target-libmudflap \
1124     maybe-html-target-newlib \
1125     maybe-html-target-libgfortran \
1126     maybe-html-target-libobjc \
1127     maybe-html-target-libtermcap \
1128     maybe-html-target-winsup \
1129     maybe-html-target-libgloss \
1130     maybe-html-target-libiberty \
1131     maybe-html-target-gperf \
1132     maybe-html-target-examples \
1133     maybe-html-target-libffi \
1134     maybe-html-target-libjava \
1135     maybe-html-target-zlib \
1136     maybe-html-target-boehm-gc \
1137     maybe-html-target-qthreads \
1138     maybe-html-target-rda \
1139     maybe-html-target-libada
1140
1141 .PHONY: do-TAGS
1142 do-TAGS: unstage TAGS-host TAGS-target stage
1143
1144 .PHONY: TAGS-host
1145 TAGS-host:  \
1146     maybe-TAGS-ash \
1147     maybe-TAGS-autoconf \
1148     maybe-TAGS-automake \
1149     maybe-TAGS-bash \
1150     maybe-TAGS-bfd \
1151     maybe-TAGS-opcodes \
1152     maybe-TAGS-binutils \
1153     maybe-TAGS-bison \
1154     maybe-TAGS-byacc \
1155     maybe-TAGS-bzip2 \
1156     maybe-TAGS-dejagnu \
1157     maybe-TAGS-diff \
1158     maybe-TAGS-dosutils \
1159     maybe-TAGS-etc \
1160     maybe-TAGS-fastjar \
1161     maybe-TAGS-fileutils \
1162     maybe-TAGS-findutils \
1163     maybe-TAGS-find \
1164     maybe-TAGS-fixincludes \
1165     maybe-TAGS-flex \
1166     maybe-TAGS-gas \
1167     maybe-TAGS-gcc \
1168     maybe-TAGS-gawk \
1169     maybe-TAGS-gettext \
1170     maybe-TAGS-gnuserv \
1171     maybe-TAGS-gprof \
1172     maybe-TAGS-gzip \
1173     maybe-TAGS-hello \
1174     maybe-TAGS-indent \
1175     maybe-TAGS-intl \
1176     maybe-TAGS-tcl \
1177     maybe-TAGS-itcl \
1178     maybe-TAGS-ld \
1179     maybe-TAGS-libcpp \
1180     maybe-TAGS-libgui \
1181     maybe-TAGS-libiberty \
1182     maybe-TAGS-libtool \
1183     maybe-TAGS-m4 \
1184     maybe-TAGS-make \
1185     maybe-TAGS-mmalloc \
1186     maybe-TAGS-patch \
1187     maybe-TAGS-perl \
1188     maybe-TAGS-prms \
1189     maybe-TAGS-rcs \
1190     maybe-TAGS-readline \
1191     maybe-TAGS-release \
1192     maybe-TAGS-recode \
1193     maybe-TAGS-sed \
1194     maybe-TAGS-send-pr \
1195     maybe-TAGS-shellutils \
1196     maybe-TAGS-sid \
1197     maybe-TAGS-sim \
1198     maybe-TAGS-tar \
1199     maybe-TAGS-texinfo \
1200     maybe-TAGS-textutils \
1201     maybe-TAGS-time \
1202     maybe-TAGS-uudecode \
1203     maybe-TAGS-wdiff \
1204     maybe-TAGS-zip \
1205     maybe-TAGS-zlib \
1206     maybe-TAGS-gdb \
1207     maybe-TAGS-expect \
1208     maybe-TAGS-guile \
1209     maybe-TAGS-tk \
1210     maybe-TAGS-libtermcap \
1211     maybe-TAGS-utils \
1212     maybe-TAGS-gnattools
1213
1214 .PHONY: TAGS-target
1215 TAGS-target:  \
1216     maybe-TAGS-target-libstdc++-v3 \
1217     maybe-TAGS-target-libmudflap \
1218     maybe-TAGS-target-newlib \
1219     maybe-TAGS-target-libgfortran \
1220     maybe-TAGS-target-libobjc \
1221     maybe-TAGS-target-libtermcap \
1222     maybe-TAGS-target-winsup \
1223     maybe-TAGS-target-libgloss \
1224     maybe-TAGS-target-libiberty \
1225     maybe-TAGS-target-gperf \
1226     maybe-TAGS-target-examples \
1227     maybe-TAGS-target-libffi \
1228     maybe-TAGS-target-libjava \
1229     maybe-TAGS-target-zlib \
1230     maybe-TAGS-target-boehm-gc \
1231     maybe-TAGS-target-qthreads \
1232     maybe-TAGS-target-rda \
1233     maybe-TAGS-target-libada
1234
1235 .PHONY: do-install-info
1236 do-install-info: unstage install-info-host install-info-target stage
1237
1238 .PHONY: install-info-host
1239 install-info-host:  \
1240     maybe-install-info-ash \
1241     maybe-install-info-autoconf \
1242     maybe-install-info-automake \
1243     maybe-install-info-bash \
1244     maybe-install-info-bfd \
1245     maybe-install-info-opcodes \
1246     maybe-install-info-binutils \
1247     maybe-install-info-bison \
1248     maybe-install-info-byacc \
1249     maybe-install-info-bzip2 \
1250     maybe-install-info-dejagnu \
1251     maybe-install-info-diff \
1252     maybe-install-info-dosutils \
1253     maybe-install-info-etc \
1254     maybe-install-info-fastjar \
1255     maybe-install-info-fileutils \
1256     maybe-install-info-findutils \
1257     maybe-install-info-find \
1258     maybe-install-info-fixincludes \
1259     maybe-install-info-flex \
1260     maybe-install-info-gas \
1261     maybe-install-info-gcc \
1262     maybe-install-info-gawk \
1263     maybe-install-info-gettext \
1264     maybe-install-info-gnuserv \
1265     maybe-install-info-gprof \
1266     maybe-install-info-gzip \
1267     maybe-install-info-hello \
1268     maybe-install-info-indent \
1269     maybe-install-info-intl \
1270     maybe-install-info-tcl \
1271     maybe-install-info-itcl \
1272     maybe-install-info-ld \
1273     maybe-install-info-libcpp \
1274     maybe-install-info-libgui \
1275     maybe-install-info-libiberty \
1276     maybe-install-info-libtool \
1277     maybe-install-info-m4 \
1278     maybe-install-info-make \
1279     maybe-install-info-mmalloc \
1280     maybe-install-info-patch \
1281     maybe-install-info-perl \
1282     maybe-install-info-prms \
1283     maybe-install-info-rcs \
1284     maybe-install-info-readline \
1285     maybe-install-info-release \
1286     maybe-install-info-recode \
1287     maybe-install-info-sed \
1288     maybe-install-info-send-pr \
1289     maybe-install-info-shellutils \
1290     maybe-install-info-sid \
1291     maybe-install-info-sim \
1292     maybe-install-info-tar \
1293     maybe-install-info-texinfo \
1294     maybe-install-info-textutils \
1295     maybe-install-info-time \
1296     maybe-install-info-uudecode \
1297     maybe-install-info-wdiff \
1298     maybe-install-info-zip \
1299     maybe-install-info-zlib \
1300     maybe-install-info-gdb \
1301     maybe-install-info-expect \
1302     maybe-install-info-guile \
1303     maybe-install-info-tk \
1304     maybe-install-info-libtermcap \
1305     maybe-install-info-utils \
1306     maybe-install-info-gnattools
1307
1308 .PHONY: install-info-target
1309 install-info-target:  \
1310     maybe-install-info-target-libstdc++-v3 \
1311     maybe-install-info-target-libmudflap \
1312     maybe-install-info-target-newlib \
1313     maybe-install-info-target-libgfortran \
1314     maybe-install-info-target-libobjc \
1315     maybe-install-info-target-libtermcap \
1316     maybe-install-info-target-winsup \
1317     maybe-install-info-target-libgloss \
1318     maybe-install-info-target-libiberty \
1319     maybe-install-info-target-gperf \
1320     maybe-install-info-target-examples \
1321     maybe-install-info-target-libffi \
1322     maybe-install-info-target-libjava \
1323     maybe-install-info-target-zlib \
1324     maybe-install-info-target-boehm-gc \
1325     maybe-install-info-target-qthreads \
1326     maybe-install-info-target-rda \
1327     maybe-install-info-target-libada
1328
1329 .PHONY: do-installcheck
1330 do-installcheck: unstage installcheck-host installcheck-target stage
1331
1332 .PHONY: installcheck-host
1333 installcheck-host:  \
1334     maybe-installcheck-ash \
1335     maybe-installcheck-autoconf \
1336     maybe-installcheck-automake \
1337     maybe-installcheck-bash \
1338     maybe-installcheck-bfd \
1339     maybe-installcheck-opcodes \
1340     maybe-installcheck-binutils \
1341     maybe-installcheck-bison \
1342     maybe-installcheck-byacc \
1343     maybe-installcheck-bzip2 \
1344     maybe-installcheck-dejagnu \
1345     maybe-installcheck-diff \
1346     maybe-installcheck-dosutils \
1347     maybe-installcheck-etc \
1348     maybe-installcheck-fastjar \
1349     maybe-installcheck-fileutils \
1350     maybe-installcheck-findutils \
1351     maybe-installcheck-find \
1352     maybe-installcheck-fixincludes \
1353     maybe-installcheck-flex \
1354     maybe-installcheck-gas \
1355     maybe-installcheck-gcc \
1356     maybe-installcheck-gawk \
1357     maybe-installcheck-gettext \
1358     maybe-installcheck-gnuserv \
1359     maybe-installcheck-gprof \
1360     maybe-installcheck-gzip \
1361     maybe-installcheck-hello \
1362     maybe-installcheck-indent \
1363     maybe-installcheck-intl \
1364     maybe-installcheck-tcl \
1365     maybe-installcheck-itcl \
1366     maybe-installcheck-ld \
1367     maybe-installcheck-libcpp \
1368     maybe-installcheck-libgui \
1369     maybe-installcheck-libiberty \
1370     maybe-installcheck-libtool \
1371     maybe-installcheck-m4 \
1372     maybe-installcheck-make \
1373     maybe-installcheck-mmalloc \
1374     maybe-installcheck-patch \
1375     maybe-installcheck-perl \
1376     maybe-installcheck-prms \
1377     maybe-installcheck-rcs \
1378     maybe-installcheck-readline \
1379     maybe-installcheck-release \
1380     maybe-installcheck-recode \
1381     maybe-installcheck-sed \
1382     maybe-installcheck-send-pr \
1383     maybe-installcheck-shellutils \
1384     maybe-installcheck-sid \
1385     maybe-installcheck-sim \
1386     maybe-installcheck-tar \
1387     maybe-installcheck-texinfo \
1388     maybe-installcheck-textutils \
1389     maybe-installcheck-time \
1390     maybe-installcheck-uudecode \
1391     maybe-installcheck-wdiff \
1392     maybe-installcheck-zip \
1393     maybe-installcheck-zlib \
1394     maybe-installcheck-gdb \
1395     maybe-installcheck-expect \
1396     maybe-installcheck-guile \
1397     maybe-installcheck-tk \
1398     maybe-installcheck-libtermcap \
1399     maybe-installcheck-utils \
1400     maybe-installcheck-gnattools
1401
1402 .PHONY: installcheck-target
1403 installcheck-target:  \
1404     maybe-installcheck-target-libstdc++-v3 \
1405     maybe-installcheck-target-libmudflap \
1406     maybe-installcheck-target-newlib \
1407     maybe-installcheck-target-libgfortran \
1408     maybe-installcheck-target-libobjc \
1409     maybe-installcheck-target-libtermcap \
1410     maybe-installcheck-target-winsup \
1411     maybe-installcheck-target-libgloss \
1412     maybe-installcheck-target-libiberty \
1413     maybe-installcheck-target-gperf \
1414     maybe-installcheck-target-examples \
1415     maybe-installcheck-target-libffi \
1416     maybe-installcheck-target-libjava \
1417     maybe-installcheck-target-zlib \
1418     maybe-installcheck-target-boehm-gc \
1419     maybe-installcheck-target-qthreads \
1420     maybe-installcheck-target-rda \
1421     maybe-installcheck-target-libada
1422
1423 .PHONY: do-mostlyclean
1424 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1425
1426 .PHONY: mostlyclean-host
1427 mostlyclean-host:  \
1428     maybe-mostlyclean-ash \
1429     maybe-mostlyclean-autoconf \
1430     maybe-mostlyclean-automake \
1431     maybe-mostlyclean-bash \
1432     maybe-mostlyclean-bfd \
1433     maybe-mostlyclean-opcodes \
1434     maybe-mostlyclean-binutils \
1435     maybe-mostlyclean-bison \
1436     maybe-mostlyclean-byacc \
1437     maybe-mostlyclean-bzip2 \
1438     maybe-mostlyclean-dejagnu \
1439     maybe-mostlyclean-diff \
1440     maybe-mostlyclean-dosutils \
1441     maybe-mostlyclean-etc \
1442     maybe-mostlyclean-fastjar \
1443     maybe-mostlyclean-fileutils \
1444     maybe-mostlyclean-findutils \
1445     maybe-mostlyclean-find \
1446     maybe-mostlyclean-fixincludes \
1447     maybe-mostlyclean-flex \
1448     maybe-mostlyclean-gas \
1449     maybe-mostlyclean-gcc \
1450     maybe-mostlyclean-gawk \
1451     maybe-mostlyclean-gettext \
1452     maybe-mostlyclean-gnuserv \
1453     maybe-mostlyclean-gprof \
1454     maybe-mostlyclean-gzip \
1455     maybe-mostlyclean-hello \
1456     maybe-mostlyclean-indent \
1457     maybe-mostlyclean-intl \
1458     maybe-mostlyclean-tcl \
1459     maybe-mostlyclean-itcl \
1460     maybe-mostlyclean-ld \
1461     maybe-mostlyclean-libcpp \
1462     maybe-mostlyclean-libgui \
1463     maybe-mostlyclean-libiberty \
1464     maybe-mostlyclean-libtool \
1465     maybe-mostlyclean-m4 \
1466     maybe-mostlyclean-make \
1467     maybe-mostlyclean-mmalloc \
1468     maybe-mostlyclean-patch \
1469     maybe-mostlyclean-perl \
1470     maybe-mostlyclean-prms \
1471     maybe-mostlyclean-rcs \
1472     maybe-mostlyclean-readline \
1473     maybe-mostlyclean-release \
1474     maybe-mostlyclean-recode \
1475     maybe-mostlyclean-sed \
1476     maybe-mostlyclean-send-pr \
1477     maybe-mostlyclean-shellutils \
1478     maybe-mostlyclean-sid \
1479     maybe-mostlyclean-sim \
1480     maybe-mostlyclean-tar \
1481     maybe-mostlyclean-texinfo \
1482     maybe-mostlyclean-textutils \
1483     maybe-mostlyclean-time \
1484     maybe-mostlyclean-uudecode \
1485     maybe-mostlyclean-wdiff \
1486     maybe-mostlyclean-zip \
1487     maybe-mostlyclean-zlib \
1488     maybe-mostlyclean-gdb \
1489     maybe-mostlyclean-expect \
1490     maybe-mostlyclean-guile \
1491     maybe-mostlyclean-tk \
1492     maybe-mostlyclean-libtermcap \
1493     maybe-mostlyclean-utils \
1494     maybe-mostlyclean-gnattools
1495
1496 .PHONY: mostlyclean-target
1497 mostlyclean-target:  \
1498     maybe-mostlyclean-target-libstdc++-v3 \
1499     maybe-mostlyclean-target-libmudflap \
1500     maybe-mostlyclean-target-newlib \
1501     maybe-mostlyclean-target-libgfortran \
1502     maybe-mostlyclean-target-libobjc \
1503     maybe-mostlyclean-target-libtermcap \
1504     maybe-mostlyclean-target-winsup \
1505     maybe-mostlyclean-target-libgloss \
1506     maybe-mostlyclean-target-libiberty \
1507     maybe-mostlyclean-target-gperf \
1508     maybe-mostlyclean-target-examples \
1509     maybe-mostlyclean-target-libffi \
1510     maybe-mostlyclean-target-libjava \
1511     maybe-mostlyclean-target-zlib \
1512     maybe-mostlyclean-target-boehm-gc \
1513     maybe-mostlyclean-target-qthreads \
1514     maybe-mostlyclean-target-rda \
1515     maybe-mostlyclean-target-libada
1516
1517 .PHONY: do-clean
1518 do-clean: unstage clean-host clean-target stage
1519
1520 .PHONY: clean-host
1521 clean-host:  \
1522     maybe-clean-ash \
1523     maybe-clean-autoconf \
1524     maybe-clean-automake \
1525     maybe-clean-bash \
1526     maybe-clean-bfd \
1527     maybe-clean-opcodes \
1528     maybe-clean-binutils \
1529     maybe-clean-bison \
1530     maybe-clean-byacc \
1531     maybe-clean-bzip2 \
1532     maybe-clean-dejagnu \
1533     maybe-clean-diff \
1534     maybe-clean-dosutils \
1535     maybe-clean-etc \
1536     maybe-clean-fastjar \
1537     maybe-clean-fileutils \
1538     maybe-clean-findutils \
1539     maybe-clean-find \
1540     maybe-clean-fixincludes \
1541     maybe-clean-flex \
1542     maybe-clean-gas \
1543     maybe-clean-gcc \
1544     maybe-clean-gawk \
1545     maybe-clean-gettext \
1546     maybe-clean-gnuserv \
1547     maybe-clean-gprof \
1548     maybe-clean-gzip \
1549     maybe-clean-hello \
1550     maybe-clean-indent \
1551     maybe-clean-intl \
1552     maybe-clean-tcl \
1553     maybe-clean-itcl \
1554     maybe-clean-ld \
1555     maybe-clean-libcpp \
1556     maybe-clean-libgui \
1557     maybe-clean-libiberty \
1558     maybe-clean-libtool \
1559     maybe-clean-m4 \
1560     maybe-clean-make \
1561     maybe-clean-mmalloc \
1562     maybe-clean-patch \
1563     maybe-clean-perl \
1564     maybe-clean-prms \
1565     maybe-clean-rcs \
1566     maybe-clean-readline \
1567     maybe-clean-release \
1568     maybe-clean-recode \
1569     maybe-clean-sed \
1570     maybe-clean-send-pr \
1571     maybe-clean-shellutils \
1572     maybe-clean-sid \
1573     maybe-clean-sim \
1574     maybe-clean-tar \
1575     maybe-clean-texinfo \
1576     maybe-clean-textutils \
1577     maybe-clean-time \
1578     maybe-clean-uudecode \
1579     maybe-clean-wdiff \
1580     maybe-clean-zip \
1581     maybe-clean-zlib \
1582     maybe-clean-gdb \
1583     maybe-clean-expect \
1584     maybe-clean-guile \
1585     maybe-clean-tk \
1586     maybe-clean-libtermcap \
1587     maybe-clean-utils \
1588     maybe-clean-gnattools
1589
1590 .PHONY: clean-target
1591 clean-target:  \
1592     maybe-clean-target-libstdc++-v3 \
1593     maybe-clean-target-libmudflap \
1594     maybe-clean-target-newlib \
1595     maybe-clean-target-libgfortran \
1596     maybe-clean-target-libobjc \
1597     maybe-clean-target-libtermcap \
1598     maybe-clean-target-winsup \
1599     maybe-clean-target-libgloss \
1600     maybe-clean-target-libiberty \
1601     maybe-clean-target-gperf \
1602     maybe-clean-target-examples \
1603     maybe-clean-target-libffi \
1604     maybe-clean-target-libjava \
1605     maybe-clean-target-zlib \
1606     maybe-clean-target-boehm-gc \
1607     maybe-clean-target-qthreads \
1608     maybe-clean-target-rda \
1609     maybe-clean-target-libada
1610
1611 .PHONY: do-distclean
1612 do-distclean: unstage distclean-host distclean-target stage
1613
1614 .PHONY: distclean-host
1615 distclean-host:  \
1616     maybe-distclean-ash \
1617     maybe-distclean-autoconf \
1618     maybe-distclean-automake \
1619     maybe-distclean-bash \
1620     maybe-distclean-bfd \
1621     maybe-distclean-opcodes \
1622     maybe-distclean-binutils \
1623     maybe-distclean-bison \
1624     maybe-distclean-byacc \
1625     maybe-distclean-bzip2 \
1626     maybe-distclean-dejagnu \
1627     maybe-distclean-diff \
1628     maybe-distclean-dosutils \
1629     maybe-distclean-etc \
1630     maybe-distclean-fastjar \
1631     maybe-distclean-fileutils \
1632     maybe-distclean-findutils \
1633     maybe-distclean-find \
1634     maybe-distclean-fixincludes \
1635     maybe-distclean-flex \
1636     maybe-distclean-gas \
1637     maybe-distclean-gcc \
1638     maybe-distclean-gawk \
1639     maybe-distclean-gettext \
1640     maybe-distclean-gnuserv \
1641     maybe-distclean-gprof \
1642     maybe-distclean-gzip \
1643     maybe-distclean-hello \
1644     maybe-distclean-indent \
1645     maybe-distclean-intl \
1646     maybe-distclean-tcl \
1647     maybe-distclean-itcl \
1648     maybe-distclean-ld \
1649     maybe-distclean-libcpp \
1650     maybe-distclean-libgui \
1651     maybe-distclean-libiberty \
1652     maybe-distclean-libtool \
1653     maybe-distclean-m4 \
1654     maybe-distclean-make \
1655     maybe-distclean-mmalloc \
1656     maybe-distclean-patch \
1657     maybe-distclean-perl \
1658     maybe-distclean-prms \
1659     maybe-distclean-rcs \
1660     maybe-distclean-readline \
1661     maybe-distclean-release \
1662     maybe-distclean-recode \
1663     maybe-distclean-sed \
1664     maybe-distclean-send-pr \
1665     maybe-distclean-shellutils \
1666     maybe-distclean-sid \
1667     maybe-distclean-sim \
1668     maybe-distclean-tar \
1669     maybe-distclean-texinfo \
1670     maybe-distclean-textutils \
1671     maybe-distclean-time \
1672     maybe-distclean-uudecode \
1673     maybe-distclean-wdiff \
1674     maybe-distclean-zip \
1675     maybe-distclean-zlib \
1676     maybe-distclean-gdb \
1677     maybe-distclean-expect \
1678     maybe-distclean-guile \
1679     maybe-distclean-tk \
1680     maybe-distclean-libtermcap \
1681     maybe-distclean-utils \
1682     maybe-distclean-gnattools
1683
1684 .PHONY: distclean-target
1685 distclean-target:  \
1686     maybe-distclean-target-libstdc++-v3 \
1687     maybe-distclean-target-libmudflap \
1688     maybe-distclean-target-newlib \
1689     maybe-distclean-target-libgfortran \
1690     maybe-distclean-target-libobjc \
1691     maybe-distclean-target-libtermcap \
1692     maybe-distclean-target-winsup \
1693     maybe-distclean-target-libgloss \
1694     maybe-distclean-target-libiberty \
1695     maybe-distclean-target-gperf \
1696     maybe-distclean-target-examples \
1697     maybe-distclean-target-libffi \
1698     maybe-distclean-target-libjava \
1699     maybe-distclean-target-zlib \
1700     maybe-distclean-target-boehm-gc \
1701     maybe-distclean-target-qthreads \
1702     maybe-distclean-target-rda \
1703     maybe-distclean-target-libada
1704
1705 .PHONY: do-maintainer-clean
1706 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1707
1708 .PHONY: maintainer-clean-host
1709 maintainer-clean-host:  \
1710     maybe-maintainer-clean-ash \
1711     maybe-maintainer-clean-autoconf \
1712     maybe-maintainer-clean-automake \
1713     maybe-maintainer-clean-bash \
1714     maybe-maintainer-clean-bfd \
1715     maybe-maintainer-clean-opcodes \
1716     maybe-maintainer-clean-binutils \
1717     maybe-maintainer-clean-bison \
1718     maybe-maintainer-clean-byacc \
1719     maybe-maintainer-clean-bzip2 \
1720     maybe-maintainer-clean-dejagnu \
1721     maybe-maintainer-clean-diff \
1722     maybe-maintainer-clean-dosutils \
1723     maybe-maintainer-clean-etc \
1724     maybe-maintainer-clean-fastjar \
1725     maybe-maintainer-clean-fileutils \
1726     maybe-maintainer-clean-findutils \
1727     maybe-maintainer-clean-find \
1728     maybe-maintainer-clean-fixincludes \
1729     maybe-maintainer-clean-flex \
1730     maybe-maintainer-clean-gas \
1731     maybe-maintainer-clean-gcc \
1732     maybe-maintainer-clean-gawk \
1733     maybe-maintainer-clean-gettext \
1734     maybe-maintainer-clean-gnuserv \
1735     maybe-maintainer-clean-gprof \
1736     maybe-maintainer-clean-gzip \
1737     maybe-maintainer-clean-hello \
1738     maybe-maintainer-clean-indent \
1739     maybe-maintainer-clean-intl \
1740     maybe-maintainer-clean-tcl \
1741     maybe-maintainer-clean-itcl \
1742     maybe-maintainer-clean-ld \
1743     maybe-maintainer-clean-libcpp \
1744     maybe-maintainer-clean-libgui \
1745     maybe-maintainer-clean-libiberty \
1746     maybe-maintainer-clean-libtool \
1747     maybe-maintainer-clean-m4 \
1748     maybe-maintainer-clean-make \
1749     maybe-maintainer-clean-mmalloc \
1750     maybe-maintainer-clean-patch \
1751     maybe-maintainer-clean-perl \
1752     maybe-maintainer-clean-prms \
1753     maybe-maintainer-clean-rcs \
1754     maybe-maintainer-clean-readline \
1755     maybe-maintainer-clean-release \
1756     maybe-maintainer-clean-recode \
1757     maybe-maintainer-clean-sed \
1758     maybe-maintainer-clean-send-pr \
1759     maybe-maintainer-clean-shellutils \
1760     maybe-maintainer-clean-sid \
1761     maybe-maintainer-clean-sim \
1762     maybe-maintainer-clean-tar \
1763     maybe-maintainer-clean-texinfo \
1764     maybe-maintainer-clean-textutils \
1765     maybe-maintainer-clean-time \
1766     maybe-maintainer-clean-uudecode \
1767     maybe-maintainer-clean-wdiff \
1768     maybe-maintainer-clean-zip \
1769     maybe-maintainer-clean-zlib \
1770     maybe-maintainer-clean-gdb \
1771     maybe-maintainer-clean-expect \
1772     maybe-maintainer-clean-guile \
1773     maybe-maintainer-clean-tk \
1774     maybe-maintainer-clean-libtermcap \
1775     maybe-maintainer-clean-utils \
1776     maybe-maintainer-clean-gnattools
1777
1778 .PHONY: maintainer-clean-target
1779 maintainer-clean-target:  \
1780     maybe-maintainer-clean-target-libstdc++-v3 \
1781     maybe-maintainer-clean-target-libmudflap \
1782     maybe-maintainer-clean-target-newlib \
1783     maybe-maintainer-clean-target-libgfortran \
1784     maybe-maintainer-clean-target-libobjc \
1785     maybe-maintainer-clean-target-libtermcap \
1786     maybe-maintainer-clean-target-winsup \
1787     maybe-maintainer-clean-target-libgloss \
1788     maybe-maintainer-clean-target-libiberty \
1789     maybe-maintainer-clean-target-gperf \
1790     maybe-maintainer-clean-target-examples \
1791     maybe-maintainer-clean-target-libffi \
1792     maybe-maintainer-clean-target-libjava \
1793     maybe-maintainer-clean-target-zlib \
1794     maybe-maintainer-clean-target-boehm-gc \
1795     maybe-maintainer-clean-target-qthreads \
1796     maybe-maintainer-clean-target-rda \
1797     maybe-maintainer-clean-target-libada
1798
1799
1800 # Here are the targets which correspond to the do-X targets.
1801
1802 .PHONY: info installcheck dvi html install-info
1803 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1804 .PHONY: local-clean local-distclean local-maintainer-clean
1805 info: do-info
1806 installcheck: do-installcheck
1807 dvi: do-dvi
1808 html: do-html
1809
1810 # Make sure makeinfo is built before we do a `make info', if we're
1811 # in fact building texinfo.
1812 do-info: maybe-all-texinfo
1813
1814 install-info: do-install-info dir.info
1815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1816         if [ -f dir.info ] ; then \
1817           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1818         else true ; fi
1819
1820 local-clean:
1821         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1822
1823 local-distclean:
1824         -rm -f Makefile config.status config.cache mh-frag mt-frag
1825         -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1826         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1827           rm -rf $(TARGET_SUBDIR); \
1828         else true; fi
1829         -rm -rf $(BUILD_SUBDIR)
1830         -if [ "$(HOST_SUBDIR)" != "." ]; then \
1831           rm -rf $(HOST_SUBDIR); \
1832         else true; fi
1833         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1834         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1835         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1836         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1837         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1838
1839 local-maintainer-clean:
1840         @echo "This command is intended for maintainers to use;"
1841         @echo "it deletes files that may require special tools to rebuild."
1842
1843 clean: do-clean local-clean
1844 mostlyclean: do-mostlyclean local-clean
1845 distclean: do-distclean local-clean local-distclean
1846 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
1847 maintainer-clean: local-distclean
1848 realclean: maintainer-clean
1849
1850 # Extra dependency for clean-target, owing to the mixed nature of gcc
1851 clean-target: clean-target-libgcc
1852 clean-target-libgcc:
1853         test ! -d gcc/libgcc || \
1854         (cd gcc/libgcc && find . -type d -print) | \
1855         while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1856         -rm -rf gcc/libgcc
1857         -rm -f gcc/stmp-dirs
1858
1859 # Check target.
1860
1861 .PHONY: check do-check
1862 check: do-check
1863
1864 # Only include modules actually being configured and built.
1865 do-check: unstage  \
1866     maybe-check-ash \
1867     maybe-check-autoconf \
1868     maybe-check-automake \
1869     maybe-check-bash \
1870     maybe-check-bfd \
1871     maybe-check-opcodes \
1872     maybe-check-binutils \
1873     maybe-check-bison \
1874     maybe-check-byacc \
1875     maybe-check-bzip2 \
1876     maybe-check-dejagnu \
1877     maybe-check-diff \
1878     maybe-check-dosutils \
1879     maybe-check-etc \
1880     maybe-check-fastjar \
1881     maybe-check-fileutils \
1882     maybe-check-findutils \
1883     maybe-check-find \
1884     maybe-check-fixincludes \
1885     maybe-check-flex \
1886     maybe-check-gas \
1887     maybe-check-gcc \
1888     maybe-check-gawk \
1889     maybe-check-gettext \
1890     maybe-check-gnuserv \
1891     maybe-check-gprof \
1892     maybe-check-gzip \
1893     maybe-check-hello \
1894     maybe-check-indent \
1895     maybe-check-intl \
1896     maybe-check-tcl \
1897     maybe-check-itcl \
1898     maybe-check-ld \
1899     maybe-check-libcpp \
1900     maybe-check-libgui \
1901     maybe-check-libiberty \
1902     maybe-check-libtool \
1903     maybe-check-m4 \
1904     maybe-check-make \
1905     maybe-check-mmalloc \
1906     maybe-check-patch \
1907     maybe-check-perl \
1908     maybe-check-prms \
1909     maybe-check-rcs \
1910     maybe-check-readline \
1911     maybe-check-release \
1912     maybe-check-recode \
1913     maybe-check-sed \
1914     maybe-check-send-pr \
1915     maybe-check-shellutils \
1916     maybe-check-sid \
1917     maybe-check-sim \
1918     maybe-check-tar \
1919     maybe-check-texinfo \
1920     maybe-check-textutils \
1921     maybe-check-time \
1922     maybe-check-uudecode \
1923     maybe-check-wdiff \
1924     maybe-check-zip \
1925     maybe-check-zlib \
1926     maybe-check-gdb \
1927     maybe-check-expect \
1928     maybe-check-guile \
1929     maybe-check-tk \
1930     maybe-check-libtermcap \
1931     maybe-check-utils \
1932     maybe-check-gnattools \
1933     maybe-check-target-libstdc++-v3 \
1934     maybe-check-target-libmudflap \
1935     maybe-check-target-newlib \
1936     maybe-check-target-libgfortran \
1937     maybe-check-target-libobjc \
1938     maybe-check-target-libtermcap \
1939     maybe-check-target-winsup \
1940     maybe-check-target-libgloss \
1941     maybe-check-target-libiberty \
1942     maybe-check-target-gperf \
1943     maybe-check-target-examples \
1944     maybe-check-target-libffi \
1945     maybe-check-target-libjava \
1946     maybe-check-target-zlib \
1947     maybe-check-target-boehm-gc \
1948     maybe-check-target-qthreads \
1949     maybe-check-target-rda \
1950     maybe-check-target-libada stage
1951
1952 # Automated reporting of test results.
1953
1954 warning.log: build.log
1955         $(srcdir)/contrib/warn_summary build.log > $@
1956
1957 mail-report.log:
1958         if test x'$(BOOT_CFLAGS)' != x''; then \
1959             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1960         fi; \
1961         $(srcdir)/contrib/test_summary -t >$@
1962         chmod +x $@
1963         echo If you really want to send e-mail, run ./$@ now
1964
1965 mail-report-with-warnings.log: warning.log
1966         if test x'$(BOOT_CFLAGS)' != x''; then \
1967             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1968         fi; \
1969         $(srcdir)/contrib/test_summary -t -i warning.log >$@
1970         chmod +x $@
1971         echo If you really want to send e-mail, run ./$@ now
1972
1973 # Installation targets.
1974
1975 .PHONY: install uninstall
1976 install: installdirs install-host install-target
1977
1978 .PHONY: install-host-nogcc
1979 install-host-nogcc:  \
1980     maybe-install-ash \
1981     maybe-install-autoconf \
1982     maybe-install-automake \
1983     maybe-install-bash \
1984     maybe-install-bfd \
1985     maybe-install-opcodes \
1986     maybe-install-binutils \
1987     maybe-install-bison \
1988     maybe-install-byacc \
1989     maybe-install-bzip2 \
1990     maybe-install-dejagnu \
1991     maybe-install-diff \
1992     maybe-install-dosutils \
1993     maybe-install-etc \
1994     maybe-install-fastjar \
1995     maybe-install-fileutils \
1996     maybe-install-findutils \
1997     maybe-install-find \
1998     maybe-install-fixincludes \
1999     maybe-install-flex \
2000     maybe-install-gas \
2001     maybe-install-gawk \
2002     maybe-install-gettext \
2003     maybe-install-gnuserv \
2004     maybe-install-gprof \
2005     maybe-install-gzip \
2006     maybe-install-hello \
2007     maybe-install-indent \
2008     maybe-install-intl \
2009     maybe-install-tcl \
2010     maybe-install-itcl \
2011     maybe-install-ld \
2012     maybe-install-libcpp \
2013     maybe-install-libgui \
2014     maybe-install-libiberty \
2015     maybe-install-libtool \
2016     maybe-install-m4 \
2017     maybe-install-make \
2018     maybe-install-mmalloc \
2019     maybe-install-patch \
2020     maybe-install-perl \
2021     maybe-install-prms \
2022     maybe-install-rcs \
2023     maybe-install-readline \
2024     maybe-install-release \
2025     maybe-install-recode \
2026     maybe-install-sed \
2027     maybe-install-send-pr \
2028     maybe-install-shellutils \
2029     maybe-install-sid \
2030     maybe-install-sim \
2031     maybe-install-tar \
2032     maybe-install-texinfo \
2033     maybe-install-textutils \
2034     maybe-install-time \
2035     maybe-install-uudecode \
2036     maybe-install-wdiff \
2037     maybe-install-zip \
2038     maybe-install-zlib \
2039     maybe-install-gdb \
2040     maybe-install-expect \
2041     maybe-install-guile \
2042     maybe-install-tk \
2043     maybe-install-libtermcap \
2044     maybe-install-utils \
2045     maybe-install-gnattools
2046
2047 .PHONY: install-host
2048 install-host:  \
2049     maybe-install-ash \
2050     maybe-install-autoconf \
2051     maybe-install-automake \
2052     maybe-install-bash \
2053     maybe-install-bfd \
2054     maybe-install-opcodes \
2055     maybe-install-binutils \
2056     maybe-install-bison \
2057     maybe-install-byacc \
2058     maybe-install-bzip2 \
2059     maybe-install-dejagnu \
2060     maybe-install-diff \
2061     maybe-install-dosutils \
2062     maybe-install-etc \
2063     maybe-install-fastjar \
2064     maybe-install-fileutils \
2065     maybe-install-findutils \
2066     maybe-install-find \
2067     maybe-install-fixincludes \
2068     maybe-install-flex \
2069     maybe-install-gas \
2070     maybe-install-gcc \
2071     maybe-install-gawk \
2072     maybe-install-gettext \
2073     maybe-install-gnuserv \
2074     maybe-install-gprof \
2075     maybe-install-gzip \
2076     maybe-install-hello \
2077     maybe-install-indent \
2078     maybe-install-intl \
2079     maybe-install-tcl \
2080     maybe-install-itcl \
2081     maybe-install-ld \
2082     maybe-install-libcpp \
2083     maybe-install-libgui \
2084     maybe-install-libiberty \
2085     maybe-install-libtool \
2086     maybe-install-m4 \
2087     maybe-install-make \
2088     maybe-install-mmalloc \
2089     maybe-install-patch \
2090     maybe-install-perl \
2091     maybe-install-prms \
2092     maybe-install-rcs \
2093     maybe-install-readline \
2094     maybe-install-release \
2095     maybe-install-recode \
2096     maybe-install-sed \
2097     maybe-install-send-pr \
2098     maybe-install-shellutils \
2099     maybe-install-sid \
2100     maybe-install-sim \
2101     maybe-install-tar \
2102     maybe-install-texinfo \
2103     maybe-install-textutils \
2104     maybe-install-time \
2105     maybe-install-uudecode \
2106     maybe-install-wdiff \
2107     maybe-install-zip \
2108     maybe-install-zlib \
2109     maybe-install-gdb \
2110     maybe-install-expect \
2111     maybe-install-guile \
2112     maybe-install-tk \
2113     maybe-install-libtermcap \
2114     maybe-install-utils \
2115     maybe-install-gnattools
2116
2117 .PHONY: install-target
2118 install-target:  \
2119     maybe-install-target-libstdc++-v3 \
2120     maybe-install-target-libmudflap \
2121     maybe-install-target-newlib \
2122     maybe-install-target-libgfortran \
2123     maybe-install-target-libobjc \
2124     maybe-install-target-libtermcap \
2125     maybe-install-target-winsup \
2126     maybe-install-target-libgloss \
2127     maybe-install-target-libiberty \
2128     maybe-install-target-gperf \
2129     maybe-install-target-examples \
2130     maybe-install-target-libffi \
2131     maybe-install-target-libjava \
2132     maybe-install-target-zlib \
2133     maybe-install-target-boehm-gc \
2134     maybe-install-target-qthreads \
2135     maybe-install-target-rda \
2136     maybe-install-target-libada
2137
2138 uninstall:
2139         @echo "the uninstall target is not supported in this tree"
2140
2141 .PHONY: install.all
2142 install.all: install-no-fixedincludes
2143         @if [ -f ./gcc/Makefile ] ; then \
2144                 r=`${PWD_COMMAND}` ; export r ; \
2145                 $(HOST_EXPORTS) \
2146                 (cd ./gcc && \
2147                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2148         else \
2149                 true ; \
2150         fi
2151
2152 # install-no-fixedincludes is used because Cygnus can not distribute
2153 # the fixed header files.
2154 .PHONY: install-no-fixedincludes
2155 install-no-fixedincludes: installdirs install-host-nogcc \
2156         install-target gcc-no-fixedincludes
2157
2158 ### other supporting targets
2159
2160 MAKEDIRS= \
2161         $(DESTDIR)$(prefix) \
2162         $(DESTDIR)$(exec_prefix)
2163 .PHONY: installdirs
2164 installdirs: mkinstalldirs
2165         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2166
2167 dir.info: do-install-info
2168         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2169           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2170           mv -f dir.info.new dir.info ; \
2171         else true ; \
2172         fi
2173
2174 dist:
2175         @echo "Building a full distribution of this tree isn't done"
2176         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
2177
2178 etags tags: TAGS
2179
2180 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
2181 # ability to use several tags files at once, so there is probably no need
2182 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
2183 # (if we felt like it) have this Makefile write a piece of elisp which
2184 # the user could load to tell emacs19 where all the TAGS files we just
2185 # built are.
2186 TAGS: do-TAGS
2187
2188 # --------------------------------------
2189 # Modules which run on the build machine
2190 # --------------------------------------
2191
2192 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2193 maybe-configure-build-libiberty:
2194 @if build-libiberty
2195 maybe-configure-build-libiberty: configure-build-libiberty
2196 configure-build-libiberty:
2197         @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2198         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2199         r=`${PWD_COMMAND}`; export r; \
2200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2201         $(BUILD_EXPORTS) \
2202         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2203         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2204         case $(srcdir) in \
2205           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2206           *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2207                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2208         esac; \
2209         srcdiroption="--srcdir=$${topdir}/libiberty"; \
2210         libsrcdir="$$s/libiberty"; \
2211         rm -f no-such-file || : ; \
2212         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2213           $(BUILD_CONFIGARGS) $${srcdiroption} \
2214           --with-build-subdir="$(BUILD_SUBDIR)"  \
2215           || exit 1
2216 @endif build-libiberty
2217
2218 .PHONY: all-build-libiberty maybe-all-build-libiberty
2219 maybe-all-build-libiberty:
2220 @if build-libiberty
2221 TARGET-build-libiberty=all
2222 maybe-all-build-libiberty: all-build-libiberty
2223 all-build-libiberty: configure-build-libiberty
2224         @r=`${PWD_COMMAND}`; export r; \
2225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2226         $(BUILD_EXPORTS) \
2227         (cd $(BUILD_SUBDIR)/libiberty && \
2228           $(MAKE)  $(TARGET-build-libiberty))
2229 @endif build-libiberty
2230
2231 .PHONY: configure-build-bison maybe-configure-build-bison
2232 maybe-configure-build-bison:
2233 @if build-bison
2234 maybe-configure-build-bison: configure-build-bison
2235 configure-build-bison:
2236         @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2237         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2238         r=`${PWD_COMMAND}`; export r; \
2239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2240         $(BUILD_EXPORTS) \
2241         echo Configuring in $(BUILD_SUBDIR)/bison; \
2242         cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2243         case $(srcdir) in \
2244           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2245           *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2246                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2247         esac; \
2248         srcdiroption="--srcdir=$${topdir}/bison"; \
2249         libsrcdir="$$s/bison"; \
2250         rm -f no-such-file || : ; \
2251         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2252           $(BUILD_CONFIGARGS) $${srcdiroption} \
2253           --with-build-subdir="$(BUILD_SUBDIR)"  \
2254           || exit 1
2255 @endif build-bison
2256
2257 .PHONY: all-build-bison maybe-all-build-bison
2258 maybe-all-build-bison:
2259 @if build-bison
2260 TARGET-build-bison=all
2261 maybe-all-build-bison: all-build-bison
2262 all-build-bison: configure-build-bison
2263         @r=`${PWD_COMMAND}`; export r; \
2264         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2265         $(BUILD_EXPORTS) \
2266         (cd $(BUILD_SUBDIR)/bison && \
2267           $(MAKE)  $(TARGET-build-bison))
2268 @endif build-bison
2269
2270 .PHONY: configure-build-byacc maybe-configure-build-byacc
2271 maybe-configure-build-byacc:
2272 @if build-byacc
2273 maybe-configure-build-byacc: configure-build-byacc
2274 configure-build-byacc:
2275         @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2276         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2277         r=`${PWD_COMMAND}`; export r; \
2278         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2279         $(BUILD_EXPORTS) \
2280         echo Configuring in $(BUILD_SUBDIR)/byacc; \
2281         cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2282         case $(srcdir) in \
2283           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2284           *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2285                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2286         esac; \
2287         srcdiroption="--srcdir=$${topdir}/byacc"; \
2288         libsrcdir="$$s/byacc"; \
2289         rm -f no-such-file || : ; \
2290         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2291           $(BUILD_CONFIGARGS) $${srcdiroption} \
2292           --with-build-subdir="$(BUILD_SUBDIR)"  \
2293           || exit 1
2294 @endif build-byacc
2295
2296 .PHONY: all-build-byacc maybe-all-build-byacc
2297 maybe-all-build-byacc:
2298 @if build-byacc
2299 TARGET-build-byacc=all
2300 maybe-all-build-byacc: all-build-byacc
2301 all-build-byacc: configure-build-byacc
2302         @r=`${PWD_COMMAND}`; export r; \
2303         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2304         $(BUILD_EXPORTS) \
2305         (cd $(BUILD_SUBDIR)/byacc && \
2306           $(MAKE)  $(TARGET-build-byacc))
2307 @endif build-byacc
2308
2309 .PHONY: configure-build-flex maybe-configure-build-flex
2310 maybe-configure-build-flex:
2311 @if build-flex
2312 maybe-configure-build-flex: configure-build-flex
2313 configure-build-flex:
2314         @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2315         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2316         r=`${PWD_COMMAND}`; export r; \
2317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2318         $(BUILD_EXPORTS) \
2319         echo Configuring in $(BUILD_SUBDIR)/flex; \
2320         cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2321         case $(srcdir) in \
2322           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2323           *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2324                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2325         esac; \
2326         srcdiroption="--srcdir=$${topdir}/flex"; \
2327         libsrcdir="$$s/flex"; \
2328         rm -f no-such-file || : ; \
2329         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2330           $(BUILD_CONFIGARGS) $${srcdiroption} \
2331           --with-build-subdir="$(BUILD_SUBDIR)"  \
2332           || exit 1
2333 @endif build-flex
2334
2335 .PHONY: all-build-flex maybe-all-build-flex
2336 maybe-all-build-flex:
2337 @if build-flex
2338 TARGET-build-flex=all
2339 maybe-all-build-flex: all-build-flex
2340 all-build-flex: configure-build-flex
2341         @r=`${PWD_COMMAND}`; export r; \
2342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2343         $(BUILD_EXPORTS) \
2344         (cd $(BUILD_SUBDIR)/flex && \
2345           $(MAKE)  $(TARGET-build-flex))
2346 @endif build-flex
2347
2348 .PHONY: configure-build-m4 maybe-configure-build-m4
2349 maybe-configure-build-m4:
2350 @if build-m4
2351 maybe-configure-build-m4: configure-build-m4
2352 configure-build-m4:
2353         @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2354         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2355         r=`${PWD_COMMAND}`; export r; \
2356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2357         $(BUILD_EXPORTS) \
2358         echo Configuring in $(BUILD_SUBDIR)/m4; \
2359         cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2360         case $(srcdir) in \
2361           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2362           *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2363                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2364         esac; \
2365         srcdiroption="--srcdir=$${topdir}/m4"; \
2366         libsrcdir="$$s/m4"; \
2367         rm -f no-such-file || : ; \
2368         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2369           $(BUILD_CONFIGARGS) $${srcdiroption} \
2370           --with-build-subdir="$(BUILD_SUBDIR)"  \
2371           || exit 1
2372 @endif build-m4
2373
2374 .PHONY: all-build-m4 maybe-all-build-m4
2375 maybe-all-build-m4:
2376 @if build-m4
2377 TARGET-build-m4=all
2378 maybe-all-build-m4: all-build-m4
2379 all-build-m4: configure-build-m4
2380         @r=`${PWD_COMMAND}`; export r; \
2381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2382         $(BUILD_EXPORTS) \
2383         (cd $(BUILD_SUBDIR)/m4 && \
2384           $(MAKE)  $(TARGET-build-m4))
2385 @endif build-m4
2386
2387 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2388 maybe-configure-build-texinfo:
2389 @if build-texinfo
2390 maybe-configure-build-texinfo: configure-build-texinfo
2391 configure-build-texinfo:
2392         @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2393         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2394         r=`${PWD_COMMAND}`; export r; \
2395         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2396         $(BUILD_EXPORTS) \
2397         echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2398         cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2399         case $(srcdir) in \
2400           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2401           *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2402                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2403         esac; \
2404         srcdiroption="--srcdir=$${topdir}/texinfo"; \
2405         libsrcdir="$$s/texinfo"; \
2406         rm -f no-such-file || : ; \
2407         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2408           $(BUILD_CONFIGARGS) $${srcdiroption} \
2409           --with-build-subdir="$(BUILD_SUBDIR)"  \
2410           || exit 1
2411 @endif build-texinfo
2412
2413 .PHONY: all-build-texinfo maybe-all-build-texinfo
2414 maybe-all-build-texinfo:
2415 @if build-texinfo
2416 TARGET-build-texinfo=all
2417 maybe-all-build-texinfo: all-build-texinfo
2418 all-build-texinfo: configure-build-texinfo
2419         @r=`${PWD_COMMAND}`; export r; \
2420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2421         $(BUILD_EXPORTS) \
2422         (cd $(BUILD_SUBDIR)/texinfo && \
2423           $(MAKE)  $(TARGET-build-texinfo))
2424 @endif build-texinfo
2425
2426 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2427 maybe-configure-build-fixincludes:
2428 @if build-fixincludes
2429 maybe-configure-build-fixincludes: configure-build-fixincludes
2430 configure-build-fixincludes:
2431         @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2432         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2433         r=`${PWD_COMMAND}`; export r; \
2434         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2435         $(BUILD_EXPORTS) \
2436         echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2437         cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2438         case $(srcdir) in \
2439           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2440           *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2441                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2442         esac; \
2443         srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2444         libsrcdir="$$s/fixincludes"; \
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-fixincludes
2451
2452 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2453 maybe-all-build-fixincludes:
2454 @if build-fixincludes
2455 TARGET-build-fixincludes=all
2456 maybe-all-build-fixincludes: all-build-fixincludes
2457 all-build-fixincludes: configure-build-fixincludes
2458         @r=`${PWD_COMMAND}`; export r; \
2459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2460         $(BUILD_EXPORTS) \
2461         (cd $(BUILD_SUBDIR)/fixincludes && \
2462           $(MAKE)  $(TARGET-build-fixincludes))
2463 @endif build-fixincludes
2464
2465
2466 # --------------------------------------
2467 # Modules which run on the host machine
2468 # --------------------------------------
2469
2470 .PHONY: configure-ash maybe-configure-ash
2471 maybe-configure-ash:
2472 @if ash
2473 maybe-configure-ash: configure-ash
2474 configure-ash:
2475         @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2476         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2477         r=`${PWD_COMMAND}`; export r; \
2478         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2479         $(HOST_EXPORTS) \
2480         echo Configuring in ash; \
2481         cd $(HOST_SUBDIR)/ash || exit 1; \
2482         case $(srcdir) in \
2483           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2484           *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2485                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2486         esac; \
2487         srcdiroption="--srcdir=$${topdir}/ash"; \
2488         libsrcdir="$$s/ash"; \
2489         $(SHELL) $${libsrcdir}/configure \
2490           $(HOST_CONFIGARGS) $${srcdiroption}  \
2491           || exit 1
2492 @endif ash
2493
2494 .PHONY: all-ash maybe-all-ash
2495 maybe-all-ash:
2496 @if ash
2497 TARGET-ash=all
2498 maybe-all-ash: all-ash
2499 all-ash: configure-ash
2500         @r=`${PWD_COMMAND}`; export r; \
2501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502         $(HOST_EXPORTS) \
2503         (cd $(HOST_SUBDIR)/ash && \
2504           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-ash))
2505 @endif ash
2506
2507 .PHONY: check-ash maybe-check-ash
2508 maybe-check-ash:
2509 @if ash
2510 maybe-check-ash: check-ash
2511
2512 check-ash:
2513         @r=`${PWD_COMMAND}`; export r; \
2514         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2515         $(HOST_EXPORTS) \
2516         (cd $(HOST_SUBDIR)/ash && \
2517           $(MAKE) $(FLAGS_TO_PASS)  check)
2518
2519 @endif ash
2520
2521 .PHONY: install-ash maybe-install-ash
2522 maybe-install-ash:
2523 @if ash
2524 maybe-install-ash: install-ash
2525
2526 install-ash: installdirs
2527         @r=`${PWD_COMMAND}`; export r; \
2528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2529         $(HOST_EXPORTS) \
2530         (cd $(HOST_SUBDIR)/ash && \
2531           $(MAKE) $(FLAGS_TO_PASS)  install)
2532
2533 @endif ash
2534
2535 # Other targets (info, dvi, etc.)
2536
2537 .PHONY: maybe-info-ash info-ash
2538 maybe-info-ash:
2539 @if ash
2540 maybe-info-ash: info-ash
2541
2542 info-ash: \
2543     configure-ash 
2544         @[ -f ./ash/Makefile ] || exit 0; \
2545         r=`${PWD_COMMAND}`; export r; \
2546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547         $(HOST_EXPORTS) \
2548         for flag in $(EXTRA_HOST_FLAGS) ; do \
2549           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2550         done; \
2551         echo "Doing info in ash" ; \
2552         (cd $(HOST_SUBDIR)/ash && \
2553           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2554                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2555                   "RANLIB=$${RANLIB}" \
2556                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2557                   info) \
2558           || exit 1
2559
2560 @endif ash
2561
2562 .PHONY: maybe-dvi-ash dvi-ash
2563 maybe-dvi-ash:
2564 @if ash
2565 maybe-dvi-ash: dvi-ash
2566
2567 dvi-ash: \
2568     configure-ash 
2569         @[ -f ./ash/Makefile ] || exit 0; \
2570         r=`${PWD_COMMAND}`; export r; \
2571         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2572         $(HOST_EXPORTS) \
2573         for flag in $(EXTRA_HOST_FLAGS) ; do \
2574           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2575         done; \
2576         echo "Doing dvi in ash" ; \
2577         (cd $(HOST_SUBDIR)/ash && \
2578           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2579                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2580                   "RANLIB=$${RANLIB}" \
2581                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2582                   dvi) \
2583           || exit 1
2584
2585 @endif ash
2586
2587 .PHONY: maybe-html-ash html-ash
2588 maybe-html-ash:
2589 @if ash
2590 maybe-html-ash: html-ash
2591
2592 html-ash: \
2593     configure-ash 
2594         @[ -f ./ash/Makefile ] || exit 0; \
2595         r=`${PWD_COMMAND}`; export r; \
2596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597         $(HOST_EXPORTS) \
2598         for flag in $(EXTRA_HOST_FLAGS) ; do \
2599           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2600         done; \
2601         echo "Doing html in ash" ; \
2602         (cd $(HOST_SUBDIR)/ash && \
2603           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2604                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2605                   "RANLIB=$${RANLIB}" \
2606                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2607                   html) \
2608           || exit 1
2609
2610 @endif ash
2611
2612 .PHONY: maybe-TAGS-ash TAGS-ash
2613 maybe-TAGS-ash:
2614 @if ash
2615 maybe-TAGS-ash: TAGS-ash
2616
2617 TAGS-ash: \
2618     configure-ash 
2619         @[ -f ./ash/Makefile ] || exit 0; \
2620         r=`${PWD_COMMAND}`; export r; \
2621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2622         $(HOST_EXPORTS) \
2623         for flag in $(EXTRA_HOST_FLAGS) ; do \
2624           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2625         done; \
2626         echo "Doing TAGS in ash" ; \
2627         (cd $(HOST_SUBDIR)/ash && \
2628           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2629                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2630                   "RANLIB=$${RANLIB}" \
2631                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2632                   TAGS) \
2633           || exit 1
2634
2635 @endif ash
2636
2637 .PHONY: maybe-install-info-ash install-info-ash
2638 maybe-install-info-ash:
2639 @if ash
2640 maybe-install-info-ash: install-info-ash
2641
2642 install-info-ash: \
2643     configure-ash \
2644     info-ash 
2645         @[ -f ./ash/Makefile ] || exit 0; \
2646         r=`${PWD_COMMAND}`; export r; \
2647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2648         $(HOST_EXPORTS) \
2649         for flag in $(EXTRA_HOST_FLAGS) ; do \
2650           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2651         done; \
2652         echo "Doing install-info in ash" ; \
2653         (cd $(HOST_SUBDIR)/ash && \
2654           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2655                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2656                   "RANLIB=$${RANLIB}" \
2657                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2658                   install-info) \
2659           || exit 1
2660
2661 @endif ash
2662
2663 .PHONY: maybe-installcheck-ash installcheck-ash
2664 maybe-installcheck-ash:
2665 @if ash
2666 maybe-installcheck-ash: installcheck-ash
2667
2668 installcheck-ash: \
2669     configure-ash 
2670         @[ -f ./ash/Makefile ] || exit 0; \
2671         r=`${PWD_COMMAND}`; export r; \
2672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2673         $(HOST_EXPORTS) \
2674         for flag in $(EXTRA_HOST_FLAGS) ; do \
2675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2676         done; \
2677         echo "Doing installcheck in ash" ; \
2678         (cd $(HOST_SUBDIR)/ash && \
2679           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2680                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2681                   "RANLIB=$${RANLIB}" \
2682                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2683                   installcheck) \
2684           || exit 1
2685
2686 @endif ash
2687
2688 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2689 maybe-mostlyclean-ash:
2690 @if ash
2691 maybe-mostlyclean-ash: mostlyclean-ash
2692
2693 mostlyclean-ash: 
2694         @[ -f ./ash/Makefile ] || exit 0; \
2695         r=`${PWD_COMMAND}`; export r; \
2696         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2697         $(HOST_EXPORTS) \
2698         for flag in $(EXTRA_HOST_FLAGS) ; do \
2699           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2700         done; \
2701         echo "Doing mostlyclean in ash" ; \
2702         (cd $(HOST_SUBDIR)/ash && \
2703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2705                   "RANLIB=$${RANLIB}" \
2706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2707                   mostlyclean) \
2708           || exit 1
2709
2710 @endif ash
2711
2712 .PHONY: maybe-clean-ash clean-ash
2713 maybe-clean-ash:
2714 @if ash
2715 maybe-clean-ash: clean-ash
2716
2717 clean-ash: 
2718         @[ -f ./ash/Makefile ] || exit 0; \
2719         r=`${PWD_COMMAND}`; export r; \
2720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2721         $(HOST_EXPORTS) \
2722         for flag in $(EXTRA_HOST_FLAGS) ; do \
2723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2724         done; \
2725         echo "Doing clean in ash" ; \
2726         (cd $(HOST_SUBDIR)/ash && \
2727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729                   "RANLIB=$${RANLIB}" \
2730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2731                   clean) \
2732           || exit 1
2733
2734 @endif ash
2735
2736 .PHONY: maybe-distclean-ash distclean-ash
2737 maybe-distclean-ash:
2738 @if ash
2739 maybe-distclean-ash: distclean-ash
2740
2741 distclean-ash: 
2742         @[ -f ./ash/Makefile ] || exit 0; \
2743         r=`${PWD_COMMAND}`; export r; \
2744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2745         $(HOST_EXPORTS) \
2746         for flag in $(EXTRA_HOST_FLAGS) ; do \
2747           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2748         done; \
2749         echo "Doing distclean in ash" ; \
2750         (cd $(HOST_SUBDIR)/ash && \
2751           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2752                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2753                   "RANLIB=$${RANLIB}" \
2754                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2755                   distclean) \
2756           || exit 1
2757
2758 @endif ash
2759
2760 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2761 maybe-maintainer-clean-ash:
2762 @if ash
2763 maybe-maintainer-clean-ash: maintainer-clean-ash
2764
2765 maintainer-clean-ash: 
2766         @[ -f ./ash/Makefile ] || exit 0; \
2767         r=`${PWD_COMMAND}`; export r; \
2768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2769         $(HOST_EXPORTS) \
2770         for flag in $(EXTRA_HOST_FLAGS) ; do \
2771           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2772         done; \
2773         echo "Doing maintainer-clean in ash" ; \
2774         (cd $(HOST_SUBDIR)/ash && \
2775           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2776                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2777                   "RANLIB=$${RANLIB}" \
2778                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2779                   maintainer-clean) \
2780           || exit 1
2781
2782 @endif ash
2783
2784
2785 .PHONY: configure-autoconf maybe-configure-autoconf
2786 maybe-configure-autoconf:
2787 @if autoconf
2788 maybe-configure-autoconf: configure-autoconf
2789 configure-autoconf:
2790         @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2791         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2792         r=`${PWD_COMMAND}`; export r; \
2793         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2794         $(HOST_EXPORTS) \
2795         echo Configuring in autoconf; \
2796         cd $(HOST_SUBDIR)/autoconf || exit 1; \
2797         case $(srcdir) in \
2798           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2799           *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2800                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2801         esac; \
2802         srcdiroption="--srcdir=$${topdir}/autoconf"; \
2803         libsrcdir="$$s/autoconf"; \
2804         $(SHELL) $${libsrcdir}/configure \
2805           $(HOST_CONFIGARGS) $${srcdiroption}  \
2806           || exit 1
2807 @endif autoconf
2808
2809 .PHONY: all-autoconf maybe-all-autoconf
2810 maybe-all-autoconf:
2811 @if autoconf
2812 TARGET-autoconf=all
2813 maybe-all-autoconf: all-autoconf
2814 all-autoconf: configure-autoconf
2815         @r=`${PWD_COMMAND}`; export r; \
2816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2817         $(HOST_EXPORTS) \
2818         (cd $(HOST_SUBDIR)/autoconf && \
2819           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-autoconf))
2820 @endif autoconf
2821
2822 .PHONY: check-autoconf maybe-check-autoconf
2823 maybe-check-autoconf:
2824 @if autoconf
2825 maybe-check-autoconf: check-autoconf
2826
2827 check-autoconf:
2828         @r=`${PWD_COMMAND}`; export r; \
2829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2830         $(HOST_EXPORTS) \
2831         (cd $(HOST_SUBDIR)/autoconf && \
2832           $(MAKE) $(FLAGS_TO_PASS)  check)
2833
2834 @endif autoconf
2835
2836 .PHONY: install-autoconf maybe-install-autoconf
2837 maybe-install-autoconf:
2838 @if autoconf
2839 maybe-install-autoconf: install-autoconf
2840
2841 install-autoconf: installdirs
2842         @r=`${PWD_COMMAND}`; export r; \
2843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2844         $(HOST_EXPORTS) \
2845         (cd $(HOST_SUBDIR)/autoconf && \
2846           $(MAKE) $(FLAGS_TO_PASS)  install)
2847
2848 @endif autoconf
2849
2850 # Other targets (info, dvi, etc.)
2851
2852 .PHONY: maybe-info-autoconf info-autoconf
2853 maybe-info-autoconf:
2854 @if autoconf
2855 maybe-info-autoconf: info-autoconf
2856
2857 info-autoconf: \
2858     configure-autoconf 
2859         @[ -f ./autoconf/Makefile ] || exit 0; \
2860         r=`${PWD_COMMAND}`; export r; \
2861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2862         $(HOST_EXPORTS) \
2863         for flag in $(EXTRA_HOST_FLAGS) ; do \
2864           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2865         done; \
2866         echo "Doing info in autoconf" ; \
2867         (cd $(HOST_SUBDIR)/autoconf && \
2868           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2869                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2870                   "RANLIB=$${RANLIB}" \
2871                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2872                   info) \
2873           || exit 1
2874
2875 @endif autoconf
2876
2877 .PHONY: maybe-dvi-autoconf dvi-autoconf
2878 maybe-dvi-autoconf:
2879 @if autoconf
2880 maybe-dvi-autoconf: dvi-autoconf
2881
2882 dvi-autoconf: \
2883     configure-autoconf 
2884         @[ -f ./autoconf/Makefile ] || exit 0; \
2885         r=`${PWD_COMMAND}`; export r; \
2886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2887         $(HOST_EXPORTS) \
2888         for flag in $(EXTRA_HOST_FLAGS) ; do \
2889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2890         done; \
2891         echo "Doing dvi in autoconf" ; \
2892         (cd $(HOST_SUBDIR)/autoconf && \
2893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2895                   "RANLIB=$${RANLIB}" \
2896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2897                   dvi) \
2898           || exit 1
2899
2900 @endif autoconf
2901
2902 .PHONY: maybe-html-autoconf html-autoconf
2903 maybe-html-autoconf:
2904 @if autoconf
2905 maybe-html-autoconf: html-autoconf
2906
2907 html-autoconf: \
2908     configure-autoconf 
2909         @[ -f ./autoconf/Makefile ] || exit 0; \
2910         r=`${PWD_COMMAND}`; export r; \
2911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2912         $(HOST_EXPORTS) \
2913         for flag in $(EXTRA_HOST_FLAGS) ; do \
2914           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2915         done; \
2916         echo "Doing html in autoconf" ; \
2917         (cd $(HOST_SUBDIR)/autoconf && \
2918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2920                   "RANLIB=$${RANLIB}" \
2921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2922                   html) \
2923           || exit 1
2924
2925 @endif autoconf
2926
2927 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2928 maybe-TAGS-autoconf:
2929 @if autoconf
2930 maybe-TAGS-autoconf: TAGS-autoconf
2931
2932 TAGS-autoconf: \
2933     configure-autoconf 
2934         @[ -f ./autoconf/Makefile ] || exit 0; \
2935         r=`${PWD_COMMAND}`; export r; \
2936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2937         $(HOST_EXPORTS) \
2938         for flag in $(EXTRA_HOST_FLAGS) ; do \
2939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2940         done; \
2941         echo "Doing TAGS in autoconf" ; \
2942         (cd $(HOST_SUBDIR)/autoconf && \
2943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2945                   "RANLIB=$${RANLIB}" \
2946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2947                   TAGS) \
2948           || exit 1
2949
2950 @endif autoconf
2951
2952 .PHONY: maybe-install-info-autoconf install-info-autoconf
2953 maybe-install-info-autoconf:
2954 @if autoconf
2955 maybe-install-info-autoconf: install-info-autoconf
2956
2957 install-info-autoconf: \
2958     configure-autoconf \
2959     info-autoconf 
2960         @[ -f ./autoconf/Makefile ] || exit 0; \
2961         r=`${PWD_COMMAND}`; export r; \
2962         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2963         $(HOST_EXPORTS) \
2964         for flag in $(EXTRA_HOST_FLAGS) ; do \
2965           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2966         done; \
2967         echo "Doing install-info in autoconf" ; \
2968         (cd $(HOST_SUBDIR)/autoconf && \
2969           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2970                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2971                   "RANLIB=$${RANLIB}" \
2972                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2973                   install-info) \
2974           || exit 1
2975
2976 @endif autoconf
2977
2978 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2979 maybe-installcheck-autoconf:
2980 @if autoconf
2981 maybe-installcheck-autoconf: installcheck-autoconf
2982
2983 installcheck-autoconf: \
2984     configure-autoconf 
2985         @[ -f ./autoconf/Makefile ] || exit 0; \
2986         r=`${PWD_COMMAND}`; export r; \
2987         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2988         $(HOST_EXPORTS) \
2989         for flag in $(EXTRA_HOST_FLAGS) ; do \
2990           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2991         done; \
2992         echo "Doing installcheck in autoconf" ; \
2993         (cd $(HOST_SUBDIR)/autoconf && \
2994           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2995                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2996                   "RANLIB=$${RANLIB}" \
2997                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2998                   installcheck) \
2999           || exit 1
3000
3001 @endif autoconf
3002
3003 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3004 maybe-mostlyclean-autoconf:
3005 @if autoconf
3006 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3007
3008 mostlyclean-autoconf: 
3009         @[ -f ./autoconf/Makefile ] || exit 0; \
3010         r=`${PWD_COMMAND}`; export r; \
3011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3012         $(HOST_EXPORTS) \
3013         for flag in $(EXTRA_HOST_FLAGS) ; do \
3014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3015         done; \
3016         echo "Doing mostlyclean in autoconf" ; \
3017         (cd $(HOST_SUBDIR)/autoconf && \
3018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3020                   "RANLIB=$${RANLIB}" \
3021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3022                   mostlyclean) \
3023           || exit 1
3024
3025 @endif autoconf
3026
3027 .PHONY: maybe-clean-autoconf clean-autoconf
3028 maybe-clean-autoconf:
3029 @if autoconf
3030 maybe-clean-autoconf: clean-autoconf
3031
3032 clean-autoconf: 
3033         @[ -f ./autoconf/Makefile ] || exit 0; \
3034         r=`${PWD_COMMAND}`; export r; \
3035         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3036         $(HOST_EXPORTS) \
3037         for flag in $(EXTRA_HOST_FLAGS) ; do \
3038           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3039         done; \
3040         echo "Doing clean in autoconf" ; \
3041         (cd $(HOST_SUBDIR)/autoconf && \
3042           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3043                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3044                   "RANLIB=$${RANLIB}" \
3045                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3046                   clean) \
3047           || exit 1
3048
3049 @endif autoconf
3050
3051 .PHONY: maybe-distclean-autoconf distclean-autoconf
3052 maybe-distclean-autoconf:
3053 @if autoconf
3054 maybe-distclean-autoconf: distclean-autoconf
3055
3056 distclean-autoconf: 
3057         @[ -f ./autoconf/Makefile ] || exit 0; \
3058         r=`${PWD_COMMAND}`; export r; \
3059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3060         $(HOST_EXPORTS) \
3061         for flag in $(EXTRA_HOST_FLAGS) ; do \
3062           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3063         done; \
3064         echo "Doing distclean in autoconf" ; \
3065         (cd $(HOST_SUBDIR)/autoconf && \
3066           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3067                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3068                   "RANLIB=$${RANLIB}" \
3069                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3070                   distclean) \
3071           || exit 1
3072
3073 @endif autoconf
3074
3075 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3076 maybe-maintainer-clean-autoconf:
3077 @if autoconf
3078 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3079
3080 maintainer-clean-autoconf: 
3081         @[ -f ./autoconf/Makefile ] || exit 0; \
3082         r=`${PWD_COMMAND}`; export r; \
3083         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3084         $(HOST_EXPORTS) \
3085         for flag in $(EXTRA_HOST_FLAGS) ; do \
3086           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3087         done; \
3088         echo "Doing maintainer-clean in autoconf" ; \
3089         (cd $(HOST_SUBDIR)/autoconf && \
3090           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3091                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3092                   "RANLIB=$${RANLIB}" \
3093                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3094                   maintainer-clean) \
3095           || exit 1
3096
3097 @endif autoconf
3098
3099
3100 .PHONY: configure-automake maybe-configure-automake
3101 maybe-configure-automake:
3102 @if automake
3103 maybe-configure-automake: configure-automake
3104 configure-automake:
3105         @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3106         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3107         r=`${PWD_COMMAND}`; export r; \
3108         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109         $(HOST_EXPORTS) \
3110         echo Configuring in automake; \
3111         cd $(HOST_SUBDIR)/automake || exit 1; \
3112         case $(srcdir) in \
3113           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3114           *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3115                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3116         esac; \
3117         srcdiroption="--srcdir=$${topdir}/automake"; \
3118         libsrcdir="$$s/automake"; \
3119         $(SHELL) $${libsrcdir}/configure \
3120           $(HOST_CONFIGARGS) $${srcdiroption}  \
3121           || exit 1
3122 @endif automake
3123
3124 .PHONY: all-automake maybe-all-automake
3125 maybe-all-automake:
3126 @if automake
3127 TARGET-automake=all
3128 maybe-all-automake: all-automake
3129 all-automake: configure-automake
3130         @r=`${PWD_COMMAND}`; export r; \
3131         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3132         $(HOST_EXPORTS) \
3133         (cd $(HOST_SUBDIR)/automake && \
3134           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-automake))
3135 @endif automake
3136
3137 .PHONY: check-automake maybe-check-automake
3138 maybe-check-automake:
3139 @if automake
3140 maybe-check-automake: check-automake
3141
3142 check-automake:
3143         @r=`${PWD_COMMAND}`; export r; \
3144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3145         $(HOST_EXPORTS) \
3146         (cd $(HOST_SUBDIR)/automake && \
3147           $(MAKE) $(FLAGS_TO_PASS)  check)
3148
3149 @endif automake
3150
3151 .PHONY: install-automake maybe-install-automake
3152 maybe-install-automake:
3153 @if automake
3154 maybe-install-automake: install-automake
3155
3156 install-automake: installdirs
3157         @r=`${PWD_COMMAND}`; export r; \
3158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3159         $(HOST_EXPORTS) \
3160         (cd $(HOST_SUBDIR)/automake && \
3161           $(MAKE) $(FLAGS_TO_PASS)  install)
3162
3163 @endif automake
3164
3165 # Other targets (info, dvi, etc.)
3166
3167 .PHONY: maybe-info-automake info-automake
3168 maybe-info-automake:
3169 @if automake
3170 maybe-info-automake: info-automake
3171
3172 info-automake: \
3173     configure-automake 
3174         @[ -f ./automake/Makefile ] || exit 0; \
3175         r=`${PWD_COMMAND}`; export r; \
3176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3177         $(HOST_EXPORTS) \
3178         for flag in $(EXTRA_HOST_FLAGS) ; do \
3179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3180         done; \
3181         echo "Doing info in automake" ; \
3182         (cd $(HOST_SUBDIR)/automake && \
3183           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3184                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3185                   "RANLIB=$${RANLIB}" \
3186                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3187                   info) \
3188           || exit 1
3189
3190 @endif automake
3191
3192 .PHONY: maybe-dvi-automake dvi-automake
3193 maybe-dvi-automake:
3194 @if automake
3195 maybe-dvi-automake: dvi-automake
3196
3197 dvi-automake: \
3198     configure-automake 
3199         @[ -f ./automake/Makefile ] || exit 0; \
3200         r=`${PWD_COMMAND}`; export r; \
3201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3202         $(HOST_EXPORTS) \
3203         for flag in $(EXTRA_HOST_FLAGS) ; do \
3204           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3205         done; \
3206         echo "Doing dvi in automake" ; \
3207         (cd $(HOST_SUBDIR)/automake && \
3208           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3209                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3210                   "RANLIB=$${RANLIB}" \
3211                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3212                   dvi) \
3213           || exit 1
3214
3215 @endif automake
3216
3217 .PHONY: maybe-html-automake html-automake
3218 maybe-html-automake:
3219 @if automake
3220 maybe-html-automake: html-automake
3221
3222 html-automake: \
3223     configure-automake 
3224         @[ -f ./automake/Makefile ] || exit 0; \
3225         r=`${PWD_COMMAND}`; export r; \
3226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3227         $(HOST_EXPORTS) \
3228         for flag in $(EXTRA_HOST_FLAGS) ; do \
3229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3230         done; \
3231         echo "Doing html in automake" ; \
3232         (cd $(HOST_SUBDIR)/automake && \
3233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3235                   "RANLIB=$${RANLIB}" \
3236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3237                   html) \
3238           || exit 1
3239
3240 @endif automake
3241
3242 .PHONY: maybe-TAGS-automake TAGS-automake
3243 maybe-TAGS-automake:
3244 @if automake
3245 maybe-TAGS-automake: TAGS-automake
3246
3247 TAGS-automake: \
3248     configure-automake 
3249         @[ -f ./automake/Makefile ] || exit 0; \
3250         r=`${PWD_COMMAND}`; export r; \
3251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3252         $(HOST_EXPORTS) \
3253         for flag in $(EXTRA_HOST_FLAGS) ; do \
3254           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3255         done; \
3256         echo "Doing TAGS in automake" ; \
3257         (cd $(HOST_SUBDIR)/automake && \
3258           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260                   "RANLIB=$${RANLIB}" \
3261                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262                   TAGS) \
3263           || exit 1
3264
3265 @endif automake
3266
3267 .PHONY: maybe-install-info-automake install-info-automake
3268 maybe-install-info-automake:
3269 @if automake
3270 maybe-install-info-automake: install-info-automake
3271
3272 install-info-automake: \
3273     configure-automake \
3274     info-automake 
3275         @[ -f ./automake/Makefile ] || exit 0; \
3276         r=`${PWD_COMMAND}`; export r; \
3277         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3278         $(HOST_EXPORTS) \
3279         for flag in $(EXTRA_HOST_FLAGS) ; do \
3280           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3281         done; \
3282         echo "Doing install-info in automake" ; \
3283         (cd $(HOST_SUBDIR)/automake && \
3284           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3285                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3286                   "RANLIB=$${RANLIB}" \
3287                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3288                   install-info) \
3289           || exit 1
3290
3291 @endif automake
3292
3293 .PHONY: maybe-installcheck-automake installcheck-automake
3294 maybe-installcheck-automake:
3295 @if automake
3296 maybe-installcheck-automake: installcheck-automake
3297
3298 installcheck-automake: \
3299     configure-automake 
3300         @[ -f ./automake/Makefile ] || exit 0; \
3301         r=`${PWD_COMMAND}`; export r; \
3302         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3303         $(HOST_EXPORTS) \
3304         for flag in $(EXTRA_HOST_FLAGS) ; do \
3305           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3306         done; \
3307         echo "Doing installcheck in automake" ; \
3308         (cd $(HOST_SUBDIR)/automake && \
3309           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3310                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3311                   "RANLIB=$${RANLIB}" \
3312                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3313                   installcheck) \
3314           || exit 1
3315
3316 @endif automake
3317
3318 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3319 maybe-mostlyclean-automake:
3320 @if automake
3321 maybe-mostlyclean-automake: mostlyclean-automake
3322
3323 mostlyclean-automake: 
3324         @[ -f ./automake/Makefile ] || exit 0; \
3325         r=`${PWD_COMMAND}`; export r; \
3326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327         $(HOST_EXPORTS) \
3328         for flag in $(EXTRA_HOST_FLAGS) ; do \
3329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3330         done; \
3331         echo "Doing mostlyclean in automake" ; \
3332         (cd $(HOST_SUBDIR)/automake && \
3333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335                   "RANLIB=$${RANLIB}" \
3336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3337                   mostlyclean) \
3338           || exit 1
3339
3340 @endif automake
3341
3342 .PHONY: maybe-clean-automake clean-automake
3343 maybe-clean-automake:
3344 @if automake
3345 maybe-clean-automake: clean-automake
3346
3347 clean-automake: 
3348         @[ -f ./automake/Makefile ] || exit 0; \
3349         r=`${PWD_COMMAND}`; export r; \
3350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351         $(HOST_EXPORTS) \
3352         for flag in $(EXTRA_HOST_FLAGS) ; do \
3353           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3354         done; \
3355         echo "Doing clean in automake" ; \
3356         (cd $(HOST_SUBDIR)/automake && \
3357           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3358                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3359                   "RANLIB=$${RANLIB}" \
3360                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3361                   clean) \
3362           || exit 1
3363
3364 @endif automake
3365
3366 .PHONY: maybe-distclean-automake distclean-automake
3367 maybe-distclean-automake:
3368 @if automake
3369 maybe-distclean-automake: distclean-automake
3370
3371 distclean-automake: 
3372         @[ -f ./automake/Makefile ] || exit 0; \
3373         r=`${PWD_COMMAND}`; export r; \
3374         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3375         $(HOST_EXPORTS) \
3376         for flag in $(EXTRA_HOST_FLAGS) ; do \
3377           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378         done; \
3379         echo "Doing distclean in automake" ; \
3380         (cd $(HOST_SUBDIR)/automake && \
3381           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383                   "RANLIB=$${RANLIB}" \
3384                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3385                   distclean) \
3386           || exit 1
3387
3388 @endif automake
3389
3390 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3391 maybe-maintainer-clean-automake:
3392 @if automake
3393 maybe-maintainer-clean-automake: maintainer-clean-automake
3394
3395 maintainer-clean-automake: 
3396         @[ -f ./automake/Makefile ] || exit 0; \
3397         r=`${PWD_COMMAND}`; export r; \
3398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399         $(HOST_EXPORTS) \
3400         for flag in $(EXTRA_HOST_FLAGS) ; do \
3401           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3402         done; \
3403         echo "Doing maintainer-clean in automake" ; \
3404         (cd $(HOST_SUBDIR)/automake && \
3405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407                   "RANLIB=$${RANLIB}" \
3408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3409                   maintainer-clean) \
3410           || exit 1
3411
3412 @endif automake
3413
3414
3415 .PHONY: configure-bash maybe-configure-bash
3416 maybe-configure-bash:
3417 @if bash
3418 maybe-configure-bash: configure-bash
3419 configure-bash:
3420         @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3421         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3422         r=`${PWD_COMMAND}`; export r; \
3423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3424         $(HOST_EXPORTS) \
3425         echo Configuring in bash; \
3426         cd $(HOST_SUBDIR)/bash || exit 1; \
3427         case $(srcdir) in \
3428           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3429           *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3430                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3431         esac; \
3432         srcdiroption="--srcdir=$${topdir}/bash"; \
3433         libsrcdir="$$s/bash"; \
3434         $(SHELL) $${libsrcdir}/configure \
3435           $(HOST_CONFIGARGS) $${srcdiroption}  \
3436           || exit 1
3437 @endif bash
3438
3439 .PHONY: all-bash maybe-all-bash
3440 maybe-all-bash:
3441 @if bash
3442 TARGET-bash=all
3443 maybe-all-bash: all-bash
3444 all-bash: configure-bash
3445         @r=`${PWD_COMMAND}`; export r; \
3446         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3447         $(HOST_EXPORTS) \
3448         (cd $(HOST_SUBDIR)/bash && \
3449           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-bash))
3450 @endif bash
3451
3452 .PHONY: check-bash maybe-check-bash
3453 maybe-check-bash:
3454 @if bash
3455 maybe-check-bash: check-bash
3456
3457 check-bash:
3458         @r=`${PWD_COMMAND}`; export r; \
3459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3460         $(HOST_EXPORTS) \
3461         (cd $(HOST_SUBDIR)/bash && \
3462           $(MAKE) $(FLAGS_TO_PASS)  check)
3463
3464 @endif bash
3465
3466 .PHONY: install-bash maybe-install-bash
3467 maybe-install-bash:
3468 @if bash
3469 maybe-install-bash: install-bash
3470
3471 install-bash: installdirs
3472         @r=`${PWD_COMMAND}`; export r; \
3473         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3474         $(HOST_EXPORTS) \
3475         (cd $(HOST_SUBDIR)/bash && \
3476           $(MAKE) $(FLAGS_TO_PASS)  install)
3477
3478 @endif bash
3479
3480 # Other targets (info, dvi, etc.)
3481
3482 .PHONY: maybe-info-bash info-bash
3483 maybe-info-bash:
3484 @if bash
3485 maybe-info-bash: info-bash
3486
3487 info-bash: \
3488     configure-bash 
3489         @[ -f ./bash/Makefile ] || exit 0; \
3490         r=`${PWD_COMMAND}`; export r; \
3491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3492         $(HOST_EXPORTS) \
3493         for flag in $(EXTRA_HOST_FLAGS) ; do \
3494           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3495         done; \
3496         echo "Doing info in bash" ; \
3497         (cd $(HOST_SUBDIR)/bash && \
3498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3500                   "RANLIB=$${RANLIB}" \
3501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3502                   info) \
3503           || exit 1
3504
3505 @endif bash
3506
3507 .PHONY: maybe-dvi-bash dvi-bash
3508 maybe-dvi-bash:
3509 @if bash
3510 maybe-dvi-bash: dvi-bash
3511
3512 dvi-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         $(HOST_EXPORTS) \
3518         for flag in $(EXTRA_HOST_FLAGS) ; do \
3519           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3520         done; \
3521         echo "Doing dvi in bash" ; \
3522         (cd $(HOST_SUBDIR)/bash && \
3523           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3524                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3525                   "RANLIB=$${RANLIB}" \
3526                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3527                   dvi) \
3528           || exit 1
3529
3530 @endif bash
3531
3532 .PHONY: maybe-html-bash html-bash
3533 maybe-html-bash:
3534 @if bash
3535 maybe-html-bash: html-bash
3536
3537 html-bash: \
3538     configure-bash 
3539         @[ -f ./bash/Makefile ] || exit 0; \
3540         r=`${PWD_COMMAND}`; export r; \
3541         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3542         $(HOST_EXPORTS) \
3543         for flag in $(EXTRA_HOST_FLAGS) ; do \
3544           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3545         done; \
3546         echo "Doing html in bash" ; \
3547         (cd $(HOST_SUBDIR)/bash && \
3548           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3549                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3550                   "RANLIB=$${RANLIB}" \
3551                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3552                   html) \
3553           || exit 1
3554
3555 @endif bash
3556
3557 .PHONY: maybe-TAGS-bash TAGS-bash
3558 maybe-TAGS-bash:
3559 @if bash
3560 maybe-TAGS-bash: TAGS-bash
3561
3562 TAGS-bash: \
3563     configure-bash 
3564         @[ -f ./bash/Makefile ] || exit 0; \
3565         r=`${PWD_COMMAND}`; export r; \
3566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567         $(HOST_EXPORTS) \
3568         for flag in $(EXTRA_HOST_FLAGS) ; do \
3569           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3570         done; \
3571         echo "Doing TAGS in bash" ; \
3572         (cd $(HOST_SUBDIR)/bash && \
3573           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3574                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3575                   "RANLIB=$${RANLIB}" \
3576                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3577                   TAGS) \
3578           || exit 1
3579
3580 @endif bash
3581
3582 .PHONY: maybe-install-info-bash install-info-bash
3583 maybe-install-info-bash:
3584 @if bash
3585 maybe-install-info-bash: install-info-bash
3586
3587 install-info-bash: \
3588     configure-bash \
3589     info-bash 
3590         @[ -f ./bash/Makefile ] || exit 0; \
3591         r=`${PWD_COMMAND}`; export r; \
3592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3593         $(HOST_EXPORTS) \
3594         for flag in $(EXTRA_HOST_FLAGS) ; do \
3595           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3596         done; \
3597         echo "Doing install-info in bash" ; \
3598         (cd $(HOST_SUBDIR)/bash && \
3599           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3600                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3601                   "RANLIB=$${RANLIB}" \
3602                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3603                   install-info) \
3604           || exit 1
3605
3606 @endif bash
3607
3608 .PHONY: maybe-installcheck-bash installcheck-bash
3609 maybe-installcheck-bash:
3610 @if bash
3611 maybe-installcheck-bash: installcheck-bash
3612
3613 installcheck-bash: \
3614     configure-bash 
3615         @[ -f ./bash/Makefile ] || exit 0; \
3616         r=`${PWD_COMMAND}`; export r; \
3617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3618         $(HOST_EXPORTS) \
3619         for flag in $(EXTRA_HOST_FLAGS) ; do \
3620           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3621         done; \
3622         echo "Doing installcheck in bash" ; \
3623         (cd $(HOST_SUBDIR)/bash && \
3624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3626                   "RANLIB=$${RANLIB}" \
3627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3628                   installcheck) \
3629           || exit 1
3630
3631 @endif bash
3632
3633 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3634 maybe-mostlyclean-bash:
3635 @if bash
3636 maybe-mostlyclean-bash: mostlyclean-bash
3637
3638 mostlyclean-bash: 
3639         @[ -f ./bash/Makefile ] || exit 0; \
3640         r=`${PWD_COMMAND}`; export r; \
3641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3642         $(HOST_EXPORTS) \
3643         for flag in $(EXTRA_HOST_FLAGS) ; do \
3644           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3645         done; \
3646         echo "Doing mostlyclean in bash" ; \
3647         (cd $(HOST_SUBDIR)/bash && \
3648           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3649                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3650                   "RANLIB=$${RANLIB}" \
3651                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3652                   mostlyclean) \
3653           || exit 1
3654
3655 @endif bash
3656
3657 .PHONY: maybe-clean-bash clean-bash
3658 maybe-clean-bash:
3659 @if bash
3660 maybe-clean-bash: clean-bash
3661
3662 clean-bash: 
3663         @[ -f ./bash/Makefile ] || exit 0; \
3664         r=`${PWD_COMMAND}`; export r; \
3665         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666         $(HOST_EXPORTS) \
3667         for flag in $(EXTRA_HOST_FLAGS) ; do \
3668           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3669         done; \
3670         echo "Doing clean in bash" ; \
3671         (cd $(HOST_SUBDIR)/bash && \
3672           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3673                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3674                   "RANLIB=$${RANLIB}" \
3675                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3676                   clean) \
3677           || exit 1
3678
3679 @endif bash
3680
3681 .PHONY: maybe-distclean-bash distclean-bash
3682 maybe-distclean-bash:
3683 @if bash
3684 maybe-distclean-bash: distclean-bash
3685
3686 distclean-bash: 
3687         @[ -f ./bash/Makefile ] || exit 0; \
3688         r=`${PWD_COMMAND}`; export r; \
3689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3690         $(HOST_EXPORTS) \
3691         for flag in $(EXTRA_HOST_FLAGS) ; do \
3692           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3693         done; \
3694         echo "Doing distclean in bash" ; \
3695         (cd $(HOST_SUBDIR)/bash && \
3696           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3697                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3698                   "RANLIB=$${RANLIB}" \
3699                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3700                   distclean) \
3701           || exit 1
3702
3703 @endif bash
3704
3705 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3706 maybe-maintainer-clean-bash:
3707 @if bash
3708 maybe-maintainer-clean-bash: maintainer-clean-bash
3709
3710 maintainer-clean-bash: 
3711         @[ -f ./bash/Makefile ] || exit 0; \
3712         r=`${PWD_COMMAND}`; export r; \
3713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714         $(HOST_EXPORTS) \
3715         for flag in $(EXTRA_HOST_FLAGS) ; do \
3716           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3717         done; \
3718         echo "Doing maintainer-clean in bash" ; \
3719         (cd $(HOST_SUBDIR)/bash && \
3720           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3721                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3722                   "RANLIB=$${RANLIB}" \
3723                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3724                   maintainer-clean) \
3725           || exit 1
3726
3727 @endif bash
3728
3729
3730 .PHONY: configure-bfd maybe-configure-bfd
3731 maybe-configure-bfd:
3732 @if bfd
3733 maybe-configure-bfd: configure-bfd
3734 configure-bfd:
3735         @test -f stage_last && exit 0; \
3736         test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3737         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3738         r=`${PWD_COMMAND}`; export r; \
3739         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3740         $(HOST_EXPORTS) \
3741         echo Configuring in bfd; \
3742         cd $(HOST_SUBDIR)/bfd || exit 1; \
3743         case $(srcdir) in \
3744           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3745           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3746                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3747         esac; \
3748         srcdiroption="--srcdir=$${topdir}/bfd"; \
3749         libsrcdir="$$s/bfd"; \
3750         $(SHELL) $${libsrcdir}/configure \
3751           $(HOST_CONFIGARGS) $${srcdiroption}  \
3752           || exit 1
3753 @endif bfd
3754
3755 .PHONY: all-bfd maybe-all-bfd
3756 maybe-all-bfd:
3757 @if bfd
3758 TARGET-bfd=all
3759 maybe-all-bfd: all-bfd
3760 all-bfd: configure-bfd
3761         @test -f stage_last && exit 0; \
3762         r=`${PWD_COMMAND}`; export r; \
3763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764         $(HOST_EXPORTS) \
3765         (cd $(HOST_SUBDIR)/bfd && \
3766           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-bfd))
3767 @endif bfd
3768
3769 .PHONY: check-bfd maybe-check-bfd
3770 maybe-check-bfd:
3771 @if bfd
3772 maybe-check-bfd: check-bfd
3773
3774 check-bfd:
3775         @r=`${PWD_COMMAND}`; export r; \
3776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3777         $(HOST_EXPORTS) \
3778         (cd $(HOST_SUBDIR)/bfd && \
3779           $(MAKE) $(FLAGS_TO_PASS)  check)
3780
3781 @endif bfd
3782
3783 .PHONY: install-bfd maybe-install-bfd
3784 maybe-install-bfd:
3785 @if bfd
3786 maybe-install-bfd: install-bfd
3787
3788 install-bfd: installdirs
3789         @r=`${PWD_COMMAND}`; export r; \
3790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3791         $(HOST_EXPORTS) \
3792         (cd $(HOST_SUBDIR)/bfd && \
3793           $(MAKE) $(FLAGS_TO_PASS)  install)
3794
3795 @endif bfd
3796
3797 # Other targets (info, dvi, etc.)
3798
3799 .PHONY: maybe-info-bfd info-bfd
3800 maybe-info-bfd:
3801 @if bfd
3802 maybe-info-bfd: info-bfd
3803
3804 info-bfd: \
3805     configure-bfd 
3806         @[ -f ./bfd/Makefile ] || exit 0; \
3807         r=`${PWD_COMMAND}`; export r; \
3808         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3809         $(HOST_EXPORTS) \
3810         for flag in $(EXTRA_HOST_FLAGS) ; do \
3811           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3812         done; \
3813         echo "Doing info in bfd" ; \
3814         (cd $(HOST_SUBDIR)/bfd && \
3815           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3816                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3817                   "RANLIB=$${RANLIB}" \
3818                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3819                   info) \
3820           || exit 1
3821
3822 @endif bfd
3823
3824 .PHONY: maybe-dvi-bfd dvi-bfd
3825 maybe-dvi-bfd:
3826 @if bfd
3827 maybe-dvi-bfd: dvi-bfd
3828
3829 dvi-bfd: \
3830     configure-bfd 
3831         @[ -f ./bfd/Makefile ] || exit 0; \
3832         r=`${PWD_COMMAND}`; export r; \
3833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3834         $(HOST_EXPORTS) \
3835         for flag in $(EXTRA_HOST_FLAGS) ; do \
3836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3837         done; \
3838         echo "Doing dvi in bfd" ; \
3839         (cd $(HOST_SUBDIR)/bfd && \
3840           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3841                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3842                   "RANLIB=$${RANLIB}" \
3843                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3844                   dvi) \
3845           || exit 1
3846
3847 @endif bfd
3848
3849 .PHONY: maybe-html-bfd html-bfd
3850 maybe-html-bfd:
3851 @if bfd
3852 maybe-html-bfd: html-bfd
3853
3854 html-bfd: \
3855     configure-bfd 
3856         @[ -f ./bfd/Makefile ] || exit 0; \
3857         r=`${PWD_COMMAND}`; export r; \
3858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3859         $(HOST_EXPORTS) \
3860         for flag in $(EXTRA_HOST_FLAGS) ; do \
3861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3862         done; \
3863         echo "Doing html in bfd" ; \
3864         (cd $(HOST_SUBDIR)/bfd && \
3865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3867                   "RANLIB=$${RANLIB}" \
3868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3869                   html) \
3870           || exit 1
3871
3872 @endif bfd
3873
3874 .PHONY: maybe-TAGS-bfd TAGS-bfd
3875 maybe-TAGS-bfd:
3876 @if bfd
3877 maybe-TAGS-bfd: TAGS-bfd
3878
3879 TAGS-bfd: \
3880     configure-bfd 
3881         @[ -f ./bfd/Makefile ] || exit 0; \
3882         r=`${PWD_COMMAND}`; export r; \
3883         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3884         $(HOST_EXPORTS) \
3885         for flag in $(EXTRA_HOST_FLAGS) ; do \
3886           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3887         done; \
3888         echo "Doing TAGS in bfd" ; \
3889         (cd $(HOST_SUBDIR)/bfd && \
3890           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3891                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3892                   "RANLIB=$${RANLIB}" \
3893                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3894                   TAGS) \
3895           || exit 1
3896
3897 @endif bfd
3898
3899 .PHONY: maybe-install-info-bfd install-info-bfd
3900 maybe-install-info-bfd:
3901 @if bfd
3902 maybe-install-info-bfd: install-info-bfd
3903
3904 install-info-bfd: \
3905     configure-bfd \
3906     info-bfd 
3907         @[ -f ./bfd/Makefile ] || exit 0; \
3908         r=`${PWD_COMMAND}`; export r; \
3909         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910         $(HOST_EXPORTS) \
3911         for flag in $(EXTRA_HOST_FLAGS) ; do \
3912           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3913         done; \
3914         echo "Doing install-info in bfd" ; \
3915         (cd $(HOST_SUBDIR)/bfd && \
3916           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3917                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3918                   "RANLIB=$${RANLIB}" \
3919                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3920                   install-info) \
3921           || exit 1
3922
3923 @endif bfd
3924
3925 .PHONY: maybe-installcheck-bfd installcheck-bfd
3926 maybe-installcheck-bfd:
3927 @if bfd
3928 maybe-installcheck-bfd: installcheck-bfd
3929
3930 installcheck-bfd: \
3931     configure-bfd 
3932         @[ -f ./bfd/Makefile ] || exit 0; \
3933         r=`${PWD_COMMAND}`; export r; \
3934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935         $(HOST_EXPORTS) \
3936         for flag in $(EXTRA_HOST_FLAGS) ; do \
3937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3938         done; \
3939         echo "Doing installcheck in bfd" ; \
3940         (cd $(HOST_SUBDIR)/bfd && \
3941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3943                   "RANLIB=$${RANLIB}" \
3944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3945                   installcheck) \
3946           || exit 1
3947
3948 @endif bfd
3949
3950 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3951 maybe-mostlyclean-bfd:
3952 @if bfd
3953 maybe-mostlyclean-bfd: mostlyclean-bfd
3954
3955 mostlyclean-bfd: 
3956         @[ -f ./bfd/Makefile ] || exit 0; \
3957         r=`${PWD_COMMAND}`; export r; \
3958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3959         $(HOST_EXPORTS) \
3960         for flag in $(EXTRA_HOST_FLAGS) ; do \
3961           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3962         done; \
3963         echo "Doing mostlyclean in bfd" ; \
3964         (cd $(HOST_SUBDIR)/bfd && \
3965           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3966                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3967                   "RANLIB=$${RANLIB}" \
3968                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3969                   mostlyclean) \
3970           || exit 1
3971
3972 @endif bfd
3973
3974 .PHONY: maybe-clean-bfd clean-bfd
3975 maybe-clean-bfd:
3976 @if bfd
3977 maybe-clean-bfd: clean-bfd
3978
3979 clean-bfd: 
3980         @[ -f ./bfd/Makefile ] || exit 0; \
3981         r=`${PWD_COMMAND}`; export r; \
3982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3983         $(HOST_EXPORTS) \
3984         for flag in $(EXTRA_HOST_FLAGS) ; do \
3985           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3986         done; \
3987         echo "Doing clean in bfd" ; \
3988         (cd $(HOST_SUBDIR)/bfd && \
3989           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3990                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3991                   "RANLIB=$${RANLIB}" \
3992                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3993                   clean) \
3994           || exit 1
3995
3996 @endif bfd
3997
3998 .PHONY: maybe-distclean-bfd distclean-bfd
3999 maybe-distclean-bfd:
4000 @if bfd
4001 maybe-distclean-bfd: distclean-bfd
4002
4003 distclean-bfd: 
4004         @[ -f ./bfd/Makefile ] || exit 0; \
4005         r=`${PWD_COMMAND}`; export r; \
4006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4007         $(HOST_EXPORTS) \
4008         for flag in $(EXTRA_HOST_FLAGS) ; do \
4009           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4010         done; \
4011         echo "Doing distclean in bfd" ; \
4012         (cd $(HOST_SUBDIR)/bfd && \
4013           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4014                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4015                   "RANLIB=$${RANLIB}" \
4016                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4017                   distclean) \
4018           || exit 1
4019
4020 @endif bfd
4021
4022 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4023 maybe-maintainer-clean-bfd:
4024 @if bfd
4025 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4026
4027 maintainer-clean-bfd: 
4028         @[ -f ./bfd/Makefile ] || exit 0; \
4029         r=`${PWD_COMMAND}`; export r; \
4030         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4031         $(HOST_EXPORTS) \
4032         for flag in $(EXTRA_HOST_FLAGS) ; do \
4033           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4034         done; \
4035         echo "Doing maintainer-clean in bfd" ; \
4036         (cd $(HOST_SUBDIR)/bfd && \
4037           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4038                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4039                   "RANLIB=$${RANLIB}" \
4040                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4041                   maintainer-clean) \
4042           || exit 1
4043
4044 @endif bfd
4045
4046
4047 .PHONY: configure-opcodes maybe-configure-opcodes
4048 maybe-configure-opcodes:
4049 @if opcodes
4050 maybe-configure-opcodes: configure-opcodes
4051 configure-opcodes:
4052         @test -f stage_last && exit 0; \
4053         test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4054         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4055         r=`${PWD_COMMAND}`; export r; \
4056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4057         $(HOST_EXPORTS) \
4058         echo Configuring in opcodes; \
4059         cd $(HOST_SUBDIR)/opcodes || exit 1; \
4060         case $(srcdir) in \
4061           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4062           *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4063                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4064         esac; \
4065         srcdiroption="--srcdir=$${topdir}/opcodes"; \
4066         libsrcdir="$$s/opcodes"; \
4067         $(SHELL) $${libsrcdir}/configure \
4068           $(HOST_CONFIGARGS) $${srcdiroption}  \
4069           || exit 1
4070 @endif opcodes
4071
4072 .PHONY: all-opcodes maybe-all-opcodes
4073 maybe-all-opcodes:
4074 @if opcodes
4075 TARGET-opcodes=all
4076 maybe-all-opcodes: all-opcodes
4077 all-opcodes: configure-opcodes
4078         @test -f stage_last && exit 0; \
4079         r=`${PWD_COMMAND}`; export r; \
4080         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4081         $(HOST_EXPORTS) \
4082         (cd $(HOST_SUBDIR)/opcodes && \
4083           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-opcodes))
4084 @endif opcodes
4085
4086 .PHONY: check-opcodes maybe-check-opcodes
4087 maybe-check-opcodes:
4088 @if opcodes
4089 maybe-check-opcodes: check-opcodes
4090
4091 check-opcodes:
4092         @r=`${PWD_COMMAND}`; export r; \
4093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4094         $(HOST_EXPORTS) \
4095         (cd $(HOST_SUBDIR)/opcodes && \
4096           $(MAKE) $(FLAGS_TO_PASS)  check)
4097
4098 @endif opcodes
4099
4100 .PHONY: install-opcodes maybe-install-opcodes
4101 maybe-install-opcodes:
4102 @if opcodes
4103 maybe-install-opcodes: install-opcodes
4104
4105 install-opcodes: installdirs
4106         @r=`${PWD_COMMAND}`; export r; \
4107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4108         $(HOST_EXPORTS) \
4109         (cd $(HOST_SUBDIR)/opcodes && \
4110           $(MAKE) $(FLAGS_TO_PASS)  install)
4111
4112 @endif opcodes
4113
4114 # Other targets (info, dvi, etc.)
4115
4116 .PHONY: maybe-info-opcodes info-opcodes
4117 maybe-info-opcodes:
4118 @if opcodes
4119 maybe-info-opcodes: info-opcodes
4120
4121 info-opcodes: \
4122     configure-opcodes 
4123         @[ -f ./opcodes/Makefile ] || exit 0; \
4124         r=`${PWD_COMMAND}`; export r; \
4125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4126         $(HOST_EXPORTS) \
4127         for flag in $(EXTRA_HOST_FLAGS) ; do \
4128           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4129         done; \
4130         echo "Doing info in opcodes" ; \
4131         (cd $(HOST_SUBDIR)/opcodes && \
4132           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4133                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4134                   "RANLIB=$${RANLIB}" \
4135                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4136                   info) \
4137           || exit 1
4138
4139 @endif opcodes
4140
4141 .PHONY: maybe-dvi-opcodes dvi-opcodes
4142 maybe-dvi-opcodes:
4143 @if opcodes
4144 maybe-dvi-opcodes: dvi-opcodes
4145
4146 dvi-opcodes: \
4147     configure-opcodes 
4148         @[ -f ./opcodes/Makefile ] || exit 0; \
4149         r=`${PWD_COMMAND}`; export r; \
4150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4151         $(HOST_EXPORTS) \
4152         for flag in $(EXTRA_HOST_FLAGS) ; do \
4153           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4154         done; \
4155         echo "Doing dvi in opcodes" ; \
4156         (cd $(HOST_SUBDIR)/opcodes && \
4157           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4158                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4159                   "RANLIB=$${RANLIB}" \
4160                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4161                   dvi) \
4162           || exit 1
4163
4164 @endif opcodes
4165
4166 .PHONY: maybe-html-opcodes html-opcodes
4167 maybe-html-opcodes:
4168 @if opcodes
4169 maybe-html-opcodes: html-opcodes
4170
4171 html-opcodes: \
4172     configure-opcodes 
4173         @[ -f ./opcodes/Makefile ] || exit 0; \
4174         r=`${PWD_COMMAND}`; export r; \
4175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4176         $(HOST_EXPORTS) \
4177         for flag in $(EXTRA_HOST_FLAGS) ; do \
4178           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4179         done; \
4180         echo "Doing html in opcodes" ; \
4181         (cd $(HOST_SUBDIR)/opcodes && \
4182           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4183                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4184                   "RANLIB=$${RANLIB}" \
4185                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4186                   html) \
4187           || exit 1
4188
4189 @endif opcodes
4190
4191 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4192 maybe-TAGS-opcodes:
4193 @if opcodes
4194 maybe-TAGS-opcodes: TAGS-opcodes
4195
4196 TAGS-opcodes: \
4197     configure-opcodes 
4198         @[ -f ./opcodes/Makefile ] || exit 0; \
4199         r=`${PWD_COMMAND}`; export r; \
4200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 TAGS in opcodes" ; \
4206         (cd $(HOST_SUBDIR)/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                   TAGS) \
4212           || exit 1
4213
4214 @endif opcodes
4215
4216 .PHONY: maybe-install-info-opcodes install-info-opcodes
4217 maybe-install-info-opcodes:
4218 @if opcodes
4219 maybe-install-info-opcodes: install-info-opcodes
4220
4221 install-info-opcodes: \
4222     configure-opcodes \
4223     info-opcodes 
4224         @[ -f ./opcodes/Makefile ] || exit 0; \
4225         r=`${PWD_COMMAND}`; export r; \
4226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in opcodes" ; \
4232         (cd $(HOST_SUBDIR)/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                   install-info) \
4238           || exit 1
4239
4240 @endif opcodes
4241
4242 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4243 maybe-installcheck-opcodes:
4244 @if opcodes
4245 maybe-installcheck-opcodes: installcheck-opcodes
4246
4247 installcheck-opcodes: \
4248     configure-opcodes 
4249         @[ -f ./opcodes/Makefile ] || exit 0; \
4250         r=`${PWD_COMMAND}`; export r; \
4251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 installcheck in opcodes" ; \
4257         (cd $(HOST_SUBDIR)/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                   installcheck) \
4263           || exit 1
4264
4265 @endif opcodes
4266
4267 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4268 maybe-mostlyclean-opcodes:
4269 @if opcodes
4270 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4271
4272 mostlyclean-opcodes: 
4273         @[ -f ./opcodes/Makefile ] || exit 0; \
4274         r=`${PWD_COMMAND}`; export r; \
4275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4276         $(HOST_EXPORTS) \
4277         for flag in $(EXTRA_HOST_FLAGS) ; do \
4278           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4279         done; \
4280         echo "Doing mostlyclean in opcodes" ; \
4281         (cd $(HOST_SUBDIR)/opcodes && \
4282           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4283                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4284                   "RANLIB=$${RANLIB}" \
4285                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4286                   mostlyclean) \
4287           || exit 1
4288
4289 @endif opcodes
4290
4291 .PHONY: maybe-clean-opcodes clean-opcodes
4292 maybe-clean-opcodes:
4293 @if opcodes
4294 maybe-clean-opcodes: clean-opcodes
4295
4296 clean-opcodes: 
4297         @[ -f ./opcodes/Makefile ] || exit 0; \
4298         r=`${PWD_COMMAND}`; export r; \
4299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4300         $(HOST_EXPORTS) \
4301         for flag in $(EXTRA_HOST_FLAGS) ; do \
4302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4303         done; \
4304         echo "Doing clean in opcodes" ; \
4305         (cd $(HOST_SUBDIR)/opcodes && \
4306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4308                   "RANLIB=$${RANLIB}" \
4309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4310                   clean) \
4311           || exit 1
4312
4313 @endif opcodes
4314
4315 .PHONY: maybe-distclean-opcodes distclean-opcodes
4316 maybe-distclean-opcodes:
4317 @if opcodes
4318 maybe-distclean-opcodes: distclean-opcodes
4319
4320 distclean-opcodes: 
4321         @[ -f ./opcodes/Makefile ] || exit 0; \
4322         r=`${PWD_COMMAND}`; export r; \
4323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324         $(HOST_EXPORTS) \
4325         for flag in $(EXTRA_HOST_FLAGS) ; do \
4326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4327         done; \
4328         echo "Doing distclean in opcodes" ; \
4329         (cd $(HOST_SUBDIR)/opcodes && \
4330           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4331                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4332                   "RANLIB=$${RANLIB}" \
4333                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4334                   distclean) \
4335           || exit 1
4336
4337 @endif opcodes
4338
4339 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4340 maybe-maintainer-clean-opcodes:
4341 @if opcodes
4342 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4343
4344 maintainer-clean-opcodes: 
4345         @[ -f ./opcodes/Makefile ] || exit 0; \
4346         r=`${PWD_COMMAND}`; export r; \
4347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4348         $(HOST_EXPORTS) \
4349         for flag in $(EXTRA_HOST_FLAGS) ; do \
4350           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4351         done; \
4352         echo "Doing maintainer-clean in opcodes" ; \
4353         (cd $(HOST_SUBDIR)/opcodes && \
4354           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4355                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4356                   "RANLIB=$${RANLIB}" \
4357                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4358                   maintainer-clean) \
4359           || exit 1
4360
4361 @endif opcodes
4362
4363
4364 .PHONY: configure-binutils maybe-configure-binutils
4365 maybe-configure-binutils:
4366 @if binutils
4367 maybe-configure-binutils: configure-binutils
4368 configure-binutils:
4369         @test -f stage_last && exit 0; \
4370         test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4371         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4372         r=`${PWD_COMMAND}`; export r; \
4373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4374         $(HOST_EXPORTS) \
4375         echo Configuring in binutils; \
4376         cd $(HOST_SUBDIR)/binutils || exit 1; \
4377         case $(srcdir) in \
4378           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4379           *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4380                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4381         esac; \
4382         srcdiroption="--srcdir=$${topdir}/binutils"; \
4383         libsrcdir="$$s/binutils"; \
4384         $(SHELL) $${libsrcdir}/configure \
4385           $(HOST_CONFIGARGS) $${srcdiroption}  \
4386           || exit 1
4387 @endif binutils
4388
4389 .PHONY: all-binutils maybe-all-binutils
4390 maybe-all-binutils:
4391 @if binutils
4392 TARGET-binutils=all
4393 maybe-all-binutils: all-binutils
4394 all-binutils: configure-binutils
4395         @test -f stage_last && exit 0; \
4396         r=`${PWD_COMMAND}`; export r; \
4397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4398         $(HOST_EXPORTS) \
4399         (cd $(HOST_SUBDIR)/binutils && \
4400           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-binutils))
4401 @endif binutils
4402
4403 .PHONY: check-binutils maybe-check-binutils
4404 maybe-check-binutils:
4405 @if binutils
4406 maybe-check-binutils: check-binutils
4407
4408 check-binutils:
4409         @r=`${PWD_COMMAND}`; export r; \
4410         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4411         $(HOST_EXPORTS) \
4412         (cd $(HOST_SUBDIR)/binutils && \
4413           $(MAKE) $(FLAGS_TO_PASS)  check)
4414
4415 @endif binutils
4416
4417 .PHONY: install-binutils maybe-install-binutils
4418 maybe-install-binutils:
4419 @if binutils
4420 maybe-install-binutils: install-binutils
4421
4422 install-binutils: installdirs
4423         @r=`${PWD_COMMAND}`; export r; \
4424         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425         $(HOST_EXPORTS) \
4426         (cd $(HOST_SUBDIR)/binutils && \
4427           $(MAKE) $(FLAGS_TO_PASS)  install)
4428
4429 @endif binutils
4430
4431 # Other targets (info, dvi, etc.)
4432
4433 .PHONY: maybe-info-binutils info-binutils
4434 maybe-info-binutils:
4435 @if binutils
4436 maybe-info-binutils: info-binutils
4437
4438 info-binutils: \
4439     configure-binutils 
4440         @[ -f ./binutils/Makefile ] || exit 0; \
4441         r=`${PWD_COMMAND}`; export r; \
4442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4443         $(HOST_EXPORTS) \
4444         for flag in $(EXTRA_HOST_FLAGS) ; do \
4445           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4446         done; \
4447         echo "Doing info in binutils" ; \
4448         (cd $(HOST_SUBDIR)/binutils && \
4449           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4450                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4451                   "RANLIB=$${RANLIB}" \
4452                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4453                   info) \
4454           || exit 1
4455
4456 @endif binutils
4457
4458 .PHONY: maybe-dvi-binutils dvi-binutils
4459 maybe-dvi-binutils:
4460 @if binutils
4461 maybe-dvi-binutils: dvi-binutils
4462
4463 dvi-binutils: \
4464     configure-binutils 
4465         @[ -f ./binutils/Makefile ] || exit 0; \
4466         r=`${PWD_COMMAND}`; export r; \
4467         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4468         $(HOST_EXPORTS) \
4469         for flag in $(EXTRA_HOST_FLAGS) ; do \
4470           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4471         done; \
4472         echo "Doing dvi in binutils" ; \
4473         (cd $(HOST_SUBDIR)/binutils && \
4474           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476                   "RANLIB=$${RANLIB}" \
4477                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4478                   dvi) \
4479           || exit 1
4480
4481 @endif binutils
4482
4483 .PHONY: maybe-html-binutils html-binutils
4484 maybe-html-binutils:
4485 @if binutils
4486 maybe-html-binutils: html-binutils
4487
4488 html-binutils: \
4489     configure-binutils 
4490         @[ -f ./binutils/Makefile ] || exit 0; \
4491         r=`${PWD_COMMAND}`; export r; \
4492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493         $(HOST_EXPORTS) \
4494         for flag in $(EXTRA_HOST_FLAGS) ; do \
4495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496         done; \
4497         echo "Doing html in binutils" ; \
4498         (cd $(HOST_SUBDIR)/binutils && \
4499           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501                   "RANLIB=$${RANLIB}" \
4502                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4503                   html) \
4504           || exit 1
4505
4506 @endif binutils
4507
4508 .PHONY: maybe-TAGS-binutils TAGS-binutils
4509 maybe-TAGS-binutils:
4510 @if binutils
4511 maybe-TAGS-binutils: TAGS-binutils
4512
4513 TAGS-binutils: \
4514     configure-binutils 
4515         @[ -f ./binutils/Makefile ] || exit 0; \
4516         r=`${PWD_COMMAND}`; export r; \
4517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4518         $(HOST_EXPORTS) \
4519         for flag in $(EXTRA_HOST_FLAGS) ; do \
4520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4521         done; \
4522         echo "Doing TAGS in binutils" ; \
4523         (cd $(HOST_SUBDIR)/binutils && \
4524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4526                   "RANLIB=$${RANLIB}" \
4527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4528                   TAGS) \
4529           || exit 1
4530
4531 @endif binutils
4532
4533 .PHONY: maybe-install-info-binutils install-info-binutils
4534 maybe-install-info-binutils:
4535 @if binutils
4536 maybe-install-info-binutils: install-info-binutils
4537
4538 install-info-binutils: \
4539     configure-binutils \
4540     info-binutils 
4541         @[ -f ./binutils/Makefile ] || exit 0; \
4542         r=`${PWD_COMMAND}`; export r; \
4543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544         $(HOST_EXPORTS) \
4545         for flag in $(EXTRA_HOST_FLAGS) ; do \
4546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4547         done; \
4548         echo "Doing install-info in binutils" ; \
4549         (cd $(HOST_SUBDIR)/binutils && \
4550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4552                   "RANLIB=$${RANLIB}" \
4553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4554                   install-info) \
4555           || exit 1
4556
4557 @endif binutils
4558
4559 .PHONY: maybe-installcheck-binutils installcheck-binutils
4560 maybe-installcheck-binutils:
4561 @if binutils
4562 maybe-installcheck-binutils: installcheck-binutils
4563
4564 installcheck-binutils: \
4565     configure-binutils 
4566         @[ -f ./binutils/Makefile ] || exit 0; \
4567         r=`${PWD_COMMAND}`; export r; \
4568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569         $(HOST_EXPORTS) \
4570         for flag in $(EXTRA_HOST_FLAGS) ; do \
4571           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4572         done; \
4573         echo "Doing installcheck in binutils" ; \
4574         (cd $(HOST_SUBDIR)/binutils && \
4575           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4576                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4577                   "RANLIB=$${RANLIB}" \
4578                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4579                   installcheck) \
4580           || exit 1
4581
4582 @endif binutils
4583
4584 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4585 maybe-mostlyclean-binutils:
4586 @if binutils
4587 maybe-mostlyclean-binutils: mostlyclean-binutils
4588
4589 mostlyclean-binutils: 
4590         @[ -f ./binutils/Makefile ] || exit 0; \
4591         r=`${PWD_COMMAND}`; export r; \
4592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4593         $(HOST_EXPORTS) \
4594         for flag in $(EXTRA_HOST_FLAGS) ; do \
4595           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4596         done; \
4597         echo "Doing mostlyclean in binutils" ; \
4598         (cd $(HOST_SUBDIR)/binutils && \
4599           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4600                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4601                   "RANLIB=$${RANLIB}" \
4602                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4603                   mostlyclean) \
4604           || exit 1
4605
4606 @endif binutils
4607
4608 .PHONY: maybe-clean-binutils clean-binutils
4609 maybe-clean-binutils:
4610 @if binutils
4611 maybe-clean-binutils: clean-binutils
4612
4613 clean-binutils: 
4614         @[ -f ./binutils/Makefile ] || exit 0; \
4615         r=`${PWD_COMMAND}`; export r; \
4616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4617         $(HOST_EXPORTS) \
4618         for flag in $(EXTRA_HOST_FLAGS) ; do \
4619           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4620         done; \
4621         echo "Doing clean in binutils" ; \
4622         (cd $(HOST_SUBDIR)/binutils && \
4623           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4624                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4625                   "RANLIB=$${RANLIB}" \
4626                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4627                   clean) \
4628           || exit 1
4629
4630 @endif binutils
4631
4632 .PHONY: maybe-distclean-binutils distclean-binutils
4633 maybe-distclean-binutils:
4634 @if binutils
4635 maybe-distclean-binutils: distclean-binutils
4636
4637 distclean-binutils: 
4638         @[ -f ./binutils/Makefile ] || exit 0; \
4639         r=`${PWD_COMMAND}`; export r; \
4640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4641         $(HOST_EXPORTS) \
4642         for flag in $(EXTRA_HOST_FLAGS) ; do \
4643           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4644         done; \
4645         echo "Doing distclean in binutils" ; \
4646         (cd $(HOST_SUBDIR)/binutils && \
4647           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4648                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4649                   "RANLIB=$${RANLIB}" \
4650                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4651                   distclean) \
4652           || exit 1
4653
4654 @endif binutils
4655
4656 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4657 maybe-maintainer-clean-binutils:
4658 @if binutils
4659 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4660
4661 maintainer-clean-binutils: 
4662         @[ -f ./binutils/Makefile ] || exit 0; \
4663         r=`${PWD_COMMAND}`; export r; \
4664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4665         $(HOST_EXPORTS) \
4666         for flag in $(EXTRA_HOST_FLAGS) ; do \
4667           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4668         done; \
4669         echo "Doing maintainer-clean in binutils" ; \
4670         (cd $(HOST_SUBDIR)/binutils && \
4671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4673                   "RANLIB=$${RANLIB}" \
4674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4675                   maintainer-clean) \
4676           || exit 1
4677
4678 @endif binutils
4679
4680
4681 .PHONY: configure-bison maybe-configure-bison
4682 maybe-configure-bison:
4683 @if bison
4684 maybe-configure-bison: configure-bison
4685 configure-bison:
4686         @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
4687         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
4688         r=`${PWD_COMMAND}`; export r; \
4689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4690         $(HOST_EXPORTS) \
4691         echo Configuring in bison; \
4692         cd $(HOST_SUBDIR)/bison || exit 1; \
4693         case $(srcdir) in \
4694           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4695           *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
4696                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4697         esac; \
4698         srcdiroption="--srcdir=$${topdir}/bison"; \
4699         libsrcdir="$$s/bison"; \
4700         $(SHELL) $${libsrcdir}/configure \
4701           $(HOST_CONFIGARGS) $${srcdiroption}  \
4702           || exit 1
4703 @endif bison
4704
4705 .PHONY: all-bison maybe-all-bison
4706 maybe-all-bison:
4707 @if bison
4708 TARGET-bison=all
4709 maybe-all-bison: all-bison
4710 all-bison: configure-bison
4711         @r=`${PWD_COMMAND}`; export r; \
4712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713         $(HOST_EXPORTS) \
4714         (cd $(HOST_SUBDIR)/bison && \
4715           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-bison))
4716 @endif bison
4717
4718 .PHONY: check-bison maybe-check-bison
4719 maybe-check-bison:
4720 @if bison
4721 maybe-check-bison: check-bison
4722
4723 # This module is only tested in a native toolchain.
4724 check-bison:
4725         @if [ '$(host)' = '$(target)' ] ; then \
4726           r=`${PWD_COMMAND}`; export r; \
4727           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4728           $(HOST_EXPORTS) \
4729           (cd $(HOST_SUBDIR)/bison && \
4730             $(MAKE) $(FLAGS_TO_PASS)  check); \
4731         fi
4732
4733 @endif bison
4734
4735 .PHONY: install-bison maybe-install-bison
4736 maybe-install-bison:
4737 @if bison
4738 maybe-install-bison: install-bison
4739
4740 install-bison: installdirs
4741         @r=`${PWD_COMMAND}`; export r; \
4742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4743         $(HOST_EXPORTS) \
4744         (cd $(HOST_SUBDIR)/bison && \
4745           $(MAKE) $(FLAGS_TO_PASS)  install)
4746
4747 @endif bison
4748
4749 # Other targets (info, dvi, etc.)
4750
4751 .PHONY: maybe-info-bison info-bison
4752 maybe-info-bison:
4753 @if bison
4754 maybe-info-bison: info-bison
4755
4756 info-bison: \
4757     configure-bison 
4758         @[ -f ./bison/Makefile ] || exit 0; \
4759         r=`${PWD_COMMAND}`; export r; \
4760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4761         $(HOST_EXPORTS) \
4762         for flag in $(EXTRA_HOST_FLAGS) ; do \
4763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4764         done; \
4765         echo "Doing info in bison" ; \
4766         (cd $(HOST_SUBDIR)/bison && \
4767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4769                   "RANLIB=$${RANLIB}" \
4770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4771                   info) \
4772           || exit 1
4773
4774 @endif bison
4775
4776 .PHONY: maybe-dvi-bison dvi-bison
4777 maybe-dvi-bison:
4778 @if bison
4779 maybe-dvi-bison: dvi-bison
4780
4781 dvi-bison: \
4782     configure-bison 
4783         @[ -f ./bison/Makefile ] || exit 0; \
4784         r=`${PWD_COMMAND}`; export r; \
4785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4786         $(HOST_EXPORTS) \
4787         for flag in $(EXTRA_HOST_FLAGS) ; do \
4788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4789         done; \
4790         echo "Doing dvi in bison" ; \
4791         (cd $(HOST_SUBDIR)/bison && \
4792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4794                   "RANLIB=$${RANLIB}" \
4795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4796                   dvi) \
4797           || exit 1
4798
4799 @endif bison
4800
4801 .PHONY: maybe-html-bison html-bison
4802 maybe-html-bison:
4803 @if bison
4804 maybe-html-bison: html-bison
4805
4806 html-bison: \
4807     configure-bison 
4808         @[ -f ./bison/Makefile ] || exit 0; \
4809         r=`${PWD_COMMAND}`; export r; \
4810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4811         $(HOST_EXPORTS) \
4812         for flag in $(EXTRA_HOST_FLAGS) ; do \
4813           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4814         done; \
4815         echo "Doing html in bison" ; \
4816         (cd $(HOST_SUBDIR)/bison && \
4817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4819                   "RANLIB=$${RANLIB}" \
4820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4821                   html) \
4822           || exit 1
4823
4824 @endif bison
4825
4826 .PHONY: maybe-TAGS-bison TAGS-bison
4827 maybe-TAGS-bison:
4828 @if bison
4829 maybe-TAGS-bison: TAGS-bison
4830
4831 TAGS-bison: \
4832     configure-bison 
4833         @[ -f ./bison/Makefile ] || exit 0; \
4834         r=`${PWD_COMMAND}`; export r; \
4835         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4836         $(HOST_EXPORTS) \
4837         for flag in $(EXTRA_HOST_FLAGS) ; do \
4838           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4839         done; \
4840         echo "Doing TAGS in bison" ; \
4841         (cd $(HOST_SUBDIR)/bison && \
4842           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4843                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4844                   "RANLIB=$${RANLIB}" \
4845                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4846                   TAGS) \
4847           || exit 1
4848
4849 @endif bison
4850
4851 .PHONY: maybe-install-info-bison install-info-bison
4852 maybe-install-info-bison:
4853 @if bison
4854 maybe-install-info-bison: install-info-bison
4855
4856 install-info-bison: \
4857     configure-bison \
4858     info-bison 
4859         @[ -f ./bison/Makefile ] || exit 0; \
4860         r=`${PWD_COMMAND}`; export r; \
4861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4862         $(HOST_EXPORTS) \
4863         for flag in $(EXTRA_HOST_FLAGS) ; do \
4864           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4865         done; \
4866         echo "Doing install-info in bison" ; \
4867         (cd $(HOST_SUBDIR)/bison && \
4868           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4869                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4870                   "RANLIB=$${RANLIB}" \
4871                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4872                   install-info) \
4873           || exit 1
4874
4875 @endif bison
4876
4877 .PHONY: maybe-installcheck-bison installcheck-bison
4878 maybe-installcheck-bison:
4879 @if bison
4880 maybe-installcheck-bison: installcheck-bison
4881
4882 installcheck-bison: \
4883     configure-bison 
4884         @[ -f ./bison/Makefile ] || exit 0; \
4885         r=`${PWD_COMMAND}`; export r; \
4886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4887         $(HOST_EXPORTS) \
4888         for flag in $(EXTRA_HOST_FLAGS) ; do \
4889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4890         done; \
4891         echo "Doing installcheck in bison" ; \
4892         (cd $(HOST_SUBDIR)/bison && \
4893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4895                   "RANLIB=$${RANLIB}" \
4896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4897                   installcheck) \
4898           || exit 1
4899
4900 @endif bison
4901
4902 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4903 maybe-mostlyclean-bison:
4904 @if bison
4905 maybe-mostlyclean-bison: mostlyclean-bison
4906
4907 mostlyclean-bison: 
4908         @[ -f ./bison/Makefile ] || exit 0; \
4909         r=`${PWD_COMMAND}`; export r; \
4910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4911         $(HOST_EXPORTS) \
4912         for flag in $(EXTRA_HOST_FLAGS) ; do \
4913           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4914         done; \
4915         echo "Doing mostlyclean in bison" ; \
4916         (cd $(HOST_SUBDIR)/bison && \
4917           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4918                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4919                   "RANLIB=$${RANLIB}" \
4920                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4921                   mostlyclean) \
4922           || exit 1
4923
4924 @endif bison
4925
4926 .PHONY: maybe-clean-bison clean-bison
4927 maybe-clean-bison:
4928 @if bison
4929 maybe-clean-bison: clean-bison
4930
4931 clean-bison: 
4932         @[ -f ./bison/Makefile ] || exit 0; \
4933         r=`${PWD_COMMAND}`; export r; \
4934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4935         $(HOST_EXPORTS) \
4936         for flag in $(EXTRA_HOST_FLAGS) ; do \
4937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4938         done; \
4939         echo "Doing clean in bison" ; \
4940         (cd $(HOST_SUBDIR)/bison && \
4941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4943                   "RANLIB=$${RANLIB}" \
4944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4945                   clean) \
4946           || exit 1
4947
4948 @endif bison
4949
4950 .PHONY: maybe-distclean-bison distclean-bison
4951 maybe-distclean-bison:
4952 @if bison
4953 maybe-distclean-bison: distclean-bison
4954
4955 distclean-bison: 
4956         @[ -f ./bison/Makefile ] || exit 0; \
4957         r=`${PWD_COMMAND}`; export r; \
4958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959         $(HOST_EXPORTS) \
4960         for flag in $(EXTRA_HOST_FLAGS) ; do \
4961           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4962         done; \
4963         echo "Doing distclean in bison" ; \
4964         (cd $(HOST_SUBDIR)/bison && \
4965           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4966                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4967                   "RANLIB=$${RANLIB}" \
4968                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4969                   distclean) \
4970           || exit 1
4971
4972 @endif bison
4973
4974 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4975 maybe-maintainer-clean-bison:
4976 @if bison
4977 maybe-maintainer-clean-bison: maintainer-clean-bison
4978
4979 maintainer-clean-bison: 
4980         @[ -f ./bison/Makefile ] || exit 0; \
4981         r=`${PWD_COMMAND}`; export r; \
4982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4983         $(HOST_EXPORTS) \
4984         for flag in $(EXTRA_HOST_FLAGS) ; do \
4985           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4986         done; \
4987         echo "Doing maintainer-clean in bison" ; \
4988         (cd $(HOST_SUBDIR)/bison && \
4989           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4990                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4991                   "RANLIB=$${RANLIB}" \
4992                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4993                   maintainer-clean) \
4994           || exit 1
4995
4996 @endif bison
4997
4998
4999 .PHONY: configure-byacc maybe-configure-byacc
5000 maybe-configure-byacc:
5001 @if byacc
5002 maybe-configure-byacc: configure-byacc
5003 configure-byacc:
5004         @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
5005         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
5006         r=`${PWD_COMMAND}`; export r; \
5007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5008         $(HOST_EXPORTS) \
5009         echo Configuring in byacc; \
5010         cd $(HOST_SUBDIR)/byacc || exit 1; \
5011         case $(srcdir) in \
5012           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5013           *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
5014                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5015         esac; \
5016         srcdiroption="--srcdir=$${topdir}/byacc"; \
5017         libsrcdir="$$s/byacc"; \
5018         $(SHELL) $${libsrcdir}/configure \
5019           $(HOST_CONFIGARGS) $${srcdiroption}  \
5020           || exit 1
5021 @endif byacc
5022
5023 .PHONY: all-byacc maybe-all-byacc
5024 maybe-all-byacc:
5025 @if byacc
5026 TARGET-byacc=all
5027 maybe-all-byacc: all-byacc
5028 all-byacc: configure-byacc
5029         @r=`${PWD_COMMAND}`; export r; \
5030         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5031         $(HOST_EXPORTS) \
5032         (cd $(HOST_SUBDIR)/byacc && \
5033           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-byacc))
5034 @endif byacc
5035
5036 .PHONY: check-byacc maybe-check-byacc
5037 maybe-check-byacc:
5038 @if byacc
5039 maybe-check-byacc: check-byacc
5040
5041 # This module is only tested in a native toolchain.
5042 check-byacc:
5043         @if [ '$(host)' = '$(target)' ] ; then \
5044           r=`${PWD_COMMAND}`; export r; \
5045           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5046           $(HOST_EXPORTS) \
5047           (cd $(HOST_SUBDIR)/byacc && \
5048             $(MAKE) $(FLAGS_TO_PASS)  check); \
5049         fi
5050
5051 @endif byacc
5052
5053 .PHONY: install-byacc maybe-install-byacc
5054 maybe-install-byacc:
5055 @if byacc
5056 maybe-install-byacc: install-byacc
5057
5058 install-byacc: installdirs
5059         @r=`${PWD_COMMAND}`; export r; \
5060         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5061         $(HOST_EXPORTS) \
5062         (cd $(HOST_SUBDIR)/byacc && \
5063           $(MAKE) $(FLAGS_TO_PASS)  install)
5064
5065 @endif byacc
5066
5067 # Other targets (info, dvi, etc.)
5068
5069 .PHONY: maybe-info-byacc info-byacc
5070 maybe-info-byacc:
5071 @if byacc
5072 maybe-info-byacc: info-byacc
5073
5074 info-byacc: \
5075     configure-byacc 
5076         @[ -f ./byacc/Makefile ] || exit 0; \
5077         r=`${PWD_COMMAND}`; export r; \
5078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5079         $(HOST_EXPORTS) \
5080         for flag in $(EXTRA_HOST_FLAGS) ; do \
5081           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5082         done; \
5083         echo "Doing info in byacc" ; \
5084         (cd $(HOST_SUBDIR)/byacc && \
5085           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087                   "RANLIB=$${RANLIB}" \
5088                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5089                   info) \
5090           || exit 1
5091
5092 @endif byacc
5093
5094 .PHONY: maybe-dvi-byacc dvi-byacc
5095 maybe-dvi-byacc:
5096 @if byacc
5097 maybe-dvi-byacc: dvi-byacc
5098
5099 dvi-byacc: \
5100     configure-byacc 
5101         @[ -f ./byacc/Makefile ] || exit 0; \
5102         r=`${PWD_COMMAND}`; export r; \
5103         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5104         $(HOST_EXPORTS) \
5105         for flag in $(EXTRA_HOST_FLAGS) ; do \
5106           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5107         done; \
5108         echo "Doing dvi in byacc" ; \
5109         (cd $(HOST_SUBDIR)/byacc && \
5110           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5111                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5112                   "RANLIB=$${RANLIB}" \
5113                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5114                   dvi) \
5115           || exit 1
5116
5117 @endif byacc
5118
5119 .PHONY: maybe-html-byacc html-byacc
5120 maybe-html-byacc:
5121 @if byacc
5122 maybe-html-byacc: html-byacc
5123
5124 html-byacc: \
5125     configure-byacc 
5126         @[ -f ./byacc/Makefile ] || exit 0; \
5127         r=`${PWD_COMMAND}`; export r; \
5128         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5129         $(HOST_EXPORTS) \
5130         for flag in $(EXTRA_HOST_FLAGS) ; do \
5131           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5132         done; \
5133         echo "Doing html in byacc" ; \
5134         (cd $(HOST_SUBDIR)/byacc && \
5135           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5136                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5137                   "RANLIB=$${RANLIB}" \
5138                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5139                   html) \
5140           || exit 1
5141
5142 @endif byacc
5143
5144 .PHONY: maybe-TAGS-byacc TAGS-byacc
5145 maybe-TAGS-byacc:
5146 @if byacc
5147 maybe-TAGS-byacc: TAGS-byacc
5148
5149 TAGS-byacc: \
5150     configure-byacc 
5151         @[ -f ./byacc/Makefile ] || exit 0; \
5152         r=`${PWD_COMMAND}`; export r; \
5153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5154         $(HOST_EXPORTS) \
5155         for flag in $(EXTRA_HOST_FLAGS) ; do \
5156           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5157         done; \
5158         echo "Doing TAGS in byacc" ; \
5159         (cd $(HOST_SUBDIR)/byacc && \
5160           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5161                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5162                   "RANLIB=$${RANLIB}" \
5163                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5164                   TAGS) \
5165           || exit 1
5166
5167 @endif byacc
5168
5169 .PHONY: maybe-install-info-byacc install-info-byacc
5170 maybe-install-info-byacc:
5171 @if byacc
5172 maybe-install-info-byacc: install-info-byacc
5173
5174 install-info-byacc: \
5175     configure-byacc \
5176     info-byacc 
5177         @[ -f ./byacc/Makefile ] || exit 0; \
5178         r=`${PWD_COMMAND}`; export r; \
5179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5180         $(HOST_EXPORTS) \
5181         for flag in $(EXTRA_HOST_FLAGS) ; do \
5182           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5183         done; \
5184         echo "Doing install-info in byacc" ; \
5185         (cd $(HOST_SUBDIR)/byacc && \
5186           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5187                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5188                   "RANLIB=$${RANLIB}" \
5189                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5190                   install-info) \
5191           || exit 1
5192
5193 @endif byacc
5194
5195 .PHONY: maybe-installcheck-byacc installcheck-byacc
5196 maybe-installcheck-byacc:
5197 @if byacc
5198 maybe-installcheck-byacc: installcheck-byacc
5199
5200 installcheck-byacc: \
5201     configure-byacc 
5202         @[ -f ./byacc/Makefile ] || exit 0; \
5203         r=`${PWD_COMMAND}`; export r; \
5204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5205         $(HOST_EXPORTS) \
5206         for flag in $(EXTRA_HOST_FLAGS) ; do \
5207           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5208         done; \
5209         echo "Doing installcheck in byacc" ; \
5210         (cd $(HOST_SUBDIR)/byacc && \
5211           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5212                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5213                   "RANLIB=$${RANLIB}" \
5214                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5215                   installcheck) \
5216           || exit 1
5217
5218 @endif byacc
5219
5220 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5221 maybe-mostlyclean-byacc:
5222 @if byacc
5223 maybe-mostlyclean-byacc: mostlyclean-byacc
5224
5225 mostlyclean-byacc: 
5226         @[ -f ./byacc/Makefile ] || exit 0; \
5227         r=`${PWD_COMMAND}`; export r; \
5228         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5229         $(HOST_EXPORTS) \
5230         for flag in $(EXTRA_HOST_FLAGS) ; do \
5231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5232         done; \
5233         echo "Doing mostlyclean in byacc" ; \
5234         (cd $(HOST_SUBDIR)/byacc && \
5235           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5236                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5237                   "RANLIB=$${RANLIB}" \
5238                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5239                   mostlyclean) \
5240           || exit 1
5241
5242 @endif byacc
5243
5244 .PHONY: maybe-clean-byacc clean-byacc
5245 maybe-clean-byacc:
5246 @if byacc
5247 maybe-clean-byacc: clean-byacc
5248
5249 clean-byacc: 
5250         @[ -f ./byacc/Makefile ] || exit 0; \
5251         r=`${PWD_COMMAND}`; export r; \
5252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5253         $(HOST_EXPORTS) \
5254         for flag in $(EXTRA_HOST_FLAGS) ; do \
5255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5256         done; \
5257         echo "Doing clean in byacc" ; \
5258         (cd $(HOST_SUBDIR)/byacc && \
5259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5261                   "RANLIB=$${RANLIB}" \
5262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5263                   clean) \
5264           || exit 1
5265
5266 @endif byacc
5267
5268 .PHONY: maybe-distclean-byacc distclean-byacc
5269 maybe-distclean-byacc:
5270 @if byacc
5271 maybe-distclean-byacc: distclean-byacc
5272
5273 distclean-byacc: 
5274         @[ -f ./byacc/Makefile ] || exit 0; \
5275         r=`${PWD_COMMAND}`; export r; \
5276         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5277         $(HOST_EXPORTS) \
5278         for flag in $(EXTRA_HOST_FLAGS) ; do \
5279           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5280         done; \
5281         echo "Doing distclean in byacc" ; \
5282         (cd $(HOST_SUBDIR)/byacc && \
5283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5285                   "RANLIB=$${RANLIB}" \
5286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5287                   distclean) \
5288           || exit 1
5289
5290 @endif byacc
5291
5292 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5293 maybe-maintainer-clean-byacc:
5294 @if byacc
5295 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5296
5297 maintainer-clean-byacc: 
5298         @[ -f ./byacc/Makefile ] || exit 0; \
5299         r=`${PWD_COMMAND}`; export r; \
5300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5301         $(HOST_EXPORTS) \
5302         for flag in $(EXTRA_HOST_FLAGS) ; do \
5303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5304         done; \
5305         echo "Doing maintainer-clean in byacc" ; \
5306         (cd $(HOST_SUBDIR)/byacc && \
5307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5309                   "RANLIB=$${RANLIB}" \
5310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5311                   maintainer-clean) \
5312           || exit 1
5313
5314 @endif byacc
5315
5316
5317 .PHONY: configure-bzip2 maybe-configure-bzip2
5318 maybe-configure-bzip2:
5319 @if bzip2
5320 maybe-configure-bzip2: configure-bzip2
5321 configure-bzip2:
5322         @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
5323         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
5324         r=`${PWD_COMMAND}`; export r; \
5325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5326         $(HOST_EXPORTS) \
5327         echo Configuring in bzip2; \
5328         cd $(HOST_SUBDIR)/bzip2 || exit 1; \
5329         case $(srcdir) in \
5330           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5331           *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
5332                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5333         esac; \
5334         srcdiroption="--srcdir=$${topdir}/bzip2"; \
5335         libsrcdir="$$s/bzip2"; \
5336         $(SHELL) $${libsrcdir}/configure \
5337           $(HOST_CONFIGARGS) $${srcdiroption}  \
5338           || exit 1
5339 @endif bzip2
5340
5341 .PHONY: all-bzip2 maybe-all-bzip2
5342 maybe-all-bzip2:
5343 @if bzip2
5344 TARGET-bzip2=all
5345 maybe-all-bzip2: all-bzip2
5346 all-bzip2: configure-bzip2
5347         @r=`${PWD_COMMAND}`; export r; \
5348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5349         $(HOST_EXPORTS) \
5350         (cd $(HOST_SUBDIR)/bzip2 && \
5351           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-bzip2))
5352 @endif bzip2
5353
5354 .PHONY: check-bzip2 maybe-check-bzip2
5355 maybe-check-bzip2:
5356 @if bzip2
5357 maybe-check-bzip2: check-bzip2
5358
5359 check-bzip2:
5360         @r=`${PWD_COMMAND}`; export r; \
5361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5362         $(HOST_EXPORTS) \
5363         (cd $(HOST_SUBDIR)/bzip2 && \
5364           $(MAKE) $(FLAGS_TO_PASS)  check)
5365
5366 @endif bzip2
5367
5368 .PHONY: install-bzip2 maybe-install-bzip2
5369 maybe-install-bzip2:
5370 @if bzip2
5371 maybe-install-bzip2: install-bzip2
5372
5373 install-bzip2: installdirs
5374         @r=`${PWD_COMMAND}`; export r; \
5375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5376         $(HOST_EXPORTS) \
5377         (cd $(HOST_SUBDIR)/bzip2 && \
5378           $(MAKE) $(FLAGS_TO_PASS)  install)
5379
5380 @endif bzip2
5381
5382 # Other targets (info, dvi, etc.)
5383
5384 .PHONY: maybe-info-bzip2 info-bzip2
5385 maybe-info-bzip2:
5386 @if bzip2
5387 maybe-info-bzip2: info-bzip2
5388
5389 info-bzip2: \
5390     configure-bzip2 
5391         @[ -f ./bzip2/Makefile ] || exit 0; \
5392         r=`${PWD_COMMAND}`; export r; \
5393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5394         $(HOST_EXPORTS) \
5395         for flag in $(EXTRA_HOST_FLAGS) ; do \
5396           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5397         done; \
5398         echo "Doing info in bzip2" ; \
5399         (cd $(HOST_SUBDIR)/bzip2 && \
5400           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5401                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5402                   "RANLIB=$${RANLIB}" \
5403                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5404                   info) \
5405           || exit 1
5406
5407 @endif bzip2
5408
5409 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5410 maybe-dvi-bzip2:
5411 @if bzip2
5412 maybe-dvi-bzip2: dvi-bzip2
5413
5414 dvi-bzip2: \
5415     configure-bzip2 
5416         @[ -f ./bzip2/Makefile ] || exit 0; \
5417         r=`${PWD_COMMAND}`; export r; \
5418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5419         $(HOST_EXPORTS) \
5420         for flag in $(EXTRA_HOST_FLAGS) ; do \
5421           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5422         done; \
5423         echo "Doing dvi in bzip2" ; \
5424         (cd $(HOST_SUBDIR)/bzip2 && \
5425           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5426                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5427                   "RANLIB=$${RANLIB}" \
5428                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5429                   dvi) \
5430           || exit 1
5431
5432 @endif bzip2
5433
5434 .PHONY: maybe-html-bzip2 html-bzip2
5435 maybe-html-bzip2:
5436 @if bzip2
5437 maybe-html-bzip2: html-bzip2
5438
5439 html-bzip2: \
5440     configure-bzip2 
5441         @[ -f ./bzip2/Makefile ] || exit 0; \
5442         r=`${PWD_COMMAND}`; export r; \
5443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5444         $(HOST_EXPORTS) \
5445         for flag in $(EXTRA_HOST_FLAGS) ; do \
5446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5447         done; \
5448         echo "Doing html in bzip2" ; \
5449         (cd $(HOST_SUBDIR)/bzip2 && \
5450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5452                   "RANLIB=$${RANLIB}" \
5453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5454                   html) \
5455           || exit 1
5456
5457 @endif bzip2
5458
5459 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5460 maybe-TAGS-bzip2:
5461 @if bzip2
5462 maybe-TAGS-bzip2: TAGS-bzip2
5463
5464 TAGS-bzip2: \
5465     configure-bzip2 
5466         @[ -f ./bzip2/Makefile ] || exit 0; \
5467         r=`${PWD_COMMAND}`; export r; \
5468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469         $(HOST_EXPORTS) \
5470         for flag in $(EXTRA_HOST_FLAGS) ; do \
5471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5472         done; \
5473         echo "Doing TAGS in bzip2" ; \
5474         (cd $(HOST_SUBDIR)/bzip2 && \
5475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5477                   "RANLIB=$${RANLIB}" \
5478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5479                   TAGS) \
5480           || exit 1
5481
5482 @endif bzip2
5483
5484 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5485 maybe-install-info-bzip2:
5486 @if bzip2
5487 maybe-install-info-bzip2: install-info-bzip2
5488
5489 install-info-bzip2: \
5490     configure-bzip2 \
5491     info-bzip2 
5492         @[ -f ./bzip2/Makefile ] || exit 0; \
5493         r=`${PWD_COMMAND}`; export r; \
5494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495         $(HOST_EXPORTS) \
5496         for flag in $(EXTRA_HOST_FLAGS) ; do \
5497           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5498         done; \
5499         echo "Doing install-info in bzip2" ; \
5500         (cd $(HOST_SUBDIR)/bzip2 && \
5501           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5502                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5503                   "RANLIB=$${RANLIB}" \
5504                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5505                   install-info) \
5506           || exit 1
5507
5508 @endif bzip2
5509
5510 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5511 maybe-installcheck-bzip2:
5512 @if bzip2
5513 maybe-installcheck-bzip2: installcheck-bzip2
5514
5515 installcheck-bzip2: \
5516     configure-bzip2 
5517         @[ -f ./bzip2/Makefile ] || exit 0; \
5518         r=`${PWD_COMMAND}`; export r; \
5519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5520         $(HOST_EXPORTS) \
5521         for flag in $(EXTRA_HOST_FLAGS) ; do \
5522           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5523         done; \
5524         echo "Doing installcheck in bzip2" ; \
5525         (cd $(HOST_SUBDIR)/bzip2 && \
5526           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5527                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5528                   "RANLIB=$${RANLIB}" \
5529                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5530                   installcheck) \
5531           || exit 1
5532
5533 @endif bzip2
5534
5535 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5536 maybe-mostlyclean-bzip2:
5537 @if bzip2
5538 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5539
5540 mostlyclean-bzip2: 
5541         @[ -f ./bzip2/Makefile ] || exit 0; \
5542         r=`${PWD_COMMAND}`; export r; \
5543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544         $(HOST_EXPORTS) \
5545         for flag in $(EXTRA_HOST_FLAGS) ; do \
5546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5547         done; \
5548         echo "Doing mostlyclean in bzip2" ; \
5549         (cd $(HOST_SUBDIR)/bzip2 && \
5550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5552                   "RANLIB=$${RANLIB}" \
5553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5554                   mostlyclean) \
5555           || exit 1
5556
5557 @endif bzip2
5558
5559 .PHONY: maybe-clean-bzip2 clean-bzip2
5560 maybe-clean-bzip2:
5561 @if bzip2
5562 maybe-clean-bzip2: clean-bzip2
5563
5564 clean-bzip2: 
5565         @[ -f ./bzip2/Makefile ] || exit 0; \
5566         r=`${PWD_COMMAND}`; export r; \
5567         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5568         $(HOST_EXPORTS) \
5569         for flag in $(EXTRA_HOST_FLAGS) ; do \
5570           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5571         done; \
5572         echo "Doing clean in bzip2" ; \
5573         (cd $(HOST_SUBDIR)/bzip2 && \
5574           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5575                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5576                   "RANLIB=$${RANLIB}" \
5577                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5578                   clean) \
5579           || exit 1
5580
5581 @endif bzip2
5582
5583 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5584 maybe-distclean-bzip2:
5585 @if bzip2
5586 maybe-distclean-bzip2: distclean-bzip2
5587
5588 distclean-bzip2: 
5589         @[ -f ./bzip2/Makefile ] || exit 0; \
5590         r=`${PWD_COMMAND}`; export r; \
5591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592         $(HOST_EXPORTS) \
5593         for flag in $(EXTRA_HOST_FLAGS) ; do \
5594           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5595         done; \
5596         echo "Doing distclean in bzip2" ; \
5597         (cd $(HOST_SUBDIR)/bzip2 && \
5598           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5599                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5600                   "RANLIB=$${RANLIB}" \
5601                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5602                   distclean) \
5603           || exit 1
5604
5605 @endif bzip2
5606
5607 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5608 maybe-maintainer-clean-bzip2:
5609 @if bzip2
5610 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5611
5612 maintainer-clean-bzip2: 
5613         @[ -f ./bzip2/Makefile ] || exit 0; \
5614         r=`${PWD_COMMAND}`; export r; \
5615         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616         $(HOST_EXPORTS) \
5617         for flag in $(EXTRA_HOST_FLAGS) ; do \
5618           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5619         done; \
5620         echo "Doing maintainer-clean in bzip2" ; \
5621         (cd $(HOST_SUBDIR)/bzip2 && \
5622           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5623                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5624                   "RANLIB=$${RANLIB}" \
5625                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5626                   maintainer-clean) \
5627           || exit 1
5628
5629 @endif bzip2
5630
5631
5632 .PHONY: configure-dejagnu maybe-configure-dejagnu
5633 maybe-configure-dejagnu:
5634 @if dejagnu
5635 maybe-configure-dejagnu: configure-dejagnu
5636 configure-dejagnu:
5637         @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
5638         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
5639         r=`${PWD_COMMAND}`; export r; \
5640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5641         $(HOST_EXPORTS) \
5642         echo Configuring in dejagnu; \
5643         cd $(HOST_SUBDIR)/dejagnu || exit 1; \
5644         case $(srcdir) in \
5645           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5646           *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
5647                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5648         esac; \
5649         srcdiroption="--srcdir=$${topdir}/dejagnu"; \
5650         libsrcdir="$$s/dejagnu"; \
5651         $(SHELL) $${libsrcdir}/configure \
5652           $(HOST_CONFIGARGS) $${srcdiroption}  \
5653           || exit 1
5654 @endif dejagnu
5655
5656 .PHONY: all-dejagnu maybe-all-dejagnu
5657 maybe-all-dejagnu:
5658 @if dejagnu
5659 TARGET-dejagnu=all
5660 maybe-all-dejagnu: all-dejagnu
5661 all-dejagnu: configure-dejagnu
5662         @r=`${PWD_COMMAND}`; export r; \
5663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5664         $(HOST_EXPORTS) \
5665         (cd $(HOST_SUBDIR)/dejagnu && \
5666           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-dejagnu))
5667 @endif dejagnu
5668
5669 .PHONY: check-dejagnu maybe-check-dejagnu
5670 maybe-check-dejagnu:
5671 @if dejagnu
5672 maybe-check-dejagnu: check-dejagnu
5673
5674 check-dejagnu:
5675         @r=`${PWD_COMMAND}`; export r; \
5676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677         $(HOST_EXPORTS) \
5678         (cd $(HOST_SUBDIR)/dejagnu && \
5679           $(MAKE) $(FLAGS_TO_PASS)  check)
5680
5681 @endif dejagnu
5682
5683 .PHONY: install-dejagnu maybe-install-dejagnu
5684 maybe-install-dejagnu:
5685 @if dejagnu
5686 maybe-install-dejagnu: install-dejagnu
5687
5688 install-dejagnu: installdirs
5689         @r=`${PWD_COMMAND}`; export r; \
5690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5691         $(HOST_EXPORTS) \
5692         (cd $(HOST_SUBDIR)/dejagnu && \
5693           $(MAKE) $(FLAGS_TO_PASS)  install)
5694
5695 @endif dejagnu
5696
5697 # Other targets (info, dvi, etc.)
5698
5699 .PHONY: maybe-info-dejagnu info-dejagnu
5700 maybe-info-dejagnu:
5701 @if dejagnu
5702 maybe-info-dejagnu: info-dejagnu
5703
5704 info-dejagnu: \
5705     configure-dejagnu 
5706         @[ -f ./dejagnu/Makefile ] || exit 0; \
5707         r=`${PWD_COMMAND}`; export r; \
5708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5709         $(HOST_EXPORTS) \
5710         for flag in $(EXTRA_HOST_FLAGS) ; do \
5711           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5712         done; \
5713         echo "Doing info in dejagnu" ; \
5714         (cd $(HOST_SUBDIR)/dejagnu && \
5715           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5716                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5717                   "RANLIB=$${RANLIB}" \
5718                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5719                   info) \
5720           || exit 1
5721
5722 @endif dejagnu
5723
5724 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5725 maybe-dvi-dejagnu:
5726 @if dejagnu
5727 maybe-dvi-dejagnu: dvi-dejagnu
5728
5729 dvi-dejagnu: \
5730     configure-dejagnu 
5731         @[ -f ./dejagnu/Makefile ] || exit 0; \
5732         r=`${PWD_COMMAND}`; export r; \
5733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5734         $(HOST_EXPORTS) \
5735         for flag in $(EXTRA_HOST_FLAGS) ; do \
5736           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5737         done; \
5738         echo "Doing dvi in dejagnu" ; \
5739         (cd $(HOST_SUBDIR)/dejagnu && \
5740           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5741                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5742                   "RANLIB=$${RANLIB}" \
5743                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5744                   dvi) \
5745           || exit 1
5746
5747 @endif dejagnu
5748
5749 .PHONY: maybe-html-dejagnu html-dejagnu
5750 maybe-html-dejagnu:
5751 @if dejagnu
5752 maybe-html-dejagnu: html-dejagnu
5753
5754 html-dejagnu: \
5755     configure-dejagnu 
5756         @[ -f ./dejagnu/Makefile ] || exit 0; \
5757         r=`${PWD_COMMAND}`; export r; \
5758         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5759         $(HOST_EXPORTS) \
5760         for flag in $(EXTRA_HOST_FLAGS) ; do \
5761           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5762         done; \
5763         echo "Doing html in dejagnu" ; \
5764         (cd $(HOST_SUBDIR)/dejagnu && \
5765           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5766                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5767                   "RANLIB=$${RANLIB}" \
5768                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5769                   html) \
5770           || exit 1
5771
5772 @endif dejagnu
5773
5774 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5775 maybe-TAGS-dejagnu:
5776 @if dejagnu
5777 maybe-TAGS-dejagnu: TAGS-dejagnu
5778
5779 TAGS-dejagnu: \
5780     configure-dejagnu 
5781         @[ -f ./dejagnu/Makefile ] || exit 0; \
5782         r=`${PWD_COMMAND}`; export r; \
5783         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5784         $(HOST_EXPORTS) \
5785         for flag in $(EXTRA_HOST_FLAGS) ; do \
5786           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5787         done; \
5788         echo "Doing TAGS in dejagnu" ; \
5789         (cd $(HOST_SUBDIR)/dejagnu && \
5790           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5791                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5792                   "RANLIB=$${RANLIB}" \
5793                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5794                   TAGS) \
5795           || exit 1
5796
5797 @endif dejagnu
5798
5799 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5800 maybe-install-info-dejagnu:
5801 @if dejagnu
5802 maybe-install-info-dejagnu: install-info-dejagnu
5803
5804 install-info-dejagnu: \
5805     configure-dejagnu \
5806     info-dejagnu 
5807         @[ -f ./dejagnu/Makefile ] || exit 0; \
5808         r=`${PWD_COMMAND}`; export r; \
5809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5810         $(HOST_EXPORTS) \
5811         for flag in $(EXTRA_HOST_FLAGS) ; do \
5812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5813         done; \
5814         echo "Doing install-info in dejagnu" ; \
5815         (cd $(HOST_SUBDIR)/dejagnu && \
5816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5818                   "RANLIB=$${RANLIB}" \
5819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5820                   install-info) \
5821           || exit 1
5822
5823 @endif dejagnu
5824
5825 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5826 maybe-installcheck-dejagnu:
5827 @if dejagnu
5828 maybe-installcheck-dejagnu: installcheck-dejagnu
5829
5830 installcheck-dejagnu: \
5831     configure-dejagnu 
5832         @[ -f ./dejagnu/Makefile ] || exit 0; \
5833         r=`${PWD_COMMAND}`; export r; \
5834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5835         $(HOST_EXPORTS) \
5836         for flag in $(EXTRA_HOST_FLAGS) ; do \
5837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5838         done; \
5839         echo "Doing installcheck in dejagnu" ; \
5840         (cd $(HOST_SUBDIR)/dejagnu && \
5841           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5842                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5843                   "RANLIB=$${RANLIB}" \
5844                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5845                   installcheck) \
5846           || exit 1
5847
5848 @endif dejagnu
5849
5850 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5851 maybe-mostlyclean-dejagnu:
5852 @if dejagnu
5853 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5854
5855 mostlyclean-dejagnu: 
5856         @[ -f ./dejagnu/Makefile ] || exit 0; \
5857         r=`${PWD_COMMAND}`; export r; \
5858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5859         $(HOST_EXPORTS) \
5860         for flag in $(EXTRA_HOST_FLAGS) ; do \
5861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5862         done; \
5863         echo "Doing mostlyclean in dejagnu" ; \
5864         (cd $(HOST_SUBDIR)/dejagnu && \
5865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5867                   "RANLIB=$${RANLIB}" \
5868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5869                   mostlyclean) \
5870           || exit 1
5871
5872 @endif dejagnu
5873
5874 .PHONY: maybe-clean-dejagnu clean-dejagnu
5875 maybe-clean-dejagnu:
5876 @if dejagnu
5877 maybe-clean-dejagnu: clean-dejagnu
5878
5879 clean-dejagnu: 
5880         @[ -f ./dejagnu/Makefile ] || exit 0; \
5881         r=`${PWD_COMMAND}`; export r; \
5882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5883         $(HOST_EXPORTS) \
5884         for flag in $(EXTRA_HOST_FLAGS) ; do \
5885           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5886         done; \
5887         echo "Doing clean in dejagnu" ; \
5888         (cd $(HOST_SUBDIR)/dejagnu && \
5889           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5890                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5891                   "RANLIB=$${RANLIB}" \
5892                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5893                   clean) \
5894           || exit 1
5895
5896 @endif dejagnu
5897
5898 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5899 maybe-distclean-dejagnu:
5900 @if dejagnu
5901 maybe-distclean-dejagnu: distclean-dejagnu
5902
5903 distclean-dejagnu: 
5904         @[ -f ./dejagnu/Makefile ] || exit 0; \
5905         r=`${PWD_COMMAND}`; export r; \
5906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5907         $(HOST_EXPORTS) \
5908         for flag in $(EXTRA_HOST_FLAGS) ; do \
5909           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5910         done; \
5911         echo "Doing distclean in dejagnu" ; \
5912         (cd $(HOST_SUBDIR)/dejagnu && \
5913           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5914                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5915                   "RANLIB=$${RANLIB}" \
5916                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5917                   distclean) \
5918           || exit 1
5919
5920 @endif dejagnu
5921
5922 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5923 maybe-maintainer-clean-dejagnu:
5924 @if dejagnu
5925 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5926
5927 maintainer-clean-dejagnu: 
5928         @[ -f ./dejagnu/Makefile ] || exit 0; \
5929         r=`${PWD_COMMAND}`; export r; \
5930         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5931         $(HOST_EXPORTS) \
5932         for flag in $(EXTRA_HOST_FLAGS) ; do \
5933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5934         done; \
5935         echo "Doing maintainer-clean in dejagnu" ; \
5936         (cd $(HOST_SUBDIR)/dejagnu && \
5937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5939                   "RANLIB=$${RANLIB}" \
5940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5941                   maintainer-clean) \
5942           || exit 1
5943
5944 @endif dejagnu
5945
5946
5947 .PHONY: configure-diff maybe-configure-diff
5948 maybe-configure-diff:
5949 @if diff
5950 maybe-configure-diff: configure-diff
5951 configure-diff:
5952         @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
5953         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
5954         r=`${PWD_COMMAND}`; export r; \
5955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5956         $(HOST_EXPORTS) \
5957         echo Configuring in diff; \
5958         cd $(HOST_SUBDIR)/diff || exit 1; \
5959         case $(srcdir) in \
5960           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5961           *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
5962                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5963         esac; \
5964         srcdiroption="--srcdir=$${topdir}/diff"; \
5965         libsrcdir="$$s/diff"; \
5966         $(SHELL) $${libsrcdir}/configure \
5967           $(HOST_CONFIGARGS) $${srcdiroption}  \
5968           || exit 1
5969 @endif diff
5970
5971 .PHONY: all-diff maybe-all-diff
5972 maybe-all-diff:
5973 @if diff
5974 TARGET-diff=all
5975 maybe-all-diff: all-diff
5976 all-diff: configure-diff
5977         @r=`${PWD_COMMAND}`; export r; \
5978         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5979         $(HOST_EXPORTS) \
5980         (cd $(HOST_SUBDIR)/diff && \
5981           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-diff))
5982 @endif diff
5983
5984 .PHONY: check-diff maybe-check-diff
5985 maybe-check-diff:
5986 @if diff
5987 maybe-check-diff: check-diff
5988
5989 check-diff:
5990         @r=`${PWD_COMMAND}`; export r; \
5991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5992         $(HOST_EXPORTS) \
5993         (cd $(HOST_SUBDIR)/diff && \
5994           $(MAKE) $(FLAGS_TO_PASS)  check)
5995
5996 @endif diff
5997
5998 .PHONY: install-diff maybe-install-diff
5999 maybe-install-diff:
6000 @if diff
6001 maybe-install-diff: install-diff
6002
6003 install-diff: installdirs
6004         @r=`${PWD_COMMAND}`; export r; \
6005         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6006         $(HOST_EXPORTS) \
6007         (cd $(HOST_SUBDIR)/diff && \
6008           $(MAKE) $(FLAGS_TO_PASS)  install)
6009
6010 @endif diff
6011
6012 # Other targets (info, dvi, etc.)
6013
6014 .PHONY: maybe-info-diff info-diff
6015 maybe-info-diff:
6016 @if diff
6017 maybe-info-diff: info-diff
6018
6019 info-diff: \
6020     configure-diff 
6021         @[ -f ./diff/Makefile ] || exit 0; \
6022         r=`${PWD_COMMAND}`; export r; \
6023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6024         $(HOST_EXPORTS) \
6025         for flag in $(EXTRA_HOST_FLAGS) ; do \
6026           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6027         done; \
6028         echo "Doing info in diff" ; \
6029         (cd $(HOST_SUBDIR)/diff && \
6030           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6031                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6032                   "RANLIB=$${RANLIB}" \
6033                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6034                   info) \
6035           || exit 1
6036
6037 @endif diff
6038
6039 .PHONY: maybe-dvi-diff dvi-diff
6040 maybe-dvi-diff:
6041 @if diff
6042 maybe-dvi-diff: dvi-diff
6043
6044 dvi-diff: \
6045     configure-diff 
6046         @[ -f ./diff/Makefile ] || exit 0; \
6047         r=`${PWD_COMMAND}`; export r; \
6048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6049         $(HOST_EXPORTS) \
6050         for flag in $(EXTRA_HOST_FLAGS) ; do \
6051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6052         done; \
6053         echo "Doing dvi in diff" ; \
6054         (cd $(HOST_SUBDIR)/diff && \
6055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057                   "RANLIB=$${RANLIB}" \
6058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6059                   dvi) \
6060           || exit 1
6061
6062 @endif diff
6063
6064 .PHONY: maybe-html-diff html-diff
6065 maybe-html-diff:
6066 @if diff
6067 maybe-html-diff: html-diff
6068
6069 html-diff: \
6070     configure-diff 
6071         @[ -f ./diff/Makefile ] || exit 0; \
6072         r=`${PWD_COMMAND}`; export r; \
6073         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6074         $(HOST_EXPORTS) \
6075         for flag in $(EXTRA_HOST_FLAGS) ; do \
6076           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6077         done; \
6078         echo "Doing html in diff" ; \
6079         (cd $(HOST_SUBDIR)/diff && \
6080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6082                   "RANLIB=$${RANLIB}" \
6083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6084                   html) \
6085           || exit 1
6086
6087 @endif diff
6088
6089 .PHONY: maybe-TAGS-diff TAGS-diff
6090 maybe-TAGS-diff:
6091 @if diff
6092 maybe-TAGS-diff: TAGS-diff
6093
6094 TAGS-diff: \
6095     configure-diff 
6096         @[ -f ./diff/Makefile ] || exit 0; \
6097         r=`${PWD_COMMAND}`; export r; \
6098         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6099         $(HOST_EXPORTS) \
6100         for flag in $(EXTRA_HOST_FLAGS) ; do \
6101           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6102         done; \
6103         echo "Doing TAGS in diff" ; \
6104         (cd $(HOST_SUBDIR)/diff && \
6105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6107                   "RANLIB=$${RANLIB}" \
6108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6109                   TAGS) \
6110           || exit 1
6111
6112 @endif diff
6113
6114 .PHONY: maybe-install-info-diff install-info-diff
6115 maybe-install-info-diff:
6116 @if diff
6117 maybe-install-info-diff: install-info-diff
6118
6119 install-info-diff: \
6120     configure-diff \
6121     info-diff 
6122         @[ -f ./diff/Makefile ] || exit 0; \
6123         r=`${PWD_COMMAND}`; export r; \
6124         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125         $(HOST_EXPORTS) \
6126         for flag in $(EXTRA_HOST_FLAGS) ; do \
6127           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6128         done; \
6129         echo "Doing install-info in diff" ; \
6130         (cd $(HOST_SUBDIR)/diff && \
6131           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6132                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6133                   "RANLIB=$${RANLIB}" \
6134                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6135                   install-info) \
6136           || exit 1
6137
6138 @endif diff
6139
6140 .PHONY: maybe-installcheck-diff installcheck-diff
6141 maybe-installcheck-diff:
6142 @if diff
6143 maybe-installcheck-diff: installcheck-diff
6144
6145 installcheck-diff: \
6146     configure-diff 
6147         @[ -f ./diff/Makefile ] || exit 0; \
6148         r=`${PWD_COMMAND}`; export r; \
6149         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6150         $(HOST_EXPORTS) \
6151         for flag in $(EXTRA_HOST_FLAGS) ; do \
6152           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6153         done; \
6154         echo "Doing installcheck in diff" ; \
6155         (cd $(HOST_SUBDIR)/diff && \
6156           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6157                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6158                   "RANLIB=$${RANLIB}" \
6159                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6160                   installcheck) \
6161           || exit 1
6162
6163 @endif diff
6164
6165 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6166 maybe-mostlyclean-diff:
6167 @if diff
6168 maybe-mostlyclean-diff: mostlyclean-diff
6169
6170 mostlyclean-diff: 
6171         @[ -f ./diff/Makefile ] || exit 0; \
6172         r=`${PWD_COMMAND}`; export r; \
6173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6174         $(HOST_EXPORTS) \
6175         for flag in $(EXTRA_HOST_FLAGS) ; do \
6176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6177         done; \
6178         echo "Doing mostlyclean in diff" ; \
6179         (cd $(HOST_SUBDIR)/diff && \
6180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6182                   "RANLIB=$${RANLIB}" \
6183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6184                   mostlyclean) \
6185           || exit 1
6186
6187 @endif diff
6188
6189 .PHONY: maybe-clean-diff clean-diff
6190 maybe-clean-diff:
6191 @if diff
6192 maybe-clean-diff: clean-diff
6193
6194 clean-diff: 
6195         @[ -f ./diff/Makefile ] || exit 0; \
6196         r=`${PWD_COMMAND}`; export r; \
6197         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6198         $(HOST_EXPORTS) \
6199         for flag in $(EXTRA_HOST_FLAGS) ; do \
6200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6201         done; \
6202         echo "Doing clean in diff" ; \
6203         (cd $(HOST_SUBDIR)/diff && \
6204           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6205                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6206                   "RANLIB=$${RANLIB}" \
6207                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6208                   clean) \
6209           || exit 1
6210
6211 @endif diff
6212
6213 .PHONY: maybe-distclean-diff distclean-diff
6214 maybe-distclean-diff:
6215 @if diff
6216 maybe-distclean-diff: distclean-diff
6217
6218 distclean-diff: 
6219         @[ -f ./diff/Makefile ] || exit 0; \
6220         r=`${PWD_COMMAND}`; export r; \
6221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6222         $(HOST_EXPORTS) \
6223         for flag in $(EXTRA_HOST_FLAGS) ; do \
6224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6225         done; \
6226         echo "Doing distclean in diff" ; \
6227         (cd $(HOST_SUBDIR)/diff && \
6228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6230                   "RANLIB=$${RANLIB}" \
6231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6232                   distclean) \
6233           || exit 1
6234
6235 @endif diff
6236
6237 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6238 maybe-maintainer-clean-diff:
6239 @if diff
6240 maybe-maintainer-clean-diff: maintainer-clean-diff
6241
6242 maintainer-clean-diff: 
6243         @[ -f ./diff/Makefile ] || exit 0; \
6244         r=`${PWD_COMMAND}`; export r; \
6245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6246         $(HOST_EXPORTS) \
6247         for flag in $(EXTRA_HOST_FLAGS) ; do \
6248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6249         done; \
6250         echo "Doing maintainer-clean in diff" ; \
6251         (cd $(HOST_SUBDIR)/diff && \
6252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6254                   "RANLIB=$${RANLIB}" \
6255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6256                   maintainer-clean) \
6257           || exit 1
6258
6259 @endif diff
6260
6261
6262 .PHONY: configure-dosutils maybe-configure-dosutils
6263 maybe-configure-dosutils:
6264 @if dosutils
6265 maybe-configure-dosutils: configure-dosutils
6266 configure-dosutils:
6267         @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
6268         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
6269         r=`${PWD_COMMAND}`; export r; \
6270         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6271         $(HOST_EXPORTS) \
6272         echo Configuring in dosutils; \
6273         cd $(HOST_SUBDIR)/dosutils || exit 1; \
6274         case $(srcdir) in \
6275           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6276           *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
6277                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6278         esac; \
6279         srcdiroption="--srcdir=$${topdir}/dosutils"; \
6280         libsrcdir="$$s/dosutils"; \
6281         $(SHELL) $${libsrcdir}/configure \
6282           $(HOST_CONFIGARGS) $${srcdiroption}  \
6283           || exit 1
6284 @endif dosutils
6285
6286 .PHONY: all-dosutils maybe-all-dosutils
6287 maybe-all-dosutils:
6288 @if dosutils
6289 TARGET-dosutils=all
6290 maybe-all-dosutils: all-dosutils
6291 all-dosutils: configure-dosutils
6292         @r=`${PWD_COMMAND}`; export r; \
6293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294         $(HOST_EXPORTS) \
6295         (cd $(HOST_SUBDIR)/dosutils && \
6296           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-dosutils))
6297 @endif dosutils
6298
6299 .PHONY: check-dosutils maybe-check-dosutils
6300 maybe-check-dosutils:
6301 @if dosutils
6302 maybe-check-dosutils: check-dosutils
6303
6304 check-dosutils:
6305
6306 @endif dosutils
6307
6308 .PHONY: install-dosutils maybe-install-dosutils
6309 maybe-install-dosutils:
6310 @if dosutils
6311 maybe-install-dosutils: install-dosutils
6312
6313 install-dosutils: installdirs
6314         @r=`${PWD_COMMAND}`; export r; \
6315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6316         $(HOST_EXPORTS) \
6317         (cd $(HOST_SUBDIR)/dosutils && \
6318           $(MAKE) $(FLAGS_TO_PASS)  install)
6319
6320 @endif dosutils
6321
6322 # Other targets (info, dvi, etc.)
6323
6324 .PHONY: maybe-info-dosutils info-dosutils
6325 maybe-info-dosutils:
6326 @if dosutils
6327 maybe-info-dosutils: info-dosutils
6328
6329 info-dosutils: \
6330     configure-dosutils 
6331         @[ -f ./dosutils/Makefile ] || exit 0; \
6332         r=`${PWD_COMMAND}`; export r; \
6333         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6334         $(HOST_EXPORTS) \
6335         for flag in $(EXTRA_HOST_FLAGS) ; do \
6336           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6337         done; \
6338         echo "Doing info in dosutils" ; \
6339         (cd $(HOST_SUBDIR)/dosutils && \
6340           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6341                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6342                   "RANLIB=$${RANLIB}" \
6343                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6344                   info) \
6345           || exit 1
6346
6347 @endif dosutils
6348
6349 .PHONY: maybe-dvi-dosutils dvi-dosutils
6350 maybe-dvi-dosutils:
6351 @if dosutils
6352 maybe-dvi-dosutils: dvi-dosutils
6353
6354 dvi-dosutils: \
6355     configure-dosutils 
6356         @[ -f ./dosutils/Makefile ] || exit 0; \
6357         r=`${PWD_COMMAND}`; export r; \
6358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6359         $(HOST_EXPORTS) \
6360         for flag in $(EXTRA_HOST_FLAGS) ; do \
6361           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6362         done; \
6363         echo "Doing dvi in dosutils" ; \
6364         (cd $(HOST_SUBDIR)/dosutils && \
6365           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6366                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6367                   "RANLIB=$${RANLIB}" \
6368                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6369                   dvi) \
6370           || exit 1
6371
6372 @endif dosutils
6373
6374 .PHONY: maybe-html-dosutils html-dosutils
6375 maybe-html-dosutils:
6376 @if dosutils
6377 maybe-html-dosutils: html-dosutils
6378
6379 html-dosutils: \
6380     configure-dosutils 
6381         @[ -f ./dosutils/Makefile ] || exit 0; \
6382         r=`${PWD_COMMAND}`; export r; \
6383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6384         $(HOST_EXPORTS) \
6385         for flag in $(EXTRA_HOST_FLAGS) ; do \
6386           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6387         done; \
6388         echo "Doing html in dosutils" ; \
6389         (cd $(HOST_SUBDIR)/dosutils && \
6390           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6391                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6392                   "RANLIB=$${RANLIB}" \
6393                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6394                   html) \
6395           || exit 1
6396
6397 @endif dosutils
6398
6399 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6400 maybe-TAGS-dosutils:
6401 @if dosutils
6402 maybe-TAGS-dosutils: TAGS-dosutils
6403
6404 TAGS-dosutils: \
6405     configure-dosutils 
6406         @[ -f ./dosutils/Makefile ] || exit 0; \
6407         r=`${PWD_COMMAND}`; export r; \
6408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409         $(HOST_EXPORTS) \
6410         for flag in $(EXTRA_HOST_FLAGS) ; do \
6411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6412         done; \
6413         echo "Doing TAGS in dosutils" ; \
6414         (cd $(HOST_SUBDIR)/dosutils && \
6415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6417                   "RANLIB=$${RANLIB}" \
6418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6419                   TAGS) \
6420           || exit 1
6421
6422 @endif dosutils
6423
6424 .PHONY: maybe-install-info-dosutils install-info-dosutils
6425 maybe-install-info-dosutils:
6426 @if dosutils
6427 maybe-install-info-dosutils: install-info-dosutils
6428
6429 install-info-dosutils: \
6430     configure-dosutils \
6431     info-dosutils 
6432         @[ -f ./dosutils/Makefile ] || exit 0; \
6433         r=`${PWD_COMMAND}`; export r; \
6434         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6435         $(HOST_EXPORTS) \
6436         for flag in $(EXTRA_HOST_FLAGS) ; do \
6437           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6438         done; \
6439         echo "Doing install-info in dosutils" ; \
6440         (cd $(HOST_SUBDIR)/dosutils && \
6441           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6442                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6443                   "RANLIB=$${RANLIB}" \
6444                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6445                   install-info) \
6446           || exit 1
6447
6448 @endif dosutils
6449
6450 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6451 maybe-installcheck-dosutils:
6452 @if dosutils
6453 maybe-installcheck-dosutils: installcheck-dosutils
6454
6455 installcheck-dosutils: \
6456     configure-dosutils 
6457         @[ -f ./dosutils/Makefile ] || exit 0; \
6458         r=`${PWD_COMMAND}`; export r; \
6459         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6460         $(HOST_EXPORTS) \
6461         for flag in $(EXTRA_HOST_FLAGS) ; do \
6462           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6463         done; \
6464         echo "Doing installcheck in dosutils" ; \
6465         (cd $(HOST_SUBDIR)/dosutils && \
6466           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6467                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6468                   "RANLIB=$${RANLIB}" \
6469                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6470                   installcheck) \
6471           || exit 1
6472
6473 @endif dosutils
6474
6475 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6476 maybe-mostlyclean-dosutils:
6477 @if dosutils
6478 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6479
6480 mostlyclean-dosutils: 
6481         @[ -f ./dosutils/Makefile ] || exit 0; \
6482         r=`${PWD_COMMAND}`; export r; \
6483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6484         $(HOST_EXPORTS) \
6485         for flag in $(EXTRA_HOST_FLAGS) ; do \
6486           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6487         done; \
6488         echo "Doing mostlyclean in dosutils" ; \
6489         (cd $(HOST_SUBDIR)/dosutils && \
6490           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6491                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6492                   "RANLIB=$${RANLIB}" \
6493                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6494                   mostlyclean) \
6495           || exit 1
6496
6497 @endif dosutils
6498
6499 .PHONY: maybe-clean-dosutils clean-dosutils
6500 maybe-clean-dosutils:
6501 @if dosutils
6502 maybe-clean-dosutils: clean-dosutils
6503
6504 clean-dosutils: 
6505         @[ -f ./dosutils/Makefile ] || exit 0; \
6506         r=`${PWD_COMMAND}`; export r; \
6507         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6508         $(HOST_EXPORTS) \
6509         for flag in $(EXTRA_HOST_FLAGS) ; do \
6510           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6511         done; \
6512         echo "Doing clean in dosutils" ; \
6513         (cd $(HOST_SUBDIR)/dosutils && \
6514           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6515                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6516                   "RANLIB=$${RANLIB}" \
6517                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6518                   clean) \
6519           || exit 1
6520
6521 @endif dosutils
6522
6523 .PHONY: maybe-distclean-dosutils distclean-dosutils
6524 maybe-distclean-dosutils:
6525 @if dosutils
6526 maybe-distclean-dosutils: distclean-dosutils
6527
6528 distclean-dosutils: 
6529         @[ -f ./dosutils/Makefile ] || exit 0; \
6530         r=`${PWD_COMMAND}`; export r; \
6531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532         $(HOST_EXPORTS) \
6533         for flag in $(EXTRA_HOST_FLAGS) ; do \
6534           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535         done; \
6536         echo "Doing distclean in dosutils" ; \
6537         (cd $(HOST_SUBDIR)/dosutils && \
6538           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540                   "RANLIB=$${RANLIB}" \
6541                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6542                   distclean) \
6543           || exit 1
6544
6545 @endif dosutils
6546
6547 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6548 maybe-maintainer-clean-dosutils:
6549 @if dosutils
6550 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6551
6552 maintainer-clean-dosutils: 
6553         @[ -f ./dosutils/Makefile ] || exit 0; \
6554         r=`${PWD_COMMAND}`; export r; \
6555         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6556         $(HOST_EXPORTS) \
6557         for flag in $(EXTRA_HOST_FLAGS) ; do \
6558           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6559         done; \
6560         echo "Doing maintainer-clean in dosutils" ; \
6561         (cd $(HOST_SUBDIR)/dosutils && \
6562           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6563                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6564                   "RANLIB=$${RANLIB}" \
6565                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6566                   maintainer-clean) \
6567           || exit 1
6568
6569 @endif dosutils
6570
6571
6572 .PHONY: configure-etc maybe-configure-etc
6573 maybe-configure-etc:
6574 @if etc
6575 maybe-configure-etc: configure-etc
6576 configure-etc:
6577         @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6578         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6579         r=`${PWD_COMMAND}`; export r; \
6580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6581         $(HOST_EXPORTS) \
6582         echo Configuring in etc; \
6583         cd $(HOST_SUBDIR)/etc || exit 1; \
6584         case $(srcdir) in \
6585           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6586           *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6587                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6588         esac; \
6589         srcdiroption="--srcdir=$${topdir}/etc"; \
6590         libsrcdir="$$s/etc"; \
6591         $(SHELL) $${libsrcdir}/configure \
6592           $(HOST_CONFIGARGS) $${srcdiroption}  \
6593           || exit 1
6594 @endif etc
6595
6596 .PHONY: all-etc maybe-all-etc
6597 maybe-all-etc:
6598 @if etc
6599 TARGET-etc=all
6600 maybe-all-etc: all-etc
6601 all-etc: configure-etc
6602         @r=`${PWD_COMMAND}`; export r; \
6603         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6604         $(HOST_EXPORTS) \
6605         (cd $(HOST_SUBDIR)/etc && \
6606           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-etc))
6607 @endif etc
6608
6609 .PHONY: check-etc maybe-check-etc
6610 maybe-check-etc:
6611 @if etc
6612 maybe-check-etc: check-etc
6613
6614 check-etc:
6615         @r=`${PWD_COMMAND}`; export r; \
6616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617         $(HOST_EXPORTS) \
6618         (cd $(HOST_SUBDIR)/etc && \
6619           $(MAKE) $(FLAGS_TO_PASS)  check)
6620
6621 @endif etc
6622
6623 .PHONY: install-etc maybe-install-etc
6624 maybe-install-etc:
6625 @if etc
6626 maybe-install-etc: install-etc
6627
6628 install-etc: installdirs
6629         @r=`${PWD_COMMAND}`; export r; \
6630         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6631         $(HOST_EXPORTS) \
6632         (cd $(HOST_SUBDIR)/etc && \
6633           $(MAKE) $(FLAGS_TO_PASS)  install)
6634
6635 @endif etc
6636
6637 # Other targets (info, dvi, etc.)
6638
6639 .PHONY: maybe-info-etc info-etc
6640 maybe-info-etc:
6641 @if etc
6642 maybe-info-etc: info-etc
6643
6644 info-etc: \
6645     configure-etc 
6646         @[ -f ./etc/Makefile ] || exit 0; \
6647         r=`${PWD_COMMAND}`; export r; \
6648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649         $(HOST_EXPORTS) \
6650         for flag in $(EXTRA_HOST_FLAGS) ; do \
6651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6652         done; \
6653         echo "Doing info in etc" ; \
6654         (cd $(HOST_SUBDIR)/etc && \
6655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6657                   "RANLIB=$${RANLIB}" \
6658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6659                   info) \
6660           || exit 1
6661
6662 @endif etc
6663
6664 .PHONY: maybe-dvi-etc dvi-etc
6665 maybe-dvi-etc:
6666 @if etc
6667 maybe-dvi-etc: dvi-etc
6668
6669 dvi-etc: \
6670     configure-etc 
6671         @[ -f ./etc/Makefile ] || exit 0; \
6672         r=`${PWD_COMMAND}`; export r; \
6673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6674         $(HOST_EXPORTS) \
6675         for flag in $(EXTRA_HOST_FLAGS) ; do \
6676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677         done; \
6678         echo "Doing dvi in etc" ; \
6679         (cd $(HOST_SUBDIR)/etc && \
6680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682                   "RANLIB=$${RANLIB}" \
6683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6684                   dvi) \
6685           || exit 1
6686
6687 @endif etc
6688
6689 .PHONY: maybe-html-etc html-etc
6690 maybe-html-etc:
6691 @if etc
6692 maybe-html-etc: html-etc
6693
6694 html-etc: \
6695     configure-etc 
6696         @[ -f ./etc/Makefile ] || exit 0; \
6697         r=`${PWD_COMMAND}`; export r; \
6698         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6699         $(HOST_EXPORTS) \
6700         for flag in $(EXTRA_HOST_FLAGS) ; do \
6701           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702         done; \
6703         echo "Doing html in etc" ; \
6704         (cd $(HOST_SUBDIR)/etc && \
6705           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707                   "RANLIB=$${RANLIB}" \
6708                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6709                   html) \
6710           || exit 1
6711
6712 @endif etc
6713
6714 .PHONY: maybe-TAGS-etc TAGS-etc
6715 maybe-TAGS-etc:
6716 @if etc
6717 maybe-TAGS-etc: TAGS-etc
6718
6719 TAGS-etc: \
6720     configure-etc 
6721         @[ -f ./etc/Makefile ] || exit 0; \
6722         r=`${PWD_COMMAND}`; export r; \
6723         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6724         $(HOST_EXPORTS) \
6725         for flag in $(EXTRA_HOST_FLAGS) ; do \
6726           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6727         done; \
6728         echo "Doing TAGS in etc" ; \
6729         (cd $(HOST_SUBDIR)/etc && \
6730           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6731                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6732                   "RANLIB=$${RANLIB}" \
6733                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6734                   TAGS) \
6735           || exit 1
6736
6737 @endif etc
6738
6739 .PHONY: maybe-install-info-etc install-info-etc
6740 maybe-install-info-etc:
6741 @if etc
6742 maybe-install-info-etc: install-info-etc
6743
6744 install-info-etc: \
6745     configure-etc \
6746     info-etc 
6747         @[ -f ./etc/Makefile ] || exit 0; \
6748         r=`${PWD_COMMAND}`; export r; \
6749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750         $(HOST_EXPORTS) \
6751         for flag in $(EXTRA_HOST_FLAGS) ; do \
6752           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6753         done; \
6754         echo "Doing install-info in etc" ; \
6755         (cd $(HOST_SUBDIR)/etc && \
6756           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6757                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6758                   "RANLIB=$${RANLIB}" \
6759                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6760                   install-info) \
6761           || exit 1
6762
6763 @endif etc
6764
6765 .PHONY: maybe-installcheck-etc installcheck-etc
6766 maybe-installcheck-etc:
6767 @if etc
6768 maybe-installcheck-etc: installcheck-etc
6769
6770 installcheck-etc: \
6771     configure-etc 
6772         @[ -f ./etc/Makefile ] || exit 0; \
6773         r=`${PWD_COMMAND}`; export r; \
6774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6775         $(HOST_EXPORTS) \
6776         for flag in $(EXTRA_HOST_FLAGS) ; do \
6777           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6778         done; \
6779         echo "Doing installcheck in etc" ; \
6780         (cd $(HOST_SUBDIR)/etc && \
6781           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6782                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6783                   "RANLIB=$${RANLIB}" \
6784                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6785                   installcheck) \
6786           || exit 1
6787
6788 @endif etc
6789
6790 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6791 maybe-mostlyclean-etc:
6792 @if etc
6793 maybe-mostlyclean-etc: mostlyclean-etc
6794
6795 mostlyclean-etc: 
6796         @[ -f ./etc/Makefile ] || exit 0; \
6797         r=`${PWD_COMMAND}`; export r; \
6798         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6799         $(HOST_EXPORTS) \
6800         for flag in $(EXTRA_HOST_FLAGS) ; do \
6801           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6802         done; \
6803         echo "Doing mostlyclean in etc" ; \
6804         (cd $(HOST_SUBDIR)/etc && \
6805           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6806                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6807                   "RANLIB=$${RANLIB}" \
6808                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6809                   mostlyclean) \
6810           || exit 1
6811
6812 @endif etc
6813
6814 .PHONY: maybe-clean-etc clean-etc
6815 maybe-clean-etc:
6816 @if etc
6817 maybe-clean-etc: clean-etc
6818
6819 clean-etc: 
6820         @[ -f ./etc/Makefile ] || exit 0; \
6821         r=`${PWD_COMMAND}`; export r; \
6822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6823         $(HOST_EXPORTS) \
6824         for flag in $(EXTRA_HOST_FLAGS) ; do \
6825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6826         done; \
6827         echo "Doing clean in etc" ; \
6828         (cd $(HOST_SUBDIR)/etc && \
6829           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6830                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6831                   "RANLIB=$${RANLIB}" \
6832                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6833                   clean) \
6834           || exit 1
6835
6836 @endif etc
6837
6838 .PHONY: maybe-distclean-etc distclean-etc
6839 maybe-distclean-etc:
6840 @if etc
6841 maybe-distclean-etc: distclean-etc
6842
6843 distclean-etc: 
6844         @[ -f ./etc/Makefile ] || exit 0; \
6845         r=`${PWD_COMMAND}`; export r; \
6846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847         $(HOST_EXPORTS) \
6848         for flag in $(EXTRA_HOST_FLAGS) ; do \
6849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6850         done; \
6851         echo "Doing distclean in etc" ; \
6852         (cd $(HOST_SUBDIR)/etc && \
6853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855                   "RANLIB=$${RANLIB}" \
6856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6857                   distclean) \
6858           || exit 1
6859
6860 @endif etc
6861
6862 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6863 maybe-maintainer-clean-etc:
6864 @if etc
6865 maybe-maintainer-clean-etc: maintainer-clean-etc
6866
6867 maintainer-clean-etc: 
6868         @[ -f ./etc/Makefile ] || exit 0; \
6869         r=`${PWD_COMMAND}`; export r; \
6870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6871         $(HOST_EXPORTS) \
6872         for flag in $(EXTRA_HOST_FLAGS) ; do \
6873           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6874         done; \
6875         echo "Doing maintainer-clean in etc" ; \
6876         (cd $(HOST_SUBDIR)/etc && \
6877           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6878                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6879                   "RANLIB=$${RANLIB}" \
6880                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6881                   maintainer-clean) \
6882           || exit 1
6883
6884 @endif etc
6885
6886
6887 .PHONY: configure-fastjar maybe-configure-fastjar
6888 maybe-configure-fastjar:
6889 @if fastjar
6890 maybe-configure-fastjar: configure-fastjar
6891 configure-fastjar:
6892         @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
6893         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
6894         r=`${PWD_COMMAND}`; export r; \
6895         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6896         $(HOST_EXPORTS) \
6897         echo Configuring in fastjar; \
6898         cd $(HOST_SUBDIR)/fastjar || exit 1; \
6899         case $(srcdir) in \
6900           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6901           *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
6902                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6903         esac; \
6904         srcdiroption="--srcdir=$${topdir}/fastjar"; \
6905         libsrcdir="$$s/fastjar"; \
6906         $(SHELL) $${libsrcdir}/configure \
6907           $(HOST_CONFIGARGS) $${srcdiroption}  \
6908           || exit 1
6909 @endif fastjar
6910
6911 .PHONY: all-fastjar maybe-all-fastjar
6912 maybe-all-fastjar:
6913 @if fastjar
6914 TARGET-fastjar=all
6915 maybe-all-fastjar: all-fastjar
6916 all-fastjar: configure-fastjar
6917         @r=`${PWD_COMMAND}`; export r; \
6918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919         $(HOST_EXPORTS) \
6920         (cd $(HOST_SUBDIR)/fastjar && \
6921           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-fastjar))
6922 @endif fastjar
6923
6924 .PHONY: check-fastjar maybe-check-fastjar
6925 maybe-check-fastjar:
6926 @if fastjar
6927 maybe-check-fastjar: check-fastjar
6928
6929 # This module is only tested in a native toolchain.
6930 check-fastjar:
6931         @if [ '$(host)' = '$(target)' ] ; then \
6932           r=`${PWD_COMMAND}`; export r; \
6933           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6934           $(HOST_EXPORTS) \
6935           (cd $(HOST_SUBDIR)/fastjar && \
6936             $(MAKE) $(FLAGS_TO_PASS)  check); \
6937         fi
6938
6939 @endif fastjar
6940
6941 .PHONY: install-fastjar maybe-install-fastjar
6942 maybe-install-fastjar:
6943 @if fastjar
6944 maybe-install-fastjar: install-fastjar
6945
6946 install-fastjar: installdirs
6947         @r=`${PWD_COMMAND}`; export r; \
6948         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6949         $(HOST_EXPORTS) \
6950         (cd $(HOST_SUBDIR)/fastjar && \
6951           $(MAKE) $(FLAGS_TO_PASS)  install)
6952
6953 @endif fastjar
6954
6955 # Other targets (info, dvi, etc.)
6956
6957 .PHONY: maybe-info-fastjar info-fastjar
6958 maybe-info-fastjar:
6959 @if fastjar
6960 maybe-info-fastjar: info-fastjar
6961
6962 info-fastjar: \
6963     configure-fastjar 
6964         @[ -f ./fastjar/Makefile ] || exit 0; \
6965         r=`${PWD_COMMAND}`; export r; \
6966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6967         $(HOST_EXPORTS) \
6968         for flag in $(EXTRA_HOST_FLAGS) ; do \
6969           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6970         done; \
6971         echo "Doing info in fastjar" ; \
6972         (cd $(HOST_SUBDIR)/fastjar && \
6973           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6974                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6975                   "RANLIB=$${RANLIB}" \
6976                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6977                   info) \
6978           || exit 1
6979
6980 @endif fastjar
6981
6982 .PHONY: maybe-dvi-fastjar dvi-fastjar
6983 maybe-dvi-fastjar:
6984 @if fastjar
6985 maybe-dvi-fastjar: dvi-fastjar
6986
6987 dvi-fastjar: \
6988     configure-fastjar 
6989         @[ -f ./fastjar/Makefile ] || exit 0; \
6990         r=`${PWD_COMMAND}`; export r; \
6991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6992         $(HOST_EXPORTS) \
6993         for flag in $(EXTRA_HOST_FLAGS) ; do \
6994           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6995         done; \
6996         echo "Doing dvi in fastjar" ; \
6997         (cd $(HOST_SUBDIR)/fastjar && \
6998           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6999                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7000                   "RANLIB=$${RANLIB}" \
7001                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7002                   dvi) \
7003           || exit 1
7004
7005 @endif fastjar
7006
7007 .PHONY: maybe-html-fastjar html-fastjar
7008 maybe-html-fastjar:
7009 @if fastjar
7010 maybe-html-fastjar: html-fastjar
7011
7012 html-fastjar: \
7013     configure-fastjar 
7014         @[ -f ./fastjar/Makefile ] || exit 0; \
7015         r=`${PWD_COMMAND}`; export r; \
7016         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7017         $(HOST_EXPORTS) \
7018         for flag in $(EXTRA_HOST_FLAGS) ; do \
7019           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7020         done; \
7021         echo "Doing html in fastjar" ; \
7022         (cd $(HOST_SUBDIR)/fastjar && \
7023           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7024                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7025                   "RANLIB=$${RANLIB}" \
7026                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7027                   html) \
7028           || exit 1
7029
7030 @endif fastjar
7031
7032 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7033 maybe-TAGS-fastjar:
7034 @if fastjar
7035 maybe-TAGS-fastjar: TAGS-fastjar
7036
7037 TAGS-fastjar: \
7038     configure-fastjar 
7039         @[ -f ./fastjar/Makefile ] || exit 0; \
7040         r=`${PWD_COMMAND}`; export r; \
7041         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7042         $(HOST_EXPORTS) \
7043         for flag in $(EXTRA_HOST_FLAGS) ; do \
7044           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7045         done; \
7046         echo "Doing TAGS in fastjar" ; \
7047         (cd $(HOST_SUBDIR)/fastjar && \
7048           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7049                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7050                   "RANLIB=$${RANLIB}" \
7051                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7052                   TAGS) \
7053           || exit 1
7054
7055 @endif fastjar
7056
7057 .PHONY: maybe-install-info-fastjar install-info-fastjar
7058 maybe-install-info-fastjar:
7059 @if fastjar
7060 maybe-install-info-fastjar: install-info-fastjar
7061
7062 install-info-fastjar: \
7063     configure-fastjar \
7064     info-fastjar 
7065         @[ -f ./fastjar/Makefile ] || exit 0; \
7066         r=`${PWD_COMMAND}`; export r; \
7067         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7068         $(HOST_EXPORTS) \
7069         for flag in $(EXTRA_HOST_FLAGS) ; do \
7070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7071         done; \
7072         echo "Doing install-info in fastjar" ; \
7073         (cd $(HOST_SUBDIR)/fastjar && \
7074           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7075                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7076                   "RANLIB=$${RANLIB}" \
7077                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7078                   install-info) \
7079           || exit 1
7080
7081 @endif fastjar
7082
7083 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7084 maybe-installcheck-fastjar:
7085 @if fastjar
7086 maybe-installcheck-fastjar: installcheck-fastjar
7087
7088 installcheck-fastjar: \
7089     configure-fastjar 
7090         @[ -f ./fastjar/Makefile ] || exit 0; \
7091         r=`${PWD_COMMAND}`; export r; \
7092         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7093         $(HOST_EXPORTS) \
7094         for flag in $(EXTRA_HOST_FLAGS) ; do \
7095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7096         done; \
7097         echo "Doing installcheck in fastjar" ; \
7098         (cd $(HOST_SUBDIR)/fastjar && \
7099           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7100                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7101                   "RANLIB=$${RANLIB}" \
7102                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7103                   installcheck) \
7104           || exit 1
7105
7106 @endif fastjar
7107
7108 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7109 maybe-mostlyclean-fastjar:
7110 @if fastjar
7111 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7112
7113 mostlyclean-fastjar: 
7114         @[ -f ./fastjar/Makefile ] || exit 0; \
7115         r=`${PWD_COMMAND}`; export r; \
7116         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7117         $(HOST_EXPORTS) \
7118         for flag in $(EXTRA_HOST_FLAGS) ; do \
7119           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7120         done; \
7121         echo "Doing mostlyclean in fastjar" ; \
7122         (cd $(HOST_SUBDIR)/fastjar && \
7123           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7124                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7125                   "RANLIB=$${RANLIB}" \
7126                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7127                   mostlyclean) \
7128           || exit 1
7129
7130 @endif fastjar
7131
7132 .PHONY: maybe-clean-fastjar clean-fastjar
7133 maybe-clean-fastjar:
7134 @if fastjar
7135 maybe-clean-fastjar: clean-fastjar
7136
7137 clean-fastjar: 
7138         @[ -f ./fastjar/Makefile ] || exit 0; \
7139         r=`${PWD_COMMAND}`; export r; \
7140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7141         $(HOST_EXPORTS) \
7142         for flag in $(EXTRA_HOST_FLAGS) ; do \
7143           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7144         done; \
7145         echo "Doing clean in fastjar" ; \
7146         (cd $(HOST_SUBDIR)/fastjar && \
7147           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7148                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7149                   "RANLIB=$${RANLIB}" \
7150                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7151                   clean) \
7152           || exit 1
7153
7154 @endif fastjar
7155
7156 .PHONY: maybe-distclean-fastjar distclean-fastjar
7157 maybe-distclean-fastjar:
7158 @if fastjar
7159 maybe-distclean-fastjar: distclean-fastjar
7160
7161 distclean-fastjar: 
7162         @[ -f ./fastjar/Makefile ] || exit 0; \
7163         r=`${PWD_COMMAND}`; export r; \
7164         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7165         $(HOST_EXPORTS) \
7166         for flag in $(EXTRA_HOST_FLAGS) ; do \
7167           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7168         done; \
7169         echo "Doing distclean in fastjar" ; \
7170         (cd $(HOST_SUBDIR)/fastjar && \
7171           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7172                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7173                   "RANLIB=$${RANLIB}" \
7174                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7175                   distclean) \
7176           || exit 1
7177
7178 @endif fastjar
7179
7180 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7181 maybe-maintainer-clean-fastjar:
7182 @if fastjar
7183 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7184
7185 maintainer-clean-fastjar: 
7186         @[ -f ./fastjar/Makefile ] || exit 0; \
7187         r=`${PWD_COMMAND}`; export r; \
7188         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7189         $(HOST_EXPORTS) \
7190         for flag in $(EXTRA_HOST_FLAGS) ; do \
7191           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7192         done; \
7193         echo "Doing maintainer-clean in fastjar" ; \
7194         (cd $(HOST_SUBDIR)/fastjar && \
7195           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7196                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7197                   "RANLIB=$${RANLIB}" \
7198                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7199                   maintainer-clean) \
7200           || exit 1
7201
7202 @endif fastjar
7203
7204
7205 .PHONY: configure-fileutils maybe-configure-fileutils
7206 maybe-configure-fileutils:
7207 @if fileutils
7208 maybe-configure-fileutils: configure-fileutils
7209 configure-fileutils:
7210         @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
7211         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
7212         r=`${PWD_COMMAND}`; export r; \
7213         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7214         $(HOST_EXPORTS) \
7215         echo Configuring in fileutils; \
7216         cd $(HOST_SUBDIR)/fileutils || exit 1; \
7217         case $(srcdir) in \
7218           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7219           *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
7220                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7221         esac; \
7222         srcdiroption="--srcdir=$${topdir}/fileutils"; \
7223         libsrcdir="$$s/fileutils"; \
7224         $(SHELL) $${libsrcdir}/configure \
7225           $(HOST_CONFIGARGS) $${srcdiroption}  \
7226           || exit 1
7227 @endif fileutils
7228
7229 .PHONY: all-fileutils maybe-all-fileutils
7230 maybe-all-fileutils:
7231 @if fileutils
7232 TARGET-fileutils=all
7233 maybe-all-fileutils: all-fileutils
7234 all-fileutils: configure-fileutils
7235         @r=`${PWD_COMMAND}`; export r; \
7236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7237         $(HOST_EXPORTS) \
7238         (cd $(HOST_SUBDIR)/fileutils && \
7239           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-fileutils))
7240 @endif fileutils
7241
7242 .PHONY: check-fileutils maybe-check-fileutils
7243 maybe-check-fileutils:
7244 @if fileutils
7245 maybe-check-fileutils: check-fileutils
7246
7247 check-fileutils:
7248         @r=`${PWD_COMMAND}`; export r; \
7249         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7250         $(HOST_EXPORTS) \
7251         (cd $(HOST_SUBDIR)/fileutils && \
7252           $(MAKE) $(FLAGS_TO_PASS)  check)
7253
7254 @endif fileutils
7255
7256 .PHONY: install-fileutils maybe-install-fileutils
7257 maybe-install-fileutils:
7258 @if fileutils
7259 maybe-install-fileutils: install-fileutils
7260
7261 install-fileutils: installdirs
7262         @r=`${PWD_COMMAND}`; export r; \
7263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7264         $(HOST_EXPORTS) \
7265         (cd $(HOST_SUBDIR)/fileutils && \
7266           $(MAKE) $(FLAGS_TO_PASS)  install)
7267
7268 @endif fileutils
7269
7270 # Other targets (info, dvi, etc.)
7271
7272 .PHONY: maybe-info-fileutils info-fileutils
7273 maybe-info-fileutils:
7274 @if fileutils
7275 maybe-info-fileutils: info-fileutils
7276
7277 info-fileutils: \
7278     configure-fileutils 
7279         @[ -f ./fileutils/Makefile ] || exit 0; \
7280         r=`${PWD_COMMAND}`; export r; \
7281         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7282         $(HOST_EXPORTS) \
7283         for flag in $(EXTRA_HOST_FLAGS) ; do \
7284           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7285         done; \
7286         echo "Doing info in fileutils" ; \
7287         (cd $(HOST_SUBDIR)/fileutils && \
7288           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7289                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7290                   "RANLIB=$${RANLIB}" \
7291                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7292                   info) \
7293           || exit 1
7294
7295 @endif fileutils
7296
7297 .PHONY: maybe-dvi-fileutils dvi-fileutils
7298 maybe-dvi-fileutils:
7299 @if fileutils
7300 maybe-dvi-fileutils: dvi-fileutils
7301
7302 dvi-fileutils: \
7303     configure-fileutils 
7304         @[ -f ./fileutils/Makefile ] || exit 0; \
7305         r=`${PWD_COMMAND}`; export r; \
7306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7307         $(HOST_EXPORTS) \
7308         for flag in $(EXTRA_HOST_FLAGS) ; do \
7309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7310         done; \
7311         echo "Doing dvi in fileutils" ; \
7312         (cd $(HOST_SUBDIR)/fileutils && \
7313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7315                   "RANLIB=$${RANLIB}" \
7316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7317                   dvi) \
7318           || exit 1
7319
7320 @endif fileutils
7321
7322 .PHONY: maybe-html-fileutils html-fileutils
7323 maybe-html-fileutils:
7324 @if fileutils
7325 maybe-html-fileutils: html-fileutils
7326
7327 html-fileutils: \
7328     configure-fileutils 
7329         @[ -f ./fileutils/Makefile ] || exit 0; \
7330         r=`${PWD_COMMAND}`; export r; \
7331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7332         $(HOST_EXPORTS) \
7333         for flag in $(EXTRA_HOST_FLAGS) ; do \
7334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7335         done; \
7336         echo "Doing html in fileutils" ; \
7337         (cd $(HOST_SUBDIR)/fileutils && \
7338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7340                   "RANLIB=$${RANLIB}" \
7341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7342                   html) \
7343           || exit 1
7344
7345 @endif fileutils
7346
7347 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7348 maybe-TAGS-fileutils:
7349 @if fileutils
7350 maybe-TAGS-fileutils: TAGS-fileutils
7351
7352 TAGS-fileutils: \
7353     configure-fileutils 
7354         @[ -f ./fileutils/Makefile ] || exit 0; \
7355         r=`${PWD_COMMAND}`; export r; \
7356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7357         $(HOST_EXPORTS) \
7358         for flag in $(EXTRA_HOST_FLAGS) ; do \
7359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7360         done; \
7361         echo "Doing TAGS in fileutils" ; \
7362         (cd $(HOST_SUBDIR)/fileutils && \
7363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7365                   "RANLIB=$${RANLIB}" \
7366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7367                   TAGS) \
7368           || exit 1
7369
7370 @endif fileutils
7371
7372 .PHONY: maybe-install-info-fileutils install-info-fileutils
7373 maybe-install-info-fileutils:
7374 @if fileutils
7375 maybe-install-info-fileutils: install-info-fileutils
7376
7377 install-info-fileutils: \
7378     configure-fileutils \
7379     info-fileutils 
7380         @[ -f ./fileutils/Makefile ] || exit 0; \
7381         r=`${PWD_COMMAND}`; export r; \
7382         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7383         $(HOST_EXPORTS) \
7384         for flag in $(EXTRA_HOST_FLAGS) ; do \
7385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7386         done; \
7387         echo "Doing install-info in fileutils" ; \
7388         (cd $(HOST_SUBDIR)/fileutils && \
7389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7391                   "RANLIB=$${RANLIB}" \
7392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7393                   install-info) \
7394           || exit 1
7395
7396 @endif fileutils
7397
7398 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7399 maybe-installcheck-fileutils:
7400 @if fileutils
7401 maybe-installcheck-fileutils: installcheck-fileutils
7402
7403 installcheck-fileutils: \
7404     configure-fileutils 
7405         @[ -f ./fileutils/Makefile ] || exit 0; \
7406         r=`${PWD_COMMAND}`; export r; \
7407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7408         $(HOST_EXPORTS) \
7409         for flag in $(EXTRA_HOST_FLAGS) ; do \
7410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7411         done; \
7412         echo "Doing installcheck in fileutils" ; \
7413         (cd $(HOST_SUBDIR)/fileutils && \
7414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7416                   "RANLIB=$${RANLIB}" \
7417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7418                   installcheck) \
7419           || exit 1
7420
7421 @endif fileutils
7422
7423 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7424 maybe-mostlyclean-fileutils:
7425 @if fileutils
7426 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7427
7428 mostlyclean-fileutils: 
7429         @[ -f ./fileutils/Makefile ] || exit 0; \
7430         r=`${PWD_COMMAND}`; export r; \
7431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7432         $(HOST_EXPORTS) \
7433         for flag in $(EXTRA_HOST_FLAGS) ; do \
7434           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7435         done; \
7436         echo "Doing mostlyclean in fileutils" ; \
7437         (cd $(HOST_SUBDIR)/fileutils && \
7438           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7439                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7440                   "RANLIB=$${RANLIB}" \
7441                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7442                   mostlyclean) \
7443           || exit 1
7444
7445 @endif fileutils
7446
7447 .PHONY: maybe-clean-fileutils clean-fileutils
7448 maybe-clean-fileutils:
7449 @if fileutils
7450 maybe-clean-fileutils: clean-fileutils
7451
7452 clean-fileutils: 
7453         @[ -f ./fileutils/Makefile ] || exit 0; \
7454         r=`${PWD_COMMAND}`; export r; \
7455         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7456         $(HOST_EXPORTS) \
7457         for flag in $(EXTRA_HOST_FLAGS) ; do \
7458           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7459         done; \
7460         echo "Doing clean in fileutils" ; \
7461         (cd $(HOST_SUBDIR)/fileutils && \
7462           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7463                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7464                   "RANLIB=$${RANLIB}" \
7465                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7466                   clean) \
7467           || exit 1
7468
7469 @endif fileutils
7470
7471 .PHONY: maybe-distclean-fileutils distclean-fileutils
7472 maybe-distclean-fileutils:
7473 @if fileutils
7474 maybe-distclean-fileutils: distclean-fileutils
7475
7476 distclean-fileutils: 
7477         @[ -f ./fileutils/Makefile ] || exit 0; \
7478         r=`${PWD_COMMAND}`; export r; \
7479         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7480         $(HOST_EXPORTS) \
7481         for flag in $(EXTRA_HOST_FLAGS) ; do \
7482           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7483         done; \
7484         echo "Doing distclean in fileutils" ; \
7485         (cd $(HOST_SUBDIR)/fileutils && \
7486           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7487                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7488                   "RANLIB=$${RANLIB}" \
7489                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7490                   distclean) \
7491           || exit 1
7492
7493 @endif fileutils
7494
7495 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7496 maybe-maintainer-clean-fileutils:
7497 @if fileutils
7498 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7499
7500 maintainer-clean-fileutils: 
7501         @[ -f ./fileutils/Makefile ] || exit 0; \
7502         r=`${PWD_COMMAND}`; export r; \
7503         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7504         $(HOST_EXPORTS) \
7505         for flag in $(EXTRA_HOST_FLAGS) ; do \
7506           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7507         done; \
7508         echo "Doing maintainer-clean in fileutils" ; \
7509         (cd $(HOST_SUBDIR)/fileutils && \
7510           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7511                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7512                   "RANLIB=$${RANLIB}" \
7513                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7514                   maintainer-clean) \
7515           || exit 1
7516
7517 @endif fileutils
7518
7519
7520 .PHONY: configure-findutils maybe-configure-findutils
7521 maybe-configure-findutils:
7522 @if findutils
7523 maybe-configure-findutils: configure-findutils
7524 configure-findutils:
7525         @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
7526         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
7527         r=`${PWD_COMMAND}`; export r; \
7528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7529         $(HOST_EXPORTS) \
7530         echo Configuring in findutils; \
7531         cd $(HOST_SUBDIR)/findutils || exit 1; \
7532         case $(srcdir) in \
7533           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7534           *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
7535                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7536         esac; \
7537         srcdiroption="--srcdir=$${topdir}/findutils"; \
7538         libsrcdir="$$s/findutils"; \
7539         $(SHELL) $${libsrcdir}/configure \
7540           $(HOST_CONFIGARGS) $${srcdiroption}  \
7541           || exit 1
7542 @endif findutils
7543
7544 .PHONY: all-findutils maybe-all-findutils
7545 maybe-all-findutils:
7546 @if findutils
7547 TARGET-findutils=all
7548 maybe-all-findutils: all-findutils
7549 all-findutils: configure-findutils
7550         @r=`${PWD_COMMAND}`; export r; \
7551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7552         $(HOST_EXPORTS) \
7553         (cd $(HOST_SUBDIR)/findutils && \
7554           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-findutils))
7555 @endif findutils
7556
7557 .PHONY: check-findutils maybe-check-findutils
7558 maybe-check-findutils:
7559 @if findutils
7560 maybe-check-findutils: check-findutils
7561
7562 check-findutils:
7563         @r=`${PWD_COMMAND}`; export r; \
7564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7565         $(HOST_EXPORTS) \
7566         (cd $(HOST_SUBDIR)/findutils && \
7567           $(MAKE) $(FLAGS_TO_PASS)  check)
7568
7569 @endif findutils
7570
7571 .PHONY: install-findutils maybe-install-findutils
7572 maybe-install-findutils:
7573 @if findutils
7574 maybe-install-findutils: install-findutils
7575
7576 install-findutils: installdirs
7577         @r=`${PWD_COMMAND}`; export r; \
7578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7579         $(HOST_EXPORTS) \
7580         (cd $(HOST_SUBDIR)/findutils && \
7581           $(MAKE) $(FLAGS_TO_PASS)  install)
7582
7583 @endif findutils
7584
7585 # Other targets (info, dvi, etc.)
7586
7587 .PHONY: maybe-info-findutils info-findutils
7588 maybe-info-findutils:
7589 @if findutils
7590 maybe-info-findutils: info-findutils
7591
7592 info-findutils: \
7593     configure-findutils 
7594         @[ -f ./findutils/Makefile ] || exit 0; \
7595         r=`${PWD_COMMAND}`; export r; \
7596         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7597         $(HOST_EXPORTS) \
7598         for flag in $(EXTRA_HOST_FLAGS) ; do \
7599           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7600         done; \
7601         echo "Doing info in findutils" ; \
7602         (cd $(HOST_SUBDIR)/findutils && \
7603           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605                   "RANLIB=$${RANLIB}" \
7606                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7607                   info) \
7608           || exit 1
7609
7610 @endif findutils
7611
7612 .PHONY: maybe-dvi-findutils dvi-findutils
7613 maybe-dvi-findutils:
7614 @if findutils
7615 maybe-dvi-findutils: dvi-findutils
7616
7617 dvi-findutils: \
7618     configure-findutils 
7619         @[ -f ./findutils/Makefile ] || exit 0; \
7620         r=`${PWD_COMMAND}`; export r; \
7621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7622         $(HOST_EXPORTS) \
7623         for flag in $(EXTRA_HOST_FLAGS) ; do \
7624           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7625         done; \
7626         echo "Doing dvi in findutils" ; \
7627         (cd $(HOST_SUBDIR)/findutils && \
7628           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630                   "RANLIB=$${RANLIB}" \
7631                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7632                   dvi) \
7633           || exit 1
7634
7635 @endif findutils
7636
7637 .PHONY: maybe-html-findutils html-findutils
7638 maybe-html-findutils:
7639 @if findutils
7640 maybe-html-findutils: html-findutils
7641
7642 html-findutils: \
7643     configure-findutils 
7644         @[ -f ./findutils/Makefile ] || exit 0; \
7645         r=`${PWD_COMMAND}`; export r; \
7646         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7647         $(HOST_EXPORTS) \
7648         for flag in $(EXTRA_HOST_FLAGS) ; do \
7649           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7650         done; \
7651         echo "Doing html in findutils" ; \
7652         (cd $(HOST_SUBDIR)/findutils && \
7653           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7654                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7655                   "RANLIB=$${RANLIB}" \
7656                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7657                   html) \
7658           || exit 1
7659
7660 @endif findutils
7661
7662 .PHONY: maybe-TAGS-findutils TAGS-findutils
7663 maybe-TAGS-findutils:
7664 @if findutils
7665 maybe-TAGS-findutils: TAGS-findutils
7666
7667 TAGS-findutils: \
7668     configure-findutils 
7669         @[ -f ./findutils/Makefile ] || exit 0; \
7670         r=`${PWD_COMMAND}`; export r; \
7671         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7672         $(HOST_EXPORTS) \
7673         for flag in $(EXTRA_HOST_FLAGS) ; do \
7674           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7675         done; \
7676         echo "Doing TAGS in findutils" ; \
7677         (cd $(HOST_SUBDIR)/findutils && \
7678           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7679                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7680                   "RANLIB=$${RANLIB}" \
7681                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7682                   TAGS) \
7683           || exit 1
7684
7685 @endif findutils
7686
7687 .PHONY: maybe-install-info-findutils install-info-findutils
7688 maybe-install-info-findutils:
7689 @if findutils
7690 maybe-install-info-findutils: install-info-findutils
7691
7692 install-info-findutils: \
7693     configure-findutils \
7694     info-findutils 
7695         @[ -f ./findutils/Makefile ] || exit 0; \
7696         r=`${PWD_COMMAND}`; export r; \
7697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7698         $(HOST_EXPORTS) \
7699         for flag in $(EXTRA_HOST_FLAGS) ; do \
7700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7701         done; \
7702         echo "Doing install-info in findutils" ; \
7703         (cd $(HOST_SUBDIR)/findutils && \
7704           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7705                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7706                   "RANLIB=$${RANLIB}" \
7707                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7708                   install-info) \
7709           || exit 1
7710
7711 @endif findutils
7712
7713 .PHONY: maybe-installcheck-findutils installcheck-findutils
7714 maybe-installcheck-findutils:
7715 @if findutils
7716 maybe-installcheck-findutils: installcheck-findutils
7717
7718 installcheck-findutils: \
7719     configure-findutils 
7720         @[ -f ./findutils/Makefile ] || exit 0; \
7721         r=`${PWD_COMMAND}`; export r; \
7722         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7723         $(HOST_EXPORTS) \
7724         for flag in $(EXTRA_HOST_FLAGS) ; do \
7725           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7726         done; \
7727         echo "Doing installcheck in findutils" ; \
7728         (cd $(HOST_SUBDIR)/findutils && \
7729           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7730                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7731                   "RANLIB=$${RANLIB}" \
7732                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7733                   installcheck) \
7734           || exit 1
7735
7736 @endif findutils
7737
7738 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7739 maybe-mostlyclean-findutils:
7740 @if findutils
7741 maybe-mostlyclean-findutils: mostlyclean-findutils
7742
7743 mostlyclean-findutils: 
7744         @[ -f ./findutils/Makefile ] || exit 0; \
7745         r=`${PWD_COMMAND}`; export r; \
7746         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7747         $(HOST_EXPORTS) \
7748         for flag in $(EXTRA_HOST_FLAGS) ; do \
7749           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7750         done; \
7751         echo "Doing mostlyclean in findutils" ; \
7752         (cd $(HOST_SUBDIR)/findutils && \
7753           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7754                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7755                   "RANLIB=$${RANLIB}" \
7756                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7757                   mostlyclean) \
7758           || exit 1
7759
7760 @endif findutils
7761
7762 .PHONY: maybe-clean-findutils clean-findutils
7763 maybe-clean-findutils:
7764 @if findutils
7765 maybe-clean-findutils: clean-findutils
7766
7767 clean-findutils: 
7768         @[ -f ./findutils/Makefile ] || exit 0; \
7769         r=`${PWD_COMMAND}`; export r; \
7770         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7771         $(HOST_EXPORTS) \
7772         for flag in $(EXTRA_HOST_FLAGS) ; do \
7773           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7774         done; \
7775         echo "Doing clean in findutils" ; \
7776         (cd $(HOST_SUBDIR)/findutils && \
7777           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7778                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7779                   "RANLIB=$${RANLIB}" \
7780                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7781                   clean) \
7782           || exit 1
7783
7784 @endif findutils
7785
7786 .PHONY: maybe-distclean-findutils distclean-findutils
7787 maybe-distclean-findutils:
7788 @if findutils
7789 maybe-distclean-findutils: distclean-findutils
7790
7791 distclean-findutils: 
7792         @[ -f ./findutils/Makefile ] || exit 0; \
7793         r=`${PWD_COMMAND}`; export r; \
7794         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7795         $(HOST_EXPORTS) \
7796         for flag in $(EXTRA_HOST_FLAGS) ; do \
7797           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7798         done; \
7799         echo "Doing distclean in findutils" ; \
7800         (cd $(HOST_SUBDIR)/findutils && \
7801           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7802                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7803                   "RANLIB=$${RANLIB}" \
7804                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7805                   distclean) \
7806           || exit 1
7807
7808 @endif findutils
7809
7810 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7811 maybe-maintainer-clean-findutils:
7812 @if findutils
7813 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7814
7815 maintainer-clean-findutils: 
7816         @[ -f ./findutils/Makefile ] || exit 0; \
7817         r=`${PWD_COMMAND}`; export r; \
7818         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7819         $(HOST_EXPORTS) \
7820         for flag in $(EXTRA_HOST_FLAGS) ; do \
7821           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7822         done; \
7823         echo "Doing maintainer-clean in findutils" ; \
7824         (cd $(HOST_SUBDIR)/findutils && \
7825           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7826                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7827                   "RANLIB=$${RANLIB}" \
7828                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7829                   maintainer-clean) \
7830           || exit 1
7831
7832 @endif findutils
7833
7834
7835 .PHONY: configure-find maybe-configure-find
7836 maybe-configure-find:
7837 @if find
7838 maybe-configure-find: configure-find
7839 configure-find:
7840         @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
7841         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
7842         r=`${PWD_COMMAND}`; export r; \
7843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7844         $(HOST_EXPORTS) \
7845         echo Configuring in find; \
7846         cd $(HOST_SUBDIR)/find || exit 1; \
7847         case $(srcdir) in \
7848           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7849           *) topdir=`echo $(HOST_SUBDIR)/find/ | \
7850                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7851         esac; \
7852         srcdiroption="--srcdir=$${topdir}/find"; \
7853         libsrcdir="$$s/find"; \
7854         $(SHELL) $${libsrcdir}/configure \
7855           $(HOST_CONFIGARGS) $${srcdiroption}  \
7856           || exit 1
7857 @endif find
7858
7859 .PHONY: all-find maybe-all-find
7860 maybe-all-find:
7861 @if find
7862 TARGET-find=all
7863 maybe-all-find: all-find
7864 all-find: configure-find
7865         @r=`${PWD_COMMAND}`; export r; \
7866         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7867         $(HOST_EXPORTS) \
7868         (cd $(HOST_SUBDIR)/find && \
7869           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-find))
7870 @endif find
7871
7872 .PHONY: check-find maybe-check-find
7873 maybe-check-find:
7874 @if find
7875 maybe-check-find: check-find
7876
7877 check-find:
7878         @r=`${PWD_COMMAND}`; export r; \
7879         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7880         $(HOST_EXPORTS) \
7881         (cd $(HOST_SUBDIR)/find && \
7882           $(MAKE) $(FLAGS_TO_PASS)  check)
7883
7884 @endif find
7885
7886 .PHONY: install-find maybe-install-find
7887 maybe-install-find:
7888 @if find
7889 maybe-install-find: install-find
7890
7891 install-find: installdirs
7892         @r=`${PWD_COMMAND}`; export r; \
7893         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7894         $(HOST_EXPORTS) \
7895         (cd $(HOST_SUBDIR)/find && \
7896           $(MAKE) $(FLAGS_TO_PASS)  install)
7897
7898 @endif find
7899
7900 # Other targets (info, dvi, etc.)
7901
7902 .PHONY: maybe-info-find info-find
7903 maybe-info-find:
7904 @if find
7905 maybe-info-find: info-find
7906
7907 info-find: \
7908     configure-find 
7909         @[ -f ./find/Makefile ] || exit 0; \
7910         r=`${PWD_COMMAND}`; export r; \
7911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7912         $(HOST_EXPORTS) \
7913         for flag in $(EXTRA_HOST_FLAGS) ; do \
7914           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7915         done; \
7916         echo "Doing info in find" ; \
7917         (cd $(HOST_SUBDIR)/find && \
7918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7920                   "RANLIB=$${RANLIB}" \
7921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7922                   info) \
7923           || exit 1
7924
7925 @endif find
7926
7927 .PHONY: maybe-dvi-find dvi-find
7928 maybe-dvi-find:
7929 @if find
7930 maybe-dvi-find: dvi-find
7931
7932 dvi-find: \
7933     configure-find 
7934         @[ -f ./find/Makefile ] || exit 0; \
7935         r=`${PWD_COMMAND}`; export r; \
7936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7937         $(HOST_EXPORTS) \
7938         for flag in $(EXTRA_HOST_FLAGS) ; do \
7939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7940         done; \
7941         echo "Doing dvi in find" ; \
7942         (cd $(HOST_SUBDIR)/find && \
7943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7945                   "RANLIB=$${RANLIB}" \
7946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7947                   dvi) \
7948           || exit 1
7949
7950 @endif find
7951
7952 .PHONY: maybe-html-find html-find
7953 maybe-html-find:
7954 @if find
7955 maybe-html-find: html-find
7956
7957 html-find: \
7958     configure-find 
7959         @[ -f ./find/Makefile ] || exit 0; \
7960         r=`${PWD_COMMAND}`; export r; \
7961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7962         $(HOST_EXPORTS) \
7963         for flag in $(EXTRA_HOST_FLAGS) ; do \
7964           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7965         done; \
7966         echo "Doing html in find" ; \
7967         (cd $(HOST_SUBDIR)/find && \
7968           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7969                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7970                   "RANLIB=$${RANLIB}" \
7971                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7972                   html) \
7973           || exit 1
7974
7975 @endif find
7976
7977 .PHONY: maybe-TAGS-find TAGS-find
7978 maybe-TAGS-find:
7979 @if find
7980 maybe-TAGS-find: TAGS-find
7981
7982 TAGS-find: \
7983     configure-find 
7984         @[ -f ./find/Makefile ] || exit 0; \
7985         r=`${PWD_COMMAND}`; export r; \
7986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7987         $(HOST_EXPORTS) \
7988         for flag in $(EXTRA_HOST_FLAGS) ; do \
7989           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7990         done; \
7991         echo "Doing TAGS in find" ; \
7992         (cd $(HOST_SUBDIR)/find && \
7993           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7994                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7995                   "RANLIB=$${RANLIB}" \
7996                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7997                   TAGS) \
7998           || exit 1
7999
8000 @endif find
8001
8002 .PHONY: maybe-install-info-find install-info-find
8003 maybe-install-info-find:
8004 @if find
8005 maybe-install-info-find: install-info-find
8006
8007 install-info-find: \
8008     configure-find \
8009     info-find 
8010         @[ -f ./find/Makefile ] || exit 0; \
8011         r=`${PWD_COMMAND}`; export r; \
8012         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8013         $(HOST_EXPORTS) \
8014         for flag in $(EXTRA_HOST_FLAGS) ; do \
8015           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8016         done; \
8017         echo "Doing install-info in find" ; \
8018         (cd $(HOST_SUBDIR)/find && \
8019           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8020                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8021                   "RANLIB=$${RANLIB}" \
8022                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8023                   install-info) \
8024           || exit 1
8025
8026 @endif find
8027
8028 .PHONY: maybe-installcheck-find installcheck-find
8029 maybe-installcheck-find:
8030 @if find
8031 maybe-installcheck-find: installcheck-find
8032
8033 installcheck-find: \
8034     configure-find 
8035         @[ -f ./find/Makefile ] || exit 0; \
8036         r=`${PWD_COMMAND}`; export r; \
8037         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8038         $(HOST_EXPORTS) \
8039         for flag in $(EXTRA_HOST_FLAGS) ; do \
8040           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8041         done; \
8042         echo "Doing installcheck in find" ; \
8043         (cd $(HOST_SUBDIR)/find && \
8044           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8045                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8046                   "RANLIB=$${RANLIB}" \
8047                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8048                   installcheck) \
8049           || exit 1
8050
8051 @endif find
8052
8053 .PHONY: maybe-mostlyclean-find mostlyclean-find
8054 maybe-mostlyclean-find:
8055 @if find
8056 maybe-mostlyclean-find: mostlyclean-find
8057
8058 mostlyclean-find: 
8059         @[ -f ./find/Makefile ] || exit 0; \
8060         r=`${PWD_COMMAND}`; export r; \
8061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8062         $(HOST_EXPORTS) \
8063         for flag in $(EXTRA_HOST_FLAGS) ; do \
8064           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8065         done; \
8066         echo "Doing mostlyclean in find" ; \
8067         (cd $(HOST_SUBDIR)/find && \
8068           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8069                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8070                   "RANLIB=$${RANLIB}" \
8071                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8072                   mostlyclean) \
8073           || exit 1
8074
8075 @endif find
8076
8077 .PHONY: maybe-clean-find clean-find
8078 maybe-clean-find:
8079 @if find
8080 maybe-clean-find: clean-find
8081
8082 clean-find: 
8083         @[ -f ./find/Makefile ] || exit 0; \
8084         r=`${PWD_COMMAND}`; export r; \
8085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8086         $(HOST_EXPORTS) \
8087         for flag in $(EXTRA_HOST_FLAGS) ; do \
8088           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8089         done; \
8090         echo "Doing clean in find" ; \
8091         (cd $(HOST_SUBDIR)/find && \
8092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8094                   "RANLIB=$${RANLIB}" \
8095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8096                   clean) \
8097           || exit 1
8098
8099 @endif find
8100
8101 .PHONY: maybe-distclean-find distclean-find
8102 maybe-distclean-find:
8103 @if find
8104 maybe-distclean-find: distclean-find
8105
8106 distclean-find: 
8107         @[ -f ./find/Makefile ] || exit 0; \
8108         r=`${PWD_COMMAND}`; export r; \
8109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8110         $(HOST_EXPORTS) \
8111         for flag in $(EXTRA_HOST_FLAGS) ; do \
8112           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8113         done; \
8114         echo "Doing distclean in find" ; \
8115         (cd $(HOST_SUBDIR)/find && \
8116           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8117                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8118                   "RANLIB=$${RANLIB}" \
8119                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8120                   distclean) \
8121           || exit 1
8122
8123 @endif find
8124
8125 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8126 maybe-maintainer-clean-find:
8127 @if find
8128 maybe-maintainer-clean-find: maintainer-clean-find
8129
8130 maintainer-clean-find: 
8131         @[ -f ./find/Makefile ] || exit 0; \
8132         r=`${PWD_COMMAND}`; export r; \
8133         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 maintainer-clean in find" ; \
8139         (cd $(HOST_SUBDIR)/find && \
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                   maintainer-clean) \
8145           || exit 1
8146
8147 @endif find
8148
8149
8150 .PHONY: configure-fixincludes maybe-configure-fixincludes
8151 maybe-configure-fixincludes:
8152 @if fixincludes
8153 maybe-configure-fixincludes: configure-fixincludes
8154 configure-fixincludes:
8155         @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8156         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8157         r=`${PWD_COMMAND}`; export r; \
8158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8159         $(HOST_EXPORTS) \
8160         echo Configuring in fixincludes; \
8161         cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8162         case $(srcdir) in \
8163           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8164           *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8165                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8166         esac; \
8167         srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8168         libsrcdir="$$s/fixincludes"; \
8169         $(SHELL) $${libsrcdir}/configure \
8170           $(HOST_CONFIGARGS) $${srcdiroption}  \
8171           || exit 1
8172 @endif fixincludes
8173
8174 .PHONY: all-fixincludes maybe-all-fixincludes
8175 maybe-all-fixincludes:
8176 @if fixincludes
8177 TARGET-fixincludes=all
8178 maybe-all-fixincludes: all-fixincludes
8179 all-fixincludes: configure-fixincludes
8180         @r=`${PWD_COMMAND}`; export r; \
8181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8182         $(HOST_EXPORTS) \
8183         (cd $(HOST_SUBDIR)/fixincludes && \
8184           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-fixincludes))
8185 @endif fixincludes
8186
8187 .PHONY: check-fixincludes maybe-check-fixincludes
8188 maybe-check-fixincludes:
8189 @if fixincludes
8190 maybe-check-fixincludes: check-fixincludes
8191
8192 check-fixincludes:
8193         @r=`${PWD_COMMAND}`; export r; \
8194         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195         $(HOST_EXPORTS) \
8196         (cd $(HOST_SUBDIR)/fixincludes && \
8197           $(MAKE) $(FLAGS_TO_PASS)  check)
8198
8199 @endif fixincludes
8200
8201 .PHONY: install-fixincludes maybe-install-fixincludes
8202 maybe-install-fixincludes:
8203 @if fixincludes
8204 maybe-install-fixincludes: install-fixincludes
8205
8206 install-fixincludes: installdirs
8207         @r=`${PWD_COMMAND}`; export r; \
8208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209         $(HOST_EXPORTS) \
8210         (cd $(HOST_SUBDIR)/fixincludes && \
8211           $(MAKE) $(FLAGS_TO_PASS)  install)
8212
8213 @endif fixincludes
8214
8215 # Other targets (info, dvi, etc.)
8216
8217 .PHONY: maybe-info-fixincludes info-fixincludes
8218 maybe-info-fixincludes:
8219 @if fixincludes
8220 maybe-info-fixincludes: info-fixincludes
8221
8222 # fixincludes doesn't support info.
8223 info-fixincludes:
8224
8225 @endif fixincludes
8226
8227 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8228 maybe-dvi-fixincludes:
8229 @if fixincludes
8230 maybe-dvi-fixincludes: dvi-fixincludes
8231
8232 # fixincludes doesn't support dvi.
8233 dvi-fixincludes:
8234
8235 @endif fixincludes
8236
8237 .PHONY: maybe-html-fixincludes html-fixincludes
8238 maybe-html-fixincludes:
8239 @if fixincludes
8240 maybe-html-fixincludes: html-fixincludes
8241
8242 html-fixincludes: \
8243     configure-fixincludes 
8244         @[ -f ./fixincludes/Makefile ] || exit 0; \
8245         r=`${PWD_COMMAND}`; export r; \
8246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8247         $(HOST_EXPORTS) \
8248         for flag in $(EXTRA_HOST_FLAGS) ; do \
8249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8250         done; \
8251         echo "Doing html in fixincludes" ; \
8252         (cd $(HOST_SUBDIR)/fixincludes && \
8253           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8254                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8255                   "RANLIB=$${RANLIB}" \
8256                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8257                   html) \
8258           || exit 1
8259
8260 @endif fixincludes
8261
8262 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8263 maybe-TAGS-fixincludes:
8264 @if fixincludes
8265 maybe-TAGS-fixincludes: TAGS-fixincludes
8266
8267 # fixincludes doesn't support TAGS.
8268 TAGS-fixincludes:
8269
8270 @endif fixincludes
8271
8272 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8273 maybe-install-info-fixincludes:
8274 @if fixincludes
8275 maybe-install-info-fixincludes: install-info-fixincludes
8276
8277 # fixincludes doesn't support install-info.
8278 install-info-fixincludes:
8279
8280 @endif fixincludes
8281
8282 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8283 maybe-installcheck-fixincludes:
8284 @if fixincludes
8285 maybe-installcheck-fixincludes: installcheck-fixincludes
8286
8287 # fixincludes doesn't support installcheck.
8288 installcheck-fixincludes:
8289
8290 @endif fixincludes
8291
8292 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8293 maybe-mostlyclean-fixincludes:
8294 @if fixincludes
8295 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8296
8297 mostlyclean-fixincludes: 
8298         @[ -f ./fixincludes/Makefile ] || exit 0; \
8299         r=`${PWD_COMMAND}`; export r; \
8300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8301         $(HOST_EXPORTS) \
8302         for flag in $(EXTRA_HOST_FLAGS) ; do \
8303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8304         done; \
8305         echo "Doing mostlyclean in fixincludes" ; \
8306         (cd $(HOST_SUBDIR)/fixincludes && \
8307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8309                   "RANLIB=$${RANLIB}" \
8310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8311                   mostlyclean) \
8312           || exit 1
8313
8314 @endif fixincludes
8315
8316 .PHONY: maybe-clean-fixincludes clean-fixincludes
8317 maybe-clean-fixincludes:
8318 @if fixincludes
8319 maybe-clean-fixincludes: clean-fixincludes
8320
8321 clean-fixincludes: 
8322         @[ -f ./fixincludes/Makefile ] || exit 0; \
8323         r=`${PWD_COMMAND}`; export r; \
8324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325         $(HOST_EXPORTS) \
8326         for flag in $(EXTRA_HOST_FLAGS) ; do \
8327           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8328         done; \
8329         echo "Doing clean in fixincludes" ; \
8330         (cd $(HOST_SUBDIR)/fixincludes && \
8331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8333                   "RANLIB=$${RANLIB}" \
8334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8335                   clean) \
8336           || exit 1
8337
8338 @endif fixincludes
8339
8340 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8341 maybe-distclean-fixincludes:
8342 @if fixincludes
8343 maybe-distclean-fixincludes: distclean-fixincludes
8344
8345 distclean-fixincludes: 
8346         @[ -f ./fixincludes/Makefile ] || exit 0; \
8347         r=`${PWD_COMMAND}`; export r; \
8348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8349         $(HOST_EXPORTS) \
8350         for flag in $(EXTRA_HOST_FLAGS) ; do \
8351           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8352         done; \
8353         echo "Doing distclean in fixincludes" ; \
8354         (cd $(HOST_SUBDIR)/fixincludes && \
8355           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8356                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8357                   "RANLIB=$${RANLIB}" \
8358                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8359                   distclean) \
8360           || exit 1
8361
8362 @endif fixincludes
8363
8364 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8365 maybe-maintainer-clean-fixincludes:
8366 @if fixincludes
8367 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8368
8369 maintainer-clean-fixincludes: 
8370         @[ -f ./fixincludes/Makefile ] || exit 0; \
8371         r=`${PWD_COMMAND}`; export r; \
8372         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8373         $(HOST_EXPORTS) \
8374         for flag in $(EXTRA_HOST_FLAGS) ; do \
8375           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8376         done; \
8377         echo "Doing maintainer-clean in fixincludes" ; \
8378         (cd $(HOST_SUBDIR)/fixincludes && \
8379           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8380                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8381                   "RANLIB=$${RANLIB}" \
8382                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8383                   maintainer-clean) \
8384           || exit 1
8385
8386 @endif fixincludes
8387
8388
8389 .PHONY: configure-flex maybe-configure-flex
8390 maybe-configure-flex:
8391 @if flex
8392 maybe-configure-flex: configure-flex
8393 configure-flex:
8394         @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8395         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8396         r=`${PWD_COMMAND}`; export r; \
8397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8398         $(HOST_EXPORTS) \
8399         echo Configuring in flex; \
8400         cd $(HOST_SUBDIR)/flex || exit 1; \
8401         case $(srcdir) in \
8402           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8403           *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8404                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8405         esac; \
8406         srcdiroption="--srcdir=$${topdir}/flex"; \
8407         libsrcdir="$$s/flex"; \
8408         $(SHELL) $${libsrcdir}/configure \
8409           $(HOST_CONFIGARGS) $${srcdiroption}  \
8410           || exit 1
8411 @endif flex
8412
8413 .PHONY: all-flex maybe-all-flex
8414 maybe-all-flex:
8415 @if flex
8416 TARGET-flex=all
8417 maybe-all-flex: all-flex
8418 all-flex: configure-flex
8419         @r=`${PWD_COMMAND}`; export r; \
8420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8421         $(HOST_EXPORTS) \
8422         (cd $(HOST_SUBDIR)/flex && \
8423           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-flex))
8424 @endif flex
8425
8426 .PHONY: check-flex maybe-check-flex
8427 maybe-check-flex:
8428 @if flex
8429 maybe-check-flex: check-flex
8430
8431 # This module is only tested in a native toolchain.
8432 check-flex:
8433         @if [ '$(host)' = '$(target)' ] ; then \
8434           r=`${PWD_COMMAND}`; export r; \
8435           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8436           $(HOST_EXPORTS) \
8437           (cd $(HOST_SUBDIR)/flex && \
8438             $(MAKE) $(FLAGS_TO_PASS)  check); \
8439         fi
8440
8441 @endif flex
8442
8443 .PHONY: install-flex maybe-install-flex
8444 maybe-install-flex:
8445 @if flex
8446 maybe-install-flex: install-flex
8447
8448 install-flex: installdirs
8449         @r=`${PWD_COMMAND}`; export r; \
8450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451         $(HOST_EXPORTS) \
8452         (cd $(HOST_SUBDIR)/flex && \
8453           $(MAKE) $(FLAGS_TO_PASS)  install)
8454
8455 @endif flex
8456
8457 # Other targets (info, dvi, etc.)
8458
8459 .PHONY: maybe-info-flex info-flex
8460 maybe-info-flex:
8461 @if flex
8462 maybe-info-flex: info-flex
8463
8464 info-flex: \
8465     configure-flex 
8466         @[ -f ./flex/Makefile ] || exit 0; \
8467         r=`${PWD_COMMAND}`; export r; \
8468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469         $(HOST_EXPORTS) \
8470         for flag in $(EXTRA_HOST_FLAGS) ; do \
8471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8472         done; \
8473         echo "Doing info in flex" ; \
8474         (cd $(HOST_SUBDIR)/flex && \
8475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477                   "RANLIB=$${RANLIB}" \
8478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8479                   info) \
8480           || exit 1
8481
8482 @endif flex
8483
8484 .PHONY: maybe-dvi-flex dvi-flex
8485 maybe-dvi-flex:
8486 @if flex
8487 maybe-dvi-flex: dvi-flex
8488
8489 dvi-flex: \
8490     configure-flex 
8491         @[ -f ./flex/Makefile ] || exit 0; \
8492         r=`${PWD_COMMAND}`; export r; \
8493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8494         $(HOST_EXPORTS) \
8495         for flag in $(EXTRA_HOST_FLAGS) ; do \
8496           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8497         done; \
8498         echo "Doing dvi in flex" ; \
8499         (cd $(HOST_SUBDIR)/flex && \
8500           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8501                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8502                   "RANLIB=$${RANLIB}" \
8503                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8504                   dvi) \
8505           || exit 1
8506
8507 @endif flex
8508
8509 .PHONY: maybe-html-flex html-flex
8510 maybe-html-flex:
8511 @if flex
8512 maybe-html-flex: html-flex
8513
8514 html-flex: \
8515     configure-flex 
8516         @[ -f ./flex/Makefile ] || exit 0; \
8517         r=`${PWD_COMMAND}`; export r; \
8518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8519         $(HOST_EXPORTS) \
8520         for flag in $(EXTRA_HOST_FLAGS) ; do \
8521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8522         done; \
8523         echo "Doing html in flex" ; \
8524         (cd $(HOST_SUBDIR)/flex && \
8525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8527                   "RANLIB=$${RANLIB}" \
8528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8529                   html) \
8530           || exit 1
8531
8532 @endif flex
8533
8534 .PHONY: maybe-TAGS-flex TAGS-flex
8535 maybe-TAGS-flex:
8536 @if flex
8537 maybe-TAGS-flex: TAGS-flex
8538
8539 TAGS-flex: \
8540     configure-flex 
8541         @[ -f ./flex/Makefile ] || exit 0; \
8542         r=`${PWD_COMMAND}`; export r; \
8543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8544         $(HOST_EXPORTS) \
8545         for flag in $(EXTRA_HOST_FLAGS) ; do \
8546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8547         done; \
8548         echo "Doing TAGS in flex" ; \
8549         (cd $(HOST_SUBDIR)/flex && \
8550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8552                   "RANLIB=$${RANLIB}" \
8553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8554                   TAGS) \
8555           || exit 1
8556
8557 @endif flex
8558
8559 .PHONY: maybe-install-info-flex install-info-flex
8560 maybe-install-info-flex:
8561 @if flex
8562 maybe-install-info-flex: install-info-flex
8563
8564 install-info-flex: \
8565     configure-flex \
8566     info-flex 
8567         @[ -f ./flex/Makefile ] || exit 0; \
8568         r=`${PWD_COMMAND}`; export r; \
8569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8570         $(HOST_EXPORTS) \
8571         for flag in $(EXTRA_HOST_FLAGS) ; do \
8572           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8573         done; \
8574         echo "Doing install-info in flex" ; \
8575         (cd $(HOST_SUBDIR)/flex && \
8576           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8577                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8578                   "RANLIB=$${RANLIB}" \
8579                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8580                   install-info) \
8581           || exit 1
8582
8583 @endif flex
8584
8585 .PHONY: maybe-installcheck-flex installcheck-flex
8586 maybe-installcheck-flex:
8587 @if flex
8588 maybe-installcheck-flex: installcheck-flex
8589
8590 installcheck-flex: \
8591     configure-flex 
8592         @[ -f ./flex/Makefile ] || exit 0; \
8593         r=`${PWD_COMMAND}`; export r; \
8594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8595         $(HOST_EXPORTS) \
8596         for flag in $(EXTRA_HOST_FLAGS) ; do \
8597           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8598         done; \
8599         echo "Doing installcheck in flex" ; \
8600         (cd $(HOST_SUBDIR)/flex && \
8601           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8602                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8603                   "RANLIB=$${RANLIB}" \
8604                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8605                   installcheck) \
8606           || exit 1
8607
8608 @endif flex
8609
8610 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8611 maybe-mostlyclean-flex:
8612 @if flex
8613 maybe-mostlyclean-flex: mostlyclean-flex
8614
8615 mostlyclean-flex: 
8616         @[ -f ./flex/Makefile ] || exit 0; \
8617         r=`${PWD_COMMAND}`; export r; \
8618         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8619         $(HOST_EXPORTS) \
8620         for flag in $(EXTRA_HOST_FLAGS) ; do \
8621           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8622         done; \
8623         echo "Doing mostlyclean in flex" ; \
8624         (cd $(HOST_SUBDIR)/flex && \
8625           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8626                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8627                   "RANLIB=$${RANLIB}" \
8628                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8629                   mostlyclean) \
8630           || exit 1
8631
8632 @endif flex
8633
8634 .PHONY: maybe-clean-flex clean-flex
8635 maybe-clean-flex:
8636 @if flex
8637 maybe-clean-flex: clean-flex
8638
8639 clean-flex: 
8640         @[ -f ./flex/Makefile ] || exit 0; \
8641         r=`${PWD_COMMAND}`; export r; \
8642         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8643         $(HOST_EXPORTS) \
8644         for flag in $(EXTRA_HOST_FLAGS) ; do \
8645           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8646         done; \
8647         echo "Doing clean in flex" ; \
8648         (cd $(HOST_SUBDIR)/flex && \
8649           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8650                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8651                   "RANLIB=$${RANLIB}" \
8652                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8653                   clean) \
8654           || exit 1
8655
8656 @endif flex
8657
8658 .PHONY: maybe-distclean-flex distclean-flex
8659 maybe-distclean-flex:
8660 @if flex
8661 maybe-distclean-flex: distclean-flex
8662
8663 distclean-flex: 
8664         @[ -f ./flex/Makefile ] || exit 0; \
8665         r=`${PWD_COMMAND}`; export r; \
8666         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8667         $(HOST_EXPORTS) \
8668         for flag in $(EXTRA_HOST_FLAGS) ; do \
8669           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8670         done; \
8671         echo "Doing distclean in flex" ; \
8672         (cd $(HOST_SUBDIR)/flex && \
8673           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8674                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8675                   "RANLIB=$${RANLIB}" \
8676                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8677                   distclean) \
8678           || exit 1
8679
8680 @endif flex
8681
8682 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8683 maybe-maintainer-clean-flex:
8684 @if flex
8685 maybe-maintainer-clean-flex: maintainer-clean-flex
8686
8687 maintainer-clean-flex: 
8688         @[ -f ./flex/Makefile ] || exit 0; \
8689         r=`${PWD_COMMAND}`; export r; \
8690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8691         $(HOST_EXPORTS) \
8692         for flag in $(EXTRA_HOST_FLAGS) ; do \
8693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8694         done; \
8695         echo "Doing maintainer-clean in flex" ; \
8696         (cd $(HOST_SUBDIR)/flex && \
8697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8699                   "RANLIB=$${RANLIB}" \
8700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8701                   maintainer-clean) \
8702           || exit 1
8703
8704 @endif flex
8705
8706
8707 .PHONY: configure-gas maybe-configure-gas
8708 maybe-configure-gas:
8709 @if gas
8710 maybe-configure-gas: configure-gas
8711 configure-gas:
8712         @test -f stage_last && exit 0; \
8713         test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8714         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8715         r=`${PWD_COMMAND}`; export r; \
8716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8717         $(HOST_EXPORTS) \
8718         echo Configuring in gas; \
8719         cd $(HOST_SUBDIR)/gas || exit 1; \
8720         case $(srcdir) in \
8721           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8722           *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8723                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8724         esac; \
8725         srcdiroption="--srcdir=$${topdir}/gas"; \
8726         libsrcdir="$$s/gas"; \
8727         $(SHELL) $${libsrcdir}/configure \
8728           $(HOST_CONFIGARGS) $${srcdiroption}  \
8729           || exit 1
8730 @endif gas
8731
8732 .PHONY: all-gas maybe-all-gas
8733 maybe-all-gas:
8734 @if gas
8735 TARGET-gas=all
8736 maybe-all-gas: all-gas
8737 all-gas: configure-gas
8738         @test -f stage_last && exit 0; \
8739         r=`${PWD_COMMAND}`; export r; \
8740         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8741         $(HOST_EXPORTS) \
8742         (cd $(HOST_SUBDIR)/gas && \
8743           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-gas))
8744 @endif gas
8745
8746 .PHONY: check-gas maybe-check-gas
8747 maybe-check-gas:
8748 @if gas
8749 maybe-check-gas: check-gas
8750
8751 check-gas:
8752         @r=`${PWD_COMMAND}`; export r; \
8753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8754         $(HOST_EXPORTS) \
8755         (cd $(HOST_SUBDIR)/gas && \
8756           $(MAKE) $(FLAGS_TO_PASS)  check)
8757
8758 @endif gas
8759
8760 .PHONY: install-gas maybe-install-gas
8761 maybe-install-gas:
8762 @if gas
8763 maybe-install-gas: install-gas
8764
8765 install-gas: installdirs
8766         @r=`${PWD_COMMAND}`; export r; \
8767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8768         $(HOST_EXPORTS) \
8769         (cd $(HOST_SUBDIR)/gas && \
8770           $(MAKE) $(FLAGS_TO_PASS)  install)
8771
8772 @endif gas
8773
8774 # Other targets (info, dvi, etc.)
8775
8776 .PHONY: maybe-info-gas info-gas
8777 maybe-info-gas:
8778 @if gas
8779 maybe-info-gas: info-gas
8780
8781 info-gas: \
8782     configure-gas 
8783         @[ -f ./gas/Makefile ] || exit 0; \
8784         r=`${PWD_COMMAND}`; export r; \
8785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8786         $(HOST_EXPORTS) \
8787         for flag in $(EXTRA_HOST_FLAGS) ; do \
8788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8789         done; \
8790         echo "Doing info in gas" ; \
8791         (cd $(HOST_SUBDIR)/gas && \
8792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8794                   "RANLIB=$${RANLIB}" \
8795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8796                   info) \
8797           || exit 1
8798
8799 @endif gas
8800
8801 .PHONY: maybe-dvi-gas dvi-gas
8802 maybe-dvi-gas:
8803 @if gas
8804 maybe-dvi-gas: dvi-gas
8805
8806 dvi-gas: \
8807     configure-gas 
8808         @[ -f ./gas/Makefile ] || exit 0; \
8809         r=`${PWD_COMMAND}`; export r; \
8810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8811         $(HOST_EXPORTS) \
8812         for flag in $(EXTRA_HOST_FLAGS) ; do \
8813           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8814         done; \
8815         echo "Doing dvi in gas" ; \
8816         (cd $(HOST_SUBDIR)/gas && \
8817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8819                   "RANLIB=$${RANLIB}" \
8820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8821                   dvi) \
8822           || exit 1
8823
8824 @endif gas
8825
8826 .PHONY: maybe-html-gas html-gas
8827 maybe-html-gas:
8828 @if gas
8829 maybe-html-gas: html-gas
8830
8831 html-gas: \
8832     configure-gas 
8833         @[ -f ./gas/Makefile ] || exit 0; \
8834         r=`${PWD_COMMAND}`; export r; \
8835         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8836         $(HOST_EXPORTS) \
8837         for flag in $(EXTRA_HOST_FLAGS) ; do \
8838           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8839         done; \
8840         echo "Doing html in gas" ; \
8841         (cd $(HOST_SUBDIR)/gas && \
8842           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8843                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8844                   "RANLIB=$${RANLIB}" \
8845                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8846                   html) \
8847           || exit 1
8848
8849 @endif gas
8850
8851 .PHONY: maybe-TAGS-gas TAGS-gas
8852 maybe-TAGS-gas:
8853 @if gas
8854 maybe-TAGS-gas: TAGS-gas
8855
8856 TAGS-gas: \
8857     configure-gas 
8858         @[ -f ./gas/Makefile ] || exit 0; \
8859         r=`${PWD_COMMAND}`; export r; \
8860         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861         $(HOST_EXPORTS) \
8862         for flag in $(EXTRA_HOST_FLAGS) ; do \
8863           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8864         done; \
8865         echo "Doing TAGS in gas" ; \
8866         (cd $(HOST_SUBDIR)/gas && \
8867           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8868                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8869                   "RANLIB=$${RANLIB}" \
8870                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8871                   TAGS) \
8872           || exit 1
8873
8874 @endif gas
8875
8876 .PHONY: maybe-install-info-gas install-info-gas
8877 maybe-install-info-gas:
8878 @if gas
8879 maybe-install-info-gas: install-info-gas
8880
8881 install-info-gas: \
8882     configure-gas \
8883     info-gas 
8884         @[ -f ./gas/Makefile ] || exit 0; \
8885         r=`${PWD_COMMAND}`; export r; \
8886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8887         $(HOST_EXPORTS) \
8888         for flag in $(EXTRA_HOST_FLAGS) ; do \
8889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8890         done; \
8891         echo "Doing install-info in gas" ; \
8892         (cd $(HOST_SUBDIR)/gas && \
8893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8895                   "RANLIB=$${RANLIB}" \
8896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8897                   install-info) \
8898           || exit 1
8899
8900 @endif gas
8901
8902 .PHONY: maybe-installcheck-gas installcheck-gas
8903 maybe-installcheck-gas:
8904 @if gas
8905 maybe-installcheck-gas: installcheck-gas
8906
8907 installcheck-gas: \
8908     configure-gas 
8909         @[ -f ./gas/Makefile ] || exit 0; \
8910         r=`${PWD_COMMAND}`; export r; \
8911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8912         $(HOST_EXPORTS) \
8913         for flag in $(EXTRA_HOST_FLAGS) ; do \
8914           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8915         done; \
8916         echo "Doing installcheck in gas" ; \
8917         (cd $(HOST_SUBDIR)/gas && \
8918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8920                   "RANLIB=$${RANLIB}" \
8921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8922                   installcheck) \
8923           || exit 1
8924
8925 @endif gas
8926
8927 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8928 maybe-mostlyclean-gas:
8929 @if gas
8930 maybe-mostlyclean-gas: mostlyclean-gas
8931
8932 mostlyclean-gas: 
8933         @[ -f ./gas/Makefile ] || exit 0; \
8934         r=`${PWD_COMMAND}`; export r; \
8935         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8936         $(HOST_EXPORTS) \
8937         for flag in $(EXTRA_HOST_FLAGS) ; do \
8938           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8939         done; \
8940         echo "Doing mostlyclean in gas" ; \
8941         (cd $(HOST_SUBDIR)/gas && \
8942           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944                   "RANLIB=$${RANLIB}" \
8945                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8946                   mostlyclean) \
8947           || exit 1
8948
8949 @endif gas
8950
8951 .PHONY: maybe-clean-gas clean-gas
8952 maybe-clean-gas:
8953 @if gas
8954 maybe-clean-gas: clean-gas
8955
8956 clean-gas: 
8957         @[ -f ./gas/Makefile ] || exit 0; \
8958         r=`${PWD_COMMAND}`; export r; \
8959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8960         $(HOST_EXPORTS) \
8961         for flag in $(EXTRA_HOST_FLAGS) ; do \
8962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8963         done; \
8964         echo "Doing clean in gas" ; \
8965         (cd $(HOST_SUBDIR)/gas && \
8966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8968                   "RANLIB=$${RANLIB}" \
8969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8970                   clean) \
8971           || exit 1
8972
8973 @endif gas
8974
8975 .PHONY: maybe-distclean-gas distclean-gas
8976 maybe-distclean-gas:
8977 @if gas
8978 maybe-distclean-gas: distclean-gas
8979
8980 distclean-gas: 
8981         @[ -f ./gas/Makefile ] || exit 0; \
8982         r=`${PWD_COMMAND}`; export r; \
8983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8984         $(HOST_EXPORTS) \
8985         for flag in $(EXTRA_HOST_FLAGS) ; do \
8986           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8987         done; \
8988         echo "Doing distclean in gas" ; \
8989         (cd $(HOST_SUBDIR)/gas && \
8990           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8991                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8992                   "RANLIB=$${RANLIB}" \
8993                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8994                   distclean) \
8995           || exit 1
8996
8997 @endif gas
8998
8999 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9000 maybe-maintainer-clean-gas:
9001 @if gas
9002 maybe-maintainer-clean-gas: maintainer-clean-gas
9003
9004 maintainer-clean-gas: 
9005         @[ -f ./gas/Makefile ] || exit 0; \
9006         r=`${PWD_COMMAND}`; export r; \
9007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9008         $(HOST_EXPORTS) \
9009         for flag in $(EXTRA_HOST_FLAGS) ; do \
9010           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9011         done; \
9012         echo "Doing maintainer-clean in gas" ; \
9013         (cd $(HOST_SUBDIR)/gas && \
9014           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9015                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9016                   "RANLIB=$${RANLIB}" \
9017                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9018                   maintainer-clean) \
9019           || exit 1
9020
9021 @endif gas
9022
9023
9024 .PHONY: configure-gcc maybe-configure-gcc
9025 maybe-configure-gcc:
9026 @if gcc
9027 maybe-configure-gcc: configure-gcc
9028 configure-gcc:
9029         @test -f stage_last && exit 0; \
9030         test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9031         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9032         r=`${PWD_COMMAND}`; export r; \
9033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9034         $(HOST_EXPORTS) \
9035         echo Configuring in gcc; \
9036         cd $(HOST_SUBDIR)/gcc || exit 1; \
9037         case $(srcdir) in \
9038           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9039           *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9040                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9041         esac; \
9042         srcdiroption="--srcdir=$${topdir}/gcc"; \
9043         libsrcdir="$$s/gcc"; \
9044         $(SHELL) $${libsrcdir}/configure \
9045           $(HOST_CONFIGARGS) $${srcdiroption}  \
9046           || exit 1
9047 @endif gcc
9048
9049 .PHONY: all-gcc maybe-all-gcc
9050 maybe-all-gcc:
9051 @if gcc
9052 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9053 maybe-all-gcc: all-gcc
9054 all-gcc: configure-gcc
9055         @test -f stage_last && exit 0; \
9056         r=`${PWD_COMMAND}`; export r; \
9057         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9058         $(HOST_EXPORTS) \
9059         (cd $(HOST_SUBDIR)/gcc && \
9060           $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
9061 @endif gcc
9062
9063 .PHONY: check-gcc maybe-check-gcc
9064 maybe-check-gcc:
9065 @if gcc
9066 maybe-check-gcc: check-gcc
9067
9068 check-gcc:
9069         @r=`${PWD_COMMAND}`; export r; \
9070         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9071         $(HOST_EXPORTS) \
9072         (cd $(HOST_SUBDIR)/gcc && \
9073           $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9074
9075 @endif gcc
9076
9077 .PHONY: install-gcc maybe-install-gcc
9078 maybe-install-gcc:
9079 @if gcc
9080 maybe-install-gcc: install-gcc
9081
9082 install-gcc: installdirs
9083         @r=`${PWD_COMMAND}`; export r; \
9084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9085         $(HOST_EXPORTS) \
9086         (cd $(HOST_SUBDIR)/gcc && \
9087           $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9088
9089 @endif gcc
9090
9091 # Other targets (info, dvi, etc.)
9092
9093 .PHONY: maybe-info-gcc info-gcc
9094 maybe-info-gcc:
9095 @if gcc
9096 maybe-info-gcc: info-gcc
9097
9098 info-gcc: \
9099     configure-gcc 
9100         @[ -f ./gcc/Makefile ] || exit 0; \
9101         r=`${PWD_COMMAND}`; export r; \
9102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9103         $(HOST_EXPORTS) \
9104         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9105           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9106         done; \
9107         echo "Doing info in gcc" ; \
9108         (cd $(HOST_SUBDIR)/gcc && \
9109           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9110                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9111                   "RANLIB=$${RANLIB}" \
9112                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9113                   info) \
9114           || exit 1
9115
9116 @endif gcc
9117
9118 .PHONY: maybe-dvi-gcc dvi-gcc
9119 maybe-dvi-gcc:
9120 @if gcc
9121 maybe-dvi-gcc: dvi-gcc
9122
9123 dvi-gcc: \
9124     configure-gcc 
9125         @[ -f ./gcc/Makefile ] || exit 0; \
9126         r=`${PWD_COMMAND}`; export r; \
9127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128         $(HOST_EXPORTS) \
9129         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9130           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9131         done; \
9132         echo "Doing dvi in gcc" ; \
9133         (cd $(HOST_SUBDIR)/gcc && \
9134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136                   "RANLIB=$${RANLIB}" \
9137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9138                   dvi) \
9139           || exit 1
9140
9141 @endif gcc
9142
9143 .PHONY: maybe-html-gcc html-gcc
9144 maybe-html-gcc:
9145 @if gcc
9146 maybe-html-gcc: html-gcc
9147
9148 html-gcc: \
9149     configure-gcc 
9150         @[ -f ./gcc/Makefile ] || exit 0; \
9151         r=`${PWD_COMMAND}`; export r; \
9152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9153         $(HOST_EXPORTS) \
9154         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9155           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9156         done; \
9157         echo "Doing html in gcc" ; \
9158         (cd $(HOST_SUBDIR)/gcc && \
9159           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161                   "RANLIB=$${RANLIB}" \
9162                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9163                   html) \
9164           || exit 1
9165
9166 @endif gcc
9167
9168 .PHONY: maybe-TAGS-gcc TAGS-gcc
9169 maybe-TAGS-gcc:
9170 @if gcc
9171 maybe-TAGS-gcc: TAGS-gcc
9172
9173 TAGS-gcc: \
9174     configure-gcc 
9175         @[ -f ./gcc/Makefile ] || exit 0; \
9176         r=`${PWD_COMMAND}`; export r; \
9177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9178         $(HOST_EXPORTS) \
9179         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9180           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9181         done; \
9182         echo "Doing TAGS in gcc" ; \
9183         (cd $(HOST_SUBDIR)/gcc && \
9184           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9185                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9186                   "RANLIB=$${RANLIB}" \
9187                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9188                   TAGS) \
9189           || exit 1
9190
9191 @endif gcc
9192
9193 .PHONY: maybe-install-info-gcc install-info-gcc
9194 maybe-install-info-gcc:
9195 @if gcc
9196 maybe-install-info-gcc: install-info-gcc
9197
9198 install-info-gcc: \
9199     configure-gcc \
9200     info-gcc 
9201         @[ -f ./gcc/Makefile ] || exit 0; \
9202         r=`${PWD_COMMAND}`; export r; \
9203         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9204         $(HOST_EXPORTS) \
9205         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9206           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9207         done; \
9208         echo "Doing install-info in gcc" ; \
9209         (cd $(HOST_SUBDIR)/gcc && \
9210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9212                   "RANLIB=$${RANLIB}" \
9213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9214                   install-info) \
9215           || exit 1
9216
9217 @endif gcc
9218
9219 .PHONY: maybe-installcheck-gcc installcheck-gcc
9220 maybe-installcheck-gcc:
9221 @if gcc
9222 maybe-installcheck-gcc: installcheck-gcc
9223
9224 installcheck-gcc: \
9225     configure-gcc 
9226         @[ -f ./gcc/Makefile ] || exit 0; \
9227         r=`${PWD_COMMAND}`; export r; \
9228         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9229         $(HOST_EXPORTS) \
9230         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9231           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9232         done; \
9233         echo "Doing installcheck in gcc" ; \
9234         (cd $(HOST_SUBDIR)/gcc && \
9235           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9236                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9237                   "RANLIB=$${RANLIB}" \
9238                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9239                   installcheck) \
9240           || exit 1
9241
9242 @endif gcc
9243
9244 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9245 maybe-mostlyclean-gcc:
9246 @if gcc
9247 maybe-mostlyclean-gcc: mostlyclean-gcc
9248
9249 mostlyclean-gcc: 
9250         @[ -f ./gcc/Makefile ] || exit 0; \
9251         r=`${PWD_COMMAND}`; export r; \
9252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9253         $(HOST_EXPORTS) \
9254         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9256         done; \
9257         echo "Doing mostlyclean in gcc" ; \
9258         (cd $(HOST_SUBDIR)/gcc && \
9259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9261                   "RANLIB=$${RANLIB}" \
9262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9263                   mostlyclean) \
9264           || exit 1
9265
9266 @endif gcc
9267
9268 .PHONY: maybe-clean-gcc clean-gcc
9269 maybe-clean-gcc:
9270 @if gcc
9271 maybe-clean-gcc: clean-gcc
9272
9273 clean-gcc: 
9274         @[ -f ./gcc/Makefile ] || exit 0; \
9275         r=`${PWD_COMMAND}`; export r; \
9276         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9277         $(HOST_EXPORTS) \
9278         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9279           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9280         done; \
9281         echo "Doing clean in gcc" ; \
9282         (cd $(HOST_SUBDIR)/gcc && \
9283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9285                   "RANLIB=$${RANLIB}" \
9286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9287                   clean) \
9288           || exit 1
9289
9290 @endif gcc
9291
9292 .PHONY: maybe-distclean-gcc distclean-gcc
9293 maybe-distclean-gcc:
9294 @if gcc
9295 maybe-distclean-gcc: distclean-gcc
9296
9297 distclean-gcc: 
9298         @[ -f ./gcc/Makefile ] || exit 0; \
9299         r=`${PWD_COMMAND}`; export r; \
9300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301         $(HOST_EXPORTS) \
9302         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9304         done; \
9305         echo "Doing distclean in gcc" ; \
9306         (cd $(HOST_SUBDIR)/gcc && \
9307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309                   "RANLIB=$${RANLIB}" \
9310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9311                   distclean) \
9312           || exit 1
9313
9314 @endif gcc
9315
9316 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9317 maybe-maintainer-clean-gcc:
9318 @if gcc
9319 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9320
9321 maintainer-clean-gcc: 
9322         @[ -f ./gcc/Makefile ] || exit 0; \
9323         r=`${PWD_COMMAND}`; export r; \
9324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9325         $(HOST_EXPORTS) \
9326         for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9327           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9328         done; \
9329         echo "Doing maintainer-clean in gcc" ; \
9330         (cd $(HOST_SUBDIR)/gcc && \
9331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9333                   "RANLIB=$${RANLIB}" \
9334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9335                   maintainer-clean) \
9336           || exit 1
9337
9338 @endif gcc
9339
9340
9341 .PHONY: configure-gawk maybe-configure-gawk
9342 maybe-configure-gawk:
9343 @if gawk
9344 maybe-configure-gawk: configure-gawk
9345 configure-gawk:
9346         @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
9347         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
9348         r=`${PWD_COMMAND}`; export r; \
9349         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9350         $(HOST_EXPORTS) \
9351         echo Configuring in gawk; \
9352         cd $(HOST_SUBDIR)/gawk || exit 1; \
9353         case $(srcdir) in \
9354           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9355           *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
9356                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9357         esac; \
9358         srcdiroption="--srcdir=$${topdir}/gawk"; \
9359         libsrcdir="$$s/gawk"; \
9360         $(SHELL) $${libsrcdir}/configure \
9361           $(HOST_CONFIGARGS) $${srcdiroption}  \
9362           || exit 1
9363 @endif gawk
9364
9365 .PHONY: all-gawk maybe-all-gawk
9366 maybe-all-gawk:
9367 @if gawk
9368 TARGET-gawk=all
9369 maybe-all-gawk: all-gawk
9370 all-gawk: configure-gawk
9371         @r=`${PWD_COMMAND}`; export r; \
9372         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9373         $(HOST_EXPORTS) \
9374         (cd $(HOST_SUBDIR)/gawk && \
9375           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-gawk))
9376 @endif gawk
9377
9378 .PHONY: check-gawk maybe-check-gawk
9379 maybe-check-gawk:
9380 @if gawk
9381 maybe-check-gawk: check-gawk
9382
9383 check-gawk:
9384         @r=`${PWD_COMMAND}`; export r; \
9385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9386         $(HOST_EXPORTS) \
9387         (cd $(HOST_SUBDIR)/gawk && \
9388           $(MAKE) $(FLAGS_TO_PASS)  check)
9389
9390 @endif gawk
9391
9392 .PHONY: install-gawk maybe-install-gawk
9393 maybe-install-gawk:
9394 @if gawk
9395 maybe-install-gawk: install-gawk
9396
9397 install-gawk: installdirs
9398         @r=`${PWD_COMMAND}`; export r; \
9399         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9400         $(HOST_EXPORTS) \
9401         (cd $(HOST_SUBDIR)/gawk && \
9402           $(MAKE) $(FLAGS_TO_PASS)  install)
9403
9404 @endif gawk
9405
9406 # Other targets (info, dvi, etc.)
9407
9408 .PHONY: maybe-info-gawk info-gawk
9409 maybe-info-gawk:
9410 @if gawk
9411 maybe-info-gawk: info-gawk
9412
9413 info-gawk: \
9414     configure-gawk 
9415         @[ -f ./gawk/Makefile ] || exit 0; \
9416         r=`${PWD_COMMAND}`; export r; \
9417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9418         $(HOST_EXPORTS) \
9419         for flag in $(EXTRA_HOST_FLAGS) ; do \
9420           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9421         done; \
9422         echo "Doing info in gawk" ; \
9423         (cd $(HOST_SUBDIR)/gawk && \
9424           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9425                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9426                   "RANLIB=$${RANLIB}" \
9427                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9428                   info) \
9429           || exit 1
9430
9431 @endif gawk
9432
9433 .PHONY: maybe-dvi-gawk dvi-gawk
9434 maybe-dvi-gawk:
9435 @if gawk
9436 maybe-dvi-gawk: dvi-gawk
9437
9438 dvi-gawk: \
9439     configure-gawk 
9440         @[ -f ./gawk/Makefile ] || exit 0; \
9441         r=`${PWD_COMMAND}`; export r; \
9442         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9443         $(HOST_EXPORTS) \
9444         for flag in $(EXTRA_HOST_FLAGS) ; do \
9445           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9446         done; \
9447         echo "Doing dvi in gawk" ; \
9448         (cd $(HOST_SUBDIR)/gawk && \
9449           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9450                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9451                   "RANLIB=$${RANLIB}" \
9452                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9453                   dvi) \
9454           || exit 1
9455
9456 @endif gawk
9457
9458 .PHONY: maybe-html-gawk html-gawk
9459 maybe-html-gawk:
9460 @if gawk
9461 maybe-html-gawk: html-gawk
9462
9463 html-gawk: \
9464     configure-gawk 
9465         @[ -f ./gawk/Makefile ] || exit 0; \
9466         r=`${PWD_COMMAND}`; export r; \
9467         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9468         $(HOST_EXPORTS) \
9469         for flag in $(EXTRA_HOST_FLAGS) ; do \
9470           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9471         done; \
9472         echo "Doing html in gawk" ; \
9473         (cd $(HOST_SUBDIR)/gawk && \
9474           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9475                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9476                   "RANLIB=$${RANLIB}" \
9477                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9478                   html) \
9479           || exit 1
9480
9481 @endif gawk
9482
9483 .PHONY: maybe-TAGS-gawk TAGS-gawk
9484 maybe-TAGS-gawk:
9485 @if gawk
9486 maybe-TAGS-gawk: TAGS-gawk
9487
9488 TAGS-gawk: \
9489     configure-gawk 
9490         @[ -f ./gawk/Makefile ] || exit 0; \
9491         r=`${PWD_COMMAND}`; export r; \
9492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9493         $(HOST_EXPORTS) \
9494         for flag in $(EXTRA_HOST_FLAGS) ; do \
9495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9496         done; \
9497         echo "Doing TAGS in gawk" ; \
9498         (cd $(HOST_SUBDIR)/gawk && \
9499           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9500                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9501                   "RANLIB=$${RANLIB}" \
9502                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9503                   TAGS) \
9504           || exit 1
9505
9506 @endif gawk
9507
9508 .PHONY: maybe-install-info-gawk install-info-gawk
9509 maybe-install-info-gawk:
9510 @if gawk
9511 maybe-install-info-gawk: install-info-gawk
9512
9513 install-info-gawk: \
9514     configure-gawk \
9515     info-gawk 
9516         @[ -f ./gawk/Makefile ] || exit 0; \
9517         r=`${PWD_COMMAND}`; export r; \
9518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9519         $(HOST_EXPORTS) \
9520         for flag in $(EXTRA_HOST_FLAGS) ; do \
9521           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9522         done; \
9523         echo "Doing install-info in gawk" ; \
9524         (cd $(HOST_SUBDIR)/gawk && \
9525           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9526                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9527                   "RANLIB=$${RANLIB}" \
9528                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9529                   install-info) \
9530           || exit 1
9531
9532 @endif gawk
9533
9534 .PHONY: maybe-installcheck-gawk installcheck-gawk
9535 maybe-installcheck-gawk:
9536 @if gawk
9537 maybe-installcheck-gawk: installcheck-gawk
9538
9539 installcheck-gawk: \
9540     configure-gawk 
9541         @[ -f ./gawk/Makefile ] || exit 0; \
9542         r=`${PWD_COMMAND}`; export r; \
9543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9544         $(HOST_EXPORTS) \
9545         for flag in $(EXTRA_HOST_FLAGS) ; do \
9546           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9547         done; \
9548         echo "Doing installcheck in gawk" ; \
9549         (cd $(HOST_SUBDIR)/gawk && \
9550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9552                   "RANLIB=$${RANLIB}" \
9553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9554                   installcheck) \
9555           || exit 1
9556
9557 @endif gawk
9558
9559 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9560 maybe-mostlyclean-gawk:
9561 @if gawk
9562 maybe-mostlyclean-gawk: mostlyclean-gawk
9563
9564 mostlyclean-gawk: 
9565         @[ -f ./gawk/Makefile ] || exit 0; \
9566         r=`${PWD_COMMAND}`; export r; \
9567         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9568         $(HOST_EXPORTS) \
9569         for flag in $(EXTRA_HOST_FLAGS) ; do \
9570           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9571         done; \
9572         echo "Doing mostlyclean in gawk" ; \
9573         (cd $(HOST_SUBDIR)/gawk && \
9574           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9575                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9576                   "RANLIB=$${RANLIB}" \
9577                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9578                   mostlyclean) \
9579           || exit 1
9580
9581 @endif gawk
9582
9583 .PHONY: maybe-clean-gawk clean-gawk
9584 maybe-clean-gawk:
9585 @if gawk
9586 maybe-clean-gawk: clean-gawk
9587
9588 clean-gawk: 
9589         @[ -f ./gawk/Makefile ] || exit 0; \
9590         r=`${PWD_COMMAND}`; export r; \
9591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 clean in gawk" ; \
9597         (cd $(HOST_SUBDIR)/gawk && \
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                   clean) \
9603           || exit 1
9604
9605 @endif gawk
9606
9607 .PHONY: maybe-distclean-gawk distclean-gawk
9608 maybe-distclean-gawk:
9609 @if gawk
9610 maybe-distclean-gawk: distclean-gawk
9611
9612 distclean-gawk: 
9613         @[ -f ./gawk/Makefile ] || exit 0; \
9614         r=`${PWD_COMMAND}`; export r; \
9615         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9616         $(HOST_EXPORTS) \
9617         for flag in $(EXTRA_HOST_FLAGS) ; do \
9618           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9619         done; \
9620         echo "Doing distclean in gawk" ; \
9621         (cd $(HOST_SUBDIR)/gawk && \
9622           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9623                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9624                   "RANLIB=$${RANLIB}" \
9625                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9626                   distclean) \
9627           || exit 1
9628
9629 @endif gawk
9630
9631 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9632 maybe-maintainer-clean-gawk:
9633 @if gawk
9634 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9635
9636 maintainer-clean-gawk: 
9637         @[ -f ./gawk/Makefile ] || exit 0; \
9638         r=`${PWD_COMMAND}`; export r; \
9639         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9640         $(HOST_EXPORTS) \
9641         for flag in $(EXTRA_HOST_FLAGS) ; do \
9642           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9643         done; \
9644         echo "Doing maintainer-clean in gawk" ; \
9645         (cd $(HOST_SUBDIR)/gawk && \
9646           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9647                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9648                   "RANLIB=$${RANLIB}" \
9649                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9650                   maintainer-clean) \
9651           || exit 1
9652
9653 @endif gawk
9654
9655
9656 .PHONY: configure-gettext maybe-configure-gettext
9657 maybe-configure-gettext:
9658 @if gettext
9659 maybe-configure-gettext: configure-gettext
9660 configure-gettext:
9661         @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
9662         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
9663         r=`${PWD_COMMAND}`; export r; \
9664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9665         $(HOST_EXPORTS) \
9666         echo Configuring in gettext; \
9667         cd $(HOST_SUBDIR)/gettext || exit 1; \
9668         case $(srcdir) in \
9669           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9670           *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
9671                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9672         esac; \
9673         srcdiroption="--srcdir=$${topdir}/gettext"; \
9674         libsrcdir="$$s/gettext"; \
9675         $(SHELL) $${libsrcdir}/configure \
9676           $(HOST_CONFIGARGS) $${srcdiroption}  \
9677           || exit 1
9678 @endif gettext
9679
9680 .PHONY: all-gettext maybe-all-gettext
9681 maybe-all-gettext:
9682 @if gettext
9683 TARGET-gettext=all
9684 maybe-all-gettext: all-gettext
9685 all-gettext: configure-gettext
9686         @r=`${PWD_COMMAND}`; export r; \
9687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9688         $(HOST_EXPORTS) \
9689         (cd $(HOST_SUBDIR)/gettext && \
9690           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-gettext))
9691 @endif gettext
9692
9693 .PHONY: check-gettext maybe-check-gettext
9694 maybe-check-gettext:
9695 @if gettext
9696 maybe-check-gettext: check-gettext
9697
9698 check-gettext:
9699         @r=`${PWD_COMMAND}`; export r; \
9700         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9701         $(HOST_EXPORTS) \
9702         (cd $(HOST_SUBDIR)/gettext && \
9703           $(MAKE) $(FLAGS_TO_PASS)  check)
9704
9705 @endif gettext
9706
9707 .PHONY: install-gettext maybe-install-gettext
9708 maybe-install-gettext:
9709 @if gettext
9710 maybe-install-gettext: install-gettext
9711
9712 install-gettext: installdirs
9713         @r=`${PWD_COMMAND}`; export r; \
9714         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9715         $(HOST_EXPORTS) \
9716         (cd $(HOST_SUBDIR)/gettext && \
9717           $(MAKE) $(FLAGS_TO_PASS)  install)
9718
9719 @endif gettext
9720
9721 # Other targets (info, dvi, etc.)
9722
9723 .PHONY: maybe-info-gettext info-gettext
9724 maybe-info-gettext:
9725 @if gettext
9726 maybe-info-gettext: info-gettext
9727
9728 info-gettext: \
9729     configure-gettext 
9730         @[ -f ./gettext/Makefile ] || exit 0; \
9731         r=`${PWD_COMMAND}`; export r; \
9732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9733         $(HOST_EXPORTS) \
9734         for flag in $(EXTRA_HOST_FLAGS) ; do \
9735           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9736         done; \
9737         echo "Doing info in gettext" ; \
9738         (cd $(HOST_SUBDIR)/gettext && \
9739           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9740                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9741                   "RANLIB=$${RANLIB}" \
9742                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9743                   info) \
9744           || exit 1
9745
9746 @endif gettext
9747
9748 .PHONY: maybe-dvi-gettext dvi-gettext
9749 maybe-dvi-gettext:
9750 @if gettext
9751 maybe-dvi-gettext: dvi-gettext
9752
9753 dvi-gettext: \
9754     configure-gettext 
9755         @[ -f ./gettext/Makefile ] || exit 0; \
9756         r=`${PWD_COMMAND}`; export r; \
9757         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9758         $(HOST_EXPORTS) \
9759         for flag in $(EXTRA_HOST_FLAGS) ; do \
9760           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9761         done; \
9762         echo "Doing dvi in gettext" ; \
9763         (cd $(HOST_SUBDIR)/gettext && \
9764           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9765                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9766                   "RANLIB=$${RANLIB}" \
9767                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9768                   dvi) \
9769           || exit 1
9770
9771 @endif gettext
9772
9773 .PHONY: maybe-html-gettext html-gettext
9774 maybe-html-gettext:
9775 @if gettext
9776 maybe-html-gettext: html-gettext
9777
9778 html-gettext: \
9779     configure-gettext 
9780         @[ -f ./gettext/Makefile ] || exit 0; \
9781         r=`${PWD_COMMAND}`; export r; \
9782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9783         $(HOST_EXPORTS) \
9784         for flag in $(EXTRA_HOST_FLAGS) ; do \
9785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9786         done; \
9787         echo "Doing html in gettext" ; \
9788         (cd $(HOST_SUBDIR)/gettext && \
9789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9791                   "RANLIB=$${RANLIB}" \
9792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9793                   html) \
9794           || exit 1
9795
9796 @endif gettext
9797
9798 .PHONY: maybe-TAGS-gettext TAGS-gettext
9799 maybe-TAGS-gettext:
9800 @if gettext
9801 maybe-TAGS-gettext: TAGS-gettext
9802
9803 TAGS-gettext: \
9804     configure-gettext 
9805         @[ -f ./gettext/Makefile ] || exit 0; \
9806         r=`${PWD_COMMAND}`; export r; \
9807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9808         $(HOST_EXPORTS) \
9809         for flag in $(EXTRA_HOST_FLAGS) ; do \
9810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9811         done; \
9812         echo "Doing TAGS in gettext" ; \
9813         (cd $(HOST_SUBDIR)/gettext && \
9814           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9815                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9816                   "RANLIB=$${RANLIB}" \
9817                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9818                   TAGS) \
9819           || exit 1
9820
9821 @endif gettext
9822
9823 .PHONY: maybe-install-info-gettext install-info-gettext
9824 maybe-install-info-gettext:
9825 @if gettext
9826 maybe-install-info-gettext: install-info-gettext
9827
9828 install-info-gettext: \
9829     configure-gettext \
9830     info-gettext 
9831         @[ -f ./gettext/Makefile ] || exit 0; \
9832         r=`${PWD_COMMAND}`; export r; \
9833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9834         $(HOST_EXPORTS) \
9835         for flag in $(EXTRA_HOST_FLAGS) ; do \
9836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9837         done; \
9838         echo "Doing install-info in gettext" ; \
9839         (cd $(HOST_SUBDIR)/gettext && \
9840           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9841                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9842                   "RANLIB=$${RANLIB}" \
9843                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9844                   install-info) \
9845           || exit 1
9846
9847 @endif gettext
9848
9849 .PHONY: maybe-installcheck-gettext installcheck-gettext
9850 maybe-installcheck-gettext:
9851 @if gettext
9852 maybe-installcheck-gettext: installcheck-gettext
9853
9854 installcheck-gettext: \
9855     configure-gettext 
9856         @[ -f ./gettext/Makefile ] || exit 0; \
9857         r=`${PWD_COMMAND}`; export r; \
9858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859         $(HOST_EXPORTS) \
9860         for flag in $(EXTRA_HOST_FLAGS) ; do \
9861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9862         done; \
9863         echo "Doing installcheck in gettext" ; \
9864         (cd $(HOST_SUBDIR)/gettext && \
9865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9867                   "RANLIB=$${RANLIB}" \
9868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9869                   installcheck) \
9870           || exit 1
9871
9872 @endif gettext
9873
9874 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9875 maybe-mostlyclean-gettext:
9876 @if gettext
9877 maybe-mostlyclean-gettext: mostlyclean-gettext
9878
9879 mostlyclean-gettext: 
9880         @[ -f ./gettext/Makefile ] || exit 0; \
9881         r=`${PWD_COMMAND}`; export r; \
9882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9883         $(HOST_EXPORTS) \
9884         for flag in $(EXTRA_HOST_FLAGS) ; do \
9885           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9886         done; \
9887         echo "Doing mostlyclean in gettext" ; \
9888         (cd $(HOST_SUBDIR)/gettext && \
9889           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891                   "RANLIB=$${RANLIB}" \
9892                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9893                   mostlyclean) \
9894           || exit 1
9895
9896 @endif gettext
9897
9898 .PHONY: maybe-clean-gettext clean-gettext
9899 maybe-clean-gettext:
9900 @if gettext
9901 maybe-clean-gettext: clean-gettext
9902
9903 clean-gettext: 
9904         @[ -f ./gettext/Makefile ] || exit 0; \
9905         r=`${PWD_COMMAND}`; export r; \
9906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9907         $(HOST_EXPORTS) \
9908         for flag in $(EXTRA_HOST_FLAGS) ; do \
9909           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9910         done; \
9911         echo "Doing clean in gettext" ; \
9912         (cd $(HOST_SUBDIR)/gettext && \
9913           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9914                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9915                   "RANLIB=$${RANLIB}" \
9916                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9917                   clean) \
9918           || exit 1
9919
9920 @endif gettext
9921
9922 .PHONY: maybe-distclean-gettext distclean-gettext
9923 maybe-distclean-gettext:
9924 @if gettext
9925 maybe-distclean-gettext: distclean-gettext
9926
9927 distclean-gettext: 
9928         @[ -f ./gettext/Makefile ] || exit 0; \
9929         r=`${PWD_COMMAND}`; export r; \
9930         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931         $(HOST_EXPORTS) \
9932         for flag in $(EXTRA_HOST_FLAGS) ; do \
9933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9934         done; \
9935         echo "Doing distclean in gettext" ; \
9936         (cd $(HOST_SUBDIR)/gettext && \
9937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9939                   "RANLIB=$${RANLIB}" \
9940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9941                   distclean) \
9942           || exit 1
9943
9944 @endif gettext
9945
9946 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9947 maybe-maintainer-clean-gettext:
9948 @if gettext
9949 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9950
9951 maintainer-clean-gettext: 
9952         @[ -f ./gettext/Makefile ] || exit 0; \
9953         r=`${PWD_COMMAND}`; export r; \
9954         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9955         $(HOST_EXPORTS) \
9956         for flag in $(EXTRA_HOST_FLAGS) ; do \
9957           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9958         done; \
9959         echo "Doing maintainer-clean in gettext" ; \
9960         (cd $(HOST_SUBDIR)/gettext && \
9961           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9962                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9963                   "RANLIB=$${RANLIB}" \
9964                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9965                   maintainer-clean) \
9966           || exit 1
9967
9968 @endif gettext
9969
9970
9971 .PHONY: configure-gnuserv maybe-configure-gnuserv
9972 maybe-configure-gnuserv:
9973 @if gnuserv
9974 maybe-configure-gnuserv: configure-gnuserv
9975 configure-gnuserv:
9976         @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
9977         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
9978         r=`${PWD_COMMAND}`; export r; \
9979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9980         $(HOST_EXPORTS) \
9981         echo Configuring in gnuserv; \
9982         cd $(HOST_SUBDIR)/gnuserv || exit 1; \
9983         case $(srcdir) in \
9984           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9985           *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
9986                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9987         esac; \
9988         srcdiroption="--srcdir=$${topdir}/gnuserv"; \
9989         libsrcdir="$$s/gnuserv"; \
9990         $(SHELL) $${libsrcdir}/configure \
9991           $(HOST_CONFIGARGS) $${srcdiroption}  \
9992           || exit 1
9993 @endif gnuserv
9994
9995 .PHONY: all-gnuserv maybe-all-gnuserv
9996 maybe-all-gnuserv:
9997 @if gnuserv
9998 TARGET-gnuserv=all
9999 maybe-all-gnuserv: all-gnuserv
10000 all-gnuserv: configure-gnuserv
10001         @r=`${PWD_COMMAND}`; export r; \
10002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10003         $(HOST_EXPORTS) \
10004         (cd $(HOST_SUBDIR)/gnuserv && \
10005           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-gnuserv))
10006 @endif gnuserv
10007
10008 .PHONY: check-gnuserv maybe-check-gnuserv
10009 maybe-check-gnuserv:
10010 @if gnuserv
10011 maybe-check-gnuserv: check-gnuserv
10012
10013 check-gnuserv:
10014         @r=`${PWD_COMMAND}`; export r; \
10015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10016         $(HOST_EXPORTS) \
10017         (cd $(HOST_SUBDIR)/gnuserv && \
10018           $(MAKE) $(FLAGS_TO_PASS)  check)
10019
10020 @endif gnuserv
10021
10022 .PHONY: install-gnuserv maybe-install-gnuserv
10023 maybe-install-gnuserv:
10024 @if gnuserv
10025 maybe-install-gnuserv: install-gnuserv
10026
10027 install-gnuserv: installdirs
10028         @r=`${PWD_COMMAND}`; export r; \
10029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10030         $(HOST_EXPORTS) \
10031         (cd $(HOST_SUBDIR)/gnuserv && \
10032           $(MAKE) $(FLAGS_TO_PASS)  install)
10033
10034 @endif gnuserv
10035
10036 # Other targets (info, dvi, etc.)
10037
10038 .PHONY: maybe-info-gnuserv info-gnuserv
10039 maybe-info-gnuserv:
10040 @if gnuserv
10041 maybe-info-gnuserv: info-gnuserv
10042
10043 info-gnuserv: \
10044     configure-gnuserv 
10045         @[ -f ./gnuserv/Makefile ] || exit 0; \
10046         r=`${PWD_COMMAND}`; export r; \
10047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in gnuserv" ; \
10053         (cd $(HOST_SUBDIR)/gnuserv && \
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                   info) \
10059           || exit 1
10060
10061 @endif gnuserv
10062
10063 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10064 maybe-dvi-gnuserv:
10065 @if gnuserv
10066 maybe-dvi-gnuserv: dvi-gnuserv
10067
10068 dvi-gnuserv: \
10069     configure-gnuserv 
10070         @[ -f ./gnuserv/Makefile ] || exit 0; \
10071         r=`${PWD_COMMAND}`; export r; \
10072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 dvi in gnuserv" ; \
10078         (cd $(HOST_SUBDIR)/gnuserv && \
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                   dvi) \
10084           || exit 1
10085
10086 @endif gnuserv
10087
10088 .PHONY: maybe-html-gnuserv html-gnuserv
10089 maybe-html-gnuserv:
10090 @if gnuserv
10091 maybe-html-gnuserv: html-gnuserv
10092
10093 html-gnuserv: \
10094     configure-gnuserv 
10095         @[ -f ./gnuserv/Makefile ] || exit 0; \
10096         r=`${PWD_COMMAND}`; export r; \
10097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10098         $(HOST_EXPORTS) \
10099         for flag in $(EXTRA_HOST_FLAGS) ; do \
10100           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10101         done; \
10102         echo "Doing html in gnuserv" ; \
10103         (cd $(HOST_SUBDIR)/gnuserv && \
10104           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10105                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10106                   "RANLIB=$${RANLIB}" \
10107                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10108                   html) \
10109           || exit 1
10110
10111 @endif gnuserv
10112
10113 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10114 maybe-TAGS-gnuserv:
10115 @if gnuserv
10116 maybe-TAGS-gnuserv: TAGS-gnuserv
10117
10118 TAGS-gnuserv: \
10119     configure-gnuserv 
10120         @[ -f ./gnuserv/Makefile ] || exit 0; \
10121         r=`${PWD_COMMAND}`; export r; \
10122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10123         $(HOST_EXPORTS) \
10124         for flag in $(EXTRA_HOST_FLAGS) ; do \
10125           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10126         done; \
10127         echo "Doing TAGS in gnuserv" ; \
10128         (cd $(HOST_SUBDIR)/gnuserv && \
10129           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10130                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10131                   "RANLIB=$${RANLIB}" \
10132                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10133                   TAGS) \
10134           || exit 1
10135
10136 @endif gnuserv
10137
10138 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10139 maybe-install-info-gnuserv:
10140 @if gnuserv
10141 maybe-install-info-gnuserv: install-info-gnuserv
10142
10143 install-info-gnuserv: \
10144     configure-gnuserv \
10145     info-gnuserv 
10146         @[ -f ./gnuserv/Makefile ] || exit 0; \
10147         r=`${PWD_COMMAND}`; export r; \
10148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10149         $(HOST_EXPORTS) \
10150         for flag in $(EXTRA_HOST_FLAGS) ; do \
10151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10152         done; \
10153         echo "Doing install-info in gnuserv" ; \
10154         (cd $(HOST_SUBDIR)/gnuserv && \
10155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10157                   "RANLIB=$${RANLIB}" \
10158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10159                   install-info) \
10160           || exit 1
10161
10162 @endif gnuserv
10163
10164 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10165 maybe-installcheck-gnuserv:
10166 @if gnuserv
10167 maybe-installcheck-gnuserv: installcheck-gnuserv
10168
10169 installcheck-gnuserv: \
10170     configure-gnuserv 
10171         @[ -f ./gnuserv/Makefile ] || exit 0; \
10172         r=`${PWD_COMMAND}`; export r; \
10173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10174         $(HOST_EXPORTS) \
10175         for flag in $(EXTRA_HOST_FLAGS) ; do \
10176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10177         done; \
10178         echo "Doing installcheck in gnuserv" ; \
10179         (cd $(HOST_SUBDIR)/gnuserv && \
10180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182                   "RANLIB=$${RANLIB}" \
10183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10184                   installcheck) \
10185           || exit 1
10186
10187 @endif gnuserv
10188
10189 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10190 maybe-mostlyclean-gnuserv:
10191 @if gnuserv
10192 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10193
10194 mostlyclean-gnuserv: 
10195         @[ -f ./gnuserv/Makefile ] || exit 0; \
10196         r=`${PWD_COMMAND}`; export r; \
10197         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198         $(HOST_EXPORTS) \
10199         for flag in $(EXTRA_HOST_FLAGS) ; do \
10200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10201         done; \
10202         echo "Doing mostlyclean in gnuserv" ; \
10203         (cd $(HOST_SUBDIR)/gnuserv && \
10204           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10205                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10206                   "RANLIB=$${RANLIB}" \
10207                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10208                   mostlyclean) \
10209           || exit 1
10210
10211 @endif gnuserv
10212
10213 .PHONY: maybe-clean-gnuserv clean-gnuserv
10214 maybe-clean-gnuserv:
10215 @if gnuserv
10216 maybe-clean-gnuserv: clean-gnuserv
10217
10218 clean-gnuserv: 
10219         @[ -f ./gnuserv/Makefile ] || exit 0; \
10220         r=`${PWD_COMMAND}`; export r; \
10221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 clean in gnuserv" ; \
10227         (cd $(HOST_SUBDIR)/gnuserv && \
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                   clean) \
10233           || exit 1
10234
10235 @endif gnuserv
10236
10237 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10238 maybe-distclean-gnuserv:
10239 @if gnuserv
10240 maybe-distclean-gnuserv: distclean-gnuserv
10241
10242 distclean-gnuserv: 
10243         @[ -f ./gnuserv/Makefile ] || exit 0; \
10244         r=`${PWD_COMMAND}`; export r; \
10245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10246         $(HOST_EXPORTS) \
10247         for flag in $(EXTRA_HOST_FLAGS) ; do \
10248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10249         done; \
10250         echo "Doing distclean in gnuserv" ; \
10251         (cd $(HOST_SUBDIR)/gnuserv && \
10252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10254                   "RANLIB=$${RANLIB}" \
10255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10256                   distclean) \
10257           || exit 1
10258
10259 @endif gnuserv
10260
10261 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10262 maybe-maintainer-clean-gnuserv:
10263 @if gnuserv
10264 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10265
10266 maintainer-clean-gnuserv: 
10267         @[ -f ./gnuserv/Makefile ] || exit 0; \
10268         r=`${PWD_COMMAND}`; export r; \
10269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10270         $(HOST_EXPORTS) \
10271         for flag in $(EXTRA_HOST_FLAGS) ; do \
10272           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10273         done; \
10274         echo "Doing maintainer-clean in gnuserv" ; \
10275         (cd $(HOST_SUBDIR)/gnuserv && \
10276           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10277                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10278                   "RANLIB=$${RANLIB}" \
10279                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10280                   maintainer-clean) \
10281           || exit 1
10282
10283 @endif gnuserv
10284
10285
10286 .PHONY: configure-gprof maybe-configure-gprof
10287 maybe-configure-gprof:
10288 @if gprof
10289 maybe-configure-gprof: configure-gprof
10290 configure-gprof:
10291         @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
10292         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
10293         r=`${PWD_COMMAND}`; export r; \
10294         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10295         $(HOST_EXPORTS) \
10296         echo Configuring in gprof; \
10297         cd $(HOST_SUBDIR)/gprof || exit 1; \
10298         case $(srcdir) in \
10299           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10300           *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
10301                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10302         esac; \
10303         srcdiroption="--srcdir=$${topdir}/gprof"; \
10304         libsrcdir="$$s/gprof"; \
10305         $(SHELL) $${libsrcdir}/configure \
10306           $(HOST_CONFIGARGS) $${srcdiroption}  \
10307           || exit 1
10308 @endif gprof
10309
10310 .PHONY: all-gprof maybe-all-gprof
10311 maybe-all-gprof:
10312 @if gprof
10313 TARGET-gprof=all
10314 maybe-all-gprof: all-gprof
10315 all-gprof: configure-gprof
10316         @r=`${PWD_COMMAND}`; export r; \
10317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10318         $(HOST_EXPORTS) \
10319         (cd $(HOST_SUBDIR)/gprof && \
10320           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-gprof))
10321 @endif gprof
10322
10323 .PHONY: check-gprof maybe-check-gprof
10324 maybe-check-gprof:
10325 @if gprof
10326 maybe-check-gprof: check-gprof
10327
10328 check-gprof:
10329         @r=`${PWD_COMMAND}`; export r; \
10330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10331         $(HOST_EXPORTS) \
10332         (cd $(HOST_SUBDIR)/gprof && \
10333           $(MAKE) $(FLAGS_TO_PASS)  check)
10334
10335 @endif gprof
10336
10337 .PHONY: install-gprof maybe-install-gprof
10338 maybe-install-gprof:
10339 @if gprof
10340 maybe-install-gprof: install-gprof
10341
10342 install-gprof: installdirs
10343         @r=`${PWD_COMMAND}`; export r; \
10344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10345         $(HOST_EXPORTS) \
10346         (cd $(HOST_SUBDIR)/gprof && \
10347           $(MAKE) $(FLAGS_TO_PASS)  install)
10348
10349 @endif gprof
10350
10351 # Other targets (info, dvi, etc.)
10352
10353 .PHONY: maybe-info-gprof info-gprof
10354 maybe-info-gprof:
10355 @if gprof
10356 maybe-info-gprof: info-gprof
10357
10358 info-gprof: \
10359     configure-gprof 
10360         @[ -f ./gprof/Makefile ] || exit 0; \
10361         r=`${PWD_COMMAND}`; export r; \
10362         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10363         $(HOST_EXPORTS) \
10364         for flag in $(EXTRA_HOST_FLAGS) ; do \
10365           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10366         done; \
10367         echo "Doing info in gprof" ; \
10368         (cd $(HOST_SUBDIR)/gprof && \
10369           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10370                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10371                   "RANLIB=$${RANLIB}" \
10372                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10373                   info) \
10374           || exit 1
10375
10376 @endif gprof
10377
10378 .PHONY: maybe-dvi-gprof dvi-gprof
10379 maybe-dvi-gprof:
10380 @if gprof
10381 maybe-dvi-gprof: dvi-gprof
10382
10383 dvi-gprof: \
10384     configure-gprof 
10385         @[ -f ./gprof/Makefile ] || exit 0; \
10386         r=`${PWD_COMMAND}`; export r; \
10387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10388         $(HOST_EXPORTS) \
10389         for flag in $(EXTRA_HOST_FLAGS) ; do \
10390           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10391         done; \
10392         echo "Doing dvi in gprof" ; \
10393         (cd $(HOST_SUBDIR)/gprof && \
10394           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10395                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10396                   "RANLIB=$${RANLIB}" \
10397                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10398                   dvi) \
10399           || exit 1
10400
10401 @endif gprof
10402
10403 .PHONY: maybe-html-gprof html-gprof
10404 maybe-html-gprof:
10405 @if gprof
10406 maybe-html-gprof: html-gprof
10407
10408 html-gprof: \
10409     configure-gprof 
10410         @[ -f ./gprof/Makefile ] || exit 0; \
10411         r=`${PWD_COMMAND}`; export r; \
10412         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10413         $(HOST_EXPORTS) \
10414         for flag in $(EXTRA_HOST_FLAGS) ; do \
10415           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10416         done; \
10417         echo "Doing html in gprof" ; \
10418         (cd $(HOST_SUBDIR)/gprof && \
10419           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10420                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10421                   "RANLIB=$${RANLIB}" \
10422                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10423                   html) \
10424           || exit 1
10425
10426 @endif gprof
10427
10428 .PHONY: maybe-TAGS-gprof TAGS-gprof
10429 maybe-TAGS-gprof:
10430 @if gprof
10431 maybe-TAGS-gprof: TAGS-gprof
10432
10433 TAGS-gprof: \
10434     configure-gprof 
10435         @[ -f ./gprof/Makefile ] || exit 0; \
10436         r=`${PWD_COMMAND}`; export r; \
10437         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10438         $(HOST_EXPORTS) \
10439         for flag in $(EXTRA_HOST_FLAGS) ; do \
10440           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10441         done; \
10442         echo "Doing TAGS in gprof" ; \
10443         (cd $(HOST_SUBDIR)/gprof && \
10444           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10445                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10446                   "RANLIB=$${RANLIB}" \
10447                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10448                   TAGS) \
10449           || exit 1
10450
10451 @endif gprof
10452
10453 .PHONY: maybe-install-info-gprof install-info-gprof
10454 maybe-install-info-gprof:
10455 @if gprof
10456 maybe-install-info-gprof: install-info-gprof
10457
10458 install-info-gprof: \
10459     configure-gprof \
10460     info-gprof 
10461         @[ -f ./gprof/Makefile ] || exit 0; \
10462         r=`${PWD_COMMAND}`; export r; \
10463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464         $(HOST_EXPORTS) \
10465         for flag in $(EXTRA_HOST_FLAGS) ; do \
10466           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10467         done; \
10468         echo "Doing install-info in gprof" ; \
10469         (cd $(HOST_SUBDIR)/gprof && \
10470           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10471                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10472                   "RANLIB=$${RANLIB}" \
10473                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10474                   install-info) \
10475           || exit 1
10476
10477 @endif gprof
10478
10479 .PHONY: maybe-installcheck-gprof installcheck-gprof
10480 maybe-installcheck-gprof:
10481 @if gprof
10482 maybe-installcheck-gprof: installcheck-gprof
10483
10484 installcheck-gprof: \
10485     configure-gprof 
10486         @[ -f ./gprof/Makefile ] || exit 0; \
10487         r=`${PWD_COMMAND}`; export r; \
10488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10489         $(HOST_EXPORTS) \
10490         for flag in $(EXTRA_HOST_FLAGS) ; do \
10491           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10492         done; \
10493         echo "Doing installcheck in gprof" ; \
10494         (cd $(HOST_SUBDIR)/gprof && \
10495           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10496                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10497                   "RANLIB=$${RANLIB}" \
10498                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10499                   installcheck) \
10500           || exit 1
10501
10502 @endif gprof
10503
10504 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10505 maybe-mostlyclean-gprof:
10506 @if gprof
10507 maybe-mostlyclean-gprof: mostlyclean-gprof
10508
10509 mostlyclean-gprof: 
10510         @[ -f ./gprof/Makefile ] || exit 0; \
10511         r=`${PWD_COMMAND}`; export r; \
10512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10513         $(HOST_EXPORTS) \
10514         for flag in $(EXTRA_HOST_FLAGS) ; do \
10515           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10516         done; \
10517         echo "Doing mostlyclean in gprof" ; \
10518         (cd $(HOST_SUBDIR)/gprof && \
10519           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10520                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10521                   "RANLIB=$${RANLIB}" \
10522                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10523                   mostlyclean) \
10524           || exit 1
10525
10526 @endif gprof
10527
10528 .PHONY: maybe-clean-gprof clean-gprof
10529 maybe-clean-gprof:
10530 @if gprof
10531 maybe-clean-gprof: clean-gprof
10532
10533 clean-gprof: 
10534         @[ -f ./gprof/Makefile ] || exit 0; \
10535         r=`${PWD_COMMAND}`; export r; \
10536         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10537         $(HOST_EXPORTS) \
10538         for flag in $(EXTRA_HOST_FLAGS) ; do \
10539           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10540         done; \
10541         echo "Doing clean in gprof" ; \
10542         (cd $(HOST_SUBDIR)/gprof && \
10543           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10544                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10545                   "RANLIB=$${RANLIB}" \
10546                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10547                   clean) \
10548           || exit 1
10549
10550 @endif gprof
10551
10552 .PHONY: maybe-distclean-gprof distclean-gprof
10553 maybe-distclean-gprof:
10554 @if gprof
10555 maybe-distclean-gprof: distclean-gprof
10556
10557 distclean-gprof: 
10558         @[ -f ./gprof/Makefile ] || exit 0; \
10559         r=`${PWD_COMMAND}`; export r; \
10560         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10561         $(HOST_EXPORTS) \
10562         for flag in $(EXTRA_HOST_FLAGS) ; do \
10563           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10564         done; \
10565         echo "Doing distclean in gprof" ; \
10566         (cd $(HOST_SUBDIR)/gprof && \
10567           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10568                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10569                   "RANLIB=$${RANLIB}" \
10570                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10571                   distclean) \
10572           || exit 1
10573
10574 @endif gprof
10575
10576 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10577 maybe-maintainer-clean-gprof:
10578 @if gprof
10579 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10580
10581 maintainer-clean-gprof: 
10582         @[ -f ./gprof/Makefile ] || exit 0; \
10583         r=`${PWD_COMMAND}`; export r; \
10584         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10585         $(HOST_EXPORTS) \
10586         for flag in $(EXTRA_HOST_FLAGS) ; do \
10587           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10588         done; \
10589         echo "Doing maintainer-clean in gprof" ; \
10590         (cd $(HOST_SUBDIR)/gprof && \
10591           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10592                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10593                   "RANLIB=$${RANLIB}" \
10594                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10595                   maintainer-clean) \
10596           || exit 1
10597
10598 @endif gprof
10599
10600
10601 .PHONY: configure-gzip maybe-configure-gzip
10602 maybe-configure-gzip:
10603 @if gzip
10604 maybe-configure-gzip: configure-gzip
10605 configure-gzip:
10606         @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
10607         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
10608         r=`${PWD_COMMAND}`; export r; \
10609         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10610         $(HOST_EXPORTS) \
10611         echo Configuring in gzip; \
10612         cd $(HOST_SUBDIR)/gzip || exit 1; \
10613         case $(srcdir) in \
10614           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10615           *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
10616                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10617         esac; \
10618         srcdiroption="--srcdir=$${topdir}/gzip"; \
10619         libsrcdir="$$s/gzip"; \
10620         $(SHELL) $${libsrcdir}/configure \
10621           $(HOST_CONFIGARGS) $${srcdiroption}  \
10622           || exit 1
10623 @endif gzip
10624
10625 .PHONY: all-gzip maybe-all-gzip
10626 maybe-all-gzip:
10627 @if gzip
10628 TARGET-gzip=all
10629 maybe-all-gzip: all-gzip
10630 all-gzip: configure-gzip
10631         @r=`${PWD_COMMAND}`; export r; \
10632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10633         $(HOST_EXPORTS) \
10634         (cd $(HOST_SUBDIR)/gzip && \
10635           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-gzip))
10636 @endif gzip
10637
10638 .PHONY: check-gzip maybe-check-gzip
10639 maybe-check-gzip:
10640 @if gzip
10641 maybe-check-gzip: check-gzip
10642
10643 check-gzip:
10644         @r=`${PWD_COMMAND}`; export r; \
10645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10646         $(HOST_EXPORTS) \
10647         (cd $(HOST_SUBDIR)/gzip && \
10648           $(MAKE) $(FLAGS_TO_PASS)  check)
10649
10650 @endif gzip
10651
10652 .PHONY: install-gzip maybe-install-gzip
10653 maybe-install-gzip:
10654 @if gzip
10655 maybe-install-gzip: install-gzip
10656
10657 install-gzip: installdirs
10658         @r=`${PWD_COMMAND}`; export r; \
10659         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660         $(HOST_EXPORTS) \
10661         (cd $(HOST_SUBDIR)/gzip && \
10662           $(MAKE) $(FLAGS_TO_PASS)  install)
10663
10664 @endif gzip
10665
10666 # Other targets (info, dvi, etc.)
10667
10668 .PHONY: maybe-info-gzip info-gzip
10669 maybe-info-gzip:
10670 @if gzip
10671 maybe-info-gzip: info-gzip
10672
10673 info-gzip: \
10674     configure-gzip 
10675         @[ -f ./gzip/Makefile ] || exit 0; \
10676         r=`${PWD_COMMAND}`; export r; \
10677         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10678         $(HOST_EXPORTS) \
10679         for flag in $(EXTRA_HOST_FLAGS) ; do \
10680           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10681         done; \
10682         echo "Doing info in gzip" ; \
10683         (cd $(HOST_SUBDIR)/gzip && \
10684           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10685                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10686                   "RANLIB=$${RANLIB}" \
10687                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10688                   info) \
10689           || exit 1
10690
10691 @endif gzip
10692
10693 .PHONY: maybe-dvi-gzip dvi-gzip
10694 maybe-dvi-gzip:
10695 @if gzip
10696 maybe-dvi-gzip: dvi-gzip
10697
10698 dvi-gzip: \
10699     configure-gzip 
10700         @[ -f ./gzip/Makefile ] || exit 0; \
10701         r=`${PWD_COMMAND}`; export r; \
10702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703         $(HOST_EXPORTS) \
10704         for flag in $(EXTRA_HOST_FLAGS) ; do \
10705           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10706         done; \
10707         echo "Doing dvi in gzip" ; \
10708         (cd $(HOST_SUBDIR)/gzip && \
10709           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10710                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10711                   "RANLIB=$${RANLIB}" \
10712                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10713                   dvi) \
10714           || exit 1
10715
10716 @endif gzip
10717
10718 .PHONY: maybe-html-gzip html-gzip
10719 maybe-html-gzip:
10720 @if gzip
10721 maybe-html-gzip: html-gzip
10722
10723 html-gzip: \
10724     configure-gzip 
10725         @[ -f ./gzip/Makefile ] || exit 0; \
10726         r=`${PWD_COMMAND}`; export r; \
10727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10728         $(HOST_EXPORTS) \
10729         for flag in $(EXTRA_HOST_FLAGS) ; do \
10730           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10731         done; \
10732         echo "Doing html in gzip" ; \
10733         (cd $(HOST_SUBDIR)/gzip && \
10734           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10735                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10736                   "RANLIB=$${RANLIB}" \
10737                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10738                   html) \
10739           || exit 1
10740
10741 @endif gzip
10742
10743 .PHONY: maybe-TAGS-gzip TAGS-gzip
10744 maybe-TAGS-gzip:
10745 @if gzip
10746 maybe-TAGS-gzip: TAGS-gzip
10747
10748 TAGS-gzip: \
10749     configure-gzip 
10750         @[ -f ./gzip/Makefile ] || exit 0; \
10751         r=`${PWD_COMMAND}`; export r; \
10752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10753         $(HOST_EXPORTS) \
10754         for flag in $(EXTRA_HOST_FLAGS) ; do \
10755           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10756         done; \
10757         echo "Doing TAGS in gzip" ; \
10758         (cd $(HOST_SUBDIR)/gzip && \
10759           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10760                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10761                   "RANLIB=$${RANLIB}" \
10762                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10763                   TAGS) \
10764           || exit 1
10765
10766 @endif gzip
10767
10768 .PHONY: maybe-install-info-gzip install-info-gzip
10769 maybe-install-info-gzip:
10770 @if gzip
10771 maybe-install-info-gzip: install-info-gzip
10772
10773 install-info-gzip: \
10774     configure-gzip \
10775     info-gzip 
10776         @[ -f ./gzip/Makefile ] || exit 0; \
10777         r=`${PWD_COMMAND}`; export r; \
10778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10779         $(HOST_EXPORTS) \
10780         for flag in $(EXTRA_HOST_FLAGS) ; do \
10781           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10782         done; \
10783         echo "Doing install-info in gzip" ; \
10784         (cd $(HOST_SUBDIR)/gzip && \
10785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10787                   "RANLIB=$${RANLIB}" \
10788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10789                   install-info) \
10790           || exit 1
10791
10792 @endif gzip
10793
10794 .PHONY: maybe-installcheck-gzip installcheck-gzip
10795 maybe-installcheck-gzip:
10796 @if gzip
10797 maybe-installcheck-gzip: installcheck-gzip
10798
10799 installcheck-gzip: \
10800     configure-gzip 
10801         @[ -f ./gzip/Makefile ] || exit 0; \
10802         r=`${PWD_COMMAND}`; export r; \
10803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804         $(HOST_EXPORTS) \
10805         for flag in $(EXTRA_HOST_FLAGS) ; do \
10806           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10807         done; \
10808         echo "Doing installcheck in gzip" ; \
10809         (cd $(HOST_SUBDIR)/gzip && \
10810           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10811                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10812                   "RANLIB=$${RANLIB}" \
10813                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10814                   installcheck) \
10815           || exit 1
10816
10817 @endif gzip
10818
10819 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10820 maybe-mostlyclean-gzip:
10821 @if gzip
10822 maybe-mostlyclean-gzip: mostlyclean-gzip
10823
10824 mostlyclean-gzip: 
10825         @[ -f ./gzip/Makefile ] || exit 0; \
10826         r=`${PWD_COMMAND}`; export r; \
10827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10828         $(HOST_EXPORTS) \
10829         for flag in $(EXTRA_HOST_FLAGS) ; do \
10830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10831         done; \
10832         echo "Doing mostlyclean in gzip" ; \
10833         (cd $(HOST_SUBDIR)/gzip && \
10834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10836                   "RANLIB=$${RANLIB}" \
10837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10838                   mostlyclean) \
10839           || exit 1
10840
10841 @endif gzip
10842
10843 .PHONY: maybe-clean-gzip clean-gzip
10844 maybe-clean-gzip:
10845 @if gzip
10846 maybe-clean-gzip: clean-gzip
10847
10848 clean-gzip: 
10849         @[ -f ./gzip/Makefile ] || exit 0; \
10850         r=`${PWD_COMMAND}`; export r; \
10851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852         $(HOST_EXPORTS) \
10853         for flag in $(EXTRA_HOST_FLAGS) ; do \
10854           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10855         done; \
10856         echo "Doing clean in gzip" ; \
10857         (cd $(HOST_SUBDIR)/gzip && \
10858           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860                   "RANLIB=$${RANLIB}" \
10861                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10862                   clean) \
10863           || exit 1
10864
10865 @endif gzip
10866
10867 .PHONY: maybe-distclean-gzip distclean-gzip
10868 maybe-distclean-gzip:
10869 @if gzip
10870 maybe-distclean-gzip: distclean-gzip
10871
10872 distclean-gzip: 
10873         @[ -f ./gzip/Makefile ] || exit 0; \
10874         r=`${PWD_COMMAND}`; export r; \
10875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876         $(HOST_EXPORTS) \
10877         for flag in $(EXTRA_HOST_FLAGS) ; do \
10878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10879         done; \
10880         echo "Doing distclean in gzip" ; \
10881         (cd $(HOST_SUBDIR)/gzip && \
10882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10884                   "RANLIB=$${RANLIB}" \
10885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10886                   distclean) \
10887           || exit 1
10888
10889 @endif gzip
10890
10891 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10892 maybe-maintainer-clean-gzip:
10893 @if gzip
10894 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10895
10896 maintainer-clean-gzip: 
10897         @[ -f ./gzip/Makefile ] || exit 0; \
10898         r=`${PWD_COMMAND}`; export r; \
10899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10900         $(HOST_EXPORTS) \
10901         for flag in $(EXTRA_HOST_FLAGS) ; do \
10902           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10903         done; \
10904         echo "Doing maintainer-clean in gzip" ; \
10905         (cd $(HOST_SUBDIR)/gzip && \
10906           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10907                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10908                   "RANLIB=$${RANLIB}" \
10909                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10910                   maintainer-clean) \
10911           || exit 1
10912
10913 @endif gzip
10914
10915
10916 .PHONY: configure-hello maybe-configure-hello
10917 maybe-configure-hello:
10918 @if hello
10919 maybe-configure-hello: configure-hello
10920 configure-hello:
10921         @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
10922         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
10923         r=`${PWD_COMMAND}`; export r; \
10924         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10925         $(HOST_EXPORTS) \
10926         echo Configuring in hello; \
10927         cd $(HOST_SUBDIR)/hello || exit 1; \
10928         case $(srcdir) in \
10929           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10930           *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
10931                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10932         esac; \
10933         srcdiroption="--srcdir=$${topdir}/hello"; \
10934         libsrcdir="$$s/hello"; \
10935         $(SHELL) $${libsrcdir}/configure \
10936           $(HOST_CONFIGARGS) $${srcdiroption}  \
10937           || exit 1
10938 @endif hello
10939
10940 .PHONY: all-hello maybe-all-hello
10941 maybe-all-hello:
10942 @if hello
10943 TARGET-hello=all
10944 maybe-all-hello: all-hello
10945 all-hello: configure-hello
10946         @r=`${PWD_COMMAND}`; export r; \
10947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10948         $(HOST_EXPORTS) \
10949         (cd $(HOST_SUBDIR)/hello && \
10950           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-hello))
10951 @endif hello
10952
10953 .PHONY: check-hello maybe-check-hello
10954 maybe-check-hello:
10955 @if hello
10956 maybe-check-hello: check-hello
10957
10958 check-hello:
10959         @r=`${PWD_COMMAND}`; export r; \
10960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961         $(HOST_EXPORTS) \
10962         (cd $(HOST_SUBDIR)/hello && \
10963           $(MAKE) $(FLAGS_TO_PASS)  check)
10964
10965 @endif hello
10966
10967 .PHONY: install-hello maybe-install-hello
10968 maybe-install-hello:
10969 @if hello
10970 maybe-install-hello: install-hello
10971
10972 install-hello: installdirs
10973         @r=`${PWD_COMMAND}`; export r; \
10974         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10975         $(HOST_EXPORTS) \
10976         (cd $(HOST_SUBDIR)/hello && \
10977           $(MAKE) $(FLAGS_TO_PASS)  install)
10978
10979 @endif hello
10980
10981 # Other targets (info, dvi, etc.)
10982
10983 .PHONY: maybe-info-hello info-hello
10984 maybe-info-hello:
10985 @if hello
10986 maybe-info-hello: info-hello
10987
10988 info-hello: \
10989     configure-hello 
10990         @[ -f ./hello/Makefile ] || exit 0; \
10991         r=`${PWD_COMMAND}`; export r; \
10992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10993         $(HOST_EXPORTS) \
10994         for flag in $(EXTRA_HOST_FLAGS) ; do \
10995           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10996         done; \
10997         echo "Doing info in hello" ; \
10998         (cd $(HOST_SUBDIR)/hello && \
10999           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11000                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11001                   "RANLIB=$${RANLIB}" \
11002                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11003                   info) \
11004           || exit 1
11005
11006 @endif hello
11007
11008 .PHONY: maybe-dvi-hello dvi-hello
11009 maybe-dvi-hello:
11010 @if hello
11011 maybe-dvi-hello: dvi-hello
11012
11013 dvi-hello: \
11014     configure-hello 
11015         @[ -f ./hello/Makefile ] || exit 0; \
11016         r=`${PWD_COMMAND}`; export r; \
11017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11018         $(HOST_EXPORTS) \
11019         for flag in $(EXTRA_HOST_FLAGS) ; do \
11020           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11021         done; \
11022         echo "Doing dvi in hello" ; \
11023         (cd $(HOST_SUBDIR)/hello && \
11024           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11025                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11026                   "RANLIB=$${RANLIB}" \
11027                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11028                   dvi) \
11029           || exit 1
11030
11031 @endif hello
11032
11033 .PHONY: maybe-html-hello html-hello
11034 maybe-html-hello:
11035 @if hello
11036 maybe-html-hello: html-hello
11037
11038 html-hello: \
11039     configure-hello 
11040         @[ -f ./hello/Makefile ] || exit 0; \
11041         r=`${PWD_COMMAND}`; export r; \
11042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11043         $(HOST_EXPORTS) \
11044         for flag in $(EXTRA_HOST_FLAGS) ; do \
11045           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11046         done; \
11047         echo "Doing html in hello" ; \
11048         (cd $(HOST_SUBDIR)/hello && \
11049           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11050                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11051                   "RANLIB=$${RANLIB}" \
11052                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11053                   html) \
11054           || exit 1
11055
11056 @endif hello
11057
11058 .PHONY: maybe-TAGS-hello TAGS-hello
11059 maybe-TAGS-hello:
11060 @if hello
11061 maybe-TAGS-hello: TAGS-hello
11062
11063 TAGS-hello: \
11064     configure-hello 
11065         @[ -f ./hello/Makefile ] || exit 0; \
11066         r=`${PWD_COMMAND}`; export r; \
11067         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11068         $(HOST_EXPORTS) \
11069         for flag in $(EXTRA_HOST_FLAGS) ; do \
11070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11071         done; \
11072         echo "Doing TAGS in hello" ; \
11073         (cd $(HOST_SUBDIR)/hello && \
11074           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11075                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11076                   "RANLIB=$${RANLIB}" \
11077                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11078                   TAGS) \
11079           || exit 1
11080
11081 @endif hello
11082
11083 .PHONY: maybe-install-info-hello install-info-hello
11084 maybe-install-info-hello:
11085 @if hello
11086 maybe-install-info-hello: install-info-hello
11087
11088 install-info-hello: \
11089     configure-hello \
11090     info-hello 
11091         @[ -f ./hello/Makefile ] || exit 0; \
11092         r=`${PWD_COMMAND}`; export r; \
11093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11094         $(HOST_EXPORTS) \
11095         for flag in $(EXTRA_HOST_FLAGS) ; do \
11096           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11097         done; \
11098         echo "Doing install-info in hello" ; \
11099         (cd $(HOST_SUBDIR)/hello && \
11100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11102                   "RANLIB=$${RANLIB}" \
11103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11104                   install-info) \
11105           || exit 1
11106
11107 @endif hello
11108
11109 .PHONY: maybe-installcheck-hello installcheck-hello
11110 maybe-installcheck-hello:
11111 @if hello
11112 maybe-installcheck-hello: installcheck-hello
11113
11114 installcheck-hello: \
11115     configure-hello 
11116         @[ -f ./hello/Makefile ] || exit 0; \
11117         r=`${PWD_COMMAND}`; export r; \
11118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11119         $(HOST_EXPORTS) \
11120         for flag in $(EXTRA_HOST_FLAGS) ; do \
11121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11122         done; \
11123         echo "Doing installcheck in hello" ; \
11124         (cd $(HOST_SUBDIR)/hello && \
11125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11127                   "RANLIB=$${RANLIB}" \
11128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11129                   installcheck) \
11130           || exit 1
11131
11132 @endif hello
11133
11134 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11135 maybe-mostlyclean-hello:
11136 @if hello
11137 maybe-mostlyclean-hello: mostlyclean-hello
11138
11139 mostlyclean-hello: 
11140         @[ -f ./hello/Makefile ] || exit 0; \
11141         r=`${PWD_COMMAND}`; export r; \
11142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11143         $(HOST_EXPORTS) \
11144         for flag in $(EXTRA_HOST_FLAGS) ; do \
11145           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11146         done; \
11147         echo "Doing mostlyclean in hello" ; \
11148         (cd $(HOST_SUBDIR)/hello && \
11149           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11150                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11151                   "RANLIB=$${RANLIB}" \
11152                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11153                   mostlyclean) \
11154           || exit 1
11155
11156 @endif hello
11157
11158 .PHONY: maybe-clean-hello clean-hello
11159 maybe-clean-hello:
11160 @if hello
11161 maybe-clean-hello: clean-hello
11162
11163 clean-hello: 
11164         @[ -f ./hello/Makefile ] || exit 0; \
11165         r=`${PWD_COMMAND}`; export r; \
11166         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11167         $(HOST_EXPORTS) \
11168         for flag in $(EXTRA_HOST_FLAGS) ; do \
11169           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11170         done; \
11171         echo "Doing clean in hello" ; \
11172         (cd $(HOST_SUBDIR)/hello && \
11173           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11174                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11175                   "RANLIB=$${RANLIB}" \
11176                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11177                   clean) \
11178           || exit 1
11179
11180 @endif hello
11181
11182 .PHONY: maybe-distclean-hello distclean-hello
11183 maybe-distclean-hello:
11184 @if hello
11185 maybe-distclean-hello: distclean-hello
11186
11187 distclean-hello: 
11188         @[ -f ./hello/Makefile ] || exit 0; \
11189         r=`${PWD_COMMAND}`; export r; \
11190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11191         $(HOST_EXPORTS) \
11192         for flag in $(EXTRA_HOST_FLAGS) ; do \
11193           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11194         done; \
11195         echo "Doing distclean in hello" ; \
11196         (cd $(HOST_SUBDIR)/hello && \
11197           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11198                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11199                   "RANLIB=$${RANLIB}" \
11200                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11201                   distclean) \
11202           || exit 1
11203
11204 @endif hello
11205
11206 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11207 maybe-maintainer-clean-hello:
11208 @if hello
11209 maybe-maintainer-clean-hello: maintainer-clean-hello
11210
11211 maintainer-clean-hello: 
11212         @[ -f ./hello/Makefile ] || exit 0; \
11213         r=`${PWD_COMMAND}`; export r; \
11214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11215         $(HOST_EXPORTS) \
11216         for flag in $(EXTRA_HOST_FLAGS) ; do \
11217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11218         done; \
11219         echo "Doing maintainer-clean in hello" ; \
11220         (cd $(HOST_SUBDIR)/hello && \
11221           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11222                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11223                   "RANLIB=$${RANLIB}" \
11224                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11225                   maintainer-clean) \
11226           || exit 1
11227
11228 @endif hello
11229
11230
11231 .PHONY: configure-indent maybe-configure-indent
11232 maybe-configure-indent:
11233 @if indent
11234 maybe-configure-indent: configure-indent
11235 configure-indent:
11236         @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
11237         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
11238         r=`${PWD_COMMAND}`; export r; \
11239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11240         $(HOST_EXPORTS) \
11241         echo Configuring in indent; \
11242         cd $(HOST_SUBDIR)/indent || exit 1; \
11243         case $(srcdir) in \
11244           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11245           *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
11246                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11247         esac; \
11248         srcdiroption="--srcdir=$${topdir}/indent"; \
11249         libsrcdir="$$s/indent"; \
11250         $(SHELL) $${libsrcdir}/configure \
11251           $(HOST_CONFIGARGS) $${srcdiroption}  \
11252           || exit 1
11253 @endif indent
11254
11255 .PHONY: all-indent maybe-all-indent
11256 maybe-all-indent:
11257 @if indent
11258 TARGET-indent=all
11259 maybe-all-indent: all-indent
11260 all-indent: configure-indent
11261         @r=`${PWD_COMMAND}`; export r; \
11262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11263         $(HOST_EXPORTS) \
11264         (cd $(HOST_SUBDIR)/indent && \
11265           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-indent))
11266 @endif indent
11267
11268 .PHONY: check-indent maybe-check-indent
11269 maybe-check-indent:
11270 @if indent
11271 maybe-check-indent: check-indent
11272
11273 check-indent:
11274         @r=`${PWD_COMMAND}`; export r; \
11275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11276         $(HOST_EXPORTS) \
11277         (cd $(HOST_SUBDIR)/indent && \
11278           $(MAKE) $(FLAGS_TO_PASS)  check)
11279
11280 @endif indent
11281
11282 .PHONY: install-indent maybe-install-indent
11283 maybe-install-indent:
11284 @if indent
11285 maybe-install-indent: install-indent
11286
11287 install-indent: installdirs
11288         @r=`${PWD_COMMAND}`; export r; \
11289         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11290         $(HOST_EXPORTS) \
11291         (cd $(HOST_SUBDIR)/indent && \
11292           $(MAKE) $(FLAGS_TO_PASS)  install)
11293
11294 @endif indent
11295
11296 # Other targets (info, dvi, etc.)
11297
11298 .PHONY: maybe-info-indent info-indent
11299 maybe-info-indent:
11300 @if indent
11301 maybe-info-indent: info-indent
11302
11303 info-indent: \
11304     configure-indent 
11305         @[ -f ./indent/Makefile ] || exit 0; \
11306         r=`${PWD_COMMAND}`; export r; \
11307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308         $(HOST_EXPORTS) \
11309         for flag in $(EXTRA_HOST_FLAGS) ; do \
11310           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11311         done; \
11312         echo "Doing info in indent" ; \
11313         (cd $(HOST_SUBDIR)/indent && \
11314           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11315                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11316                   "RANLIB=$${RANLIB}" \
11317                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11318                   info) \
11319           || exit 1
11320
11321 @endif indent
11322
11323 .PHONY: maybe-dvi-indent dvi-indent
11324 maybe-dvi-indent:
11325 @if indent
11326 maybe-dvi-indent: dvi-indent
11327
11328 dvi-indent: \
11329     configure-indent 
11330         @[ -f ./indent/Makefile ] || exit 0; \
11331         r=`${PWD_COMMAND}`; export r; \
11332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11333         $(HOST_EXPORTS) \
11334         for flag in $(EXTRA_HOST_FLAGS) ; do \
11335           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11336         done; \
11337         echo "Doing dvi in indent" ; \
11338         (cd $(HOST_SUBDIR)/indent && \
11339           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11340                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11341                   "RANLIB=$${RANLIB}" \
11342                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11343                   dvi) \
11344           || exit 1
11345
11346 @endif indent
11347
11348 .PHONY: maybe-html-indent html-indent
11349 maybe-html-indent:
11350 @if indent
11351 maybe-html-indent: html-indent
11352
11353 html-indent: \
11354     configure-indent 
11355         @[ -f ./indent/Makefile ] || exit 0; \
11356         r=`${PWD_COMMAND}`; export r; \
11357         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11358         $(HOST_EXPORTS) \
11359         for flag in $(EXTRA_HOST_FLAGS) ; do \
11360           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11361         done; \
11362         echo "Doing html in indent" ; \
11363         (cd $(HOST_SUBDIR)/indent && \
11364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11366                   "RANLIB=$${RANLIB}" \
11367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11368                   html) \
11369           || exit 1
11370
11371 @endif indent
11372
11373 .PHONY: maybe-TAGS-indent TAGS-indent
11374 maybe-TAGS-indent:
11375 @if indent
11376 maybe-TAGS-indent: TAGS-indent
11377
11378 TAGS-indent: \
11379     configure-indent 
11380         @[ -f ./indent/Makefile ] || exit 0; \
11381         r=`${PWD_COMMAND}`; export r; \
11382         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11383         $(HOST_EXPORTS) \
11384         for flag in $(EXTRA_HOST_FLAGS) ; do \
11385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11386         done; \
11387         echo "Doing TAGS in indent" ; \
11388         (cd $(HOST_SUBDIR)/indent && \
11389           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11390                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11391                   "RANLIB=$${RANLIB}" \
11392                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11393                   TAGS) \
11394           || exit 1
11395
11396 @endif indent
11397
11398 .PHONY: maybe-install-info-indent install-info-indent
11399 maybe-install-info-indent:
11400 @if indent
11401 maybe-install-info-indent: install-info-indent
11402
11403 install-info-indent: \
11404     configure-indent \
11405     info-indent 
11406         @[ -f ./indent/Makefile ] || exit 0; \
11407         r=`${PWD_COMMAND}`; export r; \
11408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409         $(HOST_EXPORTS) \
11410         for flag in $(EXTRA_HOST_FLAGS) ; do \
11411           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11412         done; \
11413         echo "Doing install-info in indent" ; \
11414         (cd $(HOST_SUBDIR)/indent && \
11415           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11416                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11417                   "RANLIB=$${RANLIB}" \
11418                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11419                   install-info) \
11420           || exit 1
11421
11422 @endif indent
11423
11424 .PHONY: maybe-installcheck-indent installcheck-indent
11425 maybe-installcheck-indent:
11426 @if indent
11427 maybe-installcheck-indent: installcheck-indent
11428
11429 installcheck-indent: \
11430     configure-indent 
11431         @[ -f ./indent/Makefile ] || exit 0; \
11432         r=`${PWD_COMMAND}`; export r; \
11433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11434         $(HOST_EXPORTS) \
11435         for flag in $(EXTRA_HOST_FLAGS) ; do \
11436           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11437         done; \
11438         echo "Doing installcheck in indent" ; \
11439         (cd $(HOST_SUBDIR)/indent && \
11440           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11441                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11442                   "RANLIB=$${RANLIB}" \
11443                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11444                   installcheck) \
11445           || exit 1
11446
11447 @endif indent
11448
11449 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11450 maybe-mostlyclean-indent:
11451 @if indent
11452 maybe-mostlyclean-indent: mostlyclean-indent
11453
11454 mostlyclean-indent: 
11455         @[ -f ./indent/Makefile ] || exit 0; \
11456         r=`${PWD_COMMAND}`; export r; \
11457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458         $(HOST_EXPORTS) \
11459         for flag in $(EXTRA_HOST_FLAGS) ; do \
11460           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11461         done; \
11462         echo "Doing mostlyclean in indent" ; \
11463         (cd $(HOST_SUBDIR)/indent && \
11464           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11465                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11466                   "RANLIB=$${RANLIB}" \
11467                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11468                   mostlyclean) \
11469           || exit 1
11470
11471 @endif indent
11472
11473 .PHONY: maybe-clean-indent clean-indent
11474 maybe-clean-indent:
11475 @if indent
11476 maybe-clean-indent: clean-indent
11477
11478 clean-indent: 
11479         @[ -f ./indent/Makefile ] || exit 0; \
11480         r=`${PWD_COMMAND}`; export r; \
11481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11482         $(HOST_EXPORTS) \
11483         for flag in $(EXTRA_HOST_FLAGS) ; do \
11484           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11485         done; \
11486         echo "Doing clean in indent" ; \
11487         (cd $(HOST_SUBDIR)/indent && \
11488           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11489                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11490                   "RANLIB=$${RANLIB}" \
11491                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11492                   clean) \
11493           || exit 1
11494
11495 @endif indent
11496
11497 .PHONY: maybe-distclean-indent distclean-indent
11498 maybe-distclean-indent:
11499 @if indent
11500 maybe-distclean-indent: distclean-indent
11501
11502 distclean-indent: 
11503         @[ -f ./indent/Makefile ] || exit 0; \
11504         r=`${PWD_COMMAND}`; export r; \
11505         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11506         $(HOST_EXPORTS) \
11507         for flag in $(EXTRA_HOST_FLAGS) ; do \
11508           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11509         done; \
11510         echo "Doing distclean in indent" ; \
11511         (cd $(HOST_SUBDIR)/indent && \
11512           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514                   "RANLIB=$${RANLIB}" \
11515                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11516                   distclean) \
11517           || exit 1
11518
11519 @endif indent
11520
11521 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11522 maybe-maintainer-clean-indent:
11523 @if indent
11524 maybe-maintainer-clean-indent: maintainer-clean-indent
11525
11526 maintainer-clean-indent: 
11527         @[ -f ./indent/Makefile ] || exit 0; \
11528         r=`${PWD_COMMAND}`; export r; \
11529         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11530         $(HOST_EXPORTS) \
11531         for flag in $(EXTRA_HOST_FLAGS) ; do \
11532           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11533         done; \
11534         echo "Doing maintainer-clean in indent" ; \
11535         (cd $(HOST_SUBDIR)/indent && \
11536           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11537                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11538                   "RANLIB=$${RANLIB}" \
11539                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11540                   maintainer-clean) \
11541           || exit 1
11542
11543 @endif indent
11544
11545
11546 .PHONY: configure-intl maybe-configure-intl
11547 maybe-configure-intl:
11548 @if intl
11549 maybe-configure-intl: configure-intl
11550 configure-intl:
11551         @test -f stage_last && exit 0; \
11552         test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
11553         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
11554         r=`${PWD_COMMAND}`; export r; \
11555         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556         $(HOST_EXPORTS) \
11557         echo Configuring in intl; \
11558         cd $(HOST_SUBDIR)/intl || exit 1; \
11559         case $(srcdir) in \
11560           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11561           *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
11562                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11563         esac; \
11564         srcdiroption="--srcdir=$${topdir}/intl"; \
11565         libsrcdir="$$s/intl"; \
11566         $(SHELL) $${libsrcdir}/configure \
11567           $(HOST_CONFIGARGS) $${srcdiroption}  \
11568           || exit 1
11569 @endif intl
11570
11571 .PHONY: all-intl maybe-all-intl
11572 maybe-all-intl:
11573 @if intl
11574 TARGET-intl=all
11575 maybe-all-intl: all-intl
11576 all-intl: configure-intl
11577         @test -f stage_last && exit 0; \
11578         r=`${PWD_COMMAND}`; export r; \
11579         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580         $(HOST_EXPORTS) \
11581         (cd $(HOST_SUBDIR)/intl && \
11582           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-intl))
11583 @endif intl
11584
11585 .PHONY: check-intl maybe-check-intl
11586 maybe-check-intl:
11587 @if intl
11588 maybe-check-intl: check-intl
11589
11590 check-intl:
11591         @r=`${PWD_COMMAND}`; export r; \
11592         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11593         $(HOST_EXPORTS) \
11594         (cd $(HOST_SUBDIR)/intl && \
11595           $(MAKE) $(FLAGS_TO_PASS)  check)
11596
11597 @endif intl
11598
11599 .PHONY: install-intl maybe-install-intl
11600 maybe-install-intl:
11601 @if intl
11602 maybe-install-intl: install-intl
11603
11604 install-intl: installdirs
11605         @r=`${PWD_COMMAND}`; export r; \
11606         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607         $(HOST_EXPORTS) \
11608         (cd $(HOST_SUBDIR)/intl && \
11609           $(MAKE) $(FLAGS_TO_PASS)  install)
11610
11611 @endif intl
11612
11613 # Other targets (info, dvi, etc.)
11614
11615 .PHONY: maybe-info-intl info-intl
11616 maybe-info-intl:
11617 @if intl
11618 maybe-info-intl: info-intl
11619
11620 info-intl: \
11621     configure-intl 
11622         @[ -f ./intl/Makefile ] || exit 0; \
11623         r=`${PWD_COMMAND}`; export r; \
11624         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11625         $(HOST_EXPORTS) \
11626         for flag in $(EXTRA_HOST_FLAGS) ; do \
11627           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11628         done; \
11629         echo "Doing info in intl" ; \
11630         (cd $(HOST_SUBDIR)/intl && \
11631           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11632                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11633                   "RANLIB=$${RANLIB}" \
11634                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11635                   info) \
11636           || exit 1
11637
11638 @endif intl
11639
11640 .PHONY: maybe-dvi-intl dvi-intl
11641 maybe-dvi-intl:
11642 @if intl
11643 maybe-dvi-intl: dvi-intl
11644
11645 dvi-intl: \
11646     configure-intl 
11647         @[ -f ./intl/Makefile ] || exit 0; \
11648         r=`${PWD_COMMAND}`; export r; \
11649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650         $(HOST_EXPORTS) \
11651         for flag in $(EXTRA_HOST_FLAGS) ; do \
11652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11653         done; \
11654         echo "Doing dvi in intl" ; \
11655         (cd $(HOST_SUBDIR)/intl && \
11656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11658                   "RANLIB=$${RANLIB}" \
11659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11660                   dvi) \
11661           || exit 1
11662
11663 @endif intl
11664
11665 .PHONY: maybe-html-intl html-intl
11666 maybe-html-intl:
11667 @if intl
11668 maybe-html-intl: html-intl
11669
11670 html-intl: \
11671     configure-intl 
11672         @[ -f ./intl/Makefile ] || exit 0; \
11673         r=`${PWD_COMMAND}`; export r; \
11674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11675         $(HOST_EXPORTS) \
11676         for flag in $(EXTRA_HOST_FLAGS) ; do \
11677           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11678         done; \
11679         echo "Doing html in intl" ; \
11680         (cd $(HOST_SUBDIR)/intl && \
11681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11683                   "RANLIB=$${RANLIB}" \
11684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11685                   html) \
11686           || exit 1
11687
11688 @endif intl
11689
11690 .PHONY: maybe-TAGS-intl TAGS-intl
11691 maybe-TAGS-intl:
11692 @if intl
11693 maybe-TAGS-intl: TAGS-intl
11694
11695 TAGS-intl: \
11696     configure-intl 
11697         @[ -f ./intl/Makefile ] || exit 0; \
11698         r=`${PWD_COMMAND}`; export r; \
11699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11700         $(HOST_EXPORTS) \
11701         for flag in $(EXTRA_HOST_FLAGS) ; do \
11702           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11703         done; \
11704         echo "Doing TAGS in intl" ; \
11705         (cd $(HOST_SUBDIR)/intl && \
11706           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11707                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11708                   "RANLIB=$${RANLIB}" \
11709                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11710                   TAGS) \
11711           || exit 1
11712
11713 @endif intl
11714
11715 .PHONY: maybe-install-info-intl install-info-intl
11716 maybe-install-info-intl:
11717 @if intl
11718 maybe-install-info-intl: install-info-intl
11719
11720 install-info-intl: \
11721     configure-intl \
11722     info-intl 
11723         @[ -f ./intl/Makefile ] || exit 0; \
11724         r=`${PWD_COMMAND}`; export r; \
11725         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726         $(HOST_EXPORTS) \
11727         for flag in $(EXTRA_HOST_FLAGS) ; do \
11728           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11729         done; \
11730         echo "Doing install-info in intl" ; \
11731         (cd $(HOST_SUBDIR)/intl && \
11732           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11733                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11734                   "RANLIB=$${RANLIB}" \
11735                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11736                   install-info) \
11737           || exit 1
11738
11739 @endif intl
11740
11741 .PHONY: maybe-installcheck-intl installcheck-intl
11742 maybe-installcheck-intl:
11743 @if intl
11744 maybe-installcheck-intl: installcheck-intl
11745
11746 installcheck-intl: \
11747     configure-intl 
11748         @[ -f ./intl/Makefile ] || exit 0; \
11749         r=`${PWD_COMMAND}`; export r; \
11750         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11751         $(HOST_EXPORTS) \
11752         for flag in $(EXTRA_HOST_FLAGS) ; do \
11753           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11754         done; \
11755         echo "Doing installcheck in intl" ; \
11756         (cd $(HOST_SUBDIR)/intl && \
11757           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11758                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11759                   "RANLIB=$${RANLIB}" \
11760                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11761                   installcheck) \
11762           || exit 1
11763
11764 @endif intl
11765
11766 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11767 maybe-mostlyclean-intl:
11768 @if intl
11769 maybe-mostlyclean-intl: mostlyclean-intl
11770
11771 mostlyclean-intl: 
11772         @[ -f ./intl/Makefile ] || exit 0; \
11773         r=`${PWD_COMMAND}`; export r; \
11774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11775         $(HOST_EXPORTS) \
11776         for flag in $(EXTRA_HOST_FLAGS) ; do \
11777           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778         done; \
11779         echo "Doing mostlyclean in intl" ; \
11780         (cd $(HOST_SUBDIR)/intl && \
11781           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11782                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11783                   "RANLIB=$${RANLIB}" \
11784                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11785                   mostlyclean) \
11786           || exit 1
11787
11788 @endif intl
11789
11790 .PHONY: maybe-clean-intl clean-intl
11791 maybe-clean-intl:
11792 @if intl
11793 maybe-clean-intl: clean-intl
11794
11795 clean-intl: 
11796         @[ -f ./intl/Makefile ] || exit 0; \
11797         r=`${PWD_COMMAND}`; export r; \
11798         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11799         $(HOST_EXPORTS) \
11800         for flag in $(EXTRA_HOST_FLAGS) ; do \
11801           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11802         done; \
11803         echo "Doing clean in intl" ; \
11804         (cd $(HOST_SUBDIR)/intl && \
11805           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11806                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11807                   "RANLIB=$${RANLIB}" \
11808                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11809                   clean) \
11810           || exit 1
11811
11812 @endif intl
11813
11814 .PHONY: maybe-distclean-intl distclean-intl
11815 maybe-distclean-intl:
11816 @if intl
11817 maybe-distclean-intl: distclean-intl
11818
11819 distclean-intl: 
11820         @[ -f ./intl/Makefile ] || exit 0; \
11821         r=`${PWD_COMMAND}`; export r; \
11822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11823         $(HOST_EXPORTS) \
11824         for flag in $(EXTRA_HOST_FLAGS) ; do \
11825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11826         done; \
11827         echo "Doing distclean in intl" ; \
11828         (cd $(HOST_SUBDIR)/intl && \
11829           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11830                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11831                   "RANLIB=$${RANLIB}" \
11832                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11833                   distclean) \
11834           || exit 1
11835
11836 @endif intl
11837
11838 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11839 maybe-maintainer-clean-intl:
11840 @if intl
11841 maybe-maintainer-clean-intl: maintainer-clean-intl
11842
11843 maintainer-clean-intl: 
11844         @[ -f ./intl/Makefile ] || exit 0; \
11845         r=`${PWD_COMMAND}`; export r; \
11846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11847         $(HOST_EXPORTS) \
11848         for flag in $(EXTRA_HOST_FLAGS) ; do \
11849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11850         done; \
11851         echo "Doing maintainer-clean in intl" ; \
11852         (cd $(HOST_SUBDIR)/intl && \
11853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11855                   "RANLIB=$${RANLIB}" \
11856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11857                   maintainer-clean) \
11858           || exit 1
11859
11860 @endif intl
11861
11862
11863 .PHONY: configure-tcl maybe-configure-tcl
11864 maybe-configure-tcl:
11865 @if tcl
11866 maybe-configure-tcl: configure-tcl
11867 configure-tcl:
11868         @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
11869         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
11870         r=`${PWD_COMMAND}`; export r; \
11871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872         $(HOST_EXPORTS) \
11873         echo Configuring in tcl; \
11874         cd $(HOST_SUBDIR)/tcl || exit 1; \
11875         case $(srcdir) in \
11876           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11877           *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
11878                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11879         esac; \
11880         srcdiroption="--srcdir=$${topdir}/tcl"; \
11881         libsrcdir="$$s/tcl"; \
11882         $(SHELL) $${libsrcdir}/configure \
11883           $(HOST_CONFIGARGS) $${srcdiroption}  \
11884           || exit 1
11885 @endif tcl
11886
11887 .PHONY: all-tcl maybe-all-tcl
11888 maybe-all-tcl:
11889 @if tcl
11890 TARGET-tcl=all
11891 maybe-all-tcl: all-tcl
11892 all-tcl: configure-tcl
11893         @r=`${PWD_COMMAND}`; export r; \
11894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11895         $(HOST_EXPORTS) \
11896         (cd $(HOST_SUBDIR)/tcl && \
11897           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-tcl))
11898 @endif tcl
11899
11900 .PHONY: check-tcl maybe-check-tcl
11901 maybe-check-tcl:
11902 @if tcl
11903 maybe-check-tcl: check-tcl
11904
11905 check-tcl:
11906         @r=`${PWD_COMMAND}`; export r; \
11907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11908         $(HOST_EXPORTS) \
11909         (cd $(HOST_SUBDIR)/tcl && \
11910           $(MAKE) $(FLAGS_TO_PASS)  check)
11911
11912 @endif tcl
11913
11914 .PHONY: install-tcl maybe-install-tcl
11915 maybe-install-tcl:
11916 @if tcl
11917 maybe-install-tcl: install-tcl
11918
11919 install-tcl: installdirs
11920         @r=`${PWD_COMMAND}`; export r; \
11921         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11922         $(HOST_EXPORTS) \
11923         (cd $(HOST_SUBDIR)/tcl && \
11924           $(MAKE) $(FLAGS_TO_PASS)  install)
11925
11926 @endif tcl
11927
11928 # Other targets (info, dvi, etc.)
11929
11930 .PHONY: maybe-info-tcl info-tcl
11931 maybe-info-tcl:
11932 @if tcl
11933 maybe-info-tcl: info-tcl
11934
11935 info-tcl: \
11936     configure-tcl 
11937         @[ -f ./tcl/Makefile ] || exit 0; \
11938         r=`${PWD_COMMAND}`; export r; \
11939         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940         $(HOST_EXPORTS) \
11941         for flag in $(EXTRA_HOST_FLAGS) ; do \
11942           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11943         done; \
11944         echo "Doing info in tcl" ; \
11945         (cd $(HOST_SUBDIR)/tcl && \
11946           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11947                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11948                   "RANLIB=$${RANLIB}" \
11949                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11950                   info) \
11951           || exit 1
11952
11953 @endif tcl
11954
11955 .PHONY: maybe-dvi-tcl dvi-tcl
11956 maybe-dvi-tcl:
11957 @if tcl
11958 maybe-dvi-tcl: dvi-tcl
11959
11960 dvi-tcl: \
11961     configure-tcl 
11962         @[ -f ./tcl/Makefile ] || exit 0; \
11963         r=`${PWD_COMMAND}`; export r; \
11964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11965         $(HOST_EXPORTS) \
11966         for flag in $(EXTRA_HOST_FLAGS) ; do \
11967           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11968         done; \
11969         echo "Doing dvi in tcl" ; \
11970         (cd $(HOST_SUBDIR)/tcl && \
11971           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11972                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11973                   "RANLIB=$${RANLIB}" \
11974                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11975                   dvi) \
11976           || exit 1
11977
11978 @endif tcl
11979
11980 .PHONY: maybe-html-tcl html-tcl
11981 maybe-html-tcl:
11982 @if tcl
11983 maybe-html-tcl: html-tcl
11984
11985 html-tcl: \
11986     configure-tcl 
11987         @[ -f ./tcl/Makefile ] || exit 0; \
11988         r=`${PWD_COMMAND}`; export r; \
11989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990         $(HOST_EXPORTS) \
11991         for flag in $(EXTRA_HOST_FLAGS) ; do \
11992           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11993         done; \
11994         echo "Doing html in tcl" ; \
11995         (cd $(HOST_SUBDIR)/tcl && \
11996           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11997                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11998                   "RANLIB=$${RANLIB}" \
11999                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12000                   html) \
12001           || exit 1
12002
12003 @endif tcl
12004
12005 .PHONY: maybe-TAGS-tcl TAGS-tcl
12006 maybe-TAGS-tcl:
12007 @if tcl
12008 maybe-TAGS-tcl: TAGS-tcl
12009
12010 TAGS-tcl: \
12011     configure-tcl 
12012         @[ -f ./tcl/Makefile ] || exit 0; \
12013         r=`${PWD_COMMAND}`; export r; \
12014         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12015         $(HOST_EXPORTS) \
12016         for flag in $(EXTRA_HOST_FLAGS) ; do \
12017           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12018         done; \
12019         echo "Doing TAGS in tcl" ; \
12020         (cd $(HOST_SUBDIR)/tcl && \
12021           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12022                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12023                   "RANLIB=$${RANLIB}" \
12024                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12025                   TAGS) \
12026           || exit 1
12027
12028 @endif tcl
12029
12030 .PHONY: maybe-install-info-tcl install-info-tcl
12031 maybe-install-info-tcl:
12032 @if tcl
12033 maybe-install-info-tcl: install-info-tcl
12034
12035 install-info-tcl: \
12036     configure-tcl \
12037     info-tcl 
12038         @[ -f ./tcl/Makefile ] || exit 0; \
12039         r=`${PWD_COMMAND}`; export r; \
12040         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041         $(HOST_EXPORTS) \
12042         for flag in $(EXTRA_HOST_FLAGS) ; do \
12043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12044         done; \
12045         echo "Doing install-info in tcl" ; \
12046         (cd $(HOST_SUBDIR)/tcl && \
12047           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12048                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12049                   "RANLIB=$${RANLIB}" \
12050                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12051                   install-info) \
12052           || exit 1
12053
12054 @endif tcl
12055
12056 .PHONY: maybe-installcheck-tcl installcheck-tcl
12057 maybe-installcheck-tcl:
12058 @if tcl
12059 maybe-installcheck-tcl: installcheck-tcl
12060
12061 installcheck-tcl: \
12062     configure-tcl 
12063         @[ -f ./tcl/Makefile ] || exit 0; \
12064         r=`${PWD_COMMAND}`; export r; \
12065         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066         $(HOST_EXPORTS) \
12067         for flag in $(EXTRA_HOST_FLAGS) ; do \
12068           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12069         done; \
12070         echo "Doing installcheck in tcl" ; \
12071         (cd $(HOST_SUBDIR)/tcl && \
12072           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12073                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12074                   "RANLIB=$${RANLIB}" \
12075                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12076                   installcheck) \
12077           || exit 1
12078
12079 @endif tcl
12080
12081 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12082 maybe-mostlyclean-tcl:
12083 @if tcl
12084 maybe-mostlyclean-tcl: mostlyclean-tcl
12085
12086 # tcl doesn't support mostlyclean.
12087 mostlyclean-tcl:
12088
12089 @endif tcl
12090
12091 .PHONY: maybe-clean-tcl clean-tcl
12092 maybe-clean-tcl:
12093 @if tcl
12094 maybe-clean-tcl: clean-tcl
12095
12096 clean-tcl: 
12097         @[ -f ./tcl/Makefile ] || exit 0; \
12098         r=`${PWD_COMMAND}`; export r; \
12099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12100         $(HOST_EXPORTS) \
12101         for flag in $(EXTRA_HOST_FLAGS) ; do \
12102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12103         done; \
12104         echo "Doing clean in tcl" ; \
12105         (cd $(HOST_SUBDIR)/tcl && \
12106           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108                   "RANLIB=$${RANLIB}" \
12109                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12110                   clean) \
12111           || exit 1
12112
12113 @endif tcl
12114
12115 .PHONY: maybe-distclean-tcl distclean-tcl
12116 maybe-distclean-tcl:
12117 @if tcl
12118 maybe-distclean-tcl: distclean-tcl
12119
12120 distclean-tcl: 
12121         @[ -f ./tcl/Makefile ] || exit 0; \
12122         r=`${PWD_COMMAND}`; export r; \
12123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12124         $(HOST_EXPORTS) \
12125         for flag in $(EXTRA_HOST_FLAGS) ; do \
12126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12127         done; \
12128         echo "Doing distclean in tcl" ; \
12129         (cd $(HOST_SUBDIR)/tcl && \
12130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12132                   "RANLIB=$${RANLIB}" \
12133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12134                   distclean) \
12135           || exit 1
12136
12137 @endif tcl
12138
12139 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12140 maybe-maintainer-clean-tcl:
12141 @if tcl
12142 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12143
12144 maintainer-clean-tcl: 
12145         @[ -f ./tcl/Makefile ] || exit 0; \
12146         r=`${PWD_COMMAND}`; export r; \
12147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12148         $(HOST_EXPORTS) \
12149         for flag in $(EXTRA_HOST_FLAGS) ; do \
12150           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12151         done; \
12152         echo "Doing maintainer-clean in tcl" ; \
12153         (cd $(HOST_SUBDIR)/tcl && \
12154           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12155                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12156                   "RANLIB=$${RANLIB}" \
12157                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12158                   maintainer-clean) \
12159           || exit 1
12160
12161 @endif tcl
12162
12163
12164 .PHONY: configure-itcl maybe-configure-itcl
12165 maybe-configure-itcl:
12166 @if itcl
12167 maybe-configure-itcl: configure-itcl
12168 configure-itcl:
12169         @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
12170         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
12171         r=`${PWD_COMMAND}`; export r; \
12172         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12173         $(HOST_EXPORTS) \
12174         echo Configuring in itcl; \
12175         cd $(HOST_SUBDIR)/itcl || exit 1; \
12176         case $(srcdir) in \
12177           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12178           *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
12179                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12180         esac; \
12181         srcdiroption="--srcdir=$${topdir}/itcl"; \
12182         libsrcdir="$$s/itcl"; \
12183         $(SHELL) $${libsrcdir}/configure \
12184           $(HOST_CONFIGARGS) $${srcdiroption}  \
12185           || exit 1
12186 @endif itcl
12187
12188 .PHONY: all-itcl maybe-all-itcl
12189 maybe-all-itcl:
12190 @if itcl
12191 TARGET-itcl=all
12192 maybe-all-itcl: all-itcl
12193 all-itcl: configure-itcl
12194         @r=`${PWD_COMMAND}`; export r; \
12195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196         $(HOST_EXPORTS) \
12197         (cd $(HOST_SUBDIR)/itcl && \
12198           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-itcl))
12199 @endif itcl
12200
12201 .PHONY: check-itcl maybe-check-itcl
12202 maybe-check-itcl:
12203 @if itcl
12204 maybe-check-itcl: check-itcl
12205
12206 check-itcl:
12207         @r=`${PWD_COMMAND}`; export r; \
12208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12209         $(HOST_EXPORTS) \
12210         (cd $(HOST_SUBDIR)/itcl && \
12211           $(MAKE) $(FLAGS_TO_PASS)  check)
12212
12213 @endif itcl
12214
12215 .PHONY: install-itcl maybe-install-itcl
12216 maybe-install-itcl:
12217 @if itcl
12218 maybe-install-itcl: install-itcl
12219
12220 install-itcl: installdirs
12221         @r=`${PWD_COMMAND}`; export r; \
12222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12223         $(HOST_EXPORTS) \
12224         (cd $(HOST_SUBDIR)/itcl && \
12225           $(MAKE) $(FLAGS_TO_PASS)  install)
12226
12227 @endif itcl
12228
12229 # Other targets (info, dvi, etc.)
12230
12231 .PHONY: maybe-info-itcl info-itcl
12232 maybe-info-itcl:
12233 @if itcl
12234 maybe-info-itcl: info-itcl
12235
12236 info-itcl: \
12237     configure-itcl 
12238         @[ -f ./itcl/Makefile ] || exit 0; \
12239         r=`${PWD_COMMAND}`; export r; \
12240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12241         $(HOST_EXPORTS) \
12242         for flag in $(EXTRA_HOST_FLAGS) ; do \
12243           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12244         done; \
12245         echo "Doing info in itcl" ; \
12246         (cd $(HOST_SUBDIR)/itcl && \
12247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12249                   "RANLIB=$${RANLIB}" \
12250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12251                   info) \
12252           || exit 1
12253
12254 @endif itcl
12255
12256 .PHONY: maybe-dvi-itcl dvi-itcl
12257 maybe-dvi-itcl:
12258 @if itcl
12259 maybe-dvi-itcl: dvi-itcl
12260
12261 dvi-itcl: \
12262     configure-itcl 
12263         @[ -f ./itcl/Makefile ] || exit 0; \
12264         r=`${PWD_COMMAND}`; export r; \
12265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12266         $(HOST_EXPORTS) \
12267         for flag in $(EXTRA_HOST_FLAGS) ; do \
12268           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12269         done; \
12270         echo "Doing dvi in itcl" ; \
12271         (cd $(HOST_SUBDIR)/itcl && \
12272           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12273                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12274                   "RANLIB=$${RANLIB}" \
12275                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12276                   dvi) \
12277           || exit 1
12278
12279 @endif itcl
12280
12281 .PHONY: maybe-html-itcl html-itcl
12282 maybe-html-itcl:
12283 @if itcl
12284 maybe-html-itcl: html-itcl
12285
12286 html-itcl: \
12287     configure-itcl 
12288         @[ -f ./itcl/Makefile ] || exit 0; \
12289         r=`${PWD_COMMAND}`; export r; \
12290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12291         $(HOST_EXPORTS) \
12292         for flag in $(EXTRA_HOST_FLAGS) ; do \
12293           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12294         done; \
12295         echo "Doing html in itcl" ; \
12296         (cd $(HOST_SUBDIR)/itcl && \
12297           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12298                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12299                   "RANLIB=$${RANLIB}" \
12300                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12301                   html) \
12302           || exit 1
12303
12304 @endif itcl
12305
12306 .PHONY: maybe-TAGS-itcl TAGS-itcl
12307 maybe-TAGS-itcl:
12308 @if itcl
12309 maybe-TAGS-itcl: TAGS-itcl
12310
12311 TAGS-itcl: \
12312     configure-itcl 
12313         @[ -f ./itcl/Makefile ] || exit 0; \
12314         r=`${PWD_COMMAND}`; export r; \
12315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12316         $(HOST_EXPORTS) \
12317         for flag in $(EXTRA_HOST_FLAGS) ; do \
12318           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12319         done; \
12320         echo "Doing TAGS in itcl" ; \
12321         (cd $(HOST_SUBDIR)/itcl && \
12322           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12323                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12324                   "RANLIB=$${RANLIB}" \
12325                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12326                   TAGS) \
12327           || exit 1
12328
12329 @endif itcl
12330
12331 .PHONY: maybe-install-info-itcl install-info-itcl
12332 maybe-install-info-itcl:
12333 @if itcl
12334 maybe-install-info-itcl: install-info-itcl
12335
12336 install-info-itcl: \
12337     configure-itcl \
12338     info-itcl 
12339         @[ -f ./itcl/Makefile ] || exit 0; \
12340         r=`${PWD_COMMAND}`; export r; \
12341         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12342         $(HOST_EXPORTS) \
12343         for flag in $(EXTRA_HOST_FLAGS) ; do \
12344           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12345         done; \
12346         echo "Doing install-info in itcl" ; \
12347         (cd $(HOST_SUBDIR)/itcl && \
12348           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12349                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12350                   "RANLIB=$${RANLIB}" \
12351                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12352                   install-info) \
12353           || exit 1
12354
12355 @endif itcl
12356
12357 .PHONY: maybe-installcheck-itcl installcheck-itcl
12358 maybe-installcheck-itcl:
12359 @if itcl
12360 maybe-installcheck-itcl: installcheck-itcl
12361
12362 installcheck-itcl: \
12363     configure-itcl 
12364         @[ -f ./itcl/Makefile ] || exit 0; \
12365         r=`${PWD_COMMAND}`; export r; \
12366         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12367         $(HOST_EXPORTS) \
12368         for flag in $(EXTRA_HOST_FLAGS) ; do \
12369           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12370         done; \
12371         echo "Doing installcheck in itcl" ; \
12372         (cd $(HOST_SUBDIR)/itcl && \
12373           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12374                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12375                   "RANLIB=$${RANLIB}" \
12376                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12377                   installcheck) \
12378           || exit 1
12379
12380 @endif itcl
12381
12382 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12383 maybe-mostlyclean-itcl:
12384 @if itcl
12385 maybe-mostlyclean-itcl: mostlyclean-itcl
12386
12387 mostlyclean-itcl: 
12388         @[ -f ./itcl/Makefile ] || exit 0; \
12389         r=`${PWD_COMMAND}`; export r; \
12390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12391         $(HOST_EXPORTS) \
12392         for flag in $(EXTRA_HOST_FLAGS) ; do \
12393           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12394         done; \
12395         echo "Doing mostlyclean in itcl" ; \
12396         (cd $(HOST_SUBDIR)/itcl && \
12397           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12398                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12399                   "RANLIB=$${RANLIB}" \
12400                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12401                   mostlyclean) \
12402           || exit 1
12403
12404 @endif itcl
12405
12406 .PHONY: maybe-clean-itcl clean-itcl
12407 maybe-clean-itcl:
12408 @if itcl
12409 maybe-clean-itcl: clean-itcl
12410
12411 clean-itcl: 
12412         @[ -f ./itcl/Makefile ] || exit 0; \
12413         r=`${PWD_COMMAND}`; export r; \
12414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12415         $(HOST_EXPORTS) \
12416         for flag in $(EXTRA_HOST_FLAGS) ; do \
12417           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12418         done; \
12419         echo "Doing clean in itcl" ; \
12420         (cd $(HOST_SUBDIR)/itcl && \
12421           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12422                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12423                   "RANLIB=$${RANLIB}" \
12424                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12425                   clean) \
12426           || exit 1
12427
12428 @endif itcl
12429
12430 .PHONY: maybe-distclean-itcl distclean-itcl
12431 maybe-distclean-itcl:
12432 @if itcl
12433 maybe-distclean-itcl: distclean-itcl
12434
12435 distclean-itcl: 
12436         @[ -f ./itcl/Makefile ] || exit 0; \
12437         r=`${PWD_COMMAND}`; export r; \
12438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12439         $(HOST_EXPORTS) \
12440         for flag in $(EXTRA_HOST_FLAGS) ; do \
12441           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12442         done; \
12443         echo "Doing distclean in itcl" ; \
12444         (cd $(HOST_SUBDIR)/itcl && \
12445           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12446                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12447                   "RANLIB=$${RANLIB}" \
12448                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12449                   distclean) \
12450           || exit 1
12451
12452 @endif itcl
12453
12454 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12455 maybe-maintainer-clean-itcl:
12456 @if itcl
12457 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12458
12459 maintainer-clean-itcl: 
12460         @[ -f ./itcl/Makefile ] || exit 0; \
12461         r=`${PWD_COMMAND}`; export r; \
12462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12463         $(HOST_EXPORTS) \
12464         for flag in $(EXTRA_HOST_FLAGS) ; do \
12465           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12466         done; \
12467         echo "Doing maintainer-clean in itcl" ; \
12468         (cd $(HOST_SUBDIR)/itcl && \
12469           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12470                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12471                   "RANLIB=$${RANLIB}" \
12472                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12473                   maintainer-clean) \
12474           || exit 1
12475
12476 @endif itcl
12477
12478
12479 .PHONY: configure-ld maybe-configure-ld
12480 maybe-configure-ld:
12481 @if ld
12482 maybe-configure-ld: configure-ld
12483 configure-ld:
12484         @test -f stage_last && exit 0; \
12485         test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
12486         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
12487         r=`${PWD_COMMAND}`; export r; \
12488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489         $(HOST_EXPORTS) \
12490         echo Configuring in ld; \
12491         cd $(HOST_SUBDIR)/ld || exit 1; \
12492         case $(srcdir) in \
12493           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12494           *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
12495                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12496         esac; \
12497         srcdiroption="--srcdir=$${topdir}/ld"; \
12498         libsrcdir="$$s/ld"; \
12499         $(SHELL) $${libsrcdir}/configure \
12500           $(HOST_CONFIGARGS) $${srcdiroption}  \
12501           || exit 1
12502 @endif ld
12503
12504 .PHONY: all-ld maybe-all-ld
12505 maybe-all-ld:
12506 @if ld
12507 TARGET-ld=all
12508 maybe-all-ld: all-ld
12509 all-ld: configure-ld
12510         @test -f stage_last && exit 0; \
12511         r=`${PWD_COMMAND}`; export r; \
12512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12513         $(HOST_EXPORTS) \
12514         (cd $(HOST_SUBDIR)/ld && \
12515           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-ld))
12516 @endif ld
12517
12518 .PHONY: check-ld maybe-check-ld
12519 maybe-check-ld:
12520 @if ld
12521 maybe-check-ld: check-ld
12522
12523 check-ld:
12524         @r=`${PWD_COMMAND}`; export r; \
12525         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12526         $(HOST_EXPORTS) \
12527         (cd $(HOST_SUBDIR)/ld && \
12528           $(MAKE) $(FLAGS_TO_PASS)  check)
12529
12530 @endif ld
12531
12532 .PHONY: install-ld maybe-install-ld
12533 maybe-install-ld:
12534 @if ld
12535 maybe-install-ld: install-ld
12536
12537 install-ld: installdirs
12538         @r=`${PWD_COMMAND}`; export r; \
12539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12540         $(HOST_EXPORTS) \
12541         (cd $(HOST_SUBDIR)/ld && \
12542           $(MAKE) $(FLAGS_TO_PASS)  install)
12543
12544 @endif ld
12545
12546 # Other targets (info, dvi, etc.)
12547
12548 .PHONY: maybe-info-ld info-ld
12549 maybe-info-ld:
12550 @if ld
12551 maybe-info-ld: info-ld
12552
12553 info-ld: \
12554     configure-ld 
12555         @[ -f ./ld/Makefile ] || exit 0; \
12556         r=`${PWD_COMMAND}`; export r; \
12557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12558         $(HOST_EXPORTS) \
12559         for flag in $(EXTRA_HOST_FLAGS) ; do \
12560           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12561         done; \
12562         echo "Doing info in ld" ; \
12563         (cd $(HOST_SUBDIR)/ld && \
12564           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12565                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12566                   "RANLIB=$${RANLIB}" \
12567                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12568                   info) \
12569           || exit 1
12570
12571 @endif ld
12572
12573 .PHONY: maybe-dvi-ld dvi-ld
12574 maybe-dvi-ld:
12575 @if ld
12576 maybe-dvi-ld: dvi-ld
12577
12578 dvi-ld: \
12579     configure-ld 
12580         @[ -f ./ld/Makefile ] || exit 0; \
12581         r=`${PWD_COMMAND}`; export r; \
12582         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12583         $(HOST_EXPORTS) \
12584         for flag in $(EXTRA_HOST_FLAGS) ; do \
12585           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12586         done; \
12587         echo "Doing dvi in ld" ; \
12588         (cd $(HOST_SUBDIR)/ld && \
12589           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12590                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12591                   "RANLIB=$${RANLIB}" \
12592                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12593                   dvi) \
12594           || exit 1
12595
12596 @endif ld
12597
12598 .PHONY: maybe-html-ld html-ld
12599 maybe-html-ld:
12600 @if ld
12601 maybe-html-ld: html-ld
12602
12603 html-ld: \
12604     configure-ld 
12605         @[ -f ./ld/Makefile ] || exit 0; \
12606         r=`${PWD_COMMAND}`; export r; \
12607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12608         $(HOST_EXPORTS) \
12609         for flag in $(EXTRA_HOST_FLAGS) ; do \
12610           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12611         done; \
12612         echo "Doing html in ld" ; \
12613         (cd $(HOST_SUBDIR)/ld && \
12614           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12615                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12616                   "RANLIB=$${RANLIB}" \
12617                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12618                   html) \
12619           || exit 1
12620
12621 @endif ld
12622
12623 .PHONY: maybe-TAGS-ld TAGS-ld
12624 maybe-TAGS-ld:
12625 @if ld
12626 maybe-TAGS-ld: TAGS-ld
12627
12628 TAGS-ld: \
12629     configure-ld 
12630         @[ -f ./ld/Makefile ] || exit 0; \
12631         r=`${PWD_COMMAND}`; export r; \
12632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12633         $(HOST_EXPORTS) \
12634         for flag in $(EXTRA_HOST_FLAGS) ; do \
12635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12636         done; \
12637         echo "Doing TAGS in ld" ; \
12638         (cd $(HOST_SUBDIR)/ld && \
12639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12641                   "RANLIB=$${RANLIB}" \
12642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12643                   TAGS) \
12644           || exit 1
12645
12646 @endif ld
12647
12648 .PHONY: maybe-install-info-ld install-info-ld
12649 maybe-install-info-ld:
12650 @if ld
12651 maybe-install-info-ld: install-info-ld
12652
12653 install-info-ld: \
12654     configure-ld \
12655     info-ld 
12656         @[ -f ./ld/Makefile ] || exit 0; \
12657         r=`${PWD_COMMAND}`; export r; \
12658         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12659         $(HOST_EXPORTS) \
12660         for flag in $(EXTRA_HOST_FLAGS) ; do \
12661           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12662         done; \
12663         echo "Doing install-info in ld" ; \
12664         (cd $(HOST_SUBDIR)/ld && \
12665           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12666                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12667                   "RANLIB=$${RANLIB}" \
12668                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12669                   install-info) \
12670           || exit 1
12671
12672 @endif ld
12673
12674 .PHONY: maybe-installcheck-ld installcheck-ld
12675 maybe-installcheck-ld:
12676 @if ld
12677 maybe-installcheck-ld: installcheck-ld
12678
12679 installcheck-ld: \
12680     configure-ld 
12681         @[ -f ./ld/Makefile ] || exit 0; \
12682         r=`${PWD_COMMAND}`; export r; \
12683         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12684         $(HOST_EXPORTS) \
12685         for flag in $(EXTRA_HOST_FLAGS) ; do \
12686           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12687         done; \
12688         echo "Doing installcheck in ld" ; \
12689         (cd $(HOST_SUBDIR)/ld && \
12690           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12691                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12692                   "RANLIB=$${RANLIB}" \
12693                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12694                   installcheck) \
12695           || exit 1
12696
12697 @endif ld
12698
12699 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12700 maybe-mostlyclean-ld:
12701 @if ld
12702 maybe-mostlyclean-ld: mostlyclean-ld
12703
12704 mostlyclean-ld: 
12705         @[ -f ./ld/Makefile ] || exit 0; \
12706         r=`${PWD_COMMAND}`; export r; \
12707         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12708         $(HOST_EXPORTS) \
12709         for flag in $(EXTRA_HOST_FLAGS) ; do \
12710           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12711         done; \
12712         echo "Doing mostlyclean in ld" ; \
12713         (cd $(HOST_SUBDIR)/ld && \
12714           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12715                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12716                   "RANLIB=$${RANLIB}" \
12717                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12718                   mostlyclean) \
12719           || exit 1
12720
12721 @endif ld
12722
12723 .PHONY: maybe-clean-ld clean-ld
12724 maybe-clean-ld:
12725 @if ld
12726 maybe-clean-ld: clean-ld
12727
12728 clean-ld: 
12729         @[ -f ./ld/Makefile ] || exit 0; \
12730         r=`${PWD_COMMAND}`; export r; \
12731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12732         $(HOST_EXPORTS) \
12733         for flag in $(EXTRA_HOST_FLAGS) ; do \
12734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12735         done; \
12736         echo "Doing clean in ld" ; \
12737         (cd $(HOST_SUBDIR)/ld && \
12738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12740                   "RANLIB=$${RANLIB}" \
12741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12742                   clean) \
12743           || exit 1
12744
12745 @endif ld
12746
12747 .PHONY: maybe-distclean-ld distclean-ld
12748 maybe-distclean-ld:
12749 @if ld
12750 maybe-distclean-ld: distclean-ld
12751
12752 distclean-ld: 
12753         @[ -f ./ld/Makefile ] || exit 0; \
12754         r=`${PWD_COMMAND}`; export r; \
12755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756         $(HOST_EXPORTS) \
12757         for flag in $(EXTRA_HOST_FLAGS) ; do \
12758           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12759         done; \
12760         echo "Doing distclean in ld" ; \
12761         (cd $(HOST_SUBDIR)/ld && \
12762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12764                   "RANLIB=$${RANLIB}" \
12765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12766                   distclean) \
12767           || exit 1
12768
12769 @endif ld
12770
12771 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12772 maybe-maintainer-clean-ld:
12773 @if ld
12774 maybe-maintainer-clean-ld: maintainer-clean-ld
12775
12776 maintainer-clean-ld: 
12777         @[ -f ./ld/Makefile ] || exit 0; \
12778         r=`${PWD_COMMAND}`; export r; \
12779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12780         $(HOST_EXPORTS) \
12781         for flag in $(EXTRA_HOST_FLAGS) ; do \
12782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12783         done; \
12784         echo "Doing maintainer-clean in ld" ; \
12785         (cd $(HOST_SUBDIR)/ld && \
12786           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12787                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12788                   "RANLIB=$${RANLIB}" \
12789                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12790                   maintainer-clean) \
12791           || exit 1
12792
12793 @endif ld
12794
12795
12796 .PHONY: configure-libcpp maybe-configure-libcpp
12797 maybe-configure-libcpp:
12798 @if libcpp
12799 maybe-configure-libcpp: configure-libcpp
12800 configure-libcpp:
12801         @test -f stage_last && exit 0; \
12802         test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
12803         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
12804         r=`${PWD_COMMAND}`; export r; \
12805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12806         $(HOST_EXPORTS) \
12807         echo Configuring in libcpp; \
12808         cd $(HOST_SUBDIR)/libcpp || exit 1; \
12809         case $(srcdir) in \
12810           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12811           *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
12812                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12813         esac; \
12814         srcdiroption="--srcdir=$${topdir}/libcpp"; \
12815         libsrcdir="$$s/libcpp"; \
12816         $(SHELL) $${libsrcdir}/configure \
12817           $(HOST_CONFIGARGS) $${srcdiroption}  \
12818           || exit 1
12819 @endif libcpp
12820
12821 .PHONY: all-libcpp maybe-all-libcpp
12822 maybe-all-libcpp:
12823 @if libcpp
12824 TARGET-libcpp=all
12825 maybe-all-libcpp: all-libcpp
12826 all-libcpp: configure-libcpp
12827         @test -f stage_last && exit 0; \
12828         r=`${PWD_COMMAND}`; export r; \
12829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830         $(HOST_EXPORTS) \
12831         (cd $(HOST_SUBDIR)/libcpp && \
12832           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-libcpp))
12833 @endif libcpp
12834
12835 .PHONY: check-libcpp maybe-check-libcpp
12836 maybe-check-libcpp:
12837 @if libcpp
12838 maybe-check-libcpp: check-libcpp
12839
12840 check-libcpp:
12841         @r=`${PWD_COMMAND}`; export r; \
12842         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12843         $(HOST_EXPORTS) \
12844         (cd $(HOST_SUBDIR)/libcpp && \
12845           $(MAKE) $(FLAGS_TO_PASS)  check)
12846
12847 @endif libcpp
12848
12849 .PHONY: install-libcpp maybe-install-libcpp
12850 maybe-install-libcpp:
12851 @if libcpp
12852 maybe-install-libcpp: install-libcpp
12853
12854 install-libcpp: installdirs
12855         @r=`${PWD_COMMAND}`; export r; \
12856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12857         $(HOST_EXPORTS) \
12858         (cd $(HOST_SUBDIR)/libcpp && \
12859           $(MAKE) $(FLAGS_TO_PASS)  install)
12860
12861 @endif libcpp
12862
12863 # Other targets (info, dvi, etc.)
12864
12865 .PHONY: maybe-info-libcpp info-libcpp
12866 maybe-info-libcpp:
12867 @if libcpp
12868 maybe-info-libcpp: info-libcpp
12869
12870 info-libcpp: \
12871     configure-libcpp 
12872         @[ -f ./libcpp/Makefile ] || exit 0; \
12873         r=`${PWD_COMMAND}`; export r; \
12874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12875         $(HOST_EXPORTS) \
12876         for flag in $(EXTRA_HOST_FLAGS) ; do \
12877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12878         done; \
12879         echo "Doing info in libcpp" ; \
12880         (cd $(HOST_SUBDIR)/libcpp && \
12881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12883                   "RANLIB=$${RANLIB}" \
12884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12885                   info) \
12886           || exit 1
12887
12888 @endif libcpp
12889
12890 .PHONY: maybe-dvi-libcpp dvi-libcpp
12891 maybe-dvi-libcpp:
12892 @if libcpp
12893 maybe-dvi-libcpp: dvi-libcpp
12894
12895 dvi-libcpp: \
12896     configure-libcpp 
12897         @[ -f ./libcpp/Makefile ] || exit 0; \
12898         r=`${PWD_COMMAND}`; export r; \
12899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12900         $(HOST_EXPORTS) \
12901         for flag in $(EXTRA_HOST_FLAGS) ; do \
12902           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12903         done; \
12904         echo "Doing dvi in libcpp" ; \
12905         (cd $(HOST_SUBDIR)/libcpp && \
12906           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12907                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12908                   "RANLIB=$${RANLIB}" \
12909                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12910                   dvi) \
12911           || exit 1
12912
12913 @endif libcpp
12914
12915 .PHONY: maybe-html-libcpp html-libcpp
12916 maybe-html-libcpp:
12917 @if libcpp
12918 maybe-html-libcpp: html-libcpp
12919
12920 html-libcpp: \
12921     configure-libcpp 
12922         @[ -f ./libcpp/Makefile ] || exit 0; \
12923         r=`${PWD_COMMAND}`; export r; \
12924         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12925         $(HOST_EXPORTS) \
12926         for flag in $(EXTRA_HOST_FLAGS) ; do \
12927           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12928         done; \
12929         echo "Doing html in libcpp" ; \
12930         (cd $(HOST_SUBDIR)/libcpp && \
12931           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12932                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12933                   "RANLIB=$${RANLIB}" \
12934                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12935                   html) \
12936           || exit 1
12937
12938 @endif libcpp
12939
12940 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12941 maybe-TAGS-libcpp:
12942 @if libcpp
12943 maybe-TAGS-libcpp: TAGS-libcpp
12944
12945 TAGS-libcpp: \
12946     configure-libcpp 
12947         @[ -f ./libcpp/Makefile ] || exit 0; \
12948         r=`${PWD_COMMAND}`; export r; \
12949         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12950         $(HOST_EXPORTS) \
12951         for flag in $(EXTRA_HOST_FLAGS) ; do \
12952           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12953         done; \
12954         echo "Doing TAGS in libcpp" ; \
12955         (cd $(HOST_SUBDIR)/libcpp && \
12956           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12957                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12958                   "RANLIB=$${RANLIB}" \
12959                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12960                   TAGS) \
12961           || exit 1
12962
12963 @endif libcpp
12964
12965 .PHONY: maybe-install-info-libcpp install-info-libcpp
12966 maybe-install-info-libcpp:
12967 @if libcpp
12968 maybe-install-info-libcpp: install-info-libcpp
12969
12970 install-info-libcpp: \
12971     configure-libcpp \
12972     info-libcpp 
12973         @[ -f ./libcpp/Makefile ] || exit 0; \
12974         r=`${PWD_COMMAND}`; export r; \
12975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12976         $(HOST_EXPORTS) \
12977         for flag in $(EXTRA_HOST_FLAGS) ; do \
12978           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12979         done; \
12980         echo "Doing install-info in libcpp" ; \
12981         (cd $(HOST_SUBDIR)/libcpp && \
12982           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12983                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12984                   "RANLIB=$${RANLIB}" \
12985                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12986                   install-info) \
12987           || exit 1
12988
12989 @endif libcpp
12990
12991 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12992 maybe-installcheck-libcpp:
12993 @if libcpp
12994 maybe-installcheck-libcpp: installcheck-libcpp
12995
12996 installcheck-libcpp: \
12997     configure-libcpp 
12998         @[ -f ./libcpp/Makefile ] || exit 0; \
12999         r=`${PWD_COMMAND}`; export r; \
13000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13001         $(HOST_EXPORTS) \
13002         for flag in $(EXTRA_HOST_FLAGS) ; do \
13003           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13004         done; \
13005         echo "Doing installcheck in libcpp" ; \
13006         (cd $(HOST_SUBDIR)/libcpp && \
13007           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13008                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13009                   "RANLIB=$${RANLIB}" \
13010                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13011                   installcheck) \
13012           || exit 1
13013
13014 @endif libcpp
13015
13016 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13017 maybe-mostlyclean-libcpp:
13018 @if libcpp
13019 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13020
13021 mostlyclean-libcpp: 
13022         @[ -f ./libcpp/Makefile ] || exit 0; \
13023         r=`${PWD_COMMAND}`; export r; \
13024         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13025         $(HOST_EXPORTS) \
13026         for flag in $(EXTRA_HOST_FLAGS) ; do \
13027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13028         done; \
13029         echo "Doing mostlyclean in libcpp" ; \
13030         (cd $(HOST_SUBDIR)/libcpp && \
13031           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13032                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13033                   "RANLIB=$${RANLIB}" \
13034                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13035                   mostlyclean) \
13036           || exit 1
13037
13038 @endif libcpp
13039
13040 .PHONY: maybe-clean-libcpp clean-libcpp
13041 maybe-clean-libcpp:
13042 @if libcpp
13043 maybe-clean-libcpp: clean-libcpp
13044
13045 clean-libcpp: 
13046         @[ -f ./libcpp/Makefile ] || exit 0; \
13047         r=`${PWD_COMMAND}`; export r; \
13048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13049         $(HOST_EXPORTS) \
13050         for flag in $(EXTRA_HOST_FLAGS) ; do \
13051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13052         done; \
13053         echo "Doing clean in libcpp" ; \
13054         (cd $(HOST_SUBDIR)/libcpp && \
13055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057                   "RANLIB=$${RANLIB}" \
13058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13059                   clean) \
13060           || exit 1
13061
13062 @endif libcpp
13063
13064 .PHONY: maybe-distclean-libcpp distclean-libcpp
13065 maybe-distclean-libcpp:
13066 @if libcpp
13067 maybe-distclean-libcpp: distclean-libcpp
13068
13069 distclean-libcpp: 
13070         @[ -f ./libcpp/Makefile ] || exit 0; \
13071         r=`${PWD_COMMAND}`; export r; \
13072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 distclean in libcpp" ; \
13078         (cd $(HOST_SUBDIR)/libcpp && \
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                   distclean) \
13084           || exit 1
13085
13086 @endif libcpp
13087
13088 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13089 maybe-maintainer-clean-libcpp:
13090 @if libcpp
13091 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13092
13093 maintainer-clean-libcpp: 
13094         @[ -f ./libcpp/Makefile ] || exit 0; \
13095         r=`${PWD_COMMAND}`; export r; \
13096         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13097         $(HOST_EXPORTS) \
13098         for flag in $(EXTRA_HOST_FLAGS) ; do \
13099           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13100         done; \
13101         echo "Doing maintainer-clean in libcpp" ; \
13102         (cd $(HOST_SUBDIR)/libcpp && \
13103           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13104                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13105                   "RANLIB=$${RANLIB}" \
13106                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13107                   maintainer-clean) \
13108           || exit 1
13109
13110 @endif libcpp
13111
13112
13113 .PHONY: configure-libgui maybe-configure-libgui
13114 maybe-configure-libgui:
13115 @if libgui
13116 maybe-configure-libgui: configure-libgui
13117 configure-libgui:
13118         @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
13119         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
13120         r=`${PWD_COMMAND}`; export r; \
13121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13122         $(HOST_EXPORTS) \
13123         echo Configuring in libgui; \
13124         cd $(HOST_SUBDIR)/libgui || exit 1; \
13125         case $(srcdir) in \
13126           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13127           *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
13128                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13129         esac; \
13130         srcdiroption="--srcdir=$${topdir}/libgui"; \
13131         libsrcdir="$$s/libgui"; \
13132         $(SHELL) $${libsrcdir}/configure \
13133           $(HOST_CONFIGARGS) $${srcdiroption}  \
13134           || exit 1
13135 @endif libgui
13136
13137 .PHONY: all-libgui maybe-all-libgui
13138 maybe-all-libgui:
13139 @if libgui
13140 TARGET-libgui=all
13141 maybe-all-libgui: all-libgui
13142 all-libgui: configure-libgui
13143         @r=`${PWD_COMMAND}`; export r; \
13144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145         $(HOST_EXPORTS) \
13146         (cd $(HOST_SUBDIR)/libgui && \
13147           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-libgui))
13148 @endif libgui
13149
13150 .PHONY: check-libgui maybe-check-libgui
13151 maybe-check-libgui:
13152 @if libgui
13153 maybe-check-libgui: check-libgui
13154
13155 check-libgui:
13156         @r=`${PWD_COMMAND}`; export r; \
13157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158         $(HOST_EXPORTS) \
13159         (cd $(HOST_SUBDIR)/libgui && \
13160           $(MAKE) $(FLAGS_TO_PASS)  check)
13161
13162 @endif libgui
13163
13164 .PHONY: install-libgui maybe-install-libgui
13165 maybe-install-libgui:
13166 @if libgui
13167 maybe-install-libgui: install-libgui
13168
13169 install-libgui: installdirs
13170         @r=`${PWD_COMMAND}`; export r; \
13171         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13172         $(HOST_EXPORTS) \
13173         (cd $(HOST_SUBDIR)/libgui && \
13174           $(MAKE) $(FLAGS_TO_PASS)  install)
13175
13176 @endif libgui
13177
13178 # Other targets (info, dvi, etc.)
13179
13180 .PHONY: maybe-info-libgui info-libgui
13181 maybe-info-libgui:
13182 @if libgui
13183 maybe-info-libgui: info-libgui
13184
13185 info-libgui: \
13186     configure-libgui 
13187         @[ -f ./libgui/Makefile ] || exit 0; \
13188         r=`${PWD_COMMAND}`; export r; \
13189         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13190         $(HOST_EXPORTS) \
13191         for flag in $(EXTRA_HOST_FLAGS) ; do \
13192           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13193         done; \
13194         echo "Doing info in libgui" ; \
13195         (cd $(HOST_SUBDIR)/libgui && \
13196           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13197                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13198                   "RANLIB=$${RANLIB}" \
13199                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13200                   info) \
13201           || exit 1
13202
13203 @endif libgui
13204
13205 .PHONY: maybe-dvi-libgui dvi-libgui
13206 maybe-dvi-libgui:
13207 @if libgui
13208 maybe-dvi-libgui: dvi-libgui
13209
13210 dvi-libgui: \
13211     configure-libgui 
13212         @[ -f ./libgui/Makefile ] || exit 0; \
13213         r=`${PWD_COMMAND}`; export r; \
13214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13215         $(HOST_EXPORTS) \
13216         for flag in $(EXTRA_HOST_FLAGS) ; do \
13217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13218         done; \
13219         echo "Doing dvi in libgui" ; \
13220         (cd $(HOST_SUBDIR)/libgui && \
13221           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13222                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13223                   "RANLIB=$${RANLIB}" \
13224                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13225                   dvi) \
13226           || exit 1
13227
13228 @endif libgui
13229
13230 .PHONY: maybe-html-libgui html-libgui
13231 maybe-html-libgui:
13232 @if libgui
13233 maybe-html-libgui: html-libgui
13234
13235 html-libgui: \
13236     configure-libgui 
13237         @[ -f ./libgui/Makefile ] || exit 0; \
13238         r=`${PWD_COMMAND}`; export r; \
13239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13240         $(HOST_EXPORTS) \
13241         for flag in $(EXTRA_HOST_FLAGS) ; do \
13242           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13243         done; \
13244         echo "Doing html in libgui" ; \
13245         (cd $(HOST_SUBDIR)/libgui && \
13246           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13247                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13248                   "RANLIB=$${RANLIB}" \
13249                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13250                   html) \
13251           || exit 1
13252
13253 @endif libgui
13254
13255 .PHONY: maybe-TAGS-libgui TAGS-libgui
13256 maybe-TAGS-libgui:
13257 @if libgui
13258 maybe-TAGS-libgui: TAGS-libgui
13259
13260 TAGS-libgui: \
13261     configure-libgui 
13262         @[ -f ./libgui/Makefile ] || exit 0; \
13263         r=`${PWD_COMMAND}`; export r; \
13264         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13265         $(HOST_EXPORTS) \
13266         for flag in $(EXTRA_HOST_FLAGS) ; do \
13267           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13268         done; \
13269         echo "Doing TAGS in libgui" ; \
13270         (cd $(HOST_SUBDIR)/libgui && \
13271           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13272                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13273                   "RANLIB=$${RANLIB}" \
13274                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13275                   TAGS) \
13276           || exit 1
13277
13278 @endif libgui
13279
13280 .PHONY: maybe-install-info-libgui install-info-libgui
13281 maybe-install-info-libgui:
13282 @if libgui
13283 maybe-install-info-libgui: install-info-libgui
13284
13285 install-info-libgui: \
13286     configure-libgui \
13287     info-libgui 
13288         @[ -f ./libgui/Makefile ] || exit 0; \
13289         r=`${PWD_COMMAND}`; export r; \
13290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13291         $(HOST_EXPORTS) \
13292         for flag in $(EXTRA_HOST_FLAGS) ; do \
13293           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13294         done; \
13295         echo "Doing install-info in libgui" ; \
13296         (cd $(HOST_SUBDIR)/libgui && \
13297           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13298                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13299                   "RANLIB=$${RANLIB}" \
13300                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13301                   install-info) \
13302           || exit 1
13303
13304 @endif libgui
13305
13306 .PHONY: maybe-installcheck-libgui installcheck-libgui
13307 maybe-installcheck-libgui:
13308 @if libgui
13309 maybe-installcheck-libgui: installcheck-libgui
13310
13311 installcheck-libgui: \
13312     configure-libgui 
13313         @[ -f ./libgui/Makefile ] || exit 0; \
13314         r=`${PWD_COMMAND}`; export r; \
13315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13316         $(HOST_EXPORTS) \
13317         for flag in $(EXTRA_HOST_FLAGS) ; do \
13318           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13319         done; \
13320         echo "Doing installcheck in libgui" ; \
13321         (cd $(HOST_SUBDIR)/libgui && \
13322           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13323                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13324                   "RANLIB=$${RANLIB}" \
13325                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13326                   installcheck) \
13327           || exit 1
13328
13329 @endif libgui
13330
13331 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13332 maybe-mostlyclean-libgui:
13333 @if libgui
13334 maybe-mostlyclean-libgui: mostlyclean-libgui
13335
13336 mostlyclean-libgui: 
13337         @[ -f ./libgui/Makefile ] || exit 0; \
13338         r=`${PWD_COMMAND}`; export r; \
13339         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13340         $(HOST_EXPORTS) \
13341         for flag in $(EXTRA_HOST_FLAGS) ; do \
13342           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13343         done; \
13344         echo "Doing mostlyclean in libgui" ; \
13345         (cd $(HOST_SUBDIR)/libgui && \
13346           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13347                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13348                   "RANLIB=$${RANLIB}" \
13349                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13350                   mostlyclean) \
13351           || exit 1
13352
13353 @endif libgui
13354
13355 .PHONY: maybe-clean-libgui clean-libgui
13356 maybe-clean-libgui:
13357 @if libgui
13358 maybe-clean-libgui: clean-libgui
13359
13360 clean-libgui: 
13361         @[ -f ./libgui/Makefile ] || exit 0; \
13362         r=`${PWD_COMMAND}`; export r; \
13363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364         $(HOST_EXPORTS) \
13365         for flag in $(EXTRA_HOST_FLAGS) ; do \
13366           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13367         done; \
13368         echo "Doing clean in libgui" ; \
13369         (cd $(HOST_SUBDIR)/libgui && \
13370           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372                   "RANLIB=$${RANLIB}" \
13373                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13374                   clean) \
13375           || exit 1
13376
13377 @endif libgui
13378
13379 .PHONY: maybe-distclean-libgui distclean-libgui
13380 maybe-distclean-libgui:
13381 @if libgui
13382 maybe-distclean-libgui: distclean-libgui
13383
13384 distclean-libgui: 
13385         @[ -f ./libgui/Makefile ] || exit 0; \
13386         r=`${PWD_COMMAND}`; export r; \
13387         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13388         $(HOST_EXPORTS) \
13389         for flag in $(EXTRA_HOST_FLAGS) ; do \
13390           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13391         done; \
13392         echo "Doing distclean in libgui" ; \
13393         (cd $(HOST_SUBDIR)/libgui && \
13394           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13395                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13396                   "RANLIB=$${RANLIB}" \
13397                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13398                   distclean) \
13399           || exit 1
13400
13401 @endif libgui
13402
13403 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13404 maybe-maintainer-clean-libgui:
13405 @if libgui
13406 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13407
13408 maintainer-clean-libgui: 
13409         @[ -f ./libgui/Makefile ] || exit 0; \
13410         r=`${PWD_COMMAND}`; export r; \
13411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13412         $(HOST_EXPORTS) \
13413         for flag in $(EXTRA_HOST_FLAGS) ; do \
13414           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13415         done; \
13416         echo "Doing maintainer-clean in libgui" ; \
13417         (cd $(HOST_SUBDIR)/libgui && \
13418           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13419                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13420                   "RANLIB=$${RANLIB}" \
13421                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13422                   maintainer-clean) \
13423           || exit 1
13424
13425 @endif libgui
13426
13427
13428 .PHONY: configure-libiberty maybe-configure-libiberty
13429 maybe-configure-libiberty:
13430 @if libiberty
13431 maybe-configure-libiberty: configure-libiberty
13432 configure-libiberty:
13433         @test -f stage_last && exit 0; \
13434         test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
13435         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
13436         r=`${PWD_COMMAND}`; export r; \
13437         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13438         $(HOST_EXPORTS) \
13439         echo Configuring in libiberty; \
13440         cd $(HOST_SUBDIR)/libiberty || exit 1; \
13441         case $(srcdir) in \
13442           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13443           *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
13444                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13445         esac; \
13446         srcdiroption="--srcdir=$${topdir}/libiberty"; \
13447         libsrcdir="$$s/libiberty"; \
13448         $(SHELL) $${libsrcdir}/configure \
13449           $(HOST_CONFIGARGS) $${srcdiroption}  \
13450           || exit 1
13451 @endif libiberty
13452
13453 .PHONY: all-libiberty maybe-all-libiberty
13454 maybe-all-libiberty:
13455 @if libiberty
13456 TARGET-libiberty=all
13457 maybe-all-libiberty: all-libiberty
13458 all-libiberty: configure-libiberty
13459         @test -f stage_last && exit 0; \
13460         r=`${PWD_COMMAND}`; export r; \
13461         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13462         $(HOST_EXPORTS) \
13463         (cd $(HOST_SUBDIR)/libiberty && \
13464           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-libiberty))
13465 @endif libiberty
13466
13467 .PHONY: check-libiberty maybe-check-libiberty
13468 maybe-check-libiberty:
13469 @if libiberty
13470 maybe-check-libiberty: check-libiberty
13471
13472 check-libiberty:
13473         @r=`${PWD_COMMAND}`; export r; \
13474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13475         $(HOST_EXPORTS) \
13476         (cd $(HOST_SUBDIR)/libiberty && \
13477           $(MAKE) $(FLAGS_TO_PASS)  check)
13478
13479 @endif libiberty
13480
13481 .PHONY: install-libiberty maybe-install-libiberty
13482 maybe-install-libiberty:
13483 @if libiberty
13484 maybe-install-libiberty: install-libiberty
13485
13486 install-libiberty: installdirs
13487         @r=`${PWD_COMMAND}`; export r; \
13488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13489         $(HOST_EXPORTS) \
13490         (cd $(HOST_SUBDIR)/libiberty && \
13491           $(MAKE) $(FLAGS_TO_PASS)  install)
13492
13493 @endif libiberty
13494
13495 # Other targets (info, dvi, etc.)
13496
13497 .PHONY: maybe-info-libiberty info-libiberty
13498 maybe-info-libiberty:
13499 @if libiberty
13500 maybe-info-libiberty: info-libiberty
13501
13502 info-libiberty: \
13503     configure-libiberty 
13504         @[ -f ./libiberty/Makefile ] || exit 0; \
13505         r=`${PWD_COMMAND}`; export r; \
13506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13507         $(HOST_EXPORTS) \
13508         for flag in $(EXTRA_HOST_FLAGS) ; do \
13509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13510         done; \
13511         echo "Doing info in libiberty" ; \
13512         (cd $(HOST_SUBDIR)/libiberty && \
13513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13515                   "RANLIB=$${RANLIB}" \
13516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13517                   info) \
13518           || exit 1
13519
13520 @endif libiberty
13521
13522 .PHONY: maybe-dvi-libiberty dvi-libiberty
13523 maybe-dvi-libiberty:
13524 @if libiberty
13525 maybe-dvi-libiberty: dvi-libiberty
13526
13527 dvi-libiberty: \
13528     configure-libiberty 
13529         @[ -f ./libiberty/Makefile ] || exit 0; \
13530         r=`${PWD_COMMAND}`; export r; \
13531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13532         $(HOST_EXPORTS) \
13533         for flag in $(EXTRA_HOST_FLAGS) ; do \
13534           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13535         done; \
13536         echo "Doing dvi in libiberty" ; \
13537         (cd $(HOST_SUBDIR)/libiberty && \
13538           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13539                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13540                   "RANLIB=$${RANLIB}" \
13541                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13542                   dvi) \
13543           || exit 1
13544
13545 @endif libiberty
13546
13547 .PHONY: maybe-html-libiberty html-libiberty
13548 maybe-html-libiberty:
13549 @if libiberty
13550 maybe-html-libiberty: html-libiberty
13551
13552 html-libiberty: \
13553     configure-libiberty 
13554         @[ -f ./libiberty/Makefile ] || exit 0; \
13555         r=`${PWD_COMMAND}`; export r; \
13556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13557         $(HOST_EXPORTS) \
13558         for flag in $(EXTRA_HOST_FLAGS) ; do \
13559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13560         done; \
13561         echo "Doing html in libiberty" ; \
13562         (cd $(HOST_SUBDIR)/libiberty && \
13563           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13564                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13565                   "RANLIB=$${RANLIB}" \
13566                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13567                   html) \
13568           || exit 1
13569
13570 @endif libiberty
13571
13572 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13573 maybe-TAGS-libiberty:
13574 @if libiberty
13575 maybe-TAGS-libiberty: TAGS-libiberty
13576
13577 TAGS-libiberty: \
13578     configure-libiberty 
13579         @[ -f ./libiberty/Makefile ] || exit 0; \
13580         r=`${PWD_COMMAND}`; export r; \
13581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13582         $(HOST_EXPORTS) \
13583         for flag in $(EXTRA_HOST_FLAGS) ; do \
13584           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13585         done; \
13586         echo "Doing TAGS in libiberty" ; \
13587         (cd $(HOST_SUBDIR)/libiberty && \
13588           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13589                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13590                   "RANLIB=$${RANLIB}" \
13591                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13592                   TAGS) \
13593           || exit 1
13594
13595 @endif libiberty
13596
13597 .PHONY: maybe-install-info-libiberty install-info-libiberty
13598 maybe-install-info-libiberty:
13599 @if libiberty
13600 maybe-install-info-libiberty: install-info-libiberty
13601
13602 install-info-libiberty: \
13603     configure-libiberty \
13604     info-libiberty 
13605         @[ -f ./libiberty/Makefile ] || exit 0; \
13606         r=`${PWD_COMMAND}`; export r; \
13607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608         $(HOST_EXPORTS) \
13609         for flag in $(EXTRA_HOST_FLAGS) ; do \
13610           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13611         done; \
13612         echo "Doing install-info in libiberty" ; \
13613         (cd $(HOST_SUBDIR)/libiberty && \
13614           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13615                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13616                   "RANLIB=$${RANLIB}" \
13617                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13618                   install-info) \
13619           || exit 1
13620
13621 @endif libiberty
13622
13623 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13624 maybe-installcheck-libiberty:
13625 @if libiberty
13626 maybe-installcheck-libiberty: installcheck-libiberty
13627
13628 installcheck-libiberty: \
13629     configure-libiberty 
13630         @[ -f ./libiberty/Makefile ] || exit 0; \
13631         r=`${PWD_COMMAND}`; export r; \
13632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13633         $(HOST_EXPORTS) \
13634         for flag in $(EXTRA_HOST_FLAGS) ; do \
13635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13636         done; \
13637         echo "Doing installcheck in libiberty" ; \
13638         (cd $(HOST_SUBDIR)/libiberty && \
13639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13641                   "RANLIB=$${RANLIB}" \
13642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13643                   installcheck) \
13644           || exit 1
13645
13646 @endif libiberty
13647
13648 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13649 maybe-mostlyclean-libiberty:
13650 @if libiberty
13651 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13652
13653 mostlyclean-libiberty: 
13654         @[ -f ./libiberty/Makefile ] || exit 0; \
13655         r=`${PWD_COMMAND}`; export r; \
13656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657         $(HOST_EXPORTS) \
13658         for flag in $(EXTRA_HOST_FLAGS) ; do \
13659           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13660         done; \
13661         echo "Doing mostlyclean in libiberty" ; \
13662         (cd $(HOST_SUBDIR)/libiberty && \
13663           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13664                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13665                   "RANLIB=$${RANLIB}" \
13666                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13667                   mostlyclean) \
13668           || exit 1
13669
13670 @endif libiberty
13671
13672 .PHONY: maybe-clean-libiberty clean-libiberty
13673 maybe-clean-libiberty:
13674 @if libiberty
13675 maybe-clean-libiberty: clean-libiberty
13676
13677 clean-libiberty: 
13678         @[ -f ./libiberty/Makefile ] || exit 0; \
13679         r=`${PWD_COMMAND}`; export r; \
13680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681         $(HOST_EXPORTS) \
13682         for flag in $(EXTRA_HOST_FLAGS) ; do \
13683           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13684         done; \
13685         echo "Doing clean in libiberty" ; \
13686         (cd $(HOST_SUBDIR)/libiberty && \
13687           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13688                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13689                   "RANLIB=$${RANLIB}" \
13690                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13691                   clean) \
13692           || exit 1
13693
13694 @endif libiberty
13695
13696 .PHONY: maybe-distclean-libiberty distclean-libiberty
13697 maybe-distclean-libiberty:
13698 @if libiberty
13699 maybe-distclean-libiberty: distclean-libiberty
13700
13701 distclean-libiberty: 
13702         @[ -f ./libiberty/Makefile ] || exit 0; \
13703         r=`${PWD_COMMAND}`; export r; \
13704         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705         $(HOST_EXPORTS) \
13706         for flag in $(EXTRA_HOST_FLAGS) ; do \
13707           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13708         done; \
13709         echo "Doing distclean in libiberty" ; \
13710         (cd $(HOST_SUBDIR)/libiberty && \
13711           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13712                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13713                   "RANLIB=$${RANLIB}" \
13714                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13715                   distclean) \
13716           || exit 1
13717
13718 @endif libiberty
13719
13720 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13721 maybe-maintainer-clean-libiberty:
13722 @if libiberty
13723 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13724
13725 maintainer-clean-libiberty: 
13726         @[ -f ./libiberty/Makefile ] || exit 0; \
13727         r=`${PWD_COMMAND}`; export r; \
13728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729         $(HOST_EXPORTS) \
13730         for flag in $(EXTRA_HOST_FLAGS) ; do \
13731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13732         done; \
13733         echo "Doing maintainer-clean in libiberty" ; \
13734         (cd $(HOST_SUBDIR)/libiberty && \
13735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13737                   "RANLIB=$${RANLIB}" \
13738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13739                   maintainer-clean) \
13740           || exit 1
13741
13742 @endif libiberty
13743
13744
13745 .PHONY: configure-libtool maybe-configure-libtool
13746 maybe-configure-libtool:
13747 @if libtool
13748 maybe-configure-libtool: configure-libtool
13749 configure-libtool:
13750         @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
13751         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
13752         r=`${PWD_COMMAND}`; export r; \
13753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13754         $(HOST_EXPORTS) \
13755         echo Configuring in libtool; \
13756         cd $(HOST_SUBDIR)/libtool || exit 1; \
13757         case $(srcdir) in \
13758           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13759           *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
13760                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13761         esac; \
13762         srcdiroption="--srcdir=$${topdir}/libtool"; \
13763         libsrcdir="$$s/libtool"; \
13764         $(SHELL) $${libsrcdir}/configure \
13765           $(HOST_CONFIGARGS) $${srcdiroption}  \
13766           || exit 1
13767 @endif libtool
13768
13769 .PHONY: all-libtool maybe-all-libtool
13770 maybe-all-libtool:
13771 @if libtool
13772 TARGET-libtool=all
13773 maybe-all-libtool: all-libtool
13774 all-libtool: configure-libtool
13775         @r=`${PWD_COMMAND}`; export r; \
13776         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13777         $(HOST_EXPORTS) \
13778         (cd $(HOST_SUBDIR)/libtool && \
13779           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-libtool))
13780 @endif libtool
13781
13782 .PHONY: check-libtool maybe-check-libtool
13783 maybe-check-libtool:
13784 @if libtool
13785 maybe-check-libtool: check-libtool
13786
13787 check-libtool:
13788         @r=`${PWD_COMMAND}`; export r; \
13789         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13790         $(HOST_EXPORTS) \
13791         (cd $(HOST_SUBDIR)/libtool && \
13792           $(MAKE) $(FLAGS_TO_PASS)  check)
13793
13794 @endif libtool
13795
13796 .PHONY: install-libtool maybe-install-libtool
13797 maybe-install-libtool:
13798 @if libtool
13799 maybe-install-libtool: install-libtool
13800
13801 install-libtool: installdirs
13802         @r=`${PWD_COMMAND}`; export r; \
13803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13804         $(HOST_EXPORTS) \
13805         (cd $(HOST_SUBDIR)/libtool && \
13806           $(MAKE) $(FLAGS_TO_PASS)  install)
13807
13808 @endif libtool
13809
13810 # Other targets (info, dvi, etc.)
13811
13812 .PHONY: maybe-info-libtool info-libtool
13813 maybe-info-libtool:
13814 @if libtool
13815 maybe-info-libtool: info-libtool
13816
13817 info-libtool: \
13818     configure-libtool 
13819         @[ -f ./libtool/Makefile ] || exit 0; \
13820         r=`${PWD_COMMAND}`; export r; \
13821         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13822         $(HOST_EXPORTS) \
13823         for flag in $(EXTRA_HOST_FLAGS) ; do \
13824           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13825         done; \
13826         echo "Doing info in libtool" ; \
13827         (cd $(HOST_SUBDIR)/libtool && \
13828           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13829                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13830                   "RANLIB=$${RANLIB}" \
13831                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13832                   info) \
13833           || exit 1
13834
13835 @endif libtool
13836
13837 .PHONY: maybe-dvi-libtool dvi-libtool
13838 maybe-dvi-libtool:
13839 @if libtool
13840 maybe-dvi-libtool: dvi-libtool
13841
13842 dvi-libtool: \
13843     configure-libtool 
13844         @[ -f ./libtool/Makefile ] || exit 0; \
13845         r=`${PWD_COMMAND}`; export r; \
13846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13847         $(HOST_EXPORTS) \
13848         for flag in $(EXTRA_HOST_FLAGS) ; do \
13849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13850         done; \
13851         echo "Doing dvi in libtool" ; \
13852         (cd $(HOST_SUBDIR)/libtool && \
13853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13855                   "RANLIB=$${RANLIB}" \
13856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13857                   dvi) \
13858           || exit 1
13859
13860 @endif libtool
13861
13862 .PHONY: maybe-html-libtool html-libtool
13863 maybe-html-libtool:
13864 @if libtool
13865 maybe-html-libtool: html-libtool
13866
13867 html-libtool: \
13868     configure-libtool 
13869         @[ -f ./libtool/Makefile ] || exit 0; \
13870         r=`${PWD_COMMAND}`; export r; \
13871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13872         $(HOST_EXPORTS) \
13873         for flag in $(EXTRA_HOST_FLAGS) ; do \
13874           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13875         done; \
13876         echo "Doing html in libtool" ; \
13877         (cd $(HOST_SUBDIR)/libtool && \
13878           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13879                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13880                   "RANLIB=$${RANLIB}" \
13881                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13882                   html) \
13883           || exit 1
13884
13885 @endif libtool
13886
13887 .PHONY: maybe-TAGS-libtool TAGS-libtool
13888 maybe-TAGS-libtool:
13889 @if libtool
13890 maybe-TAGS-libtool: TAGS-libtool
13891
13892 TAGS-libtool: \
13893     configure-libtool 
13894         @[ -f ./libtool/Makefile ] || exit 0; \
13895         r=`${PWD_COMMAND}`; export r; \
13896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13897         $(HOST_EXPORTS) \
13898         for flag in $(EXTRA_HOST_FLAGS) ; do \
13899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13900         done; \
13901         echo "Doing TAGS in libtool" ; \
13902         (cd $(HOST_SUBDIR)/libtool && \
13903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13905                   "RANLIB=$${RANLIB}" \
13906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13907                   TAGS) \
13908           || exit 1
13909
13910 @endif libtool
13911
13912 .PHONY: maybe-install-info-libtool install-info-libtool
13913 maybe-install-info-libtool:
13914 @if libtool
13915 maybe-install-info-libtool: install-info-libtool
13916
13917 install-info-libtool: \
13918     configure-libtool \
13919     info-libtool 
13920         @[ -f ./libtool/Makefile ] || exit 0; \
13921         r=`${PWD_COMMAND}`; export r; \
13922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13923         $(HOST_EXPORTS) \
13924         for flag in $(EXTRA_HOST_FLAGS) ; do \
13925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13926         done; \
13927         echo "Doing install-info in libtool" ; \
13928         (cd $(HOST_SUBDIR)/libtool && \
13929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13931                   "RANLIB=$${RANLIB}" \
13932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13933                   install-info) \
13934           || exit 1
13935
13936 @endif libtool
13937
13938 .PHONY: maybe-installcheck-libtool installcheck-libtool
13939 maybe-installcheck-libtool:
13940 @if libtool
13941 maybe-installcheck-libtool: installcheck-libtool
13942
13943 installcheck-libtool: \
13944     configure-libtool 
13945         @[ -f ./libtool/Makefile ] || exit 0; \
13946         r=`${PWD_COMMAND}`; export r; \
13947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13948         $(HOST_EXPORTS) \
13949         for flag in $(EXTRA_HOST_FLAGS) ; do \
13950           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13951         done; \
13952         echo "Doing installcheck in libtool" ; \
13953         (cd $(HOST_SUBDIR)/libtool && \
13954           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13955                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13956                   "RANLIB=$${RANLIB}" \
13957                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13958                   installcheck) \
13959           || exit 1
13960
13961 @endif libtool
13962
13963 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13964 maybe-mostlyclean-libtool:
13965 @if libtool
13966 maybe-mostlyclean-libtool: mostlyclean-libtool
13967
13968 mostlyclean-libtool: 
13969         @[ -f ./libtool/Makefile ] || exit 0; \
13970         r=`${PWD_COMMAND}`; export r; \
13971         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13972         $(HOST_EXPORTS) \
13973         for flag in $(EXTRA_HOST_FLAGS) ; do \
13974           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13975         done; \
13976         echo "Doing mostlyclean in libtool" ; \
13977         (cd $(HOST_SUBDIR)/libtool && \
13978           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13979                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13980                   "RANLIB=$${RANLIB}" \
13981                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13982                   mostlyclean) \
13983           || exit 1
13984
13985 @endif libtool
13986
13987 .PHONY: maybe-clean-libtool clean-libtool
13988 maybe-clean-libtool:
13989 @if libtool
13990 maybe-clean-libtool: clean-libtool
13991
13992 clean-libtool: 
13993         @[ -f ./libtool/Makefile ] || exit 0; \
13994         r=`${PWD_COMMAND}`; export r; \
13995         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13996         $(HOST_EXPORTS) \
13997         for flag in $(EXTRA_HOST_FLAGS) ; do \
13998           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13999         done; \
14000         echo "Doing clean in libtool" ; \
14001         (cd $(HOST_SUBDIR)/libtool && \
14002           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14003                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14004                   "RANLIB=$${RANLIB}" \
14005                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14006                   clean) \
14007           || exit 1
14008
14009 @endif libtool
14010
14011 .PHONY: maybe-distclean-libtool distclean-libtool
14012 maybe-distclean-libtool:
14013 @if libtool
14014 maybe-distclean-libtool: distclean-libtool
14015
14016 distclean-libtool: 
14017         @[ -f ./libtool/Makefile ] || exit 0; \
14018         r=`${PWD_COMMAND}`; export r; \
14019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14020         $(HOST_EXPORTS) \
14021         for flag in $(EXTRA_HOST_FLAGS) ; do \
14022           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14023         done; \
14024         echo "Doing distclean in libtool" ; \
14025         (cd $(HOST_SUBDIR)/libtool && \
14026           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14027                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14028                   "RANLIB=$${RANLIB}" \
14029                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14030                   distclean) \
14031           || exit 1
14032
14033 @endif libtool
14034
14035 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14036 maybe-maintainer-clean-libtool:
14037 @if libtool
14038 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14039
14040 maintainer-clean-libtool: 
14041         @[ -f ./libtool/Makefile ] || exit 0; \
14042         r=`${PWD_COMMAND}`; export r; \
14043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14044         $(HOST_EXPORTS) \
14045         for flag in $(EXTRA_HOST_FLAGS) ; do \
14046           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14047         done; \
14048         echo "Doing maintainer-clean in libtool" ; \
14049         (cd $(HOST_SUBDIR)/libtool && \
14050           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14051                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14052                   "RANLIB=$${RANLIB}" \
14053                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14054                   maintainer-clean) \
14055           || exit 1
14056
14057 @endif libtool
14058
14059
14060 .PHONY: configure-m4 maybe-configure-m4
14061 maybe-configure-m4:
14062 @if m4
14063 maybe-configure-m4: configure-m4
14064 configure-m4:
14065         @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
14066         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
14067         r=`${PWD_COMMAND}`; export r; \
14068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14069         $(HOST_EXPORTS) \
14070         echo Configuring in m4; \
14071         cd $(HOST_SUBDIR)/m4 || exit 1; \
14072         case $(srcdir) in \
14073           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14074           *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
14075                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14076         esac; \
14077         srcdiroption="--srcdir=$${topdir}/m4"; \
14078         libsrcdir="$$s/m4"; \
14079         $(SHELL) $${libsrcdir}/configure \
14080           $(HOST_CONFIGARGS) $${srcdiroption}  \
14081           || exit 1
14082 @endif m4
14083
14084 .PHONY: all-m4 maybe-all-m4
14085 maybe-all-m4:
14086 @if m4
14087 TARGET-m4=all
14088 maybe-all-m4: all-m4
14089 all-m4: configure-m4
14090         @r=`${PWD_COMMAND}`; export r; \
14091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14092         $(HOST_EXPORTS) \
14093         (cd $(HOST_SUBDIR)/m4 && \
14094           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-m4))
14095 @endif m4
14096
14097 .PHONY: check-m4 maybe-check-m4
14098 maybe-check-m4:
14099 @if m4
14100 maybe-check-m4: check-m4
14101
14102 check-m4:
14103         @r=`${PWD_COMMAND}`; export r; \
14104         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14105         $(HOST_EXPORTS) \
14106         (cd $(HOST_SUBDIR)/m4 && \
14107           $(MAKE) $(FLAGS_TO_PASS)  check)
14108
14109 @endif m4
14110
14111 .PHONY: install-m4 maybe-install-m4
14112 maybe-install-m4:
14113 @if m4
14114 maybe-install-m4: install-m4
14115
14116 install-m4: installdirs
14117         @r=`${PWD_COMMAND}`; export r; \
14118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14119         $(HOST_EXPORTS) \
14120         (cd $(HOST_SUBDIR)/m4 && \
14121           $(MAKE) $(FLAGS_TO_PASS)  install)
14122
14123 @endif m4
14124
14125 # Other targets (info, dvi, etc.)
14126
14127 .PHONY: maybe-info-m4 info-m4
14128 maybe-info-m4:
14129 @if m4
14130 maybe-info-m4: info-m4
14131
14132 info-m4: \
14133     configure-m4 
14134         @[ -f ./m4/Makefile ] || exit 0; \
14135         r=`${PWD_COMMAND}`; export r; \
14136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14137         $(HOST_EXPORTS) \
14138         for flag in $(EXTRA_HOST_FLAGS) ; do \
14139           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14140         done; \
14141         echo "Doing info in m4" ; \
14142         (cd $(HOST_SUBDIR)/m4 && \
14143           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14144                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14145                   "RANLIB=$${RANLIB}" \
14146                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14147                   info) \
14148           || exit 1
14149
14150 @endif m4
14151
14152 .PHONY: maybe-dvi-m4 dvi-m4
14153 maybe-dvi-m4:
14154 @if m4
14155 maybe-dvi-m4: dvi-m4
14156
14157 dvi-m4: \
14158     configure-m4 
14159         @[ -f ./m4/Makefile ] || exit 0; \
14160         r=`${PWD_COMMAND}`; export r; \
14161         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14162         $(HOST_EXPORTS) \
14163         for flag in $(EXTRA_HOST_FLAGS) ; do \
14164           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14165         done; \
14166         echo "Doing dvi in m4" ; \
14167         (cd $(HOST_SUBDIR)/m4 && \
14168           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14169                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14170                   "RANLIB=$${RANLIB}" \
14171                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14172                   dvi) \
14173           || exit 1
14174
14175 @endif m4
14176
14177 .PHONY: maybe-html-m4 html-m4
14178 maybe-html-m4:
14179 @if m4
14180 maybe-html-m4: html-m4
14181
14182 html-m4: \
14183     configure-m4 
14184         @[ -f ./m4/Makefile ] || exit 0; \
14185         r=`${PWD_COMMAND}`; export r; \
14186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14187         $(HOST_EXPORTS) \
14188         for flag in $(EXTRA_HOST_FLAGS) ; do \
14189           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14190         done; \
14191         echo "Doing html in m4" ; \
14192         (cd $(HOST_SUBDIR)/m4 && \
14193           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14194                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14195                   "RANLIB=$${RANLIB}" \
14196                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14197                   html) \
14198           || exit 1
14199
14200 @endif m4
14201
14202 .PHONY: maybe-TAGS-m4 TAGS-m4
14203 maybe-TAGS-m4:
14204 @if m4
14205 maybe-TAGS-m4: TAGS-m4
14206
14207 TAGS-m4: \
14208     configure-m4 
14209         @[ -f ./m4/Makefile ] || exit 0; \
14210         r=`${PWD_COMMAND}`; export r; \
14211         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14212         $(HOST_EXPORTS) \
14213         for flag in $(EXTRA_HOST_FLAGS) ; do \
14214           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14215         done; \
14216         echo "Doing TAGS in m4" ; \
14217         (cd $(HOST_SUBDIR)/m4 && \
14218           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14219                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14220                   "RANLIB=$${RANLIB}" \
14221                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14222                   TAGS) \
14223           || exit 1
14224
14225 @endif m4
14226
14227 .PHONY: maybe-install-info-m4 install-info-m4
14228 maybe-install-info-m4:
14229 @if m4
14230 maybe-install-info-m4: install-info-m4
14231
14232 install-info-m4: \
14233     configure-m4 \
14234     info-m4 
14235         @[ -f ./m4/Makefile ] || exit 0; \
14236         r=`${PWD_COMMAND}`; export r; \
14237         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238         $(HOST_EXPORTS) \
14239         for flag in $(EXTRA_HOST_FLAGS) ; do \
14240           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14241         done; \
14242         echo "Doing install-info in m4" ; \
14243         (cd $(HOST_SUBDIR)/m4 && \
14244           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246                   "RANLIB=$${RANLIB}" \
14247                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14248                   install-info) \
14249           || exit 1
14250
14251 @endif m4
14252
14253 .PHONY: maybe-installcheck-m4 installcheck-m4
14254 maybe-installcheck-m4:
14255 @if m4
14256 maybe-installcheck-m4: installcheck-m4
14257
14258 installcheck-m4: \
14259     configure-m4 
14260         @[ -f ./m4/Makefile ] || exit 0; \
14261         r=`${PWD_COMMAND}`; export r; \
14262         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14263         $(HOST_EXPORTS) \
14264         for flag in $(EXTRA_HOST_FLAGS) ; do \
14265           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14266         done; \
14267         echo "Doing installcheck in m4" ; \
14268         (cd $(HOST_SUBDIR)/m4 && \
14269           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14270                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14271                   "RANLIB=$${RANLIB}" \
14272                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14273                   installcheck) \
14274           || exit 1
14275
14276 @endif m4
14277
14278 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14279 maybe-mostlyclean-m4:
14280 @if m4
14281 maybe-mostlyclean-m4: mostlyclean-m4
14282
14283 mostlyclean-m4: 
14284         @[ -f ./m4/Makefile ] || exit 0; \
14285         r=`${PWD_COMMAND}`; export r; \
14286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14287         $(HOST_EXPORTS) \
14288         for flag in $(EXTRA_HOST_FLAGS) ; do \
14289           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14290         done; \
14291         echo "Doing mostlyclean in m4" ; \
14292         (cd $(HOST_SUBDIR)/m4 && \
14293           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14294                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14295                   "RANLIB=$${RANLIB}" \
14296                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14297                   mostlyclean) \
14298           || exit 1
14299
14300 @endif m4
14301
14302 .PHONY: maybe-clean-m4 clean-m4
14303 maybe-clean-m4:
14304 @if m4
14305 maybe-clean-m4: clean-m4
14306
14307 clean-m4: 
14308         @[ -f ./m4/Makefile ] || exit 0; \
14309         r=`${PWD_COMMAND}`; export r; \
14310         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14311         $(HOST_EXPORTS) \
14312         for flag in $(EXTRA_HOST_FLAGS) ; do \
14313           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14314         done; \
14315         echo "Doing clean in m4" ; \
14316         (cd $(HOST_SUBDIR)/m4 && \
14317           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14318                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14319                   "RANLIB=$${RANLIB}" \
14320                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14321                   clean) \
14322           || exit 1
14323
14324 @endif m4
14325
14326 .PHONY: maybe-distclean-m4 distclean-m4
14327 maybe-distclean-m4:
14328 @if m4
14329 maybe-distclean-m4: distclean-m4
14330
14331 distclean-m4: 
14332         @[ -f ./m4/Makefile ] || exit 0; \
14333         r=`${PWD_COMMAND}`; export r; \
14334         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14335         $(HOST_EXPORTS) \
14336         for flag in $(EXTRA_HOST_FLAGS) ; do \
14337           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14338         done; \
14339         echo "Doing distclean in m4" ; \
14340         (cd $(HOST_SUBDIR)/m4 && \
14341           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14342                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14343                   "RANLIB=$${RANLIB}" \
14344                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14345                   distclean) \
14346           || exit 1
14347
14348 @endif m4
14349
14350 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
14351 maybe-maintainer-clean-m4:
14352 @if m4
14353 maybe-maintainer-clean-m4: maintainer-clean-m4
14354
14355 maintainer-clean-m4: 
14356         @[ -f ./m4/Makefile ] || exit 0; \
14357         r=`${PWD_COMMAND}`; export r; \
14358         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14359         $(HOST_EXPORTS) \
14360         for flag in $(EXTRA_HOST_FLAGS) ; do \
14361           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14362         done; \
14363         echo "Doing maintainer-clean in m4" ; \
14364         (cd $(HOST_SUBDIR)/m4 && \
14365           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14366                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14367                   "RANLIB=$${RANLIB}" \
14368                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14369                   maintainer-clean) \
14370           || exit 1
14371
14372 @endif m4
14373
14374
14375 .PHONY: configure-make maybe-configure-make
14376 maybe-configure-make:
14377 @if make
14378 maybe-configure-make: configure-make
14379 configure-make:
14380         @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
14381         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
14382         r=`${PWD_COMMAND}`; export r; \
14383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14384         $(HOST_EXPORTS) \
14385         echo Configuring in make; \
14386         cd $(HOST_SUBDIR)/make || exit 1; \
14387         case $(srcdir) in \
14388           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14389           *) topdir=`echo $(HOST_SUBDIR)/make/ | \
14390                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14391         esac; \
14392         srcdiroption="--srcdir=$${topdir}/make"; \
14393         libsrcdir="$$s/make"; \
14394         $(SHELL) $${libsrcdir}/configure \
14395           $(HOST_CONFIGARGS) $${srcdiroption}  \
14396           || exit 1
14397 @endif make
14398
14399 .PHONY: all-make maybe-all-make
14400 maybe-all-make:
14401 @if make
14402 TARGET-make=all
14403 maybe-all-make: all-make
14404 all-make: configure-make
14405         @r=`${PWD_COMMAND}`; export r; \
14406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407         $(HOST_EXPORTS) \
14408         (cd $(HOST_SUBDIR)/make && \
14409           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-make))
14410 @endif make
14411
14412 .PHONY: check-make maybe-check-make
14413 maybe-check-make:
14414 @if make
14415 maybe-check-make: check-make
14416
14417 check-make:
14418         @r=`${PWD_COMMAND}`; export r; \
14419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14420         $(HOST_EXPORTS) \
14421         (cd $(HOST_SUBDIR)/make && \
14422           $(MAKE) $(FLAGS_TO_PASS)  check)
14423
14424 @endif make
14425
14426 .PHONY: install-make maybe-install-make
14427 maybe-install-make:
14428 @if make
14429 maybe-install-make: install-make
14430
14431 install-make: installdirs
14432         @r=`${PWD_COMMAND}`; export r; \
14433         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14434         $(HOST_EXPORTS) \
14435         (cd $(HOST_SUBDIR)/make && \
14436           $(MAKE) $(FLAGS_TO_PASS)  install)
14437
14438 @endif make
14439
14440 # Other targets (info, dvi, etc.)
14441
14442 .PHONY: maybe-info-make info-make
14443 maybe-info-make:
14444 @if make
14445 maybe-info-make: info-make
14446
14447 info-make: \
14448     configure-make 
14449         @[ -f ./make/Makefile ] || exit 0; \
14450         r=`${PWD_COMMAND}`; export r; \
14451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in make" ; \
14457         (cd $(HOST_SUBDIR)/make && \
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                   info) \
14463           || exit 1
14464
14465 @endif make
14466
14467 .PHONY: maybe-dvi-make dvi-make
14468 maybe-dvi-make:
14469 @if make
14470 maybe-dvi-make: dvi-make
14471
14472 dvi-make: \
14473     configure-make 
14474         @[ -f ./make/Makefile ] || exit 0; \
14475         r=`${PWD_COMMAND}`; export r; \
14476         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14477         $(HOST_EXPORTS) \
14478         for flag in $(EXTRA_HOST_FLAGS) ; do \
14479           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14480         done; \
14481         echo "Doing dvi in make" ; \
14482         (cd $(HOST_SUBDIR)/make && \
14483           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14484                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14485                   "RANLIB=$${RANLIB}" \
14486                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14487                   dvi) \
14488           || exit 1
14489
14490 @endif make
14491
14492 .PHONY: maybe-html-make html-make
14493 maybe-html-make:
14494 @if make
14495 maybe-html-make: html-make
14496
14497 html-make: \
14498     configure-make 
14499         @[ -f ./make/Makefile ] || exit 0; \
14500         r=`${PWD_COMMAND}`; export r; \
14501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14502         $(HOST_EXPORTS) \
14503         for flag in $(EXTRA_HOST_FLAGS) ; do \
14504           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14505         done; \
14506         echo "Doing html in make" ; \
14507         (cd $(HOST_SUBDIR)/make && \
14508           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14509                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14510                   "RANLIB=$${RANLIB}" \
14511                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14512                   html) \
14513           || exit 1
14514
14515 @endif make
14516
14517 .PHONY: maybe-TAGS-make TAGS-make
14518 maybe-TAGS-make:
14519 @if make
14520 maybe-TAGS-make: TAGS-make
14521
14522 TAGS-make: \
14523     configure-make 
14524         @[ -f ./make/Makefile ] || exit 0; \
14525         r=`${PWD_COMMAND}`; export r; \
14526         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14527         $(HOST_EXPORTS) \
14528         for flag in $(EXTRA_HOST_FLAGS) ; do \
14529           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14530         done; \
14531         echo "Doing TAGS in make" ; \
14532         (cd $(HOST_SUBDIR)/make && \
14533           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14534                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14535                   "RANLIB=$${RANLIB}" \
14536                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14537                   TAGS) \
14538           || exit 1
14539
14540 @endif make
14541
14542 .PHONY: maybe-install-info-make install-info-make
14543 maybe-install-info-make:
14544 @if make
14545 maybe-install-info-make: install-info-make
14546
14547 install-info-make: \
14548     configure-make \
14549     info-make 
14550         @[ -f ./make/Makefile ] || exit 0; \
14551         r=`${PWD_COMMAND}`; export r; \
14552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in make" ; \
14558         (cd $(HOST_SUBDIR)/make && \
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                   install-info) \
14564           || exit 1
14565
14566 @endif make
14567
14568 .PHONY: maybe-installcheck-make installcheck-make
14569 maybe-installcheck-make:
14570 @if make
14571 maybe-installcheck-make: installcheck-make
14572
14573 installcheck-make: \
14574     configure-make 
14575         @[ -f ./make/Makefile ] || exit 0; \
14576         r=`${PWD_COMMAND}`; export r; \
14577         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 installcheck in make" ; \
14583         (cd $(HOST_SUBDIR)/make && \
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                   installcheck) \
14589           || exit 1
14590
14591 @endif make
14592
14593 .PHONY: maybe-mostlyclean-make mostlyclean-make
14594 maybe-mostlyclean-make:
14595 @if make
14596 maybe-mostlyclean-make: mostlyclean-make
14597
14598 mostlyclean-make: 
14599         @[ -f ./make/Makefile ] || exit 0; \
14600         r=`${PWD_COMMAND}`; export r; \
14601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14602         $(HOST_EXPORTS) \
14603         for flag in $(EXTRA_HOST_FLAGS) ; do \
14604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14605         done; \
14606         echo "Doing mostlyclean in make" ; \
14607         (cd $(HOST_SUBDIR)/make && \
14608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14610                   "RANLIB=$${RANLIB}" \
14611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14612                   mostlyclean) \
14613           || exit 1
14614
14615 @endif make
14616
14617 .PHONY: maybe-clean-make clean-make
14618 maybe-clean-make:
14619 @if make
14620 maybe-clean-make: clean-make
14621
14622 clean-make: 
14623         @[ -f ./make/Makefile ] || exit 0; \
14624         r=`${PWD_COMMAND}`; export r; \
14625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14626         $(HOST_EXPORTS) \
14627         for flag in $(EXTRA_HOST_FLAGS) ; do \
14628           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14629         done; \
14630         echo "Doing clean in make" ; \
14631         (cd $(HOST_SUBDIR)/make && \
14632           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14633                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14634                   "RANLIB=$${RANLIB}" \
14635                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14636                   clean) \
14637           || exit 1
14638
14639 @endif make
14640
14641 .PHONY: maybe-distclean-make distclean-make
14642 maybe-distclean-make:
14643 @if make
14644 maybe-distclean-make: distclean-make
14645
14646 distclean-make: 
14647         @[ -f ./make/Makefile ] || exit 0; \
14648         r=`${PWD_COMMAND}`; export r; \
14649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14650         $(HOST_EXPORTS) \
14651         for flag in $(EXTRA_HOST_FLAGS) ; do \
14652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14653         done; \
14654         echo "Doing distclean in make" ; \
14655         (cd $(HOST_SUBDIR)/make && \
14656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14658                   "RANLIB=$${RANLIB}" \
14659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14660                   distclean) \
14661           || exit 1
14662
14663 @endif make
14664
14665 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14666 maybe-maintainer-clean-make:
14667 @if make
14668 maybe-maintainer-clean-make: maintainer-clean-make
14669
14670 maintainer-clean-make: 
14671         @[ -f ./make/Makefile ] || exit 0; \
14672         r=`${PWD_COMMAND}`; export r; \
14673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14674         $(HOST_EXPORTS) \
14675         for flag in $(EXTRA_HOST_FLAGS) ; do \
14676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14677         done; \
14678         echo "Doing maintainer-clean in make" ; \
14679         (cd $(HOST_SUBDIR)/make && \
14680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14682                   "RANLIB=$${RANLIB}" \
14683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14684                   maintainer-clean) \
14685           || exit 1
14686
14687 @endif make
14688
14689
14690 .PHONY: configure-mmalloc maybe-configure-mmalloc
14691 maybe-configure-mmalloc:
14692 @if mmalloc
14693 maybe-configure-mmalloc: configure-mmalloc
14694 configure-mmalloc:
14695         @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
14696         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
14697         r=`${PWD_COMMAND}`; export r; \
14698         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14699         $(HOST_EXPORTS) \
14700         echo Configuring in mmalloc; \
14701         cd $(HOST_SUBDIR)/mmalloc || exit 1; \
14702         case $(srcdir) in \
14703           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14704           *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
14705                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14706         esac; \
14707         srcdiroption="--srcdir=$${topdir}/mmalloc"; \
14708         libsrcdir="$$s/mmalloc"; \
14709         $(SHELL) $${libsrcdir}/configure \
14710           $(HOST_CONFIGARGS) $${srcdiroption}  \
14711           || exit 1
14712 @endif mmalloc
14713
14714 .PHONY: all-mmalloc maybe-all-mmalloc
14715 maybe-all-mmalloc:
14716 @if mmalloc
14717 TARGET-mmalloc=all
14718 maybe-all-mmalloc: all-mmalloc
14719 all-mmalloc: configure-mmalloc
14720         @r=`${PWD_COMMAND}`; export r; \
14721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14722         $(HOST_EXPORTS) \
14723         (cd $(HOST_SUBDIR)/mmalloc && \
14724           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-mmalloc))
14725 @endif mmalloc
14726
14727 .PHONY: check-mmalloc maybe-check-mmalloc
14728 maybe-check-mmalloc:
14729 @if mmalloc
14730 maybe-check-mmalloc: check-mmalloc
14731
14732 check-mmalloc:
14733
14734 @endif mmalloc
14735
14736 .PHONY: install-mmalloc maybe-install-mmalloc
14737 maybe-install-mmalloc:
14738 @if mmalloc
14739 maybe-install-mmalloc: install-mmalloc
14740
14741 install-mmalloc: installdirs
14742         @r=`${PWD_COMMAND}`; export r; \
14743         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14744         $(HOST_EXPORTS) \
14745         (cd $(HOST_SUBDIR)/mmalloc && \
14746           $(MAKE) $(FLAGS_TO_PASS)  install)
14747
14748 @endif mmalloc
14749
14750 # Other targets (info, dvi, etc.)
14751
14752 .PHONY: maybe-info-mmalloc info-mmalloc
14753 maybe-info-mmalloc:
14754 @if mmalloc
14755 maybe-info-mmalloc: info-mmalloc
14756
14757 info-mmalloc: \
14758     configure-mmalloc 
14759         @[ -f ./mmalloc/Makefile ] || exit 0; \
14760         r=`${PWD_COMMAND}`; export r; \
14761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762         $(HOST_EXPORTS) \
14763         for flag in $(EXTRA_HOST_FLAGS) ; do \
14764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14765         done; \
14766         echo "Doing info in mmalloc" ; \
14767         (cd $(HOST_SUBDIR)/mmalloc && \
14768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14770                   "RANLIB=$${RANLIB}" \
14771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14772                   info) \
14773           || exit 1
14774
14775 @endif mmalloc
14776
14777 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14778 maybe-dvi-mmalloc:
14779 @if mmalloc
14780 maybe-dvi-mmalloc: dvi-mmalloc
14781
14782 dvi-mmalloc: \
14783     configure-mmalloc 
14784         @[ -f ./mmalloc/Makefile ] || exit 0; \
14785         r=`${PWD_COMMAND}`; export r; \
14786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14787         $(HOST_EXPORTS) \
14788         for flag in $(EXTRA_HOST_FLAGS) ; do \
14789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14790         done; \
14791         echo "Doing dvi in mmalloc" ; \
14792         (cd $(HOST_SUBDIR)/mmalloc && \
14793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14795                   "RANLIB=$${RANLIB}" \
14796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14797                   dvi) \
14798           || exit 1
14799
14800 @endif mmalloc
14801
14802 .PHONY: maybe-html-mmalloc html-mmalloc
14803 maybe-html-mmalloc:
14804 @if mmalloc
14805 maybe-html-mmalloc: html-mmalloc
14806
14807 html-mmalloc: \
14808     configure-mmalloc 
14809         @[ -f ./mmalloc/Makefile ] || exit 0; \
14810         r=`${PWD_COMMAND}`; export r; \
14811         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14812         $(HOST_EXPORTS) \
14813         for flag in $(EXTRA_HOST_FLAGS) ; do \
14814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14815         done; \
14816         echo "Doing html in mmalloc" ; \
14817         (cd $(HOST_SUBDIR)/mmalloc && \
14818           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14819                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14820                   "RANLIB=$${RANLIB}" \
14821                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14822                   html) \
14823           || exit 1
14824
14825 @endif mmalloc
14826
14827 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14828 maybe-TAGS-mmalloc:
14829 @if mmalloc
14830 maybe-TAGS-mmalloc: TAGS-mmalloc
14831
14832 TAGS-mmalloc: \
14833     configure-mmalloc 
14834         @[ -f ./mmalloc/Makefile ] || exit 0; \
14835         r=`${PWD_COMMAND}`; export r; \
14836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14837         $(HOST_EXPORTS) \
14838         for flag in $(EXTRA_HOST_FLAGS) ; do \
14839           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14840         done; \
14841         echo "Doing TAGS in mmalloc" ; \
14842         (cd $(HOST_SUBDIR)/mmalloc && \
14843           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14844                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14845                   "RANLIB=$${RANLIB}" \
14846                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14847                   TAGS) \
14848           || exit 1
14849
14850 @endif mmalloc
14851
14852 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14853 maybe-install-info-mmalloc:
14854 @if mmalloc
14855 maybe-install-info-mmalloc: install-info-mmalloc
14856
14857 install-info-mmalloc: \
14858     configure-mmalloc \
14859     info-mmalloc 
14860         @[ -f ./mmalloc/Makefile ] || exit 0; \
14861         r=`${PWD_COMMAND}`; export r; \
14862         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14863         $(HOST_EXPORTS) \
14864         for flag in $(EXTRA_HOST_FLAGS) ; do \
14865           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14866         done; \
14867         echo "Doing install-info in mmalloc" ; \
14868         (cd $(HOST_SUBDIR)/mmalloc && \
14869           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14870                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14871                   "RANLIB=$${RANLIB}" \
14872                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14873                   install-info) \
14874           || exit 1
14875
14876 @endif mmalloc
14877
14878 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14879 maybe-installcheck-mmalloc:
14880 @if mmalloc
14881 maybe-installcheck-mmalloc: installcheck-mmalloc
14882
14883 installcheck-mmalloc: \
14884     configure-mmalloc 
14885         @[ -f ./mmalloc/Makefile ] || exit 0; \
14886         r=`${PWD_COMMAND}`; export r; \
14887         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14888         $(HOST_EXPORTS) \
14889         for flag in $(EXTRA_HOST_FLAGS) ; do \
14890           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14891         done; \
14892         echo "Doing installcheck in mmalloc" ; \
14893         (cd $(HOST_SUBDIR)/mmalloc && \
14894           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14895                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14896                   "RANLIB=$${RANLIB}" \
14897                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14898                   installcheck) \
14899           || exit 1
14900
14901 @endif mmalloc
14902
14903 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14904 maybe-mostlyclean-mmalloc:
14905 @if mmalloc
14906 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14907
14908 mostlyclean-mmalloc: 
14909         @[ -f ./mmalloc/Makefile ] || exit 0; \
14910         r=`${PWD_COMMAND}`; export r; \
14911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14912         $(HOST_EXPORTS) \
14913         for flag in $(EXTRA_HOST_FLAGS) ; do \
14914           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14915         done; \
14916         echo "Doing mostlyclean in mmalloc" ; \
14917         (cd $(HOST_SUBDIR)/mmalloc && \
14918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14920                   "RANLIB=$${RANLIB}" \
14921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14922                   mostlyclean) \
14923           || exit 1
14924
14925 @endif mmalloc
14926
14927 .PHONY: maybe-clean-mmalloc clean-mmalloc
14928 maybe-clean-mmalloc:
14929 @if mmalloc
14930 maybe-clean-mmalloc: clean-mmalloc
14931
14932 clean-mmalloc: 
14933         @[ -f ./mmalloc/Makefile ] || exit 0; \
14934         r=`${PWD_COMMAND}`; export r; \
14935         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14936         $(HOST_EXPORTS) \
14937         for flag in $(EXTRA_HOST_FLAGS) ; do \
14938           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14939         done; \
14940         echo "Doing clean in mmalloc" ; \
14941         (cd $(HOST_SUBDIR)/mmalloc && \
14942           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14943                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14944                   "RANLIB=$${RANLIB}" \
14945                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14946                   clean) \
14947           || exit 1
14948
14949 @endif mmalloc
14950
14951 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14952 maybe-distclean-mmalloc:
14953 @if mmalloc
14954 maybe-distclean-mmalloc: distclean-mmalloc
14955
14956 distclean-mmalloc: 
14957         @[ -f ./mmalloc/Makefile ] || exit 0; \
14958         r=`${PWD_COMMAND}`; export r; \
14959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14960         $(HOST_EXPORTS) \
14961         for flag in $(EXTRA_HOST_FLAGS) ; do \
14962           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14963         done; \
14964         echo "Doing distclean in mmalloc" ; \
14965         (cd $(HOST_SUBDIR)/mmalloc && \
14966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14968                   "RANLIB=$${RANLIB}" \
14969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14970                   distclean) \
14971           || exit 1
14972
14973 @endif mmalloc
14974
14975 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14976 maybe-maintainer-clean-mmalloc:
14977 @if mmalloc
14978 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14979
14980 maintainer-clean-mmalloc: 
14981         @[ -f ./mmalloc/Makefile ] || exit 0; \
14982         r=`${PWD_COMMAND}`; export r; \
14983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984         $(HOST_EXPORTS) \
14985         for flag in $(EXTRA_HOST_FLAGS) ; do \
14986           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14987         done; \
14988         echo "Doing maintainer-clean in mmalloc" ; \
14989         (cd $(HOST_SUBDIR)/mmalloc && \
14990           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14991                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14992                   "RANLIB=$${RANLIB}" \
14993                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14994                   maintainer-clean) \
14995           || exit 1
14996
14997 @endif mmalloc
14998
14999
15000 .PHONY: configure-patch maybe-configure-patch
15001 maybe-configure-patch:
15002 @if patch
15003 maybe-configure-patch: configure-patch
15004 configure-patch:
15005         @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
15006         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
15007         r=`${PWD_COMMAND}`; export r; \
15008         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15009         $(HOST_EXPORTS) \
15010         echo Configuring in patch; \
15011         cd $(HOST_SUBDIR)/patch || exit 1; \
15012         case $(srcdir) in \
15013           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15014           *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
15015                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15016         esac; \
15017         srcdiroption="--srcdir=$${topdir}/patch"; \
15018         libsrcdir="$$s/patch"; \
15019         $(SHELL) $${libsrcdir}/configure \
15020           $(HOST_CONFIGARGS) $${srcdiroption}  \
15021           || exit 1
15022 @endif patch
15023
15024 .PHONY: all-patch maybe-all-patch
15025 maybe-all-patch:
15026 @if patch
15027 TARGET-patch=all
15028 maybe-all-patch: all-patch
15029 all-patch: configure-patch
15030         @r=`${PWD_COMMAND}`; export r; \
15031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15032         $(HOST_EXPORTS) \
15033         (cd $(HOST_SUBDIR)/patch && \
15034           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-patch))
15035 @endif patch
15036
15037 .PHONY: check-patch maybe-check-patch
15038 maybe-check-patch:
15039 @if patch
15040 maybe-check-patch: check-patch
15041
15042 check-patch:
15043         @r=`${PWD_COMMAND}`; export r; \
15044         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15045         $(HOST_EXPORTS) \
15046         (cd $(HOST_SUBDIR)/patch && \
15047           $(MAKE) $(FLAGS_TO_PASS)  check)
15048
15049 @endif patch
15050
15051 .PHONY: install-patch maybe-install-patch
15052 maybe-install-patch:
15053 @if patch
15054 maybe-install-patch: install-patch
15055
15056 install-patch: installdirs
15057         @r=`${PWD_COMMAND}`; export r; \
15058         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059         $(HOST_EXPORTS) \
15060         (cd $(HOST_SUBDIR)/patch && \
15061           $(MAKE) $(FLAGS_TO_PASS)  install)
15062
15063 @endif patch
15064
15065 # Other targets (info, dvi, etc.)
15066
15067 .PHONY: maybe-info-patch info-patch
15068 maybe-info-patch:
15069 @if patch
15070 maybe-info-patch: info-patch
15071
15072 info-patch: \
15073     configure-patch 
15074         @[ -f ./patch/Makefile ] || exit 0; \
15075         r=`${PWD_COMMAND}`; export r; \
15076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077         $(HOST_EXPORTS) \
15078         for flag in $(EXTRA_HOST_FLAGS) ; do \
15079           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15080         done; \
15081         echo "Doing info in patch" ; \
15082         (cd $(HOST_SUBDIR)/patch && \
15083           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15084                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15085                   "RANLIB=$${RANLIB}" \
15086                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15087                   info) \
15088           || exit 1
15089
15090 @endif patch
15091
15092 .PHONY: maybe-dvi-patch dvi-patch
15093 maybe-dvi-patch:
15094 @if patch
15095 maybe-dvi-patch: dvi-patch
15096
15097 dvi-patch: \
15098     configure-patch 
15099         @[ -f ./patch/Makefile ] || exit 0; \
15100         r=`${PWD_COMMAND}`; export r; \
15101         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15102         $(HOST_EXPORTS) \
15103         for flag in $(EXTRA_HOST_FLAGS) ; do \
15104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15105         done; \
15106         echo "Doing dvi in patch" ; \
15107         (cd $(HOST_SUBDIR)/patch && \
15108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15110                   "RANLIB=$${RANLIB}" \
15111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15112                   dvi) \
15113           || exit 1
15114
15115 @endif patch
15116
15117 .PHONY: maybe-html-patch html-patch
15118 maybe-html-patch:
15119 @if patch
15120 maybe-html-patch: html-patch
15121
15122 html-patch: \
15123     configure-patch 
15124         @[ -f ./patch/Makefile ] || exit 0; \
15125         r=`${PWD_COMMAND}`; export r; \
15126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15127         $(HOST_EXPORTS) \
15128         for flag in $(EXTRA_HOST_FLAGS) ; do \
15129           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15130         done; \
15131         echo "Doing html in patch" ; \
15132         (cd $(HOST_SUBDIR)/patch && \
15133           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15134                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15135                   "RANLIB=$${RANLIB}" \
15136                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15137                   html) \
15138           || exit 1
15139
15140 @endif patch
15141
15142 .PHONY: maybe-TAGS-patch TAGS-patch
15143 maybe-TAGS-patch:
15144 @if patch
15145 maybe-TAGS-patch: TAGS-patch
15146
15147 TAGS-patch: \
15148     configure-patch 
15149         @[ -f ./patch/Makefile ] || exit 0; \
15150         r=`${PWD_COMMAND}`; export r; \
15151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15152         $(HOST_EXPORTS) \
15153         for flag in $(EXTRA_HOST_FLAGS) ; do \
15154           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15155         done; \
15156         echo "Doing TAGS in patch" ; \
15157         (cd $(HOST_SUBDIR)/patch && \
15158           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15159                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15160                   "RANLIB=$${RANLIB}" \
15161                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15162                   TAGS) \
15163           || exit 1
15164
15165 @endif patch
15166
15167 .PHONY: maybe-install-info-patch install-info-patch
15168 maybe-install-info-patch:
15169 @if patch
15170 maybe-install-info-patch: install-info-patch
15171
15172 install-info-patch: \
15173     configure-patch \
15174     info-patch 
15175         @[ -f ./patch/Makefile ] || exit 0; \
15176         r=`${PWD_COMMAND}`; export r; \
15177         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15178         $(HOST_EXPORTS) \
15179         for flag in $(EXTRA_HOST_FLAGS) ; do \
15180           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15181         done; \
15182         echo "Doing install-info in patch" ; \
15183         (cd $(HOST_SUBDIR)/patch && \
15184           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15185                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15186                   "RANLIB=$${RANLIB}" \
15187                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15188                   install-info) \
15189           || exit 1
15190
15191 @endif patch
15192
15193 .PHONY: maybe-installcheck-patch installcheck-patch
15194 maybe-installcheck-patch:
15195 @if patch
15196 maybe-installcheck-patch: installcheck-patch
15197
15198 installcheck-patch: \
15199     configure-patch 
15200         @[ -f ./patch/Makefile ] || exit 0; \
15201         r=`${PWD_COMMAND}`; export r; \
15202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15203         $(HOST_EXPORTS) \
15204         for flag in $(EXTRA_HOST_FLAGS) ; do \
15205           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15206         done; \
15207         echo "Doing installcheck in patch" ; \
15208         (cd $(HOST_SUBDIR)/patch && \
15209           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15210                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15211                   "RANLIB=$${RANLIB}" \
15212                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15213                   installcheck) \
15214           || exit 1
15215
15216 @endif patch
15217
15218 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15219 maybe-mostlyclean-patch:
15220 @if patch
15221 maybe-mostlyclean-patch: mostlyclean-patch
15222
15223 mostlyclean-patch: 
15224         @[ -f ./patch/Makefile ] || exit 0; \
15225         r=`${PWD_COMMAND}`; export r; \
15226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15227         $(HOST_EXPORTS) \
15228         for flag in $(EXTRA_HOST_FLAGS) ; do \
15229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15230         done; \
15231         echo "Doing mostlyclean in patch" ; \
15232         (cd $(HOST_SUBDIR)/patch && \
15233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15235                   "RANLIB=$${RANLIB}" \
15236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15237                   mostlyclean) \
15238           || exit 1
15239
15240 @endif patch
15241
15242 .PHONY: maybe-clean-patch clean-patch
15243 maybe-clean-patch:
15244 @if patch
15245 maybe-clean-patch: clean-patch
15246
15247 clean-patch: 
15248         @[ -f ./patch/Makefile ] || exit 0; \
15249         r=`${PWD_COMMAND}`; export r; \
15250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15251         $(HOST_EXPORTS) \
15252         for flag in $(EXTRA_HOST_FLAGS) ; do \
15253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15254         done; \
15255         echo "Doing clean in patch" ; \
15256         (cd $(HOST_SUBDIR)/patch && \
15257           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15258                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15259                   "RANLIB=$${RANLIB}" \
15260                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15261                   clean) \
15262           || exit 1
15263
15264 @endif patch
15265
15266 .PHONY: maybe-distclean-patch distclean-patch
15267 maybe-distclean-patch:
15268 @if patch
15269 maybe-distclean-patch: distclean-patch
15270
15271 distclean-patch: 
15272         @[ -f ./patch/Makefile ] || exit 0; \
15273         r=`${PWD_COMMAND}`; export r; \
15274         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15275         $(HOST_EXPORTS) \
15276         for flag in $(EXTRA_HOST_FLAGS) ; do \
15277           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15278         done; \
15279         echo "Doing distclean in patch" ; \
15280         (cd $(HOST_SUBDIR)/patch && \
15281           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15282                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15283                   "RANLIB=$${RANLIB}" \
15284                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15285                   distclean) \
15286           || exit 1
15287
15288 @endif patch
15289
15290 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
15291 maybe-maintainer-clean-patch:
15292 @if patch
15293 maybe-maintainer-clean-patch: maintainer-clean-patch
15294
15295 maintainer-clean-patch: 
15296         @[ -f ./patch/Makefile ] || exit 0; \
15297         r=`${PWD_COMMAND}`; export r; \
15298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15299         $(HOST_EXPORTS) \
15300         for flag in $(EXTRA_HOST_FLAGS) ; do \
15301           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15302         done; \
15303         echo "Doing maintainer-clean in patch" ; \
15304         (cd $(HOST_SUBDIR)/patch && \
15305           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15306                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15307                   "RANLIB=$${RANLIB}" \
15308                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15309                   maintainer-clean) \
15310           || exit 1
15311
15312 @endif patch
15313
15314
15315 .PHONY: configure-perl maybe-configure-perl
15316 maybe-configure-perl:
15317 @if perl
15318 maybe-configure-perl: configure-perl
15319 configure-perl:
15320         @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
15321         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
15322         r=`${PWD_COMMAND}`; export r; \
15323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15324         $(HOST_EXPORTS) \
15325         echo Configuring in perl; \
15326         cd $(HOST_SUBDIR)/perl || exit 1; \
15327         case $(srcdir) in \
15328           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15329           *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
15330                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15331         esac; \
15332         srcdiroption="--srcdir=$${topdir}/perl"; \
15333         libsrcdir="$$s/perl"; \
15334         $(SHELL) $${libsrcdir}/configure \
15335           $(HOST_CONFIGARGS) $${srcdiroption}  \
15336           || exit 1
15337 @endif perl
15338
15339 .PHONY: all-perl maybe-all-perl
15340 maybe-all-perl:
15341 @if perl
15342 TARGET-perl=all
15343 maybe-all-perl: all-perl
15344 all-perl: configure-perl
15345         @r=`${PWD_COMMAND}`; export r; \
15346         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347         $(HOST_EXPORTS) \
15348         (cd $(HOST_SUBDIR)/perl && \
15349           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-perl))
15350 @endif perl
15351
15352 .PHONY: check-perl maybe-check-perl
15353 maybe-check-perl:
15354 @if perl
15355 maybe-check-perl: check-perl
15356
15357 check-perl:
15358         @r=`${PWD_COMMAND}`; export r; \
15359         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15360         $(HOST_EXPORTS) \
15361         (cd $(HOST_SUBDIR)/perl && \
15362           $(MAKE) $(FLAGS_TO_PASS)  check)
15363
15364 @endif perl
15365
15366 .PHONY: install-perl maybe-install-perl
15367 maybe-install-perl:
15368 @if perl
15369 maybe-install-perl: install-perl
15370
15371 install-perl: installdirs
15372         @r=`${PWD_COMMAND}`; export r; \
15373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15374         $(HOST_EXPORTS) \
15375         (cd $(HOST_SUBDIR)/perl && \
15376           $(MAKE) $(FLAGS_TO_PASS)  install)
15377
15378 @endif perl
15379
15380 # Other targets (info, dvi, etc.)
15381
15382 .PHONY: maybe-info-perl info-perl
15383 maybe-info-perl:
15384 @if perl
15385 maybe-info-perl: info-perl
15386
15387 info-perl: \
15388     configure-perl 
15389         @[ -f ./perl/Makefile ] || exit 0; \
15390         r=`${PWD_COMMAND}`; export r; \
15391         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15392         $(HOST_EXPORTS) \
15393         for flag in $(EXTRA_HOST_FLAGS) ; do \
15394           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15395         done; \
15396         echo "Doing info in perl" ; \
15397         (cd $(HOST_SUBDIR)/perl && \
15398           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15399                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15400                   "RANLIB=$${RANLIB}" \
15401                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15402                   info) \
15403           || exit 1
15404
15405 @endif perl
15406
15407 .PHONY: maybe-dvi-perl dvi-perl
15408 maybe-dvi-perl:
15409 @if perl
15410 maybe-dvi-perl: dvi-perl
15411
15412 dvi-perl: \
15413     configure-perl 
15414         @[ -f ./perl/Makefile ] || exit 0; \
15415         r=`${PWD_COMMAND}`; export r; \
15416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15417         $(HOST_EXPORTS) \
15418         for flag in $(EXTRA_HOST_FLAGS) ; do \
15419           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15420         done; \
15421         echo "Doing dvi in perl" ; \
15422         (cd $(HOST_SUBDIR)/perl && \
15423           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15424                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15425                   "RANLIB=$${RANLIB}" \
15426                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15427                   dvi) \
15428           || exit 1
15429
15430 @endif perl
15431
15432 .PHONY: maybe-html-perl html-perl
15433 maybe-html-perl:
15434 @if perl
15435 maybe-html-perl: html-perl
15436
15437 html-perl: \
15438     configure-perl 
15439         @[ -f ./perl/Makefile ] || exit 0; \
15440         r=`${PWD_COMMAND}`; export r; \
15441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15442         $(HOST_EXPORTS) \
15443         for flag in $(EXTRA_HOST_FLAGS) ; do \
15444           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15445         done; \
15446         echo "Doing html in perl" ; \
15447         (cd $(HOST_SUBDIR)/perl && \
15448           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15449                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15450                   "RANLIB=$${RANLIB}" \
15451                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15452                   html) \
15453           || exit 1
15454
15455 @endif perl
15456
15457 .PHONY: maybe-TAGS-perl TAGS-perl
15458 maybe-TAGS-perl:
15459 @if perl
15460 maybe-TAGS-perl: TAGS-perl
15461
15462 TAGS-perl: \
15463     configure-perl 
15464         @[ -f ./perl/Makefile ] || exit 0; \
15465         r=`${PWD_COMMAND}`; export r; \
15466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15467         $(HOST_EXPORTS) \
15468         for flag in $(EXTRA_HOST_FLAGS) ; do \
15469           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15470         done; \
15471         echo "Doing TAGS in perl" ; \
15472         (cd $(HOST_SUBDIR)/perl && \
15473           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15474                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15475                   "RANLIB=$${RANLIB}" \
15476                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15477                   TAGS) \
15478           || exit 1
15479
15480 @endif perl
15481
15482 .PHONY: maybe-install-info-perl install-info-perl
15483 maybe-install-info-perl:
15484 @if perl
15485 maybe-install-info-perl: install-info-perl
15486
15487 install-info-perl: \
15488     configure-perl \
15489     info-perl 
15490         @[ -f ./perl/Makefile ] || exit 0; \
15491         r=`${PWD_COMMAND}`; export r; \
15492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15493         $(HOST_EXPORTS) \
15494         for flag in $(EXTRA_HOST_FLAGS) ; do \
15495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15496         done; \
15497         echo "Doing install-info in perl" ; \
15498         (cd $(HOST_SUBDIR)/perl && \
15499           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15500                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15501                   "RANLIB=$${RANLIB}" \
15502                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15503                   install-info) \
15504           || exit 1
15505
15506 @endif perl
15507
15508 .PHONY: maybe-installcheck-perl installcheck-perl
15509 maybe-installcheck-perl:
15510 @if perl
15511 maybe-installcheck-perl: installcheck-perl
15512
15513 installcheck-perl: \
15514     configure-perl 
15515         @[ -f ./perl/Makefile ] || exit 0; \
15516         r=`${PWD_COMMAND}`; export r; \
15517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518         $(HOST_EXPORTS) \
15519         for flag in $(EXTRA_HOST_FLAGS) ; do \
15520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15521         done; \
15522         echo "Doing installcheck in perl" ; \
15523         (cd $(HOST_SUBDIR)/perl && \
15524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15526                   "RANLIB=$${RANLIB}" \
15527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15528                   installcheck) \
15529           || exit 1
15530
15531 @endif perl
15532
15533 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15534 maybe-mostlyclean-perl:
15535 @if perl
15536 maybe-mostlyclean-perl: mostlyclean-perl
15537
15538 mostlyclean-perl: 
15539         @[ -f ./perl/Makefile ] || exit 0; \
15540         r=`${PWD_COMMAND}`; export r; \
15541         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15542         $(HOST_EXPORTS) \
15543         for flag in $(EXTRA_HOST_FLAGS) ; do \
15544           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15545         done; \
15546         echo "Doing mostlyclean in perl" ; \
15547         (cd $(HOST_SUBDIR)/perl && \
15548           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15549                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15550                   "RANLIB=$${RANLIB}" \
15551                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15552                   mostlyclean) \
15553           || exit 1
15554
15555 @endif perl
15556
15557 .PHONY: maybe-clean-perl clean-perl
15558 maybe-clean-perl:
15559 @if perl
15560 maybe-clean-perl: clean-perl
15561
15562 clean-perl: 
15563         @[ -f ./perl/Makefile ] || exit 0; \
15564         r=`${PWD_COMMAND}`; export r; \
15565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15566         $(HOST_EXPORTS) \
15567         for flag in $(EXTRA_HOST_FLAGS) ; do \
15568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15569         done; \
15570         echo "Doing clean in perl" ; \
15571         (cd $(HOST_SUBDIR)/perl && \
15572           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15573                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15574                   "RANLIB=$${RANLIB}" \
15575                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15576                   clean) \
15577           || exit 1
15578
15579 @endif perl
15580
15581 .PHONY: maybe-distclean-perl distclean-perl
15582 maybe-distclean-perl:
15583 @if perl
15584 maybe-distclean-perl: distclean-perl
15585
15586 distclean-perl: 
15587         @[ -f ./perl/Makefile ] || exit 0; \
15588         r=`${PWD_COMMAND}`; export r; \
15589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15590         $(HOST_EXPORTS) \
15591         for flag in $(EXTRA_HOST_FLAGS) ; do \
15592           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15593         done; \
15594         echo "Doing distclean in perl" ; \
15595         (cd $(HOST_SUBDIR)/perl && \
15596           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15597                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15598                   "RANLIB=$${RANLIB}" \
15599                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15600                   distclean) \
15601           || exit 1
15602
15603 @endif perl
15604
15605 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15606 maybe-maintainer-clean-perl:
15607 @if perl
15608 maybe-maintainer-clean-perl: maintainer-clean-perl
15609
15610 maintainer-clean-perl: 
15611         @[ -f ./perl/Makefile ] || exit 0; \
15612         r=`${PWD_COMMAND}`; export r; \
15613         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15614         $(HOST_EXPORTS) \
15615         for flag in $(EXTRA_HOST_FLAGS) ; do \
15616           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15617         done; \
15618         echo "Doing maintainer-clean in perl" ; \
15619         (cd $(HOST_SUBDIR)/perl && \
15620           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15621                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15622                   "RANLIB=$${RANLIB}" \
15623                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15624                   maintainer-clean) \
15625           || exit 1
15626
15627 @endif perl
15628
15629
15630 .PHONY: configure-prms maybe-configure-prms
15631 maybe-configure-prms:
15632 @if prms
15633 maybe-configure-prms: configure-prms
15634 configure-prms:
15635         @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
15636         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
15637         r=`${PWD_COMMAND}`; export r; \
15638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15639         $(HOST_EXPORTS) \
15640         echo Configuring in prms; \
15641         cd $(HOST_SUBDIR)/prms || exit 1; \
15642         case $(srcdir) in \
15643           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15644           *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
15645                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15646         esac; \
15647         srcdiroption="--srcdir=$${topdir}/prms"; \
15648         libsrcdir="$$s/prms"; \
15649         $(SHELL) $${libsrcdir}/configure \
15650           $(HOST_CONFIGARGS) $${srcdiroption}  \
15651           || exit 1
15652 @endif prms
15653
15654 .PHONY: all-prms maybe-all-prms
15655 maybe-all-prms:
15656 @if prms
15657 TARGET-prms=all
15658 maybe-all-prms: all-prms
15659 all-prms: configure-prms
15660         @r=`${PWD_COMMAND}`; export r; \
15661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15662         $(HOST_EXPORTS) \
15663         (cd $(HOST_SUBDIR)/prms && \
15664           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-prms))
15665 @endif prms
15666
15667 .PHONY: check-prms maybe-check-prms
15668 maybe-check-prms:
15669 @if prms
15670 maybe-check-prms: check-prms
15671
15672 check-prms:
15673         @r=`${PWD_COMMAND}`; export r; \
15674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15675         $(HOST_EXPORTS) \
15676         (cd $(HOST_SUBDIR)/prms && \
15677           $(MAKE) $(FLAGS_TO_PASS)  check)
15678
15679 @endif prms
15680
15681 .PHONY: install-prms maybe-install-prms
15682 maybe-install-prms:
15683 @if prms
15684 maybe-install-prms: install-prms
15685
15686 install-prms: installdirs
15687         @r=`${PWD_COMMAND}`; export r; \
15688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15689         $(HOST_EXPORTS) \
15690         (cd $(HOST_SUBDIR)/prms && \
15691           $(MAKE) $(FLAGS_TO_PASS)  install)
15692
15693 @endif prms
15694
15695 # Other targets (info, dvi, etc.)
15696
15697 .PHONY: maybe-info-prms info-prms
15698 maybe-info-prms:
15699 @if prms
15700 maybe-info-prms: info-prms
15701
15702 info-prms: \
15703     configure-prms 
15704         @[ -f ./prms/Makefile ] || exit 0; \
15705         r=`${PWD_COMMAND}`; export r; \
15706         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15707         $(HOST_EXPORTS) \
15708         for flag in $(EXTRA_HOST_FLAGS) ; do \
15709           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15710         done; \
15711         echo "Doing info in prms" ; \
15712         (cd $(HOST_SUBDIR)/prms && \
15713           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15714                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15715                   "RANLIB=$${RANLIB}" \
15716                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15717                   info) \
15718           || exit 1
15719
15720 @endif prms
15721
15722 .PHONY: maybe-dvi-prms dvi-prms
15723 maybe-dvi-prms:
15724 @if prms
15725 maybe-dvi-prms: dvi-prms
15726
15727 dvi-prms: \
15728     configure-prms 
15729         @[ -f ./prms/Makefile ] || exit 0; \
15730         r=`${PWD_COMMAND}`; export r; \
15731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15732         $(HOST_EXPORTS) \
15733         for flag in $(EXTRA_HOST_FLAGS) ; do \
15734           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15735         done; \
15736         echo "Doing dvi in prms" ; \
15737         (cd $(HOST_SUBDIR)/prms && \
15738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15740                   "RANLIB=$${RANLIB}" \
15741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15742                   dvi) \
15743           || exit 1
15744
15745 @endif prms
15746
15747 .PHONY: maybe-html-prms html-prms
15748 maybe-html-prms:
15749 @if prms
15750 maybe-html-prms: html-prms
15751
15752 html-prms: \
15753     configure-prms 
15754         @[ -f ./prms/Makefile ] || exit 0; \
15755         r=`${PWD_COMMAND}`; export r; \
15756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15757         $(HOST_EXPORTS) \
15758         for flag in $(EXTRA_HOST_FLAGS) ; do \
15759           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15760         done; \
15761         echo "Doing html in prms" ; \
15762         (cd $(HOST_SUBDIR)/prms && \
15763           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15764                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15765                   "RANLIB=$${RANLIB}" \
15766                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15767                   html) \
15768           || exit 1
15769
15770 @endif prms
15771
15772 .PHONY: maybe-TAGS-prms TAGS-prms
15773 maybe-TAGS-prms:
15774 @if prms
15775 maybe-TAGS-prms: TAGS-prms
15776
15777 TAGS-prms: \
15778     configure-prms 
15779         @[ -f ./prms/Makefile ] || exit 0; \
15780         r=`${PWD_COMMAND}`; export r; \
15781         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15782         $(HOST_EXPORTS) \
15783         for flag in $(EXTRA_HOST_FLAGS) ; do \
15784           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15785         done; \
15786         echo "Doing TAGS in prms" ; \
15787         (cd $(HOST_SUBDIR)/prms && \
15788           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15789                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15790                   "RANLIB=$${RANLIB}" \
15791                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15792                   TAGS) \
15793           || exit 1
15794
15795 @endif prms
15796
15797 .PHONY: maybe-install-info-prms install-info-prms
15798 maybe-install-info-prms:
15799 @if prms
15800 maybe-install-info-prms: install-info-prms
15801
15802 install-info-prms: \
15803     configure-prms \
15804     info-prms 
15805         @[ -f ./prms/Makefile ] || exit 0; \
15806         r=`${PWD_COMMAND}`; export r; \
15807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15808         $(HOST_EXPORTS) \
15809         for flag in $(EXTRA_HOST_FLAGS) ; do \
15810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15811         done; \
15812         echo "Doing install-info in prms" ; \
15813         (cd $(HOST_SUBDIR)/prms && \
15814           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15815                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15816                   "RANLIB=$${RANLIB}" \
15817                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15818                   install-info) \
15819           || exit 1
15820
15821 @endif prms
15822
15823 .PHONY: maybe-installcheck-prms installcheck-prms
15824 maybe-installcheck-prms:
15825 @if prms
15826 maybe-installcheck-prms: installcheck-prms
15827
15828 installcheck-prms: \
15829     configure-prms 
15830         @[ -f ./prms/Makefile ] || exit 0; \
15831         r=`${PWD_COMMAND}`; export r; \
15832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15833         $(HOST_EXPORTS) \
15834         for flag in $(EXTRA_HOST_FLAGS) ; do \
15835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15836         done; \
15837         echo "Doing installcheck in prms" ; \
15838         (cd $(HOST_SUBDIR)/prms && \
15839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15841                   "RANLIB=$${RANLIB}" \
15842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15843                   installcheck) \
15844           || exit 1
15845
15846 @endif prms
15847
15848 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15849 maybe-mostlyclean-prms:
15850 @if prms
15851 maybe-mostlyclean-prms: mostlyclean-prms
15852
15853 mostlyclean-prms: 
15854         @[ -f ./prms/Makefile ] || exit 0; \
15855         r=`${PWD_COMMAND}`; export r; \
15856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15857         $(HOST_EXPORTS) \
15858         for flag in $(EXTRA_HOST_FLAGS) ; do \
15859           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15860         done; \
15861         echo "Doing mostlyclean in prms" ; \
15862         (cd $(HOST_SUBDIR)/prms && \
15863           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15864                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15865                   "RANLIB=$${RANLIB}" \
15866                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15867                   mostlyclean) \
15868           || exit 1
15869
15870 @endif prms
15871
15872 .PHONY: maybe-clean-prms clean-prms
15873 maybe-clean-prms:
15874 @if prms
15875 maybe-clean-prms: clean-prms
15876
15877 clean-prms: 
15878         @[ -f ./prms/Makefile ] || exit 0; \
15879         r=`${PWD_COMMAND}`; export r; \
15880         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15881         $(HOST_EXPORTS) \
15882         for flag in $(EXTRA_HOST_FLAGS) ; do \
15883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15884         done; \
15885         echo "Doing clean in prms" ; \
15886         (cd $(HOST_SUBDIR)/prms && \
15887           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15888                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15889                   "RANLIB=$${RANLIB}" \
15890                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15891                   clean) \
15892           || exit 1
15893
15894 @endif prms
15895
15896 .PHONY: maybe-distclean-prms distclean-prms
15897 maybe-distclean-prms:
15898 @if prms
15899 maybe-distclean-prms: distclean-prms
15900
15901 distclean-prms: 
15902         @[ -f ./prms/Makefile ] || exit 0; \
15903         r=`${PWD_COMMAND}`; export r; \
15904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905         $(HOST_EXPORTS) \
15906         for flag in $(EXTRA_HOST_FLAGS) ; do \
15907           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15908         done; \
15909         echo "Doing distclean in prms" ; \
15910         (cd $(HOST_SUBDIR)/prms && \
15911           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15912                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15913                   "RANLIB=$${RANLIB}" \
15914                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15915                   distclean) \
15916           || exit 1
15917
15918 @endif prms
15919
15920 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15921 maybe-maintainer-clean-prms:
15922 @if prms
15923 maybe-maintainer-clean-prms: maintainer-clean-prms
15924
15925 maintainer-clean-prms: 
15926         @[ -f ./prms/Makefile ] || exit 0; \
15927         r=`${PWD_COMMAND}`; export r; \
15928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15929         $(HOST_EXPORTS) \
15930         for flag in $(EXTRA_HOST_FLAGS) ; do \
15931           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15932         done; \
15933         echo "Doing maintainer-clean in prms" ; \
15934         (cd $(HOST_SUBDIR)/prms && \
15935           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15936                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15937                   "RANLIB=$${RANLIB}" \
15938                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15939                   maintainer-clean) \
15940           || exit 1
15941
15942 @endif prms
15943
15944
15945 .PHONY: configure-rcs maybe-configure-rcs
15946 maybe-configure-rcs:
15947 @if rcs
15948 maybe-configure-rcs: configure-rcs
15949 configure-rcs:
15950         @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
15951         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
15952         r=`${PWD_COMMAND}`; export r; \
15953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15954         $(HOST_EXPORTS) \
15955         echo Configuring in rcs; \
15956         cd $(HOST_SUBDIR)/rcs || exit 1; \
15957         case $(srcdir) in \
15958           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15959           *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
15960                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15961         esac; \
15962         srcdiroption="--srcdir=$${topdir}/rcs"; \
15963         libsrcdir="$$s/rcs"; \
15964         $(SHELL) $${libsrcdir}/configure \
15965           $(HOST_CONFIGARGS) $${srcdiroption}  \
15966           || exit 1
15967 @endif rcs
15968
15969 .PHONY: all-rcs maybe-all-rcs
15970 maybe-all-rcs:
15971 @if rcs
15972 TARGET-rcs=all
15973 maybe-all-rcs: all-rcs
15974 all-rcs: configure-rcs
15975         @r=`${PWD_COMMAND}`; export r; \
15976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15977         $(HOST_EXPORTS) \
15978         (cd $(HOST_SUBDIR)/rcs && \
15979           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-rcs))
15980 @endif rcs
15981
15982 .PHONY: check-rcs maybe-check-rcs
15983 maybe-check-rcs:
15984 @if rcs
15985 maybe-check-rcs: check-rcs
15986
15987 check-rcs:
15988         @r=`${PWD_COMMAND}`; export r; \
15989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990         $(HOST_EXPORTS) \
15991         (cd $(HOST_SUBDIR)/rcs && \
15992           $(MAKE) $(FLAGS_TO_PASS)  check)
15993
15994 @endif rcs
15995
15996 .PHONY: install-rcs maybe-install-rcs
15997 maybe-install-rcs:
15998 @if rcs
15999 maybe-install-rcs: install-rcs
16000
16001 install-rcs: installdirs
16002         @r=`${PWD_COMMAND}`; export r; \
16003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16004         $(HOST_EXPORTS) \
16005         (cd $(HOST_SUBDIR)/rcs && \
16006           $(MAKE) $(FLAGS_TO_PASS)  install)
16007
16008 @endif rcs
16009
16010 # Other targets (info, dvi, etc.)
16011
16012 .PHONY: maybe-info-rcs info-rcs
16013 maybe-info-rcs:
16014 @if rcs
16015 maybe-info-rcs: info-rcs
16016
16017 info-rcs: \
16018     configure-rcs 
16019         @[ -f ./rcs/Makefile ] || exit 0; \
16020         r=`${PWD_COMMAND}`; export r; \
16021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16022         $(HOST_EXPORTS) \
16023         for flag in $(EXTRA_HOST_FLAGS) ; do \
16024           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16025         done; \
16026         echo "Doing info in rcs" ; \
16027         (cd $(HOST_SUBDIR)/rcs && \
16028           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16029                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16030                   "RANLIB=$${RANLIB}" \
16031                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16032                   info) \
16033           || exit 1
16034
16035 @endif rcs
16036
16037 .PHONY: maybe-dvi-rcs dvi-rcs
16038 maybe-dvi-rcs:
16039 @if rcs
16040 maybe-dvi-rcs: dvi-rcs
16041
16042 dvi-rcs: \
16043     configure-rcs 
16044         @[ -f ./rcs/Makefile ] || exit 0; \
16045         r=`${PWD_COMMAND}`; export r; \
16046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047         $(HOST_EXPORTS) \
16048         for flag in $(EXTRA_HOST_FLAGS) ; do \
16049           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16050         done; \
16051         echo "Doing dvi in rcs" ; \
16052         (cd $(HOST_SUBDIR)/rcs && \
16053           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16054                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16055                   "RANLIB=$${RANLIB}" \
16056                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16057                   dvi) \
16058           || exit 1
16059
16060 @endif rcs
16061
16062 .PHONY: maybe-html-rcs html-rcs
16063 maybe-html-rcs:
16064 @if rcs
16065 maybe-html-rcs: html-rcs
16066
16067 html-rcs: \
16068     configure-rcs 
16069         @[ -f ./rcs/Makefile ] || exit 0; \
16070         r=`${PWD_COMMAND}`; export r; \
16071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16072         $(HOST_EXPORTS) \
16073         for flag in $(EXTRA_HOST_FLAGS) ; do \
16074           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16075         done; \
16076         echo "Doing html in rcs" ; \
16077         (cd $(HOST_SUBDIR)/rcs && \
16078           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16079                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16080                   "RANLIB=$${RANLIB}" \
16081                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16082                   html) \
16083           || exit 1
16084
16085 @endif rcs
16086
16087 .PHONY: maybe-TAGS-rcs TAGS-rcs
16088 maybe-TAGS-rcs:
16089 @if rcs
16090 maybe-TAGS-rcs: TAGS-rcs
16091
16092 TAGS-rcs: \
16093     configure-rcs 
16094         @[ -f ./rcs/Makefile ] || exit 0; \
16095         r=`${PWD_COMMAND}`; export r; \
16096         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16097         $(HOST_EXPORTS) \
16098         for flag in $(EXTRA_HOST_FLAGS) ; do \
16099           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16100         done; \
16101         echo "Doing TAGS in rcs" ; \
16102         (cd $(HOST_SUBDIR)/rcs && \
16103           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16104                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16105                   "RANLIB=$${RANLIB}" \
16106                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16107                   TAGS) \
16108           || exit 1
16109
16110 @endif rcs
16111
16112 .PHONY: maybe-install-info-rcs install-info-rcs
16113 maybe-install-info-rcs:
16114 @if rcs
16115 maybe-install-info-rcs: install-info-rcs
16116
16117 install-info-rcs: \
16118     configure-rcs \
16119     info-rcs 
16120         @[ -f ./rcs/Makefile ] || exit 0; \
16121         r=`${PWD_COMMAND}`; export r; \
16122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16123         $(HOST_EXPORTS) \
16124         for flag in $(EXTRA_HOST_FLAGS) ; do \
16125           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16126         done; \
16127         echo "Doing install-info in rcs" ; \
16128         (cd $(HOST_SUBDIR)/rcs && \
16129           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16130                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16131                   "RANLIB=$${RANLIB}" \
16132                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16133                   install-info) \
16134           || exit 1
16135
16136 @endif rcs
16137
16138 .PHONY: maybe-installcheck-rcs installcheck-rcs
16139 maybe-installcheck-rcs:
16140 @if rcs
16141 maybe-installcheck-rcs: installcheck-rcs
16142
16143 installcheck-rcs: \
16144     configure-rcs 
16145         @[ -f ./rcs/Makefile ] || exit 0; \
16146         r=`${PWD_COMMAND}`; export r; \
16147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16148         $(HOST_EXPORTS) \
16149         for flag in $(EXTRA_HOST_FLAGS) ; do \
16150           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16151         done; \
16152         echo "Doing installcheck in rcs" ; \
16153         (cd $(HOST_SUBDIR)/rcs && \
16154           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16155                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16156                   "RANLIB=$${RANLIB}" \
16157                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16158                   installcheck) \
16159           || exit 1
16160
16161 @endif rcs
16162
16163 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16164 maybe-mostlyclean-rcs:
16165 @if rcs
16166 maybe-mostlyclean-rcs: mostlyclean-rcs
16167
16168 mostlyclean-rcs: 
16169         @[ -f ./rcs/Makefile ] || exit 0; \
16170         r=`${PWD_COMMAND}`; export r; \
16171         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16172         $(HOST_EXPORTS) \
16173         for flag in $(EXTRA_HOST_FLAGS) ; do \
16174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16175         done; \
16176         echo "Doing mostlyclean in rcs" ; \
16177         (cd $(HOST_SUBDIR)/rcs && \
16178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16180                   "RANLIB=$${RANLIB}" \
16181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16182                   mostlyclean) \
16183           || exit 1
16184
16185 @endif rcs
16186
16187 .PHONY: maybe-clean-rcs clean-rcs
16188 maybe-clean-rcs:
16189 @if rcs
16190 maybe-clean-rcs: clean-rcs
16191
16192 clean-rcs: 
16193         @[ -f ./rcs/Makefile ] || exit 0; \
16194         r=`${PWD_COMMAND}`; export r; \
16195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16196         $(HOST_EXPORTS) \
16197         for flag in $(EXTRA_HOST_FLAGS) ; do \
16198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16199         done; \
16200         echo "Doing clean in rcs" ; \
16201         (cd $(HOST_SUBDIR)/rcs && \
16202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16204                   "RANLIB=$${RANLIB}" \
16205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16206                   clean) \
16207           || exit 1
16208
16209 @endif rcs
16210
16211 .PHONY: maybe-distclean-rcs distclean-rcs
16212 maybe-distclean-rcs:
16213 @if rcs
16214 maybe-distclean-rcs: distclean-rcs
16215
16216 distclean-rcs: 
16217         @[ -f ./rcs/Makefile ] || exit 0; \
16218         r=`${PWD_COMMAND}`; export r; \
16219         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16220         $(HOST_EXPORTS) \
16221         for flag in $(EXTRA_HOST_FLAGS) ; do \
16222           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16223         done; \
16224         echo "Doing distclean in rcs" ; \
16225         (cd $(HOST_SUBDIR)/rcs && \
16226           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16227                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16228                   "RANLIB=$${RANLIB}" \
16229                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16230                   distclean) \
16231           || exit 1
16232
16233 @endif rcs
16234
16235 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16236 maybe-maintainer-clean-rcs:
16237 @if rcs
16238 maybe-maintainer-clean-rcs: maintainer-clean-rcs
16239
16240 maintainer-clean-rcs: 
16241         @[ -f ./rcs/Makefile ] || exit 0; \
16242         r=`${PWD_COMMAND}`; export r; \
16243         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16244         $(HOST_EXPORTS) \
16245         for flag in $(EXTRA_HOST_FLAGS) ; do \
16246           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16247         done; \
16248         echo "Doing maintainer-clean in rcs" ; \
16249         (cd $(HOST_SUBDIR)/rcs && \
16250           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16251                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16252                   "RANLIB=$${RANLIB}" \
16253                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16254                   maintainer-clean) \
16255           || exit 1
16256
16257 @endif rcs
16258
16259
16260 .PHONY: configure-readline maybe-configure-readline
16261 maybe-configure-readline:
16262 @if readline
16263 maybe-configure-readline: configure-readline
16264 configure-readline:
16265         @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
16266         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
16267         r=`${PWD_COMMAND}`; export r; \
16268         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16269         $(HOST_EXPORTS) \
16270         echo Configuring in readline; \
16271         cd $(HOST_SUBDIR)/readline || exit 1; \
16272         case $(srcdir) in \
16273           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16274           *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
16275                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16276         esac; \
16277         srcdiroption="--srcdir=$${topdir}/readline"; \
16278         libsrcdir="$$s/readline"; \
16279         $(SHELL) $${libsrcdir}/configure \
16280           $(HOST_CONFIGARGS) $${srcdiroption}  \
16281           || exit 1
16282 @endif readline
16283
16284 .PHONY: all-readline maybe-all-readline
16285 maybe-all-readline:
16286 @if readline
16287 TARGET-readline=all
16288 maybe-all-readline: all-readline
16289 all-readline: configure-readline
16290         @r=`${PWD_COMMAND}`; export r; \
16291         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16292         $(HOST_EXPORTS) \
16293         (cd $(HOST_SUBDIR)/readline && \
16294           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-readline))
16295 @endif readline
16296
16297 .PHONY: check-readline maybe-check-readline
16298 maybe-check-readline:
16299 @if readline
16300 maybe-check-readline: check-readline
16301
16302 check-readline:
16303         @r=`${PWD_COMMAND}`; export r; \
16304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305         $(HOST_EXPORTS) \
16306         (cd $(HOST_SUBDIR)/readline && \
16307           $(MAKE) $(FLAGS_TO_PASS)  check)
16308
16309 @endif readline
16310
16311 .PHONY: install-readline maybe-install-readline
16312 maybe-install-readline:
16313 @if readline
16314 maybe-install-readline: install-readline
16315
16316 install-readline: installdirs
16317         @r=`${PWD_COMMAND}`; export r; \
16318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16319         $(HOST_EXPORTS) \
16320         (cd $(HOST_SUBDIR)/readline && \
16321           $(MAKE) $(FLAGS_TO_PASS)  install)
16322
16323 @endif readline
16324
16325 # Other targets (info, dvi, etc.)
16326
16327 .PHONY: maybe-info-readline info-readline
16328 maybe-info-readline:
16329 @if readline
16330 maybe-info-readline: info-readline
16331
16332 info-readline: \
16333     configure-readline 
16334         @[ -f ./readline/Makefile ] || exit 0; \
16335         r=`${PWD_COMMAND}`; export r; \
16336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16337         $(HOST_EXPORTS) \
16338         for flag in $(EXTRA_HOST_FLAGS) ; do \
16339           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16340         done; \
16341         echo "Doing info in readline" ; \
16342         (cd $(HOST_SUBDIR)/readline && \
16343           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16344                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16345                   "RANLIB=$${RANLIB}" \
16346                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16347                   info) \
16348           || exit 1
16349
16350 @endif readline
16351
16352 .PHONY: maybe-dvi-readline dvi-readline
16353 maybe-dvi-readline:
16354 @if readline
16355 maybe-dvi-readline: dvi-readline
16356
16357 dvi-readline: \
16358     configure-readline 
16359         @[ -f ./readline/Makefile ] || exit 0; \
16360         r=`${PWD_COMMAND}`; export r; \
16361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16362         $(HOST_EXPORTS) \
16363         for flag in $(EXTRA_HOST_FLAGS) ; do \
16364           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16365         done; \
16366         echo "Doing dvi in readline" ; \
16367         (cd $(HOST_SUBDIR)/readline && \
16368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16370                   "RANLIB=$${RANLIB}" \
16371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16372                   dvi) \
16373           || exit 1
16374
16375 @endif readline
16376
16377 .PHONY: maybe-html-readline html-readline
16378 maybe-html-readline:
16379 @if readline
16380 maybe-html-readline: html-readline
16381
16382 html-readline: \
16383     configure-readline 
16384         @[ -f ./readline/Makefile ] || exit 0; \
16385         r=`${PWD_COMMAND}`; export r; \
16386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16387         $(HOST_EXPORTS) \
16388         for flag in $(EXTRA_HOST_FLAGS) ; do \
16389           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16390         done; \
16391         echo "Doing html in readline" ; \
16392         (cd $(HOST_SUBDIR)/readline && \
16393           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16394                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16395                   "RANLIB=$${RANLIB}" \
16396                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16397                   html) \
16398           || exit 1
16399
16400 @endif readline
16401
16402 .PHONY: maybe-TAGS-readline TAGS-readline
16403 maybe-TAGS-readline:
16404 @if readline
16405 maybe-TAGS-readline: TAGS-readline
16406
16407 TAGS-readline: \
16408     configure-readline 
16409         @[ -f ./readline/Makefile ] || exit 0; \
16410         r=`${PWD_COMMAND}`; export r; \
16411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16412         $(HOST_EXPORTS) \
16413         for flag in $(EXTRA_HOST_FLAGS) ; do \
16414           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16415         done; \
16416         echo "Doing TAGS in readline" ; \
16417         (cd $(HOST_SUBDIR)/readline && \
16418           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16419                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16420                   "RANLIB=$${RANLIB}" \
16421                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16422                   TAGS) \
16423           || exit 1
16424
16425 @endif readline
16426
16427 .PHONY: maybe-install-info-readline install-info-readline
16428 maybe-install-info-readline:
16429 @if readline
16430 maybe-install-info-readline: install-info-readline
16431
16432 install-info-readline: \
16433     configure-readline \
16434     info-readline 
16435         @[ -f ./readline/Makefile ] || exit 0; \
16436         r=`${PWD_COMMAND}`; export r; \
16437         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16438         $(HOST_EXPORTS) \
16439         for flag in $(EXTRA_HOST_FLAGS) ; do \
16440           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16441         done; \
16442         echo "Doing install-info in readline" ; \
16443         (cd $(HOST_SUBDIR)/readline && \
16444           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16445                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16446                   "RANLIB=$${RANLIB}" \
16447                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16448                   install-info) \
16449           || exit 1
16450
16451 @endif readline
16452
16453 .PHONY: maybe-installcheck-readline installcheck-readline
16454 maybe-installcheck-readline:
16455 @if readline
16456 maybe-installcheck-readline: installcheck-readline
16457
16458 installcheck-readline: \
16459     configure-readline 
16460         @[ -f ./readline/Makefile ] || exit 0; \
16461         r=`${PWD_COMMAND}`; export r; \
16462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16463         $(HOST_EXPORTS) \
16464         for flag in $(EXTRA_HOST_FLAGS) ; do \
16465           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16466         done; \
16467         echo "Doing installcheck in readline" ; \
16468         (cd $(HOST_SUBDIR)/readline && \
16469           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16470                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16471                   "RANLIB=$${RANLIB}" \
16472                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16473                   installcheck) \
16474           || exit 1
16475
16476 @endif readline
16477
16478 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16479 maybe-mostlyclean-readline:
16480 @if readline
16481 maybe-mostlyclean-readline: mostlyclean-readline
16482
16483 mostlyclean-readline: 
16484         @[ -f ./readline/Makefile ] || exit 0; \
16485         r=`${PWD_COMMAND}`; export r; \
16486         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16487         $(HOST_EXPORTS) \
16488         for flag in $(EXTRA_HOST_FLAGS) ; do \
16489           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16490         done; \
16491         echo "Doing mostlyclean in readline" ; \
16492         (cd $(HOST_SUBDIR)/readline && \
16493           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16494                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16495                   "RANLIB=$${RANLIB}" \
16496                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16497                   mostlyclean) \
16498           || exit 1
16499
16500 @endif readline
16501
16502 .PHONY: maybe-clean-readline clean-readline
16503 maybe-clean-readline:
16504 @if readline
16505 maybe-clean-readline: clean-readline
16506
16507 clean-readline: 
16508         @[ -f ./readline/Makefile ] || exit 0; \
16509         r=`${PWD_COMMAND}`; export r; \
16510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16511         $(HOST_EXPORTS) \
16512         for flag in $(EXTRA_HOST_FLAGS) ; do \
16513           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16514         done; \
16515         echo "Doing clean in readline" ; \
16516         (cd $(HOST_SUBDIR)/readline && \
16517           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16518                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16519                   "RANLIB=$${RANLIB}" \
16520                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16521                   clean) \
16522           || exit 1
16523
16524 @endif readline
16525
16526 .PHONY: maybe-distclean-readline distclean-readline
16527 maybe-distclean-readline:
16528 @if readline
16529 maybe-distclean-readline: distclean-readline
16530
16531 distclean-readline: 
16532         @[ -f ./readline/Makefile ] || exit 0; \
16533         r=`${PWD_COMMAND}`; export r; \
16534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16535         $(HOST_EXPORTS) \
16536         for flag in $(EXTRA_HOST_FLAGS) ; do \
16537           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16538         done; \
16539         echo "Doing distclean in readline" ; \
16540         (cd $(HOST_SUBDIR)/readline && \
16541           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16542                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16543                   "RANLIB=$${RANLIB}" \
16544                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16545                   distclean) \
16546           || exit 1
16547
16548 @endif readline
16549
16550 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16551 maybe-maintainer-clean-readline:
16552 @if readline
16553 maybe-maintainer-clean-readline: maintainer-clean-readline
16554
16555 maintainer-clean-readline: 
16556         @[ -f ./readline/Makefile ] || exit 0; \
16557         r=`${PWD_COMMAND}`; export r; \
16558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16559         $(HOST_EXPORTS) \
16560         for flag in $(EXTRA_HOST_FLAGS) ; do \
16561           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16562         done; \
16563         echo "Doing maintainer-clean in readline" ; \
16564         (cd $(HOST_SUBDIR)/readline && \
16565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16567                   "RANLIB=$${RANLIB}" \
16568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16569                   maintainer-clean) \
16570           || exit 1
16571
16572 @endif readline
16573
16574
16575 .PHONY: configure-release maybe-configure-release
16576 maybe-configure-release:
16577 @if release
16578 maybe-configure-release: configure-release
16579 configure-release:
16580         @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
16581         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
16582         r=`${PWD_COMMAND}`; export r; \
16583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16584         $(HOST_EXPORTS) \
16585         echo Configuring in release; \
16586         cd $(HOST_SUBDIR)/release || exit 1; \
16587         case $(srcdir) in \
16588           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16589           *) topdir=`echo $(HOST_SUBDIR)/release/ | \
16590                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16591         esac; \
16592         srcdiroption="--srcdir=$${topdir}/release"; \
16593         libsrcdir="$$s/release"; \
16594         $(SHELL) $${libsrcdir}/configure \
16595           $(HOST_CONFIGARGS) $${srcdiroption}  \
16596           || exit 1
16597 @endif release
16598
16599 .PHONY: all-release maybe-all-release
16600 maybe-all-release:
16601 @if release
16602 TARGET-release=all
16603 maybe-all-release: all-release
16604 all-release: configure-release
16605         @r=`${PWD_COMMAND}`; export r; \
16606         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16607         $(HOST_EXPORTS) \
16608         (cd $(HOST_SUBDIR)/release && \
16609           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-release))
16610 @endif release
16611
16612 .PHONY: check-release maybe-check-release
16613 maybe-check-release:
16614 @if release
16615 maybe-check-release: check-release
16616
16617 check-release:
16618
16619 @endif release
16620
16621 .PHONY: install-release maybe-install-release
16622 maybe-install-release:
16623 @if release
16624 maybe-install-release: install-release
16625
16626 install-release:
16627
16628 @endif release
16629
16630 # Other targets (info, dvi, etc.)
16631
16632 .PHONY: maybe-info-release info-release
16633 maybe-info-release:
16634 @if release
16635 maybe-info-release: info-release
16636
16637 info-release: \
16638     configure-release 
16639         @[ -f ./release/Makefile ] || exit 0; \
16640         r=`${PWD_COMMAND}`; export r; \
16641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16642         $(HOST_EXPORTS) \
16643         for flag in $(EXTRA_HOST_FLAGS) ; do \
16644           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16645         done; \
16646         echo "Doing info in release" ; \
16647         (cd $(HOST_SUBDIR)/release && \
16648           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16649                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16650                   "RANLIB=$${RANLIB}" \
16651                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16652                   info) \
16653           || exit 1
16654
16655 @endif release
16656
16657 .PHONY: maybe-dvi-release dvi-release
16658 maybe-dvi-release:
16659 @if release
16660 maybe-dvi-release: dvi-release
16661
16662 dvi-release: \
16663     configure-release 
16664         @[ -f ./release/Makefile ] || exit 0; \
16665         r=`${PWD_COMMAND}`; export r; \
16666         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16667         $(HOST_EXPORTS) \
16668         for flag in $(EXTRA_HOST_FLAGS) ; do \
16669           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16670         done; \
16671         echo "Doing dvi in release" ; \
16672         (cd $(HOST_SUBDIR)/release && \
16673           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16674                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16675                   "RANLIB=$${RANLIB}" \
16676                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16677                   dvi) \
16678           || exit 1
16679
16680 @endif release
16681
16682 .PHONY: maybe-html-release html-release
16683 maybe-html-release:
16684 @if release
16685 maybe-html-release: html-release
16686
16687 html-release: \
16688     configure-release 
16689         @[ -f ./release/Makefile ] || exit 0; \
16690         r=`${PWD_COMMAND}`; export r; \
16691         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16692         $(HOST_EXPORTS) \
16693         for flag in $(EXTRA_HOST_FLAGS) ; do \
16694           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16695         done; \
16696         echo "Doing html in release" ; \
16697         (cd $(HOST_SUBDIR)/release && \
16698           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16699                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16700                   "RANLIB=$${RANLIB}" \
16701                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16702                   html) \
16703           || exit 1
16704
16705 @endif release
16706
16707 .PHONY: maybe-TAGS-release TAGS-release
16708 maybe-TAGS-release:
16709 @if release
16710 maybe-TAGS-release: TAGS-release
16711
16712 TAGS-release: \
16713     configure-release 
16714         @[ -f ./release/Makefile ] || exit 0; \
16715         r=`${PWD_COMMAND}`; export r; \
16716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16717         $(HOST_EXPORTS) \
16718         for flag in $(EXTRA_HOST_FLAGS) ; do \
16719           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16720         done; \
16721         echo "Doing TAGS in release" ; \
16722         (cd $(HOST_SUBDIR)/release && \
16723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16725                   "RANLIB=$${RANLIB}" \
16726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16727                   TAGS) \
16728           || exit 1
16729
16730 @endif release
16731
16732 .PHONY: maybe-install-info-release install-info-release
16733 maybe-install-info-release:
16734 @if release
16735 maybe-install-info-release: install-info-release
16736
16737 install-info-release: \
16738     configure-release \
16739     info-release 
16740         @[ -f ./release/Makefile ] || exit 0; \
16741         r=`${PWD_COMMAND}`; export r; \
16742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16743         $(HOST_EXPORTS) \
16744         for flag in $(EXTRA_HOST_FLAGS) ; do \
16745           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16746         done; \
16747         echo "Doing install-info in release" ; \
16748         (cd $(HOST_SUBDIR)/release && \
16749           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16750                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16751                   "RANLIB=$${RANLIB}" \
16752                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16753                   install-info) \
16754           || exit 1
16755
16756 @endif release
16757
16758 .PHONY: maybe-installcheck-release installcheck-release
16759 maybe-installcheck-release:
16760 @if release
16761 maybe-installcheck-release: installcheck-release
16762
16763 installcheck-release: \
16764     configure-release 
16765         @[ -f ./release/Makefile ] || exit 0; \
16766         r=`${PWD_COMMAND}`; export r; \
16767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16768         $(HOST_EXPORTS) \
16769         for flag in $(EXTRA_HOST_FLAGS) ; do \
16770           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16771         done; \
16772         echo "Doing installcheck in release" ; \
16773         (cd $(HOST_SUBDIR)/release && \
16774           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16775                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16776                   "RANLIB=$${RANLIB}" \
16777                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16778                   installcheck) \
16779           || exit 1
16780
16781 @endif release
16782
16783 .PHONY: maybe-mostlyclean-release mostlyclean-release
16784 maybe-mostlyclean-release:
16785 @if release
16786 maybe-mostlyclean-release: mostlyclean-release
16787
16788 mostlyclean-release: 
16789         @[ -f ./release/Makefile ] || exit 0; \
16790         r=`${PWD_COMMAND}`; export r; \
16791         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16792         $(HOST_EXPORTS) \
16793         for flag in $(EXTRA_HOST_FLAGS) ; do \
16794           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16795         done; \
16796         echo "Doing mostlyclean in release" ; \
16797         (cd $(HOST_SUBDIR)/release && \
16798           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16799                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16800                   "RANLIB=$${RANLIB}" \
16801                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16802                   mostlyclean) \
16803           || exit 1
16804
16805 @endif release
16806
16807 .PHONY: maybe-clean-release clean-release
16808 maybe-clean-release:
16809 @if release
16810 maybe-clean-release: clean-release
16811
16812 clean-release: 
16813         @[ -f ./release/Makefile ] || exit 0; \
16814         r=`${PWD_COMMAND}`; export r; \
16815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16816         $(HOST_EXPORTS) \
16817         for flag in $(EXTRA_HOST_FLAGS) ; do \
16818           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16819         done; \
16820         echo "Doing clean in release" ; \
16821         (cd $(HOST_SUBDIR)/release && \
16822           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16823                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16824                   "RANLIB=$${RANLIB}" \
16825                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16826                   clean) \
16827           || exit 1
16828
16829 @endif release
16830
16831 .PHONY: maybe-distclean-release distclean-release
16832 maybe-distclean-release:
16833 @if release
16834 maybe-distclean-release: distclean-release
16835
16836 distclean-release: 
16837         @[ -f ./release/Makefile ] || exit 0; \
16838         r=`${PWD_COMMAND}`; export r; \
16839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16840         $(HOST_EXPORTS) \
16841         for flag in $(EXTRA_HOST_FLAGS) ; do \
16842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16843         done; \
16844         echo "Doing distclean in release" ; \
16845         (cd $(HOST_SUBDIR)/release && \
16846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16848                   "RANLIB=$${RANLIB}" \
16849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16850                   distclean) \
16851           || exit 1
16852
16853 @endif release
16854
16855 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16856 maybe-maintainer-clean-release:
16857 @if release
16858 maybe-maintainer-clean-release: maintainer-clean-release
16859
16860 maintainer-clean-release: 
16861         @[ -f ./release/Makefile ] || exit 0; \
16862         r=`${PWD_COMMAND}`; export r; \
16863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864         $(HOST_EXPORTS) \
16865         for flag in $(EXTRA_HOST_FLAGS) ; do \
16866           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16867         done; \
16868         echo "Doing maintainer-clean in release" ; \
16869         (cd $(HOST_SUBDIR)/release && \
16870           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16871                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16872                   "RANLIB=$${RANLIB}" \
16873                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16874                   maintainer-clean) \
16875           || exit 1
16876
16877 @endif release
16878
16879
16880 .PHONY: configure-recode maybe-configure-recode
16881 maybe-configure-recode:
16882 @if recode
16883 maybe-configure-recode: configure-recode
16884 configure-recode:
16885         @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
16886         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
16887         r=`${PWD_COMMAND}`; export r; \
16888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16889         $(HOST_EXPORTS) \
16890         echo Configuring in recode; \
16891         cd $(HOST_SUBDIR)/recode || exit 1; \
16892         case $(srcdir) in \
16893           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16894           *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
16895                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16896         esac; \
16897         srcdiroption="--srcdir=$${topdir}/recode"; \
16898         libsrcdir="$$s/recode"; \
16899         $(SHELL) $${libsrcdir}/configure \
16900           $(HOST_CONFIGARGS) $${srcdiroption}  \
16901           || exit 1
16902 @endif recode
16903
16904 .PHONY: all-recode maybe-all-recode
16905 maybe-all-recode:
16906 @if recode
16907 TARGET-recode=all
16908 maybe-all-recode: all-recode
16909 all-recode: configure-recode
16910         @r=`${PWD_COMMAND}`; export r; \
16911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912         $(HOST_EXPORTS) \
16913         (cd $(HOST_SUBDIR)/recode && \
16914           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-recode))
16915 @endif recode
16916
16917 .PHONY: check-recode maybe-check-recode
16918 maybe-check-recode:
16919 @if recode
16920 maybe-check-recode: check-recode
16921
16922 check-recode:
16923         @r=`${PWD_COMMAND}`; export r; \
16924         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16925         $(HOST_EXPORTS) \
16926         (cd $(HOST_SUBDIR)/recode && \
16927           $(MAKE) $(FLAGS_TO_PASS)  check)
16928
16929 @endif recode
16930
16931 .PHONY: install-recode maybe-install-recode
16932 maybe-install-recode:
16933 @if recode
16934 maybe-install-recode: install-recode
16935
16936 install-recode: installdirs
16937         @r=`${PWD_COMMAND}`; export r; \
16938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16939         $(HOST_EXPORTS) \
16940         (cd $(HOST_SUBDIR)/recode && \
16941           $(MAKE) $(FLAGS_TO_PASS)  install)
16942
16943 @endif recode
16944
16945 # Other targets (info, dvi, etc.)
16946
16947 .PHONY: maybe-info-recode info-recode
16948 maybe-info-recode:
16949 @if recode
16950 maybe-info-recode: info-recode
16951
16952 info-recode: \
16953     configure-recode 
16954         @[ -f ./recode/Makefile ] || exit 0; \
16955         r=`${PWD_COMMAND}`; export r; \
16956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16957         $(HOST_EXPORTS) \
16958         for flag in $(EXTRA_HOST_FLAGS) ; do \
16959           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16960         done; \
16961         echo "Doing info in recode" ; \
16962         (cd $(HOST_SUBDIR)/recode && \
16963           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16964                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16965                   "RANLIB=$${RANLIB}" \
16966                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16967                   info) \
16968           || exit 1
16969
16970 @endif recode
16971
16972 .PHONY: maybe-dvi-recode dvi-recode
16973 maybe-dvi-recode:
16974 @if recode
16975 maybe-dvi-recode: dvi-recode
16976
16977 dvi-recode: \
16978     configure-recode 
16979         @[ -f ./recode/Makefile ] || exit 0; \
16980         r=`${PWD_COMMAND}`; export r; \
16981         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16982         $(HOST_EXPORTS) \
16983         for flag in $(EXTRA_HOST_FLAGS) ; do \
16984           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16985         done; \
16986         echo "Doing dvi in recode" ; \
16987         (cd $(HOST_SUBDIR)/recode && \
16988           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16989                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16990                   "RANLIB=$${RANLIB}" \
16991                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16992                   dvi) \
16993           || exit 1
16994
16995 @endif recode
16996
16997 .PHONY: maybe-html-recode html-recode
16998 maybe-html-recode:
16999 @if recode
17000 maybe-html-recode: html-recode
17001
17002 html-recode: \
17003     configure-recode 
17004         @[ -f ./recode/Makefile ] || exit 0; \
17005         r=`${PWD_COMMAND}`; export r; \
17006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17007         $(HOST_EXPORTS) \
17008         for flag in $(EXTRA_HOST_FLAGS) ; do \
17009           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17010         done; \
17011         echo "Doing html in recode" ; \
17012         (cd $(HOST_SUBDIR)/recode && \
17013           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17014                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17015                   "RANLIB=$${RANLIB}" \
17016                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17017                   html) \
17018           || exit 1
17019
17020 @endif recode
17021
17022 .PHONY: maybe-TAGS-recode TAGS-recode
17023 maybe-TAGS-recode:
17024 @if recode
17025 maybe-TAGS-recode: TAGS-recode
17026
17027 TAGS-recode: \
17028     configure-recode 
17029         @[ -f ./recode/Makefile ] || exit 0; \
17030         r=`${PWD_COMMAND}`; export r; \
17031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17032         $(HOST_EXPORTS) \
17033         for flag in $(EXTRA_HOST_FLAGS) ; do \
17034           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17035         done; \
17036         echo "Doing TAGS in recode" ; \
17037         (cd $(HOST_SUBDIR)/recode && \
17038           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17039                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17040                   "RANLIB=$${RANLIB}" \
17041                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17042                   TAGS) \
17043           || exit 1
17044
17045 @endif recode
17046
17047 .PHONY: maybe-install-info-recode install-info-recode
17048 maybe-install-info-recode:
17049 @if recode
17050 maybe-install-info-recode: install-info-recode
17051
17052 install-info-recode: \
17053     configure-recode \
17054     info-recode 
17055         @[ -f ./recode/Makefile ] || exit 0; \
17056         r=`${PWD_COMMAND}`; export r; \
17057         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058         $(HOST_EXPORTS) \
17059         for flag in $(EXTRA_HOST_FLAGS) ; do \
17060           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17061         done; \
17062         echo "Doing install-info in recode" ; \
17063         (cd $(HOST_SUBDIR)/recode && \
17064           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17065                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17066                   "RANLIB=$${RANLIB}" \
17067                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17068                   install-info) \
17069           || exit 1
17070
17071 @endif recode
17072
17073 .PHONY: maybe-installcheck-recode installcheck-recode
17074 maybe-installcheck-recode:
17075 @if recode
17076 maybe-installcheck-recode: installcheck-recode
17077
17078 installcheck-recode: \
17079     configure-recode 
17080         @[ -f ./recode/Makefile ] || exit 0; \
17081         r=`${PWD_COMMAND}`; export r; \
17082         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17083         $(HOST_EXPORTS) \
17084         for flag in $(EXTRA_HOST_FLAGS) ; do \
17085           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17086         done; \
17087         echo "Doing installcheck in recode" ; \
17088         (cd $(HOST_SUBDIR)/recode && \
17089           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17090                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17091                   "RANLIB=$${RANLIB}" \
17092                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17093                   installcheck) \
17094           || exit 1
17095
17096 @endif recode
17097
17098 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17099 maybe-mostlyclean-recode:
17100 @if recode
17101 maybe-mostlyclean-recode: mostlyclean-recode
17102
17103 mostlyclean-recode: 
17104         @[ -f ./recode/Makefile ] || exit 0; \
17105         r=`${PWD_COMMAND}`; export r; \
17106         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in recode" ; \
17112         (cd $(HOST_SUBDIR)/recode && \
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                   mostlyclean) \
17118           || exit 1
17119
17120 @endif recode
17121
17122 .PHONY: maybe-clean-recode clean-recode
17123 maybe-clean-recode:
17124 @if recode
17125 maybe-clean-recode: clean-recode
17126
17127 clean-recode: 
17128         @[ -f ./recode/Makefile ] || exit 0; \
17129         r=`${PWD_COMMAND}`; export r; \
17130         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17131         $(HOST_EXPORTS) \
17132         for flag in $(EXTRA_HOST_FLAGS) ; do \
17133           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17134         done; \
17135         echo "Doing clean in recode" ; \
17136         (cd $(HOST_SUBDIR)/recode && \
17137           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17138                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17139                   "RANLIB=$${RANLIB}" \
17140                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17141                   clean) \
17142           || exit 1
17143
17144 @endif recode
17145
17146 .PHONY: maybe-distclean-recode distclean-recode
17147 maybe-distclean-recode:
17148 @if recode
17149 maybe-distclean-recode: distclean-recode
17150
17151 distclean-recode: 
17152         @[ -f ./recode/Makefile ] || exit 0; \
17153         r=`${PWD_COMMAND}`; export r; \
17154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17155         $(HOST_EXPORTS) \
17156         for flag in $(EXTRA_HOST_FLAGS) ; do \
17157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17158         done; \
17159         echo "Doing distclean in recode" ; \
17160         (cd $(HOST_SUBDIR)/recode && \
17161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17163                   "RANLIB=$${RANLIB}" \
17164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17165                   distclean) \
17166           || exit 1
17167
17168 @endif recode
17169
17170 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
17171 maybe-maintainer-clean-recode:
17172 @if recode
17173 maybe-maintainer-clean-recode: maintainer-clean-recode
17174
17175 maintainer-clean-recode: 
17176         @[ -f ./recode/Makefile ] || exit 0; \
17177         r=`${PWD_COMMAND}`; export r; \
17178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179         $(HOST_EXPORTS) \
17180         for flag in $(EXTRA_HOST_FLAGS) ; do \
17181           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17182         done; \
17183         echo "Doing maintainer-clean in recode" ; \
17184         (cd $(HOST_SUBDIR)/recode && \
17185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17187                   "RANLIB=$${RANLIB}" \
17188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17189                   maintainer-clean) \
17190           || exit 1
17191
17192 @endif recode
17193
17194
17195 .PHONY: configure-sed maybe-configure-sed
17196 maybe-configure-sed:
17197 @if sed
17198 maybe-configure-sed: configure-sed
17199 configure-sed:
17200         @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
17201         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
17202         r=`${PWD_COMMAND}`; export r; \
17203         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17204         $(HOST_EXPORTS) \
17205         echo Configuring in sed; \
17206         cd $(HOST_SUBDIR)/sed || exit 1; \
17207         case $(srcdir) in \
17208           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17209           *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
17210                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17211         esac; \
17212         srcdiroption="--srcdir=$${topdir}/sed"; \
17213         libsrcdir="$$s/sed"; \
17214         $(SHELL) $${libsrcdir}/configure \
17215           $(HOST_CONFIGARGS) $${srcdiroption}  \
17216           || exit 1
17217 @endif sed
17218
17219 .PHONY: all-sed maybe-all-sed
17220 maybe-all-sed:
17221 @if sed
17222 TARGET-sed=all
17223 maybe-all-sed: all-sed
17224 all-sed: configure-sed
17225         @r=`${PWD_COMMAND}`; export r; \
17226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17227         $(HOST_EXPORTS) \
17228         (cd $(HOST_SUBDIR)/sed && \
17229           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-sed))
17230 @endif sed
17231
17232 .PHONY: check-sed maybe-check-sed
17233 maybe-check-sed:
17234 @if sed
17235 maybe-check-sed: check-sed
17236
17237 check-sed:
17238         @r=`${PWD_COMMAND}`; export r; \
17239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17240         $(HOST_EXPORTS) \
17241         (cd $(HOST_SUBDIR)/sed && \
17242           $(MAKE) $(FLAGS_TO_PASS)  check)
17243
17244 @endif sed
17245
17246 .PHONY: install-sed maybe-install-sed
17247 maybe-install-sed:
17248 @if sed
17249 maybe-install-sed: install-sed
17250
17251 install-sed: installdirs
17252         @r=`${PWD_COMMAND}`; export r; \
17253         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17254         $(HOST_EXPORTS) \
17255         (cd $(HOST_SUBDIR)/sed && \
17256           $(MAKE) $(FLAGS_TO_PASS)  install)
17257
17258 @endif sed
17259
17260 # Other targets (info, dvi, etc.)
17261
17262 .PHONY: maybe-info-sed info-sed
17263 maybe-info-sed:
17264 @if sed
17265 maybe-info-sed: info-sed
17266
17267 info-sed: \
17268     configure-sed 
17269         @[ -f ./sed/Makefile ] || exit 0; \
17270         r=`${PWD_COMMAND}`; export r; \
17271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17272         $(HOST_EXPORTS) \
17273         for flag in $(EXTRA_HOST_FLAGS) ; do \
17274           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17275         done; \
17276         echo "Doing info in sed" ; \
17277         (cd $(HOST_SUBDIR)/sed && \
17278           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17279                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17280                   "RANLIB=$${RANLIB}" \
17281                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17282                   info) \
17283           || exit 1
17284
17285 @endif sed
17286
17287 .PHONY: maybe-dvi-sed dvi-sed
17288 maybe-dvi-sed:
17289 @if sed
17290 maybe-dvi-sed: dvi-sed
17291
17292 dvi-sed: \
17293     configure-sed 
17294         @[ -f ./sed/Makefile ] || exit 0; \
17295         r=`${PWD_COMMAND}`; export r; \
17296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17297         $(HOST_EXPORTS) \
17298         for flag in $(EXTRA_HOST_FLAGS) ; do \
17299           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17300         done; \
17301         echo "Doing dvi in sed" ; \
17302         (cd $(HOST_SUBDIR)/sed && \
17303           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17304                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17305                   "RANLIB=$${RANLIB}" \
17306                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17307                   dvi) \
17308           || exit 1
17309
17310 @endif sed
17311
17312 .PHONY: maybe-html-sed html-sed
17313 maybe-html-sed:
17314 @if sed
17315 maybe-html-sed: html-sed
17316
17317 html-sed: \
17318     configure-sed 
17319         @[ -f ./sed/Makefile ] || exit 0; \
17320         r=`${PWD_COMMAND}`; export r; \
17321         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322         $(HOST_EXPORTS) \
17323         for flag in $(EXTRA_HOST_FLAGS) ; do \
17324           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17325         done; \
17326         echo "Doing html in sed" ; \
17327         (cd $(HOST_SUBDIR)/sed && \
17328           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17329                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17330                   "RANLIB=$${RANLIB}" \
17331                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17332                   html) \
17333           || exit 1
17334
17335 @endif sed
17336
17337 .PHONY: maybe-TAGS-sed TAGS-sed
17338 maybe-TAGS-sed:
17339 @if sed
17340 maybe-TAGS-sed: TAGS-sed
17341
17342 TAGS-sed: \
17343     configure-sed 
17344         @[ -f ./sed/Makefile ] || exit 0; \
17345         r=`${PWD_COMMAND}`; export r; \
17346         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17347         $(HOST_EXPORTS) \
17348         for flag in $(EXTRA_HOST_FLAGS) ; do \
17349           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17350         done; \
17351         echo "Doing TAGS in sed" ; \
17352         (cd $(HOST_SUBDIR)/sed && \
17353           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17354                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17355                   "RANLIB=$${RANLIB}" \
17356                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17357                   TAGS) \
17358           || exit 1
17359
17360 @endif sed
17361
17362 .PHONY: maybe-install-info-sed install-info-sed
17363 maybe-install-info-sed:
17364 @if sed
17365 maybe-install-info-sed: install-info-sed
17366
17367 install-info-sed: \
17368     configure-sed \
17369     info-sed 
17370         @[ -f ./sed/Makefile ] || exit 0; \
17371         r=`${PWD_COMMAND}`; export r; \
17372         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17373         $(HOST_EXPORTS) \
17374         for flag in $(EXTRA_HOST_FLAGS) ; do \
17375           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17376         done; \
17377         echo "Doing install-info in sed" ; \
17378         (cd $(HOST_SUBDIR)/sed && \
17379           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17380                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17381                   "RANLIB=$${RANLIB}" \
17382                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17383                   install-info) \
17384           || exit 1
17385
17386 @endif sed
17387
17388 .PHONY: maybe-installcheck-sed installcheck-sed
17389 maybe-installcheck-sed:
17390 @if sed
17391 maybe-installcheck-sed: installcheck-sed
17392
17393 installcheck-sed: \
17394     configure-sed 
17395         @[ -f ./sed/Makefile ] || exit 0; \
17396         r=`${PWD_COMMAND}`; export r; \
17397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17398         $(HOST_EXPORTS) \
17399         for flag in $(EXTRA_HOST_FLAGS) ; do \
17400           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17401         done; \
17402         echo "Doing installcheck in sed" ; \
17403         (cd $(HOST_SUBDIR)/sed && \
17404           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17405                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17406                   "RANLIB=$${RANLIB}" \
17407                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17408                   installcheck) \
17409           || exit 1
17410
17411 @endif sed
17412
17413 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
17414 maybe-mostlyclean-sed:
17415 @if sed
17416 maybe-mostlyclean-sed: mostlyclean-sed
17417
17418 mostlyclean-sed: 
17419         @[ -f ./sed/Makefile ] || exit 0; \
17420         r=`${PWD_COMMAND}`; export r; \
17421         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17422         $(HOST_EXPORTS) \
17423         for flag in $(EXTRA_HOST_FLAGS) ; do \
17424           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17425         done; \
17426         echo "Doing mostlyclean in sed" ; \
17427         (cd $(HOST_SUBDIR)/sed && \
17428           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17429                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17430                   "RANLIB=$${RANLIB}" \
17431                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17432                   mostlyclean) \
17433           || exit 1
17434
17435 @endif sed
17436
17437 .PHONY: maybe-clean-sed clean-sed
17438 maybe-clean-sed:
17439 @if sed
17440 maybe-clean-sed: clean-sed
17441
17442 clean-sed: 
17443         @[ -f ./sed/Makefile ] || exit 0; \
17444         r=`${PWD_COMMAND}`; export r; \
17445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17446         $(HOST_EXPORTS) \
17447         for flag in $(EXTRA_HOST_FLAGS) ; do \
17448           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17449         done; \
17450         echo "Doing clean in sed" ; \
17451         (cd $(HOST_SUBDIR)/sed && \
17452           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17453                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17454                   "RANLIB=$${RANLIB}" \
17455                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17456                   clean) \
17457           || exit 1
17458
17459 @endif sed
17460
17461 .PHONY: maybe-distclean-sed distclean-sed
17462 maybe-distclean-sed:
17463 @if sed
17464 maybe-distclean-sed: distclean-sed
17465
17466 distclean-sed: 
17467         @[ -f ./sed/Makefile ] || exit 0; \
17468         r=`${PWD_COMMAND}`; export r; \
17469         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17470         $(HOST_EXPORTS) \
17471         for flag in $(EXTRA_HOST_FLAGS) ; do \
17472           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17473         done; \
17474         echo "Doing distclean in sed" ; \
17475         (cd $(HOST_SUBDIR)/sed && \
17476           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17477                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17478                   "RANLIB=$${RANLIB}" \
17479                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17480                   distclean) \
17481           || exit 1
17482
17483 @endif sed
17484
17485 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
17486 maybe-maintainer-clean-sed:
17487 @if sed
17488 maybe-maintainer-clean-sed: maintainer-clean-sed
17489
17490 maintainer-clean-sed: 
17491         @[ -f ./sed/Makefile ] || exit 0; \
17492         r=`${PWD_COMMAND}`; export r; \
17493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17494         $(HOST_EXPORTS) \
17495         for flag in $(EXTRA_HOST_FLAGS) ; do \
17496           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17497         done; \
17498         echo "Doing maintainer-clean in sed" ; \
17499         (cd $(HOST_SUBDIR)/sed && \
17500           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17501                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17502                   "RANLIB=$${RANLIB}" \
17503                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17504                   maintainer-clean) \
17505           || exit 1
17506
17507 @endif sed
17508
17509
17510 .PHONY: configure-send-pr maybe-configure-send-pr
17511 maybe-configure-send-pr:
17512 @if send-pr
17513 maybe-configure-send-pr: configure-send-pr
17514 configure-send-pr:
17515         @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
17516         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
17517         r=`${PWD_COMMAND}`; export r; \
17518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17519         $(HOST_EXPORTS) \
17520         echo Configuring in send-pr; \
17521         cd $(HOST_SUBDIR)/send-pr || exit 1; \
17522         case $(srcdir) in \
17523           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17524           *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
17525                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17526         esac; \
17527         srcdiroption="--srcdir=$${topdir}/send-pr"; \
17528         libsrcdir="$$s/send-pr"; \
17529         $(SHELL) $${libsrcdir}/configure \
17530           $(HOST_CONFIGARGS) $${srcdiroption}  \
17531           || exit 1
17532 @endif send-pr
17533
17534 .PHONY: all-send-pr maybe-all-send-pr
17535 maybe-all-send-pr:
17536 @if send-pr
17537 TARGET-send-pr=all
17538 maybe-all-send-pr: all-send-pr
17539 all-send-pr: configure-send-pr
17540         @r=`${PWD_COMMAND}`; export r; \
17541         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17542         $(HOST_EXPORTS) \
17543         (cd $(HOST_SUBDIR)/send-pr && \
17544           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-send-pr))
17545 @endif send-pr
17546
17547 .PHONY: check-send-pr maybe-check-send-pr
17548 maybe-check-send-pr:
17549 @if send-pr
17550 maybe-check-send-pr: check-send-pr
17551
17552 check-send-pr:
17553         @r=`${PWD_COMMAND}`; export r; \
17554         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17555         $(HOST_EXPORTS) \
17556         (cd $(HOST_SUBDIR)/send-pr && \
17557           $(MAKE) $(FLAGS_TO_PASS)  check)
17558
17559 @endif send-pr
17560
17561 .PHONY: install-send-pr maybe-install-send-pr
17562 maybe-install-send-pr:
17563 @if send-pr
17564 maybe-install-send-pr: install-send-pr
17565
17566 install-send-pr: installdirs
17567         @r=`${PWD_COMMAND}`; export r; \
17568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569         $(HOST_EXPORTS) \
17570         (cd $(HOST_SUBDIR)/send-pr && \
17571           $(MAKE) $(FLAGS_TO_PASS)  install)
17572
17573 @endif send-pr
17574
17575 # Other targets (info, dvi, etc.)
17576
17577 .PHONY: maybe-info-send-pr info-send-pr
17578 maybe-info-send-pr:
17579 @if send-pr
17580 maybe-info-send-pr: info-send-pr
17581
17582 info-send-pr: \
17583     configure-send-pr 
17584         @[ -f ./send-pr/Makefile ] || exit 0; \
17585         r=`${PWD_COMMAND}`; export r; \
17586         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17587         $(HOST_EXPORTS) \
17588         for flag in $(EXTRA_HOST_FLAGS) ; do \
17589           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17590         done; \
17591         echo "Doing info in send-pr" ; \
17592         (cd $(HOST_SUBDIR)/send-pr && \
17593           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17594                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17595                   "RANLIB=$${RANLIB}" \
17596                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17597                   info) \
17598           || exit 1
17599
17600 @endif send-pr
17601
17602 .PHONY: maybe-dvi-send-pr dvi-send-pr
17603 maybe-dvi-send-pr:
17604 @if send-pr
17605 maybe-dvi-send-pr: dvi-send-pr
17606
17607 dvi-send-pr: \
17608     configure-send-pr 
17609         @[ -f ./send-pr/Makefile ] || exit 0; \
17610         r=`${PWD_COMMAND}`; export r; \
17611         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17612         $(HOST_EXPORTS) \
17613         for flag in $(EXTRA_HOST_FLAGS) ; do \
17614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17615         done; \
17616         echo "Doing dvi in send-pr" ; \
17617         (cd $(HOST_SUBDIR)/send-pr && \
17618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17620                   "RANLIB=$${RANLIB}" \
17621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17622                   dvi) \
17623           || exit 1
17624
17625 @endif send-pr
17626
17627 .PHONY: maybe-html-send-pr html-send-pr
17628 maybe-html-send-pr:
17629 @if send-pr
17630 maybe-html-send-pr: html-send-pr
17631
17632 html-send-pr: \
17633     configure-send-pr 
17634         @[ -f ./send-pr/Makefile ] || exit 0; \
17635         r=`${PWD_COMMAND}`; export r; \
17636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17637         $(HOST_EXPORTS) \
17638         for flag in $(EXTRA_HOST_FLAGS) ; do \
17639           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17640         done; \
17641         echo "Doing html in send-pr" ; \
17642         (cd $(HOST_SUBDIR)/send-pr && \
17643           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17644                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17645                   "RANLIB=$${RANLIB}" \
17646                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17647                   html) \
17648           || exit 1
17649
17650 @endif send-pr
17651
17652 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17653 maybe-TAGS-send-pr:
17654 @if send-pr
17655 maybe-TAGS-send-pr: TAGS-send-pr
17656
17657 TAGS-send-pr: \
17658     configure-send-pr 
17659         @[ -f ./send-pr/Makefile ] || exit 0; \
17660         r=`${PWD_COMMAND}`; export r; \
17661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17662         $(HOST_EXPORTS) \
17663         for flag in $(EXTRA_HOST_FLAGS) ; do \
17664           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17665         done; \
17666         echo "Doing TAGS in send-pr" ; \
17667         (cd $(HOST_SUBDIR)/send-pr && \
17668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17670                   "RANLIB=$${RANLIB}" \
17671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17672                   TAGS) \
17673           || exit 1
17674
17675 @endif send-pr
17676
17677 .PHONY: maybe-install-info-send-pr install-info-send-pr
17678 maybe-install-info-send-pr:
17679 @if send-pr
17680 maybe-install-info-send-pr: install-info-send-pr
17681
17682 install-info-send-pr: \
17683     configure-send-pr \
17684     info-send-pr 
17685         @[ -f ./send-pr/Makefile ] || exit 0; \
17686         r=`${PWD_COMMAND}`; export r; \
17687         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17688         $(HOST_EXPORTS) \
17689         for flag in $(EXTRA_HOST_FLAGS) ; do \
17690           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17691         done; \
17692         echo "Doing install-info in send-pr" ; \
17693         (cd $(HOST_SUBDIR)/send-pr && \
17694           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17695                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17696                   "RANLIB=$${RANLIB}" \
17697                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17698                   install-info) \
17699           || exit 1
17700
17701 @endif send-pr
17702
17703 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17704 maybe-installcheck-send-pr:
17705 @if send-pr
17706 maybe-installcheck-send-pr: installcheck-send-pr
17707
17708 installcheck-send-pr: \
17709     configure-send-pr 
17710         @[ -f ./send-pr/Makefile ] || exit 0; \
17711         r=`${PWD_COMMAND}`; export r; \
17712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17713         $(HOST_EXPORTS) \
17714         for flag in $(EXTRA_HOST_FLAGS) ; do \
17715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17716         done; \
17717         echo "Doing installcheck in send-pr" ; \
17718         (cd $(HOST_SUBDIR)/send-pr && \
17719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17721                   "RANLIB=$${RANLIB}" \
17722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17723                   installcheck) \
17724           || exit 1
17725
17726 @endif send-pr
17727
17728 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17729 maybe-mostlyclean-send-pr:
17730 @if send-pr
17731 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17732
17733 mostlyclean-send-pr: 
17734         @[ -f ./send-pr/Makefile ] || exit 0; \
17735         r=`${PWD_COMMAND}`; export r; \
17736         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in send-pr" ; \
17742         (cd $(HOST_SUBDIR)/send-pr && \
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                   mostlyclean) \
17748           || exit 1
17749
17750 @endif send-pr
17751
17752 .PHONY: maybe-clean-send-pr clean-send-pr
17753 maybe-clean-send-pr:
17754 @if send-pr
17755 maybe-clean-send-pr: clean-send-pr
17756
17757 clean-send-pr: 
17758         @[ -f ./send-pr/Makefile ] || exit 0; \
17759         r=`${PWD_COMMAND}`; export r; \
17760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17761         $(HOST_EXPORTS) \
17762         for flag in $(EXTRA_HOST_FLAGS) ; do \
17763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17764         done; \
17765         echo "Doing clean in send-pr" ; \
17766         (cd $(HOST_SUBDIR)/send-pr && \
17767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17769                   "RANLIB=$${RANLIB}" \
17770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17771                   clean) \
17772           || exit 1
17773
17774 @endif send-pr
17775
17776 .PHONY: maybe-distclean-send-pr distclean-send-pr
17777 maybe-distclean-send-pr:
17778 @if send-pr
17779 maybe-distclean-send-pr: distclean-send-pr
17780
17781 distclean-send-pr: 
17782         @[ -f ./send-pr/Makefile ] || exit 0; \
17783         r=`${PWD_COMMAND}`; export r; \
17784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17785         $(HOST_EXPORTS) \
17786         for flag in $(EXTRA_HOST_FLAGS) ; do \
17787           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17788         done; \
17789         echo "Doing distclean in send-pr" ; \
17790         (cd $(HOST_SUBDIR)/send-pr && \
17791           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17792                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17793                   "RANLIB=$${RANLIB}" \
17794                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17795                   distclean) \
17796           || exit 1
17797
17798 @endif send-pr
17799
17800 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17801 maybe-maintainer-clean-send-pr:
17802 @if send-pr
17803 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17804
17805 maintainer-clean-send-pr: 
17806         @[ -f ./send-pr/Makefile ] || exit 0; \
17807         r=`${PWD_COMMAND}`; export r; \
17808         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17809         $(HOST_EXPORTS) \
17810         for flag in $(EXTRA_HOST_FLAGS) ; do \
17811           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17812         done; \
17813         echo "Doing maintainer-clean in send-pr" ; \
17814         (cd $(HOST_SUBDIR)/send-pr && \
17815           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17816                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17817                   "RANLIB=$${RANLIB}" \
17818                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17819                   maintainer-clean) \
17820           || exit 1
17821
17822 @endif send-pr
17823
17824
17825 .PHONY: configure-shellutils maybe-configure-shellutils
17826 maybe-configure-shellutils:
17827 @if shellutils
17828 maybe-configure-shellutils: configure-shellutils
17829 configure-shellutils:
17830         @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
17831         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
17832         r=`${PWD_COMMAND}`; export r; \
17833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17834         $(HOST_EXPORTS) \
17835         echo Configuring in shellutils; \
17836         cd $(HOST_SUBDIR)/shellutils || exit 1; \
17837         case $(srcdir) in \
17838           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17839           *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
17840                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17841         esac; \
17842         srcdiroption="--srcdir=$${topdir}/shellutils"; \
17843         libsrcdir="$$s/shellutils"; \
17844         $(SHELL) $${libsrcdir}/configure \
17845           $(HOST_CONFIGARGS) $${srcdiroption}  \
17846           || exit 1
17847 @endif shellutils
17848
17849 .PHONY: all-shellutils maybe-all-shellutils
17850 maybe-all-shellutils:
17851 @if shellutils
17852 TARGET-shellutils=all
17853 maybe-all-shellutils: all-shellutils
17854 all-shellutils: configure-shellutils
17855         @r=`${PWD_COMMAND}`; export r; \
17856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17857         $(HOST_EXPORTS) \
17858         (cd $(HOST_SUBDIR)/shellutils && \
17859           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-shellutils))
17860 @endif shellutils
17861
17862 .PHONY: check-shellutils maybe-check-shellutils
17863 maybe-check-shellutils:
17864 @if shellutils
17865 maybe-check-shellutils: check-shellutils
17866
17867 check-shellutils:
17868         @r=`${PWD_COMMAND}`; export r; \
17869         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17870         $(HOST_EXPORTS) \
17871         (cd $(HOST_SUBDIR)/shellutils && \
17872           $(MAKE) $(FLAGS_TO_PASS)  check)
17873
17874 @endif shellutils
17875
17876 .PHONY: install-shellutils maybe-install-shellutils
17877 maybe-install-shellutils:
17878 @if shellutils
17879 maybe-install-shellutils: install-shellutils
17880
17881 install-shellutils: installdirs
17882         @r=`${PWD_COMMAND}`; export r; \
17883         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17884         $(HOST_EXPORTS) \
17885         (cd $(HOST_SUBDIR)/shellutils && \
17886           $(MAKE) $(FLAGS_TO_PASS)  install)
17887
17888 @endif shellutils
17889
17890 # Other targets (info, dvi, etc.)
17891
17892 .PHONY: maybe-info-shellutils info-shellutils
17893 maybe-info-shellutils:
17894 @if shellutils
17895 maybe-info-shellutils: info-shellutils
17896
17897 info-shellutils: \
17898     configure-shellutils 
17899         @[ -f ./shellutils/Makefile ] || exit 0; \
17900         r=`${PWD_COMMAND}`; export r; \
17901         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17902         $(HOST_EXPORTS) \
17903         for flag in $(EXTRA_HOST_FLAGS) ; do \
17904           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17905         done; \
17906         echo "Doing info in shellutils" ; \
17907         (cd $(HOST_SUBDIR)/shellutils && \
17908           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17909                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17910                   "RANLIB=$${RANLIB}" \
17911                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17912                   info) \
17913           || exit 1
17914
17915 @endif shellutils
17916
17917 .PHONY: maybe-dvi-shellutils dvi-shellutils
17918 maybe-dvi-shellutils:
17919 @if shellutils
17920 maybe-dvi-shellutils: dvi-shellutils
17921
17922 dvi-shellutils: \
17923     configure-shellutils 
17924         @[ -f ./shellutils/Makefile ] || exit 0; \
17925         r=`${PWD_COMMAND}`; export r; \
17926         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17927         $(HOST_EXPORTS) \
17928         for flag in $(EXTRA_HOST_FLAGS) ; do \
17929           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17930         done; \
17931         echo "Doing dvi in shellutils" ; \
17932         (cd $(HOST_SUBDIR)/shellutils && \
17933           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17934                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17935                   "RANLIB=$${RANLIB}" \
17936                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17937                   dvi) \
17938           || exit 1
17939
17940 @endif shellutils
17941
17942 .PHONY: maybe-html-shellutils html-shellutils
17943 maybe-html-shellutils:
17944 @if shellutils
17945 maybe-html-shellutils: html-shellutils
17946
17947 html-shellutils: \
17948     configure-shellutils 
17949         @[ -f ./shellutils/Makefile ] || exit 0; \
17950         r=`${PWD_COMMAND}`; export r; \
17951         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17952         $(HOST_EXPORTS) \
17953         for flag in $(EXTRA_HOST_FLAGS) ; do \
17954           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17955         done; \
17956         echo "Doing html in shellutils" ; \
17957         (cd $(HOST_SUBDIR)/shellutils && \
17958           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17959                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17960                   "RANLIB=$${RANLIB}" \
17961                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17962                   html) \
17963           || exit 1
17964
17965 @endif shellutils
17966
17967 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17968 maybe-TAGS-shellutils:
17969 @if shellutils
17970 maybe-TAGS-shellutils: TAGS-shellutils
17971
17972 TAGS-shellutils: \
17973     configure-shellutils 
17974         @[ -f ./shellutils/Makefile ] || exit 0; \
17975         r=`${PWD_COMMAND}`; export r; \
17976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17977         $(HOST_EXPORTS) \
17978         for flag in $(EXTRA_HOST_FLAGS) ; do \
17979           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17980         done; \
17981         echo "Doing TAGS in shellutils" ; \
17982         (cd $(HOST_SUBDIR)/shellutils && \
17983           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17984                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17985                   "RANLIB=$${RANLIB}" \
17986                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17987                   TAGS) \
17988           || exit 1
17989
17990 @endif shellutils
17991
17992 .PHONY: maybe-install-info-shellutils install-info-shellutils
17993 maybe-install-info-shellutils:
17994 @if shellutils
17995 maybe-install-info-shellutils: install-info-shellutils
17996
17997 install-info-shellutils: \
17998     configure-shellutils \
17999     info-shellutils 
18000         @[ -f ./shellutils/Makefile ] || exit 0; \
18001         r=`${PWD_COMMAND}`; export r; \
18002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18003         $(HOST_EXPORTS) \
18004         for flag in $(EXTRA_HOST_FLAGS) ; do \
18005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18006         done; \
18007         echo "Doing install-info in shellutils" ; \
18008         (cd $(HOST_SUBDIR)/shellutils && \
18009           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18010                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18011                   "RANLIB=$${RANLIB}" \
18012                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18013                   install-info) \
18014           || exit 1
18015
18016 @endif shellutils
18017
18018 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18019 maybe-installcheck-shellutils:
18020 @if shellutils
18021 maybe-installcheck-shellutils: installcheck-shellutils
18022
18023 installcheck-shellutils: \
18024     configure-shellutils 
18025         @[ -f ./shellutils/Makefile ] || exit 0; \
18026         r=`${PWD_COMMAND}`; export r; \
18027         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18028         $(HOST_EXPORTS) \
18029         for flag in $(EXTRA_HOST_FLAGS) ; do \
18030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18031         done; \
18032         echo "Doing installcheck in shellutils" ; \
18033         (cd $(HOST_SUBDIR)/shellutils && \
18034           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18035                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18036                   "RANLIB=$${RANLIB}" \
18037                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18038                   installcheck) \
18039           || exit 1
18040
18041 @endif shellutils
18042
18043 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18044 maybe-mostlyclean-shellutils:
18045 @if shellutils
18046 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18047
18048 mostlyclean-shellutils: 
18049         @[ -f ./shellutils/Makefile ] || exit 0; \
18050         r=`${PWD_COMMAND}`; export r; \
18051         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052         $(HOST_EXPORTS) \
18053         for flag in $(EXTRA_HOST_FLAGS) ; do \
18054           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055         done; \
18056         echo "Doing mostlyclean in shellutils" ; \
18057         (cd $(HOST_SUBDIR)/shellutils && \
18058           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060                   "RANLIB=$${RANLIB}" \
18061                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18062                   mostlyclean) \
18063           || exit 1
18064
18065 @endif shellutils
18066
18067 .PHONY: maybe-clean-shellutils clean-shellutils
18068 maybe-clean-shellutils:
18069 @if shellutils
18070 maybe-clean-shellutils: clean-shellutils
18071
18072 clean-shellutils: 
18073         @[ -f ./shellutils/Makefile ] || exit 0; \
18074         r=`${PWD_COMMAND}`; export r; \
18075         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18076         $(HOST_EXPORTS) \
18077         for flag in $(EXTRA_HOST_FLAGS) ; do \
18078           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18079         done; \
18080         echo "Doing clean in shellutils" ; \
18081         (cd $(HOST_SUBDIR)/shellutils && \
18082           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18083                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18084                   "RANLIB=$${RANLIB}" \
18085                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18086                   clean) \
18087           || exit 1
18088
18089 @endif shellutils
18090
18091 .PHONY: maybe-distclean-shellutils distclean-shellutils
18092 maybe-distclean-shellutils:
18093 @if shellutils
18094 maybe-distclean-shellutils: distclean-shellutils
18095
18096 distclean-shellutils: 
18097         @[ -f ./shellutils/Makefile ] || exit 0; \
18098         r=`${PWD_COMMAND}`; export r; \
18099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100         $(HOST_EXPORTS) \
18101         for flag in $(EXTRA_HOST_FLAGS) ; do \
18102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18103         done; \
18104         echo "Doing distclean in shellutils" ; \
18105         (cd $(HOST_SUBDIR)/shellutils && \
18106           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108                   "RANLIB=$${RANLIB}" \
18109                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18110                   distclean) \
18111           || exit 1
18112
18113 @endif shellutils
18114
18115 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
18116 maybe-maintainer-clean-shellutils:
18117 @if shellutils
18118 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
18119
18120 maintainer-clean-shellutils: 
18121         @[ -f ./shellutils/Makefile ] || exit 0; \
18122         r=`${PWD_COMMAND}`; export r; \
18123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124         $(HOST_EXPORTS) \
18125         for flag in $(EXTRA_HOST_FLAGS) ; do \
18126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127         done; \
18128         echo "Doing maintainer-clean in shellutils" ; \
18129         (cd $(HOST_SUBDIR)/shellutils && \
18130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132                   "RANLIB=$${RANLIB}" \
18133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18134                   maintainer-clean) \
18135           || exit 1
18136
18137 @endif shellutils
18138
18139
18140 .PHONY: configure-sid maybe-configure-sid
18141 maybe-configure-sid:
18142 @if sid
18143 maybe-configure-sid: configure-sid
18144 configure-sid:
18145         @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
18146         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
18147         r=`${PWD_COMMAND}`; export r; \
18148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18149         $(HOST_EXPORTS) \
18150         echo Configuring in sid; \
18151         cd $(HOST_SUBDIR)/sid || exit 1; \
18152         case $(srcdir) in \
18153           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18154           *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
18155                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18156         esac; \
18157         srcdiroption="--srcdir=$${topdir}/sid"; \
18158         libsrcdir="$$s/sid"; \
18159         $(SHELL) $${libsrcdir}/configure \
18160           $(HOST_CONFIGARGS) $${srcdiroption}  \
18161           || exit 1
18162 @endif sid
18163
18164 .PHONY: all-sid maybe-all-sid
18165 maybe-all-sid:
18166 @if sid
18167 TARGET-sid=all
18168 maybe-all-sid: all-sid
18169 all-sid: configure-sid
18170         @r=`${PWD_COMMAND}`; export r; \
18171         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172         $(HOST_EXPORTS) \
18173         (cd $(HOST_SUBDIR)/sid && \
18174           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-sid))
18175 @endif sid
18176
18177 .PHONY: check-sid maybe-check-sid
18178 maybe-check-sid:
18179 @if sid
18180 maybe-check-sid: check-sid
18181
18182 check-sid:
18183         @r=`${PWD_COMMAND}`; export r; \
18184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18185         $(HOST_EXPORTS) \
18186         (cd $(HOST_SUBDIR)/sid && \
18187           $(MAKE) $(FLAGS_TO_PASS)  check)
18188
18189 @endif sid
18190
18191 .PHONY: install-sid maybe-install-sid
18192 maybe-install-sid:
18193 @if sid
18194 maybe-install-sid: install-sid
18195
18196 install-sid: installdirs
18197         @r=`${PWD_COMMAND}`; export r; \
18198         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18199         $(HOST_EXPORTS) \
18200         (cd $(HOST_SUBDIR)/sid && \
18201           $(MAKE) $(FLAGS_TO_PASS)  install)
18202
18203 @endif sid
18204
18205 # Other targets (info, dvi, etc.)
18206
18207 .PHONY: maybe-info-sid info-sid
18208 maybe-info-sid:
18209 @if sid
18210 maybe-info-sid: info-sid
18211
18212 info-sid: \
18213     configure-sid 
18214         @[ -f ./sid/Makefile ] || exit 0; \
18215         r=`${PWD_COMMAND}`; export r; \
18216         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18217         $(HOST_EXPORTS) \
18218         for flag in $(EXTRA_HOST_FLAGS) ; do \
18219           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18220         done; \
18221         echo "Doing info in sid" ; \
18222         (cd $(HOST_SUBDIR)/sid && \
18223           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18224                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18225                   "RANLIB=$${RANLIB}" \
18226                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18227                   info) \
18228           || exit 1
18229
18230 @endif sid
18231
18232 .PHONY: maybe-dvi-sid dvi-sid
18233 maybe-dvi-sid:
18234 @if sid
18235 maybe-dvi-sid: dvi-sid
18236
18237 dvi-sid: \
18238     configure-sid 
18239         @[ -f ./sid/Makefile ] || exit 0; \
18240         r=`${PWD_COMMAND}`; export r; \
18241         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18242         $(HOST_EXPORTS) \
18243         for flag in $(EXTRA_HOST_FLAGS) ; do \
18244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18245         done; \
18246         echo "Doing dvi in sid" ; \
18247         (cd $(HOST_SUBDIR)/sid && \
18248           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18249                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18250                   "RANLIB=$${RANLIB}" \
18251                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18252                   dvi) \
18253           || exit 1
18254
18255 @endif sid
18256
18257 .PHONY: maybe-html-sid html-sid
18258 maybe-html-sid:
18259 @if sid
18260 maybe-html-sid: html-sid
18261
18262 html-sid: \
18263     configure-sid 
18264         @[ -f ./sid/Makefile ] || exit 0; \
18265         r=`${PWD_COMMAND}`; export r; \
18266         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18267         $(HOST_EXPORTS) \
18268         for flag in $(EXTRA_HOST_FLAGS) ; do \
18269           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18270         done; \
18271         echo "Doing html in sid" ; \
18272         (cd $(HOST_SUBDIR)/sid && \
18273           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18274                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18275                   "RANLIB=$${RANLIB}" \
18276                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18277                   html) \
18278           || exit 1
18279
18280 @endif sid
18281
18282 .PHONY: maybe-TAGS-sid TAGS-sid
18283 maybe-TAGS-sid:
18284 @if sid
18285 maybe-TAGS-sid: TAGS-sid
18286
18287 TAGS-sid: \
18288     configure-sid 
18289         @[ -f ./sid/Makefile ] || exit 0; \
18290         r=`${PWD_COMMAND}`; export r; \
18291         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18292         $(HOST_EXPORTS) \
18293         for flag in $(EXTRA_HOST_FLAGS) ; do \
18294           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18295         done; \
18296         echo "Doing TAGS in sid" ; \
18297         (cd $(HOST_SUBDIR)/sid && \
18298           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18299                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18300                   "RANLIB=$${RANLIB}" \
18301                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18302                   TAGS) \
18303           || exit 1
18304
18305 @endif sid
18306
18307 .PHONY: maybe-install-info-sid install-info-sid
18308 maybe-install-info-sid:
18309 @if sid
18310 maybe-install-info-sid: install-info-sid
18311
18312 install-info-sid: \
18313     configure-sid \
18314     info-sid 
18315         @[ -f ./sid/Makefile ] || exit 0; \
18316         r=`${PWD_COMMAND}`; export r; \
18317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18318         $(HOST_EXPORTS) \
18319         for flag in $(EXTRA_HOST_FLAGS) ; do \
18320           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18321         done; \
18322         echo "Doing install-info in sid" ; \
18323         (cd $(HOST_SUBDIR)/sid && \
18324           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18325                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18326                   "RANLIB=$${RANLIB}" \
18327                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18328                   install-info) \
18329           || exit 1
18330
18331 @endif sid
18332
18333 .PHONY: maybe-installcheck-sid installcheck-sid
18334 maybe-installcheck-sid:
18335 @if sid
18336 maybe-installcheck-sid: installcheck-sid
18337
18338 installcheck-sid: \
18339     configure-sid 
18340         @[ -f ./sid/Makefile ] || exit 0; \
18341         r=`${PWD_COMMAND}`; export r; \
18342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18343         $(HOST_EXPORTS) \
18344         for flag in $(EXTRA_HOST_FLAGS) ; do \
18345           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18346         done; \
18347         echo "Doing installcheck in sid" ; \
18348         (cd $(HOST_SUBDIR)/sid && \
18349           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18350                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18351                   "RANLIB=$${RANLIB}" \
18352                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18353                   installcheck) \
18354           || exit 1
18355
18356 @endif sid
18357
18358 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
18359 maybe-mostlyclean-sid:
18360 @if sid
18361 maybe-mostlyclean-sid: mostlyclean-sid
18362
18363 mostlyclean-sid: 
18364         @[ -f ./sid/Makefile ] || exit 0; \
18365         r=`${PWD_COMMAND}`; export r; \
18366         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18367         $(HOST_EXPORTS) \
18368         for flag in $(EXTRA_HOST_FLAGS) ; do \
18369           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18370         done; \
18371         echo "Doing mostlyclean in sid" ; \
18372         (cd $(HOST_SUBDIR)/sid && \
18373           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375                   "RANLIB=$${RANLIB}" \
18376                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18377                   mostlyclean) \
18378           || exit 1
18379
18380 @endif sid
18381
18382 .PHONY: maybe-clean-sid clean-sid
18383 maybe-clean-sid:
18384 @if sid
18385 maybe-clean-sid: clean-sid
18386
18387 clean-sid: 
18388         @[ -f ./sid/Makefile ] || exit 0; \
18389         r=`${PWD_COMMAND}`; export r; \
18390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18391         $(HOST_EXPORTS) \
18392         for flag in $(EXTRA_HOST_FLAGS) ; do \
18393           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18394         done; \
18395         echo "Doing clean in sid" ; \
18396         (cd $(HOST_SUBDIR)/sid && \
18397           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18398                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18399                   "RANLIB=$${RANLIB}" \
18400                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18401                   clean) \
18402           || exit 1
18403
18404 @endif sid
18405
18406 .PHONY: maybe-distclean-sid distclean-sid
18407 maybe-distclean-sid:
18408 @if sid
18409 maybe-distclean-sid: distclean-sid
18410
18411 distclean-sid: 
18412         @[ -f ./sid/Makefile ] || exit 0; \
18413         r=`${PWD_COMMAND}`; export r; \
18414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18415         $(HOST_EXPORTS) \
18416         for flag in $(EXTRA_HOST_FLAGS) ; do \
18417           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18418         done; \
18419         echo "Doing distclean in sid" ; \
18420         (cd $(HOST_SUBDIR)/sid && \
18421           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18422                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18423                   "RANLIB=$${RANLIB}" \
18424                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18425                   distclean) \
18426           || exit 1
18427
18428 @endif sid
18429
18430 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
18431 maybe-maintainer-clean-sid:
18432 @if sid
18433 maybe-maintainer-clean-sid: maintainer-clean-sid
18434
18435 maintainer-clean-sid: 
18436         @[ -f ./sid/Makefile ] || exit 0; \
18437         r=`${PWD_COMMAND}`; export r; \
18438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18439         $(HOST_EXPORTS) \
18440         for flag in $(EXTRA_HOST_FLAGS) ; do \
18441           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18442         done; \
18443         echo "Doing maintainer-clean in sid" ; \
18444         (cd $(HOST_SUBDIR)/sid && \
18445           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18446                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18447                   "RANLIB=$${RANLIB}" \
18448                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18449                   maintainer-clean) \
18450           || exit 1
18451
18452 @endif sid
18453
18454
18455 .PHONY: configure-sim maybe-configure-sim
18456 maybe-configure-sim:
18457 @if sim
18458 maybe-configure-sim: configure-sim
18459 configure-sim:
18460         @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
18461         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
18462         r=`${PWD_COMMAND}`; export r; \
18463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18464         $(HOST_EXPORTS) \
18465         echo Configuring in sim; \
18466         cd $(HOST_SUBDIR)/sim || exit 1; \
18467         case $(srcdir) in \
18468           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18469           *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
18470                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18471         esac; \
18472         srcdiroption="--srcdir=$${topdir}/sim"; \
18473         libsrcdir="$$s/sim"; \
18474         $(SHELL) $${libsrcdir}/configure \
18475           $(HOST_CONFIGARGS) $${srcdiroption}  \
18476           || exit 1
18477 @endif sim
18478
18479 .PHONY: all-sim maybe-all-sim
18480 maybe-all-sim:
18481 @if sim
18482 TARGET-sim=all
18483 maybe-all-sim: all-sim
18484 all-sim: configure-sim
18485         @r=`${PWD_COMMAND}`; export r; \
18486         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18487         $(HOST_EXPORTS) \
18488         (cd $(HOST_SUBDIR)/sim && \
18489           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-sim))
18490 @endif sim
18491
18492 .PHONY: check-sim maybe-check-sim
18493 maybe-check-sim:
18494 @if sim
18495 maybe-check-sim: check-sim
18496
18497 check-sim:
18498         @r=`${PWD_COMMAND}`; export r; \
18499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18500         $(HOST_EXPORTS) \
18501         (cd $(HOST_SUBDIR)/sim && \
18502           $(MAKE) $(FLAGS_TO_PASS)  check)
18503
18504 @endif sim
18505
18506 .PHONY: install-sim maybe-install-sim
18507 maybe-install-sim:
18508 @if sim
18509 maybe-install-sim: install-sim
18510
18511 install-sim: installdirs
18512         @r=`${PWD_COMMAND}`; export r; \
18513         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18514         $(HOST_EXPORTS) \
18515         (cd $(HOST_SUBDIR)/sim && \
18516           $(MAKE) $(FLAGS_TO_PASS)  install)
18517
18518 @endif sim
18519
18520 # Other targets (info, dvi, etc.)
18521
18522 .PHONY: maybe-info-sim info-sim
18523 maybe-info-sim:
18524 @if sim
18525 maybe-info-sim: info-sim
18526
18527 info-sim: \
18528     configure-sim 
18529         @[ -f ./sim/Makefile ] || exit 0; \
18530         r=`${PWD_COMMAND}`; export r; \
18531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532         $(HOST_EXPORTS) \
18533         for flag in $(EXTRA_HOST_FLAGS) ; do \
18534           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18535         done; \
18536         echo "Doing info in sim" ; \
18537         (cd $(HOST_SUBDIR)/sim && \
18538           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18539                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18540                   "RANLIB=$${RANLIB}" \
18541                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18542                   info) \
18543           || exit 1
18544
18545 @endif sim
18546
18547 .PHONY: maybe-dvi-sim dvi-sim
18548 maybe-dvi-sim:
18549 @if sim
18550 maybe-dvi-sim: dvi-sim
18551
18552 dvi-sim: \
18553     configure-sim 
18554         @[ -f ./sim/Makefile ] || exit 0; \
18555         r=`${PWD_COMMAND}`; export r; \
18556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18557         $(HOST_EXPORTS) \
18558         for flag in $(EXTRA_HOST_FLAGS) ; do \
18559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18560         done; \
18561         echo "Doing dvi in sim" ; \
18562         (cd $(HOST_SUBDIR)/sim && \
18563           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18564                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18565                   "RANLIB=$${RANLIB}" \
18566                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18567                   dvi) \
18568           || exit 1
18569
18570 @endif sim
18571
18572 .PHONY: maybe-html-sim html-sim
18573 maybe-html-sim:
18574 @if sim
18575 maybe-html-sim: html-sim
18576
18577 html-sim: \
18578     configure-sim 
18579         @[ -f ./sim/Makefile ] || exit 0; \
18580         r=`${PWD_COMMAND}`; export r; \
18581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18582         $(HOST_EXPORTS) \
18583         for flag in $(EXTRA_HOST_FLAGS) ; do \
18584           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18585         done; \
18586         echo "Doing html in sim" ; \
18587         (cd $(HOST_SUBDIR)/sim && \
18588           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18589                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18590                   "RANLIB=$${RANLIB}" \
18591                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18592                   html) \
18593           || exit 1
18594
18595 @endif sim
18596
18597 .PHONY: maybe-TAGS-sim TAGS-sim
18598 maybe-TAGS-sim:
18599 @if sim
18600 maybe-TAGS-sim: TAGS-sim
18601
18602 TAGS-sim: \
18603     configure-sim 
18604         @[ -f ./sim/Makefile ] || exit 0; \
18605         r=`${PWD_COMMAND}`; export r; \
18606         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18607         $(HOST_EXPORTS) \
18608         for flag in $(EXTRA_HOST_FLAGS) ; do \
18609           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18610         done; \
18611         echo "Doing TAGS in sim" ; \
18612         (cd $(HOST_SUBDIR)/sim && \
18613           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18614                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18615                   "RANLIB=$${RANLIB}" \
18616                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18617                   TAGS) \
18618           || exit 1
18619
18620 @endif sim
18621
18622 .PHONY: maybe-install-info-sim install-info-sim
18623 maybe-install-info-sim:
18624 @if sim
18625 maybe-install-info-sim: install-info-sim
18626
18627 install-info-sim: \
18628     configure-sim \
18629     info-sim 
18630         @[ -f ./sim/Makefile ] || exit 0; \
18631         r=`${PWD_COMMAND}`; export r; \
18632         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18633         $(HOST_EXPORTS) \
18634         for flag in $(EXTRA_HOST_FLAGS) ; do \
18635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18636         done; \
18637         echo "Doing install-info in sim" ; \
18638         (cd $(HOST_SUBDIR)/sim && \
18639           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18640                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18641                   "RANLIB=$${RANLIB}" \
18642                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18643                   install-info) \
18644           || exit 1
18645
18646 @endif sim
18647
18648 .PHONY: maybe-installcheck-sim installcheck-sim
18649 maybe-installcheck-sim:
18650 @if sim
18651 maybe-installcheck-sim: installcheck-sim
18652
18653 installcheck-sim: \
18654     configure-sim 
18655         @[ -f ./sim/Makefile ] || exit 0; \
18656         r=`${PWD_COMMAND}`; export r; \
18657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658         $(HOST_EXPORTS) \
18659         for flag in $(EXTRA_HOST_FLAGS) ; do \
18660           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18661         done; \
18662         echo "Doing installcheck in sim" ; \
18663         (cd $(HOST_SUBDIR)/sim && \
18664           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18665                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18666                   "RANLIB=$${RANLIB}" \
18667                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18668                   installcheck) \
18669           || exit 1
18670
18671 @endif sim
18672
18673 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18674 maybe-mostlyclean-sim:
18675 @if sim
18676 maybe-mostlyclean-sim: mostlyclean-sim
18677
18678 mostlyclean-sim: 
18679         @[ -f ./sim/Makefile ] || exit 0; \
18680         r=`${PWD_COMMAND}`; export r; \
18681         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18682         $(HOST_EXPORTS) \
18683         for flag in $(EXTRA_HOST_FLAGS) ; do \
18684           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18685         done; \
18686         echo "Doing mostlyclean in sim" ; \
18687         (cd $(HOST_SUBDIR)/sim && \
18688           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18689                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18690                   "RANLIB=$${RANLIB}" \
18691                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18692                   mostlyclean) \
18693           || exit 1
18694
18695 @endif sim
18696
18697 .PHONY: maybe-clean-sim clean-sim
18698 maybe-clean-sim:
18699 @if sim
18700 maybe-clean-sim: clean-sim
18701
18702 clean-sim: 
18703         @[ -f ./sim/Makefile ] || exit 0; \
18704         r=`${PWD_COMMAND}`; export r; \
18705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18706         $(HOST_EXPORTS) \
18707         for flag in $(EXTRA_HOST_FLAGS) ; do \
18708           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18709         done; \
18710         echo "Doing clean in sim" ; \
18711         (cd $(HOST_SUBDIR)/sim && \
18712           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18713                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18714                   "RANLIB=$${RANLIB}" \
18715                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18716                   clean) \
18717           || exit 1
18718
18719 @endif sim
18720
18721 .PHONY: maybe-distclean-sim distclean-sim
18722 maybe-distclean-sim:
18723 @if sim
18724 maybe-distclean-sim: distclean-sim
18725
18726 distclean-sim: 
18727         @[ -f ./sim/Makefile ] || exit 0; \
18728         r=`${PWD_COMMAND}`; export r; \
18729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18730         $(HOST_EXPORTS) \
18731         for flag in $(EXTRA_HOST_FLAGS) ; do \
18732           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18733         done; \
18734         echo "Doing distclean in sim" ; \
18735         (cd $(HOST_SUBDIR)/sim && \
18736           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18737                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18738                   "RANLIB=$${RANLIB}" \
18739                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18740                   distclean) \
18741           || exit 1
18742
18743 @endif sim
18744
18745 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18746 maybe-maintainer-clean-sim:
18747 @if sim
18748 maybe-maintainer-clean-sim: maintainer-clean-sim
18749
18750 maintainer-clean-sim: 
18751         @[ -f ./sim/Makefile ] || exit 0; \
18752         r=`${PWD_COMMAND}`; export r; \
18753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18754         $(HOST_EXPORTS) \
18755         for flag in $(EXTRA_HOST_FLAGS) ; do \
18756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18757         done; \
18758         echo "Doing maintainer-clean in sim" ; \
18759         (cd $(HOST_SUBDIR)/sim && \
18760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18762                   "RANLIB=$${RANLIB}" \
18763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18764                   maintainer-clean) \
18765           || exit 1
18766
18767 @endif sim
18768
18769
18770 .PHONY: configure-tar maybe-configure-tar
18771 maybe-configure-tar:
18772 @if tar
18773 maybe-configure-tar: configure-tar
18774 configure-tar:
18775         @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
18776         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
18777         r=`${PWD_COMMAND}`; export r; \
18778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18779         $(HOST_EXPORTS) \
18780         echo Configuring in tar; \
18781         cd $(HOST_SUBDIR)/tar || exit 1; \
18782         case $(srcdir) in \
18783           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18784           *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
18785                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18786         esac; \
18787         srcdiroption="--srcdir=$${topdir}/tar"; \
18788         libsrcdir="$$s/tar"; \
18789         $(SHELL) $${libsrcdir}/configure \
18790           $(HOST_CONFIGARGS) $${srcdiroption}  \
18791           || exit 1
18792 @endif tar
18793
18794 .PHONY: all-tar maybe-all-tar
18795 maybe-all-tar:
18796 @if tar
18797 TARGET-tar=all
18798 maybe-all-tar: all-tar
18799 all-tar: configure-tar
18800         @r=`${PWD_COMMAND}`; export r; \
18801         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18802         $(HOST_EXPORTS) \
18803         (cd $(HOST_SUBDIR)/tar && \
18804           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-tar))
18805 @endif tar
18806
18807 .PHONY: check-tar maybe-check-tar
18808 maybe-check-tar:
18809 @if tar
18810 maybe-check-tar: check-tar
18811
18812 check-tar:
18813         @r=`${PWD_COMMAND}`; export r; \
18814         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18815         $(HOST_EXPORTS) \
18816         (cd $(HOST_SUBDIR)/tar && \
18817           $(MAKE) $(FLAGS_TO_PASS)  check)
18818
18819 @endif tar
18820
18821 .PHONY: install-tar maybe-install-tar
18822 maybe-install-tar:
18823 @if tar
18824 maybe-install-tar: install-tar
18825
18826 install-tar: installdirs
18827         @r=`${PWD_COMMAND}`; export r; \
18828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829         $(HOST_EXPORTS) \
18830         (cd $(HOST_SUBDIR)/tar && \
18831           $(MAKE) $(FLAGS_TO_PASS)  install)
18832
18833 @endif tar
18834
18835 # Other targets (info, dvi, etc.)
18836
18837 .PHONY: maybe-info-tar info-tar
18838 maybe-info-tar:
18839 @if tar
18840 maybe-info-tar: info-tar
18841
18842 info-tar: \
18843     configure-tar 
18844         @[ -f ./tar/Makefile ] || exit 0; \
18845         r=`${PWD_COMMAND}`; export r; \
18846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18847         $(HOST_EXPORTS) \
18848         for flag in $(EXTRA_HOST_FLAGS) ; do \
18849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18850         done; \
18851         echo "Doing info in tar" ; \
18852         (cd $(HOST_SUBDIR)/tar && \
18853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18855                   "RANLIB=$${RANLIB}" \
18856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18857                   info) \
18858           || exit 1
18859
18860 @endif tar
18861
18862 .PHONY: maybe-dvi-tar dvi-tar
18863 maybe-dvi-tar:
18864 @if tar
18865 maybe-dvi-tar: dvi-tar
18866
18867 dvi-tar: \
18868     configure-tar 
18869         @[ -f ./tar/Makefile ] || exit 0; \
18870         r=`${PWD_COMMAND}`; export r; \
18871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18872         $(HOST_EXPORTS) \
18873         for flag in $(EXTRA_HOST_FLAGS) ; do \
18874           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18875         done; \
18876         echo "Doing dvi in tar" ; \
18877         (cd $(HOST_SUBDIR)/tar && \
18878           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18879                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18880                   "RANLIB=$${RANLIB}" \
18881                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18882                   dvi) \
18883           || exit 1
18884
18885 @endif tar
18886
18887 .PHONY: maybe-html-tar html-tar
18888 maybe-html-tar:
18889 @if tar
18890 maybe-html-tar: html-tar
18891
18892 html-tar: \
18893     configure-tar 
18894         @[ -f ./tar/Makefile ] || exit 0; \
18895         r=`${PWD_COMMAND}`; export r; \
18896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897         $(HOST_EXPORTS) \
18898         for flag in $(EXTRA_HOST_FLAGS) ; do \
18899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18900         done; \
18901         echo "Doing html in tar" ; \
18902         (cd $(HOST_SUBDIR)/tar && \
18903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18905                   "RANLIB=$${RANLIB}" \
18906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18907                   html) \
18908           || exit 1
18909
18910 @endif tar
18911
18912 .PHONY: maybe-TAGS-tar TAGS-tar
18913 maybe-TAGS-tar:
18914 @if tar
18915 maybe-TAGS-tar: TAGS-tar
18916
18917 TAGS-tar: \
18918     configure-tar 
18919         @[ -f ./tar/Makefile ] || exit 0; \
18920         r=`${PWD_COMMAND}`; export r; \
18921         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18922         $(HOST_EXPORTS) \
18923         for flag in $(EXTRA_HOST_FLAGS) ; do \
18924           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18925         done; \
18926         echo "Doing TAGS in tar" ; \
18927         (cd $(HOST_SUBDIR)/tar && \
18928           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18929                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18930                   "RANLIB=$${RANLIB}" \
18931                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18932                   TAGS) \
18933           || exit 1
18934
18935 @endif tar
18936
18937 .PHONY: maybe-install-info-tar install-info-tar
18938 maybe-install-info-tar:
18939 @if tar
18940 maybe-install-info-tar: install-info-tar
18941
18942 install-info-tar: \
18943     configure-tar \
18944     info-tar 
18945         @[ -f ./tar/Makefile ] || exit 0; \
18946         r=`${PWD_COMMAND}`; export r; \
18947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18948         $(HOST_EXPORTS) \
18949         for flag in $(EXTRA_HOST_FLAGS) ; do \
18950           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18951         done; \
18952         echo "Doing install-info in tar" ; \
18953         (cd $(HOST_SUBDIR)/tar && \
18954           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18955                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18956                   "RANLIB=$${RANLIB}" \
18957                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18958                   install-info) \
18959           || exit 1
18960
18961 @endif tar
18962
18963 .PHONY: maybe-installcheck-tar installcheck-tar
18964 maybe-installcheck-tar:
18965 @if tar
18966 maybe-installcheck-tar: installcheck-tar
18967
18968 installcheck-tar: \
18969     configure-tar 
18970         @[ -f ./tar/Makefile ] || exit 0; \
18971         r=`${PWD_COMMAND}`; export r; \
18972         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973         $(HOST_EXPORTS) \
18974         for flag in $(EXTRA_HOST_FLAGS) ; do \
18975           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18976         done; \
18977         echo "Doing installcheck in tar" ; \
18978         (cd $(HOST_SUBDIR)/tar && \
18979           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18980                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18981                   "RANLIB=$${RANLIB}" \
18982                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18983                   installcheck) \
18984           || exit 1
18985
18986 @endif tar
18987
18988 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18989 maybe-mostlyclean-tar:
18990 @if tar
18991 maybe-mostlyclean-tar: mostlyclean-tar
18992
18993 mostlyclean-tar: 
18994         @[ -f ./tar/Makefile ] || exit 0; \
18995         r=`${PWD_COMMAND}`; export r; \
18996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18997         $(HOST_EXPORTS) \
18998         for flag in $(EXTRA_HOST_FLAGS) ; do \
18999           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19000         done; \
19001         echo "Doing mostlyclean in tar" ; \
19002         (cd $(HOST_SUBDIR)/tar && \
19003           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19004                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19005                   "RANLIB=$${RANLIB}" \
19006                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19007                   mostlyclean) \
19008           || exit 1
19009
19010 @endif tar
19011
19012 .PHONY: maybe-clean-tar clean-tar
19013 maybe-clean-tar:
19014 @if tar
19015 maybe-clean-tar: clean-tar
19016
19017 clean-tar: 
19018         @[ -f ./tar/Makefile ] || exit 0; \
19019         r=`${PWD_COMMAND}`; export r; \
19020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19021         $(HOST_EXPORTS) \
19022         for flag in $(EXTRA_HOST_FLAGS) ; do \
19023           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19024         done; \
19025         echo "Doing clean in tar" ; \
19026         (cd $(HOST_SUBDIR)/tar && \
19027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19029                   "RANLIB=$${RANLIB}" \
19030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19031                   clean) \
19032           || exit 1
19033
19034 @endif tar
19035
19036 .PHONY: maybe-distclean-tar distclean-tar
19037 maybe-distclean-tar:
19038 @if tar
19039 maybe-distclean-tar: distclean-tar
19040
19041 distclean-tar: 
19042         @[ -f ./tar/Makefile ] || exit 0; \
19043         r=`${PWD_COMMAND}`; export r; \
19044         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19045         $(HOST_EXPORTS) \
19046         for flag in $(EXTRA_HOST_FLAGS) ; do \
19047           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19048         done; \
19049         echo "Doing distclean in tar" ; \
19050         (cd $(HOST_SUBDIR)/tar && \
19051           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19052                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19053                   "RANLIB=$${RANLIB}" \
19054                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19055                   distclean) \
19056           || exit 1
19057
19058 @endif tar
19059
19060 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
19061 maybe-maintainer-clean-tar:
19062 @if tar
19063 maybe-maintainer-clean-tar: maintainer-clean-tar
19064
19065 maintainer-clean-tar: 
19066         @[ -f ./tar/Makefile ] || exit 0; \
19067         r=`${PWD_COMMAND}`; export r; \
19068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19069         $(HOST_EXPORTS) \
19070         for flag in $(EXTRA_HOST_FLAGS) ; do \
19071           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19072         done; \
19073         echo "Doing maintainer-clean in tar" ; \
19074         (cd $(HOST_SUBDIR)/tar && \
19075           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19076                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19077                   "RANLIB=$${RANLIB}" \
19078                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19079                   maintainer-clean) \
19080           || exit 1
19081
19082 @endif tar
19083
19084
19085 .PHONY: configure-texinfo maybe-configure-texinfo
19086 maybe-configure-texinfo:
19087 @if texinfo
19088 maybe-configure-texinfo: configure-texinfo
19089 configure-texinfo:
19090         @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
19091         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
19092         r=`${PWD_COMMAND}`; export r; \
19093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19094         $(HOST_EXPORTS) \
19095         echo Configuring in texinfo; \
19096         cd $(HOST_SUBDIR)/texinfo || exit 1; \
19097         case $(srcdir) in \
19098           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19099           *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
19100                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19101         esac; \
19102         srcdiroption="--srcdir=$${topdir}/texinfo"; \
19103         libsrcdir="$$s/texinfo"; \
19104         $(SHELL) $${libsrcdir}/configure \
19105           $(HOST_CONFIGARGS) $${srcdiroption}  \
19106           || exit 1
19107 @endif texinfo
19108
19109 .PHONY: all-texinfo maybe-all-texinfo
19110 maybe-all-texinfo:
19111 @if texinfo
19112 TARGET-texinfo=all
19113 maybe-all-texinfo: all-texinfo
19114 all-texinfo: configure-texinfo
19115         @r=`${PWD_COMMAND}`; export r; \
19116         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19117         $(HOST_EXPORTS) \
19118         (cd $(HOST_SUBDIR)/texinfo && \
19119           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-texinfo))
19120 @endif texinfo
19121
19122 .PHONY: check-texinfo maybe-check-texinfo
19123 maybe-check-texinfo:
19124 @if texinfo
19125 maybe-check-texinfo: check-texinfo
19126
19127 check-texinfo:
19128         @r=`${PWD_COMMAND}`; export r; \
19129         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19130         $(HOST_EXPORTS) \
19131         (cd $(HOST_SUBDIR)/texinfo && \
19132           $(MAKE) $(FLAGS_TO_PASS)  check)
19133
19134 @endif texinfo
19135
19136 .PHONY: install-texinfo maybe-install-texinfo
19137 maybe-install-texinfo:
19138 @if texinfo
19139 maybe-install-texinfo: install-texinfo
19140
19141 install-texinfo:
19142
19143 @endif texinfo
19144
19145 # Other targets (info, dvi, etc.)
19146
19147 .PHONY: maybe-info-texinfo info-texinfo
19148 maybe-info-texinfo:
19149 @if texinfo
19150 maybe-info-texinfo: info-texinfo
19151
19152 info-texinfo: \
19153     configure-texinfo 
19154         @[ -f ./texinfo/Makefile ] || exit 0; \
19155         r=`${PWD_COMMAND}`; export r; \
19156         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157         $(HOST_EXPORTS) \
19158         for flag in $(EXTRA_HOST_FLAGS) ; do \
19159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19160         done; \
19161         echo "Doing info in texinfo" ; \
19162         (cd $(HOST_SUBDIR)/texinfo && \
19163           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19164                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19165                   "RANLIB=$${RANLIB}" \
19166                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19167                   info) \
19168           || exit 1
19169
19170 @endif texinfo
19171
19172 .PHONY: maybe-dvi-texinfo dvi-texinfo
19173 maybe-dvi-texinfo:
19174 @if texinfo
19175 maybe-dvi-texinfo: dvi-texinfo
19176
19177 dvi-texinfo: \
19178     configure-texinfo 
19179         @[ -f ./texinfo/Makefile ] || exit 0; \
19180         r=`${PWD_COMMAND}`; export r; \
19181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19182         $(HOST_EXPORTS) \
19183         for flag in $(EXTRA_HOST_FLAGS) ; do \
19184           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19185         done; \
19186         echo "Doing dvi in texinfo" ; \
19187         (cd $(HOST_SUBDIR)/texinfo && \
19188           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19189                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19190                   "RANLIB=$${RANLIB}" \
19191                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19192                   dvi) \
19193           || exit 1
19194
19195 @endif texinfo
19196
19197 .PHONY: maybe-html-texinfo html-texinfo
19198 maybe-html-texinfo:
19199 @if texinfo
19200 maybe-html-texinfo: html-texinfo
19201
19202 html-texinfo: \
19203     configure-texinfo 
19204         @[ -f ./texinfo/Makefile ] || exit 0; \
19205         r=`${PWD_COMMAND}`; export r; \
19206         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19207         $(HOST_EXPORTS) \
19208         for flag in $(EXTRA_HOST_FLAGS) ; do \
19209           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19210         done; \
19211         echo "Doing html in texinfo" ; \
19212         (cd $(HOST_SUBDIR)/texinfo && \
19213           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19214                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19215                   "RANLIB=$${RANLIB}" \
19216                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19217                   html) \
19218           || exit 1
19219
19220 @endif texinfo
19221
19222 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
19223 maybe-TAGS-texinfo:
19224 @if texinfo
19225 maybe-TAGS-texinfo: TAGS-texinfo
19226
19227 TAGS-texinfo: \
19228     configure-texinfo 
19229         @[ -f ./texinfo/Makefile ] || exit 0; \
19230         r=`${PWD_COMMAND}`; export r; \
19231         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19232         $(HOST_EXPORTS) \
19233         for flag in $(EXTRA_HOST_FLAGS) ; do \
19234           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19235         done; \
19236         echo "Doing TAGS in texinfo" ; \
19237         (cd $(HOST_SUBDIR)/texinfo && \
19238           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19239                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19240                   "RANLIB=$${RANLIB}" \
19241                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19242                   TAGS) \
19243           || exit 1
19244
19245 @endif texinfo
19246
19247 .PHONY: maybe-install-info-texinfo install-info-texinfo
19248 maybe-install-info-texinfo:
19249 @if texinfo
19250 maybe-install-info-texinfo: install-info-texinfo
19251
19252 install-info-texinfo: \
19253     configure-texinfo \
19254     info-texinfo 
19255         @[ -f ./texinfo/Makefile ] || exit 0; \
19256         r=`${PWD_COMMAND}`; export r; \
19257         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19258         $(HOST_EXPORTS) \
19259         for flag in $(EXTRA_HOST_FLAGS) ; do \
19260           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19261         done; \
19262         echo "Doing install-info in texinfo" ; \
19263         (cd $(HOST_SUBDIR)/texinfo && \
19264           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19265                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19266                   "RANLIB=$${RANLIB}" \
19267                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19268                   install-info) \
19269           || exit 1
19270
19271 @endif texinfo
19272
19273 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
19274 maybe-installcheck-texinfo:
19275 @if texinfo
19276 maybe-installcheck-texinfo: installcheck-texinfo
19277
19278 installcheck-texinfo: \
19279     configure-texinfo 
19280         @[ -f ./texinfo/Makefile ] || exit 0; \
19281         r=`${PWD_COMMAND}`; export r; \
19282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19283         $(HOST_EXPORTS) \
19284         for flag in $(EXTRA_HOST_FLAGS) ; do \
19285           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19286         done; \
19287         echo "Doing installcheck in texinfo" ; \
19288         (cd $(HOST_SUBDIR)/texinfo && \
19289           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19290                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19291                   "RANLIB=$${RANLIB}" \
19292                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19293                   installcheck) \
19294           || exit 1
19295
19296 @endif texinfo
19297
19298 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
19299 maybe-mostlyclean-texinfo:
19300 @if texinfo
19301 maybe-mostlyclean-texinfo: mostlyclean-texinfo
19302
19303 mostlyclean-texinfo: 
19304         @[ -f ./texinfo/Makefile ] || exit 0; \
19305         r=`${PWD_COMMAND}`; export r; \
19306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307         $(HOST_EXPORTS) \
19308         for flag in $(EXTRA_HOST_FLAGS) ; do \
19309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19310         done; \
19311         echo "Doing mostlyclean in texinfo" ; \
19312         (cd $(HOST_SUBDIR)/texinfo && \
19313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19315                   "RANLIB=$${RANLIB}" \
19316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19317                   mostlyclean) \
19318           || exit 1
19319
19320 @endif texinfo
19321
19322 .PHONY: maybe-clean-texinfo clean-texinfo
19323 maybe-clean-texinfo:
19324 @if texinfo
19325 maybe-clean-texinfo: clean-texinfo
19326
19327 clean-texinfo: 
19328         @[ -f ./texinfo/Makefile ] || exit 0; \
19329         r=`${PWD_COMMAND}`; export r; \
19330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19331         $(HOST_EXPORTS) \
19332         for flag in $(EXTRA_HOST_FLAGS) ; do \
19333           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19334         done; \
19335         echo "Doing clean in texinfo" ; \
19336         (cd $(HOST_SUBDIR)/texinfo && \
19337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339                   "RANLIB=$${RANLIB}" \
19340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19341                   clean) \
19342           || exit 1
19343
19344 @endif texinfo
19345
19346 .PHONY: maybe-distclean-texinfo distclean-texinfo
19347 maybe-distclean-texinfo:
19348 @if texinfo
19349 maybe-distclean-texinfo: distclean-texinfo
19350
19351 distclean-texinfo: 
19352         @[ -f ./texinfo/Makefile ] || exit 0; \
19353         r=`${PWD_COMMAND}`; export r; \
19354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355         $(HOST_EXPORTS) \
19356         for flag in $(EXTRA_HOST_FLAGS) ; do \
19357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358         done; \
19359         echo "Doing distclean in texinfo" ; \
19360         (cd $(HOST_SUBDIR)/texinfo && \
19361           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363                   "RANLIB=$${RANLIB}" \
19364                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19365                   distclean) \
19366           || exit 1
19367
19368 @endif texinfo
19369
19370 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
19371 maybe-maintainer-clean-texinfo:
19372 @if texinfo
19373 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
19374
19375 maintainer-clean-texinfo: 
19376         @[ -f ./texinfo/Makefile ] || exit 0; \
19377         r=`${PWD_COMMAND}`; export r; \
19378         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19379         $(HOST_EXPORTS) \
19380         for flag in $(EXTRA_HOST_FLAGS) ; do \
19381           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19382         done; \
19383         echo "Doing maintainer-clean in texinfo" ; \
19384         (cd $(HOST_SUBDIR)/texinfo && \
19385           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19386                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19387                   "RANLIB=$${RANLIB}" \
19388                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19389                   maintainer-clean) \
19390           || exit 1
19391
19392 @endif texinfo
19393
19394
19395 .PHONY: configure-textutils maybe-configure-textutils
19396 maybe-configure-textutils:
19397 @if textutils
19398 maybe-configure-textutils: configure-textutils
19399 configure-textutils:
19400         @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
19401         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
19402         r=`${PWD_COMMAND}`; export r; \
19403         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19404         $(HOST_EXPORTS) \
19405         echo Configuring in textutils; \
19406         cd $(HOST_SUBDIR)/textutils || exit 1; \
19407         case $(srcdir) in \
19408           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19409           *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
19410                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19411         esac; \
19412         srcdiroption="--srcdir=$${topdir}/textutils"; \
19413         libsrcdir="$$s/textutils"; \
19414         $(SHELL) $${libsrcdir}/configure \
19415           $(HOST_CONFIGARGS) $${srcdiroption}  \
19416           || exit 1
19417 @endif textutils
19418
19419 .PHONY: all-textutils maybe-all-textutils
19420 maybe-all-textutils:
19421 @if textutils
19422 TARGET-textutils=all
19423 maybe-all-textutils: all-textutils
19424 all-textutils: configure-textutils
19425         @r=`${PWD_COMMAND}`; export r; \
19426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19427         $(HOST_EXPORTS) \
19428         (cd $(HOST_SUBDIR)/textutils && \
19429           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-textutils))
19430 @endif textutils
19431
19432 .PHONY: check-textutils maybe-check-textutils
19433 maybe-check-textutils:
19434 @if textutils
19435 maybe-check-textutils: check-textutils
19436
19437 check-textutils:
19438         @r=`${PWD_COMMAND}`; export r; \
19439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19440         $(HOST_EXPORTS) \
19441         (cd $(HOST_SUBDIR)/textutils && \
19442           $(MAKE) $(FLAGS_TO_PASS)  check)
19443
19444 @endif textutils
19445
19446 .PHONY: install-textutils maybe-install-textutils
19447 maybe-install-textutils:
19448 @if textutils
19449 maybe-install-textutils: install-textutils
19450
19451 install-textutils: installdirs
19452         @r=`${PWD_COMMAND}`; export r; \
19453         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19454         $(HOST_EXPORTS) \
19455         (cd $(HOST_SUBDIR)/textutils && \
19456           $(MAKE) $(FLAGS_TO_PASS)  install)
19457
19458 @endif textutils
19459
19460 # Other targets (info, dvi, etc.)
19461
19462 .PHONY: maybe-info-textutils info-textutils
19463 maybe-info-textutils:
19464 @if textutils
19465 maybe-info-textutils: info-textutils
19466
19467 info-textutils: \
19468     configure-textutils 
19469         @[ -f ./textutils/Makefile ] || exit 0; \
19470         r=`${PWD_COMMAND}`; export r; \
19471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19472         $(HOST_EXPORTS) \
19473         for flag in $(EXTRA_HOST_FLAGS) ; do \
19474           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19475         done; \
19476         echo "Doing info in textutils" ; \
19477         (cd $(HOST_SUBDIR)/textutils && \
19478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19480                   "RANLIB=$${RANLIB}" \
19481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19482                   info) \
19483           || exit 1
19484
19485 @endif textutils
19486
19487 .PHONY: maybe-dvi-textutils dvi-textutils
19488 maybe-dvi-textutils:
19489 @if textutils
19490 maybe-dvi-textutils: dvi-textutils
19491
19492 dvi-textutils: \
19493     configure-textutils 
19494         @[ -f ./textutils/Makefile ] || exit 0; \
19495         r=`${PWD_COMMAND}`; export r; \
19496         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19497         $(HOST_EXPORTS) \
19498         for flag in $(EXTRA_HOST_FLAGS) ; do \
19499           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19500         done; \
19501         echo "Doing dvi in textutils" ; \
19502         (cd $(HOST_SUBDIR)/textutils && \
19503           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19504                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19505                   "RANLIB=$${RANLIB}" \
19506                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19507                   dvi) \
19508           || exit 1
19509
19510 @endif textutils
19511
19512 .PHONY: maybe-html-textutils html-textutils
19513 maybe-html-textutils:
19514 @if textutils
19515 maybe-html-textutils: html-textutils
19516
19517 html-textutils: \
19518     configure-textutils 
19519         @[ -f ./textutils/Makefile ] || exit 0; \
19520         r=`${PWD_COMMAND}`; export r; \
19521         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19522         $(HOST_EXPORTS) \
19523         for flag in $(EXTRA_HOST_FLAGS) ; do \
19524           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19525         done; \
19526         echo "Doing html in textutils" ; \
19527         (cd $(HOST_SUBDIR)/textutils && \
19528           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19529                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19530                   "RANLIB=$${RANLIB}" \
19531                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19532                   html) \
19533           || exit 1
19534
19535 @endif textutils
19536
19537 .PHONY: maybe-TAGS-textutils TAGS-textutils
19538 maybe-TAGS-textutils:
19539 @if textutils
19540 maybe-TAGS-textutils: TAGS-textutils
19541
19542 TAGS-textutils: \
19543     configure-textutils 
19544         @[ -f ./textutils/Makefile ] || exit 0; \
19545         r=`${PWD_COMMAND}`; export r; \
19546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19547         $(HOST_EXPORTS) \
19548         for flag in $(EXTRA_HOST_FLAGS) ; do \
19549           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19550         done; \
19551         echo "Doing TAGS in textutils" ; \
19552         (cd $(HOST_SUBDIR)/textutils && \
19553           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19554                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19555                   "RANLIB=$${RANLIB}" \
19556                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19557                   TAGS) \
19558           || exit 1
19559
19560 @endif textutils
19561
19562 .PHONY: maybe-install-info-textutils install-info-textutils
19563 maybe-install-info-textutils:
19564 @if textutils
19565 maybe-install-info-textutils: install-info-textutils
19566
19567 install-info-textutils: \
19568     configure-textutils \
19569     info-textutils 
19570         @[ -f ./textutils/Makefile ] || exit 0; \
19571         r=`${PWD_COMMAND}`; export r; \
19572         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19573         $(HOST_EXPORTS) \
19574         for flag in $(EXTRA_HOST_FLAGS) ; do \
19575           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19576         done; \
19577         echo "Doing install-info in textutils" ; \
19578         (cd $(HOST_SUBDIR)/textutils && \
19579           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19580                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19581                   "RANLIB=$${RANLIB}" \
19582                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19583                   install-info) \
19584           || exit 1
19585
19586 @endif textutils
19587
19588 .PHONY: maybe-installcheck-textutils installcheck-textutils
19589 maybe-installcheck-textutils:
19590 @if textutils
19591 maybe-installcheck-textutils: installcheck-textutils
19592
19593 installcheck-textutils: \
19594     configure-textutils 
19595         @[ -f ./textutils/Makefile ] || exit 0; \
19596         r=`${PWD_COMMAND}`; export r; \
19597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19598         $(HOST_EXPORTS) \
19599         for flag in $(EXTRA_HOST_FLAGS) ; do \
19600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19601         done; \
19602         echo "Doing installcheck in textutils" ; \
19603         (cd $(HOST_SUBDIR)/textutils && \
19604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19606                   "RANLIB=$${RANLIB}" \
19607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19608                   installcheck) \
19609           || exit 1
19610
19611 @endif textutils
19612
19613 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19614 maybe-mostlyclean-textutils:
19615 @if textutils
19616 maybe-mostlyclean-textutils: mostlyclean-textutils
19617
19618 mostlyclean-textutils: 
19619         @[ -f ./textutils/Makefile ] || exit 0; \
19620         r=`${PWD_COMMAND}`; export r; \
19621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 textutils" ; \
19627         (cd $(HOST_SUBDIR)/textutils && \
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 textutils
19636
19637 .PHONY: maybe-clean-textutils clean-textutils
19638 maybe-clean-textutils:
19639 @if textutils
19640 maybe-clean-textutils: clean-textutils
19641
19642 clean-textutils: 
19643         @[ -f ./textutils/Makefile ] || exit 0; \
19644         r=`${PWD_COMMAND}`; export r; \
19645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19646         $(HOST_EXPORTS) \
19647         for flag in $(EXTRA_HOST_FLAGS) ; do \
19648           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19649         done; \
19650         echo "Doing clean in textutils" ; \
19651         (cd $(HOST_SUBDIR)/textutils && \
19652           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19653                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19654                   "RANLIB=$${RANLIB}" \
19655                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19656                   clean) \
19657           || exit 1
19658
19659 @endif textutils
19660
19661 .PHONY: maybe-distclean-textutils distclean-textutils
19662 maybe-distclean-textutils:
19663 @if textutils
19664 maybe-distclean-textutils: distclean-textutils
19665
19666 distclean-textutils: 
19667         @[ -f ./textutils/Makefile ] || exit 0; \
19668         r=`${PWD_COMMAND}`; export r; \
19669         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19670         $(HOST_EXPORTS) \
19671         for flag in $(EXTRA_HOST_FLAGS) ; do \
19672           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19673         done; \
19674         echo "Doing distclean in textutils" ; \
19675         (cd $(HOST_SUBDIR)/textutils && \
19676           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19677                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19678                   "RANLIB=$${RANLIB}" \
19679                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19680                   distclean) \
19681           || exit 1
19682
19683 @endif textutils
19684
19685 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19686 maybe-maintainer-clean-textutils:
19687 @if textutils
19688 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19689
19690 maintainer-clean-textutils: 
19691         @[ -f ./textutils/Makefile ] || exit 0; \
19692         r=`${PWD_COMMAND}`; export r; \
19693         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19694         $(HOST_EXPORTS) \
19695         for flag in $(EXTRA_HOST_FLAGS) ; do \
19696           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19697         done; \
19698         echo "Doing maintainer-clean in textutils" ; \
19699         (cd $(HOST_SUBDIR)/textutils && \
19700           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19701                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19702                   "RANLIB=$${RANLIB}" \
19703                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19704                   maintainer-clean) \
19705           || exit 1
19706
19707 @endif textutils
19708
19709
19710 .PHONY: configure-time maybe-configure-time
19711 maybe-configure-time:
19712 @if time
19713 maybe-configure-time: configure-time
19714 configure-time:
19715         @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
19716         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
19717         r=`${PWD_COMMAND}`; export r; \
19718         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19719         $(HOST_EXPORTS) \
19720         echo Configuring in time; \
19721         cd $(HOST_SUBDIR)/time || exit 1; \
19722         case $(srcdir) in \
19723           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19724           *) topdir=`echo $(HOST_SUBDIR)/time/ | \
19725                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19726         esac; \
19727         srcdiroption="--srcdir=$${topdir}/time"; \
19728         libsrcdir="$$s/time"; \
19729         $(SHELL) $${libsrcdir}/configure \
19730           $(HOST_CONFIGARGS) $${srcdiroption}  \
19731           || exit 1
19732 @endif time
19733
19734 .PHONY: all-time maybe-all-time
19735 maybe-all-time:
19736 @if time
19737 TARGET-time=all
19738 maybe-all-time: all-time
19739 all-time: configure-time
19740         @r=`${PWD_COMMAND}`; export r; \
19741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19742         $(HOST_EXPORTS) \
19743         (cd $(HOST_SUBDIR)/time && \
19744           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-time))
19745 @endif time
19746
19747 .PHONY: check-time maybe-check-time
19748 maybe-check-time:
19749 @if time
19750 maybe-check-time: check-time
19751
19752 check-time:
19753         @r=`${PWD_COMMAND}`; export r; \
19754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19755         $(HOST_EXPORTS) \
19756         (cd $(HOST_SUBDIR)/time && \
19757           $(MAKE) $(FLAGS_TO_PASS)  check)
19758
19759 @endif time
19760
19761 .PHONY: install-time maybe-install-time
19762 maybe-install-time:
19763 @if time
19764 maybe-install-time: install-time
19765
19766 install-time: installdirs
19767         @r=`${PWD_COMMAND}`; export r; \
19768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769         $(HOST_EXPORTS) \
19770         (cd $(HOST_SUBDIR)/time && \
19771           $(MAKE) $(FLAGS_TO_PASS)  install)
19772
19773 @endif time
19774
19775 # Other targets (info, dvi, etc.)
19776
19777 .PHONY: maybe-info-time info-time
19778 maybe-info-time:
19779 @if time
19780 maybe-info-time: info-time
19781
19782 info-time: \
19783     configure-time 
19784         @[ -f ./time/Makefile ] || exit 0; \
19785         r=`${PWD_COMMAND}`; export r; \
19786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19787         $(HOST_EXPORTS) \
19788         for flag in $(EXTRA_HOST_FLAGS) ; do \
19789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19790         done; \
19791         echo "Doing info in time" ; \
19792         (cd $(HOST_SUBDIR)/time && \
19793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19795                   "RANLIB=$${RANLIB}" \
19796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19797                   info) \
19798           || exit 1
19799
19800 @endif time
19801
19802 .PHONY: maybe-dvi-time dvi-time
19803 maybe-dvi-time:
19804 @if time
19805 maybe-dvi-time: dvi-time
19806
19807 dvi-time: \
19808     configure-time 
19809         @[ -f ./time/Makefile ] || exit 0; \
19810         r=`${PWD_COMMAND}`; export r; \
19811         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19812         $(HOST_EXPORTS) \
19813         for flag in $(EXTRA_HOST_FLAGS) ; do \
19814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19815         done; \
19816         echo "Doing dvi in time" ; \
19817         (cd $(HOST_SUBDIR)/time && \
19818           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19819                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19820                   "RANLIB=$${RANLIB}" \
19821                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19822                   dvi) \
19823           || exit 1
19824
19825 @endif time
19826
19827 .PHONY: maybe-html-time html-time
19828 maybe-html-time:
19829 @if time
19830 maybe-html-time: html-time
19831
19832 html-time: \
19833     configure-time 
19834         @[ -f ./time/Makefile ] || exit 0; \
19835         r=`${PWD_COMMAND}`; export r; \
19836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19837         $(HOST_EXPORTS) \
19838         for flag in $(EXTRA_HOST_FLAGS) ; do \
19839           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19840         done; \
19841         echo "Doing html in time" ; \
19842         (cd $(HOST_SUBDIR)/time && \
19843           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19844                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19845                   "RANLIB=$${RANLIB}" \
19846                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19847                   html) \
19848           || exit 1
19849
19850 @endif time
19851
19852 .PHONY: maybe-TAGS-time TAGS-time
19853 maybe-TAGS-time:
19854 @if time
19855 maybe-TAGS-time: TAGS-time
19856
19857 TAGS-time: \
19858     configure-time 
19859         @[ -f ./time/Makefile ] || exit 0; \
19860         r=`${PWD_COMMAND}`; export r; \
19861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19862         $(HOST_EXPORTS) \
19863         for flag in $(EXTRA_HOST_FLAGS) ; do \
19864           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19865         done; \
19866         echo "Doing TAGS in time" ; \
19867         (cd $(HOST_SUBDIR)/time && \
19868           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19869                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19870                   "RANLIB=$${RANLIB}" \
19871                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19872                   TAGS) \
19873           || exit 1
19874
19875 @endif time
19876
19877 .PHONY: maybe-install-info-time install-info-time
19878 maybe-install-info-time:
19879 @if time
19880 maybe-install-info-time: install-info-time
19881
19882 install-info-time: \
19883     configure-time \
19884     info-time 
19885         @[ -f ./time/Makefile ] || exit 0; \
19886         r=`${PWD_COMMAND}`; export r; \
19887         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19888         $(HOST_EXPORTS) \
19889         for flag in $(EXTRA_HOST_FLAGS) ; do \
19890           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19891         done; \
19892         echo "Doing install-info in time" ; \
19893         (cd $(HOST_SUBDIR)/time && \
19894           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19895                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19896                   "RANLIB=$${RANLIB}" \
19897                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19898                   install-info) \
19899           || exit 1
19900
19901 @endif time
19902
19903 .PHONY: maybe-installcheck-time installcheck-time
19904 maybe-installcheck-time:
19905 @if time
19906 maybe-installcheck-time: installcheck-time
19907
19908 installcheck-time: \
19909     configure-time 
19910         @[ -f ./time/Makefile ] || exit 0; \
19911         r=`${PWD_COMMAND}`; export r; \
19912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19913         $(HOST_EXPORTS) \
19914         for flag in $(EXTRA_HOST_FLAGS) ; do \
19915           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19916         done; \
19917         echo "Doing installcheck in time" ; \
19918         (cd $(HOST_SUBDIR)/time && \
19919           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19920                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19921                   "RANLIB=$${RANLIB}" \
19922                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19923                   installcheck) \
19924           || exit 1
19925
19926 @endif time
19927
19928 .PHONY: maybe-mostlyclean-time mostlyclean-time
19929 maybe-mostlyclean-time:
19930 @if time
19931 maybe-mostlyclean-time: mostlyclean-time
19932
19933 mostlyclean-time: 
19934         @[ -f ./time/Makefile ] || exit 0; \
19935         r=`${PWD_COMMAND}`; export r; \
19936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19937         $(HOST_EXPORTS) \
19938         for flag in $(EXTRA_HOST_FLAGS) ; do \
19939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19940         done; \
19941         echo "Doing mostlyclean in time" ; \
19942         (cd $(HOST_SUBDIR)/time && \
19943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19945                   "RANLIB=$${RANLIB}" \
19946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19947                   mostlyclean) \
19948           || exit 1
19949
19950 @endif time
19951
19952 .PHONY: maybe-clean-time clean-time
19953 maybe-clean-time:
19954 @if time
19955 maybe-clean-time: clean-time
19956
19957 clean-time: 
19958         @[ -f ./time/Makefile ] || exit 0; \
19959         r=`${PWD_COMMAND}`; export r; \
19960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19961         $(HOST_EXPORTS) \
19962         for flag in $(EXTRA_HOST_FLAGS) ; do \
19963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19964         done; \
19965         echo "Doing clean in time" ; \
19966         (cd $(HOST_SUBDIR)/time && \
19967           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19968                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19969                   "RANLIB=$${RANLIB}" \
19970                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19971                   clean) \
19972           || exit 1
19973
19974 @endif time
19975
19976 .PHONY: maybe-distclean-time distclean-time
19977 maybe-distclean-time:
19978 @if time
19979 maybe-distclean-time: distclean-time
19980
19981 distclean-time: 
19982         @[ -f ./time/Makefile ] || exit 0; \
19983         r=`${PWD_COMMAND}`; export r; \
19984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19985         $(HOST_EXPORTS) \
19986         for flag in $(EXTRA_HOST_FLAGS) ; do \
19987           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19988         done; \
19989         echo "Doing distclean in time" ; \
19990         (cd $(HOST_SUBDIR)/time && \
19991           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19992                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19993                   "RANLIB=$${RANLIB}" \
19994                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19995                   distclean) \
19996           || exit 1
19997
19998 @endif time
19999
20000 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20001 maybe-maintainer-clean-time:
20002 @if time
20003 maybe-maintainer-clean-time: maintainer-clean-time
20004
20005 maintainer-clean-time: 
20006         @[ -f ./time/Makefile ] || exit 0; \
20007         r=`${PWD_COMMAND}`; export r; \
20008         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20009         $(HOST_EXPORTS) \
20010         for flag in $(EXTRA_HOST_FLAGS) ; do \
20011           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20012         done; \
20013         echo "Doing maintainer-clean in time" ; \
20014         (cd $(HOST_SUBDIR)/time && \
20015           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20016                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20017                   "RANLIB=$${RANLIB}" \
20018                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20019                   maintainer-clean) \
20020           || exit 1
20021
20022 @endif time
20023
20024
20025 .PHONY: configure-uudecode maybe-configure-uudecode
20026 maybe-configure-uudecode:
20027 @if uudecode
20028 maybe-configure-uudecode: configure-uudecode
20029 configure-uudecode:
20030         @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
20031         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
20032         r=`${PWD_COMMAND}`; export r; \
20033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20034         $(HOST_EXPORTS) \
20035         echo Configuring in uudecode; \
20036         cd $(HOST_SUBDIR)/uudecode || exit 1; \
20037         case $(srcdir) in \
20038           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20039           *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
20040                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20041         esac; \
20042         srcdiroption="--srcdir=$${topdir}/uudecode"; \
20043         libsrcdir="$$s/uudecode"; \
20044         $(SHELL) $${libsrcdir}/configure \
20045           $(HOST_CONFIGARGS) $${srcdiroption}  \
20046           || exit 1
20047 @endif uudecode
20048
20049 .PHONY: all-uudecode maybe-all-uudecode
20050 maybe-all-uudecode:
20051 @if uudecode
20052 TARGET-uudecode=all
20053 maybe-all-uudecode: all-uudecode
20054 all-uudecode: configure-uudecode
20055         @r=`${PWD_COMMAND}`; export r; \
20056         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057         $(HOST_EXPORTS) \
20058         (cd $(HOST_SUBDIR)/uudecode && \
20059           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-uudecode))
20060 @endif uudecode
20061
20062 .PHONY: check-uudecode maybe-check-uudecode
20063 maybe-check-uudecode:
20064 @if uudecode
20065 maybe-check-uudecode: check-uudecode
20066
20067 check-uudecode:
20068         @r=`${PWD_COMMAND}`; export r; \
20069         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20070         $(HOST_EXPORTS) \
20071         (cd $(HOST_SUBDIR)/uudecode && \
20072           $(MAKE) $(FLAGS_TO_PASS)  check)
20073
20074 @endif uudecode
20075
20076 .PHONY: install-uudecode maybe-install-uudecode
20077 maybe-install-uudecode:
20078 @if uudecode
20079 maybe-install-uudecode: install-uudecode
20080
20081 install-uudecode: installdirs
20082         @r=`${PWD_COMMAND}`; export r; \
20083         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20084         $(HOST_EXPORTS) \
20085         (cd $(HOST_SUBDIR)/uudecode && \
20086           $(MAKE) $(FLAGS_TO_PASS)  install)
20087
20088 @endif uudecode
20089
20090 # Other targets (info, dvi, etc.)
20091
20092 .PHONY: maybe-info-uudecode info-uudecode
20093 maybe-info-uudecode:
20094 @if uudecode
20095 maybe-info-uudecode: info-uudecode
20096
20097 info-uudecode: \
20098     configure-uudecode 
20099         @[ -f ./uudecode/Makefile ] || exit 0; \
20100         r=`${PWD_COMMAND}`; export r; \
20101         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20102         $(HOST_EXPORTS) \
20103         for flag in $(EXTRA_HOST_FLAGS) ; do \
20104           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20105         done; \
20106         echo "Doing info in uudecode" ; \
20107         (cd $(HOST_SUBDIR)/uudecode && \
20108           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20109                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20110                   "RANLIB=$${RANLIB}" \
20111                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20112                   info) \
20113           || exit 1
20114
20115 @endif uudecode
20116
20117 .PHONY: maybe-dvi-uudecode dvi-uudecode
20118 maybe-dvi-uudecode:
20119 @if uudecode
20120 maybe-dvi-uudecode: dvi-uudecode
20121
20122 dvi-uudecode: \
20123     configure-uudecode 
20124         @[ -f ./uudecode/Makefile ] || exit 0; \
20125         r=`${PWD_COMMAND}`; export r; \
20126         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20127         $(HOST_EXPORTS) \
20128         for flag in $(EXTRA_HOST_FLAGS) ; do \
20129           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20130         done; \
20131         echo "Doing dvi in uudecode" ; \
20132         (cd $(HOST_SUBDIR)/uudecode && \
20133           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20134                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20135                   "RANLIB=$${RANLIB}" \
20136                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20137                   dvi) \
20138           || exit 1
20139
20140 @endif uudecode
20141
20142 .PHONY: maybe-html-uudecode html-uudecode
20143 maybe-html-uudecode:
20144 @if uudecode
20145 maybe-html-uudecode: html-uudecode
20146
20147 html-uudecode: \
20148     configure-uudecode 
20149         @[ -f ./uudecode/Makefile ] || exit 0; \
20150         r=`${PWD_COMMAND}`; export r; \
20151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20152         $(HOST_EXPORTS) \
20153         for flag in $(EXTRA_HOST_FLAGS) ; do \
20154           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20155         done; \
20156         echo "Doing html in uudecode" ; \
20157         (cd $(HOST_SUBDIR)/uudecode && \
20158           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20159                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20160                   "RANLIB=$${RANLIB}" \
20161                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20162                   html) \
20163           || exit 1
20164
20165 @endif uudecode
20166
20167 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
20168 maybe-TAGS-uudecode:
20169 @if uudecode
20170 maybe-TAGS-uudecode: TAGS-uudecode
20171
20172 TAGS-uudecode: \
20173     configure-uudecode 
20174         @[ -f ./uudecode/Makefile ] || exit 0; \
20175         r=`${PWD_COMMAND}`; export r; \
20176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20177         $(HOST_EXPORTS) \
20178         for flag in $(EXTRA_HOST_FLAGS) ; do \
20179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20180         done; \
20181         echo "Doing TAGS in uudecode" ; \
20182         (cd $(HOST_SUBDIR)/uudecode && \
20183           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20184                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20185                   "RANLIB=$${RANLIB}" \
20186                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20187                   TAGS) \
20188           || exit 1
20189
20190 @endif uudecode
20191
20192 .PHONY: maybe-install-info-uudecode install-info-uudecode
20193 maybe-install-info-uudecode:
20194 @if uudecode
20195 maybe-install-info-uudecode: install-info-uudecode
20196
20197 install-info-uudecode: \
20198     configure-uudecode \
20199     info-uudecode 
20200         @[ -f ./uudecode/Makefile ] || exit 0; \
20201         r=`${PWD_COMMAND}`; export r; \
20202         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20203         $(HOST_EXPORTS) \
20204         for flag in $(EXTRA_HOST_FLAGS) ; do \
20205           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20206         done; \
20207         echo "Doing install-info in uudecode" ; \
20208         (cd $(HOST_SUBDIR)/uudecode && \
20209           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20210                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20211                   "RANLIB=$${RANLIB}" \
20212                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20213                   install-info) \
20214           || exit 1
20215
20216 @endif uudecode
20217
20218 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
20219 maybe-installcheck-uudecode:
20220 @if uudecode
20221 maybe-installcheck-uudecode: installcheck-uudecode
20222
20223 installcheck-uudecode: \
20224     configure-uudecode 
20225         @[ -f ./uudecode/Makefile ] || exit 0; \
20226         r=`${PWD_COMMAND}`; export r; \
20227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20228         $(HOST_EXPORTS) \
20229         for flag in $(EXTRA_HOST_FLAGS) ; do \
20230           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20231         done; \
20232         echo "Doing installcheck in uudecode" ; \
20233         (cd $(HOST_SUBDIR)/uudecode && \
20234           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20235                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20236                   "RANLIB=$${RANLIB}" \
20237                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20238                   installcheck) \
20239           || exit 1
20240
20241 @endif uudecode
20242
20243 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
20244 maybe-mostlyclean-uudecode:
20245 @if uudecode
20246 maybe-mostlyclean-uudecode: mostlyclean-uudecode
20247
20248 mostlyclean-uudecode: 
20249         @[ -f ./uudecode/Makefile ] || exit 0; \
20250         r=`${PWD_COMMAND}`; export r; \
20251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20252         $(HOST_EXPORTS) \
20253         for flag in $(EXTRA_HOST_FLAGS) ; do \
20254           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20255         done; \
20256         echo "Doing mostlyclean in uudecode" ; \
20257         (cd $(HOST_SUBDIR)/uudecode && \
20258           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20259                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20260                   "RANLIB=$${RANLIB}" \
20261                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20262                   mostlyclean) \
20263           || exit 1
20264
20265 @endif uudecode
20266
20267 .PHONY: maybe-clean-uudecode clean-uudecode
20268 maybe-clean-uudecode:
20269 @if uudecode
20270 maybe-clean-uudecode: clean-uudecode
20271
20272 clean-uudecode: 
20273         @[ -f ./uudecode/Makefile ] || exit 0; \
20274         r=`${PWD_COMMAND}`; export r; \
20275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20276         $(HOST_EXPORTS) \
20277         for flag in $(EXTRA_HOST_FLAGS) ; do \
20278           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20279         done; \
20280         echo "Doing clean in uudecode" ; \
20281         (cd $(HOST_SUBDIR)/uudecode && \
20282           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20283                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20284                   "RANLIB=$${RANLIB}" \
20285                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20286                   clean) \
20287           || exit 1
20288
20289 @endif uudecode
20290
20291 .PHONY: maybe-distclean-uudecode distclean-uudecode
20292 maybe-distclean-uudecode:
20293 @if uudecode
20294 maybe-distclean-uudecode: distclean-uudecode
20295
20296 distclean-uudecode: 
20297         @[ -f ./uudecode/Makefile ] || exit 0; \
20298         r=`${PWD_COMMAND}`; export r; \
20299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20300         $(HOST_EXPORTS) \
20301         for flag in $(EXTRA_HOST_FLAGS) ; do \
20302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20303         done; \
20304         echo "Doing distclean in uudecode" ; \
20305         (cd $(HOST_SUBDIR)/uudecode && \
20306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20308                   "RANLIB=$${RANLIB}" \
20309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20310                   distclean) \
20311           || exit 1
20312
20313 @endif uudecode
20314
20315 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
20316 maybe-maintainer-clean-uudecode:
20317 @if uudecode
20318 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
20319
20320 maintainer-clean-uudecode: 
20321         @[ -f ./uudecode/Makefile ] || exit 0; \
20322         r=`${PWD_COMMAND}`; export r; \
20323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20324         $(HOST_EXPORTS) \
20325         for flag in $(EXTRA_HOST_FLAGS) ; do \
20326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20327         done; \
20328         echo "Doing maintainer-clean in uudecode" ; \
20329         (cd $(HOST_SUBDIR)/uudecode && \
20330           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20331                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20332                   "RANLIB=$${RANLIB}" \
20333                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20334                   maintainer-clean) \
20335           || exit 1
20336
20337 @endif uudecode
20338
20339
20340 .PHONY: configure-wdiff maybe-configure-wdiff
20341 maybe-configure-wdiff:
20342 @if wdiff
20343 maybe-configure-wdiff: configure-wdiff
20344 configure-wdiff:
20345         @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
20346         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
20347         r=`${PWD_COMMAND}`; export r; \
20348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20349         $(HOST_EXPORTS) \
20350         echo Configuring in wdiff; \
20351         cd $(HOST_SUBDIR)/wdiff || exit 1; \
20352         case $(srcdir) in \
20353           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20354           *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
20355                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20356         esac; \
20357         srcdiroption="--srcdir=$${topdir}/wdiff"; \
20358         libsrcdir="$$s/wdiff"; \
20359         $(SHELL) $${libsrcdir}/configure \
20360           $(HOST_CONFIGARGS) $${srcdiroption}  \
20361           || exit 1
20362 @endif wdiff
20363
20364 .PHONY: all-wdiff maybe-all-wdiff
20365 maybe-all-wdiff:
20366 @if wdiff
20367 TARGET-wdiff=all
20368 maybe-all-wdiff: all-wdiff
20369 all-wdiff: configure-wdiff
20370         @r=`${PWD_COMMAND}`; export r; \
20371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20372         $(HOST_EXPORTS) \
20373         (cd $(HOST_SUBDIR)/wdiff && \
20374           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-wdiff))
20375 @endif wdiff
20376
20377 .PHONY: check-wdiff maybe-check-wdiff
20378 maybe-check-wdiff:
20379 @if wdiff
20380 maybe-check-wdiff: check-wdiff
20381
20382 check-wdiff:
20383         @r=`${PWD_COMMAND}`; export r; \
20384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20385         $(HOST_EXPORTS) \
20386         (cd $(HOST_SUBDIR)/wdiff && \
20387           $(MAKE) $(FLAGS_TO_PASS)  check)
20388
20389 @endif wdiff
20390
20391 .PHONY: install-wdiff maybe-install-wdiff
20392 maybe-install-wdiff:
20393 @if wdiff
20394 maybe-install-wdiff: install-wdiff
20395
20396 install-wdiff: installdirs
20397         @r=`${PWD_COMMAND}`; export r; \
20398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20399         $(HOST_EXPORTS) \
20400         (cd $(HOST_SUBDIR)/wdiff && \
20401           $(MAKE) $(FLAGS_TO_PASS)  install)
20402
20403 @endif wdiff
20404
20405 # Other targets (info, dvi, etc.)
20406
20407 .PHONY: maybe-info-wdiff info-wdiff
20408 maybe-info-wdiff:
20409 @if wdiff
20410 maybe-info-wdiff: info-wdiff
20411
20412 info-wdiff: \
20413     configure-wdiff 
20414         @[ -f ./wdiff/Makefile ] || exit 0; \
20415         r=`${PWD_COMMAND}`; export r; \
20416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in wdiff" ; \
20422         (cd $(HOST_SUBDIR)/wdiff && \
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                   info) \
20428           || exit 1
20429
20430 @endif wdiff
20431
20432 .PHONY: maybe-dvi-wdiff dvi-wdiff
20433 maybe-dvi-wdiff:
20434 @if wdiff
20435 maybe-dvi-wdiff: dvi-wdiff
20436
20437 dvi-wdiff: \
20438     configure-wdiff 
20439         @[ -f ./wdiff/Makefile ] || exit 0; \
20440         r=`${PWD_COMMAND}`; export r; \
20441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20442         $(HOST_EXPORTS) \
20443         for flag in $(EXTRA_HOST_FLAGS) ; do \
20444           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20445         done; \
20446         echo "Doing dvi in wdiff" ; \
20447         (cd $(HOST_SUBDIR)/wdiff && \
20448           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20449                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20450                   "RANLIB=$${RANLIB}" \
20451                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20452                   dvi) \
20453           || exit 1
20454
20455 @endif wdiff
20456
20457 .PHONY: maybe-html-wdiff html-wdiff
20458 maybe-html-wdiff:
20459 @if wdiff
20460 maybe-html-wdiff: html-wdiff
20461
20462 html-wdiff: \
20463     configure-wdiff 
20464         @[ -f ./wdiff/Makefile ] || exit 0; \
20465         r=`${PWD_COMMAND}`; export r; \
20466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20467         $(HOST_EXPORTS) \
20468         for flag in $(EXTRA_HOST_FLAGS) ; do \
20469           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20470         done; \
20471         echo "Doing html in wdiff" ; \
20472         (cd $(HOST_SUBDIR)/wdiff && \
20473           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20474                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20475                   "RANLIB=$${RANLIB}" \
20476                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20477                   html) \
20478           || exit 1
20479
20480 @endif wdiff
20481
20482 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
20483 maybe-TAGS-wdiff:
20484 @if wdiff
20485 maybe-TAGS-wdiff: TAGS-wdiff
20486
20487 TAGS-wdiff: \
20488     configure-wdiff 
20489         @[ -f ./wdiff/Makefile ] || exit 0; \
20490         r=`${PWD_COMMAND}`; export r; \
20491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20492         $(HOST_EXPORTS) \
20493         for flag in $(EXTRA_HOST_FLAGS) ; do \
20494           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20495         done; \
20496         echo "Doing TAGS in wdiff" ; \
20497         (cd $(HOST_SUBDIR)/wdiff && \
20498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20500                   "RANLIB=$${RANLIB}" \
20501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20502                   TAGS) \
20503           || exit 1
20504
20505 @endif wdiff
20506
20507 .PHONY: maybe-install-info-wdiff install-info-wdiff
20508 maybe-install-info-wdiff:
20509 @if wdiff
20510 maybe-install-info-wdiff: install-info-wdiff
20511
20512 install-info-wdiff: \
20513     configure-wdiff \
20514     info-wdiff 
20515         @[ -f ./wdiff/Makefile ] || exit 0; \
20516         r=`${PWD_COMMAND}`; export r; \
20517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20518         $(HOST_EXPORTS) \
20519         for flag in $(EXTRA_HOST_FLAGS) ; do \
20520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20521         done; \
20522         echo "Doing install-info in wdiff" ; \
20523         (cd $(HOST_SUBDIR)/wdiff && \
20524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20526                   "RANLIB=$${RANLIB}" \
20527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20528                   install-info) \
20529           || exit 1
20530
20531 @endif wdiff
20532
20533 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
20534 maybe-installcheck-wdiff:
20535 @if wdiff
20536 maybe-installcheck-wdiff: installcheck-wdiff
20537
20538 installcheck-wdiff: \
20539     configure-wdiff 
20540         @[ -f ./wdiff/Makefile ] || exit 0; \
20541         r=`${PWD_COMMAND}`; export r; \
20542         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543         $(HOST_EXPORTS) \
20544         for flag in $(EXTRA_HOST_FLAGS) ; do \
20545           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20546         done; \
20547         echo "Doing installcheck in wdiff" ; \
20548         (cd $(HOST_SUBDIR)/wdiff && \
20549           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20550                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20551                   "RANLIB=$${RANLIB}" \
20552                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20553                   installcheck) \
20554           || exit 1
20555
20556 @endif wdiff
20557
20558 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
20559 maybe-mostlyclean-wdiff:
20560 @if wdiff
20561 maybe-mostlyclean-wdiff: mostlyclean-wdiff
20562
20563 mostlyclean-wdiff: 
20564         @[ -f ./wdiff/Makefile ] || exit 0; \
20565         r=`${PWD_COMMAND}`; export r; \
20566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20567         $(HOST_EXPORTS) \
20568         for flag in $(EXTRA_HOST_FLAGS) ; do \
20569           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20570         done; \
20571         echo "Doing mostlyclean in wdiff" ; \
20572         (cd $(HOST_SUBDIR)/wdiff && \
20573           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20574                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20575                   "RANLIB=$${RANLIB}" \
20576                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20577                   mostlyclean) \
20578           || exit 1
20579
20580 @endif wdiff
20581
20582 .PHONY: maybe-clean-wdiff clean-wdiff
20583 maybe-clean-wdiff:
20584 @if wdiff
20585 maybe-clean-wdiff: clean-wdiff
20586
20587 clean-wdiff: 
20588         @[ -f ./wdiff/Makefile ] || exit 0; \
20589         r=`${PWD_COMMAND}`; export r; \
20590         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20591         $(HOST_EXPORTS) \
20592         for flag in $(EXTRA_HOST_FLAGS) ; do \
20593           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20594         done; \
20595         echo "Doing clean in wdiff" ; \
20596         (cd $(HOST_SUBDIR)/wdiff && \
20597           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20598                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20599                   "RANLIB=$${RANLIB}" \
20600                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20601                   clean) \
20602           || exit 1
20603
20604 @endif wdiff
20605
20606 .PHONY: maybe-distclean-wdiff distclean-wdiff
20607 maybe-distclean-wdiff:
20608 @if wdiff
20609 maybe-distclean-wdiff: distclean-wdiff
20610
20611 distclean-wdiff: 
20612         @[ -f ./wdiff/Makefile ] || exit 0; \
20613         r=`${PWD_COMMAND}`; export r; \
20614         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20615         $(HOST_EXPORTS) \
20616         for flag in $(EXTRA_HOST_FLAGS) ; do \
20617           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20618         done; \
20619         echo "Doing distclean in wdiff" ; \
20620         (cd $(HOST_SUBDIR)/wdiff && \
20621           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20622                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20623                   "RANLIB=$${RANLIB}" \
20624                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20625                   distclean) \
20626           || exit 1
20627
20628 @endif wdiff
20629
20630 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
20631 maybe-maintainer-clean-wdiff:
20632 @if wdiff
20633 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
20634
20635 maintainer-clean-wdiff: 
20636         @[ -f ./wdiff/Makefile ] || exit 0; \
20637         r=`${PWD_COMMAND}`; export r; \
20638         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639         $(HOST_EXPORTS) \
20640         for flag in $(EXTRA_HOST_FLAGS) ; do \
20641           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20642         done; \
20643         echo "Doing maintainer-clean in wdiff" ; \
20644         (cd $(HOST_SUBDIR)/wdiff && \
20645           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20646                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20647                   "RANLIB=$${RANLIB}" \
20648                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20649                   maintainer-clean) \
20650           || exit 1
20651
20652 @endif wdiff
20653
20654
20655 .PHONY: configure-zip maybe-configure-zip
20656 maybe-configure-zip:
20657 @if zip
20658 maybe-configure-zip: configure-zip
20659 configure-zip:
20660         @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
20661         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
20662         r=`${PWD_COMMAND}`; export r; \
20663         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664         $(HOST_EXPORTS) \
20665         echo Configuring in zip; \
20666         cd $(HOST_SUBDIR)/zip || exit 1; \
20667         case $(srcdir) in \
20668           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20669           *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
20670                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20671         esac; \
20672         srcdiroption="--srcdir=$${topdir}/zip"; \
20673         libsrcdir="$$s/zip"; \
20674         $(SHELL) $${libsrcdir}/configure \
20675           $(HOST_CONFIGARGS) $${srcdiroption}  \
20676           || exit 1
20677 @endif zip
20678
20679 .PHONY: all-zip maybe-all-zip
20680 maybe-all-zip:
20681 @if zip
20682 TARGET-zip=all
20683 maybe-all-zip: all-zip
20684 all-zip: configure-zip
20685         @r=`${PWD_COMMAND}`; export r; \
20686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20687         $(HOST_EXPORTS) \
20688         (cd $(HOST_SUBDIR)/zip && \
20689           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-zip))
20690 @endif zip
20691
20692 .PHONY: check-zip maybe-check-zip
20693 maybe-check-zip:
20694 @if zip
20695 maybe-check-zip: check-zip
20696
20697 # This module is only tested in a native toolchain.
20698 check-zip:
20699         @if [ '$(host)' = '$(target)' ] ; then \
20700           r=`${PWD_COMMAND}`; export r; \
20701           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20702           $(HOST_EXPORTS) \
20703           (cd $(HOST_SUBDIR)/zip && \
20704             $(MAKE) $(FLAGS_TO_PASS)  check); \
20705         fi
20706
20707 @endif zip
20708
20709 .PHONY: install-zip maybe-install-zip
20710 maybe-install-zip:
20711 @if zip
20712 maybe-install-zip: install-zip
20713
20714 install-zip: installdirs
20715         @r=`${PWD_COMMAND}`; export r; \
20716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20717         $(HOST_EXPORTS) \
20718         (cd $(HOST_SUBDIR)/zip && \
20719           $(MAKE) $(FLAGS_TO_PASS)  install)
20720
20721 @endif zip
20722
20723 # Other targets (info, dvi, etc.)
20724
20725 .PHONY: maybe-info-zip info-zip
20726 maybe-info-zip:
20727 @if zip
20728 maybe-info-zip: info-zip
20729
20730 info-zip: \
20731     configure-zip 
20732         @[ -f ./zip/Makefile ] || exit 0; \
20733         r=`${PWD_COMMAND}`; export r; \
20734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735         $(HOST_EXPORTS) \
20736         for flag in $(EXTRA_HOST_FLAGS) ; do \
20737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20738         done; \
20739         echo "Doing info in zip" ; \
20740         (cd $(HOST_SUBDIR)/zip && \
20741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20743                   "RANLIB=$${RANLIB}" \
20744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20745                   info) \
20746           || exit 1
20747
20748 @endif zip
20749
20750 .PHONY: maybe-dvi-zip dvi-zip
20751 maybe-dvi-zip:
20752 @if zip
20753 maybe-dvi-zip: dvi-zip
20754
20755 dvi-zip: \
20756     configure-zip 
20757         @[ -f ./zip/Makefile ] || exit 0; \
20758         r=`${PWD_COMMAND}`; export r; \
20759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760         $(HOST_EXPORTS) \
20761         for flag in $(EXTRA_HOST_FLAGS) ; do \
20762           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763         done; \
20764         echo "Doing dvi in zip" ; \
20765         (cd $(HOST_SUBDIR)/zip && \
20766           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768                   "RANLIB=$${RANLIB}" \
20769                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770                   dvi) \
20771           || exit 1
20772
20773 @endif zip
20774
20775 .PHONY: maybe-html-zip html-zip
20776 maybe-html-zip:
20777 @if zip
20778 maybe-html-zip: html-zip
20779
20780 html-zip: \
20781     configure-zip 
20782         @[ -f ./zip/Makefile ] || exit 0; \
20783         r=`${PWD_COMMAND}`; export r; \
20784         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785         $(HOST_EXPORTS) \
20786         for flag in $(EXTRA_HOST_FLAGS) ; do \
20787           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788         done; \
20789         echo "Doing html in zip" ; \
20790         (cd $(HOST_SUBDIR)/zip && \
20791           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793                   "RANLIB=$${RANLIB}" \
20794                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795                   html) \
20796           || exit 1
20797
20798 @endif zip
20799
20800 .PHONY: maybe-TAGS-zip TAGS-zip
20801 maybe-TAGS-zip:
20802 @if zip
20803 maybe-TAGS-zip: TAGS-zip
20804
20805 TAGS-zip: \
20806     configure-zip 
20807         @[ -f ./zip/Makefile ] || exit 0; \
20808         r=`${PWD_COMMAND}`; export r; \
20809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20810         $(HOST_EXPORTS) \
20811         for flag in $(EXTRA_HOST_FLAGS) ; do \
20812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20813         done; \
20814         echo "Doing TAGS in zip" ; \
20815         (cd $(HOST_SUBDIR)/zip && \
20816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20818                   "RANLIB=$${RANLIB}" \
20819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20820                   TAGS) \
20821           || exit 1
20822
20823 @endif zip
20824
20825 .PHONY: maybe-install-info-zip install-info-zip
20826 maybe-install-info-zip:
20827 @if zip
20828 maybe-install-info-zip: install-info-zip
20829
20830 install-info-zip: \
20831     configure-zip \
20832     info-zip 
20833         @[ -f ./zip/Makefile ] || exit 0; \
20834         r=`${PWD_COMMAND}`; export r; \
20835         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20836         $(HOST_EXPORTS) \
20837         for flag in $(EXTRA_HOST_FLAGS) ; do \
20838           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20839         done; \
20840         echo "Doing install-info in zip" ; \
20841         (cd $(HOST_SUBDIR)/zip && \
20842           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20843                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20844                   "RANLIB=$${RANLIB}" \
20845                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20846                   install-info) \
20847           || exit 1
20848
20849 @endif zip
20850
20851 .PHONY: maybe-installcheck-zip installcheck-zip
20852 maybe-installcheck-zip:
20853 @if zip
20854 maybe-installcheck-zip: installcheck-zip
20855
20856 installcheck-zip: \
20857     configure-zip 
20858         @[ -f ./zip/Makefile ] || exit 0; \
20859         r=`${PWD_COMMAND}`; export r; \
20860         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20861         $(HOST_EXPORTS) \
20862         for flag in $(EXTRA_HOST_FLAGS) ; do \
20863           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20864         done; \
20865         echo "Doing installcheck in zip" ; \
20866         (cd $(HOST_SUBDIR)/zip && \
20867           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20868                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20869                   "RANLIB=$${RANLIB}" \
20870                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20871                   installcheck) \
20872           || exit 1
20873
20874 @endif zip
20875
20876 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20877 maybe-mostlyclean-zip:
20878 @if zip
20879 maybe-mostlyclean-zip: mostlyclean-zip
20880
20881 mostlyclean-zip: 
20882         @[ -f ./zip/Makefile ] || exit 0; \
20883         r=`${PWD_COMMAND}`; export r; \
20884         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20885         $(HOST_EXPORTS) \
20886         for flag in $(EXTRA_HOST_FLAGS) ; do \
20887           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20888         done; \
20889         echo "Doing mostlyclean in zip" ; \
20890         (cd $(HOST_SUBDIR)/zip && \
20891           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20892                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20893                   "RANLIB=$${RANLIB}" \
20894                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20895                   mostlyclean) \
20896           || exit 1
20897
20898 @endif zip
20899
20900 .PHONY: maybe-clean-zip clean-zip
20901 maybe-clean-zip:
20902 @if zip
20903 maybe-clean-zip: clean-zip
20904
20905 clean-zip: 
20906         @[ -f ./zip/Makefile ] || exit 0; \
20907         r=`${PWD_COMMAND}`; export r; \
20908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20909         $(HOST_EXPORTS) \
20910         for flag in $(EXTRA_HOST_FLAGS) ; do \
20911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20912         done; \
20913         echo "Doing clean in zip" ; \
20914         (cd $(HOST_SUBDIR)/zip && \
20915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20917                   "RANLIB=$${RANLIB}" \
20918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20919                   clean) \
20920           || exit 1
20921
20922 @endif zip
20923
20924 .PHONY: maybe-distclean-zip distclean-zip
20925 maybe-distclean-zip:
20926 @if zip
20927 maybe-distclean-zip: distclean-zip
20928
20929 distclean-zip: 
20930         @[ -f ./zip/Makefile ] || exit 0; \
20931         r=`${PWD_COMMAND}`; export r; \
20932         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20933         $(HOST_EXPORTS) \
20934         for flag in $(EXTRA_HOST_FLAGS) ; do \
20935           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20936         done; \
20937         echo "Doing distclean in zip" ; \
20938         (cd $(HOST_SUBDIR)/zip && \
20939           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20940                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20941                   "RANLIB=$${RANLIB}" \
20942                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20943                   distclean) \
20944           || exit 1
20945
20946 @endif zip
20947
20948 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20949 maybe-maintainer-clean-zip:
20950 @if zip
20951 maybe-maintainer-clean-zip: maintainer-clean-zip
20952
20953 maintainer-clean-zip: 
20954         @[ -f ./zip/Makefile ] || exit 0; \
20955         r=`${PWD_COMMAND}`; export r; \
20956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957         $(HOST_EXPORTS) \
20958         for flag in $(EXTRA_HOST_FLAGS) ; do \
20959           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20960         done; \
20961         echo "Doing maintainer-clean in zip" ; \
20962         (cd $(HOST_SUBDIR)/zip && \
20963           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965                   "RANLIB=$${RANLIB}" \
20966                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20967                   maintainer-clean) \
20968           || exit 1
20969
20970 @endif zip
20971
20972
20973 .PHONY: configure-zlib maybe-configure-zlib
20974 maybe-configure-zlib:
20975 @if zlib
20976 maybe-configure-zlib: configure-zlib
20977 configure-zlib:
20978         @test -f stage_last && exit 0; \
20979         test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
20980         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
20981         r=`${PWD_COMMAND}`; export r; \
20982         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20983         $(HOST_EXPORTS) \
20984         echo Configuring in zlib; \
20985         cd $(HOST_SUBDIR)/zlib || exit 1; \
20986         case $(srcdir) in \
20987           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20988           *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
20989                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20990         esac; \
20991         srcdiroption="--srcdir=$${topdir}/zlib"; \
20992         libsrcdir="$$s/zlib"; \
20993         $(SHELL) $${libsrcdir}/configure \
20994           $(HOST_CONFIGARGS) $${srcdiroption}  \
20995           || exit 1
20996 @endif zlib
20997
20998 .PHONY: all-zlib maybe-all-zlib
20999 maybe-all-zlib:
21000 @if zlib
21001 TARGET-zlib=all
21002 maybe-all-zlib: all-zlib
21003 all-zlib: configure-zlib
21004         @test -f stage_last && exit 0; \
21005         r=`${PWD_COMMAND}`; export r; \
21006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21007         $(HOST_EXPORTS) \
21008         (cd $(HOST_SUBDIR)/zlib && \
21009           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-zlib))
21010 @endif zlib
21011
21012 .PHONY: check-zlib maybe-check-zlib
21013 maybe-check-zlib:
21014 @if zlib
21015 maybe-check-zlib: check-zlib
21016
21017 check-zlib:
21018
21019 @endif zlib
21020
21021 .PHONY: install-zlib maybe-install-zlib
21022 maybe-install-zlib:
21023 @if zlib
21024 maybe-install-zlib: install-zlib
21025
21026 install-zlib:
21027
21028 @endif zlib
21029
21030 # Other targets (info, dvi, etc.)
21031
21032 .PHONY: maybe-info-zlib info-zlib
21033 maybe-info-zlib:
21034 @if zlib
21035 maybe-info-zlib: info-zlib
21036
21037 info-zlib: \
21038     configure-zlib 
21039         @[ -f ./zlib/Makefile ] || exit 0; \
21040         r=`${PWD_COMMAND}`; export r; \
21041         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21042         $(HOST_EXPORTS) \
21043         for flag in $(EXTRA_HOST_FLAGS) ; do \
21044           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21045         done; \
21046         echo "Doing info in zlib" ; \
21047         (cd $(HOST_SUBDIR)/zlib && \
21048           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21049                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21050                   "RANLIB=$${RANLIB}" \
21051                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21052                   info) \
21053           || exit 1
21054
21055 @endif zlib
21056
21057 .PHONY: maybe-dvi-zlib dvi-zlib
21058 maybe-dvi-zlib:
21059 @if zlib
21060 maybe-dvi-zlib: dvi-zlib
21061
21062 dvi-zlib: \
21063     configure-zlib 
21064         @[ -f ./zlib/Makefile ] || exit 0; \
21065         r=`${PWD_COMMAND}`; export r; \
21066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21067         $(HOST_EXPORTS) \
21068         for flag in $(EXTRA_HOST_FLAGS) ; do \
21069           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21070         done; \
21071         echo "Doing dvi in zlib" ; \
21072         (cd $(HOST_SUBDIR)/zlib && \
21073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21075                   "RANLIB=$${RANLIB}" \
21076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21077                   dvi) \
21078           || exit 1
21079
21080 @endif zlib
21081
21082 .PHONY: maybe-html-zlib html-zlib
21083 maybe-html-zlib:
21084 @if zlib
21085 maybe-html-zlib: html-zlib
21086
21087 html-zlib: \
21088     configure-zlib 
21089         @[ -f ./zlib/Makefile ] || exit 0; \
21090         r=`${PWD_COMMAND}`; export r; \
21091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21092         $(HOST_EXPORTS) \
21093         for flag in $(EXTRA_HOST_FLAGS) ; do \
21094           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21095         done; \
21096         echo "Doing html in zlib" ; \
21097         (cd $(HOST_SUBDIR)/zlib && \
21098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21100                   "RANLIB=$${RANLIB}" \
21101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21102                   html) \
21103           || exit 1
21104
21105 @endif zlib
21106
21107 .PHONY: maybe-TAGS-zlib TAGS-zlib
21108 maybe-TAGS-zlib:
21109 @if zlib
21110 maybe-TAGS-zlib: TAGS-zlib
21111
21112 TAGS-zlib: \
21113     configure-zlib 
21114         @[ -f ./zlib/Makefile ] || exit 0; \
21115         r=`${PWD_COMMAND}`; export r; \
21116         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117         $(HOST_EXPORTS) \
21118         for flag in $(EXTRA_HOST_FLAGS) ; do \
21119           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21120         done; \
21121         echo "Doing TAGS in zlib" ; \
21122         (cd $(HOST_SUBDIR)/zlib && \
21123           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125                   "RANLIB=$${RANLIB}" \
21126                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21127                   TAGS) \
21128           || exit 1
21129
21130 @endif zlib
21131
21132 .PHONY: maybe-install-info-zlib install-info-zlib
21133 maybe-install-info-zlib:
21134 @if zlib
21135 maybe-install-info-zlib: install-info-zlib
21136
21137 install-info-zlib: \
21138     configure-zlib \
21139     info-zlib 
21140         @[ -f ./zlib/Makefile ] || exit 0; \
21141         r=`${PWD_COMMAND}`; export r; \
21142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143         $(HOST_EXPORTS) \
21144         for flag in $(EXTRA_HOST_FLAGS) ; do \
21145           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21146         done; \
21147         echo "Doing install-info in zlib" ; \
21148         (cd $(HOST_SUBDIR)/zlib && \
21149           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151                   "RANLIB=$${RANLIB}" \
21152                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21153                   install-info) \
21154           || exit 1
21155
21156 @endif zlib
21157
21158 .PHONY: maybe-installcheck-zlib installcheck-zlib
21159 maybe-installcheck-zlib:
21160 @if zlib
21161 maybe-installcheck-zlib: installcheck-zlib
21162
21163 installcheck-zlib: \
21164     configure-zlib 
21165         @[ -f ./zlib/Makefile ] || exit 0; \
21166         r=`${PWD_COMMAND}`; export r; \
21167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168         $(HOST_EXPORTS) \
21169         for flag in $(EXTRA_HOST_FLAGS) ; do \
21170           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21171         done; \
21172         echo "Doing installcheck in zlib" ; \
21173         (cd $(HOST_SUBDIR)/zlib && \
21174           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21175                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21176                   "RANLIB=$${RANLIB}" \
21177                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21178                   installcheck) \
21179           || exit 1
21180
21181 @endif zlib
21182
21183 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
21184 maybe-mostlyclean-zlib:
21185 @if zlib
21186 maybe-mostlyclean-zlib: mostlyclean-zlib
21187
21188 mostlyclean-zlib: 
21189         @[ -f ./zlib/Makefile ] || exit 0; \
21190         r=`${PWD_COMMAND}`; export r; \
21191         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192         $(HOST_EXPORTS) \
21193         for flag in $(EXTRA_HOST_FLAGS) ; do \
21194           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21195         done; \
21196         echo "Doing mostlyclean in zlib" ; \
21197         (cd $(HOST_SUBDIR)/zlib && \
21198           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21199                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21200                   "RANLIB=$${RANLIB}" \
21201                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21202                   mostlyclean) \
21203           || exit 1
21204
21205 @endif zlib
21206
21207 .PHONY: maybe-clean-zlib clean-zlib
21208 maybe-clean-zlib:
21209 @if zlib
21210 maybe-clean-zlib: clean-zlib
21211
21212 clean-zlib: 
21213         @[ -f ./zlib/Makefile ] || exit 0; \
21214         r=`${PWD_COMMAND}`; export r; \
21215         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21216         $(HOST_EXPORTS) \
21217         for flag in $(EXTRA_HOST_FLAGS) ; do \
21218           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21219         done; \
21220         echo "Doing clean in zlib" ; \
21221         (cd $(HOST_SUBDIR)/zlib && \
21222           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21223                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21224                   "RANLIB=$${RANLIB}" \
21225                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21226                   clean) \
21227           || exit 1
21228
21229 @endif zlib
21230
21231 .PHONY: maybe-distclean-zlib distclean-zlib
21232 maybe-distclean-zlib:
21233 @if zlib
21234 maybe-distclean-zlib: distclean-zlib
21235
21236 distclean-zlib: 
21237         @[ -f ./zlib/Makefile ] || exit 0; \
21238         r=`${PWD_COMMAND}`; export r; \
21239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21240         $(HOST_EXPORTS) \
21241         for flag in $(EXTRA_HOST_FLAGS) ; do \
21242           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21243         done; \
21244         echo "Doing distclean in zlib" ; \
21245         (cd $(HOST_SUBDIR)/zlib && \
21246           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21247                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21248                   "RANLIB=$${RANLIB}" \
21249                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21250                   distclean) \
21251           || exit 1
21252
21253 @endif zlib
21254
21255 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
21256 maybe-maintainer-clean-zlib:
21257 @if zlib
21258 maybe-maintainer-clean-zlib: maintainer-clean-zlib
21259
21260 maintainer-clean-zlib: 
21261         @[ -f ./zlib/Makefile ] || exit 0; \
21262         r=`${PWD_COMMAND}`; export r; \
21263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264         $(HOST_EXPORTS) \
21265         for flag in $(EXTRA_HOST_FLAGS) ; do \
21266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21267         done; \
21268         echo "Doing maintainer-clean in zlib" ; \
21269         (cd $(HOST_SUBDIR)/zlib && \
21270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21272                   "RANLIB=$${RANLIB}" \
21273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21274                   maintainer-clean) \
21275           || exit 1
21276
21277 @endif zlib
21278
21279
21280 .PHONY: configure-gdb maybe-configure-gdb
21281 maybe-configure-gdb:
21282 @if gdb
21283 maybe-configure-gdb: configure-gdb
21284 configure-gdb:
21285         @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
21286         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
21287         r=`${PWD_COMMAND}`; export r; \
21288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21289         $(HOST_EXPORTS) \
21290         echo Configuring in gdb; \
21291         cd $(HOST_SUBDIR)/gdb || exit 1; \
21292         case $(srcdir) in \
21293           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21294           *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
21295                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21296         esac; \
21297         srcdiroption="--srcdir=$${topdir}/gdb"; \
21298         libsrcdir="$$s/gdb"; \
21299         $(SHELL) $${libsrcdir}/configure \
21300           $(HOST_CONFIGARGS) $${srcdiroption}  \
21301           || exit 1
21302 @endif gdb
21303
21304 .PHONY: all-gdb maybe-all-gdb
21305 maybe-all-gdb:
21306 @if gdb
21307 TARGET-gdb=all
21308 maybe-all-gdb: all-gdb
21309 all-gdb: configure-gdb
21310         @r=`${PWD_COMMAND}`; export r; \
21311         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21312         $(HOST_EXPORTS) \
21313         (cd $(HOST_SUBDIR)/gdb && \
21314           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
21315 @endif gdb
21316
21317 .PHONY: check-gdb maybe-check-gdb
21318 maybe-check-gdb:
21319 @if gdb
21320 maybe-check-gdb: check-gdb
21321
21322 check-gdb:
21323         @r=`${PWD_COMMAND}`; export r; \
21324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325         $(HOST_EXPORTS) \
21326         (cd $(HOST_SUBDIR)/gdb && \
21327           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21328
21329 @endif gdb
21330
21331 .PHONY: install-gdb maybe-install-gdb
21332 maybe-install-gdb:
21333 @if gdb
21334 maybe-install-gdb: install-gdb
21335
21336 install-gdb: installdirs
21337         @r=`${PWD_COMMAND}`; export r; \
21338         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21339         $(HOST_EXPORTS) \
21340         (cd $(HOST_SUBDIR)/gdb && \
21341           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21342
21343 @endif gdb
21344
21345 # Other targets (info, dvi, etc.)
21346
21347 .PHONY: maybe-info-gdb info-gdb
21348 maybe-info-gdb:
21349 @if gdb
21350 maybe-info-gdb: info-gdb
21351
21352 info-gdb: \
21353     configure-gdb 
21354         @[ -f ./gdb/Makefile ] || exit 0; \
21355         r=`${PWD_COMMAND}`; export r; \
21356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21357         $(HOST_EXPORTS) \
21358         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21360         done; \
21361         echo "Doing info in gdb" ; \
21362         (cd $(HOST_SUBDIR)/gdb && \
21363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21365                   "RANLIB=$${RANLIB}" \
21366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21367                   info) \
21368           || exit 1
21369
21370 @endif gdb
21371
21372 .PHONY: maybe-dvi-gdb dvi-gdb
21373 maybe-dvi-gdb:
21374 @if gdb
21375 maybe-dvi-gdb: dvi-gdb
21376
21377 dvi-gdb: \
21378     configure-gdb 
21379         @[ -f ./gdb/Makefile ] || exit 0; \
21380         r=`${PWD_COMMAND}`; export r; \
21381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382         $(HOST_EXPORTS) \
21383         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21384           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21385         done; \
21386         echo "Doing dvi in gdb" ; \
21387         (cd $(HOST_SUBDIR)/gdb && \
21388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21390                   "RANLIB=$${RANLIB}" \
21391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21392                   dvi) \
21393           || exit 1
21394
21395 @endif gdb
21396
21397 .PHONY: maybe-html-gdb html-gdb
21398 maybe-html-gdb:
21399 @if gdb
21400 maybe-html-gdb: html-gdb
21401
21402 html-gdb: \
21403     configure-gdb 
21404         @[ -f ./gdb/Makefile ] || exit 0; \
21405         r=`${PWD_COMMAND}`; export r; \
21406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21407         $(HOST_EXPORTS) \
21408         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21409           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21410         done; \
21411         echo "Doing html in gdb" ; \
21412         (cd $(HOST_SUBDIR)/gdb && \
21413           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21414                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21415                   "RANLIB=$${RANLIB}" \
21416                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21417                   html) \
21418           || exit 1
21419
21420 @endif gdb
21421
21422 .PHONY: maybe-TAGS-gdb TAGS-gdb
21423 maybe-TAGS-gdb:
21424 @if gdb
21425 maybe-TAGS-gdb: TAGS-gdb
21426
21427 TAGS-gdb: \
21428     configure-gdb 
21429         @[ -f ./gdb/Makefile ] || exit 0; \
21430         r=`${PWD_COMMAND}`; export r; \
21431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432         $(HOST_EXPORTS) \
21433         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21434           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21435         done; \
21436         echo "Doing TAGS in gdb" ; \
21437         (cd $(HOST_SUBDIR)/gdb && \
21438           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21439                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21440                   "RANLIB=$${RANLIB}" \
21441                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21442                   TAGS) \
21443           || exit 1
21444
21445 @endif gdb
21446
21447 .PHONY: maybe-install-info-gdb install-info-gdb
21448 maybe-install-info-gdb:
21449 @if gdb
21450 maybe-install-info-gdb: install-info-gdb
21451
21452 install-info-gdb: \
21453     configure-gdb \
21454     info-gdb 
21455         @[ -f ./gdb/Makefile ] || exit 0; \
21456         r=`${PWD_COMMAND}`; export r; \
21457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21458         $(HOST_EXPORTS) \
21459         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21460           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21461         done; \
21462         echo "Doing install-info in gdb" ; \
21463         (cd $(HOST_SUBDIR)/gdb && \
21464           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21465                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21466                   "RANLIB=$${RANLIB}" \
21467                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21468                   install-info) \
21469           || exit 1
21470
21471 @endif gdb
21472
21473 .PHONY: maybe-installcheck-gdb installcheck-gdb
21474 maybe-installcheck-gdb:
21475 @if gdb
21476 maybe-installcheck-gdb: installcheck-gdb
21477
21478 installcheck-gdb: \
21479     configure-gdb 
21480         @[ -f ./gdb/Makefile ] || exit 0; \
21481         r=`${PWD_COMMAND}`; export r; \
21482         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21483         $(HOST_EXPORTS) \
21484         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21485           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21486         done; \
21487         echo "Doing installcheck in gdb" ; \
21488         (cd $(HOST_SUBDIR)/gdb && \
21489           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491                   "RANLIB=$${RANLIB}" \
21492                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21493                   installcheck) \
21494           || exit 1
21495
21496 @endif gdb
21497
21498 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
21499 maybe-mostlyclean-gdb:
21500 @if gdb
21501 maybe-mostlyclean-gdb: mostlyclean-gdb
21502
21503 mostlyclean-gdb: 
21504         @[ -f ./gdb/Makefile ] || exit 0; \
21505         r=`${PWD_COMMAND}`; export r; \
21506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507         $(HOST_EXPORTS) \
21508         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21510         done; \
21511         echo "Doing mostlyclean in gdb" ; \
21512         (cd $(HOST_SUBDIR)/gdb && \
21513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21515                   "RANLIB=$${RANLIB}" \
21516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21517                   mostlyclean) \
21518           || exit 1
21519
21520 @endif gdb
21521
21522 .PHONY: maybe-clean-gdb clean-gdb
21523 maybe-clean-gdb:
21524 @if gdb
21525 maybe-clean-gdb: clean-gdb
21526
21527 clean-gdb: 
21528         @[ -f ./gdb/Makefile ] || exit 0; \
21529         r=`${PWD_COMMAND}`; export r; \
21530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21531         $(HOST_EXPORTS) \
21532         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21533           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21534         done; \
21535         echo "Doing clean in gdb" ; \
21536         (cd $(HOST_SUBDIR)/gdb && \
21537           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21538                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21539                   "RANLIB=$${RANLIB}" \
21540                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21541                   clean) \
21542           || exit 1
21543
21544 @endif gdb
21545
21546 .PHONY: maybe-distclean-gdb distclean-gdb
21547 maybe-distclean-gdb:
21548 @if gdb
21549 maybe-distclean-gdb: distclean-gdb
21550
21551 distclean-gdb: 
21552         @[ -f ./gdb/Makefile ] || exit 0; \
21553         r=`${PWD_COMMAND}`; export r; \
21554         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21555         $(HOST_EXPORTS) \
21556         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21557           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21558         done; \
21559         echo "Doing distclean in gdb" ; \
21560         (cd $(HOST_SUBDIR)/gdb && \
21561           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21562                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21563                   "RANLIB=$${RANLIB}" \
21564                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21565                   distclean) \
21566           || exit 1
21567
21568 @endif gdb
21569
21570 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
21571 maybe-maintainer-clean-gdb:
21572 @if gdb
21573 maybe-maintainer-clean-gdb: maintainer-clean-gdb
21574
21575 maintainer-clean-gdb: 
21576         @[ -f ./gdb/Makefile ] || exit 0; \
21577         r=`${PWD_COMMAND}`; export r; \
21578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21579         $(HOST_EXPORTS) \
21580         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21581           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21582         done; \
21583         echo "Doing maintainer-clean in gdb" ; \
21584         (cd $(HOST_SUBDIR)/gdb && \
21585           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21586                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21587                   "RANLIB=$${RANLIB}" \
21588                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21589                   maintainer-clean) \
21590           || exit 1
21591
21592 @endif gdb
21593
21594
21595 .PHONY: configure-expect maybe-configure-expect
21596 maybe-configure-expect:
21597 @if expect
21598 maybe-configure-expect: configure-expect
21599 configure-expect:
21600         @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
21601         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
21602         r=`${PWD_COMMAND}`; export r; \
21603         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21604         $(HOST_EXPORTS) \
21605         echo Configuring in expect; \
21606         cd $(HOST_SUBDIR)/expect || exit 1; \
21607         case $(srcdir) in \
21608           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21609           *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
21610                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21611         esac; \
21612         srcdiroption="--srcdir=$${topdir}/expect"; \
21613         libsrcdir="$$s/expect"; \
21614         $(SHELL) $${libsrcdir}/configure \
21615           $(HOST_CONFIGARGS) $${srcdiroption}  \
21616           || exit 1
21617 @endif expect
21618
21619 .PHONY: all-expect maybe-all-expect
21620 maybe-all-expect:
21621 @if expect
21622 TARGET-expect=all
21623 maybe-all-expect: all-expect
21624 all-expect: configure-expect
21625         @r=`${PWD_COMMAND}`; export r; \
21626         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21627         $(HOST_EXPORTS) \
21628         (cd $(HOST_SUBDIR)/expect && \
21629           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
21630 @endif expect
21631
21632 .PHONY: check-expect maybe-check-expect
21633 maybe-check-expect:
21634 @if expect
21635 maybe-check-expect: check-expect
21636
21637 check-expect:
21638         @r=`${PWD_COMMAND}`; export r; \
21639         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21640         $(HOST_EXPORTS) \
21641         (cd $(HOST_SUBDIR)/expect && \
21642           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21643
21644 @endif expect
21645
21646 .PHONY: install-expect maybe-install-expect
21647 maybe-install-expect:
21648 @if expect
21649 maybe-install-expect: install-expect
21650
21651 install-expect: installdirs
21652         @r=`${PWD_COMMAND}`; export r; \
21653         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21654         $(HOST_EXPORTS) \
21655         (cd $(HOST_SUBDIR)/expect && \
21656           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21657
21658 @endif expect
21659
21660 # Other targets (info, dvi, etc.)
21661
21662 .PHONY: maybe-info-expect info-expect
21663 maybe-info-expect:
21664 @if expect
21665 maybe-info-expect: info-expect
21666
21667 info-expect: \
21668     configure-expect 
21669         @[ -f ./expect/Makefile ] || exit 0; \
21670         r=`${PWD_COMMAND}`; export r; \
21671         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21672         $(HOST_EXPORTS) \
21673         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21674           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21675         done; \
21676         echo "Doing info in expect" ; \
21677         (cd $(HOST_SUBDIR)/expect && \
21678           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21679                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21680                   "RANLIB=$${RANLIB}" \
21681                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21682                   info) \
21683           || exit 1
21684
21685 @endif expect
21686
21687 .PHONY: maybe-dvi-expect dvi-expect
21688 maybe-dvi-expect:
21689 @if expect
21690 maybe-dvi-expect: dvi-expect
21691
21692 dvi-expect: \
21693     configure-expect 
21694         @[ -f ./expect/Makefile ] || exit 0; \
21695         r=`${PWD_COMMAND}`; export r; \
21696         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21697         $(HOST_EXPORTS) \
21698         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21699           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21700         done; \
21701         echo "Doing dvi in expect" ; \
21702         (cd $(HOST_SUBDIR)/expect && \
21703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21705                   "RANLIB=$${RANLIB}" \
21706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21707                   dvi) \
21708           || exit 1
21709
21710 @endif expect
21711
21712 .PHONY: maybe-html-expect html-expect
21713 maybe-html-expect:
21714 @if expect
21715 maybe-html-expect: html-expect
21716
21717 html-expect: \
21718     configure-expect 
21719         @[ -f ./expect/Makefile ] || exit 0; \
21720         r=`${PWD_COMMAND}`; export r; \
21721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21722         $(HOST_EXPORTS) \
21723         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21724           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21725         done; \
21726         echo "Doing html in expect" ; \
21727         (cd $(HOST_SUBDIR)/expect && \
21728           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21729                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21730                   "RANLIB=$${RANLIB}" \
21731                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21732                   html) \
21733           || exit 1
21734
21735 @endif expect
21736
21737 .PHONY: maybe-TAGS-expect TAGS-expect
21738 maybe-TAGS-expect:
21739 @if expect
21740 maybe-TAGS-expect: TAGS-expect
21741
21742 TAGS-expect: \
21743     configure-expect 
21744         @[ -f ./expect/Makefile ] || exit 0; \
21745         r=`${PWD_COMMAND}`; export r; \
21746         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21747         $(HOST_EXPORTS) \
21748         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21749           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21750         done; \
21751         echo "Doing TAGS in expect" ; \
21752         (cd $(HOST_SUBDIR)/expect && \
21753           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21754                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21755                   "RANLIB=$${RANLIB}" \
21756                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21757                   TAGS) \
21758           || exit 1
21759
21760 @endif expect
21761
21762 .PHONY: maybe-install-info-expect install-info-expect
21763 maybe-install-info-expect:
21764 @if expect
21765 maybe-install-info-expect: install-info-expect
21766
21767 install-info-expect: \
21768     configure-expect \
21769     info-expect 
21770         @[ -f ./expect/Makefile ] || exit 0; \
21771         r=`${PWD_COMMAND}`; export r; \
21772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21773         $(HOST_EXPORTS) \
21774         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21775           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21776         done; \
21777         echo "Doing install-info in expect" ; \
21778         (cd $(HOST_SUBDIR)/expect && \
21779           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21780                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21781                   "RANLIB=$${RANLIB}" \
21782                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21783                   install-info) \
21784           || exit 1
21785
21786 @endif expect
21787
21788 .PHONY: maybe-installcheck-expect installcheck-expect
21789 maybe-installcheck-expect:
21790 @if expect
21791 maybe-installcheck-expect: installcheck-expect
21792
21793 installcheck-expect: \
21794     configure-expect 
21795         @[ -f ./expect/Makefile ] || exit 0; \
21796         r=`${PWD_COMMAND}`; export r; \
21797         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21798         $(HOST_EXPORTS) \
21799         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21800           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21801         done; \
21802         echo "Doing installcheck in expect" ; \
21803         (cd $(HOST_SUBDIR)/expect && \
21804           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21805                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21806                   "RANLIB=$${RANLIB}" \
21807                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21808                   installcheck) \
21809           || exit 1
21810
21811 @endif expect
21812
21813 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21814 maybe-mostlyclean-expect:
21815 @if expect
21816 maybe-mostlyclean-expect: mostlyclean-expect
21817
21818 mostlyclean-expect: 
21819         @[ -f ./expect/Makefile ] || exit 0; \
21820         r=`${PWD_COMMAND}`; export r; \
21821         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21822         $(HOST_EXPORTS) \
21823         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21824           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21825         done; \
21826         echo "Doing mostlyclean in expect" ; \
21827         (cd $(HOST_SUBDIR)/expect && \
21828           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21829                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21830                   "RANLIB=$${RANLIB}" \
21831                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21832                   mostlyclean) \
21833           || exit 1
21834
21835 @endif expect
21836
21837 .PHONY: maybe-clean-expect clean-expect
21838 maybe-clean-expect:
21839 @if expect
21840 maybe-clean-expect: clean-expect
21841
21842 clean-expect: 
21843         @[ -f ./expect/Makefile ] || exit 0; \
21844         r=`${PWD_COMMAND}`; export r; \
21845         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21846         $(HOST_EXPORTS) \
21847         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21848           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21849         done; \
21850         echo "Doing clean in expect" ; \
21851         (cd $(HOST_SUBDIR)/expect && \
21852           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21853                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21854                   "RANLIB=$${RANLIB}" \
21855                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21856                   clean) \
21857           || exit 1
21858
21859 @endif expect
21860
21861 .PHONY: maybe-distclean-expect distclean-expect
21862 maybe-distclean-expect:
21863 @if expect
21864 maybe-distclean-expect: distclean-expect
21865
21866 distclean-expect: 
21867         @[ -f ./expect/Makefile ] || exit 0; \
21868         r=`${PWD_COMMAND}`; export r; \
21869         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21870         $(HOST_EXPORTS) \
21871         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21872           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21873         done; \
21874         echo "Doing distclean in expect" ; \
21875         (cd $(HOST_SUBDIR)/expect && \
21876           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21877                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21878                   "RANLIB=$${RANLIB}" \
21879                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21880                   distclean) \
21881           || exit 1
21882
21883 @endif expect
21884
21885 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21886 maybe-maintainer-clean-expect:
21887 @if expect
21888 maybe-maintainer-clean-expect: maintainer-clean-expect
21889
21890 maintainer-clean-expect: 
21891         @[ -f ./expect/Makefile ] || exit 0; \
21892         r=`${PWD_COMMAND}`; export r; \
21893         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21894         $(HOST_EXPORTS) \
21895         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21896           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21897         done; \
21898         echo "Doing maintainer-clean in expect" ; \
21899         (cd $(HOST_SUBDIR)/expect && \
21900           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21901                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21902                   "RANLIB=$${RANLIB}" \
21903                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21904                   maintainer-clean) \
21905           || exit 1
21906
21907 @endif expect
21908
21909
21910 .PHONY: configure-guile maybe-configure-guile
21911 maybe-configure-guile:
21912 @if guile
21913 maybe-configure-guile: configure-guile
21914 configure-guile:
21915         @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
21916         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
21917         r=`${PWD_COMMAND}`; export r; \
21918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21919         $(HOST_EXPORTS) \
21920         echo Configuring in guile; \
21921         cd $(HOST_SUBDIR)/guile || exit 1; \
21922         case $(srcdir) in \
21923           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21924           *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
21925                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21926         esac; \
21927         srcdiroption="--srcdir=$${topdir}/guile"; \
21928         libsrcdir="$$s/guile"; \
21929         $(SHELL) $${libsrcdir}/configure \
21930           $(HOST_CONFIGARGS) $${srcdiroption}  \
21931           || exit 1
21932 @endif guile
21933
21934 .PHONY: all-guile maybe-all-guile
21935 maybe-all-guile:
21936 @if guile
21937 TARGET-guile=all
21938 maybe-all-guile: all-guile
21939 all-guile: configure-guile
21940         @r=`${PWD_COMMAND}`; export r; \
21941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942         $(HOST_EXPORTS) \
21943         (cd $(HOST_SUBDIR)/guile && \
21944           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
21945 @endif guile
21946
21947 .PHONY: check-guile maybe-check-guile
21948 maybe-check-guile:
21949 @if guile
21950 maybe-check-guile: check-guile
21951
21952 check-guile:
21953         @r=`${PWD_COMMAND}`; export r; \
21954         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955         $(HOST_EXPORTS) \
21956         (cd $(HOST_SUBDIR)/guile && \
21957           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21958
21959 @endif guile
21960
21961 .PHONY: install-guile maybe-install-guile
21962 maybe-install-guile:
21963 @if guile
21964 maybe-install-guile: install-guile
21965
21966 install-guile: installdirs
21967         @r=`${PWD_COMMAND}`; export r; \
21968         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21969         $(HOST_EXPORTS) \
21970         (cd $(HOST_SUBDIR)/guile && \
21971           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21972
21973 @endif guile
21974
21975 # Other targets (info, dvi, etc.)
21976
21977 .PHONY: maybe-info-guile info-guile
21978 maybe-info-guile:
21979 @if guile
21980 maybe-info-guile: info-guile
21981
21982 info-guile: \
21983     configure-guile 
21984         @[ -f ./guile/Makefile ] || exit 0; \
21985         r=`${PWD_COMMAND}`; export r; \
21986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21987         $(HOST_EXPORTS) \
21988         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21989           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21990         done; \
21991         echo "Doing info in guile" ; \
21992         (cd $(HOST_SUBDIR)/guile && \
21993           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21994                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21995                   "RANLIB=$${RANLIB}" \
21996                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21997                   info) \
21998           || exit 1
21999
22000 @endif guile
22001
22002 .PHONY: maybe-dvi-guile dvi-guile
22003 maybe-dvi-guile:
22004 @if guile
22005 maybe-dvi-guile: dvi-guile
22006
22007 dvi-guile: \
22008     configure-guile 
22009         @[ -f ./guile/Makefile ] || exit 0; \
22010         r=`${PWD_COMMAND}`; export r; \
22011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22012         $(HOST_EXPORTS) \
22013         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22014           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22015         done; \
22016         echo "Doing dvi in guile" ; \
22017         (cd $(HOST_SUBDIR)/guile && \
22018           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22019                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22020                   "RANLIB=$${RANLIB}" \
22021                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22022                   dvi) \
22023           || exit 1
22024
22025 @endif guile
22026
22027 .PHONY: maybe-html-guile html-guile
22028 maybe-html-guile:
22029 @if guile
22030 maybe-html-guile: html-guile
22031
22032 html-guile: \
22033     configure-guile 
22034         @[ -f ./guile/Makefile ] || exit 0; \
22035         r=`${PWD_COMMAND}`; export r; \
22036         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22037         $(HOST_EXPORTS) \
22038         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22039           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22040         done; \
22041         echo "Doing html in guile" ; \
22042         (cd $(HOST_SUBDIR)/guile && \
22043           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22044                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22045                   "RANLIB=$${RANLIB}" \
22046                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22047                   html) \
22048           || exit 1
22049
22050 @endif guile
22051
22052 .PHONY: maybe-TAGS-guile TAGS-guile
22053 maybe-TAGS-guile:
22054 @if guile
22055 maybe-TAGS-guile: TAGS-guile
22056
22057 TAGS-guile: \
22058     configure-guile 
22059         @[ -f ./guile/Makefile ] || exit 0; \
22060         r=`${PWD_COMMAND}`; export r; \
22061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22062         $(HOST_EXPORTS) \
22063         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22064           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22065         done; \
22066         echo "Doing TAGS in guile" ; \
22067         (cd $(HOST_SUBDIR)/guile && \
22068           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22069                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22070                   "RANLIB=$${RANLIB}" \
22071                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22072                   TAGS) \
22073           || exit 1
22074
22075 @endif guile
22076
22077 .PHONY: maybe-install-info-guile install-info-guile
22078 maybe-install-info-guile:
22079 @if guile
22080 maybe-install-info-guile: install-info-guile
22081
22082 install-info-guile: \
22083     configure-guile \
22084     info-guile 
22085         @[ -f ./guile/Makefile ] || exit 0; \
22086         r=`${PWD_COMMAND}`; export r; \
22087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088         $(HOST_EXPORTS) \
22089         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22090           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22091         done; \
22092         echo "Doing install-info in guile" ; \
22093         (cd $(HOST_SUBDIR)/guile && \
22094           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22095                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22096                   "RANLIB=$${RANLIB}" \
22097                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22098                   install-info) \
22099           || exit 1
22100
22101 @endif guile
22102
22103 .PHONY: maybe-installcheck-guile installcheck-guile
22104 maybe-installcheck-guile:
22105 @if guile
22106 maybe-installcheck-guile: installcheck-guile
22107
22108 installcheck-guile: \
22109     configure-guile 
22110         @[ -f ./guile/Makefile ] || exit 0; \
22111         r=`${PWD_COMMAND}`; export r; \
22112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113         $(HOST_EXPORTS) \
22114         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22115           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22116         done; \
22117         echo "Doing installcheck in guile" ; \
22118         (cd $(HOST_SUBDIR)/guile && \
22119           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22120                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22121                   "RANLIB=$${RANLIB}" \
22122                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22123                   installcheck) \
22124           || exit 1
22125
22126 @endif guile
22127
22128 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
22129 maybe-mostlyclean-guile:
22130 @if guile
22131 maybe-mostlyclean-guile: mostlyclean-guile
22132
22133 mostlyclean-guile: 
22134         @[ -f ./guile/Makefile ] || exit 0; \
22135         r=`${PWD_COMMAND}`; export r; \
22136         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22137         $(HOST_EXPORTS) \
22138         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22139           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22140         done; \
22141         echo "Doing mostlyclean in guile" ; \
22142         (cd $(HOST_SUBDIR)/guile && \
22143           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22144                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22145                   "RANLIB=$${RANLIB}" \
22146                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22147                   mostlyclean) \
22148           || exit 1
22149
22150 @endif guile
22151
22152 .PHONY: maybe-clean-guile clean-guile
22153 maybe-clean-guile:
22154 @if guile
22155 maybe-clean-guile: clean-guile
22156
22157 clean-guile: 
22158         @[ -f ./guile/Makefile ] || exit 0; \
22159         r=`${PWD_COMMAND}`; export r; \
22160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22161         $(HOST_EXPORTS) \
22162         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22163           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22164         done; \
22165         echo "Doing clean in guile" ; \
22166         (cd $(HOST_SUBDIR)/guile && \
22167           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22168                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22169                   "RANLIB=$${RANLIB}" \
22170                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22171                   clean) \
22172           || exit 1
22173
22174 @endif guile
22175
22176 .PHONY: maybe-distclean-guile distclean-guile
22177 maybe-distclean-guile:
22178 @if guile
22179 maybe-distclean-guile: distclean-guile
22180
22181 distclean-guile: 
22182         @[ -f ./guile/Makefile ] || exit 0; \
22183         r=`${PWD_COMMAND}`; export r; \
22184         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22185         $(HOST_EXPORTS) \
22186         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22187           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22188         done; \
22189         echo "Doing distclean in guile" ; \
22190         (cd $(HOST_SUBDIR)/guile && \
22191           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22192                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22193                   "RANLIB=$${RANLIB}" \
22194                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22195                   distclean) \
22196           || exit 1
22197
22198 @endif guile
22199
22200 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
22201 maybe-maintainer-clean-guile:
22202 @if guile
22203 maybe-maintainer-clean-guile: maintainer-clean-guile
22204
22205 maintainer-clean-guile: 
22206         @[ -f ./guile/Makefile ] || exit 0; \
22207         r=`${PWD_COMMAND}`; export r; \
22208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209         $(HOST_EXPORTS) \
22210         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22211           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22212         done; \
22213         echo "Doing maintainer-clean in guile" ; \
22214         (cd $(HOST_SUBDIR)/guile && \
22215           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22216                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22217                   "RANLIB=$${RANLIB}" \
22218                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22219                   maintainer-clean) \
22220           || exit 1
22221
22222 @endif guile
22223
22224
22225 .PHONY: configure-tk maybe-configure-tk
22226 maybe-configure-tk:
22227 @if tk
22228 maybe-configure-tk: configure-tk
22229 configure-tk:
22230         @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
22231         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
22232         r=`${PWD_COMMAND}`; export r; \
22233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22234         $(HOST_EXPORTS) \
22235         echo Configuring in tk; \
22236         cd $(HOST_SUBDIR)/tk || exit 1; \
22237         case $(srcdir) in \
22238           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22239           *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
22240                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22241         esac; \
22242         srcdiroption="--srcdir=$${topdir}/tk"; \
22243         libsrcdir="$$s/tk"; \
22244         $(SHELL) $${libsrcdir}/configure \
22245           $(HOST_CONFIGARGS) $${srcdiroption}  \
22246           || exit 1
22247 @endif tk
22248
22249 .PHONY: all-tk maybe-all-tk
22250 maybe-all-tk:
22251 @if tk
22252 TARGET-tk=all
22253 maybe-all-tk: all-tk
22254 all-tk: configure-tk
22255         @r=`${PWD_COMMAND}`; export r; \
22256         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22257         $(HOST_EXPORTS) \
22258         (cd $(HOST_SUBDIR)/tk && \
22259           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
22260 @endif tk
22261
22262 .PHONY: check-tk maybe-check-tk
22263 maybe-check-tk:
22264 @if tk
22265 maybe-check-tk: check-tk
22266
22267 check-tk:
22268         @r=`${PWD_COMMAND}`; export r; \
22269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22270         $(HOST_EXPORTS) \
22271         (cd $(HOST_SUBDIR)/tk && \
22272           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22273
22274 @endif tk
22275
22276 .PHONY: install-tk maybe-install-tk
22277 maybe-install-tk:
22278 @if tk
22279 maybe-install-tk: install-tk
22280
22281 install-tk: installdirs
22282         @r=`${PWD_COMMAND}`; export r; \
22283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22284         $(HOST_EXPORTS) \
22285         (cd $(HOST_SUBDIR)/tk && \
22286           $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22287
22288 @endif tk
22289
22290 # Other targets (info, dvi, etc.)
22291
22292 .PHONY: maybe-info-tk info-tk
22293 maybe-info-tk:
22294 @if tk
22295 maybe-info-tk: info-tk
22296
22297 info-tk: \
22298     configure-tk 
22299         @[ -f ./tk/Makefile ] || exit 0; \
22300         r=`${PWD_COMMAND}`; export r; \
22301         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22302         $(HOST_EXPORTS) \
22303         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22304           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22305         done; \
22306         echo "Doing info in tk" ; \
22307         (cd $(HOST_SUBDIR)/tk && \
22308           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22309                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22310                   "RANLIB=$${RANLIB}" \
22311                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22312                   info) \
22313           || exit 1
22314
22315 @endif tk
22316
22317 .PHONY: maybe-dvi-tk dvi-tk
22318 maybe-dvi-tk:
22319 @if tk
22320 maybe-dvi-tk: dvi-tk
22321
22322 dvi-tk: \
22323     configure-tk 
22324         @[ -f ./tk/Makefile ] || exit 0; \
22325         r=`${PWD_COMMAND}`; export r; \
22326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327         $(HOST_EXPORTS) \
22328         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22330         done; \
22331         echo "Doing dvi in tk" ; \
22332         (cd $(HOST_SUBDIR)/tk && \
22333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22335                   "RANLIB=$${RANLIB}" \
22336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22337                   dvi) \
22338           || exit 1
22339
22340 @endif tk
22341
22342 .PHONY: maybe-html-tk html-tk
22343 maybe-html-tk:
22344 @if tk
22345 maybe-html-tk: html-tk
22346
22347 html-tk: \
22348     configure-tk 
22349         @[ -f ./tk/Makefile ] || exit 0; \
22350         r=`${PWD_COMMAND}`; export r; \
22351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22352         $(HOST_EXPORTS) \
22353         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22355         done; \
22356         echo "Doing html in tk" ; \
22357         (cd $(HOST_SUBDIR)/tk && \
22358           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22359                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22360                   "RANLIB=$${RANLIB}" \
22361                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22362                   html) \
22363           || exit 1
22364
22365 @endif tk
22366
22367 .PHONY: maybe-TAGS-tk TAGS-tk
22368 maybe-TAGS-tk:
22369 @if tk
22370 maybe-TAGS-tk: TAGS-tk
22371
22372 TAGS-tk: \
22373     configure-tk 
22374         @[ -f ./tk/Makefile ] || exit 0; \
22375         r=`${PWD_COMMAND}`; export r; \
22376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22377         $(HOST_EXPORTS) \
22378         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22380         done; \
22381         echo "Doing TAGS in tk" ; \
22382         (cd $(HOST_SUBDIR)/tk && \
22383           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22384                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22385                   "RANLIB=$${RANLIB}" \
22386                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22387                   TAGS) \
22388           || exit 1
22389
22390 @endif tk
22391
22392 .PHONY: maybe-install-info-tk install-info-tk
22393 maybe-install-info-tk:
22394 @if tk
22395 maybe-install-info-tk: install-info-tk
22396
22397 install-info-tk: \
22398     configure-tk \
22399     info-tk 
22400         @[ -f ./tk/Makefile ] || exit 0; \
22401         r=`${PWD_COMMAND}`; export r; \
22402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22403         $(HOST_EXPORTS) \
22404         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22406         done; \
22407         echo "Doing install-info in tk" ; \
22408         (cd $(HOST_SUBDIR)/tk && \
22409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22411                   "RANLIB=$${RANLIB}" \
22412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22413                   install-info) \
22414           || exit 1
22415
22416 @endif tk
22417
22418 .PHONY: maybe-installcheck-tk installcheck-tk
22419 maybe-installcheck-tk:
22420 @if tk
22421 maybe-installcheck-tk: installcheck-tk
22422
22423 installcheck-tk: \
22424     configure-tk 
22425         @[ -f ./tk/Makefile ] || exit 0; \
22426         r=`${PWD_COMMAND}`; export r; \
22427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428         $(HOST_EXPORTS) \
22429         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22431         done; \
22432         echo "Doing installcheck in tk" ; \
22433         (cd $(HOST_SUBDIR)/tk && \
22434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436                   "RANLIB=$${RANLIB}" \
22437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22438                   installcheck) \
22439           || exit 1
22440
22441 @endif tk
22442
22443 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
22444 maybe-mostlyclean-tk:
22445 @if tk
22446 maybe-mostlyclean-tk: mostlyclean-tk
22447
22448 mostlyclean-tk: 
22449         @[ -f ./tk/Makefile ] || exit 0; \
22450         r=`${PWD_COMMAND}`; export r; \
22451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22452         $(HOST_EXPORTS) \
22453         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22454           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22455         done; \
22456         echo "Doing mostlyclean in tk" ; \
22457         (cd $(HOST_SUBDIR)/tk && \
22458           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22459                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22460                   "RANLIB=$${RANLIB}" \
22461                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22462                   mostlyclean) \
22463           || exit 1
22464
22465 @endif tk
22466
22467 .PHONY: maybe-clean-tk clean-tk
22468 maybe-clean-tk:
22469 @if tk
22470 maybe-clean-tk: clean-tk
22471
22472 clean-tk: 
22473         @[ -f ./tk/Makefile ] || exit 0; \
22474         r=`${PWD_COMMAND}`; export r; \
22475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22476         $(HOST_EXPORTS) \
22477         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22479         done; \
22480         echo "Doing clean in tk" ; \
22481         (cd $(HOST_SUBDIR)/tk && \
22482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22484                   "RANLIB=$${RANLIB}" \
22485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22486                   clean) \
22487           || exit 1
22488
22489 @endif tk
22490
22491 .PHONY: maybe-distclean-tk distclean-tk
22492 maybe-distclean-tk:
22493 @if tk
22494 maybe-distclean-tk: distclean-tk
22495
22496 distclean-tk: 
22497         @[ -f ./tk/Makefile ] || exit 0; \
22498         r=`${PWD_COMMAND}`; export r; \
22499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22500         $(HOST_EXPORTS) \
22501         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22503         done; \
22504         echo "Doing distclean in tk" ; \
22505         (cd $(HOST_SUBDIR)/tk && \
22506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22508                   "RANLIB=$${RANLIB}" \
22509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22510                   distclean) \
22511           || exit 1
22512
22513 @endif tk
22514
22515 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
22516 maybe-maintainer-clean-tk:
22517 @if tk
22518 maybe-maintainer-clean-tk: maintainer-clean-tk
22519
22520 maintainer-clean-tk: 
22521         @[ -f ./tk/Makefile ] || exit 0; \
22522         r=`${PWD_COMMAND}`; export r; \
22523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22524         $(HOST_EXPORTS) \
22525         for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22527         done; \
22528         echo "Doing maintainer-clean in tk" ; \
22529         (cd $(HOST_SUBDIR)/tk && \
22530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22532                   "RANLIB=$${RANLIB}" \
22533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22534                   maintainer-clean) \
22535           || exit 1
22536
22537 @endif tk
22538
22539
22540 .PHONY: configure-libtermcap maybe-configure-libtermcap
22541 maybe-configure-libtermcap:
22542 @if libtermcap
22543 maybe-configure-libtermcap: configure-libtermcap
22544 configure-libtermcap:
22545         @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
22546         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
22547         r=`${PWD_COMMAND}`; export r; \
22548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22549         $(HOST_EXPORTS) \
22550         echo Configuring in libtermcap; \
22551         cd $(HOST_SUBDIR)/libtermcap || exit 1; \
22552         case $(srcdir) in \
22553           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22554           *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
22555                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22556         esac; \
22557         srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22558         libsrcdir="$$s/libtermcap"; \
22559         $(SHELL) $${libsrcdir}/configure \
22560           $(HOST_CONFIGARGS) $${srcdiroption}  \
22561           || exit 1
22562 @endif libtermcap
22563
22564 .PHONY: all-libtermcap maybe-all-libtermcap
22565 maybe-all-libtermcap:
22566 @if libtermcap
22567 TARGET-libtermcap=all
22568 maybe-all-libtermcap: all-libtermcap
22569 all-libtermcap: configure-libtermcap
22570         @r=`${PWD_COMMAND}`; export r; \
22571         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22572         $(HOST_EXPORTS) \
22573         (cd $(HOST_SUBDIR)/libtermcap && \
22574           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-libtermcap))
22575 @endif libtermcap
22576
22577 .PHONY: check-libtermcap maybe-check-libtermcap
22578 maybe-check-libtermcap:
22579 @if libtermcap
22580 maybe-check-libtermcap: check-libtermcap
22581
22582 check-libtermcap:
22583
22584 @endif libtermcap
22585
22586 .PHONY: install-libtermcap maybe-install-libtermcap
22587 maybe-install-libtermcap:
22588 @if libtermcap
22589 maybe-install-libtermcap: install-libtermcap
22590
22591 install-libtermcap: installdirs
22592         @r=`${PWD_COMMAND}`; export r; \
22593         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22594         $(HOST_EXPORTS) \
22595         (cd $(HOST_SUBDIR)/libtermcap && \
22596           $(MAKE) $(FLAGS_TO_PASS)  install)
22597
22598 @endif libtermcap
22599
22600 # Other targets (info, dvi, etc.)
22601
22602 .PHONY: maybe-info-libtermcap info-libtermcap
22603 maybe-info-libtermcap:
22604 @if libtermcap
22605 maybe-info-libtermcap: info-libtermcap
22606
22607 info-libtermcap: \
22608     configure-libtermcap 
22609         @[ -f ./libtermcap/Makefile ] || exit 0; \
22610         r=`${PWD_COMMAND}`; export r; \
22611         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22612         $(HOST_EXPORTS) \
22613         for flag in $(EXTRA_HOST_FLAGS) ; do \
22614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22615         done; \
22616         echo "Doing info in libtermcap" ; \
22617         (cd $(HOST_SUBDIR)/libtermcap && \
22618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620                   "RANLIB=$${RANLIB}" \
22621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22622                   info) \
22623           || exit 1
22624
22625 @endif libtermcap
22626
22627 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
22628 maybe-dvi-libtermcap:
22629 @if libtermcap
22630 maybe-dvi-libtermcap: dvi-libtermcap
22631
22632 dvi-libtermcap: \
22633     configure-libtermcap 
22634         @[ -f ./libtermcap/Makefile ] || exit 0; \
22635         r=`${PWD_COMMAND}`; export r; \
22636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22637         $(HOST_EXPORTS) \
22638         for flag in $(EXTRA_HOST_FLAGS) ; do \
22639           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22640         done; \
22641         echo "Doing dvi in libtermcap" ; \
22642         (cd $(HOST_SUBDIR)/libtermcap && \
22643           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22644                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22645                   "RANLIB=$${RANLIB}" \
22646                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22647                   dvi) \
22648           || exit 1
22649
22650 @endif libtermcap
22651
22652 .PHONY: maybe-html-libtermcap html-libtermcap
22653 maybe-html-libtermcap:
22654 @if libtermcap
22655 maybe-html-libtermcap: html-libtermcap
22656
22657 html-libtermcap: \
22658     configure-libtermcap 
22659         @[ -f ./libtermcap/Makefile ] || exit 0; \
22660         r=`${PWD_COMMAND}`; export r; \
22661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22662         $(HOST_EXPORTS) \
22663         for flag in $(EXTRA_HOST_FLAGS) ; do \
22664           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22665         done; \
22666         echo "Doing html in libtermcap" ; \
22667         (cd $(HOST_SUBDIR)/libtermcap && \
22668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22670                   "RANLIB=$${RANLIB}" \
22671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22672                   html) \
22673           || exit 1
22674
22675 @endif libtermcap
22676
22677 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
22678 maybe-TAGS-libtermcap:
22679 @if libtermcap
22680 maybe-TAGS-libtermcap: TAGS-libtermcap
22681
22682 TAGS-libtermcap: \
22683     configure-libtermcap 
22684         @[ -f ./libtermcap/Makefile ] || exit 0; \
22685         r=`${PWD_COMMAND}`; export r; \
22686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22687         $(HOST_EXPORTS) \
22688         for flag in $(EXTRA_HOST_FLAGS) ; do \
22689           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22690         done; \
22691         echo "Doing TAGS in libtermcap" ; \
22692         (cd $(HOST_SUBDIR)/libtermcap && \
22693           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22694                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22695                   "RANLIB=$${RANLIB}" \
22696                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22697                   TAGS) \
22698           || exit 1
22699
22700 @endif libtermcap
22701
22702 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
22703 maybe-install-info-libtermcap:
22704 @if libtermcap
22705 maybe-install-info-libtermcap: install-info-libtermcap
22706
22707 install-info-libtermcap: \
22708     configure-libtermcap \
22709     info-libtermcap 
22710         @[ -f ./libtermcap/Makefile ] || exit 0; \
22711         r=`${PWD_COMMAND}`; export r; \
22712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22713         $(HOST_EXPORTS) \
22714         for flag in $(EXTRA_HOST_FLAGS) ; do \
22715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22716         done; \
22717         echo "Doing install-info in libtermcap" ; \
22718         (cd $(HOST_SUBDIR)/libtermcap && \
22719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22721                   "RANLIB=$${RANLIB}" \
22722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22723                   install-info) \
22724           || exit 1
22725
22726 @endif libtermcap
22727
22728 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
22729 maybe-installcheck-libtermcap:
22730 @if libtermcap
22731 maybe-installcheck-libtermcap: installcheck-libtermcap
22732
22733 installcheck-libtermcap: \
22734     configure-libtermcap 
22735         @[ -f ./libtermcap/Makefile ] || exit 0; \
22736         r=`${PWD_COMMAND}`; export r; \
22737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22738         $(HOST_EXPORTS) \
22739         for flag in $(EXTRA_HOST_FLAGS) ; do \
22740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22741         done; \
22742         echo "Doing installcheck in libtermcap" ; \
22743         (cd $(HOST_SUBDIR)/libtermcap && \
22744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22746                   "RANLIB=$${RANLIB}" \
22747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22748                   installcheck) \
22749           || exit 1
22750
22751 @endif libtermcap
22752
22753 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22754 maybe-mostlyclean-libtermcap:
22755 @if libtermcap
22756 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22757
22758 # libtermcap doesn't support mostlyclean.
22759 mostlyclean-libtermcap:
22760
22761 @endif libtermcap
22762
22763 .PHONY: maybe-clean-libtermcap clean-libtermcap
22764 maybe-clean-libtermcap:
22765 @if libtermcap
22766 maybe-clean-libtermcap: clean-libtermcap
22767
22768 # libtermcap doesn't support clean.
22769 clean-libtermcap:
22770
22771 @endif libtermcap
22772
22773 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22774 maybe-distclean-libtermcap:
22775 @if libtermcap
22776 maybe-distclean-libtermcap: distclean-libtermcap
22777
22778 # libtermcap doesn't support distclean.
22779 distclean-libtermcap:
22780
22781 @endif libtermcap
22782
22783 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22784 maybe-maintainer-clean-libtermcap:
22785 @if libtermcap
22786 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22787
22788 # libtermcap doesn't support maintainer-clean.
22789 maintainer-clean-libtermcap:
22790
22791 @endif libtermcap
22792
22793
22794 .PHONY: configure-utils maybe-configure-utils
22795 maybe-configure-utils:
22796 @if utils
22797 maybe-configure-utils: configure-utils
22798 configure-utils:
22799         @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
22800         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
22801         r=`${PWD_COMMAND}`; export r; \
22802         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22803         $(HOST_EXPORTS) \
22804         echo Configuring in utils; \
22805         cd $(HOST_SUBDIR)/utils || exit 1; \
22806         case $(srcdir) in \
22807           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22808           *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
22809                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22810         esac; \
22811         srcdiroption="--srcdir=$${topdir}/utils"; \
22812         libsrcdir="$$s/utils"; \
22813         $(SHELL) $${libsrcdir}/configure \
22814           $(HOST_CONFIGARGS) $${srcdiroption}  \
22815           || exit 1
22816 @endif utils
22817
22818 .PHONY: all-utils maybe-all-utils
22819 maybe-all-utils:
22820 @if utils
22821 TARGET-utils=all
22822 maybe-all-utils: all-utils
22823 all-utils: configure-utils
22824         @r=`${PWD_COMMAND}`; export r; \
22825         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22826         $(HOST_EXPORTS) \
22827         (cd $(HOST_SUBDIR)/utils && \
22828           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-utils))
22829 @endif utils
22830
22831 .PHONY: check-utils maybe-check-utils
22832 maybe-check-utils:
22833 @if utils
22834 maybe-check-utils: check-utils
22835
22836 check-utils:
22837
22838 @endif utils
22839
22840 .PHONY: install-utils maybe-install-utils
22841 maybe-install-utils:
22842 @if utils
22843 maybe-install-utils: install-utils
22844
22845 install-utils: installdirs
22846         @r=`${PWD_COMMAND}`; export r; \
22847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848         $(HOST_EXPORTS) \
22849         (cd $(HOST_SUBDIR)/utils && \
22850           $(MAKE) $(FLAGS_TO_PASS)  install)
22851
22852 @endif utils
22853
22854 # Other targets (info, dvi, etc.)
22855
22856 .PHONY: maybe-info-utils info-utils
22857 maybe-info-utils:
22858 @if utils
22859 maybe-info-utils: info-utils
22860
22861 info-utils: \
22862     configure-utils 
22863         @[ -f ./utils/Makefile ] || exit 0; \
22864         r=`${PWD_COMMAND}`; export r; \
22865         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22866         $(HOST_EXPORTS) \
22867         for flag in $(EXTRA_HOST_FLAGS) ; do \
22868           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22869         done; \
22870         echo "Doing info in utils" ; \
22871         (cd $(HOST_SUBDIR)/utils && \
22872           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22873                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22874                   "RANLIB=$${RANLIB}" \
22875                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22876                   info) \
22877           || exit 1
22878
22879 @endif utils
22880
22881 .PHONY: maybe-dvi-utils dvi-utils
22882 maybe-dvi-utils:
22883 @if utils
22884 maybe-dvi-utils: dvi-utils
22885
22886 dvi-utils: \
22887     configure-utils 
22888         @[ -f ./utils/Makefile ] || exit 0; \
22889         r=`${PWD_COMMAND}`; export r; \
22890         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22891         $(HOST_EXPORTS) \
22892         for flag in $(EXTRA_HOST_FLAGS) ; do \
22893           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22894         done; \
22895         echo "Doing dvi in utils" ; \
22896         (cd $(HOST_SUBDIR)/utils && \
22897           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22898                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22899                   "RANLIB=$${RANLIB}" \
22900                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22901                   dvi) \
22902           || exit 1
22903
22904 @endif utils
22905
22906 .PHONY: maybe-html-utils html-utils
22907 maybe-html-utils:
22908 @if utils
22909 maybe-html-utils: html-utils
22910
22911 html-utils: \
22912     configure-utils 
22913         @[ -f ./utils/Makefile ] || exit 0; \
22914         r=`${PWD_COMMAND}`; export r; \
22915         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22916         $(HOST_EXPORTS) \
22917         for flag in $(EXTRA_HOST_FLAGS) ; do \
22918           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22919         done; \
22920         echo "Doing html in utils" ; \
22921         (cd $(HOST_SUBDIR)/utils && \
22922           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22923                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22924                   "RANLIB=$${RANLIB}" \
22925                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22926                   html) \
22927           || exit 1
22928
22929 @endif utils
22930
22931 .PHONY: maybe-TAGS-utils TAGS-utils
22932 maybe-TAGS-utils:
22933 @if utils
22934 maybe-TAGS-utils: TAGS-utils
22935
22936 TAGS-utils: \
22937     configure-utils 
22938         @[ -f ./utils/Makefile ] || exit 0; \
22939         r=`${PWD_COMMAND}`; export r; \
22940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22941         $(HOST_EXPORTS) \
22942         for flag in $(EXTRA_HOST_FLAGS) ; do \
22943           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22944         done; \
22945         echo "Doing TAGS in utils" ; \
22946         (cd $(HOST_SUBDIR)/utils && \
22947           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22948                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22949                   "RANLIB=$${RANLIB}" \
22950                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22951                   TAGS) \
22952           || exit 1
22953
22954 @endif utils
22955
22956 .PHONY: maybe-install-info-utils install-info-utils
22957 maybe-install-info-utils:
22958 @if utils
22959 maybe-install-info-utils: install-info-utils
22960
22961 install-info-utils: \
22962     configure-utils \
22963     info-utils 
22964         @[ -f ./utils/Makefile ] || exit 0; \
22965         r=`${PWD_COMMAND}`; export r; \
22966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967         $(HOST_EXPORTS) \
22968         for flag in $(EXTRA_HOST_FLAGS) ; do \
22969           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22970         done; \
22971         echo "Doing install-info in utils" ; \
22972         (cd $(HOST_SUBDIR)/utils && \
22973           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22974                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22975                   "RANLIB=$${RANLIB}" \
22976                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22977                   install-info) \
22978           || exit 1
22979
22980 @endif utils
22981
22982 .PHONY: maybe-installcheck-utils installcheck-utils
22983 maybe-installcheck-utils:
22984 @if utils
22985 maybe-installcheck-utils: installcheck-utils
22986
22987 installcheck-utils: \
22988     configure-utils 
22989         @[ -f ./utils/Makefile ] || exit 0; \
22990         r=`${PWD_COMMAND}`; export r; \
22991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992         $(HOST_EXPORTS) \
22993         for flag in $(EXTRA_HOST_FLAGS) ; do \
22994           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22995         done; \
22996         echo "Doing installcheck in utils" ; \
22997         (cd $(HOST_SUBDIR)/utils && \
22998           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22999                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23000                   "RANLIB=$${RANLIB}" \
23001                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23002                   installcheck) \
23003           || exit 1
23004
23005 @endif utils
23006
23007 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
23008 maybe-mostlyclean-utils:
23009 @if utils
23010 maybe-mostlyclean-utils: mostlyclean-utils
23011
23012 mostlyclean-utils: 
23013         @[ -f ./utils/Makefile ] || exit 0; \
23014         r=`${PWD_COMMAND}`; export r; \
23015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23016         $(HOST_EXPORTS) \
23017         for flag in $(EXTRA_HOST_FLAGS) ; do \
23018           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23019         done; \
23020         echo "Doing mostlyclean in utils" ; \
23021         (cd $(HOST_SUBDIR)/utils && \
23022           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23023                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23024                   "RANLIB=$${RANLIB}" \
23025                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23026                   mostlyclean) \
23027           || exit 1
23028
23029 @endif utils
23030
23031 .PHONY: maybe-clean-utils clean-utils
23032 maybe-clean-utils:
23033 @if utils
23034 maybe-clean-utils: clean-utils
23035
23036 clean-utils: 
23037         @[ -f ./utils/Makefile ] || exit 0; \
23038         r=`${PWD_COMMAND}`; export r; \
23039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23040         $(HOST_EXPORTS) \
23041         for flag in $(EXTRA_HOST_FLAGS) ; do \
23042           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23043         done; \
23044         echo "Doing clean in utils" ; \
23045         (cd $(HOST_SUBDIR)/utils && \
23046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23048                   "RANLIB=$${RANLIB}" \
23049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23050                   clean) \
23051           || exit 1
23052
23053 @endif utils
23054
23055 .PHONY: maybe-distclean-utils distclean-utils
23056 maybe-distclean-utils:
23057 @if utils
23058 maybe-distclean-utils: distclean-utils
23059
23060 distclean-utils: 
23061         @[ -f ./utils/Makefile ] || exit 0; \
23062         r=`${PWD_COMMAND}`; export r; \
23063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23064         $(HOST_EXPORTS) \
23065         for flag in $(EXTRA_HOST_FLAGS) ; do \
23066           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23067         done; \
23068         echo "Doing distclean in utils" ; \
23069         (cd $(HOST_SUBDIR)/utils && \
23070           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23071                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23072                   "RANLIB=$${RANLIB}" \
23073                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23074                   distclean) \
23075           || exit 1
23076
23077 @endif utils
23078
23079 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
23080 maybe-maintainer-clean-utils:
23081 @if utils
23082 maybe-maintainer-clean-utils: maintainer-clean-utils
23083
23084 maintainer-clean-utils: 
23085         @[ -f ./utils/Makefile ] || exit 0; \
23086         r=`${PWD_COMMAND}`; export r; \
23087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23088         $(HOST_EXPORTS) \
23089         for flag in $(EXTRA_HOST_FLAGS) ; do \
23090           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23091         done; \
23092         echo "Doing maintainer-clean in utils" ; \
23093         (cd $(HOST_SUBDIR)/utils && \
23094           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23095                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23096                   "RANLIB=$${RANLIB}" \
23097                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23098                   maintainer-clean) \
23099           || exit 1
23100
23101 @endif utils
23102
23103
23104 .PHONY: configure-gnattools maybe-configure-gnattools
23105 maybe-configure-gnattools:
23106 @if gnattools
23107 maybe-configure-gnattools: configure-gnattools
23108 configure-gnattools:
23109         @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
23110         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
23111         r=`${PWD_COMMAND}`; export r; \
23112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23113         $(HOST_EXPORTS) \
23114         echo Configuring in gnattools; \
23115         cd $(HOST_SUBDIR)/gnattools || exit 1; \
23116         case $(srcdir) in \
23117           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23118           *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
23119                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23120         esac; \
23121         srcdiroption="--srcdir=$${topdir}/gnattools"; \
23122         libsrcdir="$$s/gnattools"; \
23123         $(SHELL) $${libsrcdir}/configure \
23124           $(HOST_CONFIGARGS) $${srcdiroption}  \
23125           || exit 1
23126 @endif gnattools
23127
23128 .PHONY: all-gnattools maybe-all-gnattools
23129 maybe-all-gnattools:
23130 @if gnattools
23131 TARGET-gnattools=all
23132 maybe-all-gnattools: all-gnattools
23133 all-gnattools: configure-gnattools
23134         @r=`${PWD_COMMAND}`; export r; \
23135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23136         $(HOST_EXPORTS) \
23137         (cd $(HOST_SUBDIR)/gnattools && \
23138           $(MAKE) $(FLAGS_TO_PASS)  $(TARGET-gnattools))
23139 @endif gnattools
23140
23141 .PHONY: check-gnattools maybe-check-gnattools
23142 maybe-check-gnattools:
23143 @if gnattools
23144 maybe-check-gnattools: check-gnattools
23145
23146 check-gnattools:
23147         @r=`${PWD_COMMAND}`; export r; \
23148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149         $(HOST_EXPORTS) \
23150         (cd $(HOST_SUBDIR)/gnattools && \
23151           $(MAKE) $(FLAGS_TO_PASS)  check)
23152
23153 @endif gnattools
23154
23155 .PHONY: install-gnattools maybe-install-gnattools
23156 maybe-install-gnattools:
23157 @if gnattools
23158 maybe-install-gnattools: install-gnattools
23159
23160 install-gnattools: installdirs
23161         @r=`${PWD_COMMAND}`; export r; \
23162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23163         $(HOST_EXPORTS) \
23164         (cd $(HOST_SUBDIR)/gnattools && \
23165           $(MAKE) $(FLAGS_TO_PASS)  install)
23166
23167 @endif gnattools
23168
23169 # Other targets (info, dvi, etc.)
23170
23171 .PHONY: maybe-info-gnattools info-gnattools
23172 maybe-info-gnattools:
23173 @if gnattools
23174 maybe-info-gnattools: info-gnattools
23175
23176 info-gnattools: \
23177     configure-gnattools 
23178         @[ -f ./gnattools/Makefile ] || exit 0; \
23179         r=`${PWD_COMMAND}`; export r; \
23180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23181         $(HOST_EXPORTS) \
23182         for flag in $(EXTRA_HOST_FLAGS) ; do \
23183           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23184         done; \
23185         echo "Doing info in gnattools" ; \
23186         (cd $(HOST_SUBDIR)/gnattools && \
23187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23189                   "RANLIB=$${RANLIB}" \
23190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23191                   info) \
23192           || exit 1
23193
23194 @endif gnattools
23195
23196 .PHONY: maybe-dvi-gnattools dvi-gnattools
23197 maybe-dvi-gnattools:
23198 @if gnattools
23199 maybe-dvi-gnattools: dvi-gnattools
23200
23201 dvi-gnattools: \
23202     configure-gnattools 
23203         @[ -f ./gnattools/Makefile ] || exit 0; \
23204         r=`${PWD_COMMAND}`; export r; \
23205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23206         $(HOST_EXPORTS) \
23207         for flag in $(EXTRA_HOST_FLAGS) ; do \
23208           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23209         done; \
23210         echo "Doing dvi in gnattools" ; \
23211         (cd $(HOST_SUBDIR)/gnattools && \
23212           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23213                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23214                   "RANLIB=$${RANLIB}" \
23215                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23216                   dvi) \
23217           || exit 1
23218
23219 @endif gnattools
23220
23221 .PHONY: maybe-html-gnattools html-gnattools
23222 maybe-html-gnattools:
23223 @if gnattools
23224 maybe-html-gnattools: html-gnattools
23225
23226 html-gnattools: \
23227     configure-gnattools 
23228         @[ -f ./gnattools/Makefile ] || exit 0; \
23229         r=`${PWD_COMMAND}`; export r; \
23230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23231         $(HOST_EXPORTS) \
23232         for flag in $(EXTRA_HOST_FLAGS) ; do \
23233           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23234         done; \
23235         echo "Doing html in gnattools" ; \
23236         (cd $(HOST_SUBDIR)/gnattools && \
23237           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23238                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23239                   "RANLIB=$${RANLIB}" \
23240                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23241                   html) \
23242           || exit 1
23243
23244 @endif gnattools
23245
23246 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
23247 maybe-TAGS-gnattools:
23248 @if gnattools
23249 maybe-TAGS-gnattools: TAGS-gnattools
23250
23251 TAGS-gnattools: \
23252     configure-gnattools 
23253         @[ -f ./gnattools/Makefile ] || exit 0; \
23254         r=`${PWD_COMMAND}`; export r; \
23255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23256         $(HOST_EXPORTS) \
23257         for flag in $(EXTRA_HOST_FLAGS) ; do \
23258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23259         done; \
23260         echo "Doing TAGS in gnattools" ; \
23261         (cd $(HOST_SUBDIR)/gnattools && \
23262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23264                   "RANLIB=$${RANLIB}" \
23265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23266                   TAGS) \
23267           || exit 1
23268
23269 @endif gnattools
23270
23271 .PHONY: maybe-install-info-gnattools install-info-gnattools
23272 maybe-install-info-gnattools:
23273 @if gnattools
23274 maybe-install-info-gnattools: install-info-gnattools
23275
23276 install-info-gnattools: \
23277     configure-gnattools \
23278     info-gnattools 
23279         @[ -f ./gnattools/Makefile ] || exit 0; \
23280         r=`${PWD_COMMAND}`; export r; \
23281         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23282         $(HOST_EXPORTS) \
23283         for flag in $(EXTRA_HOST_FLAGS) ; do \
23284           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23285         done; \
23286         echo "Doing install-info in gnattools" ; \
23287         (cd $(HOST_SUBDIR)/gnattools && \
23288           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23289                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23290                   "RANLIB=$${RANLIB}" \
23291                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23292                   install-info) \
23293           || exit 1
23294
23295 @endif gnattools
23296
23297 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
23298 maybe-installcheck-gnattools:
23299 @if gnattools
23300 maybe-installcheck-gnattools: installcheck-gnattools
23301
23302 installcheck-gnattools: \
23303     configure-gnattools 
23304         @[ -f ./gnattools/Makefile ] || exit 0; \
23305         r=`${PWD_COMMAND}`; export r; \
23306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307         $(HOST_EXPORTS) \
23308         for flag in $(EXTRA_HOST_FLAGS) ; do \
23309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23310         done; \
23311         echo "Doing installcheck in gnattools" ; \
23312         (cd $(HOST_SUBDIR)/gnattools && \
23313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23315                   "RANLIB=$${RANLIB}" \
23316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23317                   installcheck) \
23318           || exit 1
23319
23320 @endif gnattools
23321
23322 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
23323 maybe-mostlyclean-gnattools:
23324 @if gnattools
23325 maybe-mostlyclean-gnattools: mostlyclean-gnattools
23326
23327 mostlyclean-gnattools: 
23328         @[ -f ./gnattools/Makefile ] || exit 0; \
23329         r=`${PWD_COMMAND}`; export r; \
23330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23331         $(HOST_EXPORTS) \
23332         for flag in $(EXTRA_HOST_FLAGS) ; do \
23333           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23334         done; \
23335         echo "Doing mostlyclean in gnattools" ; \
23336         (cd $(HOST_SUBDIR)/gnattools && \
23337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23339                   "RANLIB=$${RANLIB}" \
23340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23341                   mostlyclean) \
23342           || exit 1
23343
23344 @endif gnattools
23345
23346 .PHONY: maybe-clean-gnattools clean-gnattools
23347 maybe-clean-gnattools:
23348 @if gnattools
23349 maybe-clean-gnattools: clean-gnattools
23350
23351 clean-gnattools: 
23352         @[ -f ./gnattools/Makefile ] || exit 0; \
23353         r=`${PWD_COMMAND}`; export r; \
23354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23355         $(HOST_EXPORTS) \
23356         for flag in $(EXTRA_HOST_FLAGS) ; do \
23357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23358         done; \
23359         echo "Doing clean in gnattools" ; \
23360         (cd $(HOST_SUBDIR)/gnattools && \
23361           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23362                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23363                   "RANLIB=$${RANLIB}" \
23364                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23365                   clean) \
23366           || exit 1
23367
23368 @endif gnattools
23369
23370 .PHONY: maybe-distclean-gnattools distclean-gnattools
23371 maybe-distclean-gnattools:
23372 @if gnattools
23373 maybe-distclean-gnattools: distclean-gnattools
23374
23375 distclean-gnattools: 
23376         @[ -f ./gnattools/Makefile ] || exit 0; \
23377         r=`${PWD_COMMAND}`; export r; \
23378         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23379         $(HOST_EXPORTS) \
23380         for flag in $(EXTRA_HOST_FLAGS) ; do \
23381           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23382         done; \
23383         echo "Doing distclean in gnattools" ; \
23384         (cd $(HOST_SUBDIR)/gnattools && \
23385           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23386                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23387                   "RANLIB=$${RANLIB}" \
23388                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23389                   distclean) \
23390           || exit 1
23391
23392 @endif gnattools
23393
23394 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
23395 maybe-maintainer-clean-gnattools:
23396 @if gnattools
23397 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
23398
23399 maintainer-clean-gnattools: 
23400         @[ -f ./gnattools/Makefile ] || exit 0; \
23401         r=`${PWD_COMMAND}`; export r; \
23402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23403         $(HOST_EXPORTS) \
23404         for flag in $(EXTRA_HOST_FLAGS) ; do \
23405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23406         done; \
23407         echo "Doing maintainer-clean in gnattools" ; \
23408         (cd $(HOST_SUBDIR)/gnattools && \
23409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23411                   "RANLIB=$${RANLIB}" \
23412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23413                   maintainer-clean) \
23414           || exit 1
23415
23416 @endif gnattools
23417
23418
23419
23420 # ---------------------------------------
23421 # Modules which run on the target machine
23422 # ---------------------------------------
23423
23424 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
23425 maybe-configure-target-libstdc++-v3:
23426 @if target-libstdc++-v3
23427 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
23428
23429 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23430 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
23431         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
23432         rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
23433         cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
23434
23435 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
23436         @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
23437         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
23438         r=`${PWD_COMMAND}`; export r; \
23439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23440         $(RAW_CXX_TARGET_EXPORTS) \
23441         echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
23442         cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
23443         case $(srcdir) in \
23444           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23445           *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
23446                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23447         esac; \
23448         srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
23449         libsrcdir="$$s/libstdc++-v3"; \
23450         rm -f no-such-file || : ; \
23451         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23452           $(TARGET_CONFIGARGS) $${srcdiroption} \
23453           --with-target-subdir="$(TARGET_SUBDIR)"  \
23454           || exit 1
23455 @endif target-libstdc++-v3
23456
23457 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
23458 maybe-all-target-libstdc++-v3:
23459 @if target-libstdc++-v3
23460 TARGET-target-libstdc++-v3=all
23461 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
23462 all-target-libstdc++-v3: configure-target-libstdc++-v3
23463         @r=`${PWD_COMMAND}`; export r; \
23464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23465         $(RAW_CXX_TARGET_EXPORTS) \
23466         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23467           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   $(TARGET-target-libstdc++-v3))
23468 @endif target-libstdc++-v3
23469
23470 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
23471 maybe-check-target-libstdc++-v3:
23472 @if target-libstdc++-v3
23473 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
23474
23475 check-target-libstdc++-v3:
23476         @r=`${PWD_COMMAND}`; export r; \
23477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478         $(RAW_CXX_TARGET_EXPORTS) \
23479         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23480           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
23481
23482 @endif target-libstdc++-v3
23483
23484 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
23485 maybe-install-target-libstdc++-v3:
23486 @if target-libstdc++-v3
23487 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
23488
23489 install-target-libstdc++-v3: installdirs
23490         @r=`${PWD_COMMAND}`; export r; \
23491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23492         $(RAW_CXX_TARGET_EXPORTS) \
23493         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23494           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23495
23496 @endif target-libstdc++-v3
23497
23498 # Other targets (info, dvi, etc.)
23499
23500 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
23501 maybe-info-target-libstdc++-v3:
23502 @if target-libstdc++-v3
23503 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
23504
23505 info-target-libstdc++-v3: \
23506     configure-target-libstdc++-v3 
23507         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23508         r=`${PWD_COMMAND}`; export r; \
23509         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23510         $(RAW_CXX_TARGET_EXPORTS) \
23511         echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23512         for flag in $(EXTRA_TARGET_FLAGS); do \
23513           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23514         done; \
23515         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23516           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23517                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23518                   "RANLIB=$${RANLIB}" \
23519                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23520                    info) \
23521           || exit 1
23522
23523 @endif target-libstdc++-v3
23524
23525 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
23526 maybe-dvi-target-libstdc++-v3:
23527 @if target-libstdc++-v3
23528 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
23529
23530 dvi-target-libstdc++-v3: \
23531     configure-target-libstdc++-v3 
23532         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23533         r=`${PWD_COMMAND}`; export r; \
23534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535         $(RAW_CXX_TARGET_EXPORTS) \
23536         echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23537         for flag in $(EXTRA_TARGET_FLAGS); do \
23538           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23539         done; \
23540         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23541           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23542                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23543                   "RANLIB=$${RANLIB}" \
23544                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23545                    dvi) \
23546           || exit 1
23547
23548 @endif target-libstdc++-v3
23549
23550 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
23551 maybe-html-target-libstdc++-v3:
23552 @if target-libstdc++-v3
23553 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
23554
23555 html-target-libstdc++-v3: \
23556     configure-target-libstdc++-v3 
23557         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23558         r=`${PWD_COMMAND}`; export r; \
23559         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23560         $(RAW_CXX_TARGET_EXPORTS) \
23561         echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23562         for flag in $(EXTRA_TARGET_FLAGS); do \
23563           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23564         done; \
23565         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23566           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23567                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23568                   "RANLIB=$${RANLIB}" \
23569                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23570                    html) \
23571           || exit 1
23572
23573 @endif target-libstdc++-v3
23574
23575 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
23576 maybe-TAGS-target-libstdc++-v3:
23577 @if target-libstdc++-v3
23578 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
23579
23580 TAGS-target-libstdc++-v3: \
23581     configure-target-libstdc++-v3 
23582         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23583         r=`${PWD_COMMAND}`; export r; \
23584         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23585         $(RAW_CXX_TARGET_EXPORTS) \
23586         echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23587         for flag in $(EXTRA_TARGET_FLAGS); do \
23588           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23589         done; \
23590         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23591           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23592                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23593                   "RANLIB=$${RANLIB}" \
23594                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23595                    TAGS) \
23596           || exit 1
23597
23598 @endif target-libstdc++-v3
23599
23600 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
23601 maybe-install-info-target-libstdc++-v3:
23602 @if target-libstdc++-v3
23603 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
23604
23605 install-info-target-libstdc++-v3: \
23606     configure-target-libstdc++-v3 \
23607     info-target-libstdc++-v3 
23608         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23609         r=`${PWD_COMMAND}`; export r; \
23610         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23611         $(RAW_CXX_TARGET_EXPORTS) \
23612         echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23613         for flag in $(EXTRA_TARGET_FLAGS); do \
23614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23615         done; \
23616         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23617           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23618                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23619                   "RANLIB=$${RANLIB}" \
23620                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23621                    install-info) \
23622           || exit 1
23623
23624 @endif target-libstdc++-v3
23625
23626 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
23627 maybe-installcheck-target-libstdc++-v3:
23628 @if target-libstdc++-v3
23629 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
23630
23631 installcheck-target-libstdc++-v3: \
23632     configure-target-libstdc++-v3 
23633         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23634         r=`${PWD_COMMAND}`; export r; \
23635         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23636         $(RAW_CXX_TARGET_EXPORTS) \
23637         echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23638         for flag in $(EXTRA_TARGET_FLAGS); do \
23639           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23640         done; \
23641         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23642           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23643                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23644                   "RANLIB=$${RANLIB}" \
23645                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23646                    installcheck) \
23647           || exit 1
23648
23649 @endif target-libstdc++-v3
23650
23651 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
23652 maybe-mostlyclean-target-libstdc++-v3:
23653 @if target-libstdc++-v3
23654 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
23655
23656 mostlyclean-target-libstdc++-v3: 
23657         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23658         r=`${PWD_COMMAND}`; export r; \
23659         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23660         $(RAW_CXX_TARGET_EXPORTS) \
23661         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23662         for flag in $(EXTRA_TARGET_FLAGS); do \
23663           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23664         done; \
23665         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23666           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23667                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23668                   "RANLIB=$${RANLIB}" \
23669                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23670                    mostlyclean) \
23671           || exit 1
23672
23673 @endif target-libstdc++-v3
23674
23675 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
23676 maybe-clean-target-libstdc++-v3:
23677 @if target-libstdc++-v3
23678 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
23679
23680 clean-target-libstdc++-v3: 
23681         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23682         r=`${PWD_COMMAND}`; export r; \
23683         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684         $(RAW_CXX_TARGET_EXPORTS) \
23685         echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23686         for flag in $(EXTRA_TARGET_FLAGS); do \
23687           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23688         done; \
23689         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23690           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692                   "RANLIB=$${RANLIB}" \
23693                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23694                    clean) \
23695           || exit 1
23696
23697 @endif target-libstdc++-v3
23698
23699 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
23700 maybe-distclean-target-libstdc++-v3:
23701 @if target-libstdc++-v3
23702 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
23703
23704 distclean-target-libstdc++-v3: 
23705         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23706         r=`${PWD_COMMAND}`; export r; \
23707         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708         $(RAW_CXX_TARGET_EXPORTS) \
23709         echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23710         for flag in $(EXTRA_TARGET_FLAGS); do \
23711           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23712         done; \
23713         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23714           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23715                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23716                   "RANLIB=$${RANLIB}" \
23717                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23718                    distclean) \
23719           || exit 1
23720
23721 @endif target-libstdc++-v3
23722
23723 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
23724 maybe-maintainer-clean-target-libstdc++-v3:
23725 @if target-libstdc++-v3
23726 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
23727
23728 maintainer-clean-target-libstdc++-v3: 
23729         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23730         r=`${PWD_COMMAND}`; export r; \
23731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23732         $(RAW_CXX_TARGET_EXPORTS) \
23733         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23734         for flag in $(EXTRA_TARGET_FLAGS); do \
23735           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23736         done; \
23737         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23738           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23739                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23740                   "RANLIB=$${RANLIB}" \
23741                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23742                    maintainer-clean) \
23743           || exit 1
23744
23745 @endif target-libstdc++-v3
23746
23747
23748 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
23749 maybe-configure-target-libmudflap:
23750 @if target-libmudflap
23751 maybe-configure-target-libmudflap: configure-target-libmudflap
23752
23753 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23754 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
23755         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
23756         rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
23757         cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
23758
23759 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
23760         @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
23761         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
23762         r=`${PWD_COMMAND}`; export r; \
23763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764         $(NORMAL_TARGET_EXPORTS) \
23765         echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
23766         cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
23767         case $(srcdir) in \
23768           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23769           *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
23770                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23771         esac; \
23772         srcdiroption="--srcdir=$${topdir}/libmudflap"; \
23773         libsrcdir="$$s/libmudflap"; \
23774         rm -f no-such-file || : ; \
23775         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23776           $(TARGET_CONFIGARGS) $${srcdiroption} \
23777           --with-target-subdir="$(TARGET_SUBDIR)"  \
23778           || exit 1
23779 @endif target-libmudflap
23780
23781 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
23782 maybe-all-target-libmudflap:
23783 @if target-libmudflap
23784 TARGET-target-libmudflap=all
23785 maybe-all-target-libmudflap: all-target-libmudflap
23786 all-target-libmudflap: configure-target-libmudflap
23787         @r=`${PWD_COMMAND}`; export r; \
23788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23789         $(NORMAL_TARGET_EXPORTS) \
23790         (cd $(TARGET_SUBDIR)/libmudflap && \
23791           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libmudflap))
23792 @endif target-libmudflap
23793
23794 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
23795 maybe-check-target-libmudflap:
23796 @if target-libmudflap
23797 maybe-check-target-libmudflap: check-target-libmudflap
23798
23799 check-target-libmudflap:
23800         @r=`${PWD_COMMAND}`; export r; \
23801         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23802         $(NORMAL_TARGET_EXPORTS) \
23803         (cd $(TARGET_SUBDIR)/libmudflap && \
23804           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
23805
23806 @endif target-libmudflap
23807
23808 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
23809 maybe-install-target-libmudflap:
23810 @if target-libmudflap
23811 maybe-install-target-libmudflap: install-target-libmudflap
23812
23813 install-target-libmudflap: installdirs
23814         @r=`${PWD_COMMAND}`; export r; \
23815         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23816         $(NORMAL_TARGET_EXPORTS) \
23817         (cd $(TARGET_SUBDIR)/libmudflap && \
23818           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
23819
23820 @endif target-libmudflap
23821
23822 # Other targets (info, dvi, etc.)
23823
23824 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
23825 maybe-info-target-libmudflap:
23826 @if target-libmudflap
23827 maybe-info-target-libmudflap: info-target-libmudflap
23828
23829 info-target-libmudflap: \
23830     configure-target-libmudflap 
23831         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23832         r=`${PWD_COMMAND}`; export r; \
23833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23834         $(NORMAL_TARGET_EXPORTS) \
23835         echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
23836         for flag in $(EXTRA_TARGET_FLAGS); do \
23837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23838         done; \
23839         (cd $(TARGET_SUBDIR)/libmudflap && \
23840           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23841                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23842                   "RANLIB=$${RANLIB}" \
23843                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23844                    info) \
23845           || exit 1
23846
23847 @endif target-libmudflap
23848
23849 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
23850 maybe-dvi-target-libmudflap:
23851 @if target-libmudflap
23852 maybe-dvi-target-libmudflap: dvi-target-libmudflap
23853
23854 dvi-target-libmudflap: \
23855     configure-target-libmudflap 
23856         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23857         r=`${PWD_COMMAND}`; export r; \
23858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859         $(NORMAL_TARGET_EXPORTS) \
23860         echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
23861         for flag in $(EXTRA_TARGET_FLAGS); do \
23862           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23863         done; \
23864         (cd $(TARGET_SUBDIR)/libmudflap && \
23865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23867                   "RANLIB=$${RANLIB}" \
23868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23869                    dvi) \
23870           || exit 1
23871
23872 @endif target-libmudflap
23873
23874 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
23875 maybe-html-target-libmudflap:
23876 @if target-libmudflap
23877 maybe-html-target-libmudflap: html-target-libmudflap
23878
23879 html-target-libmudflap: \
23880     configure-target-libmudflap 
23881         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23882         r=`${PWD_COMMAND}`; export r; \
23883         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884         $(NORMAL_TARGET_EXPORTS) \
23885         echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
23886         for flag in $(EXTRA_TARGET_FLAGS); do \
23887           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23888         done; \
23889         (cd $(TARGET_SUBDIR)/libmudflap && \
23890           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23891                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23892                   "RANLIB=$${RANLIB}" \
23893                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23894                    html) \
23895           || exit 1
23896
23897 @endif target-libmudflap
23898
23899 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
23900 maybe-TAGS-target-libmudflap:
23901 @if target-libmudflap
23902 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
23903
23904 TAGS-target-libmudflap: \
23905     configure-target-libmudflap 
23906         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23907         r=`${PWD_COMMAND}`; export r; \
23908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909         $(NORMAL_TARGET_EXPORTS) \
23910         echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
23911         for flag in $(EXTRA_TARGET_FLAGS); do \
23912           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23913         done; \
23914         (cd $(TARGET_SUBDIR)/libmudflap && \
23915           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23916                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23917                   "RANLIB=$${RANLIB}" \
23918                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23919                    TAGS) \
23920           || exit 1
23921
23922 @endif target-libmudflap
23923
23924 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
23925 maybe-install-info-target-libmudflap:
23926 @if target-libmudflap
23927 maybe-install-info-target-libmudflap: install-info-target-libmudflap
23928
23929 install-info-target-libmudflap: \
23930     configure-target-libmudflap \
23931     info-target-libmudflap 
23932         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23933         r=`${PWD_COMMAND}`; export r; \
23934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935         $(NORMAL_TARGET_EXPORTS) \
23936         echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
23937         for flag in $(EXTRA_TARGET_FLAGS); do \
23938           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23939         done; \
23940         (cd $(TARGET_SUBDIR)/libmudflap && \
23941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943                   "RANLIB=$${RANLIB}" \
23944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23945                    install-info) \
23946           || exit 1
23947
23948 @endif target-libmudflap
23949
23950 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
23951 maybe-installcheck-target-libmudflap:
23952 @if target-libmudflap
23953 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
23954
23955 installcheck-target-libmudflap: \
23956     configure-target-libmudflap 
23957         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23958         r=`${PWD_COMMAND}`; export r; \
23959         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960         $(NORMAL_TARGET_EXPORTS) \
23961         echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
23962         for flag in $(EXTRA_TARGET_FLAGS); do \
23963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23964         done; \
23965         (cd $(TARGET_SUBDIR)/libmudflap && \
23966           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23967                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23968                   "RANLIB=$${RANLIB}" \
23969                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23970                    installcheck) \
23971           || exit 1
23972
23973 @endif target-libmudflap
23974
23975 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
23976 maybe-mostlyclean-target-libmudflap:
23977 @if target-libmudflap
23978 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
23979
23980 mostlyclean-target-libmudflap: 
23981         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23982         r=`${PWD_COMMAND}`; export r; \
23983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984         $(NORMAL_TARGET_EXPORTS) \
23985         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
23986         for flag in $(EXTRA_TARGET_FLAGS); do \
23987           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23988         done; \
23989         (cd $(TARGET_SUBDIR)/libmudflap && \
23990           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23991                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23992                   "RANLIB=$${RANLIB}" \
23993                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23994                    mostlyclean) \
23995           || exit 1
23996
23997 @endif target-libmudflap
23998
23999 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24000 maybe-clean-target-libmudflap:
24001 @if target-libmudflap
24002 maybe-clean-target-libmudflap: clean-target-libmudflap
24003
24004 clean-target-libmudflap: 
24005         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24006         r=`${PWD_COMMAND}`; export r; \
24007         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24008         $(NORMAL_TARGET_EXPORTS) \
24009         echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24010         for flag in $(EXTRA_TARGET_FLAGS); do \
24011           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24012         done; \
24013         (cd $(TARGET_SUBDIR)/libmudflap && \
24014           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24015                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24016                   "RANLIB=$${RANLIB}" \
24017                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24018                    clean) \
24019           || exit 1
24020
24021 @endif target-libmudflap
24022
24023 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24024 maybe-distclean-target-libmudflap:
24025 @if target-libmudflap
24026 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24027
24028 distclean-target-libmudflap: 
24029         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24030         r=`${PWD_COMMAND}`; export r; \
24031         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032         $(NORMAL_TARGET_EXPORTS) \
24033         echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24034         for flag in $(EXTRA_TARGET_FLAGS); do \
24035           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24036         done; \
24037         (cd $(TARGET_SUBDIR)/libmudflap && \
24038           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24039                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24040                   "RANLIB=$${RANLIB}" \
24041                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24042                    distclean) \
24043           || exit 1
24044
24045 @endif target-libmudflap
24046
24047 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24048 maybe-maintainer-clean-target-libmudflap:
24049 @if target-libmudflap
24050 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24051
24052 maintainer-clean-target-libmudflap: 
24053         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24054         r=`${PWD_COMMAND}`; export r; \
24055         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056         $(NORMAL_TARGET_EXPORTS) \
24057         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24058         for flag in $(EXTRA_TARGET_FLAGS); do \
24059           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24060         done; \
24061         (cd $(TARGET_SUBDIR)/libmudflap && \
24062           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064                   "RANLIB=$${RANLIB}" \
24065                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24066                    maintainer-clean) \
24067           || exit 1
24068
24069 @endif target-libmudflap
24070
24071
24072 .PHONY: configure-target-newlib maybe-configure-target-newlib
24073 maybe-configure-target-newlib:
24074 @if target-newlib
24075 maybe-configure-target-newlib: configure-target-newlib
24076
24077 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24078 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24079         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24080         rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24081         cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24082
24083 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24084         @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24085         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24086         r=`${PWD_COMMAND}`; export r; \
24087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24088         $(NORMAL_TARGET_EXPORTS) \
24089         echo Configuring in $(TARGET_SUBDIR)/newlib; \
24090         cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24091         case $(srcdir) in \
24092           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24093           *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
24094                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24095         esac; \
24096         srcdiroption="--srcdir=$${topdir}/newlib"; \
24097         libsrcdir="$$s/newlib"; \
24098         rm -f no-such-file || : ; \
24099         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24100           $(TARGET_CONFIGARGS) $${srcdiroption} \
24101           --with-target-subdir="$(TARGET_SUBDIR)"  \
24102           || exit 1
24103 @endif target-newlib
24104
24105 .PHONY: all-target-newlib maybe-all-target-newlib
24106 maybe-all-target-newlib:
24107 @if target-newlib
24108 TARGET-target-newlib=all
24109 maybe-all-target-newlib: all-target-newlib
24110 all-target-newlib: configure-target-newlib
24111         @r=`${PWD_COMMAND}`; export r; \
24112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24113         $(NORMAL_TARGET_EXPORTS) \
24114         (cd $(TARGET_SUBDIR)/newlib && \
24115           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-newlib))
24116 @endif target-newlib
24117
24118 .PHONY: check-target-newlib maybe-check-target-newlib
24119 maybe-check-target-newlib:
24120 @if target-newlib
24121 maybe-check-target-newlib: check-target-newlib
24122
24123 check-target-newlib:
24124         @r=`${PWD_COMMAND}`; export r; \
24125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24126         $(NORMAL_TARGET_EXPORTS) \
24127         (cd $(TARGET_SUBDIR)/newlib && \
24128           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24129
24130 @endif target-newlib
24131
24132 .PHONY: install-target-newlib maybe-install-target-newlib
24133 maybe-install-target-newlib:
24134 @if target-newlib
24135 maybe-install-target-newlib: install-target-newlib
24136
24137 install-target-newlib: installdirs
24138         @r=`${PWD_COMMAND}`; export r; \
24139         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24140         $(NORMAL_TARGET_EXPORTS) \
24141         (cd $(TARGET_SUBDIR)/newlib && \
24142           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24143
24144 @endif target-newlib
24145
24146 # Other targets (info, dvi, etc.)
24147
24148 .PHONY: maybe-info-target-newlib info-target-newlib
24149 maybe-info-target-newlib:
24150 @if target-newlib
24151 maybe-info-target-newlib: info-target-newlib
24152
24153 info-target-newlib: \
24154     configure-target-newlib 
24155         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24156         r=`${PWD_COMMAND}`; export r; \
24157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24158         $(NORMAL_TARGET_EXPORTS) \
24159         echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
24160         for flag in $(EXTRA_TARGET_FLAGS); do \
24161           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24162         done; \
24163         (cd $(TARGET_SUBDIR)/newlib && \
24164           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24165                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24166                   "RANLIB=$${RANLIB}" \
24167                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24168                    info) \
24169           || exit 1
24170
24171 @endif target-newlib
24172
24173 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
24174 maybe-dvi-target-newlib:
24175 @if target-newlib
24176 maybe-dvi-target-newlib: dvi-target-newlib
24177
24178 dvi-target-newlib: \
24179     configure-target-newlib 
24180         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24181         r=`${PWD_COMMAND}`; export r; \
24182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24183         $(NORMAL_TARGET_EXPORTS) \
24184         echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
24185         for flag in $(EXTRA_TARGET_FLAGS); do \
24186           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24187         done; \
24188         (cd $(TARGET_SUBDIR)/newlib && \
24189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24191                   "RANLIB=$${RANLIB}" \
24192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24193                    dvi) \
24194           || exit 1
24195
24196 @endif target-newlib
24197
24198 .PHONY: maybe-html-target-newlib html-target-newlib
24199 maybe-html-target-newlib:
24200 @if target-newlib
24201 maybe-html-target-newlib: html-target-newlib
24202
24203 html-target-newlib: \
24204     configure-target-newlib 
24205         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24206         r=`${PWD_COMMAND}`; export r; \
24207         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24208         $(NORMAL_TARGET_EXPORTS) \
24209         echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
24210         for flag in $(EXTRA_TARGET_FLAGS); do \
24211           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24212         done; \
24213         (cd $(TARGET_SUBDIR)/newlib && \
24214           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24215                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24216                   "RANLIB=$${RANLIB}" \
24217                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24218                    html) \
24219           || exit 1
24220
24221 @endif target-newlib
24222
24223 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
24224 maybe-TAGS-target-newlib:
24225 @if target-newlib
24226 maybe-TAGS-target-newlib: TAGS-target-newlib
24227
24228 TAGS-target-newlib: \
24229     configure-target-newlib 
24230         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24231         r=`${PWD_COMMAND}`; export r; \
24232         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24233         $(NORMAL_TARGET_EXPORTS) \
24234         echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
24235         for flag in $(EXTRA_TARGET_FLAGS); do \
24236           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24237         done; \
24238         (cd $(TARGET_SUBDIR)/newlib && \
24239           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24240                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24241                   "RANLIB=$${RANLIB}" \
24242                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24243                    TAGS) \
24244           || exit 1
24245
24246 @endif target-newlib
24247
24248 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
24249 maybe-install-info-target-newlib:
24250 @if target-newlib
24251 maybe-install-info-target-newlib: install-info-target-newlib
24252
24253 install-info-target-newlib: \
24254     configure-target-newlib \
24255     info-target-newlib 
24256         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24257         r=`${PWD_COMMAND}`; export r; \
24258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24259         $(NORMAL_TARGET_EXPORTS) \
24260         echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
24261         for flag in $(EXTRA_TARGET_FLAGS); do \
24262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24263         done; \
24264         (cd $(TARGET_SUBDIR)/newlib && \
24265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24267                   "RANLIB=$${RANLIB}" \
24268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24269                    install-info) \
24270           || exit 1
24271
24272 @endif target-newlib
24273
24274 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
24275 maybe-installcheck-target-newlib:
24276 @if target-newlib
24277 maybe-installcheck-target-newlib: installcheck-target-newlib
24278
24279 installcheck-target-newlib: \
24280     configure-target-newlib 
24281         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24282         r=`${PWD_COMMAND}`; export r; \
24283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24284         $(NORMAL_TARGET_EXPORTS) \
24285         echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
24286         for flag in $(EXTRA_TARGET_FLAGS); do \
24287           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24288         done; \
24289         (cd $(TARGET_SUBDIR)/newlib && \
24290           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24291                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24292                   "RANLIB=$${RANLIB}" \
24293                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24294                    installcheck) \
24295           || exit 1
24296
24297 @endif target-newlib
24298
24299 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
24300 maybe-mostlyclean-target-newlib:
24301 @if target-newlib
24302 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
24303
24304 mostlyclean-target-newlib: 
24305         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24306         r=`${PWD_COMMAND}`; export r; \
24307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24308         $(NORMAL_TARGET_EXPORTS) \
24309         echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
24310         for flag in $(EXTRA_TARGET_FLAGS); do \
24311           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24312         done; \
24313         (cd $(TARGET_SUBDIR)/newlib && \
24314           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24315                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24316                   "RANLIB=$${RANLIB}" \
24317                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24318                    mostlyclean) \
24319           || exit 1
24320
24321 @endif target-newlib
24322
24323 .PHONY: maybe-clean-target-newlib clean-target-newlib
24324 maybe-clean-target-newlib:
24325 @if target-newlib
24326 maybe-clean-target-newlib: clean-target-newlib
24327
24328 clean-target-newlib: 
24329         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24330         r=`${PWD_COMMAND}`; export r; \
24331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24332         $(NORMAL_TARGET_EXPORTS) \
24333         echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
24334         for flag in $(EXTRA_TARGET_FLAGS); do \
24335           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24336         done; \
24337         (cd $(TARGET_SUBDIR)/newlib && \
24338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24340                   "RANLIB=$${RANLIB}" \
24341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24342                    clean) \
24343           || exit 1
24344
24345 @endif target-newlib
24346
24347 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
24348 maybe-distclean-target-newlib:
24349 @if target-newlib
24350 maybe-distclean-target-newlib: distclean-target-newlib
24351
24352 distclean-target-newlib: 
24353         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24354         r=`${PWD_COMMAND}`; export r; \
24355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24356         $(NORMAL_TARGET_EXPORTS) \
24357         echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
24358         for flag in $(EXTRA_TARGET_FLAGS); do \
24359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360         done; \
24361         (cd $(TARGET_SUBDIR)/newlib && \
24362           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24363                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24364                   "RANLIB=$${RANLIB}" \
24365                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24366                    distclean) \
24367           || exit 1
24368
24369 @endif target-newlib
24370
24371 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
24372 maybe-maintainer-clean-target-newlib:
24373 @if target-newlib
24374 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
24375
24376 maintainer-clean-target-newlib: 
24377         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24378         r=`${PWD_COMMAND}`; export r; \
24379         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24380         $(NORMAL_TARGET_EXPORTS) \
24381         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
24382         for flag in $(EXTRA_TARGET_FLAGS); do \
24383           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24384         done; \
24385         (cd $(TARGET_SUBDIR)/newlib && \
24386           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24387                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24388                   "RANLIB=$${RANLIB}" \
24389                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24390                    maintainer-clean) \
24391           || exit 1
24392
24393 @endif target-newlib
24394
24395
24396 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
24397 maybe-configure-target-libgfortran:
24398 @if target-libgfortran
24399 maybe-configure-target-libgfortran: configure-target-libgfortran
24400
24401 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24402 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
24403         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
24404         rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
24405         cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
24406
24407 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
24408         @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
24409         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
24410         r=`${PWD_COMMAND}`; export r; \
24411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24412         $(NORMAL_TARGET_EXPORTS) \
24413         echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
24414         cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
24415         case $(srcdir) in \
24416           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24417           *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
24418                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24419         esac; \
24420         srcdiroption="--srcdir=$${topdir}/libgfortran"; \
24421         libsrcdir="$$s/libgfortran"; \
24422         rm -f no-such-file || : ; \
24423         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24424           $(TARGET_CONFIGARGS) $${srcdiroption} \
24425           --with-target-subdir="$(TARGET_SUBDIR)"  \
24426           || exit 1
24427 @endif target-libgfortran
24428
24429 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
24430 maybe-all-target-libgfortran:
24431 @if target-libgfortran
24432 TARGET-target-libgfortran=all
24433 maybe-all-target-libgfortran: all-target-libgfortran
24434 all-target-libgfortran: configure-target-libgfortran
24435         @r=`${PWD_COMMAND}`; export r; \
24436         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24437         $(NORMAL_TARGET_EXPORTS) \
24438         (cd $(TARGET_SUBDIR)/libgfortran && \
24439           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libgfortran))
24440 @endif target-libgfortran
24441
24442 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
24443 maybe-check-target-libgfortran:
24444 @if target-libgfortran
24445 maybe-check-target-libgfortran: check-target-libgfortran
24446
24447 check-target-libgfortran:
24448         @r=`${PWD_COMMAND}`; export r; \
24449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24450         $(NORMAL_TARGET_EXPORTS) \
24451         (cd $(TARGET_SUBDIR)/libgfortran && \
24452           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24453
24454 @endif target-libgfortran
24455
24456 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
24457 maybe-install-target-libgfortran:
24458 @if target-libgfortran
24459 maybe-install-target-libgfortran: install-target-libgfortran
24460
24461 install-target-libgfortran: installdirs
24462         @r=`${PWD_COMMAND}`; export r; \
24463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24464         $(NORMAL_TARGET_EXPORTS) \
24465         (cd $(TARGET_SUBDIR)/libgfortran && \
24466           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24467
24468 @endif target-libgfortran
24469
24470 # Other targets (info, dvi, etc.)
24471
24472 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
24473 maybe-info-target-libgfortran:
24474 @if target-libgfortran
24475 maybe-info-target-libgfortran: info-target-libgfortran
24476
24477 info-target-libgfortran: \
24478     configure-target-libgfortran 
24479         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24480         r=`${PWD_COMMAND}`; export r; \
24481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24482         $(NORMAL_TARGET_EXPORTS) \
24483         echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
24484         for flag in $(EXTRA_TARGET_FLAGS); do \
24485           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24486         done; \
24487         (cd $(TARGET_SUBDIR)/libgfortran && \
24488           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24489                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24490                   "RANLIB=$${RANLIB}" \
24491                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24492                    info) \
24493           || exit 1
24494
24495 @endif target-libgfortran
24496
24497 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
24498 maybe-dvi-target-libgfortran:
24499 @if target-libgfortran
24500 maybe-dvi-target-libgfortran: dvi-target-libgfortran
24501
24502 dvi-target-libgfortran: \
24503     configure-target-libgfortran 
24504         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24505         r=`${PWD_COMMAND}`; export r; \
24506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24507         $(NORMAL_TARGET_EXPORTS) \
24508         echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
24509         for flag in $(EXTRA_TARGET_FLAGS); do \
24510           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24511         done; \
24512         (cd $(TARGET_SUBDIR)/libgfortran && \
24513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24515                   "RANLIB=$${RANLIB}" \
24516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24517                    dvi) \
24518           || exit 1
24519
24520 @endif target-libgfortran
24521
24522 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
24523 maybe-html-target-libgfortran:
24524 @if target-libgfortran
24525 maybe-html-target-libgfortran: html-target-libgfortran
24526
24527 html-target-libgfortran: \
24528     configure-target-libgfortran 
24529         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24530         r=`${PWD_COMMAND}`; export r; \
24531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24532         $(NORMAL_TARGET_EXPORTS) \
24533         echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
24534         for flag in $(EXTRA_TARGET_FLAGS); do \
24535           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24536         done; \
24537         (cd $(TARGET_SUBDIR)/libgfortran && \
24538           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24539                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24540                   "RANLIB=$${RANLIB}" \
24541                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24542                    html) \
24543           || exit 1
24544
24545 @endif target-libgfortran
24546
24547 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
24548 maybe-TAGS-target-libgfortran:
24549 @if target-libgfortran
24550 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
24551
24552 TAGS-target-libgfortran: \
24553     configure-target-libgfortran 
24554         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24555         r=`${PWD_COMMAND}`; export r; \
24556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24557         $(NORMAL_TARGET_EXPORTS) \
24558         echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
24559         for flag in $(EXTRA_TARGET_FLAGS); do \
24560           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24561         done; \
24562         (cd $(TARGET_SUBDIR)/libgfortran && \
24563           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24564                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24565                   "RANLIB=$${RANLIB}" \
24566                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24567                    TAGS) \
24568           || exit 1
24569
24570 @endif target-libgfortran
24571
24572 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
24573 maybe-install-info-target-libgfortran:
24574 @if target-libgfortran
24575 maybe-install-info-target-libgfortran: install-info-target-libgfortran
24576
24577 install-info-target-libgfortran: \
24578     configure-target-libgfortran \
24579     info-target-libgfortran 
24580         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24581         r=`${PWD_COMMAND}`; export r; \
24582         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24583         $(NORMAL_TARGET_EXPORTS) \
24584         echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
24585         for flag in $(EXTRA_TARGET_FLAGS); do \
24586           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24587         done; \
24588         (cd $(TARGET_SUBDIR)/libgfortran && \
24589           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24590                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24591                   "RANLIB=$${RANLIB}" \
24592                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24593                    install-info) \
24594           || exit 1
24595
24596 @endif target-libgfortran
24597
24598 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
24599 maybe-installcheck-target-libgfortran:
24600 @if target-libgfortran
24601 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
24602
24603 installcheck-target-libgfortran: \
24604     configure-target-libgfortran 
24605         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24606         r=`${PWD_COMMAND}`; export r; \
24607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24608         $(NORMAL_TARGET_EXPORTS) \
24609         echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
24610         for flag in $(EXTRA_TARGET_FLAGS); do \
24611           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24612         done; \
24613         (cd $(TARGET_SUBDIR)/libgfortran && \
24614           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24615                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24616                   "RANLIB=$${RANLIB}" \
24617                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24618                    installcheck) \
24619           || exit 1
24620
24621 @endif target-libgfortran
24622
24623 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
24624 maybe-mostlyclean-target-libgfortran:
24625 @if target-libgfortran
24626 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
24627
24628 mostlyclean-target-libgfortran: 
24629         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24630         r=`${PWD_COMMAND}`; export r; \
24631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24632         $(NORMAL_TARGET_EXPORTS) \
24633         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
24634         for flag in $(EXTRA_TARGET_FLAGS); do \
24635           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24636         done; \
24637         (cd $(TARGET_SUBDIR)/libgfortran && \
24638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24640                   "RANLIB=$${RANLIB}" \
24641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24642                    mostlyclean) \
24643           || exit 1
24644
24645 @endif target-libgfortran
24646
24647 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
24648 maybe-clean-target-libgfortran:
24649 @if target-libgfortran
24650 maybe-clean-target-libgfortran: clean-target-libgfortran
24651
24652 clean-target-libgfortran: 
24653         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24654         r=`${PWD_COMMAND}`; export r; \
24655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24656         $(NORMAL_TARGET_EXPORTS) \
24657         echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
24658         for flag in $(EXTRA_TARGET_FLAGS); do \
24659           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24660         done; \
24661         (cd $(TARGET_SUBDIR)/libgfortran && \
24662           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24663                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24664                   "RANLIB=$${RANLIB}" \
24665                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24666                    clean) \
24667           || exit 1
24668
24669 @endif target-libgfortran
24670
24671 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
24672 maybe-distclean-target-libgfortran:
24673 @if target-libgfortran
24674 maybe-distclean-target-libgfortran: distclean-target-libgfortran
24675
24676 distclean-target-libgfortran: 
24677         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24678         r=`${PWD_COMMAND}`; export r; \
24679         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680         $(NORMAL_TARGET_EXPORTS) \
24681         echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
24682         for flag in $(EXTRA_TARGET_FLAGS); do \
24683           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24684         done; \
24685         (cd $(TARGET_SUBDIR)/libgfortran && \
24686           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24687                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24688                   "RANLIB=$${RANLIB}" \
24689                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24690                    distclean) \
24691           || exit 1
24692
24693 @endif target-libgfortran
24694
24695 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
24696 maybe-maintainer-clean-target-libgfortran:
24697 @if target-libgfortran
24698 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
24699
24700 maintainer-clean-target-libgfortran: 
24701         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24702         r=`${PWD_COMMAND}`; export r; \
24703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704         $(NORMAL_TARGET_EXPORTS) \
24705         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
24706         for flag in $(EXTRA_TARGET_FLAGS); do \
24707           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24708         done; \
24709         (cd $(TARGET_SUBDIR)/libgfortran && \
24710           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712                   "RANLIB=$${RANLIB}" \
24713                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24714                    maintainer-clean) \
24715           || exit 1
24716
24717 @endif target-libgfortran
24718
24719
24720 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
24721 maybe-configure-target-libobjc:
24722 @if target-libobjc
24723 maybe-configure-target-libobjc: configure-target-libobjc
24724
24725 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24726 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
24727         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
24728         rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
24729         cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
24730
24731 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
24732         @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
24733         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
24734         r=`${PWD_COMMAND}`; export r; \
24735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736         $(NORMAL_TARGET_EXPORTS) \
24737         echo Configuring in $(TARGET_SUBDIR)/libobjc; \
24738         cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
24739         case $(srcdir) in \
24740           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24741           *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
24742                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24743         esac; \
24744         srcdiroption="--srcdir=$${topdir}/libobjc"; \
24745         libsrcdir="$$s/libobjc"; \
24746         rm -f no-such-file || : ; \
24747         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24748           $(TARGET_CONFIGARGS) $${srcdiroption} \
24749           --with-target-subdir="$(TARGET_SUBDIR)"  \
24750           || exit 1
24751 @endif target-libobjc
24752
24753 .PHONY: all-target-libobjc maybe-all-target-libobjc
24754 maybe-all-target-libobjc:
24755 @if target-libobjc
24756 TARGET-target-libobjc=all
24757 maybe-all-target-libobjc: all-target-libobjc
24758 all-target-libobjc: configure-target-libobjc
24759         @r=`${PWD_COMMAND}`; export r; \
24760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24761         $(NORMAL_TARGET_EXPORTS) \
24762         (cd $(TARGET_SUBDIR)/libobjc && \
24763           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libobjc))
24764 @endif target-libobjc
24765
24766 .PHONY: check-target-libobjc maybe-check-target-libobjc
24767 maybe-check-target-libobjc:
24768 @if target-libobjc
24769 maybe-check-target-libobjc: check-target-libobjc
24770
24771 check-target-libobjc:
24772         @r=`${PWD_COMMAND}`; export r; \
24773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774         $(NORMAL_TARGET_EXPORTS) \
24775         (cd $(TARGET_SUBDIR)/libobjc && \
24776           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
24777
24778 @endif target-libobjc
24779
24780 .PHONY: install-target-libobjc maybe-install-target-libobjc
24781 maybe-install-target-libobjc:
24782 @if target-libobjc
24783 maybe-install-target-libobjc: install-target-libobjc
24784
24785 install-target-libobjc: installdirs
24786         @r=`${PWD_COMMAND}`; export r; \
24787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24788         $(NORMAL_TARGET_EXPORTS) \
24789         (cd $(TARGET_SUBDIR)/libobjc && \
24790           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
24791
24792 @endif target-libobjc
24793
24794 # Other targets (info, dvi, etc.)
24795
24796 .PHONY: maybe-info-target-libobjc info-target-libobjc
24797 maybe-info-target-libobjc:
24798 @if target-libobjc
24799 maybe-info-target-libobjc: info-target-libobjc
24800
24801 info-target-libobjc: \
24802     configure-target-libobjc 
24803         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24804         r=`${PWD_COMMAND}`; export r; \
24805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24806         $(NORMAL_TARGET_EXPORTS) \
24807         echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
24808         for flag in $(EXTRA_TARGET_FLAGS); do \
24809           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24810         done; \
24811         (cd $(TARGET_SUBDIR)/libobjc && \
24812           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24813                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24814                   "RANLIB=$${RANLIB}" \
24815                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24816                    info) \
24817           || exit 1
24818
24819 @endif target-libobjc
24820
24821 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
24822 maybe-dvi-target-libobjc:
24823 @if target-libobjc
24824 maybe-dvi-target-libobjc: dvi-target-libobjc
24825
24826 dvi-target-libobjc: \
24827     configure-target-libobjc 
24828         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24829         r=`${PWD_COMMAND}`; export r; \
24830         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831         $(NORMAL_TARGET_EXPORTS) \
24832         echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
24833         for flag in $(EXTRA_TARGET_FLAGS); do \
24834           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24835         done; \
24836         (cd $(TARGET_SUBDIR)/libobjc && \
24837           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24838                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24839                   "RANLIB=$${RANLIB}" \
24840                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24841                    dvi) \
24842           || exit 1
24843
24844 @endif target-libobjc
24845
24846 .PHONY: maybe-html-target-libobjc html-target-libobjc
24847 maybe-html-target-libobjc:
24848 @if target-libobjc
24849 maybe-html-target-libobjc: html-target-libobjc
24850
24851 html-target-libobjc: \
24852     configure-target-libobjc 
24853         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24854         r=`${PWD_COMMAND}`; export r; \
24855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24856         $(NORMAL_TARGET_EXPORTS) \
24857         echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
24858         for flag in $(EXTRA_TARGET_FLAGS); do \
24859           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24860         done; \
24861         (cd $(TARGET_SUBDIR)/libobjc && \
24862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24864                   "RANLIB=$${RANLIB}" \
24865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24866                    html) \
24867           || exit 1
24868
24869 @endif target-libobjc
24870
24871 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
24872 maybe-TAGS-target-libobjc:
24873 @if target-libobjc
24874 maybe-TAGS-target-libobjc: TAGS-target-libobjc
24875
24876 TAGS-target-libobjc: \
24877     configure-target-libobjc 
24878         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24879         r=`${PWD_COMMAND}`; export r; \
24880         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24881         $(NORMAL_TARGET_EXPORTS) \
24882         echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
24883         for flag in $(EXTRA_TARGET_FLAGS); do \
24884           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24885         done; \
24886         (cd $(TARGET_SUBDIR)/libobjc && \
24887           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24888                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24889                   "RANLIB=$${RANLIB}" \
24890                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24891                    TAGS) \
24892           || exit 1
24893
24894 @endif target-libobjc
24895
24896 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
24897 maybe-install-info-target-libobjc:
24898 @if target-libobjc
24899 maybe-install-info-target-libobjc: install-info-target-libobjc
24900
24901 install-info-target-libobjc: \
24902     configure-target-libobjc \
24903     info-target-libobjc 
24904         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24905         r=`${PWD_COMMAND}`; export r; \
24906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24907         $(NORMAL_TARGET_EXPORTS) \
24908         echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
24909         for flag in $(EXTRA_TARGET_FLAGS); do \
24910           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24911         done; \
24912         (cd $(TARGET_SUBDIR)/libobjc && \
24913           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24914                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24915                   "RANLIB=$${RANLIB}" \
24916                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24917                    install-info) \
24918           || exit 1
24919
24920 @endif target-libobjc
24921
24922 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
24923 maybe-installcheck-target-libobjc:
24924 @if target-libobjc
24925 maybe-installcheck-target-libobjc: installcheck-target-libobjc
24926
24927 installcheck-target-libobjc: \
24928     configure-target-libobjc 
24929         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24930         r=`${PWD_COMMAND}`; export r; \
24931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24932         $(NORMAL_TARGET_EXPORTS) \
24933         echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
24934         for flag in $(EXTRA_TARGET_FLAGS); do \
24935           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24936         done; \
24937         (cd $(TARGET_SUBDIR)/libobjc && \
24938           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24939                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24940                   "RANLIB=$${RANLIB}" \
24941                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24942                    installcheck) \
24943           || exit 1
24944
24945 @endif target-libobjc
24946
24947 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
24948 maybe-mostlyclean-target-libobjc:
24949 @if target-libobjc
24950 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
24951
24952 mostlyclean-target-libobjc: 
24953         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24954         r=`${PWD_COMMAND}`; export r; \
24955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24956         $(NORMAL_TARGET_EXPORTS) \
24957         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
24958         for flag in $(EXTRA_TARGET_FLAGS); do \
24959           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24960         done; \
24961         (cd $(TARGET_SUBDIR)/libobjc && \
24962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24964                   "RANLIB=$${RANLIB}" \
24965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24966                    mostlyclean) \
24967           || exit 1
24968
24969 @endif target-libobjc
24970
24971 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
24972 maybe-clean-target-libobjc:
24973 @if target-libobjc
24974 maybe-clean-target-libobjc: clean-target-libobjc
24975
24976 clean-target-libobjc: 
24977         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24978         r=`${PWD_COMMAND}`; export r; \
24979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980         $(NORMAL_TARGET_EXPORTS) \
24981         echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
24982         for flag in $(EXTRA_TARGET_FLAGS); do \
24983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24984         done; \
24985         (cd $(TARGET_SUBDIR)/libobjc && \
24986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24988                   "RANLIB=$${RANLIB}" \
24989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24990                    clean) \
24991           || exit 1
24992
24993 @endif target-libobjc
24994
24995 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
24996 maybe-distclean-target-libobjc:
24997 @if target-libobjc
24998 maybe-distclean-target-libobjc: distclean-target-libobjc
24999
25000 distclean-target-libobjc: 
25001         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25002         r=`${PWD_COMMAND}`; export r; \
25003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25004         $(NORMAL_TARGET_EXPORTS) \
25005         echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25006         for flag in $(EXTRA_TARGET_FLAGS); do \
25007           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25008         done; \
25009         (cd $(TARGET_SUBDIR)/libobjc && \
25010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25012                   "RANLIB=$${RANLIB}" \
25013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25014                    distclean) \
25015           || exit 1
25016
25017 @endif target-libobjc
25018
25019 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25020 maybe-maintainer-clean-target-libobjc:
25021 @if target-libobjc
25022 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25023
25024 maintainer-clean-target-libobjc: 
25025         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25026         r=`${PWD_COMMAND}`; export r; \
25027         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25028         $(NORMAL_TARGET_EXPORTS) \
25029         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25030         for flag in $(EXTRA_TARGET_FLAGS); do \
25031           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25032         done; \
25033         (cd $(TARGET_SUBDIR)/libobjc && \
25034           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25035                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25036                   "RANLIB=$${RANLIB}" \
25037                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25038                    maintainer-clean) \
25039           || exit 1
25040
25041 @endif target-libobjc
25042
25043
25044 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25045 maybe-configure-target-libtermcap:
25046 @if target-libtermcap
25047 maybe-configure-target-libtermcap: configure-target-libtermcap
25048
25049 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25050 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25051         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25052         rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25053         cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25054
25055 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25056         @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25057         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25058         r=`${PWD_COMMAND}`; export r; \
25059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25060         $(NORMAL_TARGET_EXPORTS) \
25061         echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25062         cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25063         case $(srcdir) in \
25064           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25065           *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
25066                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25067         esac; \
25068         srcdiroption="--srcdir=$${topdir}/libtermcap"; \
25069         libsrcdir="$$s/libtermcap"; \
25070         rm -f no-such-file || : ; \
25071         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25072           $(TARGET_CONFIGARGS) $${srcdiroption} \
25073           --with-target-subdir="$(TARGET_SUBDIR)"  \
25074           || exit 1
25075 @endif target-libtermcap
25076
25077 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
25078 maybe-all-target-libtermcap:
25079 @if target-libtermcap
25080 TARGET-target-libtermcap=all
25081 maybe-all-target-libtermcap: all-target-libtermcap
25082 all-target-libtermcap: configure-target-libtermcap
25083         @r=`${PWD_COMMAND}`; export r; \
25084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25085         $(NORMAL_TARGET_EXPORTS) \
25086         (cd $(TARGET_SUBDIR)/libtermcap && \
25087           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libtermcap))
25088 @endif target-libtermcap
25089
25090 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
25091 maybe-check-target-libtermcap:
25092 @if target-libtermcap
25093 maybe-check-target-libtermcap: check-target-libtermcap
25094
25095 # Dummy target for uncheckable module.
25096 check-target-libtermcap:
25097
25098 @endif target-libtermcap
25099
25100 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
25101 maybe-install-target-libtermcap:
25102 @if target-libtermcap
25103 maybe-install-target-libtermcap: install-target-libtermcap
25104
25105 install-target-libtermcap: installdirs
25106         @r=`${PWD_COMMAND}`; export r; \
25107         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25108         $(NORMAL_TARGET_EXPORTS) \
25109         (cd $(TARGET_SUBDIR)/libtermcap && \
25110           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25111
25112 @endif target-libtermcap
25113
25114 # Other targets (info, dvi, etc.)
25115
25116 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
25117 maybe-info-target-libtermcap:
25118 @if target-libtermcap
25119 maybe-info-target-libtermcap: info-target-libtermcap
25120
25121 info-target-libtermcap: \
25122     configure-target-libtermcap 
25123         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25124         r=`${PWD_COMMAND}`; export r; \
25125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25126         $(NORMAL_TARGET_EXPORTS) \
25127         echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
25128         for flag in $(EXTRA_TARGET_FLAGS); do \
25129           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25130         done; \
25131         (cd $(TARGET_SUBDIR)/libtermcap && \
25132           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25133                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25134                   "RANLIB=$${RANLIB}" \
25135                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25136                    info) \
25137           || exit 1
25138
25139 @endif target-libtermcap
25140
25141 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
25142 maybe-dvi-target-libtermcap:
25143 @if target-libtermcap
25144 maybe-dvi-target-libtermcap: dvi-target-libtermcap
25145
25146 dvi-target-libtermcap: \
25147     configure-target-libtermcap 
25148         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25149         r=`${PWD_COMMAND}`; export r; \
25150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25151         $(NORMAL_TARGET_EXPORTS) \
25152         echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
25153         for flag in $(EXTRA_TARGET_FLAGS); do \
25154           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25155         done; \
25156         (cd $(TARGET_SUBDIR)/libtermcap && \
25157           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25158                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25159                   "RANLIB=$${RANLIB}" \
25160                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25161                    dvi) \
25162           || exit 1
25163
25164 @endif target-libtermcap
25165
25166 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
25167 maybe-html-target-libtermcap:
25168 @if target-libtermcap
25169 maybe-html-target-libtermcap: html-target-libtermcap
25170
25171 html-target-libtermcap: \
25172     configure-target-libtermcap 
25173         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25174         r=`${PWD_COMMAND}`; export r; \
25175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25176         $(NORMAL_TARGET_EXPORTS) \
25177         echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
25178         for flag in $(EXTRA_TARGET_FLAGS); do \
25179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25180         done; \
25181         (cd $(TARGET_SUBDIR)/libtermcap && \
25182           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25183                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25184                   "RANLIB=$${RANLIB}" \
25185                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25186                    html) \
25187           || exit 1
25188
25189 @endif target-libtermcap
25190
25191 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
25192 maybe-TAGS-target-libtermcap:
25193 @if target-libtermcap
25194 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
25195
25196 TAGS-target-libtermcap: \
25197     configure-target-libtermcap 
25198         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25199         r=`${PWD_COMMAND}`; export r; \
25200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25201         $(NORMAL_TARGET_EXPORTS) \
25202         echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
25203         for flag in $(EXTRA_TARGET_FLAGS); do \
25204           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25205         done; \
25206         (cd $(TARGET_SUBDIR)/libtermcap && \
25207           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25208                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25209                   "RANLIB=$${RANLIB}" \
25210                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25211                    TAGS) \
25212           || exit 1
25213
25214 @endif target-libtermcap
25215
25216 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
25217 maybe-install-info-target-libtermcap:
25218 @if target-libtermcap
25219 maybe-install-info-target-libtermcap: install-info-target-libtermcap
25220
25221 install-info-target-libtermcap: \
25222     configure-target-libtermcap \
25223     info-target-libtermcap 
25224         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25225         r=`${PWD_COMMAND}`; export r; \
25226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227         $(NORMAL_TARGET_EXPORTS) \
25228         echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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                    install-info) \
25238           || exit 1
25239
25240 @endif target-libtermcap
25241
25242 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
25243 maybe-installcheck-target-libtermcap:
25244 @if target-libtermcap
25245 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
25246
25247 installcheck-target-libtermcap: \
25248     configure-target-libtermcap 
25249         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25250         r=`${PWD_COMMAND}`; export r; \
25251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252         $(NORMAL_TARGET_EXPORTS) \
25253         echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
25254         for flag in $(EXTRA_TARGET_FLAGS); do \
25255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25256         done; \
25257         (cd $(TARGET_SUBDIR)/libtermcap && \
25258           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25259                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25260                   "RANLIB=$${RANLIB}" \
25261                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25262                    installcheck) \
25263           || exit 1
25264
25265 @endif target-libtermcap
25266
25267 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
25268 maybe-mostlyclean-target-libtermcap:
25269 @if target-libtermcap
25270 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
25271
25272 # libtermcap doesn't support mostlyclean.
25273 mostlyclean-target-libtermcap:
25274
25275 @endif target-libtermcap
25276
25277 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
25278 maybe-clean-target-libtermcap:
25279 @if target-libtermcap
25280 maybe-clean-target-libtermcap: clean-target-libtermcap
25281
25282 # libtermcap doesn't support clean.
25283 clean-target-libtermcap:
25284
25285 @endif target-libtermcap
25286
25287 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
25288 maybe-distclean-target-libtermcap:
25289 @if target-libtermcap
25290 maybe-distclean-target-libtermcap: distclean-target-libtermcap
25291
25292 # libtermcap doesn't support distclean.
25293 distclean-target-libtermcap:
25294
25295 @endif target-libtermcap
25296
25297 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
25298 maybe-maintainer-clean-target-libtermcap:
25299 @if target-libtermcap
25300 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
25301
25302 # libtermcap doesn't support maintainer-clean.
25303 maintainer-clean-target-libtermcap:
25304
25305 @endif target-libtermcap
25306
25307
25308 .PHONY: configure-target-winsup maybe-configure-target-winsup
25309 maybe-configure-target-winsup:
25310 @if target-winsup
25311 maybe-configure-target-winsup: configure-target-winsup
25312
25313 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25314 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
25315         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
25316         rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
25317         cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
25318
25319 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
25320         @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
25321         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
25322         r=`${PWD_COMMAND}`; export r; \
25323         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25324         $(NORMAL_TARGET_EXPORTS) \
25325         echo Configuring in $(TARGET_SUBDIR)/winsup; \
25326         cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
25327         case $(srcdir) in \
25328           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25329           *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
25330                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25331         esac; \
25332         srcdiroption="--srcdir=$${topdir}/winsup"; \
25333         libsrcdir="$$s/winsup"; \
25334         rm -f no-such-file || : ; \
25335         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25336           $(TARGET_CONFIGARGS) $${srcdiroption} \
25337           --with-target-subdir="$(TARGET_SUBDIR)"  \
25338           || exit 1
25339 @endif target-winsup
25340
25341 .PHONY: all-target-winsup maybe-all-target-winsup
25342 maybe-all-target-winsup:
25343 @if target-winsup
25344 TARGET-target-winsup=all
25345 maybe-all-target-winsup: all-target-winsup
25346 all-target-winsup: configure-target-winsup
25347         @r=`${PWD_COMMAND}`; export r; \
25348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349         $(NORMAL_TARGET_EXPORTS) \
25350         (cd $(TARGET_SUBDIR)/winsup && \
25351           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-winsup))
25352 @endif target-winsup
25353
25354 .PHONY: check-target-winsup maybe-check-target-winsup
25355 maybe-check-target-winsup:
25356 @if target-winsup
25357 maybe-check-target-winsup: check-target-winsup
25358
25359 check-target-winsup:
25360         @r=`${PWD_COMMAND}`; export r; \
25361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25362         $(NORMAL_TARGET_EXPORTS) \
25363         (cd $(TARGET_SUBDIR)/winsup && \
25364           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
25365
25366 @endif target-winsup
25367
25368 .PHONY: install-target-winsup maybe-install-target-winsup
25369 maybe-install-target-winsup:
25370 @if target-winsup
25371 maybe-install-target-winsup: install-target-winsup
25372
25373 install-target-winsup: installdirs
25374         @r=`${PWD_COMMAND}`; export r; \
25375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25376         $(NORMAL_TARGET_EXPORTS) \
25377         (cd $(TARGET_SUBDIR)/winsup && \
25378           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25379
25380 @endif target-winsup
25381
25382 # Other targets (info, dvi, etc.)
25383
25384 .PHONY: maybe-info-target-winsup info-target-winsup
25385 maybe-info-target-winsup:
25386 @if target-winsup
25387 maybe-info-target-winsup: info-target-winsup
25388
25389 info-target-winsup: \
25390     configure-target-winsup 
25391         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25392         r=`${PWD_COMMAND}`; export r; \
25393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25394         $(NORMAL_TARGET_EXPORTS) \
25395         echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
25396         for flag in $(EXTRA_TARGET_FLAGS); do \
25397           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25398         done; \
25399         (cd $(TARGET_SUBDIR)/winsup && \
25400           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25401                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25402                   "RANLIB=$${RANLIB}" \
25403                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25404                    info) \
25405           || exit 1
25406
25407 @endif target-winsup
25408
25409 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
25410 maybe-dvi-target-winsup:
25411 @if target-winsup
25412 maybe-dvi-target-winsup: dvi-target-winsup
25413
25414 dvi-target-winsup: \
25415     configure-target-winsup 
25416         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25417         r=`${PWD_COMMAND}`; export r; \
25418         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25419         $(NORMAL_TARGET_EXPORTS) \
25420         echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
25421         for flag in $(EXTRA_TARGET_FLAGS); do \
25422           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25423         done; \
25424         (cd $(TARGET_SUBDIR)/winsup && \
25425           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25426                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25427                   "RANLIB=$${RANLIB}" \
25428                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25429                    dvi) \
25430           || exit 1
25431
25432 @endif target-winsup
25433
25434 .PHONY: maybe-html-target-winsup html-target-winsup
25435 maybe-html-target-winsup:
25436 @if target-winsup
25437 maybe-html-target-winsup: html-target-winsup
25438
25439 html-target-winsup: \
25440     configure-target-winsup 
25441         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25442         r=`${PWD_COMMAND}`; export r; \
25443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444         $(NORMAL_TARGET_EXPORTS) \
25445         echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
25446         for flag in $(EXTRA_TARGET_FLAGS); do \
25447           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25448         done; \
25449         (cd $(TARGET_SUBDIR)/winsup && \
25450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25452                   "RANLIB=$${RANLIB}" \
25453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25454                    html) \
25455           || exit 1
25456
25457 @endif target-winsup
25458
25459 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
25460 maybe-TAGS-target-winsup:
25461 @if target-winsup
25462 maybe-TAGS-target-winsup: TAGS-target-winsup
25463
25464 TAGS-target-winsup: \
25465     configure-target-winsup 
25466         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25467         r=`${PWD_COMMAND}`; export r; \
25468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25469         $(NORMAL_TARGET_EXPORTS) \
25470         echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
25471         for flag in $(EXTRA_TARGET_FLAGS); do \
25472           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25473         done; \
25474         (cd $(TARGET_SUBDIR)/winsup && \
25475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25477                   "RANLIB=$${RANLIB}" \
25478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25479                    TAGS) \
25480           || exit 1
25481
25482 @endif target-winsup
25483
25484 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
25485 maybe-install-info-target-winsup:
25486 @if target-winsup
25487 maybe-install-info-target-winsup: install-info-target-winsup
25488
25489 install-info-target-winsup: \
25490     configure-target-winsup \
25491     info-target-winsup 
25492         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25493         r=`${PWD_COMMAND}`; export r; \
25494         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25495         $(NORMAL_TARGET_EXPORTS) \
25496         echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
25497         for flag in $(EXTRA_TARGET_FLAGS); do \
25498           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25499         done; \
25500         (cd $(TARGET_SUBDIR)/winsup && \
25501           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25502                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25503                   "RANLIB=$${RANLIB}" \
25504                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25505                    install-info) \
25506           || exit 1
25507
25508 @endif target-winsup
25509
25510 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
25511 maybe-installcheck-target-winsup:
25512 @if target-winsup
25513 maybe-installcheck-target-winsup: installcheck-target-winsup
25514
25515 installcheck-target-winsup: \
25516     configure-target-winsup 
25517         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25518         r=`${PWD_COMMAND}`; export r; \
25519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520         $(NORMAL_TARGET_EXPORTS) \
25521         echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
25522         for flag in $(EXTRA_TARGET_FLAGS); do \
25523           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25524         done; \
25525         (cd $(TARGET_SUBDIR)/winsup && \
25526           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25527                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25528                   "RANLIB=$${RANLIB}" \
25529                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25530                    installcheck) \
25531           || exit 1
25532
25533 @endif target-winsup
25534
25535 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
25536 maybe-mostlyclean-target-winsup:
25537 @if target-winsup
25538 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
25539
25540 mostlyclean-target-winsup: 
25541         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25542         r=`${PWD_COMMAND}`; export r; \
25543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544         $(NORMAL_TARGET_EXPORTS) \
25545         echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
25546         for flag in $(EXTRA_TARGET_FLAGS); do \
25547           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25548         done; \
25549         (cd $(TARGET_SUBDIR)/winsup && \
25550           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25551                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25552                   "RANLIB=$${RANLIB}" \
25553                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25554                    mostlyclean) \
25555           || exit 1
25556
25557 @endif target-winsup
25558
25559 .PHONY: maybe-clean-target-winsup clean-target-winsup
25560 maybe-clean-target-winsup:
25561 @if target-winsup
25562 maybe-clean-target-winsup: clean-target-winsup
25563
25564 clean-target-winsup: 
25565         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25566         r=`${PWD_COMMAND}`; export r; \
25567         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25568         $(NORMAL_TARGET_EXPORTS) \
25569         echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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                    clean) \
25579           || exit 1
25580
25581 @endif target-winsup
25582
25583 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
25584 maybe-distclean-target-winsup:
25585 @if target-winsup
25586 maybe-distclean-target-winsup: distclean-target-winsup
25587
25588 distclean-target-winsup: 
25589         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25590         r=`${PWD_COMMAND}`; export r; \
25591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25592         $(NORMAL_TARGET_EXPORTS) \
25593         echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
25594         for flag in $(EXTRA_TARGET_FLAGS); do \
25595           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25596         done; \
25597         (cd $(TARGET_SUBDIR)/winsup && \
25598           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25599                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25600                   "RANLIB=$${RANLIB}" \
25601                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25602                    distclean) \
25603           || exit 1
25604
25605 @endif target-winsup
25606
25607 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
25608 maybe-maintainer-clean-target-winsup:
25609 @if target-winsup
25610 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
25611
25612 maintainer-clean-target-winsup: 
25613         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25614         r=`${PWD_COMMAND}`; export r; \
25615         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25616         $(NORMAL_TARGET_EXPORTS) \
25617         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
25618         for flag in $(EXTRA_TARGET_FLAGS); do \
25619           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25620         done; \
25621         (cd $(TARGET_SUBDIR)/winsup && \
25622           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25623                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25624                   "RANLIB=$${RANLIB}" \
25625                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25626                    maintainer-clean) \
25627           || exit 1
25628
25629 @endif target-winsup
25630
25631
25632 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
25633 maybe-configure-target-libgloss:
25634 @if target-libgloss
25635 maybe-configure-target-libgloss: configure-target-libgloss
25636
25637 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25638 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
25639         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
25640         rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
25641         cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
25642
25643 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
25644         @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
25645         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
25646         r=`${PWD_COMMAND}`; export r; \
25647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25648         $(NORMAL_TARGET_EXPORTS) \
25649         echo Configuring in $(TARGET_SUBDIR)/libgloss; \
25650         cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
25651         case $(srcdir) in \
25652           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25653           *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
25654                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25655         esac; \
25656         srcdiroption="--srcdir=$${topdir}/libgloss"; \
25657         libsrcdir="$$s/libgloss"; \
25658         rm -f no-such-file || : ; \
25659         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25660           $(TARGET_CONFIGARGS) $${srcdiroption} \
25661           --with-target-subdir="$(TARGET_SUBDIR)"  \
25662           || exit 1
25663 @endif target-libgloss
25664
25665 .PHONY: all-target-libgloss maybe-all-target-libgloss
25666 maybe-all-target-libgloss:
25667 @if target-libgloss
25668 TARGET-target-libgloss=all
25669 maybe-all-target-libgloss: all-target-libgloss
25670 all-target-libgloss: configure-target-libgloss
25671         @r=`${PWD_COMMAND}`; export r; \
25672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673         $(NORMAL_TARGET_EXPORTS) \
25674         (cd $(TARGET_SUBDIR)/libgloss && \
25675           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libgloss))
25676 @endif target-libgloss
25677
25678 .PHONY: check-target-libgloss maybe-check-target-libgloss
25679 maybe-check-target-libgloss:
25680 @if target-libgloss
25681 maybe-check-target-libgloss: check-target-libgloss
25682
25683 # Dummy target for uncheckable module.
25684 check-target-libgloss:
25685
25686 @endif target-libgloss
25687
25688 .PHONY: install-target-libgloss maybe-install-target-libgloss
25689 maybe-install-target-libgloss:
25690 @if target-libgloss
25691 maybe-install-target-libgloss: install-target-libgloss
25692
25693 install-target-libgloss: installdirs
25694         @r=`${PWD_COMMAND}`; export r; \
25695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25696         $(NORMAL_TARGET_EXPORTS) \
25697         (cd $(TARGET_SUBDIR)/libgloss && \
25698           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
25699
25700 @endif target-libgloss
25701
25702 # Other targets (info, dvi, etc.)
25703
25704 .PHONY: maybe-info-target-libgloss info-target-libgloss
25705 maybe-info-target-libgloss:
25706 @if target-libgloss
25707 maybe-info-target-libgloss: info-target-libgloss
25708
25709 info-target-libgloss: \
25710     configure-target-libgloss 
25711         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25712         r=`${PWD_COMMAND}`; export r; \
25713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25714         $(NORMAL_TARGET_EXPORTS) \
25715         echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
25716         for flag in $(EXTRA_TARGET_FLAGS); do \
25717           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25718         done; \
25719         (cd $(TARGET_SUBDIR)/libgloss && \
25720           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25721                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25722                   "RANLIB=$${RANLIB}" \
25723                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25724                    info) \
25725           || exit 1
25726
25727 @endif target-libgloss
25728
25729 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
25730 maybe-dvi-target-libgloss:
25731 @if target-libgloss
25732 maybe-dvi-target-libgloss: dvi-target-libgloss
25733
25734 dvi-target-libgloss: \
25735     configure-target-libgloss 
25736         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25737         r=`${PWD_COMMAND}`; export r; \
25738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25739         $(NORMAL_TARGET_EXPORTS) \
25740         echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
25741         for flag in $(EXTRA_TARGET_FLAGS); do \
25742           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25743         done; \
25744         (cd $(TARGET_SUBDIR)/libgloss && \
25745           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25746                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25747                   "RANLIB=$${RANLIB}" \
25748                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25749                    dvi) \
25750           || exit 1
25751
25752 @endif target-libgloss
25753
25754 .PHONY: maybe-html-target-libgloss html-target-libgloss
25755 maybe-html-target-libgloss:
25756 @if target-libgloss
25757 maybe-html-target-libgloss: html-target-libgloss
25758
25759 html-target-libgloss: \
25760     configure-target-libgloss 
25761         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25762         r=`${PWD_COMMAND}`; export r; \
25763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25764         $(NORMAL_TARGET_EXPORTS) \
25765         echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
25766         for flag in $(EXTRA_TARGET_FLAGS); do \
25767           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25768         done; \
25769         (cd $(TARGET_SUBDIR)/libgloss && \
25770           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25771                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25772                   "RANLIB=$${RANLIB}" \
25773                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25774                    html) \
25775           || exit 1
25776
25777 @endif target-libgloss
25778
25779 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
25780 maybe-TAGS-target-libgloss:
25781 @if target-libgloss
25782 maybe-TAGS-target-libgloss: TAGS-target-libgloss
25783
25784 TAGS-target-libgloss: \
25785     configure-target-libgloss 
25786         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25787         r=`${PWD_COMMAND}`; export r; \
25788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25789         $(NORMAL_TARGET_EXPORTS) \
25790         echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
25791         for flag in $(EXTRA_TARGET_FLAGS); do \
25792           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25793         done; \
25794         (cd $(TARGET_SUBDIR)/libgloss && \
25795           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25796                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25797                   "RANLIB=$${RANLIB}" \
25798                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25799                    TAGS) \
25800           || exit 1
25801
25802 @endif target-libgloss
25803
25804 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
25805 maybe-install-info-target-libgloss:
25806 @if target-libgloss
25807 maybe-install-info-target-libgloss: install-info-target-libgloss
25808
25809 install-info-target-libgloss: \
25810     configure-target-libgloss \
25811     info-target-libgloss 
25812         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25813         r=`${PWD_COMMAND}`; export r; \
25814         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25815         $(NORMAL_TARGET_EXPORTS) \
25816         echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
25817         for flag in $(EXTRA_TARGET_FLAGS); do \
25818           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25819         done; \
25820         (cd $(TARGET_SUBDIR)/libgloss && \
25821           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25822                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25823                   "RANLIB=$${RANLIB}" \
25824                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25825                    install-info) \
25826           || exit 1
25827
25828 @endif target-libgloss
25829
25830 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
25831 maybe-installcheck-target-libgloss:
25832 @if target-libgloss
25833 maybe-installcheck-target-libgloss: installcheck-target-libgloss
25834
25835 installcheck-target-libgloss: \
25836     configure-target-libgloss 
25837         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25838         r=`${PWD_COMMAND}`; export r; \
25839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25840         $(NORMAL_TARGET_EXPORTS) \
25841         echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
25842         for flag in $(EXTRA_TARGET_FLAGS); do \
25843           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25844         done; \
25845         (cd $(TARGET_SUBDIR)/libgloss && \
25846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25848                   "RANLIB=$${RANLIB}" \
25849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25850                    installcheck) \
25851           || exit 1
25852
25853 @endif target-libgloss
25854
25855 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
25856 maybe-mostlyclean-target-libgloss:
25857 @if target-libgloss
25858 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
25859
25860 mostlyclean-target-libgloss: 
25861         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25862         r=`${PWD_COMMAND}`; export r; \
25863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864         $(NORMAL_TARGET_EXPORTS) \
25865         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
25866         for flag in $(EXTRA_TARGET_FLAGS); do \
25867           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25868         done; \
25869         (cd $(TARGET_SUBDIR)/libgloss && \
25870           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872                   "RANLIB=$${RANLIB}" \
25873                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25874                    mostlyclean) \
25875           || exit 1
25876
25877 @endif target-libgloss
25878
25879 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
25880 maybe-clean-target-libgloss:
25881 @if target-libgloss
25882 maybe-clean-target-libgloss: clean-target-libgloss
25883
25884 clean-target-libgloss: 
25885         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25886         r=`${PWD_COMMAND}`; export r; \
25887         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888         $(NORMAL_TARGET_EXPORTS) \
25889         echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
25890         for flag in $(EXTRA_TARGET_FLAGS); do \
25891           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25892         done; \
25893         (cd $(TARGET_SUBDIR)/libgloss && \
25894           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25895                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25896                   "RANLIB=$${RANLIB}" \
25897                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25898                    clean) \
25899           || exit 1
25900
25901 @endif target-libgloss
25902
25903 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
25904 maybe-distclean-target-libgloss:
25905 @if target-libgloss
25906 maybe-distclean-target-libgloss: distclean-target-libgloss
25907
25908 distclean-target-libgloss: 
25909         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25910         r=`${PWD_COMMAND}`; export r; \
25911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912         $(NORMAL_TARGET_EXPORTS) \
25913         echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
25914         for flag in $(EXTRA_TARGET_FLAGS); do \
25915           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25916         done; \
25917         (cd $(TARGET_SUBDIR)/libgloss && \
25918           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25919                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25920                   "RANLIB=$${RANLIB}" \
25921                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25922                    distclean) \
25923           || exit 1
25924
25925 @endif target-libgloss
25926
25927 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
25928 maybe-maintainer-clean-target-libgloss:
25929 @if target-libgloss
25930 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
25931
25932 maintainer-clean-target-libgloss: 
25933         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25934         r=`${PWD_COMMAND}`; export r; \
25935         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25936         $(NORMAL_TARGET_EXPORTS) \
25937         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
25938         for flag in $(EXTRA_TARGET_FLAGS); do \
25939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25940         done; \
25941         (cd $(TARGET_SUBDIR)/libgloss && \
25942           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944                   "RANLIB=$${RANLIB}" \
25945                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25946                    maintainer-clean) \
25947           || exit 1
25948
25949 @endif target-libgloss
25950
25951
25952 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
25953 maybe-configure-target-libiberty:
25954 @if target-libiberty
25955 maybe-configure-target-libiberty: configure-target-libiberty
25956
25957 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25958 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
25959         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25960         rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
25961         cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
25962
25963 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
25964         @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
25965         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25966         r=`${PWD_COMMAND}`; export r; \
25967         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968         $(NORMAL_TARGET_EXPORTS) \
25969         echo Configuring in $(TARGET_SUBDIR)/libiberty; \
25970         cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
25971         case $(srcdir) in \
25972           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25973           *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
25974                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25975         esac; \
25976         srcdiroption="--srcdir=$${topdir}/libiberty"; \
25977         libsrcdir="$$s/libiberty"; \
25978         rm -f no-such-file || : ; \
25979         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25980           $(TARGET_CONFIGARGS) $${srcdiroption} \
25981           --with-target-subdir="$(TARGET_SUBDIR)"  \
25982           || exit 1
25983 @endif target-libiberty
25984
25985 .PHONY: all-target-libiberty maybe-all-target-libiberty
25986 maybe-all-target-libiberty:
25987 @if target-libiberty
25988 TARGET-target-libiberty=all
25989 maybe-all-target-libiberty: all-target-libiberty
25990 all-target-libiberty: configure-target-libiberty
25991         @r=`${PWD_COMMAND}`; export r; \
25992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25993         $(NORMAL_TARGET_EXPORTS) \
25994         (cd $(TARGET_SUBDIR)/libiberty && \
25995           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libiberty))
25996 @endif target-libiberty
25997
25998 .PHONY: check-target-libiberty maybe-check-target-libiberty
25999 maybe-check-target-libiberty:
26000 @if target-libiberty
26001 maybe-check-target-libiberty: check-target-libiberty
26002
26003 check-target-libiberty:
26004         @r=`${PWD_COMMAND}`; export r; \
26005         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26006         $(NORMAL_TARGET_EXPORTS) \
26007         (cd $(TARGET_SUBDIR)/libiberty && \
26008           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26009
26010 @endif target-libiberty
26011
26012 .PHONY: install-target-libiberty maybe-install-target-libiberty
26013 maybe-install-target-libiberty:
26014 @if target-libiberty
26015 maybe-install-target-libiberty: install-target-libiberty
26016
26017 install-target-libiberty: installdirs
26018         @r=`${PWD_COMMAND}`; export r; \
26019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26020         $(NORMAL_TARGET_EXPORTS) \
26021         (cd $(TARGET_SUBDIR)/libiberty && \
26022           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26023
26024 @endif target-libiberty
26025
26026 # Other targets (info, dvi, etc.)
26027
26028 .PHONY: maybe-info-target-libiberty info-target-libiberty
26029 maybe-info-target-libiberty:
26030 @if target-libiberty
26031 maybe-info-target-libiberty: info-target-libiberty
26032
26033 info-target-libiberty: \
26034     configure-target-libiberty 
26035         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26036         r=`${PWD_COMMAND}`; export r; \
26037         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26038         $(NORMAL_TARGET_EXPORTS) \
26039         echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
26040         for flag in $(EXTRA_TARGET_FLAGS); do \
26041           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26042         done; \
26043         (cd $(TARGET_SUBDIR)/libiberty && \
26044           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26045                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26046                   "RANLIB=$${RANLIB}" \
26047                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26048                    info) \
26049           || exit 1
26050
26051 @endif target-libiberty
26052
26053 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
26054 maybe-dvi-target-libiberty:
26055 @if target-libiberty
26056 maybe-dvi-target-libiberty: dvi-target-libiberty
26057
26058 dvi-target-libiberty: \
26059     configure-target-libiberty 
26060         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26061         r=`${PWD_COMMAND}`; export r; \
26062         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26063         $(NORMAL_TARGET_EXPORTS) \
26064         echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
26065         for flag in $(EXTRA_TARGET_FLAGS); do \
26066           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26067         done; \
26068         (cd $(TARGET_SUBDIR)/libiberty && \
26069           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26070                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26071                   "RANLIB=$${RANLIB}" \
26072                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26073                    dvi) \
26074           || exit 1
26075
26076 @endif target-libiberty
26077
26078 .PHONY: maybe-html-target-libiberty html-target-libiberty
26079 maybe-html-target-libiberty:
26080 @if target-libiberty
26081 maybe-html-target-libiberty: html-target-libiberty
26082
26083 html-target-libiberty: \
26084     configure-target-libiberty 
26085         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26086         r=`${PWD_COMMAND}`; export r; \
26087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26088         $(NORMAL_TARGET_EXPORTS) \
26089         echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
26090         for flag in $(EXTRA_TARGET_FLAGS); do \
26091           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26092         done; \
26093         (cd $(TARGET_SUBDIR)/libiberty && \
26094           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26095                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26096                   "RANLIB=$${RANLIB}" \
26097                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26098                    html) \
26099           || exit 1
26100
26101 @endif target-libiberty
26102
26103 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
26104 maybe-TAGS-target-libiberty:
26105 @if target-libiberty
26106 maybe-TAGS-target-libiberty: TAGS-target-libiberty
26107
26108 TAGS-target-libiberty: \
26109     configure-target-libiberty 
26110         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26111         r=`${PWD_COMMAND}`; export r; \
26112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26113         $(NORMAL_TARGET_EXPORTS) \
26114         echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
26115         for flag in $(EXTRA_TARGET_FLAGS); do \
26116           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26117         done; \
26118         (cd $(TARGET_SUBDIR)/libiberty && \
26119           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26120                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26121                   "RANLIB=$${RANLIB}" \
26122                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26123                    TAGS) \
26124           || exit 1
26125
26126 @endif target-libiberty
26127
26128 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
26129 maybe-install-info-target-libiberty:
26130 @if target-libiberty
26131 maybe-install-info-target-libiberty: install-info-target-libiberty
26132
26133 install-info-target-libiberty: \
26134     configure-target-libiberty \
26135     info-target-libiberty 
26136         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26137         r=`${PWD_COMMAND}`; export r; \
26138         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139         $(NORMAL_TARGET_EXPORTS) \
26140         echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
26141         for flag in $(EXTRA_TARGET_FLAGS); do \
26142           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26143         done; \
26144         (cd $(TARGET_SUBDIR)/libiberty && \
26145           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26146                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26147                   "RANLIB=$${RANLIB}" \
26148                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26149                    install-info) \
26150           || exit 1
26151
26152 @endif target-libiberty
26153
26154 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
26155 maybe-installcheck-target-libiberty:
26156 @if target-libiberty
26157 maybe-installcheck-target-libiberty: installcheck-target-libiberty
26158
26159 installcheck-target-libiberty: \
26160     configure-target-libiberty 
26161         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26162         r=`${PWD_COMMAND}`; export r; \
26163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26164         $(NORMAL_TARGET_EXPORTS) \
26165         echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
26166         for flag in $(EXTRA_TARGET_FLAGS); do \
26167           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26168         done; \
26169         (cd $(TARGET_SUBDIR)/libiberty && \
26170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26172                   "RANLIB=$${RANLIB}" \
26173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26174                    installcheck) \
26175           || exit 1
26176
26177 @endif target-libiberty
26178
26179 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
26180 maybe-mostlyclean-target-libiberty:
26181 @if target-libiberty
26182 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
26183
26184 mostlyclean-target-libiberty: 
26185         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26186         r=`${PWD_COMMAND}`; export r; \
26187         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188         $(NORMAL_TARGET_EXPORTS) \
26189         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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                    mostlyclean) \
26199           || exit 1
26200
26201 @endif target-libiberty
26202
26203 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
26204 maybe-clean-target-libiberty:
26205 @if target-libiberty
26206 maybe-clean-target-libiberty: clean-target-libiberty
26207
26208 clean-target-libiberty: 
26209         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26210         r=`${PWD_COMMAND}`; export r; \
26211         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26212         $(NORMAL_TARGET_EXPORTS) \
26213         echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
26214         for flag in $(EXTRA_TARGET_FLAGS); do \
26215           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26216         done; \
26217         (cd $(TARGET_SUBDIR)/libiberty && \
26218           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26219                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26220                   "RANLIB=$${RANLIB}" \
26221                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26222                    clean) \
26223           || exit 1
26224
26225 @endif target-libiberty
26226
26227 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
26228 maybe-distclean-target-libiberty:
26229 @if target-libiberty
26230 maybe-distclean-target-libiberty: distclean-target-libiberty
26231
26232 distclean-target-libiberty: 
26233         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26234         r=`${PWD_COMMAND}`; export r; \
26235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26236         $(NORMAL_TARGET_EXPORTS) \
26237         echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
26238         for flag in $(EXTRA_TARGET_FLAGS); do \
26239           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26240         done; \
26241         (cd $(TARGET_SUBDIR)/libiberty && \
26242           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26243                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26244                   "RANLIB=$${RANLIB}" \
26245                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26246                    distclean) \
26247           || exit 1
26248
26249 @endif target-libiberty
26250
26251 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
26252 maybe-maintainer-clean-target-libiberty:
26253 @if target-libiberty
26254 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
26255
26256 maintainer-clean-target-libiberty: 
26257         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26258         r=`${PWD_COMMAND}`; export r; \
26259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26260         $(NORMAL_TARGET_EXPORTS) \
26261         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
26262         for flag in $(EXTRA_TARGET_FLAGS); do \
26263           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26264         done; \
26265         (cd $(TARGET_SUBDIR)/libiberty && \
26266           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26267                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26268                   "RANLIB=$${RANLIB}" \
26269                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26270                    maintainer-clean) \
26271           || exit 1
26272
26273 @endif target-libiberty
26274
26275
26276 .PHONY: configure-target-gperf maybe-configure-target-gperf
26277 maybe-configure-target-gperf:
26278 @if target-gperf
26279 maybe-configure-target-gperf: configure-target-gperf
26280
26281 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26282 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
26283         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
26284         rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
26285         cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
26286
26287 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
26288         @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
26289         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
26290         r=`${PWD_COMMAND}`; export r; \
26291         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26292         $(NORMAL_TARGET_EXPORTS) \
26293         echo Configuring in $(TARGET_SUBDIR)/gperf; \
26294         cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
26295         case $(srcdir) in \
26296           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26297           *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
26298                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26299         esac; \
26300         srcdiroption="--srcdir=$${topdir}/gperf"; \
26301         libsrcdir="$$s/gperf"; \
26302         rm -f no-such-file || : ; \
26303         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26304           $(TARGET_CONFIGARGS) $${srcdiroption} \
26305           --with-target-subdir="$(TARGET_SUBDIR)"  \
26306           || exit 1
26307 @endif target-gperf
26308
26309 .PHONY: all-target-gperf maybe-all-target-gperf
26310 maybe-all-target-gperf:
26311 @if target-gperf
26312 TARGET-target-gperf=all
26313 maybe-all-target-gperf: all-target-gperf
26314 all-target-gperf: configure-target-gperf
26315         @r=`${PWD_COMMAND}`; export r; \
26316         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26317         $(NORMAL_TARGET_EXPORTS) \
26318         (cd $(TARGET_SUBDIR)/gperf && \
26319           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-gperf))
26320 @endif target-gperf
26321
26322 .PHONY: check-target-gperf maybe-check-target-gperf
26323 maybe-check-target-gperf:
26324 @if target-gperf
26325 maybe-check-target-gperf: check-target-gperf
26326
26327 check-target-gperf:
26328         @r=`${PWD_COMMAND}`; export r; \
26329         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330         $(NORMAL_TARGET_EXPORTS) \
26331         (cd $(TARGET_SUBDIR)/gperf && \
26332           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26333
26334 @endif target-gperf
26335
26336 .PHONY: install-target-gperf maybe-install-target-gperf
26337 maybe-install-target-gperf:
26338 @if target-gperf
26339 maybe-install-target-gperf: install-target-gperf
26340
26341 install-target-gperf: installdirs
26342         @r=`${PWD_COMMAND}`; export r; \
26343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26344         $(NORMAL_TARGET_EXPORTS) \
26345         (cd $(TARGET_SUBDIR)/gperf && \
26346           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26347
26348 @endif target-gperf
26349
26350 # Other targets (info, dvi, etc.)
26351
26352 .PHONY: maybe-info-target-gperf info-target-gperf
26353 maybe-info-target-gperf:
26354 @if target-gperf
26355 maybe-info-target-gperf: info-target-gperf
26356
26357 info-target-gperf: \
26358     configure-target-gperf 
26359         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26360         r=`${PWD_COMMAND}`; export r; \
26361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362         $(NORMAL_TARGET_EXPORTS) \
26363         echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
26364         for flag in $(EXTRA_TARGET_FLAGS); do \
26365           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26366         done; \
26367         (cd $(TARGET_SUBDIR)/gperf && \
26368           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26369                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26370                   "RANLIB=$${RANLIB}" \
26371                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26372                    info) \
26373           || exit 1
26374
26375 @endif target-gperf
26376
26377 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
26378 maybe-dvi-target-gperf:
26379 @if target-gperf
26380 maybe-dvi-target-gperf: dvi-target-gperf
26381
26382 dvi-target-gperf: \
26383     configure-target-gperf 
26384         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26385         r=`${PWD_COMMAND}`; export r; \
26386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387         $(NORMAL_TARGET_EXPORTS) \
26388         echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
26389         for flag in $(EXTRA_TARGET_FLAGS); do \
26390           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26391         done; \
26392         (cd $(TARGET_SUBDIR)/gperf && \
26393           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26394                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26395                   "RANLIB=$${RANLIB}" \
26396                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26397                    dvi) \
26398           || exit 1
26399
26400 @endif target-gperf
26401
26402 .PHONY: maybe-html-target-gperf html-target-gperf
26403 maybe-html-target-gperf:
26404 @if target-gperf
26405 maybe-html-target-gperf: html-target-gperf
26406
26407 html-target-gperf: \
26408     configure-target-gperf 
26409         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26410         r=`${PWD_COMMAND}`; export r; \
26411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412         $(NORMAL_TARGET_EXPORTS) \
26413         echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
26414         for flag in $(EXTRA_TARGET_FLAGS); do \
26415           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26416         done; \
26417         (cd $(TARGET_SUBDIR)/gperf && \
26418           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26419                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26420                   "RANLIB=$${RANLIB}" \
26421                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26422                    html) \
26423           || exit 1
26424
26425 @endif target-gperf
26426
26427 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
26428 maybe-TAGS-target-gperf:
26429 @if target-gperf
26430 maybe-TAGS-target-gperf: TAGS-target-gperf
26431
26432 TAGS-target-gperf: \
26433     configure-target-gperf 
26434         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26435         r=`${PWD_COMMAND}`; export r; \
26436         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26437         $(NORMAL_TARGET_EXPORTS) \
26438         echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
26439         for flag in $(EXTRA_TARGET_FLAGS); do \
26440           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26441         done; \
26442         (cd $(TARGET_SUBDIR)/gperf && \
26443           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26444                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26445                   "RANLIB=$${RANLIB}" \
26446                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26447                    TAGS) \
26448           || exit 1
26449
26450 @endif target-gperf
26451
26452 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
26453 maybe-install-info-target-gperf:
26454 @if target-gperf
26455 maybe-install-info-target-gperf: install-info-target-gperf
26456
26457 install-info-target-gperf: \
26458     configure-target-gperf \
26459     info-target-gperf 
26460         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26461         r=`${PWD_COMMAND}`; export r; \
26462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26463         $(NORMAL_TARGET_EXPORTS) \
26464         echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
26465         for flag in $(EXTRA_TARGET_FLAGS); do \
26466           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26467         done; \
26468         (cd $(TARGET_SUBDIR)/gperf && \
26469           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26470                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26471                   "RANLIB=$${RANLIB}" \
26472                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26473                    install-info) \
26474           || exit 1
26475
26476 @endif target-gperf
26477
26478 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
26479 maybe-installcheck-target-gperf:
26480 @if target-gperf
26481 maybe-installcheck-target-gperf: installcheck-target-gperf
26482
26483 installcheck-target-gperf: \
26484     configure-target-gperf 
26485         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26486         r=`${PWD_COMMAND}`; export r; \
26487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488         $(NORMAL_TARGET_EXPORTS) \
26489         echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
26490         for flag in $(EXTRA_TARGET_FLAGS); do \
26491           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26492         done; \
26493         (cd $(TARGET_SUBDIR)/gperf && \
26494           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26495                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26496                   "RANLIB=$${RANLIB}" \
26497                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26498                    installcheck) \
26499           || exit 1
26500
26501 @endif target-gperf
26502
26503 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
26504 maybe-mostlyclean-target-gperf:
26505 @if target-gperf
26506 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
26507
26508 mostlyclean-target-gperf: 
26509         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26510         r=`${PWD_COMMAND}`; export r; \
26511         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26512         $(NORMAL_TARGET_EXPORTS) \
26513         echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
26514         for flag in $(EXTRA_TARGET_FLAGS); do \
26515           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26516         done; \
26517         (cd $(TARGET_SUBDIR)/gperf && \
26518           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26519                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26520                   "RANLIB=$${RANLIB}" \
26521                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26522                    mostlyclean) \
26523           || exit 1
26524
26525 @endif target-gperf
26526
26527 .PHONY: maybe-clean-target-gperf clean-target-gperf
26528 maybe-clean-target-gperf:
26529 @if target-gperf
26530 maybe-clean-target-gperf: clean-target-gperf
26531
26532 clean-target-gperf: 
26533         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26534         r=`${PWD_COMMAND}`; export r; \
26535         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26536         $(NORMAL_TARGET_EXPORTS) \
26537         echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
26538         for flag in $(EXTRA_TARGET_FLAGS); do \
26539           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26540         done; \
26541         (cd $(TARGET_SUBDIR)/gperf && \
26542           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26543                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26544                   "RANLIB=$${RANLIB}" \
26545                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26546                    clean) \
26547           || exit 1
26548
26549 @endif target-gperf
26550
26551 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
26552 maybe-distclean-target-gperf:
26553 @if target-gperf
26554 maybe-distclean-target-gperf: distclean-target-gperf
26555
26556 distclean-target-gperf: 
26557         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26558         r=`${PWD_COMMAND}`; export r; \
26559         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560         $(NORMAL_TARGET_EXPORTS) \
26561         echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
26562         for flag in $(EXTRA_TARGET_FLAGS); do \
26563           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26564         done; \
26565         (cd $(TARGET_SUBDIR)/gperf && \
26566           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26567                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26568                   "RANLIB=$${RANLIB}" \
26569                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26570                    distclean) \
26571           || exit 1
26572
26573 @endif target-gperf
26574
26575 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
26576 maybe-maintainer-clean-target-gperf:
26577 @if target-gperf
26578 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
26579
26580 maintainer-clean-target-gperf: 
26581         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26582         r=`${PWD_COMMAND}`; export r; \
26583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26584         $(NORMAL_TARGET_EXPORTS) \
26585         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
26586         for flag in $(EXTRA_TARGET_FLAGS); do \
26587           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26588         done; \
26589         (cd $(TARGET_SUBDIR)/gperf && \
26590           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26591                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26592                   "RANLIB=$${RANLIB}" \
26593                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26594                    maintainer-clean) \
26595           || exit 1
26596
26597 @endif target-gperf
26598
26599
26600 .PHONY: configure-target-examples maybe-configure-target-examples
26601 maybe-configure-target-examples:
26602 @if target-examples
26603 maybe-configure-target-examples: configure-target-examples
26604
26605 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26606 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
26607         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
26608         rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
26609         cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
26610
26611 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
26612         @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
26613         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
26614         r=`${PWD_COMMAND}`; export r; \
26615         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26616         $(NORMAL_TARGET_EXPORTS) \
26617         echo Configuring in $(TARGET_SUBDIR)/examples; \
26618         cd "$(TARGET_SUBDIR)/examples" || exit 1; \
26619         case $(srcdir) in \
26620           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26621           *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
26622                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26623         esac; \
26624         srcdiroption="--srcdir=$${topdir}/examples"; \
26625         libsrcdir="$$s/examples"; \
26626         rm -f no-such-file || : ; \
26627         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26628           $(TARGET_CONFIGARGS) $${srcdiroption} \
26629           --with-target-subdir="$(TARGET_SUBDIR)"  \
26630           || exit 1
26631 @endif target-examples
26632
26633 .PHONY: all-target-examples maybe-all-target-examples
26634 maybe-all-target-examples:
26635 @if target-examples
26636 TARGET-target-examples=all
26637 maybe-all-target-examples: all-target-examples
26638 all-target-examples: configure-target-examples
26639         @r=`${PWD_COMMAND}`; export r; \
26640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641         $(NORMAL_TARGET_EXPORTS) \
26642         (cd $(TARGET_SUBDIR)/examples && \
26643           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-examples))
26644 @endif target-examples
26645
26646 .PHONY: check-target-examples maybe-check-target-examples
26647 maybe-check-target-examples:
26648 @if target-examples
26649 maybe-check-target-examples: check-target-examples
26650
26651 # Dummy target for uncheckable module.
26652 check-target-examples:
26653
26654 @endif target-examples
26655
26656 .PHONY: install-target-examples maybe-install-target-examples
26657 maybe-install-target-examples:
26658 @if target-examples
26659 maybe-install-target-examples: install-target-examples
26660
26661 # Dummy target for uninstallable.
26662 install-target-examples:
26663
26664 @endif target-examples
26665
26666 # Other targets (info, dvi, etc.)
26667
26668 .PHONY: maybe-info-target-examples info-target-examples
26669 maybe-info-target-examples:
26670 @if target-examples
26671 maybe-info-target-examples: info-target-examples
26672
26673 info-target-examples: \
26674     configure-target-examples 
26675         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26676         r=`${PWD_COMMAND}`; export r; \
26677         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678         $(NORMAL_TARGET_EXPORTS) \
26679         echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
26680         for flag in $(EXTRA_TARGET_FLAGS); do \
26681           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26682         done; \
26683         (cd $(TARGET_SUBDIR)/examples && \
26684           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26685                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26686                   "RANLIB=$${RANLIB}" \
26687                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26688                    info) \
26689           || exit 1
26690
26691 @endif target-examples
26692
26693 .PHONY: maybe-dvi-target-examples dvi-target-examples
26694 maybe-dvi-target-examples:
26695 @if target-examples
26696 maybe-dvi-target-examples: dvi-target-examples
26697
26698 dvi-target-examples: \
26699     configure-target-examples 
26700         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26701         r=`${PWD_COMMAND}`; export r; \
26702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26703         $(NORMAL_TARGET_EXPORTS) \
26704         echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
26705         for flag in $(EXTRA_TARGET_FLAGS); do \
26706           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26707         done; \
26708         (cd $(TARGET_SUBDIR)/examples && \
26709           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26710                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26711                   "RANLIB=$${RANLIB}" \
26712                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26713                    dvi) \
26714           || exit 1
26715
26716 @endif target-examples
26717
26718 .PHONY: maybe-html-target-examples html-target-examples
26719 maybe-html-target-examples:
26720 @if target-examples
26721 maybe-html-target-examples: html-target-examples
26722
26723 html-target-examples: \
26724     configure-target-examples 
26725         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26726         r=`${PWD_COMMAND}`; export r; \
26727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26728         $(NORMAL_TARGET_EXPORTS) \
26729         echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
26730         for flag in $(EXTRA_TARGET_FLAGS); do \
26731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26732         done; \
26733         (cd $(TARGET_SUBDIR)/examples && \
26734           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26735                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26736                   "RANLIB=$${RANLIB}" \
26737                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26738                    html) \
26739           || exit 1
26740
26741 @endif target-examples
26742
26743 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
26744 maybe-TAGS-target-examples:
26745 @if target-examples
26746 maybe-TAGS-target-examples: TAGS-target-examples
26747
26748 TAGS-target-examples: \
26749     configure-target-examples 
26750         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26751         r=`${PWD_COMMAND}`; export r; \
26752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26753         $(NORMAL_TARGET_EXPORTS) \
26754         echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
26755         for flag in $(EXTRA_TARGET_FLAGS); do \
26756           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26757         done; \
26758         (cd $(TARGET_SUBDIR)/examples && \
26759           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26760                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26761                   "RANLIB=$${RANLIB}" \
26762                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26763                    TAGS) \
26764           || exit 1
26765
26766 @endif target-examples
26767
26768 .PHONY: maybe-install-info-target-examples install-info-target-examples
26769 maybe-install-info-target-examples:
26770 @if target-examples
26771 maybe-install-info-target-examples: install-info-target-examples
26772
26773 install-info-target-examples: \
26774     configure-target-examples \
26775     info-target-examples 
26776         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26777         r=`${PWD_COMMAND}`; export r; \
26778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779         $(NORMAL_TARGET_EXPORTS) \
26780         echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
26781         for flag in $(EXTRA_TARGET_FLAGS); do \
26782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26783         done; \
26784         (cd $(TARGET_SUBDIR)/examples && \
26785           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26786                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26787                   "RANLIB=$${RANLIB}" \
26788                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26789                    install-info) \
26790           || exit 1
26791
26792 @endif target-examples
26793
26794 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
26795 maybe-installcheck-target-examples:
26796 @if target-examples
26797 maybe-installcheck-target-examples: installcheck-target-examples
26798
26799 installcheck-target-examples: \
26800     configure-target-examples 
26801         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26802         r=`${PWD_COMMAND}`; export r; \
26803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26804         $(NORMAL_TARGET_EXPORTS) \
26805         echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
26806         for flag in $(EXTRA_TARGET_FLAGS); do \
26807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808         done; \
26809         (cd $(TARGET_SUBDIR)/examples && \
26810           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26811                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26812                   "RANLIB=$${RANLIB}" \
26813                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26814                    installcheck) \
26815           || exit 1
26816
26817 @endif target-examples
26818
26819 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
26820 maybe-mostlyclean-target-examples:
26821 @if target-examples
26822 maybe-mostlyclean-target-examples: mostlyclean-target-examples
26823
26824 mostlyclean-target-examples: 
26825         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26826         r=`${PWD_COMMAND}`; export r; \
26827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26828         $(NORMAL_TARGET_EXPORTS) \
26829         echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
26830         for flag in $(EXTRA_TARGET_FLAGS); do \
26831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26832         done; \
26833         (cd $(TARGET_SUBDIR)/examples && \
26834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26836                   "RANLIB=$${RANLIB}" \
26837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26838                    mostlyclean) \
26839           || exit 1
26840
26841 @endif target-examples
26842
26843 .PHONY: maybe-clean-target-examples clean-target-examples
26844 maybe-clean-target-examples:
26845 @if target-examples
26846 maybe-clean-target-examples: clean-target-examples
26847
26848 clean-target-examples: 
26849         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26850         r=`${PWD_COMMAND}`; export r; \
26851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26852         $(NORMAL_TARGET_EXPORTS) \
26853         echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
26854         for flag in $(EXTRA_TARGET_FLAGS); do \
26855           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26856         done; \
26857         (cd $(TARGET_SUBDIR)/examples && \
26858           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26859                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26860                   "RANLIB=$${RANLIB}" \
26861                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26862                    clean) \
26863           || exit 1
26864
26865 @endif target-examples
26866
26867 .PHONY: maybe-distclean-target-examples distclean-target-examples
26868 maybe-distclean-target-examples:
26869 @if target-examples
26870 maybe-distclean-target-examples: distclean-target-examples
26871
26872 distclean-target-examples: 
26873         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26874         r=`${PWD_COMMAND}`; export r; \
26875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26876         $(NORMAL_TARGET_EXPORTS) \
26877         echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
26878         for flag in $(EXTRA_TARGET_FLAGS); do \
26879           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26880         done; \
26881         (cd $(TARGET_SUBDIR)/examples && \
26882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26884                   "RANLIB=$${RANLIB}" \
26885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26886                    distclean) \
26887           || exit 1
26888
26889 @endif target-examples
26890
26891 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
26892 maybe-maintainer-clean-target-examples:
26893 @if target-examples
26894 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
26895
26896 maintainer-clean-target-examples: 
26897         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26898         r=`${PWD_COMMAND}`; export r; \
26899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26900         $(NORMAL_TARGET_EXPORTS) \
26901         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
26902         for flag in $(EXTRA_TARGET_FLAGS); do \
26903           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26904         done; \
26905         (cd $(TARGET_SUBDIR)/examples && \
26906           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26907                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26908                   "RANLIB=$${RANLIB}" \
26909                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26910                    maintainer-clean) \
26911           || exit 1
26912
26913 @endif target-examples
26914
26915
26916 .PHONY: configure-target-libffi maybe-configure-target-libffi
26917 maybe-configure-target-libffi:
26918 @if target-libffi
26919 maybe-configure-target-libffi: configure-target-libffi
26920
26921 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26922 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
26923         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26924         rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
26925         cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
26926
26927 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
26928         @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
26929         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26930         r=`${PWD_COMMAND}`; export r; \
26931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26932         $(NORMAL_TARGET_EXPORTS) \
26933         echo Configuring in $(TARGET_SUBDIR)/libffi; \
26934         cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
26935         case $(srcdir) in \
26936           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26937           *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
26938                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26939         esac; \
26940         srcdiroption="--srcdir=$${topdir}/libffi"; \
26941         libsrcdir="$$s/libffi"; \
26942         rm -f no-such-file || : ; \
26943         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26944           $(TARGET_CONFIGARGS) $${srcdiroption} \
26945           --with-target-subdir="$(TARGET_SUBDIR)"  \
26946           || exit 1
26947 @endif target-libffi
26948
26949 .PHONY: all-target-libffi maybe-all-target-libffi
26950 maybe-all-target-libffi:
26951 @if target-libffi
26952 TARGET-target-libffi=all
26953 maybe-all-target-libffi: all-target-libffi
26954 all-target-libffi: configure-target-libffi
26955         @r=`${PWD_COMMAND}`; export r; \
26956         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26957         $(NORMAL_TARGET_EXPORTS) \
26958         (cd $(TARGET_SUBDIR)/libffi && \
26959           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libffi))
26960 @endif target-libffi
26961
26962 .PHONY: check-target-libffi maybe-check-target-libffi
26963 maybe-check-target-libffi:
26964 @if target-libffi
26965 maybe-check-target-libffi: check-target-libffi
26966
26967 check-target-libffi:
26968         @r=`${PWD_COMMAND}`; export r; \
26969         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26970         $(NORMAL_TARGET_EXPORTS) \
26971         (cd $(TARGET_SUBDIR)/libffi && \
26972           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
26973
26974 @endif target-libffi
26975
26976 .PHONY: install-target-libffi maybe-install-target-libffi
26977 maybe-install-target-libffi:
26978 @if target-libffi
26979 maybe-install-target-libffi: install-target-libffi
26980
26981 install-target-libffi: installdirs
26982         @r=`${PWD_COMMAND}`; export r; \
26983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26984         $(NORMAL_TARGET_EXPORTS) \
26985         (cd $(TARGET_SUBDIR)/libffi && \
26986           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
26987
26988 @endif target-libffi
26989
26990 # Other targets (info, dvi, etc.)
26991
26992 .PHONY: maybe-info-target-libffi info-target-libffi
26993 maybe-info-target-libffi:
26994 @if target-libffi
26995 maybe-info-target-libffi: info-target-libffi
26996
26997 info-target-libffi: \
26998     configure-target-libffi 
26999         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27000         r=`${PWD_COMMAND}`; export r; \
27001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27002         $(NORMAL_TARGET_EXPORTS) \
27003         echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
27004         for flag in $(EXTRA_TARGET_FLAGS); do \
27005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27006         done; \
27007         (cd $(TARGET_SUBDIR)/libffi && \
27008           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27009                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27010                   "RANLIB=$${RANLIB}" \
27011                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27012                    info) \
27013           || exit 1
27014
27015 @endif target-libffi
27016
27017 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
27018 maybe-dvi-target-libffi:
27019 @if target-libffi
27020 maybe-dvi-target-libffi: dvi-target-libffi
27021
27022 dvi-target-libffi: \
27023     configure-target-libffi 
27024         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27025         r=`${PWD_COMMAND}`; export r; \
27026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027         $(NORMAL_TARGET_EXPORTS) \
27028         echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
27029         for flag in $(EXTRA_TARGET_FLAGS); do \
27030           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27031         done; \
27032         (cd $(TARGET_SUBDIR)/libffi && \
27033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27035                   "RANLIB=$${RANLIB}" \
27036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27037                    dvi) \
27038           || exit 1
27039
27040 @endif target-libffi
27041
27042 .PHONY: maybe-html-target-libffi html-target-libffi
27043 maybe-html-target-libffi:
27044 @if target-libffi
27045 maybe-html-target-libffi: html-target-libffi
27046
27047 html-target-libffi: \
27048     configure-target-libffi 
27049         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27050         r=`${PWD_COMMAND}`; export r; \
27051         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052         $(NORMAL_TARGET_EXPORTS) \
27053         echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
27054         for flag in $(EXTRA_TARGET_FLAGS); do \
27055           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27056         done; \
27057         (cd $(TARGET_SUBDIR)/libffi && \
27058           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27059                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27060                   "RANLIB=$${RANLIB}" \
27061                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27062                    html) \
27063           || exit 1
27064
27065 @endif target-libffi
27066
27067 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
27068 maybe-TAGS-target-libffi:
27069 @if target-libffi
27070 maybe-TAGS-target-libffi: TAGS-target-libffi
27071
27072 TAGS-target-libffi: \
27073     configure-target-libffi 
27074         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27075         r=`${PWD_COMMAND}`; export r; \
27076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27077         $(NORMAL_TARGET_EXPORTS) \
27078         echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
27079         for flag in $(EXTRA_TARGET_FLAGS); do \
27080           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27081         done; \
27082         (cd $(TARGET_SUBDIR)/libffi && \
27083           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27084                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27085                   "RANLIB=$${RANLIB}" \
27086                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27087                    TAGS) \
27088           || exit 1
27089
27090 @endif target-libffi
27091
27092 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
27093 maybe-install-info-target-libffi:
27094 @if target-libffi
27095 maybe-install-info-target-libffi: install-info-target-libffi
27096
27097 install-info-target-libffi: \
27098     configure-target-libffi \
27099     info-target-libffi 
27100         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27101         r=`${PWD_COMMAND}`; export r; \
27102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27103         $(NORMAL_TARGET_EXPORTS) \
27104         echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
27105         for flag in $(EXTRA_TARGET_FLAGS); do \
27106           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27107         done; \
27108         (cd $(TARGET_SUBDIR)/libffi && \
27109           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27110                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27111                   "RANLIB=$${RANLIB}" \
27112                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27113                    install-info) \
27114           || exit 1
27115
27116 @endif target-libffi
27117
27118 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
27119 maybe-installcheck-target-libffi:
27120 @if target-libffi
27121 maybe-installcheck-target-libffi: installcheck-target-libffi
27122
27123 installcheck-target-libffi: \
27124     configure-target-libffi 
27125         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27126         r=`${PWD_COMMAND}`; export r; \
27127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27128         $(NORMAL_TARGET_EXPORTS) \
27129         echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
27130         for flag in $(EXTRA_TARGET_FLAGS); do \
27131           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27132         done; \
27133         (cd $(TARGET_SUBDIR)/libffi && \
27134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27136                   "RANLIB=$${RANLIB}" \
27137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27138                    installcheck) \
27139           || exit 1
27140
27141 @endif target-libffi
27142
27143 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
27144 maybe-mostlyclean-target-libffi:
27145 @if target-libffi
27146 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
27147
27148 mostlyclean-target-libffi: 
27149         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27150         r=`${PWD_COMMAND}`; export r; \
27151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27152         $(NORMAL_TARGET_EXPORTS) \
27153         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
27154         for flag in $(EXTRA_TARGET_FLAGS); do \
27155           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27156         done; \
27157         (cd $(TARGET_SUBDIR)/libffi && \
27158           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27159                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27160                   "RANLIB=$${RANLIB}" \
27161                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27162                    mostlyclean) \
27163           || exit 1
27164
27165 @endif target-libffi
27166
27167 .PHONY: maybe-clean-target-libffi clean-target-libffi
27168 maybe-clean-target-libffi:
27169 @if target-libffi
27170 maybe-clean-target-libffi: clean-target-libffi
27171
27172 clean-target-libffi: 
27173         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27174         r=`${PWD_COMMAND}`; export r; \
27175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176         $(NORMAL_TARGET_EXPORTS) \
27177         echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
27178         for flag in $(EXTRA_TARGET_FLAGS); do \
27179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27180         done; \
27181         (cd $(TARGET_SUBDIR)/libffi && \
27182           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184                   "RANLIB=$${RANLIB}" \
27185                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27186                    clean) \
27187           || exit 1
27188
27189 @endif target-libffi
27190
27191 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
27192 maybe-distclean-target-libffi:
27193 @if target-libffi
27194 maybe-distclean-target-libffi: distclean-target-libffi
27195
27196 distclean-target-libffi: 
27197         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27198         r=`${PWD_COMMAND}`; export r; \
27199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27200         $(NORMAL_TARGET_EXPORTS) \
27201         echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
27202         for flag in $(EXTRA_TARGET_FLAGS); do \
27203           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204         done; \
27205         (cd $(TARGET_SUBDIR)/libffi && \
27206           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27207                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27208                   "RANLIB=$${RANLIB}" \
27209                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27210                    distclean) \
27211           || exit 1
27212
27213 @endif target-libffi
27214
27215 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
27216 maybe-maintainer-clean-target-libffi:
27217 @if target-libffi
27218 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
27219
27220 maintainer-clean-target-libffi: 
27221         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27222         r=`${PWD_COMMAND}`; export r; \
27223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27224         $(NORMAL_TARGET_EXPORTS) \
27225         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
27226         for flag in $(EXTRA_TARGET_FLAGS); do \
27227           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27228         done; \
27229         (cd $(TARGET_SUBDIR)/libffi && \
27230           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27231                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27232                   "RANLIB=$${RANLIB}" \
27233                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27234                    maintainer-clean) \
27235           || exit 1
27236
27237 @endif target-libffi
27238
27239
27240 .PHONY: configure-target-libjava maybe-configure-target-libjava
27241 maybe-configure-target-libjava:
27242 @if target-libjava
27243 maybe-configure-target-libjava: configure-target-libjava
27244
27245 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27246 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
27247         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
27248         rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
27249         cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
27250
27251 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
27252         @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
27253         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
27254         r=`${PWD_COMMAND}`; export r; \
27255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256         $(RAW_CXX_TARGET_EXPORTS) \
27257         echo Configuring in $(TARGET_SUBDIR)/libjava; \
27258         cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
27259         case $(srcdir) in \
27260           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27261           *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
27262                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27263         esac; \
27264         srcdiroption="--srcdir=$${topdir}/libjava"; \
27265         libsrcdir="$$s/libjava"; \
27266         rm -f no-such-file || : ; \
27267         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27268           $(TARGET_CONFIGARGS) $${srcdiroption} \
27269           --with-target-subdir="$(TARGET_SUBDIR)"  \
27270           || exit 1
27271 @endif target-libjava
27272
27273 .PHONY: all-target-libjava maybe-all-target-libjava
27274 maybe-all-target-libjava:
27275 @if target-libjava
27276 TARGET-target-libjava=all
27277 maybe-all-target-libjava: all-target-libjava
27278 all-target-libjava: configure-target-libjava
27279         @r=`${PWD_COMMAND}`; export r; \
27280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281         $(RAW_CXX_TARGET_EXPORTS) \
27282         (cd $(TARGET_SUBDIR)/libjava && \
27283           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   $(TARGET-target-libjava))
27284 @endif target-libjava
27285
27286 .PHONY: check-target-libjava maybe-check-target-libjava
27287 maybe-check-target-libjava:
27288 @if target-libjava
27289 maybe-check-target-libjava: check-target-libjava
27290
27291 check-target-libjava:
27292         @r=`${PWD_COMMAND}`; export r; \
27293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27294         $(RAW_CXX_TARGET_EXPORTS) \
27295         (cd $(TARGET_SUBDIR)/libjava && \
27296           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'   check)
27297
27298 @endif target-libjava
27299
27300 .PHONY: install-target-libjava maybe-install-target-libjava
27301 maybe-install-target-libjava:
27302 @if target-libjava
27303 maybe-install-target-libjava: install-target-libjava
27304
27305 install-target-libjava: installdirs
27306         @r=`${PWD_COMMAND}`; export r; \
27307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308         $(RAW_CXX_TARGET_EXPORTS) \
27309         (cd $(TARGET_SUBDIR)/libjava && \
27310           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27311
27312 @endif target-libjava
27313
27314 # Other targets (info, dvi, etc.)
27315
27316 .PHONY: maybe-info-target-libjava info-target-libjava
27317 maybe-info-target-libjava:
27318 @if target-libjava
27319 maybe-info-target-libjava: info-target-libjava
27320
27321 info-target-libjava: \
27322     configure-target-libjava 
27323         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27324         r=`${PWD_COMMAND}`; export r; \
27325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27326         $(RAW_CXX_TARGET_EXPORTS) \
27327         echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
27328         for flag in $(EXTRA_TARGET_FLAGS); do \
27329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27330         done; \
27331         (cd $(TARGET_SUBDIR)/libjava && \
27332           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27333                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27334                   "RANLIB=$${RANLIB}" \
27335                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27336                    info) \
27337           || exit 1
27338
27339 @endif target-libjava
27340
27341 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
27342 maybe-dvi-target-libjava:
27343 @if target-libjava
27344 maybe-dvi-target-libjava: dvi-target-libjava
27345
27346 dvi-target-libjava: \
27347     configure-target-libjava 
27348         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27349         r=`${PWD_COMMAND}`; export r; \
27350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351         $(RAW_CXX_TARGET_EXPORTS) \
27352         echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
27353         for flag in $(EXTRA_TARGET_FLAGS); do \
27354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27355         done; \
27356         (cd $(TARGET_SUBDIR)/libjava && \
27357           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27358                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27359                   "RANLIB=$${RANLIB}" \
27360                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27361                    dvi) \
27362           || exit 1
27363
27364 @endif target-libjava
27365
27366 .PHONY: maybe-html-target-libjava html-target-libjava
27367 maybe-html-target-libjava:
27368 @if target-libjava
27369 maybe-html-target-libjava: html-target-libjava
27370
27371 html-target-libjava: \
27372     configure-target-libjava 
27373         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27374         r=`${PWD_COMMAND}`; export r; \
27375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376         $(RAW_CXX_TARGET_EXPORTS) \
27377         echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
27378         for flag in $(EXTRA_TARGET_FLAGS); do \
27379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27380         done; \
27381         (cd $(TARGET_SUBDIR)/libjava && \
27382           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27383                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27384                   "RANLIB=$${RANLIB}" \
27385                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27386                    html) \
27387           || exit 1
27388
27389 @endif target-libjava
27390
27391 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
27392 maybe-TAGS-target-libjava:
27393 @if target-libjava
27394 maybe-TAGS-target-libjava: TAGS-target-libjava
27395
27396 TAGS-target-libjava: \
27397     configure-target-libjava 
27398         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27399         r=`${PWD_COMMAND}`; export r; \
27400         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27401         $(RAW_CXX_TARGET_EXPORTS) \
27402         echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
27403         for flag in $(EXTRA_TARGET_FLAGS); do \
27404           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27405         done; \
27406         (cd $(TARGET_SUBDIR)/libjava && \
27407           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27408                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27409                   "RANLIB=$${RANLIB}" \
27410                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27411                    TAGS) \
27412           || exit 1
27413
27414 @endif target-libjava
27415
27416 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
27417 maybe-install-info-target-libjava:
27418 @if target-libjava
27419 maybe-install-info-target-libjava: install-info-target-libjava
27420
27421 install-info-target-libjava: \
27422     configure-target-libjava \
27423     info-target-libjava 
27424         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27425         r=`${PWD_COMMAND}`; export r; \
27426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27427         $(RAW_CXX_TARGET_EXPORTS) \
27428         echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
27429         for flag in $(EXTRA_TARGET_FLAGS); do \
27430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27431         done; \
27432         (cd $(TARGET_SUBDIR)/libjava && \
27433           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27434                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27435                   "RANLIB=$${RANLIB}" \
27436                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27437                    install-info) \
27438           || exit 1
27439
27440 @endif target-libjava
27441
27442 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
27443 maybe-installcheck-target-libjava:
27444 @if target-libjava
27445 maybe-installcheck-target-libjava: installcheck-target-libjava
27446
27447 installcheck-target-libjava: \
27448     configure-target-libjava 
27449         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27450         r=`${PWD_COMMAND}`; export r; \
27451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27452         $(RAW_CXX_TARGET_EXPORTS) \
27453         echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
27454         for flag in $(EXTRA_TARGET_FLAGS); do \
27455           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27456         done; \
27457         (cd $(TARGET_SUBDIR)/libjava && \
27458           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27459                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27460                   "RANLIB=$${RANLIB}" \
27461                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27462                    installcheck) \
27463           || exit 1
27464
27465 @endif target-libjava
27466
27467 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
27468 maybe-mostlyclean-target-libjava:
27469 @if target-libjava
27470 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
27471
27472 mostlyclean-target-libjava: 
27473         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27474         r=`${PWD_COMMAND}`; export r; \
27475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476         $(RAW_CXX_TARGET_EXPORTS) \
27477         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
27478         for flag in $(EXTRA_TARGET_FLAGS); do \
27479           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27480         done; \
27481         (cd $(TARGET_SUBDIR)/libjava && \
27482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27484                   "RANLIB=$${RANLIB}" \
27485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27486                    mostlyclean) \
27487           || exit 1
27488
27489 @endif target-libjava
27490
27491 .PHONY: maybe-clean-target-libjava clean-target-libjava
27492 maybe-clean-target-libjava:
27493 @if target-libjava
27494 maybe-clean-target-libjava: clean-target-libjava
27495
27496 clean-target-libjava: 
27497         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27498         r=`${PWD_COMMAND}`; export r; \
27499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27500         $(RAW_CXX_TARGET_EXPORTS) \
27501         echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
27502         for flag in $(EXTRA_TARGET_FLAGS); do \
27503           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27504         done; \
27505         (cd $(TARGET_SUBDIR)/libjava && \
27506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27508                   "RANLIB=$${RANLIB}" \
27509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27510                    clean) \
27511           || exit 1
27512
27513 @endif target-libjava
27514
27515 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
27516 maybe-distclean-target-libjava:
27517 @if target-libjava
27518 maybe-distclean-target-libjava: distclean-target-libjava
27519
27520 distclean-target-libjava: 
27521         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27522         r=`${PWD_COMMAND}`; export r; \
27523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27524         $(RAW_CXX_TARGET_EXPORTS) \
27525         echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
27526         for flag in $(EXTRA_TARGET_FLAGS); do \
27527           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27528         done; \
27529         (cd $(TARGET_SUBDIR)/libjava && \
27530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27532                   "RANLIB=$${RANLIB}" \
27533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27534                    distclean) \
27535           || exit 1
27536
27537 @endif target-libjava
27538
27539 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
27540 maybe-maintainer-clean-target-libjava:
27541 @if target-libjava
27542 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
27543
27544 maintainer-clean-target-libjava: 
27545         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27546         r=`${PWD_COMMAND}`; export r; \
27547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548         $(RAW_CXX_TARGET_EXPORTS) \
27549         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
27550         for flag in $(EXTRA_TARGET_FLAGS); do \
27551           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27552         done; \
27553         (cd $(TARGET_SUBDIR)/libjava && \
27554           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27555                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27556                   "RANLIB=$${RANLIB}" \
27557                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27558                    maintainer-clean) \
27559           || exit 1
27560
27561 @endif target-libjava
27562
27563
27564 .PHONY: configure-target-zlib maybe-configure-target-zlib
27565 maybe-configure-target-zlib:
27566 @if target-zlib
27567 maybe-configure-target-zlib: configure-target-zlib
27568
27569 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27570 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
27571         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
27572         rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
27573         cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
27574
27575 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
27576         @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
27577         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
27578         r=`${PWD_COMMAND}`; export r; \
27579         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580         $(NORMAL_TARGET_EXPORTS) \
27581         echo Configuring in $(TARGET_SUBDIR)/zlib; \
27582         cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
27583         case $(srcdir) in \
27584           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27585           *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
27586                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27587         esac; \
27588         srcdiroption="--srcdir=$${topdir}/zlib"; \
27589         libsrcdir="$$s/zlib"; \
27590         rm -f no-such-file || : ; \
27591         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27592           $(TARGET_CONFIGARGS) $${srcdiroption} \
27593           --with-target-subdir="$(TARGET_SUBDIR)"  \
27594           || exit 1
27595 @endif target-zlib
27596
27597 .PHONY: all-target-zlib maybe-all-target-zlib
27598 maybe-all-target-zlib:
27599 @if target-zlib
27600 TARGET-target-zlib=all
27601 maybe-all-target-zlib: all-target-zlib
27602 all-target-zlib: configure-target-zlib
27603         @r=`${PWD_COMMAND}`; export r; \
27604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27605         $(NORMAL_TARGET_EXPORTS) \
27606         (cd $(TARGET_SUBDIR)/zlib && \
27607           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-zlib))
27608 @endif target-zlib
27609
27610 .PHONY: check-target-zlib maybe-check-target-zlib
27611 maybe-check-target-zlib:
27612 @if target-zlib
27613 maybe-check-target-zlib: check-target-zlib
27614
27615 check-target-zlib:
27616         @r=`${PWD_COMMAND}`; export r; \
27617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618         $(NORMAL_TARGET_EXPORTS) \
27619         (cd $(TARGET_SUBDIR)/zlib && \
27620           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27621
27622 @endif target-zlib
27623
27624 .PHONY: install-target-zlib maybe-install-target-zlib
27625 maybe-install-target-zlib:
27626 @if target-zlib
27627 maybe-install-target-zlib: install-target-zlib
27628
27629 install-target-zlib: installdirs
27630         @r=`${PWD_COMMAND}`; export r; \
27631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27632         $(NORMAL_TARGET_EXPORTS) \
27633         (cd $(TARGET_SUBDIR)/zlib && \
27634           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27635
27636 @endif target-zlib
27637
27638 # Other targets (info, dvi, etc.)
27639
27640 .PHONY: maybe-info-target-zlib info-target-zlib
27641 maybe-info-target-zlib:
27642 @if target-zlib
27643 maybe-info-target-zlib: info-target-zlib
27644
27645 info-target-zlib: \
27646     configure-target-zlib 
27647         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27648         r=`${PWD_COMMAND}`; export r; \
27649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27650         $(NORMAL_TARGET_EXPORTS) \
27651         echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
27652         for flag in $(EXTRA_TARGET_FLAGS); do \
27653           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27654         done; \
27655         (cd $(TARGET_SUBDIR)/zlib && \
27656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27658                   "RANLIB=$${RANLIB}" \
27659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27660                    info) \
27661           || exit 1
27662
27663 @endif target-zlib
27664
27665 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
27666 maybe-dvi-target-zlib:
27667 @if target-zlib
27668 maybe-dvi-target-zlib: dvi-target-zlib
27669
27670 dvi-target-zlib: \
27671     configure-target-zlib 
27672         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27673         r=`${PWD_COMMAND}`; export r; \
27674         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27675         $(NORMAL_TARGET_EXPORTS) \
27676         echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
27677         for flag in $(EXTRA_TARGET_FLAGS); do \
27678           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27679         done; \
27680         (cd $(TARGET_SUBDIR)/zlib && \
27681           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27682                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27683                   "RANLIB=$${RANLIB}" \
27684                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27685                    dvi) \
27686           || exit 1
27687
27688 @endif target-zlib
27689
27690 .PHONY: maybe-html-target-zlib html-target-zlib
27691 maybe-html-target-zlib:
27692 @if target-zlib
27693 maybe-html-target-zlib: html-target-zlib
27694
27695 html-target-zlib: \
27696     configure-target-zlib 
27697         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27698         r=`${PWD_COMMAND}`; export r; \
27699         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27700         $(NORMAL_TARGET_EXPORTS) \
27701         echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
27702         for flag in $(EXTRA_TARGET_FLAGS); do \
27703           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27704         done; \
27705         (cd $(TARGET_SUBDIR)/zlib && \
27706           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27707                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27708                   "RANLIB=$${RANLIB}" \
27709                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27710                    html) \
27711           || exit 1
27712
27713 @endif target-zlib
27714
27715 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
27716 maybe-TAGS-target-zlib:
27717 @if target-zlib
27718 maybe-TAGS-target-zlib: TAGS-target-zlib
27719
27720 TAGS-target-zlib: \
27721     configure-target-zlib 
27722         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27723         r=`${PWD_COMMAND}`; export r; \
27724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27725         $(NORMAL_TARGET_EXPORTS) \
27726         echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
27727         for flag in $(EXTRA_TARGET_FLAGS); do \
27728           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27729         done; \
27730         (cd $(TARGET_SUBDIR)/zlib && \
27731           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27732                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27733                   "RANLIB=$${RANLIB}" \
27734                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27735                    TAGS) \
27736           || exit 1
27737
27738 @endif target-zlib
27739
27740 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
27741 maybe-install-info-target-zlib:
27742 @if target-zlib
27743 maybe-install-info-target-zlib: install-info-target-zlib
27744
27745 install-info-target-zlib: \
27746     configure-target-zlib \
27747     info-target-zlib 
27748         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27749         r=`${PWD_COMMAND}`; export r; \
27750         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27751         $(NORMAL_TARGET_EXPORTS) \
27752         echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
27753         for flag in $(EXTRA_TARGET_FLAGS); do \
27754           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27755         done; \
27756         (cd $(TARGET_SUBDIR)/zlib && \
27757           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27758                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27759                   "RANLIB=$${RANLIB}" \
27760                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27761                    install-info) \
27762           || exit 1
27763
27764 @endif target-zlib
27765
27766 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
27767 maybe-installcheck-target-zlib:
27768 @if target-zlib
27769 maybe-installcheck-target-zlib: installcheck-target-zlib
27770
27771 installcheck-target-zlib: \
27772     configure-target-zlib 
27773         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27774         r=`${PWD_COMMAND}`; export r; \
27775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27776         $(NORMAL_TARGET_EXPORTS) \
27777         echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
27778         for flag in $(EXTRA_TARGET_FLAGS); do \
27779           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27780         done; \
27781         (cd $(TARGET_SUBDIR)/zlib && \
27782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27784                   "RANLIB=$${RANLIB}" \
27785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27786                    installcheck) \
27787           || exit 1
27788
27789 @endif target-zlib
27790
27791 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
27792 maybe-mostlyclean-target-zlib:
27793 @if target-zlib
27794 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
27795
27796 mostlyclean-target-zlib: 
27797         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27798         r=`${PWD_COMMAND}`; export r; \
27799         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27800         $(NORMAL_TARGET_EXPORTS) \
27801         echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
27802         for flag in $(EXTRA_TARGET_FLAGS); do \
27803           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27804         done; \
27805         (cd $(TARGET_SUBDIR)/zlib && \
27806           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27807                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27808                   "RANLIB=$${RANLIB}" \
27809                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27810                    mostlyclean) \
27811           || exit 1
27812
27813 @endif target-zlib
27814
27815 .PHONY: maybe-clean-target-zlib clean-target-zlib
27816 maybe-clean-target-zlib:
27817 @if target-zlib
27818 maybe-clean-target-zlib: clean-target-zlib
27819
27820 clean-target-zlib: 
27821         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27822         r=`${PWD_COMMAND}`; export r; \
27823         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27824         $(NORMAL_TARGET_EXPORTS) \
27825         echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
27826         for flag in $(EXTRA_TARGET_FLAGS); do \
27827           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27828         done; \
27829         (cd $(TARGET_SUBDIR)/zlib && \
27830           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27831                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27832                   "RANLIB=$${RANLIB}" \
27833                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27834                    clean) \
27835           || exit 1
27836
27837 @endif target-zlib
27838
27839 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
27840 maybe-distclean-target-zlib:
27841 @if target-zlib
27842 maybe-distclean-target-zlib: distclean-target-zlib
27843
27844 distclean-target-zlib: 
27845         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27846         r=`${PWD_COMMAND}`; export r; \
27847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848         $(NORMAL_TARGET_EXPORTS) \
27849         echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
27850         for flag in $(EXTRA_TARGET_FLAGS); do \
27851           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27852         done; \
27853         (cd $(TARGET_SUBDIR)/zlib && \
27854           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856                   "RANLIB=$${RANLIB}" \
27857                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27858                    distclean) \
27859           || exit 1
27860
27861 @endif target-zlib
27862
27863 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
27864 maybe-maintainer-clean-target-zlib:
27865 @if target-zlib
27866 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
27867
27868 maintainer-clean-target-zlib: 
27869         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27870         r=`${PWD_COMMAND}`; export r; \
27871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872         $(NORMAL_TARGET_EXPORTS) \
27873         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
27874         for flag in $(EXTRA_TARGET_FLAGS); do \
27875           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27876         done; \
27877         (cd $(TARGET_SUBDIR)/zlib && \
27878           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27879                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27880                   "RANLIB=$${RANLIB}" \
27881                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27882                    maintainer-clean) \
27883           || exit 1
27884
27885 @endif target-zlib
27886
27887
27888 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
27889 maybe-configure-target-boehm-gc:
27890 @if target-boehm-gc
27891 maybe-configure-target-boehm-gc: configure-target-boehm-gc
27892
27893 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27894 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
27895         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27896         rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
27897         cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
27898
27899 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
27900         @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
27901         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27902         r=`${PWD_COMMAND}`; export r; \
27903         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904         $(NORMAL_TARGET_EXPORTS) \
27905         echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
27906         cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
27907         case $(srcdir) in \
27908           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27909           *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
27910                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27911         esac; \
27912         srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
27913         libsrcdir="$$s/boehm-gc"; \
27914         rm -f no-such-file || : ; \
27915         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27916           $(TARGET_CONFIGARGS) $${srcdiroption} \
27917           --with-target-subdir="$(TARGET_SUBDIR)"  \
27918           || exit 1
27919 @endif target-boehm-gc
27920
27921 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
27922 maybe-all-target-boehm-gc:
27923 @if target-boehm-gc
27924 TARGET-target-boehm-gc=all
27925 maybe-all-target-boehm-gc: all-target-boehm-gc
27926 all-target-boehm-gc: configure-target-boehm-gc
27927         @r=`${PWD_COMMAND}`; export r; \
27928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929         $(NORMAL_TARGET_EXPORTS) \
27930         (cd $(TARGET_SUBDIR)/boehm-gc && \
27931           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-boehm-gc))
27932 @endif target-boehm-gc
27933
27934 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
27935 maybe-check-target-boehm-gc:
27936 @if target-boehm-gc
27937 maybe-check-target-boehm-gc: check-target-boehm-gc
27938
27939 check-target-boehm-gc:
27940         @r=`${PWD_COMMAND}`; export r; \
27941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27942         $(NORMAL_TARGET_EXPORTS) \
27943         (cd $(TARGET_SUBDIR)/boehm-gc && \
27944           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
27945
27946 @endif target-boehm-gc
27947
27948 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
27949 maybe-install-target-boehm-gc:
27950 @if target-boehm-gc
27951 maybe-install-target-boehm-gc: install-target-boehm-gc
27952
27953 install-target-boehm-gc: installdirs
27954         @r=`${PWD_COMMAND}`; export r; \
27955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27956         $(NORMAL_TARGET_EXPORTS) \
27957         (cd $(TARGET_SUBDIR)/boehm-gc && \
27958           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
27959
27960 @endif target-boehm-gc
27961
27962 # Other targets (info, dvi, etc.)
27963
27964 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
27965 maybe-info-target-boehm-gc:
27966 @if target-boehm-gc
27967 maybe-info-target-boehm-gc: info-target-boehm-gc
27968
27969 info-target-boehm-gc: \
27970     configure-target-boehm-gc 
27971         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27972         r=`${PWD_COMMAND}`; export r; \
27973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27974         $(NORMAL_TARGET_EXPORTS) \
27975         echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
27976         for flag in $(EXTRA_TARGET_FLAGS); do \
27977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27978         done; \
27979         (cd $(TARGET_SUBDIR)/boehm-gc && \
27980           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27981                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27982                   "RANLIB=$${RANLIB}" \
27983                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27984                    info) \
27985           || exit 1
27986
27987 @endif target-boehm-gc
27988
27989 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
27990 maybe-dvi-target-boehm-gc:
27991 @if target-boehm-gc
27992 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
27993
27994 dvi-target-boehm-gc: \
27995     configure-target-boehm-gc 
27996         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27997         r=`${PWD_COMMAND}`; export r; \
27998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27999         $(NORMAL_TARGET_EXPORTS) \
28000         echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
28001         for flag in $(EXTRA_TARGET_FLAGS); do \
28002           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28003         done; \
28004         (cd $(TARGET_SUBDIR)/boehm-gc && \
28005           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28006                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28007                   "RANLIB=$${RANLIB}" \
28008                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28009                    dvi) \
28010           || exit 1
28011
28012 @endif target-boehm-gc
28013
28014 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
28015 maybe-html-target-boehm-gc:
28016 @if target-boehm-gc
28017 maybe-html-target-boehm-gc: html-target-boehm-gc
28018
28019 html-target-boehm-gc: \
28020     configure-target-boehm-gc 
28021         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28022         r=`${PWD_COMMAND}`; export r; \
28023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28024         $(NORMAL_TARGET_EXPORTS) \
28025         echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
28026         for flag in $(EXTRA_TARGET_FLAGS); do \
28027           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28028         done; \
28029         (cd $(TARGET_SUBDIR)/boehm-gc && \
28030           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28031                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28032                   "RANLIB=$${RANLIB}" \
28033                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28034                    html) \
28035           || exit 1
28036
28037 @endif target-boehm-gc
28038
28039 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
28040 maybe-TAGS-target-boehm-gc:
28041 @if target-boehm-gc
28042 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
28043
28044 TAGS-target-boehm-gc: \
28045     configure-target-boehm-gc 
28046         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28047         r=`${PWD_COMMAND}`; export r; \
28048         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049         $(NORMAL_TARGET_EXPORTS) \
28050         echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
28051         for flag in $(EXTRA_TARGET_FLAGS); do \
28052           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28053         done; \
28054         (cd $(TARGET_SUBDIR)/boehm-gc && \
28055           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28056                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28057                   "RANLIB=$${RANLIB}" \
28058                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28059                    TAGS) \
28060           || exit 1
28061
28062 @endif target-boehm-gc
28063
28064 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
28065 maybe-install-info-target-boehm-gc:
28066 @if target-boehm-gc
28067 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
28068
28069 install-info-target-boehm-gc: \
28070     configure-target-boehm-gc \
28071     info-target-boehm-gc 
28072         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28073         r=`${PWD_COMMAND}`; export r; \
28074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28075         $(NORMAL_TARGET_EXPORTS) \
28076         echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
28077         for flag in $(EXTRA_TARGET_FLAGS); do \
28078           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28079         done; \
28080         (cd $(TARGET_SUBDIR)/boehm-gc && \
28081           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28082                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28083                   "RANLIB=$${RANLIB}" \
28084                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28085                    install-info) \
28086           || exit 1
28087
28088 @endif target-boehm-gc
28089
28090 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
28091 maybe-installcheck-target-boehm-gc:
28092 @if target-boehm-gc
28093 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
28094
28095 installcheck-target-boehm-gc: \
28096     configure-target-boehm-gc 
28097         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28098         r=`${PWD_COMMAND}`; export r; \
28099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28100         $(NORMAL_TARGET_EXPORTS) \
28101         echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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                    installcheck) \
28111           || exit 1
28112
28113 @endif target-boehm-gc
28114
28115 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
28116 maybe-mostlyclean-target-boehm-gc:
28117 @if target-boehm-gc
28118 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
28119
28120 mostlyclean-target-boehm-gc: 
28121         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28122         r=`${PWD_COMMAND}`; export r; \
28123         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28124         $(NORMAL_TARGET_EXPORTS) \
28125         echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
28126         for flag in $(EXTRA_TARGET_FLAGS); do \
28127           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28128         done; \
28129         (cd $(TARGET_SUBDIR)/boehm-gc && \
28130           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28131                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28132                   "RANLIB=$${RANLIB}" \
28133                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28134                    mostlyclean) \
28135           || exit 1
28136
28137 @endif target-boehm-gc
28138
28139 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
28140 maybe-clean-target-boehm-gc:
28141 @if target-boehm-gc
28142 maybe-clean-target-boehm-gc: clean-target-boehm-gc
28143
28144 clean-target-boehm-gc: 
28145         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28146         r=`${PWD_COMMAND}`; export r; \
28147         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28148         $(NORMAL_TARGET_EXPORTS) \
28149         echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
28150         for flag in $(EXTRA_TARGET_FLAGS); do \
28151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28152         done; \
28153         (cd $(TARGET_SUBDIR)/boehm-gc && \
28154           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28155                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28156                   "RANLIB=$${RANLIB}" \
28157                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28158                    clean) \
28159           || exit 1
28160
28161 @endif target-boehm-gc
28162
28163 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
28164 maybe-distclean-target-boehm-gc:
28165 @if target-boehm-gc
28166 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
28167
28168 distclean-target-boehm-gc: 
28169         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28170         r=`${PWD_COMMAND}`; export r; \
28171         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172         $(NORMAL_TARGET_EXPORTS) \
28173         echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
28174         for flag in $(EXTRA_TARGET_FLAGS); do \
28175           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28176         done; \
28177         (cd $(TARGET_SUBDIR)/boehm-gc && \
28178           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28179                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28180                   "RANLIB=$${RANLIB}" \
28181                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28182                    distclean) \
28183           || exit 1
28184
28185 @endif target-boehm-gc
28186
28187 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
28188 maybe-maintainer-clean-target-boehm-gc:
28189 @if target-boehm-gc
28190 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
28191
28192 maintainer-clean-target-boehm-gc: 
28193         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28194         r=`${PWD_COMMAND}`; export r; \
28195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196         $(NORMAL_TARGET_EXPORTS) \
28197         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
28198         for flag in $(EXTRA_TARGET_FLAGS); do \
28199           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28200         done; \
28201         (cd $(TARGET_SUBDIR)/boehm-gc && \
28202           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28203                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28204                   "RANLIB=$${RANLIB}" \
28205                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28206                    maintainer-clean) \
28207           || exit 1
28208
28209 @endif target-boehm-gc
28210
28211
28212 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
28213 maybe-configure-target-qthreads:
28214 @if target-qthreads
28215 maybe-configure-target-qthreads: configure-target-qthreads
28216
28217 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
28218 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
28219         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
28220         rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
28221         cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
28222
28223 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
28224         @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
28225         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
28226         r=`${PWD_COMMAND}`; export r; \
28227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28228         $(NORMAL_TARGET_EXPORTS) \
28229         echo Configuring in $(TARGET_SUBDIR)/qthreads; \
28230         cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
28231         case $(srcdir) in \
28232           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28233           *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
28234                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28235         esac; \
28236         srcdiroption="--srcdir=$${topdir}/qthreads"; \
28237         libsrcdir="$$s/qthreads"; \
28238         rm -f no-such-file || : ; \
28239         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28240           $(TARGET_CONFIGARGS) $${srcdiroption} \
28241           --with-target-subdir="$(TARGET_SUBDIR)"  \
28242           || exit 1
28243 @endif target-qthreads
28244
28245 .PHONY: all-target-qthreads maybe-all-target-qthreads
28246 maybe-all-target-qthreads:
28247 @if target-qthreads
28248 TARGET-target-qthreads=all
28249 maybe-all-target-qthreads: all-target-qthreads
28250 all-target-qthreads: configure-target-qthreads
28251         @r=`${PWD_COMMAND}`; export r; \
28252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28253         $(NORMAL_TARGET_EXPORTS) \
28254         (cd $(TARGET_SUBDIR)/qthreads && \
28255           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-qthreads))
28256 @endif target-qthreads
28257
28258 .PHONY: check-target-qthreads maybe-check-target-qthreads
28259 maybe-check-target-qthreads:
28260 @if target-qthreads
28261 maybe-check-target-qthreads: check-target-qthreads
28262
28263 check-target-qthreads:
28264         @r=`${PWD_COMMAND}`; export r; \
28265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28266         $(NORMAL_TARGET_EXPORTS) \
28267         (cd $(TARGET_SUBDIR)/qthreads && \
28268           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
28269
28270 @endif target-qthreads
28271
28272 .PHONY: install-target-qthreads maybe-install-target-qthreads
28273 maybe-install-target-qthreads:
28274 @if target-qthreads
28275 maybe-install-target-qthreads: install-target-qthreads
28276
28277 install-target-qthreads: installdirs
28278         @r=`${PWD_COMMAND}`; export r; \
28279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28280         $(NORMAL_TARGET_EXPORTS) \
28281         (cd $(TARGET_SUBDIR)/qthreads && \
28282           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
28283
28284 @endif target-qthreads
28285
28286 # Other targets (info, dvi, etc.)
28287
28288 .PHONY: maybe-info-target-qthreads info-target-qthreads
28289 maybe-info-target-qthreads:
28290 @if target-qthreads
28291 maybe-info-target-qthreads: info-target-qthreads
28292
28293 info-target-qthreads: \
28294     configure-target-qthreads 
28295         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28296         r=`${PWD_COMMAND}`; export r; \
28297         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28298         $(NORMAL_TARGET_EXPORTS) \
28299         echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
28300         for flag in $(EXTRA_TARGET_FLAGS); do \
28301           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28302         done; \
28303         (cd $(TARGET_SUBDIR)/qthreads && \
28304           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28305                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28306                   "RANLIB=$${RANLIB}" \
28307                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28308                    info) \
28309           || exit 1
28310
28311 @endif target-qthreads
28312
28313 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
28314 maybe-dvi-target-qthreads:
28315 @if target-qthreads
28316 maybe-dvi-target-qthreads: dvi-target-qthreads
28317
28318 dvi-target-qthreads: \
28319     configure-target-qthreads 
28320         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28321         r=`${PWD_COMMAND}`; export r; \
28322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28323         $(NORMAL_TARGET_EXPORTS) \
28324         echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
28325         for flag in $(EXTRA_TARGET_FLAGS); do \
28326           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28327         done; \
28328         (cd $(TARGET_SUBDIR)/qthreads && \
28329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28331                   "RANLIB=$${RANLIB}" \
28332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28333                    dvi) \
28334           || exit 1
28335
28336 @endif target-qthreads
28337
28338 .PHONY: maybe-html-target-qthreads html-target-qthreads
28339 maybe-html-target-qthreads:
28340 @if target-qthreads
28341 maybe-html-target-qthreads: html-target-qthreads
28342
28343 html-target-qthreads: \
28344     configure-target-qthreads 
28345         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28346         r=`${PWD_COMMAND}`; export r; \
28347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28348         $(NORMAL_TARGET_EXPORTS) \
28349         echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
28350         for flag in $(EXTRA_TARGET_FLAGS); do \
28351           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28352         done; \
28353         (cd $(TARGET_SUBDIR)/qthreads && \
28354           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28355                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28356                   "RANLIB=$${RANLIB}" \
28357                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28358                    html) \
28359           || exit 1
28360
28361 @endif target-qthreads
28362
28363 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
28364 maybe-TAGS-target-qthreads:
28365 @if target-qthreads
28366 maybe-TAGS-target-qthreads: TAGS-target-qthreads
28367
28368 TAGS-target-qthreads: \
28369     configure-target-qthreads 
28370         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28371         r=`${PWD_COMMAND}`; export r; \
28372         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28373         $(NORMAL_TARGET_EXPORTS) \
28374         echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
28375         for flag in $(EXTRA_TARGET_FLAGS); do \
28376           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28377         done; \
28378         (cd $(TARGET_SUBDIR)/qthreads && \
28379           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28380                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28381                   "RANLIB=$${RANLIB}" \
28382                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28383                    TAGS) \
28384           || exit 1
28385
28386 @endif target-qthreads
28387
28388 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
28389 maybe-install-info-target-qthreads:
28390 @if target-qthreads
28391 maybe-install-info-target-qthreads: install-info-target-qthreads
28392
28393 install-info-target-qthreads: \
28394     configure-target-qthreads \
28395     info-target-qthreads 
28396         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28397         r=`${PWD_COMMAND}`; export r; \
28398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28399         $(NORMAL_TARGET_EXPORTS) \
28400         echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
28401         for flag in $(EXTRA_TARGET_FLAGS); do \
28402           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28403         done; \
28404         (cd $(TARGET_SUBDIR)/qthreads && \
28405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28407                   "RANLIB=$${RANLIB}" \
28408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28409                    install-info) \
28410           || exit 1
28411
28412 @endif target-qthreads
28413
28414 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
28415 maybe-installcheck-target-qthreads:
28416 @if target-qthreads
28417 maybe-installcheck-target-qthreads: installcheck-target-qthreads
28418
28419 installcheck-target-qthreads: \
28420     configure-target-qthreads 
28421         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28422         r=`${PWD_COMMAND}`; export r; \
28423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424         $(NORMAL_TARGET_EXPORTS) \
28425         echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
28426         for flag in $(EXTRA_TARGET_FLAGS); do \
28427           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28428         done; \
28429         (cd $(TARGET_SUBDIR)/qthreads && \
28430           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28431                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28432                   "RANLIB=$${RANLIB}" \
28433                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28434                    installcheck) \
28435           || exit 1
28436
28437 @endif target-qthreads
28438
28439 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
28440 maybe-mostlyclean-target-qthreads:
28441 @if target-qthreads
28442 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
28443
28444 mostlyclean-target-qthreads: 
28445         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28446         r=`${PWD_COMMAND}`; export r; \
28447         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28448         $(NORMAL_TARGET_EXPORTS) \
28449         echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
28450         for flag in $(EXTRA_TARGET_FLAGS); do \
28451           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28452         done; \
28453         (cd $(TARGET_SUBDIR)/qthreads && \
28454           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28455                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28456                   "RANLIB=$${RANLIB}" \
28457                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28458                    mostlyclean) \
28459           || exit 1
28460
28461 @endif target-qthreads
28462
28463 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
28464 maybe-clean-target-qthreads:
28465 @if target-qthreads
28466 maybe-clean-target-qthreads: clean-target-qthreads
28467
28468 clean-target-qthreads: 
28469         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28470         r=`${PWD_COMMAND}`; export r; \
28471         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28472         $(NORMAL_TARGET_EXPORTS) \
28473         echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
28474         for flag in $(EXTRA_TARGET_FLAGS); do \
28475           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28476         done; \
28477         (cd $(TARGET_SUBDIR)/qthreads && \
28478           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28479                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28480                   "RANLIB=$${RANLIB}" \
28481                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28482                    clean) \
28483           || exit 1
28484
28485 @endif target-qthreads
28486
28487 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
28488 maybe-distclean-target-qthreads:
28489 @if target-qthreads
28490 maybe-distclean-target-qthreads: distclean-target-qthreads
28491
28492 distclean-target-qthreads: 
28493         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28494         r=`${PWD_COMMAND}`; export r; \
28495         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28496         $(NORMAL_TARGET_EXPORTS) \
28497         echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
28498         for flag in $(EXTRA_TARGET_FLAGS); do \
28499           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28500         done; \
28501         (cd $(TARGET_SUBDIR)/qthreads && \
28502           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28503                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28504                   "RANLIB=$${RANLIB}" \
28505                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28506                    distclean) \
28507           || exit 1
28508
28509 @endif target-qthreads
28510
28511 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
28512 maybe-maintainer-clean-target-qthreads:
28513 @if target-qthreads
28514 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
28515
28516 maintainer-clean-target-qthreads: 
28517         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28518         r=`${PWD_COMMAND}`; export r; \
28519         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28520         $(NORMAL_TARGET_EXPORTS) \
28521         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
28522         for flag in $(EXTRA_TARGET_FLAGS); do \
28523           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28524         done; \
28525         (cd $(TARGET_SUBDIR)/qthreads && \
28526           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28527                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28528                   "RANLIB=$${RANLIB}" \
28529                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28530                    maintainer-clean) \
28531           || exit 1
28532
28533 @endif target-qthreads
28534
28535
28536 .PHONY: configure-target-rda maybe-configure-target-rda
28537 maybe-configure-target-rda:
28538 @if target-rda
28539 maybe-configure-target-rda: configure-target-rda
28540
28541 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
28542 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
28543         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
28544         rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
28545         cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
28546
28547 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
28548         @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
28549         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
28550         r=`${PWD_COMMAND}`; export r; \
28551         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28552         $(NORMAL_TARGET_EXPORTS) \
28553         echo Configuring in $(TARGET_SUBDIR)/rda; \
28554         cd "$(TARGET_SUBDIR)/rda" || exit 1; \
28555         case $(srcdir) in \
28556           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28557           *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
28558                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28559         esac; \
28560         srcdiroption="--srcdir=$${topdir}/rda"; \
28561         libsrcdir="$$s/rda"; \
28562         rm -f no-such-file || : ; \
28563         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28564           $(TARGET_CONFIGARGS) $${srcdiroption} \
28565           --with-target-subdir="$(TARGET_SUBDIR)"  \
28566           || exit 1
28567 @endif target-rda
28568
28569 .PHONY: all-target-rda maybe-all-target-rda
28570 maybe-all-target-rda:
28571 @if target-rda
28572 TARGET-target-rda=all
28573 maybe-all-target-rda: all-target-rda
28574 all-target-rda: configure-target-rda
28575         @r=`${PWD_COMMAND}`; export r; \
28576         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28577         $(NORMAL_TARGET_EXPORTS) \
28578         (cd $(TARGET_SUBDIR)/rda && \
28579           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-rda))
28580 @endif target-rda
28581
28582 .PHONY: check-target-rda maybe-check-target-rda
28583 maybe-check-target-rda:
28584 @if target-rda
28585 maybe-check-target-rda: check-target-rda
28586
28587 check-target-rda:
28588         @r=`${PWD_COMMAND}`; export r; \
28589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28590         $(NORMAL_TARGET_EXPORTS) \
28591         (cd $(TARGET_SUBDIR)/rda && \
28592           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
28593
28594 @endif target-rda
28595
28596 .PHONY: install-target-rda maybe-install-target-rda
28597 maybe-install-target-rda:
28598 @if target-rda
28599 maybe-install-target-rda: install-target-rda
28600
28601 install-target-rda: installdirs
28602         @r=`${PWD_COMMAND}`; export r; \
28603         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604         $(NORMAL_TARGET_EXPORTS) \
28605         (cd $(TARGET_SUBDIR)/rda && \
28606           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
28607
28608 @endif target-rda
28609
28610 # Other targets (info, dvi, etc.)
28611
28612 .PHONY: maybe-info-target-rda info-target-rda
28613 maybe-info-target-rda:
28614 @if target-rda
28615 maybe-info-target-rda: info-target-rda
28616
28617 info-target-rda: \
28618     configure-target-rda 
28619         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28620         r=`${PWD_COMMAND}`; export r; \
28621         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28622         $(NORMAL_TARGET_EXPORTS) \
28623         echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
28624         for flag in $(EXTRA_TARGET_FLAGS); do \
28625           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28626         done; \
28627         (cd $(TARGET_SUBDIR)/rda && \
28628           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28629                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28630                   "RANLIB=$${RANLIB}" \
28631                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28632                    info) \
28633           || exit 1
28634
28635 @endif target-rda
28636
28637 .PHONY: maybe-dvi-target-rda dvi-target-rda
28638 maybe-dvi-target-rda:
28639 @if target-rda
28640 maybe-dvi-target-rda: dvi-target-rda
28641
28642 dvi-target-rda: \
28643     configure-target-rda 
28644         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28645         r=`${PWD_COMMAND}`; export r; \
28646         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28647         $(NORMAL_TARGET_EXPORTS) \
28648         echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
28649         for flag in $(EXTRA_TARGET_FLAGS); do \
28650           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28651         done; \
28652         (cd $(TARGET_SUBDIR)/rda && \
28653           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28654                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28655                   "RANLIB=$${RANLIB}" \
28656                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28657                    dvi) \
28658           || exit 1
28659
28660 @endif target-rda
28661
28662 .PHONY: maybe-html-target-rda html-target-rda
28663 maybe-html-target-rda:
28664 @if target-rda
28665 maybe-html-target-rda: html-target-rda
28666
28667 html-target-rda: \
28668     configure-target-rda 
28669         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28670         r=`${PWD_COMMAND}`; export r; \
28671         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28672         $(NORMAL_TARGET_EXPORTS) \
28673         echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
28674         for flag in $(EXTRA_TARGET_FLAGS); do \
28675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28676         done; \
28677         (cd $(TARGET_SUBDIR)/rda && \
28678           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28679                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28680                   "RANLIB=$${RANLIB}" \
28681                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28682                    html) \
28683           || exit 1
28684
28685 @endif target-rda
28686
28687 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
28688 maybe-TAGS-target-rda:
28689 @if target-rda
28690 maybe-TAGS-target-rda: TAGS-target-rda
28691
28692 TAGS-target-rda: \
28693     configure-target-rda 
28694         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28695         r=`${PWD_COMMAND}`; export r; \
28696         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28697         $(NORMAL_TARGET_EXPORTS) \
28698         echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
28699         for flag in $(EXTRA_TARGET_FLAGS); do \
28700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28701         done; \
28702         (cd $(TARGET_SUBDIR)/rda && \
28703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28705                   "RANLIB=$${RANLIB}" \
28706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28707                    TAGS) \
28708           || exit 1
28709
28710 @endif target-rda
28711
28712 .PHONY: maybe-install-info-target-rda install-info-target-rda
28713 maybe-install-info-target-rda:
28714 @if target-rda
28715 maybe-install-info-target-rda: install-info-target-rda
28716
28717 install-info-target-rda: \
28718     configure-target-rda \
28719     info-target-rda 
28720         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28721         r=`${PWD_COMMAND}`; export r; \
28722         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723         $(NORMAL_TARGET_EXPORTS) \
28724         echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
28725         for flag in $(EXTRA_TARGET_FLAGS); do \
28726           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28727         done; \
28728         (cd $(TARGET_SUBDIR)/rda && \
28729           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28730                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28731                   "RANLIB=$${RANLIB}" \
28732                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28733                    install-info) \
28734           || exit 1
28735
28736 @endif target-rda
28737
28738 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
28739 maybe-installcheck-target-rda:
28740 @if target-rda
28741 maybe-installcheck-target-rda: installcheck-target-rda
28742
28743 installcheck-target-rda: \
28744     configure-target-rda 
28745         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28746         r=`${PWD_COMMAND}`; export r; \
28747         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748         $(NORMAL_TARGET_EXPORTS) \
28749         echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
28750         for flag in $(EXTRA_TARGET_FLAGS); do \
28751           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28752         done; \
28753         (cd $(TARGET_SUBDIR)/rda && \
28754           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28755                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28756                   "RANLIB=$${RANLIB}" \
28757                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28758                    installcheck) \
28759           || exit 1
28760
28761 @endif target-rda
28762
28763 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
28764 maybe-mostlyclean-target-rda:
28765 @if target-rda
28766 maybe-mostlyclean-target-rda: mostlyclean-target-rda
28767
28768 mostlyclean-target-rda: 
28769         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28770         r=`${PWD_COMMAND}`; export r; \
28771         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772         $(NORMAL_TARGET_EXPORTS) \
28773         echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
28774         for flag in $(EXTRA_TARGET_FLAGS); do \
28775           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28776         done; \
28777         (cd $(TARGET_SUBDIR)/rda && \
28778           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780                   "RANLIB=$${RANLIB}" \
28781                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28782                    mostlyclean) \
28783           || exit 1
28784
28785 @endif target-rda
28786
28787 .PHONY: maybe-clean-target-rda clean-target-rda
28788 maybe-clean-target-rda:
28789 @if target-rda
28790 maybe-clean-target-rda: clean-target-rda
28791
28792 clean-target-rda: 
28793         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28794         r=`${PWD_COMMAND}`; export r; \
28795         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28796         $(NORMAL_TARGET_EXPORTS) \
28797         echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
28798         for flag in $(EXTRA_TARGET_FLAGS); do \
28799           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28800         done; \
28801         (cd $(TARGET_SUBDIR)/rda && \
28802           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28803                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28804                   "RANLIB=$${RANLIB}" \
28805                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28806                    clean) \
28807           || exit 1
28808
28809 @endif target-rda
28810
28811 .PHONY: maybe-distclean-target-rda distclean-target-rda
28812 maybe-distclean-target-rda:
28813 @if target-rda
28814 maybe-distclean-target-rda: distclean-target-rda
28815
28816 distclean-target-rda: 
28817         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28818         r=`${PWD_COMMAND}`; export r; \
28819         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820         $(NORMAL_TARGET_EXPORTS) \
28821         echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
28822         for flag in $(EXTRA_TARGET_FLAGS); do \
28823           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28824         done; \
28825         (cd $(TARGET_SUBDIR)/rda && \
28826           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28827                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28828                   "RANLIB=$${RANLIB}" \
28829                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28830                    distclean) \
28831           || exit 1
28832
28833 @endif target-rda
28834
28835 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
28836 maybe-maintainer-clean-target-rda:
28837 @if target-rda
28838 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
28839
28840 maintainer-clean-target-rda: 
28841         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28842         r=`${PWD_COMMAND}`; export r; \
28843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28844         $(NORMAL_TARGET_EXPORTS) \
28845         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
28846         for flag in $(EXTRA_TARGET_FLAGS); do \
28847           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28848         done; \
28849         (cd $(TARGET_SUBDIR)/rda && \
28850           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28851                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28852                   "RANLIB=$${RANLIB}" \
28853                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28854                    maintainer-clean) \
28855           || exit 1
28856
28857 @endif target-rda
28858
28859
28860 .PHONY: configure-target-libada maybe-configure-target-libada
28861 maybe-configure-target-libada:
28862 @if target-libada
28863 maybe-configure-target-libada: configure-target-libada
28864
28865 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
28866 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
28867         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
28868         rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
28869         cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
28870
28871 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
28872         @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
28873         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
28874         r=`${PWD_COMMAND}`; export r; \
28875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28876         $(NORMAL_TARGET_EXPORTS) \
28877         echo Configuring in $(TARGET_SUBDIR)/libada; \
28878         cd "$(TARGET_SUBDIR)/libada" || exit 1; \
28879         case $(srcdir) in \
28880           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28881           *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
28882                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28883         esac; \
28884         srcdiroption="--srcdir=$${topdir}/libada"; \
28885         libsrcdir="$$s/libada"; \
28886         rm -f no-such-file || : ; \
28887         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28888           $(TARGET_CONFIGARGS) $${srcdiroption} \
28889           --with-target-subdir="$(TARGET_SUBDIR)"  \
28890           || exit 1
28891 @endif target-libada
28892
28893 .PHONY: all-target-libada maybe-all-target-libada
28894 maybe-all-target-libada:
28895 @if target-libada
28896 TARGET-target-libada=all
28897 maybe-all-target-libada: all-target-libada
28898 all-target-libada: configure-target-libada
28899         @r=`${PWD_COMMAND}`; export r; \
28900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28901         $(NORMAL_TARGET_EXPORTS) \
28902         (cd $(TARGET_SUBDIR)/libada && \
28903           $(MAKE) $(TARGET_FLAGS_TO_PASS)   $(TARGET-target-libada))
28904 @endif target-libada
28905
28906 .PHONY: check-target-libada maybe-check-target-libada
28907 maybe-check-target-libada:
28908 @if target-libada
28909 maybe-check-target-libada: check-target-libada
28910
28911 check-target-libada:
28912         @r=`${PWD_COMMAND}`; export r; \
28913         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28914         $(NORMAL_TARGET_EXPORTS) \
28915         (cd $(TARGET_SUBDIR)/libada && \
28916           $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
28917
28918 @endif target-libada
28919
28920 .PHONY: install-target-libada maybe-install-target-libada
28921 maybe-install-target-libada:
28922 @if target-libada
28923 maybe-install-target-libada: install-target-libada
28924
28925 install-target-libada: installdirs
28926         @r=`${PWD_COMMAND}`; export r; \
28927         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28928         $(NORMAL_TARGET_EXPORTS) \
28929         (cd $(TARGET_SUBDIR)/libada && \
28930           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
28931
28932 @endif target-libada
28933
28934 # Other targets (info, dvi, etc.)
28935
28936 .PHONY: maybe-info-target-libada info-target-libada
28937 maybe-info-target-libada:
28938 @if target-libada
28939 maybe-info-target-libada: info-target-libada
28940
28941 info-target-libada: \
28942     configure-target-libada 
28943         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28944         r=`${PWD_COMMAND}`; export r; \
28945         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28946         $(NORMAL_TARGET_EXPORTS) \
28947         echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
28948         for flag in $(EXTRA_TARGET_FLAGS); do \
28949           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28950         done; \
28951         (cd $(TARGET_SUBDIR)/libada && \
28952           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28953                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28954                   "RANLIB=$${RANLIB}" \
28955                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28956                    info) \
28957           || exit 1
28958
28959 @endif target-libada
28960
28961 .PHONY: maybe-dvi-target-libada dvi-target-libada
28962 maybe-dvi-target-libada:
28963 @if target-libada
28964 maybe-dvi-target-libada: dvi-target-libada
28965
28966 dvi-target-libada: \
28967     configure-target-libada 
28968         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28969         r=`${PWD_COMMAND}`; export r; \
28970         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971         $(NORMAL_TARGET_EXPORTS) \
28972         echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
28973         for flag in $(EXTRA_TARGET_FLAGS); do \
28974           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28975         done; \
28976         (cd $(TARGET_SUBDIR)/libada && \
28977           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28978                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28979                   "RANLIB=$${RANLIB}" \
28980                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28981                    dvi) \
28982           || exit 1
28983
28984 @endif target-libada
28985
28986 .PHONY: maybe-html-target-libada html-target-libada
28987 maybe-html-target-libada:
28988 @if target-libada
28989 maybe-html-target-libada: html-target-libada
28990
28991 html-target-libada: \
28992     configure-target-libada 
28993         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28994         r=`${PWD_COMMAND}`; export r; \
28995         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996         $(NORMAL_TARGET_EXPORTS) \
28997         echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
28998         for flag in $(EXTRA_TARGET_FLAGS); do \
28999           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29000         done; \
29001         (cd $(TARGET_SUBDIR)/libada && \
29002           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004                   "RANLIB=$${RANLIB}" \
29005                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29006                    html) \
29007           || exit 1
29008
29009 @endif target-libada
29010
29011 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
29012 maybe-TAGS-target-libada:
29013 @if target-libada
29014 maybe-TAGS-target-libada: TAGS-target-libada
29015
29016 TAGS-target-libada: \
29017     configure-target-libada 
29018         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29019         r=`${PWD_COMMAND}`; export r; \
29020         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29021         $(NORMAL_TARGET_EXPORTS) \
29022         echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
29023         for flag in $(EXTRA_TARGET_FLAGS); do \
29024           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29025         done; \
29026         (cd $(TARGET_SUBDIR)/libada && \
29027           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29028                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29029                   "RANLIB=$${RANLIB}" \
29030                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29031                    TAGS) \
29032           || exit 1
29033
29034 @endif target-libada
29035
29036 .PHONY: maybe-install-info-target-libada install-info-target-libada
29037 maybe-install-info-target-libada:
29038 @if target-libada
29039 maybe-install-info-target-libada: install-info-target-libada
29040
29041 install-info-target-libada: \
29042     configure-target-libada \
29043     info-target-libada 
29044         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29045         r=`${PWD_COMMAND}`; export r; \
29046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29047         $(NORMAL_TARGET_EXPORTS) \
29048         echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
29049         for flag in $(EXTRA_TARGET_FLAGS); do \
29050           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29051         done; \
29052         (cd $(TARGET_SUBDIR)/libada && \
29053           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29054                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29055                   "RANLIB=$${RANLIB}" \
29056                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29057                    install-info) \
29058           || exit 1
29059
29060 @endif target-libada
29061
29062 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
29063 maybe-installcheck-target-libada:
29064 @if target-libada
29065 maybe-installcheck-target-libada: installcheck-target-libada
29066
29067 installcheck-target-libada: \
29068     configure-target-libada 
29069         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29070         r=`${PWD_COMMAND}`; export r; \
29071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29072         $(NORMAL_TARGET_EXPORTS) \
29073         echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
29074         for flag in $(EXTRA_TARGET_FLAGS); do \
29075           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29076         done; \
29077         (cd $(TARGET_SUBDIR)/libada && \
29078           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29079                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29080                   "RANLIB=$${RANLIB}" \
29081                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29082                    installcheck) \
29083           || exit 1
29084
29085 @endif target-libada
29086
29087 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
29088 maybe-mostlyclean-target-libada:
29089 @if target-libada
29090 maybe-mostlyclean-target-libada: mostlyclean-target-libada
29091
29092 mostlyclean-target-libada: 
29093         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29094         r=`${PWD_COMMAND}`; export r; \
29095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096         $(NORMAL_TARGET_EXPORTS) \
29097         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
29098         for flag in $(EXTRA_TARGET_FLAGS); do \
29099           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29100         done; \
29101         (cd $(TARGET_SUBDIR)/libada && \
29102           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29103                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29104                   "RANLIB=$${RANLIB}" \
29105                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29106                    mostlyclean) \
29107           || exit 1
29108
29109 @endif target-libada
29110
29111 .PHONY: maybe-clean-target-libada clean-target-libada
29112 maybe-clean-target-libada:
29113 @if target-libada
29114 maybe-clean-target-libada: clean-target-libada
29115
29116 clean-target-libada: 
29117         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29118         r=`${PWD_COMMAND}`; export r; \
29119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29120         $(NORMAL_TARGET_EXPORTS) \
29121         echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
29122         for flag in $(EXTRA_TARGET_FLAGS); do \
29123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124         done; \
29125         (cd $(TARGET_SUBDIR)/libada && \
29126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29128                   "RANLIB=$${RANLIB}" \
29129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29130                    clean) \
29131           || exit 1
29132
29133 @endif target-libada
29134
29135 .PHONY: maybe-distclean-target-libada distclean-target-libada
29136 maybe-distclean-target-libada:
29137 @if target-libada
29138 maybe-distclean-target-libada: distclean-target-libada
29139
29140 distclean-target-libada: 
29141         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29142         r=`${PWD_COMMAND}`; export r; \
29143         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29144         $(NORMAL_TARGET_EXPORTS) \
29145         echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
29146         for flag in $(EXTRA_TARGET_FLAGS); do \
29147           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29148         done; \
29149         (cd $(TARGET_SUBDIR)/libada && \
29150           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29151                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29152                   "RANLIB=$${RANLIB}" \
29153                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29154                    distclean) \
29155           || exit 1
29156
29157 @endif target-libada
29158
29159 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
29160 maybe-maintainer-clean-target-libada:
29161 @if target-libada
29162 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
29163
29164 maintainer-clean-target-libada: 
29165         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29166         r=`${PWD_COMMAND}`; export r; \
29167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168         $(NORMAL_TARGET_EXPORTS) \
29169         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
29170         for flag in $(EXTRA_TARGET_FLAGS); do \
29171           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29172         done; \
29173         (cd $(TARGET_SUBDIR)/libada && \
29174           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176                   "RANLIB=$${RANLIB}" \
29177                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29178                    maintainer-clean) \
29179           || exit 1
29180
29181 @endif target-libada
29182
29183
29184
29185 # ----------
29186 # GCC module
29187 # ----------
29188
29189 @if gcc-no-bootstrap
29190 # GCC has some more recursive targets, which trigger the old
29191 # (but still current, until the toplevel bootstrap project
29192 # is finished) compiler bootstrapping rules.
29193
29194 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
29195 .PHONY: $(GCC_STRAP_TARGETS)
29196 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
29197         @r=`${PWD_COMMAND}`; export r; \
29198         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29199         $(HOST_EXPORTS) \
29200         echo "Bootstrapping the compiler"; \
29201         $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
29202         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
29203         @r=`${PWD_COMMAND}`; export r; \
29204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29205         case "$@" in \
29206           *bootstrap4-lean ) \
29207             msg="Comparing stage3 and stage4 of the compiler"; \
29208             compare=compare3-lean ;; \
29209           *bootstrap4 ) \
29210             msg="Comparing stage3 and stage4 of the compiler"; \
29211             compare=compare3 ;; \
29212           *-lean ) \
29213             msg="Comparing stage2 and stage3 of the compiler"; \
29214             compare=compare-lean ;; \
29215           * ) \
29216             msg="Comparing stage2 and stage3 of the compiler"; \
29217             compare=compare ;; \
29218         esac; \
29219         $(HOST_EXPORTS) \
29220         echo "$$msg"; \
29221         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
29222         @r=`${PWD_COMMAND}`; export r; \
29223         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29224         echo "Building runtime libraries"; \
29225         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
29226
29227 profiledbootstrap: all-prebootstrap configure-gcc
29228         @r=`${PWD_COMMAND}`; export r; \
29229         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29230         $(HOST_EXPORTS) \
29231         $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
29232         echo "Bootstrapping training compiler"; \
29233         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
29234         @r=`${PWD_COMMAND}`; export r; \
29235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29236         $(HOST_EXPORTS) \
29237         echo "Building feedback based compiler"; \
29238         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
29239         @r=`${PWD_COMMAND}`; export r; \
29240         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29241         echo "Building runtime libraries"; \
29242         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
29243
29244 .PHONY: cross
29245 cross: all-build all-gas all-ld
29246         @r=`${PWD_COMMAND}`; export r; \
29247         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29248         $(HOST_EXPORTS) \
29249         echo "Building the C and C++ compiler"; \
29250         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
29251         @r=`${PWD_COMMAND}`; export r; \
29252         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29253         echo "Building runtime libraries"; \
29254         $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
29255 @endif gcc-no-bootstrap
29256
29257 @if gcc
29258 .PHONY: check-gcc-c++
29259 check-gcc-c++:
29260         @if [ -f ./gcc/Makefile ] ; then \
29261           r=`${PWD_COMMAND}`; export r; \
29262           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29263           $(HOST_EXPORTS) \
29264           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
29265         else \
29266           true; \
29267         fi
29268
29269 .PHONY: check-c++
29270 check-c++: check-target-libstdc++-v3 check-gcc-c++
29271
29272 # Install the gcc headers files, but not the fixed include files,
29273 # which Cygnus is not allowed to distribute.  This rule is very
29274 # dependent on the workings of the gcc Makefile.in.
29275 .PHONY: gcc-no-fixedincludes
29276 gcc-no-fixedincludes:
29277         @if [ -f ./gcc/Makefile ]; then \
29278           rm -rf gcc/tmp-include; \
29279           mv gcc/include gcc/tmp-include 2>/dev/null; \
29280           mkdir gcc/include; \
29281           cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
29282           touch gcc/stmp-fixinc gcc/include/fixed; \
29283           rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
29284           r=`${PWD_COMMAND}`; export r; \
29285           s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29286           $(HOST_EXPORTS) \
29287           (cd ./gcc && \
29288            $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
29289           rm -rf gcc/include; \
29290           mv gcc/tmp-include gcc/include 2>/dev/null; \
29291         else true; fi
29292 @endif gcc
29293
29294 # ---------------------
29295 # GCC bootstrap support
29296 # ---------------------
29297
29298 # We track the current stage (the one in 'gcc') in the stage_current file.
29299 # stage_last instead tracks the stage that was built last.  These targets
29300 # are dummy when toplevel bootstrap is not active.
29301
29302 .PHONY: unstage
29303 unstage:
29304 @if gcc-bootstrap
29305         @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
29306 @endif gcc-bootstrap
29307
29308 .PHONY: stage
29309 stage:
29310 @if gcc-bootstrap
29311         @$(MAKE) `cat stage_current`-end
29312 @endif gcc-bootstrap
29313
29314 # We name the build directories for the various stages "stage1-gcc",
29315 # "stage2-gcc","stage3-gcc", etc.
29316
29317 # Since the 'compare' process will fail (on debugging information) if any
29318 # directory names are different, we need to link the gcc directory for
29319 # the previous stage to a constant name ('gcc-prev'), and to make the name of
29320 # the build directories constant as well. For the latter, we use naked names
29321 # like 'gcc', because the scripts in that directory assume it.  We use
29322 # mv on platforms where symlinks to directories do not work or are not
29323 # reliable.
29324
29325 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
29326 # be kept, so that libraries can find it.  Ick!
29327
29328 # It would be best to preinstall gcc into a staging area (and in the
29329 # future, gather there all prebootstrap packages).  This would allow
29330 # assemblers and linkers can be bootstrapped as well as the compiler
29331 # (both in a combined tree, or separately).  This however requires some
29332 # change to the gcc driver, again in order to avoid comparison failures.
29333
29334 # Bugs: This is crippled when doing parallel make, the `make all-host'
29335 # and `make all-target' phases can be parallelized.
29336
29337
29338 # 'touch' doesn't work right on some platforms.
29339 STAMP = echo timestamp > 
29340
29341 # Only build the C compiler for stage1, because that is the only one that
29342 # we can guarantee will build with the native compiler, and also it is the
29343 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
29344 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
29345 # overrideable (for a bootstrap build stage1 also builds gcc.info).
29346
29347 STAGE1_CFLAGS=@stage1_cflags@
29348 STAGE1_LANGUAGES=@stage1_languages@
29349
29350 # We only want to compare .o files, so set this!
29351 objext = .o
29352
29353 # Flags to pass to stage2 and later makes.
29354 POSTSTAGE1_FLAGS_TO_PASS = \
29355         CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
29356         STAGE_PREFIX=$$r/stage-gcc/ \
29357         CFLAGS="$(BOOT_CFLAGS)" \
29358         ADAC="\$$(CC)"
29359
29360 # For stage 1:
29361 # * We force-disable intermodule optimizations, even if
29362 #   --enable-intermodule was passed, since the installed compiler probably
29363 #   can't handle them.  Luckily, autoconf always respects
29364 #   the last argument when conflicting --enable arguments are passed.
29365 # * Likewise, we force-disable coverage flags, since the installed compiler
29366 #   probably has never heard of them.
29367 # * We build only C (and possibly Ada).
29368
29369
29370 .PHONY: stage1-start stage1-end
29371
29372 stage1-start::
29373         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29374         echo stage1 > stage_current ; \
29375         echo stage1 > stage_last; \
29376         $(mkinstalldirs) $(HOST_SUBDIR)
29377 @if bfd
29378         @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
29379           mkdir stage1-bfd; \
29380         set stage1-bfd bfd ; \
29381         @CREATE_LINK_TO_DIR@ 
29382 @endif bfd
29383 @if opcodes
29384         @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
29385           mkdir stage1-opcodes; \
29386         set stage1-opcodes opcodes ; \
29387         @CREATE_LINK_TO_DIR@ 
29388 @endif opcodes
29389 @if binutils
29390         @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
29391           mkdir stage1-binutils; \
29392         set stage1-binutils binutils ; \
29393         @CREATE_LINK_TO_DIR@ 
29394 @endif binutils
29395 @if gas
29396         @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
29397           mkdir stage1-gas; \
29398         set stage1-gas gas ; \
29399         @CREATE_LINK_TO_DIR@ 
29400 @endif gas
29401 @if gcc
29402         @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
29403           mkdir stage1-gcc; \
29404         set stage1-gcc gcc ; \
29405         @CREATE_LINK_TO_DIR@ 
29406 @endif gcc
29407 @if intl
29408         @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
29409           mkdir stage1-intl; \
29410         set stage1-intl intl ; \
29411         @CREATE_LINK_TO_DIR@ 
29412 @endif intl
29413 @if ld
29414         @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
29415           mkdir stage1-ld; \
29416         set stage1-ld ld ; \
29417         @CREATE_LINK_TO_DIR@ 
29418 @endif ld
29419 @if libcpp
29420         @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
29421           mkdir stage1-libcpp; \
29422         set stage1-libcpp libcpp ; \
29423         @CREATE_LINK_TO_DIR@ 
29424 @endif libcpp
29425 @if libiberty
29426         @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
29427           mkdir stage1-libiberty; \
29428         set stage1-libiberty libiberty ; \
29429         @CREATE_LINK_TO_DIR@ 
29430 @endif libiberty
29431 @if zlib
29432         @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
29433           mkdir stage1-zlib; \
29434         set stage1-zlib zlib ; \
29435         @CREATE_LINK_TO_DIR@ 
29436 @endif zlib
29437
29438 stage1-end::
29439         @rm -f stage_current
29440 @if bfd
29441         @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
29442         @UNDO_LINK_TO_DIR@ 
29443 @endif bfd
29444 @if opcodes
29445         @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
29446         @UNDO_LINK_TO_DIR@ 
29447 @endif opcodes
29448 @if binutils
29449         @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
29450         @UNDO_LINK_TO_DIR@ 
29451 @endif binutils
29452 @if gas
29453         @cd $(HOST_SUBDIR); set gas stage1-gas ; \
29454         @UNDO_LINK_TO_DIR@ 
29455 @endif gas
29456 @if gcc
29457         @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
29458         @UNDO_LINK_TO_DIR@ 
29459 @endif gcc
29460 @if intl
29461         @cd $(HOST_SUBDIR); set intl stage1-intl ; \
29462         @UNDO_LINK_TO_DIR@ 
29463 @endif intl
29464 @if ld
29465         @cd $(HOST_SUBDIR); set ld stage1-ld ; \
29466         @UNDO_LINK_TO_DIR@ 
29467 @endif ld
29468 @if libcpp
29469         @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
29470         @UNDO_LINK_TO_DIR@ 
29471 @endif libcpp
29472 @if libiberty
29473         @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
29474         @UNDO_LINK_TO_DIR@ 
29475 @endif libiberty
29476 @if zlib
29477         @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
29478         @UNDO_LINK_TO_DIR@ 
29479 @endif zlib
29480
29481 # Bubble a bugfix through all the stages up to stage 1.  They
29482 # are remade, but not reconfigured.  The next stage (if any) will not
29483 # be reconfigured as well.
29484 .PHONY: stage1-bubble
29485 stage1-bubble:: 
29486         @if test -f stage1-lean  ; then \
29487           echo Skipping rebuild of stage1 ; \
29488         else \
29489           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
29490         fi
29491
29492 .PHONY: all-stage1 clean-stage1
29493 all-stage1:     \
29494   maybe-all-stage1-bfd \
29495   maybe-all-stage1-opcodes \
29496   maybe-all-stage1-binutils              \
29497   maybe-all-stage1-gas \
29498   maybe-all-stage1-gcc        \
29499   maybe-all-stage1-intl   \
29500   maybe-all-stage1-ld \
29501   maybe-all-stage1-libcpp  \
29502   maybe-all-stage1-libiberty                        \
29503   maybe-all-stage1-zlib        
29504
29505 do-clean: clean-stage1
29506 clean-stage1:     \
29507   maybe-clean-stage1-bfd \
29508   maybe-clean-stage1-opcodes \
29509   maybe-clean-stage1-binutils              \
29510   maybe-clean-stage1-gas \
29511   maybe-clean-stage1-gcc        \
29512   maybe-clean-stage1-intl   \
29513   maybe-clean-stage1-ld \
29514   maybe-clean-stage1-libcpp  \
29515   maybe-clean-stage1-libiberty                        \
29516   maybe-clean-stage1-zlib        
29517
29518
29519 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
29520 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
29521 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
29522
29523 maybe-configure-stage1-bfd:
29524 maybe-all-stage1-bfd:
29525 maybe-clean-stage1-bfd:
29526
29527 @if bfd-bootstrap
29528 maybe-configure-stage1-bfd: configure-stage1-bfd
29529 configure-stage1-bfd:
29530         @$(MAKE) stage1-start
29531         @[ -f bfd/Makefile ] && exit 0 || : ; \
29532         r=`${PWD_COMMAND}`; export r; \
29533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29534         $(HOST_EXPORTS)  \
29535         echo Configuring stage 1 in bfd ; \
29536         cd $(HOST_SUBDIR)/bfd || exit 1; \
29537         case $(srcdir) in \
29538           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29539           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
29540                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29541         esac; \
29542         srcdiroption="--srcdir=$${topdir}/bfd"; \
29543         libsrcdir="$$s/bfd"; \
29544         $(SHELL) $${libsrcdir}/configure \
29545           $(HOST_CONFIGARGS) $${srcdiroption} \
29546           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29547
29548 maybe-all-stage1-bfd: all-stage1-bfd
29549 all-stage1-bfd: configure-stage1-bfd
29550         @$(MAKE) stage1-start
29551         @r=`${PWD_COMMAND}`; export r; \
29552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29553         $(HOST_EXPORTS)  \
29554         cd $(HOST_SUBDIR)/bfd && \
29555         $(MAKE) $(FLAGS_TO_PASS)  \
29556                 CFLAGS="$(STAGE1_CFLAGS)" 
29557
29558 maybe-clean-stage1-bfd: clean-stage1-bfd
29559 clean-stage1-bfd:
29560         @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
29561           || exit 0 ; \
29562         [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
29563         cd $(HOST_SUBDIR)/bfd && \
29564         $(MAKE) $(FLAGS_TO_PASS)  \
29565                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29566 @endif bfd-bootstrap
29567
29568
29569 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
29570 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
29571 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
29572
29573 maybe-configure-stage1-opcodes:
29574 maybe-all-stage1-opcodes:
29575 maybe-clean-stage1-opcodes:
29576
29577 @if opcodes-bootstrap
29578 maybe-configure-stage1-opcodes: configure-stage1-opcodes
29579 configure-stage1-opcodes:
29580         @$(MAKE) stage1-start
29581         @[ -f opcodes/Makefile ] && exit 0 || : ; \
29582         r=`${PWD_COMMAND}`; export r; \
29583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29584         $(HOST_EXPORTS)  \
29585         echo Configuring stage 1 in opcodes ; \
29586         cd $(HOST_SUBDIR)/opcodes || exit 1; \
29587         case $(srcdir) in \
29588           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29589           *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
29590                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29591         esac; \
29592         srcdiroption="--srcdir=$${topdir}/opcodes"; \
29593         libsrcdir="$$s/opcodes"; \
29594         $(SHELL) $${libsrcdir}/configure \
29595           $(HOST_CONFIGARGS) $${srcdiroption} \
29596           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29597
29598 maybe-all-stage1-opcodes: all-stage1-opcodes
29599 all-stage1-opcodes: configure-stage1-opcodes
29600         @$(MAKE) stage1-start
29601         @r=`${PWD_COMMAND}`; export r; \
29602         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29603         $(HOST_EXPORTS)  \
29604         cd $(HOST_SUBDIR)/opcodes && \
29605         $(MAKE) $(FLAGS_TO_PASS)  \
29606                 CFLAGS="$(STAGE1_CFLAGS)" 
29607
29608 maybe-clean-stage1-opcodes: clean-stage1-opcodes
29609 clean-stage1-opcodes:
29610         @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
29611           || exit 0 ; \
29612         [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
29613         cd $(HOST_SUBDIR)/opcodes && \
29614         $(MAKE) $(FLAGS_TO_PASS)  \
29615                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29616 @endif opcodes-bootstrap
29617
29618
29619 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
29620 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
29621 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
29622
29623 maybe-configure-stage1-binutils:
29624 maybe-all-stage1-binutils:
29625 maybe-clean-stage1-binutils:
29626
29627 @if binutils-bootstrap
29628 maybe-configure-stage1-binutils: configure-stage1-binutils
29629 configure-stage1-binutils:
29630         @$(MAKE) stage1-start
29631         @[ -f binutils/Makefile ] && exit 0 || : ; \
29632         r=`${PWD_COMMAND}`; export r; \
29633         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29634         $(HOST_EXPORTS)  \
29635         echo Configuring stage 1 in binutils ; \
29636         cd $(HOST_SUBDIR)/binutils || exit 1; \
29637         case $(srcdir) in \
29638           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29639           *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
29640                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29641         esac; \
29642         srcdiroption="--srcdir=$${topdir}/binutils"; \
29643         libsrcdir="$$s/binutils"; \
29644         $(SHELL) $${libsrcdir}/configure \
29645           $(HOST_CONFIGARGS) $${srcdiroption} \
29646           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29647
29648 maybe-all-stage1-binutils: all-stage1-binutils
29649 all-stage1-binutils: configure-stage1-binutils
29650         @$(MAKE) stage1-start
29651         @r=`${PWD_COMMAND}`; export r; \
29652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29653         $(HOST_EXPORTS)  \
29654         cd $(HOST_SUBDIR)/binutils && \
29655         $(MAKE) $(FLAGS_TO_PASS)  \
29656                 CFLAGS="$(STAGE1_CFLAGS)" 
29657
29658 maybe-clean-stage1-binutils: clean-stage1-binutils
29659 clean-stage1-binutils:
29660         @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
29661           || exit 0 ; \
29662         [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
29663         cd $(HOST_SUBDIR)/binutils && \
29664         $(MAKE) $(FLAGS_TO_PASS)  \
29665                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29666 @endif binutils-bootstrap
29667
29668
29669 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
29670 .PHONY: all-stage1-gas maybe-all-stage1-gas
29671 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
29672
29673 maybe-configure-stage1-gas:
29674 maybe-all-stage1-gas:
29675 maybe-clean-stage1-gas:
29676
29677 @if gas-bootstrap
29678 maybe-configure-stage1-gas: configure-stage1-gas
29679 configure-stage1-gas:
29680         @$(MAKE) stage1-start
29681         @[ -f gas/Makefile ] && exit 0 || : ; \
29682         r=`${PWD_COMMAND}`; export r; \
29683         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29684         $(HOST_EXPORTS)  \
29685         echo Configuring stage 1 in gas ; \
29686         cd $(HOST_SUBDIR)/gas || exit 1; \
29687         case $(srcdir) in \
29688           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29689           *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
29690                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29691         esac; \
29692         srcdiroption="--srcdir=$${topdir}/gas"; \
29693         libsrcdir="$$s/gas"; \
29694         $(SHELL) $${libsrcdir}/configure \
29695           $(HOST_CONFIGARGS) $${srcdiroption} \
29696           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29697
29698 maybe-all-stage1-gas: all-stage1-gas
29699 all-stage1-gas: configure-stage1-gas
29700         @$(MAKE) stage1-start
29701         @r=`${PWD_COMMAND}`; export r; \
29702         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29703         $(HOST_EXPORTS)  \
29704         cd $(HOST_SUBDIR)/gas && \
29705         $(MAKE) $(FLAGS_TO_PASS)  \
29706                 CFLAGS="$(STAGE1_CFLAGS)" 
29707
29708 maybe-clean-stage1-gas: clean-stage1-gas
29709 clean-stage1-gas:
29710         @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
29711           || exit 0 ; \
29712         [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
29713         cd $(HOST_SUBDIR)/gas && \
29714         $(MAKE) $(FLAGS_TO_PASS)  \
29715                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29716 @endif gas-bootstrap
29717
29718
29719 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
29720 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
29721 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
29722
29723 maybe-configure-stage1-gcc:
29724 maybe-all-stage1-gcc:
29725 maybe-clean-stage1-gcc:
29726
29727 @if gcc-bootstrap
29728 maybe-configure-stage1-gcc: configure-stage1-gcc
29729 configure-stage1-gcc:
29730         @$(MAKE) stage1-start
29731         @[ -f gcc/Makefile ] && exit 0 || : ; \
29732         r=`${PWD_COMMAND}`; export r; \
29733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29734         $(HOST_EXPORTS)  \
29735         echo Configuring stage 1 in gcc ; \
29736         cd $(HOST_SUBDIR)/gcc || exit 1; \
29737         case $(srcdir) in \
29738           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29739           *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
29740                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29741         esac; \
29742         srcdiroption="--srcdir=$${topdir}/gcc"; \
29743         libsrcdir="$$s/gcc"; \
29744         $(SHELL) $${libsrcdir}/configure \
29745           $(HOST_CONFIGARGS) $${srcdiroption} \
29746           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29747
29748 maybe-all-stage1-gcc: all-stage1-gcc
29749 all-stage1-gcc: configure-stage1-gcc
29750         @$(MAKE) stage1-start
29751         @r=`${PWD_COMMAND}`; export r; \
29752         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29753         $(HOST_EXPORTS)  \
29754         cd $(HOST_SUBDIR)/gcc && \
29755         $(MAKE) $(FLAGS_TO_PASS)  \
29756                 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
29757
29758 maybe-clean-stage1-gcc: clean-stage1-gcc
29759 clean-stage1-gcc:
29760         @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
29761           || exit 0 ; \
29762         [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
29763         cd $(HOST_SUBDIR)/gcc && \
29764         $(MAKE) $(FLAGS_TO_PASS)  \
29765                 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
29766 @endif gcc-bootstrap
29767
29768
29769 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
29770 .PHONY: all-stage1-intl maybe-all-stage1-intl
29771 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
29772
29773 maybe-configure-stage1-intl:
29774 maybe-all-stage1-intl:
29775 maybe-clean-stage1-intl:
29776
29777 @if intl-bootstrap
29778 maybe-configure-stage1-intl: configure-stage1-intl
29779 configure-stage1-intl:
29780         @$(MAKE) stage1-start
29781         @[ -f intl/Makefile ] && exit 0 || : ; \
29782         r=`${PWD_COMMAND}`; export r; \
29783         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29784         $(HOST_EXPORTS)  \
29785         echo Configuring stage 1 in intl ; \
29786         cd $(HOST_SUBDIR)/intl || exit 1; \
29787         case $(srcdir) in \
29788           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29789           *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
29790                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29791         esac; \
29792         srcdiroption="--srcdir=$${topdir}/intl"; \
29793         libsrcdir="$$s/intl"; \
29794         $(SHELL) $${libsrcdir}/configure \
29795           $(HOST_CONFIGARGS) $${srcdiroption} \
29796           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29797
29798 maybe-all-stage1-intl: all-stage1-intl
29799 all-stage1-intl: configure-stage1-intl
29800         @$(MAKE) stage1-start
29801         @r=`${PWD_COMMAND}`; export r; \
29802         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29803         $(HOST_EXPORTS)  \
29804         cd $(HOST_SUBDIR)/intl && \
29805         $(MAKE) $(FLAGS_TO_PASS)  \
29806                 CFLAGS="$(STAGE1_CFLAGS)" 
29807
29808 maybe-clean-stage1-intl: clean-stage1-intl
29809 clean-stage1-intl:
29810         @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
29811           || exit 0 ; \
29812         [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
29813         cd $(HOST_SUBDIR)/intl && \
29814         $(MAKE) $(FLAGS_TO_PASS)  \
29815                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29816 @endif intl-bootstrap
29817
29818
29819 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
29820 .PHONY: all-stage1-ld maybe-all-stage1-ld
29821 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
29822
29823 maybe-configure-stage1-ld:
29824 maybe-all-stage1-ld:
29825 maybe-clean-stage1-ld:
29826
29827 @if ld-bootstrap
29828 maybe-configure-stage1-ld: configure-stage1-ld
29829 configure-stage1-ld:
29830         @$(MAKE) stage1-start
29831         @[ -f ld/Makefile ] && exit 0 || : ; \
29832         r=`${PWD_COMMAND}`; export r; \
29833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29834         $(HOST_EXPORTS)  \
29835         echo Configuring stage 1 in ld ; \
29836         cd $(HOST_SUBDIR)/ld || exit 1; \
29837         case $(srcdir) in \
29838           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29839           *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
29840                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29841         esac; \
29842         srcdiroption="--srcdir=$${topdir}/ld"; \
29843         libsrcdir="$$s/ld"; \
29844         $(SHELL) $${libsrcdir}/configure \
29845           $(HOST_CONFIGARGS) $${srcdiroption} \
29846           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29847
29848 maybe-all-stage1-ld: all-stage1-ld
29849 all-stage1-ld: configure-stage1-ld
29850         @$(MAKE) stage1-start
29851         @r=`${PWD_COMMAND}`; export r; \
29852         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29853         $(HOST_EXPORTS)  \
29854         cd $(HOST_SUBDIR)/ld && \
29855         $(MAKE) $(FLAGS_TO_PASS)  \
29856                 CFLAGS="$(STAGE1_CFLAGS)" 
29857
29858 maybe-clean-stage1-ld: clean-stage1-ld
29859 clean-stage1-ld:
29860         @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
29861           || exit 0 ; \
29862         [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
29863         cd $(HOST_SUBDIR)/ld && \
29864         $(MAKE) $(FLAGS_TO_PASS)  \
29865                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29866 @endif ld-bootstrap
29867
29868
29869 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
29870 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
29871 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
29872
29873 maybe-configure-stage1-libcpp:
29874 maybe-all-stage1-libcpp:
29875 maybe-clean-stage1-libcpp:
29876
29877 @if libcpp-bootstrap
29878 maybe-configure-stage1-libcpp: configure-stage1-libcpp
29879 configure-stage1-libcpp:
29880         @$(MAKE) stage1-start
29881         @[ -f libcpp/Makefile ] && exit 0 || : ; \
29882         r=`${PWD_COMMAND}`; export r; \
29883         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29884         $(HOST_EXPORTS)  \
29885         echo Configuring stage 1 in libcpp ; \
29886         cd $(HOST_SUBDIR)/libcpp || exit 1; \
29887         case $(srcdir) in \
29888           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29889           *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
29890                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29891         esac; \
29892         srcdiroption="--srcdir=$${topdir}/libcpp"; \
29893         libsrcdir="$$s/libcpp"; \
29894         $(SHELL) $${libsrcdir}/configure \
29895           $(HOST_CONFIGARGS) $${srcdiroption} \
29896           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29897
29898 maybe-all-stage1-libcpp: all-stage1-libcpp
29899 all-stage1-libcpp: configure-stage1-libcpp
29900         @$(MAKE) stage1-start
29901         @r=`${PWD_COMMAND}`; export r; \
29902         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29903         $(HOST_EXPORTS)  \
29904         cd $(HOST_SUBDIR)/libcpp && \
29905         $(MAKE) $(FLAGS_TO_PASS)  \
29906                 CFLAGS="$(STAGE1_CFLAGS)" 
29907
29908 maybe-clean-stage1-libcpp: clean-stage1-libcpp
29909 clean-stage1-libcpp:
29910         @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
29911           || exit 0 ; \
29912         [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
29913         cd $(HOST_SUBDIR)/libcpp && \
29914         $(MAKE) $(FLAGS_TO_PASS)  \
29915                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29916 @endif libcpp-bootstrap
29917
29918
29919 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
29920 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
29921 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
29922
29923 maybe-configure-stage1-libiberty:
29924 maybe-all-stage1-libiberty:
29925 maybe-clean-stage1-libiberty:
29926
29927 @if libiberty-bootstrap
29928 maybe-configure-stage1-libiberty: configure-stage1-libiberty
29929 configure-stage1-libiberty:
29930         @$(MAKE) stage1-start
29931         @[ -f libiberty/Makefile ] && exit 0 || : ; \
29932         r=`${PWD_COMMAND}`; export r; \
29933         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29934         $(HOST_EXPORTS)  \
29935         echo Configuring stage 1 in libiberty ; \
29936         cd $(HOST_SUBDIR)/libiberty || exit 1; \
29937         case $(srcdir) in \
29938           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29939           *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29940                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29941         esac; \
29942         srcdiroption="--srcdir=$${topdir}/libiberty"; \
29943         libsrcdir="$$s/libiberty"; \
29944         $(SHELL) $${libsrcdir}/configure \
29945           $(HOST_CONFIGARGS) $${srcdiroption} \
29946           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29947
29948 maybe-all-stage1-libiberty: all-stage1-libiberty
29949 all-stage1-libiberty: configure-stage1-libiberty
29950         @$(MAKE) stage1-start
29951         @r=`${PWD_COMMAND}`; export r; \
29952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29953         $(HOST_EXPORTS)  \
29954         cd $(HOST_SUBDIR)/libiberty && \
29955         $(MAKE) $(FLAGS_TO_PASS)  \
29956                 CFLAGS="$(STAGE1_CFLAGS)" 
29957
29958 maybe-clean-stage1-libiberty: clean-stage1-libiberty
29959 clean-stage1-libiberty:
29960         @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
29961           || exit 0 ; \
29962         [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
29963         cd $(HOST_SUBDIR)/libiberty && \
29964         $(MAKE) $(FLAGS_TO_PASS)  \
29965                 CFLAGS="$(STAGE1_CFLAGS)"  clean
29966 @endif libiberty-bootstrap
29967
29968
29969 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
29970 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
29971 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
29972
29973 maybe-configure-stage1-zlib:
29974 maybe-all-stage1-zlib:
29975 maybe-clean-stage1-zlib:
29976
29977 @if zlib-bootstrap
29978 maybe-configure-stage1-zlib: configure-stage1-zlib
29979 configure-stage1-zlib:
29980         @$(MAKE) stage1-start
29981         @[ -f zlib/Makefile ] && exit 0 || : ; \
29982         r=`${PWD_COMMAND}`; export r; \
29983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
29984         $(HOST_EXPORTS)  \
29985         echo Configuring stage 1 in zlib ; \
29986         cd $(HOST_SUBDIR)/zlib || exit 1; \
29987         case $(srcdir) in \
29988           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29989           *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
29990                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29991         esac; \
29992         srcdiroption="--srcdir=$${topdir}/zlib"; \
29993         libsrcdir="$$s/zlib"; \
29994         $(SHELL) $${libsrcdir}/configure \
29995           $(HOST_CONFIGARGS) $${srcdiroption} \
29996           --disable-intermodule           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" 
29997
29998 maybe-all-stage1-zlib: all-stage1-zlib
29999 all-stage1-zlib: configure-stage1-zlib
30000         @$(MAKE) stage1-start
30001         @r=`${PWD_COMMAND}`; export r; \
30002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30003         $(HOST_EXPORTS)  \
30004         cd $(HOST_SUBDIR)/zlib && \
30005         $(MAKE) $(FLAGS_TO_PASS)  \
30006                 CFLAGS="$(STAGE1_CFLAGS)" 
30007
30008 maybe-clean-stage1-zlib: clean-stage1-zlib
30009 clean-stage1-zlib:
30010         @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
30011           || exit 0 ; \
30012         [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
30013         cd $(HOST_SUBDIR)/zlib && \
30014         $(MAKE) $(FLAGS_TO_PASS)  \
30015                 CFLAGS="$(STAGE1_CFLAGS)"  clean
30016 @endif zlib-bootstrap
30017
30018
30019
30020 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30021 # only possibility, but now it conflicts with no-bootstrap rules
30022 @if gcc-bootstrap
30023
30024
30025
30026
30027 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30028
30029 .PHONY: distclean-stage1
30030 distclean-stage1::
30031         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30032         rm -rf stage1-* 
30033
30034
30035 @endif gcc-bootstrap
30036
30037
30038 .PHONY: stage2-start stage2-end
30039
30040 stage2-start::
30041         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30042         echo stage2 > stage_current ; \
30043         echo stage2 > stage_last; \
30044         $(mkinstalldirs) $(HOST_SUBDIR)
30045 @if bfd
30046         @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
30047           mkdir stage2-bfd; \
30048         set stage2-bfd bfd ; \
30049         @CREATE_LINK_TO_DIR@  ; \
30050         set stage1-bfd prev-bfd ; \
30051         @CREATE_LINK_TO_DIR@ 
30052 @endif bfd
30053 @if opcodes
30054         @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
30055           mkdir stage2-opcodes; \
30056         set stage2-opcodes opcodes ; \
30057         @CREATE_LINK_TO_DIR@  ; \
30058         set stage1-opcodes prev-opcodes ; \
30059         @CREATE_LINK_TO_DIR@ 
30060 @endif opcodes
30061 @if binutils
30062         @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
30063           mkdir stage2-binutils; \
30064         set stage2-binutils binutils ; \
30065         @CREATE_LINK_TO_DIR@  ; \
30066         set stage1-binutils prev-binutils ; \
30067         @CREATE_LINK_TO_DIR@ 
30068 @endif binutils
30069 @if gas
30070         @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
30071           mkdir stage2-gas; \
30072         set stage2-gas gas ; \
30073         @CREATE_LINK_TO_DIR@  ; \
30074         set stage1-gas prev-gas ; \
30075         @CREATE_LINK_TO_DIR@ 
30076 @endif gas
30077 @if gcc
30078         @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
30079           mkdir stage2-gcc; \
30080         set stage2-gcc gcc ; \
30081         @CREATE_LINK_TO_DIR@  ; \
30082         set stage1-gcc prev-gcc ; \
30083         @CREATE_LINK_TO_DIR@ 
30084 @endif gcc
30085 @if intl
30086         @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
30087           mkdir stage2-intl; \
30088         set stage2-intl intl ; \
30089         @CREATE_LINK_TO_DIR@  ; \
30090         set stage1-intl prev-intl ; \
30091         @CREATE_LINK_TO_DIR@ 
30092 @endif intl
30093 @if ld
30094         @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
30095           mkdir stage2-ld; \
30096         set stage2-ld ld ; \
30097         @CREATE_LINK_TO_DIR@  ; \
30098         set stage1-ld prev-ld ; \
30099         @CREATE_LINK_TO_DIR@ 
30100 @endif ld
30101 @if libcpp
30102         @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
30103           mkdir stage2-libcpp; \
30104         set stage2-libcpp libcpp ; \
30105         @CREATE_LINK_TO_DIR@  ; \
30106         set stage1-libcpp prev-libcpp ; \
30107         @CREATE_LINK_TO_DIR@ 
30108 @endif libcpp
30109 @if libiberty
30110         @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
30111           mkdir stage2-libiberty; \
30112         set stage2-libiberty libiberty ; \
30113         @CREATE_LINK_TO_DIR@  ; \
30114         set stage1-libiberty prev-libiberty ; \
30115         @CREATE_LINK_TO_DIR@ 
30116 @endif libiberty
30117 @if zlib
30118         @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
30119           mkdir stage2-zlib; \
30120         set stage2-zlib zlib ; \
30121         @CREATE_LINK_TO_DIR@  ; \
30122         set stage1-zlib prev-zlib ; \
30123         @CREATE_LINK_TO_DIR@ 
30124 @endif zlib
30125
30126 stage2-end::
30127         @rm -f stage_current
30128 @if bfd
30129         @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
30130         @UNDO_LINK_TO_DIR@  ; \
30131         set prev-bfd stage1-bfd ; \
30132         @UNDO_LINK_TO_DIR@ 
30133 @endif bfd
30134 @if opcodes
30135         @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
30136         @UNDO_LINK_TO_DIR@  ; \
30137         set prev-opcodes stage1-opcodes ; \
30138         @UNDO_LINK_TO_DIR@ 
30139 @endif opcodes
30140 @if binutils
30141         @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
30142         @UNDO_LINK_TO_DIR@  ; \
30143         set prev-binutils stage1-binutils ; \
30144         @UNDO_LINK_TO_DIR@ 
30145 @endif binutils
30146 @if gas
30147         @cd $(HOST_SUBDIR); set gas stage2-gas ; \
30148         @UNDO_LINK_TO_DIR@  ; \
30149         set prev-gas stage1-gas ; \
30150         @UNDO_LINK_TO_DIR@ 
30151 @endif gas
30152 @if gcc
30153         @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
30154         @UNDO_LINK_TO_DIR@  ; \
30155         set prev-gcc stage1-gcc ; \
30156         @UNDO_LINK_TO_DIR@ 
30157 @endif gcc
30158 @if intl
30159         @cd $(HOST_SUBDIR); set intl stage2-intl ; \
30160         @UNDO_LINK_TO_DIR@  ; \
30161         set prev-intl stage1-intl ; \
30162         @UNDO_LINK_TO_DIR@ 
30163 @endif intl
30164 @if ld
30165         @cd $(HOST_SUBDIR); set ld stage2-ld ; \
30166         @UNDO_LINK_TO_DIR@  ; \
30167         set prev-ld stage1-ld ; \
30168         @UNDO_LINK_TO_DIR@ 
30169 @endif ld
30170 @if libcpp
30171         @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
30172         @UNDO_LINK_TO_DIR@  ; \
30173         set prev-libcpp stage1-libcpp ; \
30174         @UNDO_LINK_TO_DIR@ 
30175 @endif libcpp
30176 @if libiberty
30177         @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
30178         @UNDO_LINK_TO_DIR@  ; \
30179         set prev-libiberty stage1-libiberty ; \
30180         @UNDO_LINK_TO_DIR@ 
30181 @endif libiberty
30182 @if zlib
30183         @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
30184         @UNDO_LINK_TO_DIR@  ; \
30185         set prev-zlib stage1-zlib ; \
30186         @UNDO_LINK_TO_DIR@ 
30187 @endif zlib
30188
30189 # Bubble a bugfix through all the stages up to stage 2.  They
30190 # are remade, but not reconfigured.  The next stage (if any) will not
30191 # be reconfigured as well.
30192 .PHONY: stage2-bubble
30193 stage2-bubble:: stage1-bubble
30194         @if test -f stage2-lean || test -f stage1-lean  ; then \
30195           echo Skipping rebuild of stage2 ; \
30196         else \
30197           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
30198         fi
30199
30200 .PHONY: all-stage2 clean-stage2
30201 all-stage2:     \
30202   maybe-all-stage2-bfd \
30203   maybe-all-stage2-opcodes \
30204   maybe-all-stage2-binutils              \
30205   maybe-all-stage2-gas \
30206   maybe-all-stage2-gcc        \
30207   maybe-all-stage2-intl   \
30208   maybe-all-stage2-ld \
30209   maybe-all-stage2-libcpp  \
30210   maybe-all-stage2-libiberty                        \
30211   maybe-all-stage2-zlib        
30212
30213 do-clean: clean-stage2
30214 clean-stage2:     \
30215   maybe-clean-stage2-bfd \
30216   maybe-clean-stage2-opcodes \
30217   maybe-clean-stage2-binutils              \
30218   maybe-clean-stage2-gas \
30219   maybe-clean-stage2-gcc        \
30220   maybe-clean-stage2-intl   \
30221   maybe-clean-stage2-ld \
30222   maybe-clean-stage2-libcpp  \
30223   maybe-clean-stage2-libiberty                        \
30224   maybe-clean-stage2-zlib        
30225
30226
30227 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
30228 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
30229 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
30230
30231 maybe-configure-stage2-bfd:
30232 maybe-all-stage2-bfd:
30233 maybe-clean-stage2-bfd:
30234
30235 @if bfd-bootstrap
30236 maybe-configure-stage2-bfd: configure-stage2-bfd
30237 configure-stage2-bfd:
30238         @$(MAKE) stage2-start
30239         @[ -f bfd/Makefile ] && exit 0 || : ; \
30240         r=`${PWD_COMMAND}`; export r; \
30241         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30242         $(STAGE_HOST_EXPORTS)  \
30243         echo Configuring stage 2 in bfd ; \
30244         cd $(HOST_SUBDIR)/bfd || exit 1; \
30245         case $(srcdir) in \
30246           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30247           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30248                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30249         esac; \
30250         srcdiroption="--srcdir=$${topdir}/bfd"; \
30251         libsrcdir="$$s/bfd"; \
30252         $(SHELL) $${libsrcdir}/configure \
30253           $(HOST_CONFIGARGS) $${srcdiroption} \
30254           @stage2_werror_flag@ 
30255
30256 maybe-all-stage2-bfd: all-stage2-bfd
30257 all-stage2-bfd: configure-stage2-bfd
30258         @$(MAKE) stage2-start
30259         @r=`${PWD_COMMAND}`; export r; \
30260         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30261         $(STAGE_HOST_EXPORTS)  \
30262         cd $(HOST_SUBDIR)/bfd && \
30263         $(MAKE) $(FLAGS_TO_PASS)  \
30264                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30265                  
30266
30267 maybe-clean-stage2-bfd: clean-stage2-bfd
30268 clean-stage2-bfd:
30269         @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
30270           || exit 0 ; \
30271         [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
30272         cd $(HOST_SUBDIR)/bfd && \
30273         $(MAKE) $(FLAGS_TO_PASS)  \
30274                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30275                   clean
30276 @endif bfd-bootstrap
30277
30278
30279 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
30280 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
30281 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
30282
30283 maybe-configure-stage2-opcodes:
30284 maybe-all-stage2-opcodes:
30285 maybe-clean-stage2-opcodes:
30286
30287 @if opcodes-bootstrap
30288 maybe-configure-stage2-opcodes: configure-stage2-opcodes
30289 configure-stage2-opcodes:
30290         @$(MAKE) stage2-start
30291         @[ -f opcodes/Makefile ] && exit 0 || : ; \
30292         r=`${PWD_COMMAND}`; export r; \
30293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30294         $(STAGE_HOST_EXPORTS)  \
30295         echo Configuring stage 2 in opcodes ; \
30296         cd $(HOST_SUBDIR)/opcodes || exit 1; \
30297         case $(srcdir) in \
30298           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30299           *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
30300                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30301         esac; \
30302         srcdiroption="--srcdir=$${topdir}/opcodes"; \
30303         libsrcdir="$$s/opcodes"; \
30304         $(SHELL) $${libsrcdir}/configure \
30305           $(HOST_CONFIGARGS) $${srcdiroption} \
30306           @stage2_werror_flag@ 
30307
30308 maybe-all-stage2-opcodes: all-stage2-opcodes
30309 all-stage2-opcodes: configure-stage2-opcodes
30310         @$(MAKE) stage2-start
30311         @r=`${PWD_COMMAND}`; export r; \
30312         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30313         $(STAGE_HOST_EXPORTS)  \
30314         cd $(HOST_SUBDIR)/opcodes && \
30315         $(MAKE) $(FLAGS_TO_PASS)  \
30316                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30317                  
30318
30319 maybe-clean-stage2-opcodes: clean-stage2-opcodes
30320 clean-stage2-opcodes:
30321         @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
30322           || exit 0 ; \
30323         [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
30324         cd $(HOST_SUBDIR)/opcodes && \
30325         $(MAKE) $(FLAGS_TO_PASS)  \
30326                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30327                   clean
30328 @endif opcodes-bootstrap
30329
30330
30331 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
30332 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
30333 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
30334
30335 maybe-configure-stage2-binutils:
30336 maybe-all-stage2-binutils:
30337 maybe-clean-stage2-binutils:
30338
30339 @if binutils-bootstrap
30340 maybe-configure-stage2-binutils: configure-stage2-binutils
30341 configure-stage2-binutils:
30342         @$(MAKE) stage2-start
30343         @[ -f binutils/Makefile ] && exit 0 || : ; \
30344         r=`${PWD_COMMAND}`; export r; \
30345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30346         $(STAGE_HOST_EXPORTS)  \
30347         echo Configuring stage 2 in binutils ; \
30348         cd $(HOST_SUBDIR)/binutils || exit 1; \
30349         case $(srcdir) in \
30350           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30351           *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
30352                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30353         esac; \
30354         srcdiroption="--srcdir=$${topdir}/binutils"; \
30355         libsrcdir="$$s/binutils"; \
30356         $(SHELL) $${libsrcdir}/configure \
30357           $(HOST_CONFIGARGS) $${srcdiroption} \
30358           @stage2_werror_flag@ 
30359
30360 maybe-all-stage2-binutils: all-stage2-binutils
30361 all-stage2-binutils: configure-stage2-binutils
30362         @$(MAKE) stage2-start
30363         @r=`${PWD_COMMAND}`; export r; \
30364         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30365         $(STAGE_HOST_EXPORTS)  \
30366         cd $(HOST_SUBDIR)/binutils && \
30367         $(MAKE) $(FLAGS_TO_PASS)  \
30368                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30369                  
30370
30371 maybe-clean-stage2-binutils: clean-stage2-binutils
30372 clean-stage2-binutils:
30373         @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
30374           || exit 0 ; \
30375         [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
30376         cd $(HOST_SUBDIR)/binutils && \
30377         $(MAKE) $(FLAGS_TO_PASS)  \
30378                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30379                   clean
30380 @endif binutils-bootstrap
30381
30382
30383 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
30384 .PHONY: all-stage2-gas maybe-all-stage2-gas
30385 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
30386
30387 maybe-configure-stage2-gas:
30388 maybe-all-stage2-gas:
30389 maybe-clean-stage2-gas:
30390
30391 @if gas-bootstrap
30392 maybe-configure-stage2-gas: configure-stage2-gas
30393 configure-stage2-gas:
30394         @$(MAKE) stage2-start
30395         @[ -f gas/Makefile ] && exit 0 || : ; \
30396         r=`${PWD_COMMAND}`; export r; \
30397         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30398         $(STAGE_HOST_EXPORTS)  \
30399         echo Configuring stage 2 in gas ; \
30400         cd $(HOST_SUBDIR)/gas || exit 1; \
30401         case $(srcdir) in \
30402           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30403           *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
30404                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30405         esac; \
30406         srcdiroption="--srcdir=$${topdir}/gas"; \
30407         libsrcdir="$$s/gas"; \
30408         $(SHELL) $${libsrcdir}/configure \
30409           $(HOST_CONFIGARGS) $${srcdiroption} \
30410           @stage2_werror_flag@ 
30411
30412 maybe-all-stage2-gas: all-stage2-gas
30413 all-stage2-gas: configure-stage2-gas
30414         @$(MAKE) stage2-start
30415         @r=`${PWD_COMMAND}`; export r; \
30416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30417         $(STAGE_HOST_EXPORTS)  \
30418         cd $(HOST_SUBDIR)/gas && \
30419         $(MAKE) $(FLAGS_TO_PASS)  \
30420                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30421                  
30422
30423 maybe-clean-stage2-gas: clean-stage2-gas
30424 clean-stage2-gas:
30425         @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
30426           || exit 0 ; \
30427         [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
30428         cd $(HOST_SUBDIR)/gas && \
30429         $(MAKE) $(FLAGS_TO_PASS)  \
30430                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30431                   clean
30432 @endif gas-bootstrap
30433
30434
30435 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
30436 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
30437 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
30438
30439 maybe-configure-stage2-gcc:
30440 maybe-all-stage2-gcc:
30441 maybe-clean-stage2-gcc:
30442
30443 @if gcc-bootstrap
30444 maybe-configure-stage2-gcc: configure-stage2-gcc
30445 configure-stage2-gcc:
30446         @$(MAKE) stage2-start
30447         @[ -f gcc/Makefile ] && exit 0 || : ; \
30448         r=`${PWD_COMMAND}`; export r; \
30449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30450         $(STAGE_HOST_EXPORTS)  \
30451         echo Configuring stage 2 in gcc ; \
30452         cd $(HOST_SUBDIR)/gcc || exit 1; \
30453         case $(srcdir) in \
30454           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30455           *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
30456                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30457         esac; \
30458         srcdiroption="--srcdir=$${topdir}/gcc"; \
30459         libsrcdir="$$s/gcc"; \
30460         $(SHELL) $${libsrcdir}/configure \
30461           $(HOST_CONFIGARGS) $${srcdiroption} \
30462           @stage2_werror_flag@ 
30463
30464 maybe-all-stage2-gcc: all-stage2-gcc
30465 all-stage2-gcc: configure-stage2-gcc
30466         @$(MAKE) stage2-start
30467         @r=`${PWD_COMMAND}`; export r; \
30468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30469         $(STAGE_HOST_EXPORTS)  \
30470         cd $(HOST_SUBDIR)/gcc && \
30471         $(MAKE) $(FLAGS_TO_PASS)  \
30472                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30473                  $(EXTRA_GCC_FLAGS)
30474
30475 maybe-clean-stage2-gcc: clean-stage2-gcc
30476 clean-stage2-gcc:
30477         @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
30478           || exit 0 ; \
30479         [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
30480         cd $(HOST_SUBDIR)/gcc && \
30481         $(MAKE) $(FLAGS_TO_PASS)  \
30482                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30483                  $(EXTRA_GCC_FLAGS) clean
30484 @endif gcc-bootstrap
30485
30486
30487 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
30488 .PHONY: all-stage2-intl maybe-all-stage2-intl
30489 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
30490
30491 maybe-configure-stage2-intl:
30492 maybe-all-stage2-intl:
30493 maybe-clean-stage2-intl:
30494
30495 @if intl-bootstrap
30496 maybe-configure-stage2-intl: configure-stage2-intl
30497 configure-stage2-intl:
30498         @$(MAKE) stage2-start
30499         @[ -f intl/Makefile ] && exit 0 || : ; \
30500         r=`${PWD_COMMAND}`; export r; \
30501         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30502         $(STAGE_HOST_EXPORTS)  \
30503         echo Configuring stage 2 in intl ; \
30504         cd $(HOST_SUBDIR)/intl || exit 1; \
30505         case $(srcdir) in \
30506           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30507           *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
30508                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30509         esac; \
30510         srcdiroption="--srcdir=$${topdir}/intl"; \
30511         libsrcdir="$$s/intl"; \
30512         $(SHELL) $${libsrcdir}/configure \
30513           $(HOST_CONFIGARGS) $${srcdiroption} \
30514           @stage2_werror_flag@ 
30515
30516 maybe-all-stage2-intl: all-stage2-intl
30517 all-stage2-intl: configure-stage2-intl
30518         @$(MAKE) stage2-start
30519         @r=`${PWD_COMMAND}`; export r; \
30520         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30521         $(STAGE_HOST_EXPORTS)  \
30522         cd $(HOST_SUBDIR)/intl && \
30523         $(MAKE) $(FLAGS_TO_PASS)  \
30524                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30525                  
30526
30527 maybe-clean-stage2-intl: clean-stage2-intl
30528 clean-stage2-intl:
30529         @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
30530           || exit 0 ; \
30531         [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
30532         cd $(HOST_SUBDIR)/intl && \
30533         $(MAKE) $(FLAGS_TO_PASS)  \
30534                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30535                   clean
30536 @endif intl-bootstrap
30537
30538
30539 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
30540 .PHONY: all-stage2-ld maybe-all-stage2-ld
30541 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
30542
30543 maybe-configure-stage2-ld:
30544 maybe-all-stage2-ld:
30545 maybe-clean-stage2-ld:
30546
30547 @if ld-bootstrap
30548 maybe-configure-stage2-ld: configure-stage2-ld
30549 configure-stage2-ld:
30550         @$(MAKE) stage2-start
30551         @[ -f ld/Makefile ] && exit 0 || : ; \
30552         r=`${PWD_COMMAND}`; export r; \
30553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30554         $(STAGE_HOST_EXPORTS)  \
30555         echo Configuring stage 2 in ld ; \
30556         cd $(HOST_SUBDIR)/ld || exit 1; \
30557         case $(srcdir) in \
30558           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30559           *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
30560                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30561         esac; \
30562         srcdiroption="--srcdir=$${topdir}/ld"; \
30563         libsrcdir="$$s/ld"; \
30564         $(SHELL) $${libsrcdir}/configure \
30565           $(HOST_CONFIGARGS) $${srcdiroption} \
30566           @stage2_werror_flag@ 
30567
30568 maybe-all-stage2-ld: all-stage2-ld
30569 all-stage2-ld: configure-stage2-ld
30570         @$(MAKE) stage2-start
30571         @r=`${PWD_COMMAND}`; export r; \
30572         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30573         $(STAGE_HOST_EXPORTS)  \
30574         cd $(HOST_SUBDIR)/ld && \
30575         $(MAKE) $(FLAGS_TO_PASS)  \
30576                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30577                  
30578
30579 maybe-clean-stage2-ld: clean-stage2-ld
30580 clean-stage2-ld:
30581         @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
30582           || exit 0 ; \
30583         [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
30584         cd $(HOST_SUBDIR)/ld && \
30585         $(MAKE) $(FLAGS_TO_PASS)  \
30586                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30587                   clean
30588 @endif ld-bootstrap
30589
30590
30591 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
30592 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
30593 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
30594
30595 maybe-configure-stage2-libcpp:
30596 maybe-all-stage2-libcpp:
30597 maybe-clean-stage2-libcpp:
30598
30599 @if libcpp-bootstrap
30600 maybe-configure-stage2-libcpp: configure-stage2-libcpp
30601 configure-stage2-libcpp:
30602         @$(MAKE) stage2-start
30603         @[ -f libcpp/Makefile ] && exit 0 || : ; \
30604         r=`${PWD_COMMAND}`; export r; \
30605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30606         $(STAGE_HOST_EXPORTS)  \
30607         echo Configuring stage 2 in libcpp ; \
30608         cd $(HOST_SUBDIR)/libcpp || exit 1; \
30609         case $(srcdir) in \
30610           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30611           *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
30612                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30613         esac; \
30614         srcdiroption="--srcdir=$${topdir}/libcpp"; \
30615         libsrcdir="$$s/libcpp"; \
30616         $(SHELL) $${libsrcdir}/configure \
30617           $(HOST_CONFIGARGS) $${srcdiroption} \
30618           @stage2_werror_flag@ 
30619
30620 maybe-all-stage2-libcpp: all-stage2-libcpp
30621 all-stage2-libcpp: configure-stage2-libcpp
30622         @$(MAKE) stage2-start
30623         @r=`${PWD_COMMAND}`; export r; \
30624         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30625         $(STAGE_HOST_EXPORTS)  \
30626         cd $(HOST_SUBDIR)/libcpp && \
30627         $(MAKE) $(FLAGS_TO_PASS)  \
30628                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30629                  
30630
30631 maybe-clean-stage2-libcpp: clean-stage2-libcpp
30632 clean-stage2-libcpp:
30633         @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
30634           || exit 0 ; \
30635         [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
30636         cd $(HOST_SUBDIR)/libcpp && \
30637         $(MAKE) $(FLAGS_TO_PASS)  \
30638                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30639                   clean
30640 @endif libcpp-bootstrap
30641
30642
30643 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
30644 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
30645 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
30646
30647 maybe-configure-stage2-libiberty:
30648 maybe-all-stage2-libiberty:
30649 maybe-clean-stage2-libiberty:
30650
30651 @if libiberty-bootstrap
30652 maybe-configure-stage2-libiberty: configure-stage2-libiberty
30653 configure-stage2-libiberty:
30654         @$(MAKE) stage2-start
30655         @[ -f libiberty/Makefile ] && exit 0 || : ; \
30656         r=`${PWD_COMMAND}`; export r; \
30657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30658         $(STAGE_HOST_EXPORTS)  \
30659         echo Configuring stage 2 in libiberty ; \
30660         cd $(HOST_SUBDIR)/libiberty || exit 1; \
30661         case $(srcdir) in \
30662           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30663           *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30664                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30665         esac; \
30666         srcdiroption="--srcdir=$${topdir}/libiberty"; \
30667         libsrcdir="$$s/libiberty"; \
30668         $(SHELL) $${libsrcdir}/configure \
30669           $(HOST_CONFIGARGS) $${srcdiroption} \
30670           @stage2_werror_flag@ 
30671
30672 maybe-all-stage2-libiberty: all-stage2-libiberty
30673 all-stage2-libiberty: configure-stage2-libiberty
30674         @$(MAKE) stage2-start
30675         @r=`${PWD_COMMAND}`; export r; \
30676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30677         $(STAGE_HOST_EXPORTS)  \
30678         cd $(HOST_SUBDIR)/libiberty && \
30679         $(MAKE) $(FLAGS_TO_PASS)  \
30680                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30681                  
30682
30683 maybe-clean-stage2-libiberty: clean-stage2-libiberty
30684 clean-stage2-libiberty:
30685         @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
30686           || exit 0 ; \
30687         [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
30688         cd $(HOST_SUBDIR)/libiberty && \
30689         $(MAKE) $(FLAGS_TO_PASS)  \
30690                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30691                   clean
30692 @endif libiberty-bootstrap
30693
30694
30695 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30696 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30697 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30698
30699 maybe-configure-stage2-zlib:
30700 maybe-all-stage2-zlib:
30701 maybe-clean-stage2-zlib:
30702
30703 @if zlib-bootstrap
30704 maybe-configure-stage2-zlib: configure-stage2-zlib
30705 configure-stage2-zlib:
30706         @$(MAKE) stage2-start
30707         @[ -f zlib/Makefile ] && exit 0 || : ; \
30708         r=`${PWD_COMMAND}`; export r; \
30709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30710         $(STAGE_HOST_EXPORTS)  \
30711         echo Configuring stage 2 in zlib ; \
30712         cd $(HOST_SUBDIR)/zlib || exit 1; \
30713         case $(srcdir) in \
30714           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30715           *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30716                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30717         esac; \
30718         srcdiroption="--srcdir=$${topdir}/zlib"; \
30719         libsrcdir="$$s/zlib"; \
30720         $(SHELL) $${libsrcdir}/configure \
30721           $(HOST_CONFIGARGS) $${srcdiroption} \
30722           @stage2_werror_flag@ 
30723
30724 maybe-all-stage2-zlib: all-stage2-zlib
30725 all-stage2-zlib: configure-stage2-zlib
30726         @$(MAKE) stage2-start
30727         @r=`${PWD_COMMAND}`; export r; \
30728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30729         $(STAGE_HOST_EXPORTS)  \
30730         cd $(HOST_SUBDIR)/zlib && \
30731         $(MAKE) $(FLAGS_TO_PASS)  \
30732                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30733                  
30734
30735 maybe-clean-stage2-zlib: clean-stage2-zlib
30736 clean-stage2-zlib:
30737         @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
30738           || exit 0 ; \
30739         [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
30740         cd $(HOST_SUBDIR)/zlib && \
30741         $(MAKE) $(FLAGS_TO_PASS)  \
30742                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30743                   clean
30744 @endif zlib-bootstrap
30745
30746
30747
30748 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30749 # only possibility, but now it conflicts with no-bootstrap rules
30750 @if gcc-bootstrap
30751
30752
30753
30754 .PHONY: bootstrap2
30755 bootstrap2: stage2-bubble  all
30756
30757
30758 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30759 distclean-stage1:: distclean-stage2 
30760 .PHONY: distclean-stage2
30761 distclean-stage2::
30762         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30763         rm -rf stage2-* 
30764
30765
30766 @endif gcc-bootstrap
30767
30768
30769 .PHONY: stage3-start stage3-end
30770
30771 stage3-start::
30772         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30773         echo stage3 > stage_current ; \
30774         echo stage3 > stage_last; \
30775         $(mkinstalldirs) $(HOST_SUBDIR)
30776 @if bfd
30777         @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
30778           mkdir stage3-bfd; \
30779         set stage3-bfd bfd ; \
30780         @CREATE_LINK_TO_DIR@  ; \
30781         set stage2-bfd prev-bfd ; \
30782         @CREATE_LINK_TO_DIR@ 
30783 @endif bfd
30784 @if opcodes
30785         @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
30786           mkdir stage3-opcodes; \
30787         set stage3-opcodes opcodes ; \
30788         @CREATE_LINK_TO_DIR@  ; \
30789         set stage2-opcodes prev-opcodes ; \
30790         @CREATE_LINK_TO_DIR@ 
30791 @endif opcodes
30792 @if binutils
30793         @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
30794           mkdir stage3-binutils; \
30795         set stage3-binutils binutils ; \
30796         @CREATE_LINK_TO_DIR@  ; \
30797         set stage2-binutils prev-binutils ; \
30798         @CREATE_LINK_TO_DIR@ 
30799 @endif binutils
30800 @if gas
30801         @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
30802           mkdir stage3-gas; \
30803         set stage3-gas gas ; \
30804         @CREATE_LINK_TO_DIR@  ; \
30805         set stage2-gas prev-gas ; \
30806         @CREATE_LINK_TO_DIR@ 
30807 @endif gas
30808 @if gcc
30809         @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
30810           mkdir stage3-gcc; \
30811         set stage3-gcc gcc ; \
30812         @CREATE_LINK_TO_DIR@  ; \
30813         set stage2-gcc prev-gcc ; \
30814         @CREATE_LINK_TO_DIR@ 
30815 @endif gcc
30816 @if intl
30817         @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
30818           mkdir stage3-intl; \
30819         set stage3-intl intl ; \
30820         @CREATE_LINK_TO_DIR@  ; \
30821         set stage2-intl prev-intl ; \
30822         @CREATE_LINK_TO_DIR@ 
30823 @endif intl
30824 @if ld
30825         @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
30826           mkdir stage3-ld; \
30827         set stage3-ld ld ; \
30828         @CREATE_LINK_TO_DIR@  ; \
30829         set stage2-ld prev-ld ; \
30830         @CREATE_LINK_TO_DIR@ 
30831 @endif ld
30832 @if libcpp
30833         @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
30834           mkdir stage3-libcpp; \
30835         set stage3-libcpp libcpp ; \
30836         @CREATE_LINK_TO_DIR@  ; \
30837         set stage2-libcpp prev-libcpp ; \
30838         @CREATE_LINK_TO_DIR@ 
30839 @endif libcpp
30840 @if libiberty
30841         @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
30842           mkdir stage3-libiberty; \
30843         set stage3-libiberty libiberty ; \
30844         @CREATE_LINK_TO_DIR@  ; \
30845         set stage2-libiberty prev-libiberty ; \
30846         @CREATE_LINK_TO_DIR@ 
30847 @endif libiberty
30848 @if zlib
30849         @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
30850           mkdir stage3-zlib; \
30851         set stage3-zlib zlib ; \
30852         @CREATE_LINK_TO_DIR@  ; \
30853         set stage2-zlib prev-zlib ; \
30854         @CREATE_LINK_TO_DIR@ 
30855 @endif zlib
30856
30857 stage3-end::
30858         @rm -f stage_current
30859 @if bfd
30860         @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
30861         @UNDO_LINK_TO_DIR@  ; \
30862         set prev-bfd stage2-bfd ; \
30863         @UNDO_LINK_TO_DIR@ 
30864 @endif bfd
30865 @if opcodes
30866         @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
30867         @UNDO_LINK_TO_DIR@  ; \
30868         set prev-opcodes stage2-opcodes ; \
30869         @UNDO_LINK_TO_DIR@ 
30870 @endif opcodes
30871 @if binutils
30872         @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
30873         @UNDO_LINK_TO_DIR@  ; \
30874         set prev-binutils stage2-binutils ; \
30875         @UNDO_LINK_TO_DIR@ 
30876 @endif binutils
30877 @if gas
30878         @cd $(HOST_SUBDIR); set gas stage3-gas ; \
30879         @UNDO_LINK_TO_DIR@  ; \
30880         set prev-gas stage2-gas ; \
30881         @UNDO_LINK_TO_DIR@ 
30882 @endif gas
30883 @if gcc
30884         @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
30885         @UNDO_LINK_TO_DIR@  ; \
30886         set prev-gcc stage2-gcc ; \
30887         @UNDO_LINK_TO_DIR@ 
30888 @endif gcc
30889 @if intl
30890         @cd $(HOST_SUBDIR); set intl stage3-intl ; \
30891         @UNDO_LINK_TO_DIR@  ; \
30892         set prev-intl stage2-intl ; \
30893         @UNDO_LINK_TO_DIR@ 
30894 @endif intl
30895 @if ld
30896         @cd $(HOST_SUBDIR); set ld stage3-ld ; \
30897         @UNDO_LINK_TO_DIR@  ; \
30898         set prev-ld stage2-ld ; \
30899         @UNDO_LINK_TO_DIR@ 
30900 @endif ld
30901 @if libcpp
30902         @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
30903         @UNDO_LINK_TO_DIR@  ; \
30904         set prev-libcpp stage2-libcpp ; \
30905         @UNDO_LINK_TO_DIR@ 
30906 @endif libcpp
30907 @if libiberty
30908         @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
30909         @UNDO_LINK_TO_DIR@  ; \
30910         set prev-libiberty stage2-libiberty ; \
30911         @UNDO_LINK_TO_DIR@ 
30912 @endif libiberty
30913 @if zlib
30914         @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
30915         @UNDO_LINK_TO_DIR@  ; \
30916         set prev-zlib stage2-zlib ; \
30917         @UNDO_LINK_TO_DIR@ 
30918 @endif zlib
30919
30920 # Bubble a bugfix through all the stages up to stage 3.  They
30921 # are remade, but not reconfigured.  The next stage (if any) will not
30922 # be reconfigured as well.
30923 .PHONY: stage3-bubble
30924 stage3-bubble:: stage2-bubble
30925         @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
30926         @if test -f stage3-lean || test -f stage2-lean  ; then \
30927           echo Skipping rebuild of stage3 ; \
30928         else \
30929           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
30930         fi
30931
30932 .PHONY: all-stage3 clean-stage3
30933 all-stage3:     \
30934   maybe-all-stage3-bfd \
30935   maybe-all-stage3-opcodes \
30936   maybe-all-stage3-binutils              \
30937   maybe-all-stage3-gas \
30938   maybe-all-stage3-gcc        \
30939   maybe-all-stage3-intl   \
30940   maybe-all-stage3-ld \
30941   maybe-all-stage3-libcpp  \
30942   maybe-all-stage3-libiberty                        \
30943   maybe-all-stage3-zlib        
30944
30945 do-clean: clean-stage3
30946 clean-stage3:     \
30947   maybe-clean-stage3-bfd \
30948   maybe-clean-stage3-opcodes \
30949   maybe-clean-stage3-binutils              \
30950   maybe-clean-stage3-gas \
30951   maybe-clean-stage3-gcc        \
30952   maybe-clean-stage3-intl   \
30953   maybe-clean-stage3-ld \
30954   maybe-clean-stage3-libcpp  \
30955   maybe-clean-stage3-libiberty                        \
30956   maybe-clean-stage3-zlib        
30957
30958
30959 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
30960 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
30961 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
30962
30963 maybe-configure-stage3-bfd:
30964 maybe-all-stage3-bfd:
30965 maybe-clean-stage3-bfd:
30966
30967 @if bfd-bootstrap
30968 maybe-configure-stage3-bfd: configure-stage3-bfd
30969 configure-stage3-bfd:
30970         @$(MAKE) stage3-start
30971         @[ -f bfd/Makefile ] && exit 0 || : ; \
30972         r=`${PWD_COMMAND}`; export r; \
30973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30974         $(STAGE_HOST_EXPORTS)  \
30975         echo Configuring stage 3 in bfd ; \
30976         cd $(HOST_SUBDIR)/bfd || exit 1; \
30977         case $(srcdir) in \
30978           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30979           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30980                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30981         esac; \
30982         srcdiroption="--srcdir=$${topdir}/bfd"; \
30983         libsrcdir="$$s/bfd"; \
30984         $(SHELL) $${libsrcdir}/configure \
30985           $(HOST_CONFIGARGS) $${srcdiroption} \
30986           @stage2_werror_flag@ 
30987
30988 maybe-all-stage3-bfd: all-stage3-bfd
30989 all-stage3-bfd: configure-stage3-bfd
30990         @$(MAKE) stage3-start
30991         @r=`${PWD_COMMAND}`; export r; \
30992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
30993         $(STAGE_HOST_EXPORTS)  \
30994         cd $(HOST_SUBDIR)/bfd && \
30995         $(MAKE) $(FLAGS_TO_PASS)  \
30996                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
30997                  
30998
30999 maybe-clean-stage3-bfd: clean-stage3-bfd
31000 clean-stage3-bfd:
31001         @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
31002           || exit 0 ; \
31003         [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
31004         cd $(HOST_SUBDIR)/bfd && \
31005         $(MAKE) $(FLAGS_TO_PASS)  \
31006                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31007                   clean
31008 @endif bfd-bootstrap
31009
31010
31011 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
31012 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
31013 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
31014
31015 maybe-configure-stage3-opcodes:
31016 maybe-all-stage3-opcodes:
31017 maybe-clean-stage3-opcodes:
31018
31019 @if opcodes-bootstrap
31020 maybe-configure-stage3-opcodes: configure-stage3-opcodes
31021 configure-stage3-opcodes:
31022         @$(MAKE) stage3-start
31023         @[ -f opcodes/Makefile ] && exit 0 || : ; \
31024         r=`${PWD_COMMAND}`; export r; \
31025         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31026         $(STAGE_HOST_EXPORTS)  \
31027         echo Configuring stage 3 in opcodes ; \
31028         cd $(HOST_SUBDIR)/opcodes || exit 1; \
31029         case $(srcdir) in \
31030           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31031           *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31032                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31033         esac; \
31034         srcdiroption="--srcdir=$${topdir}/opcodes"; \
31035         libsrcdir="$$s/opcodes"; \
31036         $(SHELL) $${libsrcdir}/configure \
31037           $(HOST_CONFIGARGS) $${srcdiroption} \
31038           @stage2_werror_flag@ 
31039
31040 maybe-all-stage3-opcodes: all-stage3-opcodes
31041 all-stage3-opcodes: configure-stage3-opcodes
31042         @$(MAKE) stage3-start
31043         @r=`${PWD_COMMAND}`; export r; \
31044         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31045         $(STAGE_HOST_EXPORTS)  \
31046         cd $(HOST_SUBDIR)/opcodes && \
31047         $(MAKE) $(FLAGS_TO_PASS)  \
31048                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31049                  
31050
31051 maybe-clean-stage3-opcodes: clean-stage3-opcodes
31052 clean-stage3-opcodes:
31053         @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
31054           || exit 0 ; \
31055         [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
31056         cd $(HOST_SUBDIR)/opcodes && \
31057         $(MAKE) $(FLAGS_TO_PASS)  \
31058                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31059                   clean
31060 @endif opcodes-bootstrap
31061
31062
31063 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
31064 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
31065 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
31066
31067 maybe-configure-stage3-binutils:
31068 maybe-all-stage3-binutils:
31069 maybe-clean-stage3-binutils:
31070
31071 @if binutils-bootstrap
31072 maybe-configure-stage3-binutils: configure-stage3-binutils
31073 configure-stage3-binutils:
31074         @$(MAKE) stage3-start
31075         @[ -f binutils/Makefile ] && exit 0 || : ; \
31076         r=`${PWD_COMMAND}`; export r; \
31077         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31078         $(STAGE_HOST_EXPORTS)  \
31079         echo Configuring stage 3 in binutils ; \
31080         cd $(HOST_SUBDIR)/binutils || exit 1; \
31081         case $(srcdir) in \
31082           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31083           *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31084                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31085         esac; \
31086         srcdiroption="--srcdir=$${topdir}/binutils"; \
31087         libsrcdir="$$s/binutils"; \
31088         $(SHELL) $${libsrcdir}/configure \
31089           $(HOST_CONFIGARGS) $${srcdiroption} \
31090           @stage2_werror_flag@ 
31091
31092 maybe-all-stage3-binutils: all-stage3-binutils
31093 all-stage3-binutils: configure-stage3-binutils
31094         @$(MAKE) stage3-start
31095         @r=`${PWD_COMMAND}`; export r; \
31096         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31097         $(STAGE_HOST_EXPORTS)  \
31098         cd $(HOST_SUBDIR)/binutils && \
31099         $(MAKE) $(FLAGS_TO_PASS)  \
31100                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31101                  
31102
31103 maybe-clean-stage3-binutils: clean-stage3-binutils
31104 clean-stage3-binutils:
31105         @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
31106           || exit 0 ; \
31107         [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
31108         cd $(HOST_SUBDIR)/binutils && \
31109         $(MAKE) $(FLAGS_TO_PASS)  \
31110                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31111                   clean
31112 @endif binutils-bootstrap
31113
31114
31115 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
31116 .PHONY: all-stage3-gas maybe-all-stage3-gas
31117 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
31118
31119 maybe-configure-stage3-gas:
31120 maybe-all-stage3-gas:
31121 maybe-clean-stage3-gas:
31122
31123 @if gas-bootstrap
31124 maybe-configure-stage3-gas: configure-stage3-gas
31125 configure-stage3-gas:
31126         @$(MAKE) stage3-start
31127         @[ -f gas/Makefile ] && exit 0 || : ; \
31128         r=`${PWD_COMMAND}`; export r; \
31129         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31130         $(STAGE_HOST_EXPORTS)  \
31131         echo Configuring stage 3 in gas ; \
31132         cd $(HOST_SUBDIR)/gas || exit 1; \
31133         case $(srcdir) in \
31134           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31135           *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31136                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31137         esac; \
31138         srcdiroption="--srcdir=$${topdir}/gas"; \
31139         libsrcdir="$$s/gas"; \
31140         $(SHELL) $${libsrcdir}/configure \
31141           $(HOST_CONFIGARGS) $${srcdiroption} \
31142           @stage2_werror_flag@ 
31143
31144 maybe-all-stage3-gas: all-stage3-gas
31145 all-stage3-gas: configure-stage3-gas
31146         @$(MAKE) stage3-start
31147         @r=`${PWD_COMMAND}`; export r; \
31148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31149         $(STAGE_HOST_EXPORTS)  \
31150         cd $(HOST_SUBDIR)/gas && \
31151         $(MAKE) $(FLAGS_TO_PASS)  \
31152                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31153                  
31154
31155 maybe-clean-stage3-gas: clean-stage3-gas
31156 clean-stage3-gas:
31157         @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
31158           || exit 0 ; \
31159         [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
31160         cd $(HOST_SUBDIR)/gas && \
31161         $(MAKE) $(FLAGS_TO_PASS)  \
31162                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31163                   clean
31164 @endif gas-bootstrap
31165
31166
31167 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
31168 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
31169 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
31170
31171 maybe-configure-stage3-gcc:
31172 maybe-all-stage3-gcc:
31173 maybe-clean-stage3-gcc:
31174
31175 @if gcc-bootstrap
31176 maybe-configure-stage3-gcc: configure-stage3-gcc
31177 configure-stage3-gcc:
31178         @$(MAKE) stage3-start
31179         @[ -f gcc/Makefile ] && exit 0 || : ; \
31180         r=`${PWD_COMMAND}`; export r; \
31181         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31182         $(STAGE_HOST_EXPORTS)  \
31183         echo Configuring stage 3 in gcc ; \
31184         cd $(HOST_SUBDIR)/gcc || exit 1; \
31185         case $(srcdir) in \
31186           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31187           *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31188                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31189         esac; \
31190         srcdiroption="--srcdir=$${topdir}/gcc"; \
31191         libsrcdir="$$s/gcc"; \
31192         $(SHELL) $${libsrcdir}/configure \
31193           $(HOST_CONFIGARGS) $${srcdiroption} \
31194           @stage2_werror_flag@ 
31195
31196 maybe-all-stage3-gcc: all-stage3-gcc
31197 all-stage3-gcc: configure-stage3-gcc
31198         @$(MAKE) stage3-start
31199         @r=`${PWD_COMMAND}`; export r; \
31200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31201         $(STAGE_HOST_EXPORTS)  \
31202         cd $(HOST_SUBDIR)/gcc && \
31203         $(MAKE) $(FLAGS_TO_PASS)  \
31204                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31205                  $(EXTRA_GCC_FLAGS)
31206
31207 maybe-clean-stage3-gcc: clean-stage3-gcc
31208 clean-stage3-gcc:
31209         @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
31210           || exit 0 ; \
31211         [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
31212         cd $(HOST_SUBDIR)/gcc && \
31213         $(MAKE) $(FLAGS_TO_PASS)  \
31214                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31215                  $(EXTRA_GCC_FLAGS) clean
31216 @endif gcc-bootstrap
31217
31218
31219 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
31220 .PHONY: all-stage3-intl maybe-all-stage3-intl
31221 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
31222
31223 maybe-configure-stage3-intl:
31224 maybe-all-stage3-intl:
31225 maybe-clean-stage3-intl:
31226
31227 @if intl-bootstrap
31228 maybe-configure-stage3-intl: configure-stage3-intl
31229 configure-stage3-intl:
31230         @$(MAKE) stage3-start
31231         @[ -f intl/Makefile ] && exit 0 || : ; \
31232         r=`${PWD_COMMAND}`; export r; \
31233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31234         $(STAGE_HOST_EXPORTS)  \
31235         echo Configuring stage 3 in intl ; \
31236         cd $(HOST_SUBDIR)/intl || exit 1; \
31237         case $(srcdir) in \
31238           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31239           *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
31240                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31241         esac; \
31242         srcdiroption="--srcdir=$${topdir}/intl"; \
31243         libsrcdir="$$s/intl"; \
31244         $(SHELL) $${libsrcdir}/configure \
31245           $(HOST_CONFIGARGS) $${srcdiroption} \
31246           @stage2_werror_flag@ 
31247
31248 maybe-all-stage3-intl: all-stage3-intl
31249 all-stage3-intl: configure-stage3-intl
31250         @$(MAKE) stage3-start
31251         @r=`${PWD_COMMAND}`; export r; \
31252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31253         $(STAGE_HOST_EXPORTS)  \
31254         cd $(HOST_SUBDIR)/intl && \
31255         $(MAKE) $(FLAGS_TO_PASS)  \
31256                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31257                  
31258
31259 maybe-clean-stage3-intl: clean-stage3-intl
31260 clean-stage3-intl:
31261         @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
31262           || exit 0 ; \
31263         [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
31264         cd $(HOST_SUBDIR)/intl && \
31265         $(MAKE) $(FLAGS_TO_PASS)  \
31266                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31267                   clean
31268 @endif intl-bootstrap
31269
31270
31271 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
31272 .PHONY: all-stage3-ld maybe-all-stage3-ld
31273 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
31274
31275 maybe-configure-stage3-ld:
31276 maybe-all-stage3-ld:
31277 maybe-clean-stage3-ld:
31278
31279 @if ld-bootstrap
31280 maybe-configure-stage3-ld: configure-stage3-ld
31281 configure-stage3-ld:
31282         @$(MAKE) stage3-start
31283         @[ -f ld/Makefile ] && exit 0 || : ; \
31284         r=`${PWD_COMMAND}`; export r; \
31285         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31286         $(STAGE_HOST_EXPORTS)  \
31287         echo Configuring stage 3 in ld ; \
31288         cd $(HOST_SUBDIR)/ld || exit 1; \
31289         case $(srcdir) in \
31290           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31291           *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
31292                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31293         esac; \
31294         srcdiroption="--srcdir=$${topdir}/ld"; \
31295         libsrcdir="$$s/ld"; \
31296         $(SHELL) $${libsrcdir}/configure \
31297           $(HOST_CONFIGARGS) $${srcdiroption} \
31298           @stage2_werror_flag@ 
31299
31300 maybe-all-stage3-ld: all-stage3-ld
31301 all-stage3-ld: configure-stage3-ld
31302         @$(MAKE) stage3-start
31303         @r=`${PWD_COMMAND}`; export r; \
31304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31305         $(STAGE_HOST_EXPORTS)  \
31306         cd $(HOST_SUBDIR)/ld && \
31307         $(MAKE) $(FLAGS_TO_PASS)  \
31308                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31309                  
31310
31311 maybe-clean-stage3-ld: clean-stage3-ld
31312 clean-stage3-ld:
31313         @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
31314           || exit 0 ; \
31315         [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
31316         cd $(HOST_SUBDIR)/ld && \
31317         $(MAKE) $(FLAGS_TO_PASS)  \
31318                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31319                   clean
31320 @endif ld-bootstrap
31321
31322
31323 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
31324 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
31325 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
31326
31327 maybe-configure-stage3-libcpp:
31328 maybe-all-stage3-libcpp:
31329 maybe-clean-stage3-libcpp:
31330
31331 @if libcpp-bootstrap
31332 maybe-configure-stage3-libcpp: configure-stage3-libcpp
31333 configure-stage3-libcpp:
31334         @$(MAKE) stage3-start
31335         @[ -f libcpp/Makefile ] && exit 0 || : ; \
31336         r=`${PWD_COMMAND}`; export r; \
31337         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31338         $(STAGE_HOST_EXPORTS)  \
31339         echo Configuring stage 3 in libcpp ; \
31340         cd $(HOST_SUBDIR)/libcpp || exit 1; \
31341         case $(srcdir) in \
31342           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31343           *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
31344                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31345         esac; \
31346         srcdiroption="--srcdir=$${topdir}/libcpp"; \
31347         libsrcdir="$$s/libcpp"; \
31348         $(SHELL) $${libsrcdir}/configure \
31349           $(HOST_CONFIGARGS) $${srcdiroption} \
31350           @stage2_werror_flag@ 
31351
31352 maybe-all-stage3-libcpp: all-stage3-libcpp
31353 all-stage3-libcpp: configure-stage3-libcpp
31354         @$(MAKE) stage3-start
31355         @r=`${PWD_COMMAND}`; export r; \
31356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31357         $(STAGE_HOST_EXPORTS)  \
31358         cd $(HOST_SUBDIR)/libcpp && \
31359         $(MAKE) $(FLAGS_TO_PASS)  \
31360                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31361                  
31362
31363 maybe-clean-stage3-libcpp: clean-stage3-libcpp
31364 clean-stage3-libcpp:
31365         @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
31366           || exit 0 ; \
31367         [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
31368         cd $(HOST_SUBDIR)/libcpp && \
31369         $(MAKE) $(FLAGS_TO_PASS)  \
31370                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31371                   clean
31372 @endif libcpp-bootstrap
31373
31374
31375 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
31376 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
31377 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
31378
31379 maybe-configure-stage3-libiberty:
31380 maybe-all-stage3-libiberty:
31381 maybe-clean-stage3-libiberty:
31382
31383 @if libiberty-bootstrap
31384 maybe-configure-stage3-libiberty: configure-stage3-libiberty
31385 configure-stage3-libiberty:
31386         @$(MAKE) stage3-start
31387         @[ -f libiberty/Makefile ] && exit 0 || : ; \
31388         r=`${PWD_COMMAND}`; export r; \
31389         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31390         $(STAGE_HOST_EXPORTS)  \
31391         echo Configuring stage 3 in libiberty ; \
31392         cd $(HOST_SUBDIR)/libiberty || exit 1; \
31393         case $(srcdir) in \
31394           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31395           *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31396                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31397         esac; \
31398         srcdiroption="--srcdir=$${topdir}/libiberty"; \
31399         libsrcdir="$$s/libiberty"; \
31400         $(SHELL) $${libsrcdir}/configure \
31401           $(HOST_CONFIGARGS) $${srcdiroption} \
31402           @stage2_werror_flag@ 
31403
31404 maybe-all-stage3-libiberty: all-stage3-libiberty
31405 all-stage3-libiberty: configure-stage3-libiberty
31406         @$(MAKE) stage3-start
31407         @r=`${PWD_COMMAND}`; export r; \
31408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31409         $(STAGE_HOST_EXPORTS)  \
31410         cd $(HOST_SUBDIR)/libiberty && \
31411         $(MAKE) $(FLAGS_TO_PASS)  \
31412                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31413                  
31414
31415 maybe-clean-stage3-libiberty: clean-stage3-libiberty
31416 clean-stage3-libiberty:
31417         @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
31418           || exit 0 ; \
31419         [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
31420         cd $(HOST_SUBDIR)/libiberty && \
31421         $(MAKE) $(FLAGS_TO_PASS)  \
31422                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31423                   clean
31424 @endif libiberty-bootstrap
31425
31426
31427 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31428 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
31429 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
31430
31431 maybe-configure-stage3-zlib:
31432 maybe-all-stage3-zlib:
31433 maybe-clean-stage3-zlib:
31434
31435 @if zlib-bootstrap
31436 maybe-configure-stage3-zlib: configure-stage3-zlib
31437 configure-stage3-zlib:
31438         @$(MAKE) stage3-start
31439         @[ -f zlib/Makefile ] && exit 0 || : ; \
31440         r=`${PWD_COMMAND}`; export r; \
31441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31442         $(STAGE_HOST_EXPORTS)  \
31443         echo Configuring stage 3 in zlib ; \
31444         cd $(HOST_SUBDIR)/zlib || exit 1; \
31445         case $(srcdir) in \
31446           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31447           *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31448                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31449         esac; \
31450         srcdiroption="--srcdir=$${topdir}/zlib"; \
31451         libsrcdir="$$s/zlib"; \
31452         $(SHELL) $${libsrcdir}/configure \
31453           $(HOST_CONFIGARGS) $${srcdiroption} \
31454           @stage2_werror_flag@ 
31455
31456 maybe-all-stage3-zlib: all-stage3-zlib
31457 all-stage3-zlib: configure-stage3-zlib
31458         @$(MAKE) stage3-start
31459         @r=`${PWD_COMMAND}`; export r; \
31460         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31461         $(STAGE_HOST_EXPORTS)  \
31462         cd $(HOST_SUBDIR)/zlib && \
31463         $(MAKE) $(FLAGS_TO_PASS)  \
31464                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31465                  
31466
31467 maybe-clean-stage3-zlib: clean-stage3-zlib
31468 clean-stage3-zlib:
31469         @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
31470           || exit 0 ; \
31471         [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
31472         cd $(HOST_SUBDIR)/zlib && \
31473         $(MAKE) $(FLAGS_TO_PASS)  \
31474                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31475                   clean
31476 @endif zlib-bootstrap
31477
31478
31479
31480 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31481 # only possibility, but now it conflicts with no-bootstrap rules
31482 @if gcc-bootstrap
31483
31484 compare:
31485         @if test -f stage2-lean; then \
31486           echo Cannot compare object files as stage 2 was deleted. ; \
31487           exit 0 ; \
31488         fi; \
31489         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31490         @r=`${PWD_COMMAND}`; export r; \
31491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31492         rm -f .bad_compare ; \
31493         cd stage3-gcc; \
31494         files=`find . -name "*$(objext)" -print` ; \
31495         cd .. ; \
31496         for file in $${files} ; do \
31497           f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
31498           @do_compare@ > /dev/null 2>&1; \
31499           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
31500         done ; \
31501         if [ -f .bad_compare ]; then \
31502           echo "Bootstrap comparison failure!"; \
31503           cat .bad_compare; \
31504           exit 1; \
31505         else \
31506           true; \
31507         fi ; \
31508         $(STAMP) compare
31509         @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
31510
31511
31512
31513 .PHONY: bootstrap
31514 bootstrap: stage3-bubble compare all
31515
31516
31517 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31518 distclean-stage2:: distclean-stage3 
31519 .PHONY: distclean-stage3
31520 distclean-stage3::
31521         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31522         rm -rf stage3-* compare 
31523
31524
31525 .PHONY: cleanstrap
31526 cleanstrap: distclean bootstrap
31527
31528 @endif gcc-bootstrap
31529
31530
31531 .PHONY: stage4-start stage4-end
31532
31533 stage4-start::
31534         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31535         echo stage4 > stage_current ; \
31536         echo stage4 > stage_last; \
31537         $(mkinstalldirs) $(HOST_SUBDIR)
31538 @if bfd
31539         @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
31540           mkdir stage4-bfd; \
31541         set stage4-bfd bfd ; \
31542         @CREATE_LINK_TO_DIR@  ; \
31543         set stage3-bfd prev-bfd ; \
31544         @CREATE_LINK_TO_DIR@ 
31545 @endif bfd
31546 @if opcodes
31547         @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
31548           mkdir stage4-opcodes; \
31549         set stage4-opcodes opcodes ; \
31550         @CREATE_LINK_TO_DIR@  ; \
31551         set stage3-opcodes prev-opcodes ; \
31552         @CREATE_LINK_TO_DIR@ 
31553 @endif opcodes
31554 @if binutils
31555         @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
31556           mkdir stage4-binutils; \
31557         set stage4-binutils binutils ; \
31558         @CREATE_LINK_TO_DIR@  ; \
31559         set stage3-binutils prev-binutils ; \
31560         @CREATE_LINK_TO_DIR@ 
31561 @endif binutils
31562 @if gas
31563         @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
31564           mkdir stage4-gas; \
31565         set stage4-gas gas ; \
31566         @CREATE_LINK_TO_DIR@  ; \
31567         set stage3-gas prev-gas ; \
31568         @CREATE_LINK_TO_DIR@ 
31569 @endif gas
31570 @if gcc
31571         @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
31572           mkdir stage4-gcc; \
31573         set stage4-gcc gcc ; \
31574         @CREATE_LINK_TO_DIR@  ; \
31575         set stage3-gcc prev-gcc ; \
31576         @CREATE_LINK_TO_DIR@ 
31577 @endif gcc
31578 @if intl
31579         @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
31580           mkdir stage4-intl; \
31581         set stage4-intl intl ; \
31582         @CREATE_LINK_TO_DIR@  ; \
31583         set stage3-intl prev-intl ; \
31584         @CREATE_LINK_TO_DIR@ 
31585 @endif intl
31586 @if ld
31587         @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
31588           mkdir stage4-ld; \
31589         set stage4-ld ld ; \
31590         @CREATE_LINK_TO_DIR@  ; \
31591         set stage3-ld prev-ld ; \
31592         @CREATE_LINK_TO_DIR@ 
31593 @endif ld
31594 @if libcpp
31595         @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
31596           mkdir stage4-libcpp; \
31597         set stage4-libcpp libcpp ; \
31598         @CREATE_LINK_TO_DIR@  ; \
31599         set stage3-libcpp prev-libcpp ; \
31600         @CREATE_LINK_TO_DIR@ 
31601 @endif libcpp
31602 @if libiberty
31603         @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
31604           mkdir stage4-libiberty; \
31605         set stage4-libiberty libiberty ; \
31606         @CREATE_LINK_TO_DIR@  ; \
31607         set stage3-libiberty prev-libiberty ; \
31608         @CREATE_LINK_TO_DIR@ 
31609 @endif libiberty
31610 @if zlib
31611         @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
31612           mkdir stage4-zlib; \
31613         set stage4-zlib zlib ; \
31614         @CREATE_LINK_TO_DIR@  ; \
31615         set stage3-zlib prev-zlib ; \
31616         @CREATE_LINK_TO_DIR@ 
31617 @endif zlib
31618
31619 stage4-end::
31620         @rm -f stage_current
31621 @if bfd
31622         @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
31623         @UNDO_LINK_TO_DIR@  ; \
31624         set prev-bfd stage3-bfd ; \
31625         @UNDO_LINK_TO_DIR@ 
31626 @endif bfd
31627 @if opcodes
31628         @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
31629         @UNDO_LINK_TO_DIR@  ; \
31630         set prev-opcodes stage3-opcodes ; \
31631         @UNDO_LINK_TO_DIR@ 
31632 @endif opcodes
31633 @if binutils
31634         @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
31635         @UNDO_LINK_TO_DIR@  ; \
31636         set prev-binutils stage3-binutils ; \
31637         @UNDO_LINK_TO_DIR@ 
31638 @endif binutils
31639 @if gas
31640         @cd $(HOST_SUBDIR); set gas stage4-gas ; \
31641         @UNDO_LINK_TO_DIR@  ; \
31642         set prev-gas stage3-gas ; \
31643         @UNDO_LINK_TO_DIR@ 
31644 @endif gas
31645 @if gcc
31646         @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
31647         @UNDO_LINK_TO_DIR@  ; \
31648         set prev-gcc stage3-gcc ; \
31649         @UNDO_LINK_TO_DIR@ 
31650 @endif gcc
31651 @if intl
31652         @cd $(HOST_SUBDIR); set intl stage4-intl ; \
31653         @UNDO_LINK_TO_DIR@  ; \
31654         set prev-intl stage3-intl ; \
31655         @UNDO_LINK_TO_DIR@ 
31656 @endif intl
31657 @if ld
31658         @cd $(HOST_SUBDIR); set ld stage4-ld ; \
31659         @UNDO_LINK_TO_DIR@  ; \
31660         set prev-ld stage3-ld ; \
31661         @UNDO_LINK_TO_DIR@ 
31662 @endif ld
31663 @if libcpp
31664         @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
31665         @UNDO_LINK_TO_DIR@  ; \
31666         set prev-libcpp stage3-libcpp ; \
31667         @UNDO_LINK_TO_DIR@ 
31668 @endif libcpp
31669 @if libiberty
31670         @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
31671         @UNDO_LINK_TO_DIR@  ; \
31672         set prev-libiberty stage3-libiberty ; \
31673         @UNDO_LINK_TO_DIR@ 
31674 @endif libiberty
31675 @if zlib
31676         @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
31677         @UNDO_LINK_TO_DIR@  ; \
31678         set prev-zlib stage3-zlib ; \
31679         @UNDO_LINK_TO_DIR@ 
31680 @endif zlib
31681
31682 # Bubble a bugfix through all the stages up to stage 4.  They
31683 # are remade, but not reconfigured.  The next stage (if any) will not
31684 # be reconfigured as well.
31685 .PHONY: stage4-bubble
31686 stage4-bubble:: stage3-bubble
31687         @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
31688         @if test -f stage4-lean || test -f stage3-lean  ; then \
31689           echo Skipping rebuild of stage4 ; \
31690         else \
31691           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
31692         fi
31693
31694 .PHONY: all-stage4 clean-stage4
31695 all-stage4:     \
31696   maybe-all-stage4-bfd \
31697   maybe-all-stage4-opcodes \
31698   maybe-all-stage4-binutils              \
31699   maybe-all-stage4-gas \
31700   maybe-all-stage4-gcc        \
31701   maybe-all-stage4-intl   \
31702   maybe-all-stage4-ld \
31703   maybe-all-stage4-libcpp  \
31704   maybe-all-stage4-libiberty                        \
31705   maybe-all-stage4-zlib        
31706
31707 do-clean: clean-stage4
31708 clean-stage4:     \
31709   maybe-clean-stage4-bfd \
31710   maybe-clean-stage4-opcodes \
31711   maybe-clean-stage4-binutils              \
31712   maybe-clean-stage4-gas \
31713   maybe-clean-stage4-gcc        \
31714   maybe-clean-stage4-intl   \
31715   maybe-clean-stage4-ld \
31716   maybe-clean-stage4-libcpp  \
31717   maybe-clean-stage4-libiberty                        \
31718   maybe-clean-stage4-zlib        
31719
31720
31721 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
31722 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
31723 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
31724
31725 maybe-configure-stage4-bfd:
31726 maybe-all-stage4-bfd:
31727 maybe-clean-stage4-bfd:
31728
31729 @if bfd-bootstrap
31730 maybe-configure-stage4-bfd: configure-stage4-bfd
31731 configure-stage4-bfd:
31732         @$(MAKE) stage4-start
31733         @[ -f bfd/Makefile ] && exit 0 || : ; \
31734         r=`${PWD_COMMAND}`; export r; \
31735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31736         $(STAGE_HOST_EXPORTS)  \
31737         echo Configuring stage 4 in bfd ; \
31738         cd $(HOST_SUBDIR)/bfd || exit 1; \
31739         case $(srcdir) in \
31740           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31741           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
31742                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31743         esac; \
31744         srcdiroption="--srcdir=$${topdir}/bfd"; \
31745         libsrcdir="$$s/bfd"; \
31746         $(SHELL) $${libsrcdir}/configure \
31747           $(HOST_CONFIGARGS) $${srcdiroption} \
31748           @stage2_werror_flag@ 
31749
31750 maybe-all-stage4-bfd: all-stage4-bfd
31751 all-stage4-bfd: configure-stage4-bfd
31752         @$(MAKE) stage4-start
31753         @r=`${PWD_COMMAND}`; export r; \
31754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31755         $(STAGE_HOST_EXPORTS)  \
31756         cd $(HOST_SUBDIR)/bfd && \
31757         $(MAKE) $(FLAGS_TO_PASS)  \
31758                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31759                  
31760
31761 maybe-clean-stage4-bfd: clean-stage4-bfd
31762 clean-stage4-bfd:
31763         @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
31764           || exit 0 ; \
31765         [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
31766         cd $(HOST_SUBDIR)/bfd && \
31767         $(MAKE) $(FLAGS_TO_PASS)  \
31768                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31769                   clean
31770 @endif bfd-bootstrap
31771
31772
31773 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
31774 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
31775 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
31776
31777 maybe-configure-stage4-opcodes:
31778 maybe-all-stage4-opcodes:
31779 maybe-clean-stage4-opcodes:
31780
31781 @if opcodes-bootstrap
31782 maybe-configure-stage4-opcodes: configure-stage4-opcodes
31783 configure-stage4-opcodes:
31784         @$(MAKE) stage4-start
31785         @[ -f opcodes/Makefile ] && exit 0 || : ; \
31786         r=`${PWD_COMMAND}`; export r; \
31787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31788         $(STAGE_HOST_EXPORTS)  \
31789         echo Configuring stage 4 in opcodes ; \
31790         cd $(HOST_SUBDIR)/opcodes || exit 1; \
31791         case $(srcdir) in \
31792           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31793           *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31794                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31795         esac; \
31796         srcdiroption="--srcdir=$${topdir}/opcodes"; \
31797         libsrcdir="$$s/opcodes"; \
31798         $(SHELL) $${libsrcdir}/configure \
31799           $(HOST_CONFIGARGS) $${srcdiroption} \
31800           @stage2_werror_flag@ 
31801
31802 maybe-all-stage4-opcodes: all-stage4-opcodes
31803 all-stage4-opcodes: configure-stage4-opcodes
31804         @$(MAKE) stage4-start
31805         @r=`${PWD_COMMAND}`; export r; \
31806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31807         $(STAGE_HOST_EXPORTS)  \
31808         cd $(HOST_SUBDIR)/opcodes && \
31809         $(MAKE) $(FLAGS_TO_PASS)  \
31810                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31811                  
31812
31813 maybe-clean-stage4-opcodes: clean-stage4-opcodes
31814 clean-stage4-opcodes:
31815         @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
31816           || exit 0 ; \
31817         [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
31818         cd $(HOST_SUBDIR)/opcodes && \
31819         $(MAKE) $(FLAGS_TO_PASS)  \
31820                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31821                   clean
31822 @endif opcodes-bootstrap
31823
31824
31825 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
31826 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
31827 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
31828
31829 maybe-configure-stage4-binutils:
31830 maybe-all-stage4-binutils:
31831 maybe-clean-stage4-binutils:
31832
31833 @if binutils-bootstrap
31834 maybe-configure-stage4-binutils: configure-stage4-binutils
31835 configure-stage4-binutils:
31836         @$(MAKE) stage4-start
31837         @[ -f binutils/Makefile ] && exit 0 || : ; \
31838         r=`${PWD_COMMAND}`; export r; \
31839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31840         $(STAGE_HOST_EXPORTS)  \
31841         echo Configuring stage 4 in binutils ; \
31842         cd $(HOST_SUBDIR)/binutils || exit 1; \
31843         case $(srcdir) in \
31844           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31845           *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31846                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31847         esac; \
31848         srcdiroption="--srcdir=$${topdir}/binutils"; \
31849         libsrcdir="$$s/binutils"; \
31850         $(SHELL) $${libsrcdir}/configure \
31851           $(HOST_CONFIGARGS) $${srcdiroption} \
31852           @stage2_werror_flag@ 
31853
31854 maybe-all-stage4-binutils: all-stage4-binutils
31855 all-stage4-binutils: configure-stage4-binutils
31856         @$(MAKE) stage4-start
31857         @r=`${PWD_COMMAND}`; export r; \
31858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31859         $(STAGE_HOST_EXPORTS)  \
31860         cd $(HOST_SUBDIR)/binutils && \
31861         $(MAKE) $(FLAGS_TO_PASS)  \
31862                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31863                  
31864
31865 maybe-clean-stage4-binutils: clean-stage4-binutils
31866 clean-stage4-binutils:
31867         @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
31868           || exit 0 ; \
31869         [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
31870         cd $(HOST_SUBDIR)/binutils && \
31871         $(MAKE) $(FLAGS_TO_PASS)  \
31872                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31873                   clean
31874 @endif binutils-bootstrap
31875
31876
31877 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
31878 .PHONY: all-stage4-gas maybe-all-stage4-gas
31879 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
31880
31881 maybe-configure-stage4-gas:
31882 maybe-all-stage4-gas:
31883 maybe-clean-stage4-gas:
31884
31885 @if gas-bootstrap
31886 maybe-configure-stage4-gas: configure-stage4-gas
31887 configure-stage4-gas:
31888         @$(MAKE) stage4-start
31889         @[ -f gas/Makefile ] && exit 0 || : ; \
31890         r=`${PWD_COMMAND}`; export r; \
31891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31892         $(STAGE_HOST_EXPORTS)  \
31893         echo Configuring stage 4 in gas ; \
31894         cd $(HOST_SUBDIR)/gas || exit 1; \
31895         case $(srcdir) in \
31896           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31897           *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31898                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31899         esac; \
31900         srcdiroption="--srcdir=$${topdir}/gas"; \
31901         libsrcdir="$$s/gas"; \
31902         $(SHELL) $${libsrcdir}/configure \
31903           $(HOST_CONFIGARGS) $${srcdiroption} \
31904           @stage2_werror_flag@ 
31905
31906 maybe-all-stage4-gas: all-stage4-gas
31907 all-stage4-gas: configure-stage4-gas
31908         @$(MAKE) stage4-start
31909         @r=`${PWD_COMMAND}`; export r; \
31910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31911         $(STAGE_HOST_EXPORTS)  \
31912         cd $(HOST_SUBDIR)/gas && \
31913         $(MAKE) $(FLAGS_TO_PASS)  \
31914                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31915                  
31916
31917 maybe-clean-stage4-gas: clean-stage4-gas
31918 clean-stage4-gas:
31919         @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
31920           || exit 0 ; \
31921         [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
31922         cd $(HOST_SUBDIR)/gas && \
31923         $(MAKE) $(FLAGS_TO_PASS)  \
31924                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31925                   clean
31926 @endif gas-bootstrap
31927
31928
31929 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
31930 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
31931 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
31932
31933 maybe-configure-stage4-gcc:
31934 maybe-all-stage4-gcc:
31935 maybe-clean-stage4-gcc:
31936
31937 @if gcc-bootstrap
31938 maybe-configure-stage4-gcc: configure-stage4-gcc
31939 configure-stage4-gcc:
31940         @$(MAKE) stage4-start
31941         @[ -f gcc/Makefile ] && exit 0 || : ; \
31942         r=`${PWD_COMMAND}`; export r; \
31943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31944         $(STAGE_HOST_EXPORTS)  \
31945         echo Configuring stage 4 in gcc ; \
31946         cd $(HOST_SUBDIR)/gcc || exit 1; \
31947         case $(srcdir) in \
31948           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31949           *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31950                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31951         esac; \
31952         srcdiroption="--srcdir=$${topdir}/gcc"; \
31953         libsrcdir="$$s/gcc"; \
31954         $(SHELL) $${libsrcdir}/configure \
31955           $(HOST_CONFIGARGS) $${srcdiroption} \
31956           @stage2_werror_flag@ 
31957
31958 maybe-all-stage4-gcc: all-stage4-gcc
31959 all-stage4-gcc: configure-stage4-gcc
31960         @$(MAKE) stage4-start
31961         @r=`${PWD_COMMAND}`; export r; \
31962         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31963         $(STAGE_HOST_EXPORTS)  \
31964         cd $(HOST_SUBDIR)/gcc && \
31965         $(MAKE) $(FLAGS_TO_PASS)  \
31966                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31967                  $(EXTRA_GCC_FLAGS)
31968
31969 maybe-clean-stage4-gcc: clean-stage4-gcc
31970 clean-stage4-gcc:
31971         @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
31972           || exit 0 ; \
31973         [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
31974         cd $(HOST_SUBDIR)/gcc && \
31975         $(MAKE) $(FLAGS_TO_PASS)  \
31976                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
31977                  $(EXTRA_GCC_FLAGS) clean
31978 @endif gcc-bootstrap
31979
31980
31981 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
31982 .PHONY: all-stage4-intl maybe-all-stage4-intl
31983 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
31984
31985 maybe-configure-stage4-intl:
31986 maybe-all-stage4-intl:
31987 maybe-clean-stage4-intl:
31988
31989 @if intl-bootstrap
31990 maybe-configure-stage4-intl: configure-stage4-intl
31991 configure-stage4-intl:
31992         @$(MAKE) stage4-start
31993         @[ -f intl/Makefile ] && exit 0 || : ; \
31994         r=`${PWD_COMMAND}`; export r; \
31995         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
31996         $(STAGE_HOST_EXPORTS)  \
31997         echo Configuring stage 4 in intl ; \
31998         cd $(HOST_SUBDIR)/intl || exit 1; \
31999         case $(srcdir) in \
32000           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32001           *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32002                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32003         esac; \
32004         srcdiroption="--srcdir=$${topdir}/intl"; \
32005         libsrcdir="$$s/intl"; \
32006         $(SHELL) $${libsrcdir}/configure \
32007           $(HOST_CONFIGARGS) $${srcdiroption} \
32008           @stage2_werror_flag@ 
32009
32010 maybe-all-stage4-intl: all-stage4-intl
32011 all-stage4-intl: configure-stage4-intl
32012         @$(MAKE) stage4-start
32013         @r=`${PWD_COMMAND}`; export r; \
32014         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32015         $(STAGE_HOST_EXPORTS)  \
32016         cd $(HOST_SUBDIR)/intl && \
32017         $(MAKE) $(FLAGS_TO_PASS)  \
32018                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32019                  
32020
32021 maybe-clean-stage4-intl: clean-stage4-intl
32022 clean-stage4-intl:
32023         @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
32024           || exit 0 ; \
32025         [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
32026         cd $(HOST_SUBDIR)/intl && \
32027         $(MAKE) $(FLAGS_TO_PASS)  \
32028                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32029                   clean
32030 @endif intl-bootstrap
32031
32032
32033 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
32034 .PHONY: all-stage4-ld maybe-all-stage4-ld
32035 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
32036
32037 maybe-configure-stage4-ld:
32038 maybe-all-stage4-ld:
32039 maybe-clean-stage4-ld:
32040
32041 @if ld-bootstrap
32042 maybe-configure-stage4-ld: configure-stage4-ld
32043 configure-stage4-ld:
32044         @$(MAKE) stage4-start
32045         @[ -f ld/Makefile ] && exit 0 || : ; \
32046         r=`${PWD_COMMAND}`; export r; \
32047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32048         $(STAGE_HOST_EXPORTS)  \
32049         echo Configuring stage 4 in ld ; \
32050         cd $(HOST_SUBDIR)/ld || exit 1; \
32051         case $(srcdir) in \
32052           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32053           *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32054                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32055         esac; \
32056         srcdiroption="--srcdir=$${topdir}/ld"; \
32057         libsrcdir="$$s/ld"; \
32058         $(SHELL) $${libsrcdir}/configure \
32059           $(HOST_CONFIGARGS) $${srcdiroption} \
32060           @stage2_werror_flag@ 
32061
32062 maybe-all-stage4-ld: all-stage4-ld
32063 all-stage4-ld: configure-stage4-ld
32064         @$(MAKE) stage4-start
32065         @r=`${PWD_COMMAND}`; export r; \
32066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32067         $(STAGE_HOST_EXPORTS)  \
32068         cd $(HOST_SUBDIR)/ld && \
32069         $(MAKE) $(FLAGS_TO_PASS)  \
32070                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32071                  
32072
32073 maybe-clean-stage4-ld: clean-stage4-ld
32074 clean-stage4-ld:
32075         @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
32076           || exit 0 ; \
32077         [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
32078         cd $(HOST_SUBDIR)/ld && \
32079         $(MAKE) $(FLAGS_TO_PASS)  \
32080                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32081                   clean
32082 @endif ld-bootstrap
32083
32084
32085 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
32086 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
32087 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
32088
32089 maybe-configure-stage4-libcpp:
32090 maybe-all-stage4-libcpp:
32091 maybe-clean-stage4-libcpp:
32092
32093 @if libcpp-bootstrap
32094 maybe-configure-stage4-libcpp: configure-stage4-libcpp
32095 configure-stage4-libcpp:
32096         @$(MAKE) stage4-start
32097         @[ -f libcpp/Makefile ] && exit 0 || : ; \
32098         r=`${PWD_COMMAND}`; export r; \
32099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32100         $(STAGE_HOST_EXPORTS)  \
32101         echo Configuring stage 4 in libcpp ; \
32102         cd $(HOST_SUBDIR)/libcpp || exit 1; \
32103         case $(srcdir) in \
32104           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32105           *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32106                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32107         esac; \
32108         srcdiroption="--srcdir=$${topdir}/libcpp"; \
32109         libsrcdir="$$s/libcpp"; \
32110         $(SHELL) $${libsrcdir}/configure \
32111           $(HOST_CONFIGARGS) $${srcdiroption} \
32112           @stage2_werror_flag@ 
32113
32114 maybe-all-stage4-libcpp: all-stage4-libcpp
32115 all-stage4-libcpp: configure-stage4-libcpp
32116         @$(MAKE) stage4-start
32117         @r=`${PWD_COMMAND}`; export r; \
32118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32119         $(STAGE_HOST_EXPORTS)  \
32120         cd $(HOST_SUBDIR)/libcpp && \
32121         $(MAKE) $(FLAGS_TO_PASS)  \
32122                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32123                  
32124
32125 maybe-clean-stage4-libcpp: clean-stage4-libcpp
32126 clean-stage4-libcpp:
32127         @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
32128           || exit 0 ; \
32129         [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
32130         cd $(HOST_SUBDIR)/libcpp && \
32131         $(MAKE) $(FLAGS_TO_PASS)  \
32132                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32133                   clean
32134 @endif libcpp-bootstrap
32135
32136
32137 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
32138 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
32139 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
32140
32141 maybe-configure-stage4-libiberty:
32142 maybe-all-stage4-libiberty:
32143 maybe-clean-stage4-libiberty:
32144
32145 @if libiberty-bootstrap
32146 maybe-configure-stage4-libiberty: configure-stage4-libiberty
32147 configure-stage4-libiberty:
32148         @$(MAKE) stage4-start
32149         @[ -f libiberty/Makefile ] && exit 0 || : ; \
32150         r=`${PWD_COMMAND}`; export r; \
32151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32152         $(STAGE_HOST_EXPORTS)  \
32153         echo Configuring stage 4 in libiberty ; \
32154         cd $(HOST_SUBDIR)/libiberty || exit 1; \
32155         case $(srcdir) in \
32156           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32157           *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32158                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32159         esac; \
32160         srcdiroption="--srcdir=$${topdir}/libiberty"; \
32161         libsrcdir="$$s/libiberty"; \
32162         $(SHELL) $${libsrcdir}/configure \
32163           $(HOST_CONFIGARGS) $${srcdiroption} \
32164           @stage2_werror_flag@ 
32165
32166 maybe-all-stage4-libiberty: all-stage4-libiberty
32167 all-stage4-libiberty: configure-stage4-libiberty
32168         @$(MAKE) stage4-start
32169         @r=`${PWD_COMMAND}`; export r; \
32170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32171         $(STAGE_HOST_EXPORTS)  \
32172         cd $(HOST_SUBDIR)/libiberty && \
32173         $(MAKE) $(FLAGS_TO_PASS)  \
32174                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32175                  
32176
32177 maybe-clean-stage4-libiberty: clean-stage4-libiberty
32178 clean-stage4-libiberty:
32179         @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
32180           || exit 0 ; \
32181         [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
32182         cd $(HOST_SUBDIR)/libiberty && \
32183         $(MAKE) $(FLAGS_TO_PASS)  \
32184                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32185                   clean
32186 @endif libiberty-bootstrap
32187
32188
32189 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
32190 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32191 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32192
32193 maybe-configure-stage4-zlib:
32194 maybe-all-stage4-zlib:
32195 maybe-clean-stage4-zlib:
32196
32197 @if zlib-bootstrap
32198 maybe-configure-stage4-zlib: configure-stage4-zlib
32199 configure-stage4-zlib:
32200         @$(MAKE) stage4-start
32201         @[ -f zlib/Makefile ] && exit 0 || : ; \
32202         r=`${PWD_COMMAND}`; export r; \
32203         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32204         $(STAGE_HOST_EXPORTS)  \
32205         echo Configuring stage 4 in zlib ; \
32206         cd $(HOST_SUBDIR)/zlib || exit 1; \
32207         case $(srcdir) in \
32208           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32209           *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32210                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32211         esac; \
32212         srcdiroption="--srcdir=$${topdir}/zlib"; \
32213         libsrcdir="$$s/zlib"; \
32214         $(SHELL) $${libsrcdir}/configure \
32215           $(HOST_CONFIGARGS) $${srcdiroption} \
32216           @stage2_werror_flag@ 
32217
32218 maybe-all-stage4-zlib: all-stage4-zlib
32219 all-stage4-zlib: configure-stage4-zlib
32220         @$(MAKE) stage4-start
32221         @r=`${PWD_COMMAND}`; export r; \
32222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32223         $(STAGE_HOST_EXPORTS)  \
32224         cd $(HOST_SUBDIR)/zlib && \
32225         $(MAKE) $(FLAGS_TO_PASS)  \
32226                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32227                  
32228
32229 maybe-clean-stage4-zlib: clean-stage4-zlib
32230 clean-stage4-zlib:
32231         @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
32232           || exit 0 ; \
32233         [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
32234         cd $(HOST_SUBDIR)/zlib && \
32235         $(MAKE) $(FLAGS_TO_PASS)  \
32236                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32237                   clean
32238 @endif zlib-bootstrap
32239
32240
32241
32242 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32243 # only possibility, but now it conflicts with no-bootstrap rules
32244 @if gcc-bootstrap
32245
32246 compare3:
32247         @if test -f stage3-lean; then \
32248           echo Cannot compare object files as stage 3 was deleted. ; \
32249           exit 0 ; \
32250         fi; \
32251         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32252         @r=`${PWD_COMMAND}`; export r; \
32253         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32254         rm -f .bad_compare ; \
32255         cd stage4-gcc; \
32256         files=`find . -name "*$(objext)" -print` ; \
32257         cd .. ; \
32258         for file in $${files} ; do \
32259           f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
32260           @do_compare@ > /dev/null 2>&1; \
32261           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32262         done ; \
32263         if [ -f .bad_compare ]; then \
32264           echo "Bootstrap comparison failure!"; \
32265           cat .bad_compare; \
32266           exit 1; \
32267         else \
32268           true; \
32269         fi ; \
32270         $(STAMP) compare3
32271         @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
32272
32273
32274
32275 .PHONY: bootstrap4
32276 bootstrap4: stage4-bubble compare3 all
32277
32278
32279 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32280 distclean-stage3:: distclean-stage4 
32281 .PHONY: distclean-stage4
32282 distclean-stage4::
32283         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32284         rm -rf stage4-* compare3 
32285
32286
32287 @endif gcc-bootstrap
32288
32289
32290 .PHONY: stageprofile-start stageprofile-end
32291
32292 stageprofile-start::
32293         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32294         echo stageprofile > stage_current ; \
32295         echo stageprofile > stage_last; \
32296         $(mkinstalldirs) $(HOST_SUBDIR)
32297 @if bfd
32298         @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
32299           mkdir stageprofile-bfd; \
32300         set stageprofile-bfd bfd ; \
32301         @CREATE_LINK_TO_DIR@  ; \
32302         set stage1-bfd prev-bfd ; \
32303         @CREATE_LINK_TO_DIR@ 
32304 @endif bfd
32305 @if opcodes
32306         @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
32307           mkdir stageprofile-opcodes; \
32308         set stageprofile-opcodes opcodes ; \
32309         @CREATE_LINK_TO_DIR@  ; \
32310         set stage1-opcodes prev-opcodes ; \
32311         @CREATE_LINK_TO_DIR@ 
32312 @endif opcodes
32313 @if binutils
32314         @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
32315           mkdir stageprofile-binutils; \
32316         set stageprofile-binutils binutils ; \
32317         @CREATE_LINK_TO_DIR@  ; \
32318         set stage1-binutils prev-binutils ; \
32319         @CREATE_LINK_TO_DIR@ 
32320 @endif binutils
32321 @if gas
32322         @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
32323           mkdir stageprofile-gas; \
32324         set stageprofile-gas gas ; \
32325         @CREATE_LINK_TO_DIR@  ; \
32326         set stage1-gas prev-gas ; \
32327         @CREATE_LINK_TO_DIR@ 
32328 @endif gas
32329 @if gcc
32330         @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
32331           mkdir stageprofile-gcc; \
32332         set stageprofile-gcc gcc ; \
32333         @CREATE_LINK_TO_DIR@  ; \
32334         set stage1-gcc prev-gcc ; \
32335         @CREATE_LINK_TO_DIR@ 
32336 @endif gcc
32337 @if intl
32338         @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
32339           mkdir stageprofile-intl; \
32340         set stageprofile-intl intl ; \
32341         @CREATE_LINK_TO_DIR@  ; \
32342         set stage1-intl prev-intl ; \
32343         @CREATE_LINK_TO_DIR@ 
32344 @endif intl
32345 @if ld
32346         @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
32347           mkdir stageprofile-ld; \
32348         set stageprofile-ld ld ; \
32349         @CREATE_LINK_TO_DIR@  ; \
32350         set stage1-ld prev-ld ; \
32351         @CREATE_LINK_TO_DIR@ 
32352 @endif ld
32353 @if libcpp
32354         @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
32355           mkdir stageprofile-libcpp; \
32356         set stageprofile-libcpp libcpp ; \
32357         @CREATE_LINK_TO_DIR@  ; \
32358         set stage1-libcpp prev-libcpp ; \
32359         @CREATE_LINK_TO_DIR@ 
32360 @endif libcpp
32361 @if libiberty
32362         @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
32363           mkdir stageprofile-libiberty; \
32364         set stageprofile-libiberty libiberty ; \
32365         @CREATE_LINK_TO_DIR@  ; \
32366         set stage1-libiberty prev-libiberty ; \
32367         @CREATE_LINK_TO_DIR@ 
32368 @endif libiberty
32369 @if zlib
32370         @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
32371           mkdir stageprofile-zlib; \
32372         set stageprofile-zlib zlib ; \
32373         @CREATE_LINK_TO_DIR@  ; \
32374         set stage1-zlib prev-zlib ; \
32375         @CREATE_LINK_TO_DIR@ 
32376 @endif zlib
32377
32378 stageprofile-end::
32379         @rm -f stage_current
32380 @if bfd
32381         @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
32382         @UNDO_LINK_TO_DIR@  ; \
32383         set prev-bfd stage1-bfd ; \
32384         @UNDO_LINK_TO_DIR@ 
32385 @endif bfd
32386 @if opcodes
32387         @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
32388         @UNDO_LINK_TO_DIR@  ; \
32389         set prev-opcodes stage1-opcodes ; \
32390         @UNDO_LINK_TO_DIR@ 
32391 @endif opcodes
32392 @if binutils
32393         @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
32394         @UNDO_LINK_TO_DIR@  ; \
32395         set prev-binutils stage1-binutils ; \
32396         @UNDO_LINK_TO_DIR@ 
32397 @endif binutils
32398 @if gas
32399         @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
32400         @UNDO_LINK_TO_DIR@  ; \
32401         set prev-gas stage1-gas ; \
32402         @UNDO_LINK_TO_DIR@ 
32403 @endif gas
32404 @if gcc
32405         @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
32406         @UNDO_LINK_TO_DIR@  ; \
32407         set prev-gcc stage1-gcc ; \
32408         @UNDO_LINK_TO_DIR@ 
32409 @endif gcc
32410 @if intl
32411         @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
32412         @UNDO_LINK_TO_DIR@  ; \
32413         set prev-intl stage1-intl ; \
32414         @UNDO_LINK_TO_DIR@ 
32415 @endif intl
32416 @if ld
32417         @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
32418         @UNDO_LINK_TO_DIR@  ; \
32419         set prev-ld stage1-ld ; \
32420         @UNDO_LINK_TO_DIR@ 
32421 @endif ld
32422 @if libcpp
32423         @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
32424         @UNDO_LINK_TO_DIR@  ; \
32425         set prev-libcpp stage1-libcpp ; \
32426         @UNDO_LINK_TO_DIR@ 
32427 @endif libcpp
32428 @if libiberty
32429         @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
32430         @UNDO_LINK_TO_DIR@  ; \
32431         set prev-libiberty stage1-libiberty ; \
32432         @UNDO_LINK_TO_DIR@ 
32433 @endif libiberty
32434 @if zlib
32435         @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
32436         @UNDO_LINK_TO_DIR@  ; \
32437         set prev-zlib stage1-zlib ; \
32438         @UNDO_LINK_TO_DIR@ 
32439 @endif zlib
32440
32441 # Bubble a bugfix through all the stages up to stage profile.  They
32442 # are remade, but not reconfigured.  The next stage (if any) will not
32443 # be reconfigured as well.
32444 .PHONY: stageprofile-bubble
32445 stageprofile-bubble:: stage1-bubble
32446         @if test -f stageprofile-lean || test -f stage1-lean  ; then \
32447           echo Skipping rebuild of stageprofile ; \
32448         else \
32449           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
32450         fi
32451
32452 .PHONY: all-stageprofile clean-stageprofile
32453 all-stageprofile:     \
32454   maybe-all-stageprofile-bfd \
32455   maybe-all-stageprofile-opcodes \
32456   maybe-all-stageprofile-binutils              \
32457   maybe-all-stageprofile-gas \
32458   maybe-all-stageprofile-gcc        \
32459   maybe-all-stageprofile-intl   \
32460   maybe-all-stageprofile-ld \
32461   maybe-all-stageprofile-libcpp  \
32462   maybe-all-stageprofile-libiberty                        \
32463   maybe-all-stageprofile-zlib        
32464
32465 do-clean: clean-stageprofile
32466 clean-stageprofile:     \
32467   maybe-clean-stageprofile-bfd \
32468   maybe-clean-stageprofile-opcodes \
32469   maybe-clean-stageprofile-binutils              \
32470   maybe-clean-stageprofile-gas \
32471   maybe-clean-stageprofile-gcc        \
32472   maybe-clean-stageprofile-intl   \
32473   maybe-clean-stageprofile-ld \
32474   maybe-clean-stageprofile-libcpp  \
32475   maybe-clean-stageprofile-libiberty                        \
32476   maybe-clean-stageprofile-zlib        
32477
32478
32479 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
32480 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
32481 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
32482
32483 maybe-configure-stageprofile-bfd:
32484 maybe-all-stageprofile-bfd:
32485 maybe-clean-stageprofile-bfd:
32486
32487 @if bfd-bootstrap
32488 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
32489 configure-stageprofile-bfd:
32490         @$(MAKE) stageprofile-start
32491         @[ -f bfd/Makefile ] && exit 0 || : ; \
32492         r=`${PWD_COMMAND}`; export r; \
32493         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32494         $(STAGE_HOST_EXPORTS)  \
32495         echo Configuring stage profile in bfd ; \
32496         cd $(HOST_SUBDIR)/bfd || exit 1; \
32497         case $(srcdir) in \
32498           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32499           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32500                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32501         esac; \
32502         srcdiroption="--srcdir=$${topdir}/bfd"; \
32503         libsrcdir="$$s/bfd"; \
32504         $(SHELL) $${libsrcdir}/configure \
32505           $(HOST_CONFIGARGS) $${srcdiroption} \
32506           @stage2_werror_flag@ 
32507
32508 maybe-all-stageprofile-bfd: all-stageprofile-bfd
32509 all-stageprofile-bfd: configure-stageprofile-bfd
32510         @$(MAKE) stageprofile-start
32511         @r=`${PWD_COMMAND}`; export r; \
32512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32513         $(STAGE_HOST_EXPORTS)  \
32514         cd $(HOST_SUBDIR)/bfd && \
32515         $(MAKE) $(FLAGS_TO_PASS)  \
32516                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32517                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32518
32519 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
32520 clean-stageprofile-bfd:
32521         @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
32522           || exit 0 ; \
32523         [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
32524         cd $(HOST_SUBDIR)/bfd && \
32525         $(MAKE) $(FLAGS_TO_PASS)  \
32526                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32527                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32528 @endif bfd-bootstrap
32529
32530
32531 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
32532 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
32533 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
32534
32535 maybe-configure-stageprofile-opcodes:
32536 maybe-all-stageprofile-opcodes:
32537 maybe-clean-stageprofile-opcodes:
32538
32539 @if opcodes-bootstrap
32540 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
32541 configure-stageprofile-opcodes:
32542         @$(MAKE) stageprofile-start
32543         @[ -f opcodes/Makefile ] && exit 0 || : ; \
32544         r=`${PWD_COMMAND}`; export r; \
32545         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32546         $(STAGE_HOST_EXPORTS)  \
32547         echo Configuring stage profile in opcodes ; \
32548         cd $(HOST_SUBDIR)/opcodes || exit 1; \
32549         case $(srcdir) in \
32550           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32551           *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32552                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32553         esac; \
32554         srcdiroption="--srcdir=$${topdir}/opcodes"; \
32555         libsrcdir="$$s/opcodes"; \
32556         $(SHELL) $${libsrcdir}/configure \
32557           $(HOST_CONFIGARGS) $${srcdiroption} \
32558           @stage2_werror_flag@ 
32559
32560 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
32561 all-stageprofile-opcodes: configure-stageprofile-opcodes
32562         @$(MAKE) stageprofile-start
32563         @r=`${PWD_COMMAND}`; export r; \
32564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32565         $(STAGE_HOST_EXPORTS)  \
32566         cd $(HOST_SUBDIR)/opcodes && \
32567         $(MAKE) $(FLAGS_TO_PASS)  \
32568                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32569                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32570
32571 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
32572 clean-stageprofile-opcodes:
32573         @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
32574           || exit 0 ; \
32575         [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
32576         cd $(HOST_SUBDIR)/opcodes && \
32577         $(MAKE) $(FLAGS_TO_PASS)  \
32578                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32579                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32580 @endif opcodes-bootstrap
32581
32582
32583 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
32584 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
32585 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
32586
32587 maybe-configure-stageprofile-binutils:
32588 maybe-all-stageprofile-binutils:
32589 maybe-clean-stageprofile-binutils:
32590
32591 @if binutils-bootstrap
32592 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
32593 configure-stageprofile-binutils:
32594         @$(MAKE) stageprofile-start
32595         @[ -f binutils/Makefile ] && exit 0 || : ; \
32596         r=`${PWD_COMMAND}`; export r; \
32597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32598         $(STAGE_HOST_EXPORTS)  \
32599         echo Configuring stage profile in binutils ; \
32600         cd $(HOST_SUBDIR)/binutils || exit 1; \
32601         case $(srcdir) in \
32602           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32603           *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32604                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32605         esac; \
32606         srcdiroption="--srcdir=$${topdir}/binutils"; \
32607         libsrcdir="$$s/binutils"; \
32608         $(SHELL) $${libsrcdir}/configure \
32609           $(HOST_CONFIGARGS) $${srcdiroption} \
32610           @stage2_werror_flag@ 
32611
32612 maybe-all-stageprofile-binutils: all-stageprofile-binutils
32613 all-stageprofile-binutils: configure-stageprofile-binutils
32614         @$(MAKE) stageprofile-start
32615         @r=`${PWD_COMMAND}`; export r; \
32616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32617         $(STAGE_HOST_EXPORTS)  \
32618         cd $(HOST_SUBDIR)/binutils && \
32619         $(MAKE) $(FLAGS_TO_PASS)  \
32620                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32621                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32622
32623 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
32624 clean-stageprofile-binutils:
32625         @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
32626           || exit 0 ; \
32627         [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
32628         cd $(HOST_SUBDIR)/binutils && \
32629         $(MAKE) $(FLAGS_TO_PASS)  \
32630                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32631                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32632 @endif binutils-bootstrap
32633
32634
32635 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
32636 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
32637 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
32638
32639 maybe-configure-stageprofile-gas:
32640 maybe-all-stageprofile-gas:
32641 maybe-clean-stageprofile-gas:
32642
32643 @if gas-bootstrap
32644 maybe-configure-stageprofile-gas: configure-stageprofile-gas
32645 configure-stageprofile-gas:
32646         @$(MAKE) stageprofile-start
32647         @[ -f gas/Makefile ] && exit 0 || : ; \
32648         r=`${PWD_COMMAND}`; export r; \
32649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32650         $(STAGE_HOST_EXPORTS)  \
32651         echo Configuring stage profile in gas ; \
32652         cd $(HOST_SUBDIR)/gas || exit 1; \
32653         case $(srcdir) in \
32654           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32655           *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32656                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32657         esac; \
32658         srcdiroption="--srcdir=$${topdir}/gas"; \
32659         libsrcdir="$$s/gas"; \
32660         $(SHELL) $${libsrcdir}/configure \
32661           $(HOST_CONFIGARGS) $${srcdiroption} \
32662           @stage2_werror_flag@ 
32663
32664 maybe-all-stageprofile-gas: all-stageprofile-gas
32665 all-stageprofile-gas: configure-stageprofile-gas
32666         @$(MAKE) stageprofile-start
32667         @r=`${PWD_COMMAND}`; export r; \
32668         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32669         $(STAGE_HOST_EXPORTS)  \
32670         cd $(HOST_SUBDIR)/gas && \
32671         $(MAKE) $(FLAGS_TO_PASS)  \
32672                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32673                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32674
32675 maybe-clean-stageprofile-gas: clean-stageprofile-gas
32676 clean-stageprofile-gas:
32677         @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
32678           || exit 0 ; \
32679         [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
32680         cd $(HOST_SUBDIR)/gas && \
32681         $(MAKE) $(FLAGS_TO_PASS)  \
32682                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32683                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32684 @endif gas-bootstrap
32685
32686
32687 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
32688 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
32689 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
32690
32691 maybe-configure-stageprofile-gcc:
32692 maybe-all-stageprofile-gcc:
32693 maybe-clean-stageprofile-gcc:
32694
32695 @if gcc-bootstrap
32696 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
32697 configure-stageprofile-gcc:
32698         @$(MAKE) stageprofile-start
32699         @[ -f gcc/Makefile ] && exit 0 || : ; \
32700         r=`${PWD_COMMAND}`; export r; \
32701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32702         $(STAGE_HOST_EXPORTS)  \
32703         echo Configuring stage profile in gcc ; \
32704         cd $(HOST_SUBDIR)/gcc || exit 1; \
32705         case $(srcdir) in \
32706           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32707           *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
32708                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32709         esac; \
32710         srcdiroption="--srcdir=$${topdir}/gcc"; \
32711         libsrcdir="$$s/gcc"; \
32712         $(SHELL) $${libsrcdir}/configure \
32713           $(HOST_CONFIGARGS) $${srcdiroption} \
32714           @stage2_werror_flag@ 
32715
32716 maybe-all-stageprofile-gcc: all-stageprofile-gcc
32717 all-stageprofile-gcc: configure-stageprofile-gcc
32718         @$(MAKE) stageprofile-start
32719         @r=`${PWD_COMMAND}`; export r; \
32720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32721         $(STAGE_HOST_EXPORTS)  \
32722         cd $(HOST_SUBDIR)/gcc && \
32723         $(MAKE) $(FLAGS_TO_PASS)  \
32724                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32725                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
32726
32727 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
32728 clean-stageprofile-gcc:
32729         @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
32730           || exit 0 ; \
32731         [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
32732         cd $(HOST_SUBDIR)/gcc && \
32733         $(MAKE) $(FLAGS_TO_PASS)  \
32734                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32735                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
32736 @endif gcc-bootstrap
32737
32738
32739 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
32740 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
32741 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
32742
32743 maybe-configure-stageprofile-intl:
32744 maybe-all-stageprofile-intl:
32745 maybe-clean-stageprofile-intl:
32746
32747 @if intl-bootstrap
32748 maybe-configure-stageprofile-intl: configure-stageprofile-intl
32749 configure-stageprofile-intl:
32750         @$(MAKE) stageprofile-start
32751         @[ -f intl/Makefile ] && exit 0 || : ; \
32752         r=`${PWD_COMMAND}`; export r; \
32753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32754         $(STAGE_HOST_EXPORTS)  \
32755         echo Configuring stage profile in intl ; \
32756         cd $(HOST_SUBDIR)/intl || exit 1; \
32757         case $(srcdir) in \
32758           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32759           *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32760                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32761         esac; \
32762         srcdiroption="--srcdir=$${topdir}/intl"; \
32763         libsrcdir="$$s/intl"; \
32764         $(SHELL) $${libsrcdir}/configure \
32765           $(HOST_CONFIGARGS) $${srcdiroption} \
32766           @stage2_werror_flag@ 
32767
32768 maybe-all-stageprofile-intl: all-stageprofile-intl
32769 all-stageprofile-intl: configure-stageprofile-intl
32770         @$(MAKE) stageprofile-start
32771         @r=`${PWD_COMMAND}`; export r; \
32772         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32773         $(STAGE_HOST_EXPORTS)  \
32774         cd $(HOST_SUBDIR)/intl && \
32775         $(MAKE) $(FLAGS_TO_PASS)  \
32776                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32777                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32778
32779 maybe-clean-stageprofile-intl: clean-stageprofile-intl
32780 clean-stageprofile-intl:
32781         @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
32782           || exit 0 ; \
32783         [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
32784         cd $(HOST_SUBDIR)/intl && \
32785         $(MAKE) $(FLAGS_TO_PASS)  \
32786                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32787                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32788 @endif intl-bootstrap
32789
32790
32791 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
32792 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
32793 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
32794
32795 maybe-configure-stageprofile-ld:
32796 maybe-all-stageprofile-ld:
32797 maybe-clean-stageprofile-ld:
32798
32799 @if ld-bootstrap
32800 maybe-configure-stageprofile-ld: configure-stageprofile-ld
32801 configure-stageprofile-ld:
32802         @$(MAKE) stageprofile-start
32803         @[ -f ld/Makefile ] && exit 0 || : ; \
32804         r=`${PWD_COMMAND}`; export r; \
32805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32806         $(STAGE_HOST_EXPORTS)  \
32807         echo Configuring stage profile in ld ; \
32808         cd $(HOST_SUBDIR)/ld || exit 1; \
32809         case $(srcdir) in \
32810           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32811           *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32812                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32813         esac; \
32814         srcdiroption="--srcdir=$${topdir}/ld"; \
32815         libsrcdir="$$s/ld"; \
32816         $(SHELL) $${libsrcdir}/configure \
32817           $(HOST_CONFIGARGS) $${srcdiroption} \
32818           @stage2_werror_flag@ 
32819
32820 maybe-all-stageprofile-ld: all-stageprofile-ld
32821 all-stageprofile-ld: configure-stageprofile-ld
32822         @$(MAKE) stageprofile-start
32823         @r=`${PWD_COMMAND}`; export r; \
32824         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32825         $(STAGE_HOST_EXPORTS)  \
32826         cd $(HOST_SUBDIR)/ld && \
32827         $(MAKE) $(FLAGS_TO_PASS)  \
32828                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32829                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32830
32831 maybe-clean-stageprofile-ld: clean-stageprofile-ld
32832 clean-stageprofile-ld:
32833         @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
32834           || exit 0 ; \
32835         [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
32836         cd $(HOST_SUBDIR)/ld && \
32837         $(MAKE) $(FLAGS_TO_PASS)  \
32838                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32839                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32840 @endif ld-bootstrap
32841
32842
32843 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
32844 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
32845 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
32846
32847 maybe-configure-stageprofile-libcpp:
32848 maybe-all-stageprofile-libcpp:
32849 maybe-clean-stageprofile-libcpp:
32850
32851 @if libcpp-bootstrap
32852 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
32853 configure-stageprofile-libcpp:
32854         @$(MAKE) stageprofile-start
32855         @[ -f libcpp/Makefile ] && exit 0 || : ; \
32856         r=`${PWD_COMMAND}`; export r; \
32857         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32858         $(STAGE_HOST_EXPORTS)  \
32859         echo Configuring stage profile in libcpp ; \
32860         cd $(HOST_SUBDIR)/libcpp || exit 1; \
32861         case $(srcdir) in \
32862           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32863           *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32864                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32865         esac; \
32866         srcdiroption="--srcdir=$${topdir}/libcpp"; \
32867         libsrcdir="$$s/libcpp"; \
32868         $(SHELL) $${libsrcdir}/configure \
32869           $(HOST_CONFIGARGS) $${srcdiroption} \
32870           @stage2_werror_flag@ 
32871
32872 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
32873 all-stageprofile-libcpp: configure-stageprofile-libcpp
32874         @$(MAKE) stageprofile-start
32875         @r=`${PWD_COMMAND}`; export r; \
32876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32877         $(STAGE_HOST_EXPORTS)  \
32878         cd $(HOST_SUBDIR)/libcpp && \
32879         $(MAKE) $(FLAGS_TO_PASS)  \
32880                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32881                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32882
32883 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
32884 clean-stageprofile-libcpp:
32885         @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
32886           || exit 0 ; \
32887         [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
32888         cd $(HOST_SUBDIR)/libcpp && \
32889         $(MAKE) $(FLAGS_TO_PASS)  \
32890                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32891                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32892 @endif libcpp-bootstrap
32893
32894
32895 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
32896 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
32897 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
32898
32899 maybe-configure-stageprofile-libiberty:
32900 maybe-all-stageprofile-libiberty:
32901 maybe-clean-stageprofile-libiberty:
32902
32903 @if libiberty-bootstrap
32904 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
32905 configure-stageprofile-libiberty:
32906         @$(MAKE) stageprofile-start
32907         @[ -f libiberty/Makefile ] && exit 0 || : ; \
32908         r=`${PWD_COMMAND}`; export r; \
32909         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32910         $(STAGE_HOST_EXPORTS)  \
32911         echo Configuring stage profile in libiberty ; \
32912         cd $(HOST_SUBDIR)/libiberty || exit 1; \
32913         case $(srcdir) in \
32914           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32915           *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32916                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32917         esac; \
32918         srcdiroption="--srcdir=$${topdir}/libiberty"; \
32919         libsrcdir="$$s/libiberty"; \
32920         $(SHELL) $${libsrcdir}/configure \
32921           $(HOST_CONFIGARGS) $${srcdiroption} \
32922           @stage2_werror_flag@ 
32923
32924 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
32925 all-stageprofile-libiberty: configure-stageprofile-libiberty
32926         @$(MAKE) stageprofile-start
32927         @r=`${PWD_COMMAND}`; export r; \
32928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32929         $(STAGE_HOST_EXPORTS)  \
32930         cd $(HOST_SUBDIR)/libiberty && \
32931         $(MAKE) $(FLAGS_TO_PASS)  \
32932                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32933                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32934
32935 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
32936 clean-stageprofile-libiberty:
32937         @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
32938           || exit 0 ; \
32939         [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
32940         cd $(HOST_SUBDIR)/libiberty && \
32941         $(MAKE) $(FLAGS_TO_PASS)  \
32942                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32943                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32944 @endif libiberty-bootstrap
32945
32946
32947 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
32948 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32949 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32950
32951 maybe-configure-stageprofile-zlib:
32952 maybe-all-stageprofile-zlib:
32953 maybe-clean-stageprofile-zlib:
32954
32955 @if zlib-bootstrap
32956 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
32957 configure-stageprofile-zlib:
32958         @$(MAKE) stageprofile-start
32959         @[ -f zlib/Makefile ] && exit 0 || : ; \
32960         r=`${PWD_COMMAND}`; export r; \
32961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32962         $(STAGE_HOST_EXPORTS)  \
32963         echo Configuring stage profile in zlib ; \
32964         cd $(HOST_SUBDIR)/zlib || exit 1; \
32965         case $(srcdir) in \
32966           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32967           *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32968                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32969         esac; \
32970         srcdiroption="--srcdir=$${topdir}/zlib"; \
32971         libsrcdir="$$s/zlib"; \
32972         $(SHELL) $${libsrcdir}/configure \
32973           $(HOST_CONFIGARGS) $${srcdiroption} \
32974           @stage2_werror_flag@ 
32975
32976 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32977 all-stageprofile-zlib: configure-stageprofile-zlib
32978         @$(MAKE) stageprofile-start
32979         @r=`${PWD_COMMAND}`; export r; \
32980         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
32981         $(STAGE_HOST_EXPORTS)  \
32982         cd $(HOST_SUBDIR)/zlib && \
32983         $(MAKE) $(FLAGS_TO_PASS)  \
32984                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32985                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" 
32986
32987 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32988 clean-stageprofile-zlib:
32989         @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
32990           || exit 0 ; \
32991         [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
32992         cd $(HOST_SUBDIR)/zlib && \
32993         $(MAKE) $(FLAGS_TO_PASS)  \
32994                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
32995                 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"  clean
32996 @endif zlib-bootstrap
32997
32998
32999
33000 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33001 # only possibility, but now it conflicts with no-bootstrap rules
33002 @if gcc-bootstrap
33003
33004
33005
33006
33007 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33008 distclean-stage1:: distclean-stageprofile 
33009 .PHONY: distclean-stageprofile
33010 distclean-stageprofile::
33011         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33012         rm -rf stageprofile-* 
33013
33014
33015 @endif gcc-bootstrap
33016
33017
33018 .PHONY: stagefeedback-start stagefeedback-end
33019
33020 stagefeedback-start::
33021         @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33022         echo stagefeedback > stage_current ; \
33023         echo stagefeedback > stage_last; \
33024         $(mkinstalldirs) $(HOST_SUBDIR)
33025 @if bfd
33026         @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
33027           mkdir stagefeedback-bfd; \
33028         set stagefeedback-bfd bfd ; \
33029         @CREATE_LINK_TO_DIR@  ; \
33030         set stage1-bfd prev-bfd ; \
33031         @CREATE_LINK_TO_DIR@ 
33032 @endif bfd
33033 @if opcodes
33034         @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
33035           mkdir stagefeedback-opcodes; \
33036         set stagefeedback-opcodes opcodes ; \
33037         @CREATE_LINK_TO_DIR@  ; \
33038         set stage1-opcodes prev-opcodes ; \
33039         @CREATE_LINK_TO_DIR@ 
33040 @endif opcodes
33041 @if binutils
33042         @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
33043           mkdir stagefeedback-binutils; \
33044         set stagefeedback-binutils binutils ; \
33045         @CREATE_LINK_TO_DIR@  ; \
33046         set stage1-binutils prev-binutils ; \
33047         @CREATE_LINK_TO_DIR@ 
33048 @endif binutils
33049 @if gas
33050         @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
33051           mkdir stagefeedback-gas; \
33052         set stagefeedback-gas gas ; \
33053         @CREATE_LINK_TO_DIR@  ; \
33054         set stage1-gas prev-gas ; \
33055         @CREATE_LINK_TO_DIR@ 
33056 @endif gas
33057 @if gcc
33058         @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
33059           mkdir stagefeedback-gcc; \
33060         set stagefeedback-gcc gcc ; \
33061         @CREATE_LINK_TO_DIR@  ; \
33062         set stage1-gcc prev-gcc ; \
33063         @CREATE_LINK_TO_DIR@ 
33064 @endif gcc
33065 @if intl
33066         @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
33067           mkdir stagefeedback-intl; \
33068         set stagefeedback-intl intl ; \
33069         @CREATE_LINK_TO_DIR@  ; \
33070         set stage1-intl prev-intl ; \
33071         @CREATE_LINK_TO_DIR@ 
33072 @endif intl
33073 @if ld
33074         @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
33075           mkdir stagefeedback-ld; \
33076         set stagefeedback-ld ld ; \
33077         @CREATE_LINK_TO_DIR@  ; \
33078         set stage1-ld prev-ld ; \
33079         @CREATE_LINK_TO_DIR@ 
33080 @endif ld
33081 @if libcpp
33082         @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
33083           mkdir stagefeedback-libcpp; \
33084         set stagefeedback-libcpp libcpp ; \
33085         @CREATE_LINK_TO_DIR@  ; \
33086         set stage1-libcpp prev-libcpp ; \
33087         @CREATE_LINK_TO_DIR@ 
33088 @endif libcpp
33089 @if libiberty
33090         @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
33091           mkdir stagefeedback-libiberty; \
33092         set stagefeedback-libiberty libiberty ; \
33093         @CREATE_LINK_TO_DIR@  ; \
33094         set stage1-libiberty prev-libiberty ; \
33095         @CREATE_LINK_TO_DIR@ 
33096 @endif libiberty
33097 @if zlib
33098         @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
33099           mkdir stagefeedback-zlib; \
33100         set stagefeedback-zlib zlib ; \
33101         @CREATE_LINK_TO_DIR@  ; \
33102         set stage1-zlib prev-zlib ; \
33103         @CREATE_LINK_TO_DIR@ 
33104 @endif zlib
33105
33106 stagefeedback-end::
33107         @rm -f stage_current
33108 @if bfd
33109         @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
33110         @UNDO_LINK_TO_DIR@  ; \
33111         set prev-bfd stage1-bfd ; \
33112         @UNDO_LINK_TO_DIR@ 
33113 @endif bfd
33114 @if opcodes
33115         @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
33116         @UNDO_LINK_TO_DIR@  ; \
33117         set prev-opcodes stage1-opcodes ; \
33118         @UNDO_LINK_TO_DIR@ 
33119 @endif opcodes
33120 @if binutils
33121         @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
33122         @UNDO_LINK_TO_DIR@  ; \
33123         set prev-binutils stage1-binutils ; \
33124         @UNDO_LINK_TO_DIR@ 
33125 @endif binutils
33126 @if gas
33127         @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
33128         @UNDO_LINK_TO_DIR@  ; \
33129         set prev-gas stage1-gas ; \
33130         @UNDO_LINK_TO_DIR@ 
33131 @endif gas
33132 @if gcc
33133         @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
33134         @UNDO_LINK_TO_DIR@  ; \
33135         set prev-gcc stage1-gcc ; \
33136         @UNDO_LINK_TO_DIR@ 
33137 @endif gcc
33138 @if intl
33139         @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
33140         @UNDO_LINK_TO_DIR@  ; \
33141         set prev-intl stage1-intl ; \
33142         @UNDO_LINK_TO_DIR@ 
33143 @endif intl
33144 @if ld
33145         @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
33146         @UNDO_LINK_TO_DIR@  ; \
33147         set prev-ld stage1-ld ; \
33148         @UNDO_LINK_TO_DIR@ 
33149 @endif ld
33150 @if libcpp
33151         @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
33152         @UNDO_LINK_TO_DIR@  ; \
33153         set prev-libcpp stage1-libcpp ; \
33154         @UNDO_LINK_TO_DIR@ 
33155 @endif libcpp
33156 @if libiberty
33157         @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
33158         @UNDO_LINK_TO_DIR@  ; \
33159         set prev-libiberty stage1-libiberty ; \
33160         @UNDO_LINK_TO_DIR@ 
33161 @endif libiberty
33162 @if zlib
33163         @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
33164         @UNDO_LINK_TO_DIR@  ; \
33165         set prev-zlib stage1-zlib ; \
33166         @UNDO_LINK_TO_DIR@ 
33167 @endif zlib
33168
33169 # Bubble a bugfix through all the stages up to stage feedback.  They
33170 # are remade, but not reconfigured.  The next stage (if any) will not
33171 # be reconfigured as well.
33172 .PHONY: stagefeedback-bubble
33173 stagefeedback-bubble:: stage1-bubble
33174         @if test -f stagefeedback-lean || test -f stage1-lean  ; then \
33175           echo Skipping rebuild of stagefeedback ; \
33176         else \
33177           $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
33178         fi
33179
33180 .PHONY: all-stagefeedback clean-stagefeedback
33181 all-stagefeedback:     \
33182   maybe-all-stagefeedback-bfd \
33183   maybe-all-stagefeedback-opcodes \
33184   maybe-all-stagefeedback-binutils              \
33185   maybe-all-stagefeedback-gas \
33186   maybe-all-stagefeedback-gcc        \
33187   maybe-all-stagefeedback-intl   \
33188   maybe-all-stagefeedback-ld \
33189   maybe-all-stagefeedback-libcpp  \
33190   maybe-all-stagefeedback-libiberty                        \
33191   maybe-all-stagefeedback-zlib        
33192
33193 do-clean: clean-stagefeedback
33194 clean-stagefeedback:     \
33195   maybe-clean-stagefeedback-bfd \
33196   maybe-clean-stagefeedback-opcodes \
33197   maybe-clean-stagefeedback-binutils              \
33198   maybe-clean-stagefeedback-gas \
33199   maybe-clean-stagefeedback-gcc        \
33200   maybe-clean-stagefeedback-intl   \
33201   maybe-clean-stagefeedback-ld \
33202   maybe-clean-stagefeedback-libcpp  \
33203   maybe-clean-stagefeedback-libiberty                        \
33204   maybe-clean-stagefeedback-zlib        
33205
33206
33207 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
33208 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
33209 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
33210
33211 maybe-configure-stagefeedback-bfd:
33212 maybe-all-stagefeedback-bfd:
33213 maybe-clean-stagefeedback-bfd:
33214
33215 @if bfd-bootstrap
33216 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
33217 configure-stagefeedback-bfd:
33218         @$(MAKE) stagefeedback-start
33219         @[ -f bfd/Makefile ] && exit 0 || : ; \
33220         r=`${PWD_COMMAND}`; export r; \
33221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33222         $(STAGE_HOST_EXPORTS)  \
33223         echo Configuring stage feedback in bfd ; \
33224         cd $(HOST_SUBDIR)/bfd || exit 1; \
33225         case $(srcdir) in \
33226           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33227           *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
33228                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33229         esac; \
33230         srcdiroption="--srcdir=$${topdir}/bfd"; \
33231         libsrcdir="$$s/bfd"; \
33232         $(SHELL) $${libsrcdir}/configure \
33233           $(HOST_CONFIGARGS) $${srcdiroption} \
33234           @stage2_werror_flag@ 
33235
33236 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
33237 all-stagefeedback-bfd: configure-stagefeedback-bfd
33238         @$(MAKE) stagefeedback-start
33239         @r=`${PWD_COMMAND}`; export r; \
33240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33241         $(STAGE_HOST_EXPORTS)  \
33242         cd $(HOST_SUBDIR)/bfd && \
33243         $(MAKE) $(FLAGS_TO_PASS)  \
33244                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33245                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33246
33247 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
33248 clean-stagefeedback-bfd:
33249         @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
33250           || exit 0 ; \
33251         [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
33252         cd $(HOST_SUBDIR)/bfd && \
33253         $(MAKE) $(FLAGS_TO_PASS)  \
33254                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33255                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33256 @endif bfd-bootstrap
33257
33258
33259 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
33260 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
33261 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
33262
33263 maybe-configure-stagefeedback-opcodes:
33264 maybe-all-stagefeedback-opcodes:
33265 maybe-clean-stagefeedback-opcodes:
33266
33267 @if opcodes-bootstrap
33268 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
33269 configure-stagefeedback-opcodes:
33270         @$(MAKE) stagefeedback-start
33271         @[ -f opcodes/Makefile ] && exit 0 || : ; \
33272         r=`${PWD_COMMAND}`; export r; \
33273         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33274         $(STAGE_HOST_EXPORTS)  \
33275         echo Configuring stage feedback in opcodes ; \
33276         cd $(HOST_SUBDIR)/opcodes || exit 1; \
33277         case $(srcdir) in \
33278           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33279           *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
33280                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33281         esac; \
33282         srcdiroption="--srcdir=$${topdir}/opcodes"; \
33283         libsrcdir="$$s/opcodes"; \
33284         $(SHELL) $${libsrcdir}/configure \
33285           $(HOST_CONFIGARGS) $${srcdiroption} \
33286           @stage2_werror_flag@ 
33287
33288 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
33289 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
33290         @$(MAKE) stagefeedback-start
33291         @r=`${PWD_COMMAND}`; export r; \
33292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33293         $(STAGE_HOST_EXPORTS)  \
33294         cd $(HOST_SUBDIR)/opcodes && \
33295         $(MAKE) $(FLAGS_TO_PASS)  \
33296                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33297                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33298
33299 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
33300 clean-stagefeedback-opcodes:
33301         @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
33302           || exit 0 ; \
33303         [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
33304         cd $(HOST_SUBDIR)/opcodes && \
33305         $(MAKE) $(FLAGS_TO_PASS)  \
33306                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33307                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33308 @endif opcodes-bootstrap
33309
33310
33311 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
33312 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
33313 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
33314
33315 maybe-configure-stagefeedback-binutils:
33316 maybe-all-stagefeedback-binutils:
33317 maybe-clean-stagefeedback-binutils:
33318
33319 @if binutils-bootstrap
33320 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
33321 configure-stagefeedback-binutils:
33322         @$(MAKE) stagefeedback-start
33323         @[ -f binutils/Makefile ] && exit 0 || : ; \
33324         r=`${PWD_COMMAND}`; export r; \
33325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33326         $(STAGE_HOST_EXPORTS)  \
33327         echo Configuring stage feedback in binutils ; \
33328         cd $(HOST_SUBDIR)/binutils || exit 1; \
33329         case $(srcdir) in \
33330           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33331           *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
33332                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33333         esac; \
33334         srcdiroption="--srcdir=$${topdir}/binutils"; \
33335         libsrcdir="$$s/binutils"; \
33336         $(SHELL) $${libsrcdir}/configure \
33337           $(HOST_CONFIGARGS) $${srcdiroption} \
33338           @stage2_werror_flag@ 
33339
33340 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
33341 all-stagefeedback-binutils: configure-stagefeedback-binutils
33342         @$(MAKE) stagefeedback-start
33343         @r=`${PWD_COMMAND}`; export r; \
33344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33345         $(STAGE_HOST_EXPORTS)  \
33346         cd $(HOST_SUBDIR)/binutils && \
33347         $(MAKE) $(FLAGS_TO_PASS)  \
33348                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33349                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33350
33351 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
33352 clean-stagefeedback-binutils:
33353         @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
33354           || exit 0 ; \
33355         [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
33356         cd $(HOST_SUBDIR)/binutils && \
33357         $(MAKE) $(FLAGS_TO_PASS)  \
33358                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33359                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33360 @endif binutils-bootstrap
33361
33362
33363 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
33364 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
33365 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
33366
33367 maybe-configure-stagefeedback-gas:
33368 maybe-all-stagefeedback-gas:
33369 maybe-clean-stagefeedback-gas:
33370
33371 @if gas-bootstrap
33372 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
33373 configure-stagefeedback-gas:
33374         @$(MAKE) stagefeedback-start
33375         @[ -f gas/Makefile ] && exit 0 || : ; \
33376         r=`${PWD_COMMAND}`; export r; \
33377         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33378         $(STAGE_HOST_EXPORTS)  \
33379         echo Configuring stage feedback in gas ; \
33380         cd $(HOST_SUBDIR)/gas || exit 1; \
33381         case $(srcdir) in \
33382           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33383           *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33384                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33385         esac; \
33386         srcdiroption="--srcdir=$${topdir}/gas"; \
33387         libsrcdir="$$s/gas"; \
33388         $(SHELL) $${libsrcdir}/configure \
33389           $(HOST_CONFIGARGS) $${srcdiroption} \
33390           @stage2_werror_flag@ 
33391
33392 maybe-all-stagefeedback-gas: all-stagefeedback-gas
33393 all-stagefeedback-gas: configure-stagefeedback-gas
33394         @$(MAKE) stagefeedback-start
33395         @r=`${PWD_COMMAND}`; export r; \
33396         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33397         $(STAGE_HOST_EXPORTS)  \
33398         cd $(HOST_SUBDIR)/gas && \
33399         $(MAKE) $(FLAGS_TO_PASS)  \
33400                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33401                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33402
33403 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
33404 clean-stagefeedback-gas:
33405         @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
33406           || exit 0 ; \
33407         [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
33408         cd $(HOST_SUBDIR)/gas && \
33409         $(MAKE) $(FLAGS_TO_PASS)  \
33410                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33411                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33412 @endif gas-bootstrap
33413
33414
33415 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
33416 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
33417 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
33418
33419 maybe-configure-stagefeedback-gcc:
33420 maybe-all-stagefeedback-gcc:
33421 maybe-clean-stagefeedback-gcc:
33422
33423 @if gcc-bootstrap
33424 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
33425 configure-stagefeedback-gcc:
33426         @$(MAKE) stagefeedback-start
33427         @[ -f gcc/Makefile ] && exit 0 || : ; \
33428         r=`${PWD_COMMAND}`; export r; \
33429         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33430         $(STAGE_HOST_EXPORTS)  \
33431         echo Configuring stage feedback in gcc ; \
33432         cd $(HOST_SUBDIR)/gcc || exit 1; \
33433         case $(srcdir) in \
33434           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33435           *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33436                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33437         esac; \
33438         srcdiroption="--srcdir=$${topdir}/gcc"; \
33439         libsrcdir="$$s/gcc"; \
33440         $(SHELL) $${libsrcdir}/configure \
33441           $(HOST_CONFIGARGS) $${srcdiroption} \
33442           @stage2_werror_flag@ 
33443
33444 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
33445 all-stagefeedback-gcc: configure-stagefeedback-gcc
33446         @$(MAKE) stagefeedback-start
33447         @r=`${PWD_COMMAND}`; export r; \
33448         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33449         $(STAGE_HOST_EXPORTS)  \
33450         cd $(HOST_SUBDIR)/gcc && \
33451         $(MAKE) $(FLAGS_TO_PASS)  \
33452                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33453                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
33454
33455 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
33456 clean-stagefeedback-gcc:
33457         @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
33458           || exit 0 ; \
33459         [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
33460         cd $(HOST_SUBDIR)/gcc && \
33461         $(MAKE) $(FLAGS_TO_PASS)  \
33462                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33463                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
33464 @endif gcc-bootstrap
33465
33466
33467 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
33468 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
33469 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
33470
33471 maybe-configure-stagefeedback-intl:
33472 maybe-all-stagefeedback-intl:
33473 maybe-clean-stagefeedback-intl:
33474
33475 @if intl-bootstrap
33476 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
33477 configure-stagefeedback-intl:
33478         @$(MAKE) stagefeedback-start
33479         @[ -f intl/Makefile ] && exit 0 || : ; \
33480         r=`${PWD_COMMAND}`; export r; \
33481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33482         $(STAGE_HOST_EXPORTS)  \
33483         echo Configuring stage feedback in intl ; \
33484         cd $(HOST_SUBDIR)/intl || exit 1; \
33485         case $(srcdir) in \
33486           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33487           *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33488                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33489         esac; \
33490         srcdiroption="--srcdir=$${topdir}/intl"; \
33491         libsrcdir="$$s/intl"; \
33492         $(SHELL) $${libsrcdir}/configure \
33493           $(HOST_CONFIGARGS) $${srcdiroption} \
33494           @stage2_werror_flag@ 
33495
33496 maybe-all-stagefeedback-intl: all-stagefeedback-intl
33497 all-stagefeedback-intl: configure-stagefeedback-intl
33498         @$(MAKE) stagefeedback-start
33499         @r=`${PWD_COMMAND}`; export r; \
33500         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33501         $(STAGE_HOST_EXPORTS)  \
33502         cd $(HOST_SUBDIR)/intl && \
33503         $(MAKE) $(FLAGS_TO_PASS)  \
33504                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33505                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33506
33507 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
33508 clean-stagefeedback-intl:
33509         @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
33510           || exit 0 ; \
33511         [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
33512         cd $(HOST_SUBDIR)/intl && \
33513         $(MAKE) $(FLAGS_TO_PASS)  \
33514                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33515                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33516 @endif intl-bootstrap
33517
33518
33519 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
33520 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
33521 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
33522
33523 maybe-configure-stagefeedback-ld:
33524 maybe-all-stagefeedback-ld:
33525 maybe-clean-stagefeedback-ld:
33526
33527 @if ld-bootstrap
33528 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
33529 configure-stagefeedback-ld:
33530         @$(MAKE) stagefeedback-start
33531         @[ -f ld/Makefile ] && exit 0 || : ; \
33532         r=`${PWD_COMMAND}`; export r; \
33533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33534         $(STAGE_HOST_EXPORTS)  \
33535         echo Configuring stage feedback in ld ; \
33536         cd $(HOST_SUBDIR)/ld || exit 1; \
33537         case $(srcdir) in \
33538           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33539           *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33540                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33541         esac; \
33542         srcdiroption="--srcdir=$${topdir}/ld"; \
33543         libsrcdir="$$s/ld"; \
33544         $(SHELL) $${libsrcdir}/configure \
33545           $(HOST_CONFIGARGS) $${srcdiroption} \
33546           @stage2_werror_flag@ 
33547
33548 maybe-all-stagefeedback-ld: all-stagefeedback-ld
33549 all-stagefeedback-ld: configure-stagefeedback-ld
33550         @$(MAKE) stagefeedback-start
33551         @r=`${PWD_COMMAND}`; export r; \
33552         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33553         $(STAGE_HOST_EXPORTS)  \
33554         cd $(HOST_SUBDIR)/ld && \
33555         $(MAKE) $(FLAGS_TO_PASS)  \
33556                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33557                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33558
33559 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
33560 clean-stagefeedback-ld:
33561         @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
33562           || exit 0 ; \
33563         [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
33564         cd $(HOST_SUBDIR)/ld && \
33565         $(MAKE) $(FLAGS_TO_PASS)  \
33566                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33567                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33568 @endif ld-bootstrap
33569
33570
33571 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
33572 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
33573 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
33574
33575 maybe-configure-stagefeedback-libcpp:
33576 maybe-all-stagefeedback-libcpp:
33577 maybe-clean-stagefeedback-libcpp:
33578
33579 @if libcpp-bootstrap
33580 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
33581 configure-stagefeedback-libcpp:
33582         @$(MAKE) stagefeedback-start
33583         @[ -f libcpp/Makefile ] && exit 0 || : ; \
33584         r=`${PWD_COMMAND}`; export r; \
33585         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33586         $(STAGE_HOST_EXPORTS)  \
33587         echo Configuring stage feedback in libcpp ; \
33588         cd $(HOST_SUBDIR)/libcpp || exit 1; \
33589         case $(srcdir) in \
33590           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33591           *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33592                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33593         esac; \
33594         srcdiroption="--srcdir=$${topdir}/libcpp"; \
33595         libsrcdir="$$s/libcpp"; \
33596         $(SHELL) $${libsrcdir}/configure \
33597           $(HOST_CONFIGARGS) $${srcdiroption} \
33598           @stage2_werror_flag@ 
33599
33600 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
33601 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
33602         @$(MAKE) stagefeedback-start
33603         @r=`${PWD_COMMAND}`; export r; \
33604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33605         $(STAGE_HOST_EXPORTS)  \
33606         cd $(HOST_SUBDIR)/libcpp && \
33607         $(MAKE) $(FLAGS_TO_PASS)  \
33608                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33609                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33610
33611 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
33612 clean-stagefeedback-libcpp:
33613         @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
33614           || exit 0 ; \
33615         [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
33616         cd $(HOST_SUBDIR)/libcpp && \
33617         $(MAKE) $(FLAGS_TO_PASS)  \
33618                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33619                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33620 @endif libcpp-bootstrap
33621
33622
33623 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
33624 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
33625 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
33626
33627 maybe-configure-stagefeedback-libiberty:
33628 maybe-all-stagefeedback-libiberty:
33629 maybe-clean-stagefeedback-libiberty:
33630
33631 @if libiberty-bootstrap
33632 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
33633 configure-stagefeedback-libiberty:
33634         @$(MAKE) stagefeedback-start
33635         @[ -f libiberty/Makefile ] && exit 0 || : ; \
33636         r=`${PWD_COMMAND}`; export r; \
33637         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33638         $(STAGE_HOST_EXPORTS)  \
33639         echo Configuring stage feedback in libiberty ; \
33640         cd $(HOST_SUBDIR)/libiberty || exit 1; \
33641         case $(srcdir) in \
33642           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33643           *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
33644                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33645         esac; \
33646         srcdiroption="--srcdir=$${topdir}/libiberty"; \
33647         libsrcdir="$$s/libiberty"; \
33648         $(SHELL) $${libsrcdir}/configure \
33649           $(HOST_CONFIGARGS) $${srcdiroption} \
33650           @stage2_werror_flag@ 
33651
33652 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
33653 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
33654         @$(MAKE) stagefeedback-start
33655         @r=`${PWD_COMMAND}`; export r; \
33656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33657         $(STAGE_HOST_EXPORTS)  \
33658         cd $(HOST_SUBDIR)/libiberty && \
33659         $(MAKE) $(FLAGS_TO_PASS)  \
33660                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33661                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33662
33663 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
33664 clean-stagefeedback-libiberty:
33665         @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
33666           || exit 0 ; \
33667         [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
33668         cd $(HOST_SUBDIR)/libiberty && \
33669         $(MAKE) $(FLAGS_TO_PASS)  \
33670                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33671                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33672 @endif libiberty-bootstrap
33673
33674
33675 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
33676 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
33677 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
33678
33679 maybe-configure-stagefeedback-zlib:
33680 maybe-all-stagefeedback-zlib:
33681 maybe-clean-stagefeedback-zlib:
33682
33683 @if zlib-bootstrap
33684 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
33685 configure-stagefeedback-zlib:
33686         @$(MAKE) stagefeedback-start
33687         @[ -f zlib/Makefile ] && exit 0 || : ; \
33688         r=`${PWD_COMMAND}`; export r; \
33689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33690         $(STAGE_HOST_EXPORTS)  \
33691         echo Configuring stage feedback in zlib ; \
33692         cd $(HOST_SUBDIR)/zlib || exit 1; \
33693         case $(srcdir) in \
33694           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33695           *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33696                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33697         esac; \
33698         srcdiroption="--srcdir=$${topdir}/zlib"; \
33699         libsrcdir="$$s/zlib"; \
33700         $(SHELL) $${libsrcdir}/configure \
33701           $(HOST_CONFIGARGS) $${srcdiroption} \
33702           @stage2_werror_flag@ 
33703
33704 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
33705 all-stagefeedback-zlib: configure-stagefeedback-zlib
33706         @$(MAKE) stagefeedback-start
33707         @r=`${PWD_COMMAND}`; export r; \
33708         s=`cd $(srcdir); ${PWD_COMMAND}`; export s;  \
33709         $(STAGE_HOST_EXPORTS)  \
33710         cd $(HOST_SUBDIR)/zlib && \
33711         $(MAKE) $(FLAGS_TO_PASS)  \
33712                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33713                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" 
33714
33715 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
33716 clean-stagefeedback-zlib:
33717         @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
33718           || exit 0 ; \
33719         [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
33720         cd $(HOST_SUBDIR)/zlib && \
33721         $(MAKE) $(FLAGS_TO_PASS)  \
33722                 $(POSTSTAGE1_FLAGS_TO_PASS)  \
33723                 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"  clean
33724 @endif zlib-bootstrap
33725
33726
33727
33728 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33729 # only possibility, but now it conflicts with no-bootstrap rules
33730 @if gcc-bootstrap
33731
33732
33733
33734
33735 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33736 distclean-stage1:: distclean-stagefeedback 
33737 .PHONY: distclean-stagefeedback
33738 distclean-stagefeedback::
33739         [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33740         rm -rf stagefeedback-* 
33741
33742
33743 @endif gcc-bootstrap
33744
33745
33746
33747 stagefeedback-start::
33748         @r=`${PWD_COMMAND}`; export r; \
33749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33750         cd stageprofile-gcc && \
33751           { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
33752           { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
33753
33754 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33755 # only possibility, but now it conflicts with no-bootstrap rules
33756 @if gcc-bootstrap
33757 profiledbootstrap:
33758         @r=`${PWD_COMMAND}`; export r; \
33759         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33760         $(HOST_EXPORTS) \
33761         echo "Bootstrapping the compiler"; \
33762         $(MAKE) stageprofile-bubble distclean-stagefeedback
33763         @r=`${PWD_COMMAND}`; export r; \
33764         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33765         echo "Building runtime libraries and training compiler"; \
33766         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
33767         @r=`${PWD_COMMAND}`; export r; \
33768         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33769         $(HOST_EXPORTS) \
33770         echo "Building feedback based compiler"; \
33771         $(MAKE) stagefeedback-bubble stagefeedback-end
33772 @endif gcc-bootstrap
33773
33774 @if gcc-bootstrap
33775 NOTPARALLEL = .NOTPARALLEL
33776 $(NOTPARALLEL):
33777 do-distclean: distclean-stage1
33778 @endif gcc-bootstrap
33779
33780 # --------------------------------------
33781 # Dependencies between different modules
33782 # --------------------------------------
33783
33784 # Generic dependencies for target modules on host stuff, especially gcc
33785
33786 configure-target-libstdc++-v3: maybe-all-gcc
33787
33788 configure-target-libmudflap: maybe-all-gcc
33789
33790 configure-target-newlib: maybe-all-gcc
33791
33792 configure-target-libgfortran: maybe-all-gcc
33793
33794 configure-target-libobjc: maybe-all-gcc
33795
33796 configure-target-libtermcap: maybe-all-gcc
33797
33798 configure-target-winsup: maybe-all-gcc
33799
33800 configure-target-libgloss: maybe-all-gcc
33801
33802 configure-target-libiberty: maybe-all-gcc
33803
33804 configure-target-gperf: maybe-all-gcc
33805
33806 configure-target-examples: maybe-all-gcc
33807
33808 configure-target-libffi: maybe-all-gcc
33809
33810 configure-target-libjava: maybe-all-gcc
33811
33812 configure-target-zlib: maybe-all-gcc
33813
33814 configure-target-boehm-gc: maybe-all-gcc
33815
33816 configure-target-qthreads: maybe-all-gcc
33817
33818 configure-target-rda: maybe-all-gcc
33819
33820 configure-target-libada: maybe-all-gcc
33821
33822
33823
33824 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
33825
33826 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
33827 configure-target-gperf: maybe-all-target-libstdc++-v3
33828
33829 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
33830
33831 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
33832
33833 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
33834
33835 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
33836 configure-target-libjava: maybe-all-target-libstdc++-v3
33837
33838 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
33839
33840 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
33841
33842 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
33843
33844 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
33845
33846 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
33847
33848 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
33849
33850 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
33851
33852 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
33853
33854
33855 # There are two types of dependencies here: 'hard' dependencies, where one
33856 # module simply won't build without the other; and 'soft' dependencies, where
33857 # if the depended-on module is missing, the depending module will do without
33858 # or find a substitute somewhere (perhaps installed).  Soft dependencies
33859 # are made here to depend on a 'maybe-' target.  If you're not sure,
33860 # it's safer to use a soft dependency.
33861
33862
33863
33864
33865
33866 # With all the machinery above in place, it is pretty easy to generate
33867 # dependencies.  Host dependencies are a bit more complex because we have
33868 # to check for bootstrap/prebootstrap dependencies.  To resolve
33869 # prebootstrap dependencies, prebootstrap modules are gathered in
33870 # a hash table.
33871 all-build-bison: maybe-all-build-texinfo
33872 all-build-byacc: maybe-all-build-texinfo
33873 all-build-flex: maybe-all-build-texinfo
33874 all-build-flex: maybe-all-build-bison
33875 all-build-flex: maybe-all-build-byacc
33876 all-build-flex: maybe-all-build-m4
33877 all-build-libiberty: maybe-all-build-texinfo
33878 all-build-m4: maybe-all-build-texinfo
33879 all-build-fixincludes: maybe-all-build-libiberty
33880 configure-gcc: maybe-configure-intl
33881
33882 configure-stage1-gcc: maybe-configure-stage1-intl
33883 configure-stage2-gcc: maybe-configure-stage2-intl
33884 configure-stage3-gcc: maybe-configure-stage3-intl
33885 configure-stage4-gcc: maybe-configure-stage4-intl
33886 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
33887 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
33888 configure-gcc: maybe-configure-binutils
33889
33890 configure-stage1-gcc: maybe-configure-stage1-binutils
33891 configure-stage2-gcc: maybe-configure-stage2-binutils
33892 configure-stage3-gcc: maybe-configure-stage3-binutils
33893 configure-stage4-gcc: maybe-configure-stage4-binutils
33894 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
33895 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
33896 configure-gcc: maybe-configure-gas
33897
33898 configure-stage1-gcc: maybe-configure-stage1-gas
33899 configure-stage2-gcc: maybe-configure-stage2-gas
33900 configure-stage3-gcc: maybe-configure-stage3-gas
33901 configure-stage4-gcc: maybe-configure-stage4-gas
33902 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
33903 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
33904 configure-gcc: maybe-configure-ld
33905
33906 configure-stage1-gcc: maybe-configure-stage1-ld
33907 configure-stage2-gcc: maybe-configure-stage2-ld
33908 configure-stage3-gcc: maybe-configure-stage3-ld
33909 configure-stage4-gcc: maybe-configure-stage4-ld
33910 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
33911 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
33912 all-gcc: all-libiberty
33913
33914 all-stage1-gcc: all-stage1-libiberty
33915 all-stage2-gcc: all-stage2-libiberty
33916 all-stage3-gcc: all-stage3-libiberty
33917 all-stage4-gcc: all-stage4-libiberty
33918 all-stageprofile-gcc: all-stageprofile-libiberty
33919 all-stagefeedback-gcc: all-stagefeedback-libiberty
33920 all-gcc: maybe-all-intl
33921
33922 all-stage1-gcc: maybe-all-stage1-intl
33923 all-stage2-gcc: maybe-all-stage2-intl
33924 all-stage3-gcc: maybe-all-stage3-intl
33925 all-stage4-gcc: maybe-all-stage4-intl
33926 all-stageprofile-gcc: maybe-all-stageprofile-intl
33927 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
33928 all-gcc: maybe-all-build-texinfo
33929
33930 all-stage1-gcc: maybe-all-build-texinfo
33931 all-stage2-gcc: maybe-all-build-texinfo
33932 all-stage3-gcc: maybe-all-build-texinfo
33933 all-stage4-gcc: maybe-all-build-texinfo
33934 all-stageprofile-gcc: maybe-all-build-texinfo
33935 all-stagefeedback-gcc: maybe-all-build-texinfo
33936 all-prebootstrap: maybe-all-build-texinfo
33937 all-gcc: maybe-all-build-bison
33938
33939 all-stage1-gcc: maybe-all-build-bison
33940 all-stage2-gcc: maybe-all-build-bison
33941 all-stage3-gcc: maybe-all-build-bison
33942 all-stage4-gcc: maybe-all-build-bison
33943 all-stageprofile-gcc: maybe-all-build-bison
33944 all-stagefeedback-gcc: maybe-all-build-bison
33945 all-prebootstrap: maybe-all-build-bison
33946 all-gcc: maybe-all-build-byacc
33947
33948 all-stage1-gcc: maybe-all-build-byacc
33949 all-stage2-gcc: maybe-all-build-byacc
33950 all-stage3-gcc: maybe-all-build-byacc
33951 all-stage4-gcc: maybe-all-build-byacc
33952 all-stageprofile-gcc: maybe-all-build-byacc
33953 all-stagefeedback-gcc: maybe-all-build-byacc
33954 all-prebootstrap: maybe-all-build-byacc
33955 all-gcc: maybe-all-build-flex
33956
33957 all-stage1-gcc: maybe-all-build-flex
33958 all-stage2-gcc: maybe-all-build-flex
33959 all-stage3-gcc: maybe-all-build-flex
33960 all-stage4-gcc: maybe-all-build-flex
33961 all-stageprofile-gcc: maybe-all-build-flex
33962 all-stagefeedback-gcc: maybe-all-build-flex
33963 all-prebootstrap: maybe-all-build-flex
33964 all-gcc: maybe-all-build-libiberty
33965
33966 all-stage1-gcc: maybe-all-build-libiberty
33967 all-stage2-gcc: maybe-all-build-libiberty
33968 all-stage3-gcc: maybe-all-build-libiberty
33969 all-stage4-gcc: maybe-all-build-libiberty
33970 all-stageprofile-gcc: maybe-all-build-libiberty
33971 all-stagefeedback-gcc: maybe-all-build-libiberty
33972 all-prebootstrap: maybe-all-build-libiberty
33973 all-gcc: maybe-all-build-fixincludes
33974
33975 all-stage1-gcc: maybe-all-build-fixincludes
33976 all-stage2-gcc: maybe-all-build-fixincludes
33977 all-stage3-gcc: maybe-all-build-fixincludes
33978 all-stage4-gcc: maybe-all-build-fixincludes
33979 all-stageprofile-gcc: maybe-all-build-fixincludes
33980 all-stagefeedback-gcc: maybe-all-build-fixincludes
33981 all-prebootstrap: maybe-all-build-fixincludes
33982 all-gcc: maybe-all-binutils
33983
33984 all-stage1-gcc: maybe-all-stage1-binutils
33985 all-stage2-gcc: maybe-all-stage2-binutils
33986 all-stage3-gcc: maybe-all-stage3-binutils
33987 all-stage4-gcc: maybe-all-stage4-binutils
33988 all-stageprofile-gcc: maybe-all-stageprofile-binutils
33989 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
33990 all-gcc: maybe-all-gas
33991
33992 all-stage1-gcc: maybe-all-stage1-gas
33993 all-stage2-gcc: maybe-all-stage2-gas
33994 all-stage3-gcc: maybe-all-stage3-gas
33995 all-stage4-gcc: maybe-all-stage4-gas
33996 all-stageprofile-gcc: maybe-all-stageprofile-gas
33997 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
33998 all-gcc: maybe-all-ld
33999
34000 all-stage1-gcc: maybe-all-stage1-ld
34001 all-stage2-gcc: maybe-all-stage2-ld
34002 all-stage3-gcc: maybe-all-stage3-ld
34003 all-stage4-gcc: maybe-all-stage4-ld
34004 all-stageprofile-gcc: maybe-all-stageprofile-ld
34005 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
34006 all-gcc: maybe-all-zlib
34007
34008 all-stage1-gcc: maybe-all-stage1-zlib
34009 all-stage2-gcc: maybe-all-stage2-zlib
34010 all-stage3-gcc: maybe-all-stage3-zlib
34011 all-stage4-gcc: maybe-all-stage4-zlib
34012 all-stageprofile-gcc: maybe-all-stageprofile-zlib
34013 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
34014 all-gcc: all-libcpp
34015
34016 all-stage1-gcc: all-stage1-libcpp
34017 all-stage2-gcc: all-stage2-libcpp
34018 all-stage3-gcc: all-stage3-libcpp
34019 all-stage4-gcc: all-stage4-libcpp
34020 all-stageprofile-gcc: all-stageprofile-libcpp
34021 all-stagefeedback-gcc: all-stagefeedback-libcpp
34022 all-gcc: maybe-all-libiberty
34023
34024 all-stage1-gcc: maybe-all-stage1-libiberty
34025 all-stage2-gcc: maybe-all-stage2-libiberty
34026 all-stage3-gcc: maybe-all-stage3-libiberty
34027 all-stage4-gcc: maybe-all-stage4-libiberty
34028 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
34029 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
34030 all-gcc: maybe-all-fixincludes
34031 install-gcc: maybe-install-fixincludes
34032 configure-libcpp: configure-libiberty
34033
34034 configure-stage1-libcpp: configure-stage1-libiberty
34035 configure-stage2-libcpp: configure-stage2-libiberty
34036 configure-stage3-libcpp: configure-stage3-libiberty
34037 configure-stage4-libcpp: configure-stage4-libiberty
34038 configure-stageprofile-libcpp: configure-stageprofile-libiberty
34039 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
34040 configure-libcpp: maybe-configure-intl
34041
34042 configure-stage1-libcpp: maybe-configure-stage1-intl
34043 configure-stage2-libcpp: maybe-configure-stage2-intl
34044 configure-stage3-libcpp: maybe-configure-stage3-intl
34045 configure-stage4-libcpp: maybe-configure-stage4-intl
34046 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
34047 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
34048 all-libcpp: all-libiberty
34049
34050 all-stage1-libcpp: all-stage1-libiberty
34051 all-stage2-libcpp: all-stage2-libiberty
34052 all-stage3-libcpp: all-stage3-libiberty
34053 all-stage4-libcpp: all-stage4-libiberty
34054 all-stageprofile-libcpp: all-stageprofile-libiberty
34055 all-stagefeedback-libcpp: all-stagefeedback-libiberty
34056 all-libcpp: maybe-all-intl
34057
34058 all-stage1-libcpp: maybe-all-stage1-intl
34059 all-stage2-libcpp: maybe-all-stage2-intl
34060 all-stage3-libcpp: maybe-all-stage3-intl
34061 all-stage4-libcpp: maybe-all-stage4-intl
34062 all-stageprofile-libcpp: maybe-all-stageprofile-intl
34063 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
34064 all-fixincludes: maybe-all-libiberty
34065 all-gnattools: maybe-all-target-libada
34066 configure-gdb: maybe-configure-itcl
34067 configure-gdb: maybe-configure-tcl
34068 configure-gdb: maybe-configure-tk
34069 configure-gdb: maybe-configure-sim
34070 all-gdb: maybe-all-libiberty
34071 all-gdb: maybe-all-opcodes
34072 all-gdb: maybe-all-bfd
34073 all-gdb: maybe-all-readline
34074 all-gdb: maybe-all-build-bison
34075 all-gdb: maybe-all-build-byacc
34076 all-gdb: maybe-all-sim
34077 install-gdb: maybe-install-tcl
34078 install-gdb: maybe-install-tk
34079 install-gdb: maybe-install-itcl
34080 install-gdb: maybe-install-libgui
34081 configure-libgui: maybe-configure-tcl
34082 configure-libgui: maybe-configure-tk
34083 all-libgui: maybe-all-tcl
34084 all-libgui: maybe-all-tk
34085 all-libgui: maybe-all-itcl
34086 configure-bfd: configure-libiberty
34087
34088 configure-stage1-bfd: configure-stage1-libiberty
34089 configure-stage2-bfd: configure-stage2-libiberty
34090 configure-stage3-bfd: configure-stage3-libiberty
34091 configure-stage4-bfd: configure-stage4-libiberty
34092 configure-stageprofile-bfd: configure-stageprofile-libiberty
34093 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
34094 all-bfd: maybe-all-libiberty
34095
34096 all-stage1-bfd: maybe-all-stage1-libiberty
34097 all-stage2-bfd: maybe-all-stage2-libiberty
34098 all-stage3-bfd: maybe-all-stage3-libiberty
34099 all-stage4-bfd: maybe-all-stage4-libiberty
34100 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
34101 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
34102 all-bfd: maybe-all-intl
34103
34104 all-stage1-bfd: maybe-all-stage1-intl
34105 all-stage2-bfd: maybe-all-stage2-intl
34106 all-stage3-bfd: maybe-all-stage3-intl
34107 all-stage4-bfd: maybe-all-stage4-intl
34108 all-stageprofile-bfd: maybe-all-stageprofile-intl
34109 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
34110 all-binutils: maybe-all-libiberty
34111
34112 all-stage1-binutils: maybe-all-stage1-libiberty
34113 all-stage2-binutils: maybe-all-stage2-libiberty
34114 all-stage3-binutils: maybe-all-stage3-libiberty
34115 all-stage4-binutils: maybe-all-stage4-libiberty
34116 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
34117 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
34118 all-binutils: maybe-all-opcodes
34119
34120 all-stage1-binutils: maybe-all-stage1-opcodes
34121 all-stage2-binutils: maybe-all-stage2-opcodes
34122 all-stage3-binutils: maybe-all-stage3-opcodes
34123 all-stage4-binutils: maybe-all-stage4-opcodes
34124 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
34125 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
34126 all-binutils: maybe-all-bfd
34127
34128 all-stage1-binutils: maybe-all-stage1-bfd
34129 all-stage2-binutils: maybe-all-stage2-bfd
34130 all-stage3-binutils: maybe-all-stage3-bfd
34131 all-stage4-binutils: maybe-all-stage4-bfd
34132 all-stageprofile-binutils: maybe-all-stageprofile-bfd
34133 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
34134 all-binutils: maybe-all-build-flex
34135
34136 all-stage1-binutils: maybe-all-build-flex
34137 all-stage2-binutils: maybe-all-build-flex
34138 all-stage3-binutils: maybe-all-build-flex
34139 all-stage4-binutils: maybe-all-build-flex
34140 all-stageprofile-binutils: maybe-all-build-flex
34141 all-stagefeedback-binutils: maybe-all-build-flex
34142 all-prebootstrap: maybe-all-build-flex
34143 all-binutils: maybe-all-build-bison
34144
34145 all-stage1-binutils: maybe-all-build-bison
34146 all-stage2-binutils: maybe-all-build-bison
34147 all-stage3-binutils: maybe-all-build-bison
34148 all-stage4-binutils: maybe-all-build-bison
34149 all-stageprofile-binutils: maybe-all-build-bison
34150 all-stagefeedback-binutils: maybe-all-build-bison
34151 all-prebootstrap: maybe-all-build-bison
34152 all-binutils: maybe-all-build-byacc
34153
34154 all-stage1-binutils: maybe-all-build-byacc
34155 all-stage2-binutils: maybe-all-build-byacc
34156 all-stage3-binutils: maybe-all-build-byacc
34157 all-stage4-binutils: maybe-all-build-byacc
34158 all-stageprofile-binutils: maybe-all-build-byacc
34159 all-stagefeedback-binutils: maybe-all-build-byacc
34160 all-prebootstrap: maybe-all-build-byacc
34161 all-binutils: maybe-all-intl
34162
34163 all-stage1-binutils: maybe-all-stage1-intl
34164 all-stage2-binutils: maybe-all-stage2-intl
34165 all-stage3-binutils: maybe-all-stage3-intl
34166 all-stage4-binutils: maybe-all-stage4-intl
34167 all-stageprofile-binutils: maybe-all-stageprofile-intl
34168 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
34169 install-binutils: maybe-install-opcodes
34170 install-opcodes: maybe-install-bfd
34171 all-gas: maybe-all-libiberty
34172
34173 all-stage1-gas: maybe-all-stage1-libiberty
34174 all-stage2-gas: maybe-all-stage2-libiberty
34175 all-stage3-gas: maybe-all-stage3-libiberty
34176 all-stage4-gas: maybe-all-stage4-libiberty
34177 all-stageprofile-gas: maybe-all-stageprofile-libiberty
34178 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
34179 all-gas: maybe-all-opcodes
34180
34181 all-stage1-gas: maybe-all-stage1-opcodes
34182 all-stage2-gas: maybe-all-stage2-opcodes
34183 all-stage3-gas: maybe-all-stage3-opcodes
34184 all-stage4-gas: maybe-all-stage4-opcodes
34185 all-stageprofile-gas: maybe-all-stageprofile-opcodes
34186 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
34187 all-gas: maybe-all-bfd
34188
34189 all-stage1-gas: maybe-all-stage1-bfd
34190 all-stage2-gas: maybe-all-stage2-bfd
34191 all-stage3-gas: maybe-all-stage3-bfd
34192 all-stage4-gas: maybe-all-stage4-bfd
34193 all-stageprofile-gas: maybe-all-stageprofile-bfd
34194 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
34195 all-gas: maybe-all-intl
34196
34197 all-stage1-gas: maybe-all-stage1-intl
34198 all-stage2-gas: maybe-all-stage2-intl
34199 all-stage3-gas: maybe-all-stage3-intl
34200 all-stage4-gas: maybe-all-stage4-intl
34201 all-stageprofile-gas: maybe-all-stageprofile-intl
34202 all-stagefeedback-gas: maybe-all-stagefeedback-intl
34203 all-gprof: maybe-all-libiberty
34204 all-gprof: maybe-all-bfd
34205 all-gprof: maybe-all-opcodes
34206 all-gprof: maybe-all-intl
34207 all-ld: maybe-all-libiberty
34208
34209 all-stage1-ld: maybe-all-stage1-libiberty
34210 all-stage2-ld: maybe-all-stage2-libiberty
34211 all-stage3-ld: maybe-all-stage3-libiberty
34212 all-stage4-ld: maybe-all-stage4-libiberty
34213 all-stageprofile-ld: maybe-all-stageprofile-libiberty
34214 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
34215 all-ld: maybe-all-bfd
34216
34217 all-stage1-ld: maybe-all-stage1-bfd
34218 all-stage2-ld: maybe-all-stage2-bfd
34219 all-stage3-ld: maybe-all-stage3-bfd
34220 all-stage4-ld: maybe-all-stage4-bfd
34221 all-stageprofile-ld: maybe-all-stageprofile-bfd
34222 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
34223 all-ld: maybe-all-opcodes
34224
34225 all-stage1-ld: maybe-all-stage1-opcodes
34226 all-stage2-ld: maybe-all-stage2-opcodes
34227 all-stage3-ld: maybe-all-stage3-opcodes
34228 all-stage4-ld: maybe-all-stage4-opcodes
34229 all-stageprofile-ld: maybe-all-stageprofile-opcodes
34230 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
34231 all-ld: maybe-all-build-bison
34232
34233 all-stage1-ld: maybe-all-build-bison
34234 all-stage2-ld: maybe-all-build-bison
34235 all-stage3-ld: maybe-all-build-bison
34236 all-stage4-ld: maybe-all-build-bison
34237 all-stageprofile-ld: maybe-all-build-bison
34238 all-stagefeedback-ld: maybe-all-build-bison
34239 all-prebootstrap: maybe-all-build-bison
34240 all-ld: maybe-all-build-byacc
34241
34242 all-stage1-ld: maybe-all-build-byacc
34243 all-stage2-ld: maybe-all-build-byacc
34244 all-stage3-ld: maybe-all-build-byacc
34245 all-stage4-ld: maybe-all-build-byacc
34246 all-stageprofile-ld: maybe-all-build-byacc
34247 all-stagefeedback-ld: maybe-all-build-byacc
34248 all-prebootstrap: maybe-all-build-byacc
34249 all-ld: maybe-all-build-flex
34250
34251 all-stage1-ld: maybe-all-build-flex
34252 all-stage2-ld: maybe-all-build-flex
34253 all-stage3-ld: maybe-all-build-flex
34254 all-stage4-ld: maybe-all-build-flex
34255 all-stageprofile-ld: maybe-all-build-flex
34256 all-stagefeedback-ld: maybe-all-build-flex
34257 all-prebootstrap: maybe-all-build-flex
34258 all-ld: maybe-all-intl
34259
34260 all-stage1-ld: maybe-all-stage1-intl
34261 all-stage2-ld: maybe-all-stage2-intl
34262 all-stage3-ld: maybe-all-stage3-intl
34263 all-stage4-ld: maybe-all-stage4-intl
34264 all-stageprofile-ld: maybe-all-stageprofile-intl
34265 all-stagefeedback-ld: maybe-all-stagefeedback-intl
34266 all-opcodes: maybe-all-bfd
34267
34268 all-stage1-opcodes: maybe-all-stage1-bfd
34269 all-stage2-opcodes: maybe-all-stage2-bfd
34270 all-stage3-opcodes: maybe-all-stage3-bfd
34271 all-stage4-opcodes: maybe-all-stage4-bfd
34272 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
34273 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
34274 all-opcodes: maybe-all-libiberty
34275
34276 all-stage1-opcodes: maybe-all-stage1-libiberty
34277 all-stage2-opcodes: maybe-all-stage2-libiberty
34278 all-stage3-opcodes: maybe-all-stage3-libiberty
34279 all-stage4-opcodes: maybe-all-stage4-libiberty
34280 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
34281 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
34282 all-dejagnu: maybe-all-tcl
34283 all-dejagnu: maybe-all-expect
34284 all-dejagnu: maybe-all-tk
34285 configure-expect: maybe-configure-tcl
34286 configure-expect: maybe-configure-tk
34287 all-expect: maybe-all-tcl
34288 all-expect: maybe-all-tk
34289 configure-itcl: maybe-configure-tcl
34290 configure-itcl: maybe-configure-tk
34291 all-itcl: maybe-all-tcl
34292 all-itcl: maybe-all-tk
34293 install-itcl: maybe-install-tcl
34294 configure-tk: maybe-configure-tcl
34295 all-tk: maybe-all-tcl
34296 all-sid: maybe-all-libiberty
34297 all-sid: maybe-all-bfd
34298 all-sid: maybe-all-opcodes
34299 all-sid: maybe-all-tcl
34300 all-sid: maybe-all-tk
34301 install-sid: maybe-install-tcl
34302 install-sid: maybe-install-tk
34303 all-sim: maybe-all-libiberty
34304 all-sim: maybe-all-bfd
34305 all-sim: maybe-all-opcodes
34306 all-sim: maybe-all-readline
34307 all-sim: maybe-configure-gdb
34308 all-fastjar: maybe-all-zlib
34309 all-fastjar: maybe-all-build-texinfo
34310 all-fastjar: maybe-all-libiberty
34311 all-autoconf: maybe-all-m4
34312 all-autoconf: maybe-all-build-texinfo
34313 all-automake: maybe-all-m4
34314 all-automake: maybe-all-build-texinfo
34315 all-automake: maybe-all-autoconf
34316 all-bison: maybe-all-intl
34317 all-bison: maybe-all-build-texinfo
34318 all-diff: maybe-all-intl
34319 all-diff: maybe-all-build-texinfo
34320 all-fileutils: maybe-all-intl
34321 all-fileutils: maybe-all-build-texinfo
34322 all-flex: maybe-all-build-bison
34323 all-flex: maybe-all-build-byacc
34324 all-flex: maybe-all-intl
34325 all-flex: maybe-all-m4
34326 all-flex: maybe-all-build-texinfo
34327 all-gzip: maybe-all-intl
34328 all-gzip: maybe-all-zlib
34329 all-gzip: maybe-all-build-texinfo
34330 all-hello: maybe-all-intl
34331 all-hello: maybe-all-build-texinfo
34332 all-m4: maybe-all-intl
34333 all-m4: maybe-all-build-texinfo
34334 all-make: maybe-all-intl
34335 all-make: maybe-all-build-texinfo
34336 all-patch: maybe-all-build-texinfo
34337 all-make: maybe-all-build-texinfo
34338 all-prms: maybe-all-libiberty
34339 all-recode: maybe-all-build-texinfo
34340 all-sed: maybe-all-build-texinfo
34341 all-send-pr: maybe-all-prms
34342 all-tar: maybe-all-build-texinfo
34343 all-uudecode: maybe-all-build-texinfo
34344 configure-target-boehm-gc: maybe-configure-target-qthreads
34345 configure-target-fastjar: maybe-configure-target-zlib
34346 all-target-fastjar: maybe-all-target-zlib
34347 all-target-fastjar: maybe-all-target-libiberty
34348 configure-target-libjava: maybe-configure-target-zlib
34349 configure-target-libjava: maybe-configure-target-boehm-gc
34350 configure-target-libjava: maybe-configure-target-qthreads
34351 configure-target-libjava: maybe-configure-target-libffi
34352 all-target-libjava: maybe-all-fastjar
34353 all-target-libjava: maybe-all-target-zlib
34354 all-target-libjava: maybe-all-target-boehm-gc
34355 all-target-libjava: maybe-all-target-qthreads
34356 all-target-libjava: maybe-all-target-libffi
34357 all-target-libobjc: maybe-all-target-libiberty
34358 all-target-libstdc++-v3: maybe-all-target-libiberty
34359 all-target-libgloss: maybe-configure-target-newlib
34360 all-target-winsup: maybe-all-target-libiberty
34361 all-target-winsup: maybe-all-target-libtermcap
34362
34363
34364 # Non-toplevel bootstrap rules must depend on several packages, to be built
34365 # before gcc.  Another wart that will go away, hopefully soon.
34366 @if gcc-no-bootstrap
34367
34368 all-prebootstrap: maybe-all-bfd
34369 all-prebootstrap: maybe-all-opcodes
34370 all-prebootstrap: maybe-all-binutils
34371 all-prebootstrap: maybe-all-gas
34372 all-prebootstrap: maybe-all-intl
34373 all-prebootstrap: maybe-all-ld
34374 all-prebootstrap: maybe-all-libcpp
34375 all-prebootstrap: maybe-all-libiberty
34376 all-prebootstrap: maybe-all-zlib
34377 @endif gcc-no-bootstrap
34378
34379 GDB_TK = @GDB_TK@
34380 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
34381
34382 # Serialization dependencies.  Host configures don't work well in parallel to
34383 # each other, due to contention over config.cache.  Target configures and 
34384 # build configures are similar.
34385 @serialization_dependencies@
34386
34387 # --------------------------------
34388 # Regenerating top level configury
34389 # --------------------------------
34390
34391 # Multilib.out tells target dirs what multilibs they should build.
34392 # There is really only one copy.  We use the 'timestamp' method to
34393 # work around various timestamp bugs on some systems.
34394 # We use move-if-change so that it's only considered updated when it
34395 # actually changes, because it has to depend on a phony target.
34396 multilib.out: maybe-all-gcc
34397         @r=`${PWD_COMMAND}`; export r; \
34398         echo "Checking multilib configuration..."; \
34399         $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
34400         $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
34401
34402 # Rebuilding Makefile.in, using autogen.
34403 AUTOGEN = autogen
34404 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
34405         cd $(srcdir) && $(AUTOGEN) Makefile.def
34406
34407 # Rebuilding Makefile.
34408 Makefile: $(srcdir)/Makefile.in config.status
34409         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
34410
34411 config.status: configure
34412         CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
34413
34414 # Rebuilding configure.
34415 AUTOCONF = autoconf
34416 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
34417         cd $(srcdir) && $(AUTOCONF)
34418
34419 # ------------------------------
34420 # Special directives to GNU Make
34421 # ------------------------------
34422
34423 # Don't pass command-line variables to submakes.
34424 .NOEXPORT:
34425 MAKEOVERRIDES=
34426
34427 # end of Makefile.in