Allocate regset structures in the gdbarch's obstack, not using
[platform/upstream/binutils.git] / Makefile.in
1
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
3 #
4 # Makefile for directory with subdirs to build.
5 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 #   1999, 2000, 2001, 2002, 2003 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
69 # -------------------------------------------------
70 # Miscellaneous non-standard autoconf-set variables
71 # -------------------------------------------------
72
73 # The file containing GCC's version number.
74 gcc_version_trigger = @gcc_version_trigger@
75 gcc_version = @gcc_version@
76
77 # The gcc driver likes to know the arguments it was configured with.
78 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
79
80 gxx_include_dir = @gxx_include_dir@
81 libstdcxx_incdir = @libstdcxx_incdir@
82
83 tooldir = @tooldir@
84 build_tooldir = @build_tooldir@
85
86 # Directory in which the compiler finds executables, libraries, etc.
87 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
88 GDB_NLM_DEPS = 
89
90 # This is the name of the environment variable used for the path to
91 # the libraries.
92 RPATH_ENVVAR = @RPATH_ENVVAR@
93
94 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
95 # was used.
96 SET_LIB_PATH = @SET_LIB_PATH@
97
98 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
99 # Some platforms don't like blank entries, so we remove duplicate,
100 # leading and trailing colons.
101 REALLY_SET_LIB_PATH = \
102   $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
103
104 # This is the list of directories to be built for the build system.
105 BUILD_CONFIGDIRS = libiberty libbanshee
106 # Build programs are put under this directory.
107 BUILD_SUBDIR = @build_subdir@
108 # This is set by the configure script to the arguments to use when configuring
109 # directories built for the build system.
110 BUILD_CONFIGARGS = @build_configargs@
111
112 # This is the list of directories to built for the host system.
113 SUBDIRS = @configdirs@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the host system.
116 HOST_CONFIGARGS = @host_configargs@
117
118 # This is set by the configure script to the list of directories which
119 # should be built using the target tools.
120 TARGET_CONFIGDIRS = @target_configdirs@
121 # Target libraries are put under this directory:
122 TARGET_SUBDIR = @target_subdir@
123 # This is set by the configure script to the arguments to use when configuring
124 # directories built for the target.
125 TARGET_CONFIGARGS = @target_configargs@
126
127 # Where to find GMP
128 HOST_GMPLIBS = @gmplibs@
129 HOST_GMPINC = @gmpinc@
130
131 # ----------------------------------------------
132 # Programs producing files for the BUILD machine
133 # ----------------------------------------------
134
135 SHELL = @config_shell@
136
137 # pwd command to use.  Allow user to override default by setting PWDCMD in
138 # the environment to account for automounters.  The make variable must not
139 # be called PWDCMD, otherwise the value set here is passed to make
140 # subprocesses and overrides the setting from the user's environment.
141 # Don't use PWD since it is a common shell environment variable and we
142 # don't want to corrupt it.
143 PWD_COMMAND = $${PWDCMD-pwd}
144
145 # compilers to use to create programs which must be run in the build
146 # environment.
147 CC_FOR_BUILD = @CC_FOR_BUILD@
148 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
149
150 CXX_FOR_BUILD = $(CXX)
151
152 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
153 # here so that they can be overridden by Makefile fragments.
154 BUILD_PREFIX = @BUILD_PREFIX@
155 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
156
157 BISON=@BISON@
158 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
159             echo $$r/bison/bison -L $$s/bison/ ; \
160          else \
161             echo bison ; \
162          fi`
163
164 DEFAULT_YACC = @DEFAULT_YACC@
165 YACC=@YACC@
166 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
167             echo $$r/bison/bison -y -L $$s/bison/ ; \
168         elif [ -f $$r/byacc/byacc ] ; then \
169             echo $$r/byacc/byacc ; \
170         else \
171             echo ${DEFAULT_YACC} ; \
172         fi`
173
174 DEFAULT_LEX = @DEFAULT_LEX@
175 LEX=@LEX@
176 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
177         then echo $$r/flex/flex ; \
178         else echo ${DEFAULT_LEX} ; fi`
179
180 DEFAULT_M4 = @DEFAULT_M4@
181 M4 = `if [ -f $$r/m4/m4 ] ; \
182         then echo $$r/m4/m4 ; \
183         else echo ${DEFAULT_M4} ; fi`
184
185 # For an installed makeinfo, we require it to be from texinfo 4.2 or
186 # higher, else we use the "missing" dummy.
187 MAKEINFO=@MAKEINFO@
188 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
189         then echo $$r/texinfo/makeinfo/makeinfo ; \
190         else if (makeinfo --version \
191           | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
192         then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
193
194 # This just becomes part of the MAKEINFO definition passed down to
195 # sub-makes.  It lets flags be given on the command line while still
196 # using the makeinfo from the object tree.
197 # (Default to avoid splitting info files by setting the threshold high.)
198 MAKEINFOFLAGS = --split-size=5000000
199
200 EXPECT = `if [ -f $$r/expect/expect ] ; \
201         then echo $$r/expect/expect ; \
202         else echo expect ; fi`
203
204 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
205         then echo $$s/dejagnu/runtest ; \
206         else echo runtest ; fi`
207
208 # ---------------------------------------------
209 # Programs producing files for the HOST machine
210 # ---------------------------------------------
211
212 # This is the list of directories that may be needed in RPATH_ENVVAR
213 # so that programs built for the host machine work.
214 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
215
216 AS = @AS@
217
218 AR = @AR@
219 AR_FLAGS = rc
220
221 CC = @CC@
222 CFLAGS = @CFLAGS@
223 LIBCFLAGS = $(CFLAGS)
224
225 CXX = @CXX@
226 CXXFLAGS = @CXXFLAGS@
227 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
228
229 DLLTOOL = @DLLTOOL@
230
231 NM = @NM@
232
233 LD = @LD@
234 LDFLAGS = 
235
236 RANLIB = @RANLIB@
237
238 WINDRES = @WINDRES@
239
240 PICFLAG = 
241
242 # -----------------------------------------------
243 # Programs producing files for the TARGET machine
244 # -----------------------------------------------
245
246 # This is the list of directories that may be needed in RPATH_ENVVAR
247 # so that prorgams built for the target machine work.
248 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
249
250 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
251
252 AR_FOR_TARGET=@AR_FOR_TARGET@
253 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
254 USUAL_AR_FOR_TARGET = ` \
255   if [ -f $$r/binutils/ar ] ; then \
256     echo $$r/binutils/ar ; \
257   else \
258     if [ '$(host)' = '$(target)' ] ; then \
259       echo $(AR); \
260     else \
261       echo $(CONFIGURED_AR_FOR_TARGET) ; \
262     fi; \
263   fi`
264
265 AS_FOR_TARGET=@AS_FOR_TARGET@
266 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
267 USUAL_AS_FOR_TARGET = ` \
268   if [ -f $$r/gas/as-new ] ; then \
269     echo $$r/gas/as-new ; \
270   elif [ -f $$r/gcc/xgcc ]; then \
271     $(CC_FOR_TARGET) -print-prog-name=as ; \
272   else \
273     if [ '$(host)' = '$(target)' ] ; then \
274       echo $(AS); \
275     else \
276       echo $(CONFIGURED_AS_FOR_TARGET) ; \
277     fi; \
278   fi`
279
280 CC_FOR_TARGET = @CC_FOR_TARGET@
281 # During gcc bootstrap, if we use some random cc for stage1 then
282 # CFLAGS will be just -g.  We want to ensure that TARGET libraries
283 # (which we know are built with gcc) are built with optimizations so
284 # prepend -O2 when setting CFLAGS_FOR_TARGET.
285 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
286 # If GCC_FOR_TARGET is not overriden on the command line, then this
287 # variable is passed down to the gcc Makefile, where it is used to
288 # build libgcc2.a.  We define it here so that it can itself be
289 # overridden on the command line.
290 GCC_FOR_TARGET=@GCC_FOR_TARGET@
291 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
292 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
293
294 CXX_FOR_TARGET = @CXX_FOR_TARGET@
295 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
296 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
297 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
298 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
299 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
300
301 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
302 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
303 USUAL_DLLTOOL_FOR_TARGET = ` \
304   if [ -f $$r/binutils/dlltool ] ; then \
305     echo $$r/binutils/dlltool ; \
306   else \
307     if [ '$(host)' = '$(target)' ] ; then \
308       echo $(DLLTOOL); \
309     else \
310       echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
311     fi; \
312   fi`
313
314 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
315 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
316
317 LD_FOR_TARGET=@LD_FOR_TARGET@
318 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
319 USUAL_LD_FOR_TARGET = ` \
320   if [ -f $$r/ld/ld-new ] ; then \
321     echo $$r/ld/ld-new ; \
322   elif [ -f $$r/gcc/xgcc ]; then \
323     $(CC_FOR_TARGET) -print-prog-name=ld ; \
324   else \
325     if [ '$(host)' = '$(target)' ] ; then \
326       echo $(LD); \
327     else \
328       echo $(CONFIGURED_LD_FOR_TARGET) ; \
329     fi; \
330   fi`
331
332 LDFLAGS_FOR_TARGET = 
333
334 NM_FOR_TARGET=@NM_FOR_TARGET@
335 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
336 USUAL_NM_FOR_TARGET = ` \
337   if [ -f $$r/binutils/nm-new ] ; then \
338     echo $$r/binutils/nm-new ; \
339   elif [ -f $$r/gcc/xgcc ]; then \
340     $(CC_FOR_TARGET) -print-prog-name=nm ; \
341   else \
342     if [ '$(host)' = '$(target)' ] ; then \
343       echo $(NM); \
344     else \
345       echo $(CONFIGURED_NM_FOR_TARGET) ; \
346     fi; \
347   fi`
348
349 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
350 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
351 USUAL_RANLIB_FOR_TARGET = ` \
352   if [ -f $$r/binutils/ranlib ] ; then \
353     echo $$r/binutils/ranlib ; \
354   else \
355     if [ '$(host)' = '$(target)' ] ; then \
356       if [ x'$(RANLIB)' != x ]; then \
357          echo $(RANLIB); \
358       else \
359          echo ranlib; \
360       fi; \
361     else \
362       echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
363     fi; \
364   fi`
365
366 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
367 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
368 USUAL_WINDRES_FOR_TARGET = ` \
369   if [ -f $$r/binutils/windres ] ; then \
370     echo $$r/binutils/windres ; \
371   else \
372     if [ '$(host)' = '$(target)' ] ; then \
373       echo $(WINDRES); \
374     else \
375       echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
376     fi; \
377   fi`
378
379 PICFLAG_FOR_TARGET = 
380
381 # ------------------------------------
382 # Miscellaneous targets and flag lists
383 # ------------------------------------
384
385 # The first rule in the file had better be this one.  Don't put any above it.
386 # This lives here to allow makefile fragments to contain dependencies.
387 all: all.normal
388 .PHONY: all
389
390 #### host and target specific makefile fragments come in here.
391 @target_makefile_frag@
392 @alphaieee_frag@
393 @ospace_frag@
394 @host_makefile_frag@
395 ###
396
397 # Flags to pass down to all sub-makes.
398 BASE_FLAGS_TO_PASS = \
399         "DESTDIR=$(DESTDIR)" \
400         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
401         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
402         "bindir=$(bindir)" \
403         "datadir=$(datadir)" \
404         "exec_prefix=$(exec_prefix)" \
405         "includedir=$(includedir)" \
406         "infodir=$(infodir)" \
407         "libdir=$(libdir)" \
408         "libexecdir=$(libexecdir)" \
409         "lispdir=$(lispdir)" \
410         "libstdcxx_incdir=$(libstdcxx_incdir)" \
411         "libsubdir=$(libsubdir)" \
412         "localstatedir=$(localstatedir)" \
413         "mandir=$(mandir)" \
414         "oldincludedir=$(oldincludedir)" \
415         "prefix=$(prefix)" \
416         "sbindir=$(sbindir)" \
417         "sharedstatedir=$(sharedstatedir)" \
418         "sysconfdir=$(sysconfdir)" \
419         "tooldir=$(tooldir)" \
420         "build_tooldir=$(build_tooldir)" \
421         "gxx_include_dir=$(gxx_include_dir)" \
422         "gcc_version=$(gcc_version)" \
423         "gcc_version_trigger=$(gcc_version_trigger)" \
424         "target_alias=$(target_alias)" \
425         "BISON=$(BISON)" \
426         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
427         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
428         "EXPECT=$(EXPECT)" \
429         "INSTALL=$(INSTALL)" \
430         "INSTALL_DATA=$(INSTALL_DATA)" \
431         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
432         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
433         "LEX=$(LEX)" \
434         "M4=$(M4)" \
435         "MAKE=$(MAKE)" \
436         "RUNTEST=$(RUNTEST)" \
437         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
438         "SHELL=$(SHELL)" \
439         "YACC=$(YACC)" \
440         "AR_FLAGS=$(AR_FLAGS)" \
441         "CFLAGS=$(CFLAGS)" \
442         "CXXFLAGS=$(CXXFLAGS)" \
443         "LDFLAGS=$(LDFLAGS)" \
444         "LIBCFLAGS=$(LIBCFLAGS)" \
445         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
446         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
447         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
448         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
449         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
450         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
451         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
452         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
453         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
454         "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
455         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
456         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
457         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
458         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
459         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
460         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
461         "CONFIG_SHELL=$(SHELL)" \
462         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
463
464 # For any flags above that may contain shell code that varies from one
465 # target library to another.  When doing recursive invocations of the
466 # top-level Makefile, we don't want the outer make to evaluate them,
467 # so we pass these variables down unchanged.  They must not contain
468 # single nor double quotes.
469 RECURSE_FLAGS = \
470         CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
471         RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
472
473 # Flags to pass down to most sub-makes, in which we're building with
474 # the host environment.
475 EXTRA_HOST_FLAGS = \
476         'AR=$(AR)' \
477         'AS=$(AS)' \
478         'CC=$(CC)' \
479         'CXX=$(CXX)' \
480         'DLLTOOL=$(DLLTOOL)' \
481         'LD=$(LD)' \
482         'NM=$(NM)' \
483         'RANLIB=$(RANLIB)' \
484         'WINDRES=$(WINDRES)'
485
486 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
487
488 # Flags that are concerned with the location of the X11 include files
489 # and library files
490 #
491 # NOTE: until the top-level is getting the values via autoconf, it only
492 # causes problems to have this top-level Makefile overriding the autoconf-set
493 # values in child directories.  Only variables that don't conflict with
494 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
495 #
496 X11_FLAGS_TO_PASS = \
497         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
498         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
499
500 # Flags to pass down to makes which are built with the target environment.
501 # The double $ decreases the length of the command line; the variables
502 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
503 EXTRA_TARGET_FLAGS = \
504         'AR=$$(AR_FOR_TARGET)' \
505         'AS=$$(AS_FOR_TARGET)' \
506         'CC=$$(CC_FOR_TARGET)' \
507         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
508         'CXX=$$(CXX_FOR_TARGET)' \
509         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
510         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
511         'LD=$$(LD_FOR_TARGET)' \
512         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
513         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
514         'NM=$$(NM_FOR_TARGET)' \
515         'RANLIB=$$(RANLIB_FOR_TARGET)' \
516         'WINDRES=$$(WINDRES_FOR_TARGET)'
517
518 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
519
520 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
521 # unfortunately needs the native compiler and the target ar and
522 # ranlib.
523 # If any variables are added here, they must be added to do-*, below.
524 # The BUILD_* variables are a special case, which are used for the gcc
525 # cross-building scheme.
526 EXTRA_GCC_FLAGS = \
527         'BUILD_PREFIX=$(BUILD_PREFIX)' \
528         'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
529         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
530         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
531         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
532         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
533         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
534         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
535         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
536         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
537         "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
538         "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
539         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
540
541 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
542
543 .PHONY: configure-host
544 configure-host: maybe-configure-gcc  \
545     maybe-configure-ash \
546     maybe-configure-autoconf \
547     maybe-configure-automake \
548     maybe-configure-bash \
549     maybe-configure-bfd \
550     maybe-configure-opcodes \
551     maybe-configure-binutils \
552     maybe-configure-bison \
553     maybe-configure-byacc \
554     maybe-configure-bzip2 \
555     maybe-configure-dejagnu \
556     maybe-configure-diff \
557     maybe-configure-dosutils \
558     maybe-configure-etc \
559     maybe-configure-fastjar \
560     maybe-configure-fileutils \
561     maybe-configure-findutils \
562     maybe-configure-find \
563     maybe-configure-flex \
564     maybe-configure-gas \
565     maybe-configure-gawk \
566     maybe-configure-gettext \
567     maybe-configure-gnuserv \
568     maybe-configure-gprof \
569     maybe-configure-gzip \
570     maybe-configure-hello \
571     maybe-configure-indent \
572     maybe-configure-intl \
573     maybe-configure-tcl \
574     maybe-configure-itcl \
575     maybe-configure-ld \
576     maybe-configure-libgui \
577     maybe-configure-libbanshee \
578     maybe-configure-libiberty \
579     maybe-configure-libtool \
580     maybe-configure-m4 \
581     maybe-configure-make \
582     maybe-configure-mmalloc \
583     maybe-configure-patch \
584     maybe-configure-perl \
585     maybe-configure-prms \
586     maybe-configure-rcs \
587     maybe-configure-readline \
588     maybe-configure-release \
589     maybe-configure-recode \
590     maybe-configure-sed \
591     maybe-configure-send-pr \
592     maybe-configure-shellutils \
593     maybe-configure-sid \
594     maybe-configure-sim \
595     maybe-configure-tar \
596     maybe-configure-texinfo \
597     maybe-configure-textutils \
598     maybe-configure-time \
599     maybe-configure-uudecode \
600     maybe-configure-wdiff \
601     maybe-configure-zip \
602     maybe-configure-zlib \
603     maybe-configure-gdb \
604     maybe-configure-expect \
605     maybe-configure-guile \
606     maybe-configure-tk \
607     maybe-configure-tix \
608     maybe-configure-libtermcap \
609     maybe-configure-utils
610 .PHONY: configure-target
611 configure-target:  \
612     maybe-configure-target-libstdc++-v3 \
613     maybe-configure-target-libmudflap \
614     maybe-configure-target-newlib \
615     maybe-configure-target-libgfortran \
616     maybe-configure-target-libobjc \
617     maybe-configure-target-libtermcap \
618     maybe-configure-target-winsup \
619     maybe-configure-target-libgloss \
620     maybe-configure-target-libiberty \
621     maybe-configure-target-gperf \
622     maybe-configure-target-examples \
623     maybe-configure-target-libffi \
624     maybe-configure-target-libjava \
625     maybe-configure-target-zlib \
626     maybe-configure-target-boehm-gc \
627     maybe-configure-target-qthreads \
628     maybe-configure-target-rda \
629     maybe-configure-target-libada
630
631 # The target built for a native build.
632 .PHONY: all.normal
633 all.normal: @all_build_modules@ all-host all-target
634
635 .PHONY: all-host
636 all-host: maybe-all-gcc  \
637     maybe-all-ash \
638     maybe-all-autoconf \
639     maybe-all-automake \
640     maybe-all-bash \
641     maybe-all-bfd \
642     maybe-all-opcodes \
643     maybe-all-binutils \
644     maybe-all-bison \
645     maybe-all-byacc \
646     maybe-all-bzip2 \
647     maybe-all-dejagnu \
648     maybe-all-diff \
649     maybe-all-dosutils \
650     maybe-all-etc \
651     maybe-all-fastjar \
652     maybe-all-fileutils \
653     maybe-all-findutils \
654     maybe-all-find \
655     maybe-all-flex \
656     maybe-all-gas \
657     maybe-all-gawk \
658     maybe-all-gettext \
659     maybe-all-gnuserv \
660     maybe-all-gprof \
661     maybe-all-gzip \
662     maybe-all-hello \
663     maybe-all-indent \
664     maybe-all-intl \
665     maybe-all-tcl \
666     maybe-all-itcl \
667     maybe-all-ld \
668     maybe-all-libgui \
669     maybe-all-libbanshee \
670     maybe-all-libiberty \
671     maybe-all-libtool \
672     maybe-all-m4 \
673     maybe-all-make \
674     maybe-all-mmalloc \
675     maybe-all-patch \
676     maybe-all-perl \
677     maybe-all-prms \
678     maybe-all-rcs \
679     maybe-all-readline \
680     maybe-all-release \
681     maybe-all-recode \
682     maybe-all-sed \
683     maybe-all-send-pr \
684     maybe-all-shellutils \
685     maybe-all-sid \
686     maybe-all-sim \
687     maybe-all-tar \
688     maybe-all-texinfo \
689     maybe-all-textutils \
690     maybe-all-time \
691     maybe-all-uudecode \
692     maybe-all-wdiff \
693     maybe-all-zip \
694     maybe-all-zlib \
695     maybe-all-gdb \
696     maybe-all-expect \
697     maybe-all-guile \
698     maybe-all-tk \
699     maybe-all-tix \
700     maybe-all-libtermcap \
701     maybe-all-utils
702 .PHONY: all-target
703 all-target:  \
704     maybe-all-target-libstdc++-v3 \
705     maybe-all-target-libmudflap \
706     maybe-all-target-newlib \
707     maybe-all-target-libgfortran \
708     maybe-all-target-libobjc \
709     maybe-all-target-libtermcap \
710     maybe-all-target-winsup \
711     maybe-all-target-libgloss \
712     maybe-all-target-libiberty \
713     maybe-all-target-gperf \
714     maybe-all-target-examples \
715     maybe-all-target-libffi \
716     maybe-all-target-libjava \
717     maybe-all-target-zlib \
718     maybe-all-target-boehm-gc \
719     maybe-all-target-qthreads \
720     maybe-all-target-rda \
721     maybe-all-target-libada
722
723 # Do a target for all the subdirectories.  A ``make do-X'' will do a
724 # ``make X'' in all subdirectories (because, in general, there is a
725 # dependency (below) of X upon do-X, a ``make X'' will also do this,
726 # but it may do additional work as well).
727
728 .PHONY: do-info
729 do-info: info-host info-target
730
731 .PHONY: info-host
732 info-host: maybe-info-gcc  \
733     maybe-info-ash \
734     maybe-info-autoconf \
735     maybe-info-automake \
736     maybe-info-bash \
737     maybe-info-bfd \
738     maybe-info-opcodes \
739     maybe-info-binutils \
740     maybe-info-bison \
741     maybe-info-byacc \
742     maybe-info-bzip2 \
743     maybe-info-dejagnu \
744     maybe-info-diff \
745     maybe-info-dosutils \
746     maybe-info-etc \
747     maybe-info-fastjar \
748     maybe-info-fileutils \
749     maybe-info-findutils \
750     maybe-info-find \
751     maybe-info-flex \
752     maybe-info-gas \
753     maybe-info-gawk \
754     maybe-info-gettext \
755     maybe-info-gnuserv \
756     maybe-info-gprof \
757     maybe-info-gzip \
758     maybe-info-hello \
759     maybe-info-indent \
760     maybe-info-intl \
761     maybe-info-tcl \
762     maybe-info-itcl \
763     maybe-info-ld \
764     maybe-info-libgui \
765     maybe-info-libbanshee \
766     maybe-info-libiberty \
767     maybe-info-libtool \
768     maybe-info-m4 \
769     maybe-info-make \
770     maybe-info-mmalloc \
771     maybe-info-patch \
772     maybe-info-perl \
773     maybe-info-prms \
774     maybe-info-rcs \
775     maybe-info-readline \
776     maybe-info-release \
777     maybe-info-recode \
778     maybe-info-sed \
779     maybe-info-send-pr \
780     maybe-info-shellutils \
781     maybe-info-sid \
782     maybe-info-sim \
783     maybe-info-tar \
784     maybe-info-texinfo \
785     maybe-info-textutils \
786     maybe-info-time \
787     maybe-info-uudecode \
788     maybe-info-wdiff \
789     maybe-info-zip \
790     maybe-info-zlib \
791     maybe-info-gdb \
792     maybe-info-expect \
793     maybe-info-guile \
794     maybe-info-tk \
795     maybe-info-tix \
796     maybe-info-libtermcap \
797     maybe-info-utils
798
799 .PHONY: info-target
800 info-target:  \
801     maybe-info-target-libstdc++-v3 \
802     maybe-info-target-libmudflap \
803     maybe-info-target-newlib \
804     maybe-info-target-libgfortran \
805     maybe-info-target-libobjc \
806     maybe-info-target-libtermcap \
807     maybe-info-target-winsup \
808     maybe-info-target-libgloss \
809     maybe-info-target-libiberty \
810     maybe-info-target-gperf \
811     maybe-info-target-examples \
812     maybe-info-target-libffi \
813     maybe-info-target-libjava \
814     maybe-info-target-zlib \
815     maybe-info-target-boehm-gc \
816     maybe-info-target-qthreads \
817     maybe-info-target-rda \
818     maybe-info-target-libada
819
820 .PHONY: do-dvi
821 do-dvi: dvi-host dvi-target
822
823 .PHONY: dvi-host
824 dvi-host: maybe-dvi-gcc  \
825     maybe-dvi-ash \
826     maybe-dvi-autoconf \
827     maybe-dvi-automake \
828     maybe-dvi-bash \
829     maybe-dvi-bfd \
830     maybe-dvi-opcodes \
831     maybe-dvi-binutils \
832     maybe-dvi-bison \
833     maybe-dvi-byacc \
834     maybe-dvi-bzip2 \
835     maybe-dvi-dejagnu \
836     maybe-dvi-diff \
837     maybe-dvi-dosutils \
838     maybe-dvi-etc \
839     maybe-dvi-fastjar \
840     maybe-dvi-fileutils \
841     maybe-dvi-findutils \
842     maybe-dvi-find \
843     maybe-dvi-flex \
844     maybe-dvi-gas \
845     maybe-dvi-gawk \
846     maybe-dvi-gettext \
847     maybe-dvi-gnuserv \
848     maybe-dvi-gprof \
849     maybe-dvi-gzip \
850     maybe-dvi-hello \
851     maybe-dvi-indent \
852     maybe-dvi-intl \
853     maybe-dvi-tcl \
854     maybe-dvi-itcl \
855     maybe-dvi-ld \
856     maybe-dvi-libgui \
857     maybe-dvi-libbanshee \
858     maybe-dvi-libiberty \
859     maybe-dvi-libtool \
860     maybe-dvi-m4 \
861     maybe-dvi-make \
862     maybe-dvi-mmalloc \
863     maybe-dvi-patch \
864     maybe-dvi-perl \
865     maybe-dvi-prms \
866     maybe-dvi-rcs \
867     maybe-dvi-readline \
868     maybe-dvi-release \
869     maybe-dvi-recode \
870     maybe-dvi-sed \
871     maybe-dvi-send-pr \
872     maybe-dvi-shellutils \
873     maybe-dvi-sid \
874     maybe-dvi-sim \
875     maybe-dvi-tar \
876     maybe-dvi-texinfo \
877     maybe-dvi-textutils \
878     maybe-dvi-time \
879     maybe-dvi-uudecode \
880     maybe-dvi-wdiff \
881     maybe-dvi-zip \
882     maybe-dvi-zlib \
883     maybe-dvi-gdb \
884     maybe-dvi-expect \
885     maybe-dvi-guile \
886     maybe-dvi-tk \
887     maybe-dvi-tix \
888     maybe-dvi-libtermcap \
889     maybe-dvi-utils
890
891 .PHONY: dvi-target
892 dvi-target:  \
893     maybe-dvi-target-libstdc++-v3 \
894     maybe-dvi-target-libmudflap \
895     maybe-dvi-target-newlib \
896     maybe-dvi-target-libgfortran \
897     maybe-dvi-target-libobjc \
898     maybe-dvi-target-libtermcap \
899     maybe-dvi-target-winsup \
900     maybe-dvi-target-libgloss \
901     maybe-dvi-target-libiberty \
902     maybe-dvi-target-gperf \
903     maybe-dvi-target-examples \
904     maybe-dvi-target-libffi \
905     maybe-dvi-target-libjava \
906     maybe-dvi-target-zlib \
907     maybe-dvi-target-boehm-gc \
908     maybe-dvi-target-qthreads \
909     maybe-dvi-target-rda \
910     maybe-dvi-target-libada
911
912 .PHONY: do-TAGS
913 do-TAGS: TAGS-host TAGS-target
914
915 .PHONY: TAGS-host
916 TAGS-host: maybe-TAGS-gcc  \
917     maybe-TAGS-ash \
918     maybe-TAGS-autoconf \
919     maybe-TAGS-automake \
920     maybe-TAGS-bash \
921     maybe-TAGS-bfd \
922     maybe-TAGS-opcodes \
923     maybe-TAGS-binutils \
924     maybe-TAGS-bison \
925     maybe-TAGS-byacc \
926     maybe-TAGS-bzip2 \
927     maybe-TAGS-dejagnu \
928     maybe-TAGS-diff \
929     maybe-TAGS-dosutils \
930     maybe-TAGS-etc \
931     maybe-TAGS-fastjar \
932     maybe-TAGS-fileutils \
933     maybe-TAGS-findutils \
934     maybe-TAGS-find \
935     maybe-TAGS-flex \
936     maybe-TAGS-gas \
937     maybe-TAGS-gawk \
938     maybe-TAGS-gettext \
939     maybe-TAGS-gnuserv \
940     maybe-TAGS-gprof \
941     maybe-TAGS-gzip \
942     maybe-TAGS-hello \
943     maybe-TAGS-indent \
944     maybe-TAGS-intl \
945     maybe-TAGS-tcl \
946     maybe-TAGS-itcl \
947     maybe-TAGS-ld \
948     maybe-TAGS-libgui \
949     maybe-TAGS-libbanshee \
950     maybe-TAGS-libiberty \
951     maybe-TAGS-libtool \
952     maybe-TAGS-m4 \
953     maybe-TAGS-make \
954     maybe-TAGS-mmalloc \
955     maybe-TAGS-patch \
956     maybe-TAGS-perl \
957     maybe-TAGS-prms \
958     maybe-TAGS-rcs \
959     maybe-TAGS-readline \
960     maybe-TAGS-release \
961     maybe-TAGS-recode \
962     maybe-TAGS-sed \
963     maybe-TAGS-send-pr \
964     maybe-TAGS-shellutils \
965     maybe-TAGS-sid \
966     maybe-TAGS-sim \
967     maybe-TAGS-tar \
968     maybe-TAGS-texinfo \
969     maybe-TAGS-textutils \
970     maybe-TAGS-time \
971     maybe-TAGS-uudecode \
972     maybe-TAGS-wdiff \
973     maybe-TAGS-zip \
974     maybe-TAGS-zlib \
975     maybe-TAGS-gdb \
976     maybe-TAGS-expect \
977     maybe-TAGS-guile \
978     maybe-TAGS-tk \
979     maybe-TAGS-tix \
980     maybe-TAGS-libtermcap \
981     maybe-TAGS-utils
982
983 .PHONY: TAGS-target
984 TAGS-target:  \
985     maybe-TAGS-target-libstdc++-v3 \
986     maybe-TAGS-target-libmudflap \
987     maybe-TAGS-target-newlib \
988     maybe-TAGS-target-libgfortran \
989     maybe-TAGS-target-libobjc \
990     maybe-TAGS-target-libtermcap \
991     maybe-TAGS-target-winsup \
992     maybe-TAGS-target-libgloss \
993     maybe-TAGS-target-libiberty \
994     maybe-TAGS-target-gperf \
995     maybe-TAGS-target-examples \
996     maybe-TAGS-target-libffi \
997     maybe-TAGS-target-libjava \
998     maybe-TAGS-target-zlib \
999     maybe-TAGS-target-boehm-gc \
1000     maybe-TAGS-target-qthreads \
1001     maybe-TAGS-target-rda \
1002     maybe-TAGS-target-libada
1003
1004 .PHONY: do-install-info
1005 do-install-info: install-info-host install-info-target
1006
1007 .PHONY: install-info-host
1008 install-info-host: maybe-install-info-gcc  \
1009     maybe-install-info-ash \
1010     maybe-install-info-autoconf \
1011     maybe-install-info-automake \
1012     maybe-install-info-bash \
1013     maybe-install-info-bfd \
1014     maybe-install-info-opcodes \
1015     maybe-install-info-binutils \
1016     maybe-install-info-bison \
1017     maybe-install-info-byacc \
1018     maybe-install-info-bzip2 \
1019     maybe-install-info-dejagnu \
1020     maybe-install-info-diff \
1021     maybe-install-info-dosutils \
1022     maybe-install-info-etc \
1023     maybe-install-info-fastjar \
1024     maybe-install-info-fileutils \
1025     maybe-install-info-findutils \
1026     maybe-install-info-find \
1027     maybe-install-info-flex \
1028     maybe-install-info-gas \
1029     maybe-install-info-gawk \
1030     maybe-install-info-gettext \
1031     maybe-install-info-gnuserv \
1032     maybe-install-info-gprof \
1033     maybe-install-info-gzip \
1034     maybe-install-info-hello \
1035     maybe-install-info-indent \
1036     maybe-install-info-intl \
1037     maybe-install-info-tcl \
1038     maybe-install-info-itcl \
1039     maybe-install-info-ld \
1040     maybe-install-info-libgui \
1041     maybe-install-info-libbanshee \
1042     maybe-install-info-libiberty \
1043     maybe-install-info-libtool \
1044     maybe-install-info-m4 \
1045     maybe-install-info-make \
1046     maybe-install-info-mmalloc \
1047     maybe-install-info-patch \
1048     maybe-install-info-perl \
1049     maybe-install-info-prms \
1050     maybe-install-info-rcs \
1051     maybe-install-info-readline \
1052     maybe-install-info-release \
1053     maybe-install-info-recode \
1054     maybe-install-info-sed \
1055     maybe-install-info-send-pr \
1056     maybe-install-info-shellutils \
1057     maybe-install-info-sid \
1058     maybe-install-info-sim \
1059     maybe-install-info-tar \
1060     maybe-install-info-texinfo \
1061     maybe-install-info-textutils \
1062     maybe-install-info-time \
1063     maybe-install-info-uudecode \
1064     maybe-install-info-wdiff \
1065     maybe-install-info-zip \
1066     maybe-install-info-zlib \
1067     maybe-install-info-gdb \
1068     maybe-install-info-expect \
1069     maybe-install-info-guile \
1070     maybe-install-info-tk \
1071     maybe-install-info-tix \
1072     maybe-install-info-libtermcap \
1073     maybe-install-info-utils
1074
1075 .PHONY: install-info-target
1076 install-info-target:  \
1077     maybe-install-info-target-libstdc++-v3 \
1078     maybe-install-info-target-libmudflap \
1079     maybe-install-info-target-newlib \
1080     maybe-install-info-target-libgfortran \
1081     maybe-install-info-target-libobjc \
1082     maybe-install-info-target-libtermcap \
1083     maybe-install-info-target-winsup \
1084     maybe-install-info-target-libgloss \
1085     maybe-install-info-target-libiberty \
1086     maybe-install-info-target-gperf \
1087     maybe-install-info-target-examples \
1088     maybe-install-info-target-libffi \
1089     maybe-install-info-target-libjava \
1090     maybe-install-info-target-zlib \
1091     maybe-install-info-target-boehm-gc \
1092     maybe-install-info-target-qthreads \
1093     maybe-install-info-target-rda \
1094     maybe-install-info-target-libada
1095
1096 .PHONY: do-installcheck
1097 do-installcheck: installcheck-host installcheck-target
1098
1099 .PHONY: installcheck-host
1100 installcheck-host: maybe-installcheck-gcc  \
1101     maybe-installcheck-ash \
1102     maybe-installcheck-autoconf \
1103     maybe-installcheck-automake \
1104     maybe-installcheck-bash \
1105     maybe-installcheck-bfd \
1106     maybe-installcheck-opcodes \
1107     maybe-installcheck-binutils \
1108     maybe-installcheck-bison \
1109     maybe-installcheck-byacc \
1110     maybe-installcheck-bzip2 \
1111     maybe-installcheck-dejagnu \
1112     maybe-installcheck-diff \
1113     maybe-installcheck-dosutils \
1114     maybe-installcheck-etc \
1115     maybe-installcheck-fastjar \
1116     maybe-installcheck-fileutils \
1117     maybe-installcheck-findutils \
1118     maybe-installcheck-find \
1119     maybe-installcheck-flex \
1120     maybe-installcheck-gas \
1121     maybe-installcheck-gawk \
1122     maybe-installcheck-gettext \
1123     maybe-installcheck-gnuserv \
1124     maybe-installcheck-gprof \
1125     maybe-installcheck-gzip \
1126     maybe-installcheck-hello \
1127     maybe-installcheck-indent \
1128     maybe-installcheck-intl \
1129     maybe-installcheck-tcl \
1130     maybe-installcheck-itcl \
1131     maybe-installcheck-ld \
1132     maybe-installcheck-libgui \
1133     maybe-installcheck-libbanshee \
1134     maybe-installcheck-libiberty \
1135     maybe-installcheck-libtool \
1136     maybe-installcheck-m4 \
1137     maybe-installcheck-make \
1138     maybe-installcheck-mmalloc \
1139     maybe-installcheck-patch \
1140     maybe-installcheck-perl \
1141     maybe-installcheck-prms \
1142     maybe-installcheck-rcs \
1143     maybe-installcheck-readline \
1144     maybe-installcheck-release \
1145     maybe-installcheck-recode \
1146     maybe-installcheck-sed \
1147     maybe-installcheck-send-pr \
1148     maybe-installcheck-shellutils \
1149     maybe-installcheck-sid \
1150     maybe-installcheck-sim \
1151     maybe-installcheck-tar \
1152     maybe-installcheck-texinfo \
1153     maybe-installcheck-textutils \
1154     maybe-installcheck-time \
1155     maybe-installcheck-uudecode \
1156     maybe-installcheck-wdiff \
1157     maybe-installcheck-zip \
1158     maybe-installcheck-zlib \
1159     maybe-installcheck-gdb \
1160     maybe-installcheck-expect \
1161     maybe-installcheck-guile \
1162     maybe-installcheck-tk \
1163     maybe-installcheck-tix \
1164     maybe-installcheck-libtermcap \
1165     maybe-installcheck-utils
1166
1167 .PHONY: installcheck-target
1168 installcheck-target:  \
1169     maybe-installcheck-target-libstdc++-v3 \
1170     maybe-installcheck-target-libmudflap \
1171     maybe-installcheck-target-newlib \
1172     maybe-installcheck-target-libgfortran \
1173     maybe-installcheck-target-libobjc \
1174     maybe-installcheck-target-libtermcap \
1175     maybe-installcheck-target-winsup \
1176     maybe-installcheck-target-libgloss \
1177     maybe-installcheck-target-libiberty \
1178     maybe-installcheck-target-gperf \
1179     maybe-installcheck-target-examples \
1180     maybe-installcheck-target-libffi \
1181     maybe-installcheck-target-libjava \
1182     maybe-installcheck-target-zlib \
1183     maybe-installcheck-target-boehm-gc \
1184     maybe-installcheck-target-qthreads \
1185     maybe-installcheck-target-rda \
1186     maybe-installcheck-target-libada
1187
1188 .PHONY: do-mostlyclean
1189 do-mostlyclean: mostlyclean-host mostlyclean-target
1190
1191 .PHONY: mostlyclean-host
1192 mostlyclean-host: maybe-mostlyclean-gcc  \
1193     maybe-mostlyclean-ash \
1194     maybe-mostlyclean-autoconf \
1195     maybe-mostlyclean-automake \
1196     maybe-mostlyclean-bash \
1197     maybe-mostlyclean-bfd \
1198     maybe-mostlyclean-opcodes \
1199     maybe-mostlyclean-binutils \
1200     maybe-mostlyclean-bison \
1201     maybe-mostlyclean-byacc \
1202     maybe-mostlyclean-bzip2 \
1203     maybe-mostlyclean-dejagnu \
1204     maybe-mostlyclean-diff \
1205     maybe-mostlyclean-dosutils \
1206     maybe-mostlyclean-etc \
1207     maybe-mostlyclean-fastjar \
1208     maybe-mostlyclean-fileutils \
1209     maybe-mostlyclean-findutils \
1210     maybe-mostlyclean-find \
1211     maybe-mostlyclean-flex \
1212     maybe-mostlyclean-gas \
1213     maybe-mostlyclean-gawk \
1214     maybe-mostlyclean-gettext \
1215     maybe-mostlyclean-gnuserv \
1216     maybe-mostlyclean-gprof \
1217     maybe-mostlyclean-gzip \
1218     maybe-mostlyclean-hello \
1219     maybe-mostlyclean-indent \
1220     maybe-mostlyclean-intl \
1221     maybe-mostlyclean-tcl \
1222     maybe-mostlyclean-itcl \
1223     maybe-mostlyclean-ld \
1224     maybe-mostlyclean-libgui \
1225     maybe-mostlyclean-libbanshee \
1226     maybe-mostlyclean-libiberty \
1227     maybe-mostlyclean-libtool \
1228     maybe-mostlyclean-m4 \
1229     maybe-mostlyclean-make \
1230     maybe-mostlyclean-mmalloc \
1231     maybe-mostlyclean-patch \
1232     maybe-mostlyclean-perl \
1233     maybe-mostlyclean-prms \
1234     maybe-mostlyclean-rcs \
1235     maybe-mostlyclean-readline \
1236     maybe-mostlyclean-release \
1237     maybe-mostlyclean-recode \
1238     maybe-mostlyclean-sed \
1239     maybe-mostlyclean-send-pr \
1240     maybe-mostlyclean-shellutils \
1241     maybe-mostlyclean-sid \
1242     maybe-mostlyclean-sim \
1243     maybe-mostlyclean-tar \
1244     maybe-mostlyclean-texinfo \
1245     maybe-mostlyclean-textutils \
1246     maybe-mostlyclean-time \
1247     maybe-mostlyclean-uudecode \
1248     maybe-mostlyclean-wdiff \
1249     maybe-mostlyclean-zip \
1250     maybe-mostlyclean-zlib \
1251     maybe-mostlyclean-gdb \
1252     maybe-mostlyclean-expect \
1253     maybe-mostlyclean-guile \
1254     maybe-mostlyclean-tk \
1255     maybe-mostlyclean-tix \
1256     maybe-mostlyclean-libtermcap \
1257     maybe-mostlyclean-utils
1258
1259 .PHONY: mostlyclean-target
1260 mostlyclean-target:  \
1261     maybe-mostlyclean-target-libstdc++-v3 \
1262     maybe-mostlyclean-target-libmudflap \
1263     maybe-mostlyclean-target-newlib \
1264     maybe-mostlyclean-target-libgfortran \
1265     maybe-mostlyclean-target-libobjc \
1266     maybe-mostlyclean-target-libtermcap \
1267     maybe-mostlyclean-target-winsup \
1268     maybe-mostlyclean-target-libgloss \
1269     maybe-mostlyclean-target-libiberty \
1270     maybe-mostlyclean-target-gperf \
1271     maybe-mostlyclean-target-examples \
1272     maybe-mostlyclean-target-libffi \
1273     maybe-mostlyclean-target-libjava \
1274     maybe-mostlyclean-target-zlib \
1275     maybe-mostlyclean-target-boehm-gc \
1276     maybe-mostlyclean-target-qthreads \
1277     maybe-mostlyclean-target-rda \
1278     maybe-mostlyclean-target-libada
1279
1280 .PHONY: do-clean
1281 do-clean: clean-host clean-target
1282
1283 .PHONY: clean-host
1284 clean-host: maybe-clean-gcc  \
1285     maybe-clean-ash \
1286     maybe-clean-autoconf \
1287     maybe-clean-automake \
1288     maybe-clean-bash \
1289     maybe-clean-bfd \
1290     maybe-clean-opcodes \
1291     maybe-clean-binutils \
1292     maybe-clean-bison \
1293     maybe-clean-byacc \
1294     maybe-clean-bzip2 \
1295     maybe-clean-dejagnu \
1296     maybe-clean-diff \
1297     maybe-clean-dosutils \
1298     maybe-clean-etc \
1299     maybe-clean-fastjar \
1300     maybe-clean-fileutils \
1301     maybe-clean-findutils \
1302     maybe-clean-find \
1303     maybe-clean-flex \
1304     maybe-clean-gas \
1305     maybe-clean-gawk \
1306     maybe-clean-gettext \
1307     maybe-clean-gnuserv \
1308     maybe-clean-gprof \
1309     maybe-clean-gzip \
1310     maybe-clean-hello \
1311     maybe-clean-indent \
1312     maybe-clean-intl \
1313     maybe-clean-tcl \
1314     maybe-clean-itcl \
1315     maybe-clean-ld \
1316     maybe-clean-libgui \
1317     maybe-clean-libbanshee \
1318     maybe-clean-libiberty \
1319     maybe-clean-libtool \
1320     maybe-clean-m4 \
1321     maybe-clean-make \
1322     maybe-clean-mmalloc \
1323     maybe-clean-patch \
1324     maybe-clean-perl \
1325     maybe-clean-prms \
1326     maybe-clean-rcs \
1327     maybe-clean-readline \
1328     maybe-clean-release \
1329     maybe-clean-recode \
1330     maybe-clean-sed \
1331     maybe-clean-send-pr \
1332     maybe-clean-shellutils \
1333     maybe-clean-sid \
1334     maybe-clean-sim \
1335     maybe-clean-tar \
1336     maybe-clean-texinfo \
1337     maybe-clean-textutils \
1338     maybe-clean-time \
1339     maybe-clean-uudecode \
1340     maybe-clean-wdiff \
1341     maybe-clean-zip \
1342     maybe-clean-zlib \
1343     maybe-clean-gdb \
1344     maybe-clean-expect \
1345     maybe-clean-guile \
1346     maybe-clean-tk \
1347     maybe-clean-tix \
1348     maybe-clean-libtermcap \
1349     maybe-clean-utils
1350
1351 .PHONY: clean-target
1352 clean-target:  \
1353     maybe-clean-target-libstdc++-v3 \
1354     maybe-clean-target-libmudflap \
1355     maybe-clean-target-newlib \
1356     maybe-clean-target-libgfortran \
1357     maybe-clean-target-libobjc \
1358     maybe-clean-target-libtermcap \
1359     maybe-clean-target-winsup \
1360     maybe-clean-target-libgloss \
1361     maybe-clean-target-libiberty \
1362     maybe-clean-target-gperf \
1363     maybe-clean-target-examples \
1364     maybe-clean-target-libffi \
1365     maybe-clean-target-libjava \
1366     maybe-clean-target-zlib \
1367     maybe-clean-target-boehm-gc \
1368     maybe-clean-target-qthreads \
1369     maybe-clean-target-rda \
1370     maybe-clean-target-libada
1371
1372 .PHONY: do-distclean
1373 do-distclean: distclean-host distclean-target
1374
1375 .PHONY: distclean-host
1376 distclean-host: maybe-distclean-gcc  \
1377     maybe-distclean-ash \
1378     maybe-distclean-autoconf \
1379     maybe-distclean-automake \
1380     maybe-distclean-bash \
1381     maybe-distclean-bfd \
1382     maybe-distclean-opcodes \
1383     maybe-distclean-binutils \
1384     maybe-distclean-bison \
1385     maybe-distclean-byacc \
1386     maybe-distclean-bzip2 \
1387     maybe-distclean-dejagnu \
1388     maybe-distclean-diff \
1389     maybe-distclean-dosutils \
1390     maybe-distclean-etc \
1391     maybe-distclean-fastjar \
1392     maybe-distclean-fileutils \
1393     maybe-distclean-findutils \
1394     maybe-distclean-find \
1395     maybe-distclean-flex \
1396     maybe-distclean-gas \
1397     maybe-distclean-gawk \
1398     maybe-distclean-gettext \
1399     maybe-distclean-gnuserv \
1400     maybe-distclean-gprof \
1401     maybe-distclean-gzip \
1402     maybe-distclean-hello \
1403     maybe-distclean-indent \
1404     maybe-distclean-intl \
1405     maybe-distclean-tcl \
1406     maybe-distclean-itcl \
1407     maybe-distclean-ld \
1408     maybe-distclean-libgui \
1409     maybe-distclean-libbanshee \
1410     maybe-distclean-libiberty \
1411     maybe-distclean-libtool \
1412     maybe-distclean-m4 \
1413     maybe-distclean-make \
1414     maybe-distclean-mmalloc \
1415     maybe-distclean-patch \
1416     maybe-distclean-perl \
1417     maybe-distclean-prms \
1418     maybe-distclean-rcs \
1419     maybe-distclean-readline \
1420     maybe-distclean-release \
1421     maybe-distclean-recode \
1422     maybe-distclean-sed \
1423     maybe-distclean-send-pr \
1424     maybe-distclean-shellutils \
1425     maybe-distclean-sid \
1426     maybe-distclean-sim \
1427     maybe-distclean-tar \
1428     maybe-distclean-texinfo \
1429     maybe-distclean-textutils \
1430     maybe-distclean-time \
1431     maybe-distclean-uudecode \
1432     maybe-distclean-wdiff \
1433     maybe-distclean-zip \
1434     maybe-distclean-zlib \
1435     maybe-distclean-gdb \
1436     maybe-distclean-expect \
1437     maybe-distclean-guile \
1438     maybe-distclean-tk \
1439     maybe-distclean-tix \
1440     maybe-distclean-libtermcap \
1441     maybe-distclean-utils
1442
1443 .PHONY: distclean-target
1444 distclean-target:  \
1445     maybe-distclean-target-libstdc++-v3 \
1446     maybe-distclean-target-libmudflap \
1447     maybe-distclean-target-newlib \
1448     maybe-distclean-target-libgfortran \
1449     maybe-distclean-target-libobjc \
1450     maybe-distclean-target-libtermcap \
1451     maybe-distclean-target-winsup \
1452     maybe-distclean-target-libgloss \
1453     maybe-distclean-target-libiberty \
1454     maybe-distclean-target-gperf \
1455     maybe-distclean-target-examples \
1456     maybe-distclean-target-libffi \
1457     maybe-distclean-target-libjava \
1458     maybe-distclean-target-zlib \
1459     maybe-distclean-target-boehm-gc \
1460     maybe-distclean-target-qthreads \
1461     maybe-distclean-target-rda \
1462     maybe-distclean-target-libada
1463
1464 .PHONY: do-maintainer-clean
1465 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1466
1467 .PHONY: maintainer-clean-host
1468 maintainer-clean-host: maybe-maintainer-clean-gcc  \
1469     maybe-maintainer-clean-ash \
1470     maybe-maintainer-clean-autoconf \
1471     maybe-maintainer-clean-automake \
1472     maybe-maintainer-clean-bash \
1473     maybe-maintainer-clean-bfd \
1474     maybe-maintainer-clean-opcodes \
1475     maybe-maintainer-clean-binutils \
1476     maybe-maintainer-clean-bison \
1477     maybe-maintainer-clean-byacc \
1478     maybe-maintainer-clean-bzip2 \
1479     maybe-maintainer-clean-dejagnu \
1480     maybe-maintainer-clean-diff \
1481     maybe-maintainer-clean-dosutils \
1482     maybe-maintainer-clean-etc \
1483     maybe-maintainer-clean-fastjar \
1484     maybe-maintainer-clean-fileutils \
1485     maybe-maintainer-clean-findutils \
1486     maybe-maintainer-clean-find \
1487     maybe-maintainer-clean-flex \
1488     maybe-maintainer-clean-gas \
1489     maybe-maintainer-clean-gawk \
1490     maybe-maintainer-clean-gettext \
1491     maybe-maintainer-clean-gnuserv \
1492     maybe-maintainer-clean-gprof \
1493     maybe-maintainer-clean-gzip \
1494     maybe-maintainer-clean-hello \
1495     maybe-maintainer-clean-indent \
1496     maybe-maintainer-clean-intl \
1497     maybe-maintainer-clean-tcl \
1498     maybe-maintainer-clean-itcl \
1499     maybe-maintainer-clean-ld \
1500     maybe-maintainer-clean-libgui \
1501     maybe-maintainer-clean-libbanshee \
1502     maybe-maintainer-clean-libiberty \
1503     maybe-maintainer-clean-libtool \
1504     maybe-maintainer-clean-m4 \
1505     maybe-maintainer-clean-make \
1506     maybe-maintainer-clean-mmalloc \
1507     maybe-maintainer-clean-patch \
1508     maybe-maintainer-clean-perl \
1509     maybe-maintainer-clean-prms \
1510     maybe-maintainer-clean-rcs \
1511     maybe-maintainer-clean-readline \
1512     maybe-maintainer-clean-release \
1513     maybe-maintainer-clean-recode \
1514     maybe-maintainer-clean-sed \
1515     maybe-maintainer-clean-send-pr \
1516     maybe-maintainer-clean-shellutils \
1517     maybe-maintainer-clean-sid \
1518     maybe-maintainer-clean-sim \
1519     maybe-maintainer-clean-tar \
1520     maybe-maintainer-clean-texinfo \
1521     maybe-maintainer-clean-textutils \
1522     maybe-maintainer-clean-time \
1523     maybe-maintainer-clean-uudecode \
1524     maybe-maintainer-clean-wdiff \
1525     maybe-maintainer-clean-zip \
1526     maybe-maintainer-clean-zlib \
1527     maybe-maintainer-clean-gdb \
1528     maybe-maintainer-clean-expect \
1529     maybe-maintainer-clean-guile \
1530     maybe-maintainer-clean-tk \
1531     maybe-maintainer-clean-tix \
1532     maybe-maintainer-clean-libtermcap \
1533     maybe-maintainer-clean-utils
1534
1535 .PHONY: maintainer-clean-target
1536 maintainer-clean-target:  \
1537     maybe-maintainer-clean-target-libstdc++-v3 \
1538     maybe-maintainer-clean-target-libmudflap \
1539     maybe-maintainer-clean-target-newlib \
1540     maybe-maintainer-clean-target-libgfortran \
1541     maybe-maintainer-clean-target-libobjc \
1542     maybe-maintainer-clean-target-libtermcap \
1543     maybe-maintainer-clean-target-winsup \
1544     maybe-maintainer-clean-target-libgloss \
1545     maybe-maintainer-clean-target-libiberty \
1546     maybe-maintainer-clean-target-gperf \
1547     maybe-maintainer-clean-target-examples \
1548     maybe-maintainer-clean-target-libffi \
1549     maybe-maintainer-clean-target-libjava \
1550     maybe-maintainer-clean-target-zlib \
1551     maybe-maintainer-clean-target-boehm-gc \
1552     maybe-maintainer-clean-target-qthreads \
1553     maybe-maintainer-clean-target-rda \
1554     maybe-maintainer-clean-target-libada
1555
1556
1557 # Here are the targets which correspond to the do-X targets.
1558
1559 .PHONY: info installcheck dvi install-info
1560 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1561 .PHONY: local-clean local-distclean local-maintainer-clean
1562 info: do-info
1563 installcheck: do-installcheck
1564 dvi: do-dvi
1565
1566 # Make sure makeinfo is built before we do a `make info', if we're
1567 # in fact building texinfo.
1568 do-info: maybe-all-texinfo
1569
1570 install-info: do-install-info dir.info
1571         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1572         if [ -f dir.info ] ; then \
1573           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1574         else true ; fi
1575
1576 local-clean:
1577         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1578
1579 local-distclean:
1580         -rm -f Makefile config.status config.cache mh-frag mt-frag
1581         -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1582         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1583           rm -rf $(TARGET_SUBDIR); \
1584         else true; fi
1585         -rm -rf $(BUILD_SUBDIR)
1586         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1587         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1588         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1589         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1590         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1591
1592 local-maintainer-clean:
1593         @echo "This command is intended for maintainers to use;"
1594         @echo "it deletes files that may require special tools to rebuild."
1595
1596 clean: do-clean local-clean
1597 mostlyclean: do-mostlyclean local-clean
1598 distclean: do-distclean local-clean local-distclean
1599 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
1600 maintainer-clean: local-distclean
1601 realclean: maintainer-clean
1602
1603 # Extra dependency for clean-target, owing to the mixed nature of gcc
1604 clean-target: clean-target-libgcc
1605 clean-target-libgcc:
1606         test ! -d gcc/libgcc || \
1607         (cd gcc/libgcc && find . -type d -print) | \
1608         while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1609         -rm -rf gcc/libgcc
1610
1611 # Check target.
1612
1613 .PHONY: check do-check
1614 check: do-check
1615
1616 # Only include modules actually being configured and built.
1617 do-check: maybe-check-gcc  \
1618     maybe-check-ash \
1619     maybe-check-autoconf \
1620     maybe-check-automake \
1621     maybe-check-bash \
1622     maybe-check-bfd \
1623     maybe-check-opcodes \
1624     maybe-check-binutils \
1625     maybe-check-bison \
1626     maybe-check-byacc \
1627     maybe-check-bzip2 \
1628     maybe-check-dejagnu \
1629     maybe-check-diff \
1630     maybe-check-dosutils \
1631     maybe-check-etc \
1632     maybe-check-fastjar \
1633     maybe-check-fileutils \
1634     maybe-check-findutils \
1635     maybe-check-find \
1636     maybe-check-flex \
1637     maybe-check-gas \
1638     maybe-check-gawk \
1639     maybe-check-gettext \
1640     maybe-check-gnuserv \
1641     maybe-check-gprof \
1642     maybe-check-gzip \
1643     maybe-check-hello \
1644     maybe-check-indent \
1645     maybe-check-intl \
1646     maybe-check-tcl \
1647     maybe-check-itcl \
1648     maybe-check-ld \
1649     maybe-check-libgui \
1650     maybe-check-libbanshee \
1651     maybe-check-libiberty \
1652     maybe-check-libtool \
1653     maybe-check-m4 \
1654     maybe-check-make \
1655     maybe-check-mmalloc \
1656     maybe-check-patch \
1657     maybe-check-perl \
1658     maybe-check-prms \
1659     maybe-check-rcs \
1660     maybe-check-readline \
1661     maybe-check-release \
1662     maybe-check-recode \
1663     maybe-check-sed \
1664     maybe-check-send-pr \
1665     maybe-check-shellutils \
1666     maybe-check-sid \
1667     maybe-check-sim \
1668     maybe-check-tar \
1669     maybe-check-texinfo \
1670     maybe-check-textutils \
1671     maybe-check-time \
1672     maybe-check-uudecode \
1673     maybe-check-wdiff \
1674     maybe-check-zip \
1675     maybe-check-zlib \
1676     maybe-check-gdb \
1677     maybe-check-expect \
1678     maybe-check-guile \
1679     maybe-check-tk \
1680     maybe-check-tix \
1681     maybe-check-libtermcap \
1682     maybe-check-utils \
1683     maybe-check-target-libstdc++-v3 \
1684     maybe-check-target-libmudflap \
1685     maybe-check-target-newlib \
1686     maybe-check-target-libgfortran \
1687     maybe-check-target-libobjc \
1688     maybe-check-target-libtermcap \
1689     maybe-check-target-winsup \
1690     maybe-check-target-libgloss \
1691     maybe-check-target-libiberty \
1692     maybe-check-target-gperf \
1693     maybe-check-target-examples \
1694     maybe-check-target-libffi \
1695     maybe-check-target-libjava \
1696     maybe-check-target-zlib \
1697     maybe-check-target-boehm-gc \
1698     maybe-check-target-qthreads \
1699     maybe-check-target-rda \
1700     maybe-check-target-libada
1701
1702 # Automated reporting of test results.
1703
1704 warning.log: build.log
1705         $(srcdir)/contrib/warn_summary build.log > $@
1706
1707 mail-report.log:
1708         if test x'$(BOOT_CFLAGS)' != x''; then \
1709             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1710         fi; \
1711         $(srcdir)/contrib/test_summary -t >$@
1712         chmod +x $@
1713         echo If you really want to send e-mail, run ./$@ now
1714
1715 mail-report-with-warnings.log: warning.log
1716         if test x'$(BOOT_CFLAGS)' != x''; then \
1717             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1718         fi; \
1719         $(srcdir)/contrib/test_summary -t -i warning.log >$@
1720         chmod +x $@
1721         echo If you really want to send e-mail, run ./$@ now
1722
1723 # Installation targets.
1724
1725 .PHONY: install uninstall
1726 install: installdirs install-host install-target
1727
1728 .PHONY: install-host-nogcc
1729 install-host-nogcc:  \
1730     maybe-install-ash \
1731     maybe-install-autoconf \
1732     maybe-install-automake \
1733     maybe-install-bash \
1734     maybe-install-bfd \
1735     maybe-install-opcodes \
1736     maybe-install-binutils \
1737     maybe-install-bison \
1738     maybe-install-byacc \
1739     maybe-install-bzip2 \
1740     maybe-install-dejagnu \
1741     maybe-install-diff \
1742     maybe-install-dosutils \
1743     maybe-install-etc \
1744     maybe-install-fastjar \
1745     maybe-install-fileutils \
1746     maybe-install-findutils \
1747     maybe-install-find \
1748     maybe-install-flex \
1749     maybe-install-gas \
1750     maybe-install-gawk \
1751     maybe-install-gettext \
1752     maybe-install-gnuserv \
1753     maybe-install-gprof \
1754     maybe-install-gzip \
1755     maybe-install-hello \
1756     maybe-install-indent \
1757     maybe-install-intl \
1758     maybe-install-tcl \
1759     maybe-install-itcl \
1760     maybe-install-ld \
1761     maybe-install-libgui \
1762     maybe-install-libbanshee \
1763     maybe-install-libiberty \
1764     maybe-install-libtool \
1765     maybe-install-m4 \
1766     maybe-install-make \
1767     maybe-install-mmalloc \
1768     maybe-install-patch \
1769     maybe-install-perl \
1770     maybe-install-prms \
1771     maybe-install-rcs \
1772     maybe-install-readline \
1773     maybe-install-release \
1774     maybe-install-recode \
1775     maybe-install-sed \
1776     maybe-install-send-pr \
1777     maybe-install-shellutils \
1778     maybe-install-sid \
1779     maybe-install-sim \
1780     maybe-install-tar \
1781     maybe-install-texinfo \
1782     maybe-install-textutils \
1783     maybe-install-time \
1784     maybe-install-uudecode \
1785     maybe-install-wdiff \
1786     maybe-install-zip \
1787     maybe-install-zlib \
1788     maybe-install-gdb \
1789     maybe-install-expect \
1790     maybe-install-guile \
1791     maybe-install-tk \
1792     maybe-install-tix \
1793     maybe-install-libtermcap \
1794     maybe-install-utils
1795
1796 .PHONY: install-host
1797 install-host: maybe-install-gcc  \
1798     maybe-install-ash \
1799     maybe-install-autoconf \
1800     maybe-install-automake \
1801     maybe-install-bash \
1802     maybe-install-bfd \
1803     maybe-install-opcodes \
1804     maybe-install-binutils \
1805     maybe-install-bison \
1806     maybe-install-byacc \
1807     maybe-install-bzip2 \
1808     maybe-install-dejagnu \
1809     maybe-install-diff \
1810     maybe-install-dosutils \
1811     maybe-install-etc \
1812     maybe-install-fastjar \
1813     maybe-install-fileutils \
1814     maybe-install-findutils \
1815     maybe-install-find \
1816     maybe-install-flex \
1817     maybe-install-gas \
1818     maybe-install-gawk \
1819     maybe-install-gettext \
1820     maybe-install-gnuserv \
1821     maybe-install-gprof \
1822     maybe-install-gzip \
1823     maybe-install-hello \
1824     maybe-install-indent \
1825     maybe-install-intl \
1826     maybe-install-tcl \
1827     maybe-install-itcl \
1828     maybe-install-ld \
1829     maybe-install-libgui \
1830     maybe-install-libbanshee \
1831     maybe-install-libiberty \
1832     maybe-install-libtool \
1833     maybe-install-m4 \
1834     maybe-install-make \
1835     maybe-install-mmalloc \
1836     maybe-install-patch \
1837     maybe-install-perl \
1838     maybe-install-prms \
1839     maybe-install-rcs \
1840     maybe-install-readline \
1841     maybe-install-release \
1842     maybe-install-recode \
1843     maybe-install-sed \
1844     maybe-install-send-pr \
1845     maybe-install-shellutils \
1846     maybe-install-sid \
1847     maybe-install-sim \
1848     maybe-install-tar \
1849     maybe-install-texinfo \
1850     maybe-install-textutils \
1851     maybe-install-time \
1852     maybe-install-uudecode \
1853     maybe-install-wdiff \
1854     maybe-install-zip \
1855     maybe-install-zlib \
1856     maybe-install-gdb \
1857     maybe-install-expect \
1858     maybe-install-guile \
1859     maybe-install-tk \
1860     maybe-install-tix \
1861     maybe-install-libtermcap \
1862     maybe-install-utils
1863
1864 .PHONY: install-target
1865 install-target:  \
1866     maybe-install-target-libstdc++-v3 \
1867     maybe-install-target-libmudflap \
1868     maybe-install-target-newlib \
1869     maybe-install-target-libgfortran \
1870     maybe-install-target-libobjc \
1871     maybe-install-target-libtermcap \
1872     maybe-install-target-winsup \
1873     maybe-install-target-libgloss \
1874     maybe-install-target-libiberty \
1875     maybe-install-target-gperf \
1876     maybe-install-target-examples \
1877     maybe-install-target-libffi \
1878     maybe-install-target-libjava \
1879     maybe-install-target-zlib \
1880     maybe-install-target-boehm-gc \
1881     maybe-install-target-qthreads \
1882     maybe-install-target-rda \
1883     maybe-install-target-libada
1884
1885 uninstall:
1886         @echo "the uninstall target is not supported in this tree"
1887
1888 .PHONY: install.all
1889 install.all: install-no-fixedincludes
1890         @if [ -f ./gcc/Makefile ] ; then \
1891                 r=`${PWD_COMMAND}` ; export r ; \
1892                 $(SET_LIB_PATH) \
1893                 (cd ./gcc && \
1894                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1895         else \
1896                 true ; \
1897         fi
1898
1899 # install-no-fixedincludes is used because Cygnus can not distribute
1900 # the fixed header files.
1901 .PHONY: install-no-fixedincludes
1902 install-no-fixedincludes: installdirs install-host-nogcc \
1903         install-target gcc-no-fixedincludes
1904
1905 ### other supporting targets
1906
1907 MAKEDIRS= \
1908         $(DESTDIR)$(prefix) \
1909         $(DESTDIR)$(exec_prefix)
1910 .PHONY: installdirs
1911 installdirs: mkinstalldirs
1912         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1913
1914 dir.info: do-install-info
1915         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1916           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1917           mv -f dir.info.new dir.info ; \
1918         else true ; \
1919         fi
1920
1921 dist:
1922         @echo "Building a full distribution of this tree isn't done"
1923         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
1924
1925 etags tags: TAGS
1926
1927 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
1928 # ability to use several tags files at once, so there is probably no need
1929 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
1930 # (if we felt like it) have this Makefile write a piece of elisp which
1931 # the user could load to tell emacs19 where all the TAGS files we just
1932 # built are.
1933 TAGS: do-TAGS
1934
1935 # --------------------------------------
1936 # Modules which run on the build machine
1937 # --------------------------------------
1938
1939 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1940 maybe-configure-build-libiberty:
1941 @if build-libiberty
1942 maybe-configure-build-libiberty: configure-build-libiberty
1943 configure-build-libiberty:
1944         @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
1945         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
1946         r=`${PWD_COMMAND}`; export r; \
1947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1948         AR="$(AR_FOR_BUILD)"; export AR; \
1949         AS="$(AS_FOR_BUILD)"; export AS; \
1950         CC="$(CC_FOR_BUILD)"; export CC; \
1951         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1952         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1953         CXX="$(CXX_FOR_BUILD)"; export CXX; \
1954         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1955         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1956         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
1957         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1958         LD="$(LD_FOR_BUILD)"; export LD; \
1959         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1960         NM="$(NM_FOR_BUILD)"; export NM; \
1961         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1962         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1963         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1964         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1965         case $(srcdir) in \
1966           /* | [A-Za-z]:[\\/]*) \
1967             topdir=$(srcdir) ;; \
1968           *) \
1969             case "$(BUILD_SUBDIR)" in \
1970               .) topdir="../$(srcdir)" ;; \
1971               *) topdir="../../$(srcdir)" ;; \
1972             esac ;; \
1973         esac; \
1974         if [ "$(srcdir)" = "." ] ; then \
1975           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1976             if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1977               if [ -f Makefile ]; then \
1978                 if $(MAKE) distclean; then \
1979                   true; \
1980                 else \
1981                   exit 1; \
1982                 fi; \
1983               else \
1984                 true; \
1985               fi; \
1986             else \
1987               exit 1; \
1988             fi; \
1989           else \
1990             true; \
1991           fi; \
1992           srcdiroption="--srcdir=."; \
1993           libsrcdir="."; \
1994         else \
1995           srcdiroption="--srcdir=$${topdir}/libiberty"; \
1996           libsrcdir="$$s/libiberty"; \
1997         fi; \
1998         rm -f no-such-file || : ; \
1999         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2000           $(BUILD_CONFIGARGS) $${srcdiroption} \
2001           --with-build-subdir="$(BUILD_SUBDIR)" \
2002           || exit 1
2003 @endif build-libiberty
2004
2005 .PHONY: all-build-libiberty maybe-all-build-libiberty
2006 maybe-all-build-libiberty:
2007 @if build-libiberty
2008 maybe-all-build-libiberty: all-build-libiberty
2009 all-build-libiberty: configure-build-libiberty
2010         @r=`${PWD_COMMAND}`; export r; \
2011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2012         (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2013 @endif build-libiberty
2014
2015 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2016 maybe-configure-build-libbanshee:
2017 @if build-libbanshee
2018 maybe-configure-build-libbanshee: configure-build-libbanshee
2019 configure-build-libbanshee:
2020         @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2021         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2022         r=`${PWD_COMMAND}`; export r; \
2023         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2024         AR="$(AR_FOR_BUILD)"; export AR; \
2025         AS="$(AS_FOR_BUILD)"; export AS; \
2026         CC="$(CC_FOR_BUILD)"; export CC; \
2027         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
2028         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2029         CXX="$(CXX_FOR_BUILD)"; export CXX; \
2030         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
2031         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
2032         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
2033         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
2034         LD="$(LD_FOR_BUILD)"; export LD; \
2035         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
2036         NM="$(NM_FOR_BUILD)"; export NM; \
2037         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
2038         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
2039         echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2040         cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2041         case $(srcdir) in \
2042           /* | [A-Za-z]:[\\/]*) \
2043             topdir=$(srcdir) ;; \
2044           *) \
2045             case "$(BUILD_SUBDIR)" in \
2046               .) topdir="../$(srcdir)" ;; \
2047               *) topdir="../../$(srcdir)" ;; \
2048             esac ;; \
2049         esac; \
2050         if [ "$(srcdir)" = "." ] ; then \
2051           if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2052             if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2053               if [ -f Makefile ]; then \
2054                 if $(MAKE) distclean; then \
2055                   true; \
2056                 else \
2057                   exit 1; \
2058                 fi; \
2059               else \
2060                 true; \
2061               fi; \
2062             else \
2063               exit 1; \
2064             fi; \
2065           else \
2066             true; \
2067           fi; \
2068           srcdiroption="--srcdir=."; \
2069           libsrcdir="."; \
2070         else \
2071           srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2072           libsrcdir="$$s/libbanshee"; \
2073         fi; \
2074         rm -f no-such-file || : ; \
2075         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2076           $(BUILD_CONFIGARGS) $${srcdiroption} \
2077           --with-build-subdir="$(BUILD_SUBDIR)" \
2078           || exit 1
2079 @endif build-libbanshee
2080
2081 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2082 maybe-all-build-libbanshee:
2083 @if build-libbanshee
2084 maybe-all-build-libbanshee: all-build-libbanshee
2085 all-build-libbanshee: configure-build-libbanshee
2086         @r=`${PWD_COMMAND}`; export r; \
2087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2088         (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2089 @endif build-libbanshee
2090
2091
2092 # --------------------------------------
2093 # Modules which run on the host machine
2094 # --------------------------------------
2095
2096 .PHONY: configure-ash maybe-configure-ash
2097 maybe-configure-ash:
2098 @if ash
2099 maybe-configure-ash: configure-ash
2100 configure-ash:
2101         @test ! -f ash/Makefile || exit 0; \
2102         [ -d ash ] || mkdir ash; \
2103         r=`${PWD_COMMAND}`; export r; \
2104         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2105         CC="$(CC)"; export CC; \
2106         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2107         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2108         CXX="$(CXX)"; export CXX; \
2109         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2110         AR="$(AR)"; export AR; \
2111         AS="$(AS)"; export AS; \
2112         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2113         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2114         LD="$(LD)"; export LD; \
2115         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2116         NM="$(NM)"; export NM; \
2117         RANLIB="$(RANLIB)"; export RANLIB; \
2118         WINDRES="$(WINDRES)"; export WINDRES; \
2119         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2120         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2121         echo Configuring in ash; \
2122         cd ash || exit 1; \
2123         case $(srcdir) in \
2124           \.) \
2125             srcdiroption="--srcdir=."; \
2126             libsrcdir=".";; \
2127           /* | [A-Za-z]:[\\/]*) \
2128             srcdiroption="--srcdir=$(srcdir)/ash"; \
2129             libsrcdir="$$s/ash";; \
2130           *) \
2131             srcdiroption="--srcdir=../$(srcdir)/ash"; \
2132             libsrcdir="$$s/ash";; \
2133         esac; \
2134         $(SHELL) $${libsrcdir}/configure \
2135           $(HOST_CONFIGARGS) $${srcdiroption} \
2136           || exit 1
2137 @endif ash
2138
2139 .PHONY: all-ash maybe-all-ash
2140 maybe-all-ash:
2141 @if ash
2142 maybe-all-ash: all-ash
2143 all-ash: configure-ash
2144         @r=`${PWD_COMMAND}`; export r; \
2145         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2146         $(SET_LIB_PATH) \
2147         (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2148 @endif ash
2149
2150 .PHONY: check-ash maybe-check-ash
2151 maybe-check-ash:
2152 @if ash
2153 maybe-check-ash: check-ash
2154
2155 check-ash:
2156         @r=`${PWD_COMMAND}`; export r; \
2157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2158         $(SET_LIB_PATH) \
2159         (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2160
2161 @endif ash
2162
2163 .PHONY: install-ash maybe-install-ash
2164 maybe-install-ash:
2165 @if ash
2166 maybe-install-ash: install-ash
2167
2168 install-ash: installdirs
2169         @r=`${PWD_COMMAND}`; export r; \
2170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2171         $(SET_LIB_PATH) \
2172         (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2173
2174 @endif ash
2175
2176 # Other targets (info, dvi, etc.)
2177
2178 .PHONY: maybe-info-ash info-ash
2179 maybe-info-ash:
2180 @if ash
2181 maybe-info-ash: info-ash
2182
2183 info-ash: \
2184     configure-ash 
2185         @[ -f ./ash/Makefile ] || exit 0; \
2186         r=`${PWD_COMMAND}`; export r; \
2187         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2188         $(SET_LIB_PATH) \
2189         for flag in $(EXTRA_HOST_FLAGS); do \
2190           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2191         done; \
2192         echo "Doing info in ash" ; \
2193         (cd ash && \
2194           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2195                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2196                   "RANLIB=$${RANLIB}" \
2197                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2198                   info) \
2199           || exit 1
2200
2201 @endif ash
2202
2203 .PHONY: maybe-dvi-ash dvi-ash
2204 maybe-dvi-ash:
2205 @if ash
2206 maybe-dvi-ash: dvi-ash
2207
2208 dvi-ash: \
2209     configure-ash 
2210         @[ -f ./ash/Makefile ] || exit 0; \
2211         r=`${PWD_COMMAND}`; export r; \
2212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2213         $(SET_LIB_PATH) \
2214         for flag in $(EXTRA_HOST_FLAGS); do \
2215           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2216         done; \
2217         echo "Doing dvi in ash" ; \
2218         (cd ash && \
2219           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2220                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2221                   "RANLIB=$${RANLIB}" \
2222                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2223                   dvi) \
2224           || exit 1
2225
2226 @endif ash
2227
2228 .PHONY: maybe-TAGS-ash TAGS-ash
2229 maybe-TAGS-ash:
2230 @if ash
2231 maybe-TAGS-ash: TAGS-ash
2232
2233 TAGS-ash: \
2234     configure-ash 
2235         @[ -f ./ash/Makefile ] || exit 0; \
2236         r=`${PWD_COMMAND}`; export r; \
2237         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2238         $(SET_LIB_PATH) \
2239         for flag in $(EXTRA_HOST_FLAGS); do \
2240           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2241         done; \
2242         echo "Doing TAGS in ash" ; \
2243         (cd ash && \
2244           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2245                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2246                   "RANLIB=$${RANLIB}" \
2247                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2248                   TAGS) \
2249           || exit 1
2250
2251 @endif ash
2252
2253 .PHONY: maybe-install-info-ash install-info-ash
2254 maybe-install-info-ash:
2255 @if ash
2256 maybe-install-info-ash: install-info-ash
2257
2258 install-info-ash: \
2259     configure-ash \
2260     info-ash 
2261         @[ -f ./ash/Makefile ] || exit 0; \
2262         r=`${PWD_COMMAND}`; export r; \
2263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2264         $(SET_LIB_PATH) \
2265         for flag in $(EXTRA_HOST_FLAGS); do \
2266           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2267         done; \
2268         echo "Doing install-info in ash" ; \
2269         (cd ash && \
2270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2272                   "RANLIB=$${RANLIB}" \
2273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2274                   install-info) \
2275           || exit 1
2276
2277 @endif ash
2278
2279 .PHONY: maybe-installcheck-ash installcheck-ash
2280 maybe-installcheck-ash:
2281 @if ash
2282 maybe-installcheck-ash: installcheck-ash
2283
2284 installcheck-ash: \
2285     configure-ash 
2286         @[ -f ./ash/Makefile ] || exit 0; \
2287         r=`${PWD_COMMAND}`; export r; \
2288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2289         $(SET_LIB_PATH) \
2290         for flag in $(EXTRA_HOST_FLAGS); do \
2291           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2292         done; \
2293         echo "Doing installcheck in ash" ; \
2294         (cd ash && \
2295           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2296                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2297                   "RANLIB=$${RANLIB}" \
2298                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2299                   installcheck) \
2300           || exit 1
2301
2302 @endif ash
2303
2304 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2305 maybe-mostlyclean-ash:
2306 @if ash
2307 maybe-mostlyclean-ash: mostlyclean-ash
2308
2309 mostlyclean-ash: 
2310         @[ -f ./ash/Makefile ] || exit 0; \
2311         r=`${PWD_COMMAND}`; export r; \
2312         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2313         $(SET_LIB_PATH) \
2314         for flag in $(EXTRA_HOST_FLAGS); do \
2315           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2316         done; \
2317         echo "Doing mostlyclean in ash" ; \
2318         (cd ash && \
2319           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2320                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2321                   "RANLIB=$${RANLIB}" \
2322                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2323                   mostlyclean) \
2324           || exit 1
2325
2326 @endif ash
2327
2328 .PHONY: maybe-clean-ash clean-ash
2329 maybe-clean-ash:
2330 @if ash
2331 maybe-clean-ash: clean-ash
2332
2333 clean-ash: 
2334         @[ -f ./ash/Makefile ] || exit 0; \
2335         r=`${PWD_COMMAND}`; export r; \
2336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2337         $(SET_LIB_PATH) \
2338         for flag in $(EXTRA_HOST_FLAGS); do \
2339           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2340         done; \
2341         echo "Doing clean in ash" ; \
2342         (cd ash && \
2343           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2344                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2345                   "RANLIB=$${RANLIB}" \
2346                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2347                   clean) \
2348           || exit 1
2349
2350 @endif ash
2351
2352 .PHONY: maybe-distclean-ash distclean-ash
2353 maybe-distclean-ash:
2354 @if ash
2355 maybe-distclean-ash: distclean-ash
2356
2357 distclean-ash: 
2358         @[ -f ./ash/Makefile ] || exit 0; \
2359         r=`${PWD_COMMAND}`; export r; \
2360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2361         $(SET_LIB_PATH) \
2362         for flag in $(EXTRA_HOST_FLAGS); do \
2363           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2364         done; \
2365         echo "Doing distclean in ash" ; \
2366         (cd ash && \
2367           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2368                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2369                   "RANLIB=$${RANLIB}" \
2370                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2371                   distclean) \
2372           || exit 1
2373
2374 @endif ash
2375
2376 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2377 maybe-maintainer-clean-ash:
2378 @if ash
2379 maybe-maintainer-clean-ash: maintainer-clean-ash
2380
2381 maintainer-clean-ash: 
2382         @[ -f ./ash/Makefile ] || exit 0; \
2383         r=`${PWD_COMMAND}`; export r; \
2384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2385         $(SET_LIB_PATH) \
2386         for flag in $(EXTRA_HOST_FLAGS); do \
2387           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2388         done; \
2389         echo "Doing maintainer-clean in ash" ; \
2390         (cd ash && \
2391           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2392                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2393                   "RANLIB=$${RANLIB}" \
2394                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2395                   maintainer-clean) \
2396           || exit 1
2397
2398 @endif ash
2399
2400
2401 .PHONY: configure-autoconf maybe-configure-autoconf
2402 maybe-configure-autoconf:
2403 @if autoconf
2404 maybe-configure-autoconf: configure-autoconf
2405 configure-autoconf:
2406         @test ! -f autoconf/Makefile || exit 0; \
2407         [ -d autoconf ] || mkdir autoconf; \
2408         r=`${PWD_COMMAND}`; export r; \
2409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2410         CC="$(CC)"; export CC; \
2411         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2412         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2413         CXX="$(CXX)"; export CXX; \
2414         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2415         AR="$(AR)"; export AR; \
2416         AS="$(AS)"; export AS; \
2417         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2418         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2419         LD="$(LD)"; export LD; \
2420         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2421         NM="$(NM)"; export NM; \
2422         RANLIB="$(RANLIB)"; export RANLIB; \
2423         WINDRES="$(WINDRES)"; export WINDRES; \
2424         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2425         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2426         echo Configuring in autoconf; \
2427         cd autoconf || exit 1; \
2428         case $(srcdir) in \
2429           \.) \
2430             srcdiroption="--srcdir=."; \
2431             libsrcdir=".";; \
2432           /* | [A-Za-z]:[\\/]*) \
2433             srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2434             libsrcdir="$$s/autoconf";; \
2435           *) \
2436             srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2437             libsrcdir="$$s/autoconf";; \
2438         esac; \
2439         $(SHELL) $${libsrcdir}/configure \
2440           $(HOST_CONFIGARGS) $${srcdiroption} \
2441           || exit 1
2442 @endif autoconf
2443
2444 .PHONY: all-autoconf maybe-all-autoconf
2445 maybe-all-autoconf:
2446 @if autoconf
2447 maybe-all-autoconf: all-autoconf
2448 all-autoconf: configure-autoconf
2449         @r=`${PWD_COMMAND}`; export r; \
2450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2451         $(SET_LIB_PATH) \
2452         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2453 @endif autoconf
2454
2455 .PHONY: check-autoconf maybe-check-autoconf
2456 maybe-check-autoconf:
2457 @if autoconf
2458 maybe-check-autoconf: check-autoconf
2459
2460 check-autoconf:
2461         @r=`${PWD_COMMAND}`; export r; \
2462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2463         $(SET_LIB_PATH) \
2464         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2465
2466 @endif autoconf
2467
2468 .PHONY: install-autoconf maybe-install-autoconf
2469 maybe-install-autoconf:
2470 @if autoconf
2471 maybe-install-autoconf: install-autoconf
2472
2473 install-autoconf: installdirs
2474         @r=`${PWD_COMMAND}`; export r; \
2475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2476         $(SET_LIB_PATH) \
2477         (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2478
2479 @endif autoconf
2480
2481 # Other targets (info, dvi, etc.)
2482
2483 .PHONY: maybe-info-autoconf info-autoconf
2484 maybe-info-autoconf:
2485 @if autoconf
2486 maybe-info-autoconf: info-autoconf
2487
2488 info-autoconf: \
2489     configure-autoconf 
2490         @[ -f ./autoconf/Makefile ] || exit 0; \
2491         r=`${PWD_COMMAND}`; export r; \
2492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2493         $(SET_LIB_PATH) \
2494         for flag in $(EXTRA_HOST_FLAGS); do \
2495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2496         done; \
2497         echo "Doing info in autoconf" ; \
2498         (cd autoconf && \
2499           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2500                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2501                   "RANLIB=$${RANLIB}" \
2502                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2503                   info) \
2504           || exit 1
2505
2506 @endif autoconf
2507
2508 .PHONY: maybe-dvi-autoconf dvi-autoconf
2509 maybe-dvi-autoconf:
2510 @if autoconf
2511 maybe-dvi-autoconf: dvi-autoconf
2512
2513 dvi-autoconf: \
2514     configure-autoconf 
2515         @[ -f ./autoconf/Makefile ] || exit 0; \
2516         r=`${PWD_COMMAND}`; export r; \
2517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2518         $(SET_LIB_PATH) \
2519         for flag in $(EXTRA_HOST_FLAGS); do \
2520           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2521         done; \
2522         echo "Doing dvi in autoconf" ; \
2523         (cd autoconf && \
2524           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2525                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2526                   "RANLIB=$${RANLIB}" \
2527                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2528                   dvi) \
2529           || exit 1
2530
2531 @endif autoconf
2532
2533 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2534 maybe-TAGS-autoconf:
2535 @if autoconf
2536 maybe-TAGS-autoconf: TAGS-autoconf
2537
2538 TAGS-autoconf: \
2539     configure-autoconf 
2540         @[ -f ./autoconf/Makefile ] || exit 0; \
2541         r=`${PWD_COMMAND}`; export r; \
2542         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2543         $(SET_LIB_PATH) \
2544         for flag in $(EXTRA_HOST_FLAGS); do \
2545           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2546         done; \
2547         echo "Doing TAGS in autoconf" ; \
2548         (cd autoconf && \
2549           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2550                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2551                   "RANLIB=$${RANLIB}" \
2552                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2553                   TAGS) \
2554           || exit 1
2555
2556 @endif autoconf
2557
2558 .PHONY: maybe-install-info-autoconf install-info-autoconf
2559 maybe-install-info-autoconf:
2560 @if autoconf
2561 maybe-install-info-autoconf: install-info-autoconf
2562
2563 install-info-autoconf: \
2564     configure-autoconf \
2565     info-autoconf 
2566         @[ -f ./autoconf/Makefile ] || exit 0; \
2567         r=`${PWD_COMMAND}`; export r; \
2568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2569         $(SET_LIB_PATH) \
2570         for flag in $(EXTRA_HOST_FLAGS); do \
2571           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2572         done; \
2573         echo "Doing install-info in autoconf" ; \
2574         (cd autoconf && \
2575           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2576                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2577                   "RANLIB=$${RANLIB}" \
2578                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2579                   install-info) \
2580           || exit 1
2581
2582 @endif autoconf
2583
2584 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2585 maybe-installcheck-autoconf:
2586 @if autoconf
2587 maybe-installcheck-autoconf: installcheck-autoconf
2588
2589 installcheck-autoconf: \
2590     configure-autoconf 
2591         @[ -f ./autoconf/Makefile ] || exit 0; \
2592         r=`${PWD_COMMAND}`; export r; \
2593         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2594         $(SET_LIB_PATH) \
2595         for flag in $(EXTRA_HOST_FLAGS); do \
2596           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2597         done; \
2598         echo "Doing installcheck in autoconf" ; \
2599         (cd autoconf && \
2600           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2601                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2602                   "RANLIB=$${RANLIB}" \
2603                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2604                   installcheck) \
2605           || exit 1
2606
2607 @endif autoconf
2608
2609 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2610 maybe-mostlyclean-autoconf:
2611 @if autoconf
2612 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2613
2614 mostlyclean-autoconf: 
2615         @[ -f ./autoconf/Makefile ] || exit 0; \
2616         r=`${PWD_COMMAND}`; export r; \
2617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2618         $(SET_LIB_PATH) \
2619         for flag in $(EXTRA_HOST_FLAGS); do \
2620           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2621         done; \
2622         echo "Doing mostlyclean in autoconf" ; \
2623         (cd autoconf && \
2624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2626                   "RANLIB=$${RANLIB}" \
2627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2628                   mostlyclean) \
2629           || exit 1
2630
2631 @endif autoconf
2632
2633 .PHONY: maybe-clean-autoconf clean-autoconf
2634 maybe-clean-autoconf:
2635 @if autoconf
2636 maybe-clean-autoconf: clean-autoconf
2637
2638 clean-autoconf: 
2639         @[ -f ./autoconf/Makefile ] || exit 0; \
2640         r=`${PWD_COMMAND}`; export r; \
2641         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2642         $(SET_LIB_PATH) \
2643         for flag in $(EXTRA_HOST_FLAGS); do \
2644           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2645         done; \
2646         echo "Doing clean in autoconf" ; \
2647         (cd autoconf && \
2648           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2649                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2650                   "RANLIB=$${RANLIB}" \
2651                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2652                   clean) \
2653           || exit 1
2654
2655 @endif autoconf
2656
2657 .PHONY: maybe-distclean-autoconf distclean-autoconf
2658 maybe-distclean-autoconf:
2659 @if autoconf
2660 maybe-distclean-autoconf: distclean-autoconf
2661
2662 distclean-autoconf: 
2663         @[ -f ./autoconf/Makefile ] || exit 0; \
2664         r=`${PWD_COMMAND}`; export r; \
2665         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2666         $(SET_LIB_PATH) \
2667         for flag in $(EXTRA_HOST_FLAGS); do \
2668           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2669         done; \
2670         echo "Doing distclean in autoconf" ; \
2671         (cd autoconf && \
2672           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2673                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2674                   "RANLIB=$${RANLIB}" \
2675                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2676                   distclean) \
2677           || exit 1
2678
2679 @endif autoconf
2680
2681 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2682 maybe-maintainer-clean-autoconf:
2683 @if autoconf
2684 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
2685
2686 maintainer-clean-autoconf: 
2687         @[ -f ./autoconf/Makefile ] || exit 0; \
2688         r=`${PWD_COMMAND}`; export r; \
2689         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2690         $(SET_LIB_PATH) \
2691         for flag in $(EXTRA_HOST_FLAGS); do \
2692           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2693         done; \
2694         echo "Doing maintainer-clean in autoconf" ; \
2695         (cd autoconf && \
2696           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2697                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2698                   "RANLIB=$${RANLIB}" \
2699                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2700                   maintainer-clean) \
2701           || exit 1
2702
2703 @endif autoconf
2704
2705
2706 .PHONY: configure-automake maybe-configure-automake
2707 maybe-configure-automake:
2708 @if automake
2709 maybe-configure-automake: configure-automake
2710 configure-automake:
2711         @test ! -f automake/Makefile || exit 0; \
2712         [ -d automake ] || mkdir automake; \
2713         r=`${PWD_COMMAND}`; export r; \
2714         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715         CC="$(CC)"; export CC; \
2716         CFLAGS="$(CFLAGS)"; export CFLAGS; \
2717         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2718         CXX="$(CXX)"; export CXX; \
2719         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2720         AR="$(AR)"; export AR; \
2721         AS="$(AS)"; export AS; \
2722         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2723         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2724         LD="$(LD)"; export LD; \
2725         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2726         NM="$(NM)"; export NM; \
2727         RANLIB="$(RANLIB)"; export RANLIB; \
2728         WINDRES="$(WINDRES)"; export WINDRES; \
2729         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2730         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2731         echo Configuring in automake; \
2732         cd automake || exit 1; \
2733         case $(srcdir) in \
2734           \.) \
2735             srcdiroption="--srcdir=."; \
2736             libsrcdir=".";; \
2737           /* | [A-Za-z]:[\\/]*) \
2738             srcdiroption="--srcdir=$(srcdir)/automake"; \
2739             libsrcdir="$$s/automake";; \
2740           *) \
2741             srcdiroption="--srcdir=../$(srcdir)/automake"; \
2742             libsrcdir="$$s/automake";; \
2743         esac; \
2744         $(SHELL) $${libsrcdir}/configure \
2745           $(HOST_CONFIGARGS) $${srcdiroption} \
2746           || exit 1
2747 @endif automake
2748
2749 .PHONY: all-automake maybe-all-automake
2750 maybe-all-automake:
2751 @if automake
2752 maybe-all-automake: all-automake
2753 all-automake: configure-automake
2754         @r=`${PWD_COMMAND}`; export r; \
2755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2756         $(SET_LIB_PATH) \
2757         (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2758 @endif automake
2759
2760 .PHONY: check-automake maybe-check-automake
2761 maybe-check-automake:
2762 @if automake
2763 maybe-check-automake: check-automake
2764
2765 check-automake:
2766         @r=`${PWD_COMMAND}`; export r; \
2767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768         $(SET_LIB_PATH) \
2769         (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2770
2771 @endif automake
2772
2773 .PHONY: install-automake maybe-install-automake
2774 maybe-install-automake:
2775 @if automake
2776 maybe-install-automake: install-automake
2777
2778 install-automake: installdirs
2779         @r=`${PWD_COMMAND}`; export r; \
2780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2781         $(SET_LIB_PATH) \
2782         (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2783
2784 @endif automake
2785
2786 # Other targets (info, dvi, etc.)
2787
2788 .PHONY: maybe-info-automake info-automake
2789 maybe-info-automake:
2790 @if automake
2791 maybe-info-automake: info-automake
2792
2793 info-automake: \
2794     configure-automake 
2795         @[ -f ./automake/Makefile ] || exit 0; \
2796         r=`${PWD_COMMAND}`; export r; \
2797         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2798         $(SET_LIB_PATH) \
2799         for flag in $(EXTRA_HOST_FLAGS); do \
2800           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2801         done; \
2802         echo "Doing info in automake" ; \
2803         (cd automake && \
2804           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2805                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2806                   "RANLIB=$${RANLIB}" \
2807                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2808                   info) \
2809           || exit 1
2810
2811 @endif automake
2812
2813 .PHONY: maybe-dvi-automake dvi-automake
2814 maybe-dvi-automake:
2815 @if automake
2816 maybe-dvi-automake: dvi-automake
2817
2818 dvi-automake: \
2819     configure-automake 
2820         @[ -f ./automake/Makefile ] || exit 0; \
2821         r=`${PWD_COMMAND}`; export r; \
2822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2823         $(SET_LIB_PATH) \
2824         for flag in $(EXTRA_HOST_FLAGS); do \
2825           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2826         done; \
2827         echo "Doing dvi in automake" ; \
2828         (cd automake && \
2829           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2830                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2831                   "RANLIB=$${RANLIB}" \
2832                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2833                   dvi) \
2834           || exit 1
2835
2836 @endif automake
2837
2838 .PHONY: maybe-TAGS-automake TAGS-automake
2839 maybe-TAGS-automake:
2840 @if automake
2841 maybe-TAGS-automake: TAGS-automake
2842
2843 TAGS-automake: \
2844     configure-automake 
2845         @[ -f ./automake/Makefile ] || exit 0; \
2846         r=`${PWD_COMMAND}`; export r; \
2847         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848         $(SET_LIB_PATH) \
2849         for flag in $(EXTRA_HOST_FLAGS); do \
2850           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2851         done; \
2852         echo "Doing TAGS in automake" ; \
2853         (cd automake && \
2854           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2855                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2856                   "RANLIB=$${RANLIB}" \
2857                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2858                   TAGS) \
2859           || exit 1
2860
2861 @endif automake
2862
2863 .PHONY: maybe-install-info-automake install-info-automake
2864 maybe-install-info-automake:
2865 @if automake
2866 maybe-install-info-automake: install-info-automake
2867
2868 install-info-automake: \
2869     configure-automake \
2870     info-automake 
2871         @[ -f ./automake/Makefile ] || exit 0; \
2872         r=`${PWD_COMMAND}`; export r; \
2873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874         $(SET_LIB_PATH) \
2875         for flag in $(EXTRA_HOST_FLAGS); do \
2876           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2877         done; \
2878         echo "Doing install-info in automake" ; \
2879         (cd automake && \
2880           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2881                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2882                   "RANLIB=$${RANLIB}" \
2883                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2884                   install-info) \
2885           || exit 1
2886
2887 @endif automake
2888
2889 .PHONY: maybe-installcheck-automake installcheck-automake
2890 maybe-installcheck-automake:
2891 @if automake
2892 maybe-installcheck-automake: installcheck-automake
2893
2894 installcheck-automake: \
2895     configure-automake 
2896         @[ -f ./automake/Makefile ] || exit 0; \
2897         r=`${PWD_COMMAND}`; export r; \
2898         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899         $(SET_LIB_PATH) \
2900         for flag in $(EXTRA_HOST_FLAGS); do \
2901           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2902         done; \
2903         echo "Doing installcheck in automake" ; \
2904         (cd automake && \
2905           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2906                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2907                   "RANLIB=$${RANLIB}" \
2908                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2909                   installcheck) \
2910           || exit 1
2911
2912 @endif automake
2913
2914 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2915 maybe-mostlyclean-automake:
2916 @if automake
2917 maybe-mostlyclean-automake: mostlyclean-automake
2918
2919 mostlyclean-automake: 
2920         @[ -f ./automake/Makefile ] || exit 0; \
2921         r=`${PWD_COMMAND}`; export r; \
2922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2923         $(SET_LIB_PATH) \
2924         for flag in $(EXTRA_HOST_FLAGS); do \
2925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2926         done; \
2927         echo "Doing mostlyclean in automake" ; \
2928         (cd automake && \
2929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2931                   "RANLIB=$${RANLIB}" \
2932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2933                   mostlyclean) \
2934           || exit 1
2935
2936 @endif automake
2937
2938 .PHONY: maybe-clean-automake clean-automake
2939 maybe-clean-automake:
2940 @if automake
2941 maybe-clean-automake: clean-automake
2942
2943 clean-automake: 
2944         @[ -f ./automake/Makefile ] || exit 0; \
2945         r=`${PWD_COMMAND}`; export r; \
2946         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2947         $(SET_LIB_PATH) \
2948         for flag in $(EXTRA_HOST_FLAGS); do \
2949           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2950         done; \
2951         echo "Doing clean in automake" ; \
2952         (cd automake && \
2953           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2954                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2955                   "RANLIB=$${RANLIB}" \
2956                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2957                   clean) \
2958           || exit 1
2959
2960 @endif automake
2961
2962 .PHONY: maybe-distclean-automake distclean-automake
2963 maybe-distclean-automake:
2964 @if automake
2965 maybe-distclean-automake: distclean-automake
2966
2967 distclean-automake: 
2968         @[ -f ./automake/Makefile ] || exit 0; \
2969         r=`${PWD_COMMAND}`; export r; \
2970         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2971         $(SET_LIB_PATH) \
2972         for flag in $(EXTRA_HOST_FLAGS); do \
2973           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2974         done; \
2975         echo "Doing distclean in automake" ; \
2976         (cd automake && \
2977           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2978                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2979                   "RANLIB=$${RANLIB}" \
2980                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2981                   distclean) \
2982           || exit 1
2983
2984 @endif automake
2985
2986 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
2987 maybe-maintainer-clean-automake:
2988 @if automake
2989 maybe-maintainer-clean-automake: maintainer-clean-automake
2990
2991 maintainer-clean-automake: 
2992         @[ -f ./automake/Makefile ] || exit 0; \
2993         r=`${PWD_COMMAND}`; export r; \
2994         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2995         $(SET_LIB_PATH) \
2996         for flag in $(EXTRA_HOST_FLAGS); do \
2997           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2998         done; \
2999         echo "Doing maintainer-clean in automake" ; \
3000         (cd automake && \
3001           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3002                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3003                   "RANLIB=$${RANLIB}" \
3004                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3005                   maintainer-clean) \
3006           || exit 1
3007
3008 @endif automake
3009
3010
3011 .PHONY: configure-bash maybe-configure-bash
3012 maybe-configure-bash:
3013 @if bash
3014 maybe-configure-bash: configure-bash
3015 configure-bash:
3016         @test ! -f bash/Makefile || exit 0; \
3017         [ -d bash ] || mkdir bash; \
3018         r=`${PWD_COMMAND}`; export r; \
3019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020         CC="$(CC)"; export CC; \
3021         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3022         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3023         CXX="$(CXX)"; export CXX; \
3024         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3025         AR="$(AR)"; export AR; \
3026         AS="$(AS)"; export AS; \
3027         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3028         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3029         LD="$(LD)"; export LD; \
3030         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3031         NM="$(NM)"; export NM; \
3032         RANLIB="$(RANLIB)"; export RANLIB; \
3033         WINDRES="$(WINDRES)"; export WINDRES; \
3034         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3035         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3036         echo Configuring in bash; \
3037         cd bash || exit 1; \
3038         case $(srcdir) in \
3039           \.) \
3040             srcdiroption="--srcdir=."; \
3041             libsrcdir=".";; \
3042           /* | [A-Za-z]:[\\/]*) \
3043             srcdiroption="--srcdir=$(srcdir)/bash"; \
3044             libsrcdir="$$s/bash";; \
3045           *) \
3046             srcdiroption="--srcdir=../$(srcdir)/bash"; \
3047             libsrcdir="$$s/bash";; \
3048         esac; \
3049         $(SHELL) $${libsrcdir}/configure \
3050           $(HOST_CONFIGARGS) $${srcdiroption} \
3051           || exit 1
3052 @endif bash
3053
3054 .PHONY: all-bash maybe-all-bash
3055 maybe-all-bash:
3056 @if bash
3057 maybe-all-bash: all-bash
3058 all-bash: configure-bash
3059         @r=`${PWD_COMMAND}`; export r; \
3060         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3061         $(SET_LIB_PATH) \
3062         (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3063 @endif bash
3064
3065 .PHONY: check-bash maybe-check-bash
3066 maybe-check-bash:
3067 @if bash
3068 maybe-check-bash: check-bash
3069
3070 check-bash:
3071         @r=`${PWD_COMMAND}`; export r; \
3072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3073         $(SET_LIB_PATH) \
3074         (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3075
3076 @endif bash
3077
3078 .PHONY: install-bash maybe-install-bash
3079 maybe-install-bash:
3080 @if bash
3081 maybe-install-bash: install-bash
3082
3083 install-bash: installdirs
3084         @r=`${PWD_COMMAND}`; export r; \
3085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3086         $(SET_LIB_PATH) \
3087         (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3088
3089 @endif bash
3090
3091 # Other targets (info, dvi, etc.)
3092
3093 .PHONY: maybe-info-bash info-bash
3094 maybe-info-bash:
3095 @if bash
3096 maybe-info-bash: info-bash
3097
3098 info-bash: \
3099     configure-bash 
3100         @[ -f ./bash/Makefile ] || exit 0; \
3101         r=`${PWD_COMMAND}`; export r; \
3102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103         $(SET_LIB_PATH) \
3104         for flag in $(EXTRA_HOST_FLAGS); do \
3105           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3106         done; \
3107         echo "Doing info in bash" ; \
3108         (cd bash && \
3109           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3110                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3111                   "RANLIB=$${RANLIB}" \
3112                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3113                   info) \
3114           || exit 1
3115
3116 @endif bash
3117
3118 .PHONY: maybe-dvi-bash dvi-bash
3119 maybe-dvi-bash:
3120 @if bash
3121 maybe-dvi-bash: dvi-bash
3122
3123 dvi-bash: \
3124     configure-bash 
3125         @[ -f ./bash/Makefile ] || exit 0; \
3126         r=`${PWD_COMMAND}`; export r; \
3127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3128         $(SET_LIB_PATH) \
3129         for flag in $(EXTRA_HOST_FLAGS); do \
3130           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3131         done; \
3132         echo "Doing dvi in bash" ; \
3133         (cd bash && \
3134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3136                   "RANLIB=$${RANLIB}" \
3137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3138                   dvi) \
3139           || exit 1
3140
3141 @endif bash
3142
3143 .PHONY: maybe-TAGS-bash TAGS-bash
3144 maybe-TAGS-bash:
3145 @if bash
3146 maybe-TAGS-bash: TAGS-bash
3147
3148 TAGS-bash: \
3149     configure-bash 
3150         @[ -f ./bash/Makefile ] || exit 0; \
3151         r=`${PWD_COMMAND}`; export r; \
3152         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3153         $(SET_LIB_PATH) \
3154         for flag in $(EXTRA_HOST_FLAGS); do \
3155           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3156         done; \
3157         echo "Doing TAGS in bash" ; \
3158         (cd bash && \
3159           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3160                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3161                   "RANLIB=$${RANLIB}" \
3162                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3163                   TAGS) \
3164           || exit 1
3165
3166 @endif bash
3167
3168 .PHONY: maybe-install-info-bash install-info-bash
3169 maybe-install-info-bash:
3170 @if bash
3171 maybe-install-info-bash: install-info-bash
3172
3173 install-info-bash: \
3174     configure-bash \
3175     info-bash 
3176         @[ -f ./bash/Makefile ] || exit 0; \
3177         r=`${PWD_COMMAND}`; export r; \
3178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3179         $(SET_LIB_PATH) \
3180         for flag in $(EXTRA_HOST_FLAGS); do \
3181           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3182         done; \
3183         echo "Doing install-info in bash" ; \
3184         (cd bash && \
3185           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3186                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3187                   "RANLIB=$${RANLIB}" \
3188                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3189                   install-info) \
3190           || exit 1
3191
3192 @endif bash
3193
3194 .PHONY: maybe-installcheck-bash installcheck-bash
3195 maybe-installcheck-bash:
3196 @if bash
3197 maybe-installcheck-bash: installcheck-bash
3198
3199 installcheck-bash: \
3200     configure-bash 
3201         @[ -f ./bash/Makefile ] || exit 0; \
3202         r=`${PWD_COMMAND}`; export r; \
3203         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3204         $(SET_LIB_PATH) \
3205         for flag in $(EXTRA_HOST_FLAGS); do \
3206           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3207         done; \
3208         echo "Doing installcheck in bash" ; \
3209         (cd bash && \
3210           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3211                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3212                   "RANLIB=$${RANLIB}" \
3213                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3214                   installcheck) \
3215           || exit 1
3216
3217 @endif bash
3218
3219 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3220 maybe-mostlyclean-bash:
3221 @if bash
3222 maybe-mostlyclean-bash: mostlyclean-bash
3223
3224 mostlyclean-bash: 
3225         @[ -f ./bash/Makefile ] || exit 0; \
3226         r=`${PWD_COMMAND}`; export r; \
3227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3228         $(SET_LIB_PATH) \
3229         for flag in $(EXTRA_HOST_FLAGS); do \
3230           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3231         done; \
3232         echo "Doing mostlyclean in bash" ; \
3233         (cd bash && \
3234           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3235                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3236                   "RANLIB=$${RANLIB}" \
3237                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3238                   mostlyclean) \
3239           || exit 1
3240
3241 @endif bash
3242
3243 .PHONY: maybe-clean-bash clean-bash
3244 maybe-clean-bash:
3245 @if bash
3246 maybe-clean-bash: clean-bash
3247
3248 clean-bash: 
3249         @[ -f ./bash/Makefile ] || exit 0; \
3250         r=`${PWD_COMMAND}`; export r; \
3251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3252         $(SET_LIB_PATH) \
3253         for flag in $(EXTRA_HOST_FLAGS); do \
3254           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3255         done; \
3256         echo "Doing clean in bash" ; \
3257         (cd bash && \
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                   clean) \
3263           || exit 1
3264
3265 @endif bash
3266
3267 .PHONY: maybe-distclean-bash distclean-bash
3268 maybe-distclean-bash:
3269 @if bash
3270 maybe-distclean-bash: distclean-bash
3271
3272 distclean-bash: 
3273         @[ -f ./bash/Makefile ] || exit 0; \
3274         r=`${PWD_COMMAND}`; export r; \
3275         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3276         $(SET_LIB_PATH) \
3277         for flag in $(EXTRA_HOST_FLAGS); do \
3278           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3279         done; \
3280         echo "Doing distclean in bash" ; \
3281         (cd bash && \
3282           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3283                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3284                   "RANLIB=$${RANLIB}" \
3285                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3286                   distclean) \
3287           || exit 1
3288
3289 @endif bash
3290
3291 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3292 maybe-maintainer-clean-bash:
3293 @if bash
3294 maybe-maintainer-clean-bash: maintainer-clean-bash
3295
3296 maintainer-clean-bash: 
3297         @[ -f ./bash/Makefile ] || exit 0; \
3298         r=`${PWD_COMMAND}`; export r; \
3299         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300         $(SET_LIB_PATH) \
3301         for flag in $(EXTRA_HOST_FLAGS); do \
3302           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3303         done; \
3304         echo "Doing maintainer-clean in bash" ; \
3305         (cd bash && \
3306           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3307                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3308                   "RANLIB=$${RANLIB}" \
3309                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3310                   maintainer-clean) \
3311           || exit 1
3312
3313 @endif bash
3314
3315
3316 .PHONY: configure-bfd maybe-configure-bfd
3317 maybe-configure-bfd:
3318 @if bfd
3319 maybe-configure-bfd: configure-bfd
3320 configure-bfd:
3321         @test ! -f bfd/Makefile || exit 0; \
3322         [ -d bfd ] || mkdir bfd; \
3323         r=`${PWD_COMMAND}`; export r; \
3324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3325         CC="$(CC)"; export CC; \
3326         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3327         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3328         CXX="$(CXX)"; export CXX; \
3329         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3330         AR="$(AR)"; export AR; \
3331         AS="$(AS)"; export AS; \
3332         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3333         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3334         LD="$(LD)"; export LD; \
3335         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3336         NM="$(NM)"; export NM; \
3337         RANLIB="$(RANLIB)"; export RANLIB; \
3338         WINDRES="$(WINDRES)"; export WINDRES; \
3339         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3340         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3341         echo Configuring in bfd; \
3342         cd bfd || exit 1; \
3343         case $(srcdir) in \
3344           \.) \
3345             srcdiroption="--srcdir=."; \
3346             libsrcdir=".";; \
3347           /* | [A-Za-z]:[\\/]*) \
3348             srcdiroption="--srcdir=$(srcdir)/bfd"; \
3349             libsrcdir="$$s/bfd";; \
3350           *) \
3351             srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3352             libsrcdir="$$s/bfd";; \
3353         esac; \
3354         $(SHELL) $${libsrcdir}/configure \
3355           $(HOST_CONFIGARGS) $${srcdiroption} \
3356           || exit 1
3357 @endif bfd
3358
3359 .PHONY: all-bfd maybe-all-bfd
3360 maybe-all-bfd:
3361 @if bfd
3362 maybe-all-bfd: all-bfd
3363 all-bfd: configure-bfd
3364         @r=`${PWD_COMMAND}`; export r; \
3365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3366         $(SET_LIB_PATH) \
3367         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3368 @endif bfd
3369
3370 .PHONY: check-bfd maybe-check-bfd
3371 maybe-check-bfd:
3372 @if bfd
3373 maybe-check-bfd: check-bfd
3374
3375 check-bfd:
3376         @r=`${PWD_COMMAND}`; export r; \
3377         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3378         $(SET_LIB_PATH) \
3379         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3380
3381 @endif bfd
3382
3383 .PHONY: install-bfd maybe-install-bfd
3384 maybe-install-bfd:
3385 @if bfd
3386 maybe-install-bfd: install-bfd
3387
3388 install-bfd: installdirs
3389         @r=`${PWD_COMMAND}`; export r; \
3390         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3391         $(SET_LIB_PATH) \
3392         (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3393
3394 @endif bfd
3395
3396 # Other targets (info, dvi, etc.)
3397
3398 .PHONY: maybe-info-bfd info-bfd
3399 maybe-info-bfd:
3400 @if bfd
3401 maybe-info-bfd: info-bfd
3402
3403 info-bfd: \
3404     configure-bfd 
3405         @[ -f ./bfd/Makefile ] || exit 0; \
3406         r=`${PWD_COMMAND}`; export r; \
3407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3408         $(SET_LIB_PATH) \
3409         for flag in $(EXTRA_HOST_FLAGS); do \
3410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3411         done; \
3412         echo "Doing info in bfd" ; \
3413         (cd bfd && \
3414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3416                   "RANLIB=$${RANLIB}" \
3417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3418                   info) \
3419           || exit 1
3420
3421 @endif bfd
3422
3423 .PHONY: maybe-dvi-bfd dvi-bfd
3424 maybe-dvi-bfd:
3425 @if bfd
3426 maybe-dvi-bfd: dvi-bfd
3427
3428 dvi-bfd: \
3429     configure-bfd 
3430         @[ -f ./bfd/Makefile ] || exit 0; \
3431         r=`${PWD_COMMAND}`; export r; \
3432         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3433         $(SET_LIB_PATH) \
3434         for flag in $(EXTRA_HOST_FLAGS); do \
3435           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3436         done; \
3437         echo "Doing dvi in bfd" ; \
3438         (cd bfd && \
3439           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3440                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3441                   "RANLIB=$${RANLIB}" \
3442                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3443                   dvi) \
3444           || exit 1
3445
3446 @endif bfd
3447
3448 .PHONY: maybe-TAGS-bfd TAGS-bfd
3449 maybe-TAGS-bfd:
3450 @if bfd
3451 maybe-TAGS-bfd: TAGS-bfd
3452
3453 TAGS-bfd: \
3454     configure-bfd 
3455         @[ -f ./bfd/Makefile ] || exit 0; \
3456         r=`${PWD_COMMAND}`; export r; \
3457         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458         $(SET_LIB_PATH) \
3459         for flag in $(EXTRA_HOST_FLAGS); do \
3460           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3461         done; \
3462         echo "Doing TAGS in bfd" ; \
3463         (cd bfd && \
3464           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3465                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3466                   "RANLIB=$${RANLIB}" \
3467                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3468                   TAGS) \
3469           || exit 1
3470
3471 @endif bfd
3472
3473 .PHONY: maybe-install-info-bfd install-info-bfd
3474 maybe-install-info-bfd:
3475 @if bfd
3476 maybe-install-info-bfd: install-info-bfd
3477
3478 install-info-bfd: \
3479     configure-bfd \
3480     info-bfd 
3481         @[ -f ./bfd/Makefile ] || exit 0; \
3482         r=`${PWD_COMMAND}`; export r; \
3483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3484         $(SET_LIB_PATH) \
3485         for flag in $(EXTRA_HOST_FLAGS); do \
3486           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3487         done; \
3488         echo "Doing install-info in bfd" ; \
3489         (cd bfd && \
3490           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3491                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3492                   "RANLIB=$${RANLIB}" \
3493                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3494                   install-info) \
3495           || exit 1
3496
3497 @endif bfd
3498
3499 .PHONY: maybe-installcheck-bfd installcheck-bfd
3500 maybe-installcheck-bfd:
3501 @if bfd
3502 maybe-installcheck-bfd: installcheck-bfd
3503
3504 installcheck-bfd: \
3505     configure-bfd 
3506         @[ -f ./bfd/Makefile ] || exit 0; \
3507         r=`${PWD_COMMAND}`; export r; \
3508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3509         $(SET_LIB_PATH) \
3510         for flag in $(EXTRA_HOST_FLAGS); do \
3511           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3512         done; \
3513         echo "Doing installcheck in bfd" ; \
3514         (cd bfd && \
3515           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3516                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3517                   "RANLIB=$${RANLIB}" \
3518                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3519                   installcheck) \
3520           || exit 1
3521
3522 @endif bfd
3523
3524 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3525 maybe-mostlyclean-bfd:
3526 @if bfd
3527 maybe-mostlyclean-bfd: mostlyclean-bfd
3528
3529 mostlyclean-bfd: 
3530         @[ -f ./bfd/Makefile ] || exit 0; \
3531         r=`${PWD_COMMAND}`; export r; \
3532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533         $(SET_LIB_PATH) \
3534         for flag in $(EXTRA_HOST_FLAGS); do \
3535           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3536         done; \
3537         echo "Doing mostlyclean in bfd" ; \
3538         (cd bfd && \
3539           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3540                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3541                   "RANLIB=$${RANLIB}" \
3542                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3543                   mostlyclean) \
3544           || exit 1
3545
3546 @endif bfd
3547
3548 .PHONY: maybe-clean-bfd clean-bfd
3549 maybe-clean-bfd:
3550 @if bfd
3551 maybe-clean-bfd: clean-bfd
3552
3553 clean-bfd: 
3554         @[ -f ./bfd/Makefile ] || exit 0; \
3555         r=`${PWD_COMMAND}`; export r; \
3556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3557         $(SET_LIB_PATH) \
3558         for flag in $(EXTRA_HOST_FLAGS); do \
3559           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3560         done; \
3561         echo "Doing clean in bfd" ; \
3562         (cd bfd && \
3563           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3564                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3565                   "RANLIB=$${RANLIB}" \
3566                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3567                   clean) \
3568           || exit 1
3569
3570 @endif bfd
3571
3572 .PHONY: maybe-distclean-bfd distclean-bfd
3573 maybe-distclean-bfd:
3574 @if bfd
3575 maybe-distclean-bfd: distclean-bfd
3576
3577 distclean-bfd: 
3578         @[ -f ./bfd/Makefile ] || exit 0; \
3579         r=`${PWD_COMMAND}`; export r; \
3580         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3581         $(SET_LIB_PATH) \
3582         for flag in $(EXTRA_HOST_FLAGS); do \
3583           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3584         done; \
3585         echo "Doing distclean in bfd" ; \
3586         (cd bfd && \
3587           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3588                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3589                   "RANLIB=$${RANLIB}" \
3590                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3591                   distclean) \
3592           || exit 1
3593
3594 @endif bfd
3595
3596 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3597 maybe-maintainer-clean-bfd:
3598 @if bfd
3599 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3600
3601 maintainer-clean-bfd: 
3602         @[ -f ./bfd/Makefile ] || exit 0; \
3603         r=`${PWD_COMMAND}`; export r; \
3604         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3605         $(SET_LIB_PATH) \
3606         for flag in $(EXTRA_HOST_FLAGS); do \
3607           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3608         done; \
3609         echo "Doing maintainer-clean in bfd" ; \
3610         (cd bfd && \
3611           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3612                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3613                   "RANLIB=$${RANLIB}" \
3614                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3615                   maintainer-clean) \
3616           || exit 1
3617
3618 @endif bfd
3619
3620
3621 .PHONY: configure-opcodes maybe-configure-opcodes
3622 maybe-configure-opcodes:
3623 @if opcodes
3624 maybe-configure-opcodes: configure-opcodes
3625 configure-opcodes:
3626         @test ! -f opcodes/Makefile || exit 0; \
3627         [ -d opcodes ] || mkdir opcodes; \
3628         r=`${PWD_COMMAND}`; export r; \
3629         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3630         CC="$(CC)"; export CC; \
3631         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3632         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3633         CXX="$(CXX)"; export CXX; \
3634         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3635         AR="$(AR)"; export AR; \
3636         AS="$(AS)"; export AS; \
3637         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3638         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3639         LD="$(LD)"; export LD; \
3640         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3641         NM="$(NM)"; export NM; \
3642         RANLIB="$(RANLIB)"; export RANLIB; \
3643         WINDRES="$(WINDRES)"; export WINDRES; \
3644         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3645         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3646         echo Configuring in opcodes; \
3647         cd opcodes || exit 1; \
3648         case $(srcdir) in \
3649           \.) \
3650             srcdiroption="--srcdir=."; \
3651             libsrcdir=".";; \
3652           /* | [A-Za-z]:[\\/]*) \
3653             srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3654             libsrcdir="$$s/opcodes";; \
3655           *) \
3656             srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3657             libsrcdir="$$s/opcodes";; \
3658         esac; \
3659         $(SHELL) $${libsrcdir}/configure \
3660           $(HOST_CONFIGARGS) $${srcdiroption} \
3661           || exit 1
3662 @endif opcodes
3663
3664 .PHONY: all-opcodes maybe-all-opcodes
3665 maybe-all-opcodes:
3666 @if opcodes
3667 maybe-all-opcodes: all-opcodes
3668 all-opcodes: configure-opcodes
3669         @r=`${PWD_COMMAND}`; export r; \
3670         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3671         $(SET_LIB_PATH) \
3672         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3673 @endif opcodes
3674
3675 .PHONY: check-opcodes maybe-check-opcodes
3676 maybe-check-opcodes:
3677 @if opcodes
3678 maybe-check-opcodes: check-opcodes
3679
3680 check-opcodes:
3681         @r=`${PWD_COMMAND}`; export r; \
3682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3683         $(SET_LIB_PATH) \
3684         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3685
3686 @endif opcodes
3687
3688 .PHONY: install-opcodes maybe-install-opcodes
3689 maybe-install-opcodes:
3690 @if opcodes
3691 maybe-install-opcodes: install-opcodes
3692
3693 install-opcodes: installdirs
3694         @r=`${PWD_COMMAND}`; export r; \
3695         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3696         $(SET_LIB_PATH) \
3697         (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3698
3699 @endif opcodes
3700
3701 # Other targets (info, dvi, etc.)
3702
3703 .PHONY: maybe-info-opcodes info-opcodes
3704 maybe-info-opcodes:
3705 @if opcodes
3706 maybe-info-opcodes: info-opcodes
3707
3708 info-opcodes: \
3709     configure-opcodes 
3710         @[ -f ./opcodes/Makefile ] || exit 0; \
3711         r=`${PWD_COMMAND}`; export r; \
3712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713         $(SET_LIB_PATH) \
3714         for flag in $(EXTRA_HOST_FLAGS); do \
3715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3716         done; \
3717         echo "Doing info in opcodes" ; \
3718         (cd opcodes && \
3719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721                   "RANLIB=$${RANLIB}" \
3722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3723                   info) \
3724           || exit 1
3725
3726 @endif opcodes
3727
3728 .PHONY: maybe-dvi-opcodes dvi-opcodes
3729 maybe-dvi-opcodes:
3730 @if opcodes
3731 maybe-dvi-opcodes: dvi-opcodes
3732
3733 dvi-opcodes: \
3734     configure-opcodes 
3735         @[ -f ./opcodes/Makefile ] || exit 0; \
3736         r=`${PWD_COMMAND}`; export r; \
3737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3738         $(SET_LIB_PATH) \
3739         for flag in $(EXTRA_HOST_FLAGS); do \
3740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3741         done; \
3742         echo "Doing dvi in opcodes" ; \
3743         (cd opcodes && \
3744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3746                   "RANLIB=$${RANLIB}" \
3747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3748                   dvi) \
3749           || exit 1
3750
3751 @endif opcodes
3752
3753 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3754 maybe-TAGS-opcodes:
3755 @if opcodes
3756 maybe-TAGS-opcodes: TAGS-opcodes
3757
3758 TAGS-opcodes: \
3759     configure-opcodes 
3760         @[ -f ./opcodes/Makefile ] || exit 0; \
3761         r=`${PWD_COMMAND}`; export r; \
3762         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3763         $(SET_LIB_PATH) \
3764         for flag in $(EXTRA_HOST_FLAGS); do \
3765           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3766         done; \
3767         echo "Doing TAGS in opcodes" ; \
3768         (cd opcodes && \
3769           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3770                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3771                   "RANLIB=$${RANLIB}" \
3772                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3773                   TAGS) \
3774           || exit 1
3775
3776 @endif opcodes
3777
3778 .PHONY: maybe-install-info-opcodes install-info-opcodes
3779 maybe-install-info-opcodes:
3780 @if opcodes
3781 maybe-install-info-opcodes: install-info-opcodes
3782
3783 install-info-opcodes: \
3784     configure-opcodes \
3785     info-opcodes 
3786         @[ -f ./opcodes/Makefile ] || exit 0; \
3787         r=`${PWD_COMMAND}`; export r; \
3788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3789         $(SET_LIB_PATH) \
3790         for flag in $(EXTRA_HOST_FLAGS); do \
3791           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3792         done; \
3793         echo "Doing install-info in opcodes" ; \
3794         (cd opcodes && \
3795           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3796                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3797                   "RANLIB=$${RANLIB}" \
3798                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3799                   install-info) \
3800           || exit 1
3801
3802 @endif opcodes
3803
3804 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3805 maybe-installcheck-opcodes:
3806 @if opcodes
3807 maybe-installcheck-opcodes: installcheck-opcodes
3808
3809 installcheck-opcodes: \
3810     configure-opcodes 
3811         @[ -f ./opcodes/Makefile ] || exit 0; \
3812         r=`${PWD_COMMAND}`; export r; \
3813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3814         $(SET_LIB_PATH) \
3815         for flag in $(EXTRA_HOST_FLAGS); do \
3816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3817         done; \
3818         echo "Doing installcheck in opcodes" ; \
3819         (cd opcodes && \
3820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3822                   "RANLIB=$${RANLIB}" \
3823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3824                   installcheck) \
3825           || exit 1
3826
3827 @endif opcodes
3828
3829 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3830 maybe-mostlyclean-opcodes:
3831 @if opcodes
3832 maybe-mostlyclean-opcodes: mostlyclean-opcodes
3833
3834 mostlyclean-opcodes: 
3835         @[ -f ./opcodes/Makefile ] || exit 0; \
3836         r=`${PWD_COMMAND}`; export r; \
3837         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3838         $(SET_LIB_PATH) \
3839         for flag in $(EXTRA_HOST_FLAGS); do \
3840           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3841         done; \
3842         echo "Doing mostlyclean in opcodes" ; \
3843         (cd opcodes && \
3844           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3845                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3846                   "RANLIB=$${RANLIB}" \
3847                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3848                   mostlyclean) \
3849           || exit 1
3850
3851 @endif opcodes
3852
3853 .PHONY: maybe-clean-opcodes clean-opcodes
3854 maybe-clean-opcodes:
3855 @if opcodes
3856 maybe-clean-opcodes: clean-opcodes
3857
3858 clean-opcodes: 
3859         @[ -f ./opcodes/Makefile ] || exit 0; \
3860         r=`${PWD_COMMAND}`; export r; \
3861         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3862         $(SET_LIB_PATH) \
3863         for flag in $(EXTRA_HOST_FLAGS); do \
3864           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3865         done; \
3866         echo "Doing clean in opcodes" ; \
3867         (cd opcodes && \
3868           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3869                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3870                   "RANLIB=$${RANLIB}" \
3871                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3872                   clean) \
3873           || exit 1
3874
3875 @endif opcodes
3876
3877 .PHONY: maybe-distclean-opcodes distclean-opcodes
3878 maybe-distclean-opcodes:
3879 @if opcodes
3880 maybe-distclean-opcodes: distclean-opcodes
3881
3882 distclean-opcodes: 
3883         @[ -f ./opcodes/Makefile ] || exit 0; \
3884         r=`${PWD_COMMAND}`; export r; \
3885         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3886         $(SET_LIB_PATH) \
3887         for flag in $(EXTRA_HOST_FLAGS); do \
3888           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3889         done; \
3890         echo "Doing distclean in opcodes" ; \
3891         (cd opcodes && \
3892           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3893                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3894                   "RANLIB=$${RANLIB}" \
3895                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3896                   distclean) \
3897           || exit 1
3898
3899 @endif opcodes
3900
3901 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3902 maybe-maintainer-clean-opcodes:
3903 @if opcodes
3904 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
3905
3906 maintainer-clean-opcodes: 
3907         @[ -f ./opcodes/Makefile ] || exit 0; \
3908         r=`${PWD_COMMAND}`; export r; \
3909         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910         $(SET_LIB_PATH) \
3911         for flag in $(EXTRA_HOST_FLAGS); do \
3912           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3913         done; \
3914         echo "Doing maintainer-clean in opcodes" ; \
3915         (cd opcodes && \
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                   maintainer-clean) \
3921           || exit 1
3922
3923 @endif opcodes
3924
3925
3926 .PHONY: configure-binutils maybe-configure-binutils
3927 maybe-configure-binutils:
3928 @if binutils
3929 maybe-configure-binutils: configure-binutils
3930 configure-binutils:
3931         @test ! -f binutils/Makefile || exit 0; \
3932         [ -d binutils ] || mkdir binutils; \
3933         r=`${PWD_COMMAND}`; export r; \
3934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935         CC="$(CC)"; export CC; \
3936         CFLAGS="$(CFLAGS)"; export CFLAGS; \
3937         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3938         CXX="$(CXX)"; export CXX; \
3939         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3940         AR="$(AR)"; export AR; \
3941         AS="$(AS)"; export AS; \
3942         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3943         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3944         LD="$(LD)"; export LD; \
3945         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3946         NM="$(NM)"; export NM; \
3947         RANLIB="$(RANLIB)"; export RANLIB; \
3948         WINDRES="$(WINDRES)"; export WINDRES; \
3949         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3950         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3951         echo Configuring in binutils; \
3952         cd binutils || exit 1; \
3953         case $(srcdir) in \
3954           \.) \
3955             srcdiroption="--srcdir=."; \
3956             libsrcdir=".";; \
3957           /* | [A-Za-z]:[\\/]*) \
3958             srcdiroption="--srcdir=$(srcdir)/binutils"; \
3959             libsrcdir="$$s/binutils";; \
3960           *) \
3961             srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3962             libsrcdir="$$s/binutils";; \
3963         esac; \
3964         $(SHELL) $${libsrcdir}/configure \
3965           $(HOST_CONFIGARGS) $${srcdiroption} \
3966           || exit 1
3967 @endif binutils
3968
3969 .PHONY: all-binutils maybe-all-binutils
3970 maybe-all-binutils:
3971 @if binutils
3972 maybe-all-binutils: all-binutils
3973 all-binutils: configure-binutils
3974         @r=`${PWD_COMMAND}`; export r; \
3975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3976         $(SET_LIB_PATH) \
3977         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3978 @endif binutils
3979
3980 .PHONY: check-binutils maybe-check-binutils
3981 maybe-check-binutils:
3982 @if binutils
3983 maybe-check-binutils: check-binutils
3984
3985 check-binutils:
3986         @r=`${PWD_COMMAND}`; export r; \
3987         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988         $(SET_LIB_PATH) \
3989         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
3990
3991 @endif binutils
3992
3993 .PHONY: install-binutils maybe-install-binutils
3994 maybe-install-binutils:
3995 @if binutils
3996 maybe-install-binutils: install-binutils
3997
3998 install-binutils: installdirs
3999         @r=`${PWD_COMMAND}`; export r; \
4000         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4001         $(SET_LIB_PATH) \
4002         (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4003
4004 @endif binutils
4005
4006 # Other targets (info, dvi, etc.)
4007
4008 .PHONY: maybe-info-binutils info-binutils
4009 maybe-info-binutils:
4010 @if binutils
4011 maybe-info-binutils: info-binutils
4012
4013 info-binutils: \
4014     configure-binutils 
4015         @[ -f ./binutils/Makefile ] || exit 0; \
4016         r=`${PWD_COMMAND}`; export r; \
4017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4018         $(SET_LIB_PATH) \
4019         for flag in $(EXTRA_HOST_FLAGS); do \
4020           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4021         done; \
4022         echo "Doing info in binutils" ; \
4023         (cd binutils && \
4024           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4025                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4026                   "RANLIB=$${RANLIB}" \
4027                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4028                   info) \
4029           || exit 1
4030
4031 @endif binutils
4032
4033 .PHONY: maybe-dvi-binutils dvi-binutils
4034 maybe-dvi-binutils:
4035 @if binutils
4036 maybe-dvi-binutils: dvi-binutils
4037
4038 dvi-binutils: \
4039     configure-binutils 
4040         @[ -f ./binutils/Makefile ] || exit 0; \
4041         r=`${PWD_COMMAND}`; export r; \
4042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4043         $(SET_LIB_PATH) \
4044         for flag in $(EXTRA_HOST_FLAGS); do \
4045           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4046         done; \
4047         echo "Doing dvi in binutils" ; \
4048         (cd binutils && \
4049           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4050                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4051                   "RANLIB=$${RANLIB}" \
4052                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4053                   dvi) \
4054           || exit 1
4055
4056 @endif binutils
4057
4058 .PHONY: maybe-TAGS-binutils TAGS-binutils
4059 maybe-TAGS-binutils:
4060 @if binutils
4061 maybe-TAGS-binutils: TAGS-binutils
4062
4063 TAGS-binutils: \
4064     configure-binutils 
4065         @[ -f ./binutils/Makefile ] || exit 0; \
4066         r=`${PWD_COMMAND}`; export r; \
4067         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068         $(SET_LIB_PATH) \
4069         for flag in $(EXTRA_HOST_FLAGS); do \
4070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4071         done; \
4072         echo "Doing TAGS in binutils" ; \
4073         (cd binutils && \
4074           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4075                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4076                   "RANLIB=$${RANLIB}" \
4077                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4078                   TAGS) \
4079           || exit 1
4080
4081 @endif binutils
4082
4083 .PHONY: maybe-install-info-binutils install-info-binutils
4084 maybe-install-info-binutils:
4085 @if binutils
4086 maybe-install-info-binutils: install-info-binutils
4087
4088 install-info-binutils: \
4089     configure-binutils \
4090     info-binutils 
4091         @[ -f ./binutils/Makefile ] || exit 0; \
4092         r=`${PWD_COMMAND}`; export r; \
4093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4094         $(SET_LIB_PATH) \
4095         for flag in $(EXTRA_HOST_FLAGS); do \
4096           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4097         done; \
4098         echo "Doing install-info in binutils" ; \
4099         (cd binutils && \
4100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4102                   "RANLIB=$${RANLIB}" \
4103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4104                   install-info) \
4105           || exit 1
4106
4107 @endif binutils
4108
4109 .PHONY: maybe-installcheck-binutils installcheck-binutils
4110 maybe-installcheck-binutils:
4111 @if binutils
4112 maybe-installcheck-binutils: installcheck-binutils
4113
4114 installcheck-binutils: \
4115     configure-binutils 
4116         @[ -f ./binutils/Makefile ] || exit 0; \
4117         r=`${PWD_COMMAND}`; export r; \
4118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4119         $(SET_LIB_PATH) \
4120         for flag in $(EXTRA_HOST_FLAGS); do \
4121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4122         done; \
4123         echo "Doing installcheck in binutils" ; \
4124         (cd binutils && \
4125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4127                   "RANLIB=$${RANLIB}" \
4128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4129                   installcheck) \
4130           || exit 1
4131
4132 @endif binutils
4133
4134 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4135 maybe-mostlyclean-binutils:
4136 @if binutils
4137 maybe-mostlyclean-binutils: mostlyclean-binutils
4138
4139 mostlyclean-binutils: 
4140         @[ -f ./binutils/Makefile ] || exit 0; \
4141         r=`${PWD_COMMAND}`; export r; \
4142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4143         $(SET_LIB_PATH) \
4144         for flag in $(EXTRA_HOST_FLAGS); do \
4145           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4146         done; \
4147         echo "Doing mostlyclean in binutils" ; \
4148         (cd binutils && \
4149           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4150                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4151                   "RANLIB=$${RANLIB}" \
4152                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4153                   mostlyclean) \
4154           || exit 1
4155
4156 @endif binutils
4157
4158 .PHONY: maybe-clean-binutils clean-binutils
4159 maybe-clean-binutils:
4160 @if binutils
4161 maybe-clean-binutils: clean-binutils
4162
4163 clean-binutils: 
4164         @[ -f ./binutils/Makefile ] || exit 0; \
4165         r=`${PWD_COMMAND}`; export r; \
4166         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4167         $(SET_LIB_PATH) \
4168         for flag in $(EXTRA_HOST_FLAGS); do \
4169           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4170         done; \
4171         echo "Doing clean in binutils" ; \
4172         (cd binutils && \
4173           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4174                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4175                   "RANLIB=$${RANLIB}" \
4176                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4177                   clean) \
4178           || exit 1
4179
4180 @endif binutils
4181
4182 .PHONY: maybe-distclean-binutils distclean-binutils
4183 maybe-distclean-binutils:
4184 @if binutils
4185 maybe-distclean-binutils: distclean-binutils
4186
4187 distclean-binutils: 
4188         @[ -f ./binutils/Makefile ] || exit 0; \
4189         r=`${PWD_COMMAND}`; export r; \
4190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4191         $(SET_LIB_PATH) \
4192         for flag in $(EXTRA_HOST_FLAGS); do \
4193           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4194         done; \
4195         echo "Doing distclean in binutils" ; \
4196         (cd binutils && \
4197           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4198                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4199                   "RANLIB=$${RANLIB}" \
4200                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4201                   distclean) \
4202           || exit 1
4203
4204 @endif binutils
4205
4206 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4207 maybe-maintainer-clean-binutils:
4208 @if binutils
4209 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4210
4211 maintainer-clean-binutils: 
4212         @[ -f ./binutils/Makefile ] || exit 0; \
4213         r=`${PWD_COMMAND}`; export r; \
4214         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4215         $(SET_LIB_PATH) \
4216         for flag in $(EXTRA_HOST_FLAGS); do \
4217           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4218         done; \
4219         echo "Doing maintainer-clean in binutils" ; \
4220         (cd binutils && \
4221           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4222                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4223                   "RANLIB=$${RANLIB}" \
4224                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4225                   maintainer-clean) \
4226           || exit 1
4227
4228 @endif binutils
4229
4230
4231 .PHONY: configure-bison maybe-configure-bison
4232 maybe-configure-bison:
4233 @if bison
4234 maybe-configure-bison: configure-bison
4235 configure-bison:
4236         @test ! -f bison/Makefile || exit 0; \
4237         [ -d bison ] || mkdir bison; \
4238         r=`${PWD_COMMAND}`; export r; \
4239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4240         CC="$(CC)"; export CC; \
4241         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4242         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4243         CXX="$(CXX)"; export CXX; \
4244         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4245         AR="$(AR)"; export AR; \
4246         AS="$(AS)"; export AS; \
4247         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4248         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4249         LD="$(LD)"; export LD; \
4250         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4251         NM="$(NM)"; export NM; \
4252         RANLIB="$(RANLIB)"; export RANLIB; \
4253         WINDRES="$(WINDRES)"; export WINDRES; \
4254         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4255         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4256         echo Configuring in bison; \
4257         cd bison || exit 1; \
4258         case $(srcdir) in \
4259           \.) \
4260             srcdiroption="--srcdir=."; \
4261             libsrcdir=".";; \
4262           /* | [A-Za-z]:[\\/]*) \
4263             srcdiroption="--srcdir=$(srcdir)/bison"; \
4264             libsrcdir="$$s/bison";; \
4265           *) \
4266             srcdiroption="--srcdir=../$(srcdir)/bison"; \
4267             libsrcdir="$$s/bison";; \
4268         esac; \
4269         $(SHELL) $${libsrcdir}/configure \
4270           $(HOST_CONFIGARGS) $${srcdiroption} \
4271           || exit 1
4272 @endif bison
4273
4274 .PHONY: all-bison maybe-all-bison
4275 maybe-all-bison:
4276 @if bison
4277 maybe-all-bison: all-bison
4278 all-bison: configure-bison
4279         @r=`${PWD_COMMAND}`; export r; \
4280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4281         $(SET_LIB_PATH) \
4282         (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4283 @endif bison
4284
4285 .PHONY: check-bison maybe-check-bison
4286 maybe-check-bison:
4287 @if bison
4288 maybe-check-bison: check-bison
4289
4290 # This module is only tested in a native toolchain.
4291 check-bison:
4292         @if [ '$(host)' = '$(target)' ] ; then \
4293           r=`${PWD_COMMAND}`; export r; \
4294           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4295           $(SET_LIB_PATH) \
4296           (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4297         fi
4298
4299 @endif bison
4300
4301 .PHONY: install-bison maybe-install-bison
4302 maybe-install-bison:
4303 @if bison
4304 maybe-install-bison: install-bison
4305
4306 install-bison: installdirs
4307         @r=`${PWD_COMMAND}`; export r; \
4308         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4309         $(SET_LIB_PATH) \
4310         (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4311
4312 @endif bison
4313
4314 # Other targets (info, dvi, etc.)
4315
4316 .PHONY: maybe-info-bison info-bison
4317 maybe-info-bison:
4318 @if bison
4319 maybe-info-bison: info-bison
4320
4321 info-bison: \
4322     configure-bison 
4323         @[ -f ./bison/Makefile ] || exit 0; \
4324         r=`${PWD_COMMAND}`; export r; \
4325         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4326         $(SET_LIB_PATH) \
4327         for flag in $(EXTRA_HOST_FLAGS); do \
4328           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4329         done; \
4330         echo "Doing info in bison" ; \
4331         (cd bison && \
4332           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4333                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4334                   "RANLIB=$${RANLIB}" \
4335                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4336                   info) \
4337           || exit 1
4338
4339 @endif bison
4340
4341 .PHONY: maybe-dvi-bison dvi-bison
4342 maybe-dvi-bison:
4343 @if bison
4344 maybe-dvi-bison: dvi-bison
4345
4346 dvi-bison: \
4347     configure-bison 
4348         @[ -f ./bison/Makefile ] || exit 0; \
4349         r=`${PWD_COMMAND}`; export r; \
4350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4351         $(SET_LIB_PATH) \
4352         for flag in $(EXTRA_HOST_FLAGS); do \
4353           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4354         done; \
4355         echo "Doing dvi in bison" ; \
4356         (cd bison && \
4357           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4358                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4359                   "RANLIB=$${RANLIB}" \
4360                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4361                   dvi) \
4362           || exit 1
4363
4364 @endif bison
4365
4366 .PHONY: maybe-TAGS-bison TAGS-bison
4367 maybe-TAGS-bison:
4368 @if bison
4369 maybe-TAGS-bison: TAGS-bison
4370
4371 TAGS-bison: \
4372     configure-bison 
4373         @[ -f ./bison/Makefile ] || exit 0; \
4374         r=`${PWD_COMMAND}`; export r; \
4375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4376         $(SET_LIB_PATH) \
4377         for flag in $(EXTRA_HOST_FLAGS); do \
4378           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4379         done; \
4380         echo "Doing TAGS in bison" ; \
4381         (cd bison && \
4382           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4383                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4384                   "RANLIB=$${RANLIB}" \
4385                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4386                   TAGS) \
4387           || exit 1
4388
4389 @endif bison
4390
4391 .PHONY: maybe-install-info-bison install-info-bison
4392 maybe-install-info-bison:
4393 @if bison
4394 maybe-install-info-bison: install-info-bison
4395
4396 install-info-bison: \
4397     configure-bison \
4398     info-bison 
4399         @[ -f ./bison/Makefile ] || exit 0; \
4400         r=`${PWD_COMMAND}`; export r; \
4401         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4402         $(SET_LIB_PATH) \
4403         for flag in $(EXTRA_HOST_FLAGS); do \
4404           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4405         done; \
4406         echo "Doing install-info in bison" ; \
4407         (cd bison && \
4408           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4409                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4410                   "RANLIB=$${RANLIB}" \
4411                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4412                   install-info) \
4413           || exit 1
4414
4415 @endif bison
4416
4417 .PHONY: maybe-installcheck-bison installcheck-bison
4418 maybe-installcheck-bison:
4419 @if bison
4420 maybe-installcheck-bison: installcheck-bison
4421
4422 installcheck-bison: \
4423     configure-bison 
4424         @[ -f ./bison/Makefile ] || exit 0; \
4425         r=`${PWD_COMMAND}`; export r; \
4426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4427         $(SET_LIB_PATH) \
4428         for flag in $(EXTRA_HOST_FLAGS); do \
4429           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4430         done; \
4431         echo "Doing installcheck in bison" ; \
4432         (cd bison && \
4433           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4434                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4435                   "RANLIB=$${RANLIB}" \
4436                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4437                   installcheck) \
4438           || exit 1
4439
4440 @endif bison
4441
4442 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4443 maybe-mostlyclean-bison:
4444 @if bison
4445 maybe-mostlyclean-bison: mostlyclean-bison
4446
4447 mostlyclean-bison: 
4448         @[ -f ./bison/Makefile ] || exit 0; \
4449         r=`${PWD_COMMAND}`; export r; \
4450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4451         $(SET_LIB_PATH) \
4452         for flag in $(EXTRA_HOST_FLAGS); do \
4453           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4454         done; \
4455         echo "Doing mostlyclean in bison" ; \
4456         (cd bison && \
4457           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4458                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4459                   "RANLIB=$${RANLIB}" \
4460                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4461                   mostlyclean) \
4462           || exit 1
4463
4464 @endif bison
4465
4466 .PHONY: maybe-clean-bison clean-bison
4467 maybe-clean-bison:
4468 @if bison
4469 maybe-clean-bison: clean-bison
4470
4471 clean-bison: 
4472         @[ -f ./bison/Makefile ] || exit 0; \
4473         r=`${PWD_COMMAND}`; export r; \
4474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4475         $(SET_LIB_PATH) \
4476         for flag in $(EXTRA_HOST_FLAGS); do \
4477           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4478         done; \
4479         echo "Doing clean in bison" ; \
4480         (cd bison && \
4481           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4482                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4483                   "RANLIB=$${RANLIB}" \
4484                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4485                   clean) \
4486           || exit 1
4487
4488 @endif bison
4489
4490 .PHONY: maybe-distclean-bison distclean-bison
4491 maybe-distclean-bison:
4492 @if bison
4493 maybe-distclean-bison: distclean-bison
4494
4495 distclean-bison: 
4496         @[ -f ./bison/Makefile ] || exit 0; \
4497         r=`${PWD_COMMAND}`; export r; \
4498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4499         $(SET_LIB_PATH) \
4500         for flag in $(EXTRA_HOST_FLAGS); do \
4501           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4502         done; \
4503         echo "Doing distclean in bison" ; \
4504         (cd bison && \
4505           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4506                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4507                   "RANLIB=$${RANLIB}" \
4508                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4509                   distclean) \
4510           || exit 1
4511
4512 @endif bison
4513
4514 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4515 maybe-maintainer-clean-bison:
4516 @if bison
4517 maybe-maintainer-clean-bison: maintainer-clean-bison
4518
4519 maintainer-clean-bison: 
4520         @[ -f ./bison/Makefile ] || exit 0; \
4521         r=`${PWD_COMMAND}`; export r; \
4522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4523         $(SET_LIB_PATH) \
4524         for flag in $(EXTRA_HOST_FLAGS); do \
4525           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4526         done; \
4527         echo "Doing maintainer-clean in bison" ; \
4528         (cd bison && \
4529           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4530                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4531                   "RANLIB=$${RANLIB}" \
4532                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4533                   maintainer-clean) \
4534           || exit 1
4535
4536 @endif bison
4537
4538
4539 .PHONY: configure-byacc maybe-configure-byacc
4540 maybe-configure-byacc:
4541 @if byacc
4542 maybe-configure-byacc: configure-byacc
4543 configure-byacc:
4544         @test ! -f byacc/Makefile || exit 0; \
4545         [ -d byacc ] || mkdir byacc; \
4546         r=`${PWD_COMMAND}`; export r; \
4547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548         CC="$(CC)"; export CC; \
4549         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4550         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4551         CXX="$(CXX)"; export CXX; \
4552         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4553         AR="$(AR)"; export AR; \
4554         AS="$(AS)"; export AS; \
4555         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4556         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4557         LD="$(LD)"; export LD; \
4558         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4559         NM="$(NM)"; export NM; \
4560         RANLIB="$(RANLIB)"; export RANLIB; \
4561         WINDRES="$(WINDRES)"; export WINDRES; \
4562         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4563         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4564         echo Configuring in byacc; \
4565         cd byacc || exit 1; \
4566         case $(srcdir) in \
4567           \.) \
4568             srcdiroption="--srcdir=."; \
4569             libsrcdir=".";; \
4570           /* | [A-Za-z]:[\\/]*) \
4571             srcdiroption="--srcdir=$(srcdir)/byacc"; \
4572             libsrcdir="$$s/byacc";; \
4573           *) \
4574             srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4575             libsrcdir="$$s/byacc";; \
4576         esac; \
4577         $(SHELL) $${libsrcdir}/configure \
4578           $(HOST_CONFIGARGS) $${srcdiroption} \
4579           || exit 1
4580 @endif byacc
4581
4582 .PHONY: all-byacc maybe-all-byacc
4583 maybe-all-byacc:
4584 @if byacc
4585 maybe-all-byacc: all-byacc
4586 all-byacc: configure-byacc
4587         @r=`${PWD_COMMAND}`; export r; \
4588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4589         $(SET_LIB_PATH) \
4590         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4591 @endif byacc
4592
4593 .PHONY: check-byacc maybe-check-byacc
4594 maybe-check-byacc:
4595 @if byacc
4596 maybe-check-byacc: check-byacc
4597
4598 # This module is only tested in a native toolchain.
4599 check-byacc:
4600         @if [ '$(host)' = '$(target)' ] ; then \
4601           r=`${PWD_COMMAND}`; export r; \
4602           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4603           $(SET_LIB_PATH) \
4604           (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4605         fi
4606
4607 @endif byacc
4608
4609 .PHONY: install-byacc maybe-install-byacc
4610 maybe-install-byacc:
4611 @if byacc
4612 maybe-install-byacc: install-byacc
4613
4614 install-byacc: installdirs
4615         @r=`${PWD_COMMAND}`; export r; \
4616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4617         $(SET_LIB_PATH) \
4618         (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4619
4620 @endif byacc
4621
4622 # Other targets (info, dvi, etc.)
4623
4624 .PHONY: maybe-info-byacc info-byacc
4625 maybe-info-byacc:
4626 @if byacc
4627 maybe-info-byacc: info-byacc
4628
4629 info-byacc: \
4630     configure-byacc 
4631         @[ -f ./byacc/Makefile ] || exit 0; \
4632         r=`${PWD_COMMAND}`; export r; \
4633         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634         $(SET_LIB_PATH) \
4635         for flag in $(EXTRA_HOST_FLAGS); do \
4636           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4637         done; \
4638         echo "Doing info in byacc" ; \
4639         (cd byacc && \
4640           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4641                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4642                   "RANLIB=$${RANLIB}" \
4643                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4644                   info) \
4645           || exit 1
4646
4647 @endif byacc
4648
4649 .PHONY: maybe-dvi-byacc dvi-byacc
4650 maybe-dvi-byacc:
4651 @if byacc
4652 maybe-dvi-byacc: dvi-byacc
4653
4654 dvi-byacc: \
4655     configure-byacc 
4656         @[ -f ./byacc/Makefile ] || exit 0; \
4657         r=`${PWD_COMMAND}`; export r; \
4658         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659         $(SET_LIB_PATH) \
4660         for flag in $(EXTRA_HOST_FLAGS); do \
4661           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4662         done; \
4663         echo "Doing dvi in byacc" ; \
4664         (cd byacc && \
4665           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4666                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4667                   "RANLIB=$${RANLIB}" \
4668                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4669                   dvi) \
4670           || exit 1
4671
4672 @endif byacc
4673
4674 .PHONY: maybe-TAGS-byacc TAGS-byacc
4675 maybe-TAGS-byacc:
4676 @if byacc
4677 maybe-TAGS-byacc: TAGS-byacc
4678
4679 TAGS-byacc: \
4680     configure-byacc 
4681         @[ -f ./byacc/Makefile ] || exit 0; \
4682         r=`${PWD_COMMAND}`; export r; \
4683         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4684         $(SET_LIB_PATH) \
4685         for flag in $(EXTRA_HOST_FLAGS); do \
4686           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4687         done; \
4688         echo "Doing TAGS in byacc" ; \
4689         (cd byacc && \
4690           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4691                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4692                   "RANLIB=$${RANLIB}" \
4693                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4694                   TAGS) \
4695           || exit 1
4696
4697 @endif byacc
4698
4699 .PHONY: maybe-install-info-byacc install-info-byacc
4700 maybe-install-info-byacc:
4701 @if byacc
4702 maybe-install-info-byacc: install-info-byacc
4703
4704 install-info-byacc: \
4705     configure-byacc \
4706     info-byacc 
4707         @[ -f ./byacc/Makefile ] || exit 0; \
4708         r=`${PWD_COMMAND}`; export r; \
4709         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4710         $(SET_LIB_PATH) \
4711         for flag in $(EXTRA_HOST_FLAGS); do \
4712           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4713         done; \
4714         echo "Doing install-info in byacc" ; \
4715         (cd byacc && \
4716           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4717                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4718                   "RANLIB=$${RANLIB}" \
4719                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4720                   install-info) \
4721           || exit 1
4722
4723 @endif byacc
4724
4725 .PHONY: maybe-installcheck-byacc installcheck-byacc
4726 maybe-installcheck-byacc:
4727 @if byacc
4728 maybe-installcheck-byacc: installcheck-byacc
4729
4730 installcheck-byacc: \
4731     configure-byacc 
4732         @[ -f ./byacc/Makefile ] || exit 0; \
4733         r=`${PWD_COMMAND}`; export r; \
4734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4735         $(SET_LIB_PATH) \
4736         for flag in $(EXTRA_HOST_FLAGS); do \
4737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4738         done; \
4739         echo "Doing installcheck in byacc" ; \
4740         (cd byacc && \
4741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743                   "RANLIB=$${RANLIB}" \
4744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4745                   installcheck) \
4746           || exit 1
4747
4748 @endif byacc
4749
4750 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4751 maybe-mostlyclean-byacc:
4752 @if byacc
4753 maybe-mostlyclean-byacc: mostlyclean-byacc
4754
4755 mostlyclean-byacc: 
4756         @[ -f ./byacc/Makefile ] || exit 0; \
4757         r=`${PWD_COMMAND}`; export r; \
4758         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4759         $(SET_LIB_PATH) \
4760         for flag in $(EXTRA_HOST_FLAGS); do \
4761           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4762         done; \
4763         echo "Doing mostlyclean in byacc" ; \
4764         (cd byacc && \
4765           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4766                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4767                   "RANLIB=$${RANLIB}" \
4768                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4769                   mostlyclean) \
4770           || exit 1
4771
4772 @endif byacc
4773
4774 .PHONY: maybe-clean-byacc clean-byacc
4775 maybe-clean-byacc:
4776 @if byacc
4777 maybe-clean-byacc: clean-byacc
4778
4779 clean-byacc: 
4780         @[ -f ./byacc/Makefile ] || exit 0; \
4781         r=`${PWD_COMMAND}`; export r; \
4782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4783         $(SET_LIB_PATH) \
4784         for flag in $(EXTRA_HOST_FLAGS); do \
4785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4786         done; \
4787         echo "Doing clean in byacc" ; \
4788         (cd byacc && \
4789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4791                   "RANLIB=$${RANLIB}" \
4792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4793                   clean) \
4794           || exit 1
4795
4796 @endif byacc
4797
4798 .PHONY: maybe-distclean-byacc distclean-byacc
4799 maybe-distclean-byacc:
4800 @if byacc
4801 maybe-distclean-byacc: distclean-byacc
4802
4803 distclean-byacc: 
4804         @[ -f ./byacc/Makefile ] || exit 0; \
4805         r=`${PWD_COMMAND}`; export r; \
4806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4807         $(SET_LIB_PATH) \
4808         for flag in $(EXTRA_HOST_FLAGS); do \
4809           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4810         done; \
4811         echo "Doing distclean in byacc" ; \
4812         (cd byacc && \
4813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4815                   "RANLIB=$${RANLIB}" \
4816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4817                   distclean) \
4818           || exit 1
4819
4820 @endif byacc
4821
4822 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4823 maybe-maintainer-clean-byacc:
4824 @if byacc
4825 maybe-maintainer-clean-byacc: maintainer-clean-byacc
4826
4827 maintainer-clean-byacc: 
4828         @[ -f ./byacc/Makefile ] || exit 0; \
4829         r=`${PWD_COMMAND}`; export r; \
4830         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4831         $(SET_LIB_PATH) \
4832         for flag in $(EXTRA_HOST_FLAGS); do \
4833           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4834         done; \
4835         echo "Doing maintainer-clean in byacc" ; \
4836         (cd byacc && \
4837           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4838                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4839                   "RANLIB=$${RANLIB}" \
4840                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4841                   maintainer-clean) \
4842           || exit 1
4843
4844 @endif byacc
4845
4846
4847 .PHONY: configure-bzip2 maybe-configure-bzip2
4848 maybe-configure-bzip2:
4849 @if bzip2
4850 maybe-configure-bzip2: configure-bzip2
4851 configure-bzip2:
4852         @test ! -f bzip2/Makefile || exit 0; \
4853         [ -d bzip2 ] || mkdir bzip2; \
4854         r=`${PWD_COMMAND}`; export r; \
4855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4856         CC="$(CC)"; export CC; \
4857         CFLAGS="$(CFLAGS)"; export CFLAGS; \
4858         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4859         CXX="$(CXX)"; export CXX; \
4860         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4861         AR="$(AR)"; export AR; \
4862         AS="$(AS)"; export AS; \
4863         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4864         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4865         LD="$(LD)"; export LD; \
4866         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4867         NM="$(NM)"; export NM; \
4868         RANLIB="$(RANLIB)"; export RANLIB; \
4869         WINDRES="$(WINDRES)"; export WINDRES; \
4870         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4871         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4872         echo Configuring in bzip2; \
4873         cd bzip2 || exit 1; \
4874         case $(srcdir) in \
4875           \.) \
4876             srcdiroption="--srcdir=."; \
4877             libsrcdir=".";; \
4878           /* | [A-Za-z]:[\\/]*) \
4879             srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4880             libsrcdir="$$s/bzip2";; \
4881           *) \
4882             srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4883             libsrcdir="$$s/bzip2";; \
4884         esac; \
4885         $(SHELL) $${libsrcdir}/configure \
4886           $(HOST_CONFIGARGS) $${srcdiroption} \
4887           || exit 1
4888 @endif bzip2
4889
4890 .PHONY: all-bzip2 maybe-all-bzip2
4891 maybe-all-bzip2:
4892 @if bzip2
4893 maybe-all-bzip2: all-bzip2
4894 all-bzip2: configure-bzip2
4895         @r=`${PWD_COMMAND}`; export r; \
4896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4897         $(SET_LIB_PATH) \
4898         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4899 @endif bzip2
4900
4901 .PHONY: check-bzip2 maybe-check-bzip2
4902 maybe-check-bzip2:
4903 @if bzip2
4904 maybe-check-bzip2: check-bzip2
4905
4906 check-bzip2:
4907         @r=`${PWD_COMMAND}`; export r; \
4908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4909         $(SET_LIB_PATH) \
4910         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4911
4912 @endif bzip2
4913
4914 .PHONY: install-bzip2 maybe-install-bzip2
4915 maybe-install-bzip2:
4916 @if bzip2
4917 maybe-install-bzip2: install-bzip2
4918
4919 install-bzip2: installdirs
4920         @r=`${PWD_COMMAND}`; export r; \
4921         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4922         $(SET_LIB_PATH) \
4923         (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4924
4925 @endif bzip2
4926
4927 # Other targets (info, dvi, etc.)
4928
4929 .PHONY: maybe-info-bzip2 info-bzip2
4930 maybe-info-bzip2:
4931 @if bzip2
4932 maybe-info-bzip2: info-bzip2
4933
4934 info-bzip2: \
4935     configure-bzip2 
4936         @[ -f ./bzip2/Makefile ] || exit 0; \
4937         r=`${PWD_COMMAND}`; export r; \
4938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939         $(SET_LIB_PATH) \
4940         for flag in $(EXTRA_HOST_FLAGS); do \
4941           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4942         done; \
4943         echo "Doing info in bzip2" ; \
4944         (cd bzip2 && \
4945           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4946                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4947                   "RANLIB=$${RANLIB}" \
4948                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4949                   info) \
4950           || exit 1
4951
4952 @endif bzip2
4953
4954 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4955 maybe-dvi-bzip2:
4956 @if bzip2
4957 maybe-dvi-bzip2: dvi-bzip2
4958
4959 dvi-bzip2: \
4960     configure-bzip2 
4961         @[ -f ./bzip2/Makefile ] || exit 0; \
4962         r=`${PWD_COMMAND}`; export r; \
4963         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4964         $(SET_LIB_PATH) \
4965         for flag in $(EXTRA_HOST_FLAGS); do \
4966           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4967         done; \
4968         echo "Doing dvi in bzip2" ; \
4969         (cd bzip2 && \
4970           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4971                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4972                   "RANLIB=$${RANLIB}" \
4973                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4974                   dvi) \
4975           || exit 1
4976
4977 @endif bzip2
4978
4979 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4980 maybe-TAGS-bzip2:
4981 @if bzip2
4982 maybe-TAGS-bzip2: TAGS-bzip2
4983
4984 TAGS-bzip2: \
4985     configure-bzip2 
4986         @[ -f ./bzip2/Makefile ] || exit 0; \
4987         r=`${PWD_COMMAND}`; export r; \
4988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4989         $(SET_LIB_PATH) \
4990         for flag in $(EXTRA_HOST_FLAGS); do \
4991           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4992         done; \
4993         echo "Doing TAGS in bzip2" ; \
4994         (cd bzip2 && \
4995           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4996                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4997                   "RANLIB=$${RANLIB}" \
4998                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4999                   TAGS) \
5000           || exit 1
5001
5002 @endif bzip2
5003
5004 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5005 maybe-install-info-bzip2:
5006 @if bzip2
5007 maybe-install-info-bzip2: install-info-bzip2
5008
5009 install-info-bzip2: \
5010     configure-bzip2 \
5011     info-bzip2 
5012         @[ -f ./bzip2/Makefile ] || exit 0; \
5013         r=`${PWD_COMMAND}`; export r; \
5014         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5015         $(SET_LIB_PATH) \
5016         for flag in $(EXTRA_HOST_FLAGS); do \
5017           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5018         done; \
5019         echo "Doing install-info in bzip2" ; \
5020         (cd bzip2 && \
5021           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5022                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5023                   "RANLIB=$${RANLIB}" \
5024                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5025                   install-info) \
5026           || exit 1
5027
5028 @endif bzip2
5029
5030 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5031 maybe-installcheck-bzip2:
5032 @if bzip2
5033 maybe-installcheck-bzip2: installcheck-bzip2
5034
5035 installcheck-bzip2: \
5036     configure-bzip2 
5037         @[ -f ./bzip2/Makefile ] || exit 0; \
5038         r=`${PWD_COMMAND}`; export r; \
5039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5040         $(SET_LIB_PATH) \
5041         for flag in $(EXTRA_HOST_FLAGS); do \
5042           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5043         done; \
5044         echo "Doing installcheck in bzip2" ; \
5045         (cd bzip2 && \
5046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5048                   "RANLIB=$${RANLIB}" \
5049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5050                   installcheck) \
5051           || exit 1
5052
5053 @endif bzip2
5054
5055 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5056 maybe-mostlyclean-bzip2:
5057 @if bzip2
5058 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5059
5060 mostlyclean-bzip2: 
5061         @[ -f ./bzip2/Makefile ] || exit 0; \
5062         r=`${PWD_COMMAND}`; export r; \
5063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5064         $(SET_LIB_PATH) \
5065         for flag in $(EXTRA_HOST_FLAGS); do \
5066           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5067         done; \
5068         echo "Doing mostlyclean in bzip2" ; \
5069         (cd bzip2 && \
5070           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5071                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5072                   "RANLIB=$${RANLIB}" \
5073                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5074                   mostlyclean) \
5075           || exit 1
5076
5077 @endif bzip2
5078
5079 .PHONY: maybe-clean-bzip2 clean-bzip2
5080 maybe-clean-bzip2:
5081 @if bzip2
5082 maybe-clean-bzip2: clean-bzip2
5083
5084 clean-bzip2: 
5085         @[ -f ./bzip2/Makefile ] || exit 0; \
5086         r=`${PWD_COMMAND}`; export r; \
5087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5088         $(SET_LIB_PATH) \
5089         for flag in $(EXTRA_HOST_FLAGS); do \
5090           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5091         done; \
5092         echo "Doing clean in bzip2" ; \
5093         (cd bzip2 && \
5094           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5095                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5096                   "RANLIB=$${RANLIB}" \
5097                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5098                   clean) \
5099           || exit 1
5100
5101 @endif bzip2
5102
5103 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5104 maybe-distclean-bzip2:
5105 @if bzip2
5106 maybe-distclean-bzip2: distclean-bzip2
5107
5108 distclean-bzip2: 
5109         @[ -f ./bzip2/Makefile ] || exit 0; \
5110         r=`${PWD_COMMAND}`; export r; \
5111         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5112         $(SET_LIB_PATH) \
5113         for flag in $(EXTRA_HOST_FLAGS); do \
5114           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5115         done; \
5116         echo "Doing distclean in bzip2" ; \
5117         (cd bzip2 && \
5118           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5119                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5120                   "RANLIB=$${RANLIB}" \
5121                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5122                   distclean) \
5123           || exit 1
5124
5125 @endif bzip2
5126
5127 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5128 maybe-maintainer-clean-bzip2:
5129 @if bzip2
5130 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5131
5132 maintainer-clean-bzip2: 
5133         @[ -f ./bzip2/Makefile ] || exit 0; \
5134         r=`${PWD_COMMAND}`; export r; \
5135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5136         $(SET_LIB_PATH) \
5137         for flag in $(EXTRA_HOST_FLAGS); do \
5138           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5139         done; \
5140         echo "Doing maintainer-clean in bzip2" ; \
5141         (cd bzip2 && \
5142           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5143                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5144                   "RANLIB=$${RANLIB}" \
5145                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5146                   maintainer-clean) \
5147           || exit 1
5148
5149 @endif bzip2
5150
5151
5152 .PHONY: configure-dejagnu maybe-configure-dejagnu
5153 maybe-configure-dejagnu:
5154 @if dejagnu
5155 maybe-configure-dejagnu: configure-dejagnu
5156 configure-dejagnu:
5157         @test ! -f dejagnu/Makefile || exit 0; \
5158         [ -d dejagnu ] || mkdir dejagnu; \
5159         r=`${PWD_COMMAND}`; export r; \
5160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5161         CC="$(CC)"; export CC; \
5162         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5163         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5164         CXX="$(CXX)"; export CXX; \
5165         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5166         AR="$(AR)"; export AR; \
5167         AS="$(AS)"; export AS; \
5168         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5169         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5170         LD="$(LD)"; export LD; \
5171         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5172         NM="$(NM)"; export NM; \
5173         RANLIB="$(RANLIB)"; export RANLIB; \
5174         WINDRES="$(WINDRES)"; export WINDRES; \
5175         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5176         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5177         echo Configuring in dejagnu; \
5178         cd dejagnu || exit 1; \
5179         case $(srcdir) in \
5180           \.) \
5181             srcdiroption="--srcdir=."; \
5182             libsrcdir=".";; \
5183           /* | [A-Za-z]:[\\/]*) \
5184             srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5185             libsrcdir="$$s/dejagnu";; \
5186           *) \
5187             srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5188             libsrcdir="$$s/dejagnu";; \
5189         esac; \
5190         $(SHELL) $${libsrcdir}/configure \
5191           $(HOST_CONFIGARGS) $${srcdiroption} \
5192           || exit 1
5193 @endif dejagnu
5194
5195 .PHONY: all-dejagnu maybe-all-dejagnu
5196 maybe-all-dejagnu:
5197 @if dejagnu
5198 maybe-all-dejagnu: all-dejagnu
5199 all-dejagnu: configure-dejagnu
5200         @r=`${PWD_COMMAND}`; export r; \
5201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5202         $(SET_LIB_PATH) \
5203         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5204 @endif dejagnu
5205
5206 .PHONY: check-dejagnu maybe-check-dejagnu
5207 maybe-check-dejagnu:
5208 @if dejagnu
5209 maybe-check-dejagnu: check-dejagnu
5210
5211 check-dejagnu:
5212         @r=`${PWD_COMMAND}`; export r; \
5213         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5214         $(SET_LIB_PATH) \
5215         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5216
5217 @endif dejagnu
5218
5219 .PHONY: install-dejagnu maybe-install-dejagnu
5220 maybe-install-dejagnu:
5221 @if dejagnu
5222 maybe-install-dejagnu: install-dejagnu
5223
5224 install-dejagnu: installdirs
5225         @r=`${PWD_COMMAND}`; export r; \
5226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5227         $(SET_LIB_PATH) \
5228         (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5229
5230 @endif dejagnu
5231
5232 # Other targets (info, dvi, etc.)
5233
5234 .PHONY: maybe-info-dejagnu info-dejagnu
5235 maybe-info-dejagnu:
5236 @if dejagnu
5237 maybe-info-dejagnu: info-dejagnu
5238
5239 info-dejagnu: \
5240     configure-dejagnu 
5241         @[ -f ./dejagnu/Makefile ] || exit 0; \
5242         r=`${PWD_COMMAND}`; export r; \
5243         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5244         $(SET_LIB_PATH) \
5245         for flag in $(EXTRA_HOST_FLAGS); do \
5246           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5247         done; \
5248         echo "Doing info in dejagnu" ; \
5249         (cd dejagnu && \
5250           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5251                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5252                   "RANLIB=$${RANLIB}" \
5253                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5254                   info) \
5255           || exit 1
5256
5257 @endif dejagnu
5258
5259 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5260 maybe-dvi-dejagnu:
5261 @if dejagnu
5262 maybe-dvi-dejagnu: dvi-dejagnu
5263
5264 dvi-dejagnu: \
5265     configure-dejagnu 
5266         @[ -f ./dejagnu/Makefile ] || exit 0; \
5267         r=`${PWD_COMMAND}`; export r; \
5268         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269         $(SET_LIB_PATH) \
5270         for flag in $(EXTRA_HOST_FLAGS); do \
5271           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5272         done; \
5273         echo "Doing dvi in dejagnu" ; \
5274         (cd dejagnu && \
5275           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5276                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5277                   "RANLIB=$${RANLIB}" \
5278                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5279                   dvi) \
5280           || exit 1
5281
5282 @endif dejagnu
5283
5284 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5285 maybe-TAGS-dejagnu:
5286 @if dejagnu
5287 maybe-TAGS-dejagnu: TAGS-dejagnu
5288
5289 TAGS-dejagnu: \
5290     configure-dejagnu 
5291         @[ -f ./dejagnu/Makefile ] || exit 0; \
5292         r=`${PWD_COMMAND}`; export r; \
5293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5294         $(SET_LIB_PATH) \
5295         for flag in $(EXTRA_HOST_FLAGS); do \
5296           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5297         done; \
5298         echo "Doing TAGS in dejagnu" ; \
5299         (cd dejagnu && \
5300           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5301                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5302                   "RANLIB=$${RANLIB}" \
5303                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5304                   TAGS) \
5305           || exit 1
5306
5307 @endif dejagnu
5308
5309 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5310 maybe-install-info-dejagnu:
5311 @if dejagnu
5312 maybe-install-info-dejagnu: install-info-dejagnu
5313
5314 install-info-dejagnu: \
5315     configure-dejagnu \
5316     info-dejagnu 
5317         @[ -f ./dejagnu/Makefile ] || exit 0; \
5318         r=`${PWD_COMMAND}`; export r; \
5319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5320         $(SET_LIB_PATH) \
5321         for flag in $(EXTRA_HOST_FLAGS); do \
5322           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5323         done; \
5324         echo "Doing install-info in dejagnu" ; \
5325         (cd dejagnu && \
5326           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5327                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5328                   "RANLIB=$${RANLIB}" \
5329                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5330                   install-info) \
5331           || exit 1
5332
5333 @endif dejagnu
5334
5335 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5336 maybe-installcheck-dejagnu:
5337 @if dejagnu
5338 maybe-installcheck-dejagnu: installcheck-dejagnu
5339
5340 installcheck-dejagnu: \
5341     configure-dejagnu 
5342         @[ -f ./dejagnu/Makefile ] || exit 0; \
5343         r=`${PWD_COMMAND}`; export r; \
5344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345         $(SET_LIB_PATH) \
5346         for flag in $(EXTRA_HOST_FLAGS); do \
5347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5348         done; \
5349         echo "Doing installcheck in dejagnu" ; \
5350         (cd dejagnu && \
5351           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5352                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5353                   "RANLIB=$${RANLIB}" \
5354                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5355                   installcheck) \
5356           || exit 1
5357
5358 @endif dejagnu
5359
5360 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5361 maybe-mostlyclean-dejagnu:
5362 @if dejagnu
5363 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5364
5365 mostlyclean-dejagnu: 
5366         @[ -f ./dejagnu/Makefile ] || exit 0; \
5367         r=`${PWD_COMMAND}`; export r; \
5368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369         $(SET_LIB_PATH) \
5370         for flag in $(EXTRA_HOST_FLAGS); do \
5371           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5372         done; \
5373         echo "Doing mostlyclean in dejagnu" ; \
5374         (cd dejagnu && \
5375           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5376                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5377                   "RANLIB=$${RANLIB}" \
5378                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5379                   mostlyclean) \
5380           || exit 1
5381
5382 @endif dejagnu
5383
5384 .PHONY: maybe-clean-dejagnu clean-dejagnu
5385 maybe-clean-dejagnu:
5386 @if dejagnu
5387 maybe-clean-dejagnu: clean-dejagnu
5388
5389 clean-dejagnu: 
5390         @[ -f ./dejagnu/Makefile ] || exit 0; \
5391         r=`${PWD_COMMAND}`; export r; \
5392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393         $(SET_LIB_PATH) \
5394         for flag in $(EXTRA_HOST_FLAGS); do \
5395           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5396         done; \
5397         echo "Doing clean in dejagnu" ; \
5398         (cd dejagnu && \
5399           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5400                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5401                   "RANLIB=$${RANLIB}" \
5402                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5403                   clean) \
5404           || exit 1
5405
5406 @endif dejagnu
5407
5408 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5409 maybe-distclean-dejagnu:
5410 @if dejagnu
5411 maybe-distclean-dejagnu: distclean-dejagnu
5412
5413 distclean-dejagnu: 
5414         @[ -f ./dejagnu/Makefile ] || exit 0; \
5415         r=`${PWD_COMMAND}`; export r; \
5416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417         $(SET_LIB_PATH) \
5418         for flag in $(EXTRA_HOST_FLAGS); do \
5419           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5420         done; \
5421         echo "Doing distclean in dejagnu" ; \
5422         (cd dejagnu && \
5423           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5424                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5425                   "RANLIB=$${RANLIB}" \
5426                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5427                   distclean) \
5428           || exit 1
5429
5430 @endif dejagnu
5431
5432 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5433 maybe-maintainer-clean-dejagnu:
5434 @if dejagnu
5435 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5436
5437 maintainer-clean-dejagnu: 
5438         @[ -f ./dejagnu/Makefile ] || exit 0; \
5439         r=`${PWD_COMMAND}`; export r; \
5440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441         $(SET_LIB_PATH) \
5442         for flag in $(EXTRA_HOST_FLAGS); do \
5443           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5444         done; \
5445         echo "Doing maintainer-clean in dejagnu" ; \
5446         (cd dejagnu && \
5447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5449                   "RANLIB=$${RANLIB}" \
5450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5451                   maintainer-clean) \
5452           || exit 1
5453
5454 @endif dejagnu
5455
5456
5457 .PHONY: configure-diff maybe-configure-diff
5458 maybe-configure-diff:
5459 @if diff
5460 maybe-configure-diff: configure-diff
5461 configure-diff:
5462         @test ! -f diff/Makefile || exit 0; \
5463         [ -d diff ] || mkdir diff; \
5464         r=`${PWD_COMMAND}`; export r; \
5465         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466         CC="$(CC)"; export CC; \
5467         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5468         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5469         CXX="$(CXX)"; export CXX; \
5470         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5471         AR="$(AR)"; export AR; \
5472         AS="$(AS)"; export AS; \
5473         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5474         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5475         LD="$(LD)"; export LD; \
5476         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5477         NM="$(NM)"; export NM; \
5478         RANLIB="$(RANLIB)"; export RANLIB; \
5479         WINDRES="$(WINDRES)"; export WINDRES; \
5480         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5481         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5482         echo Configuring in diff; \
5483         cd diff || exit 1; \
5484         case $(srcdir) in \
5485           \.) \
5486             srcdiroption="--srcdir=."; \
5487             libsrcdir=".";; \
5488           /* | [A-Za-z]:[\\/]*) \
5489             srcdiroption="--srcdir=$(srcdir)/diff"; \
5490             libsrcdir="$$s/diff";; \
5491           *) \
5492             srcdiroption="--srcdir=../$(srcdir)/diff"; \
5493             libsrcdir="$$s/diff";; \
5494         esac; \
5495         $(SHELL) $${libsrcdir}/configure \
5496           $(HOST_CONFIGARGS) $${srcdiroption} \
5497           || exit 1
5498 @endif diff
5499
5500 .PHONY: all-diff maybe-all-diff
5501 maybe-all-diff:
5502 @if diff
5503 maybe-all-diff: all-diff
5504 all-diff: configure-diff
5505         @r=`${PWD_COMMAND}`; export r; \
5506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5507         $(SET_LIB_PATH) \
5508         (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5509 @endif diff
5510
5511 .PHONY: check-diff maybe-check-diff
5512 maybe-check-diff:
5513 @if diff
5514 maybe-check-diff: check-diff
5515
5516 check-diff:
5517         @r=`${PWD_COMMAND}`; export r; \
5518         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5519         $(SET_LIB_PATH) \
5520         (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5521
5522 @endif diff
5523
5524 .PHONY: install-diff maybe-install-diff
5525 maybe-install-diff:
5526 @if diff
5527 maybe-install-diff: install-diff
5528
5529 install-diff: installdirs
5530         @r=`${PWD_COMMAND}`; export r; \
5531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5532         $(SET_LIB_PATH) \
5533         (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5534
5535 @endif diff
5536
5537 # Other targets (info, dvi, etc.)
5538
5539 .PHONY: maybe-info-diff info-diff
5540 maybe-info-diff:
5541 @if diff
5542 maybe-info-diff: info-diff
5543
5544 info-diff: \
5545     configure-diff 
5546         @[ -f ./diff/Makefile ] || exit 0; \
5547         r=`${PWD_COMMAND}`; export r; \
5548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5549         $(SET_LIB_PATH) \
5550         for flag in $(EXTRA_HOST_FLAGS); do \
5551           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5552         done; \
5553         echo "Doing info in diff" ; \
5554         (cd diff && \
5555           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5556                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5557                   "RANLIB=$${RANLIB}" \
5558                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5559                   info) \
5560           || exit 1
5561
5562 @endif diff
5563
5564 .PHONY: maybe-dvi-diff dvi-diff
5565 maybe-dvi-diff:
5566 @if diff
5567 maybe-dvi-diff: dvi-diff
5568
5569 dvi-diff: \
5570     configure-diff 
5571         @[ -f ./diff/Makefile ] || exit 0; \
5572         r=`${PWD_COMMAND}`; export r; \
5573         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5574         $(SET_LIB_PATH) \
5575         for flag in $(EXTRA_HOST_FLAGS); do \
5576           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5577         done; \
5578         echo "Doing dvi in diff" ; \
5579         (cd diff && \
5580           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5581                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5582                   "RANLIB=$${RANLIB}" \
5583                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5584                   dvi) \
5585           || exit 1
5586
5587 @endif diff
5588
5589 .PHONY: maybe-TAGS-diff TAGS-diff
5590 maybe-TAGS-diff:
5591 @if diff
5592 maybe-TAGS-diff: TAGS-diff
5593
5594 TAGS-diff: \
5595     configure-diff 
5596         @[ -f ./diff/Makefile ] || exit 0; \
5597         r=`${PWD_COMMAND}`; export r; \
5598         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5599         $(SET_LIB_PATH) \
5600         for flag in $(EXTRA_HOST_FLAGS); do \
5601           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5602         done; \
5603         echo "Doing TAGS in diff" ; \
5604         (cd diff && \
5605           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5606                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5607                   "RANLIB=$${RANLIB}" \
5608                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5609                   TAGS) \
5610           || exit 1
5611
5612 @endif diff
5613
5614 .PHONY: maybe-install-info-diff install-info-diff
5615 maybe-install-info-diff:
5616 @if diff
5617 maybe-install-info-diff: install-info-diff
5618
5619 install-info-diff: \
5620     configure-diff \
5621     info-diff 
5622         @[ -f ./diff/Makefile ] || exit 0; \
5623         r=`${PWD_COMMAND}`; export r; \
5624         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5625         $(SET_LIB_PATH) \
5626         for flag in $(EXTRA_HOST_FLAGS); do \
5627           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5628         done; \
5629         echo "Doing install-info in diff" ; \
5630         (cd diff && \
5631           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5632                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5633                   "RANLIB=$${RANLIB}" \
5634                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5635                   install-info) \
5636           || exit 1
5637
5638 @endif diff
5639
5640 .PHONY: maybe-installcheck-diff installcheck-diff
5641 maybe-installcheck-diff:
5642 @if diff
5643 maybe-installcheck-diff: installcheck-diff
5644
5645 installcheck-diff: \
5646     configure-diff 
5647         @[ -f ./diff/Makefile ] || exit 0; \
5648         r=`${PWD_COMMAND}`; export r; \
5649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5650         $(SET_LIB_PATH) \
5651         for flag in $(EXTRA_HOST_FLAGS); do \
5652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5653         done; \
5654         echo "Doing installcheck in diff" ; \
5655         (cd diff && \
5656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5658                   "RANLIB=$${RANLIB}" \
5659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5660                   installcheck) \
5661           || exit 1
5662
5663 @endif diff
5664
5665 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5666 maybe-mostlyclean-diff:
5667 @if diff
5668 maybe-mostlyclean-diff: mostlyclean-diff
5669
5670 mostlyclean-diff: 
5671         @[ -f ./diff/Makefile ] || exit 0; \
5672         r=`${PWD_COMMAND}`; export r; \
5673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5674         $(SET_LIB_PATH) \
5675         for flag in $(EXTRA_HOST_FLAGS); do \
5676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5677         done; \
5678         echo "Doing mostlyclean in diff" ; \
5679         (cd diff && \
5680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5682                   "RANLIB=$${RANLIB}" \
5683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5684                   mostlyclean) \
5685           || exit 1
5686
5687 @endif diff
5688
5689 .PHONY: maybe-clean-diff clean-diff
5690 maybe-clean-diff:
5691 @if diff
5692 maybe-clean-diff: clean-diff
5693
5694 clean-diff: 
5695         @[ -f ./diff/Makefile ] || exit 0; \
5696         r=`${PWD_COMMAND}`; export r; \
5697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5698         $(SET_LIB_PATH) \
5699         for flag in $(EXTRA_HOST_FLAGS); do \
5700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5701         done; \
5702         echo "Doing clean in diff" ; \
5703         (cd diff && \
5704           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5705                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5706                   "RANLIB=$${RANLIB}" \
5707                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5708                   clean) \
5709           || exit 1
5710
5711 @endif diff
5712
5713 .PHONY: maybe-distclean-diff distclean-diff
5714 maybe-distclean-diff:
5715 @if diff
5716 maybe-distclean-diff: distclean-diff
5717
5718 distclean-diff: 
5719         @[ -f ./diff/Makefile ] || exit 0; \
5720         r=`${PWD_COMMAND}`; export r; \
5721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5722         $(SET_LIB_PATH) \
5723         for flag in $(EXTRA_HOST_FLAGS); do \
5724           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5725         done; \
5726         echo "Doing distclean in diff" ; \
5727         (cd diff && \
5728           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5729                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5730                   "RANLIB=$${RANLIB}" \
5731                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5732                   distclean) \
5733           || exit 1
5734
5735 @endif diff
5736
5737 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5738 maybe-maintainer-clean-diff:
5739 @if diff
5740 maybe-maintainer-clean-diff: maintainer-clean-diff
5741
5742 maintainer-clean-diff: 
5743         @[ -f ./diff/Makefile ] || exit 0; \
5744         r=`${PWD_COMMAND}`; export r; \
5745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5746         $(SET_LIB_PATH) \
5747         for flag in $(EXTRA_HOST_FLAGS); do \
5748           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5749         done; \
5750         echo "Doing maintainer-clean in diff" ; \
5751         (cd diff && \
5752           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5753                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5754                   "RANLIB=$${RANLIB}" \
5755                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5756                   maintainer-clean) \
5757           || exit 1
5758
5759 @endif diff
5760
5761
5762 .PHONY: configure-dosutils maybe-configure-dosutils
5763 maybe-configure-dosutils:
5764 @if dosutils
5765 maybe-configure-dosutils: configure-dosutils
5766 configure-dosutils:
5767         @test ! -f dosutils/Makefile || exit 0; \
5768         [ -d dosutils ] || mkdir dosutils; \
5769         r=`${PWD_COMMAND}`; export r; \
5770         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5771         CC="$(CC)"; export CC; \
5772         CFLAGS="$(CFLAGS)"; export CFLAGS; \
5773         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5774         CXX="$(CXX)"; export CXX; \
5775         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5776         AR="$(AR)"; export AR; \
5777         AS="$(AS)"; export AS; \
5778         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5779         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5780         LD="$(LD)"; export LD; \
5781         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5782         NM="$(NM)"; export NM; \
5783         RANLIB="$(RANLIB)"; export RANLIB; \
5784         WINDRES="$(WINDRES)"; export WINDRES; \
5785         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5786         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5787         echo Configuring in dosutils; \
5788         cd dosutils || exit 1; \
5789         case $(srcdir) in \
5790           \.) \
5791             srcdiroption="--srcdir=."; \
5792             libsrcdir=".";; \
5793           /* | [A-Za-z]:[\\/]*) \
5794             srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5795             libsrcdir="$$s/dosutils";; \
5796           *) \
5797             srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5798             libsrcdir="$$s/dosutils";; \
5799         esac; \
5800         $(SHELL) $${libsrcdir}/configure \
5801           $(HOST_CONFIGARGS) $${srcdiroption} \
5802           || exit 1
5803 @endif dosutils
5804
5805 .PHONY: all-dosutils maybe-all-dosutils
5806 maybe-all-dosutils:
5807 @if dosutils
5808 maybe-all-dosutils: all-dosutils
5809 all-dosutils: configure-dosutils
5810         @r=`${PWD_COMMAND}`; export r; \
5811         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5812         $(SET_LIB_PATH) \
5813         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5814 @endif dosutils
5815
5816 .PHONY: check-dosutils maybe-check-dosutils
5817 maybe-check-dosutils:
5818 @if dosutils
5819 maybe-check-dosutils: check-dosutils
5820
5821 check-dosutils:
5822
5823 @endif dosutils
5824
5825 .PHONY: install-dosutils maybe-install-dosutils
5826 maybe-install-dosutils:
5827 @if dosutils
5828 maybe-install-dosutils: install-dosutils
5829
5830 install-dosutils: installdirs
5831         @r=`${PWD_COMMAND}`; export r; \
5832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5833         $(SET_LIB_PATH) \
5834         (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5835
5836 @endif dosutils
5837
5838 # Other targets (info, dvi, etc.)
5839
5840 .PHONY: maybe-info-dosutils info-dosutils
5841 maybe-info-dosutils:
5842 @if dosutils
5843 maybe-info-dosutils: info-dosutils
5844
5845 info-dosutils: \
5846     configure-dosutils 
5847         @[ -f ./dosutils/Makefile ] || exit 0; \
5848         r=`${PWD_COMMAND}`; export r; \
5849         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5850         $(SET_LIB_PATH) \
5851         for flag in $(EXTRA_HOST_FLAGS); do \
5852           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5853         done; \
5854         echo "Doing info in dosutils" ; \
5855         (cd dosutils && \
5856           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5857                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5858                   "RANLIB=$${RANLIB}" \
5859                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5860                   info) \
5861           || exit 1
5862
5863 @endif dosutils
5864
5865 .PHONY: maybe-dvi-dosutils dvi-dosutils
5866 maybe-dvi-dosutils:
5867 @if dosutils
5868 maybe-dvi-dosutils: dvi-dosutils
5869
5870 dvi-dosutils: \
5871     configure-dosutils 
5872         @[ -f ./dosutils/Makefile ] || exit 0; \
5873         r=`${PWD_COMMAND}`; export r; \
5874         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5875         $(SET_LIB_PATH) \
5876         for flag in $(EXTRA_HOST_FLAGS); do \
5877           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5878         done; \
5879         echo "Doing dvi in dosutils" ; \
5880         (cd dosutils && \
5881           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5882                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5883                   "RANLIB=$${RANLIB}" \
5884                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5885                   dvi) \
5886           || exit 1
5887
5888 @endif dosutils
5889
5890 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5891 maybe-TAGS-dosutils:
5892 @if dosutils
5893 maybe-TAGS-dosutils: TAGS-dosutils
5894
5895 TAGS-dosutils: \
5896     configure-dosutils 
5897         @[ -f ./dosutils/Makefile ] || exit 0; \
5898         r=`${PWD_COMMAND}`; export r; \
5899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5900         $(SET_LIB_PATH) \
5901         for flag in $(EXTRA_HOST_FLAGS); do \
5902           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5903         done; \
5904         echo "Doing TAGS in dosutils" ; \
5905         (cd dosutils && \
5906           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5907                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5908                   "RANLIB=$${RANLIB}" \
5909                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5910                   TAGS) \
5911           || exit 1
5912
5913 @endif dosutils
5914
5915 .PHONY: maybe-install-info-dosutils install-info-dosutils
5916 maybe-install-info-dosutils:
5917 @if dosutils
5918 maybe-install-info-dosutils: install-info-dosutils
5919
5920 install-info-dosutils: \
5921     configure-dosutils \
5922     info-dosutils 
5923         @[ -f ./dosutils/Makefile ] || exit 0; \
5924         r=`${PWD_COMMAND}`; export r; \
5925         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5926         $(SET_LIB_PATH) \
5927         for flag in $(EXTRA_HOST_FLAGS); do \
5928           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5929         done; \
5930         echo "Doing install-info in dosutils" ; \
5931         (cd dosutils && \
5932           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5933                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5934                   "RANLIB=$${RANLIB}" \
5935                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5936                   install-info) \
5937           || exit 1
5938
5939 @endif dosutils
5940
5941 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5942 maybe-installcheck-dosutils:
5943 @if dosutils
5944 maybe-installcheck-dosutils: installcheck-dosutils
5945
5946 installcheck-dosutils: \
5947     configure-dosutils 
5948         @[ -f ./dosutils/Makefile ] || exit 0; \
5949         r=`${PWD_COMMAND}`; export r; \
5950         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5951         $(SET_LIB_PATH) \
5952         for flag in $(EXTRA_HOST_FLAGS); do \
5953           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5954         done; \
5955         echo "Doing installcheck in dosutils" ; \
5956         (cd dosutils && \
5957           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5958                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5959                   "RANLIB=$${RANLIB}" \
5960                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5961                   installcheck) \
5962           || exit 1
5963
5964 @endif dosutils
5965
5966 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5967 maybe-mostlyclean-dosutils:
5968 @if dosutils
5969 maybe-mostlyclean-dosutils: mostlyclean-dosutils
5970
5971 mostlyclean-dosutils: 
5972         @[ -f ./dosutils/Makefile ] || exit 0; \
5973         r=`${PWD_COMMAND}`; export r; \
5974         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5975         $(SET_LIB_PATH) \
5976         for flag in $(EXTRA_HOST_FLAGS); do \
5977           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5978         done; \
5979         echo "Doing mostlyclean in dosutils" ; \
5980         (cd dosutils && \
5981           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5982                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5983                   "RANLIB=$${RANLIB}" \
5984                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5985                   mostlyclean) \
5986           || exit 1
5987
5988 @endif dosutils
5989
5990 .PHONY: maybe-clean-dosutils clean-dosutils
5991 maybe-clean-dosutils:
5992 @if dosutils
5993 maybe-clean-dosutils: clean-dosutils
5994
5995 clean-dosutils: 
5996         @[ -f ./dosutils/Makefile ] || exit 0; \
5997         r=`${PWD_COMMAND}`; export r; \
5998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5999         $(SET_LIB_PATH) \
6000         for flag in $(EXTRA_HOST_FLAGS); do \
6001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6002         done; \
6003         echo "Doing clean in dosutils" ; \
6004         (cd dosutils && \
6005           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6006                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6007                   "RANLIB=$${RANLIB}" \
6008                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6009                   clean) \
6010           || exit 1
6011
6012 @endif dosutils
6013
6014 .PHONY: maybe-distclean-dosutils distclean-dosutils
6015 maybe-distclean-dosutils:
6016 @if dosutils
6017 maybe-distclean-dosutils: distclean-dosutils
6018
6019 distclean-dosutils: 
6020         @[ -f ./dosutils/Makefile ] || exit 0; \
6021         r=`${PWD_COMMAND}`; export r; \
6022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023         $(SET_LIB_PATH) \
6024         for flag in $(EXTRA_HOST_FLAGS); do \
6025           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6026         done; \
6027         echo "Doing distclean in dosutils" ; \
6028         (cd dosutils && \
6029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6031                   "RANLIB=$${RANLIB}" \
6032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6033                   distclean) \
6034           || exit 1
6035
6036 @endif dosutils
6037
6038 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6039 maybe-maintainer-clean-dosutils:
6040 @if dosutils
6041 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6042
6043 maintainer-clean-dosutils: 
6044         @[ -f ./dosutils/Makefile ] || exit 0; \
6045         r=`${PWD_COMMAND}`; export r; \
6046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6047         $(SET_LIB_PATH) \
6048         for flag in $(EXTRA_HOST_FLAGS); do \
6049           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6050         done; \
6051         echo "Doing maintainer-clean in dosutils" ; \
6052         (cd dosutils && \
6053           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6054                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6055                   "RANLIB=$${RANLIB}" \
6056                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6057                   maintainer-clean) \
6058           || exit 1
6059
6060 @endif dosutils
6061
6062
6063 .PHONY: configure-etc maybe-configure-etc
6064 maybe-configure-etc:
6065 @if etc
6066 maybe-configure-etc: configure-etc
6067 configure-etc:
6068         @test ! -f etc/Makefile || exit 0; \
6069         [ -d etc ] || mkdir etc; \
6070         r=`${PWD_COMMAND}`; export r; \
6071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072         CC="$(CC)"; export CC; \
6073         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6074         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6075         CXX="$(CXX)"; export CXX; \
6076         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6077         AR="$(AR)"; export AR; \
6078         AS="$(AS)"; export AS; \
6079         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6080         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6081         LD="$(LD)"; export LD; \
6082         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6083         NM="$(NM)"; export NM; \
6084         RANLIB="$(RANLIB)"; export RANLIB; \
6085         WINDRES="$(WINDRES)"; export WINDRES; \
6086         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6087         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6088         echo Configuring in etc; \
6089         cd etc || exit 1; \
6090         case $(srcdir) in \
6091           \.) \
6092             srcdiroption="--srcdir=."; \
6093             libsrcdir=".";; \
6094           /* | [A-Za-z]:[\\/]*) \
6095             srcdiroption="--srcdir=$(srcdir)/etc"; \
6096             libsrcdir="$$s/etc";; \
6097           *) \
6098             srcdiroption="--srcdir=../$(srcdir)/etc"; \
6099             libsrcdir="$$s/etc";; \
6100         esac; \
6101         $(SHELL) $${libsrcdir}/configure \
6102           $(HOST_CONFIGARGS) $${srcdiroption} \
6103           || exit 1
6104 @endif etc
6105
6106 .PHONY: all-etc maybe-all-etc
6107 maybe-all-etc:
6108 @if etc
6109 maybe-all-etc: all-etc
6110 all-etc: configure-etc
6111         @r=`${PWD_COMMAND}`; export r; \
6112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6113         $(SET_LIB_PATH) \
6114         (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6115 @endif etc
6116
6117 .PHONY: check-etc maybe-check-etc
6118 maybe-check-etc:
6119 @if etc
6120 maybe-check-etc: check-etc
6121
6122 check-etc:
6123         @r=`${PWD_COMMAND}`; export r; \
6124         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125         $(SET_LIB_PATH) \
6126         (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6127
6128 @endif etc
6129
6130 .PHONY: install-etc maybe-install-etc
6131 maybe-install-etc:
6132 @if etc
6133 maybe-install-etc: install-etc
6134
6135 install-etc: installdirs
6136         @r=`${PWD_COMMAND}`; export r; \
6137         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6138         $(SET_LIB_PATH) \
6139         (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6140
6141 @endif etc
6142
6143 # Other targets (info, dvi, etc.)
6144
6145 .PHONY: maybe-info-etc info-etc
6146 maybe-info-etc:
6147 @if etc
6148 maybe-info-etc: info-etc
6149
6150 info-etc: \
6151     configure-etc 
6152         @[ -f ./etc/Makefile ] || exit 0; \
6153         r=`${PWD_COMMAND}`; export r; \
6154         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6155         $(SET_LIB_PATH) \
6156         for flag in $(EXTRA_HOST_FLAGS); do \
6157           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6158         done; \
6159         echo "Doing info in etc" ; \
6160         (cd etc && \
6161           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6162                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6163                   "RANLIB=$${RANLIB}" \
6164                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6165                   info) \
6166           || exit 1
6167
6168 @endif etc
6169
6170 .PHONY: maybe-dvi-etc dvi-etc
6171 maybe-dvi-etc:
6172 @if etc
6173 maybe-dvi-etc: dvi-etc
6174
6175 dvi-etc: \
6176     configure-etc 
6177         @[ -f ./etc/Makefile ] || exit 0; \
6178         r=`${PWD_COMMAND}`; export r; \
6179         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6180         $(SET_LIB_PATH) \
6181         for flag in $(EXTRA_HOST_FLAGS); do \
6182           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6183         done; \
6184         echo "Doing dvi in etc" ; \
6185         (cd etc && \
6186           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6187                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6188                   "RANLIB=$${RANLIB}" \
6189                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6190                   dvi) \
6191           || exit 1
6192
6193 @endif etc
6194
6195 .PHONY: maybe-TAGS-etc TAGS-etc
6196 maybe-TAGS-etc:
6197 @if etc
6198 maybe-TAGS-etc: TAGS-etc
6199
6200 TAGS-etc: \
6201     configure-etc 
6202         @[ -f ./etc/Makefile ] || exit 0; \
6203         r=`${PWD_COMMAND}`; export r; \
6204         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6205         $(SET_LIB_PATH) \
6206         for flag in $(EXTRA_HOST_FLAGS); do \
6207           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6208         done; \
6209         echo "Doing TAGS in etc" ; \
6210         (cd etc && \
6211           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6212                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6213                   "RANLIB=$${RANLIB}" \
6214                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6215                   TAGS) \
6216           || exit 1
6217
6218 @endif etc
6219
6220 .PHONY: maybe-install-info-etc install-info-etc
6221 maybe-install-info-etc:
6222 @if etc
6223 maybe-install-info-etc: install-info-etc
6224
6225 install-info-etc: \
6226     configure-etc \
6227     info-etc 
6228         @[ -f ./etc/Makefile ] || exit 0; \
6229         r=`${PWD_COMMAND}`; export r; \
6230         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6231         $(SET_LIB_PATH) \
6232         for flag in $(EXTRA_HOST_FLAGS); do \
6233           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6234         done; \
6235         echo "Doing install-info in etc" ; \
6236         (cd etc && \
6237           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6238                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6239                   "RANLIB=$${RANLIB}" \
6240                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6241                   install-info) \
6242           || exit 1
6243
6244 @endif etc
6245
6246 .PHONY: maybe-installcheck-etc installcheck-etc
6247 maybe-installcheck-etc:
6248 @if etc
6249 maybe-installcheck-etc: installcheck-etc
6250
6251 installcheck-etc: \
6252     configure-etc 
6253         @[ -f ./etc/Makefile ] || exit 0; \
6254         r=`${PWD_COMMAND}`; export r; \
6255         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6256         $(SET_LIB_PATH) \
6257         for flag in $(EXTRA_HOST_FLAGS); do \
6258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6259         done; \
6260         echo "Doing installcheck in etc" ; \
6261         (cd etc && \
6262           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6263                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6264                   "RANLIB=$${RANLIB}" \
6265                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6266                   installcheck) \
6267           || exit 1
6268
6269 @endif etc
6270
6271 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6272 maybe-mostlyclean-etc:
6273 @if etc
6274 maybe-mostlyclean-etc: mostlyclean-etc
6275
6276 mostlyclean-etc: 
6277         @[ -f ./etc/Makefile ] || exit 0; \
6278         r=`${PWD_COMMAND}`; export r; \
6279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6280         $(SET_LIB_PATH) \
6281         for flag in $(EXTRA_HOST_FLAGS); do \
6282           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6283         done; \
6284         echo "Doing mostlyclean in etc" ; \
6285         (cd etc && \
6286           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6287                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6288                   "RANLIB=$${RANLIB}" \
6289                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6290                   mostlyclean) \
6291           || exit 1
6292
6293 @endif etc
6294
6295 .PHONY: maybe-clean-etc clean-etc
6296 maybe-clean-etc:
6297 @if etc
6298 maybe-clean-etc: clean-etc
6299
6300 clean-etc: 
6301         @[ -f ./etc/Makefile ] || exit 0; \
6302         r=`${PWD_COMMAND}`; export r; \
6303         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6304         $(SET_LIB_PATH) \
6305         for flag in $(EXTRA_HOST_FLAGS); do \
6306           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6307         done; \
6308         echo "Doing clean in etc" ; \
6309         (cd etc && \
6310           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6311                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6312                   "RANLIB=$${RANLIB}" \
6313                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6314                   clean) \
6315           || exit 1
6316
6317 @endif etc
6318
6319 .PHONY: maybe-distclean-etc distclean-etc
6320 maybe-distclean-etc:
6321 @if etc
6322 maybe-distclean-etc: distclean-etc
6323
6324 distclean-etc: 
6325         @[ -f ./etc/Makefile ] || exit 0; \
6326         r=`${PWD_COMMAND}`; export r; \
6327         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6328         $(SET_LIB_PATH) \
6329         for flag in $(EXTRA_HOST_FLAGS); do \
6330           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6331         done; \
6332         echo "Doing distclean in etc" ; \
6333         (cd etc && \
6334           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6335                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6336                   "RANLIB=$${RANLIB}" \
6337                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6338                   distclean) \
6339           || exit 1
6340
6341 @endif etc
6342
6343 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6344 maybe-maintainer-clean-etc:
6345 @if etc
6346 maybe-maintainer-clean-etc: maintainer-clean-etc
6347
6348 maintainer-clean-etc: 
6349         @[ -f ./etc/Makefile ] || exit 0; \
6350         r=`${PWD_COMMAND}`; export r; \
6351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6352         $(SET_LIB_PATH) \
6353         for flag in $(EXTRA_HOST_FLAGS); do \
6354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6355         done; \
6356         echo "Doing maintainer-clean in etc" ; \
6357         (cd etc && \
6358           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6359                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6360                   "RANLIB=$${RANLIB}" \
6361                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6362                   maintainer-clean) \
6363           || exit 1
6364
6365 @endif etc
6366
6367
6368 .PHONY: configure-fastjar maybe-configure-fastjar
6369 maybe-configure-fastjar:
6370 @if fastjar
6371 maybe-configure-fastjar: configure-fastjar
6372 configure-fastjar:
6373         @test ! -f fastjar/Makefile || exit 0; \
6374         [ -d fastjar ] || mkdir fastjar; \
6375         r=`${PWD_COMMAND}`; export r; \
6376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377         CC="$(CC)"; export CC; \
6378         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6379         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6380         CXX="$(CXX)"; export CXX; \
6381         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6382         AR="$(AR)"; export AR; \
6383         AS="$(AS)"; export AS; \
6384         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6385         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6386         LD="$(LD)"; export LD; \
6387         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6388         NM="$(NM)"; export NM; \
6389         RANLIB="$(RANLIB)"; export RANLIB; \
6390         WINDRES="$(WINDRES)"; export WINDRES; \
6391         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6392         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6393         echo Configuring in fastjar; \
6394         cd fastjar || exit 1; \
6395         case $(srcdir) in \
6396           \.) \
6397             srcdiroption="--srcdir=."; \
6398             libsrcdir=".";; \
6399           /* | [A-Za-z]:[\\/]*) \
6400             srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6401             libsrcdir="$$s/fastjar";; \
6402           *) \
6403             srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6404             libsrcdir="$$s/fastjar";; \
6405         esac; \
6406         $(SHELL) $${libsrcdir}/configure \
6407           $(HOST_CONFIGARGS) $${srcdiroption} \
6408           || exit 1
6409 @endif fastjar
6410
6411 .PHONY: all-fastjar maybe-all-fastjar
6412 maybe-all-fastjar:
6413 @if fastjar
6414 maybe-all-fastjar: all-fastjar
6415 all-fastjar: configure-fastjar
6416         @r=`${PWD_COMMAND}`; export r; \
6417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6418         $(SET_LIB_PATH) \
6419         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6420 @endif fastjar
6421
6422 .PHONY: check-fastjar maybe-check-fastjar
6423 maybe-check-fastjar:
6424 @if fastjar
6425 maybe-check-fastjar: check-fastjar
6426
6427 # This module is only tested in a native toolchain.
6428 check-fastjar:
6429         @if [ '$(host)' = '$(target)' ] ; then \
6430           r=`${PWD_COMMAND}`; export r; \
6431           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6432           $(SET_LIB_PATH) \
6433           (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6434         fi
6435
6436 @endif fastjar
6437
6438 .PHONY: install-fastjar maybe-install-fastjar
6439 maybe-install-fastjar:
6440 @if fastjar
6441 maybe-install-fastjar: install-fastjar
6442
6443 install-fastjar: installdirs
6444         @r=`${PWD_COMMAND}`; export r; \
6445         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446         $(SET_LIB_PATH) \
6447         (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6448
6449 @endif fastjar
6450
6451 # Other targets (info, dvi, etc.)
6452
6453 .PHONY: maybe-info-fastjar info-fastjar
6454 maybe-info-fastjar:
6455 @if fastjar
6456 maybe-info-fastjar: info-fastjar
6457
6458 info-fastjar: \
6459     configure-fastjar 
6460         @[ -f ./fastjar/Makefile ] || exit 0; \
6461         r=`${PWD_COMMAND}`; export r; \
6462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6463         $(SET_LIB_PATH) \
6464         for flag in $(EXTRA_HOST_FLAGS); do \
6465           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6466         done; \
6467         echo "Doing info in fastjar" ; \
6468         (cd fastjar && \
6469           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6470                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6471                   "RANLIB=$${RANLIB}" \
6472                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6473                   info) \
6474           || exit 1
6475
6476 @endif fastjar
6477
6478 .PHONY: maybe-dvi-fastjar dvi-fastjar
6479 maybe-dvi-fastjar:
6480 @if fastjar
6481 maybe-dvi-fastjar: dvi-fastjar
6482
6483 dvi-fastjar: \
6484     configure-fastjar 
6485         @[ -f ./fastjar/Makefile ] || exit 0; \
6486         r=`${PWD_COMMAND}`; export r; \
6487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6488         $(SET_LIB_PATH) \
6489         for flag in $(EXTRA_HOST_FLAGS); do \
6490           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6491         done; \
6492         echo "Doing dvi in fastjar" ; \
6493         (cd fastjar && \
6494           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6495                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6496                   "RANLIB=$${RANLIB}" \
6497                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6498                   dvi) \
6499           || exit 1
6500
6501 @endif fastjar
6502
6503 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6504 maybe-TAGS-fastjar:
6505 @if fastjar
6506 maybe-TAGS-fastjar: TAGS-fastjar
6507
6508 TAGS-fastjar: \
6509     configure-fastjar 
6510         @[ -f ./fastjar/Makefile ] || exit 0; \
6511         r=`${PWD_COMMAND}`; export r; \
6512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6513         $(SET_LIB_PATH) \
6514         for flag in $(EXTRA_HOST_FLAGS); do \
6515           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6516         done; \
6517         echo "Doing TAGS in fastjar" ; \
6518         (cd fastjar && \
6519           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6520                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6521                   "RANLIB=$${RANLIB}" \
6522                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6523                   TAGS) \
6524           || exit 1
6525
6526 @endif fastjar
6527
6528 .PHONY: maybe-install-info-fastjar install-info-fastjar
6529 maybe-install-info-fastjar:
6530 @if fastjar
6531 maybe-install-info-fastjar: install-info-fastjar
6532
6533 install-info-fastjar: \
6534     configure-fastjar \
6535     info-fastjar 
6536         @[ -f ./fastjar/Makefile ] || exit 0; \
6537         r=`${PWD_COMMAND}`; export r; \
6538         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6539         $(SET_LIB_PATH) \
6540         for flag in $(EXTRA_HOST_FLAGS); do \
6541           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6542         done; \
6543         echo "Doing install-info in fastjar" ; \
6544         (cd fastjar && \
6545           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6546                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6547                   "RANLIB=$${RANLIB}" \
6548                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6549                   install-info) \
6550           || exit 1
6551
6552 @endif fastjar
6553
6554 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6555 maybe-installcheck-fastjar:
6556 @if fastjar
6557 maybe-installcheck-fastjar: installcheck-fastjar
6558
6559 installcheck-fastjar: \
6560     configure-fastjar 
6561         @[ -f ./fastjar/Makefile ] || exit 0; \
6562         r=`${PWD_COMMAND}`; export r; \
6563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6564         $(SET_LIB_PATH) \
6565         for flag in $(EXTRA_HOST_FLAGS); do \
6566           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6567         done; \
6568         echo "Doing installcheck in fastjar" ; \
6569         (cd fastjar && \
6570           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6571                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6572                   "RANLIB=$${RANLIB}" \
6573                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6574                   installcheck) \
6575           || exit 1
6576
6577 @endif fastjar
6578
6579 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6580 maybe-mostlyclean-fastjar:
6581 @if fastjar
6582 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6583
6584 mostlyclean-fastjar: 
6585         @[ -f ./fastjar/Makefile ] || exit 0; \
6586         r=`${PWD_COMMAND}`; export r; \
6587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6588         $(SET_LIB_PATH) \
6589         for flag in $(EXTRA_HOST_FLAGS); do \
6590           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6591         done; \
6592         echo "Doing mostlyclean in fastjar" ; \
6593         (cd fastjar && \
6594           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6595                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6596                   "RANLIB=$${RANLIB}" \
6597                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6598                   mostlyclean) \
6599           || exit 1
6600
6601 @endif fastjar
6602
6603 .PHONY: maybe-clean-fastjar clean-fastjar
6604 maybe-clean-fastjar:
6605 @if fastjar
6606 maybe-clean-fastjar: clean-fastjar
6607
6608 clean-fastjar: 
6609         @[ -f ./fastjar/Makefile ] || exit 0; \
6610         r=`${PWD_COMMAND}`; export r; \
6611         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6612         $(SET_LIB_PATH) \
6613         for flag in $(EXTRA_HOST_FLAGS); do \
6614           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6615         done; \
6616         echo "Doing clean in fastjar" ; \
6617         (cd fastjar && \
6618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6620                   "RANLIB=$${RANLIB}" \
6621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6622                   clean) \
6623           || exit 1
6624
6625 @endif fastjar
6626
6627 .PHONY: maybe-distclean-fastjar distclean-fastjar
6628 maybe-distclean-fastjar:
6629 @if fastjar
6630 maybe-distclean-fastjar: distclean-fastjar
6631
6632 distclean-fastjar: 
6633         @[ -f ./fastjar/Makefile ] || exit 0; \
6634         r=`${PWD_COMMAND}`; export r; \
6635         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636         $(SET_LIB_PATH) \
6637         for flag in $(EXTRA_HOST_FLAGS); do \
6638           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639         done; \
6640         echo "Doing distclean in fastjar" ; \
6641         (cd fastjar && \
6642           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644                   "RANLIB=$${RANLIB}" \
6645                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6646                   distclean) \
6647           || exit 1
6648
6649 @endif fastjar
6650
6651 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6652 maybe-maintainer-clean-fastjar:
6653 @if fastjar
6654 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
6655
6656 maintainer-clean-fastjar: 
6657         @[ -f ./fastjar/Makefile ] || exit 0; \
6658         r=`${PWD_COMMAND}`; export r; \
6659         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6660         $(SET_LIB_PATH) \
6661         for flag in $(EXTRA_HOST_FLAGS); do \
6662           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6663         done; \
6664         echo "Doing maintainer-clean in fastjar" ; \
6665         (cd fastjar && \
6666           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6667                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6668                   "RANLIB=$${RANLIB}" \
6669                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6670                   maintainer-clean) \
6671           || exit 1
6672
6673 @endif fastjar
6674
6675
6676 .PHONY: configure-fileutils maybe-configure-fileutils
6677 maybe-configure-fileutils:
6678 @if fileutils
6679 maybe-configure-fileutils: configure-fileutils
6680 configure-fileutils:
6681         @test ! -f fileutils/Makefile || exit 0; \
6682         [ -d fileutils ] || mkdir fileutils; \
6683         r=`${PWD_COMMAND}`; export r; \
6684         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6685         CC="$(CC)"; export CC; \
6686         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6687         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6688         CXX="$(CXX)"; export CXX; \
6689         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6690         AR="$(AR)"; export AR; \
6691         AS="$(AS)"; export AS; \
6692         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6693         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6694         LD="$(LD)"; export LD; \
6695         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6696         NM="$(NM)"; export NM; \
6697         RANLIB="$(RANLIB)"; export RANLIB; \
6698         WINDRES="$(WINDRES)"; export WINDRES; \
6699         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6700         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6701         echo Configuring in fileutils; \
6702         cd fileutils || exit 1; \
6703         case $(srcdir) in \
6704           \.) \
6705             srcdiroption="--srcdir=."; \
6706             libsrcdir=".";; \
6707           /* | [A-Za-z]:[\\/]*) \
6708             srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6709             libsrcdir="$$s/fileutils";; \
6710           *) \
6711             srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6712             libsrcdir="$$s/fileutils";; \
6713         esac; \
6714         $(SHELL) $${libsrcdir}/configure \
6715           $(HOST_CONFIGARGS) $${srcdiroption} \
6716           || exit 1
6717 @endif fileutils
6718
6719 .PHONY: all-fileutils maybe-all-fileutils
6720 maybe-all-fileutils:
6721 @if fileutils
6722 maybe-all-fileutils: all-fileutils
6723 all-fileutils: configure-fileutils
6724         @r=`${PWD_COMMAND}`; export r; \
6725         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6726         $(SET_LIB_PATH) \
6727         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6728 @endif fileutils
6729
6730 .PHONY: check-fileutils maybe-check-fileutils
6731 maybe-check-fileutils:
6732 @if fileutils
6733 maybe-check-fileutils: check-fileutils
6734
6735 check-fileutils:
6736         @r=`${PWD_COMMAND}`; export r; \
6737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6738         $(SET_LIB_PATH) \
6739         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6740
6741 @endif fileutils
6742
6743 .PHONY: install-fileutils maybe-install-fileutils
6744 maybe-install-fileutils:
6745 @if fileutils
6746 maybe-install-fileutils: install-fileutils
6747
6748 install-fileutils: installdirs
6749         @r=`${PWD_COMMAND}`; export r; \
6750         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6751         $(SET_LIB_PATH) \
6752         (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6753
6754 @endif fileutils
6755
6756 # Other targets (info, dvi, etc.)
6757
6758 .PHONY: maybe-info-fileutils info-fileutils
6759 maybe-info-fileutils:
6760 @if fileutils
6761 maybe-info-fileutils: info-fileutils
6762
6763 info-fileutils: \
6764     configure-fileutils 
6765         @[ -f ./fileutils/Makefile ] || exit 0; \
6766         r=`${PWD_COMMAND}`; export r; \
6767         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6768         $(SET_LIB_PATH) \
6769         for flag in $(EXTRA_HOST_FLAGS); do \
6770           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771         done; \
6772         echo "Doing info in fileutils" ; \
6773         (cd fileutils && \
6774           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776                   "RANLIB=$${RANLIB}" \
6777                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6778                   info) \
6779           || exit 1
6780
6781 @endif fileutils
6782
6783 .PHONY: maybe-dvi-fileutils dvi-fileutils
6784 maybe-dvi-fileutils:
6785 @if fileutils
6786 maybe-dvi-fileutils: dvi-fileutils
6787
6788 dvi-fileutils: \
6789     configure-fileutils 
6790         @[ -f ./fileutils/Makefile ] || exit 0; \
6791         r=`${PWD_COMMAND}`; export r; \
6792         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6793         $(SET_LIB_PATH) \
6794         for flag in $(EXTRA_HOST_FLAGS); do \
6795           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6796         done; \
6797         echo "Doing dvi in fileutils" ; \
6798         (cd fileutils && \
6799           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6800                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6801                   "RANLIB=$${RANLIB}" \
6802                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6803                   dvi) \
6804           || exit 1
6805
6806 @endif fileutils
6807
6808 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6809 maybe-TAGS-fileutils:
6810 @if fileutils
6811 maybe-TAGS-fileutils: TAGS-fileutils
6812
6813 TAGS-fileutils: \
6814     configure-fileutils 
6815         @[ -f ./fileutils/Makefile ] || exit 0; \
6816         r=`${PWD_COMMAND}`; export r; \
6817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818         $(SET_LIB_PATH) \
6819         for flag in $(EXTRA_HOST_FLAGS); do \
6820           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6821         done; \
6822         echo "Doing TAGS in fileutils" ; \
6823         (cd fileutils && \
6824           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6825                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6826                   "RANLIB=$${RANLIB}" \
6827                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6828                   TAGS) \
6829           || exit 1
6830
6831 @endif fileutils
6832
6833 .PHONY: maybe-install-info-fileutils install-info-fileutils
6834 maybe-install-info-fileutils:
6835 @if fileutils
6836 maybe-install-info-fileutils: install-info-fileutils
6837
6838 install-info-fileutils: \
6839     configure-fileutils \
6840     info-fileutils 
6841         @[ -f ./fileutils/Makefile ] || exit 0; \
6842         r=`${PWD_COMMAND}`; export r; \
6843         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844         $(SET_LIB_PATH) \
6845         for flag in $(EXTRA_HOST_FLAGS); do \
6846           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847         done; \
6848         echo "Doing install-info in fileutils" ; \
6849         (cd fileutils && \
6850           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852                   "RANLIB=$${RANLIB}" \
6853                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6854                   install-info) \
6855           || exit 1
6856
6857 @endif fileutils
6858
6859 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6860 maybe-installcheck-fileutils:
6861 @if fileutils
6862 maybe-installcheck-fileutils: installcheck-fileutils
6863
6864 installcheck-fileutils: \
6865     configure-fileutils 
6866         @[ -f ./fileutils/Makefile ] || exit 0; \
6867         r=`${PWD_COMMAND}`; export r; \
6868         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869         $(SET_LIB_PATH) \
6870         for flag in $(EXTRA_HOST_FLAGS); do \
6871           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6872         done; \
6873         echo "Doing installcheck in fileutils" ; \
6874         (cd fileutils && \
6875           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877                   "RANLIB=$${RANLIB}" \
6878                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6879                   installcheck) \
6880           || exit 1
6881
6882 @endif fileutils
6883
6884 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6885 maybe-mostlyclean-fileutils:
6886 @if fileutils
6887 maybe-mostlyclean-fileutils: mostlyclean-fileutils
6888
6889 mostlyclean-fileutils: 
6890         @[ -f ./fileutils/Makefile ] || exit 0; \
6891         r=`${PWD_COMMAND}`; export r; \
6892         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6893         $(SET_LIB_PATH) \
6894         for flag in $(EXTRA_HOST_FLAGS); do \
6895           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6896         done; \
6897         echo "Doing mostlyclean in fileutils" ; \
6898         (cd fileutils && \
6899           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6900                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6901                   "RANLIB=$${RANLIB}" \
6902                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6903                   mostlyclean) \
6904           || exit 1
6905
6906 @endif fileutils
6907
6908 .PHONY: maybe-clean-fileutils clean-fileutils
6909 maybe-clean-fileutils:
6910 @if fileutils
6911 maybe-clean-fileutils: clean-fileutils
6912
6913 clean-fileutils: 
6914         @[ -f ./fileutils/Makefile ] || exit 0; \
6915         r=`${PWD_COMMAND}`; export r; \
6916         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6917         $(SET_LIB_PATH) \
6918         for flag in $(EXTRA_HOST_FLAGS); do \
6919           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6920         done; \
6921         echo "Doing clean in fileutils" ; \
6922         (cd fileutils && \
6923           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6924                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6925                   "RANLIB=$${RANLIB}" \
6926                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6927                   clean) \
6928           || exit 1
6929
6930 @endif fileutils
6931
6932 .PHONY: maybe-distclean-fileutils distclean-fileutils
6933 maybe-distclean-fileutils:
6934 @if fileutils
6935 maybe-distclean-fileutils: distclean-fileutils
6936
6937 distclean-fileutils: 
6938         @[ -f ./fileutils/Makefile ] || exit 0; \
6939         r=`${PWD_COMMAND}`; export r; \
6940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6941         $(SET_LIB_PATH) \
6942         for flag in $(EXTRA_HOST_FLAGS); do \
6943           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6944         done; \
6945         echo "Doing distclean in fileutils" ; \
6946         (cd fileutils && \
6947           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6948                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6949                   "RANLIB=$${RANLIB}" \
6950                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6951                   distclean) \
6952           || exit 1
6953
6954 @endif fileutils
6955
6956 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6957 maybe-maintainer-clean-fileutils:
6958 @if fileutils
6959 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
6960
6961 maintainer-clean-fileutils: 
6962         @[ -f ./fileutils/Makefile ] || exit 0; \
6963         r=`${PWD_COMMAND}`; export r; \
6964         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6965         $(SET_LIB_PATH) \
6966         for flag in $(EXTRA_HOST_FLAGS); do \
6967           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6968         done; \
6969         echo "Doing maintainer-clean in fileutils" ; \
6970         (cd fileutils && \
6971           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6972                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6973                   "RANLIB=$${RANLIB}" \
6974                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6975                   maintainer-clean) \
6976           || exit 1
6977
6978 @endif fileutils
6979
6980
6981 .PHONY: configure-findutils maybe-configure-findutils
6982 maybe-configure-findutils:
6983 @if findutils
6984 maybe-configure-findutils: configure-findutils
6985 configure-findutils:
6986         @test ! -f findutils/Makefile || exit 0; \
6987         [ -d findutils ] || mkdir findutils; \
6988         r=`${PWD_COMMAND}`; export r; \
6989         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990         CC="$(CC)"; export CC; \
6991         CFLAGS="$(CFLAGS)"; export CFLAGS; \
6992         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6993         CXX="$(CXX)"; export CXX; \
6994         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6995         AR="$(AR)"; export AR; \
6996         AS="$(AS)"; export AS; \
6997         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6998         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6999         LD="$(LD)"; export LD; \
7000         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7001         NM="$(NM)"; export NM; \
7002         RANLIB="$(RANLIB)"; export RANLIB; \
7003         WINDRES="$(WINDRES)"; export WINDRES; \
7004         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7005         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7006         echo Configuring in findutils; \
7007         cd findutils || exit 1; \
7008         case $(srcdir) in \
7009           \.) \
7010             srcdiroption="--srcdir=."; \
7011             libsrcdir=".";; \
7012           /* | [A-Za-z]:[\\/]*) \
7013             srcdiroption="--srcdir=$(srcdir)/findutils"; \
7014             libsrcdir="$$s/findutils";; \
7015           *) \
7016             srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7017             libsrcdir="$$s/findutils";; \
7018         esac; \
7019         $(SHELL) $${libsrcdir}/configure \
7020           $(HOST_CONFIGARGS) $${srcdiroption} \
7021           || exit 1
7022 @endif findutils
7023
7024 .PHONY: all-findutils maybe-all-findutils
7025 maybe-all-findutils:
7026 @if findutils
7027 maybe-all-findutils: all-findutils
7028 all-findutils: configure-findutils
7029         @r=`${PWD_COMMAND}`; export r; \
7030         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7031         $(SET_LIB_PATH) \
7032         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7033 @endif findutils
7034
7035 .PHONY: check-findutils maybe-check-findutils
7036 maybe-check-findutils:
7037 @if findutils
7038 maybe-check-findutils: check-findutils
7039
7040 check-findutils:
7041         @r=`${PWD_COMMAND}`; export r; \
7042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7043         $(SET_LIB_PATH) \
7044         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7045
7046 @endif findutils
7047
7048 .PHONY: install-findutils maybe-install-findutils
7049 maybe-install-findutils:
7050 @if findutils
7051 maybe-install-findutils: install-findutils
7052
7053 install-findutils: installdirs
7054         @r=`${PWD_COMMAND}`; export r; \
7055         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7056         $(SET_LIB_PATH) \
7057         (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7058
7059 @endif findutils
7060
7061 # Other targets (info, dvi, etc.)
7062
7063 .PHONY: maybe-info-findutils info-findutils
7064 maybe-info-findutils:
7065 @if findutils
7066 maybe-info-findutils: info-findutils
7067
7068 info-findutils: \
7069     configure-findutils 
7070         @[ -f ./findutils/Makefile ] || exit 0; \
7071         r=`${PWD_COMMAND}`; export r; \
7072         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7073         $(SET_LIB_PATH) \
7074         for flag in $(EXTRA_HOST_FLAGS); do \
7075           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7076         done; \
7077         echo "Doing info in findutils" ; \
7078         (cd findutils && \
7079           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7080                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7081                   "RANLIB=$${RANLIB}" \
7082                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7083                   info) \
7084           || exit 1
7085
7086 @endif findutils
7087
7088 .PHONY: maybe-dvi-findutils dvi-findutils
7089 maybe-dvi-findutils:
7090 @if findutils
7091 maybe-dvi-findutils: dvi-findutils
7092
7093 dvi-findutils: \
7094     configure-findutils 
7095         @[ -f ./findutils/Makefile ] || exit 0; \
7096         r=`${PWD_COMMAND}`; export r; \
7097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098         $(SET_LIB_PATH) \
7099         for flag in $(EXTRA_HOST_FLAGS); do \
7100           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7101         done; \
7102         echo "Doing dvi in findutils" ; \
7103         (cd findutils && \
7104           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7105                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7106                   "RANLIB=$${RANLIB}" \
7107                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7108                   dvi) \
7109           || exit 1
7110
7111 @endif findutils
7112
7113 .PHONY: maybe-TAGS-findutils TAGS-findutils
7114 maybe-TAGS-findutils:
7115 @if findutils
7116 maybe-TAGS-findutils: TAGS-findutils
7117
7118 TAGS-findutils: \
7119     configure-findutils 
7120         @[ -f ./findutils/Makefile ] || exit 0; \
7121         r=`${PWD_COMMAND}`; export r; \
7122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7123         $(SET_LIB_PATH) \
7124         for flag in $(EXTRA_HOST_FLAGS); do \
7125           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7126         done; \
7127         echo "Doing TAGS in findutils" ; \
7128         (cd findutils && \
7129           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7130                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7131                   "RANLIB=$${RANLIB}" \
7132                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7133                   TAGS) \
7134           || exit 1
7135
7136 @endif findutils
7137
7138 .PHONY: maybe-install-info-findutils install-info-findutils
7139 maybe-install-info-findutils:
7140 @if findutils
7141 maybe-install-info-findutils: install-info-findutils
7142
7143 install-info-findutils: \
7144     configure-findutils \
7145     info-findutils 
7146         @[ -f ./findutils/Makefile ] || exit 0; \
7147         r=`${PWD_COMMAND}`; export r; \
7148         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7149         $(SET_LIB_PATH) \
7150         for flag in $(EXTRA_HOST_FLAGS); do \
7151           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7152         done; \
7153         echo "Doing install-info in findutils" ; \
7154         (cd findutils && \
7155           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7156                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7157                   "RANLIB=$${RANLIB}" \
7158                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7159                   install-info) \
7160           || exit 1
7161
7162 @endif findutils
7163
7164 .PHONY: maybe-installcheck-findutils installcheck-findutils
7165 maybe-installcheck-findutils:
7166 @if findutils
7167 maybe-installcheck-findutils: installcheck-findutils
7168
7169 installcheck-findutils: \
7170     configure-findutils 
7171         @[ -f ./findutils/Makefile ] || exit 0; \
7172         r=`${PWD_COMMAND}`; export r; \
7173         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7174         $(SET_LIB_PATH) \
7175         for flag in $(EXTRA_HOST_FLAGS); do \
7176           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7177         done; \
7178         echo "Doing installcheck in findutils" ; \
7179         (cd findutils && \
7180           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7181                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7182                   "RANLIB=$${RANLIB}" \
7183                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7184                   installcheck) \
7185           || exit 1
7186
7187 @endif findutils
7188
7189 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7190 maybe-mostlyclean-findutils:
7191 @if findutils
7192 maybe-mostlyclean-findutils: mostlyclean-findutils
7193
7194 mostlyclean-findutils: 
7195         @[ -f ./findutils/Makefile ] || exit 0; \
7196         r=`${PWD_COMMAND}`; export r; \
7197         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7198         $(SET_LIB_PATH) \
7199         for flag in $(EXTRA_HOST_FLAGS); do \
7200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7201         done; \
7202         echo "Doing mostlyclean in findutils" ; \
7203         (cd findutils && \
7204           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7205                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7206                   "RANLIB=$${RANLIB}" \
7207                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7208                   mostlyclean) \
7209           || exit 1
7210
7211 @endif findutils
7212
7213 .PHONY: maybe-clean-findutils clean-findutils
7214 maybe-clean-findutils:
7215 @if findutils
7216 maybe-clean-findutils: clean-findutils
7217
7218 clean-findutils: 
7219         @[ -f ./findutils/Makefile ] || exit 0; \
7220         r=`${PWD_COMMAND}`; export r; \
7221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7222         $(SET_LIB_PATH) \
7223         for flag in $(EXTRA_HOST_FLAGS); do \
7224           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7225         done; \
7226         echo "Doing clean in findutils" ; \
7227         (cd findutils && \
7228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7230                   "RANLIB=$${RANLIB}" \
7231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7232                   clean) \
7233           || exit 1
7234
7235 @endif findutils
7236
7237 .PHONY: maybe-distclean-findutils distclean-findutils
7238 maybe-distclean-findutils:
7239 @if findutils
7240 maybe-distclean-findutils: distclean-findutils
7241
7242 distclean-findutils: 
7243         @[ -f ./findutils/Makefile ] || exit 0; \
7244         r=`${PWD_COMMAND}`; export r; \
7245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7246         $(SET_LIB_PATH) \
7247         for flag in $(EXTRA_HOST_FLAGS); do \
7248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7249         done; \
7250         echo "Doing distclean in findutils" ; \
7251         (cd findutils && \
7252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7254                   "RANLIB=$${RANLIB}" \
7255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7256                   distclean) \
7257           || exit 1
7258
7259 @endif findutils
7260
7261 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7262 maybe-maintainer-clean-findutils:
7263 @if findutils
7264 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7265
7266 maintainer-clean-findutils: 
7267         @[ -f ./findutils/Makefile ] || exit 0; \
7268         r=`${PWD_COMMAND}`; export r; \
7269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7270         $(SET_LIB_PATH) \
7271         for flag in $(EXTRA_HOST_FLAGS); do \
7272           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7273         done; \
7274         echo "Doing maintainer-clean in findutils" ; \
7275         (cd findutils && \
7276           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7277                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7278                   "RANLIB=$${RANLIB}" \
7279                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7280                   maintainer-clean) \
7281           || exit 1
7282
7283 @endif findutils
7284
7285
7286 .PHONY: configure-find maybe-configure-find
7287 maybe-configure-find:
7288 @if find
7289 maybe-configure-find: configure-find
7290 configure-find:
7291         @test ! -f find/Makefile || exit 0; \
7292         [ -d find ] || mkdir find; \
7293         r=`${PWD_COMMAND}`; export r; \
7294         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7295         CC="$(CC)"; export CC; \
7296         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7297         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7298         CXX="$(CXX)"; export CXX; \
7299         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7300         AR="$(AR)"; export AR; \
7301         AS="$(AS)"; export AS; \
7302         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7303         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7304         LD="$(LD)"; export LD; \
7305         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7306         NM="$(NM)"; export NM; \
7307         RANLIB="$(RANLIB)"; export RANLIB; \
7308         WINDRES="$(WINDRES)"; export WINDRES; \
7309         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7310         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7311         echo Configuring in find; \
7312         cd find || exit 1; \
7313         case $(srcdir) in \
7314           \.) \
7315             srcdiroption="--srcdir=."; \
7316             libsrcdir=".";; \
7317           /* | [A-Za-z]:[\\/]*) \
7318             srcdiroption="--srcdir=$(srcdir)/find"; \
7319             libsrcdir="$$s/find";; \
7320           *) \
7321             srcdiroption="--srcdir=../$(srcdir)/find"; \
7322             libsrcdir="$$s/find";; \
7323         esac; \
7324         $(SHELL) $${libsrcdir}/configure \
7325           $(HOST_CONFIGARGS) $${srcdiroption} \
7326           || exit 1
7327 @endif find
7328
7329 .PHONY: all-find maybe-all-find
7330 maybe-all-find:
7331 @if find
7332 maybe-all-find: all-find
7333 all-find: configure-find
7334         @r=`${PWD_COMMAND}`; export r; \
7335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7336         $(SET_LIB_PATH) \
7337         (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7338 @endif find
7339
7340 .PHONY: check-find maybe-check-find
7341 maybe-check-find:
7342 @if find
7343 maybe-check-find: check-find
7344
7345 check-find:
7346         @r=`${PWD_COMMAND}`; export r; \
7347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7348         $(SET_LIB_PATH) \
7349         (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7350
7351 @endif find
7352
7353 .PHONY: install-find maybe-install-find
7354 maybe-install-find:
7355 @if find
7356 maybe-install-find: install-find
7357
7358 install-find: installdirs
7359         @r=`${PWD_COMMAND}`; export r; \
7360         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361         $(SET_LIB_PATH) \
7362         (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7363
7364 @endif find
7365
7366 # Other targets (info, dvi, etc.)
7367
7368 .PHONY: maybe-info-find info-find
7369 maybe-info-find:
7370 @if find
7371 maybe-info-find: info-find
7372
7373 info-find: \
7374     configure-find 
7375         @[ -f ./find/Makefile ] || exit 0; \
7376         r=`${PWD_COMMAND}`; export r; \
7377         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7378         $(SET_LIB_PATH) \
7379         for flag in $(EXTRA_HOST_FLAGS); do \
7380           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7381         done; \
7382         echo "Doing info in find" ; \
7383         (cd find && \
7384           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7385                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7386                   "RANLIB=$${RANLIB}" \
7387                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7388                   info) \
7389           || exit 1
7390
7391 @endif find
7392
7393 .PHONY: maybe-dvi-find dvi-find
7394 maybe-dvi-find:
7395 @if find
7396 maybe-dvi-find: dvi-find
7397
7398 dvi-find: \
7399     configure-find 
7400         @[ -f ./find/Makefile ] || exit 0; \
7401         r=`${PWD_COMMAND}`; export r; \
7402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7403         $(SET_LIB_PATH) \
7404         for flag in $(EXTRA_HOST_FLAGS); do \
7405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7406         done; \
7407         echo "Doing dvi in find" ; \
7408         (cd find && \
7409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7411                   "RANLIB=$${RANLIB}" \
7412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7413                   dvi) \
7414           || exit 1
7415
7416 @endif find
7417
7418 .PHONY: maybe-TAGS-find TAGS-find
7419 maybe-TAGS-find:
7420 @if find
7421 maybe-TAGS-find: TAGS-find
7422
7423 TAGS-find: \
7424     configure-find 
7425         @[ -f ./find/Makefile ] || exit 0; \
7426         r=`${PWD_COMMAND}`; export r; \
7427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7428         $(SET_LIB_PATH) \
7429         for flag in $(EXTRA_HOST_FLAGS); do \
7430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7431         done; \
7432         echo "Doing TAGS in find" ; \
7433         (cd find && \
7434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7436                   "RANLIB=$${RANLIB}" \
7437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7438                   TAGS) \
7439           || exit 1
7440
7441 @endif find
7442
7443 .PHONY: maybe-install-info-find install-info-find
7444 maybe-install-info-find:
7445 @if find
7446 maybe-install-info-find: install-info-find
7447
7448 install-info-find: \
7449     configure-find \
7450     info-find 
7451         @[ -f ./find/Makefile ] || exit 0; \
7452         r=`${PWD_COMMAND}`; export r; \
7453         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7454         $(SET_LIB_PATH) \
7455         for flag in $(EXTRA_HOST_FLAGS); do \
7456           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7457         done; \
7458         echo "Doing install-info in find" ; \
7459         (cd find && \
7460           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7461                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7462                   "RANLIB=$${RANLIB}" \
7463                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7464                   install-info) \
7465           || exit 1
7466
7467 @endif find
7468
7469 .PHONY: maybe-installcheck-find installcheck-find
7470 maybe-installcheck-find:
7471 @if find
7472 maybe-installcheck-find: installcheck-find
7473
7474 installcheck-find: \
7475     configure-find 
7476         @[ -f ./find/Makefile ] || exit 0; \
7477         r=`${PWD_COMMAND}`; export r; \
7478         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7479         $(SET_LIB_PATH) \
7480         for flag in $(EXTRA_HOST_FLAGS); do \
7481           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7482         done; \
7483         echo "Doing installcheck in find" ; \
7484         (cd find && \
7485           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7486                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7487                   "RANLIB=$${RANLIB}" \
7488                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7489                   installcheck) \
7490           || exit 1
7491
7492 @endif find
7493
7494 .PHONY: maybe-mostlyclean-find mostlyclean-find
7495 maybe-mostlyclean-find:
7496 @if find
7497 maybe-mostlyclean-find: mostlyclean-find
7498
7499 mostlyclean-find: 
7500         @[ -f ./find/Makefile ] || exit 0; \
7501         r=`${PWD_COMMAND}`; export r; \
7502         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7503         $(SET_LIB_PATH) \
7504         for flag in $(EXTRA_HOST_FLAGS); do \
7505           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7506         done; \
7507         echo "Doing mostlyclean in find" ; \
7508         (cd find && \
7509           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7510                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7511                   "RANLIB=$${RANLIB}" \
7512                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7513                   mostlyclean) \
7514           || exit 1
7515
7516 @endif find
7517
7518 .PHONY: maybe-clean-find clean-find
7519 maybe-clean-find:
7520 @if find
7521 maybe-clean-find: clean-find
7522
7523 clean-find: 
7524         @[ -f ./find/Makefile ] || exit 0; \
7525         r=`${PWD_COMMAND}`; export r; \
7526         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7527         $(SET_LIB_PATH) \
7528         for flag in $(EXTRA_HOST_FLAGS); do \
7529           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7530         done; \
7531         echo "Doing clean in find" ; \
7532         (cd find && \
7533           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7534                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7535                   "RANLIB=$${RANLIB}" \
7536                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7537                   clean) \
7538           || exit 1
7539
7540 @endif find
7541
7542 .PHONY: maybe-distclean-find distclean-find
7543 maybe-distclean-find:
7544 @if find
7545 maybe-distclean-find: distclean-find
7546
7547 distclean-find: 
7548         @[ -f ./find/Makefile ] || exit 0; \
7549         r=`${PWD_COMMAND}`; export r; \
7550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7551         $(SET_LIB_PATH) \
7552         for flag in $(EXTRA_HOST_FLAGS); do \
7553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7554         done; \
7555         echo "Doing distclean in find" ; \
7556         (cd find && \
7557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7559                   "RANLIB=$${RANLIB}" \
7560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7561                   distclean) \
7562           || exit 1
7563
7564 @endif find
7565
7566 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7567 maybe-maintainer-clean-find:
7568 @if find
7569 maybe-maintainer-clean-find: maintainer-clean-find
7570
7571 maintainer-clean-find: 
7572         @[ -f ./find/Makefile ] || exit 0; \
7573         r=`${PWD_COMMAND}`; export r; \
7574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7575         $(SET_LIB_PATH) \
7576         for flag in $(EXTRA_HOST_FLAGS); do \
7577           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7578         done; \
7579         echo "Doing maintainer-clean in find" ; \
7580         (cd find && \
7581           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7582                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7583                   "RANLIB=$${RANLIB}" \
7584                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7585                   maintainer-clean) \
7586           || exit 1
7587
7588 @endif find
7589
7590
7591 .PHONY: configure-flex maybe-configure-flex
7592 maybe-configure-flex:
7593 @if flex
7594 maybe-configure-flex: configure-flex
7595 configure-flex:
7596         @test ! -f flex/Makefile || exit 0; \
7597         [ -d flex ] || mkdir flex; \
7598         r=`${PWD_COMMAND}`; export r; \
7599         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7600         CC="$(CC)"; export CC; \
7601         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7602         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7603         CXX="$(CXX)"; export CXX; \
7604         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7605         AR="$(AR)"; export AR; \
7606         AS="$(AS)"; export AS; \
7607         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7608         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7609         LD="$(LD)"; export LD; \
7610         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7611         NM="$(NM)"; export NM; \
7612         RANLIB="$(RANLIB)"; export RANLIB; \
7613         WINDRES="$(WINDRES)"; export WINDRES; \
7614         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7615         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7616         echo Configuring in flex; \
7617         cd flex || exit 1; \
7618         case $(srcdir) in \
7619           \.) \
7620             srcdiroption="--srcdir=."; \
7621             libsrcdir=".";; \
7622           /* | [A-Za-z]:[\\/]*) \
7623             srcdiroption="--srcdir=$(srcdir)/flex"; \
7624             libsrcdir="$$s/flex";; \
7625           *) \
7626             srcdiroption="--srcdir=../$(srcdir)/flex"; \
7627             libsrcdir="$$s/flex";; \
7628         esac; \
7629         $(SHELL) $${libsrcdir}/configure \
7630           $(HOST_CONFIGARGS) $${srcdiroption} \
7631           || exit 1
7632 @endif flex
7633
7634 .PHONY: all-flex maybe-all-flex
7635 maybe-all-flex:
7636 @if flex
7637 maybe-all-flex: all-flex
7638 all-flex: configure-flex
7639         @r=`${PWD_COMMAND}`; export r; \
7640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7641         $(SET_LIB_PATH) \
7642         (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7643 @endif flex
7644
7645 .PHONY: check-flex maybe-check-flex
7646 maybe-check-flex:
7647 @if flex
7648 maybe-check-flex: check-flex
7649
7650 # This module is only tested in a native toolchain.
7651 check-flex:
7652         @if [ '$(host)' = '$(target)' ] ; then \
7653           r=`${PWD_COMMAND}`; export r; \
7654           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7655           $(SET_LIB_PATH) \
7656           (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
7657         fi
7658
7659 @endif flex
7660
7661 .PHONY: install-flex maybe-install-flex
7662 maybe-install-flex:
7663 @if flex
7664 maybe-install-flex: install-flex
7665
7666 install-flex: installdirs
7667         @r=`${PWD_COMMAND}`; export r; \
7668         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7669         $(SET_LIB_PATH) \
7670         (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
7671
7672 @endif flex
7673
7674 # Other targets (info, dvi, etc.)
7675
7676 .PHONY: maybe-info-flex info-flex
7677 maybe-info-flex:
7678 @if flex
7679 maybe-info-flex: info-flex
7680
7681 info-flex: \
7682     configure-flex 
7683         @[ -f ./flex/Makefile ] || exit 0; \
7684         r=`${PWD_COMMAND}`; export r; \
7685         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7686         $(SET_LIB_PATH) \
7687         for flag in $(EXTRA_HOST_FLAGS); do \
7688           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689         done; \
7690         echo "Doing info in flex" ; \
7691         (cd flex && \
7692           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694                   "RANLIB=$${RANLIB}" \
7695                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7696                   info) \
7697           || exit 1
7698
7699 @endif flex
7700
7701 .PHONY: maybe-dvi-flex dvi-flex
7702 maybe-dvi-flex:
7703 @if flex
7704 maybe-dvi-flex: dvi-flex
7705
7706 dvi-flex: \
7707     configure-flex 
7708         @[ -f ./flex/Makefile ] || exit 0; \
7709         r=`${PWD_COMMAND}`; export r; \
7710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7711         $(SET_LIB_PATH) \
7712         for flag in $(EXTRA_HOST_FLAGS); do \
7713           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7714         done; \
7715         echo "Doing dvi in flex" ; \
7716         (cd flex && \
7717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7719                   "RANLIB=$${RANLIB}" \
7720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7721                   dvi) \
7722           || exit 1
7723
7724 @endif flex
7725
7726 .PHONY: maybe-TAGS-flex TAGS-flex
7727 maybe-TAGS-flex:
7728 @if flex
7729 maybe-TAGS-flex: TAGS-flex
7730
7731 TAGS-flex: \
7732     configure-flex 
7733         @[ -f ./flex/Makefile ] || exit 0; \
7734         r=`${PWD_COMMAND}`; export r; \
7735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736         $(SET_LIB_PATH) \
7737         for flag in $(EXTRA_HOST_FLAGS); do \
7738           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7739         done; \
7740         echo "Doing TAGS in flex" ; \
7741         (cd flex && \
7742           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7743                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7744                   "RANLIB=$${RANLIB}" \
7745                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7746                   TAGS) \
7747           || exit 1
7748
7749 @endif flex
7750
7751 .PHONY: maybe-install-info-flex install-info-flex
7752 maybe-install-info-flex:
7753 @if flex
7754 maybe-install-info-flex: install-info-flex
7755
7756 install-info-flex: \
7757     configure-flex \
7758     info-flex 
7759         @[ -f ./flex/Makefile ] || exit 0; \
7760         r=`${PWD_COMMAND}`; export r; \
7761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7762         $(SET_LIB_PATH) \
7763         for flag in $(EXTRA_HOST_FLAGS); do \
7764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7765         done; \
7766         echo "Doing install-info in flex" ; \
7767         (cd flex && \
7768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7770                   "RANLIB=$${RANLIB}" \
7771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7772                   install-info) \
7773           || exit 1
7774
7775 @endif flex
7776
7777 .PHONY: maybe-installcheck-flex installcheck-flex
7778 maybe-installcheck-flex:
7779 @if flex
7780 maybe-installcheck-flex: installcheck-flex
7781
7782 installcheck-flex: \
7783     configure-flex 
7784         @[ -f ./flex/Makefile ] || exit 0; \
7785         r=`${PWD_COMMAND}`; export r; \
7786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787         $(SET_LIB_PATH) \
7788         for flag in $(EXTRA_HOST_FLAGS); do \
7789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7790         done; \
7791         echo "Doing installcheck in flex" ; \
7792         (cd flex && \
7793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7795                   "RANLIB=$${RANLIB}" \
7796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7797                   installcheck) \
7798           || exit 1
7799
7800 @endif flex
7801
7802 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
7803 maybe-mostlyclean-flex:
7804 @if flex
7805 maybe-mostlyclean-flex: mostlyclean-flex
7806
7807 mostlyclean-flex: 
7808         @[ -f ./flex/Makefile ] || exit 0; \
7809         r=`${PWD_COMMAND}`; export r; \
7810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7811         $(SET_LIB_PATH) \
7812         for flag in $(EXTRA_HOST_FLAGS); do \
7813           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7814         done; \
7815         echo "Doing mostlyclean in flex" ; \
7816         (cd flex && \
7817           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7818                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7819                   "RANLIB=$${RANLIB}" \
7820                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7821                   mostlyclean) \
7822           || exit 1
7823
7824 @endif flex
7825
7826 .PHONY: maybe-clean-flex clean-flex
7827 maybe-clean-flex:
7828 @if flex
7829 maybe-clean-flex: clean-flex
7830
7831 clean-flex: 
7832         @[ -f ./flex/Makefile ] || exit 0; \
7833         r=`${PWD_COMMAND}`; export r; \
7834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7835         $(SET_LIB_PATH) \
7836         for flag in $(EXTRA_HOST_FLAGS); do \
7837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7838         done; \
7839         echo "Doing clean in flex" ; \
7840         (cd flex && \
7841           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7842                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7843                   "RANLIB=$${RANLIB}" \
7844                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7845                   clean) \
7846           || exit 1
7847
7848 @endif flex
7849
7850 .PHONY: maybe-distclean-flex distclean-flex
7851 maybe-distclean-flex:
7852 @if flex
7853 maybe-distclean-flex: distclean-flex
7854
7855 distclean-flex: 
7856         @[ -f ./flex/Makefile ] || exit 0; \
7857         r=`${PWD_COMMAND}`; export r; \
7858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7859         $(SET_LIB_PATH) \
7860         for flag in $(EXTRA_HOST_FLAGS); do \
7861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7862         done; \
7863         echo "Doing distclean in flex" ; \
7864         (cd flex && \
7865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7867                   "RANLIB=$${RANLIB}" \
7868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7869                   distclean) \
7870           || exit 1
7871
7872 @endif flex
7873
7874 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7875 maybe-maintainer-clean-flex:
7876 @if flex
7877 maybe-maintainer-clean-flex: maintainer-clean-flex
7878
7879 maintainer-clean-flex: 
7880         @[ -f ./flex/Makefile ] || exit 0; \
7881         r=`${PWD_COMMAND}`; export r; \
7882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883         $(SET_LIB_PATH) \
7884         for flag in $(EXTRA_HOST_FLAGS); do \
7885           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7886         done; \
7887         echo "Doing maintainer-clean in flex" ; \
7888         (cd flex && \
7889           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7890                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7891                   "RANLIB=$${RANLIB}" \
7892                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7893                   maintainer-clean) \
7894           || exit 1
7895
7896 @endif flex
7897
7898
7899 .PHONY: configure-gas maybe-configure-gas
7900 maybe-configure-gas:
7901 @if gas
7902 maybe-configure-gas: configure-gas
7903 configure-gas:
7904         @test ! -f gas/Makefile || exit 0; \
7905         [ -d gas ] || mkdir gas; \
7906         r=`${PWD_COMMAND}`; export r; \
7907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908         CC="$(CC)"; export CC; \
7909         CFLAGS="$(CFLAGS)"; export CFLAGS; \
7910         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7911         CXX="$(CXX)"; export CXX; \
7912         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7913         AR="$(AR)"; export AR; \
7914         AS="$(AS)"; export AS; \
7915         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7916         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7917         LD="$(LD)"; export LD; \
7918         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7919         NM="$(NM)"; export NM; \
7920         RANLIB="$(RANLIB)"; export RANLIB; \
7921         WINDRES="$(WINDRES)"; export WINDRES; \
7922         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7923         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7924         echo Configuring in gas; \
7925         cd gas || exit 1; \
7926         case $(srcdir) in \
7927           \.) \
7928             srcdiroption="--srcdir=."; \
7929             libsrcdir=".";; \
7930           /* | [A-Za-z]:[\\/]*) \
7931             srcdiroption="--srcdir=$(srcdir)/gas"; \
7932             libsrcdir="$$s/gas";; \
7933           *) \
7934             srcdiroption="--srcdir=../$(srcdir)/gas"; \
7935             libsrcdir="$$s/gas";; \
7936         esac; \
7937         $(SHELL) $${libsrcdir}/configure \
7938           $(HOST_CONFIGARGS) $${srcdiroption} \
7939           || exit 1
7940 @endif gas
7941
7942 .PHONY: all-gas maybe-all-gas
7943 maybe-all-gas:
7944 @if gas
7945 maybe-all-gas: all-gas
7946 all-gas: configure-gas
7947         @r=`${PWD_COMMAND}`; export r; \
7948         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7949         $(SET_LIB_PATH) \
7950         (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7951 @endif gas
7952
7953 .PHONY: check-gas maybe-check-gas
7954 maybe-check-gas:
7955 @if gas
7956 maybe-check-gas: check-gas
7957
7958 check-gas:
7959         @r=`${PWD_COMMAND}`; export r; \
7960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961         $(SET_LIB_PATH) \
7962         (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7963
7964 @endif gas
7965
7966 .PHONY: install-gas maybe-install-gas
7967 maybe-install-gas:
7968 @if gas
7969 maybe-install-gas: install-gas
7970
7971 install-gas: installdirs
7972         @r=`${PWD_COMMAND}`; export r; \
7973         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7974         $(SET_LIB_PATH) \
7975         (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7976
7977 @endif gas
7978
7979 # Other targets (info, dvi, etc.)
7980
7981 .PHONY: maybe-info-gas info-gas
7982 maybe-info-gas:
7983 @if gas
7984 maybe-info-gas: info-gas
7985
7986 info-gas: \
7987     configure-gas 
7988         @[ -f ./gas/Makefile ] || exit 0; \
7989         r=`${PWD_COMMAND}`; export r; \
7990         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7991         $(SET_LIB_PATH) \
7992         for flag in $(EXTRA_HOST_FLAGS); do \
7993           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7994         done; \
7995         echo "Doing info in gas" ; \
7996         (cd gas && \
7997           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7998                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7999                   "RANLIB=$${RANLIB}" \
8000                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8001                   info) \
8002           || exit 1
8003
8004 @endif gas
8005
8006 .PHONY: maybe-dvi-gas dvi-gas
8007 maybe-dvi-gas:
8008 @if gas
8009 maybe-dvi-gas: dvi-gas
8010
8011 dvi-gas: \
8012     configure-gas 
8013         @[ -f ./gas/Makefile ] || exit 0; \
8014         r=`${PWD_COMMAND}`; export r; \
8015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8016         $(SET_LIB_PATH) \
8017         for flag in $(EXTRA_HOST_FLAGS); do \
8018           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8019         done; \
8020         echo "Doing dvi in gas" ; \
8021         (cd gas && \
8022           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8023                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8024                   "RANLIB=$${RANLIB}" \
8025                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8026                   dvi) \
8027           || exit 1
8028
8029 @endif gas
8030
8031 .PHONY: maybe-TAGS-gas TAGS-gas
8032 maybe-TAGS-gas:
8033 @if gas
8034 maybe-TAGS-gas: TAGS-gas
8035
8036 TAGS-gas: \
8037     configure-gas 
8038         @[ -f ./gas/Makefile ] || exit 0; \
8039         r=`${PWD_COMMAND}`; export r; \
8040         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041         $(SET_LIB_PATH) \
8042         for flag in $(EXTRA_HOST_FLAGS); do \
8043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044         done; \
8045         echo "Doing TAGS in gas" ; \
8046         (cd gas && \
8047           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049                   "RANLIB=$${RANLIB}" \
8050                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8051                   TAGS) \
8052           || exit 1
8053
8054 @endif gas
8055
8056 .PHONY: maybe-install-info-gas install-info-gas
8057 maybe-install-info-gas:
8058 @if gas
8059 maybe-install-info-gas: install-info-gas
8060
8061 install-info-gas: \
8062     configure-gas \
8063     info-gas 
8064         @[ -f ./gas/Makefile ] || exit 0; \
8065         r=`${PWD_COMMAND}`; export r; \
8066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067         $(SET_LIB_PATH) \
8068         for flag in $(EXTRA_HOST_FLAGS); do \
8069           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8070         done; \
8071         echo "Doing install-info in gas" ; \
8072         (cd gas && \
8073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8075                   "RANLIB=$${RANLIB}" \
8076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8077                   install-info) \
8078           || exit 1
8079
8080 @endif gas
8081
8082 .PHONY: maybe-installcheck-gas installcheck-gas
8083 maybe-installcheck-gas:
8084 @if gas
8085 maybe-installcheck-gas: installcheck-gas
8086
8087 installcheck-gas: \
8088     configure-gas 
8089         @[ -f ./gas/Makefile ] || exit 0; \
8090         r=`${PWD_COMMAND}`; export r; \
8091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8092         $(SET_LIB_PATH) \
8093         for flag in $(EXTRA_HOST_FLAGS); do \
8094           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8095         done; \
8096         echo "Doing installcheck in gas" ; \
8097         (cd gas && \
8098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8100                   "RANLIB=$${RANLIB}" \
8101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8102                   installcheck) \
8103           || exit 1
8104
8105 @endif gas
8106
8107 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8108 maybe-mostlyclean-gas:
8109 @if gas
8110 maybe-mostlyclean-gas: mostlyclean-gas
8111
8112 mostlyclean-gas: 
8113         @[ -f ./gas/Makefile ] || exit 0; \
8114         r=`${PWD_COMMAND}`; export r; \
8115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8116         $(SET_LIB_PATH) \
8117         for flag in $(EXTRA_HOST_FLAGS); do \
8118           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8119         done; \
8120         echo "Doing mostlyclean in gas" ; \
8121         (cd gas && \
8122           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8123                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8124                   "RANLIB=$${RANLIB}" \
8125                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8126                   mostlyclean) \
8127           || exit 1
8128
8129 @endif gas
8130
8131 .PHONY: maybe-clean-gas clean-gas
8132 maybe-clean-gas:
8133 @if gas
8134 maybe-clean-gas: clean-gas
8135
8136 clean-gas: 
8137         @[ -f ./gas/Makefile ] || exit 0; \
8138         r=`${PWD_COMMAND}`; export r; \
8139         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8140         $(SET_LIB_PATH) \
8141         for flag in $(EXTRA_HOST_FLAGS); do \
8142           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8143         done; \
8144         echo "Doing clean in gas" ; \
8145         (cd gas && \
8146           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8147                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8148                   "RANLIB=$${RANLIB}" \
8149                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8150                   clean) \
8151           || exit 1
8152
8153 @endif gas
8154
8155 .PHONY: maybe-distclean-gas distclean-gas
8156 maybe-distclean-gas:
8157 @if gas
8158 maybe-distclean-gas: distclean-gas
8159
8160 distclean-gas: 
8161         @[ -f ./gas/Makefile ] || exit 0; \
8162         r=`${PWD_COMMAND}`; export r; \
8163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8164         $(SET_LIB_PATH) \
8165         for flag in $(EXTRA_HOST_FLAGS); do \
8166           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8167         done; \
8168         echo "Doing distclean in gas" ; \
8169         (cd gas && \
8170           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8171                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8172                   "RANLIB=$${RANLIB}" \
8173                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8174                   distclean) \
8175           || exit 1
8176
8177 @endif gas
8178
8179 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8180 maybe-maintainer-clean-gas:
8181 @if gas
8182 maybe-maintainer-clean-gas: maintainer-clean-gas
8183
8184 maintainer-clean-gas: 
8185         @[ -f ./gas/Makefile ] || exit 0; \
8186         r=`${PWD_COMMAND}`; export r; \
8187         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8188         $(SET_LIB_PATH) \
8189         for flag in $(EXTRA_HOST_FLAGS); do \
8190           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8191         done; \
8192         echo "Doing maintainer-clean in gas" ; \
8193         (cd gas && \
8194           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8195                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8196                   "RANLIB=$${RANLIB}" \
8197                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8198                   maintainer-clean) \
8199           || exit 1
8200
8201 @endif gas
8202
8203
8204 .PHONY: configure-gawk maybe-configure-gawk
8205 maybe-configure-gawk:
8206 @if gawk
8207 maybe-configure-gawk: configure-gawk
8208 configure-gawk:
8209         @test ! -f gawk/Makefile || exit 0; \
8210         [ -d gawk ] || mkdir gawk; \
8211         r=`${PWD_COMMAND}`; export r; \
8212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8213         CC="$(CC)"; export CC; \
8214         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8215         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8216         CXX="$(CXX)"; export CXX; \
8217         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8218         AR="$(AR)"; export AR; \
8219         AS="$(AS)"; export AS; \
8220         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8221         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8222         LD="$(LD)"; export LD; \
8223         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8224         NM="$(NM)"; export NM; \
8225         RANLIB="$(RANLIB)"; export RANLIB; \
8226         WINDRES="$(WINDRES)"; export WINDRES; \
8227         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8228         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8229         echo Configuring in gawk; \
8230         cd gawk || exit 1; \
8231         case $(srcdir) in \
8232           \.) \
8233             srcdiroption="--srcdir=."; \
8234             libsrcdir=".";; \
8235           /* | [A-Za-z]:[\\/]*) \
8236             srcdiroption="--srcdir=$(srcdir)/gawk"; \
8237             libsrcdir="$$s/gawk";; \
8238           *) \
8239             srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8240             libsrcdir="$$s/gawk";; \
8241         esac; \
8242         $(SHELL) $${libsrcdir}/configure \
8243           $(HOST_CONFIGARGS) $${srcdiroption} \
8244           || exit 1
8245 @endif gawk
8246
8247 .PHONY: all-gawk maybe-all-gawk
8248 maybe-all-gawk:
8249 @if gawk
8250 maybe-all-gawk: all-gawk
8251 all-gawk: configure-gawk
8252         @r=`${PWD_COMMAND}`; export r; \
8253         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254         $(SET_LIB_PATH) \
8255         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8256 @endif gawk
8257
8258 .PHONY: check-gawk maybe-check-gawk
8259 maybe-check-gawk:
8260 @if gawk
8261 maybe-check-gawk: check-gawk
8262
8263 check-gawk:
8264         @r=`${PWD_COMMAND}`; export r; \
8265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8266         $(SET_LIB_PATH) \
8267         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8268
8269 @endif gawk
8270
8271 .PHONY: install-gawk maybe-install-gawk
8272 maybe-install-gawk:
8273 @if gawk
8274 maybe-install-gawk: install-gawk
8275
8276 install-gawk: installdirs
8277         @r=`${PWD_COMMAND}`; export r; \
8278         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8279         $(SET_LIB_PATH) \
8280         (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8281
8282 @endif gawk
8283
8284 # Other targets (info, dvi, etc.)
8285
8286 .PHONY: maybe-info-gawk info-gawk
8287 maybe-info-gawk:
8288 @if gawk
8289 maybe-info-gawk: info-gawk
8290
8291 info-gawk: \
8292     configure-gawk 
8293         @[ -f ./gawk/Makefile ] || exit 0; \
8294         r=`${PWD_COMMAND}`; export r; \
8295         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296         $(SET_LIB_PATH) \
8297         for flag in $(EXTRA_HOST_FLAGS); do \
8298           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8299         done; \
8300         echo "Doing info in gawk" ; \
8301         (cd gawk && \
8302           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8303                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8304                   "RANLIB=$${RANLIB}" \
8305                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8306                   info) \
8307           || exit 1
8308
8309 @endif gawk
8310
8311 .PHONY: maybe-dvi-gawk dvi-gawk
8312 maybe-dvi-gawk:
8313 @if gawk
8314 maybe-dvi-gawk: dvi-gawk
8315
8316 dvi-gawk: \
8317     configure-gawk 
8318         @[ -f ./gawk/Makefile ] || exit 0; \
8319         r=`${PWD_COMMAND}`; export r; \
8320         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8321         $(SET_LIB_PATH) \
8322         for flag in $(EXTRA_HOST_FLAGS); do \
8323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8324         done; \
8325         echo "Doing dvi in gawk" ; \
8326         (cd gawk && \
8327           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8328                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8329                   "RANLIB=$${RANLIB}" \
8330                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8331                   dvi) \
8332           || exit 1
8333
8334 @endif gawk
8335
8336 .PHONY: maybe-TAGS-gawk TAGS-gawk
8337 maybe-TAGS-gawk:
8338 @if gawk
8339 maybe-TAGS-gawk: TAGS-gawk
8340
8341 TAGS-gawk: \
8342     configure-gawk 
8343         @[ -f ./gawk/Makefile ] || exit 0; \
8344         r=`${PWD_COMMAND}`; export r; \
8345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8346         $(SET_LIB_PATH) \
8347         for flag in $(EXTRA_HOST_FLAGS); do \
8348           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8349         done; \
8350         echo "Doing TAGS in gawk" ; \
8351         (cd gawk && \
8352           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8353                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8354                   "RANLIB=$${RANLIB}" \
8355                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8356                   TAGS) \
8357           || exit 1
8358
8359 @endif gawk
8360
8361 .PHONY: maybe-install-info-gawk install-info-gawk
8362 maybe-install-info-gawk:
8363 @if gawk
8364 maybe-install-info-gawk: install-info-gawk
8365
8366 install-info-gawk: \
8367     configure-gawk \
8368     info-gawk 
8369         @[ -f ./gawk/Makefile ] || exit 0; \
8370         r=`${PWD_COMMAND}`; export r; \
8371         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8372         $(SET_LIB_PATH) \
8373         for flag in $(EXTRA_HOST_FLAGS); do \
8374           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8375         done; \
8376         echo "Doing install-info in gawk" ; \
8377         (cd gawk && \
8378           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8379                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8380                   "RANLIB=$${RANLIB}" \
8381                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8382                   install-info) \
8383           || exit 1
8384
8385 @endif gawk
8386
8387 .PHONY: maybe-installcheck-gawk installcheck-gawk
8388 maybe-installcheck-gawk:
8389 @if gawk
8390 maybe-installcheck-gawk: installcheck-gawk
8391
8392 installcheck-gawk: \
8393     configure-gawk 
8394         @[ -f ./gawk/Makefile ] || exit 0; \
8395         r=`${PWD_COMMAND}`; export r; \
8396         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8397         $(SET_LIB_PATH) \
8398         for flag in $(EXTRA_HOST_FLAGS); do \
8399           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8400         done; \
8401         echo "Doing installcheck in gawk" ; \
8402         (cd gawk && \
8403           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8404                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8405                   "RANLIB=$${RANLIB}" \
8406                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8407                   installcheck) \
8408           || exit 1
8409
8410 @endif gawk
8411
8412 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
8413 maybe-mostlyclean-gawk:
8414 @if gawk
8415 maybe-mostlyclean-gawk: mostlyclean-gawk
8416
8417 mostlyclean-gawk: 
8418         @[ -f ./gawk/Makefile ] || exit 0; \
8419         r=`${PWD_COMMAND}`; export r; \
8420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8421         $(SET_LIB_PATH) \
8422         for flag in $(EXTRA_HOST_FLAGS); do \
8423           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8424         done; \
8425         echo "Doing mostlyclean in gawk" ; \
8426         (cd gawk && \
8427           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8428                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8429                   "RANLIB=$${RANLIB}" \
8430                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8431                   mostlyclean) \
8432           || exit 1
8433
8434 @endif gawk
8435
8436 .PHONY: maybe-clean-gawk clean-gawk
8437 maybe-clean-gawk:
8438 @if gawk
8439 maybe-clean-gawk: clean-gawk
8440
8441 clean-gawk: 
8442         @[ -f ./gawk/Makefile ] || exit 0; \
8443         r=`${PWD_COMMAND}`; export r; \
8444         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8445         $(SET_LIB_PATH) \
8446         for flag in $(EXTRA_HOST_FLAGS); do \
8447           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8448         done; \
8449         echo "Doing clean in gawk" ; \
8450         (cd gawk && \
8451           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8452                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8453                   "RANLIB=$${RANLIB}" \
8454                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8455                   clean) \
8456           || exit 1
8457
8458 @endif gawk
8459
8460 .PHONY: maybe-distclean-gawk distclean-gawk
8461 maybe-distclean-gawk:
8462 @if gawk
8463 maybe-distclean-gawk: distclean-gawk
8464
8465 distclean-gawk: 
8466         @[ -f ./gawk/Makefile ] || exit 0; \
8467         r=`${PWD_COMMAND}`; export r; \
8468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469         $(SET_LIB_PATH) \
8470         for flag in $(EXTRA_HOST_FLAGS); do \
8471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8472         done; \
8473         echo "Doing distclean in gawk" ; \
8474         (cd gawk && \
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                   distclean) \
8480           || exit 1
8481
8482 @endif gawk
8483
8484 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
8485 maybe-maintainer-clean-gawk:
8486 @if gawk
8487 maybe-maintainer-clean-gawk: maintainer-clean-gawk
8488
8489 maintainer-clean-gawk: 
8490         @[ -f ./gawk/Makefile ] || exit 0; \
8491         r=`${PWD_COMMAND}`; export r; \
8492         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8493         $(SET_LIB_PATH) \
8494         for flag in $(EXTRA_HOST_FLAGS); do \
8495           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8496         done; \
8497         echo "Doing maintainer-clean in gawk" ; \
8498         (cd gawk && \
8499           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8500                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8501                   "RANLIB=$${RANLIB}" \
8502                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8503                   maintainer-clean) \
8504           || exit 1
8505
8506 @endif gawk
8507
8508
8509 .PHONY: configure-gettext maybe-configure-gettext
8510 maybe-configure-gettext:
8511 @if gettext
8512 maybe-configure-gettext: configure-gettext
8513 configure-gettext:
8514         @test ! -f gettext/Makefile || exit 0; \
8515         [ -d gettext ] || mkdir gettext; \
8516         r=`${PWD_COMMAND}`; export r; \
8517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518         CC="$(CC)"; export CC; \
8519         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8520         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8521         CXX="$(CXX)"; export CXX; \
8522         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8523         AR="$(AR)"; export AR; \
8524         AS="$(AS)"; export AS; \
8525         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8526         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8527         LD="$(LD)"; export LD; \
8528         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8529         NM="$(NM)"; export NM; \
8530         RANLIB="$(RANLIB)"; export RANLIB; \
8531         WINDRES="$(WINDRES)"; export WINDRES; \
8532         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8533         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8534         echo Configuring in gettext; \
8535         cd gettext || exit 1; \
8536         case $(srcdir) in \
8537           \.) \
8538             srcdiroption="--srcdir=."; \
8539             libsrcdir=".";; \
8540           /* | [A-Za-z]:[\\/]*) \
8541             srcdiroption="--srcdir=$(srcdir)/gettext"; \
8542             libsrcdir="$$s/gettext";; \
8543           *) \
8544             srcdiroption="--srcdir=../$(srcdir)/gettext"; \
8545             libsrcdir="$$s/gettext";; \
8546         esac; \
8547         $(SHELL) $${libsrcdir}/configure \
8548           $(HOST_CONFIGARGS) $${srcdiroption} \
8549           || exit 1
8550 @endif gettext
8551
8552 .PHONY: all-gettext maybe-all-gettext
8553 maybe-all-gettext:
8554 @if gettext
8555 maybe-all-gettext: all-gettext
8556 all-gettext: configure-gettext
8557         @r=`${PWD_COMMAND}`; export r; \
8558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8559         $(SET_LIB_PATH) \
8560         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
8561 @endif gettext
8562
8563 .PHONY: check-gettext maybe-check-gettext
8564 maybe-check-gettext:
8565 @if gettext
8566 maybe-check-gettext: check-gettext
8567
8568 check-gettext:
8569         @r=`${PWD_COMMAND}`; export r; \
8570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8571         $(SET_LIB_PATH) \
8572         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
8573
8574 @endif gettext
8575
8576 .PHONY: install-gettext maybe-install-gettext
8577 maybe-install-gettext:
8578 @if gettext
8579 maybe-install-gettext: install-gettext
8580
8581 install-gettext: installdirs
8582         @r=`${PWD_COMMAND}`; export r; \
8583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8584         $(SET_LIB_PATH) \
8585         (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
8586
8587 @endif gettext
8588
8589 # Other targets (info, dvi, etc.)
8590
8591 .PHONY: maybe-info-gettext info-gettext
8592 maybe-info-gettext:
8593 @if gettext
8594 maybe-info-gettext: info-gettext
8595
8596 info-gettext: \
8597     configure-gettext 
8598         @[ -f ./gettext/Makefile ] || exit 0; \
8599         r=`${PWD_COMMAND}`; export r; \
8600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8601         $(SET_LIB_PATH) \
8602         for flag in $(EXTRA_HOST_FLAGS); do \
8603           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604         done; \
8605         echo "Doing info in gettext" ; \
8606         (cd gettext && \
8607           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609                   "RANLIB=$${RANLIB}" \
8610                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8611                   info) \
8612           || exit 1
8613
8614 @endif gettext
8615
8616 .PHONY: maybe-dvi-gettext dvi-gettext
8617 maybe-dvi-gettext:
8618 @if gettext
8619 maybe-dvi-gettext: dvi-gettext
8620
8621 dvi-gettext: \
8622     configure-gettext 
8623         @[ -f ./gettext/Makefile ] || exit 0; \
8624         r=`${PWD_COMMAND}`; export r; \
8625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626         $(SET_LIB_PATH) \
8627         for flag in $(EXTRA_HOST_FLAGS); do \
8628           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8629         done; \
8630         echo "Doing dvi in gettext" ; \
8631         (cd gettext && \
8632           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8633                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8634                   "RANLIB=$${RANLIB}" \
8635                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8636                   dvi) \
8637           || exit 1
8638
8639 @endif gettext
8640
8641 .PHONY: maybe-TAGS-gettext TAGS-gettext
8642 maybe-TAGS-gettext:
8643 @if gettext
8644 maybe-TAGS-gettext: TAGS-gettext
8645
8646 TAGS-gettext: \
8647     configure-gettext 
8648         @[ -f ./gettext/Makefile ] || exit 0; \
8649         r=`${PWD_COMMAND}`; export r; \
8650         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8651         $(SET_LIB_PATH) \
8652         for flag in $(EXTRA_HOST_FLAGS); do \
8653           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8654         done; \
8655         echo "Doing TAGS in gettext" ; \
8656         (cd gettext && \
8657           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8658                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8659                   "RANLIB=$${RANLIB}" \
8660                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8661                   TAGS) \
8662           || exit 1
8663
8664 @endif gettext
8665
8666 .PHONY: maybe-install-info-gettext install-info-gettext
8667 maybe-install-info-gettext:
8668 @if gettext
8669 maybe-install-info-gettext: install-info-gettext
8670
8671 install-info-gettext: \
8672     configure-gettext \
8673     info-gettext 
8674         @[ -f ./gettext/Makefile ] || exit 0; \
8675         r=`${PWD_COMMAND}`; export r; \
8676         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8677         $(SET_LIB_PATH) \
8678         for flag in $(EXTRA_HOST_FLAGS); do \
8679           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8680         done; \
8681         echo "Doing install-info in gettext" ; \
8682         (cd gettext && \
8683           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8684                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8685                   "RANLIB=$${RANLIB}" \
8686                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8687                   install-info) \
8688           || exit 1
8689
8690 @endif gettext
8691
8692 .PHONY: maybe-installcheck-gettext installcheck-gettext
8693 maybe-installcheck-gettext:
8694 @if gettext
8695 maybe-installcheck-gettext: installcheck-gettext
8696
8697 installcheck-gettext: \
8698     configure-gettext 
8699         @[ -f ./gettext/Makefile ] || exit 0; \
8700         r=`${PWD_COMMAND}`; export r; \
8701         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8702         $(SET_LIB_PATH) \
8703         for flag in $(EXTRA_HOST_FLAGS); do \
8704           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8705         done; \
8706         echo "Doing installcheck in gettext" ; \
8707         (cd gettext && \
8708           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8709                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8710                   "RANLIB=$${RANLIB}" \
8711                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8712                   installcheck) \
8713           || exit 1
8714
8715 @endif gettext
8716
8717 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
8718 maybe-mostlyclean-gettext:
8719 @if gettext
8720 maybe-mostlyclean-gettext: mostlyclean-gettext
8721
8722 mostlyclean-gettext: 
8723         @[ -f ./gettext/Makefile ] || exit 0; \
8724         r=`${PWD_COMMAND}`; export r; \
8725         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8726         $(SET_LIB_PATH) \
8727         for flag in $(EXTRA_HOST_FLAGS); do \
8728           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8729         done; \
8730         echo "Doing mostlyclean in gettext" ; \
8731         (cd gettext && \
8732           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8733                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8734                   "RANLIB=$${RANLIB}" \
8735                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8736                   mostlyclean) \
8737           || exit 1
8738
8739 @endif gettext
8740
8741 .PHONY: maybe-clean-gettext clean-gettext
8742 maybe-clean-gettext:
8743 @if gettext
8744 maybe-clean-gettext: clean-gettext
8745
8746 clean-gettext: 
8747         @[ -f ./gettext/Makefile ] || exit 0; \
8748         r=`${PWD_COMMAND}`; export r; \
8749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8750         $(SET_LIB_PATH) \
8751         for flag in $(EXTRA_HOST_FLAGS); do \
8752           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8753         done; \
8754         echo "Doing clean in gettext" ; \
8755         (cd gettext && \
8756           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8757                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8758                   "RANLIB=$${RANLIB}" \
8759                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8760                   clean) \
8761           || exit 1
8762
8763 @endif gettext
8764
8765 .PHONY: maybe-distclean-gettext distclean-gettext
8766 maybe-distclean-gettext:
8767 @if gettext
8768 maybe-distclean-gettext: distclean-gettext
8769
8770 distclean-gettext: 
8771         @[ -f ./gettext/Makefile ] || exit 0; \
8772         r=`${PWD_COMMAND}`; export r; \
8773         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8774         $(SET_LIB_PATH) \
8775         for flag in $(EXTRA_HOST_FLAGS); do \
8776           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8777         done; \
8778         echo "Doing distclean in gettext" ; \
8779         (cd gettext && \
8780           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8781                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8782                   "RANLIB=$${RANLIB}" \
8783                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8784                   distclean) \
8785           || exit 1
8786
8787 @endif gettext
8788
8789 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
8790 maybe-maintainer-clean-gettext:
8791 @if gettext
8792 maybe-maintainer-clean-gettext: maintainer-clean-gettext
8793
8794 maintainer-clean-gettext: 
8795         @[ -f ./gettext/Makefile ] || exit 0; \
8796         r=`${PWD_COMMAND}`; export r; \
8797         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8798         $(SET_LIB_PATH) \
8799         for flag in $(EXTRA_HOST_FLAGS); do \
8800           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8801         done; \
8802         echo "Doing maintainer-clean in gettext" ; \
8803         (cd gettext && \
8804           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8805                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8806                   "RANLIB=$${RANLIB}" \
8807                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8808                   maintainer-clean) \
8809           || exit 1
8810
8811 @endif gettext
8812
8813
8814 .PHONY: configure-gnuserv maybe-configure-gnuserv
8815 maybe-configure-gnuserv:
8816 @if gnuserv
8817 maybe-configure-gnuserv: configure-gnuserv
8818 configure-gnuserv:
8819         @test ! -f gnuserv/Makefile || exit 0; \
8820         [ -d gnuserv ] || mkdir gnuserv; \
8821         r=`${PWD_COMMAND}`; export r; \
8822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8823         CC="$(CC)"; export CC; \
8824         CFLAGS="$(CFLAGS)"; export CFLAGS; \
8825         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8826         CXX="$(CXX)"; export CXX; \
8827         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8828         AR="$(AR)"; export AR; \
8829         AS="$(AS)"; export AS; \
8830         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8831         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8832         LD="$(LD)"; export LD; \
8833         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8834         NM="$(NM)"; export NM; \
8835         RANLIB="$(RANLIB)"; export RANLIB; \
8836         WINDRES="$(WINDRES)"; export WINDRES; \
8837         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8838         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8839         echo Configuring in gnuserv; \
8840         cd gnuserv || exit 1; \
8841         case $(srcdir) in \
8842           \.) \
8843             srcdiroption="--srcdir=."; \
8844             libsrcdir=".";; \
8845           /* | [A-Za-z]:[\\/]*) \
8846             srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
8847             libsrcdir="$$s/gnuserv";; \
8848           *) \
8849             srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
8850             libsrcdir="$$s/gnuserv";; \
8851         esac; \
8852         $(SHELL) $${libsrcdir}/configure \
8853           $(HOST_CONFIGARGS) $${srcdiroption} \
8854           || exit 1
8855 @endif gnuserv
8856
8857 .PHONY: all-gnuserv maybe-all-gnuserv
8858 maybe-all-gnuserv:
8859 @if gnuserv
8860 maybe-all-gnuserv: all-gnuserv
8861 all-gnuserv: configure-gnuserv
8862         @r=`${PWD_COMMAND}`; export r; \
8863         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8864         $(SET_LIB_PATH) \
8865         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
8866 @endif gnuserv
8867
8868 .PHONY: check-gnuserv maybe-check-gnuserv
8869 maybe-check-gnuserv:
8870 @if gnuserv
8871 maybe-check-gnuserv: check-gnuserv
8872
8873 check-gnuserv:
8874         @r=`${PWD_COMMAND}`; export r; \
8875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876         $(SET_LIB_PATH) \
8877         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
8878
8879 @endif gnuserv
8880
8881 .PHONY: install-gnuserv maybe-install-gnuserv
8882 maybe-install-gnuserv:
8883 @if gnuserv
8884 maybe-install-gnuserv: install-gnuserv
8885
8886 install-gnuserv: installdirs
8887         @r=`${PWD_COMMAND}`; export r; \
8888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889         $(SET_LIB_PATH) \
8890         (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
8891
8892 @endif gnuserv
8893
8894 # Other targets (info, dvi, etc.)
8895
8896 .PHONY: maybe-info-gnuserv info-gnuserv
8897 maybe-info-gnuserv:
8898 @if gnuserv
8899 maybe-info-gnuserv: info-gnuserv
8900
8901 info-gnuserv: \
8902     configure-gnuserv 
8903         @[ -f ./gnuserv/Makefile ] || exit 0; \
8904         r=`${PWD_COMMAND}`; export r; \
8905         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8906         $(SET_LIB_PATH) \
8907         for flag in $(EXTRA_HOST_FLAGS); do \
8908           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8909         done; \
8910         echo "Doing info in gnuserv" ; \
8911         (cd gnuserv && \
8912           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8913                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8914                   "RANLIB=$${RANLIB}" \
8915                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8916                   info) \
8917           || exit 1
8918
8919 @endif gnuserv
8920
8921 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
8922 maybe-dvi-gnuserv:
8923 @if gnuserv
8924 maybe-dvi-gnuserv: dvi-gnuserv
8925
8926 dvi-gnuserv: \
8927     configure-gnuserv 
8928         @[ -f ./gnuserv/Makefile ] || exit 0; \
8929         r=`${PWD_COMMAND}`; export r; \
8930         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8931         $(SET_LIB_PATH) \
8932         for flag in $(EXTRA_HOST_FLAGS); do \
8933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8934         done; \
8935         echo "Doing dvi in gnuserv" ; \
8936         (cd gnuserv && \
8937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8939                   "RANLIB=$${RANLIB}" \
8940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8941                   dvi) \
8942           || exit 1
8943
8944 @endif gnuserv
8945
8946 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
8947 maybe-TAGS-gnuserv:
8948 @if gnuserv
8949 maybe-TAGS-gnuserv: TAGS-gnuserv
8950
8951 TAGS-gnuserv: \
8952     configure-gnuserv 
8953         @[ -f ./gnuserv/Makefile ] || exit 0; \
8954         r=`${PWD_COMMAND}`; export r; \
8955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8956         $(SET_LIB_PATH) \
8957         for flag in $(EXTRA_HOST_FLAGS); do \
8958           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8959         done; \
8960         echo "Doing TAGS in gnuserv" ; \
8961         (cd gnuserv && \
8962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8964                   "RANLIB=$${RANLIB}" \
8965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8966                   TAGS) \
8967           || exit 1
8968
8969 @endif gnuserv
8970
8971 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
8972 maybe-install-info-gnuserv:
8973 @if gnuserv
8974 maybe-install-info-gnuserv: install-info-gnuserv
8975
8976 install-info-gnuserv: \
8977     configure-gnuserv \
8978     info-gnuserv 
8979         @[ -f ./gnuserv/Makefile ] || exit 0; \
8980         r=`${PWD_COMMAND}`; export r; \
8981         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8982         $(SET_LIB_PATH) \
8983         for flag in $(EXTRA_HOST_FLAGS); do \
8984           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8985         done; \
8986         echo "Doing install-info in gnuserv" ; \
8987         (cd gnuserv && \
8988           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8989                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8990                   "RANLIB=$${RANLIB}" \
8991                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8992                   install-info) \
8993           || exit 1
8994
8995 @endif gnuserv
8996
8997 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8998 maybe-installcheck-gnuserv:
8999 @if gnuserv
9000 maybe-installcheck-gnuserv: installcheck-gnuserv
9001
9002 installcheck-gnuserv: \
9003     configure-gnuserv 
9004         @[ -f ./gnuserv/Makefile ] || exit 0; \
9005         r=`${PWD_COMMAND}`; export r; \
9006         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9007         $(SET_LIB_PATH) \
9008         for flag in $(EXTRA_HOST_FLAGS); do \
9009           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9010         done; \
9011         echo "Doing installcheck in gnuserv" ; \
9012         (cd gnuserv && \
9013           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9014                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9015                   "RANLIB=$${RANLIB}" \
9016                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9017                   installcheck) \
9018           || exit 1
9019
9020 @endif gnuserv
9021
9022 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9023 maybe-mostlyclean-gnuserv:
9024 @if gnuserv
9025 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9026
9027 mostlyclean-gnuserv: 
9028         @[ -f ./gnuserv/Makefile ] || exit 0; \
9029         r=`${PWD_COMMAND}`; export r; \
9030         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9031         $(SET_LIB_PATH) \
9032         for flag in $(EXTRA_HOST_FLAGS); do \
9033           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9034         done; \
9035         echo "Doing mostlyclean in gnuserv" ; \
9036         (cd gnuserv && \
9037           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9038                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9039                   "RANLIB=$${RANLIB}" \
9040                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9041                   mostlyclean) \
9042           || exit 1
9043
9044 @endif gnuserv
9045
9046 .PHONY: maybe-clean-gnuserv clean-gnuserv
9047 maybe-clean-gnuserv:
9048 @if gnuserv
9049 maybe-clean-gnuserv: clean-gnuserv
9050
9051 clean-gnuserv: 
9052         @[ -f ./gnuserv/Makefile ] || exit 0; \
9053         r=`${PWD_COMMAND}`; export r; \
9054         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9055         $(SET_LIB_PATH) \
9056         for flag in $(EXTRA_HOST_FLAGS); do \
9057           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9058         done; \
9059         echo "Doing clean in gnuserv" ; \
9060         (cd gnuserv && \
9061           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9062                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9063                   "RANLIB=$${RANLIB}" \
9064                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9065                   clean) \
9066           || exit 1
9067
9068 @endif gnuserv
9069
9070 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9071 maybe-distclean-gnuserv:
9072 @if gnuserv
9073 maybe-distclean-gnuserv: distclean-gnuserv
9074
9075 distclean-gnuserv: 
9076         @[ -f ./gnuserv/Makefile ] || exit 0; \
9077         r=`${PWD_COMMAND}`; export r; \
9078         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9079         $(SET_LIB_PATH) \
9080         for flag in $(EXTRA_HOST_FLAGS); do \
9081           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9082         done; \
9083         echo "Doing distclean in gnuserv" ; \
9084         (cd gnuserv && \
9085           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9086                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9087                   "RANLIB=$${RANLIB}" \
9088                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9089                   distclean) \
9090           || exit 1
9091
9092 @endif gnuserv
9093
9094 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9095 maybe-maintainer-clean-gnuserv:
9096 @if gnuserv
9097 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9098
9099 maintainer-clean-gnuserv: 
9100         @[ -f ./gnuserv/Makefile ] || exit 0; \
9101         r=`${PWD_COMMAND}`; export r; \
9102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9103         $(SET_LIB_PATH) \
9104         for flag in $(EXTRA_HOST_FLAGS); do \
9105           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9106         done; \
9107         echo "Doing maintainer-clean in gnuserv" ; \
9108         (cd gnuserv && \
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                   maintainer-clean) \
9114           || exit 1
9115
9116 @endif gnuserv
9117
9118
9119 .PHONY: configure-gprof maybe-configure-gprof
9120 maybe-configure-gprof:
9121 @if gprof
9122 maybe-configure-gprof: configure-gprof
9123 configure-gprof:
9124         @test ! -f gprof/Makefile || exit 0; \
9125         [ -d gprof ] || mkdir gprof; \
9126         r=`${PWD_COMMAND}`; export r; \
9127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128         CC="$(CC)"; export CC; \
9129         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9130         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9131         CXX="$(CXX)"; export CXX; \
9132         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9133         AR="$(AR)"; export AR; \
9134         AS="$(AS)"; export AS; \
9135         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9136         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9137         LD="$(LD)"; export LD; \
9138         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9139         NM="$(NM)"; export NM; \
9140         RANLIB="$(RANLIB)"; export RANLIB; \
9141         WINDRES="$(WINDRES)"; export WINDRES; \
9142         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9143         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9144         echo Configuring in gprof; \
9145         cd gprof || exit 1; \
9146         case $(srcdir) in \
9147           \.) \
9148             srcdiroption="--srcdir=."; \
9149             libsrcdir=".";; \
9150           /* | [A-Za-z]:[\\/]*) \
9151             srcdiroption="--srcdir=$(srcdir)/gprof"; \
9152             libsrcdir="$$s/gprof";; \
9153           *) \
9154             srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9155             libsrcdir="$$s/gprof";; \
9156         esac; \
9157         $(SHELL) $${libsrcdir}/configure \
9158           $(HOST_CONFIGARGS) $${srcdiroption} \
9159           || exit 1
9160 @endif gprof
9161
9162 .PHONY: all-gprof maybe-all-gprof
9163 maybe-all-gprof:
9164 @if gprof
9165 maybe-all-gprof: all-gprof
9166 all-gprof: configure-gprof
9167         @r=`${PWD_COMMAND}`; export r; \
9168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169         $(SET_LIB_PATH) \
9170         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9171 @endif gprof
9172
9173 .PHONY: check-gprof maybe-check-gprof
9174 maybe-check-gprof:
9175 @if gprof
9176 maybe-check-gprof: check-gprof
9177
9178 check-gprof:
9179         @r=`${PWD_COMMAND}`; export r; \
9180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9181         $(SET_LIB_PATH) \
9182         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9183
9184 @endif gprof
9185
9186 .PHONY: install-gprof maybe-install-gprof
9187 maybe-install-gprof:
9188 @if gprof
9189 maybe-install-gprof: install-gprof
9190
9191 install-gprof: installdirs
9192         @r=`${PWD_COMMAND}`; export r; \
9193         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9194         $(SET_LIB_PATH) \
9195         (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9196
9197 @endif gprof
9198
9199 # Other targets (info, dvi, etc.)
9200
9201 .PHONY: maybe-info-gprof info-gprof
9202 maybe-info-gprof:
9203 @if gprof
9204 maybe-info-gprof: info-gprof
9205
9206 info-gprof: \
9207     configure-gprof 
9208         @[ -f ./gprof/Makefile ] || exit 0; \
9209         r=`${PWD_COMMAND}`; export r; \
9210         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9211         $(SET_LIB_PATH) \
9212         for flag in $(EXTRA_HOST_FLAGS); do \
9213           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9214         done; \
9215         echo "Doing info in gprof" ; \
9216         (cd gprof && \
9217           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9218                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9219                   "RANLIB=$${RANLIB}" \
9220                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9221                   info) \
9222           || exit 1
9223
9224 @endif gprof
9225
9226 .PHONY: maybe-dvi-gprof dvi-gprof
9227 maybe-dvi-gprof:
9228 @if gprof
9229 maybe-dvi-gprof: dvi-gprof
9230
9231 dvi-gprof: \
9232     configure-gprof 
9233         @[ -f ./gprof/Makefile ] || exit 0; \
9234         r=`${PWD_COMMAND}`; export r; \
9235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9236         $(SET_LIB_PATH) \
9237         for flag in $(EXTRA_HOST_FLAGS); do \
9238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9239         done; \
9240         echo "Doing dvi in gprof" ; \
9241         (cd gprof && \
9242           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9243                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9244                   "RANLIB=$${RANLIB}" \
9245                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9246                   dvi) \
9247           || exit 1
9248
9249 @endif gprof
9250
9251 .PHONY: maybe-TAGS-gprof TAGS-gprof
9252 maybe-TAGS-gprof:
9253 @if gprof
9254 maybe-TAGS-gprof: TAGS-gprof
9255
9256 TAGS-gprof: \
9257     configure-gprof 
9258         @[ -f ./gprof/Makefile ] || exit 0; \
9259         r=`${PWD_COMMAND}`; export r; \
9260         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9261         $(SET_LIB_PATH) \
9262         for flag in $(EXTRA_HOST_FLAGS); do \
9263           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9264         done; \
9265         echo "Doing TAGS in gprof" ; \
9266         (cd gprof && \
9267           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9268                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9269                   "RANLIB=$${RANLIB}" \
9270                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9271                   TAGS) \
9272           || exit 1
9273
9274 @endif gprof
9275
9276 .PHONY: maybe-install-info-gprof install-info-gprof
9277 maybe-install-info-gprof:
9278 @if gprof
9279 maybe-install-info-gprof: install-info-gprof
9280
9281 install-info-gprof: \
9282     configure-gprof \
9283     info-gprof 
9284         @[ -f ./gprof/Makefile ] || exit 0; \
9285         r=`${PWD_COMMAND}`; export r; \
9286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287         $(SET_LIB_PATH) \
9288         for flag in $(EXTRA_HOST_FLAGS); do \
9289           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9290         done; \
9291         echo "Doing install-info in gprof" ; \
9292         (cd gprof && \
9293           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9294                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9295                   "RANLIB=$${RANLIB}" \
9296                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9297                   install-info) \
9298           || exit 1
9299
9300 @endif gprof
9301
9302 .PHONY: maybe-installcheck-gprof installcheck-gprof
9303 maybe-installcheck-gprof:
9304 @if gprof
9305 maybe-installcheck-gprof: installcheck-gprof
9306
9307 installcheck-gprof: \
9308     configure-gprof 
9309         @[ -f ./gprof/Makefile ] || exit 0; \
9310         r=`${PWD_COMMAND}`; export r; \
9311         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9312         $(SET_LIB_PATH) \
9313         for flag in $(EXTRA_HOST_FLAGS); do \
9314           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9315         done; \
9316         echo "Doing installcheck in gprof" ; \
9317         (cd gprof && \
9318           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9319                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9320                   "RANLIB=$${RANLIB}" \
9321                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9322                   installcheck) \
9323           || exit 1
9324
9325 @endif gprof
9326
9327 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9328 maybe-mostlyclean-gprof:
9329 @if gprof
9330 maybe-mostlyclean-gprof: mostlyclean-gprof
9331
9332 mostlyclean-gprof: 
9333         @[ -f ./gprof/Makefile ] || exit 0; \
9334         r=`${PWD_COMMAND}`; export r; \
9335         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9336         $(SET_LIB_PATH) \
9337         for flag in $(EXTRA_HOST_FLAGS); do \
9338           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9339         done; \
9340         echo "Doing mostlyclean in gprof" ; \
9341         (cd gprof && \
9342           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9343                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9344                   "RANLIB=$${RANLIB}" \
9345                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9346                   mostlyclean) \
9347           || exit 1
9348
9349 @endif gprof
9350
9351 .PHONY: maybe-clean-gprof clean-gprof
9352 maybe-clean-gprof:
9353 @if gprof
9354 maybe-clean-gprof: clean-gprof
9355
9356 clean-gprof: 
9357         @[ -f ./gprof/Makefile ] || exit 0; \
9358         r=`${PWD_COMMAND}`; export r; \
9359         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9360         $(SET_LIB_PATH) \
9361         for flag in $(EXTRA_HOST_FLAGS); do \
9362           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9363         done; \
9364         echo "Doing clean in gprof" ; \
9365         (cd gprof && \
9366           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368                   "RANLIB=$${RANLIB}" \
9369                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9370                   clean) \
9371           || exit 1
9372
9373 @endif gprof
9374
9375 .PHONY: maybe-distclean-gprof distclean-gprof
9376 maybe-distclean-gprof:
9377 @if gprof
9378 maybe-distclean-gprof: distclean-gprof
9379
9380 distclean-gprof: 
9381         @[ -f ./gprof/Makefile ] || exit 0; \
9382         r=`${PWD_COMMAND}`; export r; \
9383         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9384         $(SET_LIB_PATH) \
9385         for flag in $(EXTRA_HOST_FLAGS); do \
9386           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9387         done; \
9388         echo "Doing distclean in gprof" ; \
9389         (cd gprof && \
9390           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9391                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9392                   "RANLIB=$${RANLIB}" \
9393                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9394                   distclean) \
9395           || exit 1
9396
9397 @endif gprof
9398
9399 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
9400 maybe-maintainer-clean-gprof:
9401 @if gprof
9402 maybe-maintainer-clean-gprof: maintainer-clean-gprof
9403
9404 maintainer-clean-gprof: 
9405         @[ -f ./gprof/Makefile ] || exit 0; \
9406         r=`${PWD_COMMAND}`; export r; \
9407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9408         $(SET_LIB_PATH) \
9409         for flag in $(EXTRA_HOST_FLAGS); do \
9410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9411         done; \
9412         echo "Doing maintainer-clean in gprof" ; \
9413         (cd gprof && \
9414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9416                   "RANLIB=$${RANLIB}" \
9417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9418                   maintainer-clean) \
9419           || exit 1
9420
9421 @endif gprof
9422
9423
9424 .PHONY: configure-gzip maybe-configure-gzip
9425 maybe-configure-gzip:
9426 @if gzip
9427 maybe-configure-gzip: configure-gzip
9428 configure-gzip:
9429         @test ! -f gzip/Makefile || exit 0; \
9430         [ -d gzip ] || mkdir gzip; \
9431         r=`${PWD_COMMAND}`; export r; \
9432         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9433         CC="$(CC)"; export CC; \
9434         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9435         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9436         CXX="$(CXX)"; export CXX; \
9437         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9438         AR="$(AR)"; export AR; \
9439         AS="$(AS)"; export AS; \
9440         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9441         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9442         LD="$(LD)"; export LD; \
9443         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9444         NM="$(NM)"; export NM; \
9445         RANLIB="$(RANLIB)"; export RANLIB; \
9446         WINDRES="$(WINDRES)"; export WINDRES; \
9447         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9448         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9449         echo Configuring in gzip; \
9450         cd gzip || exit 1; \
9451         case $(srcdir) in \
9452           \.) \
9453             srcdiroption="--srcdir=."; \
9454             libsrcdir=".";; \
9455           /* | [A-Za-z]:[\\/]*) \
9456             srcdiroption="--srcdir=$(srcdir)/gzip"; \
9457             libsrcdir="$$s/gzip";; \
9458           *) \
9459             srcdiroption="--srcdir=../$(srcdir)/gzip"; \
9460             libsrcdir="$$s/gzip";; \
9461         esac; \
9462         $(SHELL) $${libsrcdir}/configure \
9463           $(HOST_CONFIGARGS) $${srcdiroption} \
9464           || exit 1
9465 @endif gzip
9466
9467 .PHONY: all-gzip maybe-all-gzip
9468 maybe-all-gzip:
9469 @if gzip
9470 maybe-all-gzip: all-gzip
9471 all-gzip: configure-gzip
9472         @r=`${PWD_COMMAND}`; export r; \
9473         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474         $(SET_LIB_PATH) \
9475         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
9476 @endif gzip
9477
9478 .PHONY: check-gzip maybe-check-gzip
9479 maybe-check-gzip:
9480 @if gzip
9481 maybe-check-gzip: check-gzip
9482
9483 check-gzip:
9484         @r=`${PWD_COMMAND}`; export r; \
9485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9486         $(SET_LIB_PATH) \
9487         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
9488
9489 @endif gzip
9490
9491 .PHONY: install-gzip maybe-install-gzip
9492 maybe-install-gzip:
9493 @if gzip
9494 maybe-install-gzip: install-gzip
9495
9496 install-gzip: installdirs
9497         @r=`${PWD_COMMAND}`; export r; \
9498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499         $(SET_LIB_PATH) \
9500         (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
9501
9502 @endif gzip
9503
9504 # Other targets (info, dvi, etc.)
9505
9506 .PHONY: maybe-info-gzip info-gzip
9507 maybe-info-gzip:
9508 @if gzip
9509 maybe-info-gzip: info-gzip
9510
9511 info-gzip: \
9512     configure-gzip 
9513         @[ -f ./gzip/Makefile ] || exit 0; \
9514         r=`${PWD_COMMAND}`; export r; \
9515         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9516         $(SET_LIB_PATH) \
9517         for flag in $(EXTRA_HOST_FLAGS); do \
9518           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9519         done; \
9520         echo "Doing info in gzip" ; \
9521         (cd gzip && \
9522           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9523                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9524                   "RANLIB=$${RANLIB}" \
9525                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9526                   info) \
9527           || exit 1
9528
9529 @endif gzip
9530
9531 .PHONY: maybe-dvi-gzip dvi-gzip
9532 maybe-dvi-gzip:
9533 @if gzip
9534 maybe-dvi-gzip: dvi-gzip
9535
9536 dvi-gzip: \
9537     configure-gzip 
9538         @[ -f ./gzip/Makefile ] || exit 0; \
9539         r=`${PWD_COMMAND}`; export r; \
9540         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541         $(SET_LIB_PATH) \
9542         for flag in $(EXTRA_HOST_FLAGS); do \
9543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9544         done; \
9545         echo "Doing dvi in gzip" ; \
9546         (cd gzip && \
9547           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9548                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9549                   "RANLIB=$${RANLIB}" \
9550                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9551                   dvi) \
9552           || exit 1
9553
9554 @endif gzip
9555
9556 .PHONY: maybe-TAGS-gzip TAGS-gzip
9557 maybe-TAGS-gzip:
9558 @if gzip
9559 maybe-TAGS-gzip: TAGS-gzip
9560
9561 TAGS-gzip: \
9562     configure-gzip 
9563         @[ -f ./gzip/Makefile ] || exit 0; \
9564         r=`${PWD_COMMAND}`; export r; \
9565         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9566         $(SET_LIB_PATH) \
9567         for flag in $(EXTRA_HOST_FLAGS); do \
9568           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9569         done; \
9570         echo "Doing TAGS in gzip" ; \
9571         (cd gzip && \
9572           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574                   "RANLIB=$${RANLIB}" \
9575                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9576                   TAGS) \
9577           || exit 1
9578
9579 @endif gzip
9580
9581 .PHONY: maybe-install-info-gzip install-info-gzip
9582 maybe-install-info-gzip:
9583 @if gzip
9584 maybe-install-info-gzip: install-info-gzip
9585
9586 install-info-gzip: \
9587     configure-gzip \
9588     info-gzip 
9589         @[ -f ./gzip/Makefile ] || exit 0; \
9590         r=`${PWD_COMMAND}`; export r; \
9591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9592         $(SET_LIB_PATH) \
9593         for flag in $(EXTRA_HOST_FLAGS); do \
9594           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595         done; \
9596         echo "Doing install-info in gzip" ; \
9597         (cd gzip && \
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                   install-info) \
9603           || exit 1
9604
9605 @endif gzip
9606
9607 .PHONY: maybe-installcheck-gzip installcheck-gzip
9608 maybe-installcheck-gzip:
9609 @if gzip
9610 maybe-installcheck-gzip: installcheck-gzip
9611
9612 installcheck-gzip: \
9613     configure-gzip 
9614         @[ -f ./gzip/Makefile ] || exit 0; \
9615         r=`${PWD_COMMAND}`; export r; \
9616         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617         $(SET_LIB_PATH) \
9618         for flag in $(EXTRA_HOST_FLAGS); do \
9619           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9620         done; \
9621         echo "Doing installcheck in gzip" ; \
9622         (cd gzip && \
9623           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9624                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9625                   "RANLIB=$${RANLIB}" \
9626                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9627                   installcheck) \
9628           || exit 1
9629
9630 @endif gzip
9631
9632 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
9633 maybe-mostlyclean-gzip:
9634 @if gzip
9635 maybe-mostlyclean-gzip: mostlyclean-gzip
9636
9637 mostlyclean-gzip: 
9638         @[ -f ./gzip/Makefile ] || exit 0; \
9639         r=`${PWD_COMMAND}`; export r; \
9640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9641         $(SET_LIB_PATH) \
9642         for flag in $(EXTRA_HOST_FLAGS); do \
9643           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9644         done; \
9645         echo "Doing mostlyclean in gzip" ; \
9646         (cd gzip && \
9647           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9648                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9649                   "RANLIB=$${RANLIB}" \
9650                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9651                   mostlyclean) \
9652           || exit 1
9653
9654 @endif gzip
9655
9656 .PHONY: maybe-clean-gzip clean-gzip
9657 maybe-clean-gzip:
9658 @if gzip
9659 maybe-clean-gzip: clean-gzip
9660
9661 clean-gzip: 
9662         @[ -f ./gzip/Makefile ] || exit 0; \
9663         r=`${PWD_COMMAND}`; export r; \
9664         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9665         $(SET_LIB_PATH) \
9666         for flag in $(EXTRA_HOST_FLAGS); do \
9667           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9668         done; \
9669         echo "Doing clean in gzip" ; \
9670         (cd gzip && \
9671           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9672                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9673                   "RANLIB=$${RANLIB}" \
9674                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9675                   clean) \
9676           || exit 1
9677
9678 @endif gzip
9679
9680 .PHONY: maybe-distclean-gzip distclean-gzip
9681 maybe-distclean-gzip:
9682 @if gzip
9683 maybe-distclean-gzip: distclean-gzip
9684
9685 distclean-gzip: 
9686         @[ -f ./gzip/Makefile ] || exit 0; \
9687         r=`${PWD_COMMAND}`; export r; \
9688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689         $(SET_LIB_PATH) \
9690         for flag in $(EXTRA_HOST_FLAGS); do \
9691           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9692         done; \
9693         echo "Doing distclean in gzip" ; \
9694         (cd gzip && \
9695           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9696                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9697                   "RANLIB=$${RANLIB}" \
9698                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9699                   distclean) \
9700           || exit 1
9701
9702 @endif gzip
9703
9704 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
9705 maybe-maintainer-clean-gzip:
9706 @if gzip
9707 maybe-maintainer-clean-gzip: maintainer-clean-gzip
9708
9709 maintainer-clean-gzip: 
9710         @[ -f ./gzip/Makefile ] || exit 0; \
9711         r=`${PWD_COMMAND}`; export r; \
9712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713         $(SET_LIB_PATH) \
9714         for flag in $(EXTRA_HOST_FLAGS); do \
9715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9716         done; \
9717         echo "Doing maintainer-clean in gzip" ; \
9718         (cd gzip && \
9719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9721                   "RANLIB=$${RANLIB}" \
9722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9723                   maintainer-clean) \
9724           || exit 1
9725
9726 @endif gzip
9727
9728
9729 .PHONY: configure-hello maybe-configure-hello
9730 maybe-configure-hello:
9731 @if hello
9732 maybe-configure-hello: configure-hello
9733 configure-hello:
9734         @test ! -f hello/Makefile || exit 0; \
9735         [ -d hello ] || mkdir hello; \
9736         r=`${PWD_COMMAND}`; export r; \
9737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9738         CC="$(CC)"; export CC; \
9739         CFLAGS="$(CFLAGS)"; export CFLAGS; \
9740         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9741         CXX="$(CXX)"; export CXX; \
9742         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9743         AR="$(AR)"; export AR; \
9744         AS="$(AS)"; export AS; \
9745         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9746         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9747         LD="$(LD)"; export LD; \
9748         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9749         NM="$(NM)"; export NM; \
9750         RANLIB="$(RANLIB)"; export RANLIB; \
9751         WINDRES="$(WINDRES)"; export WINDRES; \
9752         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9753         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9754         echo Configuring in hello; \
9755         cd hello || exit 1; \
9756         case $(srcdir) in \
9757           \.) \
9758             srcdiroption="--srcdir=."; \
9759             libsrcdir=".";; \
9760           /* | [A-Za-z]:[\\/]*) \
9761             srcdiroption="--srcdir=$(srcdir)/hello"; \
9762             libsrcdir="$$s/hello";; \
9763           *) \
9764             srcdiroption="--srcdir=../$(srcdir)/hello"; \
9765             libsrcdir="$$s/hello";; \
9766         esac; \
9767         $(SHELL) $${libsrcdir}/configure \
9768           $(HOST_CONFIGARGS) $${srcdiroption} \
9769           || exit 1
9770 @endif hello
9771
9772 .PHONY: all-hello maybe-all-hello
9773 maybe-all-hello:
9774 @if hello
9775 maybe-all-hello: all-hello
9776 all-hello: configure-hello
9777         @r=`${PWD_COMMAND}`; export r; \
9778         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9779         $(SET_LIB_PATH) \
9780         (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
9781 @endif hello
9782
9783 .PHONY: check-hello maybe-check-hello
9784 maybe-check-hello:
9785 @if hello
9786 maybe-check-hello: check-hello
9787
9788 check-hello:
9789         @r=`${PWD_COMMAND}`; export r; \
9790         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9791         $(SET_LIB_PATH) \
9792         (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
9793
9794 @endif hello
9795
9796 .PHONY: install-hello maybe-install-hello
9797 maybe-install-hello:
9798 @if hello
9799 maybe-install-hello: install-hello
9800
9801 install-hello: installdirs
9802         @r=`${PWD_COMMAND}`; export r; \
9803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9804         $(SET_LIB_PATH) \
9805         (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
9806
9807 @endif hello
9808
9809 # Other targets (info, dvi, etc.)
9810
9811 .PHONY: maybe-info-hello info-hello
9812 maybe-info-hello:
9813 @if hello
9814 maybe-info-hello: info-hello
9815
9816 info-hello: \
9817     configure-hello 
9818         @[ -f ./hello/Makefile ] || exit 0; \
9819         r=`${PWD_COMMAND}`; export r; \
9820         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9821         $(SET_LIB_PATH) \
9822         for flag in $(EXTRA_HOST_FLAGS); do \
9823           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9824         done; \
9825         echo "Doing info in hello" ; \
9826         (cd hello && \
9827           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9828                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9829                   "RANLIB=$${RANLIB}" \
9830                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9831                   info) \
9832           || exit 1
9833
9834 @endif hello
9835
9836 .PHONY: maybe-dvi-hello dvi-hello
9837 maybe-dvi-hello:
9838 @if hello
9839 maybe-dvi-hello: dvi-hello
9840
9841 dvi-hello: \
9842     configure-hello 
9843         @[ -f ./hello/Makefile ] || exit 0; \
9844         r=`${PWD_COMMAND}`; export r; \
9845         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9846         $(SET_LIB_PATH) \
9847         for flag in $(EXTRA_HOST_FLAGS); do \
9848           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9849         done; \
9850         echo "Doing dvi in hello" ; \
9851         (cd hello && \
9852           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9853                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9854                   "RANLIB=$${RANLIB}" \
9855                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9856                   dvi) \
9857           || exit 1
9858
9859 @endif hello
9860
9861 .PHONY: maybe-TAGS-hello TAGS-hello
9862 maybe-TAGS-hello:
9863 @if hello
9864 maybe-TAGS-hello: TAGS-hello
9865
9866 TAGS-hello: \
9867     configure-hello 
9868         @[ -f ./hello/Makefile ] || exit 0; \
9869         r=`${PWD_COMMAND}`; export r; \
9870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9871         $(SET_LIB_PATH) \
9872         for flag in $(EXTRA_HOST_FLAGS); do \
9873           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9874         done; \
9875         echo "Doing TAGS in hello" ; \
9876         (cd hello && \
9877           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9878                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9879                   "RANLIB=$${RANLIB}" \
9880                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9881                   TAGS) \
9882           || exit 1
9883
9884 @endif hello
9885
9886 .PHONY: maybe-install-info-hello install-info-hello
9887 maybe-install-info-hello:
9888 @if hello
9889 maybe-install-info-hello: install-info-hello
9890
9891 install-info-hello: \
9892     configure-hello \
9893     info-hello 
9894         @[ -f ./hello/Makefile ] || exit 0; \
9895         r=`${PWD_COMMAND}`; export r; \
9896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9897         $(SET_LIB_PATH) \
9898         for flag in $(EXTRA_HOST_FLAGS); do \
9899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9900         done; \
9901         echo "Doing install-info in hello" ; \
9902         (cd hello && \
9903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9905                   "RANLIB=$${RANLIB}" \
9906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9907                   install-info) \
9908           || exit 1
9909
9910 @endif hello
9911
9912 .PHONY: maybe-installcheck-hello installcheck-hello
9913 maybe-installcheck-hello:
9914 @if hello
9915 maybe-installcheck-hello: installcheck-hello
9916
9917 installcheck-hello: \
9918     configure-hello 
9919         @[ -f ./hello/Makefile ] || exit 0; \
9920         r=`${PWD_COMMAND}`; export r; \
9921         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9922         $(SET_LIB_PATH) \
9923         for flag in $(EXTRA_HOST_FLAGS); do \
9924           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9925         done; \
9926         echo "Doing installcheck in hello" ; \
9927         (cd hello && \
9928           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9929                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9930                   "RANLIB=$${RANLIB}" \
9931                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9932                   installcheck) \
9933           || exit 1
9934
9935 @endif hello
9936
9937 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
9938 maybe-mostlyclean-hello:
9939 @if hello
9940 maybe-mostlyclean-hello: mostlyclean-hello
9941
9942 mostlyclean-hello: 
9943         @[ -f ./hello/Makefile ] || exit 0; \
9944         r=`${PWD_COMMAND}`; export r; \
9945         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9946         $(SET_LIB_PATH) \
9947         for flag in $(EXTRA_HOST_FLAGS); do \
9948           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9949         done; \
9950         echo "Doing mostlyclean in hello" ; \
9951         (cd hello && \
9952           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9953                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9954                   "RANLIB=$${RANLIB}" \
9955                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9956                   mostlyclean) \
9957           || exit 1
9958
9959 @endif hello
9960
9961 .PHONY: maybe-clean-hello clean-hello
9962 maybe-clean-hello:
9963 @if hello
9964 maybe-clean-hello: clean-hello
9965
9966 clean-hello: 
9967         @[ -f ./hello/Makefile ] || exit 0; \
9968         r=`${PWD_COMMAND}`; export r; \
9969         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9970         $(SET_LIB_PATH) \
9971         for flag in $(EXTRA_HOST_FLAGS); do \
9972           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9973         done; \
9974         echo "Doing clean in hello" ; \
9975         (cd hello && \
9976           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9977                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9978                   "RANLIB=$${RANLIB}" \
9979                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9980                   clean) \
9981           || exit 1
9982
9983 @endif hello
9984
9985 .PHONY: maybe-distclean-hello distclean-hello
9986 maybe-distclean-hello:
9987 @if hello
9988 maybe-distclean-hello: distclean-hello
9989
9990 distclean-hello: 
9991         @[ -f ./hello/Makefile ] || exit 0; \
9992         r=`${PWD_COMMAND}`; export r; \
9993         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9994         $(SET_LIB_PATH) \
9995         for flag in $(EXTRA_HOST_FLAGS); do \
9996           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9997         done; \
9998         echo "Doing distclean in hello" ; \
9999         (cd hello && \
10000           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10001                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10002                   "RANLIB=$${RANLIB}" \
10003                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10004                   distclean) \
10005           || exit 1
10006
10007 @endif hello
10008
10009 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10010 maybe-maintainer-clean-hello:
10011 @if hello
10012 maybe-maintainer-clean-hello: maintainer-clean-hello
10013
10014 maintainer-clean-hello: 
10015         @[ -f ./hello/Makefile ] || exit 0; \
10016         r=`${PWD_COMMAND}`; export r; \
10017         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10018         $(SET_LIB_PATH) \
10019         for flag in $(EXTRA_HOST_FLAGS); do \
10020           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10021         done; \
10022         echo "Doing maintainer-clean in hello" ; \
10023         (cd hello && \
10024           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10025                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10026                   "RANLIB=$${RANLIB}" \
10027                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10028                   maintainer-clean) \
10029           || exit 1
10030
10031 @endif hello
10032
10033
10034 .PHONY: configure-indent maybe-configure-indent
10035 maybe-configure-indent:
10036 @if indent
10037 maybe-configure-indent: configure-indent
10038 configure-indent:
10039         @test ! -f indent/Makefile || exit 0; \
10040         [ -d indent ] || mkdir indent; \
10041         r=`${PWD_COMMAND}`; export r; \
10042         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10043         CC="$(CC)"; export CC; \
10044         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10045         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10046         CXX="$(CXX)"; export CXX; \
10047         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10048         AR="$(AR)"; export AR; \
10049         AS="$(AS)"; export AS; \
10050         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10051         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10052         LD="$(LD)"; export LD; \
10053         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10054         NM="$(NM)"; export NM; \
10055         RANLIB="$(RANLIB)"; export RANLIB; \
10056         WINDRES="$(WINDRES)"; export WINDRES; \
10057         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10058         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10059         echo Configuring in indent; \
10060         cd indent || exit 1; \
10061         case $(srcdir) in \
10062           \.) \
10063             srcdiroption="--srcdir=."; \
10064             libsrcdir=".";; \
10065           /* | [A-Za-z]:[\\/]*) \
10066             srcdiroption="--srcdir=$(srcdir)/indent"; \
10067             libsrcdir="$$s/indent";; \
10068           *) \
10069             srcdiroption="--srcdir=../$(srcdir)/indent"; \
10070             libsrcdir="$$s/indent";; \
10071         esac; \
10072         $(SHELL) $${libsrcdir}/configure \
10073           $(HOST_CONFIGARGS) $${srcdiroption} \
10074           || exit 1
10075 @endif indent
10076
10077 .PHONY: all-indent maybe-all-indent
10078 maybe-all-indent:
10079 @if indent
10080 maybe-all-indent: all-indent
10081 all-indent: configure-indent
10082         @r=`${PWD_COMMAND}`; export r; \
10083         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10084         $(SET_LIB_PATH) \
10085         (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10086 @endif indent
10087
10088 .PHONY: check-indent maybe-check-indent
10089 maybe-check-indent:
10090 @if indent
10091 maybe-check-indent: check-indent
10092
10093 check-indent:
10094         @r=`${PWD_COMMAND}`; export r; \
10095         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10096         $(SET_LIB_PATH) \
10097         (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10098
10099 @endif indent
10100
10101 .PHONY: install-indent maybe-install-indent
10102 maybe-install-indent:
10103 @if indent
10104 maybe-install-indent: install-indent
10105
10106 install-indent: installdirs
10107         @r=`${PWD_COMMAND}`; export r; \
10108         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10109         $(SET_LIB_PATH) \
10110         (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10111
10112 @endif indent
10113
10114 # Other targets (info, dvi, etc.)
10115
10116 .PHONY: maybe-info-indent info-indent
10117 maybe-info-indent:
10118 @if indent
10119 maybe-info-indent: info-indent
10120
10121 info-indent: \
10122     configure-indent 
10123         @[ -f ./indent/Makefile ] || exit 0; \
10124         r=`${PWD_COMMAND}`; export r; \
10125         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10126         $(SET_LIB_PATH) \
10127         for flag in $(EXTRA_HOST_FLAGS); do \
10128           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10129         done; \
10130         echo "Doing info in indent" ; \
10131         (cd indent && \
10132           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10133                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10134                   "RANLIB=$${RANLIB}" \
10135                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10136                   info) \
10137           || exit 1
10138
10139 @endif indent
10140
10141 .PHONY: maybe-dvi-indent dvi-indent
10142 maybe-dvi-indent:
10143 @if indent
10144 maybe-dvi-indent: dvi-indent
10145
10146 dvi-indent: \
10147     configure-indent 
10148         @[ -f ./indent/Makefile ] || exit 0; \
10149         r=`${PWD_COMMAND}`; export r; \
10150         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10151         $(SET_LIB_PATH) \
10152         for flag in $(EXTRA_HOST_FLAGS); do \
10153           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10154         done; \
10155         echo "Doing dvi in indent" ; \
10156         (cd indent && \
10157           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10158                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10159                   "RANLIB=$${RANLIB}" \
10160                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10161                   dvi) \
10162           || exit 1
10163
10164 @endif indent
10165
10166 .PHONY: maybe-TAGS-indent TAGS-indent
10167 maybe-TAGS-indent:
10168 @if indent
10169 maybe-TAGS-indent: TAGS-indent
10170
10171 TAGS-indent: \
10172     configure-indent 
10173         @[ -f ./indent/Makefile ] || exit 0; \
10174         r=`${PWD_COMMAND}`; export r; \
10175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10176         $(SET_LIB_PATH) \
10177         for flag in $(EXTRA_HOST_FLAGS); do \
10178           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10179         done; \
10180         echo "Doing TAGS in indent" ; \
10181         (cd indent && \
10182           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10183                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10184                   "RANLIB=$${RANLIB}" \
10185                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10186                   TAGS) \
10187           || exit 1
10188
10189 @endif indent
10190
10191 .PHONY: maybe-install-info-indent install-info-indent
10192 maybe-install-info-indent:
10193 @if indent
10194 maybe-install-info-indent: install-info-indent
10195
10196 install-info-indent: \
10197     configure-indent \
10198     info-indent 
10199         @[ -f ./indent/Makefile ] || exit 0; \
10200         r=`${PWD_COMMAND}`; export r; \
10201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202         $(SET_LIB_PATH) \
10203         for flag in $(EXTRA_HOST_FLAGS); do \
10204           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10205         done; \
10206         echo "Doing install-info in indent" ; \
10207         (cd indent && \
10208           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10209                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10210                   "RANLIB=$${RANLIB}" \
10211                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10212                   install-info) \
10213           || exit 1
10214
10215 @endif indent
10216
10217 .PHONY: maybe-installcheck-indent installcheck-indent
10218 maybe-installcheck-indent:
10219 @if indent
10220 maybe-installcheck-indent: installcheck-indent
10221
10222 installcheck-indent: \
10223     configure-indent 
10224         @[ -f ./indent/Makefile ] || exit 0; \
10225         r=`${PWD_COMMAND}`; export r; \
10226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10227         $(SET_LIB_PATH) \
10228         for flag in $(EXTRA_HOST_FLAGS); do \
10229           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10230         done; \
10231         echo "Doing installcheck in indent" ; \
10232         (cd indent && \
10233           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10234                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10235                   "RANLIB=$${RANLIB}" \
10236                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10237                   installcheck) \
10238           || exit 1
10239
10240 @endif indent
10241
10242 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10243 maybe-mostlyclean-indent:
10244 @if indent
10245 maybe-mostlyclean-indent: mostlyclean-indent
10246
10247 mostlyclean-indent: 
10248         @[ -f ./indent/Makefile ] || exit 0; \
10249         r=`${PWD_COMMAND}`; export r; \
10250         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10251         $(SET_LIB_PATH) \
10252         for flag in $(EXTRA_HOST_FLAGS); do \
10253           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10254         done; \
10255         echo "Doing mostlyclean in indent" ; \
10256         (cd indent && \
10257           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10258                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10259                   "RANLIB=$${RANLIB}" \
10260                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10261                   mostlyclean) \
10262           || exit 1
10263
10264 @endif indent
10265
10266 .PHONY: maybe-clean-indent clean-indent
10267 maybe-clean-indent:
10268 @if indent
10269 maybe-clean-indent: clean-indent
10270
10271 clean-indent: 
10272         @[ -f ./indent/Makefile ] || exit 0; \
10273         r=`${PWD_COMMAND}`; export r; \
10274         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10275         $(SET_LIB_PATH) \
10276         for flag in $(EXTRA_HOST_FLAGS); do \
10277           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10278         done; \
10279         echo "Doing clean in indent" ; \
10280         (cd indent && \
10281           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10282                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10283                   "RANLIB=$${RANLIB}" \
10284                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10285                   clean) \
10286           || exit 1
10287
10288 @endif indent
10289
10290 .PHONY: maybe-distclean-indent distclean-indent
10291 maybe-distclean-indent:
10292 @if indent
10293 maybe-distclean-indent: distclean-indent
10294
10295 distclean-indent: 
10296         @[ -f ./indent/Makefile ] || exit 0; \
10297         r=`${PWD_COMMAND}`; export r; \
10298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10299         $(SET_LIB_PATH) \
10300         for flag in $(EXTRA_HOST_FLAGS); do \
10301           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10302         done; \
10303         echo "Doing distclean in indent" ; \
10304         (cd indent && \
10305           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10306                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10307                   "RANLIB=$${RANLIB}" \
10308                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10309                   distclean) \
10310           || exit 1
10311
10312 @endif indent
10313
10314 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10315 maybe-maintainer-clean-indent:
10316 @if indent
10317 maybe-maintainer-clean-indent: maintainer-clean-indent
10318
10319 maintainer-clean-indent: 
10320         @[ -f ./indent/Makefile ] || exit 0; \
10321         r=`${PWD_COMMAND}`; export r; \
10322         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10323         $(SET_LIB_PATH) \
10324         for flag in $(EXTRA_HOST_FLAGS); do \
10325           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10326         done; \
10327         echo "Doing maintainer-clean in indent" ; \
10328         (cd indent && \
10329           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10330                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10331                   "RANLIB=$${RANLIB}" \
10332                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10333                   maintainer-clean) \
10334           || exit 1
10335
10336 @endif indent
10337
10338
10339 .PHONY: configure-intl maybe-configure-intl
10340 maybe-configure-intl:
10341 @if intl
10342 maybe-configure-intl: configure-intl
10343 configure-intl:
10344         @test ! -f intl/Makefile || exit 0; \
10345         [ -d intl ] || mkdir intl; \
10346         r=`${PWD_COMMAND}`; export r; \
10347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10348         CC="$(CC)"; export CC; \
10349         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10350         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10351         CXX="$(CXX)"; export CXX; \
10352         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10353         AR="$(AR)"; export AR; \
10354         AS="$(AS)"; export AS; \
10355         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10356         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10357         LD="$(LD)"; export LD; \
10358         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10359         NM="$(NM)"; export NM; \
10360         RANLIB="$(RANLIB)"; export RANLIB; \
10361         WINDRES="$(WINDRES)"; export WINDRES; \
10362         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10363         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10364         echo Configuring in intl; \
10365         cd intl || exit 1; \
10366         case $(srcdir) in \
10367           \.) \
10368             srcdiroption="--srcdir=."; \
10369             libsrcdir=".";; \
10370           /* | [A-Za-z]:[\\/]*) \
10371             srcdiroption="--srcdir=$(srcdir)/intl"; \
10372             libsrcdir="$$s/intl";; \
10373           *) \
10374             srcdiroption="--srcdir=../$(srcdir)/intl"; \
10375             libsrcdir="$$s/intl";; \
10376         esac; \
10377         $(SHELL) $${libsrcdir}/configure \
10378           $(HOST_CONFIGARGS) $${srcdiroption} \
10379           || exit 1
10380 @endif intl
10381
10382 .PHONY: all-intl maybe-all-intl
10383 maybe-all-intl:
10384 @if intl
10385 maybe-all-intl: all-intl
10386 all-intl: configure-intl
10387         @r=`${PWD_COMMAND}`; export r; \
10388         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10389         $(SET_LIB_PATH) \
10390         (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10391 @endif intl
10392
10393 .PHONY: check-intl maybe-check-intl
10394 maybe-check-intl:
10395 @if intl
10396 maybe-check-intl: check-intl
10397
10398 check-intl:
10399         @r=`${PWD_COMMAND}`; export r; \
10400         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10401         $(SET_LIB_PATH) \
10402         (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10403
10404 @endif intl
10405
10406 .PHONY: install-intl maybe-install-intl
10407 maybe-install-intl:
10408 @if intl
10409 maybe-install-intl: install-intl
10410
10411 install-intl: installdirs
10412         @r=`${PWD_COMMAND}`; export r; \
10413         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10414         $(SET_LIB_PATH) \
10415         (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
10416
10417 @endif intl
10418
10419 # Other targets (info, dvi, etc.)
10420
10421 .PHONY: maybe-info-intl info-intl
10422 maybe-info-intl:
10423 @if intl
10424 maybe-info-intl: info-intl
10425
10426 info-intl: \
10427     configure-intl 
10428         @[ -f ./intl/Makefile ] || exit 0; \
10429         r=`${PWD_COMMAND}`; export r; \
10430         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10431         $(SET_LIB_PATH) \
10432         for flag in $(EXTRA_HOST_FLAGS); do \
10433           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10434         done; \
10435         echo "Doing info in intl" ; \
10436         (cd intl && \
10437           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10438                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10439                   "RANLIB=$${RANLIB}" \
10440                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10441                   info) \
10442           || exit 1
10443
10444 @endif intl
10445
10446 .PHONY: maybe-dvi-intl dvi-intl
10447 maybe-dvi-intl:
10448 @if intl
10449 maybe-dvi-intl: dvi-intl
10450
10451 dvi-intl: \
10452     configure-intl 
10453         @[ -f ./intl/Makefile ] || exit 0; \
10454         r=`${PWD_COMMAND}`; export r; \
10455         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10456         $(SET_LIB_PATH) \
10457         for flag in $(EXTRA_HOST_FLAGS); do \
10458           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10459         done; \
10460         echo "Doing dvi in intl" ; \
10461         (cd intl && \
10462           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10463                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10464                   "RANLIB=$${RANLIB}" \
10465                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10466                   dvi) \
10467           || exit 1
10468
10469 @endif intl
10470
10471 .PHONY: maybe-TAGS-intl TAGS-intl
10472 maybe-TAGS-intl:
10473 @if intl
10474 maybe-TAGS-intl: TAGS-intl
10475
10476 TAGS-intl: \
10477     configure-intl 
10478         @[ -f ./intl/Makefile ] || exit 0; \
10479         r=`${PWD_COMMAND}`; export r; \
10480         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10481         $(SET_LIB_PATH) \
10482         for flag in $(EXTRA_HOST_FLAGS); do \
10483           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10484         done; \
10485         echo "Doing TAGS in intl" ; \
10486         (cd intl && \
10487           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10488                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10489                   "RANLIB=$${RANLIB}" \
10490                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10491                   TAGS) \
10492           || exit 1
10493
10494 @endif intl
10495
10496 .PHONY: maybe-install-info-intl install-info-intl
10497 maybe-install-info-intl:
10498 @if intl
10499 maybe-install-info-intl: install-info-intl
10500
10501 install-info-intl: \
10502     configure-intl \
10503     info-intl 
10504         @[ -f ./intl/Makefile ] || exit 0; \
10505         r=`${PWD_COMMAND}`; export r; \
10506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10507         $(SET_LIB_PATH) \
10508         for flag in $(EXTRA_HOST_FLAGS); do \
10509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10510         done; \
10511         echo "Doing install-info in intl" ; \
10512         (cd intl && \
10513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10515                   "RANLIB=$${RANLIB}" \
10516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10517                   install-info) \
10518           || exit 1
10519
10520 @endif intl
10521
10522 .PHONY: maybe-installcheck-intl installcheck-intl
10523 maybe-installcheck-intl:
10524 @if intl
10525 maybe-installcheck-intl: installcheck-intl
10526
10527 installcheck-intl: \
10528     configure-intl 
10529         @[ -f ./intl/Makefile ] || exit 0; \
10530         r=`${PWD_COMMAND}`; export r; \
10531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10532         $(SET_LIB_PATH) \
10533         for flag in $(EXTRA_HOST_FLAGS); do \
10534           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10535         done; \
10536         echo "Doing installcheck in intl" ; \
10537         (cd intl && \
10538           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10539                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10540                   "RANLIB=$${RANLIB}" \
10541                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10542                   installcheck) \
10543           || exit 1
10544
10545 @endif intl
10546
10547 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10548 maybe-mostlyclean-intl:
10549 @if intl
10550 maybe-mostlyclean-intl: mostlyclean-intl
10551
10552 mostlyclean-intl: 
10553         @[ -f ./intl/Makefile ] || exit 0; \
10554         r=`${PWD_COMMAND}`; export r; \
10555         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10556         $(SET_LIB_PATH) \
10557         for flag in $(EXTRA_HOST_FLAGS); do \
10558           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10559         done; \
10560         echo "Doing mostlyclean in intl" ; \
10561         (cd intl && \
10562           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10563                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10564                   "RANLIB=$${RANLIB}" \
10565                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10566                   mostlyclean) \
10567           || exit 1
10568
10569 @endif intl
10570
10571 .PHONY: maybe-clean-intl clean-intl
10572 maybe-clean-intl:
10573 @if intl
10574 maybe-clean-intl: clean-intl
10575
10576 clean-intl: 
10577         @[ -f ./intl/Makefile ] || exit 0; \
10578         r=`${PWD_COMMAND}`; export r; \
10579         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10580         $(SET_LIB_PATH) \
10581         for flag in $(EXTRA_HOST_FLAGS); do \
10582           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10583         done; \
10584         echo "Doing clean in intl" ; \
10585         (cd intl && \
10586           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10587                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10588                   "RANLIB=$${RANLIB}" \
10589                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10590                   clean) \
10591           || exit 1
10592
10593 @endif intl
10594
10595 .PHONY: maybe-distclean-intl distclean-intl
10596 maybe-distclean-intl:
10597 @if intl
10598 maybe-distclean-intl: distclean-intl
10599
10600 distclean-intl: 
10601         @[ -f ./intl/Makefile ] || exit 0; \
10602         r=`${PWD_COMMAND}`; export r; \
10603         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604         $(SET_LIB_PATH) \
10605         for flag in $(EXTRA_HOST_FLAGS); do \
10606           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10607         done; \
10608         echo "Doing distclean in intl" ; \
10609         (cd intl && \
10610           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10611                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10612                   "RANLIB=$${RANLIB}" \
10613                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10614                   distclean) \
10615           || exit 1
10616
10617 @endif intl
10618
10619 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
10620 maybe-maintainer-clean-intl:
10621 @if intl
10622 maybe-maintainer-clean-intl: maintainer-clean-intl
10623
10624 maintainer-clean-intl: 
10625         @[ -f ./intl/Makefile ] || exit 0; \
10626         r=`${PWD_COMMAND}`; export r; \
10627         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10628         $(SET_LIB_PATH) \
10629         for flag in $(EXTRA_HOST_FLAGS); do \
10630           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10631         done; \
10632         echo "Doing maintainer-clean in intl" ; \
10633         (cd intl && \
10634           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10635                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10636                   "RANLIB=$${RANLIB}" \
10637                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10638                   maintainer-clean) \
10639           || exit 1
10640
10641 @endif intl
10642
10643
10644 .PHONY: configure-tcl maybe-configure-tcl
10645 maybe-configure-tcl:
10646 @if tcl
10647 maybe-configure-tcl: configure-tcl
10648 configure-tcl:
10649         @test ! -f tcl/Makefile || exit 0; \
10650         [ -d tcl ] || mkdir tcl; \
10651         r=`${PWD_COMMAND}`; export r; \
10652         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10653         CC="$(CC)"; export CC; \
10654         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10655         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10656         CXX="$(CXX)"; export CXX; \
10657         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10658         AR="$(AR)"; export AR; \
10659         AS="$(AS)"; export AS; \
10660         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10661         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10662         LD="$(LD)"; export LD; \
10663         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10664         NM="$(NM)"; export NM; \
10665         RANLIB="$(RANLIB)"; export RANLIB; \
10666         WINDRES="$(WINDRES)"; export WINDRES; \
10667         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10668         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10669         echo Configuring in tcl; \
10670         cd tcl || exit 1; \
10671         case $(srcdir) in \
10672           \.) \
10673             srcdiroption="--srcdir=."; \
10674             libsrcdir=".";; \
10675           /* | [A-Za-z]:[\\/]*) \
10676             srcdiroption="--srcdir=$(srcdir)/tcl"; \
10677             libsrcdir="$$s/tcl";; \
10678           *) \
10679             srcdiroption="--srcdir=../$(srcdir)/tcl"; \
10680             libsrcdir="$$s/tcl";; \
10681         esac; \
10682         $(SHELL) $${libsrcdir}/configure \
10683           $(HOST_CONFIGARGS) $${srcdiroption} \
10684           || exit 1
10685 @endif tcl
10686
10687 .PHONY: all-tcl maybe-all-tcl
10688 maybe-all-tcl:
10689 @if tcl
10690 maybe-all-tcl: all-tcl
10691 all-tcl: configure-tcl
10692         @r=`${PWD_COMMAND}`; export r; \
10693         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10694         $(SET_LIB_PATH) \
10695         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
10696 @endif tcl
10697
10698 .PHONY: check-tcl maybe-check-tcl
10699 maybe-check-tcl:
10700 @if tcl
10701 maybe-check-tcl: check-tcl
10702
10703 check-tcl:
10704         @r=`${PWD_COMMAND}`; export r; \
10705         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10706         $(SET_LIB_PATH) \
10707         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
10708
10709 @endif tcl
10710
10711 .PHONY: install-tcl maybe-install-tcl
10712 maybe-install-tcl:
10713 @if tcl
10714 maybe-install-tcl: install-tcl
10715
10716 install-tcl: installdirs
10717         @r=`${PWD_COMMAND}`; export r; \
10718         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10719         $(SET_LIB_PATH) \
10720         (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
10721
10722 @endif tcl
10723
10724 # Other targets (info, dvi, etc.)
10725
10726 .PHONY: maybe-info-tcl info-tcl
10727 maybe-info-tcl:
10728 @if tcl
10729 maybe-info-tcl: info-tcl
10730
10731 info-tcl: \
10732     configure-tcl 
10733         @[ -f ./tcl/Makefile ] || exit 0; \
10734         r=`${PWD_COMMAND}`; export r; \
10735         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10736         $(SET_LIB_PATH) \
10737         for flag in $(EXTRA_HOST_FLAGS); do \
10738           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10739         done; \
10740         echo "Doing info in tcl" ; \
10741         (cd tcl && \
10742           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10743                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10744                   "RANLIB=$${RANLIB}" \
10745                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10746                   info) \
10747           || exit 1
10748
10749 @endif tcl
10750
10751 .PHONY: maybe-dvi-tcl dvi-tcl
10752 maybe-dvi-tcl:
10753 @if tcl
10754 maybe-dvi-tcl: dvi-tcl
10755
10756 dvi-tcl: \
10757     configure-tcl 
10758         @[ -f ./tcl/Makefile ] || exit 0; \
10759         r=`${PWD_COMMAND}`; export r; \
10760         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10761         $(SET_LIB_PATH) \
10762         for flag in $(EXTRA_HOST_FLAGS); do \
10763           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10764         done; \
10765         echo "Doing dvi in tcl" ; \
10766         (cd tcl && \
10767           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10768                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10769                   "RANLIB=$${RANLIB}" \
10770                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10771                   dvi) \
10772           || exit 1
10773
10774 @endif tcl
10775
10776 .PHONY: maybe-TAGS-tcl TAGS-tcl
10777 maybe-TAGS-tcl:
10778 @if tcl
10779 maybe-TAGS-tcl: TAGS-tcl
10780
10781 TAGS-tcl: \
10782     configure-tcl 
10783         @[ -f ./tcl/Makefile ] || exit 0; \
10784         r=`${PWD_COMMAND}`; export r; \
10785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786         $(SET_LIB_PATH) \
10787         for flag in $(EXTRA_HOST_FLAGS); do \
10788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10789         done; \
10790         echo "Doing TAGS in tcl" ; \
10791         (cd tcl && \
10792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10794                   "RANLIB=$${RANLIB}" \
10795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10796                   TAGS) \
10797           || exit 1
10798
10799 @endif tcl
10800
10801 .PHONY: maybe-install-info-tcl install-info-tcl
10802 maybe-install-info-tcl:
10803 @if tcl
10804 maybe-install-info-tcl: install-info-tcl
10805
10806 install-info-tcl: \
10807     configure-tcl \
10808     info-tcl 
10809         @[ -f ./tcl/Makefile ] || exit 0; \
10810         r=`${PWD_COMMAND}`; export r; \
10811         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10812         $(SET_LIB_PATH) \
10813         for flag in $(EXTRA_HOST_FLAGS); do \
10814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10815         done; \
10816         echo "Doing install-info in tcl" ; \
10817         (cd tcl && \
10818           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10819                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10820                   "RANLIB=$${RANLIB}" \
10821                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10822                   install-info) \
10823           || exit 1
10824
10825 @endif tcl
10826
10827 .PHONY: maybe-installcheck-tcl installcheck-tcl
10828 maybe-installcheck-tcl:
10829 @if tcl
10830 maybe-installcheck-tcl: installcheck-tcl
10831
10832 installcheck-tcl: \
10833     configure-tcl 
10834         @[ -f ./tcl/Makefile ] || exit 0; \
10835         r=`${PWD_COMMAND}`; export r; \
10836         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10837         $(SET_LIB_PATH) \
10838         for flag in $(EXTRA_HOST_FLAGS); do \
10839           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10840         done; \
10841         echo "Doing installcheck in tcl" ; \
10842         (cd tcl && \
10843           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10844                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10845                   "RANLIB=$${RANLIB}" \
10846                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10847                   installcheck) \
10848           || exit 1
10849
10850 @endif tcl
10851
10852 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10853 maybe-mostlyclean-tcl:
10854 @if tcl
10855 maybe-mostlyclean-tcl: mostlyclean-tcl
10856
10857 # tcl doesn't support mostlyclean.
10858 mostlyclean-tcl:
10859
10860 @endif tcl
10861
10862 .PHONY: maybe-clean-tcl clean-tcl
10863 maybe-clean-tcl:
10864 @if tcl
10865 maybe-clean-tcl: clean-tcl
10866
10867 clean-tcl: 
10868         @[ -f ./tcl/Makefile ] || exit 0; \
10869         r=`${PWD_COMMAND}`; export r; \
10870         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10871         $(SET_LIB_PATH) \
10872         for flag in $(EXTRA_HOST_FLAGS); do \
10873           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10874         done; \
10875         echo "Doing clean in tcl" ; \
10876         (cd tcl && \
10877           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10878                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10879                   "RANLIB=$${RANLIB}" \
10880                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10881                   clean) \
10882           || exit 1
10883
10884 @endif tcl
10885
10886 .PHONY: maybe-distclean-tcl distclean-tcl
10887 maybe-distclean-tcl:
10888 @if tcl
10889 maybe-distclean-tcl: distclean-tcl
10890
10891 distclean-tcl: 
10892         @[ -f ./tcl/Makefile ] || exit 0; \
10893         r=`${PWD_COMMAND}`; export r; \
10894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10895         $(SET_LIB_PATH) \
10896         for flag in $(EXTRA_HOST_FLAGS); do \
10897           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10898         done; \
10899         echo "Doing distclean in tcl" ; \
10900         (cd tcl && \
10901           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10902                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10903                   "RANLIB=$${RANLIB}" \
10904                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10905                   distclean) \
10906           || exit 1
10907
10908 @endif tcl
10909
10910 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
10911 maybe-maintainer-clean-tcl:
10912 @if tcl
10913 maybe-maintainer-clean-tcl: maintainer-clean-tcl
10914
10915 maintainer-clean-tcl: 
10916         @[ -f ./tcl/Makefile ] || exit 0; \
10917         r=`${PWD_COMMAND}`; export r; \
10918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10919         $(SET_LIB_PATH) \
10920         for flag in $(EXTRA_HOST_FLAGS); do \
10921           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10922         done; \
10923         echo "Doing maintainer-clean in tcl" ; \
10924         (cd tcl && \
10925           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10926                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10927                   "RANLIB=$${RANLIB}" \
10928                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10929                   maintainer-clean) \
10930           || exit 1
10931
10932 @endif tcl
10933
10934
10935 .PHONY: configure-itcl maybe-configure-itcl
10936 maybe-configure-itcl:
10937 @if itcl
10938 maybe-configure-itcl: configure-itcl
10939 configure-itcl:
10940         @test ! -f itcl/Makefile || exit 0; \
10941         [ -d itcl ] || mkdir itcl; \
10942         r=`${PWD_COMMAND}`; export r; \
10943         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10944         CC="$(CC)"; export CC; \
10945         CFLAGS="$(CFLAGS)"; export CFLAGS; \
10946         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10947         CXX="$(CXX)"; export CXX; \
10948         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10949         AR="$(AR)"; export AR; \
10950         AS="$(AS)"; export AS; \
10951         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10952         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10953         LD="$(LD)"; export LD; \
10954         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10955         NM="$(NM)"; export NM; \
10956         RANLIB="$(RANLIB)"; export RANLIB; \
10957         WINDRES="$(WINDRES)"; export WINDRES; \
10958         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10959         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10960         echo Configuring in itcl; \
10961         cd itcl || exit 1; \
10962         case $(srcdir) in \
10963           \.) \
10964             srcdiroption="--srcdir=."; \
10965             libsrcdir=".";; \
10966           /* | [A-Za-z]:[\\/]*) \
10967             srcdiroption="--srcdir=$(srcdir)/itcl"; \
10968             libsrcdir="$$s/itcl";; \
10969           *) \
10970             srcdiroption="--srcdir=../$(srcdir)/itcl"; \
10971             libsrcdir="$$s/itcl";; \
10972         esac; \
10973         $(SHELL) $${libsrcdir}/configure \
10974           $(HOST_CONFIGARGS) $${srcdiroption} \
10975           || exit 1
10976 @endif itcl
10977
10978 .PHONY: all-itcl maybe-all-itcl
10979 maybe-all-itcl:
10980 @if itcl
10981 maybe-all-itcl: all-itcl
10982 all-itcl: configure-itcl
10983         @r=`${PWD_COMMAND}`; export r; \
10984         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10985         $(SET_LIB_PATH) \
10986         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
10987 @endif itcl
10988
10989 .PHONY: check-itcl maybe-check-itcl
10990 maybe-check-itcl:
10991 @if itcl
10992 maybe-check-itcl: check-itcl
10993
10994 check-itcl:
10995         @r=`${PWD_COMMAND}`; export r; \
10996         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997         $(SET_LIB_PATH) \
10998         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
10999
11000 @endif itcl
11001
11002 .PHONY: install-itcl maybe-install-itcl
11003 maybe-install-itcl:
11004 @if itcl
11005 maybe-install-itcl: install-itcl
11006
11007 install-itcl: installdirs
11008         @r=`${PWD_COMMAND}`; export r; \
11009         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11010         $(SET_LIB_PATH) \
11011         (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11012
11013 @endif itcl
11014
11015 # Other targets (info, dvi, etc.)
11016
11017 .PHONY: maybe-info-itcl info-itcl
11018 maybe-info-itcl:
11019 @if itcl
11020 maybe-info-itcl: info-itcl
11021
11022 info-itcl: \
11023     configure-itcl 
11024         @[ -f ./itcl/Makefile ] || exit 0; \
11025         r=`${PWD_COMMAND}`; export r; \
11026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027         $(SET_LIB_PATH) \
11028         for flag in $(EXTRA_HOST_FLAGS); do \
11029           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11030         done; \
11031         echo "Doing info in itcl" ; \
11032         (cd itcl && \
11033           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11034                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11035                   "RANLIB=$${RANLIB}" \
11036                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11037                   info) \
11038           || exit 1
11039
11040 @endif itcl
11041
11042 .PHONY: maybe-dvi-itcl dvi-itcl
11043 maybe-dvi-itcl:
11044 @if itcl
11045 maybe-dvi-itcl: dvi-itcl
11046
11047 dvi-itcl: \
11048     configure-itcl 
11049         @[ -f ./itcl/Makefile ] || exit 0; \
11050         r=`${PWD_COMMAND}`; export r; \
11051         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11052         $(SET_LIB_PATH) \
11053         for flag in $(EXTRA_HOST_FLAGS); do \
11054           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11055         done; \
11056         echo "Doing dvi in itcl" ; \
11057         (cd itcl && \
11058           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11059                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11060                   "RANLIB=$${RANLIB}" \
11061                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11062                   dvi) \
11063           || exit 1
11064
11065 @endif itcl
11066
11067 .PHONY: maybe-TAGS-itcl TAGS-itcl
11068 maybe-TAGS-itcl:
11069 @if itcl
11070 maybe-TAGS-itcl: TAGS-itcl
11071
11072 TAGS-itcl: \
11073     configure-itcl 
11074         @[ -f ./itcl/Makefile ] || exit 0; \
11075         r=`${PWD_COMMAND}`; export r; \
11076         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11077         $(SET_LIB_PATH) \
11078         for flag in $(EXTRA_HOST_FLAGS); do \
11079           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11080         done; \
11081         echo "Doing TAGS in itcl" ; \
11082         (cd itcl && \
11083           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11084                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11085                   "RANLIB=$${RANLIB}" \
11086                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11087                   TAGS) \
11088           || exit 1
11089
11090 @endif itcl
11091
11092 .PHONY: maybe-install-info-itcl install-info-itcl
11093 maybe-install-info-itcl:
11094 @if itcl
11095 maybe-install-info-itcl: install-info-itcl
11096
11097 install-info-itcl: \
11098     configure-itcl \
11099     info-itcl 
11100         @[ -f ./itcl/Makefile ] || exit 0; \
11101         r=`${PWD_COMMAND}`; export r; \
11102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103         $(SET_LIB_PATH) \
11104         for flag in $(EXTRA_HOST_FLAGS); do \
11105           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106         done; \
11107         echo "Doing install-info in itcl" ; \
11108         (cd itcl && \
11109           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111                   "RANLIB=$${RANLIB}" \
11112                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11113                   install-info) \
11114           || exit 1
11115
11116 @endif itcl
11117
11118 .PHONY: maybe-installcheck-itcl installcheck-itcl
11119 maybe-installcheck-itcl:
11120 @if itcl
11121 maybe-installcheck-itcl: installcheck-itcl
11122
11123 installcheck-itcl: \
11124     configure-itcl 
11125         @[ -f ./itcl/Makefile ] || exit 0; \
11126         r=`${PWD_COMMAND}`; export r; \
11127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128         $(SET_LIB_PATH) \
11129         for flag in $(EXTRA_HOST_FLAGS); do \
11130           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11131         done; \
11132         echo "Doing installcheck in itcl" ; \
11133         (cd itcl && \
11134           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11135                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11136                   "RANLIB=$${RANLIB}" \
11137                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11138                   installcheck) \
11139           || exit 1
11140
11141 @endif itcl
11142
11143 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11144 maybe-mostlyclean-itcl:
11145 @if itcl
11146 maybe-mostlyclean-itcl: mostlyclean-itcl
11147
11148 mostlyclean-itcl: 
11149         @[ -f ./itcl/Makefile ] || exit 0; \
11150         r=`${PWD_COMMAND}`; export r; \
11151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11152         $(SET_LIB_PATH) \
11153         for flag in $(EXTRA_HOST_FLAGS); do \
11154           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11155         done; \
11156         echo "Doing mostlyclean in itcl" ; \
11157         (cd itcl && \
11158           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11159                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11160                   "RANLIB=$${RANLIB}" \
11161                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11162                   mostlyclean) \
11163           || exit 1
11164
11165 @endif itcl
11166
11167 .PHONY: maybe-clean-itcl clean-itcl
11168 maybe-clean-itcl:
11169 @if itcl
11170 maybe-clean-itcl: clean-itcl
11171
11172 clean-itcl: 
11173         @[ -f ./itcl/Makefile ] || exit 0; \
11174         r=`${PWD_COMMAND}`; export r; \
11175         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11176         $(SET_LIB_PATH) \
11177         for flag in $(EXTRA_HOST_FLAGS); do \
11178           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11179         done; \
11180         echo "Doing clean in itcl" ; \
11181         (cd itcl && \
11182           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11183                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11184                   "RANLIB=$${RANLIB}" \
11185                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11186                   clean) \
11187           || exit 1
11188
11189 @endif itcl
11190
11191 .PHONY: maybe-distclean-itcl distclean-itcl
11192 maybe-distclean-itcl:
11193 @if itcl
11194 maybe-distclean-itcl: distclean-itcl
11195
11196 distclean-itcl: 
11197         @[ -f ./itcl/Makefile ] || exit 0; \
11198         r=`${PWD_COMMAND}`; export r; \
11199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11200         $(SET_LIB_PATH) \
11201         for flag in $(EXTRA_HOST_FLAGS); do \
11202           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11203         done; \
11204         echo "Doing distclean in itcl" ; \
11205         (cd itcl && \
11206           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11207                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11208                   "RANLIB=$${RANLIB}" \
11209                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11210                   distclean) \
11211           || exit 1
11212
11213 @endif itcl
11214
11215 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11216 maybe-maintainer-clean-itcl:
11217 @if itcl
11218 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11219
11220 maintainer-clean-itcl: 
11221         @[ -f ./itcl/Makefile ] || exit 0; \
11222         r=`${PWD_COMMAND}`; export r; \
11223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11224         $(SET_LIB_PATH) \
11225         for flag in $(EXTRA_HOST_FLAGS); do \
11226           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11227         done; \
11228         echo "Doing maintainer-clean in itcl" ; \
11229         (cd itcl && \
11230           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11231                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11232                   "RANLIB=$${RANLIB}" \
11233                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11234                   maintainer-clean) \
11235           || exit 1
11236
11237 @endif itcl
11238
11239
11240 .PHONY: configure-ld maybe-configure-ld
11241 maybe-configure-ld:
11242 @if ld
11243 maybe-configure-ld: configure-ld
11244 configure-ld:
11245         @test ! -f ld/Makefile || exit 0; \
11246         [ -d ld ] || mkdir ld; \
11247         r=`${PWD_COMMAND}`; export r; \
11248         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11249         CC="$(CC)"; export CC; \
11250         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11251         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11252         CXX="$(CXX)"; export CXX; \
11253         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11254         AR="$(AR)"; export AR; \
11255         AS="$(AS)"; export AS; \
11256         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11257         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11258         LD="$(LD)"; export LD; \
11259         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11260         NM="$(NM)"; export NM; \
11261         RANLIB="$(RANLIB)"; export RANLIB; \
11262         WINDRES="$(WINDRES)"; export WINDRES; \
11263         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11264         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11265         echo Configuring in ld; \
11266         cd ld || exit 1; \
11267         case $(srcdir) in \
11268           \.) \
11269             srcdiroption="--srcdir=."; \
11270             libsrcdir=".";; \
11271           /* | [A-Za-z]:[\\/]*) \
11272             srcdiroption="--srcdir=$(srcdir)/ld"; \
11273             libsrcdir="$$s/ld";; \
11274           *) \
11275             srcdiroption="--srcdir=../$(srcdir)/ld"; \
11276             libsrcdir="$$s/ld";; \
11277         esac; \
11278         $(SHELL) $${libsrcdir}/configure \
11279           $(HOST_CONFIGARGS) $${srcdiroption} \
11280           || exit 1
11281 @endif ld
11282
11283 .PHONY: all-ld maybe-all-ld
11284 maybe-all-ld:
11285 @if ld
11286 maybe-all-ld: all-ld
11287 all-ld: configure-ld
11288         @r=`${PWD_COMMAND}`; export r; \
11289         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11290         $(SET_LIB_PATH) \
11291         (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11292 @endif ld
11293
11294 .PHONY: check-ld maybe-check-ld
11295 maybe-check-ld:
11296 @if ld
11297 maybe-check-ld: check-ld
11298
11299 check-ld:
11300         @r=`${PWD_COMMAND}`; export r; \
11301         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11302         $(SET_LIB_PATH) \
11303         (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11304
11305 @endif ld
11306
11307 .PHONY: install-ld maybe-install-ld
11308 maybe-install-ld:
11309 @if ld
11310 maybe-install-ld: install-ld
11311
11312 install-ld: installdirs
11313         @r=`${PWD_COMMAND}`; export r; \
11314         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11315         $(SET_LIB_PATH) \
11316         (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11317
11318 @endif ld
11319
11320 # Other targets (info, dvi, etc.)
11321
11322 .PHONY: maybe-info-ld info-ld
11323 maybe-info-ld:
11324 @if ld
11325 maybe-info-ld: info-ld
11326
11327 info-ld: \
11328     configure-ld 
11329         @[ -f ./ld/Makefile ] || exit 0; \
11330         r=`${PWD_COMMAND}`; export r; \
11331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11332         $(SET_LIB_PATH) \
11333         for flag in $(EXTRA_HOST_FLAGS); do \
11334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11335         done; \
11336         echo "Doing info in ld" ; \
11337         (cd ld && \
11338           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11339                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11340                   "RANLIB=$${RANLIB}" \
11341                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11342                   info) \
11343           || exit 1
11344
11345 @endif ld
11346
11347 .PHONY: maybe-dvi-ld dvi-ld
11348 maybe-dvi-ld:
11349 @if ld
11350 maybe-dvi-ld: dvi-ld
11351
11352 dvi-ld: \
11353     configure-ld 
11354         @[ -f ./ld/Makefile ] || exit 0; \
11355         r=`${PWD_COMMAND}`; export r; \
11356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11357         $(SET_LIB_PATH) \
11358         for flag in $(EXTRA_HOST_FLAGS); do \
11359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11360         done; \
11361         echo "Doing dvi in ld" ; \
11362         (cd ld && \
11363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11365                   "RANLIB=$${RANLIB}" \
11366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11367                   dvi) \
11368           || exit 1
11369
11370 @endif ld
11371
11372 .PHONY: maybe-TAGS-ld TAGS-ld
11373 maybe-TAGS-ld:
11374 @if ld
11375 maybe-TAGS-ld: TAGS-ld
11376
11377 TAGS-ld: \
11378     configure-ld 
11379         @[ -f ./ld/Makefile ] || exit 0; \
11380         r=`${PWD_COMMAND}`; export r; \
11381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11382         $(SET_LIB_PATH) \
11383         for flag in $(EXTRA_HOST_FLAGS); do \
11384           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11385         done; \
11386         echo "Doing TAGS in ld" ; \
11387         (cd ld && \
11388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11390                   "RANLIB=$${RANLIB}" \
11391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11392                   TAGS) \
11393           || exit 1
11394
11395 @endif ld
11396
11397 .PHONY: maybe-install-info-ld install-info-ld
11398 maybe-install-info-ld:
11399 @if ld
11400 maybe-install-info-ld: install-info-ld
11401
11402 install-info-ld: \
11403     configure-ld \
11404     info-ld 
11405         @[ -f ./ld/Makefile ] || exit 0; \
11406         r=`${PWD_COMMAND}`; export r; \
11407         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11408         $(SET_LIB_PATH) \
11409         for flag in $(EXTRA_HOST_FLAGS); do \
11410           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11411         done; \
11412         echo "Doing install-info in ld" ; \
11413         (cd ld && \
11414           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11415                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11416                   "RANLIB=$${RANLIB}" \
11417                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11418                   install-info) \
11419           || exit 1
11420
11421 @endif ld
11422
11423 .PHONY: maybe-installcheck-ld installcheck-ld
11424 maybe-installcheck-ld:
11425 @if ld
11426 maybe-installcheck-ld: installcheck-ld
11427
11428 installcheck-ld: \
11429     configure-ld 
11430         @[ -f ./ld/Makefile ] || exit 0; \
11431         r=`${PWD_COMMAND}`; export r; \
11432         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11433         $(SET_LIB_PATH) \
11434         for flag in $(EXTRA_HOST_FLAGS); do \
11435           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11436         done; \
11437         echo "Doing installcheck in ld" ; \
11438         (cd ld && \
11439           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441                   "RANLIB=$${RANLIB}" \
11442                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11443                   installcheck) \
11444           || exit 1
11445
11446 @endif ld
11447
11448 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
11449 maybe-mostlyclean-ld:
11450 @if ld
11451 maybe-mostlyclean-ld: mostlyclean-ld
11452
11453 mostlyclean-ld: 
11454         @[ -f ./ld/Makefile ] || exit 0; \
11455         r=`${PWD_COMMAND}`; export r; \
11456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11457         $(SET_LIB_PATH) \
11458         for flag in $(EXTRA_HOST_FLAGS); do \
11459           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11460         done; \
11461         echo "Doing mostlyclean in ld" ; \
11462         (cd ld && \
11463           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11464                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11465                   "RANLIB=$${RANLIB}" \
11466                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11467                   mostlyclean) \
11468           || exit 1
11469
11470 @endif ld
11471
11472 .PHONY: maybe-clean-ld clean-ld
11473 maybe-clean-ld:
11474 @if ld
11475 maybe-clean-ld: clean-ld
11476
11477 clean-ld: 
11478         @[ -f ./ld/Makefile ] || exit 0; \
11479         r=`${PWD_COMMAND}`; export r; \
11480         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11481         $(SET_LIB_PATH) \
11482         for flag in $(EXTRA_HOST_FLAGS); do \
11483           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11484         done; \
11485         echo "Doing clean in ld" ; \
11486         (cd ld && \
11487           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11488                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11489                   "RANLIB=$${RANLIB}" \
11490                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11491                   clean) \
11492           || exit 1
11493
11494 @endif ld
11495
11496 .PHONY: maybe-distclean-ld distclean-ld
11497 maybe-distclean-ld:
11498 @if ld
11499 maybe-distclean-ld: distclean-ld
11500
11501 distclean-ld: 
11502         @[ -f ./ld/Makefile ] || exit 0; \
11503         r=`${PWD_COMMAND}`; export r; \
11504         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505         $(SET_LIB_PATH) \
11506         for flag in $(EXTRA_HOST_FLAGS); do \
11507           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11508         done; \
11509         echo "Doing distclean in ld" ; \
11510         (cd ld && \
11511           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11512                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11513                   "RANLIB=$${RANLIB}" \
11514                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11515                   distclean) \
11516           || exit 1
11517
11518 @endif ld
11519
11520 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
11521 maybe-maintainer-clean-ld:
11522 @if ld
11523 maybe-maintainer-clean-ld: maintainer-clean-ld
11524
11525 maintainer-clean-ld: 
11526         @[ -f ./ld/Makefile ] || exit 0; \
11527         r=`${PWD_COMMAND}`; export r; \
11528         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11529         $(SET_LIB_PATH) \
11530         for flag in $(EXTRA_HOST_FLAGS); do \
11531           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11532         done; \
11533         echo "Doing maintainer-clean in ld" ; \
11534         (cd ld && \
11535           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11536                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11537                   "RANLIB=$${RANLIB}" \
11538                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11539                   maintainer-clean) \
11540           || exit 1
11541
11542 @endif ld
11543
11544
11545 .PHONY: configure-libgui maybe-configure-libgui
11546 maybe-configure-libgui:
11547 @if libgui
11548 maybe-configure-libgui: configure-libgui
11549 configure-libgui:
11550         @test ! -f libgui/Makefile || exit 0; \
11551         [ -d libgui ] || mkdir libgui; \
11552         r=`${PWD_COMMAND}`; export r; \
11553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11554         CC="$(CC)"; export CC; \
11555         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11556         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11557         CXX="$(CXX)"; export CXX; \
11558         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11559         AR="$(AR)"; export AR; \
11560         AS="$(AS)"; export AS; \
11561         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11562         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11563         LD="$(LD)"; export LD; \
11564         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11565         NM="$(NM)"; export NM; \
11566         RANLIB="$(RANLIB)"; export RANLIB; \
11567         WINDRES="$(WINDRES)"; export WINDRES; \
11568         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11569         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11570         echo Configuring in libgui; \
11571         cd libgui || exit 1; \
11572         case $(srcdir) in \
11573           \.) \
11574             srcdiroption="--srcdir=."; \
11575             libsrcdir=".";; \
11576           /* | [A-Za-z]:[\\/]*) \
11577             srcdiroption="--srcdir=$(srcdir)/libgui"; \
11578             libsrcdir="$$s/libgui";; \
11579           *) \
11580             srcdiroption="--srcdir=../$(srcdir)/libgui"; \
11581             libsrcdir="$$s/libgui";; \
11582         esac; \
11583         $(SHELL) $${libsrcdir}/configure \
11584           $(HOST_CONFIGARGS) $${srcdiroption} \
11585           || exit 1
11586 @endif libgui
11587
11588 .PHONY: all-libgui maybe-all-libgui
11589 maybe-all-libgui:
11590 @if libgui
11591 maybe-all-libgui: all-libgui
11592 all-libgui: configure-libgui
11593         @r=`${PWD_COMMAND}`; export r; \
11594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11595         $(SET_LIB_PATH) \
11596         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
11597 @endif libgui
11598
11599 .PHONY: check-libgui maybe-check-libgui
11600 maybe-check-libgui:
11601 @if libgui
11602 maybe-check-libgui: check-libgui
11603
11604 check-libgui:
11605         @r=`${PWD_COMMAND}`; export r; \
11606         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607         $(SET_LIB_PATH) \
11608         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
11609
11610 @endif libgui
11611
11612 .PHONY: install-libgui maybe-install-libgui
11613 maybe-install-libgui:
11614 @if libgui
11615 maybe-install-libgui: install-libgui
11616
11617 install-libgui: installdirs
11618         @r=`${PWD_COMMAND}`; export r; \
11619         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11620         $(SET_LIB_PATH) \
11621         (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
11622
11623 @endif libgui
11624
11625 # Other targets (info, dvi, etc.)
11626
11627 .PHONY: maybe-info-libgui info-libgui
11628 maybe-info-libgui:
11629 @if libgui
11630 maybe-info-libgui: info-libgui
11631
11632 info-libgui: \
11633     configure-libgui 
11634         @[ -f ./libgui/Makefile ] || exit 0; \
11635         r=`${PWD_COMMAND}`; export r; \
11636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637         $(SET_LIB_PATH) \
11638         for flag in $(EXTRA_HOST_FLAGS); do \
11639           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11640         done; \
11641         echo "Doing info in libgui" ; \
11642         (cd libgui && \
11643           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11644                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11645                   "RANLIB=$${RANLIB}" \
11646                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11647                   info) \
11648           || exit 1
11649
11650 @endif libgui
11651
11652 .PHONY: maybe-dvi-libgui dvi-libgui
11653 maybe-dvi-libgui:
11654 @if libgui
11655 maybe-dvi-libgui: dvi-libgui
11656
11657 dvi-libgui: \
11658     configure-libgui 
11659         @[ -f ./libgui/Makefile ] || exit 0; \
11660         r=`${PWD_COMMAND}`; export r; \
11661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11662         $(SET_LIB_PATH) \
11663         for flag in $(EXTRA_HOST_FLAGS); do \
11664           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11665         done; \
11666         echo "Doing dvi in libgui" ; \
11667         (cd libgui && \
11668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11670                   "RANLIB=$${RANLIB}" \
11671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11672                   dvi) \
11673           || exit 1
11674
11675 @endif libgui
11676
11677 .PHONY: maybe-TAGS-libgui TAGS-libgui
11678 maybe-TAGS-libgui:
11679 @if libgui
11680 maybe-TAGS-libgui: TAGS-libgui
11681
11682 TAGS-libgui: \
11683     configure-libgui 
11684         @[ -f ./libgui/Makefile ] || exit 0; \
11685         r=`${PWD_COMMAND}`; export r; \
11686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11687         $(SET_LIB_PATH) \
11688         for flag in $(EXTRA_HOST_FLAGS); do \
11689           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11690         done; \
11691         echo "Doing TAGS in libgui" ; \
11692         (cd libgui && \
11693           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11694                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11695                   "RANLIB=$${RANLIB}" \
11696                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11697                   TAGS) \
11698           || exit 1
11699
11700 @endif libgui
11701
11702 .PHONY: maybe-install-info-libgui install-info-libgui
11703 maybe-install-info-libgui:
11704 @if libgui
11705 maybe-install-info-libgui: install-info-libgui
11706
11707 install-info-libgui: \
11708     configure-libgui \
11709     info-libgui 
11710         @[ -f ./libgui/Makefile ] || exit 0; \
11711         r=`${PWD_COMMAND}`; export r; \
11712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11713         $(SET_LIB_PATH) \
11714         for flag in $(EXTRA_HOST_FLAGS); do \
11715           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11716         done; \
11717         echo "Doing install-info in libgui" ; \
11718         (cd libgui && \
11719           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11720                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11721                   "RANLIB=$${RANLIB}" \
11722                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11723                   install-info) \
11724           || exit 1
11725
11726 @endif libgui
11727
11728 .PHONY: maybe-installcheck-libgui installcheck-libgui
11729 maybe-installcheck-libgui:
11730 @if libgui
11731 maybe-installcheck-libgui: installcheck-libgui
11732
11733 installcheck-libgui: \
11734     configure-libgui 
11735         @[ -f ./libgui/Makefile ] || exit 0; \
11736         r=`${PWD_COMMAND}`; export r; \
11737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11738         $(SET_LIB_PATH) \
11739         for flag in $(EXTRA_HOST_FLAGS); do \
11740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11741         done; \
11742         echo "Doing installcheck in libgui" ; \
11743         (cd libgui && \
11744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11746                   "RANLIB=$${RANLIB}" \
11747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11748                   installcheck) \
11749           || exit 1
11750
11751 @endif libgui
11752
11753 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
11754 maybe-mostlyclean-libgui:
11755 @if libgui
11756 maybe-mostlyclean-libgui: mostlyclean-libgui
11757
11758 mostlyclean-libgui: 
11759         @[ -f ./libgui/Makefile ] || exit 0; \
11760         r=`${PWD_COMMAND}`; export r; \
11761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11762         $(SET_LIB_PATH) \
11763         for flag in $(EXTRA_HOST_FLAGS); do \
11764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11765         done; \
11766         echo "Doing mostlyclean in libgui" ; \
11767         (cd libgui && \
11768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11770                   "RANLIB=$${RANLIB}" \
11771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11772                   mostlyclean) \
11773           || exit 1
11774
11775 @endif libgui
11776
11777 .PHONY: maybe-clean-libgui clean-libgui
11778 maybe-clean-libgui:
11779 @if libgui
11780 maybe-clean-libgui: clean-libgui
11781
11782 clean-libgui: 
11783         @[ -f ./libgui/Makefile ] || exit 0; \
11784         r=`${PWD_COMMAND}`; export r; \
11785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11786         $(SET_LIB_PATH) \
11787         for flag in $(EXTRA_HOST_FLAGS); do \
11788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11789         done; \
11790         echo "Doing clean in libgui" ; \
11791         (cd libgui && \
11792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794                   "RANLIB=$${RANLIB}" \
11795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11796                   clean) \
11797           || exit 1
11798
11799 @endif libgui
11800
11801 .PHONY: maybe-distclean-libgui distclean-libgui
11802 maybe-distclean-libgui:
11803 @if libgui
11804 maybe-distclean-libgui: distclean-libgui
11805
11806 distclean-libgui: 
11807         @[ -f ./libgui/Makefile ] || exit 0; \
11808         r=`${PWD_COMMAND}`; export r; \
11809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810         $(SET_LIB_PATH) \
11811         for flag in $(EXTRA_HOST_FLAGS); do \
11812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11813         done; \
11814         echo "Doing distclean in libgui" ; \
11815         (cd libgui && \
11816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11818                   "RANLIB=$${RANLIB}" \
11819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11820                   distclean) \
11821           || exit 1
11822
11823 @endif libgui
11824
11825 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
11826 maybe-maintainer-clean-libgui:
11827 @if libgui
11828 maybe-maintainer-clean-libgui: maintainer-clean-libgui
11829
11830 maintainer-clean-libgui: 
11831         @[ -f ./libgui/Makefile ] || exit 0; \
11832         r=`${PWD_COMMAND}`; export r; \
11833         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11834         $(SET_LIB_PATH) \
11835         for flag in $(EXTRA_HOST_FLAGS); do \
11836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11837         done; \
11838         echo "Doing maintainer-clean in libgui" ; \
11839         (cd libgui && \
11840           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11841                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11842                   "RANLIB=$${RANLIB}" \
11843                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11844                   maintainer-clean) \
11845           || exit 1
11846
11847 @endif libgui
11848
11849
11850 .PHONY: configure-libbanshee maybe-configure-libbanshee
11851 maybe-configure-libbanshee:
11852 @if libbanshee
11853 maybe-configure-libbanshee: configure-libbanshee
11854 configure-libbanshee:
11855         @test ! -f libbanshee/Makefile || exit 0; \
11856         [ -d libbanshee ] || mkdir libbanshee; \
11857         r=`${PWD_COMMAND}`; export r; \
11858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859         CC="$(CC)"; export CC; \
11860         CFLAGS="$(CFLAGS)"; export CFLAGS; \
11861         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11862         CXX="$(CXX)"; export CXX; \
11863         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11864         AR="$(AR)"; export AR; \
11865         AS="$(AS)"; export AS; \
11866         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11867         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11868         LD="$(LD)"; export LD; \
11869         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11870         NM="$(NM)"; export NM; \
11871         RANLIB="$(RANLIB)"; export RANLIB; \
11872         WINDRES="$(WINDRES)"; export WINDRES; \
11873         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11874         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11875         echo Configuring in libbanshee; \
11876         cd libbanshee || exit 1; \
11877         case $(srcdir) in \
11878           \.) \
11879             srcdiroption="--srcdir=."; \
11880             libsrcdir=".";; \
11881           /* | [A-Za-z]:[\\/]*) \
11882             srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
11883             libsrcdir="$$s/libbanshee";; \
11884           *) \
11885             srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
11886             libsrcdir="$$s/libbanshee";; \
11887         esac; \
11888         $(SHELL) $${libsrcdir}/configure \
11889           $(HOST_CONFIGARGS) $${srcdiroption} \
11890           || exit 1
11891 @endif libbanshee
11892
11893 .PHONY: all-libbanshee maybe-all-libbanshee
11894 maybe-all-libbanshee:
11895 @if libbanshee
11896 maybe-all-libbanshee: all-libbanshee
11897 all-libbanshee: configure-libbanshee
11898         @r=`${PWD_COMMAND}`; export r; \
11899         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11900         $(SET_LIB_PATH) \
11901         (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
11902 @endif libbanshee
11903
11904 .PHONY: check-libbanshee maybe-check-libbanshee
11905 maybe-check-libbanshee:
11906 @if libbanshee
11907 maybe-check-libbanshee: check-libbanshee
11908
11909 check-libbanshee:
11910         @r=`${PWD_COMMAND}`; export r; \
11911         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912         $(SET_LIB_PATH) \
11913         (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
11914
11915 @endif libbanshee
11916
11917 .PHONY: install-libbanshee maybe-install-libbanshee
11918 maybe-install-libbanshee:
11919 @if libbanshee
11920 maybe-install-libbanshee: install-libbanshee
11921
11922 install-libbanshee:
11923
11924 @endif libbanshee
11925
11926 # Other targets (info, dvi, etc.)
11927
11928 .PHONY: maybe-info-libbanshee info-libbanshee
11929 maybe-info-libbanshee:
11930 @if libbanshee
11931 maybe-info-libbanshee: info-libbanshee
11932
11933 info-libbanshee: \
11934     configure-libbanshee 
11935         @[ -f ./libbanshee/Makefile ] || exit 0; \
11936         r=`${PWD_COMMAND}`; export r; \
11937         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11938         $(SET_LIB_PATH) \
11939         for flag in $(EXTRA_HOST_FLAGS); do \
11940           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11941         done; \
11942         echo "Doing info in libbanshee" ; \
11943         (cd libbanshee && \
11944           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11945                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11946                   "RANLIB=$${RANLIB}" \
11947                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11948                   info) \
11949           || exit 1
11950
11951 @endif libbanshee
11952
11953 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
11954 maybe-dvi-libbanshee:
11955 @if libbanshee
11956 maybe-dvi-libbanshee: dvi-libbanshee
11957
11958 dvi-libbanshee: \
11959     configure-libbanshee 
11960         @[ -f ./libbanshee/Makefile ] || exit 0; \
11961         r=`${PWD_COMMAND}`; export r; \
11962         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11963         $(SET_LIB_PATH) \
11964         for flag in $(EXTRA_HOST_FLAGS); do \
11965           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11966         done; \
11967         echo "Doing dvi in libbanshee" ; \
11968         (cd libbanshee && \
11969           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11970                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11971                   "RANLIB=$${RANLIB}" \
11972                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11973                   dvi) \
11974           || exit 1
11975
11976 @endif libbanshee
11977
11978 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
11979 maybe-TAGS-libbanshee:
11980 @if libbanshee
11981 maybe-TAGS-libbanshee: TAGS-libbanshee
11982
11983 TAGS-libbanshee: \
11984     configure-libbanshee 
11985         @[ -f ./libbanshee/Makefile ] || exit 0; \
11986         r=`${PWD_COMMAND}`; export r; \
11987         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11988         $(SET_LIB_PATH) \
11989         for flag in $(EXTRA_HOST_FLAGS); do \
11990           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11991         done; \
11992         echo "Doing TAGS in libbanshee" ; \
11993         (cd libbanshee && \
11994           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11995                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11996                   "RANLIB=$${RANLIB}" \
11997                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11998                   TAGS) \
11999           || exit 1
12000
12001 @endif libbanshee
12002
12003 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12004 maybe-install-info-libbanshee:
12005 @if libbanshee
12006 maybe-install-info-libbanshee: install-info-libbanshee
12007
12008 install-info-libbanshee: \
12009     configure-libbanshee \
12010     info-libbanshee 
12011         @[ -f ./libbanshee/Makefile ] || exit 0; \
12012         r=`${PWD_COMMAND}`; export r; \
12013         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12014         $(SET_LIB_PATH) \
12015         for flag in $(EXTRA_HOST_FLAGS); do \
12016           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12017         done; \
12018         echo "Doing install-info in libbanshee" ; \
12019         (cd libbanshee && \
12020           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12021                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12022                   "RANLIB=$${RANLIB}" \
12023                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12024                   install-info) \
12025           || exit 1
12026
12027 @endif libbanshee
12028
12029 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12030 maybe-installcheck-libbanshee:
12031 @if libbanshee
12032 maybe-installcheck-libbanshee: installcheck-libbanshee
12033
12034 installcheck-libbanshee: \
12035     configure-libbanshee 
12036         @[ -f ./libbanshee/Makefile ] || exit 0; \
12037         r=`${PWD_COMMAND}`; export r; \
12038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12039         $(SET_LIB_PATH) \
12040         for flag in $(EXTRA_HOST_FLAGS); do \
12041           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12042         done; \
12043         echo "Doing installcheck in libbanshee" ; \
12044         (cd libbanshee && \
12045           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12046                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12047                   "RANLIB=$${RANLIB}" \
12048                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12049                   installcheck) \
12050           || exit 1
12051
12052 @endif libbanshee
12053
12054 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12055 maybe-mostlyclean-libbanshee:
12056 @if libbanshee
12057 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12058
12059 mostlyclean-libbanshee: 
12060         @[ -f ./libbanshee/Makefile ] || exit 0; \
12061         r=`${PWD_COMMAND}`; export r; \
12062         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12063         $(SET_LIB_PATH) \
12064         for flag in $(EXTRA_HOST_FLAGS); do \
12065           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12066         done; \
12067         echo "Doing mostlyclean in libbanshee" ; \
12068         (cd libbanshee && \
12069           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12070                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12071                   "RANLIB=$${RANLIB}" \
12072                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12073                   mostlyclean) \
12074           || exit 1
12075
12076 @endif libbanshee
12077
12078 .PHONY: maybe-clean-libbanshee clean-libbanshee
12079 maybe-clean-libbanshee:
12080 @if libbanshee
12081 maybe-clean-libbanshee: clean-libbanshee
12082
12083 clean-libbanshee: 
12084         @[ -f ./libbanshee/Makefile ] || exit 0; \
12085         r=`${PWD_COMMAND}`; export r; \
12086         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12087         $(SET_LIB_PATH) \
12088         for flag in $(EXTRA_HOST_FLAGS); do \
12089           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12090         done; \
12091         echo "Doing clean in libbanshee" ; \
12092         (cd libbanshee && \
12093           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12094                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12095                   "RANLIB=$${RANLIB}" \
12096                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12097                   clean) \
12098           || exit 1
12099
12100 @endif libbanshee
12101
12102 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12103 maybe-distclean-libbanshee:
12104 @if libbanshee
12105 maybe-distclean-libbanshee: distclean-libbanshee
12106
12107 distclean-libbanshee: 
12108         @[ -f ./libbanshee/Makefile ] || exit 0; \
12109         r=`${PWD_COMMAND}`; export r; \
12110         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12111         $(SET_LIB_PATH) \
12112         for flag in $(EXTRA_HOST_FLAGS); do \
12113           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12114         done; \
12115         echo "Doing distclean in libbanshee" ; \
12116         (cd libbanshee && \
12117           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12118                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12119                   "RANLIB=$${RANLIB}" \
12120                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12121                   distclean) \
12122           || exit 1
12123
12124 @endif libbanshee
12125
12126 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
12127 maybe-maintainer-clean-libbanshee:
12128 @if libbanshee
12129 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
12130
12131 maintainer-clean-libbanshee: 
12132         @[ -f ./libbanshee/Makefile ] || exit 0; \
12133         r=`${PWD_COMMAND}`; export r; \
12134         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12135         $(SET_LIB_PATH) \
12136         for flag in $(EXTRA_HOST_FLAGS); do \
12137           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12138         done; \
12139         echo "Doing maintainer-clean in libbanshee" ; \
12140         (cd libbanshee && \
12141           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12142                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12143                   "RANLIB=$${RANLIB}" \
12144                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12145                   maintainer-clean) \
12146           || exit 1
12147
12148 @endif libbanshee
12149
12150
12151 .PHONY: configure-libiberty maybe-configure-libiberty
12152 maybe-configure-libiberty:
12153 @if libiberty
12154 maybe-configure-libiberty: configure-libiberty
12155 configure-libiberty:
12156         @test ! -f libiberty/Makefile || exit 0; \
12157         [ -d libiberty ] || mkdir libiberty; \
12158         r=`${PWD_COMMAND}`; export r; \
12159         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12160         CC="$(CC)"; export CC; \
12161         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12162         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12163         CXX="$(CXX)"; export CXX; \
12164         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12165         AR="$(AR)"; export AR; \
12166         AS="$(AS)"; export AS; \
12167         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12168         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12169         LD="$(LD)"; export LD; \
12170         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12171         NM="$(NM)"; export NM; \
12172         RANLIB="$(RANLIB)"; export RANLIB; \
12173         WINDRES="$(WINDRES)"; export WINDRES; \
12174         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12175         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12176         echo Configuring in libiberty; \
12177         cd libiberty || exit 1; \
12178         case $(srcdir) in \
12179           \.) \
12180             srcdiroption="--srcdir=."; \
12181             libsrcdir=".";; \
12182           /* | [A-Za-z]:[\\/]*) \
12183             srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12184             libsrcdir="$$s/libiberty";; \
12185           *) \
12186             srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12187             libsrcdir="$$s/libiberty";; \
12188         esac; \
12189         $(SHELL) $${libsrcdir}/configure \
12190           $(HOST_CONFIGARGS) $${srcdiroption} \
12191           || exit 1
12192 @endif libiberty
12193
12194 .PHONY: all-libiberty maybe-all-libiberty
12195 maybe-all-libiberty:
12196 @if libiberty
12197 maybe-all-libiberty: all-libiberty
12198 all-libiberty: configure-libiberty
12199         @r=`${PWD_COMMAND}`; export r; \
12200         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12201         $(SET_LIB_PATH) \
12202         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12203 @endif libiberty
12204
12205 .PHONY: check-libiberty maybe-check-libiberty
12206 maybe-check-libiberty:
12207 @if libiberty
12208 maybe-check-libiberty: check-libiberty
12209
12210 check-libiberty:
12211         @r=`${PWD_COMMAND}`; export r; \
12212         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12213         $(SET_LIB_PATH) \
12214         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12215
12216 @endif libiberty
12217
12218 .PHONY: install-libiberty maybe-install-libiberty
12219 maybe-install-libiberty:
12220 @if libiberty
12221 maybe-install-libiberty: install-libiberty
12222
12223 install-libiberty: installdirs
12224         @r=`${PWD_COMMAND}`; export r; \
12225         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12226         $(SET_LIB_PATH) \
12227         (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12228
12229 @endif libiberty
12230
12231 # Other targets (info, dvi, etc.)
12232
12233 .PHONY: maybe-info-libiberty info-libiberty
12234 maybe-info-libiberty:
12235 @if libiberty
12236 maybe-info-libiberty: info-libiberty
12237
12238 info-libiberty: \
12239     configure-libiberty 
12240         @[ -f ./libiberty/Makefile ] || exit 0; \
12241         r=`${PWD_COMMAND}`; export r; \
12242         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243         $(SET_LIB_PATH) \
12244         for flag in $(EXTRA_HOST_FLAGS); do \
12245           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12246         done; \
12247         echo "Doing info in libiberty" ; \
12248         (cd libiberty && \
12249           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12250                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12251                   "RANLIB=$${RANLIB}" \
12252                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12253                   info) \
12254           || exit 1
12255
12256 @endif libiberty
12257
12258 .PHONY: maybe-dvi-libiberty dvi-libiberty
12259 maybe-dvi-libiberty:
12260 @if libiberty
12261 maybe-dvi-libiberty: dvi-libiberty
12262
12263 dvi-libiberty: \
12264     configure-libiberty 
12265         @[ -f ./libiberty/Makefile ] || exit 0; \
12266         r=`${PWD_COMMAND}`; export r; \
12267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12268         $(SET_LIB_PATH) \
12269         for flag in $(EXTRA_HOST_FLAGS); do \
12270           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12271         done; \
12272         echo "Doing dvi in libiberty" ; \
12273         (cd libiberty && \
12274           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12275                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12276                   "RANLIB=$${RANLIB}" \
12277                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12278                   dvi) \
12279           || exit 1
12280
12281 @endif libiberty
12282
12283 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12284 maybe-TAGS-libiberty:
12285 @if libiberty
12286 maybe-TAGS-libiberty: TAGS-libiberty
12287
12288 TAGS-libiberty: \
12289     configure-libiberty 
12290         @[ -f ./libiberty/Makefile ] || exit 0; \
12291         r=`${PWD_COMMAND}`; export r; \
12292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12293         $(SET_LIB_PATH) \
12294         for flag in $(EXTRA_HOST_FLAGS); do \
12295           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12296         done; \
12297         echo "Doing TAGS in libiberty" ; \
12298         (cd libiberty && \
12299           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12300                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12301                   "RANLIB=$${RANLIB}" \
12302                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12303                   TAGS) \
12304           || exit 1
12305
12306 @endif libiberty
12307
12308 .PHONY: maybe-install-info-libiberty install-info-libiberty
12309 maybe-install-info-libiberty:
12310 @if libiberty
12311 maybe-install-info-libiberty: install-info-libiberty
12312
12313 install-info-libiberty: \
12314     configure-libiberty \
12315     info-libiberty 
12316         @[ -f ./libiberty/Makefile ] || exit 0; \
12317         r=`${PWD_COMMAND}`; export r; \
12318         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12319         $(SET_LIB_PATH) \
12320         for flag in $(EXTRA_HOST_FLAGS); do \
12321           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12322         done; \
12323         echo "Doing install-info in libiberty" ; \
12324         (cd libiberty && \
12325           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12326                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12327                   "RANLIB=$${RANLIB}" \
12328                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12329                   install-info) \
12330           || exit 1
12331
12332 @endif libiberty
12333
12334 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12335 maybe-installcheck-libiberty:
12336 @if libiberty
12337 maybe-installcheck-libiberty: installcheck-libiberty
12338
12339 installcheck-libiberty: \
12340     configure-libiberty 
12341         @[ -f ./libiberty/Makefile ] || exit 0; \
12342         r=`${PWD_COMMAND}`; export r; \
12343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12344         $(SET_LIB_PATH) \
12345         for flag in $(EXTRA_HOST_FLAGS); do \
12346           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12347         done; \
12348         echo "Doing installcheck in libiberty" ; \
12349         (cd libiberty && \
12350           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12351                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12352                   "RANLIB=$${RANLIB}" \
12353                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12354                   installcheck) \
12355           || exit 1
12356
12357 @endif libiberty
12358
12359 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12360 maybe-mostlyclean-libiberty:
12361 @if libiberty
12362 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12363
12364 mostlyclean-libiberty: 
12365         @[ -f ./libiberty/Makefile ] || exit 0; \
12366         r=`${PWD_COMMAND}`; export r; \
12367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12368         $(SET_LIB_PATH) \
12369         for flag in $(EXTRA_HOST_FLAGS); do \
12370           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12371         done; \
12372         echo "Doing mostlyclean in libiberty" ; \
12373         (cd libiberty && \
12374           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12375                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12376                   "RANLIB=$${RANLIB}" \
12377                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12378                   mostlyclean) \
12379           || exit 1
12380
12381 @endif libiberty
12382
12383 .PHONY: maybe-clean-libiberty clean-libiberty
12384 maybe-clean-libiberty:
12385 @if libiberty
12386 maybe-clean-libiberty: clean-libiberty
12387
12388 clean-libiberty: 
12389         @[ -f ./libiberty/Makefile ] || exit 0; \
12390         r=`${PWD_COMMAND}`; export r; \
12391         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392         $(SET_LIB_PATH) \
12393         for flag in $(EXTRA_HOST_FLAGS); do \
12394           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12395         done; \
12396         echo "Doing clean in libiberty" ; \
12397         (cd libiberty && \
12398           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12399                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12400                   "RANLIB=$${RANLIB}" \
12401                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12402                   clean) \
12403           || exit 1
12404
12405 @endif libiberty
12406
12407 .PHONY: maybe-distclean-libiberty distclean-libiberty
12408 maybe-distclean-libiberty:
12409 @if libiberty
12410 maybe-distclean-libiberty: distclean-libiberty
12411
12412 distclean-libiberty: 
12413         @[ -f ./libiberty/Makefile ] || exit 0; \
12414         r=`${PWD_COMMAND}`; export r; \
12415         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12416         $(SET_LIB_PATH) \
12417         for flag in $(EXTRA_HOST_FLAGS); do \
12418           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12419         done; \
12420         echo "Doing distclean in libiberty" ; \
12421         (cd libiberty && \
12422           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12423                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12424                   "RANLIB=$${RANLIB}" \
12425                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12426                   distclean) \
12427           || exit 1
12428
12429 @endif libiberty
12430
12431 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
12432 maybe-maintainer-clean-libiberty:
12433 @if libiberty
12434 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
12435
12436 maintainer-clean-libiberty: 
12437         @[ -f ./libiberty/Makefile ] || exit 0; \
12438         r=`${PWD_COMMAND}`; export r; \
12439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12440         $(SET_LIB_PATH) \
12441         for flag in $(EXTRA_HOST_FLAGS); do \
12442           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12443         done; \
12444         echo "Doing maintainer-clean in libiberty" ; \
12445         (cd libiberty && \
12446           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12447                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12448                   "RANLIB=$${RANLIB}" \
12449                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12450                   maintainer-clean) \
12451           || exit 1
12452
12453 @endif libiberty
12454
12455
12456 .PHONY: configure-libtool maybe-configure-libtool
12457 maybe-configure-libtool:
12458 @if libtool
12459 maybe-configure-libtool: configure-libtool
12460 configure-libtool:
12461         @test ! -f libtool/Makefile || exit 0; \
12462         [ -d libtool ] || mkdir libtool; \
12463         r=`${PWD_COMMAND}`; export r; \
12464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12465         CC="$(CC)"; export CC; \
12466         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12467         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12468         CXX="$(CXX)"; export CXX; \
12469         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12470         AR="$(AR)"; export AR; \
12471         AS="$(AS)"; export AS; \
12472         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12473         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12474         LD="$(LD)"; export LD; \
12475         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12476         NM="$(NM)"; export NM; \
12477         RANLIB="$(RANLIB)"; export RANLIB; \
12478         WINDRES="$(WINDRES)"; export WINDRES; \
12479         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12480         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12481         echo Configuring in libtool; \
12482         cd libtool || exit 1; \
12483         case $(srcdir) in \
12484           \.) \
12485             srcdiroption="--srcdir=."; \
12486             libsrcdir=".";; \
12487           /* | [A-Za-z]:[\\/]*) \
12488             srcdiroption="--srcdir=$(srcdir)/libtool"; \
12489             libsrcdir="$$s/libtool";; \
12490           *) \
12491             srcdiroption="--srcdir=../$(srcdir)/libtool"; \
12492             libsrcdir="$$s/libtool";; \
12493         esac; \
12494         $(SHELL) $${libsrcdir}/configure \
12495           $(HOST_CONFIGARGS) $${srcdiroption} \
12496           || exit 1
12497 @endif libtool
12498
12499 .PHONY: all-libtool maybe-all-libtool
12500 maybe-all-libtool:
12501 @if libtool
12502 maybe-all-libtool: all-libtool
12503 all-libtool: configure-libtool
12504         @r=`${PWD_COMMAND}`; export r; \
12505         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12506         $(SET_LIB_PATH) \
12507         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
12508 @endif libtool
12509
12510 .PHONY: check-libtool maybe-check-libtool
12511 maybe-check-libtool:
12512 @if libtool
12513 maybe-check-libtool: check-libtool
12514
12515 check-libtool:
12516         @r=`${PWD_COMMAND}`; export r; \
12517         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518         $(SET_LIB_PATH) \
12519         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
12520
12521 @endif libtool
12522
12523 .PHONY: install-libtool maybe-install-libtool
12524 maybe-install-libtool:
12525 @if libtool
12526 maybe-install-libtool: install-libtool
12527
12528 install-libtool: installdirs
12529         @r=`${PWD_COMMAND}`; export r; \
12530         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12531         $(SET_LIB_PATH) \
12532         (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
12533
12534 @endif libtool
12535
12536 # Other targets (info, dvi, etc.)
12537
12538 .PHONY: maybe-info-libtool info-libtool
12539 maybe-info-libtool:
12540 @if libtool
12541 maybe-info-libtool: info-libtool
12542
12543 info-libtool: \
12544     configure-libtool 
12545         @[ -f ./libtool/Makefile ] || exit 0; \
12546         r=`${PWD_COMMAND}`; export r; \
12547         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12548         $(SET_LIB_PATH) \
12549         for flag in $(EXTRA_HOST_FLAGS); do \
12550           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12551         done; \
12552         echo "Doing info in libtool" ; \
12553         (cd libtool && \
12554           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12555                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12556                   "RANLIB=$${RANLIB}" \
12557                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12558                   info) \
12559           || exit 1
12560
12561 @endif libtool
12562
12563 .PHONY: maybe-dvi-libtool dvi-libtool
12564 maybe-dvi-libtool:
12565 @if libtool
12566 maybe-dvi-libtool: dvi-libtool
12567
12568 dvi-libtool: \
12569     configure-libtool 
12570         @[ -f ./libtool/Makefile ] || exit 0; \
12571         r=`${PWD_COMMAND}`; export r; \
12572         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12573         $(SET_LIB_PATH) \
12574         for flag in $(EXTRA_HOST_FLAGS); do \
12575           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12576         done; \
12577         echo "Doing dvi in libtool" ; \
12578         (cd libtool && \
12579           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12580                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12581                   "RANLIB=$${RANLIB}" \
12582                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12583                   dvi) \
12584           || exit 1
12585
12586 @endif libtool
12587
12588 .PHONY: maybe-TAGS-libtool TAGS-libtool
12589 maybe-TAGS-libtool:
12590 @if libtool
12591 maybe-TAGS-libtool: TAGS-libtool
12592
12593 TAGS-libtool: \
12594     configure-libtool 
12595         @[ -f ./libtool/Makefile ] || exit 0; \
12596         r=`${PWD_COMMAND}`; export r; \
12597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12598         $(SET_LIB_PATH) \
12599         for flag in $(EXTRA_HOST_FLAGS); do \
12600           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601         done; \
12602         echo "Doing TAGS in libtool" ; \
12603         (cd libtool && \
12604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606                   "RANLIB=$${RANLIB}" \
12607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12608                   TAGS) \
12609           || exit 1
12610
12611 @endif libtool
12612
12613 .PHONY: maybe-install-info-libtool install-info-libtool
12614 maybe-install-info-libtool:
12615 @if libtool
12616 maybe-install-info-libtool: install-info-libtool
12617
12618 install-info-libtool: \
12619     configure-libtool \
12620     info-libtool 
12621         @[ -f ./libtool/Makefile ] || exit 0; \
12622         r=`${PWD_COMMAND}`; export r; \
12623         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624         $(SET_LIB_PATH) \
12625         for flag in $(EXTRA_HOST_FLAGS); do \
12626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627         done; \
12628         echo "Doing install-info in libtool" ; \
12629         (cd libtool && \
12630           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632                   "RANLIB=$${RANLIB}" \
12633                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12634                   install-info) \
12635           || exit 1
12636
12637 @endif libtool
12638
12639 .PHONY: maybe-installcheck-libtool installcheck-libtool
12640 maybe-installcheck-libtool:
12641 @if libtool
12642 maybe-installcheck-libtool: installcheck-libtool
12643
12644 installcheck-libtool: \
12645     configure-libtool 
12646         @[ -f ./libtool/Makefile ] || exit 0; \
12647         r=`${PWD_COMMAND}`; export r; \
12648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12649         $(SET_LIB_PATH) \
12650         for flag in $(EXTRA_HOST_FLAGS); do \
12651           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12652         done; \
12653         echo "Doing installcheck in libtool" ; \
12654         (cd libtool && \
12655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12657                   "RANLIB=$${RANLIB}" \
12658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12659                   installcheck) \
12660           || exit 1
12661
12662 @endif libtool
12663
12664 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
12665 maybe-mostlyclean-libtool:
12666 @if libtool
12667 maybe-mostlyclean-libtool: mostlyclean-libtool
12668
12669 mostlyclean-libtool: 
12670         @[ -f ./libtool/Makefile ] || exit 0; \
12671         r=`${PWD_COMMAND}`; export r; \
12672         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12673         $(SET_LIB_PATH) \
12674         for flag in $(EXTRA_HOST_FLAGS); do \
12675           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12676         done; \
12677         echo "Doing mostlyclean in libtool" ; \
12678         (cd libtool && \
12679           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12680                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12681                   "RANLIB=$${RANLIB}" \
12682                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12683                   mostlyclean) \
12684           || exit 1
12685
12686 @endif libtool
12687
12688 .PHONY: maybe-clean-libtool clean-libtool
12689 maybe-clean-libtool:
12690 @if libtool
12691 maybe-clean-libtool: clean-libtool
12692
12693 clean-libtool: 
12694         @[ -f ./libtool/Makefile ] || exit 0; \
12695         r=`${PWD_COMMAND}`; export r; \
12696         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12697         $(SET_LIB_PATH) \
12698         for flag in $(EXTRA_HOST_FLAGS); do \
12699           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12700         done; \
12701         echo "Doing clean in libtool" ; \
12702         (cd libtool && \
12703           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12704                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12705                   "RANLIB=$${RANLIB}" \
12706                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12707                   clean) \
12708           || exit 1
12709
12710 @endif libtool
12711
12712 .PHONY: maybe-distclean-libtool distclean-libtool
12713 maybe-distclean-libtool:
12714 @if libtool
12715 maybe-distclean-libtool: distclean-libtool
12716
12717 distclean-libtool: 
12718         @[ -f ./libtool/Makefile ] || exit 0; \
12719         r=`${PWD_COMMAND}`; export r; \
12720         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12721         $(SET_LIB_PATH) \
12722         for flag in $(EXTRA_HOST_FLAGS); do \
12723           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12724         done; \
12725         echo "Doing distclean in libtool" ; \
12726         (cd libtool && \
12727           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12728                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12729                   "RANLIB=$${RANLIB}" \
12730                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12731                   distclean) \
12732           || exit 1
12733
12734 @endif libtool
12735
12736 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
12737 maybe-maintainer-clean-libtool:
12738 @if libtool
12739 maybe-maintainer-clean-libtool: maintainer-clean-libtool
12740
12741 maintainer-clean-libtool: 
12742         @[ -f ./libtool/Makefile ] || exit 0; \
12743         r=`${PWD_COMMAND}`; export r; \
12744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12745         $(SET_LIB_PATH) \
12746         for flag in $(EXTRA_HOST_FLAGS); do \
12747           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12748         done; \
12749         echo "Doing maintainer-clean in libtool" ; \
12750         (cd libtool && \
12751           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12752                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12753                   "RANLIB=$${RANLIB}" \
12754                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12755                   maintainer-clean) \
12756           || exit 1
12757
12758 @endif libtool
12759
12760
12761 .PHONY: configure-m4 maybe-configure-m4
12762 maybe-configure-m4:
12763 @if m4
12764 maybe-configure-m4: configure-m4
12765 configure-m4:
12766         @test ! -f m4/Makefile || exit 0; \
12767         [ -d m4 ] || mkdir m4; \
12768         r=`${PWD_COMMAND}`; export r; \
12769         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770         CC="$(CC)"; export CC; \
12771         CFLAGS="$(CFLAGS)"; export CFLAGS; \
12772         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12773         CXX="$(CXX)"; export CXX; \
12774         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12775         AR="$(AR)"; export AR; \
12776         AS="$(AS)"; export AS; \
12777         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12778         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12779         LD="$(LD)"; export LD; \
12780         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12781         NM="$(NM)"; export NM; \
12782         RANLIB="$(RANLIB)"; export RANLIB; \
12783         WINDRES="$(WINDRES)"; export WINDRES; \
12784         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12785         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12786         echo Configuring in m4; \
12787         cd m4 || exit 1; \
12788         case $(srcdir) in \
12789           \.) \
12790             srcdiroption="--srcdir=."; \
12791             libsrcdir=".";; \
12792           /* | [A-Za-z]:[\\/]*) \
12793             srcdiroption="--srcdir=$(srcdir)/m4"; \
12794             libsrcdir="$$s/m4";; \
12795           *) \
12796             srcdiroption="--srcdir=../$(srcdir)/m4"; \
12797             libsrcdir="$$s/m4";; \
12798         esac; \
12799         $(SHELL) $${libsrcdir}/configure \
12800           $(HOST_CONFIGARGS) $${srcdiroption} \
12801           || exit 1
12802 @endif m4
12803
12804 .PHONY: all-m4 maybe-all-m4
12805 maybe-all-m4:
12806 @if m4
12807 maybe-all-m4: all-m4
12808 all-m4: configure-m4
12809         @r=`${PWD_COMMAND}`; export r; \
12810         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12811         $(SET_LIB_PATH) \
12812         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
12813 @endif m4
12814
12815 .PHONY: check-m4 maybe-check-m4
12816 maybe-check-m4:
12817 @if m4
12818 maybe-check-m4: check-m4
12819
12820 check-m4:
12821         @r=`${PWD_COMMAND}`; export r; \
12822         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12823         $(SET_LIB_PATH) \
12824         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
12825
12826 @endif m4
12827
12828 .PHONY: install-m4 maybe-install-m4
12829 maybe-install-m4:
12830 @if m4
12831 maybe-install-m4: install-m4
12832
12833 install-m4: installdirs
12834         @r=`${PWD_COMMAND}`; export r; \
12835         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12836         $(SET_LIB_PATH) \
12837         (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
12838
12839 @endif m4
12840
12841 # Other targets (info, dvi, etc.)
12842
12843 .PHONY: maybe-info-m4 info-m4
12844 maybe-info-m4:
12845 @if m4
12846 maybe-info-m4: info-m4
12847
12848 info-m4: \
12849     configure-m4 
12850         @[ -f ./m4/Makefile ] || exit 0; \
12851         r=`${PWD_COMMAND}`; export r; \
12852         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12853         $(SET_LIB_PATH) \
12854         for flag in $(EXTRA_HOST_FLAGS); do \
12855           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12856         done; \
12857         echo "Doing info in m4" ; \
12858         (cd m4 && \
12859           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12860                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12861                   "RANLIB=$${RANLIB}" \
12862                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12863                   info) \
12864           || exit 1
12865
12866 @endif m4
12867
12868 .PHONY: maybe-dvi-m4 dvi-m4
12869 maybe-dvi-m4:
12870 @if m4
12871 maybe-dvi-m4: dvi-m4
12872
12873 dvi-m4: \
12874     configure-m4 
12875         @[ -f ./m4/Makefile ] || exit 0; \
12876         r=`${PWD_COMMAND}`; export r; \
12877         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12878         $(SET_LIB_PATH) \
12879         for flag in $(EXTRA_HOST_FLAGS); do \
12880           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12881         done; \
12882         echo "Doing dvi in m4" ; \
12883         (cd m4 && \
12884           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12885                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12886                   "RANLIB=$${RANLIB}" \
12887                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12888                   dvi) \
12889           || exit 1
12890
12891 @endif m4
12892
12893 .PHONY: maybe-TAGS-m4 TAGS-m4
12894 maybe-TAGS-m4:
12895 @if m4
12896 maybe-TAGS-m4: TAGS-m4
12897
12898 TAGS-m4: \
12899     configure-m4 
12900         @[ -f ./m4/Makefile ] || exit 0; \
12901         r=`${PWD_COMMAND}`; export r; \
12902         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12903         $(SET_LIB_PATH) \
12904         for flag in $(EXTRA_HOST_FLAGS); do \
12905           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12906         done; \
12907         echo "Doing TAGS in m4" ; \
12908         (cd m4 && \
12909           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12910                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12911                   "RANLIB=$${RANLIB}" \
12912                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12913                   TAGS) \
12914           || exit 1
12915
12916 @endif m4
12917
12918 .PHONY: maybe-install-info-m4 install-info-m4
12919 maybe-install-info-m4:
12920 @if m4
12921 maybe-install-info-m4: install-info-m4
12922
12923 install-info-m4: \
12924     configure-m4 \
12925     info-m4 
12926         @[ -f ./m4/Makefile ] || exit 0; \
12927         r=`${PWD_COMMAND}`; export r; \
12928         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12929         $(SET_LIB_PATH) \
12930         for flag in $(EXTRA_HOST_FLAGS); do \
12931           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12932         done; \
12933         echo "Doing install-info in m4" ; \
12934         (cd m4 && \
12935           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12936                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12937                   "RANLIB=$${RANLIB}" \
12938                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12939                   install-info) \
12940           || exit 1
12941
12942 @endif m4
12943
12944 .PHONY: maybe-installcheck-m4 installcheck-m4
12945 maybe-installcheck-m4:
12946 @if m4
12947 maybe-installcheck-m4: installcheck-m4
12948
12949 installcheck-m4: \
12950     configure-m4 
12951         @[ -f ./m4/Makefile ] || exit 0; \
12952         r=`${PWD_COMMAND}`; export r; \
12953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12954         $(SET_LIB_PATH) \
12955         for flag in $(EXTRA_HOST_FLAGS); do \
12956           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12957         done; \
12958         echo "Doing installcheck in m4" ; \
12959         (cd m4 && \
12960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12962                   "RANLIB=$${RANLIB}" \
12963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12964                   installcheck) \
12965           || exit 1
12966
12967 @endif m4
12968
12969 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
12970 maybe-mostlyclean-m4:
12971 @if m4
12972 maybe-mostlyclean-m4: mostlyclean-m4
12973
12974 mostlyclean-m4: 
12975         @[ -f ./m4/Makefile ] || exit 0; \
12976         r=`${PWD_COMMAND}`; export r; \
12977         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12978         $(SET_LIB_PATH) \
12979         for flag in $(EXTRA_HOST_FLAGS); do \
12980           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12981         done; \
12982         echo "Doing mostlyclean in m4" ; \
12983         (cd m4 && \
12984           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12985                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12986                   "RANLIB=$${RANLIB}" \
12987                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12988                   mostlyclean) \
12989           || exit 1
12990
12991 @endif m4
12992
12993 .PHONY: maybe-clean-m4 clean-m4
12994 maybe-clean-m4:
12995 @if m4
12996 maybe-clean-m4: clean-m4
12997
12998 clean-m4: 
12999         @[ -f ./m4/Makefile ] || exit 0; \
13000         r=`${PWD_COMMAND}`; export r; \
13001         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13002         $(SET_LIB_PATH) \
13003         for flag in $(EXTRA_HOST_FLAGS); do \
13004           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13005         done; \
13006         echo "Doing clean in m4" ; \
13007         (cd m4 && \
13008           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13009                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13010                   "RANLIB=$${RANLIB}" \
13011                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13012                   clean) \
13013           || exit 1
13014
13015 @endif m4
13016
13017 .PHONY: maybe-distclean-m4 distclean-m4
13018 maybe-distclean-m4:
13019 @if m4
13020 maybe-distclean-m4: distclean-m4
13021
13022 distclean-m4: 
13023         @[ -f ./m4/Makefile ] || exit 0; \
13024         r=`${PWD_COMMAND}`; export r; \
13025         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13026         $(SET_LIB_PATH) \
13027         for flag in $(EXTRA_HOST_FLAGS); do \
13028           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13029         done; \
13030         echo "Doing distclean in m4" ; \
13031         (cd m4 && \
13032           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13033                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13034                   "RANLIB=$${RANLIB}" \
13035                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13036                   distclean) \
13037           || exit 1
13038
13039 @endif m4
13040
13041 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13042 maybe-maintainer-clean-m4:
13043 @if m4
13044 maybe-maintainer-clean-m4: maintainer-clean-m4
13045
13046 maintainer-clean-m4: 
13047         @[ -f ./m4/Makefile ] || exit 0; \
13048         r=`${PWD_COMMAND}`; export r; \
13049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13050         $(SET_LIB_PATH) \
13051         for flag in $(EXTRA_HOST_FLAGS); do \
13052           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13053         done; \
13054         echo "Doing maintainer-clean in m4" ; \
13055         (cd m4 && \
13056           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13057                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13058                   "RANLIB=$${RANLIB}" \
13059                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13060                   maintainer-clean) \
13061           || exit 1
13062
13063 @endif m4
13064
13065
13066 .PHONY: configure-make maybe-configure-make
13067 maybe-configure-make:
13068 @if make
13069 maybe-configure-make: configure-make
13070 configure-make:
13071         @test ! -f make/Makefile || exit 0; \
13072         [ -d make ] || mkdir make; \
13073         r=`${PWD_COMMAND}`; export r; \
13074         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075         CC="$(CC)"; export CC; \
13076         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13077         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13078         CXX="$(CXX)"; export CXX; \
13079         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13080         AR="$(AR)"; export AR; \
13081         AS="$(AS)"; export AS; \
13082         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13083         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13084         LD="$(LD)"; export LD; \
13085         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13086         NM="$(NM)"; export NM; \
13087         RANLIB="$(RANLIB)"; export RANLIB; \
13088         WINDRES="$(WINDRES)"; export WINDRES; \
13089         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13090         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13091         echo Configuring in make; \
13092         cd make || exit 1; \
13093         case $(srcdir) in \
13094           \.) \
13095             srcdiroption="--srcdir=."; \
13096             libsrcdir=".";; \
13097           /* | [A-Za-z]:[\\/]*) \
13098             srcdiroption="--srcdir=$(srcdir)/make"; \
13099             libsrcdir="$$s/make";; \
13100           *) \
13101             srcdiroption="--srcdir=../$(srcdir)/make"; \
13102             libsrcdir="$$s/make";; \
13103         esac; \
13104         $(SHELL) $${libsrcdir}/configure \
13105           $(HOST_CONFIGARGS) $${srcdiroption} \
13106           || exit 1
13107 @endif make
13108
13109 .PHONY: all-make maybe-all-make
13110 maybe-all-make:
13111 @if make
13112 maybe-all-make: all-make
13113 all-make: configure-make
13114         @r=`${PWD_COMMAND}`; export r; \
13115         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13116         $(SET_LIB_PATH) \
13117         (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13118 @endif make
13119
13120 .PHONY: check-make maybe-check-make
13121 maybe-check-make:
13122 @if make
13123 maybe-check-make: check-make
13124
13125 check-make:
13126         @r=`${PWD_COMMAND}`; export r; \
13127         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13128         $(SET_LIB_PATH) \
13129         (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13130
13131 @endif make
13132
13133 .PHONY: install-make maybe-install-make
13134 maybe-install-make:
13135 @if make
13136 maybe-install-make: install-make
13137
13138 install-make: installdirs
13139         @r=`${PWD_COMMAND}`; export r; \
13140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13141         $(SET_LIB_PATH) \
13142         (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13143
13144 @endif make
13145
13146 # Other targets (info, dvi, etc.)
13147
13148 .PHONY: maybe-info-make info-make
13149 maybe-info-make:
13150 @if make
13151 maybe-info-make: info-make
13152
13153 info-make: \
13154     configure-make 
13155         @[ -f ./make/Makefile ] || exit 0; \
13156         r=`${PWD_COMMAND}`; export r; \
13157         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158         $(SET_LIB_PATH) \
13159         for flag in $(EXTRA_HOST_FLAGS); do \
13160           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13161         done; \
13162         echo "Doing info in make" ; \
13163         (cd make && \
13164           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13165                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13166                   "RANLIB=$${RANLIB}" \
13167                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13168                   info) \
13169           || exit 1
13170
13171 @endif make
13172
13173 .PHONY: maybe-dvi-make dvi-make
13174 maybe-dvi-make:
13175 @if make
13176 maybe-dvi-make: dvi-make
13177
13178 dvi-make: \
13179     configure-make 
13180         @[ -f ./make/Makefile ] || exit 0; \
13181         r=`${PWD_COMMAND}`; export r; \
13182         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13183         $(SET_LIB_PATH) \
13184         for flag in $(EXTRA_HOST_FLAGS); do \
13185           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13186         done; \
13187         echo "Doing dvi in make" ; \
13188         (cd make && \
13189           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13190                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13191                   "RANLIB=$${RANLIB}" \
13192                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13193                   dvi) \
13194           || exit 1
13195
13196 @endif make
13197
13198 .PHONY: maybe-TAGS-make TAGS-make
13199 maybe-TAGS-make:
13200 @if make
13201 maybe-TAGS-make: TAGS-make
13202
13203 TAGS-make: \
13204     configure-make 
13205         @[ -f ./make/Makefile ] || exit 0; \
13206         r=`${PWD_COMMAND}`; export r; \
13207         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13208         $(SET_LIB_PATH) \
13209         for flag in $(EXTRA_HOST_FLAGS); do \
13210           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13211         done; \
13212         echo "Doing TAGS in make" ; \
13213         (cd make && \
13214           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13215                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13216                   "RANLIB=$${RANLIB}" \
13217                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13218                   TAGS) \
13219           || exit 1
13220
13221 @endif make
13222
13223 .PHONY: maybe-install-info-make install-info-make
13224 maybe-install-info-make:
13225 @if make
13226 maybe-install-info-make: install-info-make
13227
13228 install-info-make: \
13229     configure-make \
13230     info-make 
13231         @[ -f ./make/Makefile ] || exit 0; \
13232         r=`${PWD_COMMAND}`; export r; \
13233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13234         $(SET_LIB_PATH) \
13235         for flag in $(EXTRA_HOST_FLAGS); do \
13236           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13237         done; \
13238         echo "Doing install-info in make" ; \
13239         (cd make && \
13240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13242                   "RANLIB=$${RANLIB}" \
13243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13244                   install-info) \
13245           || exit 1
13246
13247 @endif make
13248
13249 .PHONY: maybe-installcheck-make installcheck-make
13250 maybe-installcheck-make:
13251 @if make
13252 maybe-installcheck-make: installcheck-make
13253
13254 installcheck-make: \
13255     configure-make 
13256         @[ -f ./make/Makefile ] || exit 0; \
13257         r=`${PWD_COMMAND}`; export r; \
13258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13259         $(SET_LIB_PATH) \
13260         for flag in $(EXTRA_HOST_FLAGS); do \
13261           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13262         done; \
13263         echo "Doing installcheck in make" ; \
13264         (cd make && \
13265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13267                   "RANLIB=$${RANLIB}" \
13268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13269                   installcheck) \
13270           || exit 1
13271
13272 @endif make
13273
13274 .PHONY: maybe-mostlyclean-make mostlyclean-make
13275 maybe-mostlyclean-make:
13276 @if make
13277 maybe-mostlyclean-make: mostlyclean-make
13278
13279 mostlyclean-make: 
13280         @[ -f ./make/Makefile ] || exit 0; \
13281         r=`${PWD_COMMAND}`; export r; \
13282         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13283         $(SET_LIB_PATH) \
13284         for flag in $(EXTRA_HOST_FLAGS); do \
13285           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13286         done; \
13287         echo "Doing mostlyclean in make" ; \
13288         (cd make && \
13289           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13290                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13291                   "RANLIB=$${RANLIB}" \
13292                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13293                   mostlyclean) \
13294           || exit 1
13295
13296 @endif make
13297
13298 .PHONY: maybe-clean-make clean-make
13299 maybe-clean-make:
13300 @if make
13301 maybe-clean-make: clean-make
13302
13303 clean-make: 
13304         @[ -f ./make/Makefile ] || exit 0; \
13305         r=`${PWD_COMMAND}`; export r; \
13306         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13307         $(SET_LIB_PATH) \
13308         for flag in $(EXTRA_HOST_FLAGS); do \
13309           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13310         done; \
13311         echo "Doing clean in make" ; \
13312         (cd make && \
13313           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13314                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13315                   "RANLIB=$${RANLIB}" \
13316                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13317                   clean) \
13318           || exit 1
13319
13320 @endif make
13321
13322 .PHONY: maybe-distclean-make distclean-make
13323 maybe-distclean-make:
13324 @if make
13325 maybe-distclean-make: distclean-make
13326
13327 distclean-make: 
13328         @[ -f ./make/Makefile ] || exit 0; \
13329         r=`${PWD_COMMAND}`; export r; \
13330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13331         $(SET_LIB_PATH) \
13332         for flag in $(EXTRA_HOST_FLAGS); do \
13333           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13334         done; \
13335         echo "Doing distclean in make" ; \
13336         (cd make && \
13337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13339                   "RANLIB=$${RANLIB}" \
13340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13341                   distclean) \
13342           || exit 1
13343
13344 @endif make
13345
13346 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13347 maybe-maintainer-clean-make:
13348 @if make
13349 maybe-maintainer-clean-make: maintainer-clean-make
13350
13351 maintainer-clean-make: 
13352         @[ -f ./make/Makefile ] || exit 0; \
13353         r=`${PWD_COMMAND}`; export r; \
13354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13355         $(SET_LIB_PATH) \
13356         for flag in $(EXTRA_HOST_FLAGS); do \
13357           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13358         done; \
13359         echo "Doing maintainer-clean in make" ; \
13360         (cd make && \
13361           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13362                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13363                   "RANLIB=$${RANLIB}" \
13364                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13365                   maintainer-clean) \
13366           || exit 1
13367
13368 @endif make
13369
13370
13371 .PHONY: configure-mmalloc maybe-configure-mmalloc
13372 maybe-configure-mmalloc:
13373 @if mmalloc
13374 maybe-configure-mmalloc: configure-mmalloc
13375 configure-mmalloc:
13376         @test ! -f mmalloc/Makefile || exit 0; \
13377         [ -d mmalloc ] || mkdir mmalloc; \
13378         r=`${PWD_COMMAND}`; export r; \
13379         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13380         CC="$(CC)"; export CC; \
13381         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13382         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13383         CXX="$(CXX)"; export CXX; \
13384         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13385         AR="$(AR)"; export AR; \
13386         AS="$(AS)"; export AS; \
13387         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13388         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13389         LD="$(LD)"; export LD; \
13390         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13391         NM="$(NM)"; export NM; \
13392         RANLIB="$(RANLIB)"; export RANLIB; \
13393         WINDRES="$(WINDRES)"; export WINDRES; \
13394         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13395         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13396         echo Configuring in mmalloc; \
13397         cd mmalloc || exit 1; \
13398         case $(srcdir) in \
13399           \.) \
13400             srcdiroption="--srcdir=."; \
13401             libsrcdir=".";; \
13402           /* | [A-Za-z]:[\\/]*) \
13403             srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
13404             libsrcdir="$$s/mmalloc";; \
13405           *) \
13406             srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
13407             libsrcdir="$$s/mmalloc";; \
13408         esac; \
13409         $(SHELL) $${libsrcdir}/configure \
13410           $(HOST_CONFIGARGS) $${srcdiroption} \
13411           || exit 1
13412 @endif mmalloc
13413
13414 .PHONY: all-mmalloc maybe-all-mmalloc
13415 maybe-all-mmalloc:
13416 @if mmalloc
13417 maybe-all-mmalloc: all-mmalloc
13418 all-mmalloc: configure-mmalloc
13419         @r=`${PWD_COMMAND}`; export r; \
13420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13421         $(SET_LIB_PATH) \
13422         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
13423 @endif mmalloc
13424
13425 .PHONY: check-mmalloc maybe-check-mmalloc
13426 maybe-check-mmalloc:
13427 @if mmalloc
13428 maybe-check-mmalloc: check-mmalloc
13429
13430 check-mmalloc:
13431
13432 @endif mmalloc
13433
13434 .PHONY: install-mmalloc maybe-install-mmalloc
13435 maybe-install-mmalloc:
13436 @if mmalloc
13437 maybe-install-mmalloc: install-mmalloc
13438
13439 install-mmalloc: installdirs
13440         @r=`${PWD_COMMAND}`; export r; \
13441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442         $(SET_LIB_PATH) \
13443         (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
13444
13445 @endif mmalloc
13446
13447 # Other targets (info, dvi, etc.)
13448
13449 .PHONY: maybe-info-mmalloc info-mmalloc
13450 maybe-info-mmalloc:
13451 @if mmalloc
13452 maybe-info-mmalloc: info-mmalloc
13453
13454 info-mmalloc: \
13455     configure-mmalloc 
13456         @[ -f ./mmalloc/Makefile ] || exit 0; \
13457         r=`${PWD_COMMAND}`; export r; \
13458         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13459         $(SET_LIB_PATH) \
13460         for flag in $(EXTRA_HOST_FLAGS); do \
13461           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13462         done; \
13463         echo "Doing info in mmalloc" ; \
13464         (cd mmalloc && \
13465           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13466                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13467                   "RANLIB=$${RANLIB}" \
13468                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13469                   info) \
13470           || exit 1
13471
13472 @endif mmalloc
13473
13474 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
13475 maybe-dvi-mmalloc:
13476 @if mmalloc
13477 maybe-dvi-mmalloc: dvi-mmalloc
13478
13479 dvi-mmalloc: \
13480     configure-mmalloc 
13481         @[ -f ./mmalloc/Makefile ] || exit 0; \
13482         r=`${PWD_COMMAND}`; export r; \
13483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13484         $(SET_LIB_PATH) \
13485         for flag in $(EXTRA_HOST_FLAGS); do \
13486           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13487         done; \
13488         echo "Doing dvi in mmalloc" ; \
13489         (cd mmalloc && \
13490           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13491                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13492                   "RANLIB=$${RANLIB}" \
13493                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13494                   dvi) \
13495           || exit 1
13496
13497 @endif mmalloc
13498
13499 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
13500 maybe-TAGS-mmalloc:
13501 @if mmalloc
13502 maybe-TAGS-mmalloc: TAGS-mmalloc
13503
13504 TAGS-mmalloc: \
13505     configure-mmalloc 
13506         @[ -f ./mmalloc/Makefile ] || exit 0; \
13507         r=`${PWD_COMMAND}`; export r; \
13508         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13509         $(SET_LIB_PATH) \
13510         for flag in $(EXTRA_HOST_FLAGS); do \
13511           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13512         done; \
13513         echo "Doing TAGS in mmalloc" ; \
13514         (cd mmalloc && \
13515           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13516                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13517                   "RANLIB=$${RANLIB}" \
13518                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13519                   TAGS) \
13520           || exit 1
13521
13522 @endif mmalloc
13523
13524 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
13525 maybe-install-info-mmalloc:
13526 @if mmalloc
13527 maybe-install-info-mmalloc: install-info-mmalloc
13528
13529 install-info-mmalloc: \
13530     configure-mmalloc \
13531     info-mmalloc 
13532         @[ -f ./mmalloc/Makefile ] || exit 0; \
13533         r=`${PWD_COMMAND}`; export r; \
13534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13535         $(SET_LIB_PATH) \
13536         for flag in $(EXTRA_HOST_FLAGS); do \
13537           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13538         done; \
13539         echo "Doing install-info in mmalloc" ; \
13540         (cd mmalloc && \
13541           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13542                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13543                   "RANLIB=$${RANLIB}" \
13544                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13545                   install-info) \
13546           || exit 1
13547
13548 @endif mmalloc
13549
13550 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
13551 maybe-installcheck-mmalloc:
13552 @if mmalloc
13553 maybe-installcheck-mmalloc: installcheck-mmalloc
13554
13555 installcheck-mmalloc: \
13556     configure-mmalloc 
13557         @[ -f ./mmalloc/Makefile ] || exit 0; \
13558         r=`${PWD_COMMAND}`; export r; \
13559         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13560         $(SET_LIB_PATH) \
13561         for flag in $(EXTRA_HOST_FLAGS); do \
13562           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13563         done; \
13564         echo "Doing installcheck in mmalloc" ; \
13565         (cd mmalloc && \
13566           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13567                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13568                   "RANLIB=$${RANLIB}" \
13569                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13570                   installcheck) \
13571           || exit 1
13572
13573 @endif mmalloc
13574
13575 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
13576 maybe-mostlyclean-mmalloc:
13577 @if mmalloc
13578 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
13579
13580 mostlyclean-mmalloc: 
13581         @[ -f ./mmalloc/Makefile ] || exit 0; \
13582         r=`${PWD_COMMAND}`; export r; \
13583         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13584         $(SET_LIB_PATH) \
13585         for flag in $(EXTRA_HOST_FLAGS); do \
13586           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587         done; \
13588         echo "Doing mostlyclean in mmalloc" ; \
13589         (cd mmalloc && \
13590           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592                   "RANLIB=$${RANLIB}" \
13593                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13594                   mostlyclean) \
13595           || exit 1
13596
13597 @endif mmalloc
13598
13599 .PHONY: maybe-clean-mmalloc clean-mmalloc
13600 maybe-clean-mmalloc:
13601 @if mmalloc
13602 maybe-clean-mmalloc: clean-mmalloc
13603
13604 clean-mmalloc: 
13605         @[ -f ./mmalloc/Makefile ] || exit 0; \
13606         r=`${PWD_COMMAND}`; export r; \
13607         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608         $(SET_LIB_PATH) \
13609         for flag in $(EXTRA_HOST_FLAGS); do \
13610           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13611         done; \
13612         echo "Doing clean in mmalloc" ; \
13613         (cd mmalloc && \
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                   clean) \
13619           || exit 1
13620
13621 @endif mmalloc
13622
13623 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
13624 maybe-distclean-mmalloc:
13625 @if mmalloc
13626 maybe-distclean-mmalloc: distclean-mmalloc
13627
13628 distclean-mmalloc: 
13629         @[ -f ./mmalloc/Makefile ] || exit 0; \
13630         r=`${PWD_COMMAND}`; export r; \
13631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13632         $(SET_LIB_PATH) \
13633         for flag in $(EXTRA_HOST_FLAGS); do \
13634           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13635         done; \
13636         echo "Doing distclean in mmalloc" ; \
13637         (cd mmalloc && \
13638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13640                   "RANLIB=$${RANLIB}" \
13641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13642                   distclean) \
13643           || exit 1
13644
13645 @endif mmalloc
13646
13647 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
13648 maybe-maintainer-clean-mmalloc:
13649 @if mmalloc
13650 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
13651
13652 maintainer-clean-mmalloc: 
13653         @[ -f ./mmalloc/Makefile ] || exit 0; \
13654         r=`${PWD_COMMAND}`; export r; \
13655         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656         $(SET_LIB_PATH) \
13657         for flag in $(EXTRA_HOST_FLAGS); do \
13658           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659         done; \
13660         echo "Doing maintainer-clean in mmalloc" ; \
13661         (cd mmalloc && \
13662           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664                   "RANLIB=$${RANLIB}" \
13665                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13666                   maintainer-clean) \
13667           || exit 1
13668
13669 @endif mmalloc
13670
13671
13672 .PHONY: configure-patch maybe-configure-patch
13673 maybe-configure-patch:
13674 @if patch
13675 maybe-configure-patch: configure-patch
13676 configure-patch:
13677         @test ! -f patch/Makefile || exit 0; \
13678         [ -d patch ] || mkdir patch; \
13679         r=`${PWD_COMMAND}`; export r; \
13680         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681         CC="$(CC)"; export CC; \
13682         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13683         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13684         CXX="$(CXX)"; export CXX; \
13685         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13686         AR="$(AR)"; export AR; \
13687         AS="$(AS)"; export AS; \
13688         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13689         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13690         LD="$(LD)"; export LD; \
13691         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13692         NM="$(NM)"; export NM; \
13693         RANLIB="$(RANLIB)"; export RANLIB; \
13694         WINDRES="$(WINDRES)"; export WINDRES; \
13695         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13696         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13697         echo Configuring in patch; \
13698         cd patch || exit 1; \
13699         case $(srcdir) in \
13700           \.) \
13701             srcdiroption="--srcdir=."; \
13702             libsrcdir=".";; \
13703           /* | [A-Za-z]:[\\/]*) \
13704             srcdiroption="--srcdir=$(srcdir)/patch"; \
13705             libsrcdir="$$s/patch";; \
13706           *) \
13707             srcdiroption="--srcdir=../$(srcdir)/patch"; \
13708             libsrcdir="$$s/patch";; \
13709         esac; \
13710         $(SHELL) $${libsrcdir}/configure \
13711           $(HOST_CONFIGARGS) $${srcdiroption} \
13712           || exit 1
13713 @endif patch
13714
13715 .PHONY: all-patch maybe-all-patch
13716 maybe-all-patch:
13717 @if patch
13718 maybe-all-patch: all-patch
13719 all-patch: configure-patch
13720         @r=`${PWD_COMMAND}`; export r; \
13721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13722         $(SET_LIB_PATH) \
13723         (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
13724 @endif patch
13725
13726 .PHONY: check-patch maybe-check-patch
13727 maybe-check-patch:
13728 @if patch
13729 maybe-check-patch: check-patch
13730
13731 check-patch:
13732         @r=`${PWD_COMMAND}`; export r; \
13733         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13734         $(SET_LIB_PATH) \
13735         (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
13736
13737 @endif patch
13738
13739 .PHONY: install-patch maybe-install-patch
13740 maybe-install-patch:
13741 @if patch
13742 maybe-install-patch: install-patch
13743
13744 install-patch: installdirs
13745         @r=`${PWD_COMMAND}`; export r; \
13746         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13747         $(SET_LIB_PATH) \
13748         (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
13749
13750 @endif patch
13751
13752 # Other targets (info, dvi, etc.)
13753
13754 .PHONY: maybe-info-patch info-patch
13755 maybe-info-patch:
13756 @if patch
13757 maybe-info-patch: info-patch
13758
13759 info-patch: \
13760     configure-patch 
13761         @[ -f ./patch/Makefile ] || exit 0; \
13762         r=`${PWD_COMMAND}`; export r; \
13763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13764         $(SET_LIB_PATH) \
13765         for flag in $(EXTRA_HOST_FLAGS); do \
13766           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13767         done; \
13768         echo "Doing info in patch" ; \
13769         (cd patch && \
13770           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13771                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13772                   "RANLIB=$${RANLIB}" \
13773                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13774                   info) \
13775           || exit 1
13776
13777 @endif patch
13778
13779 .PHONY: maybe-dvi-patch dvi-patch
13780 maybe-dvi-patch:
13781 @if patch
13782 maybe-dvi-patch: dvi-patch
13783
13784 dvi-patch: \
13785     configure-patch 
13786         @[ -f ./patch/Makefile ] || exit 0; \
13787         r=`${PWD_COMMAND}`; export r; \
13788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13789         $(SET_LIB_PATH) \
13790         for flag in $(EXTRA_HOST_FLAGS); do \
13791           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13792         done; \
13793         echo "Doing dvi in patch" ; \
13794         (cd patch && \
13795           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13796                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13797                   "RANLIB=$${RANLIB}" \
13798                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13799                   dvi) \
13800           || exit 1
13801
13802 @endif patch
13803
13804 .PHONY: maybe-TAGS-patch TAGS-patch
13805 maybe-TAGS-patch:
13806 @if patch
13807 maybe-TAGS-patch: TAGS-patch
13808
13809 TAGS-patch: \
13810     configure-patch 
13811         @[ -f ./patch/Makefile ] || exit 0; \
13812         r=`${PWD_COMMAND}`; export r; \
13813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13814         $(SET_LIB_PATH) \
13815         for flag in $(EXTRA_HOST_FLAGS); do \
13816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13817         done; \
13818         echo "Doing TAGS in patch" ; \
13819         (cd patch && \
13820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13822                   "RANLIB=$${RANLIB}" \
13823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13824                   TAGS) \
13825           || exit 1
13826
13827 @endif patch
13828
13829 .PHONY: maybe-install-info-patch install-info-patch
13830 maybe-install-info-patch:
13831 @if patch
13832 maybe-install-info-patch: install-info-patch
13833
13834 install-info-patch: \
13835     configure-patch \
13836     info-patch 
13837         @[ -f ./patch/Makefile ] || exit 0; \
13838         r=`${PWD_COMMAND}`; export r; \
13839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13840         $(SET_LIB_PATH) \
13841         for flag in $(EXTRA_HOST_FLAGS); do \
13842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13843         done; \
13844         echo "Doing install-info in patch" ; \
13845         (cd patch && \
13846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13848                   "RANLIB=$${RANLIB}" \
13849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13850                   install-info) \
13851           || exit 1
13852
13853 @endif patch
13854
13855 .PHONY: maybe-installcheck-patch installcheck-patch
13856 maybe-installcheck-patch:
13857 @if patch
13858 maybe-installcheck-patch: installcheck-patch
13859
13860 installcheck-patch: \
13861     configure-patch 
13862         @[ -f ./patch/Makefile ] || exit 0; \
13863         r=`${PWD_COMMAND}`; export r; \
13864         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13865         $(SET_LIB_PATH) \
13866         for flag in $(EXTRA_HOST_FLAGS); do \
13867           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13868         done; \
13869         echo "Doing installcheck in patch" ; \
13870         (cd patch && \
13871           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13872                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13873                   "RANLIB=$${RANLIB}" \
13874                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13875                   installcheck) \
13876           || exit 1
13877
13878 @endif patch
13879
13880 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
13881 maybe-mostlyclean-patch:
13882 @if patch
13883 maybe-mostlyclean-patch: mostlyclean-patch
13884
13885 mostlyclean-patch: 
13886         @[ -f ./patch/Makefile ] || exit 0; \
13887         r=`${PWD_COMMAND}`; export r; \
13888         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13889         $(SET_LIB_PATH) \
13890         for flag in $(EXTRA_HOST_FLAGS); do \
13891           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13892         done; \
13893         echo "Doing mostlyclean in patch" ; \
13894         (cd patch && \
13895           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13896                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13897                   "RANLIB=$${RANLIB}" \
13898                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13899                   mostlyclean) \
13900           || exit 1
13901
13902 @endif patch
13903
13904 .PHONY: maybe-clean-patch clean-patch
13905 maybe-clean-patch:
13906 @if patch
13907 maybe-clean-patch: clean-patch
13908
13909 clean-patch: 
13910         @[ -f ./patch/Makefile ] || exit 0; \
13911         r=`${PWD_COMMAND}`; export r; \
13912         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13913         $(SET_LIB_PATH) \
13914         for flag in $(EXTRA_HOST_FLAGS); do \
13915           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13916         done; \
13917         echo "Doing clean in patch" ; \
13918         (cd patch && \
13919           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13920                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13921                   "RANLIB=$${RANLIB}" \
13922                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13923                   clean) \
13924           || exit 1
13925
13926 @endif patch
13927
13928 .PHONY: maybe-distclean-patch distclean-patch
13929 maybe-distclean-patch:
13930 @if patch
13931 maybe-distclean-patch: distclean-patch
13932
13933 distclean-patch: 
13934         @[ -f ./patch/Makefile ] || exit 0; \
13935         r=`${PWD_COMMAND}`; export r; \
13936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13937         $(SET_LIB_PATH) \
13938         for flag in $(EXTRA_HOST_FLAGS); do \
13939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13940         done; \
13941         echo "Doing distclean in patch" ; \
13942         (cd patch && \
13943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13945                   "RANLIB=$${RANLIB}" \
13946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13947                   distclean) \
13948           || exit 1
13949
13950 @endif patch
13951
13952 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
13953 maybe-maintainer-clean-patch:
13954 @if patch
13955 maybe-maintainer-clean-patch: maintainer-clean-patch
13956
13957 maintainer-clean-patch: 
13958         @[ -f ./patch/Makefile ] || exit 0; \
13959         r=`${PWD_COMMAND}`; export r; \
13960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13961         $(SET_LIB_PATH) \
13962         for flag in $(EXTRA_HOST_FLAGS); do \
13963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13964         done; \
13965         echo "Doing maintainer-clean in patch" ; \
13966         (cd patch && \
13967           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13968                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13969                   "RANLIB=$${RANLIB}" \
13970                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13971                   maintainer-clean) \
13972           || exit 1
13973
13974 @endif patch
13975
13976
13977 .PHONY: configure-perl maybe-configure-perl
13978 maybe-configure-perl:
13979 @if perl
13980 maybe-configure-perl: configure-perl
13981 configure-perl:
13982         @test ! -f perl/Makefile || exit 0; \
13983         [ -d perl ] || mkdir perl; \
13984         r=`${PWD_COMMAND}`; export r; \
13985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13986         CC="$(CC)"; export CC; \
13987         CFLAGS="$(CFLAGS)"; export CFLAGS; \
13988         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13989         CXX="$(CXX)"; export CXX; \
13990         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13991         AR="$(AR)"; export AR; \
13992         AS="$(AS)"; export AS; \
13993         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13994         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13995         LD="$(LD)"; export LD; \
13996         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13997         NM="$(NM)"; export NM; \
13998         RANLIB="$(RANLIB)"; export RANLIB; \
13999         WINDRES="$(WINDRES)"; export WINDRES; \
14000         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14001         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14002         echo Configuring in perl; \
14003         cd perl || exit 1; \
14004         case $(srcdir) in \
14005           \.) \
14006             srcdiroption="--srcdir=."; \
14007             libsrcdir=".";; \
14008           /* | [A-Za-z]:[\\/]*) \
14009             srcdiroption="--srcdir=$(srcdir)/perl"; \
14010             libsrcdir="$$s/perl";; \
14011           *) \
14012             srcdiroption="--srcdir=../$(srcdir)/perl"; \
14013             libsrcdir="$$s/perl";; \
14014         esac; \
14015         $(SHELL) $${libsrcdir}/configure \
14016           $(HOST_CONFIGARGS) $${srcdiroption} \
14017           || exit 1
14018 @endif perl
14019
14020 .PHONY: all-perl maybe-all-perl
14021 maybe-all-perl:
14022 @if perl
14023 maybe-all-perl: all-perl
14024 all-perl: configure-perl
14025         @r=`${PWD_COMMAND}`; export r; \
14026         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14027         $(SET_LIB_PATH) \
14028         (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14029 @endif perl
14030
14031 .PHONY: check-perl maybe-check-perl
14032 maybe-check-perl:
14033 @if perl
14034 maybe-check-perl: check-perl
14035
14036 check-perl:
14037         @r=`${PWD_COMMAND}`; export r; \
14038         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14039         $(SET_LIB_PATH) \
14040         (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14041
14042 @endif perl
14043
14044 .PHONY: install-perl maybe-install-perl
14045 maybe-install-perl:
14046 @if perl
14047 maybe-install-perl: install-perl
14048
14049 install-perl: installdirs
14050         @r=`${PWD_COMMAND}`; export r; \
14051         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14052         $(SET_LIB_PATH) \
14053         (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14054
14055 @endif perl
14056
14057 # Other targets (info, dvi, etc.)
14058
14059 .PHONY: maybe-info-perl info-perl
14060 maybe-info-perl:
14061 @if perl
14062 maybe-info-perl: info-perl
14063
14064 info-perl: \
14065     configure-perl 
14066         @[ -f ./perl/Makefile ] || exit 0; \
14067         r=`${PWD_COMMAND}`; export r; \
14068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14069         $(SET_LIB_PATH) \
14070         for flag in $(EXTRA_HOST_FLAGS); do \
14071           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14072         done; \
14073         echo "Doing info in perl" ; \
14074         (cd perl && \
14075           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14076                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14077                   "RANLIB=$${RANLIB}" \
14078                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14079                   info) \
14080           || exit 1
14081
14082 @endif perl
14083
14084 .PHONY: maybe-dvi-perl dvi-perl
14085 maybe-dvi-perl:
14086 @if perl
14087 maybe-dvi-perl: dvi-perl
14088
14089 dvi-perl: \
14090     configure-perl 
14091         @[ -f ./perl/Makefile ] || exit 0; \
14092         r=`${PWD_COMMAND}`; export r; \
14093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14094         $(SET_LIB_PATH) \
14095         for flag in $(EXTRA_HOST_FLAGS); do \
14096           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14097         done; \
14098         echo "Doing dvi in perl" ; \
14099         (cd perl && \
14100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14102                   "RANLIB=$${RANLIB}" \
14103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14104                   dvi) \
14105           || exit 1
14106
14107 @endif perl
14108
14109 .PHONY: maybe-TAGS-perl TAGS-perl
14110 maybe-TAGS-perl:
14111 @if perl
14112 maybe-TAGS-perl: TAGS-perl
14113
14114 TAGS-perl: \
14115     configure-perl 
14116         @[ -f ./perl/Makefile ] || exit 0; \
14117         r=`${PWD_COMMAND}`; export r; \
14118         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14119         $(SET_LIB_PATH) \
14120         for flag in $(EXTRA_HOST_FLAGS); do \
14121           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14122         done; \
14123         echo "Doing TAGS in perl" ; \
14124         (cd perl && \
14125           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14126                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14127                   "RANLIB=$${RANLIB}" \
14128                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14129                   TAGS) \
14130           || exit 1
14131
14132 @endif perl
14133
14134 .PHONY: maybe-install-info-perl install-info-perl
14135 maybe-install-info-perl:
14136 @if perl
14137 maybe-install-info-perl: install-info-perl
14138
14139 install-info-perl: \
14140     configure-perl \
14141     info-perl 
14142         @[ -f ./perl/Makefile ] || exit 0; \
14143         r=`${PWD_COMMAND}`; export r; \
14144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14145         $(SET_LIB_PATH) \
14146         for flag in $(EXTRA_HOST_FLAGS); do \
14147           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14148         done; \
14149         echo "Doing install-info in perl" ; \
14150         (cd perl && \
14151           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14152                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14153                   "RANLIB=$${RANLIB}" \
14154                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14155                   install-info) \
14156           || exit 1
14157
14158 @endif perl
14159
14160 .PHONY: maybe-installcheck-perl installcheck-perl
14161 maybe-installcheck-perl:
14162 @if perl
14163 maybe-installcheck-perl: installcheck-perl
14164
14165 installcheck-perl: \
14166     configure-perl 
14167         @[ -f ./perl/Makefile ] || exit 0; \
14168         r=`${PWD_COMMAND}`; export r; \
14169         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14170         $(SET_LIB_PATH) \
14171         for flag in $(EXTRA_HOST_FLAGS); do \
14172           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14173         done; \
14174         echo "Doing installcheck in perl" ; \
14175         (cd perl && \
14176           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14177                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14178                   "RANLIB=$${RANLIB}" \
14179                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14180                   installcheck) \
14181           || exit 1
14182
14183 @endif perl
14184
14185 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14186 maybe-mostlyclean-perl:
14187 @if perl
14188 maybe-mostlyclean-perl: mostlyclean-perl
14189
14190 mostlyclean-perl: 
14191         @[ -f ./perl/Makefile ] || exit 0; \
14192         r=`${PWD_COMMAND}`; export r; \
14193         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14194         $(SET_LIB_PATH) \
14195         for flag in $(EXTRA_HOST_FLAGS); do \
14196           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14197         done; \
14198         echo "Doing mostlyclean in perl" ; \
14199         (cd perl && \
14200           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14201                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14202                   "RANLIB=$${RANLIB}" \
14203                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14204                   mostlyclean) \
14205           || exit 1
14206
14207 @endif perl
14208
14209 .PHONY: maybe-clean-perl clean-perl
14210 maybe-clean-perl:
14211 @if perl
14212 maybe-clean-perl: clean-perl
14213
14214 clean-perl: 
14215         @[ -f ./perl/Makefile ] || exit 0; \
14216         r=`${PWD_COMMAND}`; export r; \
14217         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14218         $(SET_LIB_PATH) \
14219         for flag in $(EXTRA_HOST_FLAGS); do \
14220           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14221         done; \
14222         echo "Doing clean in perl" ; \
14223         (cd perl && \
14224           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14225                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14226                   "RANLIB=$${RANLIB}" \
14227                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14228                   clean) \
14229           || exit 1
14230
14231 @endif perl
14232
14233 .PHONY: maybe-distclean-perl distclean-perl
14234 maybe-distclean-perl:
14235 @if perl
14236 maybe-distclean-perl: distclean-perl
14237
14238 distclean-perl: 
14239         @[ -f ./perl/Makefile ] || exit 0; \
14240         r=`${PWD_COMMAND}`; export r; \
14241         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242         $(SET_LIB_PATH) \
14243         for flag in $(EXTRA_HOST_FLAGS); do \
14244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14245         done; \
14246         echo "Doing distclean in perl" ; \
14247         (cd perl && \
14248           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14249                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14250                   "RANLIB=$${RANLIB}" \
14251                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14252                   distclean) \
14253           || exit 1
14254
14255 @endif perl
14256
14257 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14258 maybe-maintainer-clean-perl:
14259 @if perl
14260 maybe-maintainer-clean-perl: maintainer-clean-perl
14261
14262 maintainer-clean-perl: 
14263         @[ -f ./perl/Makefile ] || exit 0; \
14264         r=`${PWD_COMMAND}`; export r; \
14265         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14266         $(SET_LIB_PATH) \
14267         for flag in $(EXTRA_HOST_FLAGS); do \
14268           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14269         done; \
14270         echo "Doing maintainer-clean in perl" ; \
14271         (cd perl && \
14272           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14273                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14274                   "RANLIB=$${RANLIB}" \
14275                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14276                   maintainer-clean) \
14277           || exit 1
14278
14279 @endif perl
14280
14281
14282 .PHONY: configure-prms maybe-configure-prms
14283 maybe-configure-prms:
14284 @if prms
14285 maybe-configure-prms: configure-prms
14286 configure-prms:
14287         @test ! -f prms/Makefile || exit 0; \
14288         [ -d prms ] || mkdir prms; \
14289         r=`${PWD_COMMAND}`; export r; \
14290         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291         CC="$(CC)"; export CC; \
14292         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14293         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14294         CXX="$(CXX)"; export CXX; \
14295         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14296         AR="$(AR)"; export AR; \
14297         AS="$(AS)"; export AS; \
14298         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14299         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14300         LD="$(LD)"; export LD; \
14301         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14302         NM="$(NM)"; export NM; \
14303         RANLIB="$(RANLIB)"; export RANLIB; \
14304         WINDRES="$(WINDRES)"; export WINDRES; \
14305         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14306         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14307         echo Configuring in prms; \
14308         cd prms || exit 1; \
14309         case $(srcdir) in \
14310           \.) \
14311             srcdiroption="--srcdir=."; \
14312             libsrcdir=".";; \
14313           /* | [A-Za-z]:[\\/]*) \
14314             srcdiroption="--srcdir=$(srcdir)/prms"; \
14315             libsrcdir="$$s/prms";; \
14316           *) \
14317             srcdiroption="--srcdir=../$(srcdir)/prms"; \
14318             libsrcdir="$$s/prms";; \
14319         esac; \
14320         $(SHELL) $${libsrcdir}/configure \
14321           $(HOST_CONFIGARGS) $${srcdiroption} \
14322           || exit 1
14323 @endif prms
14324
14325 .PHONY: all-prms maybe-all-prms
14326 maybe-all-prms:
14327 @if prms
14328 maybe-all-prms: all-prms
14329 all-prms: configure-prms
14330         @r=`${PWD_COMMAND}`; export r; \
14331         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14332         $(SET_LIB_PATH) \
14333         (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14334 @endif prms
14335
14336 .PHONY: check-prms maybe-check-prms
14337 maybe-check-prms:
14338 @if prms
14339 maybe-check-prms: check-prms
14340
14341 check-prms:
14342         @r=`${PWD_COMMAND}`; export r; \
14343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344         $(SET_LIB_PATH) \
14345         (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14346
14347 @endif prms
14348
14349 .PHONY: install-prms maybe-install-prms
14350 maybe-install-prms:
14351 @if prms
14352 maybe-install-prms: install-prms
14353
14354 install-prms: installdirs
14355         @r=`${PWD_COMMAND}`; export r; \
14356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14357         $(SET_LIB_PATH) \
14358         (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14359
14360 @endif prms
14361
14362 # Other targets (info, dvi, etc.)
14363
14364 .PHONY: maybe-info-prms info-prms
14365 maybe-info-prms:
14366 @if prms
14367 maybe-info-prms: info-prms
14368
14369 info-prms: \
14370     configure-prms 
14371         @[ -f ./prms/Makefile ] || exit 0; \
14372         r=`${PWD_COMMAND}`; export r; \
14373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14374         $(SET_LIB_PATH) \
14375         for flag in $(EXTRA_HOST_FLAGS); do \
14376           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14377         done; \
14378         echo "Doing info in prms" ; \
14379         (cd prms && \
14380           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14381                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14382                   "RANLIB=$${RANLIB}" \
14383                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14384                   info) \
14385           || exit 1
14386
14387 @endif prms
14388
14389 .PHONY: maybe-dvi-prms dvi-prms
14390 maybe-dvi-prms:
14391 @if prms
14392 maybe-dvi-prms: dvi-prms
14393
14394 dvi-prms: \
14395     configure-prms 
14396         @[ -f ./prms/Makefile ] || exit 0; \
14397         r=`${PWD_COMMAND}`; export r; \
14398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14399         $(SET_LIB_PATH) \
14400         for flag in $(EXTRA_HOST_FLAGS); do \
14401           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14402         done; \
14403         echo "Doing dvi in prms" ; \
14404         (cd prms && \
14405           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14406                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14407                   "RANLIB=$${RANLIB}" \
14408                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14409                   dvi) \
14410           || exit 1
14411
14412 @endif prms
14413
14414 .PHONY: maybe-TAGS-prms TAGS-prms
14415 maybe-TAGS-prms:
14416 @if prms
14417 maybe-TAGS-prms: TAGS-prms
14418
14419 TAGS-prms: \
14420     configure-prms 
14421         @[ -f ./prms/Makefile ] || exit 0; \
14422         r=`${PWD_COMMAND}`; export r; \
14423         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14424         $(SET_LIB_PATH) \
14425         for flag in $(EXTRA_HOST_FLAGS); do \
14426           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14427         done; \
14428         echo "Doing TAGS in prms" ; \
14429         (cd prms && \
14430           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14431                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14432                   "RANLIB=$${RANLIB}" \
14433                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14434                   TAGS) \
14435           || exit 1
14436
14437 @endif prms
14438
14439 .PHONY: maybe-install-info-prms install-info-prms
14440 maybe-install-info-prms:
14441 @if prms
14442 maybe-install-info-prms: install-info-prms
14443
14444 install-info-prms: \
14445     configure-prms \
14446     info-prms 
14447         @[ -f ./prms/Makefile ] || exit 0; \
14448         r=`${PWD_COMMAND}`; export r; \
14449         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14450         $(SET_LIB_PATH) \
14451         for flag in $(EXTRA_HOST_FLAGS); do \
14452           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14453         done; \
14454         echo "Doing install-info in prms" ; \
14455         (cd prms && \
14456           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14457                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14458                   "RANLIB=$${RANLIB}" \
14459                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14460                   install-info) \
14461           || exit 1
14462
14463 @endif prms
14464
14465 .PHONY: maybe-installcheck-prms installcheck-prms
14466 maybe-installcheck-prms:
14467 @if prms
14468 maybe-installcheck-prms: installcheck-prms
14469
14470 installcheck-prms: \
14471     configure-prms 
14472         @[ -f ./prms/Makefile ] || exit 0; \
14473         r=`${PWD_COMMAND}`; export r; \
14474         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14475         $(SET_LIB_PATH) \
14476         for flag in $(EXTRA_HOST_FLAGS); do \
14477           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14478         done; \
14479         echo "Doing installcheck in prms" ; \
14480         (cd prms && \
14481           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14482                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14483                   "RANLIB=$${RANLIB}" \
14484                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14485                   installcheck) \
14486           || exit 1
14487
14488 @endif prms
14489
14490 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
14491 maybe-mostlyclean-prms:
14492 @if prms
14493 maybe-mostlyclean-prms: mostlyclean-prms
14494
14495 mostlyclean-prms: 
14496         @[ -f ./prms/Makefile ] || exit 0; \
14497         r=`${PWD_COMMAND}`; export r; \
14498         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14499         $(SET_LIB_PATH) \
14500         for flag in $(EXTRA_HOST_FLAGS); do \
14501           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14502         done; \
14503         echo "Doing mostlyclean in prms" ; \
14504         (cd prms && \
14505           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14506                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14507                   "RANLIB=$${RANLIB}" \
14508                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14509                   mostlyclean) \
14510           || exit 1
14511
14512 @endif prms
14513
14514 .PHONY: maybe-clean-prms clean-prms
14515 maybe-clean-prms:
14516 @if prms
14517 maybe-clean-prms: clean-prms
14518
14519 clean-prms: 
14520         @[ -f ./prms/Makefile ] || exit 0; \
14521         r=`${PWD_COMMAND}`; export r; \
14522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14523         $(SET_LIB_PATH) \
14524         for flag in $(EXTRA_HOST_FLAGS); do \
14525           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14526         done; \
14527         echo "Doing clean in prms" ; \
14528         (cd prms && \
14529           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14530                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14531                   "RANLIB=$${RANLIB}" \
14532                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14533                   clean) \
14534           || exit 1
14535
14536 @endif prms
14537
14538 .PHONY: maybe-distclean-prms distclean-prms
14539 maybe-distclean-prms:
14540 @if prms
14541 maybe-distclean-prms: distclean-prms
14542
14543 distclean-prms: 
14544         @[ -f ./prms/Makefile ] || exit 0; \
14545         r=`${PWD_COMMAND}`; export r; \
14546         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14547         $(SET_LIB_PATH) \
14548         for flag in $(EXTRA_HOST_FLAGS); do \
14549           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14550         done; \
14551         echo "Doing distclean in prms" ; \
14552         (cd prms && \
14553           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14554                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14555                   "RANLIB=$${RANLIB}" \
14556                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14557                   distclean) \
14558           || exit 1
14559
14560 @endif prms
14561
14562 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
14563 maybe-maintainer-clean-prms:
14564 @if prms
14565 maybe-maintainer-clean-prms: maintainer-clean-prms
14566
14567 maintainer-clean-prms: 
14568         @[ -f ./prms/Makefile ] || exit 0; \
14569         r=`${PWD_COMMAND}`; export r; \
14570         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14571         $(SET_LIB_PATH) \
14572         for flag in $(EXTRA_HOST_FLAGS); do \
14573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14574         done; \
14575         echo "Doing maintainer-clean in prms" ; \
14576         (cd prms && \
14577           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14578                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14579                   "RANLIB=$${RANLIB}" \
14580                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14581                   maintainer-clean) \
14582           || exit 1
14583
14584 @endif prms
14585
14586
14587 .PHONY: configure-rcs maybe-configure-rcs
14588 maybe-configure-rcs:
14589 @if rcs
14590 maybe-configure-rcs: configure-rcs
14591 configure-rcs:
14592         @test ! -f rcs/Makefile || exit 0; \
14593         [ -d rcs ] || mkdir rcs; \
14594         r=`${PWD_COMMAND}`; export r; \
14595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14596         CC="$(CC)"; export CC; \
14597         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14598         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14599         CXX="$(CXX)"; export CXX; \
14600         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14601         AR="$(AR)"; export AR; \
14602         AS="$(AS)"; export AS; \
14603         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14604         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14605         LD="$(LD)"; export LD; \
14606         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14607         NM="$(NM)"; export NM; \
14608         RANLIB="$(RANLIB)"; export RANLIB; \
14609         WINDRES="$(WINDRES)"; export WINDRES; \
14610         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14611         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14612         echo Configuring in rcs; \
14613         cd rcs || exit 1; \
14614         case $(srcdir) in \
14615           \.) \
14616             srcdiroption="--srcdir=."; \
14617             libsrcdir=".";; \
14618           /* | [A-Za-z]:[\\/]*) \
14619             srcdiroption="--srcdir=$(srcdir)/rcs"; \
14620             libsrcdir="$$s/rcs";; \
14621           *) \
14622             srcdiroption="--srcdir=../$(srcdir)/rcs"; \
14623             libsrcdir="$$s/rcs";; \
14624         esac; \
14625         $(SHELL) $${libsrcdir}/configure \
14626           $(HOST_CONFIGARGS) $${srcdiroption} \
14627           || exit 1
14628 @endif rcs
14629
14630 .PHONY: all-rcs maybe-all-rcs
14631 maybe-all-rcs:
14632 @if rcs
14633 maybe-all-rcs: all-rcs
14634 all-rcs: configure-rcs
14635         @r=`${PWD_COMMAND}`; export r; \
14636         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14637         $(SET_LIB_PATH) \
14638         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
14639 @endif rcs
14640
14641 .PHONY: check-rcs maybe-check-rcs
14642 maybe-check-rcs:
14643 @if rcs
14644 maybe-check-rcs: check-rcs
14645
14646 check-rcs:
14647         @r=`${PWD_COMMAND}`; export r; \
14648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14649         $(SET_LIB_PATH) \
14650         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
14651
14652 @endif rcs
14653
14654 .PHONY: install-rcs maybe-install-rcs
14655 maybe-install-rcs:
14656 @if rcs
14657 maybe-install-rcs: install-rcs
14658
14659 install-rcs: installdirs
14660         @r=`${PWD_COMMAND}`; export r; \
14661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14662         $(SET_LIB_PATH) \
14663         (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
14664
14665 @endif rcs
14666
14667 # Other targets (info, dvi, etc.)
14668
14669 .PHONY: maybe-info-rcs info-rcs
14670 maybe-info-rcs:
14671 @if rcs
14672 maybe-info-rcs: info-rcs
14673
14674 info-rcs: \
14675     configure-rcs 
14676         @[ -f ./rcs/Makefile ] || exit 0; \
14677         r=`${PWD_COMMAND}`; export r; \
14678         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14679         $(SET_LIB_PATH) \
14680         for flag in $(EXTRA_HOST_FLAGS); do \
14681           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682         done; \
14683         echo "Doing info in rcs" ; \
14684         (cd rcs && \
14685           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687                   "RANLIB=$${RANLIB}" \
14688                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14689                   info) \
14690           || exit 1
14691
14692 @endif rcs
14693
14694 .PHONY: maybe-dvi-rcs dvi-rcs
14695 maybe-dvi-rcs:
14696 @if rcs
14697 maybe-dvi-rcs: dvi-rcs
14698
14699 dvi-rcs: \
14700     configure-rcs 
14701         @[ -f ./rcs/Makefile ] || exit 0; \
14702         r=`${PWD_COMMAND}`; export r; \
14703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704         $(SET_LIB_PATH) \
14705         for flag in $(EXTRA_HOST_FLAGS); do \
14706           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14707         done; \
14708         echo "Doing dvi in rcs" ; \
14709         (cd rcs && \
14710           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14711                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14712                   "RANLIB=$${RANLIB}" \
14713                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14714                   dvi) \
14715           || exit 1
14716
14717 @endif rcs
14718
14719 .PHONY: maybe-TAGS-rcs TAGS-rcs
14720 maybe-TAGS-rcs:
14721 @if rcs
14722 maybe-TAGS-rcs: TAGS-rcs
14723
14724 TAGS-rcs: \
14725     configure-rcs 
14726         @[ -f ./rcs/Makefile ] || exit 0; \
14727         r=`${PWD_COMMAND}`; export r; \
14728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14729         $(SET_LIB_PATH) \
14730         for flag in $(EXTRA_HOST_FLAGS); do \
14731           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14732         done; \
14733         echo "Doing TAGS in rcs" ; \
14734         (cd rcs && \
14735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737                   "RANLIB=$${RANLIB}" \
14738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14739                   TAGS) \
14740           || exit 1
14741
14742 @endif rcs
14743
14744 .PHONY: maybe-install-info-rcs install-info-rcs
14745 maybe-install-info-rcs:
14746 @if rcs
14747 maybe-install-info-rcs: install-info-rcs
14748
14749 install-info-rcs: \
14750     configure-rcs \
14751     info-rcs 
14752         @[ -f ./rcs/Makefile ] || exit 0; \
14753         r=`${PWD_COMMAND}`; export r; \
14754         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14755         $(SET_LIB_PATH) \
14756         for flag in $(EXTRA_HOST_FLAGS); do \
14757           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14758         done; \
14759         echo "Doing install-info in rcs" ; \
14760         (cd rcs && \
14761           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14762                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14763                   "RANLIB=$${RANLIB}" \
14764                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14765                   install-info) \
14766           || exit 1
14767
14768 @endif rcs
14769
14770 .PHONY: maybe-installcheck-rcs installcheck-rcs
14771 maybe-installcheck-rcs:
14772 @if rcs
14773 maybe-installcheck-rcs: installcheck-rcs
14774
14775 installcheck-rcs: \
14776     configure-rcs 
14777         @[ -f ./rcs/Makefile ] || exit 0; \
14778         r=`${PWD_COMMAND}`; export r; \
14779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14780         $(SET_LIB_PATH) \
14781         for flag in $(EXTRA_HOST_FLAGS); do \
14782           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14783         done; \
14784         echo "Doing installcheck in rcs" ; \
14785         (cd rcs && \
14786           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14787                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14788                   "RANLIB=$${RANLIB}" \
14789                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14790                   installcheck) \
14791           || exit 1
14792
14793 @endif rcs
14794
14795 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
14796 maybe-mostlyclean-rcs:
14797 @if rcs
14798 maybe-mostlyclean-rcs: mostlyclean-rcs
14799
14800 mostlyclean-rcs: 
14801         @[ -f ./rcs/Makefile ] || exit 0; \
14802         r=`${PWD_COMMAND}`; export r; \
14803         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804         $(SET_LIB_PATH) \
14805         for flag in $(EXTRA_HOST_FLAGS); do \
14806           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14807         done; \
14808         echo "Doing mostlyclean in rcs" ; \
14809         (cd rcs && \
14810           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14811                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14812                   "RANLIB=$${RANLIB}" \
14813                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14814                   mostlyclean) \
14815           || exit 1
14816
14817 @endif rcs
14818
14819 .PHONY: maybe-clean-rcs clean-rcs
14820 maybe-clean-rcs:
14821 @if rcs
14822 maybe-clean-rcs: clean-rcs
14823
14824 clean-rcs: 
14825         @[ -f ./rcs/Makefile ] || exit 0; \
14826         r=`${PWD_COMMAND}`; export r; \
14827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14828         $(SET_LIB_PATH) \
14829         for flag in $(EXTRA_HOST_FLAGS); do \
14830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14831         done; \
14832         echo "Doing clean in rcs" ; \
14833         (cd rcs && \
14834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14836                   "RANLIB=$${RANLIB}" \
14837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14838                   clean) \
14839           || exit 1
14840
14841 @endif rcs
14842
14843 .PHONY: maybe-distclean-rcs distclean-rcs
14844 maybe-distclean-rcs:
14845 @if rcs
14846 maybe-distclean-rcs: distclean-rcs
14847
14848 distclean-rcs: 
14849         @[ -f ./rcs/Makefile ] || exit 0; \
14850         r=`${PWD_COMMAND}`; export r; \
14851         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14852         $(SET_LIB_PATH) \
14853         for flag in $(EXTRA_HOST_FLAGS); do \
14854           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14855         done; \
14856         echo "Doing distclean in rcs" ; \
14857         (cd rcs && \
14858           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14859                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14860                   "RANLIB=$${RANLIB}" \
14861                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14862                   distclean) \
14863           || exit 1
14864
14865 @endif rcs
14866
14867 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
14868 maybe-maintainer-clean-rcs:
14869 @if rcs
14870 maybe-maintainer-clean-rcs: maintainer-clean-rcs
14871
14872 maintainer-clean-rcs: 
14873         @[ -f ./rcs/Makefile ] || exit 0; \
14874         r=`${PWD_COMMAND}`; export r; \
14875         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14876         $(SET_LIB_PATH) \
14877         for flag in $(EXTRA_HOST_FLAGS); do \
14878           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14879         done; \
14880         echo "Doing maintainer-clean in rcs" ; \
14881         (cd rcs && \
14882           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14883                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14884                   "RANLIB=$${RANLIB}" \
14885                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14886                   maintainer-clean) \
14887           || exit 1
14888
14889 @endif rcs
14890
14891
14892 .PHONY: configure-readline maybe-configure-readline
14893 maybe-configure-readline:
14894 @if readline
14895 maybe-configure-readline: configure-readline
14896 configure-readline:
14897         @test ! -f readline/Makefile || exit 0; \
14898         [ -d readline ] || mkdir readline; \
14899         r=`${PWD_COMMAND}`; export r; \
14900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14901         CC="$(CC)"; export CC; \
14902         CFLAGS="$(CFLAGS)"; export CFLAGS; \
14903         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14904         CXX="$(CXX)"; export CXX; \
14905         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14906         AR="$(AR)"; export AR; \
14907         AS="$(AS)"; export AS; \
14908         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14909         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14910         LD="$(LD)"; export LD; \
14911         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14912         NM="$(NM)"; export NM; \
14913         RANLIB="$(RANLIB)"; export RANLIB; \
14914         WINDRES="$(WINDRES)"; export WINDRES; \
14915         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14916         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14917         echo Configuring in readline; \
14918         cd readline || exit 1; \
14919         case $(srcdir) in \
14920           \.) \
14921             srcdiroption="--srcdir=."; \
14922             libsrcdir=".";; \
14923           /* | [A-Za-z]:[\\/]*) \
14924             srcdiroption="--srcdir=$(srcdir)/readline"; \
14925             libsrcdir="$$s/readline";; \
14926           *) \
14927             srcdiroption="--srcdir=../$(srcdir)/readline"; \
14928             libsrcdir="$$s/readline";; \
14929         esac; \
14930         $(SHELL) $${libsrcdir}/configure \
14931           $(HOST_CONFIGARGS) $${srcdiroption} \
14932           || exit 1
14933 @endif readline
14934
14935 .PHONY: all-readline maybe-all-readline
14936 maybe-all-readline:
14937 @if readline
14938 maybe-all-readline: all-readline
14939 all-readline: configure-readline
14940         @r=`${PWD_COMMAND}`; export r; \
14941         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14942         $(SET_LIB_PATH) \
14943         (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
14944 @endif readline
14945
14946 .PHONY: check-readline maybe-check-readline
14947 maybe-check-readline:
14948 @if readline
14949 maybe-check-readline: check-readline
14950
14951 check-readline:
14952         @r=`${PWD_COMMAND}`; export r; \
14953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14954         $(SET_LIB_PATH) \
14955         (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
14956
14957 @endif readline
14958
14959 .PHONY: install-readline maybe-install-readline
14960 maybe-install-readline:
14961 @if readline
14962 maybe-install-readline: install-readline
14963
14964 install-readline: installdirs
14965         @r=`${PWD_COMMAND}`; export r; \
14966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14967         $(SET_LIB_PATH) \
14968         (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
14969
14970 @endif readline
14971
14972 # Other targets (info, dvi, etc.)
14973
14974 .PHONY: maybe-info-readline info-readline
14975 maybe-info-readline:
14976 @if readline
14977 maybe-info-readline: info-readline
14978
14979 info-readline: \
14980     configure-readline 
14981         @[ -f ./readline/Makefile ] || exit 0; \
14982         r=`${PWD_COMMAND}`; export r; \
14983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984         $(SET_LIB_PATH) \
14985         for flag in $(EXTRA_HOST_FLAGS); do \
14986           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14987         done; \
14988         echo "Doing info in readline" ; \
14989         (cd readline && \
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                   info) \
14995           || exit 1
14996
14997 @endif readline
14998
14999 .PHONY: maybe-dvi-readline dvi-readline
15000 maybe-dvi-readline:
15001 @if readline
15002 maybe-dvi-readline: dvi-readline
15003
15004 dvi-readline: \
15005     configure-readline 
15006         @[ -f ./readline/Makefile ] || exit 0; \
15007         r=`${PWD_COMMAND}`; export r; \
15008         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15009         $(SET_LIB_PATH) \
15010         for flag in $(EXTRA_HOST_FLAGS); do \
15011           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15012         done; \
15013         echo "Doing dvi in readline" ; \
15014         (cd readline && \
15015           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15016                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15017                   "RANLIB=$${RANLIB}" \
15018                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15019                   dvi) \
15020           || exit 1
15021
15022 @endif readline
15023
15024 .PHONY: maybe-TAGS-readline TAGS-readline
15025 maybe-TAGS-readline:
15026 @if readline
15027 maybe-TAGS-readline: TAGS-readline
15028
15029 TAGS-readline: \
15030     configure-readline 
15031         @[ -f ./readline/Makefile ] || exit 0; \
15032         r=`${PWD_COMMAND}`; export r; \
15033         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15034         $(SET_LIB_PATH) \
15035         for flag in $(EXTRA_HOST_FLAGS); do \
15036           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15037         done; \
15038         echo "Doing TAGS in readline" ; \
15039         (cd readline && \
15040           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042                   "RANLIB=$${RANLIB}" \
15043                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15044                   TAGS) \
15045           || exit 1
15046
15047 @endif readline
15048
15049 .PHONY: maybe-install-info-readline install-info-readline
15050 maybe-install-info-readline:
15051 @if readline
15052 maybe-install-info-readline: install-info-readline
15053
15054 install-info-readline: \
15055     configure-readline \
15056     info-readline 
15057         @[ -f ./readline/Makefile ] || exit 0; \
15058         r=`${PWD_COMMAND}`; export r; \
15059         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15060         $(SET_LIB_PATH) \
15061         for flag in $(EXTRA_HOST_FLAGS); do \
15062           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15063         done; \
15064         echo "Doing install-info in readline" ; \
15065         (cd readline && \
15066           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068                   "RANLIB=$${RANLIB}" \
15069                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15070                   install-info) \
15071           || exit 1
15072
15073 @endif readline
15074
15075 .PHONY: maybe-installcheck-readline installcheck-readline
15076 maybe-installcheck-readline:
15077 @if readline
15078 maybe-installcheck-readline: installcheck-readline
15079
15080 installcheck-readline: \
15081     configure-readline 
15082         @[ -f ./readline/Makefile ] || exit 0; \
15083         r=`${PWD_COMMAND}`; export r; \
15084         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085         $(SET_LIB_PATH) \
15086         for flag in $(EXTRA_HOST_FLAGS); do \
15087           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15088         done; \
15089         echo "Doing installcheck in readline" ; \
15090         (cd readline && \
15091           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093                   "RANLIB=$${RANLIB}" \
15094                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15095                   installcheck) \
15096           || exit 1
15097
15098 @endif readline
15099
15100 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15101 maybe-mostlyclean-readline:
15102 @if readline
15103 maybe-mostlyclean-readline: mostlyclean-readline
15104
15105 mostlyclean-readline: 
15106         @[ -f ./readline/Makefile ] || exit 0; \
15107         r=`${PWD_COMMAND}`; export r; \
15108         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15109         $(SET_LIB_PATH) \
15110         for flag in $(EXTRA_HOST_FLAGS); do \
15111           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15112         done; \
15113         echo "Doing mostlyclean in readline" ; \
15114         (cd readline && \
15115           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15116                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15117                   "RANLIB=$${RANLIB}" \
15118                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15119                   mostlyclean) \
15120           || exit 1
15121
15122 @endif readline
15123
15124 .PHONY: maybe-clean-readline clean-readline
15125 maybe-clean-readline:
15126 @if readline
15127 maybe-clean-readline: clean-readline
15128
15129 clean-readline: 
15130         @[ -f ./readline/Makefile ] || exit 0; \
15131         r=`${PWD_COMMAND}`; export r; \
15132         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15133         $(SET_LIB_PATH) \
15134         for flag in $(EXTRA_HOST_FLAGS); do \
15135           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15136         done; \
15137         echo "Doing clean in readline" ; \
15138         (cd readline && \
15139           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15140                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15141                   "RANLIB=$${RANLIB}" \
15142                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15143                   clean) \
15144           || exit 1
15145
15146 @endif readline
15147
15148 .PHONY: maybe-distclean-readline distclean-readline
15149 maybe-distclean-readline:
15150 @if readline
15151 maybe-distclean-readline: distclean-readline
15152
15153 distclean-readline: 
15154         @[ -f ./readline/Makefile ] || exit 0; \
15155         r=`${PWD_COMMAND}`; export r; \
15156         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15157         $(SET_LIB_PATH) \
15158         for flag in $(EXTRA_HOST_FLAGS); do \
15159           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15160         done; \
15161         echo "Doing distclean in readline" ; \
15162         (cd readline && \
15163           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15164                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15165                   "RANLIB=$${RANLIB}" \
15166                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15167                   distclean) \
15168           || exit 1
15169
15170 @endif readline
15171
15172 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15173 maybe-maintainer-clean-readline:
15174 @if readline
15175 maybe-maintainer-clean-readline: maintainer-clean-readline
15176
15177 maintainer-clean-readline: 
15178         @[ -f ./readline/Makefile ] || exit 0; \
15179         r=`${PWD_COMMAND}`; export r; \
15180         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15181         $(SET_LIB_PATH) \
15182         for flag in $(EXTRA_HOST_FLAGS); do \
15183           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15184         done; \
15185         echo "Doing maintainer-clean in readline" ; \
15186         (cd readline && \
15187           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15188                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15189                   "RANLIB=$${RANLIB}" \
15190                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15191                   maintainer-clean) \
15192           || exit 1
15193
15194 @endif readline
15195
15196
15197 .PHONY: configure-release maybe-configure-release
15198 maybe-configure-release:
15199 @if release
15200 maybe-configure-release: configure-release
15201 configure-release:
15202         @test ! -f release/Makefile || exit 0; \
15203         [ -d release ] || mkdir release; \
15204         r=`${PWD_COMMAND}`; export r; \
15205         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15206         CC="$(CC)"; export CC; \
15207         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15208         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15209         CXX="$(CXX)"; export CXX; \
15210         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15211         AR="$(AR)"; export AR; \
15212         AS="$(AS)"; export AS; \
15213         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15214         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15215         LD="$(LD)"; export LD; \
15216         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15217         NM="$(NM)"; export NM; \
15218         RANLIB="$(RANLIB)"; export RANLIB; \
15219         WINDRES="$(WINDRES)"; export WINDRES; \
15220         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15221         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15222         echo Configuring in release; \
15223         cd release || exit 1; \
15224         case $(srcdir) in \
15225           \.) \
15226             srcdiroption="--srcdir=."; \
15227             libsrcdir=".";; \
15228           /* | [A-Za-z]:[\\/]*) \
15229             srcdiroption="--srcdir=$(srcdir)/release"; \
15230             libsrcdir="$$s/release";; \
15231           *) \
15232             srcdiroption="--srcdir=../$(srcdir)/release"; \
15233             libsrcdir="$$s/release";; \
15234         esac; \
15235         $(SHELL) $${libsrcdir}/configure \
15236           $(HOST_CONFIGARGS) $${srcdiroption} \
15237           || exit 1
15238 @endif release
15239
15240 .PHONY: all-release maybe-all-release
15241 maybe-all-release:
15242 @if release
15243 maybe-all-release: all-release
15244 all-release: configure-release
15245         @r=`${PWD_COMMAND}`; export r; \
15246         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247         $(SET_LIB_PATH) \
15248         (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15249 @endif release
15250
15251 .PHONY: check-release maybe-check-release
15252 maybe-check-release:
15253 @if release
15254 maybe-check-release: check-release
15255
15256 check-release:
15257
15258 @endif release
15259
15260 .PHONY: install-release maybe-install-release
15261 maybe-install-release:
15262 @if release
15263 maybe-install-release: install-release
15264
15265 install-release:
15266
15267 @endif release
15268
15269 # Other targets (info, dvi, etc.)
15270
15271 .PHONY: maybe-info-release info-release
15272 maybe-info-release:
15273 @if release
15274 maybe-info-release: info-release
15275
15276 info-release: \
15277     configure-release 
15278         @[ -f ./release/Makefile ] || exit 0; \
15279         r=`${PWD_COMMAND}`; export r; \
15280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15281         $(SET_LIB_PATH) \
15282         for flag in $(EXTRA_HOST_FLAGS); do \
15283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15284         done; \
15285         echo "Doing info in release" ; \
15286         (cd release && \
15287           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289                   "RANLIB=$${RANLIB}" \
15290                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15291                   info) \
15292           || exit 1
15293
15294 @endif release
15295
15296 .PHONY: maybe-dvi-release dvi-release
15297 maybe-dvi-release:
15298 @if release
15299 maybe-dvi-release: dvi-release
15300
15301 dvi-release: \
15302     configure-release 
15303         @[ -f ./release/Makefile ] || exit 0; \
15304         r=`${PWD_COMMAND}`; export r; \
15305         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306         $(SET_LIB_PATH) \
15307         for flag in $(EXTRA_HOST_FLAGS); do \
15308           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15309         done; \
15310         echo "Doing dvi in release" ; \
15311         (cd release && \
15312           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15313                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15314                   "RANLIB=$${RANLIB}" \
15315                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15316                   dvi) \
15317           || exit 1
15318
15319 @endif release
15320
15321 .PHONY: maybe-TAGS-release TAGS-release
15322 maybe-TAGS-release:
15323 @if release
15324 maybe-TAGS-release: TAGS-release
15325
15326 TAGS-release: \
15327     configure-release 
15328         @[ -f ./release/Makefile ] || exit 0; \
15329         r=`${PWD_COMMAND}`; export r; \
15330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15331         $(SET_LIB_PATH) \
15332         for flag in $(EXTRA_HOST_FLAGS); do \
15333           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15334         done; \
15335         echo "Doing TAGS in release" ; \
15336         (cd release && \
15337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15339                   "RANLIB=$${RANLIB}" \
15340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15341                   TAGS) \
15342           || exit 1
15343
15344 @endif release
15345
15346 .PHONY: maybe-install-info-release install-info-release
15347 maybe-install-info-release:
15348 @if release
15349 maybe-install-info-release: install-info-release
15350
15351 install-info-release: \
15352     configure-release \
15353     info-release 
15354         @[ -f ./release/Makefile ] || exit 0; \
15355         r=`${PWD_COMMAND}`; export r; \
15356         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357         $(SET_LIB_PATH) \
15358         for flag in $(EXTRA_HOST_FLAGS); do \
15359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15360         done; \
15361         echo "Doing install-info in release" ; \
15362         (cd release && \
15363           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15364                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15365                   "RANLIB=$${RANLIB}" \
15366                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15367                   install-info) \
15368           || exit 1
15369
15370 @endif release
15371
15372 .PHONY: maybe-installcheck-release installcheck-release
15373 maybe-installcheck-release:
15374 @if release
15375 maybe-installcheck-release: installcheck-release
15376
15377 installcheck-release: \
15378     configure-release 
15379         @[ -f ./release/Makefile ] || exit 0; \
15380         r=`${PWD_COMMAND}`; export r; \
15381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382         $(SET_LIB_PATH) \
15383         for flag in $(EXTRA_HOST_FLAGS); do \
15384           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15385         done; \
15386         echo "Doing installcheck in release" ; \
15387         (cd release && \
15388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390                   "RANLIB=$${RANLIB}" \
15391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15392                   installcheck) \
15393           || exit 1
15394
15395 @endif release
15396
15397 .PHONY: maybe-mostlyclean-release mostlyclean-release
15398 maybe-mostlyclean-release:
15399 @if release
15400 maybe-mostlyclean-release: mostlyclean-release
15401
15402 mostlyclean-release: 
15403         @[ -f ./release/Makefile ] || exit 0; \
15404         r=`${PWD_COMMAND}`; export r; \
15405         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15406         $(SET_LIB_PATH) \
15407         for flag in $(EXTRA_HOST_FLAGS); do \
15408           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15409         done; \
15410         echo "Doing mostlyclean in release" ; \
15411         (cd release && \
15412           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15413                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15414                   "RANLIB=$${RANLIB}" \
15415                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15416                   mostlyclean) \
15417           || exit 1
15418
15419 @endif release
15420
15421 .PHONY: maybe-clean-release clean-release
15422 maybe-clean-release:
15423 @if release
15424 maybe-clean-release: clean-release
15425
15426 clean-release: 
15427         @[ -f ./release/Makefile ] || exit 0; \
15428         r=`${PWD_COMMAND}`; export r; \
15429         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15430         $(SET_LIB_PATH) \
15431         for flag in $(EXTRA_HOST_FLAGS); do \
15432           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15433         done; \
15434         echo "Doing clean in release" ; \
15435         (cd release && \
15436           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15437                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15438                   "RANLIB=$${RANLIB}" \
15439                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15440                   clean) \
15441           || exit 1
15442
15443 @endif release
15444
15445 .PHONY: maybe-distclean-release distclean-release
15446 maybe-distclean-release:
15447 @if release
15448 maybe-distclean-release: distclean-release
15449
15450 distclean-release: 
15451         @[ -f ./release/Makefile ] || exit 0; \
15452         r=`${PWD_COMMAND}`; export r; \
15453         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15454         $(SET_LIB_PATH) \
15455         for flag in $(EXTRA_HOST_FLAGS); do \
15456           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15457         done; \
15458         echo "Doing distclean in release" ; \
15459         (cd release && \
15460           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15461                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15462                   "RANLIB=$${RANLIB}" \
15463                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15464                   distclean) \
15465           || exit 1
15466
15467 @endif release
15468
15469 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
15470 maybe-maintainer-clean-release:
15471 @if release
15472 maybe-maintainer-clean-release: maintainer-clean-release
15473
15474 maintainer-clean-release: 
15475         @[ -f ./release/Makefile ] || exit 0; \
15476         r=`${PWD_COMMAND}`; export r; \
15477         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15478         $(SET_LIB_PATH) \
15479         for flag in $(EXTRA_HOST_FLAGS); do \
15480           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15481         done; \
15482         echo "Doing maintainer-clean in release" ; \
15483         (cd release && \
15484           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15485                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15486                   "RANLIB=$${RANLIB}" \
15487                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15488                   maintainer-clean) \
15489           || exit 1
15490
15491 @endif release
15492
15493
15494 .PHONY: configure-recode maybe-configure-recode
15495 maybe-configure-recode:
15496 @if recode
15497 maybe-configure-recode: configure-recode
15498 configure-recode:
15499         @test ! -f recode/Makefile || exit 0; \
15500         [ -d recode ] || mkdir recode; \
15501         r=`${PWD_COMMAND}`; export r; \
15502         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503         CC="$(CC)"; export CC; \
15504         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15505         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15506         CXX="$(CXX)"; export CXX; \
15507         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15508         AR="$(AR)"; export AR; \
15509         AS="$(AS)"; export AS; \
15510         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15511         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15512         LD="$(LD)"; export LD; \
15513         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15514         NM="$(NM)"; export NM; \
15515         RANLIB="$(RANLIB)"; export RANLIB; \
15516         WINDRES="$(WINDRES)"; export WINDRES; \
15517         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15518         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15519         echo Configuring in recode; \
15520         cd recode || exit 1; \
15521         case $(srcdir) in \
15522           \.) \
15523             srcdiroption="--srcdir=."; \
15524             libsrcdir=".";; \
15525           /* | [A-Za-z]:[\\/]*) \
15526             srcdiroption="--srcdir=$(srcdir)/recode"; \
15527             libsrcdir="$$s/recode";; \
15528           *) \
15529             srcdiroption="--srcdir=../$(srcdir)/recode"; \
15530             libsrcdir="$$s/recode";; \
15531         esac; \
15532         $(SHELL) $${libsrcdir}/configure \
15533           $(HOST_CONFIGARGS) $${srcdiroption} \
15534           || exit 1
15535 @endif recode
15536
15537 .PHONY: all-recode maybe-all-recode
15538 maybe-all-recode:
15539 @if recode
15540 maybe-all-recode: all-recode
15541 all-recode: configure-recode
15542         @r=`${PWD_COMMAND}`; export r; \
15543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544         $(SET_LIB_PATH) \
15545         (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
15546 @endif recode
15547
15548 .PHONY: check-recode maybe-check-recode
15549 maybe-check-recode:
15550 @if recode
15551 maybe-check-recode: check-recode
15552
15553 check-recode:
15554         @r=`${PWD_COMMAND}`; export r; \
15555         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15556         $(SET_LIB_PATH) \
15557         (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
15558
15559 @endif recode
15560
15561 .PHONY: install-recode maybe-install-recode
15562 maybe-install-recode:
15563 @if recode
15564 maybe-install-recode: install-recode
15565
15566 install-recode: installdirs
15567         @r=`${PWD_COMMAND}`; export r; \
15568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15569         $(SET_LIB_PATH) \
15570         (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
15571
15572 @endif recode
15573
15574 # Other targets (info, dvi, etc.)
15575
15576 .PHONY: maybe-info-recode info-recode
15577 maybe-info-recode:
15578 @if recode
15579 maybe-info-recode: info-recode
15580
15581 info-recode: \
15582     configure-recode 
15583         @[ -f ./recode/Makefile ] || exit 0; \
15584         r=`${PWD_COMMAND}`; export r; \
15585         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586         $(SET_LIB_PATH) \
15587         for flag in $(EXTRA_HOST_FLAGS); do \
15588           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15589         done; \
15590         echo "Doing info in recode" ; \
15591         (cd recode && \
15592           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15593                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15594                   "RANLIB=$${RANLIB}" \
15595                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15596                   info) \
15597           || exit 1
15598
15599 @endif recode
15600
15601 .PHONY: maybe-dvi-recode dvi-recode
15602 maybe-dvi-recode:
15603 @if recode
15604 maybe-dvi-recode: dvi-recode
15605
15606 dvi-recode: \
15607     configure-recode 
15608         @[ -f ./recode/Makefile ] || exit 0; \
15609         r=`${PWD_COMMAND}`; export r; \
15610         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15611         $(SET_LIB_PATH) \
15612         for flag in $(EXTRA_HOST_FLAGS); do \
15613           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15614         done; \
15615         echo "Doing dvi in recode" ; \
15616         (cd recode && \
15617           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15618                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15619                   "RANLIB=$${RANLIB}" \
15620                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15621                   dvi) \
15622           || exit 1
15623
15624 @endif recode
15625
15626 .PHONY: maybe-TAGS-recode TAGS-recode
15627 maybe-TAGS-recode:
15628 @if recode
15629 maybe-TAGS-recode: TAGS-recode
15630
15631 TAGS-recode: \
15632     configure-recode 
15633         @[ -f ./recode/Makefile ] || exit 0; \
15634         r=`${PWD_COMMAND}`; export r; \
15635         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15636         $(SET_LIB_PATH) \
15637         for flag in $(EXTRA_HOST_FLAGS); do \
15638           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15639         done; \
15640         echo "Doing TAGS in recode" ; \
15641         (cd recode && \
15642           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15643                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15644                   "RANLIB=$${RANLIB}" \
15645                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15646                   TAGS) \
15647           || exit 1
15648
15649 @endif recode
15650
15651 .PHONY: maybe-install-info-recode install-info-recode
15652 maybe-install-info-recode:
15653 @if recode
15654 maybe-install-info-recode: install-info-recode
15655
15656 install-info-recode: \
15657     configure-recode \
15658     info-recode 
15659         @[ -f ./recode/Makefile ] || exit 0; \
15660         r=`${PWD_COMMAND}`; export r; \
15661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15662         $(SET_LIB_PATH) \
15663         for flag in $(EXTRA_HOST_FLAGS); do \
15664           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15665         done; \
15666         echo "Doing install-info in recode" ; \
15667         (cd recode && \
15668           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15669                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15670                   "RANLIB=$${RANLIB}" \
15671                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15672                   install-info) \
15673           || exit 1
15674
15675 @endif recode
15676
15677 .PHONY: maybe-installcheck-recode installcheck-recode
15678 maybe-installcheck-recode:
15679 @if recode
15680 maybe-installcheck-recode: installcheck-recode
15681
15682 installcheck-recode: \
15683     configure-recode 
15684         @[ -f ./recode/Makefile ] || exit 0; \
15685         r=`${PWD_COMMAND}`; export r; \
15686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15687         $(SET_LIB_PATH) \
15688         for flag in $(EXTRA_HOST_FLAGS); do \
15689           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15690         done; \
15691         echo "Doing installcheck in recode" ; \
15692         (cd recode && \
15693           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15694                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15695                   "RANLIB=$${RANLIB}" \
15696                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15697                   installcheck) \
15698           || exit 1
15699
15700 @endif recode
15701
15702 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
15703 maybe-mostlyclean-recode:
15704 @if recode
15705 maybe-mostlyclean-recode: mostlyclean-recode
15706
15707 mostlyclean-recode: 
15708         @[ -f ./recode/Makefile ] || exit 0; \
15709         r=`${PWD_COMMAND}`; export r; \
15710         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711         $(SET_LIB_PATH) \
15712         for flag in $(EXTRA_HOST_FLAGS); do \
15713           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15714         done; \
15715         echo "Doing mostlyclean in recode" ; \
15716         (cd recode && \
15717           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15718                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15719                   "RANLIB=$${RANLIB}" \
15720                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15721                   mostlyclean) \
15722           || exit 1
15723
15724 @endif recode
15725
15726 .PHONY: maybe-clean-recode clean-recode
15727 maybe-clean-recode:
15728 @if recode
15729 maybe-clean-recode: clean-recode
15730
15731 clean-recode: 
15732         @[ -f ./recode/Makefile ] || exit 0; \
15733         r=`${PWD_COMMAND}`; export r; \
15734         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15735         $(SET_LIB_PATH) \
15736         for flag in $(EXTRA_HOST_FLAGS); do \
15737           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15738         done; \
15739         echo "Doing clean in recode" ; \
15740         (cd recode && \
15741           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15742                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15743                   "RANLIB=$${RANLIB}" \
15744                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15745                   clean) \
15746           || exit 1
15747
15748 @endif recode
15749
15750 .PHONY: maybe-distclean-recode distclean-recode
15751 maybe-distclean-recode:
15752 @if recode
15753 maybe-distclean-recode: distclean-recode
15754
15755 distclean-recode: 
15756         @[ -f ./recode/Makefile ] || exit 0; \
15757         r=`${PWD_COMMAND}`; export r; \
15758         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15759         $(SET_LIB_PATH) \
15760         for flag in $(EXTRA_HOST_FLAGS); do \
15761           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15762         done; \
15763         echo "Doing distclean in recode" ; \
15764         (cd recode && \
15765           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15766                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15767                   "RANLIB=$${RANLIB}" \
15768                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15769                   distclean) \
15770           || exit 1
15771
15772 @endif recode
15773
15774 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
15775 maybe-maintainer-clean-recode:
15776 @if recode
15777 maybe-maintainer-clean-recode: maintainer-clean-recode
15778
15779 maintainer-clean-recode: 
15780         @[ -f ./recode/Makefile ] || exit 0; \
15781         r=`${PWD_COMMAND}`; export r; \
15782         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783         $(SET_LIB_PATH) \
15784         for flag in $(EXTRA_HOST_FLAGS); do \
15785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15786         done; \
15787         echo "Doing maintainer-clean in recode" ; \
15788         (cd recode && \
15789           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15790                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15791                   "RANLIB=$${RANLIB}" \
15792                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15793                   maintainer-clean) \
15794           || exit 1
15795
15796 @endif recode
15797
15798
15799 .PHONY: configure-sed maybe-configure-sed
15800 maybe-configure-sed:
15801 @if sed
15802 maybe-configure-sed: configure-sed
15803 configure-sed:
15804         @test ! -f sed/Makefile || exit 0; \
15805         [ -d sed ] || mkdir sed; \
15806         r=`${PWD_COMMAND}`; export r; \
15807         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15808         CC="$(CC)"; export CC; \
15809         CFLAGS="$(CFLAGS)"; export CFLAGS; \
15810         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15811         CXX="$(CXX)"; export CXX; \
15812         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15813         AR="$(AR)"; export AR; \
15814         AS="$(AS)"; export AS; \
15815         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15816         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15817         LD="$(LD)"; export LD; \
15818         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15819         NM="$(NM)"; export NM; \
15820         RANLIB="$(RANLIB)"; export RANLIB; \
15821         WINDRES="$(WINDRES)"; export WINDRES; \
15822         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15823         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15824         echo Configuring in sed; \
15825         cd sed || exit 1; \
15826         case $(srcdir) in \
15827           \.) \
15828             srcdiroption="--srcdir=."; \
15829             libsrcdir=".";; \
15830           /* | [A-Za-z]:[\\/]*) \
15831             srcdiroption="--srcdir=$(srcdir)/sed"; \
15832             libsrcdir="$$s/sed";; \
15833           *) \
15834             srcdiroption="--srcdir=../$(srcdir)/sed"; \
15835             libsrcdir="$$s/sed";; \
15836         esac; \
15837         $(SHELL) $${libsrcdir}/configure \
15838           $(HOST_CONFIGARGS) $${srcdiroption} \
15839           || exit 1
15840 @endif sed
15841
15842 .PHONY: all-sed maybe-all-sed
15843 maybe-all-sed:
15844 @if sed
15845 maybe-all-sed: all-sed
15846 all-sed: configure-sed
15847         @r=`${PWD_COMMAND}`; export r; \
15848         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849         $(SET_LIB_PATH) \
15850         (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
15851 @endif sed
15852
15853 .PHONY: check-sed maybe-check-sed
15854 maybe-check-sed:
15855 @if sed
15856 maybe-check-sed: check-sed
15857
15858 check-sed:
15859         @r=`${PWD_COMMAND}`; export r; \
15860         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15861         $(SET_LIB_PATH) \
15862         (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
15863
15864 @endif sed
15865
15866 .PHONY: install-sed maybe-install-sed
15867 maybe-install-sed:
15868 @if sed
15869 maybe-install-sed: install-sed
15870
15871 install-sed: installdirs
15872         @r=`${PWD_COMMAND}`; export r; \
15873         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874         $(SET_LIB_PATH) \
15875         (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
15876
15877 @endif sed
15878
15879 # Other targets (info, dvi, etc.)
15880
15881 .PHONY: maybe-info-sed info-sed
15882 maybe-info-sed:
15883 @if sed
15884 maybe-info-sed: info-sed
15885
15886 info-sed: \
15887     configure-sed 
15888         @[ -f ./sed/Makefile ] || exit 0; \
15889         r=`${PWD_COMMAND}`; export r; \
15890         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15891         $(SET_LIB_PATH) \
15892         for flag in $(EXTRA_HOST_FLAGS); do \
15893           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15894         done; \
15895         echo "Doing info in sed" ; \
15896         (cd sed && \
15897           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15898                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15899                   "RANLIB=$${RANLIB}" \
15900                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15901                   info) \
15902           || exit 1
15903
15904 @endif sed
15905
15906 .PHONY: maybe-dvi-sed dvi-sed
15907 maybe-dvi-sed:
15908 @if sed
15909 maybe-dvi-sed: dvi-sed
15910
15911 dvi-sed: \
15912     configure-sed 
15913         @[ -f ./sed/Makefile ] || exit 0; \
15914         r=`${PWD_COMMAND}`; export r; \
15915         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15916         $(SET_LIB_PATH) \
15917         for flag in $(EXTRA_HOST_FLAGS); do \
15918           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15919         done; \
15920         echo "Doing dvi in sed" ; \
15921         (cd sed && \
15922           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15923                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15924                   "RANLIB=$${RANLIB}" \
15925                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15926                   dvi) \
15927           || exit 1
15928
15929 @endif sed
15930
15931 .PHONY: maybe-TAGS-sed TAGS-sed
15932 maybe-TAGS-sed:
15933 @if sed
15934 maybe-TAGS-sed: TAGS-sed
15935
15936 TAGS-sed: \
15937     configure-sed 
15938         @[ -f ./sed/Makefile ] || exit 0; \
15939         r=`${PWD_COMMAND}`; export r; \
15940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15941         $(SET_LIB_PATH) \
15942         for flag in $(EXTRA_HOST_FLAGS); do \
15943           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15944         done; \
15945         echo "Doing TAGS in sed" ; \
15946         (cd sed && \
15947           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15948                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15949                   "RANLIB=$${RANLIB}" \
15950                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15951                   TAGS) \
15952           || exit 1
15953
15954 @endif sed
15955
15956 .PHONY: maybe-install-info-sed install-info-sed
15957 maybe-install-info-sed:
15958 @if sed
15959 maybe-install-info-sed: install-info-sed
15960
15961 install-info-sed: \
15962     configure-sed \
15963     info-sed 
15964         @[ -f ./sed/Makefile ] || exit 0; \
15965         r=`${PWD_COMMAND}`; export r; \
15966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15967         $(SET_LIB_PATH) \
15968         for flag in $(EXTRA_HOST_FLAGS); do \
15969           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15970         done; \
15971         echo "Doing install-info in sed" ; \
15972         (cd sed && \
15973           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15974                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15975                   "RANLIB=$${RANLIB}" \
15976                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15977                   install-info) \
15978           || exit 1
15979
15980 @endif sed
15981
15982 .PHONY: maybe-installcheck-sed installcheck-sed
15983 maybe-installcheck-sed:
15984 @if sed
15985 maybe-installcheck-sed: installcheck-sed
15986
15987 installcheck-sed: \
15988     configure-sed 
15989         @[ -f ./sed/Makefile ] || exit 0; \
15990         r=`${PWD_COMMAND}`; export r; \
15991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15992         $(SET_LIB_PATH) \
15993         for flag in $(EXTRA_HOST_FLAGS); do \
15994           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15995         done; \
15996         echo "Doing installcheck in sed" ; \
15997         (cd sed && \
15998           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15999                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16000                   "RANLIB=$${RANLIB}" \
16001                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16002                   installcheck) \
16003           || exit 1
16004
16005 @endif sed
16006
16007 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16008 maybe-mostlyclean-sed:
16009 @if sed
16010 maybe-mostlyclean-sed: mostlyclean-sed
16011
16012 mostlyclean-sed: 
16013         @[ -f ./sed/Makefile ] || exit 0; \
16014         r=`${PWD_COMMAND}`; export r; \
16015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16016         $(SET_LIB_PATH) \
16017         for flag in $(EXTRA_HOST_FLAGS); do \
16018           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16019         done; \
16020         echo "Doing mostlyclean in sed" ; \
16021         (cd sed && \
16022           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16023                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16024                   "RANLIB=$${RANLIB}" \
16025                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16026                   mostlyclean) \
16027           || exit 1
16028
16029 @endif sed
16030
16031 .PHONY: maybe-clean-sed clean-sed
16032 maybe-clean-sed:
16033 @if sed
16034 maybe-clean-sed: clean-sed
16035
16036 clean-sed: 
16037         @[ -f ./sed/Makefile ] || exit 0; \
16038         r=`${PWD_COMMAND}`; export r; \
16039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16040         $(SET_LIB_PATH) \
16041         for flag in $(EXTRA_HOST_FLAGS); do \
16042           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16043         done; \
16044         echo "Doing clean in sed" ; \
16045         (cd sed && \
16046           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16047                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16048                   "RANLIB=$${RANLIB}" \
16049                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16050                   clean) \
16051           || exit 1
16052
16053 @endif sed
16054
16055 .PHONY: maybe-distclean-sed distclean-sed
16056 maybe-distclean-sed:
16057 @if sed
16058 maybe-distclean-sed: distclean-sed
16059
16060 distclean-sed: 
16061         @[ -f ./sed/Makefile ] || exit 0; \
16062         r=`${PWD_COMMAND}`; export r; \
16063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16064         $(SET_LIB_PATH) \
16065         for flag in $(EXTRA_HOST_FLAGS); do \
16066           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16067         done; \
16068         echo "Doing distclean in sed" ; \
16069         (cd sed && \
16070           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16071                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16072                   "RANLIB=$${RANLIB}" \
16073                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16074                   distclean) \
16075           || exit 1
16076
16077 @endif sed
16078
16079 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16080 maybe-maintainer-clean-sed:
16081 @if sed
16082 maybe-maintainer-clean-sed: maintainer-clean-sed
16083
16084 maintainer-clean-sed: 
16085         @[ -f ./sed/Makefile ] || exit 0; \
16086         r=`${PWD_COMMAND}`; export r; \
16087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088         $(SET_LIB_PATH) \
16089         for flag in $(EXTRA_HOST_FLAGS); do \
16090           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16091         done; \
16092         echo "Doing maintainer-clean in sed" ; \
16093         (cd sed && \
16094           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096                   "RANLIB=$${RANLIB}" \
16097                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16098                   maintainer-clean) \
16099           || exit 1
16100
16101 @endif sed
16102
16103
16104 .PHONY: configure-send-pr maybe-configure-send-pr
16105 maybe-configure-send-pr:
16106 @if send-pr
16107 maybe-configure-send-pr: configure-send-pr
16108 configure-send-pr:
16109         @test ! -f send-pr/Makefile || exit 0; \
16110         [ -d send-pr ] || mkdir send-pr; \
16111         r=`${PWD_COMMAND}`; export r; \
16112         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113         CC="$(CC)"; export CC; \
16114         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16115         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16116         CXX="$(CXX)"; export CXX; \
16117         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16118         AR="$(AR)"; export AR; \
16119         AS="$(AS)"; export AS; \
16120         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16121         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16122         LD="$(LD)"; export LD; \
16123         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16124         NM="$(NM)"; export NM; \
16125         RANLIB="$(RANLIB)"; export RANLIB; \
16126         WINDRES="$(WINDRES)"; export WINDRES; \
16127         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16128         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16129         echo Configuring in send-pr; \
16130         cd send-pr || exit 1; \
16131         case $(srcdir) in \
16132           \.) \
16133             srcdiroption="--srcdir=."; \
16134             libsrcdir=".";; \
16135           /* | [A-Za-z]:[\\/]*) \
16136             srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16137             libsrcdir="$$s/send-pr";; \
16138           *) \
16139             srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16140             libsrcdir="$$s/send-pr";; \
16141         esac; \
16142         $(SHELL) $${libsrcdir}/configure \
16143           $(HOST_CONFIGARGS) $${srcdiroption} \
16144           || exit 1
16145 @endif send-pr
16146
16147 .PHONY: all-send-pr maybe-all-send-pr
16148 maybe-all-send-pr:
16149 @if send-pr
16150 maybe-all-send-pr: all-send-pr
16151 all-send-pr: configure-send-pr
16152         @r=`${PWD_COMMAND}`; export r; \
16153         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16154         $(SET_LIB_PATH) \
16155         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16156 @endif send-pr
16157
16158 .PHONY: check-send-pr maybe-check-send-pr
16159 maybe-check-send-pr:
16160 @if send-pr
16161 maybe-check-send-pr: check-send-pr
16162
16163 check-send-pr:
16164         @r=`${PWD_COMMAND}`; export r; \
16165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16166         $(SET_LIB_PATH) \
16167         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16168
16169 @endif send-pr
16170
16171 .PHONY: install-send-pr maybe-install-send-pr
16172 maybe-install-send-pr:
16173 @if send-pr
16174 maybe-install-send-pr: install-send-pr
16175
16176 install-send-pr: installdirs
16177         @r=`${PWD_COMMAND}`; export r; \
16178         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16179         $(SET_LIB_PATH) \
16180         (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16181
16182 @endif send-pr
16183
16184 # Other targets (info, dvi, etc.)
16185
16186 .PHONY: maybe-info-send-pr info-send-pr
16187 maybe-info-send-pr:
16188 @if send-pr
16189 maybe-info-send-pr: info-send-pr
16190
16191 info-send-pr: \
16192     configure-send-pr 
16193         @[ -f ./send-pr/Makefile ] || exit 0; \
16194         r=`${PWD_COMMAND}`; export r; \
16195         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16196         $(SET_LIB_PATH) \
16197         for flag in $(EXTRA_HOST_FLAGS); do \
16198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16199         done; \
16200         echo "Doing info in send-pr" ; \
16201         (cd send-pr && \
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                   info) \
16207           || exit 1
16208
16209 @endif send-pr
16210
16211 .PHONY: maybe-dvi-send-pr dvi-send-pr
16212 maybe-dvi-send-pr:
16213 @if send-pr
16214 maybe-dvi-send-pr: dvi-send-pr
16215
16216 dvi-send-pr: \
16217     configure-send-pr 
16218         @[ -f ./send-pr/Makefile ] || exit 0; \
16219         r=`${PWD_COMMAND}`; export r; \
16220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16221         $(SET_LIB_PATH) \
16222         for flag in $(EXTRA_HOST_FLAGS); do \
16223           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16224         done; \
16225         echo "Doing dvi in send-pr" ; \
16226         (cd send-pr && \
16227           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16228                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16229                   "RANLIB=$${RANLIB}" \
16230                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16231                   dvi) \
16232           || exit 1
16233
16234 @endif send-pr
16235
16236 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16237 maybe-TAGS-send-pr:
16238 @if send-pr
16239 maybe-TAGS-send-pr: TAGS-send-pr
16240
16241 TAGS-send-pr: \
16242     configure-send-pr 
16243         @[ -f ./send-pr/Makefile ] || exit 0; \
16244         r=`${PWD_COMMAND}`; export r; \
16245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16246         $(SET_LIB_PATH) \
16247         for flag in $(EXTRA_HOST_FLAGS); do \
16248           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16249         done; \
16250         echo "Doing TAGS in send-pr" ; \
16251         (cd send-pr && \
16252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16254                   "RANLIB=$${RANLIB}" \
16255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16256                   TAGS) \
16257           || exit 1
16258
16259 @endif send-pr
16260
16261 .PHONY: maybe-install-info-send-pr install-info-send-pr
16262 maybe-install-info-send-pr:
16263 @if send-pr
16264 maybe-install-info-send-pr: install-info-send-pr
16265
16266 install-info-send-pr: \
16267     configure-send-pr \
16268     info-send-pr 
16269         @[ -f ./send-pr/Makefile ] || exit 0; \
16270         r=`${PWD_COMMAND}`; export r; \
16271         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16272         $(SET_LIB_PATH) \
16273         for flag in $(EXTRA_HOST_FLAGS); do \
16274           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16275         done; \
16276         echo "Doing install-info in send-pr" ; \
16277         (cd send-pr && \
16278           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16279                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16280                   "RANLIB=$${RANLIB}" \
16281                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16282                   install-info) \
16283           || exit 1
16284
16285 @endif send-pr
16286
16287 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16288 maybe-installcheck-send-pr:
16289 @if send-pr
16290 maybe-installcheck-send-pr: installcheck-send-pr
16291
16292 installcheck-send-pr: \
16293     configure-send-pr 
16294         @[ -f ./send-pr/Makefile ] || exit 0; \
16295         r=`${PWD_COMMAND}`; export r; \
16296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16297         $(SET_LIB_PATH) \
16298         for flag in $(EXTRA_HOST_FLAGS); do \
16299           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16300         done; \
16301         echo "Doing installcheck in send-pr" ; \
16302         (cd send-pr && \
16303           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16304                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16305                   "RANLIB=$${RANLIB}" \
16306                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16307                   installcheck) \
16308           || exit 1
16309
16310 @endif send-pr
16311
16312 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16313 maybe-mostlyclean-send-pr:
16314 @if send-pr
16315 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16316
16317 mostlyclean-send-pr: 
16318         @[ -f ./send-pr/Makefile ] || exit 0; \
16319         r=`${PWD_COMMAND}`; export r; \
16320         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16321         $(SET_LIB_PATH) \
16322         for flag in $(EXTRA_HOST_FLAGS); do \
16323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16324         done; \
16325         echo "Doing mostlyclean in send-pr" ; \
16326         (cd send-pr && \
16327           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16328                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16329                   "RANLIB=$${RANLIB}" \
16330                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16331                   mostlyclean) \
16332           || exit 1
16333
16334 @endif send-pr
16335
16336 .PHONY: maybe-clean-send-pr clean-send-pr
16337 maybe-clean-send-pr:
16338 @if send-pr
16339 maybe-clean-send-pr: clean-send-pr
16340
16341 clean-send-pr: 
16342         @[ -f ./send-pr/Makefile ] || exit 0; \
16343         r=`${PWD_COMMAND}`; export r; \
16344         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16345         $(SET_LIB_PATH) \
16346         for flag in $(EXTRA_HOST_FLAGS); do \
16347           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16348         done; \
16349         echo "Doing clean in send-pr" ; \
16350         (cd send-pr && \
16351           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16352                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16353                   "RANLIB=$${RANLIB}" \
16354                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16355                   clean) \
16356           || exit 1
16357
16358 @endif send-pr
16359
16360 .PHONY: maybe-distclean-send-pr distclean-send-pr
16361 maybe-distclean-send-pr:
16362 @if send-pr
16363 maybe-distclean-send-pr: distclean-send-pr
16364
16365 distclean-send-pr: 
16366         @[ -f ./send-pr/Makefile ] || exit 0; \
16367         r=`${PWD_COMMAND}`; export r; \
16368         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16369         $(SET_LIB_PATH) \
16370         for flag in $(EXTRA_HOST_FLAGS); do \
16371           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16372         done; \
16373         echo "Doing distclean in send-pr" ; \
16374         (cd send-pr && \
16375           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16376                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16377                   "RANLIB=$${RANLIB}" \
16378                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16379                   distclean) \
16380           || exit 1
16381
16382 @endif send-pr
16383
16384 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16385 maybe-maintainer-clean-send-pr:
16386 @if send-pr
16387 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16388
16389 maintainer-clean-send-pr: 
16390         @[ -f ./send-pr/Makefile ] || exit 0; \
16391         r=`${PWD_COMMAND}`; export r; \
16392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16393         $(SET_LIB_PATH) \
16394         for flag in $(EXTRA_HOST_FLAGS); do \
16395           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16396         done; \
16397         echo "Doing maintainer-clean in send-pr" ; \
16398         (cd send-pr && \
16399           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16400                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16401                   "RANLIB=$${RANLIB}" \
16402                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16403                   maintainer-clean) \
16404           || exit 1
16405
16406 @endif send-pr
16407
16408
16409 .PHONY: configure-shellutils maybe-configure-shellutils
16410 maybe-configure-shellutils:
16411 @if shellutils
16412 maybe-configure-shellutils: configure-shellutils
16413 configure-shellutils:
16414         @test ! -f shellutils/Makefile || exit 0; \
16415         [ -d shellutils ] || mkdir shellutils; \
16416         r=`${PWD_COMMAND}`; export r; \
16417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418         CC="$(CC)"; export CC; \
16419         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16420         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16421         CXX="$(CXX)"; export CXX; \
16422         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16423         AR="$(AR)"; export AR; \
16424         AS="$(AS)"; export AS; \
16425         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16426         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16427         LD="$(LD)"; export LD; \
16428         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16429         NM="$(NM)"; export NM; \
16430         RANLIB="$(RANLIB)"; export RANLIB; \
16431         WINDRES="$(WINDRES)"; export WINDRES; \
16432         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16433         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16434         echo Configuring in shellutils; \
16435         cd shellutils || exit 1; \
16436         case $(srcdir) in \
16437           \.) \
16438             srcdiroption="--srcdir=."; \
16439             libsrcdir=".";; \
16440           /* | [A-Za-z]:[\\/]*) \
16441             srcdiroption="--srcdir=$(srcdir)/shellutils"; \
16442             libsrcdir="$$s/shellutils";; \
16443           *) \
16444             srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
16445             libsrcdir="$$s/shellutils";; \
16446         esac; \
16447         $(SHELL) $${libsrcdir}/configure \
16448           $(HOST_CONFIGARGS) $${srcdiroption} \
16449           || exit 1
16450 @endif shellutils
16451
16452 .PHONY: all-shellutils maybe-all-shellutils
16453 maybe-all-shellutils:
16454 @if shellutils
16455 maybe-all-shellutils: all-shellutils
16456 all-shellutils: configure-shellutils
16457         @r=`${PWD_COMMAND}`; export r; \
16458         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16459         $(SET_LIB_PATH) \
16460         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
16461 @endif shellutils
16462
16463 .PHONY: check-shellutils maybe-check-shellutils
16464 maybe-check-shellutils:
16465 @if shellutils
16466 maybe-check-shellutils: check-shellutils
16467
16468 check-shellutils:
16469         @r=`${PWD_COMMAND}`; export r; \
16470         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16471         $(SET_LIB_PATH) \
16472         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
16473
16474 @endif shellutils
16475
16476 .PHONY: install-shellutils maybe-install-shellutils
16477 maybe-install-shellutils:
16478 @if shellutils
16479 maybe-install-shellutils: install-shellutils
16480
16481 install-shellutils: installdirs
16482         @r=`${PWD_COMMAND}`; export r; \
16483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16484         $(SET_LIB_PATH) \
16485         (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
16486
16487 @endif shellutils
16488
16489 # Other targets (info, dvi, etc.)
16490
16491 .PHONY: maybe-info-shellutils info-shellutils
16492 maybe-info-shellutils:
16493 @if shellutils
16494 maybe-info-shellutils: info-shellutils
16495
16496 info-shellutils: \
16497     configure-shellutils 
16498         @[ -f ./shellutils/Makefile ] || exit 0; \
16499         r=`${PWD_COMMAND}`; export r; \
16500         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16501         $(SET_LIB_PATH) \
16502         for flag in $(EXTRA_HOST_FLAGS); do \
16503           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16504         done; \
16505         echo "Doing info in shellutils" ; \
16506         (cd shellutils && \
16507           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16508                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16509                   "RANLIB=$${RANLIB}" \
16510                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16511                   info) \
16512           || exit 1
16513
16514 @endif shellutils
16515
16516 .PHONY: maybe-dvi-shellutils dvi-shellutils
16517 maybe-dvi-shellutils:
16518 @if shellutils
16519 maybe-dvi-shellutils: dvi-shellutils
16520
16521 dvi-shellutils: \
16522     configure-shellutils 
16523         @[ -f ./shellutils/Makefile ] || exit 0; \
16524         r=`${PWD_COMMAND}`; export r; \
16525         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16526         $(SET_LIB_PATH) \
16527         for flag in $(EXTRA_HOST_FLAGS); do \
16528           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16529         done; \
16530         echo "Doing dvi in shellutils" ; \
16531         (cd shellutils && \
16532           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16533                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16534                   "RANLIB=$${RANLIB}" \
16535                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16536                   dvi) \
16537           || exit 1
16538
16539 @endif shellutils
16540
16541 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
16542 maybe-TAGS-shellutils:
16543 @if shellutils
16544 maybe-TAGS-shellutils: TAGS-shellutils
16545
16546 TAGS-shellutils: \
16547     configure-shellutils 
16548         @[ -f ./shellutils/Makefile ] || exit 0; \
16549         r=`${PWD_COMMAND}`; export r; \
16550         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16551         $(SET_LIB_PATH) \
16552         for flag in $(EXTRA_HOST_FLAGS); do \
16553           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16554         done; \
16555         echo "Doing TAGS in shellutils" ; \
16556         (cd shellutils && \
16557           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16558                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16559                   "RANLIB=$${RANLIB}" \
16560                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16561                   TAGS) \
16562           || exit 1
16563
16564 @endif shellutils
16565
16566 .PHONY: maybe-install-info-shellutils install-info-shellutils
16567 maybe-install-info-shellutils:
16568 @if shellutils
16569 maybe-install-info-shellutils: install-info-shellutils
16570
16571 install-info-shellutils: \
16572     configure-shellutils \
16573     info-shellutils 
16574         @[ -f ./shellutils/Makefile ] || exit 0; \
16575         r=`${PWD_COMMAND}`; export r; \
16576         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16577         $(SET_LIB_PATH) \
16578         for flag in $(EXTRA_HOST_FLAGS); do \
16579           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16580         done; \
16581         echo "Doing install-info in shellutils" ; \
16582         (cd shellutils && \
16583           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16584                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16585                   "RANLIB=$${RANLIB}" \
16586                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16587                   install-info) \
16588           || exit 1
16589
16590 @endif shellutils
16591
16592 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
16593 maybe-installcheck-shellutils:
16594 @if shellutils
16595 maybe-installcheck-shellutils: installcheck-shellutils
16596
16597 installcheck-shellutils: \
16598     configure-shellutils 
16599         @[ -f ./shellutils/Makefile ] || exit 0; \
16600         r=`${PWD_COMMAND}`; export r; \
16601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16602         $(SET_LIB_PATH) \
16603         for flag in $(EXTRA_HOST_FLAGS); do \
16604           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16605         done; \
16606         echo "Doing installcheck in shellutils" ; \
16607         (cd shellutils && \
16608           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16609                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16610                   "RANLIB=$${RANLIB}" \
16611                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16612                   installcheck) \
16613           || exit 1
16614
16615 @endif shellutils
16616
16617 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
16618 maybe-mostlyclean-shellutils:
16619 @if shellutils
16620 maybe-mostlyclean-shellutils: mostlyclean-shellutils
16621
16622 mostlyclean-shellutils: 
16623         @[ -f ./shellutils/Makefile ] || exit 0; \
16624         r=`${PWD_COMMAND}`; export r; \
16625         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16626         $(SET_LIB_PATH) \
16627         for flag in $(EXTRA_HOST_FLAGS); do \
16628           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16629         done; \
16630         echo "Doing mostlyclean in shellutils" ; \
16631         (cd shellutils && \
16632           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16633                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16634                   "RANLIB=$${RANLIB}" \
16635                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16636                   mostlyclean) \
16637           || exit 1
16638
16639 @endif shellutils
16640
16641 .PHONY: maybe-clean-shellutils clean-shellutils
16642 maybe-clean-shellutils:
16643 @if shellutils
16644 maybe-clean-shellutils: clean-shellutils
16645
16646 clean-shellutils: 
16647         @[ -f ./shellutils/Makefile ] || exit 0; \
16648         r=`${PWD_COMMAND}`; export r; \
16649         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16650         $(SET_LIB_PATH) \
16651         for flag in $(EXTRA_HOST_FLAGS); do \
16652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16653         done; \
16654         echo "Doing clean in shellutils" ; \
16655         (cd shellutils && \
16656           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16657                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16658                   "RANLIB=$${RANLIB}" \
16659                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16660                   clean) \
16661           || exit 1
16662
16663 @endif shellutils
16664
16665 .PHONY: maybe-distclean-shellutils distclean-shellutils
16666 maybe-distclean-shellutils:
16667 @if shellutils
16668 maybe-distclean-shellutils: distclean-shellutils
16669
16670 distclean-shellutils: 
16671         @[ -f ./shellutils/Makefile ] || exit 0; \
16672         r=`${PWD_COMMAND}`; export r; \
16673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674         $(SET_LIB_PATH) \
16675         for flag in $(EXTRA_HOST_FLAGS); do \
16676           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16677         done; \
16678         echo "Doing distclean in shellutils" ; \
16679         (cd shellutils && \
16680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16682                   "RANLIB=$${RANLIB}" \
16683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16684                   distclean) \
16685           || exit 1
16686
16687 @endif shellutils
16688
16689 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16690 maybe-maintainer-clean-shellutils:
16691 @if shellutils
16692 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
16693
16694 maintainer-clean-shellutils: 
16695         @[ -f ./shellutils/Makefile ] || exit 0; \
16696         r=`${PWD_COMMAND}`; export r; \
16697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16698         $(SET_LIB_PATH) \
16699         for flag in $(EXTRA_HOST_FLAGS); do \
16700           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16701         done; \
16702         echo "Doing maintainer-clean in shellutils" ; \
16703         (cd shellutils && \
16704           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706                   "RANLIB=$${RANLIB}" \
16707                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16708                   maintainer-clean) \
16709           || exit 1
16710
16711 @endif shellutils
16712
16713
16714 .PHONY: configure-sid maybe-configure-sid
16715 maybe-configure-sid:
16716 @if sid
16717 maybe-configure-sid: configure-sid
16718 configure-sid:
16719         @test ! -f sid/Makefile || exit 0; \
16720         [ -d sid ] || mkdir sid; \
16721         r=`${PWD_COMMAND}`; export r; \
16722         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16723         CC="$(CC)"; export CC; \
16724         CFLAGS="$(CFLAGS)"; export CFLAGS; \
16725         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16726         CXX="$(CXX)"; export CXX; \
16727         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16728         AR="$(AR)"; export AR; \
16729         AS="$(AS)"; export AS; \
16730         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16731         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16732         LD="$(LD)"; export LD; \
16733         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16734         NM="$(NM)"; export NM; \
16735         RANLIB="$(RANLIB)"; export RANLIB; \
16736         WINDRES="$(WINDRES)"; export WINDRES; \
16737         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16738         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16739         echo Configuring in sid; \
16740         cd sid || exit 1; \
16741         case $(srcdir) in \
16742           \.) \
16743             srcdiroption="--srcdir=."; \
16744             libsrcdir=".";; \
16745           /* | [A-Za-z]:[\\/]*) \
16746             srcdiroption="--srcdir=$(srcdir)/sid"; \
16747             libsrcdir="$$s/sid";; \
16748           *) \
16749             srcdiroption="--srcdir=../$(srcdir)/sid"; \
16750             libsrcdir="$$s/sid";; \
16751         esac; \
16752         $(SHELL) $${libsrcdir}/configure \
16753           $(HOST_CONFIGARGS) $${srcdiroption} \
16754           || exit 1
16755 @endif sid
16756
16757 .PHONY: all-sid maybe-all-sid
16758 maybe-all-sid:
16759 @if sid
16760 maybe-all-sid: all-sid
16761 all-sid: configure-sid
16762         @r=`${PWD_COMMAND}`; export r; \
16763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16764         $(SET_LIB_PATH) \
16765         (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
16766 @endif sid
16767
16768 .PHONY: check-sid maybe-check-sid
16769 maybe-check-sid:
16770 @if sid
16771 maybe-check-sid: check-sid
16772
16773 check-sid:
16774         @r=`${PWD_COMMAND}`; export r; \
16775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16776         $(SET_LIB_PATH) \
16777         (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
16778
16779 @endif sid
16780
16781 .PHONY: install-sid maybe-install-sid
16782 maybe-install-sid:
16783 @if sid
16784 maybe-install-sid: install-sid
16785
16786 install-sid: installdirs
16787         @r=`${PWD_COMMAND}`; export r; \
16788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16789         $(SET_LIB_PATH) \
16790         (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
16791
16792 @endif sid
16793
16794 # Other targets (info, dvi, etc.)
16795
16796 .PHONY: maybe-info-sid info-sid
16797 maybe-info-sid:
16798 @if sid
16799 maybe-info-sid: info-sid
16800
16801 info-sid: \
16802     configure-sid 
16803         @[ -f ./sid/Makefile ] || exit 0; \
16804         r=`${PWD_COMMAND}`; export r; \
16805         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16806         $(SET_LIB_PATH) \
16807         for flag in $(EXTRA_HOST_FLAGS); do \
16808           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16809         done; \
16810         echo "Doing info in sid" ; \
16811         (cd sid && \
16812           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16813                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16814                   "RANLIB=$${RANLIB}" \
16815                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16816                   info) \
16817           || exit 1
16818
16819 @endif sid
16820
16821 .PHONY: maybe-dvi-sid dvi-sid
16822 maybe-dvi-sid:
16823 @if sid
16824 maybe-dvi-sid: dvi-sid
16825
16826 dvi-sid: \
16827     configure-sid 
16828         @[ -f ./sid/Makefile ] || exit 0; \
16829         r=`${PWD_COMMAND}`; export r; \
16830         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16831         $(SET_LIB_PATH) \
16832         for flag in $(EXTRA_HOST_FLAGS); do \
16833           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16834         done; \
16835         echo "Doing dvi in sid" ; \
16836         (cd sid && \
16837           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16838                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16839                   "RANLIB=$${RANLIB}" \
16840                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16841                   dvi) \
16842           || exit 1
16843
16844 @endif sid
16845
16846 .PHONY: maybe-TAGS-sid TAGS-sid
16847 maybe-TAGS-sid:
16848 @if sid
16849 maybe-TAGS-sid: TAGS-sid
16850
16851 TAGS-sid: \
16852     configure-sid 
16853         @[ -f ./sid/Makefile ] || exit 0; \
16854         r=`${PWD_COMMAND}`; export r; \
16855         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16856         $(SET_LIB_PATH) \
16857         for flag in $(EXTRA_HOST_FLAGS); do \
16858           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16859         done; \
16860         echo "Doing TAGS in sid" ; \
16861         (cd sid && \
16862           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16863                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16864                   "RANLIB=$${RANLIB}" \
16865                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16866                   TAGS) \
16867           || exit 1
16868
16869 @endif sid
16870
16871 .PHONY: maybe-install-info-sid install-info-sid
16872 maybe-install-info-sid:
16873 @if sid
16874 maybe-install-info-sid: install-info-sid
16875
16876 install-info-sid: \
16877     configure-sid \
16878     info-sid 
16879         @[ -f ./sid/Makefile ] || exit 0; \
16880         r=`${PWD_COMMAND}`; export r; \
16881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16882         $(SET_LIB_PATH) \
16883         for flag in $(EXTRA_HOST_FLAGS); do \
16884           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16885         done; \
16886         echo "Doing install-info in sid" ; \
16887         (cd sid && \
16888           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16889                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16890                   "RANLIB=$${RANLIB}" \
16891                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16892                   install-info) \
16893           || exit 1
16894
16895 @endif sid
16896
16897 .PHONY: maybe-installcheck-sid installcheck-sid
16898 maybe-installcheck-sid:
16899 @if sid
16900 maybe-installcheck-sid: installcheck-sid
16901
16902 installcheck-sid: \
16903     configure-sid 
16904         @[ -f ./sid/Makefile ] || exit 0; \
16905         r=`${PWD_COMMAND}`; export r; \
16906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16907         $(SET_LIB_PATH) \
16908         for flag in $(EXTRA_HOST_FLAGS); do \
16909           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16910         done; \
16911         echo "Doing installcheck in sid" ; \
16912         (cd sid && \
16913           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16914                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16915                   "RANLIB=$${RANLIB}" \
16916                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16917                   installcheck) \
16918           || exit 1
16919
16920 @endif sid
16921
16922 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
16923 maybe-mostlyclean-sid:
16924 @if sid
16925 maybe-mostlyclean-sid: mostlyclean-sid
16926
16927 mostlyclean-sid: 
16928         @[ -f ./sid/Makefile ] || exit 0; \
16929         r=`${PWD_COMMAND}`; export r; \
16930         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16931         $(SET_LIB_PATH) \
16932         for flag in $(EXTRA_HOST_FLAGS); do \
16933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16934         done; \
16935         echo "Doing mostlyclean in sid" ; \
16936         (cd sid && \
16937           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16938                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16939                   "RANLIB=$${RANLIB}" \
16940                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16941                   mostlyclean) \
16942           || exit 1
16943
16944 @endif sid
16945
16946 .PHONY: maybe-clean-sid clean-sid
16947 maybe-clean-sid:
16948 @if sid
16949 maybe-clean-sid: clean-sid
16950
16951 clean-sid: 
16952         @[ -f ./sid/Makefile ] || exit 0; \
16953         r=`${PWD_COMMAND}`; export r; \
16954         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16955         $(SET_LIB_PATH) \
16956         for flag in $(EXTRA_HOST_FLAGS); do \
16957           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16958         done; \
16959         echo "Doing clean in sid" ; \
16960         (cd sid && \
16961           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16962                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16963                   "RANLIB=$${RANLIB}" \
16964                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16965                   clean) \
16966           || exit 1
16967
16968 @endif sid
16969
16970 .PHONY: maybe-distclean-sid distclean-sid
16971 maybe-distclean-sid:
16972 @if sid
16973 maybe-distclean-sid: distclean-sid
16974
16975 distclean-sid: 
16976         @[ -f ./sid/Makefile ] || exit 0; \
16977         r=`${PWD_COMMAND}`; export r; \
16978         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16979         $(SET_LIB_PATH) \
16980         for flag in $(EXTRA_HOST_FLAGS); do \
16981           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16982         done; \
16983         echo "Doing distclean in sid" ; \
16984         (cd sid && \
16985           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16986                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16987                   "RANLIB=$${RANLIB}" \
16988                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16989                   distclean) \
16990           || exit 1
16991
16992 @endif sid
16993
16994 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
16995 maybe-maintainer-clean-sid:
16996 @if sid
16997 maybe-maintainer-clean-sid: maintainer-clean-sid
16998
16999 maintainer-clean-sid: 
17000         @[ -f ./sid/Makefile ] || exit 0; \
17001         r=`${PWD_COMMAND}`; export r; \
17002         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17003         $(SET_LIB_PATH) \
17004         for flag in $(EXTRA_HOST_FLAGS); do \
17005           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17006         done; \
17007         echo "Doing maintainer-clean in sid" ; \
17008         (cd sid && \
17009           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17010                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17011                   "RANLIB=$${RANLIB}" \
17012                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17013                   maintainer-clean) \
17014           || exit 1
17015
17016 @endif sid
17017
17018
17019 .PHONY: configure-sim maybe-configure-sim
17020 maybe-configure-sim:
17021 @if sim
17022 maybe-configure-sim: configure-sim
17023 configure-sim:
17024         @test ! -f sim/Makefile || exit 0; \
17025         [ -d sim ] || mkdir sim; \
17026         r=`${PWD_COMMAND}`; export r; \
17027         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17028         CC="$(CC)"; export CC; \
17029         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17030         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17031         CXX="$(CXX)"; export CXX; \
17032         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17033         AR="$(AR)"; export AR; \
17034         AS="$(AS)"; export AS; \
17035         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17036         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17037         LD="$(LD)"; export LD; \
17038         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17039         NM="$(NM)"; export NM; \
17040         RANLIB="$(RANLIB)"; export RANLIB; \
17041         WINDRES="$(WINDRES)"; export WINDRES; \
17042         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17043         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17044         echo Configuring in sim; \
17045         cd sim || exit 1; \
17046         case $(srcdir) in \
17047           \.) \
17048             srcdiroption="--srcdir=."; \
17049             libsrcdir=".";; \
17050           /* | [A-Za-z]:[\\/]*) \
17051             srcdiroption="--srcdir=$(srcdir)/sim"; \
17052             libsrcdir="$$s/sim";; \
17053           *) \
17054             srcdiroption="--srcdir=../$(srcdir)/sim"; \
17055             libsrcdir="$$s/sim";; \
17056         esac; \
17057         $(SHELL) $${libsrcdir}/configure \
17058           $(HOST_CONFIGARGS) $${srcdiroption} \
17059           || exit 1
17060 @endif sim
17061
17062 .PHONY: all-sim maybe-all-sim
17063 maybe-all-sim:
17064 @if sim
17065 maybe-all-sim: all-sim
17066 all-sim: configure-sim
17067         @r=`${PWD_COMMAND}`; export r; \
17068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069         $(SET_LIB_PATH) \
17070         (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17071 @endif sim
17072
17073 .PHONY: check-sim maybe-check-sim
17074 maybe-check-sim:
17075 @if sim
17076 maybe-check-sim: check-sim
17077
17078 check-sim:
17079         @r=`${PWD_COMMAND}`; export r; \
17080         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17081         $(SET_LIB_PATH) \
17082         (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17083
17084 @endif sim
17085
17086 .PHONY: install-sim maybe-install-sim
17087 maybe-install-sim:
17088 @if sim
17089 maybe-install-sim: install-sim
17090
17091 install-sim: installdirs
17092         @r=`${PWD_COMMAND}`; export r; \
17093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17094         $(SET_LIB_PATH) \
17095         (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17096
17097 @endif sim
17098
17099 # Other targets (info, dvi, etc.)
17100
17101 .PHONY: maybe-info-sim info-sim
17102 maybe-info-sim:
17103 @if sim
17104 maybe-info-sim: info-sim
17105
17106 info-sim: \
17107     configure-sim 
17108         @[ -f ./sim/Makefile ] || exit 0; \
17109         r=`${PWD_COMMAND}`; export r; \
17110         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17111         $(SET_LIB_PATH) \
17112         for flag in $(EXTRA_HOST_FLAGS); do \
17113           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17114         done; \
17115         echo "Doing info in sim" ; \
17116         (cd sim && \
17117           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17118                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17119                   "RANLIB=$${RANLIB}" \
17120                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17121                   info) \
17122           || exit 1
17123
17124 @endif sim
17125
17126 .PHONY: maybe-dvi-sim dvi-sim
17127 maybe-dvi-sim:
17128 @if sim
17129 maybe-dvi-sim: dvi-sim
17130
17131 dvi-sim: \
17132     configure-sim 
17133         @[ -f ./sim/Makefile ] || exit 0; \
17134         r=`${PWD_COMMAND}`; export r; \
17135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136         $(SET_LIB_PATH) \
17137         for flag in $(EXTRA_HOST_FLAGS); do \
17138           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17139         done; \
17140         echo "Doing dvi in sim" ; \
17141         (cd sim && \
17142           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17143                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17144                   "RANLIB=$${RANLIB}" \
17145                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17146                   dvi) \
17147           || exit 1
17148
17149 @endif sim
17150
17151 .PHONY: maybe-TAGS-sim TAGS-sim
17152 maybe-TAGS-sim:
17153 @if sim
17154 maybe-TAGS-sim: TAGS-sim
17155
17156 TAGS-sim: \
17157     configure-sim 
17158         @[ -f ./sim/Makefile ] || exit 0; \
17159         r=`${PWD_COMMAND}`; export r; \
17160         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17161         $(SET_LIB_PATH) \
17162         for flag in $(EXTRA_HOST_FLAGS); do \
17163           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17164         done; \
17165         echo "Doing TAGS in sim" ; \
17166         (cd sim && \
17167           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17168                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17169                   "RANLIB=$${RANLIB}" \
17170                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17171                   TAGS) \
17172           || exit 1
17173
17174 @endif sim
17175
17176 .PHONY: maybe-install-info-sim install-info-sim
17177 maybe-install-info-sim:
17178 @if sim
17179 maybe-install-info-sim: install-info-sim
17180
17181 install-info-sim: \
17182     configure-sim \
17183     info-sim 
17184         @[ -f ./sim/Makefile ] || exit 0; \
17185         r=`${PWD_COMMAND}`; export r; \
17186         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17187         $(SET_LIB_PATH) \
17188         for flag in $(EXTRA_HOST_FLAGS); do \
17189           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17190         done; \
17191         echo "Doing install-info in sim" ; \
17192         (cd sim && \
17193           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17194                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17195                   "RANLIB=$${RANLIB}" \
17196                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17197                   install-info) \
17198           || exit 1
17199
17200 @endif sim
17201
17202 .PHONY: maybe-installcheck-sim installcheck-sim
17203 maybe-installcheck-sim:
17204 @if sim
17205 maybe-installcheck-sim: installcheck-sim
17206
17207 installcheck-sim: \
17208     configure-sim 
17209         @[ -f ./sim/Makefile ] || exit 0; \
17210         r=`${PWD_COMMAND}`; export r; \
17211         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17212         $(SET_LIB_PATH) \
17213         for flag in $(EXTRA_HOST_FLAGS); do \
17214           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17215         done; \
17216         echo "Doing installcheck in sim" ; \
17217         (cd sim && \
17218           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17219                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17220                   "RANLIB=$${RANLIB}" \
17221                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17222                   installcheck) \
17223           || exit 1
17224
17225 @endif sim
17226
17227 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17228 maybe-mostlyclean-sim:
17229 @if sim
17230 maybe-mostlyclean-sim: mostlyclean-sim
17231
17232 mostlyclean-sim: 
17233         @[ -f ./sim/Makefile ] || exit 0; \
17234         r=`${PWD_COMMAND}`; export r; \
17235         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17236         $(SET_LIB_PATH) \
17237         for flag in $(EXTRA_HOST_FLAGS); do \
17238           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17239         done; \
17240         echo "Doing mostlyclean in sim" ; \
17241         (cd sim && \
17242           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17243                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17244                   "RANLIB=$${RANLIB}" \
17245                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17246                   mostlyclean) \
17247           || exit 1
17248
17249 @endif sim
17250
17251 .PHONY: maybe-clean-sim clean-sim
17252 maybe-clean-sim:
17253 @if sim
17254 maybe-clean-sim: clean-sim
17255
17256 clean-sim: 
17257         @[ -f ./sim/Makefile ] || exit 0; \
17258         r=`${PWD_COMMAND}`; export r; \
17259         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17260         $(SET_LIB_PATH) \
17261         for flag in $(EXTRA_HOST_FLAGS); do \
17262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17263         done; \
17264         echo "Doing clean in sim" ; \
17265         (cd sim && \
17266           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17267                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17268                   "RANLIB=$${RANLIB}" \
17269                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17270                   clean) \
17271           || exit 1
17272
17273 @endif sim
17274
17275 .PHONY: maybe-distclean-sim distclean-sim
17276 maybe-distclean-sim:
17277 @if sim
17278 maybe-distclean-sim: distclean-sim
17279
17280 distclean-sim: 
17281         @[ -f ./sim/Makefile ] || exit 0; \
17282         r=`${PWD_COMMAND}`; export r; \
17283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17284         $(SET_LIB_PATH) \
17285         for flag in $(EXTRA_HOST_FLAGS); do \
17286           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17287         done; \
17288         echo "Doing distclean in sim" ; \
17289         (cd sim && \
17290           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17291                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17292                   "RANLIB=$${RANLIB}" \
17293                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17294                   distclean) \
17295           || exit 1
17296
17297 @endif sim
17298
17299 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17300 maybe-maintainer-clean-sim:
17301 @if sim
17302 maybe-maintainer-clean-sim: maintainer-clean-sim
17303
17304 maintainer-clean-sim: 
17305         @[ -f ./sim/Makefile ] || exit 0; \
17306         r=`${PWD_COMMAND}`; export r; \
17307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17308         $(SET_LIB_PATH) \
17309         for flag in $(EXTRA_HOST_FLAGS); do \
17310           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17311         done; \
17312         echo "Doing maintainer-clean in sim" ; \
17313         (cd sim && \
17314           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17315                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17316                   "RANLIB=$${RANLIB}" \
17317                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17318                   maintainer-clean) \
17319           || exit 1
17320
17321 @endif sim
17322
17323
17324 .PHONY: configure-tar maybe-configure-tar
17325 maybe-configure-tar:
17326 @if tar
17327 maybe-configure-tar: configure-tar
17328 configure-tar:
17329         @test ! -f tar/Makefile || exit 0; \
17330         [ -d tar ] || mkdir tar; \
17331         r=`${PWD_COMMAND}`; export r; \
17332         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17333         CC="$(CC)"; export CC; \
17334         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17335         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17336         CXX="$(CXX)"; export CXX; \
17337         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17338         AR="$(AR)"; export AR; \
17339         AS="$(AS)"; export AS; \
17340         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17341         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17342         LD="$(LD)"; export LD; \
17343         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17344         NM="$(NM)"; export NM; \
17345         RANLIB="$(RANLIB)"; export RANLIB; \
17346         WINDRES="$(WINDRES)"; export WINDRES; \
17347         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17348         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17349         echo Configuring in tar; \
17350         cd tar || exit 1; \
17351         case $(srcdir) in \
17352           \.) \
17353             srcdiroption="--srcdir=."; \
17354             libsrcdir=".";; \
17355           /* | [A-Za-z]:[\\/]*) \
17356             srcdiroption="--srcdir=$(srcdir)/tar"; \
17357             libsrcdir="$$s/tar";; \
17358           *) \
17359             srcdiroption="--srcdir=../$(srcdir)/tar"; \
17360             libsrcdir="$$s/tar";; \
17361         esac; \
17362         $(SHELL) $${libsrcdir}/configure \
17363           $(HOST_CONFIGARGS) $${srcdiroption} \
17364           || exit 1
17365 @endif tar
17366
17367 .PHONY: all-tar maybe-all-tar
17368 maybe-all-tar:
17369 @if tar
17370 maybe-all-tar: all-tar
17371 all-tar: configure-tar
17372         @r=`${PWD_COMMAND}`; export r; \
17373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17374         $(SET_LIB_PATH) \
17375         (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17376 @endif tar
17377
17378 .PHONY: check-tar maybe-check-tar
17379 maybe-check-tar:
17380 @if tar
17381 maybe-check-tar: check-tar
17382
17383 check-tar:
17384         @r=`${PWD_COMMAND}`; export r; \
17385         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17386         $(SET_LIB_PATH) \
17387         (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17388
17389 @endif tar
17390
17391 .PHONY: install-tar maybe-install-tar
17392 maybe-install-tar:
17393 @if tar
17394 maybe-install-tar: install-tar
17395
17396 install-tar: installdirs
17397         @r=`${PWD_COMMAND}`; export r; \
17398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17399         $(SET_LIB_PATH) \
17400         (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17401
17402 @endif tar
17403
17404 # Other targets (info, dvi, etc.)
17405
17406 .PHONY: maybe-info-tar info-tar
17407 maybe-info-tar:
17408 @if tar
17409 maybe-info-tar: info-tar
17410
17411 info-tar: \
17412     configure-tar 
17413         @[ -f ./tar/Makefile ] || exit 0; \
17414         r=`${PWD_COMMAND}`; export r; \
17415         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17416         $(SET_LIB_PATH) \
17417         for flag in $(EXTRA_HOST_FLAGS); do \
17418           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17419         done; \
17420         echo "Doing info in tar" ; \
17421         (cd tar && \
17422           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17423                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17424                   "RANLIB=$${RANLIB}" \
17425                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17426                   info) \
17427           || exit 1
17428
17429 @endif tar
17430
17431 .PHONY: maybe-dvi-tar dvi-tar
17432 maybe-dvi-tar:
17433 @if tar
17434 maybe-dvi-tar: dvi-tar
17435
17436 dvi-tar: \
17437     configure-tar 
17438         @[ -f ./tar/Makefile ] || exit 0; \
17439         r=`${PWD_COMMAND}`; export r; \
17440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441         $(SET_LIB_PATH) \
17442         for flag in $(EXTRA_HOST_FLAGS); do \
17443           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17444         done; \
17445         echo "Doing dvi in tar" ; \
17446         (cd tar && \
17447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17449                   "RANLIB=$${RANLIB}" \
17450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17451                   dvi) \
17452           || exit 1
17453
17454 @endif tar
17455
17456 .PHONY: maybe-TAGS-tar TAGS-tar
17457 maybe-TAGS-tar:
17458 @if tar
17459 maybe-TAGS-tar: TAGS-tar
17460
17461 TAGS-tar: \
17462     configure-tar 
17463         @[ -f ./tar/Makefile ] || exit 0; \
17464         r=`${PWD_COMMAND}`; export r; \
17465         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17466         $(SET_LIB_PATH) \
17467         for flag in $(EXTRA_HOST_FLAGS); do \
17468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17469         done; \
17470         echo "Doing TAGS in tar" ; \
17471         (cd tar && \
17472           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17473                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17474                   "RANLIB=$${RANLIB}" \
17475                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17476                   TAGS) \
17477           || exit 1
17478
17479 @endif tar
17480
17481 .PHONY: maybe-install-info-tar install-info-tar
17482 maybe-install-info-tar:
17483 @if tar
17484 maybe-install-info-tar: install-info-tar
17485
17486 install-info-tar: \
17487     configure-tar \
17488     info-tar 
17489         @[ -f ./tar/Makefile ] || exit 0; \
17490         r=`${PWD_COMMAND}`; export r; \
17491         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492         $(SET_LIB_PATH) \
17493         for flag in $(EXTRA_HOST_FLAGS); do \
17494           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17495         done; \
17496         echo "Doing install-info in tar" ; \
17497         (cd tar && \
17498           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17499                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17500                   "RANLIB=$${RANLIB}" \
17501                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17502                   install-info) \
17503           || exit 1
17504
17505 @endif tar
17506
17507 .PHONY: maybe-installcheck-tar installcheck-tar
17508 maybe-installcheck-tar:
17509 @if tar
17510 maybe-installcheck-tar: installcheck-tar
17511
17512 installcheck-tar: \
17513     configure-tar 
17514         @[ -f ./tar/Makefile ] || exit 0; \
17515         r=`${PWD_COMMAND}`; export r; \
17516         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17517         $(SET_LIB_PATH) \
17518         for flag in $(EXTRA_HOST_FLAGS); do \
17519           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17520         done; \
17521         echo "Doing installcheck in tar" ; \
17522         (cd tar && \
17523           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17524                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17525                   "RANLIB=$${RANLIB}" \
17526                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17527                   installcheck) \
17528           || exit 1
17529
17530 @endif tar
17531
17532 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
17533 maybe-mostlyclean-tar:
17534 @if tar
17535 maybe-mostlyclean-tar: mostlyclean-tar
17536
17537 mostlyclean-tar: 
17538         @[ -f ./tar/Makefile ] || exit 0; \
17539         r=`${PWD_COMMAND}`; export r; \
17540         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541         $(SET_LIB_PATH) \
17542         for flag in $(EXTRA_HOST_FLAGS); do \
17543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17544         done; \
17545         echo "Doing mostlyclean in tar" ; \
17546         (cd tar && \
17547           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549                   "RANLIB=$${RANLIB}" \
17550                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17551                   mostlyclean) \
17552           || exit 1
17553
17554 @endif tar
17555
17556 .PHONY: maybe-clean-tar clean-tar
17557 maybe-clean-tar:
17558 @if tar
17559 maybe-clean-tar: clean-tar
17560
17561 clean-tar: 
17562         @[ -f ./tar/Makefile ] || exit 0; \
17563         r=`${PWD_COMMAND}`; export r; \
17564         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17565         $(SET_LIB_PATH) \
17566         for flag in $(EXTRA_HOST_FLAGS); do \
17567           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17568         done; \
17569         echo "Doing clean in tar" ; \
17570         (cd tar && \
17571           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17572                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17573                   "RANLIB=$${RANLIB}" \
17574                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17575                   clean) \
17576           || exit 1
17577
17578 @endif tar
17579
17580 .PHONY: maybe-distclean-tar distclean-tar
17581 maybe-distclean-tar:
17582 @if tar
17583 maybe-distclean-tar: distclean-tar
17584
17585 distclean-tar: 
17586         @[ -f ./tar/Makefile ] || exit 0; \
17587         r=`${PWD_COMMAND}`; export r; \
17588         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17589         $(SET_LIB_PATH) \
17590         for flag in $(EXTRA_HOST_FLAGS); do \
17591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17592         done; \
17593         echo "Doing distclean in tar" ; \
17594         (cd tar && \
17595           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17596                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17597                   "RANLIB=$${RANLIB}" \
17598                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17599                   distclean) \
17600           || exit 1
17601
17602 @endif tar
17603
17604 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
17605 maybe-maintainer-clean-tar:
17606 @if tar
17607 maybe-maintainer-clean-tar: maintainer-clean-tar
17608
17609 maintainer-clean-tar: 
17610         @[ -f ./tar/Makefile ] || exit 0; \
17611         r=`${PWD_COMMAND}`; export r; \
17612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17613         $(SET_LIB_PATH) \
17614         for flag in $(EXTRA_HOST_FLAGS); do \
17615           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17616         done; \
17617         echo "Doing maintainer-clean in tar" ; \
17618         (cd tar && \
17619           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17620                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17621                   "RANLIB=$${RANLIB}" \
17622                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17623                   maintainer-clean) \
17624           || exit 1
17625
17626 @endif tar
17627
17628
17629 .PHONY: configure-texinfo maybe-configure-texinfo
17630 maybe-configure-texinfo:
17631 @if texinfo
17632 maybe-configure-texinfo: configure-texinfo
17633 configure-texinfo:
17634         @test ! -f texinfo/Makefile || exit 0; \
17635         [ -d texinfo ] || mkdir texinfo; \
17636         r=`${PWD_COMMAND}`; export r; \
17637         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17638         CC="$(CC)"; export CC; \
17639         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17640         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17641         CXX="$(CXX)"; export CXX; \
17642         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17643         AR="$(AR)"; export AR; \
17644         AS="$(AS)"; export AS; \
17645         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17646         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17647         LD="$(LD)"; export LD; \
17648         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17649         NM="$(NM)"; export NM; \
17650         RANLIB="$(RANLIB)"; export RANLIB; \
17651         WINDRES="$(WINDRES)"; export WINDRES; \
17652         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17653         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17654         echo Configuring in texinfo; \
17655         cd texinfo || exit 1; \
17656         case $(srcdir) in \
17657           \.) \
17658             srcdiroption="--srcdir=."; \
17659             libsrcdir=".";; \
17660           /* | [A-Za-z]:[\\/]*) \
17661             srcdiroption="--srcdir=$(srcdir)/texinfo"; \
17662             libsrcdir="$$s/texinfo";; \
17663           *) \
17664             srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
17665             libsrcdir="$$s/texinfo";; \
17666         esac; \
17667         $(SHELL) $${libsrcdir}/configure \
17668           $(HOST_CONFIGARGS) $${srcdiroption} \
17669           || exit 1
17670 @endif texinfo
17671
17672 .PHONY: all-texinfo maybe-all-texinfo
17673 maybe-all-texinfo:
17674 @if texinfo
17675 maybe-all-texinfo: all-texinfo
17676 all-texinfo: configure-texinfo
17677         @r=`${PWD_COMMAND}`; export r; \
17678         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679         $(SET_LIB_PATH) \
17680         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
17681 @endif texinfo
17682
17683 .PHONY: check-texinfo maybe-check-texinfo
17684 maybe-check-texinfo:
17685 @if texinfo
17686 maybe-check-texinfo: check-texinfo
17687
17688 check-texinfo:
17689         @r=`${PWD_COMMAND}`; export r; \
17690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691         $(SET_LIB_PATH) \
17692         (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
17693
17694 @endif texinfo
17695
17696 .PHONY: install-texinfo maybe-install-texinfo
17697 maybe-install-texinfo:
17698 @if texinfo
17699 maybe-install-texinfo: install-texinfo
17700
17701 install-texinfo:
17702
17703 @endif texinfo
17704
17705 # Other targets (info, dvi, etc.)
17706
17707 .PHONY: maybe-info-texinfo info-texinfo
17708 maybe-info-texinfo:
17709 @if texinfo
17710 maybe-info-texinfo: info-texinfo
17711
17712 info-texinfo: \
17713     configure-texinfo 
17714         @[ -f ./texinfo/Makefile ] || exit 0; \
17715         r=`${PWD_COMMAND}`; export r; \
17716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17717         $(SET_LIB_PATH) \
17718         for flag in $(EXTRA_HOST_FLAGS); do \
17719           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17720         done; \
17721         echo "Doing info in texinfo" ; \
17722         (cd texinfo && \
17723           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17724                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17725                   "RANLIB=$${RANLIB}" \
17726                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17727                   info) \
17728           || exit 1
17729
17730 @endif texinfo
17731
17732 .PHONY: maybe-dvi-texinfo dvi-texinfo
17733 maybe-dvi-texinfo:
17734 @if texinfo
17735 maybe-dvi-texinfo: dvi-texinfo
17736
17737 dvi-texinfo: \
17738     configure-texinfo 
17739         @[ -f ./texinfo/Makefile ] || exit 0; \
17740         r=`${PWD_COMMAND}`; export r; \
17741         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17742         $(SET_LIB_PATH) \
17743         for flag in $(EXTRA_HOST_FLAGS); do \
17744           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17745         done; \
17746         echo "Doing dvi in texinfo" ; \
17747         (cd texinfo && \
17748           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17749                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17750                   "RANLIB=$${RANLIB}" \
17751                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17752                   dvi) \
17753           || exit 1
17754
17755 @endif texinfo
17756
17757 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
17758 maybe-TAGS-texinfo:
17759 @if texinfo
17760 maybe-TAGS-texinfo: TAGS-texinfo
17761
17762 TAGS-texinfo: \
17763     configure-texinfo 
17764         @[ -f ./texinfo/Makefile ] || exit 0; \
17765         r=`${PWD_COMMAND}`; export r; \
17766         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17767         $(SET_LIB_PATH) \
17768         for flag in $(EXTRA_HOST_FLAGS); do \
17769           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17770         done; \
17771         echo "Doing TAGS in texinfo" ; \
17772         (cd texinfo && \
17773           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17774                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17775                   "RANLIB=$${RANLIB}" \
17776                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17777                   TAGS) \
17778           || exit 1
17779
17780 @endif texinfo
17781
17782 .PHONY: maybe-install-info-texinfo install-info-texinfo
17783 maybe-install-info-texinfo:
17784 @if texinfo
17785 maybe-install-info-texinfo: install-info-texinfo
17786
17787 install-info-texinfo: \
17788     configure-texinfo \
17789     info-texinfo 
17790         @[ -f ./texinfo/Makefile ] || exit 0; \
17791         r=`${PWD_COMMAND}`; export r; \
17792         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17793         $(SET_LIB_PATH) \
17794         for flag in $(EXTRA_HOST_FLAGS); do \
17795           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17796         done; \
17797         echo "Doing install-info in texinfo" ; \
17798         (cd texinfo && \
17799           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17800                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17801                   "RANLIB=$${RANLIB}" \
17802                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17803                   install-info) \
17804           || exit 1
17805
17806 @endif texinfo
17807
17808 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
17809 maybe-installcheck-texinfo:
17810 @if texinfo
17811 maybe-installcheck-texinfo: installcheck-texinfo
17812
17813 installcheck-texinfo: \
17814     configure-texinfo 
17815         @[ -f ./texinfo/Makefile ] || exit 0; \
17816         r=`${PWD_COMMAND}`; export r; \
17817         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17818         $(SET_LIB_PATH) \
17819         for flag in $(EXTRA_HOST_FLAGS); do \
17820           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17821         done; \
17822         echo "Doing installcheck in texinfo" ; \
17823         (cd texinfo && \
17824           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17825                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17826                   "RANLIB=$${RANLIB}" \
17827                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17828                   installcheck) \
17829           || exit 1
17830
17831 @endif texinfo
17832
17833 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
17834 maybe-mostlyclean-texinfo:
17835 @if texinfo
17836 maybe-mostlyclean-texinfo: mostlyclean-texinfo
17837
17838 mostlyclean-texinfo: 
17839         @[ -f ./texinfo/Makefile ] || exit 0; \
17840         r=`${PWD_COMMAND}`; export r; \
17841         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17842         $(SET_LIB_PATH) \
17843         for flag in $(EXTRA_HOST_FLAGS); do \
17844           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17845         done; \
17846         echo "Doing mostlyclean in texinfo" ; \
17847         (cd texinfo && \
17848           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17849                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17850                   "RANLIB=$${RANLIB}" \
17851                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17852                   mostlyclean) \
17853           || exit 1
17854
17855 @endif texinfo
17856
17857 .PHONY: maybe-clean-texinfo clean-texinfo
17858 maybe-clean-texinfo:
17859 @if texinfo
17860 maybe-clean-texinfo: clean-texinfo
17861
17862 clean-texinfo: 
17863         @[ -f ./texinfo/Makefile ] || exit 0; \
17864         r=`${PWD_COMMAND}`; export r; \
17865         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17866         $(SET_LIB_PATH) \
17867         for flag in $(EXTRA_HOST_FLAGS); do \
17868           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17869         done; \
17870         echo "Doing clean in texinfo" ; \
17871         (cd texinfo && \
17872           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17873                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17874                   "RANLIB=$${RANLIB}" \
17875                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17876                   clean) \
17877           || exit 1
17878
17879 @endif texinfo
17880
17881 .PHONY: maybe-distclean-texinfo distclean-texinfo
17882 maybe-distclean-texinfo:
17883 @if texinfo
17884 maybe-distclean-texinfo: distclean-texinfo
17885
17886 distclean-texinfo: 
17887         @[ -f ./texinfo/Makefile ] || exit 0; \
17888         r=`${PWD_COMMAND}`; export r; \
17889         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17890         $(SET_LIB_PATH) \
17891         for flag in $(EXTRA_HOST_FLAGS); do \
17892           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17893         done; \
17894         echo "Doing distclean in texinfo" ; \
17895         (cd texinfo && \
17896           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17897                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17898                   "RANLIB=$${RANLIB}" \
17899                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17900                   distclean) \
17901           || exit 1
17902
17903 @endif texinfo
17904
17905 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
17906 maybe-maintainer-clean-texinfo:
17907 @if texinfo
17908 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
17909
17910 maintainer-clean-texinfo: 
17911         @[ -f ./texinfo/Makefile ] || exit 0; \
17912         r=`${PWD_COMMAND}`; export r; \
17913         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17914         $(SET_LIB_PATH) \
17915         for flag in $(EXTRA_HOST_FLAGS); do \
17916           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17917         done; \
17918         echo "Doing maintainer-clean in texinfo" ; \
17919         (cd texinfo && \
17920           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17921                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17922                   "RANLIB=$${RANLIB}" \
17923                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17924                   maintainer-clean) \
17925           || exit 1
17926
17927 @endif texinfo
17928
17929
17930 .PHONY: configure-textutils maybe-configure-textutils
17931 maybe-configure-textutils:
17932 @if textutils
17933 maybe-configure-textutils: configure-textutils
17934 configure-textutils:
17935         @test ! -f textutils/Makefile || exit 0; \
17936         [ -d textutils ] || mkdir textutils; \
17937         r=`${PWD_COMMAND}`; export r; \
17938         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17939         CC="$(CC)"; export CC; \
17940         CFLAGS="$(CFLAGS)"; export CFLAGS; \
17941         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17942         CXX="$(CXX)"; export CXX; \
17943         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17944         AR="$(AR)"; export AR; \
17945         AS="$(AS)"; export AS; \
17946         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17947         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17948         LD="$(LD)"; export LD; \
17949         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17950         NM="$(NM)"; export NM; \
17951         RANLIB="$(RANLIB)"; export RANLIB; \
17952         WINDRES="$(WINDRES)"; export WINDRES; \
17953         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17954         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17955         echo Configuring in textutils; \
17956         cd textutils || exit 1; \
17957         case $(srcdir) in \
17958           \.) \
17959             srcdiroption="--srcdir=."; \
17960             libsrcdir=".";; \
17961           /* | [A-Za-z]:[\\/]*) \
17962             srcdiroption="--srcdir=$(srcdir)/textutils"; \
17963             libsrcdir="$$s/textutils";; \
17964           *) \
17965             srcdiroption="--srcdir=../$(srcdir)/textutils"; \
17966             libsrcdir="$$s/textutils";; \
17967         esac; \
17968         $(SHELL) $${libsrcdir}/configure \
17969           $(HOST_CONFIGARGS) $${srcdiroption} \
17970           || exit 1
17971 @endif textutils
17972
17973 .PHONY: all-textutils maybe-all-textutils
17974 maybe-all-textutils:
17975 @if textutils
17976 maybe-all-textutils: all-textutils
17977 all-textutils: configure-textutils
17978         @r=`${PWD_COMMAND}`; export r; \
17979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17980         $(SET_LIB_PATH) \
17981         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
17982 @endif textutils
17983
17984 .PHONY: check-textutils maybe-check-textutils
17985 maybe-check-textutils:
17986 @if textutils
17987 maybe-check-textutils: check-textutils
17988
17989 check-textutils:
17990         @r=`${PWD_COMMAND}`; export r; \
17991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17992         $(SET_LIB_PATH) \
17993         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
17994
17995 @endif textutils
17996
17997 .PHONY: install-textutils maybe-install-textutils
17998 maybe-install-textutils:
17999 @if textutils
18000 maybe-install-textutils: install-textutils
18001
18002 install-textutils: installdirs
18003         @r=`${PWD_COMMAND}`; export r; \
18004         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18005         $(SET_LIB_PATH) \
18006         (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18007
18008 @endif textutils
18009
18010 # Other targets (info, dvi, etc.)
18011
18012 .PHONY: maybe-info-textutils info-textutils
18013 maybe-info-textutils:
18014 @if textutils
18015 maybe-info-textutils: info-textutils
18016
18017 info-textutils: \
18018     configure-textutils 
18019         @[ -f ./textutils/Makefile ] || exit 0; \
18020         r=`${PWD_COMMAND}`; export r; \
18021         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18022         $(SET_LIB_PATH) \
18023         for flag in $(EXTRA_HOST_FLAGS); do \
18024           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18025         done; \
18026         echo "Doing info in textutils" ; \
18027         (cd textutils && \
18028           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18029                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18030                   "RANLIB=$${RANLIB}" \
18031                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18032                   info) \
18033           || exit 1
18034
18035 @endif textutils
18036
18037 .PHONY: maybe-dvi-textutils dvi-textutils
18038 maybe-dvi-textutils:
18039 @if textutils
18040 maybe-dvi-textutils: dvi-textutils
18041
18042 dvi-textutils: \
18043     configure-textutils 
18044         @[ -f ./textutils/Makefile ] || exit 0; \
18045         r=`${PWD_COMMAND}`; export r; \
18046         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18047         $(SET_LIB_PATH) \
18048         for flag in $(EXTRA_HOST_FLAGS); do \
18049           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18050         done; \
18051         echo "Doing dvi in textutils" ; \
18052         (cd textutils && \
18053           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18054                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18055                   "RANLIB=$${RANLIB}" \
18056                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18057                   dvi) \
18058           || exit 1
18059
18060 @endif textutils
18061
18062 .PHONY: maybe-TAGS-textutils TAGS-textutils
18063 maybe-TAGS-textutils:
18064 @if textutils
18065 maybe-TAGS-textutils: TAGS-textutils
18066
18067 TAGS-textutils: \
18068     configure-textutils 
18069         @[ -f ./textutils/Makefile ] || exit 0; \
18070         r=`${PWD_COMMAND}`; export r; \
18071         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072         $(SET_LIB_PATH) \
18073         for flag in $(EXTRA_HOST_FLAGS); do \
18074           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18075         done; \
18076         echo "Doing TAGS in textutils" ; \
18077         (cd textutils && \
18078           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18079                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18080                   "RANLIB=$${RANLIB}" \
18081                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18082                   TAGS) \
18083           || exit 1
18084
18085 @endif textutils
18086
18087 .PHONY: maybe-install-info-textutils install-info-textutils
18088 maybe-install-info-textutils:
18089 @if textutils
18090 maybe-install-info-textutils: install-info-textutils
18091
18092 install-info-textutils: \
18093     configure-textutils \
18094     info-textutils 
18095         @[ -f ./textutils/Makefile ] || exit 0; \
18096         r=`${PWD_COMMAND}`; export r; \
18097         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098         $(SET_LIB_PATH) \
18099         for flag in $(EXTRA_HOST_FLAGS); do \
18100           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18101         done; \
18102         echo "Doing install-info in textutils" ; \
18103         (cd textutils && \
18104           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18105                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18106                   "RANLIB=$${RANLIB}" \
18107                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18108                   install-info) \
18109           || exit 1
18110
18111 @endif textutils
18112
18113 .PHONY: maybe-installcheck-textutils installcheck-textutils
18114 maybe-installcheck-textutils:
18115 @if textutils
18116 maybe-installcheck-textutils: installcheck-textutils
18117
18118 installcheck-textutils: \
18119     configure-textutils 
18120         @[ -f ./textutils/Makefile ] || exit 0; \
18121         r=`${PWD_COMMAND}`; export r; \
18122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123         $(SET_LIB_PATH) \
18124         for flag in $(EXTRA_HOST_FLAGS); do \
18125           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18126         done; \
18127         echo "Doing installcheck in textutils" ; \
18128         (cd textutils && \
18129           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18130                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18131                   "RANLIB=$${RANLIB}" \
18132                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18133                   installcheck) \
18134           || exit 1
18135
18136 @endif textutils
18137
18138 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18139 maybe-mostlyclean-textutils:
18140 @if textutils
18141 maybe-mostlyclean-textutils: mostlyclean-textutils
18142
18143 mostlyclean-textutils: 
18144         @[ -f ./textutils/Makefile ] || exit 0; \
18145         r=`${PWD_COMMAND}`; export r; \
18146         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18147         $(SET_LIB_PATH) \
18148         for flag in $(EXTRA_HOST_FLAGS); do \
18149           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18150         done; \
18151         echo "Doing mostlyclean in textutils" ; \
18152         (cd textutils && \
18153           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18154                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18155                   "RANLIB=$${RANLIB}" \
18156                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18157                   mostlyclean) \
18158           || exit 1
18159
18160 @endif textutils
18161
18162 .PHONY: maybe-clean-textutils clean-textutils
18163 maybe-clean-textutils:
18164 @if textutils
18165 maybe-clean-textutils: clean-textutils
18166
18167 clean-textutils: 
18168         @[ -f ./textutils/Makefile ] || exit 0; \
18169         r=`${PWD_COMMAND}`; export r; \
18170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18171         $(SET_LIB_PATH) \
18172         for flag in $(EXTRA_HOST_FLAGS); do \
18173           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18174         done; \
18175         echo "Doing clean in textutils" ; \
18176         (cd textutils && \
18177           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18178                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18179                   "RANLIB=$${RANLIB}" \
18180                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18181                   clean) \
18182           || exit 1
18183
18184 @endif textutils
18185
18186 .PHONY: maybe-distclean-textutils distclean-textutils
18187 maybe-distclean-textutils:
18188 @if textutils
18189 maybe-distclean-textutils: distclean-textutils
18190
18191 distclean-textutils: 
18192         @[ -f ./textutils/Makefile ] || exit 0; \
18193         r=`${PWD_COMMAND}`; export r; \
18194         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18195         $(SET_LIB_PATH) \
18196         for flag in $(EXTRA_HOST_FLAGS); do \
18197           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18198         done; \
18199         echo "Doing distclean in textutils" ; \
18200         (cd textutils && \
18201           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18202                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18203                   "RANLIB=$${RANLIB}" \
18204                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18205                   distclean) \
18206           || exit 1
18207
18208 @endif textutils
18209
18210 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18211 maybe-maintainer-clean-textutils:
18212 @if textutils
18213 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18214
18215 maintainer-clean-textutils: 
18216         @[ -f ./textutils/Makefile ] || exit 0; \
18217         r=`${PWD_COMMAND}`; export r; \
18218         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18219         $(SET_LIB_PATH) \
18220         for flag in $(EXTRA_HOST_FLAGS); do \
18221           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18222         done; \
18223         echo "Doing maintainer-clean in textutils" ; \
18224         (cd textutils && \
18225           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18226                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18227                   "RANLIB=$${RANLIB}" \
18228                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18229                   maintainer-clean) \
18230           || exit 1
18231
18232 @endif textutils
18233
18234
18235 .PHONY: configure-time maybe-configure-time
18236 maybe-configure-time:
18237 @if time
18238 maybe-configure-time: configure-time
18239 configure-time:
18240         @test ! -f time/Makefile || exit 0; \
18241         [ -d time ] || mkdir time; \
18242         r=`${PWD_COMMAND}`; export r; \
18243         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244         CC="$(CC)"; export CC; \
18245         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18246         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18247         CXX="$(CXX)"; export CXX; \
18248         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18249         AR="$(AR)"; export AR; \
18250         AS="$(AS)"; export AS; \
18251         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18252         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18253         LD="$(LD)"; export LD; \
18254         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18255         NM="$(NM)"; export NM; \
18256         RANLIB="$(RANLIB)"; export RANLIB; \
18257         WINDRES="$(WINDRES)"; export WINDRES; \
18258         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18259         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18260         echo Configuring in time; \
18261         cd time || exit 1; \
18262         case $(srcdir) in \
18263           \.) \
18264             srcdiroption="--srcdir=."; \
18265             libsrcdir=".";; \
18266           /* | [A-Za-z]:[\\/]*) \
18267             srcdiroption="--srcdir=$(srcdir)/time"; \
18268             libsrcdir="$$s/time";; \
18269           *) \
18270             srcdiroption="--srcdir=../$(srcdir)/time"; \
18271             libsrcdir="$$s/time";; \
18272         esac; \
18273         $(SHELL) $${libsrcdir}/configure \
18274           $(HOST_CONFIGARGS) $${srcdiroption} \
18275           || exit 1
18276 @endif time
18277
18278 .PHONY: all-time maybe-all-time
18279 maybe-all-time:
18280 @if time
18281 maybe-all-time: all-time
18282 all-time: configure-time
18283         @r=`${PWD_COMMAND}`; export r; \
18284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285         $(SET_LIB_PATH) \
18286         (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18287 @endif time
18288
18289 .PHONY: check-time maybe-check-time
18290 maybe-check-time:
18291 @if time
18292 maybe-check-time: check-time
18293
18294 check-time:
18295         @r=`${PWD_COMMAND}`; export r; \
18296         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18297         $(SET_LIB_PATH) \
18298         (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18299
18300 @endif time
18301
18302 .PHONY: install-time maybe-install-time
18303 maybe-install-time:
18304 @if time
18305 maybe-install-time: install-time
18306
18307 install-time: installdirs
18308         @r=`${PWD_COMMAND}`; export r; \
18309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18310         $(SET_LIB_PATH) \
18311         (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18312
18313 @endif time
18314
18315 # Other targets (info, dvi, etc.)
18316
18317 .PHONY: maybe-info-time info-time
18318 maybe-info-time:
18319 @if time
18320 maybe-info-time: info-time
18321
18322 info-time: \
18323     configure-time 
18324         @[ -f ./time/Makefile ] || exit 0; \
18325         r=`${PWD_COMMAND}`; export r; \
18326         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18327         $(SET_LIB_PATH) \
18328         for flag in $(EXTRA_HOST_FLAGS); do \
18329           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18330         done; \
18331         echo "Doing info in time" ; \
18332         (cd time && \
18333           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18334                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18335                   "RANLIB=$${RANLIB}" \
18336                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18337                   info) \
18338           || exit 1
18339
18340 @endif time
18341
18342 .PHONY: maybe-dvi-time dvi-time
18343 maybe-dvi-time:
18344 @if time
18345 maybe-dvi-time: dvi-time
18346
18347 dvi-time: \
18348     configure-time 
18349         @[ -f ./time/Makefile ] || exit 0; \
18350         r=`${PWD_COMMAND}`; export r; \
18351         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18352         $(SET_LIB_PATH) \
18353         for flag in $(EXTRA_HOST_FLAGS); do \
18354           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18355         done; \
18356         echo "Doing dvi in time" ; \
18357         (cd time && \
18358           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18359                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18360                   "RANLIB=$${RANLIB}" \
18361                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18362                   dvi) \
18363           || exit 1
18364
18365 @endif time
18366
18367 .PHONY: maybe-TAGS-time TAGS-time
18368 maybe-TAGS-time:
18369 @if time
18370 maybe-TAGS-time: TAGS-time
18371
18372 TAGS-time: \
18373     configure-time 
18374         @[ -f ./time/Makefile ] || exit 0; \
18375         r=`${PWD_COMMAND}`; export r; \
18376         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18377         $(SET_LIB_PATH) \
18378         for flag in $(EXTRA_HOST_FLAGS); do \
18379           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18380         done; \
18381         echo "Doing TAGS in time" ; \
18382         (cd time && \
18383           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18384                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18385                   "RANLIB=$${RANLIB}" \
18386                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18387                   TAGS) \
18388           || exit 1
18389
18390 @endif time
18391
18392 .PHONY: maybe-install-info-time install-info-time
18393 maybe-install-info-time:
18394 @if time
18395 maybe-install-info-time: install-info-time
18396
18397 install-info-time: \
18398     configure-time \
18399     info-time 
18400         @[ -f ./time/Makefile ] || exit 0; \
18401         r=`${PWD_COMMAND}`; export r; \
18402         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18403         $(SET_LIB_PATH) \
18404         for flag in $(EXTRA_HOST_FLAGS); do \
18405           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18406         done; \
18407         echo "Doing install-info in time" ; \
18408         (cd time && \
18409           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18410                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18411                   "RANLIB=$${RANLIB}" \
18412                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18413                   install-info) \
18414           || exit 1
18415
18416 @endif time
18417
18418 .PHONY: maybe-installcheck-time installcheck-time
18419 maybe-installcheck-time:
18420 @if time
18421 maybe-installcheck-time: installcheck-time
18422
18423 installcheck-time: \
18424     configure-time 
18425         @[ -f ./time/Makefile ] || exit 0; \
18426         r=`${PWD_COMMAND}`; export r; \
18427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18428         $(SET_LIB_PATH) \
18429         for flag in $(EXTRA_HOST_FLAGS); do \
18430           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18431         done; \
18432         echo "Doing installcheck in time" ; \
18433         (cd time && \
18434           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18435                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18436                   "RANLIB=$${RANLIB}" \
18437                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18438                   installcheck) \
18439           || exit 1
18440
18441 @endif time
18442
18443 .PHONY: maybe-mostlyclean-time mostlyclean-time
18444 maybe-mostlyclean-time:
18445 @if time
18446 maybe-mostlyclean-time: mostlyclean-time
18447
18448 mostlyclean-time: 
18449         @[ -f ./time/Makefile ] || exit 0; \
18450         r=`${PWD_COMMAND}`; export r; \
18451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452         $(SET_LIB_PATH) \
18453         for flag in $(EXTRA_HOST_FLAGS); do \
18454           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18455         done; \
18456         echo "Doing mostlyclean in time" ; \
18457         (cd time && \
18458           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18459                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18460                   "RANLIB=$${RANLIB}" \
18461                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18462                   mostlyclean) \
18463           || exit 1
18464
18465 @endif time
18466
18467 .PHONY: maybe-clean-time clean-time
18468 maybe-clean-time:
18469 @if time
18470 maybe-clean-time: clean-time
18471
18472 clean-time: 
18473         @[ -f ./time/Makefile ] || exit 0; \
18474         r=`${PWD_COMMAND}`; export r; \
18475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18476         $(SET_LIB_PATH) \
18477         for flag in $(EXTRA_HOST_FLAGS); do \
18478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18479         done; \
18480         echo "Doing clean in time" ; \
18481         (cd time && \
18482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18484                   "RANLIB=$${RANLIB}" \
18485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18486                   clean) \
18487           || exit 1
18488
18489 @endif time
18490
18491 .PHONY: maybe-distclean-time distclean-time
18492 maybe-distclean-time:
18493 @if time
18494 maybe-distclean-time: distclean-time
18495
18496 distclean-time: 
18497         @[ -f ./time/Makefile ] || exit 0; \
18498         r=`${PWD_COMMAND}`; export r; \
18499         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18500         $(SET_LIB_PATH) \
18501         for flag in $(EXTRA_HOST_FLAGS); do \
18502           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18503         done; \
18504         echo "Doing distclean in time" ; \
18505         (cd time && \
18506           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18507                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18508                   "RANLIB=$${RANLIB}" \
18509                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18510                   distclean) \
18511           || exit 1
18512
18513 @endif time
18514
18515 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
18516 maybe-maintainer-clean-time:
18517 @if time
18518 maybe-maintainer-clean-time: maintainer-clean-time
18519
18520 maintainer-clean-time: 
18521         @[ -f ./time/Makefile ] || exit 0; \
18522         r=`${PWD_COMMAND}`; export r; \
18523         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18524         $(SET_LIB_PATH) \
18525         for flag in $(EXTRA_HOST_FLAGS); do \
18526           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18527         done; \
18528         echo "Doing maintainer-clean in time" ; \
18529         (cd time && \
18530           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18531                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18532                   "RANLIB=$${RANLIB}" \
18533                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18534                   maintainer-clean) \
18535           || exit 1
18536
18537 @endif time
18538
18539
18540 .PHONY: configure-uudecode maybe-configure-uudecode
18541 maybe-configure-uudecode:
18542 @if uudecode
18543 maybe-configure-uudecode: configure-uudecode
18544 configure-uudecode:
18545         @test ! -f uudecode/Makefile || exit 0; \
18546         [ -d uudecode ] || mkdir uudecode; \
18547         r=`${PWD_COMMAND}`; export r; \
18548         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18549         CC="$(CC)"; export CC; \
18550         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18551         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18552         CXX="$(CXX)"; export CXX; \
18553         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18554         AR="$(AR)"; export AR; \
18555         AS="$(AS)"; export AS; \
18556         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18557         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18558         LD="$(LD)"; export LD; \
18559         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18560         NM="$(NM)"; export NM; \
18561         RANLIB="$(RANLIB)"; export RANLIB; \
18562         WINDRES="$(WINDRES)"; export WINDRES; \
18563         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18564         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18565         echo Configuring in uudecode; \
18566         cd uudecode || exit 1; \
18567         case $(srcdir) in \
18568           \.) \
18569             srcdiroption="--srcdir=."; \
18570             libsrcdir=".";; \
18571           /* | [A-Za-z]:[\\/]*) \
18572             srcdiroption="--srcdir=$(srcdir)/uudecode"; \
18573             libsrcdir="$$s/uudecode";; \
18574           *) \
18575             srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
18576             libsrcdir="$$s/uudecode";; \
18577         esac; \
18578         $(SHELL) $${libsrcdir}/configure \
18579           $(HOST_CONFIGARGS) $${srcdiroption} \
18580           || exit 1
18581 @endif uudecode
18582
18583 .PHONY: all-uudecode maybe-all-uudecode
18584 maybe-all-uudecode:
18585 @if uudecode
18586 maybe-all-uudecode: all-uudecode
18587 all-uudecode: configure-uudecode
18588         @r=`${PWD_COMMAND}`; export r; \
18589         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18590         $(SET_LIB_PATH) \
18591         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
18592 @endif uudecode
18593
18594 .PHONY: check-uudecode maybe-check-uudecode
18595 maybe-check-uudecode:
18596 @if uudecode
18597 maybe-check-uudecode: check-uudecode
18598
18599 check-uudecode:
18600         @r=`${PWD_COMMAND}`; export r; \
18601         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18602         $(SET_LIB_PATH) \
18603         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
18604
18605 @endif uudecode
18606
18607 .PHONY: install-uudecode maybe-install-uudecode
18608 maybe-install-uudecode:
18609 @if uudecode
18610 maybe-install-uudecode: install-uudecode
18611
18612 install-uudecode: installdirs
18613         @r=`${PWD_COMMAND}`; export r; \
18614         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615         $(SET_LIB_PATH) \
18616         (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
18617
18618 @endif uudecode
18619
18620 # Other targets (info, dvi, etc.)
18621
18622 .PHONY: maybe-info-uudecode info-uudecode
18623 maybe-info-uudecode:
18624 @if uudecode
18625 maybe-info-uudecode: info-uudecode
18626
18627 info-uudecode: \
18628     configure-uudecode 
18629         @[ -f ./uudecode/Makefile ] || exit 0; \
18630         r=`${PWD_COMMAND}`; export r; \
18631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18632         $(SET_LIB_PATH) \
18633         for flag in $(EXTRA_HOST_FLAGS); do \
18634           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18635         done; \
18636         echo "Doing info in uudecode" ; \
18637         (cd uudecode && \
18638           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18639                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18640                   "RANLIB=$${RANLIB}" \
18641                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18642                   info) \
18643           || exit 1
18644
18645 @endif uudecode
18646
18647 .PHONY: maybe-dvi-uudecode dvi-uudecode
18648 maybe-dvi-uudecode:
18649 @if uudecode
18650 maybe-dvi-uudecode: dvi-uudecode
18651
18652 dvi-uudecode: \
18653     configure-uudecode 
18654         @[ -f ./uudecode/Makefile ] || exit 0; \
18655         r=`${PWD_COMMAND}`; export r; \
18656         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18657         $(SET_LIB_PATH) \
18658         for flag in $(EXTRA_HOST_FLAGS); do \
18659           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18660         done; \
18661         echo "Doing dvi in uudecode" ; \
18662         (cd uudecode && \
18663           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18664                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18665                   "RANLIB=$${RANLIB}" \
18666                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18667                   dvi) \
18668           || exit 1
18669
18670 @endif uudecode
18671
18672 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
18673 maybe-TAGS-uudecode:
18674 @if uudecode
18675 maybe-TAGS-uudecode: TAGS-uudecode
18676
18677 TAGS-uudecode: \
18678     configure-uudecode 
18679         @[ -f ./uudecode/Makefile ] || exit 0; \
18680         r=`${PWD_COMMAND}`; export r; \
18681         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18682         $(SET_LIB_PATH) \
18683         for flag in $(EXTRA_HOST_FLAGS); do \
18684           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18685         done; \
18686         echo "Doing TAGS in uudecode" ; \
18687         (cd uudecode && \
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                   TAGS) \
18693           || exit 1
18694
18695 @endif uudecode
18696
18697 .PHONY: maybe-install-info-uudecode install-info-uudecode
18698 maybe-install-info-uudecode:
18699 @if uudecode
18700 maybe-install-info-uudecode: install-info-uudecode
18701
18702 install-info-uudecode: \
18703     configure-uudecode \
18704     info-uudecode 
18705         @[ -f ./uudecode/Makefile ] || exit 0; \
18706         r=`${PWD_COMMAND}`; export r; \
18707         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18708         $(SET_LIB_PATH) \
18709         for flag in $(EXTRA_HOST_FLAGS); do \
18710           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18711         done; \
18712         echo "Doing install-info in uudecode" ; \
18713         (cd uudecode && \
18714           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18715                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18716                   "RANLIB=$${RANLIB}" \
18717                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18718                   install-info) \
18719           || exit 1
18720
18721 @endif uudecode
18722
18723 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
18724 maybe-installcheck-uudecode:
18725 @if uudecode
18726 maybe-installcheck-uudecode: installcheck-uudecode
18727
18728 installcheck-uudecode: \
18729     configure-uudecode 
18730         @[ -f ./uudecode/Makefile ] || exit 0; \
18731         r=`${PWD_COMMAND}`; export r; \
18732         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18733         $(SET_LIB_PATH) \
18734         for flag in $(EXTRA_HOST_FLAGS); do \
18735           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18736         done; \
18737         echo "Doing installcheck in uudecode" ; \
18738         (cd uudecode && \
18739           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18740                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18741                   "RANLIB=$${RANLIB}" \
18742                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18743                   installcheck) \
18744           || exit 1
18745
18746 @endif uudecode
18747
18748 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
18749 maybe-mostlyclean-uudecode:
18750 @if uudecode
18751 maybe-mostlyclean-uudecode: mostlyclean-uudecode
18752
18753 mostlyclean-uudecode: 
18754         @[ -f ./uudecode/Makefile ] || exit 0; \
18755         r=`${PWD_COMMAND}`; export r; \
18756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18757         $(SET_LIB_PATH) \
18758         for flag in $(EXTRA_HOST_FLAGS); do \
18759           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18760         done; \
18761         echo "Doing mostlyclean in uudecode" ; \
18762         (cd uudecode && \
18763           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18764                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18765                   "RANLIB=$${RANLIB}" \
18766                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18767                   mostlyclean) \
18768           || exit 1
18769
18770 @endif uudecode
18771
18772 .PHONY: maybe-clean-uudecode clean-uudecode
18773 maybe-clean-uudecode:
18774 @if uudecode
18775 maybe-clean-uudecode: clean-uudecode
18776
18777 clean-uudecode: 
18778         @[ -f ./uudecode/Makefile ] || exit 0; \
18779         r=`${PWD_COMMAND}`; export r; \
18780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18781         $(SET_LIB_PATH) \
18782         for flag in $(EXTRA_HOST_FLAGS); do \
18783           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18784         done; \
18785         echo "Doing clean in uudecode" ; \
18786         (cd uudecode && \
18787           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18788                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18789                   "RANLIB=$${RANLIB}" \
18790                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18791                   clean) \
18792           || exit 1
18793
18794 @endif uudecode
18795
18796 .PHONY: maybe-distclean-uudecode distclean-uudecode
18797 maybe-distclean-uudecode:
18798 @if uudecode
18799 maybe-distclean-uudecode: distclean-uudecode
18800
18801 distclean-uudecode: 
18802         @[ -f ./uudecode/Makefile ] || exit 0; \
18803         r=`${PWD_COMMAND}`; export r; \
18804         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18805         $(SET_LIB_PATH) \
18806         for flag in $(EXTRA_HOST_FLAGS); do \
18807           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18808         done; \
18809         echo "Doing distclean in uudecode" ; \
18810         (cd uudecode && \
18811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18813                   "RANLIB=$${RANLIB}" \
18814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18815                   distclean) \
18816           || exit 1
18817
18818 @endif uudecode
18819
18820 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
18821 maybe-maintainer-clean-uudecode:
18822 @if uudecode
18823 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
18824
18825 maintainer-clean-uudecode: 
18826         @[ -f ./uudecode/Makefile ] || exit 0; \
18827         r=`${PWD_COMMAND}`; export r; \
18828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829         $(SET_LIB_PATH) \
18830         for flag in $(EXTRA_HOST_FLAGS); do \
18831           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18832         done; \
18833         echo "Doing maintainer-clean in uudecode" ; \
18834         (cd uudecode && \
18835           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18836                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18837                   "RANLIB=$${RANLIB}" \
18838                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18839                   maintainer-clean) \
18840           || exit 1
18841
18842 @endif uudecode
18843
18844
18845 .PHONY: configure-wdiff maybe-configure-wdiff
18846 maybe-configure-wdiff:
18847 @if wdiff
18848 maybe-configure-wdiff: configure-wdiff
18849 configure-wdiff:
18850         @test ! -f wdiff/Makefile || exit 0; \
18851         [ -d wdiff ] || mkdir wdiff; \
18852         r=`${PWD_COMMAND}`; export r; \
18853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18854         CC="$(CC)"; export CC; \
18855         CFLAGS="$(CFLAGS)"; export CFLAGS; \
18856         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18857         CXX="$(CXX)"; export CXX; \
18858         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18859         AR="$(AR)"; export AR; \
18860         AS="$(AS)"; export AS; \
18861         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18862         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18863         LD="$(LD)"; export LD; \
18864         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18865         NM="$(NM)"; export NM; \
18866         RANLIB="$(RANLIB)"; export RANLIB; \
18867         WINDRES="$(WINDRES)"; export WINDRES; \
18868         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18869         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18870         echo Configuring in wdiff; \
18871         cd wdiff || exit 1; \
18872         case $(srcdir) in \
18873           \.) \
18874             srcdiroption="--srcdir=."; \
18875             libsrcdir=".";; \
18876           /* | [A-Za-z]:[\\/]*) \
18877             srcdiroption="--srcdir=$(srcdir)/wdiff"; \
18878             libsrcdir="$$s/wdiff";; \
18879           *) \
18880             srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
18881             libsrcdir="$$s/wdiff";; \
18882         esac; \
18883         $(SHELL) $${libsrcdir}/configure \
18884           $(HOST_CONFIGARGS) $${srcdiroption} \
18885           || exit 1
18886 @endif wdiff
18887
18888 .PHONY: all-wdiff maybe-all-wdiff
18889 maybe-all-wdiff:
18890 @if wdiff
18891 maybe-all-wdiff: all-wdiff
18892 all-wdiff: configure-wdiff
18893         @r=`${PWD_COMMAND}`; export r; \
18894         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18895         $(SET_LIB_PATH) \
18896         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
18897 @endif wdiff
18898
18899 .PHONY: check-wdiff maybe-check-wdiff
18900 maybe-check-wdiff:
18901 @if wdiff
18902 maybe-check-wdiff: check-wdiff
18903
18904 check-wdiff:
18905         @r=`${PWD_COMMAND}`; export r; \
18906         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18907         $(SET_LIB_PATH) \
18908         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
18909
18910 @endif wdiff
18911
18912 .PHONY: install-wdiff maybe-install-wdiff
18913 maybe-install-wdiff:
18914 @if wdiff
18915 maybe-install-wdiff: install-wdiff
18916
18917 install-wdiff: installdirs
18918         @r=`${PWD_COMMAND}`; export r; \
18919         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920         $(SET_LIB_PATH) \
18921         (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
18922
18923 @endif wdiff
18924
18925 # Other targets (info, dvi, etc.)
18926
18927 .PHONY: maybe-info-wdiff info-wdiff
18928 maybe-info-wdiff:
18929 @if wdiff
18930 maybe-info-wdiff: info-wdiff
18931
18932 info-wdiff: \
18933     configure-wdiff 
18934         @[ -f ./wdiff/Makefile ] || exit 0; \
18935         r=`${PWD_COMMAND}`; export r; \
18936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18937         $(SET_LIB_PATH) \
18938         for flag in $(EXTRA_HOST_FLAGS); do \
18939           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18940         done; \
18941         echo "Doing info in wdiff" ; \
18942         (cd wdiff && \
18943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18945                   "RANLIB=$${RANLIB}" \
18946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18947                   info) \
18948           || exit 1
18949
18950 @endif wdiff
18951
18952 .PHONY: maybe-dvi-wdiff dvi-wdiff
18953 maybe-dvi-wdiff:
18954 @if wdiff
18955 maybe-dvi-wdiff: dvi-wdiff
18956
18957 dvi-wdiff: \
18958     configure-wdiff 
18959         @[ -f ./wdiff/Makefile ] || exit 0; \
18960         r=`${PWD_COMMAND}`; export r; \
18961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18962         $(SET_LIB_PATH) \
18963         for flag in $(EXTRA_HOST_FLAGS); do \
18964           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18965         done; \
18966         echo "Doing dvi in wdiff" ; \
18967         (cd wdiff && \
18968           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18969                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18970                   "RANLIB=$${RANLIB}" \
18971                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18972                   dvi) \
18973           || exit 1
18974
18975 @endif wdiff
18976
18977 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
18978 maybe-TAGS-wdiff:
18979 @if wdiff
18980 maybe-TAGS-wdiff: TAGS-wdiff
18981
18982 TAGS-wdiff: \
18983     configure-wdiff 
18984         @[ -f ./wdiff/Makefile ] || exit 0; \
18985         r=`${PWD_COMMAND}`; export r; \
18986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18987         $(SET_LIB_PATH) \
18988         for flag in $(EXTRA_HOST_FLAGS); do \
18989           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18990         done; \
18991         echo "Doing TAGS in wdiff" ; \
18992         (cd wdiff && \
18993           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18994                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18995                   "RANLIB=$${RANLIB}" \
18996                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18997                   TAGS) \
18998           || exit 1
18999
19000 @endif wdiff
19001
19002 .PHONY: maybe-install-info-wdiff install-info-wdiff
19003 maybe-install-info-wdiff:
19004 @if wdiff
19005 maybe-install-info-wdiff: install-info-wdiff
19006
19007 install-info-wdiff: \
19008     configure-wdiff \
19009     info-wdiff 
19010         @[ -f ./wdiff/Makefile ] || exit 0; \
19011         r=`${PWD_COMMAND}`; export r; \
19012         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19013         $(SET_LIB_PATH) \
19014         for flag in $(EXTRA_HOST_FLAGS); do \
19015           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19016         done; \
19017         echo "Doing install-info in wdiff" ; \
19018         (cd wdiff && \
19019           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19020                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19021                   "RANLIB=$${RANLIB}" \
19022                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19023                   install-info) \
19024           || exit 1
19025
19026 @endif wdiff
19027
19028 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19029 maybe-installcheck-wdiff:
19030 @if wdiff
19031 maybe-installcheck-wdiff: installcheck-wdiff
19032
19033 installcheck-wdiff: \
19034     configure-wdiff 
19035         @[ -f ./wdiff/Makefile ] || exit 0; \
19036         r=`${PWD_COMMAND}`; export r; \
19037         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19038         $(SET_LIB_PATH) \
19039         for flag in $(EXTRA_HOST_FLAGS); do \
19040           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19041         done; \
19042         echo "Doing installcheck in wdiff" ; \
19043         (cd wdiff && \
19044           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19045                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19046                   "RANLIB=$${RANLIB}" \
19047                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19048                   installcheck) \
19049           || exit 1
19050
19051 @endif wdiff
19052
19053 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19054 maybe-mostlyclean-wdiff:
19055 @if wdiff
19056 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19057
19058 mostlyclean-wdiff: 
19059         @[ -f ./wdiff/Makefile ] || exit 0; \
19060         r=`${PWD_COMMAND}`; export r; \
19061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19062         $(SET_LIB_PATH) \
19063         for flag in $(EXTRA_HOST_FLAGS); do \
19064           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19065         done; \
19066         echo "Doing mostlyclean in wdiff" ; \
19067         (cd wdiff && \
19068           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19069                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19070                   "RANLIB=$${RANLIB}" \
19071                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19072                   mostlyclean) \
19073           || exit 1
19074
19075 @endif wdiff
19076
19077 .PHONY: maybe-clean-wdiff clean-wdiff
19078 maybe-clean-wdiff:
19079 @if wdiff
19080 maybe-clean-wdiff: clean-wdiff
19081
19082 clean-wdiff: 
19083         @[ -f ./wdiff/Makefile ] || exit 0; \
19084         r=`${PWD_COMMAND}`; export r; \
19085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19086         $(SET_LIB_PATH) \
19087         for flag in $(EXTRA_HOST_FLAGS); do \
19088           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19089         done; \
19090         echo "Doing clean in wdiff" ; \
19091         (cd wdiff && \
19092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19094                   "RANLIB=$${RANLIB}" \
19095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19096                   clean) \
19097           || exit 1
19098
19099 @endif wdiff
19100
19101 .PHONY: maybe-distclean-wdiff distclean-wdiff
19102 maybe-distclean-wdiff:
19103 @if wdiff
19104 maybe-distclean-wdiff: distclean-wdiff
19105
19106 distclean-wdiff: 
19107         @[ -f ./wdiff/Makefile ] || exit 0; \
19108         r=`${PWD_COMMAND}`; export r; \
19109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19110         $(SET_LIB_PATH) \
19111         for flag in $(EXTRA_HOST_FLAGS); do \
19112           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19113         done; \
19114         echo "Doing distclean in wdiff" ; \
19115         (cd wdiff && \
19116           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19117                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19118                   "RANLIB=$${RANLIB}" \
19119                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19120                   distclean) \
19121           || exit 1
19122
19123 @endif wdiff
19124
19125 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19126 maybe-maintainer-clean-wdiff:
19127 @if wdiff
19128 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19129
19130 maintainer-clean-wdiff: 
19131         @[ -f ./wdiff/Makefile ] || exit 0; \
19132         r=`${PWD_COMMAND}`; export r; \
19133         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19134         $(SET_LIB_PATH) \
19135         for flag in $(EXTRA_HOST_FLAGS); do \
19136           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19137         done; \
19138         echo "Doing maintainer-clean in wdiff" ; \
19139         (cd wdiff && \
19140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19142                   "RANLIB=$${RANLIB}" \
19143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19144                   maintainer-clean) \
19145           || exit 1
19146
19147 @endif wdiff
19148
19149
19150 .PHONY: configure-zip maybe-configure-zip
19151 maybe-configure-zip:
19152 @if zip
19153 maybe-configure-zip: configure-zip
19154 configure-zip:
19155         @test ! -f zip/Makefile || exit 0; \
19156         [ -d zip ] || mkdir zip; \
19157         r=`${PWD_COMMAND}`; export r; \
19158         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19159         CC="$(CC)"; export CC; \
19160         CFLAGS="$(CFLAGS)"; export CFLAGS; \
19161         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19162         CXX="$(CXX)"; export CXX; \
19163         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19164         AR="$(AR)"; export AR; \
19165         AS="$(AS)"; export AS; \
19166         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19167         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19168         LD="$(LD)"; export LD; \
19169         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19170         NM="$(NM)"; export NM; \
19171         RANLIB="$(RANLIB)"; export RANLIB; \
19172         WINDRES="$(WINDRES)"; export WINDRES; \
19173         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19174         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19175         echo Configuring in zip; \
19176         cd zip || exit 1; \
19177         case $(srcdir) in \
19178           \.) \
19179             srcdiroption="--srcdir=."; \
19180             libsrcdir=".";; \
19181           /* | [A-Za-z]:[\\/]*) \
19182             srcdiroption="--srcdir=$(srcdir)/zip"; \
19183             libsrcdir="$$s/zip";; \
19184           *) \
19185             srcdiroption="--srcdir=../$(srcdir)/zip"; \
19186             libsrcdir="$$s/zip";; \
19187         esac; \
19188         $(SHELL) $${libsrcdir}/configure \
19189           $(HOST_CONFIGARGS) $${srcdiroption} \
19190           || exit 1
19191 @endif zip
19192
19193 .PHONY: all-zip maybe-all-zip
19194 maybe-all-zip:
19195 @if zip
19196 maybe-all-zip: all-zip
19197 all-zip: configure-zip
19198         @r=`${PWD_COMMAND}`; export r; \
19199         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19200         $(SET_LIB_PATH) \
19201         (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19202 @endif zip
19203
19204 .PHONY: check-zip maybe-check-zip
19205 maybe-check-zip:
19206 @if zip
19207 maybe-check-zip: check-zip
19208
19209 # This module is only tested in a native toolchain.
19210 check-zip:
19211         @if [ '$(host)' = '$(target)' ] ; then \
19212           r=`${PWD_COMMAND}`; export r; \
19213           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19214           $(SET_LIB_PATH) \
19215           (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19216         fi
19217
19218 @endif zip
19219
19220 .PHONY: install-zip maybe-install-zip
19221 maybe-install-zip:
19222 @if zip
19223 maybe-install-zip: install-zip
19224
19225 install-zip: installdirs
19226         @r=`${PWD_COMMAND}`; export r; \
19227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228         $(SET_LIB_PATH) \
19229         (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19230
19231 @endif zip
19232
19233 # Other targets (info, dvi, etc.)
19234
19235 .PHONY: maybe-info-zip info-zip
19236 maybe-info-zip:
19237 @if zip
19238 maybe-info-zip: info-zip
19239
19240 info-zip: \
19241     configure-zip 
19242         @[ -f ./zip/Makefile ] || exit 0; \
19243         r=`${PWD_COMMAND}`; export r; \
19244         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19245         $(SET_LIB_PATH) \
19246         for flag in $(EXTRA_HOST_FLAGS); do \
19247           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19248         done; \
19249         echo "Doing info in zip" ; \
19250         (cd zip && \
19251           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19252                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19253                   "RANLIB=$${RANLIB}" \
19254                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19255                   info) \
19256           || exit 1
19257
19258 @endif zip
19259
19260 .PHONY: maybe-dvi-zip dvi-zip
19261 maybe-dvi-zip:
19262 @if zip
19263 maybe-dvi-zip: dvi-zip
19264
19265 dvi-zip: \
19266     configure-zip 
19267         @[ -f ./zip/Makefile ] || exit 0; \
19268         r=`${PWD_COMMAND}`; export r; \
19269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270         $(SET_LIB_PATH) \
19271         for flag in $(EXTRA_HOST_FLAGS); do \
19272           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19273         done; \
19274         echo "Doing dvi in zip" ; \
19275         (cd zip && \
19276           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19277                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19278                   "RANLIB=$${RANLIB}" \
19279                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19280                   dvi) \
19281           || exit 1
19282
19283 @endif zip
19284
19285 .PHONY: maybe-TAGS-zip TAGS-zip
19286 maybe-TAGS-zip:
19287 @if zip
19288 maybe-TAGS-zip: TAGS-zip
19289
19290 TAGS-zip: \
19291     configure-zip 
19292         @[ -f ./zip/Makefile ] || exit 0; \
19293         r=`${PWD_COMMAND}`; export r; \
19294         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19295         $(SET_LIB_PATH) \
19296         for flag in $(EXTRA_HOST_FLAGS); do \
19297           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19298         done; \
19299         echo "Doing TAGS in zip" ; \
19300         (cd zip && \
19301           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19302                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19303                   "RANLIB=$${RANLIB}" \
19304                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19305                   TAGS) \
19306           || exit 1
19307
19308 @endif zip
19309
19310 .PHONY: maybe-install-info-zip install-info-zip
19311 maybe-install-info-zip:
19312 @if zip
19313 maybe-install-info-zip: install-info-zip
19314
19315 install-info-zip: \
19316     configure-zip \
19317     info-zip 
19318         @[ -f ./zip/Makefile ] || exit 0; \
19319         r=`${PWD_COMMAND}`; export r; \
19320         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19321         $(SET_LIB_PATH) \
19322         for flag in $(EXTRA_HOST_FLAGS); do \
19323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19324         done; \
19325         echo "Doing install-info in zip" ; \
19326         (cd zip && \
19327           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19328                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19329                   "RANLIB=$${RANLIB}" \
19330                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19331                   install-info) \
19332           || exit 1
19333
19334 @endif zip
19335
19336 .PHONY: maybe-installcheck-zip installcheck-zip
19337 maybe-installcheck-zip:
19338 @if zip
19339 maybe-installcheck-zip: installcheck-zip
19340
19341 installcheck-zip: \
19342     configure-zip 
19343         @[ -f ./zip/Makefile ] || exit 0; \
19344         r=`${PWD_COMMAND}`; export r; \
19345         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19346         $(SET_LIB_PATH) \
19347         for flag in $(EXTRA_HOST_FLAGS); do \
19348           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19349         done; \
19350         echo "Doing installcheck in zip" ; \
19351         (cd zip && \
19352           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19353                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19354                   "RANLIB=$${RANLIB}" \
19355                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19356                   installcheck) \
19357           || exit 1
19358
19359 @endif zip
19360
19361 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19362 maybe-mostlyclean-zip:
19363 @if zip
19364 maybe-mostlyclean-zip: mostlyclean-zip
19365
19366 mostlyclean-zip: 
19367         @[ -f ./zip/Makefile ] || exit 0; \
19368         r=`${PWD_COMMAND}`; export r; \
19369         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19370         $(SET_LIB_PATH) \
19371         for flag in $(EXTRA_HOST_FLAGS); do \
19372           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19373         done; \
19374         echo "Doing mostlyclean in zip" ; \
19375         (cd zip && \
19376           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19377                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19378                   "RANLIB=$${RANLIB}" \
19379                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19380                   mostlyclean) \
19381           || exit 1
19382
19383 @endif zip
19384
19385 .PHONY: maybe-clean-zip clean-zip
19386 maybe-clean-zip:
19387 @if zip
19388 maybe-clean-zip: clean-zip
19389
19390 clean-zip: 
19391         @[ -f ./zip/Makefile ] || exit 0; \
19392         r=`${PWD_COMMAND}`; export r; \
19393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19394         $(SET_LIB_PATH) \
19395         for flag in $(EXTRA_HOST_FLAGS); do \
19396           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19397         done; \
19398         echo "Doing clean in zip" ; \
19399         (cd zip && \
19400           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19401                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19402                   "RANLIB=$${RANLIB}" \
19403                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19404                   clean) \
19405           || exit 1
19406
19407 @endif zip
19408
19409 .PHONY: maybe-distclean-zip distclean-zip
19410 maybe-distclean-zip:
19411 @if zip
19412 maybe-distclean-zip: distclean-zip
19413
19414 distclean-zip: 
19415         @[ -f ./zip/Makefile ] || exit 0; \
19416         r=`${PWD_COMMAND}`; export r; \
19417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19418         $(SET_LIB_PATH) \
19419         for flag in $(EXTRA_HOST_FLAGS); do \
19420           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19421         done; \
19422         echo "Doing distclean in zip" ; \
19423         (cd zip && \
19424           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19425                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19426                   "RANLIB=$${RANLIB}" \
19427                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19428                   distclean) \
19429           || exit 1
19430
19431 @endif zip
19432
19433 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19434 maybe-maintainer-clean-zip:
19435 @if zip
19436 maybe-maintainer-clean-zip: maintainer-clean-zip
19437
19438 maintainer-clean-zip: 
19439         @[ -f ./zip/Makefile ] || exit 0; \
19440         r=`${PWD_COMMAND}`; export r; \
19441         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19442         $(SET_LIB_PATH) \
19443         for flag in $(EXTRA_HOST_FLAGS); do \
19444           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19445         done; \
19446         echo "Doing maintainer-clean in zip" ; \
19447         (cd zip && \
19448           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19449                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19450                   "RANLIB=$${RANLIB}" \
19451                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19452                   maintainer-clean) \
19453           || exit 1
19454
19455 @endif zip
19456
19457
19458 .PHONY: configure-zlib maybe-configure-zlib
19459 maybe-configure-zlib:
19460 @if zlib
19461 maybe-configure-zlib: configure-zlib
19462 configure-zlib:
19463         @test ! -f zlib/Makefile || exit 0; \
19464         [ -d zlib ] || mkdir zlib; \
19465         r=`${PWD_COMMAND}`; export r; \
19466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19467         CC="$(CC)"; export CC; \
19468         CFLAGS="$(CFLAGS)"; export CFLAGS; \
19469         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19470         CXX="$(CXX)"; export CXX; \
19471         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19472         AR="$(AR)"; export AR; \
19473         AS="$(AS)"; export AS; \
19474         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19475         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19476         LD="$(LD)"; export LD; \
19477         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19478         NM="$(NM)"; export NM; \
19479         RANLIB="$(RANLIB)"; export RANLIB; \
19480         WINDRES="$(WINDRES)"; export WINDRES; \
19481         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19482         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19483         echo Configuring in zlib; \
19484         cd zlib || exit 1; \
19485         case $(srcdir) in \
19486           \.) \
19487             srcdiroption="--srcdir=."; \
19488             libsrcdir=".";; \
19489           /* | [A-Za-z]:[\\/]*) \
19490             srcdiroption="--srcdir=$(srcdir)/zlib"; \
19491             libsrcdir="$$s/zlib";; \
19492           *) \
19493             srcdiroption="--srcdir=../$(srcdir)/zlib"; \
19494             libsrcdir="$$s/zlib";; \
19495         esac; \
19496         $(SHELL) $${libsrcdir}/configure \
19497           $(HOST_CONFIGARGS) $${srcdiroption} \
19498           || exit 1
19499 @endif zlib
19500
19501 .PHONY: all-zlib maybe-all-zlib
19502 maybe-all-zlib:
19503 @if zlib
19504 maybe-all-zlib: all-zlib
19505 all-zlib: configure-zlib
19506         @r=`${PWD_COMMAND}`; export r; \
19507         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19508         $(SET_LIB_PATH) \
19509         (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
19510 @endif zlib
19511
19512 .PHONY: check-zlib maybe-check-zlib
19513 maybe-check-zlib:
19514 @if zlib
19515 maybe-check-zlib: check-zlib
19516
19517 check-zlib:
19518
19519 @endif zlib
19520
19521 .PHONY: install-zlib maybe-install-zlib
19522 maybe-install-zlib:
19523 @if zlib
19524 maybe-install-zlib: install-zlib
19525
19526 install-zlib:
19527
19528 @endif zlib
19529
19530 # Other targets (info, dvi, etc.)
19531
19532 .PHONY: maybe-info-zlib info-zlib
19533 maybe-info-zlib:
19534 @if zlib
19535 maybe-info-zlib: info-zlib
19536
19537 info-zlib: \
19538     configure-zlib 
19539         @[ -f ./zlib/Makefile ] || exit 0; \
19540         r=`${PWD_COMMAND}`; export r; \
19541         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19542         $(SET_LIB_PATH) \
19543         for flag in $(EXTRA_HOST_FLAGS); do \
19544           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19545         done; \
19546         echo "Doing info in zlib" ; \
19547         (cd zlib && \
19548           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19549                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19550                   "RANLIB=$${RANLIB}" \
19551                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19552                   info) \
19553           || exit 1
19554
19555 @endif zlib
19556
19557 .PHONY: maybe-dvi-zlib dvi-zlib
19558 maybe-dvi-zlib:
19559 @if zlib
19560 maybe-dvi-zlib: dvi-zlib
19561
19562 dvi-zlib: \
19563     configure-zlib 
19564         @[ -f ./zlib/Makefile ] || exit 0; \
19565         r=`${PWD_COMMAND}`; export r; \
19566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19567         $(SET_LIB_PATH) \
19568         for flag in $(EXTRA_HOST_FLAGS); do \
19569           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19570         done; \
19571         echo "Doing dvi in zlib" ; \
19572         (cd zlib && \
19573           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19574                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19575                   "RANLIB=$${RANLIB}" \
19576                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19577                   dvi) \
19578           || exit 1
19579
19580 @endif zlib
19581
19582 .PHONY: maybe-TAGS-zlib TAGS-zlib
19583 maybe-TAGS-zlib:
19584 @if zlib
19585 maybe-TAGS-zlib: TAGS-zlib
19586
19587 TAGS-zlib: \
19588     configure-zlib 
19589         @[ -f ./zlib/Makefile ] || exit 0; \
19590         r=`${PWD_COMMAND}`; export r; \
19591         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19592         $(SET_LIB_PATH) \
19593         for flag in $(EXTRA_HOST_FLAGS); do \
19594           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19595         done; \
19596         echo "Doing TAGS in zlib" ; \
19597         (cd zlib && \
19598           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19599                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19600                   "RANLIB=$${RANLIB}" \
19601                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19602                   TAGS) \
19603           || exit 1
19604
19605 @endif zlib
19606
19607 .PHONY: maybe-install-info-zlib install-info-zlib
19608 maybe-install-info-zlib:
19609 @if zlib
19610 maybe-install-info-zlib: install-info-zlib
19611
19612 install-info-zlib: \
19613     configure-zlib \
19614     info-zlib 
19615         @[ -f ./zlib/Makefile ] || exit 0; \
19616         r=`${PWD_COMMAND}`; export r; \
19617         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19618         $(SET_LIB_PATH) \
19619         for flag in $(EXTRA_HOST_FLAGS); do \
19620           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19621         done; \
19622         echo "Doing install-info in zlib" ; \
19623         (cd zlib && \
19624           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19625                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19626                   "RANLIB=$${RANLIB}" \
19627                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19628                   install-info) \
19629           || exit 1
19630
19631 @endif zlib
19632
19633 .PHONY: maybe-installcheck-zlib installcheck-zlib
19634 maybe-installcheck-zlib:
19635 @if zlib
19636 maybe-installcheck-zlib: installcheck-zlib
19637
19638 installcheck-zlib: \
19639     configure-zlib 
19640         @[ -f ./zlib/Makefile ] || exit 0; \
19641         r=`${PWD_COMMAND}`; export r; \
19642         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19643         $(SET_LIB_PATH) \
19644         for flag in $(EXTRA_HOST_FLAGS); do \
19645           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19646         done; \
19647         echo "Doing installcheck in zlib" ; \
19648         (cd zlib && \
19649           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19650                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19651                   "RANLIB=$${RANLIB}" \
19652                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19653                   installcheck) \
19654           || exit 1
19655
19656 @endif zlib
19657
19658 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
19659 maybe-mostlyclean-zlib:
19660 @if zlib
19661 maybe-mostlyclean-zlib: mostlyclean-zlib
19662
19663 mostlyclean-zlib: 
19664         @[ -f ./zlib/Makefile ] || exit 0; \
19665         r=`${PWD_COMMAND}`; export r; \
19666         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667         $(SET_LIB_PATH) \
19668         for flag in $(EXTRA_HOST_FLAGS); do \
19669           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19670         done; \
19671         echo "Doing mostlyclean in zlib" ; \
19672         (cd zlib && \
19673           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19674                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19675                   "RANLIB=$${RANLIB}" \
19676                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19677                   mostlyclean) \
19678           || exit 1
19679
19680 @endif zlib
19681
19682 .PHONY: maybe-clean-zlib clean-zlib
19683 maybe-clean-zlib:
19684 @if zlib
19685 maybe-clean-zlib: clean-zlib
19686
19687 clean-zlib: 
19688         @[ -f ./zlib/Makefile ] || exit 0; \
19689         r=`${PWD_COMMAND}`; export r; \
19690         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19691         $(SET_LIB_PATH) \
19692         for flag in $(EXTRA_HOST_FLAGS); do \
19693           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19694         done; \
19695         echo "Doing clean in zlib" ; \
19696         (cd zlib && \
19697           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19698                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19699                   "RANLIB=$${RANLIB}" \
19700                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19701                   clean) \
19702           || exit 1
19703
19704 @endif zlib
19705
19706 .PHONY: maybe-distclean-zlib distclean-zlib
19707 maybe-distclean-zlib:
19708 @if zlib
19709 maybe-distclean-zlib: distclean-zlib
19710
19711 distclean-zlib: 
19712         @[ -f ./zlib/Makefile ] || exit 0; \
19713         r=`${PWD_COMMAND}`; export r; \
19714         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19715         $(SET_LIB_PATH) \
19716         for flag in $(EXTRA_HOST_FLAGS); do \
19717           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19718         done; \
19719         echo "Doing distclean in zlib" ; \
19720         (cd zlib && \
19721           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19722                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19723                   "RANLIB=$${RANLIB}" \
19724                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19725                   distclean) \
19726           || exit 1
19727
19728 @endif zlib
19729
19730 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
19731 maybe-maintainer-clean-zlib:
19732 @if zlib
19733 maybe-maintainer-clean-zlib: maintainer-clean-zlib
19734
19735 maintainer-clean-zlib: 
19736         @[ -f ./zlib/Makefile ] || exit 0; \
19737         r=`${PWD_COMMAND}`; export r; \
19738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19739         $(SET_LIB_PATH) \
19740         for flag in $(EXTRA_HOST_FLAGS); do \
19741           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19742         done; \
19743         echo "Doing maintainer-clean in zlib" ; \
19744         (cd zlib && \
19745           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19746                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19747                   "RANLIB=$${RANLIB}" \
19748                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19749                   maintainer-clean) \
19750           || exit 1
19751
19752 @endif zlib
19753
19754
19755 .PHONY: configure-gdb maybe-configure-gdb
19756 maybe-configure-gdb:
19757 @if gdb
19758 maybe-configure-gdb: configure-gdb
19759 configure-gdb:
19760         @test ! -f gdb/Makefile || exit 0; \
19761         [ -d gdb ] || mkdir gdb; \
19762         r=`${PWD_COMMAND}`; export r; \
19763         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764         CC="$(CC)"; export CC; \
19765         CFLAGS="$(CFLAGS)"; export CFLAGS; \
19766         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19767         CXX="$(CXX)"; export CXX; \
19768         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19769         AR="$(AR)"; export AR; \
19770         AS="$(AS)"; export AS; \
19771         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19772         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19773         LD="$(LD)"; export LD; \
19774         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19775         NM="$(NM)"; export NM; \
19776         RANLIB="$(RANLIB)"; export RANLIB; \
19777         WINDRES="$(WINDRES)"; export WINDRES; \
19778         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19779         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19780         echo Configuring in gdb; \
19781         cd gdb || exit 1; \
19782         case $(srcdir) in \
19783           \.) \
19784             srcdiroption="--srcdir=."; \
19785             libsrcdir=".";; \
19786           /* | [A-Za-z]:[\\/]*) \
19787             srcdiroption="--srcdir=$(srcdir)/gdb"; \
19788             libsrcdir="$$s/gdb";; \
19789           *) \
19790             srcdiroption="--srcdir=../$(srcdir)/gdb"; \
19791             libsrcdir="$$s/gdb";; \
19792         esac; \
19793         $(SHELL) $${libsrcdir}/configure \
19794           $(HOST_CONFIGARGS) $${srcdiroption} \
19795           || exit 1
19796 @endif gdb
19797
19798 .PHONY: all-gdb maybe-all-gdb
19799 maybe-all-gdb:
19800 @if gdb
19801 maybe-all-gdb: all-gdb
19802 all-gdb: configure-gdb
19803         @r=`${PWD_COMMAND}`; export r; \
19804         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19805         $(SET_LIB_PATH) \
19806         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
19807 @endif gdb
19808
19809 .PHONY: check-gdb maybe-check-gdb
19810 maybe-check-gdb:
19811 @if gdb
19812 maybe-check-gdb: check-gdb
19813
19814 check-gdb:
19815         @r=`${PWD_COMMAND}`; export r; \
19816         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817         $(SET_LIB_PATH) \
19818         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
19819
19820 @endif gdb
19821
19822 .PHONY: install-gdb maybe-install-gdb
19823 maybe-install-gdb:
19824 @if gdb
19825 maybe-install-gdb: install-gdb
19826
19827 install-gdb: installdirs
19828         @r=`${PWD_COMMAND}`; export r; \
19829         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19830         $(SET_LIB_PATH) \
19831         (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
19832
19833 @endif gdb
19834
19835 # Other targets (info, dvi, etc.)
19836
19837 .PHONY: maybe-info-gdb info-gdb
19838 maybe-info-gdb:
19839 @if gdb
19840 maybe-info-gdb: info-gdb
19841
19842 info-gdb: \
19843     configure-gdb 
19844         @[ -f ./gdb/Makefile ] || exit 0; \
19845         r=`${PWD_COMMAND}`; export r; \
19846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847         $(SET_LIB_PATH) \
19848         for flag in $(EXTRA_HOST_FLAGS); do \
19849           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19850         done; \
19851         echo "Doing info in gdb" ; \
19852         (cd gdb && \
19853           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19854                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19855                   "RANLIB=$${RANLIB}" \
19856                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19857                   info) \
19858           || exit 1
19859
19860 @endif gdb
19861
19862 .PHONY: maybe-dvi-gdb dvi-gdb
19863 maybe-dvi-gdb:
19864 @if gdb
19865 maybe-dvi-gdb: dvi-gdb
19866
19867 dvi-gdb: \
19868     configure-gdb 
19869         @[ -f ./gdb/Makefile ] || exit 0; \
19870         r=`${PWD_COMMAND}`; export r; \
19871         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19872         $(SET_LIB_PATH) \
19873         for flag in $(EXTRA_HOST_FLAGS); do \
19874           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19875         done; \
19876         echo "Doing dvi in gdb" ; \
19877         (cd gdb && \
19878           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19879                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19880                   "RANLIB=$${RANLIB}" \
19881                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19882                   dvi) \
19883           || exit 1
19884
19885 @endif gdb
19886
19887 .PHONY: maybe-TAGS-gdb TAGS-gdb
19888 maybe-TAGS-gdb:
19889 @if gdb
19890 maybe-TAGS-gdb: TAGS-gdb
19891
19892 TAGS-gdb: \
19893     configure-gdb 
19894         @[ -f ./gdb/Makefile ] || exit 0; \
19895         r=`${PWD_COMMAND}`; export r; \
19896         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897         $(SET_LIB_PATH) \
19898         for flag in $(EXTRA_HOST_FLAGS); do \
19899           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19900         done; \
19901         echo "Doing TAGS in gdb" ; \
19902         (cd gdb && \
19903           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19904                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19905                   "RANLIB=$${RANLIB}" \
19906                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19907                   TAGS) \
19908           || exit 1
19909
19910 @endif gdb
19911
19912 .PHONY: maybe-install-info-gdb install-info-gdb
19913 maybe-install-info-gdb:
19914 @if gdb
19915 maybe-install-info-gdb: install-info-gdb
19916
19917 install-info-gdb: \
19918     configure-gdb \
19919     info-gdb 
19920         @[ -f ./gdb/Makefile ] || exit 0; \
19921         r=`${PWD_COMMAND}`; export r; \
19922         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19923         $(SET_LIB_PATH) \
19924         for flag in $(EXTRA_HOST_FLAGS); do \
19925           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19926         done; \
19927         echo "Doing install-info in gdb" ; \
19928         (cd gdb && \
19929           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19930                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19931                   "RANLIB=$${RANLIB}" \
19932                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19933                   install-info) \
19934           || exit 1
19935
19936 @endif gdb
19937
19938 .PHONY: maybe-installcheck-gdb installcheck-gdb
19939 maybe-installcheck-gdb:
19940 @if gdb
19941 maybe-installcheck-gdb: installcheck-gdb
19942
19943 installcheck-gdb: \
19944     configure-gdb 
19945         @[ -f ./gdb/Makefile ] || exit 0; \
19946         r=`${PWD_COMMAND}`; export r; \
19947         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19948         $(SET_LIB_PATH) \
19949         for flag in $(EXTRA_HOST_FLAGS); do \
19950           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19951         done; \
19952         echo "Doing installcheck in gdb" ; \
19953         (cd gdb && \
19954           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19955                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19956                   "RANLIB=$${RANLIB}" \
19957                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19958                   installcheck) \
19959           || exit 1
19960
19961 @endif gdb
19962
19963 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
19964 maybe-mostlyclean-gdb:
19965 @if gdb
19966 maybe-mostlyclean-gdb: mostlyclean-gdb
19967
19968 mostlyclean-gdb: 
19969         @[ -f ./gdb/Makefile ] || exit 0; \
19970         r=`${PWD_COMMAND}`; export r; \
19971         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19972         $(SET_LIB_PATH) \
19973         for flag in $(EXTRA_HOST_FLAGS); do \
19974           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19975         done; \
19976         echo "Doing mostlyclean in gdb" ; \
19977         (cd gdb && \
19978           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19979                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19980                   "RANLIB=$${RANLIB}" \
19981                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19982                   mostlyclean) \
19983           || exit 1
19984
19985 @endif gdb
19986
19987 .PHONY: maybe-clean-gdb clean-gdb
19988 maybe-clean-gdb:
19989 @if gdb
19990 maybe-clean-gdb: clean-gdb
19991
19992 clean-gdb: 
19993         @[ -f ./gdb/Makefile ] || exit 0; \
19994         r=`${PWD_COMMAND}`; export r; \
19995         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19996         $(SET_LIB_PATH) \
19997         for flag in $(EXTRA_HOST_FLAGS); do \
19998           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19999         done; \
20000         echo "Doing clean in gdb" ; \
20001         (cd gdb && \
20002           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20003                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20004                   "RANLIB=$${RANLIB}" \
20005                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20006                   clean) \
20007           || exit 1
20008
20009 @endif gdb
20010
20011 .PHONY: maybe-distclean-gdb distclean-gdb
20012 maybe-distclean-gdb:
20013 @if gdb
20014 maybe-distclean-gdb: distclean-gdb
20015
20016 distclean-gdb: 
20017         @[ -f ./gdb/Makefile ] || exit 0; \
20018         r=`${PWD_COMMAND}`; export r; \
20019         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20020         $(SET_LIB_PATH) \
20021         for flag in $(EXTRA_HOST_FLAGS); do \
20022           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20023         done; \
20024         echo "Doing distclean in gdb" ; \
20025         (cd gdb && \
20026           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20027                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20028                   "RANLIB=$${RANLIB}" \
20029                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20030                   distclean) \
20031           || exit 1
20032
20033 @endif gdb
20034
20035 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20036 maybe-maintainer-clean-gdb:
20037 @if gdb
20038 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20039
20040 maintainer-clean-gdb: 
20041         @[ -f ./gdb/Makefile ] || exit 0; \
20042         r=`${PWD_COMMAND}`; export r; \
20043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20044         $(SET_LIB_PATH) \
20045         for flag in $(EXTRA_HOST_FLAGS); do \
20046           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20047         done; \
20048         echo "Doing maintainer-clean in gdb" ; \
20049         (cd gdb && \
20050           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20051                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20052                   "RANLIB=$${RANLIB}" \
20053                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20054                   maintainer-clean) \
20055           || exit 1
20056
20057 @endif gdb
20058
20059
20060 .PHONY: configure-expect maybe-configure-expect
20061 maybe-configure-expect:
20062 @if expect
20063 maybe-configure-expect: configure-expect
20064 configure-expect:
20065         @test ! -f expect/Makefile || exit 0; \
20066         [ -d expect ] || mkdir expect; \
20067         r=`${PWD_COMMAND}`; export r; \
20068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20069         CC="$(CC)"; export CC; \
20070         CFLAGS="$(CFLAGS)"; export CFLAGS; \
20071         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20072         CXX="$(CXX)"; export CXX; \
20073         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20074         AR="$(AR)"; export AR; \
20075         AS="$(AS)"; export AS; \
20076         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20077         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20078         LD="$(LD)"; export LD; \
20079         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20080         NM="$(NM)"; export NM; \
20081         RANLIB="$(RANLIB)"; export RANLIB; \
20082         WINDRES="$(WINDRES)"; export WINDRES; \
20083         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20084         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20085         echo Configuring in expect; \
20086         cd expect || exit 1; \
20087         case $(srcdir) in \
20088           \.) \
20089             srcdiroption="--srcdir=."; \
20090             libsrcdir=".";; \
20091           /* | [A-Za-z]:[\\/]*) \
20092             srcdiroption="--srcdir=$(srcdir)/expect"; \
20093             libsrcdir="$$s/expect";; \
20094           *) \
20095             srcdiroption="--srcdir=../$(srcdir)/expect"; \
20096             libsrcdir="$$s/expect";; \
20097         esac; \
20098         $(SHELL) $${libsrcdir}/configure \
20099           $(HOST_CONFIGARGS) $${srcdiroption} \
20100           || exit 1
20101 @endif expect
20102
20103 .PHONY: all-expect maybe-all-expect
20104 maybe-all-expect:
20105 @if expect
20106 maybe-all-expect: all-expect
20107 all-expect: configure-expect
20108         @r=`${PWD_COMMAND}`; export r; \
20109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20110         $(SET_LIB_PATH) \
20111         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20112 @endif expect
20113
20114 .PHONY: check-expect maybe-check-expect
20115 maybe-check-expect:
20116 @if expect
20117 maybe-check-expect: check-expect
20118
20119 check-expect:
20120         @r=`${PWD_COMMAND}`; export r; \
20121         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20122         $(SET_LIB_PATH) \
20123         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20124
20125 @endif expect
20126
20127 .PHONY: install-expect maybe-install-expect
20128 maybe-install-expect:
20129 @if expect
20130 maybe-install-expect: install-expect
20131
20132 install-expect: installdirs
20133         @r=`${PWD_COMMAND}`; export r; \
20134         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20135         $(SET_LIB_PATH) \
20136         (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20137
20138 @endif expect
20139
20140 # Other targets (info, dvi, etc.)
20141
20142 .PHONY: maybe-info-expect info-expect
20143 maybe-info-expect:
20144 @if expect
20145 maybe-info-expect: info-expect
20146
20147 info-expect: \
20148     configure-expect 
20149         @[ -f ./expect/Makefile ] || exit 0; \
20150         r=`${PWD_COMMAND}`; export r; \
20151         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20152         $(SET_LIB_PATH) \
20153         for flag in $(EXTRA_HOST_FLAGS); do \
20154           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20155         done; \
20156         echo "Doing info in expect" ; \
20157         (cd expect && \
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                   info) \
20163           || exit 1
20164
20165 @endif expect
20166
20167 .PHONY: maybe-dvi-expect dvi-expect
20168 maybe-dvi-expect:
20169 @if expect
20170 maybe-dvi-expect: dvi-expect
20171
20172 dvi-expect: \
20173     configure-expect 
20174         @[ -f ./expect/Makefile ] || exit 0; \
20175         r=`${PWD_COMMAND}`; export r; \
20176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20177         $(SET_LIB_PATH) \
20178         for flag in $(EXTRA_HOST_FLAGS); do \
20179           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20180         done; \
20181         echo "Doing dvi in expect" ; \
20182         (cd expect && \
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                   dvi) \
20188           || exit 1
20189
20190 @endif expect
20191
20192 .PHONY: maybe-TAGS-expect TAGS-expect
20193 maybe-TAGS-expect:
20194 @if expect
20195 maybe-TAGS-expect: TAGS-expect
20196
20197 TAGS-expect: \
20198     configure-expect 
20199         @[ -f ./expect/Makefile ] || exit 0; \
20200         r=`${PWD_COMMAND}`; export r; \
20201         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20202         $(SET_LIB_PATH) \
20203         for flag in $(EXTRA_HOST_FLAGS); do \
20204           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20205         done; \
20206         echo "Doing TAGS in expect" ; \
20207         (cd expect && \
20208           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20209                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20210                   "RANLIB=$${RANLIB}" \
20211                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20212                   TAGS) \
20213           || exit 1
20214
20215 @endif expect
20216
20217 .PHONY: maybe-install-info-expect install-info-expect
20218 maybe-install-info-expect:
20219 @if expect
20220 maybe-install-info-expect: install-info-expect
20221
20222 install-info-expect: \
20223     configure-expect \
20224     info-expect 
20225         @[ -f ./expect/Makefile ] || exit 0; \
20226         r=`${PWD_COMMAND}`; export r; \
20227         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20228         $(SET_LIB_PATH) \
20229         for flag in $(EXTRA_HOST_FLAGS); do \
20230           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20231         done; \
20232         echo "Doing install-info in expect" ; \
20233         (cd expect && \
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                   install-info) \
20239           || exit 1
20240
20241 @endif expect
20242
20243 .PHONY: maybe-installcheck-expect installcheck-expect
20244 maybe-installcheck-expect:
20245 @if expect
20246 maybe-installcheck-expect: installcheck-expect
20247
20248 installcheck-expect: \
20249     configure-expect 
20250         @[ -f ./expect/Makefile ] || exit 0; \
20251         r=`${PWD_COMMAND}`; export r; \
20252         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253         $(SET_LIB_PATH) \
20254         for flag in $(EXTRA_HOST_FLAGS); do \
20255           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256         done; \
20257         echo "Doing installcheck in expect" ; \
20258         (cd expect && \
20259           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261                   "RANLIB=$${RANLIB}" \
20262                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20263                   installcheck) \
20264           || exit 1
20265
20266 @endif expect
20267
20268 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20269 maybe-mostlyclean-expect:
20270 @if expect
20271 maybe-mostlyclean-expect: mostlyclean-expect
20272
20273 mostlyclean-expect: 
20274         @[ -f ./expect/Makefile ] || exit 0; \
20275         r=`${PWD_COMMAND}`; export r; \
20276         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20277         $(SET_LIB_PATH) \
20278         for flag in $(EXTRA_HOST_FLAGS); do \
20279           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20280         done; \
20281         echo "Doing mostlyclean in expect" ; \
20282         (cd expect && \
20283           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20284                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20285                   "RANLIB=$${RANLIB}" \
20286                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20287                   mostlyclean) \
20288           || exit 1
20289
20290 @endif expect
20291
20292 .PHONY: maybe-clean-expect clean-expect
20293 maybe-clean-expect:
20294 @if expect
20295 maybe-clean-expect: clean-expect
20296
20297 clean-expect: 
20298         @[ -f ./expect/Makefile ] || exit 0; \
20299         r=`${PWD_COMMAND}`; export r; \
20300         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20301         $(SET_LIB_PATH) \
20302         for flag in $(EXTRA_HOST_FLAGS); do \
20303           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20304         done; \
20305         echo "Doing clean in expect" ; \
20306         (cd expect && \
20307           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20308                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20309                   "RANLIB=$${RANLIB}" \
20310                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20311                   clean) \
20312           || exit 1
20313
20314 @endif expect
20315
20316 .PHONY: maybe-distclean-expect distclean-expect
20317 maybe-distclean-expect:
20318 @if expect
20319 maybe-distclean-expect: distclean-expect
20320
20321 distclean-expect: 
20322         @[ -f ./expect/Makefile ] || exit 0; \
20323         r=`${PWD_COMMAND}`; export r; \
20324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20325         $(SET_LIB_PATH) \
20326         for flag in $(EXTRA_HOST_FLAGS); do \
20327           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20328         done; \
20329         echo "Doing distclean in expect" ; \
20330         (cd expect && \
20331           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20332                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20333                   "RANLIB=$${RANLIB}" \
20334                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20335                   distclean) \
20336           || exit 1
20337
20338 @endif expect
20339
20340 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20341 maybe-maintainer-clean-expect:
20342 @if expect
20343 maybe-maintainer-clean-expect: maintainer-clean-expect
20344
20345 maintainer-clean-expect: 
20346         @[ -f ./expect/Makefile ] || exit 0; \
20347         r=`${PWD_COMMAND}`; export r; \
20348         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20349         $(SET_LIB_PATH) \
20350         for flag in $(EXTRA_HOST_FLAGS); do \
20351           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20352         done; \
20353         echo "Doing maintainer-clean in expect" ; \
20354         (cd expect && \
20355           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20356                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20357                   "RANLIB=$${RANLIB}" \
20358                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20359                   maintainer-clean) \
20360           || exit 1
20361
20362 @endif expect
20363
20364
20365 .PHONY: configure-guile maybe-configure-guile
20366 maybe-configure-guile:
20367 @if guile
20368 maybe-configure-guile: configure-guile
20369 configure-guile:
20370         @test ! -f guile/Makefile || exit 0; \
20371         [ -d guile ] || mkdir guile; \
20372         r=`${PWD_COMMAND}`; export r; \
20373         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20374         CC="$(CC)"; export CC; \
20375         CFLAGS="$(CFLAGS)"; export CFLAGS; \
20376         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20377         CXX="$(CXX)"; export CXX; \
20378         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20379         AR="$(AR)"; export AR; \
20380         AS="$(AS)"; export AS; \
20381         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20382         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20383         LD="$(LD)"; export LD; \
20384         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20385         NM="$(NM)"; export NM; \
20386         RANLIB="$(RANLIB)"; export RANLIB; \
20387         WINDRES="$(WINDRES)"; export WINDRES; \
20388         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20389         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20390         echo Configuring in guile; \
20391         cd guile || exit 1; \
20392         case $(srcdir) in \
20393           \.) \
20394             srcdiroption="--srcdir=."; \
20395             libsrcdir=".";; \
20396           /* | [A-Za-z]:[\\/]*) \
20397             srcdiroption="--srcdir=$(srcdir)/guile"; \
20398             libsrcdir="$$s/guile";; \
20399           *) \
20400             srcdiroption="--srcdir=../$(srcdir)/guile"; \
20401             libsrcdir="$$s/guile";; \
20402         esac; \
20403         $(SHELL) $${libsrcdir}/configure \
20404           $(HOST_CONFIGARGS) $${srcdiroption} \
20405           || exit 1
20406 @endif guile
20407
20408 .PHONY: all-guile maybe-all-guile
20409 maybe-all-guile:
20410 @if guile
20411 maybe-all-guile: all-guile
20412 all-guile: configure-guile
20413         @r=`${PWD_COMMAND}`; export r; \
20414         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415         $(SET_LIB_PATH) \
20416         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20417 @endif guile
20418
20419 .PHONY: check-guile maybe-check-guile
20420 maybe-check-guile:
20421 @if guile
20422 maybe-check-guile: check-guile
20423
20424 check-guile:
20425         @r=`${PWD_COMMAND}`; export r; \
20426         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20427         $(SET_LIB_PATH) \
20428         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20429
20430 @endif guile
20431
20432 .PHONY: install-guile maybe-install-guile
20433 maybe-install-guile:
20434 @if guile
20435 maybe-install-guile: install-guile
20436
20437 install-guile: installdirs
20438         @r=`${PWD_COMMAND}`; export r; \
20439         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20440         $(SET_LIB_PATH) \
20441         (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20442
20443 @endif guile
20444
20445 # Other targets (info, dvi, etc.)
20446
20447 .PHONY: maybe-info-guile info-guile
20448 maybe-info-guile:
20449 @if guile
20450 maybe-info-guile: info-guile
20451
20452 info-guile: \
20453     configure-guile 
20454         @[ -f ./guile/Makefile ] || exit 0; \
20455         r=`${PWD_COMMAND}`; export r; \
20456         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20457         $(SET_LIB_PATH) \
20458         for flag in $(EXTRA_HOST_FLAGS); do \
20459           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20460         done; \
20461         echo "Doing info in guile" ; \
20462         (cd guile && \
20463           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20464                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20465                   "RANLIB=$${RANLIB}" \
20466                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20467                   info) \
20468           || exit 1
20469
20470 @endif guile
20471
20472 .PHONY: maybe-dvi-guile dvi-guile
20473 maybe-dvi-guile:
20474 @if guile
20475 maybe-dvi-guile: dvi-guile
20476
20477 dvi-guile: \
20478     configure-guile 
20479         @[ -f ./guile/Makefile ] || exit 0; \
20480         r=`${PWD_COMMAND}`; export r; \
20481         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20482         $(SET_LIB_PATH) \
20483         for flag in $(EXTRA_HOST_FLAGS); do \
20484           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20485         done; \
20486         echo "Doing dvi in guile" ; \
20487         (cd guile && \
20488           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20489                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20490                   "RANLIB=$${RANLIB}" \
20491                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20492                   dvi) \
20493           || exit 1
20494
20495 @endif guile
20496
20497 .PHONY: maybe-TAGS-guile TAGS-guile
20498 maybe-TAGS-guile:
20499 @if guile
20500 maybe-TAGS-guile: TAGS-guile
20501
20502 TAGS-guile: \
20503     configure-guile 
20504         @[ -f ./guile/Makefile ] || exit 0; \
20505         r=`${PWD_COMMAND}`; export r; \
20506         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20507         $(SET_LIB_PATH) \
20508         for flag in $(EXTRA_HOST_FLAGS); do \
20509           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20510         done; \
20511         echo "Doing TAGS in guile" ; \
20512         (cd guile && \
20513           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20514                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20515                   "RANLIB=$${RANLIB}" \
20516                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20517                   TAGS) \
20518           || exit 1
20519
20520 @endif guile
20521
20522 .PHONY: maybe-install-info-guile install-info-guile
20523 maybe-install-info-guile:
20524 @if guile
20525 maybe-install-info-guile: install-info-guile
20526
20527 install-info-guile: \
20528     configure-guile \
20529     info-guile 
20530         @[ -f ./guile/Makefile ] || exit 0; \
20531         r=`${PWD_COMMAND}`; export r; \
20532         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20533         $(SET_LIB_PATH) \
20534         for flag in $(EXTRA_HOST_FLAGS); do \
20535           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20536         done; \
20537         echo "Doing install-info in guile" ; \
20538         (cd guile && \
20539           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541                   "RANLIB=$${RANLIB}" \
20542                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20543                   install-info) \
20544           || exit 1
20545
20546 @endif guile
20547
20548 .PHONY: maybe-installcheck-guile installcheck-guile
20549 maybe-installcheck-guile:
20550 @if guile
20551 maybe-installcheck-guile: installcheck-guile
20552
20553 installcheck-guile: \
20554     configure-guile 
20555         @[ -f ./guile/Makefile ] || exit 0; \
20556         r=`${PWD_COMMAND}`; export r; \
20557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20558         $(SET_LIB_PATH) \
20559         for flag in $(EXTRA_HOST_FLAGS); do \
20560           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20561         done; \
20562         echo "Doing installcheck in guile" ; \
20563         (cd guile && \
20564           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20565                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20566                   "RANLIB=$${RANLIB}" \
20567                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20568                   installcheck) \
20569           || exit 1
20570
20571 @endif guile
20572
20573 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
20574 maybe-mostlyclean-guile:
20575 @if guile
20576 maybe-mostlyclean-guile: mostlyclean-guile
20577
20578 mostlyclean-guile: 
20579         @[ -f ./guile/Makefile ] || exit 0; \
20580         r=`${PWD_COMMAND}`; export r; \
20581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20582         $(SET_LIB_PATH) \
20583         for flag in $(EXTRA_HOST_FLAGS); do \
20584           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20585         done; \
20586         echo "Doing mostlyclean in guile" ; \
20587         (cd guile && \
20588           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20589                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20590                   "RANLIB=$${RANLIB}" \
20591                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20592                   mostlyclean) \
20593           || exit 1
20594
20595 @endif guile
20596
20597 .PHONY: maybe-clean-guile clean-guile
20598 maybe-clean-guile:
20599 @if guile
20600 maybe-clean-guile: clean-guile
20601
20602 clean-guile: 
20603         @[ -f ./guile/Makefile ] || exit 0; \
20604         r=`${PWD_COMMAND}`; export r; \
20605         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20606         $(SET_LIB_PATH) \
20607         for flag in $(EXTRA_HOST_FLAGS); do \
20608           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20609         done; \
20610         echo "Doing clean in guile" ; \
20611         (cd guile && \
20612           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20613                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20614                   "RANLIB=$${RANLIB}" \
20615                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20616                   clean) \
20617           || exit 1
20618
20619 @endif guile
20620
20621 .PHONY: maybe-distclean-guile distclean-guile
20622 maybe-distclean-guile:
20623 @if guile
20624 maybe-distclean-guile: distclean-guile
20625
20626 distclean-guile: 
20627         @[ -f ./guile/Makefile ] || exit 0; \
20628         r=`${PWD_COMMAND}`; export r; \
20629         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20630         $(SET_LIB_PATH) \
20631         for flag in $(EXTRA_HOST_FLAGS); do \
20632           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20633         done; \
20634         echo "Doing distclean in guile" ; \
20635         (cd guile && \
20636           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20637                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20638                   "RANLIB=$${RANLIB}" \
20639                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20640                   distclean) \
20641           || exit 1
20642
20643 @endif guile
20644
20645 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
20646 maybe-maintainer-clean-guile:
20647 @if guile
20648 maybe-maintainer-clean-guile: maintainer-clean-guile
20649
20650 maintainer-clean-guile: 
20651         @[ -f ./guile/Makefile ] || exit 0; \
20652         r=`${PWD_COMMAND}`; export r; \
20653         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654         $(SET_LIB_PATH) \
20655         for flag in $(EXTRA_HOST_FLAGS); do \
20656           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20657         done; \
20658         echo "Doing maintainer-clean in guile" ; \
20659         (cd guile && \
20660           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20661                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20662                   "RANLIB=$${RANLIB}" \
20663                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20664                   maintainer-clean) \
20665           || exit 1
20666
20667 @endif guile
20668
20669
20670 .PHONY: configure-tk maybe-configure-tk
20671 maybe-configure-tk:
20672 @if tk
20673 maybe-configure-tk: configure-tk
20674 configure-tk:
20675         @test ! -f tk/Makefile || exit 0; \
20676         [ -d tk ] || mkdir tk; \
20677         r=`${PWD_COMMAND}`; export r; \
20678         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679         CC="$(CC)"; export CC; \
20680         CFLAGS="$(CFLAGS)"; export CFLAGS; \
20681         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20682         CXX="$(CXX)"; export CXX; \
20683         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20684         AR="$(AR)"; export AR; \
20685         AS="$(AS)"; export AS; \
20686         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20687         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20688         LD="$(LD)"; export LD; \
20689         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20690         NM="$(NM)"; export NM; \
20691         RANLIB="$(RANLIB)"; export RANLIB; \
20692         WINDRES="$(WINDRES)"; export WINDRES; \
20693         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20694         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20695         echo Configuring in tk; \
20696         cd tk || exit 1; \
20697         case $(srcdir) in \
20698           \.) \
20699             srcdiroption="--srcdir=."; \
20700             libsrcdir=".";; \
20701           /* | [A-Za-z]:[\\/]*) \
20702             srcdiroption="--srcdir=$(srcdir)/tk"; \
20703             libsrcdir="$$s/tk";; \
20704           *) \
20705             srcdiroption="--srcdir=../$(srcdir)/tk"; \
20706             libsrcdir="$$s/tk";; \
20707         esac; \
20708         $(SHELL) $${libsrcdir}/configure \
20709           $(HOST_CONFIGARGS) $${srcdiroption} \
20710           || exit 1
20711 @endif tk
20712
20713 .PHONY: all-tk maybe-all-tk
20714 maybe-all-tk:
20715 @if tk
20716 maybe-all-tk: all-tk
20717 all-tk: configure-tk
20718         @r=`${PWD_COMMAND}`; export r; \
20719         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20720         $(SET_LIB_PATH) \
20721         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20722 @endif tk
20723
20724 .PHONY: check-tk maybe-check-tk
20725 maybe-check-tk:
20726 @if tk
20727 maybe-check-tk: check-tk
20728
20729 check-tk:
20730         @r=`${PWD_COMMAND}`; export r; \
20731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20732         $(SET_LIB_PATH) \
20733         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20734
20735 @endif tk
20736
20737 .PHONY: install-tk maybe-install-tk
20738 maybe-install-tk:
20739 @if tk
20740 maybe-install-tk: install-tk
20741
20742 install-tk: installdirs
20743         @r=`${PWD_COMMAND}`; export r; \
20744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20745         $(SET_LIB_PATH) \
20746         (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20747
20748 @endif tk
20749
20750 # Other targets (info, dvi, etc.)
20751
20752 .PHONY: maybe-info-tk info-tk
20753 maybe-info-tk:
20754 @if tk
20755 maybe-info-tk: info-tk
20756
20757 info-tk: \
20758     configure-tk 
20759         @[ -f ./tk/Makefile ] || exit 0; \
20760         r=`${PWD_COMMAND}`; export r; \
20761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20762         $(SET_LIB_PATH) \
20763         for flag in $(EXTRA_HOST_FLAGS); do \
20764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20765         done; \
20766         echo "Doing info in tk" ; \
20767         (cd tk && \
20768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20770                   "RANLIB=$${RANLIB}" \
20771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20772                   info) \
20773           || exit 1
20774
20775 @endif tk
20776
20777 .PHONY: maybe-dvi-tk dvi-tk
20778 maybe-dvi-tk:
20779 @if tk
20780 maybe-dvi-tk: dvi-tk
20781
20782 dvi-tk: \
20783     configure-tk 
20784         @[ -f ./tk/Makefile ] || exit 0; \
20785         r=`${PWD_COMMAND}`; export r; \
20786         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787         $(SET_LIB_PATH) \
20788         for flag in $(EXTRA_HOST_FLAGS); do \
20789           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20790         done; \
20791         echo "Doing dvi in tk" ; \
20792         (cd tk && \
20793           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20794                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20795                   "RANLIB=$${RANLIB}" \
20796                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20797                   dvi) \
20798           || exit 1
20799
20800 @endif tk
20801
20802 .PHONY: maybe-TAGS-tk TAGS-tk
20803 maybe-TAGS-tk:
20804 @if tk
20805 maybe-TAGS-tk: TAGS-tk
20806
20807 TAGS-tk: \
20808     configure-tk 
20809         @[ -f ./tk/Makefile ] || exit 0; \
20810         r=`${PWD_COMMAND}`; export r; \
20811         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20812         $(SET_LIB_PATH) \
20813         for flag in $(EXTRA_HOST_FLAGS); do \
20814           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20815         done; \
20816         echo "Doing TAGS in tk" ; \
20817         (cd tk && \
20818           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20819                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20820                   "RANLIB=$${RANLIB}" \
20821                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20822                   TAGS) \
20823           || exit 1
20824
20825 @endif tk
20826
20827 .PHONY: maybe-install-info-tk install-info-tk
20828 maybe-install-info-tk:
20829 @if tk
20830 maybe-install-info-tk: install-info-tk
20831
20832 install-info-tk: \
20833     configure-tk \
20834     info-tk 
20835         @[ -f ./tk/Makefile ] || exit 0; \
20836         r=`${PWD_COMMAND}`; export r; \
20837         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20838         $(SET_LIB_PATH) \
20839         for flag in $(EXTRA_HOST_FLAGS); do \
20840           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20841         done; \
20842         echo "Doing install-info in tk" ; \
20843         (cd tk && \
20844           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20845                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20846                   "RANLIB=$${RANLIB}" \
20847                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20848                   install-info) \
20849           || exit 1
20850
20851 @endif tk
20852
20853 .PHONY: maybe-installcheck-tk installcheck-tk
20854 maybe-installcheck-tk:
20855 @if tk
20856 maybe-installcheck-tk: installcheck-tk
20857
20858 installcheck-tk: \
20859     configure-tk 
20860         @[ -f ./tk/Makefile ] || exit 0; \
20861         r=`${PWD_COMMAND}`; export r; \
20862         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20863         $(SET_LIB_PATH) \
20864         for flag in $(EXTRA_HOST_FLAGS); do \
20865           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20866         done; \
20867         echo "Doing installcheck in tk" ; \
20868         (cd tk && \
20869           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20870                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20871                   "RANLIB=$${RANLIB}" \
20872                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20873                   installcheck) \
20874           || exit 1
20875
20876 @endif tk
20877
20878 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
20879 maybe-mostlyclean-tk:
20880 @if tk
20881 maybe-mostlyclean-tk: mostlyclean-tk
20882
20883 mostlyclean-tk: 
20884         @[ -f ./tk/Makefile ] || exit 0; \
20885         r=`${PWD_COMMAND}`; export r; \
20886         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887         $(SET_LIB_PATH) \
20888         for flag in $(EXTRA_HOST_FLAGS); do \
20889           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20890         done; \
20891         echo "Doing mostlyclean in tk" ; \
20892         (cd tk && \
20893           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20894                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20895                   "RANLIB=$${RANLIB}" \
20896                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20897                   mostlyclean) \
20898           || exit 1
20899
20900 @endif tk
20901
20902 .PHONY: maybe-clean-tk clean-tk
20903 maybe-clean-tk:
20904 @if tk
20905 maybe-clean-tk: clean-tk
20906
20907 clean-tk: 
20908         @[ -f ./tk/Makefile ] || exit 0; \
20909         r=`${PWD_COMMAND}`; export r; \
20910         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20911         $(SET_LIB_PATH) \
20912         for flag in $(EXTRA_HOST_FLAGS); do \
20913           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20914         done; \
20915         echo "Doing clean in tk" ; \
20916         (cd tk && \
20917           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20918                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20919                   "RANLIB=$${RANLIB}" \
20920                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20921                   clean) \
20922           || exit 1
20923
20924 @endif tk
20925
20926 .PHONY: maybe-distclean-tk distclean-tk
20927 maybe-distclean-tk:
20928 @if tk
20929 maybe-distclean-tk: distclean-tk
20930
20931 distclean-tk: 
20932         @[ -f ./tk/Makefile ] || exit 0; \
20933         r=`${PWD_COMMAND}`; export r; \
20934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20935         $(SET_LIB_PATH) \
20936         for flag in $(EXTRA_HOST_FLAGS); do \
20937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20938         done; \
20939         echo "Doing distclean in tk" ; \
20940         (cd tk && \
20941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20943                   "RANLIB=$${RANLIB}" \
20944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20945                   distclean) \
20946           || exit 1
20947
20948 @endif tk
20949
20950 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
20951 maybe-maintainer-clean-tk:
20952 @if tk
20953 maybe-maintainer-clean-tk: maintainer-clean-tk
20954
20955 maintainer-clean-tk: 
20956         @[ -f ./tk/Makefile ] || exit 0; \
20957         r=`${PWD_COMMAND}`; export r; \
20958         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20959         $(SET_LIB_PATH) \
20960         for flag in $(EXTRA_HOST_FLAGS); do \
20961           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20962         done; \
20963         echo "Doing maintainer-clean in tk" ; \
20964         (cd tk && \
20965           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20966                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20967                   "RANLIB=$${RANLIB}" \
20968                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20969                   maintainer-clean) \
20970           || exit 1
20971
20972 @endif tk
20973
20974
20975 .PHONY: configure-tix maybe-configure-tix
20976 maybe-configure-tix:
20977 @if tix
20978 maybe-configure-tix: configure-tix
20979 configure-tix:
20980         @test ! -f tix/Makefile || exit 0; \
20981         [ -d tix ] || mkdir tix; \
20982         r=`${PWD_COMMAND}`; export r; \
20983         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984         CC="$(CC)"; export CC; \
20985         CFLAGS="$(CFLAGS)"; export CFLAGS; \
20986         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20987         CXX="$(CXX)"; export CXX; \
20988         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20989         AR="$(AR)"; export AR; \
20990         AS="$(AS)"; export AS; \
20991         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20992         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20993         LD="$(LD)"; export LD; \
20994         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20995         NM="$(NM)"; export NM; \
20996         RANLIB="$(RANLIB)"; export RANLIB; \
20997         WINDRES="$(WINDRES)"; export WINDRES; \
20998         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20999         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21000         echo Configuring in tix; \
21001         cd tix || exit 1; \
21002         case $(srcdir) in \
21003           \.) \
21004             srcdiroption="--srcdir=."; \
21005             libsrcdir=".";; \
21006           /* | [A-Za-z]:[\\/]*) \
21007             srcdiroption="--srcdir=$(srcdir)/tix"; \
21008             libsrcdir="$$s/tix";; \
21009           *) \
21010             srcdiroption="--srcdir=../$(srcdir)/tix"; \
21011             libsrcdir="$$s/tix";; \
21012         esac; \
21013         $(SHELL) $${libsrcdir}/configure \
21014           $(HOST_CONFIGARGS) $${srcdiroption} \
21015           || exit 1
21016 @endif tix
21017
21018 .PHONY: all-tix maybe-all-tix
21019 maybe-all-tix:
21020 @if tix
21021 maybe-all-tix: all-tix
21022 all-tix: configure-tix
21023         @r=`${PWD_COMMAND}`; export r; \
21024         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21025         $(SET_LIB_PATH) \
21026         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21027 @endif tix
21028
21029 .PHONY: check-tix maybe-check-tix
21030 maybe-check-tix:
21031 @if tix
21032 maybe-check-tix: check-tix
21033
21034 check-tix:
21035         @r=`${PWD_COMMAND}`; export r; \
21036         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21037         $(SET_LIB_PATH) \
21038         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21039
21040 @endif tix
21041
21042 .PHONY: install-tix maybe-install-tix
21043 maybe-install-tix:
21044 @if tix
21045 maybe-install-tix: install-tix
21046
21047 install-tix: installdirs
21048         @r=`${PWD_COMMAND}`; export r; \
21049         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21050         $(SET_LIB_PATH) \
21051         (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21052
21053 @endif tix
21054
21055 # Other targets (info, dvi, etc.)
21056
21057 .PHONY: maybe-info-tix info-tix
21058 maybe-info-tix:
21059 @if tix
21060 maybe-info-tix: info-tix
21061
21062 info-tix: \
21063     configure-tix 
21064         @[ -f ./tix/Makefile ] || exit 0; \
21065         r=`${PWD_COMMAND}`; export r; \
21066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21067         $(SET_LIB_PATH) \
21068         for flag in $(EXTRA_HOST_FLAGS); do \
21069           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21070         done; \
21071         echo "Doing info in tix" ; \
21072         (cd tix && \
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                   info) \
21078           || exit 1
21079
21080 @endif tix
21081
21082 .PHONY: maybe-dvi-tix dvi-tix
21083 maybe-dvi-tix:
21084 @if tix
21085 maybe-dvi-tix: dvi-tix
21086
21087 dvi-tix: \
21088     configure-tix 
21089         @[ -f ./tix/Makefile ] || exit 0; \
21090         r=`${PWD_COMMAND}`; export r; \
21091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21092         $(SET_LIB_PATH) \
21093         for flag in $(EXTRA_HOST_FLAGS); do \
21094           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21095         done; \
21096         echo "Doing dvi in tix" ; \
21097         (cd tix && \
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                   dvi) \
21103           || exit 1
21104
21105 @endif tix
21106
21107 .PHONY: maybe-TAGS-tix TAGS-tix
21108 maybe-TAGS-tix:
21109 @if tix
21110 maybe-TAGS-tix: TAGS-tix
21111
21112 TAGS-tix: \
21113     configure-tix 
21114         @[ -f ./tix/Makefile ] || exit 0; \
21115         r=`${PWD_COMMAND}`; export r; \
21116         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117         $(SET_LIB_PATH) \
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 tix" ; \
21122         (cd tix && \
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 tix
21131
21132 .PHONY: maybe-install-info-tix install-info-tix
21133 maybe-install-info-tix:
21134 @if tix
21135 maybe-install-info-tix: install-info-tix
21136
21137 install-info-tix: \
21138     configure-tix \
21139     info-tix 
21140         @[ -f ./tix/Makefile ] || exit 0; \
21141         r=`${PWD_COMMAND}`; export r; \
21142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143         $(SET_LIB_PATH) \
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 tix" ; \
21148         (cd tix && \
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 tix
21157
21158 .PHONY: maybe-installcheck-tix installcheck-tix
21159 maybe-installcheck-tix:
21160 @if tix
21161 maybe-installcheck-tix: installcheck-tix
21162
21163 installcheck-tix: \
21164     configure-tix 
21165         @[ -f ./tix/Makefile ] || exit 0; \
21166         r=`${PWD_COMMAND}`; export r; \
21167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168         $(SET_LIB_PATH) \
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 tix" ; \
21173         (cd tix && \
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 tix
21182
21183 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
21184 maybe-mostlyclean-tix:
21185 @if tix
21186 maybe-mostlyclean-tix: mostlyclean-tix
21187
21188 mostlyclean-tix: 
21189         @[ -f ./tix/Makefile ] || exit 0; \
21190         r=`${PWD_COMMAND}`; export r; \
21191         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192         $(SET_LIB_PATH) \
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 tix" ; \
21197         (cd tix && \
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 tix
21206
21207 .PHONY: maybe-clean-tix clean-tix
21208 maybe-clean-tix:
21209 @if tix
21210 maybe-clean-tix: clean-tix
21211
21212 clean-tix: 
21213         @[ -f ./tix/Makefile ] || exit 0; \
21214         r=`${PWD_COMMAND}`; export r; \
21215         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21216         $(SET_LIB_PATH) \
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 tix" ; \
21221         (cd tix && \
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 tix
21230
21231 .PHONY: maybe-distclean-tix distclean-tix
21232 maybe-distclean-tix:
21233 @if tix
21234 maybe-distclean-tix: distclean-tix
21235
21236 distclean-tix: 
21237         @[ -f ./tix/Makefile ] || exit 0; \
21238         r=`${PWD_COMMAND}`; export r; \
21239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21240         $(SET_LIB_PATH) \
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 tix" ; \
21245         (cd tix && \
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 tix
21254
21255 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
21256 maybe-maintainer-clean-tix:
21257 @if tix
21258 maybe-maintainer-clean-tix: maintainer-clean-tix
21259
21260 maintainer-clean-tix: 
21261         @[ -f ./tix/Makefile ] || exit 0; \
21262         r=`${PWD_COMMAND}`; export r; \
21263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264         $(SET_LIB_PATH) \
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 tix" ; \
21269         (cd tix && \
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 tix
21278
21279
21280 .PHONY: configure-libtermcap maybe-configure-libtermcap
21281 maybe-configure-libtermcap:
21282 @if libtermcap
21283 maybe-configure-libtermcap: configure-libtermcap
21284 configure-libtermcap:
21285         @test ! -f libtermcap/Makefile || exit 0; \
21286         [ -d libtermcap ] || mkdir libtermcap; \
21287         r=`${PWD_COMMAND}`; export r; \
21288         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21289         CC="$(CC)"; export CC; \
21290         CFLAGS="$(CFLAGS)"; export CFLAGS; \
21291         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21292         CXX="$(CXX)"; export CXX; \
21293         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21294         AR="$(AR)"; export AR; \
21295         AS="$(AS)"; export AS; \
21296         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21297         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21298         LD="$(LD)"; export LD; \
21299         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
21300         NM="$(NM)"; export NM; \
21301         RANLIB="$(RANLIB)"; export RANLIB; \
21302         WINDRES="$(WINDRES)"; export WINDRES; \
21303         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21304         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21305         echo Configuring in libtermcap; \
21306         cd libtermcap || exit 1; \
21307         case $(srcdir) in \
21308           \.) \
21309             srcdiroption="--srcdir=."; \
21310             libsrcdir=".";; \
21311           /* | [A-Za-z]:[\\/]*) \
21312             srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21313             libsrcdir="$$s/libtermcap";; \
21314           *) \
21315             srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21316             libsrcdir="$$s/libtermcap";; \
21317         esac; \
21318         $(SHELL) $${libsrcdir}/configure \
21319           $(HOST_CONFIGARGS) $${srcdiroption} \
21320           || exit 1
21321 @endif libtermcap
21322
21323 .PHONY: all-libtermcap maybe-all-libtermcap
21324 maybe-all-libtermcap:
21325 @if libtermcap
21326 maybe-all-libtermcap: all-libtermcap
21327 all-libtermcap: configure-libtermcap
21328         @r=`${PWD_COMMAND}`; export r; \
21329         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21330         $(SET_LIB_PATH) \
21331         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21332 @endif libtermcap
21333
21334 .PHONY: check-libtermcap maybe-check-libtermcap
21335 maybe-check-libtermcap:
21336 @if libtermcap
21337 maybe-check-libtermcap: check-libtermcap
21338
21339 check-libtermcap:
21340
21341 @endif libtermcap
21342
21343 .PHONY: install-libtermcap maybe-install-libtermcap
21344 maybe-install-libtermcap:
21345 @if libtermcap
21346 maybe-install-libtermcap: install-libtermcap
21347
21348 install-libtermcap: installdirs
21349         @r=`${PWD_COMMAND}`; export r; \
21350         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21351         $(SET_LIB_PATH) \
21352         (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21353
21354 @endif libtermcap
21355
21356 # Other targets (info, dvi, etc.)
21357
21358 .PHONY: maybe-info-libtermcap info-libtermcap
21359 maybe-info-libtermcap:
21360 @if libtermcap
21361 maybe-info-libtermcap: info-libtermcap
21362
21363 info-libtermcap: \
21364     configure-libtermcap 
21365         @[ -f ./libtermcap/Makefile ] || exit 0; \
21366         r=`${PWD_COMMAND}`; export r; \
21367         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368         $(SET_LIB_PATH) \
21369         for flag in $(EXTRA_HOST_FLAGS); do \
21370           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21371         done; \
21372         echo "Doing info in libtermcap" ; \
21373         (cd libtermcap && \
21374           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21375                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21376                   "RANLIB=$${RANLIB}" \
21377                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21378                   info) \
21379           || exit 1
21380
21381 @endif libtermcap
21382
21383 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21384 maybe-dvi-libtermcap:
21385 @if libtermcap
21386 maybe-dvi-libtermcap: dvi-libtermcap
21387
21388 dvi-libtermcap: \
21389     configure-libtermcap 
21390         @[ -f ./libtermcap/Makefile ] || exit 0; \
21391         r=`${PWD_COMMAND}`; export r; \
21392         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393         $(SET_LIB_PATH) \
21394         for flag in $(EXTRA_HOST_FLAGS); do \
21395           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21396         done; \
21397         echo "Doing dvi in libtermcap" ; \
21398         (cd libtermcap && \
21399           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21400                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21401                   "RANLIB=$${RANLIB}" \
21402                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21403                   dvi) \
21404           || exit 1
21405
21406 @endif libtermcap
21407
21408 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21409 maybe-TAGS-libtermcap:
21410 @if libtermcap
21411 maybe-TAGS-libtermcap: TAGS-libtermcap
21412
21413 TAGS-libtermcap: \
21414     configure-libtermcap 
21415         @[ -f ./libtermcap/Makefile ] || exit 0; \
21416         r=`${PWD_COMMAND}`; export r; \
21417         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21418         $(SET_LIB_PATH) \
21419         for flag in $(EXTRA_HOST_FLAGS); do \
21420           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21421         done; \
21422         echo "Doing TAGS in libtermcap" ; \
21423         (cd libtermcap && \
21424           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21425                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21426                   "RANLIB=$${RANLIB}" \
21427                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21428                   TAGS) \
21429           || exit 1
21430
21431 @endif libtermcap
21432
21433 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21434 maybe-install-info-libtermcap:
21435 @if libtermcap
21436 maybe-install-info-libtermcap: install-info-libtermcap
21437
21438 install-info-libtermcap: \
21439     configure-libtermcap \
21440     info-libtermcap 
21441         @[ -f ./libtermcap/Makefile ] || exit 0; \
21442         r=`${PWD_COMMAND}`; export r; \
21443         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21444         $(SET_LIB_PATH) \
21445         for flag in $(EXTRA_HOST_FLAGS); do \
21446           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21447         done; \
21448         echo "Doing install-info in libtermcap" ; \
21449         (cd libtermcap && \
21450           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21451                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21452                   "RANLIB=$${RANLIB}" \
21453                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21454                   install-info) \
21455           || exit 1
21456
21457 @endif libtermcap
21458
21459 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21460 maybe-installcheck-libtermcap:
21461 @if libtermcap
21462 maybe-installcheck-libtermcap: installcheck-libtermcap
21463
21464 installcheck-libtermcap: \
21465     configure-libtermcap 
21466         @[ -f ./libtermcap/Makefile ] || exit 0; \
21467         r=`${PWD_COMMAND}`; export r; \
21468         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21469         $(SET_LIB_PATH) \
21470         for flag in $(EXTRA_HOST_FLAGS); do \
21471           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21472         done; \
21473         echo "Doing installcheck in libtermcap" ; \
21474         (cd libtermcap && \
21475           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21476                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21477                   "RANLIB=$${RANLIB}" \
21478                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21479                   installcheck) \
21480           || exit 1
21481
21482 @endif libtermcap
21483
21484 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21485 maybe-mostlyclean-libtermcap:
21486 @if libtermcap
21487 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21488
21489 # libtermcap doesn't support mostlyclean.
21490 mostlyclean-libtermcap:
21491
21492 @endif libtermcap
21493
21494 .PHONY: maybe-clean-libtermcap clean-libtermcap
21495 maybe-clean-libtermcap:
21496 @if libtermcap
21497 maybe-clean-libtermcap: clean-libtermcap
21498
21499 # libtermcap doesn't support clean.
21500 clean-libtermcap:
21501
21502 @endif libtermcap
21503
21504 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21505 maybe-distclean-libtermcap:
21506 @if libtermcap
21507 maybe-distclean-libtermcap: distclean-libtermcap
21508
21509 # libtermcap doesn't support distclean.
21510 distclean-libtermcap:
21511
21512 @endif libtermcap
21513
21514 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21515 maybe-maintainer-clean-libtermcap:
21516 @if libtermcap
21517 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21518
21519 # libtermcap doesn't support maintainer-clean.
21520 maintainer-clean-libtermcap:
21521
21522 @endif libtermcap
21523
21524
21525 .PHONY: configure-utils maybe-configure-utils
21526 maybe-configure-utils:
21527 @if utils
21528 maybe-configure-utils: configure-utils
21529 configure-utils:
21530         @test ! -f utils/Makefile || exit 0; \
21531         [ -d utils ] || mkdir utils; \
21532         r=`${PWD_COMMAND}`; export r; \
21533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21534         CC="$(CC)"; export CC; \
21535         CFLAGS="$(CFLAGS)"; export CFLAGS; \
21536         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21537         CXX="$(CXX)"; export CXX; \
21538         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21539         AR="$(AR)"; export AR; \
21540         AS="$(AS)"; export AS; \
21541         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21542         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21543         LD="$(LD)"; export LD; \
21544         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
21545         NM="$(NM)"; export NM; \
21546         RANLIB="$(RANLIB)"; export RANLIB; \
21547         WINDRES="$(WINDRES)"; export WINDRES; \
21548         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21549         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21550         echo Configuring in utils; \
21551         cd utils || exit 1; \
21552         case $(srcdir) in \
21553           \.) \
21554             srcdiroption="--srcdir=."; \
21555             libsrcdir=".";; \
21556           /* | [A-Za-z]:[\\/]*) \
21557             srcdiroption="--srcdir=$(srcdir)/utils"; \
21558             libsrcdir="$$s/utils";; \
21559           *) \
21560             srcdiroption="--srcdir=../$(srcdir)/utils"; \
21561             libsrcdir="$$s/utils";; \
21562         esac; \
21563         $(SHELL) $${libsrcdir}/configure \
21564           $(HOST_CONFIGARGS) $${srcdiroption} \
21565           || exit 1
21566 @endif utils
21567
21568 .PHONY: all-utils maybe-all-utils
21569 maybe-all-utils:
21570 @if utils
21571 maybe-all-utils: all-utils
21572 all-utils: configure-utils
21573         @r=`${PWD_COMMAND}`; export r; \
21574         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21575         $(SET_LIB_PATH) \
21576         (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21577 @endif utils
21578
21579 .PHONY: check-utils maybe-check-utils
21580 maybe-check-utils:
21581 @if utils
21582 maybe-check-utils: check-utils
21583
21584 check-utils:
21585
21586 @endif utils
21587
21588 .PHONY: install-utils maybe-install-utils
21589 maybe-install-utils:
21590 @if utils
21591 maybe-install-utils: install-utils
21592
21593 install-utils: installdirs
21594         @r=`${PWD_COMMAND}`; export r; \
21595         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21596         $(SET_LIB_PATH) \
21597         (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21598
21599 @endif utils
21600
21601 # Other targets (info, dvi, etc.)
21602
21603 .PHONY: maybe-info-utils info-utils
21604 maybe-info-utils:
21605 @if utils
21606 maybe-info-utils: info-utils
21607
21608 info-utils: \
21609     configure-utils 
21610         @[ -f ./utils/Makefile ] || exit 0; \
21611         r=`${PWD_COMMAND}`; export r; \
21612         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21613         $(SET_LIB_PATH) \
21614         for flag in $(EXTRA_HOST_FLAGS); do \
21615           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21616         done; \
21617         echo "Doing info in utils" ; \
21618         (cd utils && \
21619           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21620                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21621                   "RANLIB=$${RANLIB}" \
21622                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21623                   info) \
21624           || exit 1
21625
21626 @endif utils
21627
21628 .PHONY: maybe-dvi-utils dvi-utils
21629 maybe-dvi-utils:
21630 @if utils
21631 maybe-dvi-utils: dvi-utils
21632
21633 dvi-utils: \
21634     configure-utils 
21635         @[ -f ./utils/Makefile ] || exit 0; \
21636         r=`${PWD_COMMAND}`; export r; \
21637         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21638         $(SET_LIB_PATH) \
21639         for flag in $(EXTRA_HOST_FLAGS); do \
21640           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21641         done; \
21642         echo "Doing dvi in utils" ; \
21643         (cd utils && \
21644           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21645                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21646                   "RANLIB=$${RANLIB}" \
21647                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21648                   dvi) \
21649           || exit 1
21650
21651 @endif utils
21652
21653 .PHONY: maybe-TAGS-utils TAGS-utils
21654 maybe-TAGS-utils:
21655 @if utils
21656 maybe-TAGS-utils: TAGS-utils
21657
21658 TAGS-utils: \
21659     configure-utils 
21660         @[ -f ./utils/Makefile ] || exit 0; \
21661         r=`${PWD_COMMAND}`; export r; \
21662         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21663         $(SET_LIB_PATH) \
21664         for flag in $(EXTRA_HOST_FLAGS); do \
21665           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21666         done; \
21667         echo "Doing TAGS in utils" ; \
21668         (cd utils && \
21669           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21670                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21671                   "RANLIB=$${RANLIB}" \
21672                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21673                   TAGS) \
21674           || exit 1
21675
21676 @endif utils
21677
21678 .PHONY: maybe-install-info-utils install-info-utils
21679 maybe-install-info-utils:
21680 @if utils
21681 maybe-install-info-utils: install-info-utils
21682
21683 install-info-utils: \
21684     configure-utils \
21685     info-utils 
21686         @[ -f ./utils/Makefile ] || exit 0; \
21687         r=`${PWD_COMMAND}`; export r; \
21688         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21689         $(SET_LIB_PATH) \
21690         for flag in $(EXTRA_HOST_FLAGS); do \
21691           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21692         done; \
21693         echo "Doing install-info in utils" ; \
21694         (cd utils && \
21695           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21696                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21697                   "RANLIB=$${RANLIB}" \
21698                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21699                   install-info) \
21700           || exit 1
21701
21702 @endif utils
21703
21704 .PHONY: maybe-installcheck-utils installcheck-utils
21705 maybe-installcheck-utils:
21706 @if utils
21707 maybe-installcheck-utils: installcheck-utils
21708
21709 installcheck-utils: \
21710     configure-utils 
21711         @[ -f ./utils/Makefile ] || exit 0; \
21712         r=`${PWD_COMMAND}`; export r; \
21713         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21714         $(SET_LIB_PATH) \
21715         for flag in $(EXTRA_HOST_FLAGS); do \
21716           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21717         done; \
21718         echo "Doing installcheck in utils" ; \
21719         (cd utils && \
21720           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21721                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21722                   "RANLIB=$${RANLIB}" \
21723                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21724                   installcheck) \
21725           || exit 1
21726
21727 @endif utils
21728
21729 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21730 maybe-mostlyclean-utils:
21731 @if utils
21732 maybe-mostlyclean-utils: mostlyclean-utils
21733
21734 mostlyclean-utils: 
21735         @[ -f ./utils/Makefile ] || exit 0; \
21736         r=`${PWD_COMMAND}`; export r; \
21737         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21738         $(SET_LIB_PATH) \
21739         for flag in $(EXTRA_HOST_FLAGS); do \
21740           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21741         done; \
21742         echo "Doing mostlyclean in utils" ; \
21743         (cd utils && \
21744           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21745                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21746                   "RANLIB=$${RANLIB}" \
21747                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21748                   mostlyclean) \
21749           || exit 1
21750
21751 @endif utils
21752
21753 .PHONY: maybe-clean-utils clean-utils
21754 maybe-clean-utils:
21755 @if utils
21756 maybe-clean-utils: clean-utils
21757
21758 clean-utils: 
21759         @[ -f ./utils/Makefile ] || exit 0; \
21760         r=`${PWD_COMMAND}`; export r; \
21761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21762         $(SET_LIB_PATH) \
21763         for flag in $(EXTRA_HOST_FLAGS); do \
21764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21765         done; \
21766         echo "Doing clean in utils" ; \
21767         (cd utils && \
21768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21770                   "RANLIB=$${RANLIB}" \
21771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21772                   clean) \
21773           || exit 1
21774
21775 @endif utils
21776
21777 .PHONY: maybe-distclean-utils distclean-utils
21778 maybe-distclean-utils:
21779 @if utils
21780 maybe-distclean-utils: distclean-utils
21781
21782 distclean-utils: 
21783         @[ -f ./utils/Makefile ] || exit 0; \
21784         r=`${PWD_COMMAND}`; export r; \
21785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786         $(SET_LIB_PATH) \
21787         for flag in $(EXTRA_HOST_FLAGS); do \
21788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21789         done; \
21790         echo "Doing distclean in utils" ; \
21791         (cd utils && \
21792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21794                   "RANLIB=$${RANLIB}" \
21795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21796                   distclean) \
21797           || exit 1
21798
21799 @endif utils
21800
21801 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
21802 maybe-maintainer-clean-utils:
21803 @if utils
21804 maybe-maintainer-clean-utils: maintainer-clean-utils
21805
21806 maintainer-clean-utils: 
21807         @[ -f ./utils/Makefile ] || exit 0; \
21808         r=`${PWD_COMMAND}`; export r; \
21809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21810         $(SET_LIB_PATH) \
21811         for flag in $(EXTRA_HOST_FLAGS); do \
21812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21813         done; \
21814         echo "Doing maintainer-clean in utils" ; \
21815         (cd utils && \
21816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21818                   "RANLIB=$${RANLIB}" \
21819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21820                   maintainer-clean) \
21821           || exit 1
21822
21823 @endif utils
21824
21825
21826
21827 # ---------------------------------------
21828 # Modules which run on the target machine
21829 # ---------------------------------------
21830
21831 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21832 maybe-configure-target-libstdc++-v3:
21833 @if target-libstdc++-v3
21834 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
21835
21836 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
21837 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
21838         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
21839         rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
21840         cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21841
21842 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21843         @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
21844         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
21845         r=`${PWD_COMMAND}`; export r; \
21846         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21847         $(SET_LIB_PATH) \
21848         AR="$(AR_FOR_TARGET)"; export AR; \
21849         AS="$(AS_FOR_TARGET)"; export AS; \
21850         CC="$(CC_FOR_TARGET)"; export CC; \
21851         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21852         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21853         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21854         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21855         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21856         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21857         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21858         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21859         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21860         LD="$(LD_FOR_TARGET)"; export LD; \
21861         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21862         NM="$(NM_FOR_TARGET)"; export NM; \
21863         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21864         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21865         echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
21866         cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
21867         case $(srcdir) in \
21868           /* | [A-Za-z]:[\\/]*) \
21869             topdir=$(srcdir) ;; \
21870           *) \
21871             case "$(TARGET_SUBDIR)" in \
21872               .) topdir="../$(srcdir)" ;; \
21873               *) topdir="../../$(srcdir)" ;; \
21874             esac ;; \
21875         esac; \
21876           srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
21877           libsrcdir="$$s/libstdc++-v3"; \
21878         rm -f no-such-file || : ; \
21879         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21880           $(TARGET_CONFIGARGS) $${srcdiroption} \
21881           --with-target-subdir="$(TARGET_SUBDIR)" \
21882           || exit 1
21883 @endif target-libstdc++-v3
21884
21885 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
21886 maybe-all-target-libstdc++-v3:
21887 @if target-libstdc++-v3
21888 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
21889 all-target-libstdc++-v3: configure-target-libstdc++-v3
21890         @r=`${PWD_COMMAND}`; export r; \
21891         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21892         $(SET_LIB_PATH) \
21893         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21894           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  all)
21895 @endif target-libstdc++-v3
21896
21897 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
21898 maybe-check-target-libstdc++-v3:
21899 @if target-libstdc++-v3
21900 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
21901
21902 check-target-libstdc++-v3:
21903         @r=`${PWD_COMMAND}`; export r; \
21904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905         $(SET_LIB_PATH) \
21906         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21907           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  check)
21908
21909 @endif target-libstdc++-v3
21910
21911 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
21912 maybe-install-target-libstdc++-v3:
21913 @if target-libstdc++-v3
21914 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
21915
21916 install-target-libstdc++-v3: installdirs
21917         @r=`${PWD_COMMAND}`; export r; \
21918         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21919         $(SET_LIB_PATH) \
21920         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21921           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21922
21923 @endif target-libstdc++-v3
21924
21925 # Other targets (info, dvi, etc.)
21926
21927 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
21928 maybe-info-target-libstdc++-v3:
21929 @if target-libstdc++-v3
21930 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
21931
21932 info-target-libstdc++-v3: \
21933     configure-target-libstdc++-v3 
21934         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
21935         r=`${PWD_COMMAND}`; export r; \
21936         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21937         $(SET_LIB_PATH) \
21938         echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
21939         for flag in $(EXTRA_TARGET_FLAGS); do \
21940           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21941         done; \
21942         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21943           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21944                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21945                   "RANLIB=$${RANLIB}" \
21946                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21947                   info) \
21948           || exit 1
21949
21950 @endif target-libstdc++-v3
21951
21952 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
21953 maybe-dvi-target-libstdc++-v3:
21954 @if target-libstdc++-v3
21955 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
21956
21957 dvi-target-libstdc++-v3: \
21958     configure-target-libstdc++-v3 
21959         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
21960         r=`${PWD_COMMAND}`; export r; \
21961         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21962         $(SET_LIB_PATH) \
21963         echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
21964         for flag in $(EXTRA_TARGET_FLAGS); do \
21965           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21966         done; \
21967         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21968           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21969                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21970                   "RANLIB=$${RANLIB}" \
21971                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21972                   dvi) \
21973           || exit 1
21974
21975 @endif target-libstdc++-v3
21976
21977 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
21978 maybe-TAGS-target-libstdc++-v3:
21979 @if target-libstdc++-v3
21980 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
21981
21982 TAGS-target-libstdc++-v3: \
21983     configure-target-libstdc++-v3 
21984         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
21985         r=`${PWD_COMMAND}`; export r; \
21986         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21987         $(SET_LIB_PATH) \
21988         echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
21989         for flag in $(EXTRA_TARGET_FLAGS); do \
21990           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21991         done; \
21992         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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                   TAGS) \
21998           || exit 1
21999
22000 @endif target-libstdc++-v3
22001
22002 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22003 maybe-install-info-target-libstdc++-v3:
22004 @if target-libstdc++-v3
22005 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22006
22007 install-info-target-libstdc++-v3: \
22008     configure-target-libstdc++-v3 \
22009     info-target-libstdc++-v3 
22010         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22011         r=`${PWD_COMMAND}`; export r; \
22012         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22013         $(SET_LIB_PATH) \
22014         echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22015         for flag in $(EXTRA_TARGET_FLAGS); do \
22016           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22017         done; \
22018         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22019           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22020                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22021                   "RANLIB=$${RANLIB}" \
22022                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22023                   install-info) \
22024           || exit 1
22025
22026 @endif target-libstdc++-v3
22027
22028 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22029 maybe-installcheck-target-libstdc++-v3:
22030 @if target-libstdc++-v3
22031 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22032
22033 installcheck-target-libstdc++-v3: \
22034     configure-target-libstdc++-v3 
22035         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22036         r=`${PWD_COMMAND}`; export r; \
22037         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038         $(SET_LIB_PATH) \
22039         echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22040         for flag in $(EXTRA_TARGET_FLAGS); do \
22041           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22042         done; \
22043         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22044           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22045                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22046                   "RANLIB=$${RANLIB}" \
22047                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22048                   installcheck) \
22049           || exit 1
22050
22051 @endif target-libstdc++-v3
22052
22053 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22054 maybe-mostlyclean-target-libstdc++-v3:
22055 @if target-libstdc++-v3
22056 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22057
22058 mostlyclean-target-libstdc++-v3: 
22059         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22060         r=`${PWD_COMMAND}`; export r; \
22061         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22062         $(SET_LIB_PATH) \
22063         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22064         for flag in $(EXTRA_TARGET_FLAGS); do \
22065           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22066         done; \
22067         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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                   mostlyclean) \
22073           || exit 1
22074
22075 @endif target-libstdc++-v3
22076
22077 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22078 maybe-clean-target-libstdc++-v3:
22079 @if target-libstdc++-v3
22080 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22081
22082 clean-target-libstdc++-v3: 
22083         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22084         r=`${PWD_COMMAND}`; export r; \
22085         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22086         $(SET_LIB_PATH) \
22087         echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22088         for flag in $(EXTRA_TARGET_FLAGS); do \
22089           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22090         done; \
22091         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22092           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22093                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22094                   "RANLIB=$${RANLIB}" \
22095                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22096                   clean) \
22097           || exit 1
22098
22099 @endif target-libstdc++-v3
22100
22101 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22102 maybe-distclean-target-libstdc++-v3:
22103 @if target-libstdc++-v3
22104 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22105
22106 distclean-target-libstdc++-v3: 
22107         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22108         r=`${PWD_COMMAND}`; export r; \
22109         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22110         $(SET_LIB_PATH) \
22111         echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22112         for flag in $(EXTRA_TARGET_FLAGS); do \
22113           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22114         done; \
22115         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22116           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22117                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22118                   "RANLIB=$${RANLIB}" \
22119                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22120                   distclean) \
22121           || exit 1
22122
22123 @endif target-libstdc++-v3
22124
22125 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22126 maybe-maintainer-clean-target-libstdc++-v3:
22127 @if target-libstdc++-v3
22128 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22129
22130 maintainer-clean-target-libstdc++-v3: 
22131         @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22132         r=`${PWD_COMMAND}`; export r; \
22133         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22134         $(SET_LIB_PATH) \
22135         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22136         for flag in $(EXTRA_TARGET_FLAGS); do \
22137           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22138         done; \
22139         (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22140           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22141                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22142                   "RANLIB=$${RANLIB}" \
22143                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22144                   maintainer-clean) \
22145           || exit 1
22146
22147 @endif target-libstdc++-v3
22148
22149
22150 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22151 maybe-configure-target-libmudflap:
22152 @if target-libmudflap
22153 maybe-configure-target-libmudflap: configure-target-libmudflap
22154
22155 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22156 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22157         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22158         rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22159         cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22160
22161 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22162         @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22163         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22164         r=`${PWD_COMMAND}`; export r; \
22165         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166         $(SET_LIB_PATH) \
22167         AR="$(AR_FOR_TARGET)"; export AR; \
22168         AS="$(AS_FOR_TARGET)"; export AS; \
22169         CC="$(CC_FOR_TARGET)"; export CC; \
22170         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22171         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22172         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22173         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22174         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22175         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22176         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22177         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22178         LD="$(LD_FOR_TARGET)"; export LD; \
22179         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22180         NM="$(NM_FOR_TARGET)"; export NM; \
22181         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22182         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22183         echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22184         cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22185         case $(srcdir) in \
22186           /* | [A-Za-z]:[\\/]*) \
22187             topdir=$(srcdir) ;; \
22188           *) \
22189             case "$(TARGET_SUBDIR)" in \
22190               .) topdir="../$(srcdir)" ;; \
22191               *) topdir="../../$(srcdir)" ;; \
22192             esac ;; \
22193         esac; \
22194           srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22195           libsrcdir="$$s/libmudflap"; \
22196         rm -f no-such-file || : ; \
22197         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22198           $(TARGET_CONFIGARGS) $${srcdiroption} \
22199           --with-target-subdir="$(TARGET_SUBDIR)" \
22200           || exit 1
22201 @endif target-libmudflap
22202
22203 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22204 maybe-all-target-libmudflap:
22205 @if target-libmudflap
22206 maybe-all-target-libmudflap: all-target-libmudflap
22207 all-target-libmudflap: configure-target-libmudflap
22208         @r=`${PWD_COMMAND}`; export r; \
22209         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22210         $(SET_LIB_PATH) \
22211         (cd $(TARGET_SUBDIR)/libmudflap && \
22212           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22213 @endif target-libmudflap
22214
22215 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22216 maybe-check-target-libmudflap:
22217 @if target-libmudflap
22218 maybe-check-target-libmudflap: check-target-libmudflap
22219
22220 check-target-libmudflap:
22221         @r=`${PWD_COMMAND}`; export r; \
22222         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22223         $(SET_LIB_PATH) \
22224         (cd $(TARGET_SUBDIR)/libmudflap && \
22225           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22226
22227 @endif target-libmudflap
22228
22229 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22230 maybe-install-target-libmudflap:
22231 @if target-libmudflap
22232 maybe-install-target-libmudflap: install-target-libmudflap
22233
22234 install-target-libmudflap: installdirs
22235         @r=`${PWD_COMMAND}`; export r; \
22236         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22237         $(SET_LIB_PATH) \
22238         (cd $(TARGET_SUBDIR)/libmudflap && \
22239           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22240
22241 @endif target-libmudflap
22242
22243 # Other targets (info, dvi, etc.)
22244
22245 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22246 maybe-info-target-libmudflap:
22247 @if target-libmudflap
22248 maybe-info-target-libmudflap: info-target-libmudflap
22249
22250 info-target-libmudflap: \
22251     configure-target-libmudflap 
22252         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22253         r=`${PWD_COMMAND}`; export r; \
22254         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22255         $(SET_LIB_PATH) \
22256         echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22257         for flag in $(EXTRA_TARGET_FLAGS); do \
22258           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22259         done; \
22260         (cd $(TARGET_SUBDIR)/libmudflap && \
22261           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22262                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22263                   "RANLIB=$${RANLIB}" \
22264                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22265                   info) \
22266           || exit 1
22267
22268 @endif target-libmudflap
22269
22270 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22271 maybe-dvi-target-libmudflap:
22272 @if target-libmudflap
22273 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22274
22275 dvi-target-libmudflap: \
22276     configure-target-libmudflap 
22277         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22278         r=`${PWD_COMMAND}`; export r; \
22279         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22280         $(SET_LIB_PATH) \
22281         echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22282         for flag in $(EXTRA_TARGET_FLAGS); do \
22283           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22284         done; \
22285         (cd $(TARGET_SUBDIR)/libmudflap && \
22286           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22287                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22288                   "RANLIB=$${RANLIB}" \
22289                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22290                   dvi) \
22291           || exit 1
22292
22293 @endif target-libmudflap
22294
22295 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22296 maybe-TAGS-target-libmudflap:
22297 @if target-libmudflap
22298 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22299
22300 TAGS-target-libmudflap: \
22301     configure-target-libmudflap 
22302         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22303         r=`${PWD_COMMAND}`; export r; \
22304         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22305         $(SET_LIB_PATH) \
22306         echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22307         for flag in $(EXTRA_TARGET_FLAGS); do \
22308           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22309         done; \
22310         (cd $(TARGET_SUBDIR)/libmudflap && \
22311           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22312                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22313                   "RANLIB=$${RANLIB}" \
22314                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22315                   TAGS) \
22316           || exit 1
22317
22318 @endif target-libmudflap
22319
22320 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22321 maybe-install-info-target-libmudflap:
22322 @if target-libmudflap
22323 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22324
22325 install-info-target-libmudflap: \
22326     configure-target-libmudflap \
22327     info-target-libmudflap 
22328         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22329         r=`${PWD_COMMAND}`; export r; \
22330         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22331         $(SET_LIB_PATH) \
22332         echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22333         for flag in $(EXTRA_TARGET_FLAGS); do \
22334           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22335         done; \
22336         (cd $(TARGET_SUBDIR)/libmudflap && \
22337           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22338                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22339                   "RANLIB=$${RANLIB}" \
22340                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22341                   install-info) \
22342           || exit 1
22343
22344 @endif target-libmudflap
22345
22346 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22347 maybe-installcheck-target-libmudflap:
22348 @if target-libmudflap
22349 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22350
22351 installcheck-target-libmudflap: \
22352     configure-target-libmudflap 
22353         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22354         r=`${PWD_COMMAND}`; export r; \
22355         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22356         $(SET_LIB_PATH) \
22357         echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22358         for flag in $(EXTRA_TARGET_FLAGS); do \
22359           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22360         done; \
22361         (cd $(TARGET_SUBDIR)/libmudflap && \
22362           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22363                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22364                   "RANLIB=$${RANLIB}" \
22365                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22366                   installcheck) \
22367           || exit 1
22368
22369 @endif target-libmudflap
22370
22371 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22372 maybe-mostlyclean-target-libmudflap:
22373 @if target-libmudflap
22374 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22375
22376 mostlyclean-target-libmudflap: 
22377         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22378         r=`${PWD_COMMAND}`; export r; \
22379         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380         $(SET_LIB_PATH) \
22381         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22382         for flag in $(EXTRA_TARGET_FLAGS); do \
22383           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22384         done; \
22385         (cd $(TARGET_SUBDIR)/libmudflap && \
22386           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22387                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22388                   "RANLIB=$${RANLIB}" \
22389                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22390                   mostlyclean) \
22391           || exit 1
22392
22393 @endif target-libmudflap
22394
22395 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22396 maybe-clean-target-libmudflap:
22397 @if target-libmudflap
22398 maybe-clean-target-libmudflap: clean-target-libmudflap
22399
22400 clean-target-libmudflap: 
22401         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22402         r=`${PWD_COMMAND}`; export r; \
22403         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22404         $(SET_LIB_PATH) \
22405         echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22406         for flag in $(EXTRA_TARGET_FLAGS); do \
22407           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22408         done; \
22409         (cd $(TARGET_SUBDIR)/libmudflap && \
22410           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22411                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22412                   "RANLIB=$${RANLIB}" \
22413                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22414                   clean) \
22415           || exit 1
22416
22417 @endif target-libmudflap
22418
22419 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22420 maybe-distclean-target-libmudflap:
22421 @if target-libmudflap
22422 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22423
22424 distclean-target-libmudflap: 
22425         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22426         r=`${PWD_COMMAND}`; export r; \
22427         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428         $(SET_LIB_PATH) \
22429         echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22430         for flag in $(EXTRA_TARGET_FLAGS); do \
22431           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22432         done; \
22433         (cd $(TARGET_SUBDIR)/libmudflap && \
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                   distclean) \
22439           || exit 1
22440
22441 @endif target-libmudflap
22442
22443 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22444 maybe-maintainer-clean-target-libmudflap:
22445 @if target-libmudflap
22446 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22447
22448 maintainer-clean-target-libmudflap: 
22449         @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22450         r=`${PWD_COMMAND}`; export r; \
22451         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22452         $(SET_LIB_PATH) \
22453         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22454         for flag in $(EXTRA_TARGET_FLAGS); do \
22455           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22456         done; \
22457         (cd $(TARGET_SUBDIR)/libmudflap && \
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                   maintainer-clean) \
22463           || exit 1
22464
22465 @endif target-libmudflap
22466
22467
22468 .PHONY: configure-target-newlib maybe-configure-target-newlib
22469 maybe-configure-target-newlib:
22470 @if target-newlib
22471 maybe-configure-target-newlib: configure-target-newlib
22472
22473 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22474 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22475         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22476         rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22477         cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22478
22479 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22480         @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22481         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22482         r=`${PWD_COMMAND}`; export r; \
22483         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22484         $(SET_LIB_PATH) \
22485         AR="$(AR_FOR_TARGET)"; export AR; \
22486         AS="$(AS_FOR_TARGET)"; export AS; \
22487         CC="$(CC_FOR_TARGET)"; export CC; \
22488         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22489         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22490         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22491         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22492         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22493         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22494         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22495         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22496         LD="$(LD_FOR_TARGET)"; export LD; \
22497         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22498         NM="$(NM_FOR_TARGET)"; export NM; \
22499         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22500         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22501         echo Configuring in $(TARGET_SUBDIR)/newlib; \
22502         cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22503         case $(srcdir) in \
22504           /* | [A-Za-z]:[\\/]*) \
22505             topdir=$(srcdir) ;; \
22506           *) \
22507             case "$(TARGET_SUBDIR)" in \
22508               .) topdir="../$(srcdir)" ;; \
22509               *) topdir="../../$(srcdir)" ;; \
22510             esac ;; \
22511         esac; \
22512           srcdiroption="--srcdir=$${topdir}/newlib"; \
22513           libsrcdir="$$s/newlib"; \
22514         rm -f no-such-file || : ; \
22515         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22516           $(TARGET_CONFIGARGS) $${srcdiroption} \
22517           --with-target-subdir="$(TARGET_SUBDIR)" \
22518           || exit 1
22519 @endif target-newlib
22520
22521 .PHONY: all-target-newlib maybe-all-target-newlib
22522 maybe-all-target-newlib:
22523 @if target-newlib
22524 maybe-all-target-newlib: all-target-newlib
22525 all-target-newlib: configure-target-newlib
22526         @r=`${PWD_COMMAND}`; export r; \
22527         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22528         $(SET_LIB_PATH) \
22529         (cd $(TARGET_SUBDIR)/newlib && \
22530           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22531 @endif target-newlib
22532
22533 .PHONY: check-target-newlib maybe-check-target-newlib
22534 maybe-check-target-newlib:
22535 @if target-newlib
22536 maybe-check-target-newlib: check-target-newlib
22537
22538 check-target-newlib:
22539         @r=`${PWD_COMMAND}`; export r; \
22540         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22541         $(SET_LIB_PATH) \
22542         (cd $(TARGET_SUBDIR)/newlib && \
22543           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22544
22545 @endif target-newlib
22546
22547 .PHONY: install-target-newlib maybe-install-target-newlib
22548 maybe-install-target-newlib:
22549 @if target-newlib
22550 maybe-install-target-newlib: install-target-newlib
22551
22552 install-target-newlib: installdirs
22553         @r=`${PWD_COMMAND}`; export r; \
22554         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22555         $(SET_LIB_PATH) \
22556         (cd $(TARGET_SUBDIR)/newlib && \
22557           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22558
22559 @endif target-newlib
22560
22561 # Other targets (info, dvi, etc.)
22562
22563 .PHONY: maybe-info-target-newlib info-target-newlib
22564 maybe-info-target-newlib:
22565 @if target-newlib
22566 maybe-info-target-newlib: info-target-newlib
22567
22568 info-target-newlib: \
22569     configure-target-newlib 
22570         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22571         r=`${PWD_COMMAND}`; export r; \
22572         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22573         $(SET_LIB_PATH) \
22574         echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22575         for flag in $(EXTRA_TARGET_FLAGS); do \
22576           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22577         done; \
22578         (cd $(TARGET_SUBDIR)/newlib && \
22579           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22580                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22581                   "RANLIB=$${RANLIB}" \
22582                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22583                   info) \
22584           || exit 1
22585
22586 @endif target-newlib
22587
22588 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22589 maybe-dvi-target-newlib:
22590 @if target-newlib
22591 maybe-dvi-target-newlib: dvi-target-newlib
22592
22593 dvi-target-newlib: \
22594     configure-target-newlib 
22595         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22596         r=`${PWD_COMMAND}`; export r; \
22597         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22598         $(SET_LIB_PATH) \
22599         echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22600         for flag in $(EXTRA_TARGET_FLAGS); do \
22601           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22602         done; \
22603         (cd $(TARGET_SUBDIR)/newlib && \
22604           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22605                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22606                   "RANLIB=$${RANLIB}" \
22607                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22608                   dvi) \
22609           || exit 1
22610
22611 @endif target-newlib
22612
22613 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22614 maybe-TAGS-target-newlib:
22615 @if target-newlib
22616 maybe-TAGS-target-newlib: TAGS-target-newlib
22617
22618 TAGS-target-newlib: \
22619     configure-target-newlib 
22620         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22621         r=`${PWD_COMMAND}`; export r; \
22622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22623         $(SET_LIB_PATH) \
22624         echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22625         for flag in $(EXTRA_TARGET_FLAGS); do \
22626           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22627         done; \
22628         (cd $(TARGET_SUBDIR)/newlib && \
22629           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22630                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22631                   "RANLIB=$${RANLIB}" \
22632                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22633                   TAGS) \
22634           || exit 1
22635
22636 @endif target-newlib
22637
22638 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22639 maybe-install-info-target-newlib:
22640 @if target-newlib
22641 maybe-install-info-target-newlib: install-info-target-newlib
22642
22643 install-info-target-newlib: \
22644     configure-target-newlib \
22645     info-target-newlib 
22646         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22647         r=`${PWD_COMMAND}`; export r; \
22648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649         $(SET_LIB_PATH) \
22650         echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22651         for flag in $(EXTRA_TARGET_FLAGS); do \
22652           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22653         done; \
22654         (cd $(TARGET_SUBDIR)/newlib && \
22655           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22656                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22657                   "RANLIB=$${RANLIB}" \
22658                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22659                   install-info) \
22660           || exit 1
22661
22662 @endif target-newlib
22663
22664 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22665 maybe-installcheck-target-newlib:
22666 @if target-newlib
22667 maybe-installcheck-target-newlib: installcheck-target-newlib
22668
22669 installcheck-target-newlib: \
22670     configure-target-newlib 
22671         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22672         r=`${PWD_COMMAND}`; export r; \
22673         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22674         $(SET_LIB_PATH) \
22675         echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22676         for flag in $(EXTRA_TARGET_FLAGS); do \
22677           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22678         done; \
22679         (cd $(TARGET_SUBDIR)/newlib && \
22680           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22681                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22682                   "RANLIB=$${RANLIB}" \
22683                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22684                   installcheck) \
22685           || exit 1
22686
22687 @endif target-newlib
22688
22689 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22690 maybe-mostlyclean-target-newlib:
22691 @if target-newlib
22692 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22693
22694 mostlyclean-target-newlib: 
22695         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22696         r=`${PWD_COMMAND}`; export r; \
22697         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22698         $(SET_LIB_PATH) \
22699         echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22700         for flag in $(EXTRA_TARGET_FLAGS); do \
22701           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22702         done; \
22703         (cd $(TARGET_SUBDIR)/newlib && \
22704           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22705                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22706                   "RANLIB=$${RANLIB}" \
22707                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22708                   mostlyclean) \
22709           || exit 1
22710
22711 @endif target-newlib
22712
22713 .PHONY: maybe-clean-target-newlib clean-target-newlib
22714 maybe-clean-target-newlib:
22715 @if target-newlib
22716 maybe-clean-target-newlib: clean-target-newlib
22717
22718 clean-target-newlib: 
22719         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22720         r=`${PWD_COMMAND}`; export r; \
22721         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22722         $(SET_LIB_PATH) \
22723         echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
22724         for flag in $(EXTRA_TARGET_FLAGS); do \
22725           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22726         done; \
22727         (cd $(TARGET_SUBDIR)/newlib && \
22728           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22729                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22730                   "RANLIB=$${RANLIB}" \
22731                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22732                   clean) \
22733           || exit 1
22734
22735 @endif target-newlib
22736
22737 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22738 maybe-distclean-target-newlib:
22739 @if target-newlib
22740 maybe-distclean-target-newlib: distclean-target-newlib
22741
22742 distclean-target-newlib: 
22743         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22744         r=`${PWD_COMMAND}`; export r; \
22745         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22746         $(SET_LIB_PATH) \
22747         echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
22748         for flag in $(EXTRA_TARGET_FLAGS); do \
22749           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22750         done; \
22751         (cd $(TARGET_SUBDIR)/newlib && \
22752           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22753                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22754                   "RANLIB=$${RANLIB}" \
22755                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22756                   distclean) \
22757           || exit 1
22758
22759 @endif target-newlib
22760
22761 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22762 maybe-maintainer-clean-target-newlib:
22763 @if target-newlib
22764 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22765
22766 maintainer-clean-target-newlib: 
22767         @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22768         r=`${PWD_COMMAND}`; export r; \
22769         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770         $(SET_LIB_PATH) \
22771         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
22772         for flag in $(EXTRA_TARGET_FLAGS); do \
22773           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22774         done; \
22775         (cd $(TARGET_SUBDIR)/newlib && \
22776           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778                   "RANLIB=$${RANLIB}" \
22779                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780                   maintainer-clean) \
22781           || exit 1
22782
22783 @endif target-newlib
22784
22785
22786 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
22787 maybe-configure-target-libgfortran:
22788 @if target-libgfortran
22789 maybe-configure-target-libgfortran: configure-target-libgfortran
22790
22791 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
22792 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
22793         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22794         rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
22795         cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
22796
22797 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
22798         @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
22799         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22800         r=`${PWD_COMMAND}`; export r; \
22801         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22802         $(SET_LIB_PATH) \
22803         AR="$(AR_FOR_TARGET)"; export AR; \
22804         AS="$(AS_FOR_TARGET)"; export AS; \
22805         CC="$(CC_FOR_TARGET)"; export CC; \
22806         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22807         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22808         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22809         CXX="$(CXX_FOR_TARGET)"; export CXX; \
22810         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22811         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22812         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22813         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22814         LD="$(LD_FOR_TARGET)"; export LD; \
22815         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22816         NM="$(NM_FOR_TARGET)"; export NM; \
22817         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22818         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22819         echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
22820         cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
22821         case $(srcdir) in \
22822           /* | [A-Za-z]:[\\/]*) \
22823             topdir=$(srcdir) ;; \
22824           *) \
22825             case "$(TARGET_SUBDIR)" in \
22826               .) topdir="../$(srcdir)" ;; \
22827               *) topdir="../../$(srcdir)" ;; \
22828             esac ;; \
22829         esac; \
22830           srcdiroption="--srcdir=$${topdir}/libgfortran"; \
22831           libsrcdir="$$s/libgfortran"; \
22832         rm -f no-such-file || : ; \
22833         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22834           $(TARGET_CONFIGARGS) $${srcdiroption} \
22835           --with-target-subdir="$(TARGET_SUBDIR)" \
22836           || exit 1
22837 @endif target-libgfortran
22838
22839 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
22840 maybe-all-target-libgfortran:
22841 @if target-libgfortran
22842 maybe-all-target-libgfortran: all-target-libgfortran
22843 all-target-libgfortran: configure-target-libgfortran
22844         @r=`${PWD_COMMAND}`; export r; \
22845         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846         $(SET_LIB_PATH) \
22847         (cd $(TARGET_SUBDIR)/libgfortran && \
22848           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
22849 @endif target-libgfortran
22850
22851 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
22852 maybe-check-target-libgfortran:
22853 @if target-libgfortran
22854 maybe-check-target-libgfortran: check-target-libgfortran
22855
22856 check-target-libgfortran:
22857         @r=`${PWD_COMMAND}`; export r; \
22858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22859         $(SET_LIB_PATH) \
22860         (cd $(TARGET_SUBDIR)/libgfortran && \
22861           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
22862
22863 @endif target-libgfortran
22864
22865 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
22866 maybe-install-target-libgfortran:
22867 @if target-libgfortran
22868 maybe-install-target-libgfortran: install-target-libgfortran
22869
22870 install-target-libgfortran: installdirs
22871         @r=`${PWD_COMMAND}`; export r; \
22872         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873         $(SET_LIB_PATH) \
22874         (cd $(TARGET_SUBDIR)/libgfortran && \
22875           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22876
22877 @endif target-libgfortran
22878
22879 # Other targets (info, dvi, etc.)
22880
22881 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
22882 maybe-info-target-libgfortran:
22883 @if target-libgfortran
22884 maybe-info-target-libgfortran: info-target-libgfortran
22885
22886 info-target-libgfortran: \
22887     configure-target-libgfortran 
22888         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22889         r=`${PWD_COMMAND}`; export r; \
22890         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22891         $(SET_LIB_PATH) \
22892         echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
22893         for flag in $(EXTRA_TARGET_FLAGS); do \
22894           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22895         done; \
22896         (cd $(TARGET_SUBDIR)/libgfortran && \
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                   info) \
22902           || exit 1
22903
22904 @endif target-libgfortran
22905
22906 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
22907 maybe-dvi-target-libgfortran:
22908 @if target-libgfortran
22909 maybe-dvi-target-libgfortran: dvi-target-libgfortran
22910
22911 dvi-target-libgfortran: \
22912     configure-target-libgfortran 
22913         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22914         r=`${PWD_COMMAND}`; export r; \
22915         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22916         $(SET_LIB_PATH) \
22917         echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
22918         for flag in $(EXTRA_TARGET_FLAGS); do \
22919           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22920         done; \
22921         (cd $(TARGET_SUBDIR)/libgfortran && \
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                   dvi) \
22927           || exit 1
22928
22929 @endif target-libgfortran
22930
22931 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
22932 maybe-TAGS-target-libgfortran:
22933 @if target-libgfortran
22934 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
22935
22936 TAGS-target-libgfortran: \
22937     configure-target-libgfortran 
22938         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22939         r=`${PWD_COMMAND}`; export r; \
22940         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22941         $(SET_LIB_PATH) \
22942         echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
22943         for flag in $(EXTRA_TARGET_FLAGS); do \
22944           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22945         done; \
22946         (cd $(TARGET_SUBDIR)/libgfortran && \
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 target-libgfortran
22955
22956 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
22957 maybe-install-info-target-libgfortran:
22958 @if target-libgfortran
22959 maybe-install-info-target-libgfortran: install-info-target-libgfortran
22960
22961 install-info-target-libgfortran: \
22962     configure-target-libgfortran \
22963     info-target-libgfortran 
22964         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22965         r=`${PWD_COMMAND}`; export r; \
22966         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967         $(SET_LIB_PATH) \
22968         echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
22969         for flag in $(EXTRA_TARGET_FLAGS); do \
22970           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22971         done; \
22972         (cd $(TARGET_SUBDIR)/libgfortran && \
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 target-libgfortran
22981
22982 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
22983 maybe-installcheck-target-libgfortran:
22984 @if target-libgfortran
22985 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
22986
22987 installcheck-target-libgfortran: \
22988     configure-target-libgfortran 
22989         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22990         r=`${PWD_COMMAND}`; export r; \
22991         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992         $(SET_LIB_PATH) \
22993         echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
22994         for flag in $(EXTRA_TARGET_FLAGS); do \
22995           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22996         done; \
22997         (cd $(TARGET_SUBDIR)/libgfortran && \
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 target-libgfortran
23006
23007 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23008 maybe-mostlyclean-target-libgfortran:
23009 @if target-libgfortran
23010 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23011
23012 mostlyclean-target-libgfortran: 
23013         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23014         r=`${PWD_COMMAND}`; export r; \
23015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23016         $(SET_LIB_PATH) \
23017         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23018         for flag in $(EXTRA_TARGET_FLAGS); do \
23019           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23020         done; \
23021         (cd $(TARGET_SUBDIR)/libgfortran && \
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 target-libgfortran
23030
23031 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23032 maybe-clean-target-libgfortran:
23033 @if target-libgfortran
23034 maybe-clean-target-libgfortran: clean-target-libgfortran
23035
23036 clean-target-libgfortran: 
23037         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23038         r=`${PWD_COMMAND}`; export r; \
23039         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23040         $(SET_LIB_PATH) \
23041         echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23042         for flag in $(EXTRA_TARGET_FLAGS); do \
23043           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23044         done; \
23045         (cd $(TARGET_SUBDIR)/libgfortran && \
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 target-libgfortran
23054
23055 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23056 maybe-distclean-target-libgfortran:
23057 @if target-libgfortran
23058 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23059
23060 distclean-target-libgfortran: 
23061         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23062         r=`${PWD_COMMAND}`; export r; \
23063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23064         $(SET_LIB_PATH) \
23065         echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23066         for flag in $(EXTRA_TARGET_FLAGS); do \
23067           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23068         done; \
23069         (cd $(TARGET_SUBDIR)/libgfortran && \
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 target-libgfortran
23078
23079 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23080 maybe-maintainer-clean-target-libgfortran:
23081 @if target-libgfortran
23082 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23083
23084 maintainer-clean-target-libgfortran: 
23085         @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23086         r=`${PWD_COMMAND}`; export r; \
23087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23088         $(SET_LIB_PATH) \
23089         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23090         for flag in $(EXTRA_TARGET_FLAGS); do \
23091           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23092         done; \
23093         (cd $(TARGET_SUBDIR)/libgfortran && \
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 target-libgfortran
23102
23103
23104 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23105 maybe-configure-target-libobjc:
23106 @if target-libobjc
23107 maybe-configure-target-libobjc: configure-target-libobjc
23108
23109 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23110 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23111         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23112         rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23113         cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23114
23115 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23116         @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23117         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23118         r=`${PWD_COMMAND}`; export r; \
23119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120         $(SET_LIB_PATH) \
23121         AR="$(AR_FOR_TARGET)"; export AR; \
23122         AS="$(AS_FOR_TARGET)"; export AS; \
23123         CC="$(CC_FOR_TARGET)"; export CC; \
23124         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23125         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23126         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23127         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23128         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23129         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23130         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23131         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23132         LD="$(LD_FOR_TARGET)"; export LD; \
23133         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23134         NM="$(NM_FOR_TARGET)"; export NM; \
23135         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23136         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23137         echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23138         cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23139         case $(srcdir) in \
23140           /* | [A-Za-z]:[\\/]*) \
23141             topdir=$(srcdir) ;; \
23142           *) \
23143             case "$(TARGET_SUBDIR)" in \
23144               .) topdir="../$(srcdir)" ;; \
23145               *) topdir="../../$(srcdir)" ;; \
23146             esac ;; \
23147         esac; \
23148           srcdiroption="--srcdir=$${topdir}/libobjc"; \
23149           libsrcdir="$$s/libobjc"; \
23150         rm -f no-such-file || : ; \
23151         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23152           $(TARGET_CONFIGARGS) $${srcdiroption} \
23153           --with-target-subdir="$(TARGET_SUBDIR)" \
23154           || exit 1
23155 @endif target-libobjc
23156
23157 .PHONY: all-target-libobjc maybe-all-target-libobjc
23158 maybe-all-target-libobjc:
23159 @if target-libobjc
23160 maybe-all-target-libobjc: all-target-libobjc
23161 all-target-libobjc: configure-target-libobjc
23162         @r=`${PWD_COMMAND}`; export r; \
23163         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23164         $(SET_LIB_PATH) \
23165         (cd $(TARGET_SUBDIR)/libobjc && \
23166           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23167 @endif target-libobjc
23168
23169 .PHONY: check-target-libobjc maybe-check-target-libobjc
23170 maybe-check-target-libobjc:
23171 @if target-libobjc
23172 maybe-check-target-libobjc: check-target-libobjc
23173
23174 check-target-libobjc:
23175         @r=`${PWD_COMMAND}`; export r; \
23176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23177         $(SET_LIB_PATH) \
23178         (cd $(TARGET_SUBDIR)/libobjc && \
23179           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
23180
23181 @endif target-libobjc
23182
23183 .PHONY: install-target-libobjc maybe-install-target-libobjc
23184 maybe-install-target-libobjc:
23185 @if target-libobjc
23186 maybe-install-target-libobjc: install-target-libobjc
23187
23188 install-target-libobjc: installdirs
23189         @r=`${PWD_COMMAND}`; export r; \
23190         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23191         $(SET_LIB_PATH) \
23192         (cd $(TARGET_SUBDIR)/libobjc && \
23193           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23194
23195 @endif target-libobjc
23196
23197 # Other targets (info, dvi, etc.)
23198
23199 .PHONY: maybe-info-target-libobjc info-target-libobjc
23200 maybe-info-target-libobjc:
23201 @if target-libobjc
23202 maybe-info-target-libobjc: info-target-libobjc
23203
23204 info-target-libobjc: \
23205     configure-target-libobjc 
23206         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23207         r=`${PWD_COMMAND}`; export r; \
23208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23209         $(SET_LIB_PATH) \
23210         echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23211         for flag in $(EXTRA_TARGET_FLAGS); do \
23212           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23213         done; \
23214         (cd $(TARGET_SUBDIR)/libobjc && \
23215           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23216                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23217                   "RANLIB=$${RANLIB}" \
23218                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23219                   info) \
23220           || exit 1
23221
23222 @endif target-libobjc
23223
23224 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23225 maybe-dvi-target-libobjc:
23226 @if target-libobjc
23227 maybe-dvi-target-libobjc: dvi-target-libobjc
23228
23229 dvi-target-libobjc: \
23230     configure-target-libobjc 
23231         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23232         r=`${PWD_COMMAND}`; export r; \
23233         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234         $(SET_LIB_PATH) \
23235         echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23236         for flag in $(EXTRA_TARGET_FLAGS); do \
23237           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23238         done; \
23239         (cd $(TARGET_SUBDIR)/libobjc && \
23240           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23241                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23242                   "RANLIB=$${RANLIB}" \
23243                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23244                   dvi) \
23245           || exit 1
23246
23247 @endif target-libobjc
23248
23249 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23250 maybe-TAGS-target-libobjc:
23251 @if target-libobjc
23252 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23253
23254 TAGS-target-libobjc: \
23255     configure-target-libobjc 
23256         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23257         r=`${PWD_COMMAND}`; export r; \
23258         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259         $(SET_LIB_PATH) \
23260         echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23261         for flag in $(EXTRA_TARGET_FLAGS); do \
23262           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23263         done; \
23264         (cd $(TARGET_SUBDIR)/libobjc && \
23265           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23266                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23267                   "RANLIB=$${RANLIB}" \
23268                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23269                   TAGS) \
23270           || exit 1
23271
23272 @endif target-libobjc
23273
23274 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23275 maybe-install-info-target-libobjc:
23276 @if target-libobjc
23277 maybe-install-info-target-libobjc: install-info-target-libobjc
23278
23279 install-info-target-libobjc: \
23280     configure-target-libobjc \
23281     info-target-libobjc 
23282         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23283         r=`${PWD_COMMAND}`; export r; \
23284         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23285         $(SET_LIB_PATH) \
23286         echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23287         for flag in $(EXTRA_TARGET_FLAGS); do \
23288           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23289         done; \
23290         (cd $(TARGET_SUBDIR)/libobjc && \
23291           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23292                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23293                   "RANLIB=$${RANLIB}" \
23294                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23295                   install-info) \
23296           || exit 1
23297
23298 @endif target-libobjc
23299
23300 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23301 maybe-installcheck-target-libobjc:
23302 @if target-libobjc
23303 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23304
23305 installcheck-target-libobjc: \
23306     configure-target-libobjc 
23307         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23308         r=`${PWD_COMMAND}`; export r; \
23309         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23310         $(SET_LIB_PATH) \
23311         echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23312         for flag in $(EXTRA_TARGET_FLAGS); do \
23313           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23314         done; \
23315         (cd $(TARGET_SUBDIR)/libobjc && \
23316           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23317                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23318                   "RANLIB=$${RANLIB}" \
23319                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23320                   installcheck) \
23321           || exit 1
23322
23323 @endif target-libobjc
23324
23325 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23326 maybe-mostlyclean-target-libobjc:
23327 @if target-libobjc
23328 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23329
23330 mostlyclean-target-libobjc: 
23331         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23332         r=`${PWD_COMMAND}`; export r; \
23333         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23334         $(SET_LIB_PATH) \
23335         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23336         for flag in $(EXTRA_TARGET_FLAGS); do \
23337           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23338         done; \
23339         (cd $(TARGET_SUBDIR)/libobjc && \
23340           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23341                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23342                   "RANLIB=$${RANLIB}" \
23343                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23344                   mostlyclean) \
23345           || exit 1
23346
23347 @endif target-libobjc
23348
23349 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23350 maybe-clean-target-libobjc:
23351 @if target-libobjc
23352 maybe-clean-target-libobjc: clean-target-libobjc
23353
23354 clean-target-libobjc: 
23355         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23356         r=`${PWD_COMMAND}`; export r; \
23357         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23358         $(SET_LIB_PATH) \
23359         echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23360         for flag in $(EXTRA_TARGET_FLAGS); do \
23361           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23362         done; \
23363         (cd $(TARGET_SUBDIR)/libobjc && \
23364           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23365                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23366                   "RANLIB=$${RANLIB}" \
23367                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23368                   clean) \
23369           || exit 1
23370
23371 @endif target-libobjc
23372
23373 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23374 maybe-distclean-target-libobjc:
23375 @if target-libobjc
23376 maybe-distclean-target-libobjc: distclean-target-libobjc
23377
23378 distclean-target-libobjc: 
23379         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23380         r=`${PWD_COMMAND}`; export r; \
23381         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382         $(SET_LIB_PATH) \
23383         echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23384         for flag in $(EXTRA_TARGET_FLAGS); do \
23385           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23386         done; \
23387         (cd $(TARGET_SUBDIR)/libobjc && \
23388           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23389                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23390                   "RANLIB=$${RANLIB}" \
23391                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23392                   distclean) \
23393           || exit 1
23394
23395 @endif target-libobjc
23396
23397 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23398 maybe-maintainer-clean-target-libobjc:
23399 @if target-libobjc
23400 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23401
23402 maintainer-clean-target-libobjc: 
23403         @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23404         r=`${PWD_COMMAND}`; export r; \
23405         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23406         $(SET_LIB_PATH) \
23407         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23408         for flag in $(EXTRA_TARGET_FLAGS); do \
23409           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23410         done; \
23411         (cd $(TARGET_SUBDIR)/libobjc && \
23412           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23413                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23414                   "RANLIB=$${RANLIB}" \
23415                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23416                   maintainer-clean) \
23417           || exit 1
23418
23419 @endif target-libobjc
23420
23421
23422 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23423 maybe-configure-target-libtermcap:
23424 @if target-libtermcap
23425 maybe-configure-target-libtermcap: configure-target-libtermcap
23426
23427 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23428 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23429         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23430         rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23431         cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23432
23433 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23434         @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23435         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23436         r=`${PWD_COMMAND}`; export r; \
23437         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23438         $(SET_LIB_PATH) \
23439         AR="$(AR_FOR_TARGET)"; export AR; \
23440         AS="$(AS_FOR_TARGET)"; export AS; \
23441         CC="$(CC_FOR_TARGET)"; export CC; \
23442         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23443         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23444         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23445         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23446         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23447         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23448         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23449         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23450         LD="$(LD_FOR_TARGET)"; export LD; \
23451         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23452         NM="$(NM_FOR_TARGET)"; export NM; \
23453         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23454         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23455         echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23456         cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23457         case $(srcdir) in \
23458           /* | [A-Za-z]:[\\/]*) \
23459             topdir=$(srcdir) ;; \
23460           *) \
23461             case "$(TARGET_SUBDIR)" in \
23462               .) topdir="../$(srcdir)" ;; \
23463               *) topdir="../../$(srcdir)" ;; \
23464             esac ;; \
23465         esac; \
23466         if [ "$(srcdir)" = "." ] ; then \
23467           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23468             if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23469               if [ -f Makefile ]; then \
23470                 if $(MAKE) distclean; then \
23471                   true; \
23472                 else \
23473                   exit 1; \
23474                 fi; \
23475               else \
23476                 true; \
23477               fi; \
23478             else \
23479               exit 1; \
23480             fi; \
23481           else \
23482             true; \
23483           fi; \
23484           srcdiroption="--srcdir=."; \
23485           libsrcdir="."; \
23486         else \
23487           srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23488           libsrcdir="$$s/libtermcap"; \
23489         fi; \
23490         rm -f no-such-file || : ; \
23491         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23492           $(TARGET_CONFIGARGS) $${srcdiroption} \
23493           --with-target-subdir="$(TARGET_SUBDIR)" \
23494           || exit 1
23495 @endif target-libtermcap
23496
23497 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23498 maybe-all-target-libtermcap:
23499 @if target-libtermcap
23500 maybe-all-target-libtermcap: all-target-libtermcap
23501 all-target-libtermcap: configure-target-libtermcap
23502         @r=`${PWD_COMMAND}`; export r; \
23503         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23504         $(SET_LIB_PATH) \
23505         (cd $(TARGET_SUBDIR)/libtermcap && \
23506           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23507 @endif target-libtermcap
23508
23509 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23510 maybe-check-target-libtermcap:
23511 @if target-libtermcap
23512 maybe-check-target-libtermcap: check-target-libtermcap
23513
23514 # Dummy target for uncheckable module.
23515 check-target-libtermcap:
23516
23517 @endif target-libtermcap
23518
23519 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23520 maybe-install-target-libtermcap:
23521 @if target-libtermcap
23522 maybe-install-target-libtermcap: install-target-libtermcap
23523
23524 install-target-libtermcap: installdirs
23525         @r=`${PWD_COMMAND}`; export r; \
23526         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23527         $(SET_LIB_PATH) \
23528         (cd $(TARGET_SUBDIR)/libtermcap && \
23529           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23530
23531 @endif target-libtermcap
23532
23533 # Other targets (info, dvi, etc.)
23534
23535 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23536 maybe-info-target-libtermcap:
23537 @if target-libtermcap
23538 maybe-info-target-libtermcap: info-target-libtermcap
23539
23540 info-target-libtermcap: \
23541     configure-target-libtermcap 
23542         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23543         r=`${PWD_COMMAND}`; export r; \
23544         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23545         $(SET_LIB_PATH) \
23546         echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23547         for flag in $(EXTRA_TARGET_FLAGS); do \
23548           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23549         done; \
23550         (cd $(TARGET_SUBDIR)/libtermcap && \
23551           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23552                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23553                   "RANLIB=$${RANLIB}" \
23554                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23555                   info) \
23556           || exit 1
23557
23558 @endif target-libtermcap
23559
23560 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23561 maybe-dvi-target-libtermcap:
23562 @if target-libtermcap
23563 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23564
23565 dvi-target-libtermcap: \
23566     configure-target-libtermcap 
23567         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23568         r=`${PWD_COMMAND}`; export r; \
23569         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23570         $(SET_LIB_PATH) \
23571         echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23572         for flag in $(EXTRA_TARGET_FLAGS); do \
23573           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23574         done; \
23575         (cd $(TARGET_SUBDIR)/libtermcap && \
23576           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23577                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23578                   "RANLIB=$${RANLIB}" \
23579                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23580                   dvi) \
23581           || exit 1
23582
23583 @endif target-libtermcap
23584
23585 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23586 maybe-TAGS-target-libtermcap:
23587 @if target-libtermcap
23588 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23589
23590 TAGS-target-libtermcap: \
23591     configure-target-libtermcap 
23592         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23593         r=`${PWD_COMMAND}`; export r; \
23594         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23595         $(SET_LIB_PATH) \
23596         echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23597         for flag in $(EXTRA_TARGET_FLAGS); do \
23598           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23599         done; \
23600         (cd $(TARGET_SUBDIR)/libtermcap && \
23601           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23602                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23603                   "RANLIB=$${RANLIB}" \
23604                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23605                   TAGS) \
23606           || exit 1
23607
23608 @endif target-libtermcap
23609
23610 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23611 maybe-install-info-target-libtermcap:
23612 @if target-libtermcap
23613 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23614
23615 install-info-target-libtermcap: \
23616     configure-target-libtermcap \
23617     info-target-libtermcap 
23618         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23619         r=`${PWD_COMMAND}`; export r; \
23620         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23621         $(SET_LIB_PATH) \
23622         echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23623         for flag in $(EXTRA_TARGET_FLAGS); do \
23624           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23625         done; \
23626         (cd $(TARGET_SUBDIR)/libtermcap && \
23627           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23628                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23629                   "RANLIB=$${RANLIB}" \
23630                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23631                   install-info) \
23632           || exit 1
23633
23634 @endif target-libtermcap
23635
23636 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23637 maybe-installcheck-target-libtermcap:
23638 @if target-libtermcap
23639 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23640
23641 installcheck-target-libtermcap: \
23642     configure-target-libtermcap 
23643         @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23644         r=`${PWD_COMMAND}`; export r; \
23645         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23646         $(SET_LIB_PATH) \
23647         echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23648         for flag in $(EXTRA_TARGET_FLAGS); do \
23649           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23650         done; \
23651         (cd $(TARGET_SUBDIR)/libtermcap && \
23652           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23653                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23654                   "RANLIB=$${RANLIB}" \
23655                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23656                   installcheck) \
23657           || exit 1
23658
23659 @endif target-libtermcap
23660
23661 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23662 maybe-mostlyclean-target-libtermcap:
23663 @if target-libtermcap
23664 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23665
23666 # libtermcap doesn't support mostlyclean.
23667 mostlyclean-target-libtermcap:
23668
23669 @endif target-libtermcap
23670
23671 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23672 maybe-clean-target-libtermcap:
23673 @if target-libtermcap
23674 maybe-clean-target-libtermcap: clean-target-libtermcap
23675
23676 # libtermcap doesn't support clean.
23677 clean-target-libtermcap:
23678
23679 @endif target-libtermcap
23680
23681 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23682 maybe-distclean-target-libtermcap:
23683 @if target-libtermcap
23684 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23685
23686 # libtermcap doesn't support distclean.
23687 distclean-target-libtermcap:
23688
23689 @endif target-libtermcap
23690
23691 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23692 maybe-maintainer-clean-target-libtermcap:
23693 @if target-libtermcap
23694 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23695
23696 # libtermcap doesn't support maintainer-clean.
23697 maintainer-clean-target-libtermcap:
23698
23699 @endif target-libtermcap
23700
23701
23702 .PHONY: configure-target-winsup maybe-configure-target-winsup
23703 maybe-configure-target-winsup:
23704 @if target-winsup
23705 maybe-configure-target-winsup: configure-target-winsup
23706
23707 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
23708 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23709         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23710         rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23711         cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23712
23713 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23714         @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23715         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23716         r=`${PWD_COMMAND}`; export r; \
23717         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23718         $(SET_LIB_PATH) \
23719         AR="$(AR_FOR_TARGET)"; export AR; \
23720         AS="$(AS_FOR_TARGET)"; export AS; \
23721         CC="$(CC_FOR_TARGET)"; export CC; \
23722         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23723         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23724         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23725         CXX="$(CXX_FOR_TARGET)"; export CXX; \
23726         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23727         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23728         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23729         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23730         LD="$(LD_FOR_TARGET)"; export LD; \
23731         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23732         NM="$(NM_FOR_TARGET)"; export NM; \
23733         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23734         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23735         echo Configuring in $(TARGET_SUBDIR)/winsup; \
23736         cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23737         case $(srcdir) in \
23738           /* | [A-Za-z]:[\\/]*) \
23739             topdir=$(srcdir) ;; \
23740           *) \
23741             case "$(TARGET_SUBDIR)" in \
23742               .) topdir="../$(srcdir)" ;; \
23743               *) topdir="../../$(srcdir)" ;; \
23744             esac ;; \
23745         esac; \
23746           srcdiroption="--srcdir=$${topdir}/winsup"; \
23747           libsrcdir="$$s/winsup"; \
23748         rm -f no-such-file || : ; \
23749         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23750           $(TARGET_CONFIGARGS) $${srcdiroption} \
23751           --with-target-subdir="$(TARGET_SUBDIR)" \
23752           || exit 1
23753 @endif target-winsup
23754
23755 .PHONY: all-target-winsup maybe-all-target-winsup
23756 maybe-all-target-winsup:
23757 @if target-winsup
23758 maybe-all-target-winsup: all-target-winsup
23759 all-target-winsup: configure-target-winsup
23760         @r=`${PWD_COMMAND}`; export r; \
23761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23762         $(SET_LIB_PATH) \
23763         (cd $(TARGET_SUBDIR)/winsup && \
23764           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
23765 @endif target-winsup
23766
23767 .PHONY: check-target-winsup maybe-check-target-winsup
23768 maybe-check-target-winsup:
23769 @if target-winsup
23770 maybe-check-target-winsup: check-target-winsup
23771
23772 check-target-winsup:
23773         @r=`${PWD_COMMAND}`; export r; \
23774         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23775         $(SET_LIB_PATH) \
23776         (cd $(TARGET_SUBDIR)/winsup && \
23777           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
23778
23779 @endif target-winsup
23780
23781 .PHONY: install-target-winsup maybe-install-target-winsup
23782 maybe-install-target-winsup:
23783 @if target-winsup
23784 maybe-install-target-winsup: install-target-winsup
23785
23786 install-target-winsup: installdirs
23787         @r=`${PWD_COMMAND}`; export r; \
23788         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23789         $(SET_LIB_PATH) \
23790         (cd $(TARGET_SUBDIR)/winsup && \
23791           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23792
23793 @endif target-winsup
23794
23795 # Other targets (info, dvi, etc.)
23796
23797 .PHONY: maybe-info-target-winsup info-target-winsup
23798 maybe-info-target-winsup:
23799 @if target-winsup
23800 maybe-info-target-winsup: info-target-winsup
23801
23802 info-target-winsup: \
23803     configure-target-winsup 
23804         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23805         r=`${PWD_COMMAND}`; export r; \
23806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23807         $(SET_LIB_PATH) \
23808         echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
23809         for flag in $(EXTRA_TARGET_FLAGS); do \
23810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23811         done; \
23812         (cd $(TARGET_SUBDIR)/winsup && \
23813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23815                   "RANLIB=$${RANLIB}" \
23816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23817                   info) \
23818           || exit 1
23819
23820 @endif target-winsup
23821
23822 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
23823 maybe-dvi-target-winsup:
23824 @if target-winsup
23825 maybe-dvi-target-winsup: dvi-target-winsup
23826
23827 dvi-target-winsup: \
23828     configure-target-winsup 
23829         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23830         r=`${PWD_COMMAND}`; export r; \
23831         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23832         $(SET_LIB_PATH) \
23833         echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
23834         for flag in $(EXTRA_TARGET_FLAGS); do \
23835           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23836         done; \
23837         (cd $(TARGET_SUBDIR)/winsup && \
23838           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840                   "RANLIB=$${RANLIB}" \
23841                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23842                   dvi) \
23843           || exit 1
23844
23845 @endif target-winsup
23846
23847 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
23848 maybe-TAGS-target-winsup:
23849 @if target-winsup
23850 maybe-TAGS-target-winsup: TAGS-target-winsup
23851
23852 TAGS-target-winsup: \
23853     configure-target-winsup 
23854         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23855         r=`${PWD_COMMAND}`; export r; \
23856         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857         $(SET_LIB_PATH) \
23858         echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
23859         for flag in $(EXTRA_TARGET_FLAGS); do \
23860           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23861         done; \
23862         (cd $(TARGET_SUBDIR)/winsup && \
23863           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23864                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23865                   "RANLIB=$${RANLIB}" \
23866                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23867                   TAGS) \
23868           || exit 1
23869
23870 @endif target-winsup
23871
23872 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
23873 maybe-install-info-target-winsup:
23874 @if target-winsup
23875 maybe-install-info-target-winsup: install-info-target-winsup
23876
23877 install-info-target-winsup: \
23878     configure-target-winsup \
23879     info-target-winsup 
23880         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23881         r=`${PWD_COMMAND}`; export r; \
23882         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23883         $(SET_LIB_PATH) \
23884         echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
23885         for flag in $(EXTRA_TARGET_FLAGS); do \
23886           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23887         done; \
23888         (cd $(TARGET_SUBDIR)/winsup && \
23889           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23890                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23891                   "RANLIB=$${RANLIB}" \
23892                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23893                   install-info) \
23894           || exit 1
23895
23896 @endif target-winsup
23897
23898 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
23899 maybe-installcheck-target-winsup:
23900 @if target-winsup
23901 maybe-installcheck-target-winsup: installcheck-target-winsup
23902
23903 installcheck-target-winsup: \
23904     configure-target-winsup 
23905         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23906         r=`${PWD_COMMAND}`; export r; \
23907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23908         $(SET_LIB_PATH) \
23909         echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
23910         for flag in $(EXTRA_TARGET_FLAGS); do \
23911           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23912         done; \
23913         (cd $(TARGET_SUBDIR)/winsup && \
23914           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23915                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23916                   "RANLIB=$${RANLIB}" \
23917                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23918                   installcheck) \
23919           || exit 1
23920
23921 @endif target-winsup
23922
23923 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
23924 maybe-mostlyclean-target-winsup:
23925 @if target-winsup
23926 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
23927
23928 mostlyclean-target-winsup: 
23929         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23930         r=`${PWD_COMMAND}`; export r; \
23931         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23932         $(SET_LIB_PATH) \
23933         echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
23934         for flag in $(EXTRA_TARGET_FLAGS); do \
23935           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23936         done; \
23937         (cd $(TARGET_SUBDIR)/winsup && \
23938           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23939                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23940                   "RANLIB=$${RANLIB}" \
23941                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23942                   mostlyclean) \
23943           || exit 1
23944
23945 @endif target-winsup
23946
23947 .PHONY: maybe-clean-target-winsup clean-target-winsup
23948 maybe-clean-target-winsup:
23949 @if target-winsup
23950 maybe-clean-target-winsup: clean-target-winsup
23951
23952 clean-target-winsup: 
23953         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23954         r=`${PWD_COMMAND}`; export r; \
23955         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23956         $(SET_LIB_PATH) \
23957         echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
23958         for flag in $(EXTRA_TARGET_FLAGS); do \
23959           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23960         done; \
23961         (cd $(TARGET_SUBDIR)/winsup && \
23962           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23963                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23964                   "RANLIB=$${RANLIB}" \
23965                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23966                   clean) \
23967           || exit 1
23968
23969 @endif target-winsup
23970
23971 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
23972 maybe-distclean-target-winsup:
23973 @if target-winsup
23974 maybe-distclean-target-winsup: distclean-target-winsup
23975
23976 distclean-target-winsup: 
23977         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23978         r=`${PWD_COMMAND}`; export r; \
23979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980         $(SET_LIB_PATH) \
23981         echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
23982         for flag in $(EXTRA_TARGET_FLAGS); do \
23983           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23984         done; \
23985         (cd $(TARGET_SUBDIR)/winsup && \
23986           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23987                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23988                   "RANLIB=$${RANLIB}" \
23989                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23990                   distclean) \
23991           || exit 1
23992
23993 @endif target-winsup
23994
23995 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
23996 maybe-maintainer-clean-target-winsup:
23997 @if target-winsup
23998 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
23999
24000 maintainer-clean-target-winsup: 
24001         @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24002         r=`${PWD_COMMAND}`; export r; \
24003         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004         $(SET_LIB_PATH) \
24005         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24006         for flag in $(EXTRA_TARGET_FLAGS); do \
24007           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008         done; \
24009         (cd $(TARGET_SUBDIR)/winsup && \
24010           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24011                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24012                   "RANLIB=$${RANLIB}" \
24013                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24014                   maintainer-clean) \
24015           || exit 1
24016
24017 @endif target-winsup
24018
24019
24020 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24021 maybe-configure-target-libgloss:
24022 @if target-libgloss
24023 maybe-configure-target-libgloss: configure-target-libgloss
24024
24025 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24026 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24027         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24028         rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24029         cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24030
24031 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24032         @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24033         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24034         r=`${PWD_COMMAND}`; export r; \
24035         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24036         $(SET_LIB_PATH) \
24037         AR="$(AR_FOR_TARGET)"; export AR; \
24038         AS="$(AS_FOR_TARGET)"; export AS; \
24039         CC="$(CC_FOR_TARGET)"; export CC; \
24040         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24041         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24042         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24043         CXX="$(CXX_FOR_TARGET)"; export CXX; \
24044         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24045         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24046         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24047         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24048         LD="$(LD_FOR_TARGET)"; export LD; \
24049         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24050         NM="$(NM_FOR_TARGET)"; export NM; \
24051         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24052         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24053         echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24054         cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24055         case $(srcdir) in \
24056           /* | [A-Za-z]:[\\/]*) \
24057             topdir=$(srcdir) ;; \
24058           *) \
24059             case "$(TARGET_SUBDIR)" in \
24060               .) topdir="../$(srcdir)" ;; \
24061               *) topdir="../../$(srcdir)" ;; \
24062             esac ;; \
24063         esac; \
24064           srcdiroption="--srcdir=$${topdir}/libgloss"; \
24065           libsrcdir="$$s/libgloss"; \
24066         rm -f no-such-file || : ; \
24067         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24068           $(TARGET_CONFIGARGS) $${srcdiroption} \
24069           --with-target-subdir="$(TARGET_SUBDIR)" \
24070           || exit 1
24071 @endif target-libgloss
24072
24073 .PHONY: all-target-libgloss maybe-all-target-libgloss
24074 maybe-all-target-libgloss:
24075 @if target-libgloss
24076 maybe-all-target-libgloss: all-target-libgloss
24077 all-target-libgloss: configure-target-libgloss
24078         @r=`${PWD_COMMAND}`; export r; \
24079         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080         $(SET_LIB_PATH) \
24081         (cd $(TARGET_SUBDIR)/libgloss && \
24082           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
24083 @endif target-libgloss
24084
24085 .PHONY: check-target-libgloss maybe-check-target-libgloss
24086 maybe-check-target-libgloss:
24087 @if target-libgloss
24088 maybe-check-target-libgloss: check-target-libgloss
24089
24090 # Dummy target for uncheckable module.
24091 check-target-libgloss:
24092
24093 @endif target-libgloss
24094
24095 .PHONY: install-target-libgloss maybe-install-target-libgloss
24096 maybe-install-target-libgloss:
24097 @if target-libgloss
24098 maybe-install-target-libgloss: install-target-libgloss
24099
24100 install-target-libgloss: installdirs
24101         @r=`${PWD_COMMAND}`; export r; \
24102         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24103         $(SET_LIB_PATH) \
24104         (cd $(TARGET_SUBDIR)/libgloss && \
24105           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24106
24107 @endif target-libgloss
24108
24109 # Other targets (info, dvi, etc.)
24110
24111 .PHONY: maybe-info-target-libgloss info-target-libgloss
24112 maybe-info-target-libgloss:
24113 @if target-libgloss
24114 maybe-info-target-libgloss: info-target-libgloss
24115
24116 info-target-libgloss: \
24117     configure-target-libgloss 
24118         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24119         r=`${PWD_COMMAND}`; export r; \
24120         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24121         $(SET_LIB_PATH) \
24122         echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24123         for flag in $(EXTRA_TARGET_FLAGS); do \
24124           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24125         done; \
24126         (cd $(TARGET_SUBDIR)/libgloss && \
24127           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24128                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24129                   "RANLIB=$${RANLIB}" \
24130                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24131                   info) \
24132           || exit 1
24133
24134 @endif target-libgloss
24135
24136 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24137 maybe-dvi-target-libgloss:
24138 @if target-libgloss
24139 maybe-dvi-target-libgloss: dvi-target-libgloss
24140
24141 dvi-target-libgloss: \
24142     configure-target-libgloss 
24143         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24144         r=`${PWD_COMMAND}`; export r; \
24145         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24146         $(SET_LIB_PATH) \
24147         echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24148         for flag in $(EXTRA_TARGET_FLAGS); do \
24149           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24150         done; \
24151         (cd $(TARGET_SUBDIR)/libgloss && \
24152           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24153                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24154                   "RANLIB=$${RANLIB}" \
24155                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24156                   dvi) \
24157           || exit 1
24158
24159 @endif target-libgloss
24160
24161 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24162 maybe-TAGS-target-libgloss:
24163 @if target-libgloss
24164 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24165
24166 TAGS-target-libgloss: \
24167     configure-target-libgloss 
24168         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24169         r=`${PWD_COMMAND}`; export r; \
24170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24171         $(SET_LIB_PATH) \
24172         echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24173         for flag in $(EXTRA_TARGET_FLAGS); do \
24174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24175         done; \
24176         (cd $(TARGET_SUBDIR)/libgloss && \
24177           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24178                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24179                   "RANLIB=$${RANLIB}" \
24180                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24181                   TAGS) \
24182           || exit 1
24183
24184 @endif target-libgloss
24185
24186 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24187 maybe-install-info-target-libgloss:
24188 @if target-libgloss
24189 maybe-install-info-target-libgloss: install-info-target-libgloss
24190
24191 install-info-target-libgloss: \
24192     configure-target-libgloss \
24193     info-target-libgloss 
24194         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24195         r=`${PWD_COMMAND}`; export r; \
24196         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24197         $(SET_LIB_PATH) \
24198         echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24199         for flag in $(EXTRA_TARGET_FLAGS); do \
24200           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24201         done; \
24202         (cd $(TARGET_SUBDIR)/libgloss && \
24203           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24204                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24205                   "RANLIB=$${RANLIB}" \
24206                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24207                   install-info) \
24208           || exit 1
24209
24210 @endif target-libgloss
24211
24212 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24213 maybe-installcheck-target-libgloss:
24214 @if target-libgloss
24215 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24216
24217 installcheck-target-libgloss: \
24218     configure-target-libgloss 
24219         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24220         r=`${PWD_COMMAND}`; export r; \
24221         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24222         $(SET_LIB_PATH) \
24223         echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24224         for flag in $(EXTRA_TARGET_FLAGS); do \
24225           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24226         done; \
24227         (cd $(TARGET_SUBDIR)/libgloss && \
24228           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230                   "RANLIB=$${RANLIB}" \
24231                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24232                   installcheck) \
24233           || exit 1
24234
24235 @endif target-libgloss
24236
24237 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24238 maybe-mostlyclean-target-libgloss:
24239 @if target-libgloss
24240 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24241
24242 mostlyclean-target-libgloss: 
24243         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24244         r=`${PWD_COMMAND}`; export r; \
24245         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24246         $(SET_LIB_PATH) \
24247         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24248         for flag in $(EXTRA_TARGET_FLAGS); do \
24249           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24250         done; \
24251         (cd $(TARGET_SUBDIR)/libgloss && \
24252           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24253                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24254                   "RANLIB=$${RANLIB}" \
24255                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24256                   mostlyclean) \
24257           || exit 1
24258
24259 @endif target-libgloss
24260
24261 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24262 maybe-clean-target-libgloss:
24263 @if target-libgloss
24264 maybe-clean-target-libgloss: clean-target-libgloss
24265
24266 clean-target-libgloss: 
24267         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24268         r=`${PWD_COMMAND}`; export r; \
24269         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24270         $(SET_LIB_PATH) \
24271         echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24272         for flag in $(EXTRA_TARGET_FLAGS); do \
24273           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24274         done; \
24275         (cd $(TARGET_SUBDIR)/libgloss && \
24276           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24277                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24278                   "RANLIB=$${RANLIB}" \
24279                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24280                   clean) \
24281           || exit 1
24282
24283 @endif target-libgloss
24284
24285 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24286 maybe-distclean-target-libgloss:
24287 @if target-libgloss
24288 maybe-distclean-target-libgloss: distclean-target-libgloss
24289
24290 distclean-target-libgloss: 
24291         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24292         r=`${PWD_COMMAND}`; export r; \
24293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24294         $(SET_LIB_PATH) \
24295         echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24296         for flag in $(EXTRA_TARGET_FLAGS); do \
24297           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24298         done; \
24299         (cd $(TARGET_SUBDIR)/libgloss && \
24300           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24301                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24302                   "RANLIB=$${RANLIB}" \
24303                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24304                   distclean) \
24305           || exit 1
24306
24307 @endif target-libgloss
24308
24309 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24310 maybe-maintainer-clean-target-libgloss:
24311 @if target-libgloss
24312 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24313
24314 maintainer-clean-target-libgloss: 
24315         @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24316         r=`${PWD_COMMAND}`; export r; \
24317         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318         $(SET_LIB_PATH) \
24319         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24320         for flag in $(EXTRA_TARGET_FLAGS); do \
24321           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24322         done; \
24323         (cd $(TARGET_SUBDIR)/libgloss && \
24324           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24325                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24326                   "RANLIB=$${RANLIB}" \
24327                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24328                   maintainer-clean) \
24329           || exit 1
24330
24331 @endif target-libgloss
24332
24333
24334 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24335 maybe-configure-target-libiberty:
24336 @if target-libiberty
24337 maybe-configure-target-libiberty: configure-target-libiberty
24338
24339 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24340 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24341         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24342         rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24343         cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24344
24345 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24346         @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24347         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24348         r=`${PWD_COMMAND}`; export r; \
24349         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24350         $(SET_LIB_PATH) \
24351         AR="$(AR_FOR_TARGET)"; export AR; \
24352         AS="$(AS_FOR_TARGET)"; export AS; \
24353         CC="$(CC_FOR_TARGET)"; export CC; \
24354         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24355         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24356         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24357         CXX="$(CXX_FOR_TARGET)"; export CXX; \
24358         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24359         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24360         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24361         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24362         LD="$(LD_FOR_TARGET)"; export LD; \
24363         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24364         NM="$(NM_FOR_TARGET)"; export NM; \
24365         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24366         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24367         echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24368         cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24369         case $(srcdir) in \
24370           /* | [A-Za-z]:[\\/]*) \
24371             topdir=$(srcdir) ;; \
24372           *) \
24373             case "$(TARGET_SUBDIR)" in \
24374               .) topdir="../$(srcdir)" ;; \
24375               *) topdir="../../$(srcdir)" ;; \
24376             esac ;; \
24377         esac; \
24378           srcdiroption="--srcdir=$${topdir}/libiberty"; \
24379           libsrcdir="$$s/libiberty"; \
24380         rm -f no-such-file || : ; \
24381         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24382           $(TARGET_CONFIGARGS) $${srcdiroption} \
24383           --with-target-subdir="$(TARGET_SUBDIR)" \
24384           || exit 1
24385 @endif target-libiberty
24386
24387 .PHONY: all-target-libiberty maybe-all-target-libiberty
24388 maybe-all-target-libiberty:
24389 @if target-libiberty
24390 maybe-all-target-libiberty: all-target-libiberty
24391 all-target-libiberty: configure-target-libiberty
24392         @r=`${PWD_COMMAND}`; export r; \
24393         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24394         $(SET_LIB_PATH) \
24395         (cd $(TARGET_SUBDIR)/libiberty && \
24396           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
24397 @endif target-libiberty
24398
24399 .PHONY: check-target-libiberty maybe-check-target-libiberty
24400 maybe-check-target-libiberty:
24401 @if target-libiberty
24402 maybe-check-target-libiberty: check-target-libiberty
24403
24404 check-target-libiberty:
24405         @r=`${PWD_COMMAND}`; export r; \
24406         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24407         $(SET_LIB_PATH) \
24408         (cd $(TARGET_SUBDIR)/libiberty && \
24409           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
24410
24411 @endif target-libiberty
24412
24413 .PHONY: install-target-libiberty maybe-install-target-libiberty
24414 maybe-install-target-libiberty:
24415 @if target-libiberty
24416 maybe-install-target-libiberty: install-target-libiberty
24417
24418 install-target-libiberty: installdirs
24419         @r=`${PWD_COMMAND}`; export r; \
24420         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24421         $(SET_LIB_PATH) \
24422         (cd $(TARGET_SUBDIR)/libiberty && \
24423           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24424
24425 @endif target-libiberty
24426
24427 # Other targets (info, dvi, etc.)
24428
24429 .PHONY: maybe-info-target-libiberty info-target-libiberty
24430 maybe-info-target-libiberty:
24431 @if target-libiberty
24432 maybe-info-target-libiberty: info-target-libiberty
24433
24434 info-target-libiberty: \
24435     configure-target-libiberty 
24436         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24437         r=`${PWD_COMMAND}`; export r; \
24438         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24439         $(SET_LIB_PATH) \
24440         echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24441         for flag in $(EXTRA_TARGET_FLAGS); do \
24442           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24443         done; \
24444         (cd $(TARGET_SUBDIR)/libiberty && \
24445           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24446                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24447                   "RANLIB=$${RANLIB}" \
24448                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24449                   info) \
24450           || exit 1
24451
24452 @endif target-libiberty
24453
24454 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24455 maybe-dvi-target-libiberty:
24456 @if target-libiberty
24457 maybe-dvi-target-libiberty: dvi-target-libiberty
24458
24459 dvi-target-libiberty: \
24460     configure-target-libiberty 
24461         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24462         r=`${PWD_COMMAND}`; export r; \
24463         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24464         $(SET_LIB_PATH) \
24465         echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24466         for flag in $(EXTRA_TARGET_FLAGS); do \
24467           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24468         done; \
24469         (cd $(TARGET_SUBDIR)/libiberty && \
24470           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24471                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24472                   "RANLIB=$${RANLIB}" \
24473                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24474                   dvi) \
24475           || exit 1
24476
24477 @endif target-libiberty
24478
24479 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24480 maybe-TAGS-target-libiberty:
24481 @if target-libiberty
24482 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24483
24484 TAGS-target-libiberty: \
24485     configure-target-libiberty 
24486         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24487         r=`${PWD_COMMAND}`; export r; \
24488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24489         $(SET_LIB_PATH) \
24490         echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24491         for flag in $(EXTRA_TARGET_FLAGS); do \
24492           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24493         done; \
24494         (cd $(TARGET_SUBDIR)/libiberty && \
24495           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24496                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24497                   "RANLIB=$${RANLIB}" \
24498                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24499                   TAGS) \
24500           || exit 1
24501
24502 @endif target-libiberty
24503
24504 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24505 maybe-install-info-target-libiberty:
24506 @if target-libiberty
24507 maybe-install-info-target-libiberty: install-info-target-libiberty
24508
24509 install-info-target-libiberty: \
24510     configure-target-libiberty \
24511     info-target-libiberty 
24512         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24513         r=`${PWD_COMMAND}`; export r; \
24514         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24515         $(SET_LIB_PATH) \
24516         echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24517         for flag in $(EXTRA_TARGET_FLAGS); do \
24518           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24519         done; \
24520         (cd $(TARGET_SUBDIR)/libiberty && \
24521           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24522                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24523                   "RANLIB=$${RANLIB}" \
24524                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24525                   install-info) \
24526           || exit 1
24527
24528 @endif target-libiberty
24529
24530 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24531 maybe-installcheck-target-libiberty:
24532 @if target-libiberty
24533 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24534
24535 installcheck-target-libiberty: \
24536     configure-target-libiberty 
24537         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24538         r=`${PWD_COMMAND}`; export r; \
24539         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24540         $(SET_LIB_PATH) \
24541         echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24542         for flag in $(EXTRA_TARGET_FLAGS); do \
24543           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24544         done; \
24545         (cd $(TARGET_SUBDIR)/libiberty && \
24546           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24547                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24548                   "RANLIB=$${RANLIB}" \
24549                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24550                   installcheck) \
24551           || exit 1
24552
24553 @endif target-libiberty
24554
24555 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24556 maybe-mostlyclean-target-libiberty:
24557 @if target-libiberty
24558 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24559
24560 mostlyclean-target-libiberty: 
24561         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24562         r=`${PWD_COMMAND}`; export r; \
24563         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24564         $(SET_LIB_PATH) \
24565         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24566         for flag in $(EXTRA_TARGET_FLAGS); do \
24567           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24568         done; \
24569         (cd $(TARGET_SUBDIR)/libiberty && \
24570           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24571                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24572                   "RANLIB=$${RANLIB}" \
24573                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24574                   mostlyclean) \
24575           || exit 1
24576
24577 @endif target-libiberty
24578
24579 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24580 maybe-clean-target-libiberty:
24581 @if target-libiberty
24582 maybe-clean-target-libiberty: clean-target-libiberty
24583
24584 clean-target-libiberty: 
24585         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24586         r=`${PWD_COMMAND}`; export r; \
24587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588         $(SET_LIB_PATH) \
24589         echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24590         for flag in $(EXTRA_TARGET_FLAGS); do \
24591           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24592         done; \
24593         (cd $(TARGET_SUBDIR)/libiberty && \
24594           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596                   "RANLIB=$${RANLIB}" \
24597                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24598                   clean) \
24599           || exit 1
24600
24601 @endif target-libiberty
24602
24603 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24604 maybe-distclean-target-libiberty:
24605 @if target-libiberty
24606 maybe-distclean-target-libiberty: distclean-target-libiberty
24607
24608 distclean-target-libiberty: 
24609         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24610         r=`${PWD_COMMAND}`; export r; \
24611         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24612         $(SET_LIB_PATH) \
24613         echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24614         for flag in $(EXTRA_TARGET_FLAGS); do \
24615           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24616         done; \
24617         (cd $(TARGET_SUBDIR)/libiberty && \
24618           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24619                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24620                   "RANLIB=$${RANLIB}" \
24621                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24622                   distclean) \
24623           || exit 1
24624
24625 @endif target-libiberty
24626
24627 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24628 maybe-maintainer-clean-target-libiberty:
24629 @if target-libiberty
24630 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24631
24632 maintainer-clean-target-libiberty: 
24633         @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24634         r=`${PWD_COMMAND}`; export r; \
24635         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24636         $(SET_LIB_PATH) \
24637         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24638         for flag in $(EXTRA_TARGET_FLAGS); do \
24639           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24640         done; \
24641         (cd $(TARGET_SUBDIR)/libiberty && \
24642           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24643                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24644                   "RANLIB=$${RANLIB}" \
24645                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24646                   maintainer-clean) \
24647           || exit 1
24648
24649 @endif target-libiberty
24650
24651
24652 .PHONY: configure-target-gperf maybe-configure-target-gperf
24653 maybe-configure-target-gperf:
24654 @if target-gperf
24655 maybe-configure-target-gperf: configure-target-gperf
24656
24657 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24658 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24659         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24660         rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24661         cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24662
24663 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24664         @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24665         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24666         r=`${PWD_COMMAND}`; export r; \
24667         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24668         $(SET_LIB_PATH) \
24669         AR="$(AR_FOR_TARGET)"; export AR; \
24670         AS="$(AS_FOR_TARGET)"; export AS; \
24671         CC="$(CC_FOR_TARGET)"; export CC; \
24672         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24673         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24674         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24675         CXX="$(CXX_FOR_TARGET)"; export CXX; \
24676         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24677         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24678         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24679         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24680         LD="$(LD_FOR_TARGET)"; export LD; \
24681         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24682         NM="$(NM_FOR_TARGET)"; export NM; \
24683         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24684         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24685         echo Configuring in $(TARGET_SUBDIR)/gperf; \
24686         cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24687         case $(srcdir) in \
24688           /* | [A-Za-z]:[\\/]*) \
24689             topdir=$(srcdir) ;; \
24690           *) \
24691             case "$(TARGET_SUBDIR)" in \
24692               .) topdir="../$(srcdir)" ;; \
24693               *) topdir="../../$(srcdir)" ;; \
24694             esac ;; \
24695         esac; \
24696           srcdiroption="--srcdir=$${topdir}/gperf"; \
24697           libsrcdir="$$s/gperf"; \
24698         rm -f no-such-file || : ; \
24699         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24700           $(TARGET_CONFIGARGS) $${srcdiroption} \
24701           --with-target-subdir="$(TARGET_SUBDIR)" \
24702           || exit 1
24703 @endif target-gperf
24704
24705 .PHONY: all-target-gperf maybe-all-target-gperf
24706 maybe-all-target-gperf:
24707 @if target-gperf
24708 maybe-all-target-gperf: all-target-gperf
24709 all-target-gperf: configure-target-gperf
24710         @r=`${PWD_COMMAND}`; export r; \
24711         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24712         $(SET_LIB_PATH) \
24713         (cd $(TARGET_SUBDIR)/gperf && \
24714           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
24715 @endif target-gperf
24716
24717 .PHONY: check-target-gperf maybe-check-target-gperf
24718 maybe-check-target-gperf:
24719 @if target-gperf
24720 maybe-check-target-gperf: check-target-gperf
24721
24722 check-target-gperf:
24723         @r=`${PWD_COMMAND}`; export r; \
24724         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24725         $(SET_LIB_PATH) \
24726         (cd $(TARGET_SUBDIR)/gperf && \
24727           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
24728
24729 @endif target-gperf
24730
24731 .PHONY: install-target-gperf maybe-install-target-gperf
24732 maybe-install-target-gperf:
24733 @if target-gperf
24734 maybe-install-target-gperf: install-target-gperf
24735
24736 install-target-gperf: installdirs
24737         @r=`${PWD_COMMAND}`; export r; \
24738         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24739         $(SET_LIB_PATH) \
24740         (cd $(TARGET_SUBDIR)/gperf && \
24741           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24742
24743 @endif target-gperf
24744
24745 # Other targets (info, dvi, etc.)
24746
24747 .PHONY: maybe-info-target-gperf info-target-gperf
24748 maybe-info-target-gperf:
24749 @if target-gperf
24750 maybe-info-target-gperf: info-target-gperf
24751
24752 info-target-gperf: \
24753     configure-target-gperf 
24754         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24755         r=`${PWD_COMMAND}`; export r; \
24756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24757         $(SET_LIB_PATH) \
24758         echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24759         for flag in $(EXTRA_TARGET_FLAGS); do \
24760           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24761         done; \
24762         (cd $(TARGET_SUBDIR)/gperf && \
24763           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24764                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24765                   "RANLIB=$${RANLIB}" \
24766                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24767                   info) \
24768           || exit 1
24769
24770 @endif target-gperf
24771
24772 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24773 maybe-dvi-target-gperf:
24774 @if target-gperf
24775 maybe-dvi-target-gperf: dvi-target-gperf
24776
24777 dvi-target-gperf: \
24778     configure-target-gperf 
24779         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24780         r=`${PWD_COMMAND}`; export r; \
24781         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24782         $(SET_LIB_PATH) \
24783         echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24784         for flag in $(EXTRA_TARGET_FLAGS); do \
24785           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24786         done; \
24787         (cd $(TARGET_SUBDIR)/gperf && \
24788           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24789                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24790                   "RANLIB=$${RANLIB}" \
24791                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24792                   dvi) \
24793           || exit 1
24794
24795 @endif target-gperf
24796
24797 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24798 maybe-TAGS-target-gperf:
24799 @if target-gperf
24800 maybe-TAGS-target-gperf: TAGS-target-gperf
24801
24802 TAGS-target-gperf: \
24803     configure-target-gperf 
24804         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24805         r=`${PWD_COMMAND}`; export r; \
24806         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24807         $(SET_LIB_PATH) \
24808         echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
24809         for flag in $(EXTRA_TARGET_FLAGS); do \
24810           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24811         done; \
24812         (cd $(TARGET_SUBDIR)/gperf && \
24813           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815                   "RANLIB=$${RANLIB}" \
24816                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24817                   TAGS) \
24818           || exit 1
24819
24820 @endif target-gperf
24821
24822 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
24823 maybe-install-info-target-gperf:
24824 @if target-gperf
24825 maybe-install-info-target-gperf: install-info-target-gperf
24826
24827 install-info-target-gperf: \
24828     configure-target-gperf \
24829     info-target-gperf 
24830         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24831         r=`${PWD_COMMAND}`; export r; \
24832         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24833         $(SET_LIB_PATH) \
24834         echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
24835         for flag in $(EXTRA_TARGET_FLAGS); do \
24836           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24837         done; \
24838         (cd $(TARGET_SUBDIR)/gperf && \
24839           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24840                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24841                   "RANLIB=$${RANLIB}" \
24842                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24843                   install-info) \
24844           || exit 1
24845
24846 @endif target-gperf
24847
24848 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
24849 maybe-installcheck-target-gperf:
24850 @if target-gperf
24851 maybe-installcheck-target-gperf: installcheck-target-gperf
24852
24853 installcheck-target-gperf: \
24854     configure-target-gperf 
24855         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24856         r=`${PWD_COMMAND}`; export r; \
24857         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24858         $(SET_LIB_PATH) \
24859         echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
24860         for flag in $(EXTRA_TARGET_FLAGS); do \
24861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24862         done; \
24863         (cd $(TARGET_SUBDIR)/gperf && \
24864           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24865                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24866                   "RANLIB=$${RANLIB}" \
24867                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24868                   installcheck) \
24869           || exit 1
24870
24871 @endif target-gperf
24872
24873 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
24874 maybe-mostlyclean-target-gperf:
24875 @if target-gperf
24876 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
24877
24878 mostlyclean-target-gperf: 
24879         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24880         r=`${PWD_COMMAND}`; export r; \
24881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24882         $(SET_LIB_PATH) \
24883         echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
24884         for flag in $(EXTRA_TARGET_FLAGS); do \
24885           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24886         done; \
24887         (cd $(TARGET_SUBDIR)/gperf && \
24888           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24889                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24890                   "RANLIB=$${RANLIB}" \
24891                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24892                   mostlyclean) \
24893           || exit 1
24894
24895 @endif target-gperf
24896
24897 .PHONY: maybe-clean-target-gperf clean-target-gperf
24898 maybe-clean-target-gperf:
24899 @if target-gperf
24900 maybe-clean-target-gperf: clean-target-gperf
24901
24902 clean-target-gperf: 
24903         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24904         r=`${PWD_COMMAND}`; export r; \
24905         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24906         $(SET_LIB_PATH) \
24907         echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
24908         for flag in $(EXTRA_TARGET_FLAGS); do \
24909           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24910         done; \
24911         (cd $(TARGET_SUBDIR)/gperf && \
24912           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24913                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24914                   "RANLIB=$${RANLIB}" \
24915                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24916                   clean) \
24917           || exit 1
24918
24919 @endif target-gperf
24920
24921 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
24922 maybe-distclean-target-gperf:
24923 @if target-gperf
24924 maybe-distclean-target-gperf: distclean-target-gperf
24925
24926 distclean-target-gperf: 
24927         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24928         r=`${PWD_COMMAND}`; export r; \
24929         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24930         $(SET_LIB_PATH) \
24931         echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
24932         for flag in $(EXTRA_TARGET_FLAGS); do \
24933           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24934         done; \
24935         (cd $(TARGET_SUBDIR)/gperf && \
24936           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24937                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24938                   "RANLIB=$${RANLIB}" \
24939                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24940                   distclean) \
24941           || exit 1
24942
24943 @endif target-gperf
24944
24945 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
24946 maybe-maintainer-clean-target-gperf:
24947 @if target-gperf
24948 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
24949
24950 maintainer-clean-target-gperf: 
24951         @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24952         r=`${PWD_COMMAND}`; export r; \
24953         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24954         $(SET_LIB_PATH) \
24955         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
24956         for flag in $(EXTRA_TARGET_FLAGS); do \
24957           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24958         done; \
24959         (cd $(TARGET_SUBDIR)/gperf && \
24960           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24961                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24962                   "RANLIB=$${RANLIB}" \
24963                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24964                   maintainer-clean) \
24965           || exit 1
24966
24967 @endif target-gperf
24968
24969
24970 .PHONY: configure-target-examples maybe-configure-target-examples
24971 maybe-configure-target-examples:
24972 @if target-examples
24973 maybe-configure-target-examples: configure-target-examples
24974
24975 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
24976 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
24977         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
24978         rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
24979         cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
24980
24981 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
24982         @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
24983         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
24984         r=`${PWD_COMMAND}`; export r; \
24985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24986         $(SET_LIB_PATH) \
24987         AR="$(AR_FOR_TARGET)"; export AR; \
24988         AS="$(AS_FOR_TARGET)"; export AS; \
24989         CC="$(CC_FOR_TARGET)"; export CC; \
24990         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24991         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24992         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24993         CXX="$(CXX_FOR_TARGET)"; export CXX; \
24994         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24995         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24996         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24997         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24998         LD="$(LD_FOR_TARGET)"; export LD; \
24999         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25000         NM="$(NM_FOR_TARGET)"; export NM; \
25001         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25002         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25003         echo Configuring in $(TARGET_SUBDIR)/examples; \
25004         cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25005         case $(srcdir) in \
25006           /* | [A-Za-z]:[\\/]*) \
25007             topdir=$(srcdir) ;; \
25008           *) \
25009             case "$(TARGET_SUBDIR)" in \
25010               .) topdir="../$(srcdir)" ;; \
25011               *) topdir="../../$(srcdir)" ;; \
25012             esac ;; \
25013         esac; \
25014           srcdiroption="--srcdir=$${topdir}/examples"; \
25015           libsrcdir="$$s/examples"; \
25016         rm -f no-such-file || : ; \
25017         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25018           $(TARGET_CONFIGARGS) $${srcdiroption} \
25019           --with-target-subdir="$(TARGET_SUBDIR)" \
25020           || exit 1
25021 @endif target-examples
25022
25023 .PHONY: all-target-examples maybe-all-target-examples
25024 maybe-all-target-examples:
25025 @if target-examples
25026 maybe-all-target-examples: all-target-examples
25027 all-target-examples: configure-target-examples
25028         @r=`${PWD_COMMAND}`; export r; \
25029         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25030         $(SET_LIB_PATH) \
25031         (cd $(TARGET_SUBDIR)/examples && \
25032           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
25033 @endif target-examples
25034
25035 .PHONY: check-target-examples maybe-check-target-examples
25036 maybe-check-target-examples:
25037 @if target-examples
25038 maybe-check-target-examples: check-target-examples
25039
25040 # Dummy target for uncheckable module.
25041 check-target-examples:
25042
25043 @endif target-examples
25044
25045 .PHONY: install-target-examples maybe-install-target-examples
25046 maybe-install-target-examples:
25047 @if target-examples
25048 maybe-install-target-examples: install-target-examples
25049
25050 # Dummy target for uninstallable.
25051 install-target-examples:
25052
25053 @endif target-examples
25054
25055 # Other targets (info, dvi, etc.)
25056
25057 .PHONY: maybe-info-target-examples info-target-examples
25058 maybe-info-target-examples:
25059 @if target-examples
25060 maybe-info-target-examples: info-target-examples
25061
25062 info-target-examples: \
25063     configure-target-examples 
25064         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25065         r=`${PWD_COMMAND}`; export r; \
25066         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067         $(SET_LIB_PATH) \
25068         echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25069         for flag in $(EXTRA_TARGET_FLAGS); do \
25070           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25071         done; \
25072         (cd $(TARGET_SUBDIR)/examples && \
25073           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25074                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25075                   "RANLIB=$${RANLIB}" \
25076                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25077                   info) \
25078           || exit 1
25079
25080 @endif target-examples
25081
25082 .PHONY: maybe-dvi-target-examples dvi-target-examples
25083 maybe-dvi-target-examples:
25084 @if target-examples
25085 maybe-dvi-target-examples: dvi-target-examples
25086
25087 dvi-target-examples: \
25088     configure-target-examples 
25089         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25090         r=`${PWD_COMMAND}`; export r; \
25091         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25092         $(SET_LIB_PATH) \
25093         echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25094         for flag in $(EXTRA_TARGET_FLAGS); do \
25095           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25096         done; \
25097         (cd $(TARGET_SUBDIR)/examples && \
25098           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25099                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25100                   "RANLIB=$${RANLIB}" \
25101                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25102                   dvi) \
25103           || exit 1
25104
25105 @endif target-examples
25106
25107 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25108 maybe-TAGS-target-examples:
25109 @if target-examples
25110 maybe-TAGS-target-examples: TAGS-target-examples
25111
25112 TAGS-target-examples: \
25113     configure-target-examples 
25114         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25115         r=`${PWD_COMMAND}`; export r; \
25116         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25117         $(SET_LIB_PATH) \
25118         echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25119         for flag in $(EXTRA_TARGET_FLAGS); do \
25120           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25121         done; \
25122         (cd $(TARGET_SUBDIR)/examples && \
25123           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25124                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25125                   "RANLIB=$${RANLIB}" \
25126                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25127                   TAGS) \
25128           || exit 1
25129
25130 @endif target-examples
25131
25132 .PHONY: maybe-install-info-target-examples install-info-target-examples
25133 maybe-install-info-target-examples:
25134 @if target-examples
25135 maybe-install-info-target-examples: install-info-target-examples
25136
25137 install-info-target-examples: \
25138     configure-target-examples \
25139     info-target-examples 
25140         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25141         r=`${PWD_COMMAND}`; export r; \
25142         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25143         $(SET_LIB_PATH) \
25144         echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25145         for flag in $(EXTRA_TARGET_FLAGS); do \
25146           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25147         done; \
25148         (cd $(TARGET_SUBDIR)/examples && \
25149           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25150                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25151                   "RANLIB=$${RANLIB}" \
25152                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25153                   install-info) \
25154           || exit 1
25155
25156 @endif target-examples
25157
25158 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25159 maybe-installcheck-target-examples:
25160 @if target-examples
25161 maybe-installcheck-target-examples: installcheck-target-examples
25162
25163 installcheck-target-examples: \
25164     configure-target-examples 
25165         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25166         r=`${PWD_COMMAND}`; export r; \
25167         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25168         $(SET_LIB_PATH) \
25169         echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25170         for flag in $(EXTRA_TARGET_FLAGS); do \
25171           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25172         done; \
25173         (cd $(TARGET_SUBDIR)/examples && \
25174           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25175                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25176                   "RANLIB=$${RANLIB}" \
25177                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25178                   installcheck) \
25179           || exit 1
25180
25181 @endif target-examples
25182
25183 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25184 maybe-mostlyclean-target-examples:
25185 @if target-examples
25186 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25187
25188 mostlyclean-target-examples: 
25189         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25190         r=`${PWD_COMMAND}`; export r; \
25191         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25192         $(SET_LIB_PATH) \
25193         echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25194         for flag in $(EXTRA_TARGET_FLAGS); do \
25195           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25196         done; \
25197         (cd $(TARGET_SUBDIR)/examples && \
25198           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25199                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25200                   "RANLIB=$${RANLIB}" \
25201                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25202                   mostlyclean) \
25203           || exit 1
25204
25205 @endif target-examples
25206
25207 .PHONY: maybe-clean-target-examples clean-target-examples
25208 maybe-clean-target-examples:
25209 @if target-examples
25210 maybe-clean-target-examples: clean-target-examples
25211
25212 clean-target-examples: 
25213         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25214         r=`${PWD_COMMAND}`; export r; \
25215         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25216         $(SET_LIB_PATH) \
25217         echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25218         for flag in $(EXTRA_TARGET_FLAGS); do \
25219           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25220         done; \
25221         (cd $(TARGET_SUBDIR)/examples && \
25222           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25223                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25224                   "RANLIB=$${RANLIB}" \
25225                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25226                   clean) \
25227           || exit 1
25228
25229 @endif target-examples
25230
25231 .PHONY: maybe-distclean-target-examples distclean-target-examples
25232 maybe-distclean-target-examples:
25233 @if target-examples
25234 maybe-distclean-target-examples: distclean-target-examples
25235
25236 distclean-target-examples: 
25237         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25238         r=`${PWD_COMMAND}`; export r; \
25239         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25240         $(SET_LIB_PATH) \
25241         echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25242         for flag in $(EXTRA_TARGET_FLAGS); do \
25243           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25244         done; \
25245         (cd $(TARGET_SUBDIR)/examples && \
25246           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25247                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25248                   "RANLIB=$${RANLIB}" \
25249                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25250                   distclean) \
25251           || exit 1
25252
25253 @endif target-examples
25254
25255 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25256 maybe-maintainer-clean-target-examples:
25257 @if target-examples
25258 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25259
25260 maintainer-clean-target-examples: 
25261         @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25262         r=`${PWD_COMMAND}`; export r; \
25263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25264         $(SET_LIB_PATH) \
25265         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25266         for flag in $(EXTRA_TARGET_FLAGS); do \
25267           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25268         done; \
25269         (cd $(TARGET_SUBDIR)/examples && \
25270           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25271                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25272                   "RANLIB=$${RANLIB}" \
25273                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25274                   maintainer-clean) \
25275           || exit 1
25276
25277 @endif target-examples
25278
25279
25280 .PHONY: configure-target-libffi maybe-configure-target-libffi
25281 maybe-configure-target-libffi:
25282 @if target-libffi
25283 maybe-configure-target-libffi: configure-target-libffi
25284
25285 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25286 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25287         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25288         rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25289         cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25290
25291 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25292         @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25293         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25294         r=`${PWD_COMMAND}`; export r; \
25295         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25296         $(SET_LIB_PATH) \
25297         AR="$(AR_FOR_TARGET)"; export AR; \
25298         AS="$(AS_FOR_TARGET)"; export AS; \
25299         CC="$(CC_FOR_TARGET)"; export CC; \
25300         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
25301         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
25302         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
25303         CXX="$(CXX_FOR_TARGET)"; export CXX; \
25304         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
25305         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
25306         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
25307         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
25308         LD="$(LD_FOR_TARGET)"; export LD; \
25309         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25310         NM="$(NM_FOR_TARGET)"; export NM; \
25311         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25312         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25313         echo Configuring in $(TARGET_SUBDIR)/libffi; \
25314         cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25315         case $(srcdir) in \
25316           /* | [A-Za-z]:[\\/]*) \
25317             topdir=$(srcdir) ;; \
25318           *) \
25319             case "$(TARGET_SUBDIR)" in \
25320               .) topdir="../$(srcdir)" ;; \
25321               *) topdir="../../$(srcdir)" ;; \
25322             esac ;; \
25323         esac; \
25324           srcdiroption="--srcdir=$${topdir}/libffi"; \
25325           libsrcdir="$$s/libffi"; \
25326         rm -f no-such-file || : ; \
25327         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25328           $(TARGET_CONFIGARGS) $${srcdiroption} \
25329           --with-target-subdir="$(TARGET_SUBDIR)" \
25330           || exit 1
25331 @endif target-libffi
25332
25333 .PHONY: all-target-libffi maybe-all-target-libffi
25334 maybe-all-target-libffi:
25335 @if target-libffi
25336 maybe-all-target-libffi: all-target-libffi
25337 all-target-libffi: configure-target-libffi
25338         @r=`${PWD_COMMAND}`; export r; \
25339         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25340         $(SET_LIB_PATH) \
25341         (cd $(TARGET_SUBDIR)/libffi && \
25342           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
25343 @endif target-libffi
25344
25345 .PHONY: check-target-libffi maybe-check-target-libffi
25346 maybe-check-target-libffi:
25347 @if target-libffi
25348 maybe-check-target-libffi: check-target-libffi
25349
25350 check-target-libffi:
25351         @r=`${PWD_COMMAND}`; export r; \
25352         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25353         $(SET_LIB_PATH) \
25354         (cd $(TARGET_SUBDIR)/libffi && \
25355           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
25356
25357 @endif target-libffi
25358
25359 .PHONY: install-target-libffi maybe-install-target-libffi
25360 maybe-install-target-libffi:
25361 @if target-libffi
25362 maybe-install-target-libffi: install-target-libffi
25363
25364 install-target-libffi: installdirs
25365         @r=`${PWD_COMMAND}`; export r; \
25366         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25367         $(SET_LIB_PATH) \
25368         (cd $(TARGET_SUBDIR)/libffi && \
25369           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25370
25371 @endif target-libffi
25372
25373 # Other targets (info, dvi, etc.)
25374
25375 .PHONY: maybe-info-target-libffi info-target-libffi
25376 maybe-info-target-libffi:
25377 @if target-libffi
25378 maybe-info-target-libffi: info-target-libffi
25379
25380 info-target-libffi: \
25381     configure-target-libffi 
25382         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25383         r=`${PWD_COMMAND}`; export r; \
25384         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385         $(SET_LIB_PATH) \
25386         echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25387         for flag in $(EXTRA_TARGET_FLAGS); do \
25388           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25389         done; \
25390         (cd $(TARGET_SUBDIR)/libffi && \
25391           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25392                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25393                   "RANLIB=$${RANLIB}" \
25394                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25395                   info) \
25396           || exit 1
25397
25398 @endif target-libffi
25399
25400 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25401 maybe-dvi-target-libffi:
25402 @if target-libffi
25403 maybe-dvi-target-libffi: dvi-target-libffi
25404
25405 dvi-target-libffi: \
25406     configure-target-libffi 
25407         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25408         r=`${PWD_COMMAND}`; export r; \
25409         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25410         $(SET_LIB_PATH) \
25411         echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25412         for flag in $(EXTRA_TARGET_FLAGS); do \
25413           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25414         done; \
25415         (cd $(TARGET_SUBDIR)/libffi && \
25416           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25417                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25418                   "RANLIB=$${RANLIB}" \
25419                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25420                   dvi) \
25421           || exit 1
25422
25423 @endif target-libffi
25424
25425 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25426 maybe-TAGS-target-libffi:
25427 @if target-libffi
25428 maybe-TAGS-target-libffi: TAGS-target-libffi
25429
25430 TAGS-target-libffi: \
25431     configure-target-libffi 
25432         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25433         r=`${PWD_COMMAND}`; export r; \
25434         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25435         $(SET_LIB_PATH) \
25436         echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25437         for flag in $(EXTRA_TARGET_FLAGS); do \
25438           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25439         done; \
25440         (cd $(TARGET_SUBDIR)/libffi && \
25441           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25442                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25443                   "RANLIB=$${RANLIB}" \
25444                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25445                   TAGS) \
25446           || exit 1
25447
25448 @endif target-libffi
25449
25450 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25451 maybe-install-info-target-libffi:
25452 @if target-libffi
25453 maybe-install-info-target-libffi: install-info-target-libffi
25454
25455 install-info-target-libffi: \
25456     configure-target-libffi \
25457     info-target-libffi 
25458         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25459         r=`${PWD_COMMAND}`; export r; \
25460         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25461         $(SET_LIB_PATH) \
25462         echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25463         for flag in $(EXTRA_TARGET_FLAGS); do \
25464           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25465         done; \
25466         (cd $(TARGET_SUBDIR)/libffi && \
25467           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25468                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25469                   "RANLIB=$${RANLIB}" \
25470                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25471                   install-info) \
25472           || exit 1
25473
25474 @endif target-libffi
25475
25476 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25477 maybe-installcheck-target-libffi:
25478 @if target-libffi
25479 maybe-installcheck-target-libffi: installcheck-target-libffi
25480
25481 installcheck-target-libffi: \
25482     configure-target-libffi 
25483         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25484         r=`${PWD_COMMAND}`; export r; \
25485         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25486         $(SET_LIB_PATH) \
25487         echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25488         for flag in $(EXTRA_TARGET_FLAGS); do \
25489           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25490         done; \
25491         (cd $(TARGET_SUBDIR)/libffi && \
25492           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25493                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25494                   "RANLIB=$${RANLIB}" \
25495                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25496                   installcheck) \
25497           || exit 1
25498
25499 @endif target-libffi
25500
25501 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25502 maybe-mostlyclean-target-libffi:
25503 @if target-libffi
25504 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25505
25506 mostlyclean-target-libffi: 
25507         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25508         r=`${PWD_COMMAND}`; export r; \
25509         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25510         $(SET_LIB_PATH) \
25511         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25512         for flag in $(EXTRA_TARGET_FLAGS); do \
25513           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25514         done; \
25515         (cd $(TARGET_SUBDIR)/libffi && \
25516           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25517                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25518                   "RANLIB=$${RANLIB}" \
25519                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25520                   mostlyclean) \
25521           || exit 1
25522
25523 @endif target-libffi
25524
25525 .PHONY: maybe-clean-target-libffi clean-target-libffi
25526 maybe-clean-target-libffi:
25527 @if target-libffi
25528 maybe-clean-target-libffi: clean-target-libffi
25529
25530 clean-target-libffi: 
25531         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25532         r=`${PWD_COMMAND}`; export r; \
25533         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534         $(SET_LIB_PATH) \
25535         echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25536         for flag in $(EXTRA_TARGET_FLAGS); do \
25537           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25538         done; \
25539         (cd $(TARGET_SUBDIR)/libffi && \
25540           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25541                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25542                   "RANLIB=$${RANLIB}" \
25543                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25544                   clean) \
25545           || exit 1
25546
25547 @endif target-libffi
25548
25549 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25550 maybe-distclean-target-libffi:
25551 @if target-libffi
25552 maybe-distclean-target-libffi: distclean-target-libffi
25553
25554 distclean-target-libffi: 
25555         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25556         r=`${PWD_COMMAND}`; export r; \
25557         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25558         $(SET_LIB_PATH) \
25559         echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25560         for flag in $(EXTRA_TARGET_FLAGS); do \
25561           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25562         done; \
25563         (cd $(TARGET_SUBDIR)/libffi && \
25564           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25565                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25566                   "RANLIB=$${RANLIB}" \
25567                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25568                   distclean) \
25569           || exit 1
25570
25571 @endif target-libffi
25572
25573 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25574 maybe-maintainer-clean-target-libffi:
25575 @if target-libffi
25576 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25577
25578 maintainer-clean-target-libffi: 
25579         @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25580         r=`${PWD_COMMAND}`; export r; \
25581         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25582         $(SET_LIB_PATH) \
25583         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25584         for flag in $(EXTRA_TARGET_FLAGS); do \
25585           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25586         done; \
25587         (cd $(TARGET_SUBDIR)/libffi && \
25588           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25589                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25590                   "RANLIB=$${RANLIB}" \
25591                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25592                   maintainer-clean) \
25593           || exit 1
25594
25595 @endif target-libffi
25596
25597
25598 .PHONY: configure-target-libjava maybe-configure-target-libjava
25599 maybe-configure-target-libjava:
25600 @if target-libjava
25601 maybe-configure-target-libjava: configure-target-libjava
25602
25603 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25604 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25605         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25606         rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25607         cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25608
25609 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25610         @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25611         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25612         r=`${PWD_COMMAND}`; export r; \
25613         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25614         $(SET_LIB_PATH) \
25615         AR="$(AR_FOR_TARGET)"; export AR; \
25616         AS="$(AS_FOR_TARGET)"; export AS; \
25617         CC="$(CC_FOR_TARGET)"; export CC; \
25618         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
25619         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
25620         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
25621         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
25622         CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
25623         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
25624         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
25625         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
25626         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
25627         LD="$(LD_FOR_TARGET)"; export LD; \
25628         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25629         NM="$(NM_FOR_TARGET)"; export NM; \
25630         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25631         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25632         echo Configuring in $(TARGET_SUBDIR)/libjava; \
25633         cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25634         case $(srcdir) in \
25635           /* | [A-Za-z]:[\\/]*) \
25636             topdir=$(srcdir) ;; \
25637           *) \
25638             case "$(TARGET_SUBDIR)" in \
25639               .) topdir="../$(srcdir)" ;; \
25640               *) topdir="../../$(srcdir)" ;; \
25641             esac ;; \
25642         esac; \
25643           srcdiroption="--srcdir=$${topdir}/libjava"; \
25644           libsrcdir="$$s/libjava"; \
25645         rm -f no-such-file || : ; \
25646         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25647           $(TARGET_CONFIGARGS) $${srcdiroption} \
25648           --with-target-subdir="$(TARGET_SUBDIR)" \
25649           || exit 1
25650 @endif target-libjava
25651
25652 .PHONY: all-target-libjava maybe-all-target-libjava
25653 maybe-all-target-libjava:
25654 @if target-libjava
25655 maybe-all-target-libjava: all-target-libjava
25656 all-target-libjava: configure-target-libjava
25657         @r=`${PWD_COMMAND}`; export r; \
25658         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25659         $(SET_LIB_PATH) \
25660         (cd $(TARGET_SUBDIR)/libjava && \
25661           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  all)
25662 @endif target-libjava
25663
25664 .PHONY: check-target-libjava maybe-check-target-libjava
25665 maybe-check-target-libjava:
25666 @if target-libjava
25667 maybe-check-target-libjava: check-target-libjava
25668
25669 check-target-libjava:
25670         @r=`${PWD_COMMAND}`; export r; \
25671         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25672         $(SET_LIB_PATH) \
25673         (cd $(TARGET_SUBDIR)/libjava && \
25674           $(MAKE) $(TARGET_FLAGS_TO_PASS)  'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'  check)
25675
25676 @endif target-libjava
25677
25678 .PHONY: install-target-libjava maybe-install-target-libjava
25679 maybe-install-target-libjava:
25680 @if target-libjava
25681 maybe-install-target-libjava: install-target-libjava
25682
25683 install-target-libjava: installdirs
25684         @r=`${PWD_COMMAND}`; export r; \
25685         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25686         $(SET_LIB_PATH) \
25687         (cd $(TARGET_SUBDIR)/libjava && \
25688           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25689
25690 @endif target-libjava
25691
25692 # Other targets (info, dvi, etc.)
25693
25694 .PHONY: maybe-info-target-libjava info-target-libjava
25695 maybe-info-target-libjava:
25696 @if target-libjava
25697 maybe-info-target-libjava: info-target-libjava
25698
25699 info-target-libjava: \
25700     configure-target-libjava 
25701         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25702         r=`${PWD_COMMAND}`; export r; \
25703         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704         $(SET_LIB_PATH) \
25705         echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25706         for flag in $(EXTRA_TARGET_FLAGS); do \
25707           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25708         done; \
25709         (cd $(TARGET_SUBDIR)/libjava && \
25710           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25711                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25712                   "RANLIB=$${RANLIB}" \
25713                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25714                   info) \
25715           || exit 1
25716
25717 @endif target-libjava
25718
25719 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25720 maybe-dvi-target-libjava:
25721 @if target-libjava
25722 maybe-dvi-target-libjava: dvi-target-libjava
25723
25724 dvi-target-libjava: \
25725     configure-target-libjava 
25726         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25727         r=`${PWD_COMMAND}`; export r; \
25728         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25729         $(SET_LIB_PATH) \
25730         echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25731         for flag in $(EXTRA_TARGET_FLAGS); do \
25732           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25733         done; \
25734         (cd $(TARGET_SUBDIR)/libjava && \
25735           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25736                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25737                   "RANLIB=$${RANLIB}" \
25738                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25739                   dvi) \
25740           || exit 1
25741
25742 @endif target-libjava
25743
25744 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25745 maybe-TAGS-target-libjava:
25746 @if target-libjava
25747 maybe-TAGS-target-libjava: TAGS-target-libjava
25748
25749 TAGS-target-libjava: \
25750     configure-target-libjava 
25751         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25752         r=`${PWD_COMMAND}`; export r; \
25753         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25754         $(SET_LIB_PATH) \
25755         echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25756         for flag in $(EXTRA_TARGET_FLAGS); do \
25757           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25758         done; \
25759         (cd $(TARGET_SUBDIR)/libjava && \
25760           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25761                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25762                   "RANLIB=$${RANLIB}" \
25763                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25764                   TAGS) \
25765           || exit 1
25766
25767 @endif target-libjava
25768
25769 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25770 maybe-install-info-target-libjava:
25771 @if target-libjava
25772 maybe-install-info-target-libjava: install-info-target-libjava
25773
25774 install-info-target-libjava: \
25775     configure-target-libjava \
25776     info-target-libjava 
25777         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25778         r=`${PWD_COMMAND}`; export r; \
25779         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25780         $(SET_LIB_PATH) \
25781         echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25782         for flag in $(EXTRA_TARGET_FLAGS); do \
25783           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25784         done; \
25785         (cd $(TARGET_SUBDIR)/libjava && \
25786           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25787                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25788                   "RANLIB=$${RANLIB}" \
25789                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25790                   install-info) \
25791           || exit 1
25792
25793 @endif target-libjava
25794
25795 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25796 maybe-installcheck-target-libjava:
25797 @if target-libjava
25798 maybe-installcheck-target-libjava: installcheck-target-libjava
25799
25800 installcheck-target-libjava: \
25801     configure-target-libjava 
25802         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25803         r=`${PWD_COMMAND}`; export r; \
25804         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25805         $(SET_LIB_PATH) \
25806         echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
25807         for flag in $(EXTRA_TARGET_FLAGS); do \
25808           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25809         done; \
25810         (cd $(TARGET_SUBDIR)/libjava && \
25811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25813                   "RANLIB=$${RANLIB}" \
25814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25815                   installcheck) \
25816           || exit 1
25817
25818 @endif target-libjava
25819
25820 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
25821 maybe-mostlyclean-target-libjava:
25822 @if target-libjava
25823 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
25824
25825 mostlyclean-target-libjava: 
25826         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25827         r=`${PWD_COMMAND}`; export r; \
25828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25829         $(SET_LIB_PATH) \
25830         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
25831         for flag in $(EXTRA_TARGET_FLAGS); do \
25832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25833         done; \
25834         (cd $(TARGET_SUBDIR)/libjava && \
25835           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25836                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25837                   "RANLIB=$${RANLIB}" \
25838                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25839                   mostlyclean) \
25840           || exit 1
25841
25842 @endif target-libjava
25843
25844 .PHONY: maybe-clean-target-libjava clean-target-libjava
25845 maybe-clean-target-libjava:
25846 @if target-libjava
25847 maybe-clean-target-libjava: clean-target-libjava
25848
25849 clean-target-libjava: 
25850         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25851         r=`${PWD_COMMAND}`; export r; \
25852         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25853         $(SET_LIB_PATH) \
25854         echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
25855         for flag in $(EXTRA_TARGET_FLAGS); do \
25856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25857         done; \
25858         (cd $(TARGET_SUBDIR)/libjava && \
25859           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25860                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25861                   "RANLIB=$${RANLIB}" \
25862                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25863                   clean) \
25864           || exit 1
25865
25866 @endif target-libjava
25867
25868 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
25869 maybe-distclean-target-libjava:
25870 @if target-libjava
25871 maybe-distclean-target-libjava: distclean-target-libjava
25872
25873 distclean-target-libjava: 
25874         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25875         r=`${PWD_COMMAND}`; export r; \
25876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25877         $(SET_LIB_PATH) \
25878         echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
25879         for flag in $(EXTRA_TARGET_FLAGS); do \
25880           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25881         done; \
25882         (cd $(TARGET_SUBDIR)/libjava && \
25883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25885                   "RANLIB=$${RANLIB}" \
25886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25887                   distclean) \
25888           || exit 1
25889
25890 @endif target-libjava
25891
25892 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
25893 maybe-maintainer-clean-target-libjava:
25894 @if target-libjava
25895 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
25896
25897 maintainer-clean-target-libjava: 
25898         @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25899         r=`${PWD_COMMAND}`; export r; \
25900         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25901         $(SET_LIB_PATH) \
25902         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
25903         for flag in $(EXTRA_TARGET_FLAGS); do \
25904           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25905         done; \
25906         (cd $(TARGET_SUBDIR)/libjava && \
25907           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25908                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25909                   "RANLIB=$${RANLIB}" \
25910                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25911                   maintainer-clean) \
25912           || exit 1
25913
25914 @endif target-libjava
25915
25916
25917 .PHONY: configure-target-zlib maybe-configure-target-zlib
25918 maybe-configure-target-zlib:
25919 @if target-zlib
25920 maybe-configure-target-zlib: configure-target-zlib
25921
25922 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
25923 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
25924         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
25925         rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
25926         cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
25927
25928 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
25929         @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
25930         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
25931         r=`${PWD_COMMAND}`; export r; \
25932         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25933         $(SET_LIB_PATH) \
25934         AR="$(AR_FOR_TARGET)"; export AR; \
25935         AS="$(AS_FOR_TARGET)"; export AS; \
25936         CC="$(CC_FOR_TARGET)"; export CC; \
25937         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
25938         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
25939         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
25940         CXX="$(CXX_FOR_TARGET)"; export CXX; \
25941         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
25942         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
25943         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
25944         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
25945         LD="$(LD_FOR_TARGET)"; export LD; \
25946         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25947         NM="$(NM_FOR_TARGET)"; export NM; \
25948         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25949         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25950         echo Configuring in $(TARGET_SUBDIR)/zlib; \
25951         cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
25952         case $(srcdir) in \
25953           /* | [A-Za-z]:[\\/]*) \
25954             topdir=$(srcdir) ;; \
25955           *) \
25956             case "$(TARGET_SUBDIR)" in \
25957               .) topdir="../$(srcdir)" ;; \
25958               *) topdir="../../$(srcdir)" ;; \
25959             esac ;; \
25960         esac; \
25961         if [ "$(srcdir)" = "." ] ; then \
25962           if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25963             if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
25964               if [ -f Makefile ]; then \
25965                 if $(MAKE) distclean; then \
25966                   true; \
25967                 else \
25968                   exit 1; \
25969                 fi; \
25970               else \
25971                 true; \
25972               fi; \
25973             else \
25974               exit 1; \
25975             fi; \
25976           else \
25977             true; \
25978           fi; \
25979           srcdiroption="--srcdir=."; \
25980           libsrcdir="."; \
25981         else \
25982           srcdiroption="--srcdir=$${topdir}/zlib"; \
25983           libsrcdir="$$s/zlib"; \
25984         fi; \
25985         rm -f no-such-file || : ; \
25986         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25987           $(TARGET_CONFIGARGS) $${srcdiroption} \
25988           --with-target-subdir="$(TARGET_SUBDIR)" \
25989           || exit 1
25990 @endif target-zlib
25991
25992 .PHONY: all-target-zlib maybe-all-target-zlib
25993 maybe-all-target-zlib:
25994 @if target-zlib
25995 maybe-all-target-zlib: all-target-zlib
25996 all-target-zlib: configure-target-zlib
25997         @r=`${PWD_COMMAND}`; export r; \
25998         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25999         $(SET_LIB_PATH) \
26000         (cd $(TARGET_SUBDIR)/zlib && \
26001           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
26002 @endif target-zlib
26003
26004 .PHONY: check-target-zlib maybe-check-target-zlib
26005 maybe-check-target-zlib:
26006 @if target-zlib
26007 maybe-check-target-zlib: check-target-zlib
26008
26009 check-target-zlib:
26010         @r=`${PWD_COMMAND}`; export r; \
26011         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012         $(SET_LIB_PATH) \
26013         (cd $(TARGET_SUBDIR)/zlib && \
26014           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
26015
26016 @endif target-zlib
26017
26018 .PHONY: install-target-zlib maybe-install-target-zlib
26019 maybe-install-target-zlib:
26020 @if target-zlib
26021 maybe-install-target-zlib: install-target-zlib
26022
26023 install-target-zlib: installdirs
26024         @r=`${PWD_COMMAND}`; export r; \
26025         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26026         $(SET_LIB_PATH) \
26027         (cd $(TARGET_SUBDIR)/zlib && \
26028           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26029
26030 @endif target-zlib
26031
26032 # Other targets (info, dvi, etc.)
26033
26034 .PHONY: maybe-info-target-zlib info-target-zlib
26035 maybe-info-target-zlib:
26036 @if target-zlib
26037 maybe-info-target-zlib: info-target-zlib
26038
26039 info-target-zlib: \
26040     configure-target-zlib 
26041         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26042         r=`${PWD_COMMAND}`; export r; \
26043         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26044         $(SET_LIB_PATH) \
26045         echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26046         for flag in $(EXTRA_TARGET_FLAGS); do \
26047           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26048         done; \
26049         (cd $(TARGET_SUBDIR)/zlib && \
26050           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26051                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26052                   "RANLIB=$${RANLIB}" \
26053                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26054                   info) \
26055           || exit 1
26056
26057 @endif target-zlib
26058
26059 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26060 maybe-dvi-target-zlib:
26061 @if target-zlib
26062 maybe-dvi-target-zlib: dvi-target-zlib
26063
26064 dvi-target-zlib: \
26065     configure-target-zlib 
26066         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26067         r=`${PWD_COMMAND}`; export r; \
26068         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26069         $(SET_LIB_PATH) \
26070         echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26071         for flag in $(EXTRA_TARGET_FLAGS); do \
26072           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26073         done; \
26074         (cd $(TARGET_SUBDIR)/zlib && \
26075           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26076                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26077                   "RANLIB=$${RANLIB}" \
26078                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26079                   dvi) \
26080           || exit 1
26081
26082 @endif target-zlib
26083
26084 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26085 maybe-TAGS-target-zlib:
26086 @if target-zlib
26087 maybe-TAGS-target-zlib: TAGS-target-zlib
26088
26089 TAGS-target-zlib: \
26090     configure-target-zlib 
26091         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26092         r=`${PWD_COMMAND}`; export r; \
26093         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26094         $(SET_LIB_PATH) \
26095         echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26096         for flag in $(EXTRA_TARGET_FLAGS); do \
26097           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26098         done; \
26099         (cd $(TARGET_SUBDIR)/zlib && \
26100           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26101                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26102                   "RANLIB=$${RANLIB}" \
26103                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26104                   TAGS) \
26105           || exit 1
26106
26107 @endif target-zlib
26108
26109 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26110 maybe-install-info-target-zlib:
26111 @if target-zlib
26112 maybe-install-info-target-zlib: install-info-target-zlib
26113
26114 install-info-target-zlib: \
26115     configure-target-zlib \
26116     info-target-zlib 
26117         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26118         r=`${PWD_COMMAND}`; export r; \
26119         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26120         $(SET_LIB_PATH) \
26121         echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26122         for flag in $(EXTRA_TARGET_FLAGS); do \
26123           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26124         done; \
26125         (cd $(TARGET_SUBDIR)/zlib && \
26126           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26127                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26128                   "RANLIB=$${RANLIB}" \
26129                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26130                   install-info) \
26131           || exit 1
26132
26133 @endif target-zlib
26134
26135 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26136 maybe-installcheck-target-zlib:
26137 @if target-zlib
26138 maybe-installcheck-target-zlib: installcheck-target-zlib
26139
26140 installcheck-target-zlib: \
26141     configure-target-zlib 
26142         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26143         r=`${PWD_COMMAND}`; export r; \
26144         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26145         $(SET_LIB_PATH) \
26146         echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26147         for flag in $(EXTRA_TARGET_FLAGS); do \
26148           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26149         done; \
26150         (cd $(TARGET_SUBDIR)/zlib && \
26151           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26152                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26153                   "RANLIB=$${RANLIB}" \
26154                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26155                   installcheck) \
26156           || exit 1
26157
26158 @endif target-zlib
26159
26160 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26161 maybe-mostlyclean-target-zlib:
26162 @if target-zlib
26163 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26164
26165 mostlyclean-target-zlib: 
26166         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26167         r=`${PWD_COMMAND}`; export r; \
26168         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26169         $(SET_LIB_PATH) \
26170         echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26171         for flag in $(EXTRA_TARGET_FLAGS); do \
26172           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26173         done; \
26174         (cd $(TARGET_SUBDIR)/zlib && \
26175           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177                   "RANLIB=$${RANLIB}" \
26178                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26179                   mostlyclean) \
26180           || exit 1
26181
26182 @endif target-zlib
26183
26184 .PHONY: maybe-clean-target-zlib clean-target-zlib
26185 maybe-clean-target-zlib:
26186 @if target-zlib
26187 maybe-clean-target-zlib: clean-target-zlib
26188
26189 clean-target-zlib: 
26190         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26191         r=`${PWD_COMMAND}`; export r; \
26192         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26193         $(SET_LIB_PATH) \
26194         echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26195         for flag in $(EXTRA_TARGET_FLAGS); do \
26196           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26197         done; \
26198         (cd $(TARGET_SUBDIR)/zlib && \
26199           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26200                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26201                   "RANLIB=$${RANLIB}" \
26202                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26203                   clean) \
26204           || exit 1
26205
26206 @endif target-zlib
26207
26208 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26209 maybe-distclean-target-zlib:
26210 @if target-zlib
26211 maybe-distclean-target-zlib: distclean-target-zlib
26212
26213 distclean-target-zlib: 
26214         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26215         r=`${PWD_COMMAND}`; export r; \
26216         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26217         $(SET_LIB_PATH) \
26218         echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26219         for flag in $(EXTRA_TARGET_FLAGS); do \
26220           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26221         done; \
26222         (cd $(TARGET_SUBDIR)/zlib && \
26223           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26224                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26225                   "RANLIB=$${RANLIB}" \
26226                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26227                   distclean) \
26228           || exit 1
26229
26230 @endif target-zlib
26231
26232 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26233 maybe-maintainer-clean-target-zlib:
26234 @if target-zlib
26235 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26236
26237 maintainer-clean-target-zlib: 
26238         @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26239         r=`${PWD_COMMAND}`; export r; \
26240         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241         $(SET_LIB_PATH) \
26242         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26243         for flag in $(EXTRA_TARGET_FLAGS); do \
26244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26245         done; \
26246         (cd $(TARGET_SUBDIR)/zlib && \
26247           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26248                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26249                   "RANLIB=$${RANLIB}" \
26250                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26251                   maintainer-clean) \
26252           || exit 1
26253
26254 @endif target-zlib
26255
26256
26257 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26258 maybe-configure-target-boehm-gc:
26259 @if target-boehm-gc
26260 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26261
26262 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26263 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26264         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26265         rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26266         cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26267
26268 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26269         @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26270         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26271         r=`${PWD_COMMAND}`; export r; \
26272         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26273         $(SET_LIB_PATH) \
26274         AR="$(AR_FOR_TARGET)"; export AR; \
26275         AS="$(AS_FOR_TARGET)"; export AS; \
26276         CC="$(CC_FOR_TARGET)"; export CC; \
26277         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
26278         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
26279         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
26280         CXX="$(CXX_FOR_TARGET)"; export CXX; \
26281         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
26282         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
26283         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
26284         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
26285         LD="$(LD_FOR_TARGET)"; export LD; \
26286         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
26287         NM="$(NM_FOR_TARGET)"; export NM; \
26288         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
26289         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
26290         echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26291         cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26292         case $(srcdir) in \
26293           /* | [A-Za-z]:[\\/]*) \
26294             topdir=$(srcdir) ;; \
26295           *) \
26296             case "$(TARGET_SUBDIR)" in \
26297               .) topdir="../$(srcdir)" ;; \
26298               *) topdir="../../$(srcdir)" ;; \
26299             esac ;; \
26300         esac; \
26301           srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26302           libsrcdir="$$s/boehm-gc"; \
26303         rm -f no-such-file || : ; \
26304         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26305           $(TARGET_CONFIGARGS) $${srcdiroption} \
26306           --with-target-subdir="$(TARGET_SUBDIR)" \
26307           || exit 1
26308 @endif target-boehm-gc
26309
26310 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26311 maybe-all-target-boehm-gc:
26312 @if target-boehm-gc
26313 maybe-all-target-boehm-gc: all-target-boehm-gc
26314 all-target-boehm-gc: configure-target-boehm-gc
26315         @r=`${PWD_COMMAND}`; export r; \
26316         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26317         $(SET_LIB_PATH) \
26318         (cd $(TARGET_SUBDIR)/boehm-gc && \
26319           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
26320 @endif target-boehm-gc
26321
26322 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26323 maybe-check-target-boehm-gc:
26324 @if target-boehm-gc
26325 maybe-check-target-boehm-gc: check-target-boehm-gc
26326
26327 check-target-boehm-gc:
26328         @r=`${PWD_COMMAND}`; export r; \
26329         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330         $(SET_LIB_PATH) \
26331         (cd $(TARGET_SUBDIR)/boehm-gc && \
26332           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
26333
26334 @endif target-boehm-gc
26335
26336 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26337 maybe-install-target-boehm-gc:
26338 @if target-boehm-gc
26339 maybe-install-target-boehm-gc: install-target-boehm-gc
26340
26341 install-target-boehm-gc: installdirs
26342         @r=`${PWD_COMMAND}`; export r; \
26343         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26344         $(SET_LIB_PATH) \
26345         (cd $(TARGET_SUBDIR)/boehm-gc && \
26346           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26347
26348 @endif target-boehm-gc
26349
26350 # Other targets (info, dvi, etc.)
26351
26352 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26353 maybe-info-target-boehm-gc:
26354 @if target-boehm-gc
26355 maybe-info-target-boehm-gc: info-target-boehm-gc
26356
26357 info-target-boehm-gc: \
26358     configure-target-boehm-gc 
26359         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26360         r=`${PWD_COMMAND}`; export r; \
26361         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362         $(SET_LIB_PATH) \
26363         echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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-boehm-gc
26376
26377 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26378 maybe-dvi-target-boehm-gc:
26379 @if target-boehm-gc
26380 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26381
26382 dvi-target-boehm-gc: \
26383     configure-target-boehm-gc 
26384         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26385         r=`${PWD_COMMAND}`; export r; \
26386         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387         $(SET_LIB_PATH) \
26388         echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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-boehm-gc
26401
26402 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26403 maybe-TAGS-target-boehm-gc:
26404 @if target-boehm-gc
26405 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26406
26407 TAGS-target-boehm-gc: \
26408     configure-target-boehm-gc 
26409         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26410         r=`${PWD_COMMAND}`; export r; \
26411         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412         $(SET_LIB_PATH) \
26413         echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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                   TAGS) \
26423           || exit 1
26424
26425 @endif target-boehm-gc
26426
26427 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26428 maybe-install-info-target-boehm-gc:
26429 @if target-boehm-gc
26430 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26431
26432 install-info-target-boehm-gc: \
26433     configure-target-boehm-gc \
26434     info-target-boehm-gc 
26435         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26436         r=`${PWD_COMMAND}`; export r; \
26437         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26438         $(SET_LIB_PATH) \
26439         echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26440         for flag in $(EXTRA_TARGET_FLAGS); do \
26441           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442         done; \
26443         (cd $(TARGET_SUBDIR)/boehm-gc && \
26444           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26445                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26446                   "RANLIB=$${RANLIB}" \
26447                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26448                   install-info) \
26449           || exit 1
26450
26451 @endif target-boehm-gc
26452
26453 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26454 maybe-installcheck-target-boehm-gc:
26455 @if target-boehm-gc
26456 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26457
26458 installcheck-target-boehm-gc: \
26459     configure-target-boehm-gc 
26460         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26461         r=`${PWD_COMMAND}`; export r; \
26462         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26463         $(SET_LIB_PATH) \
26464         echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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                   installcheck) \
26474           || exit 1
26475
26476 @endif target-boehm-gc
26477
26478 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26479 maybe-mostlyclean-target-boehm-gc:
26480 @if target-boehm-gc
26481 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26482
26483 mostlyclean-target-boehm-gc: 
26484         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26485         r=`${PWD_COMMAND}`; export r; \
26486         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26487         $(SET_LIB_PATH) \
26488         echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26489         for flag in $(EXTRA_TARGET_FLAGS); do \
26490           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26491         done; \
26492         (cd $(TARGET_SUBDIR)/boehm-gc && \
26493           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26494                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26495                   "RANLIB=$${RANLIB}" \
26496                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26497                   mostlyclean) \
26498           || exit 1
26499
26500 @endif target-boehm-gc
26501
26502 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26503 maybe-clean-target-boehm-gc:
26504 @if target-boehm-gc
26505 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26506
26507 clean-target-boehm-gc: 
26508         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26509         r=`${PWD_COMMAND}`; export r; \
26510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26511         $(SET_LIB_PATH) \
26512         echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26513         for flag in $(EXTRA_TARGET_FLAGS); do \
26514           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26515         done; \
26516         (cd $(TARGET_SUBDIR)/boehm-gc && \
26517           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26518                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26519                   "RANLIB=$${RANLIB}" \
26520                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26521                   clean) \
26522           || exit 1
26523
26524 @endif target-boehm-gc
26525
26526 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26527 maybe-distclean-target-boehm-gc:
26528 @if target-boehm-gc
26529 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26530
26531 distclean-target-boehm-gc: 
26532         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26533         r=`${PWD_COMMAND}`; export r; \
26534         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26535         $(SET_LIB_PATH) \
26536         echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26537         for flag in $(EXTRA_TARGET_FLAGS); do \
26538           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26539         done; \
26540         (cd $(TARGET_SUBDIR)/boehm-gc && \
26541           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26542                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26543                   "RANLIB=$${RANLIB}" \
26544                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26545                   distclean) \
26546           || exit 1
26547
26548 @endif target-boehm-gc
26549
26550 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26551 maybe-maintainer-clean-target-boehm-gc:
26552 @if target-boehm-gc
26553 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26554
26555 maintainer-clean-target-boehm-gc: 
26556         @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26557         r=`${PWD_COMMAND}`; export r; \
26558         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26559         $(SET_LIB_PATH) \
26560         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26561         for flag in $(EXTRA_TARGET_FLAGS); do \
26562           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26563         done; \
26564         (cd $(TARGET_SUBDIR)/boehm-gc && \
26565           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26566                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26567                   "RANLIB=$${RANLIB}" \
26568                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26569                   maintainer-clean) \
26570           || exit 1
26571
26572 @endif target-boehm-gc
26573
26574
26575 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26576 maybe-configure-target-qthreads:
26577 @if target-qthreads
26578 maybe-configure-target-qthreads: configure-target-qthreads
26579
26580 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26581 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26582         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26583         rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26584         cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26585
26586 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26587         @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26588         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26589         r=`${PWD_COMMAND}`; export r; \
26590         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591         $(SET_LIB_PATH) \
26592         AR="$(AR_FOR_TARGET)"; export AR; \
26593         AS="$(AS_FOR_TARGET)"; export AS; \
26594         CC="$(CC_FOR_TARGET)"; export CC; \
26595         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
26596         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
26597         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
26598         CXX="$(CXX_FOR_TARGET)"; export CXX; \
26599         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
26600         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
26601         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
26602         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
26603         LD="$(LD_FOR_TARGET)"; export LD; \
26604         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
26605         NM="$(NM_FOR_TARGET)"; export NM; \
26606         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
26607         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
26608         echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26609         cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26610         case $(srcdir) in \
26611           /* | [A-Za-z]:[\\/]*) \
26612             topdir=$(srcdir) ;; \
26613           *) \
26614             case "$(TARGET_SUBDIR)" in \
26615               .) topdir="../$(srcdir)" ;; \
26616               *) topdir="../../$(srcdir)" ;; \
26617             esac ;; \
26618         esac; \
26619           srcdiroption="--srcdir=$${topdir}/qthreads"; \
26620           libsrcdir="$$s/qthreads"; \
26621         rm -f no-such-file || : ; \
26622         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26623           $(TARGET_CONFIGARGS) $${srcdiroption} \
26624           --with-target-subdir="$(TARGET_SUBDIR)" \
26625           || exit 1
26626 @endif target-qthreads
26627
26628 .PHONY: all-target-qthreads maybe-all-target-qthreads
26629 maybe-all-target-qthreads:
26630 @if target-qthreads
26631 maybe-all-target-qthreads: all-target-qthreads
26632 all-target-qthreads: configure-target-qthreads
26633         @r=`${PWD_COMMAND}`; export r; \
26634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26635         $(SET_LIB_PATH) \
26636         (cd $(TARGET_SUBDIR)/qthreads && \
26637           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
26638 @endif target-qthreads
26639
26640 .PHONY: check-target-qthreads maybe-check-target-qthreads
26641 maybe-check-target-qthreads:
26642 @if target-qthreads
26643 maybe-check-target-qthreads: check-target-qthreads
26644
26645 check-target-qthreads:
26646         @r=`${PWD_COMMAND}`; export r; \
26647         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26648         $(SET_LIB_PATH) \
26649         (cd $(TARGET_SUBDIR)/qthreads && \
26650           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
26651
26652 @endif target-qthreads
26653
26654 .PHONY: install-target-qthreads maybe-install-target-qthreads
26655 maybe-install-target-qthreads:
26656 @if target-qthreads
26657 maybe-install-target-qthreads: install-target-qthreads
26658
26659 install-target-qthreads: installdirs
26660         @r=`${PWD_COMMAND}`; export r; \
26661         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26662         $(SET_LIB_PATH) \
26663         (cd $(TARGET_SUBDIR)/qthreads && \
26664           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26665
26666 @endif target-qthreads
26667
26668 # Other targets (info, dvi, etc.)
26669
26670 .PHONY: maybe-info-target-qthreads info-target-qthreads
26671 maybe-info-target-qthreads:
26672 @if target-qthreads
26673 maybe-info-target-qthreads: info-target-qthreads
26674
26675 info-target-qthreads: \
26676     configure-target-qthreads 
26677         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26678         r=`${PWD_COMMAND}`; export r; \
26679         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26680         $(SET_LIB_PATH) \
26681         echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26682         for flag in $(EXTRA_TARGET_FLAGS); do \
26683           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26684         done; \
26685         (cd $(TARGET_SUBDIR)/qthreads && \
26686           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26687                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26688                   "RANLIB=$${RANLIB}" \
26689                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26690                   info) \
26691           || exit 1
26692
26693 @endif target-qthreads
26694
26695 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26696 maybe-dvi-target-qthreads:
26697 @if target-qthreads
26698 maybe-dvi-target-qthreads: dvi-target-qthreads
26699
26700 dvi-target-qthreads: \
26701     configure-target-qthreads 
26702         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26703         r=`${PWD_COMMAND}`; export r; \
26704         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26705         $(SET_LIB_PATH) \
26706         echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26707         for flag in $(EXTRA_TARGET_FLAGS); do \
26708           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26709         done; \
26710         (cd $(TARGET_SUBDIR)/qthreads && \
26711           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26712                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26713                   "RANLIB=$${RANLIB}" \
26714                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26715                   dvi) \
26716           || exit 1
26717
26718 @endif target-qthreads
26719
26720 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26721 maybe-TAGS-target-qthreads:
26722 @if target-qthreads
26723 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26724
26725 TAGS-target-qthreads: \
26726     configure-target-qthreads 
26727         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26728         r=`${PWD_COMMAND}`; export r; \
26729         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26730         $(SET_LIB_PATH) \
26731         echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26732         for flag in $(EXTRA_TARGET_FLAGS); do \
26733           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26734         done; \
26735         (cd $(TARGET_SUBDIR)/qthreads && \
26736           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26737                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26738                   "RANLIB=$${RANLIB}" \
26739                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26740                   TAGS) \
26741           || exit 1
26742
26743 @endif target-qthreads
26744
26745 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26746 maybe-install-info-target-qthreads:
26747 @if target-qthreads
26748 maybe-install-info-target-qthreads: install-info-target-qthreads
26749
26750 install-info-target-qthreads: \
26751     configure-target-qthreads \
26752     info-target-qthreads 
26753         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26754         r=`${PWD_COMMAND}`; export r; \
26755         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26756         $(SET_LIB_PATH) \
26757         echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26758         for flag in $(EXTRA_TARGET_FLAGS); do \
26759           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26760         done; \
26761         (cd $(TARGET_SUBDIR)/qthreads && \
26762           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26763                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26764                   "RANLIB=$${RANLIB}" \
26765                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26766                   install-info) \
26767           || exit 1
26768
26769 @endif target-qthreads
26770
26771 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26772 maybe-installcheck-target-qthreads:
26773 @if target-qthreads
26774 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26775
26776 installcheck-target-qthreads: \
26777     configure-target-qthreads 
26778         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26779         r=`${PWD_COMMAND}`; export r; \
26780         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26781         $(SET_LIB_PATH) \
26782         echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26783         for flag in $(EXTRA_TARGET_FLAGS); do \
26784           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26785         done; \
26786         (cd $(TARGET_SUBDIR)/qthreads && \
26787           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26788                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26789                   "RANLIB=$${RANLIB}" \
26790                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26791                   installcheck) \
26792           || exit 1
26793
26794 @endif target-qthreads
26795
26796 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26797 maybe-mostlyclean-target-qthreads:
26798 @if target-qthreads
26799 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26800
26801 mostlyclean-target-qthreads: 
26802         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26803         r=`${PWD_COMMAND}`; export r; \
26804         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805         $(SET_LIB_PATH) \
26806         echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26807         for flag in $(EXTRA_TARGET_FLAGS); do \
26808           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26809         done; \
26810         (cd $(TARGET_SUBDIR)/qthreads && \
26811           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813                   "RANLIB=$${RANLIB}" \
26814                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26815                   mostlyclean) \
26816           || exit 1
26817
26818 @endif target-qthreads
26819
26820 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
26821 maybe-clean-target-qthreads:
26822 @if target-qthreads
26823 maybe-clean-target-qthreads: clean-target-qthreads
26824
26825 clean-target-qthreads: 
26826         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26827         r=`${PWD_COMMAND}`; export r; \
26828         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26829         $(SET_LIB_PATH) \
26830         echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
26831         for flag in $(EXTRA_TARGET_FLAGS); do \
26832           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833         done; \
26834         (cd $(TARGET_SUBDIR)/qthreads && \
26835           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26836                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26837                   "RANLIB=$${RANLIB}" \
26838                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26839                   clean) \
26840           || exit 1
26841
26842 @endif target-qthreads
26843
26844 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
26845 maybe-distclean-target-qthreads:
26846 @if target-qthreads
26847 maybe-distclean-target-qthreads: distclean-target-qthreads
26848
26849 distclean-target-qthreads: 
26850         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26851         r=`${PWD_COMMAND}`; export r; \
26852         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26853         $(SET_LIB_PATH) \
26854         echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
26855         for flag in $(EXTRA_TARGET_FLAGS); do \
26856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26857         done; \
26858         (cd $(TARGET_SUBDIR)/qthreads && \
26859           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26860                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26861                   "RANLIB=$${RANLIB}" \
26862                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26863                   distclean) \
26864           || exit 1
26865
26866 @endif target-qthreads
26867
26868 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
26869 maybe-maintainer-clean-target-qthreads:
26870 @if target-qthreads
26871 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
26872
26873 maintainer-clean-target-qthreads: 
26874         @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26875         r=`${PWD_COMMAND}`; export r; \
26876         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26877         $(SET_LIB_PATH) \
26878         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
26879         for flag in $(EXTRA_TARGET_FLAGS); do \
26880           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26881         done; \
26882         (cd $(TARGET_SUBDIR)/qthreads && \
26883           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26884                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26885                   "RANLIB=$${RANLIB}" \
26886                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26887                   maintainer-clean) \
26888           || exit 1
26889
26890 @endif target-qthreads
26891
26892
26893 .PHONY: configure-target-rda maybe-configure-target-rda
26894 maybe-configure-target-rda:
26895 @if target-rda
26896 maybe-configure-target-rda: configure-target-rda
26897
26898 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
26899 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
26900         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
26901         rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
26902         cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
26903
26904 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
26905         @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
26906         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
26907         r=`${PWD_COMMAND}`; export r; \
26908         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26909         $(SET_LIB_PATH) \
26910         AR="$(AR_FOR_TARGET)"; export AR; \
26911         AS="$(AS_FOR_TARGET)"; export AS; \
26912         CC="$(CC_FOR_TARGET)"; export CC; \
26913         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
26914         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
26915         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
26916         CXX="$(CXX_FOR_TARGET)"; export CXX; \
26917         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
26918         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
26919         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
26920         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
26921         LD="$(LD_FOR_TARGET)"; export LD; \
26922         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
26923         NM="$(NM_FOR_TARGET)"; export NM; \
26924         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
26925         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
26926         echo Configuring in $(TARGET_SUBDIR)/rda; \
26927         cd "$(TARGET_SUBDIR)/rda" || exit 1; \
26928         case $(srcdir) in \
26929           /* | [A-Za-z]:[\\/]*) \
26930             topdir=$(srcdir) ;; \
26931           *) \
26932             case "$(TARGET_SUBDIR)" in \
26933               .) topdir="../$(srcdir)" ;; \
26934               *) topdir="../../$(srcdir)" ;; \
26935             esac ;; \
26936         esac; \
26937           srcdiroption="--srcdir=$${topdir}/rda"; \
26938           libsrcdir="$$s/rda"; \
26939         rm -f no-such-file || : ; \
26940         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26941           $(TARGET_CONFIGARGS) $${srcdiroption} \
26942           --with-target-subdir="$(TARGET_SUBDIR)" \
26943           || exit 1
26944 @endif target-rda
26945
26946 .PHONY: all-target-rda maybe-all-target-rda
26947 maybe-all-target-rda:
26948 @if target-rda
26949 maybe-all-target-rda: all-target-rda
26950 all-target-rda: configure-target-rda
26951         @r=`${PWD_COMMAND}`; export r; \
26952         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26953         $(SET_LIB_PATH) \
26954         (cd $(TARGET_SUBDIR)/rda && \
26955           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
26956 @endif target-rda
26957
26958 .PHONY: check-target-rda maybe-check-target-rda
26959 maybe-check-target-rda:
26960 @if target-rda
26961 maybe-check-target-rda: check-target-rda
26962
26963 check-target-rda:
26964         @r=`${PWD_COMMAND}`; export r; \
26965         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966         $(SET_LIB_PATH) \
26967         (cd $(TARGET_SUBDIR)/rda && \
26968           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
26969
26970 @endif target-rda
26971
26972 .PHONY: install-target-rda maybe-install-target-rda
26973 maybe-install-target-rda:
26974 @if target-rda
26975 maybe-install-target-rda: install-target-rda
26976
26977 install-target-rda: installdirs
26978         @r=`${PWD_COMMAND}`; export r; \
26979         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26980         $(SET_LIB_PATH) \
26981         (cd $(TARGET_SUBDIR)/rda && \
26982           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26983
26984 @endif target-rda
26985
26986 # Other targets (info, dvi, etc.)
26987
26988 .PHONY: maybe-info-target-rda info-target-rda
26989 maybe-info-target-rda:
26990 @if target-rda
26991 maybe-info-target-rda: info-target-rda
26992
26993 info-target-rda: \
26994     configure-target-rda 
26995         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
26996         r=`${PWD_COMMAND}`; export r; \
26997         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26998         $(SET_LIB_PATH) \
26999         echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27000         for flag in $(EXTRA_TARGET_FLAGS); do \
27001           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27002         done; \
27003         (cd $(TARGET_SUBDIR)/rda && \
27004           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27005                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27006                   "RANLIB=$${RANLIB}" \
27007                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27008                   info) \
27009           || exit 1
27010
27011 @endif target-rda
27012
27013 .PHONY: maybe-dvi-target-rda dvi-target-rda
27014 maybe-dvi-target-rda:
27015 @if target-rda
27016 maybe-dvi-target-rda: dvi-target-rda
27017
27018 dvi-target-rda: \
27019     configure-target-rda 
27020         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27021         r=`${PWD_COMMAND}`; export r; \
27022         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27023         $(SET_LIB_PATH) \
27024         echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27025         for flag in $(EXTRA_TARGET_FLAGS); do \
27026           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27027         done; \
27028         (cd $(TARGET_SUBDIR)/rda && \
27029           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27030                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27031                   "RANLIB=$${RANLIB}" \
27032                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27033                   dvi) \
27034           || exit 1
27035
27036 @endif target-rda
27037
27038 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27039 maybe-TAGS-target-rda:
27040 @if target-rda
27041 maybe-TAGS-target-rda: TAGS-target-rda
27042
27043 TAGS-target-rda: \
27044     configure-target-rda 
27045         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27046         r=`${PWD_COMMAND}`; export r; \
27047         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27048         $(SET_LIB_PATH) \
27049         echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27050         for flag in $(EXTRA_TARGET_FLAGS); do \
27051           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27052         done; \
27053         (cd $(TARGET_SUBDIR)/rda && \
27054           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27055                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27056                   "RANLIB=$${RANLIB}" \
27057                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27058                   TAGS) \
27059           || exit 1
27060
27061 @endif target-rda
27062
27063 .PHONY: maybe-install-info-target-rda install-info-target-rda
27064 maybe-install-info-target-rda:
27065 @if target-rda
27066 maybe-install-info-target-rda: install-info-target-rda
27067
27068 install-info-target-rda: \
27069     configure-target-rda \
27070     info-target-rda 
27071         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27072         r=`${PWD_COMMAND}`; export r; \
27073         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27074         $(SET_LIB_PATH) \
27075         echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27076         for flag in $(EXTRA_TARGET_FLAGS); do \
27077           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27078         done; \
27079         (cd $(TARGET_SUBDIR)/rda && \
27080           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27081                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27082                   "RANLIB=$${RANLIB}" \
27083                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27084                   install-info) \
27085           || exit 1
27086
27087 @endif target-rda
27088
27089 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27090 maybe-installcheck-target-rda:
27091 @if target-rda
27092 maybe-installcheck-target-rda: installcheck-target-rda
27093
27094 installcheck-target-rda: \
27095     configure-target-rda 
27096         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27097         r=`${PWD_COMMAND}`; export r; \
27098         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27099         $(SET_LIB_PATH) \
27100         echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27101         for flag in $(EXTRA_TARGET_FLAGS); do \
27102           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27103         done; \
27104         (cd $(TARGET_SUBDIR)/rda && \
27105           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107                   "RANLIB=$${RANLIB}" \
27108                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27109                   installcheck) \
27110           || exit 1
27111
27112 @endif target-rda
27113
27114 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27115 maybe-mostlyclean-target-rda:
27116 @if target-rda
27117 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27118
27119 mostlyclean-target-rda: 
27120         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27121         r=`${PWD_COMMAND}`; export r; \
27122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123         $(SET_LIB_PATH) \
27124         echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27125         for flag in $(EXTRA_TARGET_FLAGS); do \
27126           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27127         done; \
27128         (cd $(TARGET_SUBDIR)/rda && \
27129           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131                   "RANLIB=$${RANLIB}" \
27132                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27133                   mostlyclean) \
27134           || exit 1
27135
27136 @endif target-rda
27137
27138 .PHONY: maybe-clean-target-rda clean-target-rda
27139 maybe-clean-target-rda:
27140 @if target-rda
27141 maybe-clean-target-rda: clean-target-rda
27142
27143 clean-target-rda: 
27144         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27145         r=`${PWD_COMMAND}`; export r; \
27146         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27147         $(SET_LIB_PATH) \
27148         echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27149         for flag in $(EXTRA_TARGET_FLAGS); do \
27150           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27151         done; \
27152         (cd $(TARGET_SUBDIR)/rda && \
27153           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27154                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27155                   "RANLIB=$${RANLIB}" \
27156                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27157                   clean) \
27158           || exit 1
27159
27160 @endif target-rda
27161
27162 .PHONY: maybe-distclean-target-rda distclean-target-rda
27163 maybe-distclean-target-rda:
27164 @if target-rda
27165 maybe-distclean-target-rda: distclean-target-rda
27166
27167 distclean-target-rda: 
27168         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27169         r=`${PWD_COMMAND}`; export r; \
27170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171         $(SET_LIB_PATH) \
27172         echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27173         for flag in $(EXTRA_TARGET_FLAGS); do \
27174           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27175         done; \
27176         (cd $(TARGET_SUBDIR)/rda && \
27177           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27178                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27179                   "RANLIB=$${RANLIB}" \
27180                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27181                   distclean) \
27182           || exit 1
27183
27184 @endif target-rda
27185
27186 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27187 maybe-maintainer-clean-target-rda:
27188 @if target-rda
27189 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27190
27191 maintainer-clean-target-rda: 
27192         @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27193         r=`${PWD_COMMAND}`; export r; \
27194         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27195         $(SET_LIB_PATH) \
27196         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27197         for flag in $(EXTRA_TARGET_FLAGS); do \
27198           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27199         done; \
27200         (cd $(TARGET_SUBDIR)/rda && \
27201           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27202                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27203                   "RANLIB=$${RANLIB}" \
27204                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27205                   maintainer-clean) \
27206           || exit 1
27207
27208 @endif target-rda
27209
27210
27211 .PHONY: configure-target-libada maybe-configure-target-libada
27212 maybe-configure-target-libada:
27213 @if target-libada
27214 maybe-configure-target-libada: configure-target-libada
27215
27216 # There's only one multilib.out.  Cleverer subdirs shouldn't need it copied.
27217 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27218         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27219         rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27220         cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27221
27222 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27223         @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27224         $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27225         r=`${PWD_COMMAND}`; export r; \
27226         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27227         $(SET_LIB_PATH) \
27228         AR="$(AR_FOR_TARGET)"; export AR; \
27229         AS="$(AS_FOR_TARGET)"; export AS; \
27230         CC="$(CC_FOR_TARGET)"; export CC; \
27231         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
27232         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
27233         CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
27234         CXX="$(CXX_FOR_TARGET)"; export CXX; \
27235         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
27236         GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
27237         GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
27238         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
27239         LD="$(LD_FOR_TARGET)"; export LD; \
27240         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
27241         NM="$(NM_FOR_TARGET)"; export NM; \
27242         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
27243         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
27244         echo Configuring in $(TARGET_SUBDIR)/libada; \
27245         cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27246         case $(srcdir) in \
27247           /* | [A-Za-z]:[\\/]*) \
27248             topdir=$(srcdir) ;; \
27249           *) \
27250             case "$(TARGET_SUBDIR)" in \
27251               .) topdir="../$(srcdir)" ;; \
27252               *) topdir="../../$(srcdir)" ;; \
27253             esac ;; \
27254         esac; \
27255           srcdiroption="--srcdir=$${topdir}/libada"; \
27256           libsrcdir="$$s/libada"; \
27257         rm -f no-such-file || : ; \
27258         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27259           $(TARGET_CONFIGARGS) $${srcdiroption} \
27260           --with-target-subdir="$(TARGET_SUBDIR)" \
27261           || exit 1
27262 @endif target-libada
27263
27264 .PHONY: all-target-libada maybe-all-target-libada
27265 maybe-all-target-libada:
27266 @if target-libada
27267 maybe-all-target-libada: all-target-libada
27268 all-target-libada: configure-target-libada
27269         @r=`${PWD_COMMAND}`; export r; \
27270         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27271         $(SET_LIB_PATH) \
27272         (cd $(TARGET_SUBDIR)/libada && \
27273           $(MAKE) $(TARGET_FLAGS_TO_PASS)  all)
27274 @endif target-libada
27275
27276 .PHONY: check-target-libada maybe-check-target-libada
27277 maybe-check-target-libada:
27278 @if target-libada
27279 maybe-check-target-libada: check-target-libada
27280
27281 check-target-libada:
27282         @r=`${PWD_COMMAND}`; export r; \
27283         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27284         $(SET_LIB_PATH) \
27285         (cd $(TARGET_SUBDIR)/libada && \
27286           $(MAKE) $(TARGET_FLAGS_TO_PASS)  check)
27287
27288 @endif target-libada
27289
27290 .PHONY: install-target-libada maybe-install-target-libada
27291 maybe-install-target-libada:
27292 @if target-libada
27293 maybe-install-target-libada: install-target-libada
27294
27295 install-target-libada: installdirs
27296         @r=`${PWD_COMMAND}`; export r; \
27297         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27298         $(SET_LIB_PATH) \
27299         (cd $(TARGET_SUBDIR)/libada && \
27300           $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27301
27302 @endif target-libada
27303
27304 # Other targets (info, dvi, etc.)
27305
27306 .PHONY: maybe-info-target-libada info-target-libada
27307 maybe-info-target-libada:
27308 @if target-libada
27309 maybe-info-target-libada: info-target-libada
27310
27311 info-target-libada: \
27312     configure-target-libada 
27313         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27314         r=`${PWD_COMMAND}`; export r; \
27315         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27316         $(SET_LIB_PATH) \
27317         echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27318         for flag in $(EXTRA_TARGET_FLAGS); do \
27319           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27320         done; \
27321         (cd $(TARGET_SUBDIR)/libada && \
27322           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27323                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27324                   "RANLIB=$${RANLIB}" \
27325                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27326                   info) \
27327           || exit 1
27328
27329 @endif target-libada
27330
27331 .PHONY: maybe-dvi-target-libada dvi-target-libada
27332 maybe-dvi-target-libada:
27333 @if target-libada
27334 maybe-dvi-target-libada: dvi-target-libada
27335
27336 dvi-target-libada: \
27337     configure-target-libada 
27338         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27339         r=`${PWD_COMMAND}`; export r; \
27340         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27341         $(SET_LIB_PATH) \
27342         echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27343         for flag in $(EXTRA_TARGET_FLAGS); do \
27344           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27345         done; \
27346         (cd $(TARGET_SUBDIR)/libada && \
27347           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27348                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27349                   "RANLIB=$${RANLIB}" \
27350                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27351                   dvi) \
27352           || exit 1
27353
27354 @endif target-libada
27355
27356 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27357 maybe-TAGS-target-libada:
27358 @if target-libada
27359 maybe-TAGS-target-libada: TAGS-target-libada
27360
27361 TAGS-target-libada: \
27362     configure-target-libada 
27363         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27364         r=`${PWD_COMMAND}`; export r; \
27365         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366         $(SET_LIB_PATH) \
27367         echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27368         for flag in $(EXTRA_TARGET_FLAGS); do \
27369           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27370         done; \
27371         (cd $(TARGET_SUBDIR)/libada && \
27372           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27373                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27374                   "RANLIB=$${RANLIB}" \
27375                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27376                   TAGS) \
27377           || exit 1
27378
27379 @endif target-libada
27380
27381 .PHONY: maybe-install-info-target-libada install-info-target-libada
27382 maybe-install-info-target-libada:
27383 @if target-libada
27384 maybe-install-info-target-libada: install-info-target-libada
27385
27386 install-info-target-libada: \
27387     configure-target-libada \
27388     info-target-libada 
27389         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27390         r=`${PWD_COMMAND}`; export r; \
27391         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27392         $(SET_LIB_PATH) \
27393         echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27394         for flag in $(EXTRA_TARGET_FLAGS); do \
27395           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27396         done; \
27397         (cd $(TARGET_SUBDIR)/libada && \
27398           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27399                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27400                   "RANLIB=$${RANLIB}" \
27401                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27402                   install-info) \
27403           || exit 1
27404
27405 @endif target-libada
27406
27407 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27408 maybe-installcheck-target-libada:
27409 @if target-libada
27410 maybe-installcheck-target-libada: installcheck-target-libada
27411
27412 installcheck-target-libada: \
27413     configure-target-libada 
27414         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27415         r=`${PWD_COMMAND}`; export r; \
27416         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27417         $(SET_LIB_PATH) \
27418         echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27419         for flag in $(EXTRA_TARGET_FLAGS); do \
27420           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27421         done; \
27422         (cd $(TARGET_SUBDIR)/libada && \
27423           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27424                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27425                   "RANLIB=$${RANLIB}" \
27426                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27427                   installcheck) \
27428           || exit 1
27429
27430 @endif target-libada
27431
27432 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27433 maybe-mostlyclean-target-libada:
27434 @if target-libada
27435 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27436
27437 mostlyclean-target-libada: 
27438         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27439         r=`${PWD_COMMAND}`; export r; \
27440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27441         $(SET_LIB_PATH) \
27442         echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27443         for flag in $(EXTRA_TARGET_FLAGS); do \
27444           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27445         done; \
27446         (cd $(TARGET_SUBDIR)/libada && \
27447           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27448                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27449                   "RANLIB=$${RANLIB}" \
27450                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27451                   mostlyclean) \
27452           || exit 1
27453
27454 @endif target-libada
27455
27456 .PHONY: maybe-clean-target-libada clean-target-libada
27457 maybe-clean-target-libada:
27458 @if target-libada
27459 maybe-clean-target-libada: clean-target-libada
27460
27461 clean-target-libada: 
27462         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27463         r=`${PWD_COMMAND}`; export r; \
27464         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465         $(SET_LIB_PATH) \
27466         echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27467         for flag in $(EXTRA_TARGET_FLAGS); do \
27468           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27469         done; \
27470         (cd $(TARGET_SUBDIR)/libada && \
27471           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27472                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27473                   "RANLIB=$${RANLIB}" \
27474                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27475                   clean) \
27476           || exit 1
27477
27478 @endif target-libada
27479
27480 .PHONY: maybe-distclean-target-libada distclean-target-libada
27481 maybe-distclean-target-libada:
27482 @if target-libada
27483 maybe-distclean-target-libada: distclean-target-libada
27484
27485 distclean-target-libada: 
27486         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27487         r=`${PWD_COMMAND}`; export r; \
27488         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27489         $(SET_LIB_PATH) \
27490         echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27491         for flag in $(EXTRA_TARGET_FLAGS); do \
27492           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27493         done; \
27494         (cd $(TARGET_SUBDIR)/libada && \
27495           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27496                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27497                   "RANLIB=$${RANLIB}" \
27498                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27499                   distclean) \
27500           || exit 1
27501
27502 @endif target-libada
27503
27504 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27505 maybe-maintainer-clean-target-libada:
27506 @if target-libada
27507 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27508
27509 maintainer-clean-target-libada: 
27510         @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27511         r=`${PWD_COMMAND}`; export r; \
27512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513         $(SET_LIB_PATH) \
27514         echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27515         for flag in $(EXTRA_TARGET_FLAGS); do \
27516           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27517         done; \
27518         (cd $(TARGET_SUBDIR)/libada && \
27519           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521                   "RANLIB=$${RANLIB}" \
27522                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27523                   maintainer-clean) \
27524           || exit 1
27525
27526 @endif target-libada
27527
27528
27529
27530 # ----------
27531 # GCC module
27532 # ----------
27533
27534 # Unfortunately, while gcc _should_ be a host module,
27535 # libgcc is a target module, and gen* programs are
27536 # build modules.  So GCC is a sort of hybrid.
27537
27538 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
27539 # Don't use shared host config.cache, as it will confuse later
27540 # directories; GCC wants slightly different values for some
27541 # precious variables.  *sigh*
27542
27543 # We must skip configuring if toplevel bootstrap is going.
27544 .PHONY: configure-gcc maybe-configure-gcc
27545 maybe-configure-gcc:
27546 @if gcc
27547 maybe-configure-gcc: configure-gcc
27548 configure-gcc:
27549         @test ! -f gcc/Makefile || exit 0; \
27550         [ -f stage_last ] && exit 0; \
27551         [ -d gcc ] || mkdir gcc; \
27552         r=`${PWD_COMMAND}`; export r; \
27553         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27554         CC="$(CC)"; export CC; \
27555         CFLAGS="$(CFLAGS)"; export CFLAGS; \
27556         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
27557         CXX="$(CXX)"; export CXX; \
27558         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
27559         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
27560         AR="$(AR)"; export AR; \
27561         AS="$(AS)"; export AS; \
27562         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
27563         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
27564         LD="$(LD)"; export LD; \
27565         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
27566         NM="$(NM)"; export NM; \
27567         RANLIB="$(RANLIB)"; export RANLIB; \
27568         WINDRES="$(WINDRES)"; export WINDRES; \
27569         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
27570         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
27571         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
27572         GMPINC="$(HOST_GMPINC)"; export GMPINC; \
27573         echo Configuring in gcc; \
27574         cd gcc || exit 1; \
27575         case $(srcdir) in \
27576           \.) \
27577             srcdiroption="--srcdir=."; \
27578             libsrcdir=".";; \
27579           /* | [A-Za-z]:[\\/]*) \
27580             srcdiroption="--srcdir=$(srcdir)/gcc"; \
27581             libsrcdir="$$s/gcc";; \
27582           *) \
27583             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
27584             libsrcdir="$$s/gcc";; \
27585         esac; \
27586         $(SHELL) $${libsrcdir}/configure \
27587           $(HOST_CONFIGARGS) $${srcdiroption} \
27588           || exit 1
27589 @endif gcc
27590
27591 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
27592 # causes trouble.  This wart will be fixed eventually by moving
27593 # the bootstrap behavior to this file.
27594 .PHONY: all-gcc maybe-all-gcc
27595 maybe-all-gcc:
27596 @if gcc
27597 maybe-all-gcc: all-gcc
27598 all-gcc: configure-gcc
27599         r=`${PWD_COMMAND}`; export r; \
27600         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27601         if [ -f stage_last ] ; then \
27602           true ; \
27603         elif [ -f gcc/stage_last ] ; then \
27604           $(SET_LIB_PATH) \
27605           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
27606         else \
27607           $(SET_LIB_PATH) \
27608           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
27609         fi
27610 @endif gcc
27611
27612 # Building GCC uses some tools for rebuilding "source" files
27613 # like texinfo, bison/byacc, etc.  So we must depend on those.
27614 #
27615 # While building GCC, it may be necessary to run various target
27616 # programs like the assembler, linker, etc.  So we depend on
27617 # those too.
27618 #
27619 # In theory, on an SMP all those dependencies can be resolved
27620 # in parallel.
27621 #
27622 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27623 .PHONY: $(GCC_STRAP_TARGETS)
27624 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
27625         @r=`${PWD_COMMAND}`; export r; \
27626         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27627         $(SET_LIB_PATH) \
27628         echo "Bootstrapping the compiler"; \
27629         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27630         @r=`${PWD_COMMAND}`; export r; \
27631         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27632         case "$@" in \
27633           *bootstrap4-lean ) \
27634             msg="Comparing stage3 and stage4 of the compiler"; \
27635             compare=compare3-lean ;; \
27636           *bootstrap4 ) \
27637             msg="Comparing stage3 and stage4 of the compiler"; \
27638             compare=compare3 ;; \
27639           *-lean ) \
27640             msg="Comparing stage2 and stage3 of the compiler"; \
27641             compare=compare-lean ;; \
27642           * ) \
27643             msg="Comparing stage2 and stage3 of the compiler"; \
27644             compare=compare ;; \
27645         esac; \
27646         $(SET_LIB_PATH) \
27647         echo "$$msg"; \
27648         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27649         @r=`${PWD_COMMAND}`; export r; \
27650         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27651         $(SET_LIB_PATH) \
27652         echo "Building runtime libraries"; \
27653         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
27654
27655 profiledbootstrap: all-bootstrap configure-gcc
27656         @r=`${PWD_COMMAND}`; export r; \
27657         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27658         $(SET_LIB_PATH) \
27659         echo "Bootstrapping the compiler"; \
27660         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27661         @r=`${PWD_COMMAND}`; export r; \
27662         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27663         $(SET_LIB_PATH) \
27664         echo "Building runtime libraries and training compiler"; \
27665         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
27666         @r=`${PWD_COMMAND}`; export r; \
27667         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668         $(SET_LIB_PATH) \
27669         echo "Building feedback based compiler"; \
27670         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27671
27672 .PHONY: cross
27673 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
27674         @r=`${PWD_COMMAND}`; export r; \
27675         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27676         $(SET_LIB_PATH) \
27677         echo "Building the C and C++ compiler"; \
27678         cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27679         @r=`${PWD_COMMAND}`; export r; \
27680         s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27681         $(SET_LIB_PATH) \
27682         echo "Building runtime libraries"; \
27683         $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
27684           LANGUAGES="c c++" all
27685
27686 .PHONY: check-gcc maybe-check-gcc
27687 maybe-check-gcc:
27688 @if gcc
27689 maybe-check-gcc: check-gcc
27690 check-gcc:
27691         @if [ -f ./gcc/Makefile ] ; then \
27692           r=`${PWD_COMMAND}`; export r; \
27693           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27694           $(SET_LIB_PATH) \
27695           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
27696         else \
27697           true; \
27698         fi
27699
27700 .PHONY: check-gcc-c++
27701 check-gcc-c++:
27702         @if [ -f ./gcc/Makefile ] ; then \
27703           r=`${PWD_COMMAND}`; export r; \
27704           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705           $(SET_LIB_PATH) \
27706           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27707         else \
27708           true; \
27709         fi
27710
27711 .PHONY: check-c++
27712 check-c++: check-target-libstdc++-v3 check-gcc-c++
27713 @endif gcc
27714
27715 .PHONY: install-gcc maybe-install-gcc
27716 maybe-install-gcc:
27717 @if gcc
27718 maybe-install-gcc: install-gcc
27719 install-gcc:
27720         @if [ -f ./gcc/Makefile ] ; then \
27721           r=`${PWD_COMMAND}`; export r; \
27722           s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27723           $(SET_LIB_PATH) \
27724           (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27725         else \
27726           true; \
27727         fi
27728 @endif gcc
27729
27730 # Install the gcc headers files, but not the fixed include files,
27731 # which Cygnus is not allowed to distribute.  This rule is very
27732 # dependent on the workings of the gcc Makefile.in.
27733 .PHONY: gcc-no-fixedincludes
27734 gcc-no-fixedincludes:
27735         @if [ -f ./gcc/Makefile ]; then \
27736           rm -rf gcc/tmp-include; \
27737           mv gcc/include gcc/tmp-include 2>/dev/null; \
27738           mkdir gcc/include; \
27739           cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27740           touch gcc/stmp-fixinc gcc/include/fixed; \
27741           rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27742           r=`${PWD_COMMAND}`; export r; \
27743           s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27744           $(SET_LIB_PATH) \
27745           (cd ./gcc && \
27746            $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27747           rm -rf gcc/include; \
27748           mv gcc/tmp-include gcc/include 2>/dev/null; \
27749         else true; fi
27750
27751 # Other targets (dvi, info, etc.)
27752
27753 .PHONY: maybe-info-gcc info-gcc
27754 maybe-info-gcc:
27755 @if gcc
27756 maybe-info-gcc: info-gcc
27757 info-gcc: \
27758     configure-gcc 
27759         @[ -f ./gcc/Makefile ] || exit 0; \
27760         r=`${PWD_COMMAND}`; export r; \
27761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27762         $(SET_LIB_PATH) \
27763         for flag in $(EXTRA_GCC_FLAGS); do \
27764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27765         done; \
27766         echo "Doing info in gcc" ; \
27767         (cd gcc && \
27768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27770                   "RANLIB=$${RANLIB}" \
27771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27772                   info) \
27773           || exit 1
27774 @endif gcc
27775
27776
27777 .PHONY: maybe-dvi-gcc dvi-gcc
27778 maybe-dvi-gcc:
27779 @if gcc
27780 maybe-dvi-gcc: dvi-gcc
27781 dvi-gcc: \
27782     configure-gcc 
27783         @[ -f ./gcc/Makefile ] || exit 0; \
27784         r=`${PWD_COMMAND}`; export r; \
27785         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27786         $(SET_LIB_PATH) \
27787         for flag in $(EXTRA_GCC_FLAGS); do \
27788           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27789         done; \
27790         echo "Doing dvi in gcc" ; \
27791         (cd gcc && \
27792           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27793                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27794                   "RANLIB=$${RANLIB}" \
27795                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27796                   dvi) \
27797           || exit 1
27798 @endif gcc
27799
27800
27801 .PHONY: maybe-TAGS-gcc TAGS-gcc
27802 maybe-TAGS-gcc:
27803 @if gcc
27804 maybe-TAGS-gcc: TAGS-gcc
27805 TAGS-gcc: \
27806     configure-gcc 
27807         @[ -f ./gcc/Makefile ] || exit 0; \
27808         r=`${PWD_COMMAND}`; export r; \
27809         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27810         $(SET_LIB_PATH) \
27811         for flag in $(EXTRA_GCC_FLAGS); do \
27812           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813         done; \
27814         echo "Doing TAGS in gcc" ; \
27815         (cd gcc && \
27816           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818                   "RANLIB=$${RANLIB}" \
27819                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27820                   TAGS) \
27821           || exit 1
27822 @endif gcc
27823
27824
27825 .PHONY: maybe-install-info-gcc install-info-gcc
27826 maybe-install-info-gcc:
27827 @if gcc
27828 maybe-install-info-gcc: install-info-gcc
27829 install-info-gcc: \
27830     configure-gcc \
27831     info-gcc 
27832         @[ -f ./gcc/Makefile ] || exit 0; \
27833         r=`${PWD_COMMAND}`; export r; \
27834         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27835         $(SET_LIB_PATH) \
27836         for flag in $(EXTRA_GCC_FLAGS); do \
27837           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27838         done; \
27839         echo "Doing install-info in gcc" ; \
27840         (cd gcc && \
27841           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27842                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27843                   "RANLIB=$${RANLIB}" \
27844                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27845                   install-info) \
27846           || exit 1
27847 @endif gcc
27848
27849
27850 .PHONY: maybe-installcheck-gcc installcheck-gcc
27851 maybe-installcheck-gcc:
27852 @if gcc
27853 maybe-installcheck-gcc: installcheck-gcc
27854 installcheck-gcc: \
27855     configure-gcc 
27856         @[ -f ./gcc/Makefile ] || exit 0; \
27857         r=`${PWD_COMMAND}`; export r; \
27858         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27859         $(SET_LIB_PATH) \
27860         for flag in $(EXTRA_GCC_FLAGS); do \
27861           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27862         done; \
27863         echo "Doing installcheck in gcc" ; \
27864         (cd gcc && \
27865           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27866                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27867                   "RANLIB=$${RANLIB}" \
27868                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27869                   installcheck) \
27870           || exit 1
27871 @endif gcc
27872
27873
27874 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
27875 maybe-mostlyclean-gcc:
27876 @if gcc
27877 maybe-mostlyclean-gcc: mostlyclean-gcc
27878 mostlyclean-gcc: 
27879         @[ -f ./gcc/Makefile ] || exit 0; \
27880         r=`${PWD_COMMAND}`; export r; \
27881         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27882         $(SET_LIB_PATH) \
27883         for flag in $(EXTRA_GCC_FLAGS); do \
27884           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27885         done; \
27886         echo "Doing mostlyclean in gcc" ; \
27887         (cd gcc && \
27888           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27889                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27890                   "RANLIB=$${RANLIB}" \
27891                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27892                   mostlyclean) \
27893           || exit 1
27894 @endif gcc
27895
27896
27897 .PHONY: maybe-clean-gcc clean-gcc
27898 maybe-clean-gcc:
27899 @if gcc
27900 maybe-clean-gcc: clean-gcc
27901 clean-gcc: 
27902         @[ -f ./gcc/Makefile ] || exit 0; \
27903         r=`${PWD_COMMAND}`; export r; \
27904         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27905         $(SET_LIB_PATH) \
27906         for flag in $(EXTRA_GCC_FLAGS); do \
27907           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27908         done; \
27909         echo "Doing clean in gcc" ; \
27910         (cd gcc && \
27911           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913                   "RANLIB=$${RANLIB}" \
27914                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27915                   clean) \
27916           || exit 1
27917 @endif gcc
27918
27919
27920 .PHONY: maybe-distclean-gcc distclean-gcc
27921 maybe-distclean-gcc:
27922 @if gcc
27923 maybe-distclean-gcc: distclean-gcc
27924 distclean-gcc: 
27925         @[ -f ./gcc/Makefile ] || exit 0; \
27926         r=`${PWD_COMMAND}`; export r; \
27927         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27928         $(SET_LIB_PATH) \
27929         for flag in $(EXTRA_GCC_FLAGS); do \
27930           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27931         done; \
27932         echo "Doing distclean in gcc" ; \
27933         (cd gcc && \
27934           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27935                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27936                   "RANLIB=$${RANLIB}" \
27937                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27938                   distclean) \
27939           || exit 1
27940 @endif gcc
27941
27942
27943 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
27944 maybe-maintainer-clean-gcc:
27945 @if gcc
27946 maybe-maintainer-clean-gcc: maintainer-clean-gcc
27947 maintainer-clean-gcc: 
27948         @[ -f ./gcc/Makefile ] || exit 0; \
27949         r=`${PWD_COMMAND}`; export r; \
27950         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27951         $(SET_LIB_PATH) \
27952         for flag in $(EXTRA_GCC_FLAGS); do \
27953           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27954         done; \
27955         echo "Doing maintainer-clean in gcc" ; \
27956         (cd gcc && \
27957           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27958                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27959                   "RANLIB=$${RANLIB}" \
27960                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27961                   maintainer-clean) \
27962           || exit 1
27963 @endif gcc
27964
27965
27966
27967 # ---------------------
27968 # GCC bootstrap support
27969 # ---------------------
27970
27971 # We name the directories for the various stages "stage1-gcc",
27972 # "stage2-gcc","stage3-gcc", etc.  
27973 # Unfortunately, the 'compare' process will fail (on debugging information)
27974 # if any directory names are different!
27975 # So in the building rule for each stage, we relocate them before and after.
27976 # The current one is 'gcc', while the previous one is 'prev-gcc'.  (The
27977 # current one must be 'gcc' for now because the scripts in that directory
27978 # assume it.)
27979 # At the end of the bootstrap, 'stage3-gcc' must be moved to 'gcc' so that
27980 # libraries can find it.  Ick!
27981
27982 # Bugs: This is almost certainly not parallel-make safe.
27983
27984 # 'touch' doesn't work right on some platforms.
27985 STAMP = echo timestamp > 
27986
27987 # Only build the C compiler for stage1, because that is the only one that
27988 # we can guarantee will build with the native compiler, and also it is the
27989 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
27990 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
27991 # overrideable (for a bootstrap build stage1 also builds gcc.info).
27992
27993 STAGE1_CFLAGS=@stage1_cflags@
27994 STAGE1_LANGUAGES=@stage1_languages@
27995
27996 # For stage 1:
27997 # * We force-disable intermodule optimizations, even if
27998 #   --enable-intermodule was passed, since the installed compiler probably
27999 #   can't handle them.  Luckily, autoconf always respects
28000 #   the last argument when conflicting --enable arguments are passed.
28001 # * Likewise, we force-disable coverage flags, since the installed compiler
28002 #   probably has never heard of them.
28003 # * We build only C (and possibly Ada).
28004 configure-stage1-gcc:
28005         echo configure-stage1-gcc > stage_last ; \
28006         if [ -f stage1-gcc/Makefile ] ; then \
28007           $(STAMP) configure-stage1-gcc ; \
28008           exit 0; \
28009         else \
28010           true ; \
28011         fi ; \
28012         [ -d stage1-gcc ] || mkdir stage1-gcc; \
28013         mv stage1-gcc gcc ; \
28014         r=`${PWD_COMMAND}`; export r; \
28015         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
28017         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
28018         CC="$(CC)"; export CC; \
28019         CFLAGS="$(CFLAGS)"; export CFLAGS; \
28020         CXX="$(CXX)"; export CXX; \
28021         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
28022         AR="$(AR)"; export AR; \
28023         AS="$(AS)"; export AS; \
28024         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
28025         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
28026         LD="$(LD)"; export LD; \
28027         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
28028         NM="$(NM)"; export NM; \
28029         RANLIB="$(RANLIB)"; export RANLIB; \
28030         WINDRES="$(WINDRES)"; export WINDRES; \
28031         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
28032         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
28033         echo Configuring stage 1 in gcc; \
28034         cd gcc || exit 1; \
28035         case $(srcdir) in \
28036           \.) \
28037             srcdiroption="--srcdir=."; \
28038             libsrcdir=".";; \
28039           /* | [A-Za-z]:[\\/]*) \
28040             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28041             libsrcdir="$$s/gcc";; \
28042           *) \
28043             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28044             libsrcdir="$$s/gcc";; \
28045         esac; \
28046         $(SHELL) $${libsrcdir}/configure \
28047           $(HOST_CONFIGARGS) $${srcdiroption} \
28048           --disable-intermodule --disable-coverage \
28049           --enable-languages="$(STAGE1_LANGUAGES)"; \
28050         cd .. ; \
28051         mv gcc stage1-gcc ; \
28052         $(STAMP) configure-stage1-gcc
28053
28054 # Real targets act phony if they depend on phony targets; this hack
28055 # prevents gratuitous rebuilding of stage 1.
28056 prebootstrap:
28057         $(MAKE) all-bootstrap
28058         $(STAMP) prebootstrap
28059
28060 all-stage1-gcc: configure-stage1-gcc prebootstrap
28061         echo all-stage1-gcc > stage_last ; \
28062         r=`${PWD_COMMAND}`; export r; \
28063         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064         mv stage1-gcc gcc ; \
28065         cd gcc && \
28066         $(MAKE) $(GCC_FLAGS_TO_PASS) \
28067                 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc ; \
28068         result=$$? ; \
28069         cd .. ; \
28070         mv gcc stage1-gcc ; \
28071         exit $$result
28072
28073 # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally)
28074 # Possibly pass --enable-werror-always (depending on --enable-werror);
28075 # that's what @stage2_werror_flag@ is for
28076 configure-stage2-gcc: all-stage1-gcc
28077         echo configure-stage2-gcc > stage_last ; \
28078         if [ -f stage2-gcc/Makefile ] ; then \
28079           $(STAMP) configure-stage2-gcc ; \
28080           exit 0; \
28081         else \
28082           true ; \
28083         fi ; \
28084         [ -d stage2-gcc ] || mkdir stage2-gcc; \
28085         mv stage2-gcc gcc ; \
28086         mv stage1-gcc prev-gcc ; \
28087         r=`${PWD_COMMAND}`; export r; \
28088         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28089         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
28090         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
28091         CFLAGS="$(CFLAGS)"; export CFLAGS; \
28092         CXX="$(CXX)"; export CXX; \
28093         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
28094         AR="$(AR)"; export AR; \
28095         AS="$(AS)"; export AS; \
28096         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
28097         LD="$(LD)"; export LD; \
28098         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
28099         NM="$(NM)"; export NM; \
28100         RANLIB="$(RANLIB)"; export RANLIB; \
28101         WINDRES="$(WINDRES)"; export WINDRES; \
28102         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
28103         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
28104         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
28105         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
28106         echo Configuring stage 2 in gcc; \
28107         cd gcc || exit 1; \
28108         case $(srcdir) in \
28109           \.) \
28110             srcdiroption="--srcdir=."; \
28111             libsrcdir=".";; \
28112           /* | [A-Za-z]:[\\/]*) \
28113             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28114             libsrcdir="$$s/gcc";; \
28115           *) \
28116             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28117             libsrcdir="$$s/gcc";; \
28118         esac; \
28119         $(SHELL) $${libsrcdir}/configure \
28120           $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
28121         cd .. ; \
28122         mv gcc stage2-gcc ; \
28123         mv prev-gcc stage1-gcc ; \
28124         $(STAMP) configure-stage2-gcc
28125
28126 # Flags to pass to stage2 and later makes.
28127 BOOT_CFLAGS= -g -O2
28128 POSTSTAGE1_FLAGS_TO_PASS = \
28129         CFLAGS="$(BOOT_CFLAGS)" \
28130         ADAC="\$$(CC)"
28131
28132 all-stage2-gcc: all-stage1-gcc configure-stage2-gcc
28133         echo all-stage2-gcc > stage_last ; \
28134         r=`${PWD_COMMAND}`; export r; \
28135         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28136         mv stage2-gcc gcc ; \
28137         mv stage1-gcc prev-gcc ; \
28138         cd gcc && \
28139         $(MAKE) $(GCC_FLAGS_TO_PASS) \
28140                 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28141                 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28142                 STAGE_PREFIX=$$r/prev-gcc/ \
28143                 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage2-gcc ; \
28144         result=$$? ; \
28145         cd .. ; \
28146         mv prev-gcc stage1-gcc ; \
28147         mv gcc stage2-gcc ; \
28148         exit $$result
28149
28150 configure-stage3-gcc: all-stage2-gcc
28151         echo configure-stage3-gcc > stage_last ; \
28152         if [ -f stage3-gcc/Makefile ] ; then \
28153           $(STAMP) configure-stage3-gcc ; \
28154           exit 0; \
28155         else \
28156           true ; \
28157         fi ; \
28158         [ -d stage3-gcc ] || mkdir stage3-gcc; \
28159         mv stage3-gcc gcc ; \
28160         mv stage2-gcc prev-gcc ; \
28161         r=`${PWD_COMMAND}`; export r; \
28162         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28163         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
28164         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
28165         CFLAGS="$(CFLAGS)"; export CFLAGS; \
28166         CXX="$(CXX)"; export CXX; \
28167         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
28168         AR="$(AR)"; export AR; \
28169         AS="$(AS)"; export AS; \
28170         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
28171         LD="$(LD)"; export LD; \
28172         LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
28173         NM="$(NM)"; export NM; \
28174         RANLIB="$(RANLIB)"; export RANLIB; \
28175         WINDRES="$(WINDRES)"; export WINDRES; \
28176         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
28177         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
28178         CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
28179         CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
28180         echo Configuring stage 3 in gcc; \
28181         cd gcc || exit 1; \
28182         case $(srcdir) in \
28183           \.) \
28184             srcdiroption="--srcdir=."; \
28185             libsrcdir=".";; \
28186           /* | [A-Za-z]:[\\/]*) \
28187             srcdiroption="--srcdir=$(srcdir)/gcc"; \
28188             libsrcdir="$$s/gcc";; \
28189           *) \
28190             srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28191             libsrcdir="$$s/gcc";; \
28192         esac; \
28193         $(SHELL) $${libsrcdir}/configure \
28194           $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
28195         cd .. ; \
28196         mv gcc stage3-gcc ; \
28197         mv prev-gcc stage2-gcc ; \
28198         $(STAMP) configure-stage3-gcc
28199
28200 all-stage3-gcc: all-stage2-gcc configure-stage3-gcc
28201         echo all-stage3-gcc > stage_last ; \
28202         r=`${PWD_COMMAND}`; export r; \
28203         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28204         mv stage2-gcc prev-gcc ; \
28205         mv stage3-gcc gcc ; \
28206         cd gcc && \
28207         $(MAKE) $(GCC_FLAGS_TO_PASS) \
28208                 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28209                 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28210                 STAGE_PREFIX=$$r/prev-gcc/ \
28211                 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage3-gcc \
28212         result=$$? ; \
28213         cd .. ; \
28214         mv prev-gcc stage2-gcc ; \
28215         mv gcc stage3-gcc ; \
28216         exit $$result
28217
28218 # We only want to compare .o files, so set this!
28219 objext = .o
28220
28221 compare: all-stage3-gcc
28222         r=`${PWD_COMMAND}`; export r; \
28223         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28224         rm -f .bad_compare ; \
28225         cd stage3-gcc; \
28226         files=`find . -name "*$(objext)" -print` ; \
28227         cd .. ; \
28228         for file in $${files} ; do \
28229           f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28230           @do_compare@ > /dev/null 2>&1; \
28231           test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28232         done ; \
28233         if [ -f .bad_compare ]; then \
28234           echo "Bootstrap comparison failure!"; \
28235           cat .bad_compare; \
28236           exit 1; \
28237         else \
28238           true; \
28239         fi ; \
28240         $(STAMP) compare
28241
28242 .PHONY: new-bootstrap
28243 # This target exists so that everything can be made in one pass.
28244 # 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
28245 # this to work.
28246 new-bootstrap: compare
28247         mv stage3-gcc gcc ; \
28248         $(MAKE) all ; \
28249         mv gcc stage3-gcc
28250
28251 new-cleanstrap:
28252         rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc \
28253           configure-stage2-gcc all-stage2-gcc stage2-gcc \
28254           configure-stage3-gcc all-stage3-gcc stage3-gcc \
28255           compare
28256         $(MAKE) new-bootstrap
28257
28258 new-restage1:
28259         rm -rf all-stage1-gcc \
28260           configure-stage2-gcc all-stage2-gcc stage2-gcc \
28261           configure-stage3-gcc all-stage3-gcc stage3-gcc \
28262           compare
28263         $(MAKE) all-stage1-gcc
28264
28265 new-restage2: all-stage1-gcc
28266         rm -rf all-stage2-gcc \
28267           configure-stage3-gcc all-stage3-gcc stage3-gcc \
28268           compare
28269         $(MAKE) all-stage2-gcc
28270
28271 new-restage3: all-stage2-gcc
28272         rm -rf all-stage3-gcc compare
28273         $(MAKE) compare
28274
28275 # --------------------------------------
28276 # Dependencies between different modules
28277 # --------------------------------------
28278
28279 # There are two types of dependencies here: 'hard' dependencies, where one
28280 # module simply won't build without the other; and 'soft' dependencies, where
28281 # if the depended-on module is missing, the depending module will do without
28282 # or find a substitute somewhere (perhaps installed).  Soft dependencies
28283 # are specified by depending on a 'maybe-' target.  If you're not sure,
28284 # it's safer to use a soft dependency.
28285
28286 # Host modules specific to gcc.
28287 # GCC needs to identify certain tools.
28288 # GCC also needs the information exported by the intl configure script.
28289 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
28290 all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee
28291 # This is a slightly kludgy method of getting dependencies on 
28292 # all-build-libiberty correct; it would be better to build it every time.
28293 all-gcc: maybe-all-build-libiberty maybe-all-libbanshee
28294 all-bootstrap: maybe-all-binutils maybe-all-bison maybe-all-byacc maybe-all-gas maybe-all-intl maybe-all-ld maybe-all-libbanshee maybe-all-libiberty maybe-all-texinfo maybe-all-zlib 
28295
28296 # Host modules specific to gdb.
28297 # GDB needs to know that the simulator is being built.
28298 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
28299 GDB_TK = @GDB_TK@
28300 all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
28301 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
28302 configure-libgui: maybe-configure-tcl maybe-configure-tk
28303 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
28304
28305 # Host modules specific to binutils.
28306 configure-bfd: configure-libiberty
28307 all-bfd: maybe-all-libiberty maybe-all-intl
28308 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
28309 # We put install-opcodes before install-binutils because the installed
28310 # binutils might be on PATH, and they might need the shared opcodes
28311 # library.
28312 install-binutils: maybe-install-opcodes
28313 # libopcodes depends on libbfd
28314 install-opcodes: maybe-install-bfd
28315 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
28316 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
28317 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
28318 all-opcodes: maybe-all-bfd maybe-all-libiberty
28319
28320 # Other host modules in the 'src' repository.
28321 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
28322 configure-expect: maybe-configure-tcl maybe-configure-tk
28323 all-expect: maybe-all-tcl maybe-all-tk
28324 configure-itcl: maybe-configure-tcl maybe-configure-tk
28325 all-itcl: maybe-all-tcl maybe-all-tk
28326 # We put install-tcl before install-itcl because itcl wants to run a
28327 # program on installation which uses the Tcl libraries.
28328 install-itcl: maybe-install-tcl
28329 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
28330 install-sid: maybe-install-tcl maybe-install-tk
28331 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
28332 configure-tk: maybe-configure-tcl
28333 all-tk: maybe-all-tcl
28334 configure-tix: maybe-configure-tcl maybe-configure-tk
28335 all-tix: maybe-all-tcl maybe-all-tk
28336 all-texinfo: maybe-all-libiberty
28337
28338 # Other host modules.  Warning, these are not well tested.
28339 all-autoconf: maybe-all-m4 maybe-all-texinfo
28340 all-automake: maybe-all-m4 maybe-all-texinfo
28341 all-bison: maybe-all-texinfo
28342 all-diff: maybe-all-libiberty
28343 all-fastjar: maybe-all-zlib maybe-all-libiberty
28344 all-fileutils: maybe-all-libiberty
28345 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
28346 all-gzip: maybe-all-libiberty
28347 all-hello: maybe-all-libiberty
28348 all-m4: maybe-all-libiberty maybe-all-texinfo
28349 all-make: maybe-all-libiberty maybe-all-intl
28350 all-patch: maybe-all-libiberty
28351 all-prms: maybe-all-libiberty
28352 all-recode: maybe-all-libiberty
28353 all-sed: maybe-all-libiberty
28354 all-send-pr: maybe-all-prms
28355 all-tar: maybe-all-libiberty
28356 all-uudecode: maybe-all-libiberty
28357
28358 ALL_GCC = maybe-all-gcc
28359 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
28360 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
28361
28362 # Target modules specific to gcc.
28363 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
28364 configure-target-fastjar: maybe-configure-target-zlib
28365 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
28366 configure-target-libada: $(ALL_GCC_C)
28367 configure-target-libgfortran: $(ALL_GCC_C)
28368 configure-target-libffi: $(ALL_GCC_C) 
28369 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
28370 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
28371 configure-target-libobjc: $(ALL_GCC_C)
28372 all-target-libobjc: maybe-all-target-libiberty
28373 configure-target-libstdc++-v3: $(ALL_GCC_C)
28374 all-target-libstdc++-v3: maybe-all-target-libiberty
28375 configure-target-zlib: $(ALL_GCC_C)
28376
28377 # Target modules in the 'src' repository.
28378 configure-target-examples: $(ALL_GCC_C)
28379 configure-target-libgloss: $(ALL_GCC)
28380 all-target-libgloss: maybe-configure-target-newlib
28381 configure-target-libiberty: $(ALL_GCC)
28382 configure-target-libtermcap: $(ALL_GCC_C)
28383 configure-target-newlib: $(ALL_GCC)
28384 configure-target-rda: $(ALL_GCC_C)
28385 configure-target-winsup: $(ALL_GCC_C)
28386 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
28387
28388 # Other target modules.  Warning, these are not well tested.
28389 configure-target-gperf: $(ALL_GCC_CXX)
28390 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
28391 configure-target-qthreads: $(ALL_GCC_C)
28392
28393 # Serialization dependencies.  Host configures don't work well in parallel to
28394 # each other, due to contention over config.cache.  Target configures and 
28395 # build configures are similar.
28396 @serialization_dependencies@
28397
28398 # --------------------------------
28399 # Regenerating top level configury
28400 # --------------------------------
28401
28402 # Multilib.out tells target dirs what multilibs they should build.
28403 # There is really only one copy.  We use the 'timestamp' method to
28404 # work around various timestamp bugs on some systems.
28405 # We use move-if-change so that it's only considered updated when it
28406 # actually changes, because it has to depend on a phony target.
28407 multilib.out: maybe-all-gcc
28408         @r=`${PWD_COMMAND}`; export r; \
28409         echo "Checking multilib configuration..."; \
28410         $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
28411         $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
28412
28413 # Rebuilding Makefile.in, using autogen.
28414 AUTOGEN = autogen
28415 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
28416         cd $(srcdir) && $(AUTOGEN) Makefile.def
28417
28418 # Rebuilding Makefile.
28419 Makefile: $(srcdir)/Makefile.in config.status
28420         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
28421
28422 config.status: configure $(gcc_version_trigger)
28423         CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
28424
28425 # Rebuilding configure.
28426 AUTOCONF = autoconf
28427 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
28428         cd $(srcdir) && $(AUTOCONF)
28429
28430 # ------------------------------
28431 # Special directives to GNU Make
28432 # ------------------------------
28433
28434 # Don't pass command-line variables to submakes.
28435 .NOEXPORT:
28436 MAKEOVERRIDES=
28437
28438 # end of Makefile.in